Method and device for realizing 3D (three-dimensional) simulation page turning effect supporting file directory

By setting the file directory and converting non-PDF files into PDF, combined with AJAX and JavaScript technology, the 3D simulated book flipping effect of multiple file types is realized, which solves the difficulty of realizing the book flipping effect in the form of file types and directories in the existing technology. problems, improving user experience and product quality.

CN118761386APending Publication Date: 2024-10-11INSPUR SOFTWARE TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410745545.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-11
Publication Date
2024-10-11

AI Technical Summary

Technical Problem

It is difficult to realize the 3D simulated book flipping effect of multiple file types (such as doc, xls, ppt) directly on the page with the existing technology, and it cannot comprehensively realize the 3D simulated book flipping effect of the file directory as a whole.

Method used

By setting the file directory, non-PDF type files are converted into PDF. Using Aspose or OpenOffice conversion tools, PDF is converted into images according to page numbers, combined with scheduled tasks and PDFBox library processing. Finally, AJAX and JavaScript are used to implement 3D simulation of the file directory tree. Effect.

Benefits of technology

It realizes the 3D simulated book flipping effect of multiple file types, provides a simple, easy-to-use, and intuitive file reading interface, and improves the user experience and product quality.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118761386A_ABST
    Figure CN118761386A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of storage of various files, and particularly provides a 3D simulation page turning effect implementation method and device supporting a file directory, and the method comprises the following steps: S1, setting the file directory, and storing related files; s2, a non-PDF type file is converted into a PDF; s3, the PDF converts each page into a picture format according to the page number; and S4, realizing a 3D simulation page turning effect in a file directory form. Compared with the prior art, on one hand, the problem that it is difficult to directly achieve the 3D simulation page turning effect on the page by taking the file as the initial input at present is solved; and on the other hand, the problem that the 3D simulation page turning effect is not integrally and comprehensively realized in a catalog form at present is solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of various file storage technologies, and specifically provides a method and a device for realizing a 3D simulated book turning effect supporting a file directory. Background Art

[0002] Currently, most of the 3D simulated flip book effects on the market are only displayed for a group of multiple images. There is no implementation of file input and multiple file types (such as doc, xls, ppt), multiple files, and the overall presentation of 3D simulated flip book effects on the page; there is no involvement in the compilation of file directories and their synchronous display with the flip book effect.

[0003] On the one hand, it is currently difficult to use files as initial input to directly achieve a 3D simulated book flipping effect on the page; on the other hand, there is currently no way to use files in the form of a directory to comprehensively achieve a 3D simulated book flipping effect. Summary of the invention

[0004] The present invention aims at the above-mentioned deficiencies of the prior art and provides a method for realizing a 3D simulation book turning effect supporting a file directory with strong practicality.

[0005] A further technical task of the present invention is to provide a device for realizing a 3D simulated book turning effect that supports a file directory and is reasonably designed, safe and applicable.

[0006] The technical solution adopted by the present invention to solve its technical problem is:

[0007] A method for realizing a 3D simulated book flipping effect supporting a file directory comprises the following steps:

[0008] S1. Set up a file directory to store related files;

[0009] S2. Convert non-PDF files into PDF;

[0010] S3, PDF converts each page into image format according to page number;

[0011] S4. Realize the 3D simulated book flipping effect in the form of file directory.

[0012] Furthermore, in step S1, the directory is customized with multiple levels, and also includes a directory copy function, which customizes the copying of a certain level of directory information and directly copies the level directory and the lower level directory;

[0013] Upload files to the set file directory and bind them to the directory, and specify the file storage method through the configuration file.

[0014] Further, in step S2, two conversion methods are provided for converting non-PDF type files to PDF, namely: conversion using Aspose and conversion using OpenOffice;

[0015] Aspose introduces the related dependency packages of Aspose, and introduces the dependency packages of aspose.words, aspose.cells, and aspose.slides into the project library, where aspose.words is used for Word documents, aspose.cells is used for Excel files, and aspose.slides is used for PowerPoint files. The save method in the corresponding dependency package is used to generate the corresponding type of file into a PDF file;

[0016] To use OpenOffice, you need to install the OpenOffice service. Download the OpenOffice installation package and install it. Import the org.openoffice and org.jodconverte related dependency packages. Use java to call the OpenOffice service and use the convert method to output the input file stream to a PDF file.

[0017] Furthermore, after the non-PDF type file is converted to PDF, the PDF file path (PDF_FILE_PATH) field in the file table is updated to the PDF file path address, and the file status (FILE_STATUS) field in the file table is set to 01 to be converted, so as to facilitate the subsequent PDF conversion to image step for query.

[0018] Furthermore, in step S3, it further includes:

[0019] (1) Configure scheduled tasks;

[0020] (2) Integrate the PDFBox library, call the image conversion method, and start image conversion.

[0021] Further, in step (1), the files whose status is to be converted and whose previous conversion has failed, i.e., the FILE_STATUS field value is 01 or 04, are periodically polled;

[0022] Use ScheduledThreadPoolExecutor to initiate scheduled tasks. ScheduledThreadPoolExecutor uses multiple threads to execute tasks.

[0023] Furthermore, in step (2), each PDF file in the task will call the image conversion method to start the image conversion, and the PDF will be converted into images in sequence according to the sequence number of each page, and stored in the file table in order;

[0024] When the PDF file starts converting images, the converted PDF file status FILE_STATUS in the file table is updated to 02;

[0025] After the converted image is successfully completed, the image information is stored in the file table, the business foreign key MASTER_ID is set to the primary key of the corresponding PDF file, and the converted PDF file status FILE_STATUS is updated to 03, and the total number of file images FILE_PAGE is updated to the total number of converted images;

[0026] If an error occurs during the image conversion process, the converted PDF file status FILE_STATUS is updated to 04, and the conversion is started again in the next task.

[0027] Further, in step S4, the front end queries the specified file directory and bound file information through AJAX and displays the file directory tree;

[0028] Query the image information corresponding to all converted files and return them according to the sequence number; use the jQuery plug-in zTree to display the file directory tree; use Turn.js and the collaborative work of HTML, CSS and JavaScript to simulate the structure of the book and the effect of page flipping, and display the 3D simulation book flipping animation;

[0029] Click the book page with the mouse to realize 3D page turning, or directly enter the page number to jump to the corresponding page. Click any file directory to directly jump to the first page of the file in the corresponding directory.

[0030] A device for realizing 3D simulated book flipping effect supporting file directory, comprising: at least one memory and at least one processor;

[0031] The at least one memory is used to store a machine-readable program;

[0032] The at least one processor is used to call the machine-readable program to execute a method for realizing a 3D simulated book flipping effect supporting a file directory.

[0033] Compared with the prior art, the method and device for realizing 3D simulated book flipping effect supporting file directory of the present invention has the following outstanding beneficial effects:

[0034] The present invention combines a variety of file technologies and 3D simulation book flipping plug-ins, which solves the problem that it is difficult to use files as initial input to directly realize the 3D simulation book flipping effect on the page; on the other hand, it solves the problem that there is no overall comprehensive realization of the 3D simulation book flipping effect by putting files in the form of directories. It provides users with a concise, easy-to-use, intuitive and beautiful file reading interface, improves user experience, increases user favorability for products or services, and improves product quality to obtain better economic benefits. BRIEF DESCRIPTION OF THE DRAWINGS

[0035] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0036] Attached Figure 1 It is a flowchart of a method for realizing a 3D simulated book flipping effect supporting a file directory;

[0037] Attached Figure 2 The diagram is a ScheduledThreadPoolExecutor operation mechanism diagram in a method for implementing a 3D simulated book flipping effect that supports file directories. DETAILED DESCRIPTION

[0038] In order to enable those skilled in the art to better understand the solution of the present invention, the present invention is further described in detail below in conjunction with specific implementation methods. Obviously, the described embodiments are only part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] A best embodiment is given below:

[0040] like Figure 1 As shown, a method for realizing a 3D simulated book flipping effect supporting a file directory in this embodiment has the following steps:

[0041] S1. Set up a file directory to store related files;

[0042] The directory supports customized multi-level settings, and also includes a directory copy function. You can customize the copy of a certain level of directory information and directly copy the directory and the lower level directory. Upload files to the set file directory and bind them to the directory. It supports local storage, Ftp, Sftp, FastDFS and other methods to store files. The file storage method can be specified through the configuration file. The file directory related design table structure is as follows:

[0043] Table 1 General Field Description of Catalog Table

[0044] Field Name Field encoding Field Type Remark Directory primary key ITEM_ID VARCHAR2(32) Directory primary key Directory Name ITEM_NAME VARCHAR2(128) Directory Name Catalog Number ITEM_SEQ INT Catalog Number Parent directory primary key PARENT_ID VARCHAR2(32) Parent directory primary key

[0045] Table 2 General Field Description of File Table

[0046]

[0047]

[0048] (1) Local storage

[0049] Use the MultipartFile class of the Spring framework to upload files, and call the transferTo method in MultipartFile to write the input stream of the uploaded file to the specified location on the server.

[0050] (2) FTP storage

[0051] Import the commons-net dependency package and use the FTPClient class to implement Ftp file upload. First, create an FTPClient object, save the character set used by the Ftp control connection before establishing the Ftp connection, establish the Ftp connection and log in through the server address, account, and password, specify the upload path and create a directory, set the upload mode to binary, and then call the storeFile method to upload the file. Disconnect after completion.

[0052] (3) SFTP storage

[0053] Import the com.jcraft dependency package and use the JSch library to implement Sftp file storage. First, create a JSch object, then use the getSession method to establish an SSH session and authenticate. Then open an Sftp channel and connect, convert it into a ChannelSftp object; enter the specified remote directory, create a remote file on the Sftp server, then open the local file and call the put method to write the local file to the remote file. After completion, close the file, channel and session.

[0054] (4) FastDFS storage

[0055] The introduced fastdfs-client-java dependency package uses the libentGlobal.init method to load the FastDFS client configuration file, obtain the addresses of all TrackerServers, and create a Storage client object. The upload_file method is called with the corresponding byte array of the uploaded file, the file extension, and the file attribute information (the file attribute information is usually not uploaded but recorded in the database) as parameters for uploading. After completion, a String array will be returned, in which the first element of the return value is the group name where the file is located, and the second element is the remote file path where the file is located.

[0056] The main implementation code is as follows:

[0057] public List <uploadfileinfo>saveFiles(String storageType,MultipartFile[]multipartFiles,Map<String,String>pars)

[0058] UploadFileStorage uploadFileStorage;

[0059] String fileFolderPath=pars.get("fileFolderPath");

[0060] String storageAddress=uploadFileStorage.getStorageAddress();

[0061] List <uploadfileinfo>result = new ArrayList<>();

[0062] try {

[0063] if ("01".equals(storageType)) {

[0064] / / Local storage

[0065] / / Loop through and retrieve a single file;

[0066] for (MultipartFile multipartFile : multipartFiles) { UploadFileInfo fileInfo = FileUtils.singleFileUpload(multipartFile, fileFolderPath, useRealName, secretDegree);

[0067] result.add(fileInfo);

[0068] } else if ("02".equals(storageType)) {

[0069] / / Ftp storage

[0070] FtpUtils ftpUtil = new FtpUtils(storageAddress);

[0071] result.addAll(ftpUtil.uploadMultipartFile(multipartFiles,

[0072] path,

[0073] useRealName, secretDegree));

[0074] } else if ("03".equals(storageType)) {

[0075] / / Sftp storage

[0076] SftpUtil sftpUtil = new SftpUtil();

[0077] ChannelSftp sftp=sftpUtil.connect(storageAddress); result.addAll(sftpUtil.upload(multipartFiles,fileFolderPath,useRealName,sftp,secretDegree));

[0078] }else if("04".equals(storageType)){

[0079] / / FastDFS storage

[0080] for(MultipartFile multipartFile:multipartFiles){

[0081] UploadFileInfo file=toUploadFileInfo(multipartFile,storageType);

[0082] String[]uploadResults=FastDFSClient.upload(file.getFileName(),file.getFileType(),multipartFileByte);

[0083] file.setFilePath(uploadResults[0]+" / "+uploadResults[1]); result.add(file);

[0084] }catch(BaseException s){

[0085] throw new BaseException("File storage error, error message: "+s.getMsg());

[0086] }catch(Exception e){

[0087] throw new BaseException("File storage error, error message: "+e.getMessage());

[0088] return result.

[0089] S2. Convert non-PDF files into PDF;

[0090] There are two ways to convert non-PDF files to PDF: using Aspose and using OpenOffice.

[0091] Aspose introduces related dependency packages of Aspose; OpenOffice service needs to be installed to use it, and the dependency packages of aspose.words, aspose.cells, and aspose.slides are introduced into the project library. Among them, aspose.words is used for Word documents, aspose.cells is used for Excel files, and aspose.slides is used for PowerPoint files. The save method in the corresponding dependency package can generate the corresponding type of file into a PDF file.

[0092] Use OpenOffice to convert files to PDF, download the OpenOffice installation package and install it, introduce the org.openoffice and org.jodconverte related dependency packages, call the OpenOffice service in java, and use the convert method to output the input file stream to a PDF format file.

[0093] After the non-PDF type file is converted to PDF, the PDF file path (PDF_FILE_PATH) field in the file table is updated to the PDF file path address, and the file status (FILE_STATUS) field in the file table is set to 01 to be converted, which is convenient for querying in the subsequent PDF to image conversion steps.

[0094] The main implementation code is as follows:

[0095]

[0096] / / Update PDF file path address and file status;

[0097] uploadFileInfo.setFileStatus("01");

[0098] uploadFileInfo.setPdfFilePath(targetFilePath);

[0099] mapper.updateByPrimaryKeySelective(uploadFileInfo);

[0100] S3, PDF converts each page into image format according to page number;

[0101] Further includes:

[0102] (1) Configure scheduled tasks;

[0103] like Figure 2 As shown, the periodic polling status is files that are to be converted and files that have previously been converted with errors (ie, the FILE_STATUS field value is 01 or 04).

[0104] Use ScheduledThreadPoolExecutor to initiate scheduled tasks. ScheduledThreadPoolExecutor uses multiple threads to execute tasks, so you don't have to worry about tasks blocking each other due to long execution time; you also don't have to worry about creating a new thread to execute the task if the thread is deactivated during the task execution.

[0105] (2) Integrate the PDFBox library, call the image conversion method, and start image conversion.

[0106] Each PDF file in the task will call the image conversion method to start the image conversion. PDF is converted into images in sequence according to the page number and stored in the file table in order.

[0107] The specific method is: introduce the org.apache.pdfbox dependency package, read the PDF path of the image to be converted, load the PDF document through the PDF file path, set the image resolution (DPI) (the default setting in this project is 300DPI, which can be adjusted as needed), create a PDFRenderer object, traverse each page of the PDF and convert it into an image, set the rendering scale, render the PDF of the specified page as a BufferedImage, set the generated image file name, call the ImageIO.write method to save the image as a file and store it, and finally close the PDF document.

[0108] When the PDF file starts converting images, the status of the converted PDF file (FILE_STATUS) in the file table is updated to 02.

[0109] After the conversion of the image is successfully completed, the image information is stored in the file table, and its business foreign key (MASTER_ID) is set to the primary key of the corresponding PDF file to facilitate the search for the converted image information of the file. At the same time, the status of the converted PDF file (FILE_STATUS) is updated to 03, and the total number of file images (FILE_PAGE) is updated to the total number of converted images. If an error occurs during the image conversion process, the status of the converted PDF file (FILE_STATUS) is updated to 04, and the conversion is started again in the next task.

[0110] The main implementation code is as follows:

[0111] public ResultPage pdfToImage(String fileId){

[0112] String fileSuffix;

[0113] / / Start converting the image and update the file status to converting

[0114] UploadFileInfo uploadFileInfo=this.selectByPrimaryKey(fileId);

[0115] uploadFileInfo.setFileStatus("02");

[0116] mapper.updateByPrimaryKeySelective(uploadFileInfo);

[0117] try{

[0118] if(Objects.nonNull(uploadFileInfo)){

[0119] fileSuffix=uploadFileInfo.getFileType().toLowerCase();

[0120] if ("pdf".equals(fileSuffix)) {

[0121]

[0122] }catch(Exception e){

[0123] / / Failed to convert the image, update the file status to conversion failed;

[0124] uploadFileInfo.setFileStatus("04");

[0125] mapper.updateByPrimaryKeySelective(uploadFileInfo);

[0126] throw new BaseException("PDF conversion image failed",e);

[0127] S4, realize the 3D simulation book turning effect in the form of file directory;

[0128] The front end uses AJAX to query the file information bound to the specified file directory and display the file directory tree. It queries the image information corresponding to all converted files and returns them according to the sequence number; uses the jQuery plug-in zTree to display the file directory tree; uses Turn.js and the collaborative work of HTML, CSS and JavaScript to simulate the structure of the book and the page flipping effect, and display the 3D simulation book flipping animation.

[0129] Click the book page with the mouse to realize 3D page turning, or directly enter the page number to jump to the corresponding page. Click any file directory to directly jump to the first page of the file in the corresponding directory.

[0130] The specific implementation is as follows: zTree.js and Turn.js files are introduced into the front-end project, the back-end uses recursion to assemble the file directory tree and the image information corresponding to each file, and the front-end uses Ajax to call the back-end method to obtain the file directory tree data and the image information data corresponding to the file. Use zTree.init to initialize the file directory tree and display it on the page. Click the directory tree node to call the zTreeOnClick method. The Turn.js book page jump display method is added to the method, which can directly jump to the corresponding book page. Use $("#book").turn to initialize the entire book, and you can configure its parameter values ​​according to your own project requirements to get the final display effect. The parameters in this project are set as follows: width refers to the width of the page, which is set to 66.1vw; height refers to the height of the page, which is set to 84.8vh; duration refers to the page turning speed (the smaller the value, the faster), which is set to 1000; duration refers to whether to start hardware acceleration, which is set to true; gradients refers to whether to display the page turning shadow effect, which is set to true; autoCenter refers to whether to automatically center, which is set to true; elevation refers to the distance from the edge of the page when turning the page, which is set to 50; pages is the total number of pages, and the value is the total number of pages returned by the background; the when method will be triggered before and after turning the page, and the directory selection method of zTree.js is added to the method, which can automatically select the corresponding file in the file directory tree.

[0131] The main implementation code is as follows:

[0132] / / Get and display the file directory tree

[0133] Var treeNodes=getLooseleafTree(dict);

[0134] varsetting={

[0135] callback:{

[0136] onExpand: onExpand,

[0137] onClick:zTreeOnClick,

[0138] beforeAsync:zTreeBeforeAsync

[0139] view:{

[0140] showIcon:true,

[0141] showLine:true,

[0142] selectedMulti:false,

[0143] fontCss:function(treeId,treeNode){

[0144] return(!!treeNode.highlight)? {color:"#A60000","font-weight":"bold"}:{

[0145] color:"#333","font-weight":"normal"

[0146] tree=ztree.init($("#treeDemo"),setting,treeNodes);

[0147] / / Query all images converted by file

[0148] picResult=getAuthAllFilePic(dict);

[0149] / / 3D simulation book flipping effect realization

[0150] $("#book").turn({

[0151] width:'66.1vw',

[0152] height:'84.8vh',

[0153] duration:1000, / / Page turning speed, the smaller the value, the faster

[0154] acceleration:!isChrome(),

[0155] gradients:true, / / Enable gradients

[0156] autoCenter:true, / / Automatically center

[0157] elevation:50, / / Elevation from the edge of the animation book when turning pages

[0158] pages:filePage, / / Number of pages

[0159] when:{

[0160] turned:function(e,page){

[0161] $('.Book.pagenumIpt').val(page);

[0162] varcurrFileId=picResult[page-1].fileId;

[0163] varpicId=picResult[page-1].picId;

[0164] varsrc=interface_upload_view+" / "+picId;

[0165] $("#"+picId).attr("src",src);

[0166] / / Set directory tree selection

[0167] selectNode(currFileId,"tree");

[0168] Based on the above method, a device for realizing a 3D simulated book flipping effect supporting a file directory in this embodiment includes: at least one memory and at least one processor;

[0169] The at least one memory is used to store a machine-readable program;

[0170] The at least one processor is used to call the machine-readable program to execute a method for realizing a 3D simulated book flipping effect supporting a file directory.

[0171] The above-mentioned specific implementations are only specific cases of the present invention. The patent protection scope of the present invention includes but is not limited to the above-mentioned specific implementations. Any technical solutions that comply with the claims of the present invention and any appropriate changes or substitutions made by ordinary technicians in the relevant technical field shall fall within the patent protection scope of the present invention.

[0172] Although embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the appended claims and their equivalents.< / uploadfileinfo> < / uploadfileinfo>

Claims

1. A method for realizing a 3D simulated book flipping effect supporting a file directory, characterized in that: The steps are as follows: S1. Set the file directory to store related files; S2. Convert non-PDF files into PDF; S3, PDF converts each page into image format according to page number; S4. Realize the 3D simulated book flipping effect in the form of file directory.

2. A method for realizing a 3D simulated book flipping effect supporting a file directory according to claim 1, characterized in that: In step S1, the directory is customized with multiple levels, and also includes a directory copy function, which allows you to customize the copying of a certain level of directory information and directly copy the directory and its sub-directories; Upload files to the set file directory and bind them to the directory, and specify the file storage method through the configuration file.

3. A method for realizing a 3D simulated book flipping effect supporting a file directory according to claim 2, characterized in that: In step S2, two conversion methods are provided for converting non-PDF type files to PDF, namely, conversion using Aspose and conversion using OpenOffice; Aspose introduces the related dependency packages of Aspose, and introduces the dependency packages of aspose.words, aspose.cells, and aspose.slides into the project library, where aspose.words is used for Word documents, aspose.cells is used for Excel files, and aspose.slides is used for PowerPoint files. The save method in the corresponding dependency package is used to generate the corresponding type of file into a PDF file; To use OpenOffice, you need to install the OpenOffice service. Download the OpenOffice installation package and install it. Import the org.openoffice and org.jodconverte related dependency packages. Use java to call the OpenOffice service and use the convert method to output the input file stream to a PDF file.

4. The method for realizing a 3D simulated book flipping effect supporting a file directory according to claim 3, characterized in that: After the non-PDF type file is converted to PDF, the PDF file path (PDF_FILE_PATH) field in the file table is updated to the PDF file path address, and the file status (FILE_STATUS) field in the file table is set to 01 to be converted, which is convenient for querying in the subsequent PDF to image conversion steps.

5. A method for realizing a 3D simulated book flipping effect supporting a file directory according to claim 4, characterized in that: In step S3, further comprising: (1) Configure scheduled tasks; (2) Integrate the PDFBox library, call the image conversion method, and start image conversion.

6. A method for realizing a 3D simulated book flipping effect supporting a file directory according to claim 5, characterized in that: In step (1), the periodic polling status is files that are to be converted and files that have previously been converted with errors, that is, files whose FILE_STATUS field value is 01 or 04; Use ScheduledThreadPoolExecutor to initiate scheduled tasks. ScheduledThreadPoolExecutor uses multiple threads to execute tasks.

7. A method for realizing 3D simulated book turning effect supporting file directory according to claim 6, characterized in that: In step (2), each PDF file in the task will call the image conversion method to start the image conversion. The PDF will be converted into images in sequence according to the page number and stored in the file table in order. When the PDF file starts converting images, the converted PDF file status FILE_STATUS in the file table is updated to 02; After the converted image is successfully completed, the image information is stored in the file table, the business foreign key MASTER_ID is set to the primary key of the corresponding PDF file, and the converted PDF file status FILE_STATUS is updated to 03, and the total number of file images FILE_PAGE is updated to the total number of converted images; If an error occurs during the image conversion process, the converted PDF file status FILE_STATUS is updated to 04, and the conversion is started again in the next task.

8. The method for realizing 3D simulated book flipping effect supporting file directory according to claim 7, characterized in that: In step S4, the front end queries the specified file directory and bound file information through AJAX and displays the file directory tree; Query the image information corresponding to all converted files and return them according to the sequence number; use the jQuery plug-in zTree to display the file directory tree; use Turn.js and the collaborative work of HTML, CSS and JavaScript to simulate the structure of the book and the effect of page flipping, and display the 3D simulation book flipping animation; Click the book page with the mouse to realize 3D page turning, or directly enter the page number to jump to the corresponding page. Click any file directory to directly jump to the first page of the file in the corresponding directory.

9. A device for realizing 3D simulated book flipping effect supporting file directory, characterized in that: include: at least one memory and at least one processor; The at least one memory is used to store a machine-readable program; The at least one processor is configured to call the machine-readable program to execute the method according to any one of claims 1 to 8.