A document online preview method based on a distributed object storage system
An object storage and distributed technology, applied in the storage field, can solve the problems of occupying computing resources on the client side and long online preview delay, so as to avoid computing resources and improve the online preview experience
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0044] The following introduces Embodiment 1 of an online preview method for documents based on a distributed object storage system provided by the present invention, see figure 1 , embodiment one includes:
[0045] Step S101: Responding to a client's online preview request for a target document, acquire the target document stored in the storage cluster.
[0046] In this embodiment, the above-mentioned distributed object storage system includes a client and a storage cluster, and the storage cluster is composed of multiple storage servers, wherein the storage cluster is used to store data, and the client is used to perform data read and write operations on the storage cluster.
[0047] Step S102: converting the document format of the target document into a preset document format in the storage cluster, wherein the preset document format is a document format suitable for online preview on a client.
[0048] As mentioned above, the above-mentioned preset document format is a do...
Embodiment 2
[0055] The second embodiment of an online preview method for documents based on a distributed object storage system provided by the present invention is described in detail below, see figure 2 , embodiment two specifically includes:
[0056] Step S201: the user sends a request for previewing the target document through the client of the distributed object storage system.
[0057] As an optional implementation manner, the request may be sent through the enterprise network disk client. In the actual document preview process, the client first sends a preview request to the storage cluster, then downloads the target document to the client locally, and finally the user can preview it online on the client. As for the download method of the target document, it can be done through RESTful API or SDK API.
[0058] Step S202: After receiving the preview request for the target document, the storage cluster of the distributed object storage system determines whether the request include...
Embodiment approach
[0078] As an optional implementation, the device also includes:
[0079] Online display module 404: used to call RESTFUL API or SDK API to display the target document in the preset document format online on the client, so as to realize online preview.
[0080] As an optional implementation, the device also includes:
[0081] Target document receiving module 405: for receiving the target document sent by the client in response to the client's upload request for the target document;
[0082] A document format conversion module 406: used to convert the document format of the target document into a preset document format in the storage cluster;
[0083] Target document saving module: for saving the target document in the preset document format in the storage cluster.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


