File downloading method, device and system, computer equipment, readable storage medium and program product

By obtaining and processing the attribute information of bill files, generating metadata information, and accurately downloading it on the terminal, the problem of low accuracy in downloading massive bill files in traditional technology is solved, and higher download accuracy and financial data analysis are achieved. accuracy.

CN119402484AActive Publication Date: 2025-02-07CHINA CONSTRUCTION BANK +1
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202411491230.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-24
Publication Date
2025-02-07
Estimated Expiration
2044-10-24

AI Technical Summary

Technical Problem

When traditional technology downloads massive bill files, the processing steps are cumbersome and error-prone, resulting in low download accuracy.

Method used

By receiving the query information sent by the terminal, the first attribute information and the second attribute information of the ticket file to be downloaded are obtained, the storage path information of the terminal and the server are determined, the metadata information is generated, and the terminal sends it to the terminal, so that the terminal can use the following information: Metadata information is accurately downloaded.

Benefits of technology

It improves the accuracy of downloading massive bill files, reduces the possibility of wrong downloads, ensures the accuracy of downloaded bill files, and thus improves the accuracy of data analysis of financial enterprises.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119402484A_ABST
    Figure CN119402484A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers or financial science and technology, in particular to a file downloading method, device and system, computer equipment, a computer readable storage medium and a computer program product. The method comprises the following steps: receiving query information which is sent by a terminal and is associated with a to-be-downloaded bill file set; obtaining first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determining first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; determining metadata information of each to-be-downloaded bill file according to the first storage path information and second attribute information of the to-be-downloaded bill file; sending the metadata information of each bill file to be downloaded to the terminal; and the terminal sequentially downloads each bill file to be downloaded from the server according to the metadata information of each bill file to be downloaded. By adopting the method, the downloading accuracy of massive bill files can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computers, and in particular to a file downloading method, apparatus, system, computer equipment, computer-readable storage medium, and computer program product. Background Art

[0002] In the financial field, as the business of financial enterprises continues to expand and refine, the demand for processing various types of documents is increasing. In this context, downloading massive bill files (such as reimbursement bill files) can provide sufficient data basis for the budget planning and cost control of financial enterprises. Therefore, how to accurately download massive bill files is crucial to ensure the efficient operation of financial institutions.

[0003] In traditional technology, in the process of downloading massive bill files, the massive bill files are generally compressed first, then the compressed packages are sliced, and the slice positions are recorded to achieve breakpoint transmission; however, the processing steps involved in this method are relatively cumbersome, and it is easy to make mistakes in the process of processing massive bill files, resulting in low accuracy in downloading massive bill files. Summary of the invention

[0004] Based on this, it is necessary to provide a file downloading method, apparatus, system, computer device, computer-readable storage medium and computer program product that can improve the accuracy of downloading massive bill files in response to the above technical problems.

[0005] In a first aspect, the present application provides a file downloading method, comprising:

[0006] receiving query information associated with the set of invoice files to be downloaded sent by the terminal;

[0007] Acquire the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file;

[0008] Acquire the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server;

[0009] The metadata information of each to-be-downloaded ticket file is sent to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

[0010] In one embodiment, determining the first storage path information of each to-be-downloaded ticket file in the terminal according to the query information and the first attribute information includes:

[0011] Determine the root directory information of each to-be-downloaded bill file in the terminal according to the query information, and determine the subdirectory information of each to-be-downloaded bill file in the terminal according to the first attribute information of each to-be-downloaded bill file;

[0012] According to the root directory information and the sub-directory information of each to-be-downloaded ticket file, first storage path information of each to-be-downloaded ticket file in the terminal is determined.

[0013] In one embodiment, the obtaining the second attribute information of each of the to-be-downloaded ticket files includes:

[0014] Inputting each of the to-be-downloaded bill files into a preset summary information processing model for summary extraction processing to obtain summary information of each of the to-be-downloaded bill files;

[0015] Obtain the file number and file data volume of each ticket file to be downloaded, as well as the second storage path information of each ticket file to be downloaded in the server, and use the summary information, the file number, the file data volume and the second storage path information of each ticket file to be downloaded as the second attribute information of each ticket file to be downloaded.

[0016] In one embodiment, determining the metadata information of each to-be-downloaded ticket file according to the first storage path information and the second attribute information includes:

[0017] Determine a combination of the summary information, the file number, the file data volume, the first storage path information, and the second storage path information;

[0018] According to the combination method, the summary information, the file number, the file data volume, the first storage path information and the second storage path information of each ticket file to be downloaded are combined and processed to obtain the metadata information of each ticket file to be downloaded.

[0019] In one embodiment, the obtaining the first attribute information of each to-be-downloaded ticket file in the to-be-downloaded ticket file set includes:

[0020] Obtain the file name information of each bill file to be downloaded;

[0021] According to the file name information of each to-be-downloaded bill file, query the correspondence between the file name information and the file format information to obtain the file format information of each to-be-downloaded bill file;

[0022] Parsing each of the to-be-downloaded bill files to obtain file content information of each of the to-be-downloaded bill files;

[0023] The file format information and the file content information of each of the to-be-downloaded ticket files are both used as the first attribute information of each of the to-be-downloaded ticket files.

[0024] In one embodiment, before sending the metadata information of each to-be-downloaded ticket file to the terminal so that the terminal sequentially downloads each to-be-downloaded ticket file from the server according to the metadata information of each to-be-downloaded ticket file, the method further includes:

[0025] Encrypting the metadata information of each of the to-be-downloaded ticket files to obtain the encrypted metadata information of each of the to-be-downloaded ticket files;

[0026] The step of sending the metadata information of each to-be-downloaded ticket file to the terminal, so that the terminal sequentially downloads each to-be-downloaded ticket file from the server according to the metadata information of each to-be-downloaded ticket file, comprises:

[0027] Sending the encrypted metadata information of each to-be-downloaded ticket file to the terminal;

[0028] Among them, the terminal is used to decrypt the encrypted metadata information of each ticket file to be downloaded, obtain the metadata information of each ticket file to be downloaded, and according to the metadata information of each ticket file to be downloaded, download each ticket file to be downloaded in sequence from the storage location corresponding to the second storage path information of each ticket file to be downloaded in the server to the storage location corresponding to the first storage path information of each ticket file to be downloaded in the terminal.

[0029] In a second aspect, the present application also provides a file downloading device, comprising:

[0030] A query information sending module, used for receiving query information associated with a set of bill files to be downloaded sent by a terminal;

[0031] a path information determination module, used to obtain first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate file format information and file content information of the to-be-downloaded bill file;

[0032] A metadata information determination module, used to obtain the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server;

[0033] The invoice file download module is used to send the metadata information of each invoice file to be downloaded to the terminal, so that the terminal can download each invoice file to be downloaded from the server in turn according to the metadata information of each invoice file to be downloaded.

[0034] In a third aspect, the present application also provides a file downloading system. The system includes: a server and a terminal;

[0035] The terminal is used to send query information associated with the set of invoice files to be downloaded to the server;

[0036] The server is used to obtain the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; obtain the second attribute information of each to-be-downloaded bill file, and determine the metadata information of each to-be-downloaded bill file according to the first storage path information and the second attribute information; send the metadata information of each to-be-downloaded bill file to the terminal; wherein the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file; the second attribute information of each to-be-downloaded bill file at least includes the second storage path information of the to-be-downloaded bill file in the server;

[0037] The terminal is further used to download each of the to-be-downloaded ticket files from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

[0038] In a fourth aspect, the present application further provides a computer device, comprising a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the following steps are implemented:

[0039] receiving query information associated with the set of invoice files to be downloaded sent by the terminal;

[0040] Acquire the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file;

[0041] Acquire the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server;

[0042] The metadata information of each to-be-downloaded ticket file is sent to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

[0043] In a fifth aspect, the present application further provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the following steps are implemented:

[0044] receiving query information associated with the set of invoice files to be downloaded sent by the terminal;

[0045] Acquire the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file;

[0046] Acquire the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server;

[0047] The metadata information of each to-be-downloaded ticket file is sent to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

[0048] In a sixth aspect, the present application further provides a computer program product, including a computer program, which implements the following steps when executed by a processor:

[0049] receiving query information associated with the set of invoice files to be downloaded sent by the terminal;

[0050] Acquire the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file;

[0051] Acquire the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server;

[0052] The metadata information of each to-be-downloaded ticket file is sent to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

[0053] The above-mentioned file downloading method, apparatus, system, computer equipment, computer-readable storage medium and computer program product first receive query information associated with the set of bill files to be downloaded sent by the terminal, then obtain the file format information and file content information of each bill file to be downloaded in the set of bill files to be downloaded as the first attribute information of each bill file to be downloaded, and then determine the first storage path information of each bill file to be downloaded in the terminal according to the query information and the first attribute information; then, obtain the second storage path information of the bill file to be downloaded in the server end as the second attribute information of each bill file to be downloaded, and determine the metadata information of each bill file to be downloaded according to the first storage path information and the second attribute information, and finally, send the metadata information of each bill file to be downloaded to the terminal, so that the terminal downloads each bill file to be downloaded from the server end in turn according to the metadata information of each bill file to be downloaded.

[0054] The beneficial effects of the present application are as follows: for each bill file to be downloaded in the bill file set to be downloaded, the first storage path information is determined according to the query information and the first attribute information, and the second attribute information of the bill file to be downloaded is determined according to the second storage path information in the server, so that more accurate metadata information can be provided, so that the terminal can accurately download the bill file to be downloaded, and the accuracy of downloading a large number of bill files is further improved, that is, by comprehensively considering the query information, the first attribute information and the second attribute information, the accuracy of downloading a large number of bill files is improved. In addition, in the data analysis in the financial field, accurate downloading of bill files can ensure the accuracy of the downloaded bill files, thereby improving the accuracy of the data analysis results obtained based on the bill files, which is conducive to improving the accuracy of data analysis of financial enterprises. BRIEF DESCRIPTION OF THE DRAWINGS

[0055] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the drawings required for use in the embodiments of the present application or related technical descriptions will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other related drawings can be obtained based on these drawings without paying creative work.

[0056] Figure 1 An application environment diagram of a file downloading method in an embodiment;

[0057] Figure 2 A schematic diagram of a process flow of a file downloading method in one embodiment;

[0058] Figure 3 A flowchart of a step of determining first storage path information of each to-be-downloaded ticket file in a terminal in one embodiment;

[0059] Figure 4 A flowchart of the steps of obtaining the second attribute information of each ticket file to be downloaded in one embodiment;

[0060] Figure 5 A flowchart of the steps of determining metadata information of each ticket file to be downloaded in one embodiment;

[0061] Figure 6 A flowchart of the step of obtaining first attribute information of each to-be-downloaded ticket file in a to-be-downloaded ticket file set in one embodiment;

[0062] Figure 7 A schematic diagram of a flow chart of a file downloading method in another embodiment;

[0063] Figure 8A schematic diagram of a process for downloading a large number of files in one embodiment;

[0064] Fig. 9 A structural block diagram of a file downloading device in an embodiment;

[0065] Fig.10 is an internal structure diagram of a computer device in one embodiment;

[0066] Fig.11 FIG. 4 is a diagram showing the internal structure of a computer device in another embodiment. DETAILED DESCRIPTION

[0067] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0068] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with relevant regulations. The acquisition, transmission, storage, use, and processing of data in the technical solution of this application are in compliance with relevant provisions of national laws and regulations.

[0069] It should be noted that in the embodiments of the present application, certain software, components, models and other existing solutions in the industry may be mentioned, and they should be regarded as exemplary. Their purpose is only to illustrate the feasibility of implementing the technical solution of the present application, but it does not mean that the applicant has or will necessarily use the solution.

[0070] The file download method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the terminal 102 communicates with the server 104 through the network. The terminal 102 sends the query information associated with the set of bill files to be downloaded to the server 104; the server 104 obtains the first attribute information of each bill file to be downloaded in the set of bill files to be downloaded, and determines the first storage path information of each bill file to be downloaded in the terminal 102 according to the query information and the first attribute information; obtains the second attribute information of each bill file to be downloaded, and determines the metadata information of each bill file to be downloaded according to the first storage path information and the second attribute information; sends the metadata information of each bill file to be downloaded to the terminal 102; the terminal 102 downloads each bill file to be downloaded from the server 104 in turn according to the metadata information of each bill file to be downloaded. Among them, the terminal 102 refers to the terminal corresponding to the download processing of the bill file, which can be but not limited to various personal computers, laptops, smart phones and tablets. The server 104 refers to the server corresponding to the bill file to be downloaded, which can be an independent physical server, a server cluster or a distributed system composed of multiple physical servers, or a cloud server providing cloud computing services.

[0071] In an exemplary embodiment, Figure 2 As shown, a file download method is provided, which is applied to Figure 1 The server in the example is used as an example to illustrate the specific steps:

[0072] Step S201: receiving query information associated with a set of invoice files to be downloaded sent by a terminal.

[0073] The to-be-downloaded bill file set refers to a set of bill files to be downloaded.

[0074] The invoice file to be downloaded refers to the invoice file that needs to be downloaded.

[0075] The query information refers to descriptive information used to filter a specific set of invoice files to be downloaded, such as "the set of invoice files with project number 123".

[0076] Exemplarily, the server receives a connection request sent by the terminal, and verifies the identity information (such as user name, password, token) carried in the connection request according to a preset authentication mechanism to obtain a verification result; when the verification result meets the preset check result, the server establishes a network path with the terminal; then, the server receives the query information associated with the set of ticket files to be downloaded sent by the terminal through the network path.

[0077] Step S202, obtain the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to represent the file format information and file content information of the to-be-downloaded bill file.

[0078] The first attribute information of each to-be-downloaded ticket file is used to indicate the file format information and file content information of the to-be-downloaded ticket file.

[0079] The file format information is used to indicate the specific encoding and storage structure information of different types of files, such as txt, pdf, jpg, etc.

[0080] The file content information is used to indicate the description information corresponding to the content contained in the ticket file to be downloaded.

[0081] The first storage path information refers to the storage path information of each invoice file to be downloaded in the terminal.

[0082] Exemplarily, the server obtains the file format information and file content information of each to-be-downloaded bill file in the to-be-downloaded bill file set as the first attribute information of each to-be-downloaded bill file; then, the server obtains the correspondence between the pre-constructed query information, the first attribute information and the storage path information, and queries the correspondence based on the query information and the first attribute information to obtain the storage path information corresponding to the query information and the first attribute information as the first storage path information of each to-be-downloaded bill file in the terminal.

[0083] Step S203, obtain the second attribute information of each ticket file to be downloaded, and determine the metadata information of each ticket file to be downloaded based on the first storage path information and the second attribute information; the second attribute information of each ticket file to be downloaded includes at least the second storage path information of the ticket file to be downloaded in the server.

[0084] The second attribute information of each to-be-downloaded ticket file at least includes the second storage path information of the to-be-downloaded ticket file in the server.

[0085] Among them, the metadata information of each bill file to be downloaded is used to describe the properties and characteristics of each bill file to be downloaded, including the first storage path information of each bill file to be downloaded in the terminal and the second storage path information of the bill file to be downloaded in the server.

[0086] The second storage path information refers to the storage path information of the to-be-downloaded ticket file in the server.

[0087] Exemplarily, the server obtains the second storage path information of the ticket file to be downloaded in the server as the second attribute information of each ticket file to be downloaded; then, the server combines the first storage path information and the second attribute information to obtain the metadata information of each ticket file to be downloaded.

[0088] Step S204, sending the metadata information of each to-be-downloaded ticket file to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in turn according to the metadata information of each to-be-downloaded ticket file.

[0089] Exemplarily, the server sends the metadata information of each ticket file to be downloaded to the terminal through the network path between the server and the terminal; the terminal receives the metadata information of each ticket file to be downloaded sent by the server, and downloads each ticket file to be downloaded from the server in turn according to the metadata information of each ticket file to be downloaded.

[0090] In the above-mentioned file downloading method, query information associated with the set of bill files to be downloaded sent by the terminal is first received, and then the file format information and file content information of each bill file to be downloaded in the set of bill files to be downloaded are obtained as the first attribute information of each bill file to be downloaded. Next, the first storage path information of each bill file to be downloaded in the terminal is determined based on the query information and the first attribute information; then, the second storage path information of the bill file to be downloaded in the server is obtained as the second attribute information of each bill file to be downloaded, and the metadata information of each bill file to be downloaded is determined based on the first storage path information and the second attribute information. Finally, the metadata information of each bill file to be downloaded is sent to the terminal, so that the terminal downloads each bill file to be downloaded from the server in turn according to the metadata information of each bill file to be downloaded. The above method has the following beneficial effects: for each bill file to be downloaded in the bill file set to be downloaded, the first storage path information is determined according to the query information and the first attribute information, and the second attribute information of the bill file to be downloaded is determined according to the second storage path information in the server, so that more accurate metadata information can be provided, so that the terminal can accurately download the bill file to be downloaded, and the accuracy of downloading a large number of bill files is further improved, that is, by comprehensively considering the query information, the first attribute information and the second attribute information, the accuracy of downloading a large number of bill files is improved. In addition, in the data analysis in the financial field, accurate downloading of bill files can ensure the accuracy of the downloaded bill files, thereby improving the accuracy of the data analysis results obtained based on the bill files, which is conducive to improving the accuracy of data analysis of financial enterprises.

[0091] In an exemplary embodiment, Figure 3As shown, the above step S202, based on the query information and the first attribute information, determines the first storage path information of each to-be-downloaded bill file in the terminal, specifically includes the following steps:

[0092] Step S301, determining the root directory information of each to-be-downloaded bill file in the terminal according to the query information, and determining the subdirectory information of each to-be-downloaded bill file in the terminal according to the first attribute information of each to-be-downloaded bill file.

[0093] Step S302: determining first storage path information of each to-be-downloaded bill file in the terminal according to the root directory information and sub-directory information of each to-be-downloaded bill file.

[0094] The root directory information is used to indicate the top-level directory of each bill file to be downloaded in the terminal.

[0095] The sub-directory information is used to indicate the directory under the root directory information of each ticket file to be downloaded in the terminal.

[0096] Exemplarily, the server obtains the parameter information carried by the query information, and determines the root directory information of each bill file to be downloaded in the terminal based on the parameter information; then, the server determines the subdirectory information of each bill file to be downloaded in the terminal based on the file format information and file content information of each bill file to be downloaded; then, the server combines the root directory information and subdirectory information of each bill file to be downloaded according to a preset combination method between the root directory information and the subdirectory information, and obtains the combined directory information as the first storage path information of each bill file to be downloaded in the terminal.

[0097] For example, the server obtains the parameter information "purchase invoice" carried by the query information, and determines the root directory information "F:\purchase invoice" of each bill file to be downloaded in the terminal based on the parameter information; then, the server determines the sub-directory information "pdf\product development project" of each bill file to be downloaded in the terminal based on the file format information "pdf" and the file content information "product development project" of each bill file to be downloaded; then, the server combines the root directory information and sub-directory information of each bill file to be downloaded according to the preset combination method between the root directory information and the sub-directory information, and obtains the combined directory information "F:\purchase invoice\pdf\product development project" as the first storage path information of each bill file to be downloaded in the terminal.

[0098] In this embodiment, the root directory information is determined by query information, and the sub-directory information is determined by the first attribute information, so that each invoice file to be downloaded has a specific and accurate storage location, which facilitates more accurate locating of the file during subsequent file downloads and reduces the possibility of erroneous downloading of other files.

[0099] In an exemplary embodiment, Figure 4 As shown, the above step S203, obtaining the second attribute information of each bill file to be downloaded, specifically includes the following steps:

[0100] Step S401: Input each invoice file to be downloaded into a preset summary information processing model for summary extraction processing to obtain summary information of each invoice file to be downloaded.

[0101] Step S402, obtain the file number and file data volume of each ticket file to be downloaded, as well as the second storage path information of each ticket file to be downloaded in the server, and use the summary information, file number, file data volume and second storage path information of each ticket file to be downloaded as the second attribute information of each ticket file to be downloaded.

[0102] The summary information processing model refers to a network model that can use each ticket file to be downloaded to obtain summary information corresponding to each ticket file to be downloaded, such as an MD5 (Message Digest Algorithm 5) model.

[0103] The summary extraction process refers to a process of obtaining summary information corresponding to each bill file to be downloaded according to each bill file to be downloaded.

[0104] The summary information refers to the MD5 value.

[0105] The file number refers to a unique identifier for distinguishing the invoice file to be downloaded.

[0106] The file data volume is used to indicate the data volume of the ticket file to be downloaded.

[0107] Exemplarily, the server preprocesses each bill file to be downloaded to obtain a preprocessed file corresponding to each bill file to be downloaded; then, the server inputs the preprocessed file corresponding to each bill file to be downloaded into a preset summary information processing model for summary extraction processing, and obtains the summary information of the preprocessed file corresponding to each bill file to be downloaded as the summary information of each bill file to be downloaded; then, the server obtains the file number and file data volume of each bill file to be downloaded, as well as the second storage path information of each bill file to be downloaded in the server; then, the server uses the summary information, file number, file data volume and second storage path information of each bill file to be downloaded as the second attribute information of each bill file to be downloaded.

[0108] In this embodiment, the summary information, file number, file data volume and second storage path information of each ticket file to be downloaded are used as the second attribute information of each ticket file to be downloaded. The entire process is combined with the download process, so that the downloaded files can be better recorded and tracked, which facilitates subsequent processing.

[0109] In an exemplary embodiment, Figure 5 As shown, the above step S203, determining the metadata information of each ticket file to be downloaded according to the first storage path information and the second attribute information, specifically includes the following steps:

[0110] Step S501, determining a combination of summary information, file number, file data volume, first storage path information and second storage path information.

[0111] Step S502: Combine the summary information, file number, file data volume, first storage path information and second storage path information of each to-be-downloaded ticket file in a combined manner to obtain metadata information of each to-be-downloaded ticket file.

[0112] The combination method is used to represent the combination form between the summary information, the file number, the file data volume, the first storage path information and the second storage path information, such as a table combination method and a text combination method.

[0113] Exemplarily, the server queries the correspondence between the data type and the combination method based on the data type of the summary information, file number, file data volume, first storage path information and second storage path information, and obtains the combination method between the summary information, file number, file data volume, first storage path information and second storage path information; then, the server combines the summary information, file number, file data volume, first storage path information and second storage path information of each ticket file to be downloaded according to the combination method, and obtains the metadata information of each ticket file to be downloaded.

[0114] In this embodiment, the summary information, file number, file data volume, first storage path information and second storage path information of each ticket file to be downloaded are combined and processed in a suitable combination manner, so as to obtain more accurate metadata information, which is beneficial to improving the accuracy of determining the metadata information of each ticket file to be downloaded.

[0115] In an exemplary embodiment, Figure 6 As shown, the above step S202, obtaining the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, specifically includes the following steps:

[0116] Step S601, obtaining the file name information of each invoice file to be downloaded.

[0117] Step S602: According to the file name information of each invoice file to be downloaded, the corresponding relationship between the file name information and the file format information is queried to obtain the file format information of each invoice file to be downloaded.

[0118] Step S603: parse each invoice file to be downloaded to obtain the file content information of each invoice file to be downloaded.

[0119] Step S604: The file format information and the file content information of each to-be-downloaded ticket file are used as the first attribute information of each to-be-downloaded ticket file.

[0120] The file name information is used to indicate the name description of each ticket file to be downloaded.

[0121] The corresponding relationship between the file name information and the file format information is used to indicate the association information between the file name information and the file format information. For example, the file format information corresponding to the file name information "a.txt" is txt.

[0122] The parsing process refers to a process of obtaining the file content information of each invoice file to be downloaded according to each invoice file to be downloaded.

[0123] Exemplarily, the server obtains the file name information of each ticket file to be downloaded; then, the server queries the correspondence between the file name information and the file format information based on the file name information of each ticket file to be downloaded, and obtains the file format information corresponding to the file name information of each ticket file to be downloaded as the file format information of each ticket file to be downloaded; then, the server determines the parsing method of each ticket file to be downloaded based on the file format information of each ticket file to be downloaded, and parses each ticket file to be downloaded based on the parsing method of each ticket file to be downloaded to obtain the file content information of each ticket file to be downloaded; then, the server uses the file format information and file content information of each ticket file to be downloaded as the first attribute information of each ticket file to be downloaded.

[0124] In this embodiment, by performing a series of processing on each invoice file to be downloaded, accurate file format information and file content information can be obtained, and then more accurate first attribute information can be obtained, which is beneficial to improving the accuracy of determining the first attribute information of each invoice file to be downloaded.

[0125] In an exemplary embodiment, the above step S204, before sending the metadata information of each ticket file to be downloaded to the terminal so that the terminal downloads each ticket file to be downloaded from the server in turn according to the metadata information of each ticket file to be downloaded, specifically includes the following contents: encrypting the metadata information of each ticket file to be downloaded to obtain encrypted metadata information of each ticket file to be downloaded.

[0126] Then, the metadata information of each ticket file to be downloaded is sent to the terminal, so that the terminal downloads each ticket file to be downloaded from the server in turn according to the metadata information of each ticket file to be downloaded, which specifically includes the following contents: the encrypted metadata information of each ticket file to be downloaded is sent to the terminal; wherein the terminal is used to decrypt the encrypted metadata information of each ticket file to be downloaded to obtain the metadata information of each ticket file to be downloaded, and according to the metadata information of each ticket file to be downloaded, each ticket file to be downloaded is downloaded in turn from the storage position corresponding to the second storage path information of each ticket file to be downloaded in the server to the storage position corresponding to the first storage path information of each ticket file to be downloaded in the terminal.

[0127] The encryption processing refers to a process of obtaining the encrypted metadata information of each ticket file to be downloaded according to the metadata information of each ticket file to be downloaded.

[0128] The encrypted metadata information refers to the metadata information after encryption.

[0129] The decryption process refers to a process of obtaining the metadata information of each to-be-downloaded ticket file according to the encrypted metadata information of each to-be-downloaded ticket file.

[0130] Exemplarily, the server determines the encryption algorithm corresponding to the metadata information of each ticket file to be downloaded, and encrypts the metadata information of each ticket file to be downloaded according to the encryption algorithm to obtain the encrypted metadata information of each ticket file to be downloaded; then, the server sends the encrypted metadata information of each ticket file to be downloaded to the terminal; the terminal receives the encrypted metadata information of each ticket file to be downloaded sent by the server, and decrypts the encrypted metadata information of each ticket file to be downloaded to obtain the metadata information of each ticket file to be downloaded; then, the terminal extracts the first storage path and the second storage path information of each ticket file to be downloaded according to the metadata information of each ticket file to be downloaded, and according to the first storage path and the second storage path information of each ticket file to be downloaded, downloads each ticket file to be downloaded from the storage position corresponding to the second storage path information of each ticket file to be downloaded in the server to the storage position corresponding to the first storage path information of each ticket file to be downloaded in the terminal in turn.

[0131] In this embodiment, by encrypting the metadata information of each bill file to be downloaded, it is possible to ensure that the metadata information of each bill file to be downloaded is not tampered with, which is beneficial to improving the security and integrity of the metadata information of each bill file to be downloaded and ensuring the stability of the download process of each bill file to be downloaded.

[0132] In one embodiment, Figure 7 As shown, another file download method is provided, which is applied to Figure 1 The server in the example is used as an example to illustrate, including the following steps:

[0133] Step S701: receiving query information associated with a set of invoice files to be downloaded sent by a terminal.

[0134] Step S702, obtaining the file name information of each invoice file to be downloaded; querying the correspondence between the file name information and the file format information according to the file name information of each invoice file to be downloaded, and obtaining the file format information of each invoice file to be downloaded.

[0135] Step S703: parse each invoice file to be downloaded to obtain file content information of each invoice file to be downloaded.

[0136] Step S704: The file format information and file content information of each to-be-downloaded ticket file are used as the first attribute information of each to-be-downloaded ticket file.

[0137] Step S705: determining the root directory information of each to-be-downloaded bill file in the terminal according to the query information, and determining the subdirectory information of each to-be-downloaded bill file in the terminal according to the first attribute information of each to-be-downloaded bill file.

[0138] Step S706: Determine the first storage path information of each to-be-downloaded bill file in the terminal according to the root directory information and sub-directory information of each to-be-downloaded bill file.

[0139] Step S707: input each invoice file to be downloaded into a preset summary information processing model for summary extraction processing to obtain summary information of each invoice file to be downloaded.

[0140] Step S708, obtaining the file number and file data volume of each to-be-downloaded ticket file, and the second storage path information of each to-be-downloaded ticket file in the server.

[0141] Step S709: The summary information, file number, file data volume and second storage path information of each to-be-downloaded ticket file are used as the second attribute information of each to-be-downloaded ticket file.

[0142] Step S710, determining a combination of summary information, file number, file data volume, first storage path information and second storage path information.

[0143] Step S711, combining the summary information, file number, file data volume, first storage path information and second storage path information of each to-be-downloaded ticket file in a combined manner to obtain metadata information of each to-be-downloaded ticket file.

[0144] Step S712, sending the metadata information of each to-be-downloaded ticket file to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in turn according to the metadata information of each to-be-downloaded ticket file.

[0145] The above-mentioned file downloading method can achieve the following beneficial effects: for each bill file to be downloaded in the bill file set to be downloaded, the first storage path information is determined according to the query information and the first attribute information, and the second attribute information of the bill file to be downloaded is determined according to the second storage path information in the server, so that more accurate metadata information can be provided, so that the terminal can accurately download the bill file to be downloaded, and the accuracy of downloading a large number of bill files is further improved, that is, by comprehensively considering the query information, the first attribute information and the second attribute information, the accuracy of downloading a large number of bill files is improved. In addition, in the data analysis in the financial field, accurate downloading of bill files can ensure the accuracy of the downloaded bill files, thereby improving the accuracy of the data analysis results obtained based on the bill files, which is conducive to improving the accuracy of data analysis of financial enterprises.

[0146] In order to more clearly illustrate the file downloading method provided by the embodiment of the present disclosure, the above-mentioned file downloading method is specifically described below with a specific embodiment. Figure 8 As shown, the present application also provides a method for downloading a large number of files, which can be applied to Figure 1 The server in the , specifically includes the following contents:

[0147] 1. The server generates full file metadata information based on a single file and returns it to the client.

[0148] 2. The client takes a single file as an atom and obtains individual files from the server one by one.

[0149] 3. In order to avoid affecting normal business, the client only obtains one atomic file at a time.

[0150] 4. Even if the client files have not been fully implemented, you can still see the implemented data and check it in advance.

[0151] 5. Which file on the client failed to be obtained? Incrementally obtain the failed files.

[0152] The full file metadata information includes the file path of the client server, the unique identifier of the file, the file name, the file size, and MD5, which is generated based on the basic information of a single file saved by the server.

[0153] The root directory where the client files are located is the parameter given by the client when initiating a query, and the location path of each file is a subdirectory generated by the server based on information such as the file format and file content.

[0154] A single file is regarded as an atom, which means that the transmission of a single file is regarded as a transaction. The transaction is successful only when the transmission of a single file is successful.

[0155] Among them, landing means that the file transfer and storage are completed.

[0156] The files are transferred one by one, and the files that have been transferred can be opened without waiting for other files.

[0157] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0158] In this embodiment, the following beneficial effects can be achieved: for each bill file to be downloaded in the bill file set to be downloaded, the first storage path information is determined according to the query information and the first attribute information, and the second attribute information of the bill file to be downloaded is determined according to the second storage path information in the server, so that more accurate metadata information can be provided, so that the terminal can accurately download the bill file to be downloaded, and the accuracy of the download of massive bill files is further improved, that is, by comprehensively considering the query information, the first attribute information and the second attribute information, the accuracy of the download of massive bill files is improved. In addition, in the data analysis in the financial field, the accurate download of the bill file can ensure the accuracy of the downloaded bill file, thereby improving the accuracy of the data analysis results obtained based on the bill file, and thus helping to improve the accuracy of data analysis of financial enterprises. At the same time, even if the client files are not all landed, the landed data can be seen, which can be consulted and used in advance; which file of the client is not successful, and the unsuccessful files are incrementally obtained; it does not affect the normal business of the outlets; for a download volume of more than 100,000 at a time, when the download size reaches the T level, this method has a higher success rate.

[0159] Based on the same inventive concept, the embodiment of the present application also provides a file download device for implementing the file download method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more file download device embodiments provided below can refer to the limitations on the file download method above, and will not be repeated here.

[0160] In an exemplary embodiment, Fig. 9As shown, a file downloading device is provided, including: a query information sending module 901, a path information determining module 902, a metadata information determining module 903 and a ticket file downloading module 904, wherein:

[0161] The query information sending module 901 is used to receive query information associated with the set of bill files to be downloaded sent by the terminal.

[0162] The path information determination module 902 is used to obtain the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to represent the file format information and file content information of the to-be-downloaded bill file.

[0163] The metadata information determination module 903 is used to obtain the second attribute information of each ticket file to be downloaded, and determine the metadata information of each ticket file to be downloaded based on the first storage path information and the second attribute information; the second attribute information of each ticket file to be downloaded includes at least the second storage path information of the ticket file to be downloaded in the server.

[0164] The ticket file download module 904 is used to send the metadata information of each ticket file to be downloaded to the terminal, so that the terminal can download each ticket file to be downloaded from the server in turn according to the metadata information of each ticket file to be downloaded.

[0165] In an exemplary embodiment, the path information determination module 902 is also used to determine the root directory information of each bill file to be downloaded in the terminal based on the query information, and to determine the subdirectory information of each bill file to be downloaded in the terminal based on the first attribute information of each bill file to be downloaded; and to determine the first storage path information of each bill file to be downloaded in the terminal based on the root directory information and subdirectory information of each bill file to be downloaded.

[0166] In an exemplary embodiment, the metadata information determination module 903 is also used to input each ticket file to be downloaded into a preset summary information processing model for summary extraction processing to obtain summary information of each ticket file to be downloaded; obtain the file number and file data volume of each ticket file to be downloaded, and the second storage path information of each ticket file to be downloaded in the server, and use the summary information, file number, file data volume and second storage path information of each ticket file to be downloaded as the second attribute information of each ticket file to be downloaded.

[0167] In an exemplary embodiment, the metadata information determination module 903 is also used to determine the combination of summary information, file number, file data volume, first storage path information and second storage path information; according to the combination, the summary information, file number, file data volume, first storage path information and second storage path information of each ticket file to be downloaded are combined and processed to obtain the metadata information of each ticket file to be downloaded.

[0168] In an exemplary embodiment, the path information determination module 902 is also used to obtain the file name information of each ticket file to be downloaded; based on the file name information of each ticket file to be downloaded, the correspondence between the file name information and the file format information is queried to obtain the file format information of each ticket file to be downloaded; each ticket file to be downloaded is parsed to obtain the file content information of each ticket file to be downloaded; the file format information and file content information of each ticket file to be downloaded are used as the first attribute information of each ticket file to be downloaded.

[0169] In an exemplary embodiment, the file downloading device also includes a metadata information encryption module, which is used to encrypt the metadata information of each ticket file to be downloaded to obtain the encrypted metadata information of each ticket file to be downloaded; the file downloading device also includes a metadata information sending module, which is used to send the encrypted metadata information of each ticket file to be downloaded to the terminal; wherein the terminal is used to decrypt the encrypted metadata information of each ticket file to be downloaded to obtain the metadata information of each ticket file to be downloaded, and according to the metadata information of each ticket file to be downloaded, each ticket file to be downloaded is downloaded from the storage location corresponding to the second storage path information of each ticket file to be downloaded in the server to the storage location corresponding to the first storage path information of each ticket file to be downloaded in the terminal in sequence.

[0170] Each module in the above-mentioned file downloading device can be implemented in whole or in part by software, hardware or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module above.

[0171] In an exemplary embodiment, referring to Figure 1 , provides a file downloading system, the system includes a server 104 and a terminal 102;

[0172] The terminal 102 is used to send query information associated with the set of invoice files to be downloaded to the server 104;

[0173] The server 104 is used to obtain the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal 102 according to the query information and the first attribute information; obtain the second attribute information of each to-be-downloaded bill file, and determine the metadata information of each to-be-downloaded bill file according to the first storage path information and the second attribute information; send the metadata information of each to-be-downloaded bill file to the terminal 102; wherein the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file; the second attribute information of each to-be-downloaded bill file at least includes the second storage path information of the to-be-downloaded bill file in the server 104;

[0174] The terminal 102 is further configured to download each of the to-be-downloaded ticket files from the server 104 in sequence according to the metadata information of each to-be-downloaded ticket file.

[0175] The above-mentioned file download system can achieve the following beneficial effects: for each bill file to be downloaded in the bill file set to be downloaded, the first storage path information is determined according to the query information and the first attribute information, and the second attribute information of the bill file to be downloaded is determined according to the second storage path information in the server, so that more accurate metadata information can be provided, so that the terminal can accurately download the bill file to be downloaded, and the accuracy of downloading massive bill files is further improved, that is, by comprehensively considering the query information, the first attribute information and the second attribute information, the accuracy of downloading massive bill files is improved. In addition, in the data analysis in the financial field, accurate downloading of bill files can ensure the accuracy of the downloaded bill files, thereby improving the accuracy of the data analysis results obtained based on the bill files, which is conducive to improving the accuracy of data analysis of financial enterprises.

[0176] In an exemplary embodiment, a computer device is provided. The computer device may be a server, and its internal structure diagram may be as shown in FIG. Fig.10As shown. The computer device includes a processor, a memory, an input / output interface (Input / Output, referred to as I / O) and a communication interface. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface is connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program and a database. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The database of the computer device is used to store data such as first attribute information and second attribute information. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal through a network connection. When the computer program is executed by the processor, a file download method is implemented.

[0177] In an exemplary embodiment, a computer device is provided. The computer device may be a terminal, and its internal structure diagram may be as shown in FIG. Fig.11 As shown. The computer device includes a processor, a memory, an input / output interface, a communication interface, a display unit and an input device. The processor, the memory and the input / output interface are connected through a system bus, and the communication interface, the display unit and the input device are connected to the system bus through the input / output interface. The processor of the computer device is used to provide computing and control capabilities. The memory of the computer device includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the computer device is used to exchange information between the processor and an external device. The communication interface of the computer device is used to communicate with an external terminal in a wired or wireless manner, and the wireless manner can be implemented through WIFI, a mobile cellular network, near field communication (NFC) or other technologies. When the computer program is executed by the processor, a file download method is implemented.

[0178] Those skilled in the art will understand that Fig.10 and Fig.11 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0179] In one embodiment, a computer device is further provided, including a memory and a processor, wherein a computer program is stored in the memory, and the processor implements the steps in the above method embodiments when executing the computer program.

[0180] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments are implemented.

[0181] In one embodiment, a computer program product is provided, including a computer program, which implements the steps in the above method embodiments when executed by a processor.

[0182] A person of ordinary skill in the art can understand that all or part of the processes in the above-mentioned embodiment method can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile memory and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetic random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, an artificial intelligence (AI) processor, etc., but are not limited to this.

[0183] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this application.

[0184] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A file downloading method, characterized in that: Applied to the server, the method includes: receiving query information associated with the set of invoice files to be downloaded sent by the terminal; Acquire the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file; Acquire the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server; The metadata information of each to-be-downloaded ticket file is sent to the terminal, so that the terminal downloads each to-be-downloaded ticket file from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

2. The method according to claim 1, characterized in that The determining, based on the query information and the first attribute information, first storage path information of each to-be-downloaded ticket file in the terminal, includes: Determine the root directory information of each to-be-downloaded bill file in the terminal according to the query information, and determine the subdirectory information of each to-be-downloaded bill file in the terminal according to the first attribute information of each to-be-downloaded bill file; According to the root directory information and the sub-directory information of each to-be-downloaded ticket file, first storage path information of each to-be-downloaded ticket file in the terminal is determined.

3. The method according to claim 1, characterized in that The obtaining the second attribute information of each of the to-be-downloaded ticket files includes: Inputting each of the to-be-downloaded bill files into a preset summary information processing model for summary extraction processing to obtain summary information of each of the to-be-downloaded bill files; Obtain the file number and file data volume of each ticket file to be downloaded, as well as the second storage path information of each ticket file to be downloaded in the server, and use the summary information, the file number, the file data volume and the second storage path information of each ticket file to be downloaded as the second attribute information of each ticket file to be downloaded.

4. The method according to claim 3, characterized in that The step of determining the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information includes: Determine a combination of the summary information, the file number, the file data volume, the first storage path information, and the second storage path information; According to the combination method, the summary information, the file number, the file data volume, the first storage path information and the second storage path information of each ticket file to be downloaded are combined and processed to obtain the metadata information of each ticket file to be downloaded.

5. The method according to claim 1, characterized in that The obtaining of the first attribute information of each to-be-downloaded ticket file in the to-be-downloaded ticket file set includes: Obtain the file name information of each bill file to be downloaded; According to the file name information of each to-be-downloaded bill file, query the correspondence between the file name information and the file format information to obtain the file format information of each to-be-downloaded bill file; Parsing each of the to-be-downloaded bill files to obtain file content information of each of the to-be-downloaded bill files; The file format information and the file content information of each of the to-be-downloaded ticket files are both used as the first attribute information of each of the to-be-downloaded ticket files.

6. The method according to any one of claims 1 to 5, characterized in that Before sending the metadata information of each to-be-downloaded ticket file to the terminal so that the terminal sequentially downloads each to-be-downloaded ticket file from the server according to the metadata information of each to-be-downloaded ticket file, the method further includes: Encrypting the metadata information of each of the to-be-downloaded ticket files to obtain the encrypted metadata information of each of the to-be-downloaded ticket files; The step of sending the metadata information of each to-be-downloaded ticket file to the terminal, so that the terminal sequentially downloads each to-be-downloaded ticket file from the server according to the metadata information of each to-be-downloaded ticket file, comprises: Sending the encrypted metadata information of each to-be-downloaded ticket file to the terminal; Among them, the terminal is used to decrypt the encrypted metadata information of each ticket file to be downloaded, obtain the metadata information of each ticket file to be downloaded, and according to the metadata information of each ticket file to be downloaded, download each ticket file to be downloaded in sequence from the storage location corresponding to the second storage path information of each ticket file to be downloaded in the server to the storage location corresponding to the first storage path information of each ticket file to be downloaded in the terminal.

7. A file downloading device, characterized in that: Applied to the server, the device comprises: A query information sending module, used for receiving query information associated with a set of bill files to be downloaded sent by a terminal; a path information determination module, used to obtain first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; the first attribute information of each to-be-downloaded bill file is used to indicate file format information and file content information of the to-be-downloaded bill file; A metadata information determination module, used to obtain the second attribute information of each of the to-be-downloaded ticket files, and determine the metadata information of each of the to-be-downloaded ticket files according to the first storage path information and the second attribute information; the second attribute information of each of the to-be-downloaded ticket files at least includes the second storage path information of the to-be-downloaded ticket files in the server; The invoice file download module is used to send the metadata information of each invoice file to be downloaded to the terminal, so that the terminal can download each invoice file to be downloaded from the server in turn according to the metadata information of each invoice file to be downloaded.

8. The device according to claim 7, characterized in that The path information determination module is further used to determine the root directory information of each to-be-downloaded bill file in the terminal according to the query information, and to determine the subdirectory information of each to-be-downloaded bill file in the terminal according to the first attribute information of each to-be-downloaded bill file; According to the root directory information and the sub-directory information of each to-be-downloaded ticket file, first storage path information of each to-be-downloaded ticket file in the terminal is determined.

9. The device according to claim 7, characterized in that The metadata information determination module is also used to input each of the to-be-downloaded bill files into a preset summary information processing model for summary extraction processing to obtain summary information of each of the to-be-downloaded bill files; obtain the file number and file data volume of each to-be-downloaded bill file, and the second storage path information of each to-be-downloaded bill file in the server, and use the summary information, file number, file data volume and the second storage path information of each to-be-downloaded bill file as the second attribute information of each to-be-downloaded bill file.

10. The device according to claim 9, characterized in that The metadata information determination module is also used to determine the combination of the summary information, the file number, the file data volume, the first storage path information and the second storage path information; according to the combination method, the summary information, the file number, the file data volume, the first storage path information and the second storage path information of each ticket file to be downloaded are combined and processed to obtain the metadata information of each ticket file to be downloaded.

11. The device according to claim 7, characterized in that The path information determination module is also used to obtain the file name information of each ticket file to be downloaded; based on the file name information of each ticket file to be downloaded, query the correspondence between the file name information and the file format information to obtain the file format information of each ticket file to be downloaded; parse and process each ticket file to be downloaded to obtain the file content information of each ticket file to be downloaded; and use the file format information and the file content information of each ticket file to be downloaded as the first attribute information of each ticket file to be downloaded.

12. The device according to any one of claims 7 to 11, characterized in that The file downloading device further comprises a metadata information encryption module, which is used to encrypt the metadata information of each of the to-be-downloaded bill files to obtain the encrypted metadata information of each of the to-be-downloaded bill files; The file downloading device also includes a metadata information sending module, which is used to send the encrypted metadata information of each ticket file to be downloaded to the terminal; wherein the terminal is used to decrypt the encrypted metadata information of each ticket file to be downloaded, obtain the metadata information of each ticket file to be downloaded, and according to the metadata information of each ticket file to be downloaded, download each ticket file to be downloaded in sequence from the storage location corresponding to the second storage path information of each ticket file to be downloaded in the server to the storage location corresponding to the first storage path information of each ticket file to be downloaded in the terminal.

13. A file downloading system, characterized in that: The system comprises: a server and a terminal; The terminal is used to send query information associated with the set of invoice files to be downloaded to the server; The server is used to obtain the first attribute information of each to-be-downloaded bill file in the to-be-downloaded bill file set, and determine the first storage path information of each to-be-downloaded bill file in the terminal according to the query information and the first attribute information; obtain the second attribute information of each to-be-downloaded bill file, and determine the metadata information of each to-be-downloaded bill file according to the first storage path information and the second attribute information; send the metadata information of each to-be-downloaded bill file to the terminal; wherein the first attribute information of each to-be-downloaded bill file is used to indicate the file format information and file content information of the to-be-downloaded bill file; the second attribute information of each to-be-downloaded bill file at least includes the second storage path information of the to-be-downloaded bill file in the server; The terminal is further used to download each of the to-be-downloaded ticket files from the server in sequence according to the metadata information of each to-be-downloaded ticket file.

14. A computer device comprising a memory and a processor, wherein the memory stores a computer program, wherein: When the processor executes the computer program, the steps of the method according to any one of claims 1 to 6 are implemented.

15. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 6 are implemented.

Citation Information

Patent Citations

  • File storage and downloading method and device and storage medium

    CN109634916A

  • File downloading method, server, client and storage medium

    CN112231603A

  • File downloading method and device, computer equipment and computer readable storage medium

    CN114745368A

  • File downloading method and device, computer equipment and storage medium

    CN115344534A

  • Managing downloads of large data sets

    US20150249694A1