File uploading and parsing method and device, server and medium
A file parsing and file uploading technology, applied in the computer field, can solve problems such as difficulty in optimization and maintenance, inability to guarantee development efficiency and code quality, etc.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0031] figure 1 The flow chart of file uploading and parsing provided by Embodiment 1 of the present invention, this embodiment is applicable to the situation of file uploading and parsing, the method is applied to a server, and can be executed by a file uploading and parsing device, specifically including the following steps:
[0032] S110. Receive a file upload application sent by the client, and generate a file analysis message according to the file upload application.
[0033] In the processing of various bank-to-corporate business scenarios such as trusteeship and pension, it involves uploading and analyzing files of various business types such as customer basic information, customer batch signing, and transaction details. File parsing is to read the data information in the structured file, and process it through the configured data processing rules such as which field of the data table corresponds to a certain row and column in the file, type conversion, etc., and then p...
Embodiment 2
[0045] figure 2 It is a flowchart of a file uploading and parsing method provided by Embodiment 2 of the present invention. This embodiment is further optimized based on the above embodiment. Optionally, after receiving the file upload application sent by the client, it also includes: Verify the file upload application; confirm the correctness of the file upload application to avoid uploading wrong files; when the upload data volume of the file upload application that passes the verification is within the preset data volume threshold range, determine the upload method as synchronous upload; When the upload data volume of the file upload application that passes the verification exceeds the preset data volume threshold range, it is determined that the upload mode is asynchronous upload. Avoid the problem of uploading and parsing failures caused by the large amount of uploaded file data, which affects customer experience, and improve the efficiency and success rate of file uploa...
Embodiment 3
[0066] Figure 8 A structural diagram of a file uploading and parsing device provided by Embodiment 3 of the present invention, the file uploading and parsing device includes: a file upload application receiving module 310 , a message queue monitoring module 320 , an information acquisition module 330 and a file parsing module 340 .
[0067] Wherein, the file upload application receiving module 310 is used to receive the file upload application sent by the client, and generates a file analysis message according to the file upload application; the message queue monitoring module 320 is used to send the file analysis message to the file analysis message queue, The file analysis message queue is monitored; the information acquisition module 330 is used to obtain the uploaded file, parser name and file analysis configuration information according to the file analysis message when the file analysis message is monitored; the file analysis module 340 uses Obtaining a parser instance ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


