WO2020253465A1 - 一种文件交互处理方法、装置及系统 - Google Patents
一种文件交互处理方法、装置及系统 Download PDFInfo
- Publication number
- WO2020253465A1 WO2020253465A1 PCT/CN2020/091929 CN2020091929W WO2020253465A1 WO 2020253465 A1 WO2020253465 A1 WO 2020253465A1 CN 2020091929 W CN2020091929 W CN 2020091929W WO 2020253465 A1 WO2020253465 A1 WO 2020253465A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- file
- identifier
- hash value
- channel identifier
- server
- 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.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/12—Applying verification of the received information
- H04L63/123—Applying verification of the received information received data contents, e.g. message integrity
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/06—Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/01—Protocols
- H04L67/10—Protocols in which an application is distributed across nodes in the network
- H04L67/1097—Protocols 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]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/50—Network services
- H04L67/55—Push-based network services
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L9/00—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
- H04L9/32—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials
- H04L9/3236—Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols including means for verifying the identity or authority of a user of the system or for message authentication, e.g. authorization, entity authentication, data integrity or data verification, non-repudiation, key authentication or verification of credentials using cryptographic hash functions
Definitions
- the present invention relates to the technical field of financial technology (Fintech), in particular to a file interactive processing method, device and system.
- the two systems of the file interaction first communicate and align the file formats of both parties, and then the sender packs the file, and provides verification information such as a file digest and a message digest algorithm (MD5), and then passes File transfer protocol (File Transfer Protocol, FTP), or Secure File Transfer Protocol (Secure File Transfer Protocol, SFTP), or Hypertext Transfer Protocol (Hypertext Transfer Protocol, HTTP) and other protocols, upload files to the SFTP server, so, The recipient can retrieve the file from the SFTP server through the SFTP protocol.
- File Transfer Protocol FTP
- Secure File Transfer Protocol Secure File Transfer Protocol
- HTTP Hypertext Transfer Protocol
- This application provides a file interactive processing method, device, and system to solve the technical problems in the prior art that the file interactive method is difficult to develop and the actual use is complicated.
- this application provides a file interactive processing method, which specifically includes:
- the first channel identifier is used to indicate the secure file transfer protocol SFTP server corresponding to the first file recipient Download the first file from the file transfer protocol FPS server according to the first file identifier of the first file and the first hash value of the first file, and transfer the first file according to the first channel identifier
- the file is stored in the SFTP server corresponding to the first channel identifier.
- the downloading the first file from the file transfer protocol FPS server according to the first file identifier of the first file and the first hash value of the first file includes: obtaining The second hash value of the first file in the FPS server, when the first hash value is equal to the second hash value, download the file transfer protocol FPS server according to the first file identifier The first file.
- a push completion message is also fed back to the first file sender The push completion message is used to notify the first file sender that the first file has been stored to the SFTP server corresponding to the first channel identifier.
- this application provides a file interactive processing system, which specifically includes:
- the data warehouse is used to obtain data, process the data, package the processed data into a first file, and send the first file to the FPS server;
- the FPS server is configured to store the acquired first file, assign a first file identifier to the first file, and generate a first hash value of the first file; and send to the data warehouse The first file identifier and the first hash value;
- the data warehouse is used to obtain the first file identifier and the first hash value, determine the first channel identifier of the first file recipient, and send the first channel identifier to the batch file interaction system CAP, The first file identifier and the first hash value;
- the CAP system is used to obtain the first channel identifier, the first file identifier, and the first hash value; the first channel identifier is used to indicate the SFTP server corresponding to the first file recipient; Download the first file from the FPS server according to the first file identifier and the first hash value; store the first file in the SFTP corresponding to the first channel identifier according to the first channel identifier server;
- the SFTP server is used to store the first file.
- this application provides a file interactive processing system, which specifically includes:
- the batch file interaction system CAP is used to obtain a second channel identifier; the second channel identifier is used to indicate the SFTP server corresponding to the second file sender; and the second file is obtained from the SFTP server according to the second channel identifier ; Send the second file to the FPS server;
- the FPS server is configured to store the acquired second file, assign a second file identifier to the second file, and generate a third hash value of the second file; send to the CAP system The second file identifier and the third hash value;
- the CAP system is configured to transfer the second file identifier and the third hash value to a message communication queue port;
- the receiving file system is used to monitor the message communication queue port, obtain the second file identifier and the third hash value from the message communication queue port; according to the second file identifier and the third hash value hopefully download the second file from the FPS server.
- this application provides a file interactive processing device, which specifically includes:
- the obtaining unit is used to obtain the first channel identifier, the first file identifier of the first file, and the first hash value of the first file; the first channel identifier is used to indicate the security corresponding to the first file recipient File transfer protocol SFTP server;
- a processing unit configured to download the first file from a file transfer protocol FPS server according to the first file identifier of the first file and the first hash value of the first file;
- the first file is stored in the SFTP server corresponding to the first channel identifier.
- the processing unit is further configured to: obtain a second hash value of the first file in the FPS server, when the first hash value is equal to the second hash value , Downloading the first file from a file transfer protocol FPS server according to the first file identifier.
- a push completion message is fed back to the first file sender; the push completion message is used to notify the first file sender that the first file sender has completed
- the file is stored in the SFTP server corresponding to the first channel identifier.
- the present application provides a computer device including a program or instruction, and when the program or instruction is executed, the computer executes any of the above-mentioned possible design methods.
- the present application provides a storage medium including a program or instruction, and when the program or instruction is executed, the computer executes any of the above-mentioned possible design methods.
- Utilizing the file interactive processing method, device and system provided in this application has the following beneficial effects: by mapping environmental information to channel identifiers, file developers no longer need to pay attention to specific environmental information, and can realize the separation of configuration and business , Which can reduce the difficulty of development and reduce the complexity of actual use.
- FIG. 1 is a schematic diagram of the technical architecture of a file interactive processing method in the prior art
- FIG. 2 is a schematic diagram of the technical architecture of file push in a file interactive processing method provided by an embodiment of the application;
- FIG. 3 is a schematic diagram of a file push process in a file interactive processing method provided by an embodiment of the application
- FIG. 4 is a schematic diagram of the technical architecture of file pulling in a file interactive processing method provided by an embodiment of the application;
- FIG. 5 is a schematic diagram of a file pulling process in a file interactive processing method provided by an embodiment of the application
- FIG. 6 is a schematic flowchart of a file push replacement method in a file interactive processing method provided by an embodiment of the application
- FIG. 7 is a schematic structural diagram of a file interactive processing apparatus provided by an embodiment of the application.
- FIG. 8 is a schematic structural diagram of a computer device provided by an embodiment of this application.
- Figure 1 is a schematic diagram of a technical architecture of a file interactive processing method in the prior art.
- the sender A and the receiver B can communicate and align the file format first, and then the sender A packs the files and provides the MD5 file And the summary file, then the sender A uploads the file to the SFTP server, and the receiver B retrieves the file from the SFTP server through the SFTP protocol.
- this file interactive processing method requires the development of a complete file packaging and transmission module, and the development of upload and download functions for protocols such as FTP, and even a complete file monitoring function.
- this file interactive processing method does not have sufficient control capabilities for file content, and it is difficult to implement flexible configuration of file data and shielding of sensitive data.
- this file interactive processing method cannot realize the separation of configuration and business, which leads to mixed environment information and application business, which increases the complexity of actual use.
- the embodiments of the present application provide a file interaction processing method, which can simplify the development process of file interaction and reduce the complexity of actual use.
- the specific technical solutions are as follows.
- FIG. 2 is a schematic diagram of the technical architecture of file push in a file interactive processing method provided by an embodiment of the application.
- the technical architecture of file push shown in Figure 2 includes application system 201, application 202, distributed database (Tencent Distributed MySQL, TDSQL) 203, big data warehouse 204, data warehouse 205, data file 206, file interactive system 207, batch File interaction system (CAP) 208, file storage system (FPS) 209, SFTP server group 210, SFTP server 1 211, and SFTP server 2 212.
- the application system 201 includes an application 202 and a distributed database 203.
- the application 202 may be connected to the distributed database 203 for storing data to be transmitted in the application 202 in the distributed database 203.
- the distributed database 203 can be connected to the application 202 and the data warehouse 205 respectively, and is used to push the data to be transmitted in the application 202 to the data warehouse 205 through the data extraction, transformation and loading (extract, transformation and loading, ETL) process. Generate data tables.
- the big data warehouse 204 includes a data warehouse 205 and a data file 206, and the big data warehouse 204 can be connected to a file interactive system 207. More specifically, it can be connected to a batch file interactive system 208 and a file storage system 209.
- the data warehouse 205 can be connected to the distributed database 203, the data file 206, and the file interaction system 207, and is used to process the data of the generated data table according to the business level requirements.
- the data table is packaged to generate a data file 206.
- the data file 206 is sent to the file storage system 209, and the file identifier and hash value corresponding to the data file 206 returned by the file storage system 209 are received.
- the channel identifier of the specific server to be transmitted to the SFTP server group 210 is added, and the information is sent to the batch file interaction system 208 together.
- the channel identification includes information such as the partner's SFTP address, account number, and password.
- the data file 206 can be connected to the data warehouse 205 for generating a package file in the subsequent process.
- the file interactive system 207 includes a batch file interactive system 208 and a file storage system 209.
- the file interactive system 207 can be connected to the big data warehouse 204.
- the batch file interaction system 208 can be connected with the big data warehouse 204, the file storage system 209, and the SFTP server group 210, and is used to receive the processed data fields sent by the data warehouse 205 in the big data warehouse 204, and according to the field list configured by itself, It is fed back to the data warehouse 205, and the data warehouse 205 filters the fields of the processed data according to the field list, and packages the data table corresponding to the filtered fields to generate a data file 206.
- the file identifier, the hash value and the channel identifier of the specific server in the SFTP server group 210 corresponding to the data file 206 sent by the data warehouse 205 are received.
- the data file is downloaded from the file storage system 209 according to the file identifier and hash value.
- the server after downloading the data file, read the specific information in the channel identifier, determine the specific SFTP server in the SFTP server group 210 according to the specific information, and then push the data file to the server.
- a push completion message is fed back to the application system 201.
- the file storage system 209 may be connected to the big data warehouse 204 and the batch file interaction system 208, and is used to receive and store the data files 206 in the big data warehouse 204, and then send the file identification and hash value corresponding to the data files 206.
- the file identification and hash value sent by the batch file interaction system 208 are received.
- the SFTP server group 210 includes one or more SFTP servers, such as SFTP server 1 211, SFTP server 2 212, and so on.
- the SFTP server group 210 may be connected to the batch file interaction system 208 to receive the data file 206 pushed by the batch file interaction system 208 and store it in the corresponding specific SFTP server.
- FIG. 3 is a schematic diagram of a file push process in a file interactive processing method provided by an embodiment of the application. As shown in FIG. 3, the method includes:
- Step 301 The data warehouse acquires data, and processes the data.
- the data of the first file is generally stored in the distributed database of the application system.
- the table is pushed to the data warehouse, and the data table is processed in the data warehouse according to business-level requirements.
- the data warehouse sends the processed data fields to the batch file interactive system, and the batch file interactive system returns the list of fields configured by itself to the data warehouse.
- the data warehouse then filters the processed data fields according to the field list and generates a data table corresponding to the filtered fields.
- the batch file interaction system here can save fields for each channel and each business, and through these field information, the list of fields that need to be included in the file packaging process can be controlled.
- the data table structure to be transmitted and sent out of the data warehouse has five fields, namely:
- ID refers to the serial number field in the data table structure
- NAME refers to the name field in the data table structure
- ADDRESS refers to the address field in the data table structure
- ID_NO refers to the ID number field in the data table structure
- LAST_MODIFIED_DATETIME refers to the last modified time field in the data table structure.
- the batch file interaction system can implement functions such as adjustment of data fields and screening of sensitive fields in file interaction processing in this flexibly configurable manner, thereby ensuring the controllability of data.
- Step 302 Pack the processed data into a first file, and send the first file to the FPS server.
- the data warehouse packages the data table corresponding to the filtered fields into the first file, and sends the first file to the FPS server.
- Step 303 The FPS server stores the acquired first file, assigns a first file identifier to the first file, and generates a first hash value of the first file; sending to the data warehouse The first file identifier and the first hash value.
- the FPS server receives and stores the first file, assigns a first file identifier to the first file, and generates a first hash value of the first file. After that, the FPS server can send the first file identifier and the first hash value to the data warehouse.
- the FPS server here has two functions, including:
- the first file identifier is a 64-bit string, which is unique.
- the first hash value is a 32-bit string that records the first hash value of the first file. Even if the first file has a small change, such as a 1-bit change, it will cause the first hash value of the first file to change, so the first hash value of the first file can be used to identify whether the first file is damaged.
- Step 304 The data warehouse obtains the first file identifier and the first hash value, determines the first channel identifier of the first file recipient, and sends the first channel identifier to the batch file interaction system CAP, The first file identifier and the first hash value.
- the data warehouse determines the first channel of the specific server in the SFTP server group corresponding to the receiver according to the transmission requirement of the first file Identification, sending the first channel identification, the first file identification, and the first hash value to the batch file interaction system CAP.
- Step 305 The CAP system obtains the first channel identifier, the first file identifier, and the first hash value.
- the first channel identifier is used to indicate the SFTP server corresponding to the first file recipient. In this way, after downloading the first file from the FPS server according to the first file identifier and the first hash value, the first file can be stored in the first file according to the first channel identifier.
- the SFTP server corresponding to the channel ID is used to indicate the SFTP server corresponding to the channel ID.
- the CAP system receives the first channel identifier, the first file identifier, and the first hash value, and downloads the first file from the FPS server according to the first file identifier and the first hash value; and obtains the first file according to the first channel identifier
- the SFTP server corresponding to the first file receiver thereby storing the first file in the SFTP server corresponding to the first channel identifier.
- the file developer no longer needs to pay attention to the specific environmental information (that is, the situation of the recipient who transmits the first file). Coupling the problem of mixing application systems and environmental information; at the same time, it can also realize the unified management of environmental information, and can make timely changes when environmental information changes.
- the detailed content of the first file is downloaded from the FPS server according to the first file identifier and the first hash value in step 305, which may specifically be:
- Step 306 The SFTP server is used to store the first file.
- the SFTP server receives and stores the first file, and waits for the receiver to take it out.
- Step 307 Feed back a push completion message to the first file sender; the push completion message is used to notify the first file sender that it has completed storing the first file in the channel corresponding to the first channel identifier.
- SFTP server Feed back a push completion message to the first file sender; the push completion message is used to notify the first file sender that it has completed storing the first file in the channel corresponding to the first channel identifier.
- the push completion message may also be fed back to the first file sender.
- the push completion message here is used to notify the sender of the first file that the first file has been stored in the SFTP server corresponding to the first channel identifier, so that the sender can learn the processing status of the first file, which is helpful for monitoring the first file.
- the above content describes the transfer of files from the internal to the external system, and the following is explained from the perspective of obtaining external files for use by the internal system.
- FIG. 4 is a schematic diagram of the technical architecture of file pulling in a file interactive processing method provided by an embodiment of the application.
- the technical architecture of file pull may include a scheduling system 401, a file interaction system 207, a batch file interaction system (CAP) 208, a file storage system (FPS) 209, an SFTP server group 210, and an SFTP server 211, SFTP server 212 and receiving file system 402.
- CAP batch file interaction system
- FPS file storage system
- the scheduling system 401 can be connected to the batch file interaction system 208 for sending the channel identifier of the sender to the batch file interaction system 208 within a specified configuration time.
- a pull success message fed back by the batch file interaction system 208 is received.
- the file interactive system 207 includes a batch file interactive system 208 and a file storage system 209.
- the batch file interaction system 208 can be connected to the dispatch system 401, the file storage system 209, the SFTP server group 210, and the receiving file system 402, and is used to receive the sender’s channel identifier sent by the dispatch system 401, and after reading the specific information therein, Determine the location in the SFTP server group 210 where the file is located, and obtain the file uploaded by the sender from it.
- the file package can be decompressed according to the corresponding format to obtain the file.
- a pull success message is fed back to the scheduling system 401.
- the file storage system 209 may be connected to the batch file interaction system 208 and the receiving file system 402 to receive and store the files uploaded by the batch file interaction system 208, and then send the file identification and hash value to the batch file interaction system 208.
- the SFTP server group 210 includes SFTP server 1 211, SFTP server 2 212, etc., and can be connected to the batch file interaction system 208 to receive searches of the SFTP server group 210 by the batch file interaction system 208, and then obtain files uploaded by the sender.
- the receiving file system 402 can be connected with the batch file interaction system 208 and the file storage system 209 to monitor the file identification and hash value in the message communication queue port configured by the batch file interaction system. After receiving the file identification and hash value , Invoke the Software Development Kit (SDK) of the file storage system to download files.
- SDK Software Development Kit
- FIG. 5 is a schematic diagram of a file pull process in a file interactive processing method provided by an embodiment of the application. As shown in FIG. 5, the method includes:
- Step 501 The batch file interaction system CAP obtains a second channel identifier, obtains a second file from the SFTP server according to the second channel identifier, and sends the second file to the FPS server.
- the second channel identifier is used to indicate the SFTP server corresponding to the second file sender.
- the sender may upload the second file to the SFTP server.
- the developer configures the pull time and pull frequency of the second file uploaded by the sender in the scheduling platform.
- the scheduling platform can run the pull script to send the second channel identifier of the sender to the CAP system.
- the CAP system can determine the SFTP server corresponding to the second file sender according to the second channel identifier, and can obtain the second file uploaded by the sender from the corresponding SFTP server.
- the CAP system can be configured to unpack the second file package according to the corresponding format to obtain the second file. The CAP system can then upload the second file to the FPS server.
- the internal file management mechanism can be uniformly stored in the FPS server, and then the receiving file system downloads the corresponding file from the file storage system according to the file identification and hash value as required.
- the next description is how the receiving file system obtains the second file from the FPS server. The detailed description is as follows.
- Step 502 The FPS server stores the acquired second file, assigns a second file identifier to the second file, and generates a third hash value of the second file, and then sends all the files to the CAP system.
- the second file identifier and the third hash value are the first and second hash value.
- the FPS server receives and stores the second file, assigns a second file identifier to the second file, and generates a third hash value of the second file, and then returns the second file identifier and the third hash value to the CAP system .
- Step 503 The CAP system transmits the second file identifier and the third hash value to the message communication queue port.
- Step 504 The receiving file system monitors the message communication queue port, obtains the second file identifier and the third hash value from the message communication queue port, and then according to the second file identifier and the third The hash value downloads the second file from the FPS server.
- the process of downloading the second file may be: obtaining a fourth hash value of the second file in the FPS server, and when the third hash value is equal to the fourth hash value, Downloading the second file from a file transfer protocol FPS server according to the second file identifier.
- the fourth hash value of the second file in the FPS server is acquired, and the second file is downloaded from the file transfer protocol FPS server according to the second file identifier.
- the third hash value When it is equal to the fourth hash value, it is confirmed that the second file is intact. Otherwise, it means that problems such as network conditions during the downloading process cause the file to be damaged, and the second file needs to be downloaded again.
- the CAP system may feed back a pull success message to the scheduling system to form closed-loop management.
- FIG 6 is a schematic flow diagram of the replacement method of file push in another file interactive processing method.
- java SDK can be used to replace the ETL process to push data, that is, the first file does not need to be passed through
- the ETL process is pushed to the data warehouse, but by introducing the third-party java SDK package of the CAP system, the data of the first file of the sender and the first channel identifier of the first file receiver are transferred to the SDK, and the subsequent process and diagrams
- the schematic diagram of the file push process in 3 is the same. In this way, the push to the data warehouse through the ETL process in Figure 3 can be simplified.
- FIG. 7 is a schematic structural diagram of a file interactive processing device provided by an embodiment of the application. As shown in FIG. 7, the device includes:
- the communication unit 701 is configured to obtain a first channel identifier, a first file identifier of a first file, and a first hash value of the first file; the first channel identifier is used to indicate the corresponding to the first file recipient Secure file transfer protocol SFTP server;
- the processing unit 702 is configured to download the first file from a file transfer protocol FPS server according to the first file identifier of the first file and the first hash value of the first file; according to the first channel identifier Storing the first file in the SFTP server corresponding to the first channel identifier.
- processing unit 702 is further configured to:
- the communication unit 701 is further configured to:
- the push completion message is fed back to the first file sender; the push completion message is used to notify the first file sender that the first file has been stored in the SFTP server corresponding to the first channel identifier.
- an embodiment of the present invention provides a computer device. As shown in FIG. 8, it includes at least one processor 801 and a memory 802 connected to the at least one processor.
- the embodiment of the present invention does not limit the processor
- the connection between the processor 801 and the memory 802 in FIG. 8 is taken as an example.
- the bus can be divided into address bus, data bus, control bus, etc.
- the memory 802 stores instructions that can be executed by at least one processor 801, and the at least one processor 801 can execute the steps included in the aforementioned file interaction processing method by executing the instructions stored in the memory 802.
- the processor 801 is the control center of the computer equipment, which can use various interfaces and lines to connect to various parts of the computer equipment, and realize data by running or executing instructions stored in the memory 802 and calling data stored in the memory 802. deal with.
- the processor 801 may include one or more processing units, and the processor 801 may integrate an application processor and a modem processor.
- the application processor mainly processes the operating system, user interface, and application programs.
- the adjustment processor mainly handles issuing instructions. It can be understood that the foregoing modem processor may not be integrated into the processor 801.
- the processor 801 and the memory 802 may be implemented on the same chip, and in some embodiments, they may also be implemented on separate chips.
- the processor 801 may be a general-purpose processor, such as a central processing unit (CPU), a digital signal processor, an application specific integrated circuit (ASIC), a field programmable gate array or other programmable logic devices, discrete gates or transistors Logic devices and discrete hardware components can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of the present invention.
- the general-purpose processor may be a microprocessor or any conventional processor.
- the steps of the method disclosed in the embodiment of file interactive processing may be directly embodied as being executed and completed by a hardware processor, or executed and completed by a combination of hardware and software modules in the processor.
- the memory 802 can be used to store non-volatile software programs, non-volatile computer-executable programs, and modules.
- the memory 802 may include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card-type memory, random access memory (Random Access Memory, RAM), static random access memory (Static Random Access Memory, SRAM), Programmable Read Only Memory (PROM), Read Only Memory (ROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), magnetic memory, disk , CD, etc.
- the memory 802 is any other medium that can be used to carry or store desired program codes in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto.
- the memory 802 in the embodiment of the present invention may also be a circuit or any other device capable of realizing a storage function for storing program instructions and/or data.
- an embodiment of the present application also provides a storage medium including a program or instruction, and when the computer reads and executes the program or instruction, the computer executes the method described in any one of FIGS. 2 to 6.
- the embodiments of the present application can be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, this application may adopt the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.
- a computer-usable storage media including but not limited to disk storage, CD-ROM, optical storage, etc.
- These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
- the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
- These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
- the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Computer Hardware Design (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
Abstract
Description
Claims (10)
- 一种文件交互处理方法,其特征在于,包括:获取第一渠道标识、第一文件的第一文件标识以及所述第一文件的第一哈希值;所述第一渠道标识用于指示第一文件接收方所对应的安全文件传输协议SFTP服务器;根据所述第一文件的第一文件标识以及所述第一文件的第一哈希值从文件传输协议FPS服务器中下载所述第一文件;根据所述第一渠道标识将所述第一文件存储至所述第一渠道标识对应的SFTP服务器。
- 如权利要求1所述的方法,其特征在于,所述根据所述第一文件的第一文件标识以及所述第一文件的第一哈希值从文件传输协议FPS服务器中下载所述第一文件,包括:获取所述FPS服务器中的第一文件的第二哈希值;当所述第一哈希值等于所述第二哈希值时,根据所述第一文件标识从文件传输协议FPS服务器中下载所述第一文件。
- 如权利要求1所述的方法,其特征在于,所述根据所述第一渠道标识将所述第一文件存储至所述第一渠道标识对应的SFTP服务器之后,还包括:将推送完成消息反馈给所述第一文件发送方;所述推送完成消息用于通知所述第一文件发送方已完成将所述第一文件存储至所述第一渠道标识对应的SFTP服务器。
- 一种文件交互处理系统,其特征在于,包括:数据仓库,用于获取数据,对所述数据进行处理,将处理后的数据打包为第一文件,并将所述第一文件发送至FPS服务器;所述FPS服务器,用于存储获取到的所述第一文件,并为所述第一文件分配第一文件标识,以及生成所述第一文件的第一哈希值;向所述数据仓库发送所述第一文件标识以及所述第一哈希值;所述数据仓库,用于获取所述第一文件标识以及所述第一哈希值,确定第一文件接收方的第一渠道标识,并向批量文件交互系统CAP发送所述第一渠道标识、所述第一文件标识以及所述第一哈希值;CAP系统,用于获取所述第一渠道标识、所述第一文件标识以及所述第一哈希值;所述第一渠道标识用于指示所述第一文件接收方所对应的SFTP服务器;根据所述第一文件标识以及所述第一哈希值从FPS服务器中下载所述 第一文件;根据所述第一渠道标识将所述第一文件存储至所述第一渠道标识对应的SFTP服务器;所述SFTP服务器,用于存储所述第一文件。
- 一种文件交互处理系统,其特征在于,包括:批量文件交互系统CAP,用于获取第二渠道标识;所述第二渠道标识用于指示第二文件发送方所对应的SFTP服务器;根据所述第二渠道标识从所述SFTP服务器获取第二文件;将所述第二文件发送至FPS服务器;所述FPS服务器,用于存储获取到的所述第二文件,并为所述第二文件分配第二文件标识,以及生成所述第二文件的第三哈希值;向所述CAP系统发送所述第二文件标识以及所述第三哈希值;所述CAP系统,用于将所述第二文件标识以及所述第三哈希值传递给消息通信队列端口;接收文件系统,用于监听所述消息通信队列端口,从所述消息通信队列端口获取所述第二文件标识以及所述第三哈希值;根据所述第二文件标识以及所述第三哈希值从FPS服务器中下载所述第二文件。
- 一种文件交互处理装置,其特征在于,包括:通信单元,用于获取第一渠道标识、第一文件的第一文件标识以及所述第一文件的第一哈希值;所述第一渠道标识用于指示第一文件接收方所对应的安全文件传输协议SFTP服务器;处理单元,用于根据所述第一文件的第一文件标识以及所述第一文件的第一哈希值从文件传输协议FPS服务器中下载所述第一文件;根据所述第一渠道标识将所述第一文件存储至所述第一渠道标识对应的SFTP服务器。
- 如权利要求6所述的装置,其特征在于,所述处理单元还用于:获取所述FPS服务器中的第一文件的第二哈希值;当所述第一哈希值等于所述第二哈希值时,根据所述第一文件标识从文件传输协议FPS服务器中下载所述第一文件。
- 如权利要求6所述的装置,其特征在于,所述通信单元还用于:将推送完成消息反馈给所述第一文件发送方;所述推送完成消息用于通知所述第一文件发送方已完成将所述第一文件存储至所述第一渠道标识对应的SFTP服务器。
- 一种计算机设备,其特征在于,包括程序或指令,当所述程序或指令被执行时,如权利要求1至3中任意一项所述的方法被执行。
- 一种存储介质,其特征在于,包括程序或指令,当所述程序或指令 被执行时,如权利要求1至3中任意一项所述的方法被执行。
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201910520528.4A CN110177154B (zh) | 2019-06-17 | 2019-06-17 | 一种文件交互处理方法、装置及系统 |
| CN201910520528.4 | 2019-06-17 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2020253465A1 true WO2020253465A1 (zh) | 2020-12-24 |
Family
ID=67698352
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2020/091929 Ceased WO2020253465A1 (zh) | 2019-06-17 | 2020-05-22 | 一种文件交互处理方法、装置及系统 |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN110177154B (zh) |
| WO (1) | WO2020253465A1 (zh) |
Cited By (4)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112843674A (zh) * | 2021-01-19 | 2021-05-28 | 杭州电魂网络科技股份有限公司 | 游戏出包方法和系统 |
| CN113343312A (zh) * | 2021-06-25 | 2021-09-03 | 工银科技有限公司 | 基于前端埋点技术的页面防篡改方法及系统 |
| CN114945020A (zh) * | 2022-05-17 | 2022-08-26 | 宝信软件(武汉)有限公司 | 一种基于云平台的云边协同数据接入方法以及系统 |
| CN115442358A (zh) * | 2022-04-28 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | 数据处理方法、装置、设备及计算机存储介质 |
Families Citing this family (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110177154B (zh) * | 2019-06-17 | 2021-07-02 | 深圳前海微众银行股份有限公司 | 一种文件交互处理方法、装置及系统 |
| CN110597764B (zh) * | 2019-10-10 | 2024-05-07 | 深圳前海微众银行股份有限公司 | 一种文件下载、版本管理方法及装置 |
| CN113726830B (zh) * | 2020-05-25 | 2023-09-12 | 网联清算有限公司 | 一种报文标识生成方法及装置 |
| CN112653757B (zh) * | 2020-12-21 | 2024-08-20 | 深圳前海微众银行股份有限公司 | 文件管理系统、方法及设备 |
| CN113037710A (zh) * | 2021-02-03 | 2021-06-25 | 南京物通物语科技有限公司 | 一种工业物联网用对大数据传输的处理方法 |
| CN116668115B (zh) * | 2023-05-30 | 2026-01-30 | 中国工商银行股份有限公司 | 信息处理方法及装置、电子设备和计算机可读存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN104184740A (zh) * | 2014-09-04 | 2014-12-03 | 中电长城网际系统应用有限公司 | 可信传输方法、可信第三方和可信传输系统 |
| US9419801B2 (en) * | 2009-05-12 | 2016-08-16 | Infrascale Inc. | System and method for transmitting needed portions of a data file between networked computers |
| CN108984560A (zh) * | 2017-06-01 | 2018-12-11 | 杭州海康威视数字技术股份有限公司 | 文件存储方法及装置 |
| CN109639819A (zh) * | 2018-12-28 | 2019-04-16 | 腾讯科技(深圳)有限公司 | 文件传输方法、客户端、服务器及系统 |
| CN110177154A (zh) * | 2019-06-17 | 2019-08-27 | 深圳前海微众银行股份有限公司 | 一种文件交互处理方法、装置及系统 |
Family Cites Families (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN102231742B (zh) * | 2011-06-27 | 2014-10-29 | 中国建设银行股份有限公司 | 基于sftp协议的文件上传与下载方法、系统及相关设备 |
| CN105025082A (zh) * | 2011-12-09 | 2015-11-04 | 丁雪强 | 一种金融网点柜面上安全传输u盘文件的方法 |
| US10069817B2 (en) * | 2015-09-28 | 2018-09-04 | Mastercard International Incorporated | Secure file transfer with secure SSH key authentication |
| CN106162212B (zh) * | 2016-07-01 | 2019-10-15 | 江苏省广播电视集团有限公司 | 一种基于云计算实现的新闻内容现场生产系统 |
| CN109240726B (zh) * | 2018-09-30 | 2022-04-22 | 湖北华联博远科技有限公司 | 一种软件更新方法及系统 |
-
2019
- 2019-06-17 CN CN201910520528.4A patent/CN110177154B/zh active Active
-
2020
- 2020-05-22 WO PCT/CN2020/091929 patent/WO2020253465A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US9419801B2 (en) * | 2009-05-12 | 2016-08-16 | Infrascale Inc. | System and method for transmitting needed portions of a data file between networked computers |
| CN104184740A (zh) * | 2014-09-04 | 2014-12-03 | 中电长城网际系统应用有限公司 | 可信传输方法、可信第三方和可信传输系统 |
| CN108984560A (zh) * | 2017-06-01 | 2018-12-11 | 杭州海康威视数字技术股份有限公司 | 文件存储方法及装置 |
| CN109639819A (zh) * | 2018-12-28 | 2019-04-16 | 腾讯科技(深圳)有限公司 | 文件传输方法、客户端、服务器及系统 |
| CN110177154A (zh) * | 2019-06-17 | 2019-08-27 | 深圳前海微众银行股份有限公司 | 一种文件交互处理方法、装置及系统 |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN112843674A (zh) * | 2021-01-19 | 2021-05-28 | 杭州电魂网络科技股份有限公司 | 游戏出包方法和系统 |
| CN113343312A (zh) * | 2021-06-25 | 2021-09-03 | 工银科技有限公司 | 基于前端埋点技术的页面防篡改方法及系统 |
| CN115442358A (zh) * | 2022-04-28 | 2022-12-06 | 北京罗克维尔斯科技有限公司 | 数据处理方法、装置、设备及计算机存储介质 |
| CN114945020A (zh) * | 2022-05-17 | 2022-08-26 | 宝信软件(武汉)有限公司 | 一种基于云平台的云边协同数据接入方法以及系统 |
| CN114945020B (zh) * | 2022-05-17 | 2023-08-08 | 宝信软件(武汉)有限公司 | 一种基于云平台的云边协同数据接入方法以及系统 |
Also Published As
| Publication number | Publication date |
|---|---|
| CN110177154B (zh) | 2021-07-02 |
| CN110177154A (zh) | 2019-08-27 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| WO2020253465A1 (zh) | 一种文件交互处理方法、装置及系统 | |
| US10776107B2 (en) | Microservice-based data processing apparatus, method, and program | |
| US20210109799A1 (en) | Synchronous ingestion pipeline for data processing | |
| US10460123B1 (en) | System and method for automatically securing sensitive data in public cloud using a serverless architecture | |
| CN111163129A (zh) | 一种基于跨链网络的资源处理方法及装置 | |
| US20240012781A1 (en) | Article, device, and techniques for serverless streaming message processing | |
| CN106375437B (zh) | 数据审核方法及装置 | |
| US20160299918A1 (en) | Device Control Using a Secure Decentralized Transactional Ledger | |
| MX2008012378A (es) | Estructura de agregacion de mensaje basado en politica. | |
| CN105389120B (zh) | 支持通过活动消息的rma api | |
| US10860220B2 (en) | Method and system for transferring data between storage systems | |
| CN112882846B (zh) | 消息队列的数据处理方法、装置、计算机设备和存储介质 | |
| CN105871966A (zh) | 消息分发的方法、装置及系统 | |
| CN119105887B (zh) | 消息处理方法、装置、电子设备及存储介质 | |
| CN114020689A (zh) | 数据处理方法、数据处理装置、电子设备及存储介质 | |
| CN103646015B (zh) | 发送、接收以及传输xml报文的方法和系统 | |
| US9659041B2 (en) | Model for capturing audit trail data with reduced probability of loss of critical data | |
| CN117131211A (zh) | 数据处理方法、装置及设备 | |
| US10133759B1 (en) | System for determining storage or output of data objects | |
| WO2023142535A1 (zh) | 一种ic卡应用的硬件调用方法、装置及智能ic卡 | |
| CN108833500B (zh) | 服务调用方法、服务提供方法、数据传递方法和服务器 | |
| CN120358269A (zh) | 模型服务跨框架请求转换方法、装置、设备及介质 | |
| CN113626222B (zh) | 消息处理方法、装置、计算机设备和存储介质 | |
| CN114003603B (zh) | 基于大数据平台的数据导出方法、系统及存储介质 | |
| CN116684241A (zh) | 容器管理调度平台消息传输方法、装置及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 20825812 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20825812 Country of ref document: EP Kind code of ref document: A1 |
|
| 32PN | Ep: public notification in the ep bulletin as address of the adressee cannot be established |
Free format text: NOTING OF LOSS OF RIGHTS PURSUANT TO RULE 112(1) EPC (EPO FORM 1205A DATED 31/03/2022) |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 20825812 Country of ref document: EP Kind code of ref document: A1 |