Asynchronous file exporting method and system based on message queue and fast DFS micro-service architecture
A technology of message queue and file system, which is applied in the field of asynchronous file export method and system, can solve the problems such as not being able to meet the file export requirements, and achieve the effects of reducing storage dependence, enhancing generation stability, and improving download stability
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0043] as attached figure 1 As shown, the asynchronous file export method based on the message queue and fastDFS micro-service architecture of the present invention is completed through the authentication authorization module, message assembly and push module, message consumption processing module, file asynchronous generation and upload module and asynchronous download module For the asynchronous generation and download of files, the distributed deployment is completed through the message queue, and then the loose coupling between modules is realized; the details are as follows:
[0044] S1, the user logs in in the browser (web client), and requests authentication and authorization from the authorization authentication service (Authorition Server) of the authentication and authorization module;
[0045] S2. After the authentication and authorization are passed, the user selects the data to be exported to perform an export operation. Since the export content is different for d...
Embodiment 2
[0058] as attached figure 2 As shown, the asynchronous file export system based on message queue and fastDFS micro-service architecture of the present invention, the system includes,
[0059] The authentication and authorization module is used to authorize the login user. The authentication is performed first, and the file can be exported only after the authentication is passed;
[0060] The message assembly and push module is used to generate a record whose status is being generated after the authentication is passed, and then assemble the message body and send it to the message consumption processing module (MQ message consumer end); the format of the assembled message is determined according to the export type, The export type includes exporting by directly executing sql query data and exporting after obtaining data by calling the interface.
[0061] The message consumption processing module is used for parsing and processing according to the obtained message after receiv...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

