CN113612855A - File downloading method and device, computer equipment and storage medium - Google Patents

File downloading method and device, computer equipment and storage medium Download PDF

Info

Publication number
CN113612855A
CN113612855A CN202110947785.3A CN202110947785A CN113612855A CN 113612855 A CN113612855 A CN 113612855A CN 202110947785 A CN202110947785 A CN 202110947785A CN 113612855 A CN113612855 A CN 113612855A
Authority
CN
China
Prior art keywords
file
information
server
configuration information
downloading
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.)
Pending
Application number
CN202110947785.3A
Other languages
Chinese (zh)
Inventor
彭海宇
高斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Dingsheng Computer Technology Co ltd
Original Assignee
Shenzhen Dingsheng Computer Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Dingsheng Computer Technology Co ltd filed Critical Shenzhen Dingsheng Computer Technology Co ltd
Priority to CN202110947785.3A priority Critical patent/CN113612855A/en
Publication of CN113612855A publication Critical patent/CN113612855A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/14Details of searching files based on file metadata
    • G06F16/148File search processing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/2866Architectures; Arrangements
    • H04L67/30Profiles
    • H04L67/303Terminal profiles

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Library & Information Science (AREA)
  • Human Computer Interaction (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention discloses a file downloading method, a file downloading device, computer equipment and a storage medium. The method is executed by a file receiving terminal and comprises the following steps: acquiring configuration information sent by a file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information; establishing connection with a file server matched with the server connection information according to the server connection information; and downloading the file matched with the file name information in the file storage directory in the file server. By using the technical scheme of the invention, the unified management of file downloading can be realized, the file downloading efficiency is improved, and the repeated development of codes is reduced.

Description

File downloading method and device, computer equipment and storage medium
Technical Field
The embodiment of the invention relates to the technical field of computer networks, in particular to a file downloading method, a file downloading device, computer equipment and a storage medium.
Background
During interactive docking of systems, files are a common carrier for transferring information. Especially in the internet financial industry, for the interaction of information after credit and the interaction of account checking documents, the documents are generally used for data transmission.
Due to the variety of file formats, corresponding codes need to be developed when downloading and analyzing files. The file downloading mode in the prior art has high code development cost and is inconvenient for unified management of file downloading.
Disclosure of Invention
Embodiments of the present invention provide a file downloading method and apparatus, a computer device, and a storage medium, so as to implement unified management of file downloading, improve file downloading efficiency, and reduce repeated development of codes.
In a first aspect, an embodiment of the present invention provides a file downloading method, where the method is executed by a file receiving end, and the method includes:
acquiring configuration information sent by a file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information;
establishing connection with a file server matched with the server connection information according to the server connection information;
and downloading the file matched with the file name information in the file storage directory in the file server.
In a second aspect, an embodiment of the present invention provides a file downloading method, where the method is executed by a file sending end, and the method includes:
acquiring server connection information, a file storage directory and file name information matched with a file server;
and generating configuration information according to the server connection information, the file storage directory and the file name information, and sending the configuration information to a file receiving end so that the file receiving end downloads files according to the configuration information.
In a third aspect, an embodiment of the present invention further provides a file downloading apparatus, where the apparatus is deployed at a file receiving end, and the apparatus includes:
the system comprises a configuration information acquisition module, a file storage module and a file name acquisition module, wherein the configuration information acquisition module is used for acquiring configuration information sent by a file sending end and analyzing the configuration information to obtain server connection information, a file storage directory and file name information;
the file server connection module is used for establishing connection with a file server matched with the server connection information according to the server connection information;
and the file downloading module is used for downloading the file matched with the file name information in the file storage directory in the file server.
In a fourth aspect, an embodiment of the present invention further provides a file downloading apparatus, where the apparatus is deployed at a file sending end, and the apparatus includes:
the information acquisition module is used for acquiring server connection information, a file storage directory and file name information which are matched with the file server;
and the configuration information sending module is used for generating configuration information according to the server connection information, the file storage directory and the file name information and sending the configuration information to the file receiving end so that the file receiving end downloads the file according to the configuration information.
In a fifth aspect, an embodiment of the present invention further provides a computer device, including a memory, a processor, and a computer program stored on the memory and executable on the processor, where the processor executes the computer program to implement the file downloading method according to any one of the embodiments of the present invention.
In a sixth aspect, embodiments of the present invention further provide a storage medium containing computer-executable instructions, which when executed by a computer processor, are used for executing the file downloading method according to any one of the embodiments of the present invention.
The embodiment of the invention obtains the server connection information, the file storage directory and the file name information by receiving the configuration information sent by the file sending end and analyzing the configuration information, establishes connection with the file server according to the server connection information, and downloads the file matched with the file name information in the file storage directory of the file server according to the file storage directory and the file name information. The problems that a file downloading mode in the prior art is high in code development cost and inconvenient to uniformly manage file downloading are solved, uniform management of file downloading is achieved, file downloading efficiency is improved, and repeated development of codes is reduced.
Drawings
Fig. 1 is a flowchart of a file downloading method according to a first embodiment of the present invention;
FIG. 2 is a flowchart of another file downloading method according to the second embodiment of the present invention;
fig. 3 is a flowchart of a file downloading method according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of a file downloading device according to a fourth embodiment of the present invention;
fig. 5 is a schematic structural diagram of a file downloading device according to a fifth embodiment of the present invention;
fig. 6 is a schematic structural diagram of a computer device in the sixth embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to the accompanying drawings and examples. It is to be understood that the specific embodiments described herein are merely illustrative of the invention and are not limiting of the invention. It should be further noted that, for the convenience of description, only some of the structures related to the present invention are shown in the drawings, not all of the structures.
Example one
Fig. 1 is a flowchart of a file downloading method according to an embodiment of the present invention, where the embodiment is applicable to downloading files in multiple types of file servers, and the method may be executed by a file downloading apparatus, where the apparatus may be implemented by software and/or hardware and is generally integrated in a file receiving end.
As shown in fig. 1, the technical solution of the embodiment of the present invention specifically includes the following steps:
s110, obtaining configuration information sent by a file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information.
The file sending end uploads the file to a file server matched with the file sending end, and sends configuration information matched with the file to the file receiving end.
The configuration information is information required for downloading a file, and includes server connection information, a file storage directory, and file name information. The server connection information is related information matched with a file server where a file to be downloaded is stored, and may include, for example, an IP (Internet Protocol) address and port information of the file server, a login account and a password. The File server may be an FTP (File Transfer Protocol) server, the FTP server may be a server supporting the FTP Protocol, and may also be an SFTP (Secure File Transfer Protocol) server, the SFTP server is a server supporting the SFTP Protocol, and the present embodiment does not limit the type of the File server.
The file storage directory may include a file root directory which is the top directory of the file in the file server and corresponds to the concept of a file sub-path, for example, when the file is a financial credit project file, the file may be named according to a date, a project name, and the like, and correspondingly, the file sub-path may be determined according to the date, the project name, and the like.
The file name information may be information relating to the name format of the file, or may be a file name. For example, when the file is a financial credit project file and the file is named according to date, project name and order number, the file name information may be date a and project B name, and the file including the date a and the project B among all names in the file storage directory in the file server is downloaded. The file name information may also be a date, a B item name, and a C order number, and at this time, a file named date a + B item name + C order number in the file storage directory in the file server is downloaded. The present embodiment does not limit the specific content of the file name information.
In the embodiment of the invention, after the file sending end uploads the file to the file server matched with the file sending end, the configuration information is constructed and sent to the file receiving end, and after the file receiving end receives the configuration information, the configuration information is analyzed, and the file is downloaded according to the configuration information. The technical scheme of the embodiment is suitable for various file servers, is also suitable for expanding a new file server, and is convenient for unified management of file downloading.
And S120, establishing connection with the file server matched with the server connection information according to the server connection information.
And after the file receiving end obtains the server connection information through analysis according to the configuration information, the file receiving end can establish connection with the file server according to the server connection information.
In the embodiment of the invention, the file receiving end establishes connection with the file server according to the server connection information in the configuration file, so that the file downloading efficiency can be improved, the repeated code development during downloading files in different file servers is reduced, and the expandability of the file receiving end during downloading the files is improved.
And S130, downloading the file matched with the file name information in the file storage directory in the file server.
And after the file receiving end is connected with the file server, downloading the files matched with the file name information under the corresponding file directory according to the file storage directory obtained by analyzing the configuration information.
According to the technical scheme of the embodiment, the configuration information is analyzed by receiving the configuration information sent by the file sending end to obtain the server connection information, the file storage directory and the file name information, connection is established with the file server according to the server connection information, and the files matched with the file name information in the file storage directory in the file server are downloaded according to the file storage directory and the file name information. The problems that a file downloading mode in the prior art is high in code development cost and inconvenient to uniformly manage file downloading are solved, uniform management of file downloading is achieved, file downloading efficiency is improved, and repeated development of codes is reduced.
Example two
Fig. 2 is a flowchart of another file downloading method provided in the second embodiment of the present invention, and the second embodiment of the present invention further embodies the process of downloading the file in the file server and adds the process of parsing the file on the basis of the above-mentioned embodiment.
Correspondingly, as shown in fig. 2, the technical solution of the embodiment of the present invention specifically includes the following steps:
s210, obtaining the configuration information sent by the file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information.
In the embodiment of the invention, after receiving the configuration information sent by the file sending end, the configuration information is analyzed, and the server connection information, the file storage directory, the file name information and the content format information can be obtained.
And S220, establishing connection with the file server matched with the server connection information according to the server connection information.
In the embodiment of the invention, the server connection information is used for establishing connection with the file server where the file to be downloaded is stored.
S230, constructing a file downloading instruction according to the file storage directory and the file name information, and sending the file downloading instruction to a file server, so that the file server obtains the file storage directory and the file name information according to the file downloading instruction, obtains files matched with the file name information from the files in the file storage directory, and sends the files to a local server.
In the embodiment of the invention, after the file receiving end is connected with the file server, a file downloading instruction is constructed and sent to the file server, after the file server receives the file downloading instruction, the file downloading instruction is analyzed to obtain the file storage directory and the file name information, after the file server enters the file storage directory, the file is searched according to the file name information, and the searched file is sent to the local server of the file receiving end.
Optionally, the file storage directory includes a file root directory and a file sub-path; sending the file downloading instruction to a file server, further comprising: and sending the file downloading instruction to a file server so that the file server acquires file root directory, file sub-path and file name information according to the file downloading instruction, and acquiring a file matched with the file name information from the files under the file root directory and the file sub-path and sending the file to a local server.
When the file storage directory comprises a file root directory and a file sub-path, the file server searches files in the files under the file root directory and the file sub-path according to the file name information, and sends the searched files to a local server at a file receiving end.
S240, analyzing the configuration information, acquiring file content format information, and analyzing the downloaded file according to the file content format information.
In the embodiment of the invention, the file sending end constructs configuration information according to the file content format information, the file receiving end receives the configuration information, downloads the file according to the configuration information, analyzes the configuration information to obtain the file content format information, and analyzes the file content according to the file content format information.
In the embodiment of the invention, the file storage directory, the file name information and the file content format information can be set by the file sending end according to the file, so that the communication cost between the file sending end and the file receiving end during file downloading can be reduced, and the file downloading normalization is improved.
According to the technical scheme of the embodiment, the configuration information is analyzed by receiving the configuration information sent by the file sending end to obtain the server connection information, the file storage directory, the file name information and the file content format information, connection is established with the file server according to the server connection information, files matched with the file name information in the file storage directory in the file server are downloaded according to the file storage directory and the file name information, and the downloaded files are analyzed according to the file content format information. The problems that a file downloading mode in the prior art is high in code development cost and inconvenient to uniformly manage file downloading are solved, uniform management of file downloading is achieved, file downloading efficiency is improved, and repeated development of codes is reduced.
EXAMPLE III
Fig. 3 is a flowchart of a file downloading method according to a third embodiment of the present invention, where this embodiment is applicable to a case where file downloads of multiple types of file servers are managed in a unified manner, and the method may be executed by a file downloading apparatus, where the apparatus may be implemented by software and/or hardware and is generally integrated in a file sending end.
As shown in fig. 3, the technical solution of the embodiment of the present invention specifically includes the following steps:
s310, obtaining server connection information, a file storage directory and file name information matched with the file server.
In the embodiment of the invention, the file sending end names the file to be transmitted according to a preset format and uploads the file to the corresponding directory in the file server matched with the file. And the file sending end constructs configuration information according to the server connection information, the file storage directory and the file name information corresponding to the file server matched with the file.
S320, generating configuration information according to the server connection information, the file storage directory and the file name information, and sending the configuration information to a file receiving end so that the file receiving end downloads files according to the configuration information.
The file sending end sends the configuration information to the file receiving end, the file receiving end analyzes the configuration information to obtain server connection information, a file storage directory and file name information after receiving the configuration information, connection is established with the file server according to the server connection information, the directory where the file is located is searched according to the file storage directory, the file to be downloaded is obtained according to the file name information, and therefore the file is downloaded.
Optionally, the method further includes: acquiring file content format information; s320 further includes: and generating configuration information according to the server connection information, the file storage directory, the file name information and the file content format information, and sending the configuration information to a file receiving end so that the file receiving end downloads the file according to the configuration information, and after the file is downloaded, analyzing the file according to the file content format information.
In the embodiment of the present invention, the file sending end may further add file content format information when constructing the configuration information, where the file content format information is used to analyze the file content. And the file receiving end realizes the analysis of the file content according to the file content format information after realizing the file downloading according to the server connection information, the file storage directory and the file name information obtained by analyzing the configuration information.
According to the technical scheme, the server connection information, the file storage directory and the file name information are constructed into the configuration information and sent to the file receiving end, so that the file receiving end can download files according to the configuration information, the problems that a file downloading mode in the prior art is solved, the code development cost is high, and unified management of file downloading of various file servers is inconvenient are solved, unified management of file downloading of various file servers is achieved, the file downloading efficiency is improved, and repeated development of codes is reduced.
Example four
Fig. 4 is a schematic structural diagram of a file downloading apparatus in a fourth embodiment of the present invention, where the apparatus is deployed at a file receiving end, and the apparatus includes: a configuration information acquisition module 410, a file server connection module 420, and a file download module 430. Wherein:
a configuration information obtaining module 410, configured to obtain configuration information sent by a file sending end, and analyze the configuration information to obtain server connection information, a file storage directory, and file name information;
the file server connection module 420 is configured to establish a connection with a file server matched with the server connection information according to the server connection information;
and the file downloading module 430 is configured to download the file matching the file name information in the file storage directory in the file server.
According to the technical scheme of the embodiment, the configuration information is analyzed by receiving the configuration information sent by the file sending end to obtain the server connection information, the file storage directory and the file name information, connection is established with the file server according to the server connection information, and the files matched with the file name information in the file storage directory in the file server are downloaded according to the file storage directory and the file name information. The problems that a file downloading mode in the prior art is high in code development cost and inconvenient to uniformly manage file downloading are solved, uniform management of file downloading is achieved, file downloading efficiency is improved, and repeated development of codes is reduced.
On the basis of the above embodiment, the apparatus further includes:
and the file analysis module is used for analyzing the configuration information, acquiring file content format information and analyzing the downloaded file according to the file content format information.
On the basis of the above embodiment, the file downloading module 430 includes:
and the file downloading instruction sending unit is used for constructing a file downloading instruction according to the file storage directory and the file name information, and sending the file downloading instruction to the file server so that the file server can obtain the file storage directory and the file name information according to the file downloading instruction, and obtain files matched with the file name information in all files in the file storage directory and send the files to the local server.
On the basis of the above embodiment, the file storage directory includes a file root directory and a file sub-path;
the file downloading instruction sending unit is specifically configured to:
and sending the file downloading instruction to a file server so that the file server acquires file root directory, file sub-path and file name information according to the file downloading instruction, and acquiring a file matched with the file name information from the files under the file root directory and the file sub-path and sending the file to a local server.
The file downloading device provided by the embodiment of the invention can execute the file downloading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE five
Fig. 5 is a schematic structural diagram of a file downloading apparatus in a fifth embodiment of the present invention, where the apparatus is deployed at a file sending end, and the apparatus includes: an information acquisition module 510 and a configuration information transmission module 520. Wherein:
an information obtaining module 510, configured to obtain server connection information, a file storage directory, and file name information that are matched with a file server;
the configuration information sending module 520 is configured to generate configuration information according to the server connection information, the file storage directory, and the file name information, and send the configuration information to the file receiving end, so that the file receiving end downloads a file according to the configuration information.
According to the technical scheme, the server connection information, the file storage directory and the file name information are constructed into the configuration information and sent to the file receiving end, so that the file receiving end can download files according to the configuration information, the problems that a file downloading mode in the prior art is solved, the code development cost is high, and unified management of file downloading of various file servers is inconvenient are solved, unified management of file downloading of various file servers is achieved, the file downloading efficiency is improved, and repeated development of codes is reduced.
On the basis of the above embodiment, the apparatus further includes:
the file content format information acquisition module is used for acquiring file content format information;
the configuration information sending module 520 is specifically configured to:
and generating configuration information according to the server connection information, the file storage directory, the file name information and the file content format information, and sending the configuration information to a file receiving end so that the file receiving end downloads the file according to the configuration information, and after the file is downloaded, analyzing the file according to the file content format information.
The file downloading device provided by the embodiment of the invention can execute the file downloading method provided by any embodiment of the invention, and has the corresponding functional modules and beneficial effects of the execution method.
EXAMPLE six
Fig. 6 is a schematic structural diagram of a computer apparatus according to a sixth embodiment of the present invention, as shown in fig. 6, the computer apparatus includes a processor 60, a memory 61, an input device 62, and an output device 63; the number of processors 60 in the computer device may be one or more, and one processor 60 is taken as an example in fig. 6; the processor 60, the memory 61, the input device 62 and the output device 63 in the computer apparatus may be connected by a bus or other means, and the connection by the bus is exemplified in fig. 6.
The memory 61, which is a computer-readable storage medium, may be used to store software programs, computer-executable programs, and modules, such as modules corresponding to the file downloading method in the embodiment of the present invention (for example, the configuration information acquiring module 410, the file server connecting module 420, and the file downloading module 430 in the file downloading device, or the information acquiring module 510 and the configuration information transmitting module 520). The processor 60 executes various functional applications and data processing of the computer device by executing software programs, instructions and modules stored in the memory 61, that is, implements the file download method described above. The method comprises the following steps:
acquiring configuration information sent by a file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information;
establishing connection with a file server matched with the server connection information according to the server connection information;
and downloading the file matched with the file name information in the file storage directory in the file server.
Alternatively, the method may further comprise:
acquiring server connection information, a file storage directory and file name information matched with a file server;
and generating configuration information according to the server connection information, the file storage directory and the file name information, and sending the configuration information to a file receiving end so that the file receiving end downloads files according to the configuration information.
The memory 61 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created according to the use of the terminal, and the like. Further, the memory 61 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other non-volatile solid state storage device. In some examples, the memory 61 may further include memory located remotely from the processor 60, which may be connected to a computer device over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The input device 62 may be used to receive input numeric or character information and to generate key signal inputs relating to user settings and function controls of the computer apparatus. The output device 63 may include a display device such as a display screen.
EXAMPLE seven
An embodiment of the present invention further provides a storage medium containing computer-executable instructions, which when executed by a computer processor, are configured to perform a file downloading method, where the method includes:
acquiring configuration information sent by a file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information;
establishing connection with a file server matched with the server connection information according to the server connection information;
and downloading the file matched with the file name information in the file storage directory in the file server.
Alternatively, the method may further comprise:
acquiring server connection information, a file storage directory and file name information matched with a file server;
and generating configuration information according to the server connection information, the file storage directory and the file name information, and sending the configuration information to a file receiving end so that the file receiving end downloads files according to the configuration information.
Of course, the storage medium provided by the embodiment of the present invention contains computer-executable instructions, and the computer-executable instructions are not limited to the operations of the method described above, and may also perform related operations in the file downloading method provided by any embodiment of the present invention.
From the above description of the embodiments, it is obvious for those skilled in the art that the present invention can be implemented by software and necessary general hardware, and certainly, can also be implemented by hardware, but the former is a better embodiment in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which can be stored in a computer-readable storage medium, such as a floppy disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a FLASH Memory (FLASH), a hard disk or an optical disk of a computer, and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device) to execute the methods according to the embodiments of the present invention.
It should be noted that, in the embodiment of the file downloading apparatus, the included units and modules are only divided according to functional logic, but are not limited to the above division as long as the corresponding functions can be implemented; in addition, specific names of the functional units are only for convenience of distinguishing from each other, and are not used for limiting the protection scope of the present invention.
It is to be noted that the foregoing is only illustrative of the preferred embodiments of the present invention and the technical principles employed. It will be understood by those skilled in the art that the present invention is not limited to the particular embodiments described herein, but is capable of various obvious changes, rearrangements and substitutions as will now become apparent to those skilled in the art without departing from the scope of the invention. Therefore, although the present invention has been described in greater detail by the above embodiments, the present invention is not limited to the above embodiments, and may include other equivalent embodiments without departing from the spirit of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims (10)

1. A file downloading method, performed by a file receiving end, the method comprising:
acquiring configuration information sent by a file sending end, and analyzing the configuration information to obtain server connection information, a file storage directory and file name information;
establishing connection with a file server matched with the server connection information according to the server connection information;
and downloading the file matched with the file name information in the file storage directory in the file server.
2. The method of claim 1, further comprising:
and analyzing the configuration information to acquire file content format information, and analyzing the downloaded file according to the file content format information.
3. The method of claim 1, wherein downloading the file matching the filename information under the file storage directory in the file server comprises:
and constructing a file downloading instruction according to the file storage directory and the file name information, sending the file downloading instruction to a file server, so that the file server acquires the file storage directory and the file name information according to the file downloading instruction, acquires files matched with the file name information from the files in the file storage directory, and sends the files to a local server.
4. The method of claim 3, wherein the file deposit directory comprises a file root directory and a file subpath;
sending the file downloading instruction to a file server, further comprising:
and sending the file downloading instruction to a file server so that the file server acquires file root directory, file sub-path and file name information according to the file downloading instruction, and acquiring a file matched with the file name information from the files under the file root directory and the file sub-path and sending the file to a local server.
5. A file downloading method, performed by a file sender, the method comprising:
acquiring server connection information, a file storage directory and file name information matched with a file server;
and generating configuration information according to the server connection information, the file storage directory and the file name information, and sending the configuration information to a file receiving end so that the file receiving end downloads files according to the configuration information.
6. The method of claim 5, further comprising:
acquiring file content format information;
generating configuration information according to the server connection information, the file storage directory and the file name information, and sending the configuration information to a file receiving terminal so that the file receiving terminal can download files according to the configuration information, wherein the configuration information comprises:
and generating configuration information according to the server connection information, the file storage directory, the file name information and the file content format information, and sending the configuration information to a file receiving end so that the file receiving end downloads the file according to the configuration information, and after the file is downloaded, analyzing the file according to the file content format information.
7. A file downloading apparatus, disposed at a file receiving end, the apparatus comprising:
the system comprises a configuration information acquisition module, a file storage module and a file name acquisition module, wherein the configuration information acquisition module is used for acquiring configuration information sent by a file sending end and analyzing the configuration information to obtain server connection information, a file storage directory and file name information;
the file server connection module is used for establishing connection with a file server matched with the server connection information according to the server connection information;
and the file downloading module is used for downloading the file matched with the file name information in the file storage directory in the file server.
8. A file downloading apparatus, disposed at a file sending end, the apparatus comprising:
the information acquisition module is used for acquiring server connection information, a file storage directory and file name information which are matched with the file server;
and the configuration information sending module is used for generating configuration information according to the server connection information, the file storage directory and the file name information and sending the configuration information to the file receiving end so that the file receiving end downloads the file according to the configuration information.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements the file download method according to any of claims 1-4 or 5-6 when executing the program.
10. A storage medium containing computer-executable instructions for performing the file download method of any of claims 1-4 or 5-6 when executed by a computer processor.
CN202110947785.3A 2021-08-18 2021-08-18 File downloading method and device, computer equipment and storage medium Pending CN113612855A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110947785.3A CN113612855A (en) 2021-08-18 2021-08-18 File downloading method and device, computer equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110947785.3A CN113612855A (en) 2021-08-18 2021-08-18 File downloading method and device, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113612855A true CN113612855A (en) 2021-11-05

Family

ID=78308856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110947785.3A Pending CN113612855A (en) 2021-08-18 2021-08-18 File downloading method and device, computer equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113612855A (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104025543A (en) * 2011-11-09 2014-09-03 Sk电信有限公司 File Transfer System, Message Server, Terminal, And Method Using Http
CN106209992A (en) * 2016-06-30 2016-12-07 上海斐讯数据通信技术有限公司 A kind of router supports method and the router of RSS subscription task download
CN112181440A (en) * 2020-09-25 2021-01-05 四川封面传媒有限责任公司 Method and device for deploying ios installation package in server and storage medium
CN112187921A (en) * 2020-09-28 2021-01-05 北京浪潮数据技术有限公司 Object file downloading method, device, system, server and storage medium

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104025543A (en) * 2011-11-09 2014-09-03 Sk电信有限公司 File Transfer System, Message Server, Terminal, And Method Using Http
CN106209992A (en) * 2016-06-30 2016-12-07 上海斐讯数据通信技术有限公司 A kind of router supports method and the router of RSS subscription task download
CN112181440A (en) * 2020-09-25 2021-01-05 四川封面传媒有限责任公司 Method and device for deploying ios installation package in server and storage medium
CN112187921A (en) * 2020-09-28 2021-01-05 北京浪潮数据技术有限公司 Object file downloading method, device, system, server and storage medium

Similar Documents

Publication Publication Date Title
CN108038212B (en) Data interaction method, device, system, equipment and storage medium
CN110851468A (en) Method and device for making simulation response to test request of client
CN110677432A (en) Network protocol internal proxy forwarding method, device, medium and terminal equipment
CN111683066A (en) Heterogeneous system integration method and device, computer equipment and storage medium
CN109753424B (en) AB test method and device
CN111651639B (en) Address space management method, device, equipment and medium
CN107368334B (en) Business plug-in interaction system and method
CN113342503B (en) Real-time progress feedback method, device, equipment and storage medium
CN112887451A (en) Domain name resolution method and device and computer equipment
CN110505289B (en) File downloading method and device, computer readable medium and wireless communication equipment
CN113612855A (en) File downloading method and device, computer equipment and storage medium
CN112948138A (en) Method and device for processing message
CN113141236A (en) Message processing method and device
CN114647688A (en) Service data sharing method and device and computer storage medium
CN112131263A (en) Software package obtaining method, system, device, electronic equipment and storage medium
CN112559472A (en) File transmission method and device, computer equipment and storage medium
CN110929500B (en) File comparison method and related device
CN109271310B (en) Development testing method and device for network function of mobile application program
CN110457074A (en) Configuration method, device, electronic equipment and the storage medium of calculate node
CN113765868B (en) Service processing method and device
CN110858240A (en) Front-end module loading method and device
CN111966641B (en) Universal log normalization model configuration method and device
CN110727391A (en) Transaction data storage method and device, block chain system, medium and electronic equipment
JP2013012225A (en) Name specification program, configuration management server and information processing system
CN113132480B (en) Data transmission method, device and system

Legal Events

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