File conversion management method, device, equipment and medium for online preview

By receiving document preview requests on the mobile terminal, establishing conversion threads and optimizing document identification collections and database queries, the problem of server resource waste during document preview on the mobile terminal is solved, and a simple page and efficient preview are achieved, adapting to the mobile terminal, improving the Reliability and productivity.

CN114528813BActive Publication Date: 2024-12-20INSPUR GENERSOFT CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210095143.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-01-26
Publication Date
2024-12-20
Estimated Expiration
2042-01-26

AI Technical Summary

Technical Problem

When previewing documents online on mobile terminals, the prior art leads to waste of server resources, especially when a large number of users view the same document in a short time, frequent document conversion is required, resulting in waste of resources.

Method used

By receiving the preview request information of the target document, a document conversion thread is established, and the document unique identifier is queried in the preset document identification collection. If it does not exist, the format conversion is performed and stored in the database, the preview document is sent to the client, and the conversion thread is released. , if the document has been converted, the conversion request will be paused, and the repeated conversion will be optimized using database and cache to adjust the preview order to improve efficiency.

Benefits of technology

It realizes the online preview function of documents, and the simple page is adapted to the mobile terminal, which improves readability and work efficiency, reduces waste of server resources, and improves the efficiency of file preview.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114528813B_ABST
    Figure CN114528813B_ABST
Patent Text Reader

Abstract

The present application discloses a file conversion management method, device, equipment and medium for online preview, wherein the method comprises: receiving preview request information of a target document, establishing a document conversion thread according to the preview request information, wherein the preview request information at least comprises a download path, a document name and a document unique identifier of the target document; determining a preset document identifier set, wherein the document identifier set stores a document unique identifier corresponding to a document being converted; by traversing the document identifier set, querying whether the document unique identifier corresponding to the target document is stored in the document identifier set; if the document unique identifier does not exist in the document identifier set, storing the document unique identifier in the document identifier set, and performing format conversion on the target document; if the target document is successfully converted into a preview document, storing the preview document and the document unique identifier in a database; sending the preview document to a client, and releasing the document conversion thread.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of document conversion, and in particular to a file conversion management method, device, equipment and medium for online preview. Background Art

[0002] With the popularity of mobile terminals, the display of various documents on mobile terminals has become a common phenomenon. There are currently three display methods: the first is to download the document to the mobile terminal first, and then read the document through the reading software on the mobile terminal, but this method not only requires the download of the document, but also requires the mobile terminal to be equipped with various reading software. The second is to convert the document into a picture format and read it through the mobile terminal's built-in picture reading function, but this method is not convenient for readers to edit the document. The last one is to convert the document into HTML format online to achieve a pure web page effect. Converting Word documents to pure web pages in real time, the generated page is concise, especially with good adaptation effects on mobile terminals, and considering the reading experience of mobile terminals more while trying to restore the document content. The pictures and tables in Word documents can be handled well, and the content of the document can be perfectly restored. However, in daily life, it is often encountered that a large number of users read the same document in a short period of time. If the document is converted every time, a lot of server resources will be wasted.

[0003] Therefore, there is an urgent need for a document conversion management method for online preview. Summary of the invention

[0004] In order to solve the above problems, the present application proposes a file conversion management method, device, equipment and medium for online preview, wherein the method includes:

[0005] Receive preview request information of a target document, establish a document conversion thread according to the preview request information, the preview request information at least including the download path, document name, and document unique identifier of the target document; determine a preset document identifier set, the document identifier set storing the document unique identifier corresponding to the document being converted; query whether the document unique identifier corresponding to the target document is stored in the document identifier set by traversing the document identifier set; if the document unique identifier does not exist in the document identifier set, store the document unique identifier in the document identifier set, and perform format conversion on the target document; if the target document is successfully converted into a preview document, store the preview document and the document unique identifier in a database; send the preview document to a client, and release the document conversion thread.

[0006] In one example, after storing the document unique identifier in the document identifier set and performing format conversion on the target document, the method further includes: deleting the document unique identifier in the document identifier set.

[0007] In one example, after traversing the document identification set and querying whether the document unique identifier corresponding to the target document is stored in the document identification set, the method further includes: if the document unique identifier exists in the document identification set, pausing the conversion request for the target document through the document conversion thread; determining a preset first time interval, and after the first time interval, querying again whether the document unique identifier corresponding to the target document is stored in the document identification set.

[0008] In one example, before determining the preset document identifier set, the method also includes: traversing the database to match the document unique identifier of the target document; if the document unique identifier exists in the database, retrieving the historical preview document corresponding to the document unique identifier from the database as the preview document of the target document.

[0009] In one example, before traversing the database, the method further includes: traversing the cache within a preset historical time length to match the document unique identifier of the target document; if the document unique identifier exists in the cache, retrieving the historical preview document corresponding to the document unique identifier from the cache as the preview document of the target document.

[0010] In one example, the method further includes: determining a preset statistical time range, and counting the number of previews of the target document within the statistical time range; and adjusting the order of the document unique identifiers in the database based on the number of previews, so that during the traversal process, traversal is performed in the order of the number of previews from large to small.

[0011] In one example, the preview document is a document in HTML format.

[0012] The present application also provides a file conversion management device for online file preview, comprising: a request receiving module, used to receive preview request information of a target document, and establish a document conversion thread according to the preview request information, wherein the preview request information at least includes a download path, a document name, and a document unique identifier of the target document; an identifier set module, used to determine a preset document identifier set, wherein the document identifier set stores the document unique identifier corresponding to the document being converted; an identifier query module, used to query whether the document unique identifier corresponding to the target document is stored in the document identifier set by traversing the document identifier set; a document conversion module, used to store the document unique identifier in the document identifier set if the document unique identifier does not exist in the document identifier set, and perform format conversion on the target document; a conversion storage module, used to store the preview document and the document unique identifier in a database if the target document is successfully converted into a preview document; and send the preview document to a client, and release the document conversion thread.

[0013] The present application also provides a file conversion management device for online file preview, comprising: at least one processor; and a memory connected to the at least one processor in communication; wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute: receiving preview request information of a target document, establishing a document conversion thread according to the preview request information, wherein the preview request information at least includes a download path, a document name, and a document unique identifier of the target document; determining a preset document identification set, wherein the document identification set stores the document unique identifier corresponding to the document being converted; by traversing the document identification set, querying whether the document unique identifier corresponding to the target document is stored in the document identification set; if the document unique identifier does not exist in the document identification set, storing the document unique identifier in the document identification set, and performing format conversion on the target document; if the target document is successfully converted into a preview document, storing the preview document and the document unique identifier in a database; sending the preview document to a client, and releasing the document conversion thread.

[0014] The present application also provides a non-volatile computer storage medium, storing computer executable instructions, wherein the computer executable instructions are configured to: receive preview request information of a target document, establish a document conversion thread according to the preview request information, wherein the preview request information at least includes a download path, a document name, and a document unique identifier of the target document; determine a preset document identifier set, wherein the document identifier set stores the document unique identifier corresponding to the document being converted; query whether the document unique identifier corresponding to the target document is stored in the document identifier set by traversing the document identifier set; if the document unique identifier does not exist in the document identifier set, store the document unique identifier in the document identifier set, and perform format conversion on the target document; if the target document is successfully converted into a preview document, store the preview document and the document unique identifier in a database; send the preview document to a client, and release the document conversion thread.

[0015] The method proposed in this application can transfer the target document to the file conversion system through the document download link, and then convert the document into a web page format and return it to the mobile terminal, and combine it with mobile terminal related technologies such as WebView to realize the online preview function of click-to-view. At the same time, the target document is converted into a pure web page in real time, and the generated page is concise, especially with good adaptation effect on mobile terminals, which can also well ensure the security of the document, improve readability, and improve work efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0017] Figure 1 A schematic diagram of a document conversion management method for online preview in an embodiment of the present application;

[0018] Figure 2 A schematic diagram of a document conversion management device for online preview in an embodiment of the present application;

[0019] Figure 3 A schematic diagram of a document conversion management device for online preview in an embodiment of the present application. DETAILED DESCRIPTION

[0020] In order to make the purpose, technical solution and advantages of the present application clearer, the technical solution of the present application will be clearly and completely described below in combination with the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of the present application.

[0021] The technical solutions provided by the embodiments of the present application are described in detail below in conjunction with the accompanying drawings. The implementation of the analysis method involved in the embodiments of the present application can be a terminal device or a server, and the present application does not impose any special restrictions on this. For the convenience of understanding and description, the following embodiments are described in detail using the server as an example.

[0022] It should be noted that the server may be a single device or a system consisting of multiple devices, that is, a distributed server, and this application does not make any specific limitation on this.

[0023] like Figure 1 As shown, the embodiment of the present application provides a file conversion management method for online preview, including:

[0024] S101: receiving preview request information of a target document, and establishing a document conversion thread according to the preview request information, wherein the preview request information at least includes a download path, a document name, and a document unique identifier of the target document.

[0025] When a user receives a document, he can choose to download it and then select a mobile application to preview it, but this method is time-consuming and labor-intensive, and cannot guarantee the security of the document. At this time, you can choose to long-press the document to select online preview. The document conversion server will obtain the file content according to the download link, and convert it into a preview file that can be directly opened and return it to the mobile phone. Therefore, the document conversion server first needs to receive the preview request information for the target file sent by the user. In order to facilitate the acquisition of the content of the target document, the preview request information should at least include the download path, document name and document unique identifier of the target document. Among them, the document unique identifier is an identifier generated by the mobile terminal based on the document name and download path of the target document, and is unique. For ease of understanding, it can be understood as the hash value of the target document.

[0026] S102: Determine a preset document identification set, in which the document unique identification corresponding to the document being converted is stored.

[0027] After obtaining the document unique identifier of the target document, various information about the target document in the server can be determined through the document unique identifier, such as whether the target document has been converted in the server or is being converted.

[0028] Before determining various types of information of the target document in the server through the document unique identifier, it is first necessary to determine a preset document identifier set. Since the solution provided by this application is to solve the situation where a large number of users simultaneously send preview requests for the same document in a short period of time, the document identifier set stores the document unique identifiers corresponding to the documents that are in the process of conversion. In other words, the document identifier set only stores multiple document unique identifiers, and the documents corresponding to these document unique identifiers are in the process of conversion. Of course, the document identifier set can also store document unique identifiers corresponding to documents that have been converted.

[0029] S103: traversing the document identification set, querying whether the document unique identification corresponding to the target document is stored in the document identification set.

[0030] After determining the preset document identification set, in order to check whether the target document is in the process of being converted in the server, it is necessary to traverse the document identification set to query whether the document identification set stores the document unique identification corresponding to the target document. If it exists, it means that the user has submitted a preview request for the target document in advance, and the target document is in the process of being converted.

[0031] S104: If the document unique identifier does not exist in the document identifier set, the document unique identifier is stored in the document identifier set, and the format of the target document is converted.

[0032] If the document unique identifier does not exist in the document identifier set, it means that no user has submitted a preview request for the target document in a short period of time, that is, the target document is not included in the documents that are being converted in format on the server. Therefore, the target document needs to be converted into a document format that can be directly browsed by the mobile terminal. At the same time, in order to avoid other users uploading preview requests for the target document later, causing the server to perform repeated conversion, the document unique identifier of the target document needs to be uploaded to the document identifier set, so that after subsequent users upload preview requests for the target document, the document conversion thread will query the document unique identifier of the target document in the document identifier set, thereby giving up the simultaneous conversion of the target document.

[0033] S105: If the target document is successfully converted into a preview document, the preview document and the document unique identifier are stored in a database.

[0034] If the target document is successfully converted into a preview document that can be directly browsed online on the mobile terminal, the preview document and the document unique identifier of the preview document, ie, the target document, are stored in the database of the server.

[0035] S106: Send the preview document to the client and release the document conversion thread.

[0036] After the preview document is stored, it is also necessary to send the preview document to the mobile terminal so that the user can browse the content of the target file online through the mobile terminal in time. At the same time, it is also necessary to release the document conversion thread so that other tasks can mobilize the thread.

[0037] In one embodiment, since in the technical solution provided by the present application, the document identification collection only stores the document unique identification corresponding to the document being converted, when the conversion of the target document is completed, the document unique identification corresponding to the target document in the document identification collection should be deleted, so as to prevent the document conversion process from being delayed after subsequent users upload preview requests.

[0038] In one embodiment, since multiple document conversions for the same target document in a short period of time will cause a large amount of server resource waste, after querying whether there is a document unique identifier corresponding to the target document in the document identifier set, if there is, it means that a user has previously issued a document conversion request for the target document, and the conversion operation is currently being performed, so the document conversion thread suspends the conversion request for the target document. And after the conversion is completed, the preview document obtained by conversion can be automatically sent to the suspended document conversion thread to prevent the user from performing further operations. At the same time, a preset first time interval can also be determined, and after the first time interval, the document unique identifier corresponding to the target document is queried again. Because when the target document conversion succeeds or fails, the document unique identifier will be deleted from the document identifier set, so it is necessary to query again after a period of time.

[0039] In one embodiment, if the target document has been converted in the server and a user makes a preview request for the same target document, if the target document is converted again at this time, a large amount of server resources will be wasted. Therefore, since the converted preview document and the corresponding document unique identifier have been stored in the database, before querying the document unique identifier in the document identifier set, it is possible to query in the database whether the document unique identifier exists. If so, it means that the document has been converted, that is, the preview document corresponding to the target document exists in the database. At this time, the preview document corresponding to the target document can be directly retrieved from the database, thereby omitting the document conversion process and improving the efficiency of file preview.

[0040] Furthermore, when the server has been in operation for a long time, a large number of preview documents and a large number of document unique identifiers will be stored in the database. At this time, it will take a lot of time to match the document unique identifier of the target document from the database. Therefore, you can first match from the cache of the server within a preset historical time length. For example, query from the cache of the server within one day whether the target document has been converted. If the document unique identifier of the target document exists in the cache, then take out the preview document from the cache; if not, then match from the database to reduce time consumption.

[0041] In one embodiment, since there are many preview files stored in the database, it will take a long time to query the database for the corresponding preview document or document unique identifier. Therefore, the preview times of each document in the database within a preset time range can be counted, and the document unique identifiers in the database can be sorted according to the preview times, so that in the process of traversing the database, each file can be identified in the order of the preview times, thereby reducing the traversal time and improving the preview efficiency of the document.

[0042] In one embodiment, the preview document is a document in HTML format, that is, the target document is converted into a pure web page format to facilitate browsing of the document by mobile terminals. The page generated by the document in HTML format is concise, especially well adapted to mobile terminals, and can also well ensure the security of the document, improve readability, and improve work efficiency.

[0043] like Figure 2 As shown, the embodiment of the present application also provides a document conversion management device for online preview, including:

[0044] The request receiving module 201 is used to receive preview request information of a target document and establish a document conversion thread according to the preview request information. The preview request information at least includes a download path, a document name, and a document unique identifier of the target document.

[0045] The identification set module 202 is used to determine a preset document identification set, in which the document unique identification corresponding to the document being converted is stored.

[0046] The identification query module 203 is used to query whether the document unique identification corresponding to the target document is stored in the document identification set by traversing the document identification set.

[0047] The document conversion module 204 is configured to store the document unique identifier into the document identifier set if the document unique identifier does not exist in the document identifier set, and perform format conversion on the target document.

[0048] The conversion storage module 205 is used to store the preview document and the document unique identifier in a database if the target document is successfully converted into a preview document; send the preview document to the client, and release the document conversion thread.

[0049] like Figure 3 As shown, the embodiment of the present application also provides a document conversion management device for online preview, including:

[0050] at least one processor; and,

[0051] a memory communicatively connected to the at least one processor; wherein,

[0052] The memory stores instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to:

[0053] Receive preview request information of a target document, establish a document conversion thread according to the preview request information, the preview request information at least including the download path, document name, and document unique identifier of the target document; determine a preset document identifier set, the document identifier set storing the document unique identifier corresponding to the document being converted; query whether the document unique identifier corresponding to the target document is stored in the document identifier set by traversing the document identifier set; if the document unique identifier does not exist in the document identifier set, store the document unique identifier in the document identifier set, and perform format conversion on the target document; if the target document is successfully converted into a preview document, store the preview document and the document unique identifier in a database; send the preview document to a client, and release the document conversion thread.

[0054] The embodiment of the present application further provides a non-volatile computer storage medium storing computer executable instructions, wherein the computer executable instructions are configured as follows:

[0055] Receive preview request information of a target document, establish a document conversion thread according to the preview request information, the preview request information at least including the download path, document name, and document unique identifier of the target document; determine a preset document identifier set, the document identifier set storing the document unique identifier corresponding to the document being converted; query whether the document unique identifier corresponding to the target document is stored in the document identifier set by traversing the document identifier set; if the document unique identifier does not exist in the document identifier set, store the document unique identifier in the document identifier set, and perform format conversion on the target document; if the target document is successfully converted into a preview document, store the preview document and the document unique identifier in a database; send the preview document to a client, and release the document conversion thread.

[0056] Each embodiment in this application is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the device and medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiments.

[0057] The devices and media provided in the embodiments of the present application correspond one-to-one to the methods. Therefore, the devices and media also have similar beneficial technical effects as the corresponding methods. Since the beneficial technical effects of the methods have been described in detail above, the beneficial technical effects of the devices and media will not be repeated here.

[0058] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.

[0059] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0060] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0061] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0062] In a typical configuration, a computing device includes one or more processors (CPU), input / output interfaces, network interfaces, and memory.

[0063] The memory may include non-permanent storage in a computer-readable medium, random access memory (RAM) and / or non-volatile memory in the form of read-only memory (ROM) or flash RAM. The memory is an example of a computer-readable medium.

[0064] Computer readable media include permanent and non-permanent, removable and non-removable media that can be implemented by any method or technology to store information. Information can be computer readable instructions, data structures, program modules or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer readable media does not include temporary computer readable media (transitory media), such as modulated data signals and carrier waves.

[0065] It should also be noted that the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, commodity or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, commodity or device. In the absence of more restrictions, the elements defined by the sentence "comprises a ..." do not exclude the existence of other identical elements in the process, method, commodity or device including the elements.

[0066] The above is only an embodiment of the present application and is not intended to limit the present application. For those skilled in the art, the present application may have various changes and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present application should be included in the scope of the claims of the present application.

Claims

1. A document conversion management method for online preview, characterized in that: include: Receive preview request information of the target document, and establish a document conversion thread according to the preview request information, wherein the preview request information at least includes a download path, a document name, and a document unique identifier of the target document; Determine a preset document identification set, wherein the document identification set stores the document unique identification corresponding to the document being converted; The document unique identifier is an identifier generated by the document name and download path of the target document and is unique; By traversing the document identification set, querying whether the document unique identification corresponding to the target document is stored in the document identification set; If the document unique identifier does not exist in the document identifier set, the document unique identifier is stored in the document identifier set, and the target document is formatted; If the target document is successfully converted into a preview document, the preview document and the document unique identifier are stored in a database; Sending the preview document to the client and releasing the document conversion thread; After storing the unique document identifier in the document identifier set and converting the target document into a new format, the method further includes: In the document identification set, deleting the document unique identification; After traversing the document identification set and querying whether the document unique identifier corresponding to the target document is stored in the document identification set, the method further includes: If the document unique identifier exists in the document identifier set, suspending the conversion request of the target document through the document conversion thread; A preset first time interval is determined, and after the first time interval, it is queried again whether the document unique identifier corresponding to the target document is stored in the document identifier set.

2. The method according to claim 1, characterized in that Before determining the preset document identification set, the method further includes: Traversing the database to match the document unique identifier of the target document; If the document unique identifier exists in the database, a historical preview document corresponding to the document unique identifier is retrieved from the database as a preview document of the target document.

3. The method according to claim 2, characterized in that Before traversing the database, the method further includes: Traversing the cache within a preset historical time period to match the document unique identifier of the target document; If the document unique identifier exists in the cache, a historical preview document corresponding to the document unique identifier is retrieved from the cache as a preview document of the target document.

4. The method according to claim 2, characterized in that: The method further comprises: Determine a preset statistical time range, and count the number of previews of the target document within the statistical time range; And according to the preview times, the order of the unique identifiers of the documents in the database is adjusted, so that during the traversal process, the traversal is performed in the order of the preview times from large to small.

5. The method according to claim 1, characterized in that The preview document is a document in HTML format.

6. A file conversion management device for online file preview, characterized in that: include: A request receiving module, configured to receive preview request information of a target document, and establish a document conversion thread according to the preview request information, wherein the preview request information at least includes a download path, a document name, and a document unique identifier of the target document; An identification set module, used to determine a preset document identification set, wherein the document identification set stores the document unique identification corresponding to the document being converted; An identification query module, used to query whether the document unique identification corresponding to the target document is stored in the document identification set by traversing the document identification set; A document conversion module, configured to store the document unique identifier in the document identifier set if the document unique identifier does not exist in the document identifier set, and perform format conversion on the target document; A conversion storage module, used for storing the preview document and the document unique identifier in a database if the target document is successfully converted into a preview document; sending the preview document to the client, and releasing the document conversion thread; After storing the document unique identifier in the document identifier set and converting the target document into a new format, the document unique identifier is deleted from the document identifier set; After traversing the document identification set to query whether the document unique identifier corresponding to the target document is stored in the document identification set, if the document unique identifier exists in the document identification set, suspending the conversion request of the target document through the document conversion thread; A preset first time interval is determined, and after the first time interval, it is queried again whether the document unique identifier corresponding to the target document is stored in the document identifier set.

7. A file conversion management device for online file preview, characterized in that: include: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method according to any one of claims 1 to 5.

8. A non-volatile computer storage medium storing computer executable instructions, characterized in that: The computer executable instructions are configured to perform the method as claimed in any one of claims 1 to 5.