CN113037790A - File processing method and device and storage medium - Google Patents

File processing method and device and storage medium Download PDF

Info

Publication number
CN113037790A
CN113037790A CN201911255191.5A CN201911255191A CN113037790A CN 113037790 A CN113037790 A CN 113037790A CN 201911255191 A CN201911255191 A CN 201911255191A CN 113037790 A CN113037790 A CN 113037790A
Authority
CN
China
Prior art keywords
file
server
user
files
association
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.)
Granted
Application number
CN201911255191.5A
Other languages
Chinese (zh)
Other versions
CN113037790B (en
Inventor
王福
韦高鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Zhongguancun Kejin Technology Co Ltd
Original Assignee
Huihai Automotive Technology Tianjin 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 Huihai Automotive Technology Tianjin Co ltd filed Critical Huihai Automotive Technology Tianjin Co ltd
Priority to CN201911255191.5A priority Critical patent/CN113037790B/en
Publication of CN113037790A publication Critical patent/CN113037790A/en
Application granted granted Critical
Publication of CN113037790B publication Critical patent/CN113037790B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]

Abstract

The application discloses a file processing method, a file processing device and a storage medium, which are applied to a file processing system, wherein the file processing system comprises a first server used for interacting with a user and a second server used for storing files, and the method comprises the following steps: the first server responds to an information file viewing request containing an association number sent by a first user, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user. The uploaded files are uniformly managed through the embodiment, so that the working efficiency of checking or downloading the files by a user is improved.

Description

File processing method and device and storage medium
Technical Field
The present application relates to the internet field, and in particular, to a file processing method, apparatus, and storage medium.
Background
With the rapid development of the internet industry, more and more software programs are applied to various industries, and the business process in the software programs becomes more complex along with the use requirements of users. An ftp server or a fastdfs server is used in the existing software program to upload files, each uploaded file is stored independently, so that the files cannot be managed in a unified mode, and great inconvenience is brought to business personnel when the files are checked or downloaded.
Embodiments of the present disclosure provide a file processing method, device, and storage medium, so that uploaded files are uniformly managed, thereby improving the work efficiency of a user in checking or downloading files.
Disclosure of Invention
Embodiments of the present disclosure provide a file processing method, device, and storage medium, so that uploaded files are uniformly managed, thereby improving the work efficiency of a user in checking or downloading files.
To solve the above technical problem, the embodiment of the present invention is implemented as follows:
in a first aspect, an embodiment of the present disclosure provides a file processing method applied to a file processing system, where the file processing system includes a first server for interacting with a user and a second server for storing a file, and the method includes:
the first server responds to an information file viewing request containing the association number sent by a first user;
the first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request;
and the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user.
In a second aspect, the disclosed embodiments also provide a storage medium, which includes a stored program, wherein the file processing method according to the first aspect is executed by a processor when the program runs.
In a third aspect, there is further provided a file processing apparatus applied to a file processing system including a first server for interacting with a user and a second server for storing a file according to an embodiment of the present disclosure, including:
the file viewing response module is used for responding to an information file viewing request containing the association number sent by a first user by the first server;
the file information acquisition module is used for acquiring the storage address information of all files corresponding to the association numbers from the second server by the first server according to the file viewing request;
and the file splicing acquisition module is used for the first server to perform file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and return the files or file thumbnails corresponding to the association numbers to the first user.
In a fourth aspect, an embodiment of the present disclosure further provides a file processing apparatus applied to a file processing system, where the file processing system includes a first server for interacting with a user and a second server for storing a file, and the file processing apparatus includes:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps:
the first server responds to an information file viewing request containing the association number sent by a first user;
the first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request;
and the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user.
The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server and a second server, the first server is used for interacting with a user, the second server is used for storing files, the first server responds to an information file viewing request which contains an association number and is sent by the first user, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user. According to the method and the device, the files are stored in the second server, the first server is used for obtaining the storage address information of all the files corresponding to the association numbers from the second server according to the information file viewing request containing the association numbers, and the first server returns all the files or the file thumbnails corresponding to the association numbers to the user according to the storage address information of all the files, so that the uploaded files are uniformly managed, and the working efficiency of the user in viewing or downloading the files is improved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the disclosure and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the disclosure and together with the description serve to explain the disclosure and not to limit the disclosure. In the drawings:
fig. 1 is a block diagram of a hardware structure of a computing device for implementing a file processing method according to an embodiment of the present disclosure;
fig. 2 is a schematic flowchart of a file processing method according to an embodiment of the disclosure;
FIG. 3 is a schematic flow chart diagram illustrating a document processing method according to another embodiment of the disclosure;
fig. 4 is a schematic view illustrating a processed document according to an embodiment of the disclosure;
FIG. 5 is a schematic diagram of a document processing apparatus according to an embodiment of the disclosure;
fig. 6 is a schematic diagram of a document processing apparatus according to another embodiment of the disclosure.
Detailed Description
In order to make those skilled in the art better understand the technical solutions of the present disclosure, the technical solutions in the embodiments of the present disclosure will be clearly and completely described below with reference to the drawings in the embodiments of the present disclosure. It is to be understood that the described embodiments are merely exemplary of some, and not all, of the present disclosure. All other embodiments, which can be derived by a person skilled in the art from the embodiments disclosed herein without making any creative effort, shall fall within the protection scope of the present disclosure.
It should be noted that the terms "first," "second," and the like in the description and claims of the present disclosure and in the above-described drawings are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the disclosure described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to the present embodiment, there is also provided an embodiment of a file processing method, it should be noted that the steps shown in the flowchart of the figure may be performed in a computer system such as a set of computer executable instructions, and that while a logical order is shown in the flowchart, in some cases the steps shown or described may be performed in an order different than here.
The method embodiments provided by the present embodiment may be executed in a mobile terminal, a computer terminal, a server or a similar computing device. Fig. 1 shows a hardware configuration block diagram of a computing device for implementing a file processing method. As shown in fig. 1, the computing device may include one or more processors (which may include, but are not limited to, a processing device such as a microprocessor MCU or a programmable logic device FPGA), a memory for storing data, and a transmission device for communication functions. Besides, the method can also comprise the following steps: a display, an input/output interface (I/O interface), a Universal Serial Bus (USB) port (which may be included as one of the ports of the I/O interface), a network interface, a power source, and/or a camera. It will be understood by those skilled in the art that the structure shown in fig. 1 is only an illustration and is not intended to limit the structure of the electronic device. For example, the computing device may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
It should be noted that the one or more processors and/or other data processing circuitry described above may be referred to generally herein as "data processing circuitry". The data processing circuitry may be embodied in whole or in part in software, hardware, firmware, or any combination thereof. Further, the data processing circuitry may be a single, stand-alone processing module, or incorporated in whole or in part into any of the other elements in the computing device. As referred to in the disclosed embodiments, the data processing circuit acts as a processor control (e.g., selection of a variable resistance termination path connected to the interface).
The memory may be used to store software programs and modules of application software, such as program instructions/data storage devices corresponding to the file processing method in the embodiments of the present disclosure, and the processor executes various functional applications and data processing by running the software programs and modules stored in the memory, that is, implementing the file processing method of the application program. The memory may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory may further include memory located remotely from the processor, which may be connected to the computing 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 transmission device is used for receiving or transmitting data via a network. Specific examples of such networks may include wireless networks provided by communication providers of the computing devices. In one example, the transmission device includes a Network adapter (NIC) that can be connected to other Network devices through a base station to communicate with the internet. In one example, the transmission device may be a Radio Frequency (RF) module, which is used for communicating with the internet in a wireless manner.
The display may be, for example, a touch screen type Liquid Crystal Display (LCD) that may enable a user to interact with a user interface of the computing device.
It should be noted here that in some alternative embodiments, the computing device shown in fig. 1 described above may include hardware elements (including circuitry), software elements (including computer code stored on a computer-readable medium), or a combination of both hardware and software elements. It should be noted that FIG. 1 is only one example of a particular specific example and is intended to illustrate the types of components that may be present in a computing device as described above.
In the foregoing operating environment, this embodiment provides a file processing method, which is applied to a file processing system, where the file processing system includes a first server for interacting with a user and a second server for storing a file, and fig. 2 is a schematic flow diagram of the file processing method according to an embodiment of the present disclosure, and with reference to fig. 2, the method includes:
s202: the first server responds to an information file viewing request containing the association number sent by the first user;
s204: the first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request;
s206: and the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user.
The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server and a second server, the first server is used for interacting with a user, the second server is used for storing files, the first server responds to an information file viewing request which contains an association number and is sent by the first user, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user, wherein when the first server acquires the storage address information of all files corresponding to the association numbers from the second server, and the second server generates a corresponding file or file thumbnail according to the storage address information and returns the storage address information of the file or file thumbnail to the first server. According to the method and the device, the files are stored in the second server, the first server is used for obtaining the storage address information of all the files corresponding to the association numbers from the second server according to the information file viewing request containing the association numbers, and the first server returns all the files or the file thumbnails corresponding to the association numbers to the user according to the storage address information of all the files, so that the uploaded files are uniformly managed, and the working efficiency of the user in viewing or downloading the files is improved.
In step S202, the first server responds to the information file viewing request containing the association number sent by the first user. The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server used for interacting with a user and a second server used for storing files, and the first server responds to a file viewing request which is sent by the first user through a user terminal and contains an association number.
In step S204, the first server obtains the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request. All files corresponding to the association numbers are stored in the second server, the files are stored in a file address form of file encryption, the files are safer through timeliness of encrypted address information, and a preferred embodiment is that the files are stored in the second server in an encryption mode of data signatures. The first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request, encrypts and stores all files corresponding to the association numbers through the second server, manages the files in a unified mode according to the association numbers, and acquires the storage address information of all files corresponding to the association numbers from the second server by using the first server according to the file viewing request, so that the file viewing efficiency of a user can be improved.
In the step S206, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user. The storage address information is that a corresponding thumbnail or a file per se is generated by the second server according to the encrypted and stored file with the association number, the first server performs file splicing according to the acquired storage address information to obtain all files or file thumbnails corresponding to the association number, and in order to reduce the storage pressure of the server, the form of generating the file thumbnails is preferably selected as the storage address information.
Further, the first server comprises a preset file structure template used for showing one or more associated preset file structures in the association numbers. The preset file structure template is a file structure which is set according to business requirements of files and is displayed to a user, for example, in a financial application program, the preset file template can comprise credit investigation data, wind control file data and the same for a callback.
In this embodiment, the first server returns the file or the file thumbnail corresponding to the association number to the first user, where the file or the file thumbnail is spliced by the first server based on the preset file structure template, and the terminal of the first user displays all the files or the file thumbnails under the association number through the received file or the file thumbnail based on the preset file structure template.
Further, the second server is a cloud server. In a preferred embodiment, the cloud server is a minio cloud server.
The first server in this embodiment may be a cloud disk server, or may be another server, which is not limited herein.
Further, the plurality of files having the same association number stored in the second server are uploaded by one or more users through the user terminal. For example, in a financial loan application software, the second server based on the same association number stores the wind control file data with the association number 1011 uploaded by the service person a, and also stores the credit investigation data with the association number 1011 uploaded by the service person B.
Further, the association number is a service number or an order number. For example, the association number in the financial application program is a plurality of services handled by a user based on a certain identification card, and each service has a corresponding service number for distinction; or a plurality of purchase orders are authenticated in the application software of the online trading platform based on a certain mobile phone number user, and each purchase order has a corresponding order number for distinguishing.
Further, the embodiment of the present invention further includes:
(a1) the first server receives a file uploading request of the second user containing the association number; the file uploading request comprises an identity of a second user;
(a2) and the first server performs identity authentication on the second user according to the identity identification information and sends a temporary key to the second user after the identity authentication is passed, wherein the temporary key is used for encrypting and storing the file corresponding to the file uploading request uploaded by the second user.
In the above action (a1), the first server receives a file upload request containing the association number of the second user, where the file upload request contains the identity of the second user. Specifically, the identity may be token identity, or may be other forms of identity. In one embodiment, the first server is provided with a token validity verification interface, and token authentication is performed on a file uploading request which is received by the first server and contains a second user token identifier, so that the file uploading security is enhanced.
In the action (a2), the first server performs identity authentication on the second user according to the identity information, and sends a temporary key to the second user after the identity authentication is passed, where the temporary key is used to encrypt and store the file corresponding to the file upload request uploaded by the second user. The first server sends an identity security authentication request to the second server according to the file uploading request and simultaneously sends a request for applying for a temporary secret key, the first server receives the temporary secret key returned by the second server after passing identity authentication on the second user according to the identity identification information, the first server sends the temporary secret key to the second user after passing the identity authentication on the second user, the second server uploads the file corresponding to the file uploading request according to the temporary secret key returned by the second user and encrypts and stores the uploaded file, the encryption operation can be a label generation operation on the file, and the use of a crawler technology by other people can be avoided.
Further, the embodiment of the present invention further includes:
(b1) according to the file viewing request, the first server sends a file decoding request for acquiring the association number to the second server;
(b2) the first server receives the file decoding information returned by the second server according to the file decoding request;
(b3) and the first server sends a request of the storage address information of all files corresponding to the association numbers to the second server according to the file decoding information.
In the above-mentioned actions (b1) and (b2), the first server sends the file decoding request for obtaining the association number to the second server according to the file viewing request, and the first server receives the file decoding information returned by the second server according to the file decoding request. After receiving a file viewing request sent by a first user, a first server sends a file decoding request for obtaining an association number to a second server, wherein the request contains an identity of the first user, the second server performs identity authentication on the first user according to the file decoding request containing the identity, and returns corresponding file decoding information to the first server after the identity authentication is passed, wherein the identity authentication can be token authentication or identity authentication in other modes, and no special limitation is made here.
In the above operation (b3), the first server sends a request for the storage address information of all files corresponding to the association number to the second server according to the file decoding information, the second server returns the storage address information of all files corresponding to the association number to the first server according to the request for the storage address information, and the first server concatenates the storage address information of all files corresponding to the association number through the preset file structure template and sends the concatenation result to the user terminal. The first server sends a request of storage address information of all files corresponding to the association number to the second server according to the file decoding information, the second server generates address link information of all files corresponding to the association number according to the request of the storage address information, wherein the address link information can comprise a file thumbnail address, an cdn picture acceleration address or a download address and the like, the second server returns the address link information to the first server, the first server splices the storage address information of all files corresponding to the association number through a preset file structure template and then sends the storage address information to the user terminal, and finally the user terminal displays the content of all files of the association number.
Fig. 3 is a schematic flowchart of a file processing method according to another embodiment of the present disclosure, where the step is used in a file processing method for interaction between a file processing system and a user terminal where a user is located, as shown in fig. 3, the step includes:
s302: the first server sends a file uploading request containing the association number by the second user, wherein the file uploading request contains the user identification of the second user;
s304: the first server carries out identity verification on the second user according to the file uploading request;
s306: the first server sends a temporary key request to the second server;
s308: after the second user passes the identity authentication, the second server sends a temporary secret key to the first server;
s310: sending, by the first server, the temporary key to the user terminal;
s312: the user terminal uploads the file of the associated number to the second server according to the temporary secret key;
s314: the second server encrypts and stores the uploaded file;
s316: the user terminal sends a file viewing request containing the association number of a first user:
s318: the first server carries out identity authentication on the first user according to the file viewing request, and sends a file decoding request to a user terminal of the first user after the identity authentication is passed;
s320: the second server sends the file decoding information of the association number to the first server;
s322: the first server sends storage address information requests of all files with associated numbers to the second server;
s324: the second server sends the storage address information of all files with the associated numbers to the first server;
s326: the first server splices the preset file structure template and the storage address information of all files according to the associated numbers and sends the spliced files to a user terminal of a first user;
and S328, the user terminal of the first user displays all the files with the associated numbers by utilizing a preset file structure template.
The embodiment of the invention comprises a first server function module and a second server function module, wherein the first server function module comprises an identity authentication function, a function of returning a secret key to a user and a function of splicing files by utilizing a preset file structure template; the second server function module comprises a function of uploading a temporary key to the first server, a function of encrypting and storing an uploaded file and a function of generating a thumbnail of the file.
Fig. 4 is a schematic view of a processed file according to an embodiment of the present disclosure, as shown in fig. 4, the schematic view is applied to an application program of a financial service, when a servicer opens a file with an XX order number of a name and views the file, a user terminal displays a pneumatic document data, an assessment document and a lease return contract block under the user, where the pneumatic document data includes a pneumatic approval document, the assessment document includes an applicant assessment authorization, an applicant assessment report, a guarantor assessment authorization, and the like, the lease return contract includes a lease return contract, a lease item delivery list, a lease return mortgage contract, a protocol with an invoice of a third person, and the block is displayed in a form of a thumbnail.
The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server and a second server, the first server is used for interacting with a user, the second server is used for storing files, the first server responds to an information file viewing request which is sent by the first user and contains an association number, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user. According to the method and the device, the files are stored in the second server, the first server is used for obtaining the storage address information of all the files corresponding to the association numbers from the second server according to the information file viewing request containing the association numbers, and the first server returns all the files or the file thumbnails corresponding to the association numbers to the user according to the storage address information of all the files, so that the uploaded files are uniformly managed, and the working efficiency of the user in viewing or downloading the files is improved.
Further, referring to fig. 1, according to a second aspect of the present embodiment, there is provided a storage medium. The storage medium includes a stored program, wherein the file processing method of any one of the above is executed by a processor when the program is run.
The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server and a second server, the first server is used for interacting with a user, the second server is used for storing files, the first server responds to an information file viewing request which contains an association number and is sent by the first user, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user. According to the method and the device, the files are stored in the second server, the first server is used for obtaining the storage address information of all the files corresponding to the association numbers from the second server according to the information file viewing request containing the association numbers, and the first server returns all the files or the file thumbnails corresponding to the association numbers to the user according to the storage address information of all the files, so that the uploaded files are uniformly managed, and the working efficiency of the user in viewing or downloading the files is improved.
The storage medium provided by the embodiment of the present application can implement the processes in the foregoing method embodiments, and achieve the same functions and effects, which are not repeated here.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode 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 is stored in a storage medium (e.g., ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (e.g., a mobile phone, a computer, a server, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
Fig. 5 is a schematic diagram of a file processing apparatus applied to a file processing system including a first server for interacting with a user and a second server for storing a file according to an implementation, the apparatus 500 being applied to a file processing system including a first server for interacting with a user and a second server for storing a file according to an implementation, and the apparatus comprising:
a file viewing module 501, configured to respond to an information file viewing request containing an association number sent by a first user by the first server;
a file obtaining module 502, configured to obtain, by the first server, storage address information of all files corresponding to the association number from the second server according to a file viewing request;
the file splicing module 503 is configured to perform file splicing by the first server according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and return the files or file thumbnails corresponding to the association numbers to the first user.
Optionally, the file processing apparatus further includes: the first server comprises a preset file structure template used for showing one or more associated preset file structures in the association numbers.
Optionally, the file processing apparatus further includes a user identity authentication module, configured to:
the first server receives a file uploading request of a second user containing the association number; wherein the file uploading request comprises an identity of the second user;
and the first server performs identity authentication on the second user according to the identity identification information, and sends a temporary key to the second user after the identity authentication is passed, wherein the temporary key is used for encrypting and storing the file uploaded by the second user and corresponding to the file uploading request.
Optionally, the file processing apparatus further includes a decoding information obtaining module, configured to:
according to the file viewing request, the first server sends a file decoding request for acquiring the association number to the second server;
the first server receives the file decoding information returned by the second server according to the file decoding request;
and the first server sends a request of the storage address information of all files corresponding to the association numbers to the second server according to the file decoding information.
Optionally, the file processing apparatus further includes: the second server is a minio server.
Optionally, the file processing apparatus further includes: the plurality of files with the same association number stored in the second server are uploaded by one or more users through the user terminal.
Optionally, the file processing apparatus further includes: the association number is a service number or an order number.
The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server and a second server, the first server is used for interacting with a user, the second server is used for storing files, the first server responds to an information file viewing request which contains an association number and is sent by the first user, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user. According to the method and the device, the files are stored in the second server, the first server is used for obtaining the storage address information of all the files corresponding to the association numbers from the second server according to the information file viewing request containing the association numbers, and the first server returns all the files or the file thumbnails corresponding to the association numbers to the user according to the storage address information of all the files, so that the uploaded files are uniformly managed, and the working efficiency of the user in viewing or downloading the files is improved.
The file processing method and device provided by the embodiment of the application can realize each process in the method embodiments and achieve the same functions and effects, and are not repeated here.
Example 3
Fig. 6 is a schematic diagram of a file processing apparatus according to another embodiment of the present disclosure, where the apparatus 600 corresponds to the method according to the first aspect of embodiment 1, and is applied to a file processing system, where the file processing system includes a first server for interacting with a user and a second server for storing a file. Referring to fig. 6, the apparatus 600 includes: a processor 610; and a memory 620 coupled to the processor 610 for providing instructions to the processor 610 to process the following processing steps:
the first server responds to an information file viewing request containing the association number sent by a first user;
the first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request;
and the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user.
Optionally, the file processing apparatus further includes: the first server comprises a preset file structure template used for showing one or more associated preset file structures in the association numbers.
Optionally, the file processing apparatus further includes:
the first server receives a file uploading request of a second user containing the association number; wherein the file uploading request comprises an identity of the second user;
and the first server performs identity authentication on the second user according to the identity identification information, and sends a temporary key to the second user after the identity authentication is passed, wherein the temporary key is used for encrypting and storing the file uploaded by the second user and corresponding to the file uploading request.
Optionally, the file processing apparatus further includes:
according to the file viewing request, the first server sends a file decoding request for acquiring the association number to the second server;
the first server receives the file decoding information returned by the second server according to the file decoding request;
and the first server sends a request of the storage address information of all files corresponding to the association numbers to the second server according to the file decoding information.
Optionally, the file processing apparatus further includes: the second server is a minio server.
Optionally, the file processing apparatus further includes: the plurality of files with the same association number stored in the second server are uploaded by one or more users through the user terminal.
Optionally, the file processing apparatus further includes: the association number is a service number or an order number.
The embodiment of the invention is applied to a file processing system, the file processing system comprises a first server and a second server, the first server is used for interacting with a user, the second server is used for storing files, the first server responds to an information file viewing request which contains an association number and is sent by the first user, the first server obtains storage address information of all files corresponding to the association number from the second server according to the file viewing request, the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association number, and returns the files or file thumbnails corresponding to the association number to the first user. According to the method and the device, the files are stored in the second server, the first server is used for obtaining the storage address information of all the files corresponding to the association numbers from the second server according to the information file viewing request containing the association numbers, and the first server returns all the files or the file thumbnails corresponding to the association numbers to the user according to the storage address information of all the files, so that the uploaded files are uniformly managed, and the working efficiency of the user in viewing or downloading the files is improved.
The file processing device provided by the embodiment of the application can realize each process in the method embodiments and achieve the same functions and effects, and the processes are not repeated here.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
In the above embodiments of the present invention, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed technology can be implemented in other ways. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (10)

1. A file processing method applied to a file processing system including a first server for interacting with a user and a second server for storing a file, comprising:
the first server responds to an information file viewing request containing the association number sent by a first user;
the first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request;
and the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user.
2. The method according to claim 1, wherein the first server comprises a preset file structure template for showing one or more associated association numbers.
3. The method of claim 1, further comprising:
the first server receives a file uploading request of a second user containing the association number; wherein the file uploading request comprises an identity of the second user;
and the first server performs identity authentication on the second user according to the identity identification information, and sends a temporary key to the second user after the identity authentication is passed, wherein the temporary key is used for encrypting and storing the file uploaded by the second user and corresponding to the file uploading request.
4. The method of claim 1, further comprising:
according to the file viewing request, the first server sends a file decoding request for acquiring the association number to the second server;
the first server receives the file decoding information returned by the second server according to the file decoding request;
and the first server sends a request of the storage address information of all files corresponding to the association numbers to the second server according to the file decoding information.
5. The method of claim 1, wherein the second server is a minio server.
6. The method according to claim 1, wherein the plurality of files with the same association number stored in the second server are uploaded by one or more users through a user terminal.
7. The method of claim 1, wherein the association number is a business number or an order number.
8. A storage medium characterized by comprising a stored program, wherein the file processing method of any one of claims 1 to 7 is executed by a processor when the program is run.
9. A file processing apparatus applied to a file processing system including a first server for interacting with a user and a second server for storing a file, comprising:
the file viewing response module is used for responding to an information file viewing request containing the association number sent by a first user by the first server;
the file information acquisition module is used for acquiring the storage address information of all files corresponding to the association numbers from the second server by the first server according to the file viewing request;
and the file splicing acquisition module is used for the first server to perform file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and return the files or file thumbnails corresponding to the association numbers to the first user.
10. A document processing apparatus based on order number, applied to a document processing system including a first server for interacting with a user and a second server for storing a document, comprising:
a processor; and
a memory coupled to the processor for providing instructions to the processor for processing the following processing steps:
the first server responds to an information file viewing request containing the association number sent by a first user;
the first server acquires the storage address information of all files corresponding to the association numbers from the second server according to the file viewing request;
and the first server performs file splicing according to the storage address information to obtain all files or file thumbnails corresponding to the association numbers, and returns the files or file thumbnails corresponding to the association numbers to the first user.
CN201911255191.5A 2019-12-09 2019-12-09 File processing method, device and storage medium Active CN113037790B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911255191.5A CN113037790B (en) 2019-12-09 2019-12-09 File processing method, device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911255191.5A CN113037790B (en) 2019-12-09 2019-12-09 File processing method, device and storage medium

Publications (2)

Publication Number Publication Date
CN113037790A true CN113037790A (en) 2021-06-25
CN113037790B CN113037790B (en) 2023-05-16

Family

ID=76451197

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911255191.5A Active CN113037790B (en) 2019-12-09 2019-12-09 File processing method, device and storage medium

Country Status (1)

Country Link
CN (1) CN113037790B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251669A (en) * 1997-03-21 2000-04-26 思维媒体公司 Method and apparatus for traking client interaction with network resource and creating client profiles and resource database
CN101388013A (en) * 2007-09-12 2009-03-18 日电(中国)有限公司 Method and system for clustering network files
CN103390005A (en) * 2012-05-11 2013-11-13 北大方正集团有限公司 Method and system for merging documents
CN103888505A (en) * 2013-11-26 2014-06-25 北京奇虎科技有限公司 File transmission method and system, and terminal devices and servers
CN104885432A (en) * 2013-08-29 2015-09-02 宇龙计算机通信科技(深圳)有限公司 Server and file sharing method
CN106412137A (en) * 2016-12-20 2017-02-15 北京并行科技股份有限公司 File downloading system and file downloading method
CN106934003A (en) * 2017-03-06 2017-07-07 宇龙计算机通信科技(深圳)有限公司 A kind of document handling method and mobile terminal
CN108052553A (en) * 2017-11-29 2018-05-18 平安养老保险股份有限公司 Method, apparatus, computer equipment and the storage medium of electronic documentation generation
CN108600788A (en) * 2018-05-14 2018-09-28 广州市千钧网络科技有限公司 A kind of broadcast address acquisition methods and device
CN109697194A (en) * 2018-12-25 2019-04-30 杭州安恒信息技术股份有限公司 A kind of file service method and system based on micro services
CN109995876A (en) * 2019-04-11 2019-07-09 深圳市永兴元科技股份有限公司 Document transmission method, device, system and computer storage medium
CN110191315A (en) * 2019-05-08 2019-08-30 视联动力信息技术股份有限公司 A kind of monitoring inspection method and device based on view networking

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1251669A (en) * 1997-03-21 2000-04-26 思维媒体公司 Method and apparatus for traking client interaction with network resource and creating client profiles and resource database
CN101388013A (en) * 2007-09-12 2009-03-18 日电(中国)有限公司 Method and system for clustering network files
CN103390005A (en) * 2012-05-11 2013-11-13 北大方正集团有限公司 Method and system for merging documents
CN104885432A (en) * 2013-08-29 2015-09-02 宇龙计算机通信科技(深圳)有限公司 Server and file sharing method
CN103888505A (en) * 2013-11-26 2014-06-25 北京奇虎科技有限公司 File transmission method and system, and terminal devices and servers
CN106412137A (en) * 2016-12-20 2017-02-15 北京并行科技股份有限公司 File downloading system and file downloading method
CN106934003A (en) * 2017-03-06 2017-07-07 宇龙计算机通信科技(深圳)有限公司 A kind of document handling method and mobile terminal
CN108052553A (en) * 2017-11-29 2018-05-18 平安养老保险股份有限公司 Method, apparatus, computer equipment and the storage medium of electronic documentation generation
CN108600788A (en) * 2018-05-14 2018-09-28 广州市千钧网络科技有限公司 A kind of broadcast address acquisition methods and device
CN109697194A (en) * 2018-12-25 2019-04-30 杭州安恒信息技术股份有限公司 A kind of file service method and system based on micro services
CN109995876A (en) * 2019-04-11 2019-07-09 深圳市永兴元科技股份有限公司 Document transmission method, device, system and computer storage medium
CN110191315A (en) * 2019-05-08 2019-08-30 视联动力信息技术股份有限公司 A kind of monitoring inspection method and device based on view networking

Also Published As

Publication number Publication date
CN113037790B (en) 2023-05-16

Similar Documents

Publication Publication Date Title
US7979350B1 (en) Method and system for accessing wireless account information
US10045210B2 (en) Method, server and system for authentication of a person
CN102930429B (en) A kind of checking system and method
US20130166456A1 (en) System and Method for Remote Payment Based on Mobile Terminal
EP3348020A1 (en) Method and apparatus for facilitating electronic payments using a wearable device
CN105741112A (en) Apparatus For Authentication And Payment Based On Web, Method For Authentication And Payment Based On Web, System For Authentication And Payment Based On Web And Non-Transitory Computer Readable Storage Medium Having Computer Program Recorded Thereon
CN102790767B (en) Information safety control method, information safety display equipment and electronic trading system
WO2015096754A1 (en) Smart device-based payment platform system and payment method
CN109660534B (en) Multi-merchant-based security authentication method and device, electronic equipment and storage medium
CN111131416A (en) Business service providing method and device, storage medium and electronic device
CN104753892A (en) Network resource transmission method, device and system
EP2518670A1 (en) System and method for remote payment based on mobile terminal
CN112394916A (en) Data interaction method, device, equipment and storage medium
CN112039826A (en) Login method and device applied to applet terminal
CN114168928B (en) Method, device, storage medium and system for acquiring identity authentication information
CN110659899B (en) Offline payment method, device and equipment
CN110602218B (en) Method and related device for assembling cloud service in user-defined manner
TWI657389B (en) Mobile terminal and its transaction confirmation method and device
CN110278245B (en) Block chain based APP message sharing method, system, device and storage medium
CN109409891B (en) Courseware sharing method and device
CN101841806A (en) Service card information processing method, device and system and communication terminal
CN113037790B (en) File processing method, device and storage medium
CN115482132A (en) Data processing method and device for electronic contract based on block chain and server
CN113395326A (en) Network service-based login method, device and computer-readable storage medium
CN109474565B (en) Information verification method and apparatus, storage medium, and electronic apparatus

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
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20230425

Address after: 130, 1st Floor, Building 5, Courtyard 1, Shangdi Fourth Street, Haidian District, Beijing, 100085

Applicant after: BEIJING ZHONGGUANCUN KEJIN TECHNOLOGY Co.,Ltd.

Address before: Room 103, No.1 Second Street, airport international logistics zone, Dongli District, Tianjin (Hongyao (Tianjin) Commercial Secretary Service Co., Ltd. trust No.152)

Applicant before: Huihai Automotive Technology (Tianjin) Co.,Ltd.

GR01 Patent grant
GR01 Patent grant