CN115114234B - File preview method, device, server, terminal and storage medium - Google Patents

File preview method, device, server, terminal and storage medium Download PDF

Info

Publication number
CN115114234B
CN115114234B CN202211040536.7A CN202211040536A CN115114234B CN 115114234 B CN115114234 B CN 115114234B CN 202211040536 A CN202211040536 A CN 202211040536A CN 115114234 B CN115114234 B CN 115114234B
Authority
CN
China
Prior art keywords
file
terminal
preview
original
original file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202211040536.7A
Other languages
Chinese (zh)
Other versions
CN115114234A (en
Inventor
杨静敏
刘恒
何坚文
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Original Assignee
Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch filed Critical Taiping Financial Technology Services Shanghai Co Ltd Shenzhen Branch
Priority to CN202211040536.7A priority Critical patent/CN115114234B/en
Publication of CN115114234A publication Critical patent/CN115114234A/en
Application granted granted Critical
Publication of CN115114234B publication Critical patent/CN115114234B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Abstract

The application relates to a preview method, a preview device, a server, a terminal and a storage medium. The method comprises the following steps: the method comprises the steps of receiving an original file sent by an uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file. And under the condition of receiving a preview request sent by a preview terminal, responding to the preview request, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file. The file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file, and the preview request comprises the identification information of the original file. By means of the method, the original file restoration degree is ensured, meanwhile, user waiting is avoided, time consumed by previewing is shortened, and previewing efficiency is improved.

Description

File preview method, device, server, terminal and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a file preview method, apparatus, server, terminal, and storage medium.
Background
With the development of communication technology, more and more users use mobile phones, PCs and other terminal devices to transmit and refer to files (such as word, excel, PPT, and pictures).
Due to differences of different operating systems used between different terminal devices, different software versions for opening files of corresponding types, and the like, a phenomenon that the files cannot be previewed normally occurs.
In the traditional technology, when a user sends a preview request, a terminal device converts a file into a self-adaptive reading format and then presents the file in front of the user, and the conversion process is 'user waiting time', so that the use experience of the user is reduced to a great extent, the preview time is increased, and the preview efficiency is reduced.
Disclosure of Invention
In view of the foregoing, it is necessary to provide a file preview method, apparatus, server, terminal and storage medium.
A method of previewing documents, comprising:
receiving an original file sent by an uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
receiving a preview request sent by a preview terminal; the preview request comprises identification information of an original file;
and responding to the preview request, determining the resource address of the converted file according to the file recording information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
In one embodiment, before converting the original file into the portable document format, the method further includes:
judging whether the original file is encrypted;
if the original file is not encrypted, executing the step of converting the original file into a portable document format;
and if the original file is encrypted, decrypting the original file to obtain the decrypted original file.
In one embodiment, decrypting the original file to obtain a decrypted original file includes:
sending a password acquisition request to an uploading terminal;
receiving a file password sent by an uploading terminal;
and decrypting the original file by adopting the file password to obtain the decrypted original file.
In one embodiment, before converting the original file into the portable document format, the method further includes:
judging whether the original file is compressed or not;
if the original file is not compressed, executing the step of converting the original file into a portable document format;
and if the original file is compressed, decompressing the original file to obtain the decompressed original file.
In one embodiment, before receiving a preview request sent by a preview terminal, the method further includes:
receiving a modification instruction for the original file sent by a modification terminal, and modifying the original file according to the modification instruction to obtain a modified original file;
and converting the modified original file into a portable document format to obtain a new converted file, and updating file record information according to the corresponding relation between the identification information of the original file and the resource address of the new converted file.
A method of previewing a document, comprising:
receiving a preview instruction of a user to an original file, and sending a preview request to a server; the server is used for converting the original file into a portable document format to obtain a converted file, and the preview request comprises identification information of the original file;
receiving a resource address of a conversion file sent by a server in response to a preview request, and presenting the conversion file according to a storage address of the conversion file; the server is also used for generating file record information according to the resource address of the converted file, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file record information includes a correspondence between identification information of the original file and a resource address of the converted file.
In one embodiment, the method further includes:
receiving a password acquisition application sent by a server;
and receiving a file password input by a user, and sending the file password to the server.
In one embodiment, the method further includes:
and receiving the modified content of the original file by the user, generating a modified instruction carrying the modified content, and sending the modified instruction to the server.
A document previewing apparatus comprising:
the conversion module is used for receiving an original file sent by the uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
the receiving module is used for receiving a preview request sent by a preview terminal; the preview request comprises identification information of an original file;
and the sending module is used for responding to the preview request, determining the resource address of the converted file according to the file recording information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
An attachment preview device comprising:
the receiving and sending module is used for receiving a preview instruction of a user to the original file and sending a preview request to the server; the server is used for converting the original file into a portable document format to obtain a converted file, and the preview request comprises identification information of the original file;
the display module is used for receiving the resource address of the conversion file sent by the server in response to the preview request and presenting the conversion file according to the storage address of the conversion file; the server is also used for generating file record information according to the resource address of the converted file, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file record information includes a correspondence between identification information of the original file and a resource address of the converted file.
A server comprising a memory and a processor, the memory storing a computer program that when executed by the processor performs the steps of:
receiving an original file sent by an uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
receiving a preview request sent by a preview terminal; the preview request comprises identification information of an original file;
and responding to the preview request, determining the resource address of the converted file according to the file recording information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
A terminal comprising a memory and a processor, the memory storing a computer program, the processor when executing the computer program implementing the steps of:
receiving a preview instruction of an original file from a user, and sending a preview request to a server; the server is used for converting the original file into a portable document format to obtain a converted file, and the preview request comprises identification information of the original file;
receiving a resource address of a conversion file sent by a server in response to a preview request, and presenting the conversion file according to a storage address of the conversion file; the server is also used for generating file record information according to the resource address of the converted file, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file record information includes a correspondence between identification information of the original file and a resource address of the converted file.
A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of any of the methods described above.
According to the file previewing method, the file previewing device, the server, the terminal and the storage medium, the server receives the original file sent by the uploading terminal, converts the original file into the portable document format to obtain the converted file, and generates the file recording information according to the resource address of the converted file. And under the condition of receiving a preview request sent by a preview terminal, responding to the preview request, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file. The file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file, and the preview request comprises the identification information of the original file. Through the method, the server converts the original file into the conversion file in the portable document format in advance before the preview operation of the original file is triggered by the user through the preview terminal, so that the server can directly provide the conversion file in the portable document format corresponding to the original file for the preview terminal after the preview operation is triggered by the user, the user waiting is avoided while the original file reduction degree is ensured, the preview time is further shortened, the preview efficiency is improved, and the user experience is integrally improved.
Drawings
FIG. 1 is a diagram of an application environment of a file preview method in one embodiment;
FIG. 2 is a flowchart illustrating a file preview method according to an embodiment;
FIG. 3 is a flowchart illustrating a method for previewing documents in another embodiment;
FIG. 4 is a schematic diagram illustrating an embodiment of a process for decrypting an encrypted original file;
FIG. 5 is a flowchart illustrating a file preview method according to another embodiment;
FIG. 6 is a flowchart illustrating a method for previewing documents in another embodiment;
FIG. 7 is a flowchart illustrating a file preview method according to another embodiment;
FIG. 8 is a block diagram of a file preview configuration in one embodiment;
FIG. 9 is a block diagram showing the construction of a document previewing apparatus according to another embodiment;
FIG. 10 is an internal block diagram of a server in one embodiment;
fig. 11 is an internal structural view of a terminal in one embodiment.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is described in further detail below with reference to the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are merely illustrative of and not restrictive on the broad application.
The file preview method provided by the application can be applied to the application environment shown in fig. 1. Wherein the upload terminal 102 and the preview terminal 106 communicate with the server 104 through a network. When the file is transmitted, the uploading terminal 102 sends the original file to the server 104, and the server 104 sends the original file to the previewing terminal 106, during which the server converts the original file into a portable document format to obtain a converted file, and generates file record information according to the resource address of the converted file. The file record information includes the corresponding relation between the identification information of the original file and the resource address of the converted file. The preview terminal 102 sends a preview request including the identification information of the original file to the server 104, the server 104 determines the resource address of the converted file according to the file record information corresponding to the identification information of the original file in response to the preview request, and sends the resource address of the converted file to the preview terminal 106, and the preview terminal 106 presents the converted file at the preview terminal 106 according to the resource address of the converted file. The upload terminal 102 and the preview terminal 106 may be, but not limited to, various personal computers, notebook computers, smart phones, tablet computers, and portable wearable devices, and the server 104 may be implemented by an independent server or a server cluster composed of a plurality of servers.
Alternatively, the upload terminal 102 and the preview terminal 104 may be the same terminal or different terminals. In the following embodiment, the PC and the preview terminal 106 are described as an example of a mobile phone when uploading the terminal 102.
In one embodiment, as shown in fig. 2, a file preview method is provided, which is described by taking the application of the method to the server in fig. 1 as an example, and includes the following steps:
s210, receiving an original file sent by an uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file.
The file record information includes the corresponding relation between the identification information of the original file and the resource address of the converted file. Alternatively, the file record information may be recorded in a database table and stored in a database of the automated Office System (OADB).
Alternatively, the original file may be of the type of document, table, picture, slide, etc., and may be in the format of doc, docx, ppt, pptx, xls, xlsxx, xml, txt, jpg, jpeg, bmp, etc. In this embodiment, the type and format of the original file are not specifically limited.
Optionally, the identification information of the original file may be used to uniquely characterize the original file, and may be in the document instance number + ID + file format, and after output, the file is in "dcs _ document instance number + ID + file format". The Portable Document Format is a file Format which is not affected by an application program, an operating system, or a hardware device on a terminal, can faithfully reproduce each character, color, and image of an original, and may be a PDF (Portable Document Format). The Resource address of the transformation file is used to indicate the Resource location of the transformation file, and may be a Uniform Resource Locator (URL) of the transformation file.
Optionally, the conversion relationship supported by the server is as follows:
Figure 591843DEST_PATH_IMAGE002
the conversion relation can be expanded in real time to support conversion of different file formats.
Optionally, the server may receive a plurality of original files sent by the upload terminal, convert each original file into a portable document format, obtain a corresponding converted file, and generate corresponding file record information, where one original file corresponds to one piece of file record information, and the file record information includes a correspondence between identification information of the original file and a resource address of the corresponding converted file. For example, the original file W001 corresponds to the file record information a including the resource address URL01 of the converted file P001, the original file W002 corresponds to the file record information B including the resource address URL02 of the converted file P002.
Optionally, the server may convert the original file sent by the upload terminal into a portable document format at regular time, for example, the server performs the document format conversion every 10 min. And if the server receives the original file sent by the uploading terminal, the original file is immediately converted into a portable file format to obtain a converted file. Specifically, the server may only use a Document Conversion service (DCC) to convert the original file into a portable Document format.
Specifically, the server receives an original file sent by the uploading terminal, converts the original file into a PDF, obtains the converted original file, that is, a converted file, obtains a URL of the converted file, and generates file record information including a correspondence between identification information of the original file and the URL of the converted file.
And S220, receiving a preview request sent by the preview terminal.
Wherein the preview request includes identification information of the original file. The preview request is used to request a preview of the original file from the server.
Specifically, the preview terminal generates a preview request including identification information of an original file in response to a preview operation of the original file by a user, and transmits the preview request to the server. Correspondingly, the server receives the preview request sent by the preview terminal.
And S230, responding to the preview request, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
Specifically, the server responds to a preview request for the original file sent by the preview terminal, analyzes the preview request, obtains identification information of the original file, determines file record information corresponding to the identification information of the original file, and further determines a resource address of the converted file. For example, the server parses the identification information of the original file in the preview request to obtain W001, determines the file record information a corresponding to the original file W001, and further determines the resource address URL01 of the converted file P001 corresponding to the original file W001. And after determining the resource address of the converted file, the server sends the resource address of the converted file to the preview terminal, and the preview terminal acquires the converted file according to the resource address of the converted file and presents the converted file on the preview terminal for a user to preview.
In this embodiment, the server receives the original file sent by the upload terminal, converts the original file into a portable document format to obtain a converted file, and generates file record information according to a resource address of the converted file. And under the condition of receiving a preview request sent by a preview terminal, responding to the preview request, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, so as to send the resource address of the converted file to the preview terminal, and enabling the preview terminal to present the converted file according to the resource address of the converted file. The file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file, and the preview request comprises the identification information of the original file. Through the method, the server converts the original file into the conversion file in the portable document format in advance before the preview operation of the original file is triggered by the user through the preview terminal, so that the server can directly provide the conversion file in the portable document format corresponding to the original file for the preview terminal after the preview operation is triggered by the user, the user waiting is avoided while the original file reduction degree is ensured, the preview time is further shortened, the preview efficiency is improved, and the user experience is integrally improved.
In one embodiment, to avoid a failure of the server in previewing caused by not performing format conversion on the original file in time, after receiving a preview request sent by a preview terminal, the method further includes:
and the server determines whether corresponding file record information exists according to the identification information of the original file carried in the preview request.
Optionally, the server enables a thread pool to detect whether the identification information of the original file has corresponding file record information, i.e. whether format conversion has been performed, and in the case that the file record information corresponding to the identification information of the original file exists (format conversion has been performed), executes a step of determining a resource address of the converted file according to the file record information corresponding to the identification information of the original file in response to the preview request, and sending the resource address of the converted file to the preview terminal.
And under the condition that file record information corresponding to the identification information of the original file does not exist (format conversion is not carried out), carrying out format conversion on the original file in real time to obtain a conversion file in a portable document format, sending the resource address of the conversion file to a preview terminal, and generating file record information which corresponds to the original file and comprises the corresponding relation between the identification information of the original file and the resource address of the conversion file.
Optionally, in a case that the upload terminal sends the original file to multiple preview terminals through the server, the server only needs to respond to the preview request with the earliest sending time to convert the original file into a converted file in a portable document format, send the resource address of the converted file to the preview terminals, and generate file record information corresponding to the original file and including the correspondence between the identification information of the original file and the resource address of the converted file. For the received subsequent preview request, the server only needs to determine the resource address of the converted file according to the existing file record information, and then sends the determined resource address of the converted file to the preview terminal sending the preview request.
The subsequent preview request may be the preview terminal which issued the earliest preview request, or may be another preview terminal among the plurality of preview terminals.
Optionally, if the server fails to successfully convert the original file into the portable document format, a reason for failure in previewing is returned to the preview terminal. And if the reason for the failure in advance comprises that the format of the original file is a format which does not support the preview, namely a non-white list format, directly returning a prompt that the preview is not supported to the preview terminal.
In this embodiment, the server determines corresponding file record information according to the identification information of the original file carried in the preview request, so that, in the absence of the file record information corresponding to the identification information of the original file, format conversion is performed on the original file in real time to obtain a converted file in a portable file format, and then a resource address of the converted file is sent to the preview terminal, thereby avoiding a preview failure caused by that the server does not perform format conversion on the original file in time, and improving a success rate of file preview.
In one embodiment, to improve the preview effect of the converted file, before the step S230, the server calculates the file size of the converted file, and sends a preview prompt to the preview terminal to prompt the user that the file to be previewed is too large when the file size is larger than the configuration threshold. When the preview terminal is a mobile phone, the preview prompt can specifically display ' the file is too large and please preview at the PC ' end ' on the preview terminal. Therefore, the user is prompted to preview the file in a mode with better preview effect.
In one embodiment, in a case that the original file sent by the uploading terminal is encrypted, as shown in fig. 3, before the original file is converted into the portable document format in S210, the method further includes:
s310, judging whether the original file is encrypted.
Optionally, the server may determine, by using a third-party encryption detection tool, whether the original file is encrypted, and may also determine, according to a file header of the original file, whether the original file is encrypted.
S320, if the original file is not encrypted, executing the step of converting the original file into the portable document format.
S330, if the original file is encrypted, decrypting the original file to obtain the decrypted original file.
Specifically, if the server determines that the original file is not encrypted, the original file is directly converted into a portable document format reader = new PdfReader (inputFile). If the server determines that the original file is encrypted, the server decrypts the original file to obtain the decrypted original file reader = new PdfReader (inputFile, owpassbytes), and then converts the decrypted original file into a portable file format.
Optionally, a file password (code) of the original file may be correspondingly added to the file record information, where the file record information includes a corresponding relationship among the identification information of the original file, the resource address of the converted file, and the file password of the original file.
It should be noted that, after the preview terminal sends the preview request to the server, if the original file is encrypted, the server is further configured to send a password input request to the preview terminal, if a password input bullet box pops up on a display interface of the preview terminal, the user inputs a file password in the password input bullet box, the preview terminal feeds the file password back to the server again, and the server receives and verifies the file password and sends the resource address of the converted file corresponding to the original file to the preview terminal if the verification is successful.
In an optional embodiment, to improve the security of file transmission, as shown in fig. 4, the step S330 includes:
and S410, sending a password acquisition request to the uploading terminal.
The password obtaining request is used for obtaining a file password of the original file.
Specifically, after determining that the original file is encrypted, the server sends a password acquisition request to the uploading terminal that sends the original file, and specifically, a password input popup window may be popped up at the uploading terminal to acquire the file password of the original file.
And S420, receiving the file password sent by the uploading terminal.
Specifically, the user inputs a file password in a password input popup displayed by the uploading terminal, and the uploading terminal sends the file password to the server. Correspondingly, the server receives the file password sent by the uploading terminal.
S430, decrypting the original file by adopting the file password to obtain the decrypted original file.
Specifically, the server decrypts the original file by using the file password sent by the uploading terminal, and the decrypted original file can be obtained after decryption is successful.
In this embodiment, in order to be applicable to the case of encrypting an original file, before converting the original file into a portable document format, the server first determines whether the original file is encrypted, and sends a password acquisition request to the upload terminal in the case that the original file is encrypted, and receives a file password sent by the upload terminal, so as to decrypt the original file by using the file password, thereby obtaining a decrypted original file. And then whether the original file is encrypted or not, the original file can be converted into a conversion file in a portable document format, so that the original file reduction degree is ensured, meanwhile, the waiting of a user is avoided, and further, the application range of the file preview method is improved.
In an optional embodiment, to further protect the file and prevent information leakage, after the original file is converted into the portable document format in S210, the method further includes: and adding the watermark to the converted file to obtain the converted file added with the watermark.
Optionally, the server may add a static watermark to the converted file, where the watermark typeface may be a fixed typeface, such as "internal data, no external transmission", or may be the user name of the author editing the original file and the last four digits of the mobile phone. In this embodiment, the content, arrangement, font size, font transparency, and font type of the watermark are not specifically limited.
Optionally, the server may implement dynamic addition of the watermark on the original file through the java open source framework itext, and may also set display parameters of the watermark on the original file, such as transparency, position (x coordinate and y coordinate), and gradient, by using PdfGState.
In one embodiment, in a case that an original file sent by an uploading terminal is compressed, as shown in fig. 5, before converting the original file into a portable document format in the above S210, the method further includes:
s510, judging whether the original file is compressed or not.
Specifically, the server may determine whether the original file is compressed according to a filename suffix of the original file, and determine a compression type to decompress the original file using a decompression tool of the corresponding compression type. The file name suffix can represent the type of the corresponding file, for example, the file name suffix can be doc, xlsx, zip, rar, etc., doc represents that the corresponding file is a word file, xlsx represents that the corresponding file is an excel file, and zip and rar represent compressed files of the corresponding file.
S520, if the original file is not compressed, the step of converting the original file into a portable document format is executed.
S530, if the original file is compressed, decompressing the original file to obtain a decompressed original file.
Specifically, if the server determines that the original file is not compressed, the original file is directly converted into a portable document format. If the server determines that the original file is compressed, the server decompresses the original file, and specifically, an open source decompression tool corresponding to the compression type can be used for decompressing to obtain the decompressed original file, and then the decompressed original file is converted into a portable document format. For example, zip4j is used to decompress an original file with a compression type of zip, and unrar is used to decompress an original file with a compression type of rar.
Wherein, the decompression code is as follows:
if(ext.equals(“zip”)){
// zip compressed format files are processed using zip4j
zip4jUnzip (String source,Stringtarget,String password) ;
}else if(ext.equals(“rar”)){
Compressed files in// rar format are decompressed using an unrar process
unrar(String sourceRar,StringunrarPath,String password);
}
In an optional embodiment, after receiving a preview request sent by the preview terminal, if the original file is compressed and not decompressed, the server is further configured to decompress the original file in real time, and a specific decompression process is described in S530 and is not described herein again.
Optionally, the file record information further includes compression information of the compressed original file. Specifically, the method is characterized by using a compressed FILE table (MV _ FORM _ ZIP _ RAR _ FILE), which records a FILE record corresponding to each FILE decompressed from an original FILE, where the record includes a FILE id (identification information), a FILE name, a FILE suffix, a real FILE path (i.e., a URL of the original FILE), an upload person, an upload time, and an actual access path (i.e., a URL of a converted FILE) converted into a pdf.
Wherein, storing the compressed file table structure:
create table MV_FORM_ZIP_RAR_FILE
(
file _ ID NUMBER (10) not null, -File ID
FILE _ NAME VARCHAR (1024) — filename
CONTENT _ TYPE VARCHAR2 (32) - -, file suffix
TITLE VARCHAR2 (1024) — file title
REAL _ PATH VARCHAR2 (2048) — File Path
VERSION NUMBER(10),
UPLOADER _ ID NUMBER (10), -UPLOADER ID
UPLOADER VARCHAR2 (64), -uploading people
UPLOAD _ TIME DATE, -UPLOAD TIME
OBJECT _ TYPE NUMBER (5), -file TYPE
OBJECT _ ID NUMBER (10), - - -form ID
ENCRYPT_TYPE NUMBER(5),
GUID VARCHAR2(36),
PASSKEY VARCHAR2(256),
FOLDER_ID NUMBER(10),
FOLDER_TYPE VARCHAR2(20),
EXT1 VARCHAR2(200),
EXT2 VARCHAR2(2048),
OLD _ FILE _ ID NUMBER (10) not null, -original File ID, i.e. compressed File ID
P _ FOLDER VARCHAR2 (200) - -, catalog name
Optionally, to further improve the reduction degree of the original file, the server may assemble json data from file directories at different levels in the process of obtaining the converted file after decompression, and send the json data together with the converted file to the preview terminal so as to render and display the json data on the preview terminal.
The server can record the upper and lower level relation of the decompressed file into a database table after decompression, and organize json data of the upper and lower level relation of the file during foreground display, and the code implementation process is as follows:
MobilePortalFileExtVOfolderMobilePortalFileExtVO=newMobilePortalFileExtVO();
folderMobilePortal FileExtVO. SetIsroot ("1")/support one-level decompression
folderMobilePortalFileExtVO.setFolderName(fileVO.getTitle());
folderMobilePortalFileExtVO.setpFolderName("");
folderMobilePortalFileExtVO.setFileType("1");
folderMobilePortalFileExtVO.setDataId(dataId);
folderMobilePortalFileExtVO.setObjectType(fileVO.getObjectType());
folderMobilePortalFileExtVO.setContentType(fileVO.getContentType()!=
Figure 674068DEST_PATH_IMAGE004
fileVO.getContentType():"");
folderMobilePortal FileExtVO setpFlerId (0)// fixed set to 0
folderMobilePortalFileExtVO.setRealContentType(fileVO.getContentType()!=
Figure 676659DEST_PATH_IMAGE004
fileVO.getContentType():"");
Wherein the deletion authority is determined using foldermobileportFileExtVO setuploaderid (),/add by 2019.08.27
folderMobilePortalFileExtVO.setUploadTime(fileVO.getUploadTime());
folderMobilePortalFileExtVO.setTitle(fileVO.getTitle());
The fileType parameter value defines: default is 0, if the file identifier 1,2 decompressed for the compressed file indicates a folder, 3 indicates the situation that the compressed file fails to be compressed, 4 indicates an encrypted file, and 5 indicates that the compressed file has not been decompressed.
In this embodiment, in order to be suitable for a situation where an original file is compressed, a server determines whether the original file is compressed or not before converting the original file into a portable document format, determines a compression type according to a filename suffix of the original file when the original file is compressed, and decompresses the original file by using a decompression tool corresponding to the compression type to obtain the decompressed original file. And no matter whether the original file is compressed or not, the original file can be converted into a conversion file in a portable document format, so that the restoration degree of the original file is ensured, meanwhile, the waiting of a user is avoided, and further, the application range of the file previewing method is further expanded.
In one embodiment, if the upload terminal sends the original file to the plurality of preview terminals through the server, the plurality of preview terminals may modify the original file online, as shown in fig. 6, before receiving a preview request sent by the preview terminal, the method further includes:
s610, receiving a modification instruction for the original file sent by the modification terminal, and modifying the original file according to the modification instruction to obtain a modified original file.
The modification terminal is a preview terminal which sends a modification instruction to the server from the plurality of preview terminals, a user triggers a modification operation on an original file on the preview terminal, and the preview terminal serves as the modification terminal to generate the modification instruction carrying modified content and sends the modification instruction to the server. Correspondingly, the server receives a modification instruction for the original file sent by the modification terminal, and modifies the original file according to the modification instruction to obtain the modified original file.
S620, the modified original file is converted into a portable document format to obtain a new converted file, and the file record information is updated according to the corresponding relation between the identification information of the original file and the resource address of the new converted file.
Optionally, the server converts the modified original file into a portable document format to obtain a new converted file, and generates new file record information including a correspondence between the identification information of the original file and the resource address of the new converted file, so as to replace the previous file record information with the new file record information. For example, before S610, the file record information a corresponding to the original file W001 includes a corresponding relationship between the original file W001 and the resource address URL01 of the converted file P001, and after the server receives a modification instruction for the original file W001 from the modification terminal, the server modifies the original file W001 according to the modification instruction to obtain a modified file W001', converts the modified file W001' into the converted file P002 in the portable format, and further generates new file record information including a corresponding relationship between the resource position URLs 02 of the original file W001, the modified file W001', and the converted file P002, and replaces the previous file record information (including a corresponding relationship between the resource position URLs 01 of the original file W001 and the converted file P001) with the new file record information (including a corresponding relationship between the resource positions 02 of the original file W001, the modified file W001', and the converted file P002). The server can also obtain file record information corresponding to the identification information of the original file, directly replace the resource address of the conversion file in the file record information with the resource address of the new conversion file, and correspondingly replace the identification information of the original file with the identification information of the modified file.
Alternatively, the server may send the URL of the file in the updated file record information to the preview terminal through h5 to be cached at the preview terminal.
Optionally, the file record information further includes a preview record of each preview terminal for converting the file. Specifically, the preview (access) record can be expressed by the following structure:
create table MV_FILE_ACCESS_LOG
(
ID NUMBER(10) not null,
WORKITEM _ ID NUMBER (10), -form work item ID
FORMSET _ INST _ ID NUMBER (10) - - -document instance ID
FILE _ ID NUMBER (10), - -File ID
FILE _ NAME VARCHAR (1000) — filename
FILE TYPE NUMBER (10), -FILE TYPE
FILE _ URL VARCHAR2 (1000) — URL visited
CREATE _ DATE, - - -Access time
USER _ ID NUMBER (10), -USER
USER _ ACCOUNT number VARCHAR2 (200) -USER ACCOUNT number
In this embodiment, before receiving a preview request sent by a preview terminal, a server modifies an original file according to a modification instruction sent by a modification terminal when receiving a modification instruction for the original file, so as to obtain a modified original file, converts the modified original file into a portable document format, so as to obtain a new converted file, updates file record information according to a correspondence between identification information of the original file and a resource address of the new converted file, and determines a resource address of the converted file according to the updated file record information after subsequently receiving a preview instruction sent by the preview terminal, thereby ensuring synchronization between the content of the converted file presented by the preview terminal and the content of the modified original file, and improving accuracy of the preview file for previewing.
In one embodiment, as shown in fig. 7, a file preview method is provided, which is described with an application as an upload terminal location in fig. 1, and includes the following steps:
and S710, receiving a preview instruction of the original file from the user, and sending a preview request to the server.
The server is used for converting the original file into a portable document format to obtain a converted file, and the preview request comprises identification information of the original file;
s720, receiving the resource address of the conversion file sent by the server in response to the preview request, and presenting the conversion file according to the storage address of the conversion file.
The server is also used for generating file record information according to the resource address of the converted file, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file record information includes a correspondence between identification information of the original file and a resource address of the converted file.
In one embodiment, the method further includes:
receiving a password acquisition application sent by a server; and receiving a file password input by a user, and sending the file password to the server.
In one embodiment, the method further includes:
and receiving the modified content of the original file by the user, generating a modified instruction carrying the modified content, and sending the modified instruction to the server.
The specific steps executed by the upload terminal may refer to the steps executed by the upload terminal in the embodiments of fig. 2 to 6, and are not described herein again.
It should be understood that although the various steps in the flow charts of fig. 2-7 are shown in order as indicated by the arrows, the steps are not necessarily performed in order as indicated by the arrows. The steps are not performed in the exact order shown and described, and may be performed in other orders, unless explicitly stated otherwise. Moreover, at least some of the steps in fig. 2-7 may include multiple steps or multiple stages, which are not necessarily performed at the same time, but may be performed at different times, which are not necessarily performed in sequence, but may be performed in turn or alternately with other steps or at least some of the other steps.
In one embodiment, as shown in fig. 8, there is provided a document previewing apparatus including: a conversion module 801, a receiving module 802, and a sending module 803, wherein:
the conversion module 801 is configured to receive an original file sent by an upload terminal, convert the original file into a portable document format to obtain a conversion file, and generate file record information according to a resource address of the conversion file; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
the receiving module 802 is configured to receive a preview request sent by a preview terminal; the preview request comprises identification information of an original file;
the sending module 803 is configured to, in response to the preview request, determine a resource address of the converted file according to the file recording information corresponding to the identification information of the original file, and send the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
For specific limitations of the file preview device, reference may be made to the above limitations of the file preview method applied to the server, and details thereof are not repeated here. The modules in the file previewing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent from a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, as shown in fig. 9, there is provided a document previewing apparatus including: a transceiver module 901 and a presentation module 902, wherein:
the transceiver module 901 is configured to receive a preview instruction of an original file from a user, and send a preview request to a server; the server is used for converting the original file into a portable document format to obtain a converted file, and the preview request comprises identification information of the original file;
the display module 902 is configured to receive a resource address of a converted file sent by a server in response to a preview request, and present the converted file according to a storage address of the converted file; the server is also used for generating file record information according to the resource address of the converted file, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file record information includes a correspondence between identification information of the original file and a resource address of the converted file.
For specific limitations of the file preview device, reference may be made to the above limitations of the file preview method applied to the uploading terminal, and details are not described here again. The modules in the file previewing device can be wholly or partially implemented by software, hardware and a combination thereof. The modules can be embedded in a hardware form or independent of a processor in the computer device, and can also be stored in a memory in the computer device in a software form, so that the processor can call and execute operations corresponding to the modules.
In one embodiment, a server is provided, the internal structure of which may be as shown in FIG. 10. The computer device includes a processor, a memory, and a network interface connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system, a computer program, and a database. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The database of the computer device is used to store data required for file previewing. The network interface of the computer device is used for communicating with an external terminal through a network connection. The computer program is executed by a processor to implement a document preview method.
It will be appreciated by those skilled in the art that the configuration shown in fig. 10 is a block diagram of only a portion of the configuration associated with the present application, and is not intended to limit the computing device to which the present application may be applied, and that a particular computing device may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a server comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program implementing the steps of:
receiving an original file sent by an uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
receiving a preview request sent by a preview terminal; the preview request comprises identification information of an original file;
and responding to the preview request, determining the resource address of the converted file according to the file recording information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
In one embodiment, the processor, when executing the computer program, is further configured to perform any of the above-described steps of the file preview method applied to the server.
In one embodiment, a terminal is provided, an internal structure of which may be as shown in fig. 11. The computer device includes a processor, a memory, a communication interface, a display screen, and an input device connected by a system bus. Wherein the processor of the computer device is configured to provide computing and control capabilities. The memory of the computer device comprises a nonvolatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of an operating system and computer programs in the non-volatile storage medium. The communication interface of the computer device is used for carrying out wired or wireless communication with an external terminal, and the wireless communication can be realized through WIFI, an operator network, NFC (near field communication) or other technologies. The computer program is executed by a processor to implement a document preview method. The display screen of the computer equipment can be a liquid crystal display screen or an electronic ink display screen, and the input device of the computer equipment can be a touch layer covered on the display screen, a key, a track ball or a touch pad arranged on the shell of the computer equipment, an external keyboard, a touch pad or a mouse and the like.
Those skilled in the art will appreciate that the architecture shown in fig. 11 is merely a block diagram of some of the structures associated with the disclosed aspects and is not intended to limit the computing devices to which the disclosed aspects apply, as particular computing devices may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
In one embodiment, there is provided a terminal comprising a memory and a processor, the memory having a computer program stored therein, the processor when executing the computer program implementing the steps of:
receiving a preview instruction of an original file from a user, and sending a preview request to a server; the server is used for converting the original file into a portable document format to obtain a converted file, and the preview request comprises identification information of the original file;
receiving a resource address of a conversion file sent by a server in response to a preview request, and presenting the conversion file according to a storage address of the conversion file; the server is also used for generating file record information according to the resource address of the converted file, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file record information includes a correspondence between identification information of the original file and a resource address of the converted file.
In one embodiment, the processor, when executing the computer program, is further configured to implement any of the above-mentioned steps of the file preview method applied to the upload terminal.
In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, which when executed by a processor implements the steps of any of the above-described document preview methods.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware instructions of a computer program, which can be stored in a non-volatile computer-readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. Any reference to memory, storage, database or other medium used in the embodiments provided herein can include at least one of non-volatile and volatile memory. Non-volatile Memory may include Read-Only Memory (ROM), magnetic tape, floppy disk, flash Memory, optical storage, or the like. Volatile Memory can include Random Access Memory (RAM) or external cache Memory. By way of illustration and not limitation, RAM can take many forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), among others.
All possible combinations of the technical features in the above embodiments may not be described for the sake of brevity, but should be considered as being within the scope of the present disclosure as long as there is no contradiction between the combinations of the technical features.
The above-mentioned embodiments only express several embodiments of the present application, and the description thereof is more specific and detailed, but not construed as limiting the scope of the invention. It should be noted that, for a person skilled in the art, several variations and modifications can be made without departing from the concept of the present application, which falls within the scope of protection of the present application. Therefore, the protection scope of the present patent shall be subject to the appended claims.

Claims (11)

1. A file previewing method is applied to a server, the server is communicated with an uploading terminal and a previewing terminal, and the method comprises the following steps:
in the process that the uploading terminal transmits files to the previewing terminal through the server, the server receives original files sent by the uploading terminal, converts the original files into a portable document format to obtain converted files, and generates file recording information according to resource addresses of the converted files; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file, and the file recording information is stored in a database;
receiving a modification instruction for the original file sent by a modification terminal, and modifying the original file according to the modification instruction to obtain a modified original file; the modification terminal is a preview terminal which sends a modification instruction to the server; the uploading terminal and the preview terminal are different terminals;
converting the modified original file into a portable document format to obtain a new converted file, and updating the file record information according to the corresponding relation between the identification information of the original file and the resource address of the new converted file;
receiving a preview request sent by a preview terminal; wherein the preview request includes identification information of the original file;
and responding to the preview request, determining the resource address of the converted file according to the file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file.
2. The method of claim 1, wherein prior to said converting the original file to a portable document format, the method further comprises:
judging whether the original file is encrypted or not;
if the original file is not encrypted, executing the step of converting the original file into the portable document format;
and if the original file is encrypted, decrypting the original file to obtain the decrypted original file.
3. The method of claim 2, wherein decrypting the original file to obtain a decrypted original file comprises:
sending a password acquisition request to the uploading terminal;
receiving a file password sent by the uploading terminal;
and decrypting the original file by adopting the file password to obtain the decrypted original file.
4. The method of claim 1, wherein prior to said converting the original file to a portable document format, the method further comprises:
judging whether the original file is compressed or not;
if the original file is not compressed, executing the step of converting the original file into the portable document format;
and if the original file is compressed, decompressing the original file to obtain a decompressed original file.
5. A file preview method is applied to a preview terminal, a server is communicated with an upload terminal and the preview terminal, and the method is characterized by comprising the following steps:
receiving a preview instruction of a user to an original file, and sending a preview request to a server; the server is used for converting the original file into a portable document format in the process of file transmission to the preview terminal to obtain a converted file, and the preview request comprises identification information of the original file;
receiving the resource address of the conversion file sent by the server in response to the preview request, and presenting the conversion file according to the storage address of the conversion file; the server is also used for generating file record information according to the resource address of the converted file and storing the file record information into a database; determining the resource address of the converted file according to file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
the method further comprises the following steps:
receiving a resource address of a new conversion file sent by the server based on the updated file recording information, and presenting the new conversion file according to the resource address of the new conversion file; the server receives a modification instruction for the original file sent by a modification terminal, and modifies the original file according to the modification instruction to obtain a modified original file; the server converts the modified original file into a portable document format to obtain a new converted file, and updates the file record information according to the corresponding relation between the identification information of the original file and the resource address of the new converted file; the modification terminal is a preview terminal which sends a modification instruction to the server; the uploading terminal and the previewing terminal are different terminals.
6. The method of claim 5, further comprising:
receiving a password acquisition application sent by the server;
and receiving a file password input by a user, and sending the file password to the server.
7. A file previewing apparatus, applied to a server, the server communicating with an upload terminal and a preview terminal, the apparatus comprising:
in the process that the uploading terminal transmits the file to the previewing terminal through the server, a conversion module in the server is used for receiving an original file sent by the uploading terminal, converting the original file into a portable document format to obtain a converted file, and generating file record information according to a resource address of the converted file; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file, and the file recording information is stored in a database;
the receiving module is used for receiving a preview request sent by the preview terminal; wherein the preview request includes identification information of the original file;
a sending module, configured to respond to the preview request, determine a resource address of the converted file according to file record information corresponding to the identification information of the original file, and send the resource address of the converted file to the preview terminal, so that the preview terminal presents the converted file according to the resource address of the converted file;
the conversion module is also used for receiving a modification instruction for the original file sent by a modification terminal and modifying the original file according to the modification instruction to obtain a modified original file; converting the modified original file into a portable document format to obtain a new converted file, and updating the file record information according to the corresponding relation between the identification information of the original file and the resource address of the new converted file; the modification terminal is a preview terminal which sends a modification instruction to the server; the uploading terminal and the previewing terminal are different terminals.
8. An attachment previewing device is applied to a previewing terminal, a server is communicated with an uploading terminal and the previewing terminal, and the attachment previewing device comprises:
the receiving and sending module in the preview terminal is used for receiving a preview instruction of a user to the original file and sending a preview request to the server; the server is used for converting the original file into a portable document format in the process of file transmission to the preview terminal to obtain a converted file, and the preview request comprises identification information of the original file;
the display module is used for receiving the resource address of the conversion file sent by the server in response to the preview request and presenting the conversion file according to the storage address of the conversion file; the server is also used for generating file record information according to the resource address of the converted file and storing the file record information into a database; determining the resource address of the converted file according to file record information corresponding to the identification information of the original file, and sending the resource address of the converted file to the preview terminal; the file recording information comprises the corresponding relation between the identification information of the original file and the resource address of the converted file;
the transceiver module is further configured to receive a resource address of a new conversion file sent by the server based on the updated file recording information, and present the new conversion file according to the resource address of the new conversion file; the server receives a modification instruction for the original file sent by a modification terminal, and modifies the original file according to the modification instruction to obtain a modified original file; the server converts the modified original file into a portable document format to obtain a new converted file, and updates the file record information according to the corresponding relation between the identification information of the original file and the resource address of the new converted file; the modification terminal is a preview terminal which sends a modification instruction to the server; the uploading terminal and the previewing terminal are different terminals.
9. A server comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program implements the steps of the method of any one of claims 1 to 4.
10. A terminal comprising a memory and a processor, the memory storing a computer program, wherein the processor when executing the computer program performs the steps of the method according to claim 5 or 6.
11. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the steps of the method according to any one of claims 1 to 6.
CN202211040536.7A 2022-08-29 2022-08-29 File preview method, device, server, terminal and storage medium Active CN115114234B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211040536.7A CN115114234B (en) 2022-08-29 2022-08-29 File preview method, device, server, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211040536.7A CN115114234B (en) 2022-08-29 2022-08-29 File preview method, device, server, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN115114234A CN115114234A (en) 2022-09-27
CN115114234B true CN115114234B (en) 2023-01-10

Family

ID=83335920

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211040536.7A Active CN115114234B (en) 2022-08-29 2022-08-29 File preview method, device, server, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN115114234B (en)

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509504A (en) * 2018-03-02 2018-09-07 广州视源电子科技股份有限公司 The online method for previewing of document, device, equipment, client and storage medium
CN110582764A (en) * 2019-07-11 2019-12-17 深圳市鹰硕技术有限公司 file preview method, device and storage medium

Family Cites Families (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9098474B2 (en) * 2011-10-26 2015-08-04 Box, Inc. Preview pre-generation based on heuristics and algorithmic prediction/assessment of predicted user behavior for enhancement of user experience
US9195636B2 (en) * 2012-03-07 2015-11-24 Box, Inc. Universal file type preview for mobile devices
CN105045802B (en) * 2015-05-22 2019-05-07 杭州亿方云网络科技有限公司 A kind of polymorphic type previewing file system of message-driven
CN107515945A (en) * 2017-08-30 2017-12-26 四川长虹电器股份有限公司 A kind of method of the preview document in webpage
CN108256114B (en) * 2018-02-09 2021-02-02 金蝶软件(中国)有限公司 Document online preview method and device, computer equipment and storage medium
CN110619113A (en) * 2019-09-06 2019-12-27 北京新橙科技有限公司 Method and device for previewing iOS specific format file
CN113111281A (en) * 2020-01-13 2021-07-13 长沙市海图科技有限公司 DWG drawing preview service method, system and storage medium
CN112069132A (en) * 2020-07-31 2020-12-11 广东飞企互联科技股份有限公司 Attachment online preview method, device, equipment and medium
CN114564451A (en) * 2020-11-27 2022-05-31 永中软件股份有限公司 Method for realizing retrieval of files and labels in network disk based on java

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108509504A (en) * 2018-03-02 2018-09-07 广州视源电子科技股份有限公司 The online method for previewing of document, device, equipment, client and storage medium
CN110582764A (en) * 2019-07-11 2019-12-17 深圳市鹰硕技术有限公司 file preview method, device and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
Automated Document Conversion System for Simple Multimedia Platforms;R. P. Martinez-Alvarez 等;《2010 7th IEEE Consumer Communications and Networking Conference》;20100225;1-2 *
Performance analysis of e-Archive invoice processing on different embedded platforms;Salih Bayar;《2016 IEEE 10th International Conference on Application of Information and Communication Technologies (AICT)》;20170727;1-4 *
文件在线预览服务快速响应技术研究;李华青;《中国优秀硕士学位论文全文数据库 信息科技辑》;20200115(第01(2020)期);I139-160 *

Also Published As

Publication number Publication date
CN115114234A (en) 2022-09-27

Similar Documents

Publication Publication Date Title
US11061991B2 (en) Secure document sharing
US9817615B2 (en) Network based font management for imaging devices
EP2849086A2 (en) Font management for editing electronic documents
US20080301431A1 (en) Text security method
US9223528B2 (en) Electronic content management workflow
US7933924B2 (en) Document objects
JP2007026427A (en) Information management method using managing symbol and information management server
US20220114272A1 (en) Server-side rendering password protected documents
CN114650154A (en) Webpage permission behavior control method and device, computer equipment and storage medium
KR20140040994A (en) Font processing method for maintaining document layout, and computer-readable recording medium with font processing program for the same
CN114615031A (en) File storage method and device, electronic equipment and storage medium
CN111222153B (en) Application program authority management method and device and storage medium
JP5355345B2 (en) Document browsing system and control method thereof
KR101334589B1 (en) Font processing method for maintaining document layout, and computer-readable recording medium for the same
CN115114234B (en) File preview method, device, server, terminal and storage medium
US6714950B1 (en) Methods for reproducing and recreating original data
KR101346284B1 (en) Method for producing an encrypted file and decrypting the encrypted file, computer readable recording medium a program for implementing the methods
CN114547564B (en) Document processing method, device and equipment
US9342663B2 (en) Distributing media with variable resolution and format
CN113590564A (en) Data storage method and device, electronic equipment and storage medium
KR20200032379A (en) Document Sending Method based on Cloud system, Device, and Computer Program Thereof
CN113127419B (en) File detection method, device, computer equipment and storage medium
CN117131523A (en) Service file sending method and device and electronic equipment
CN117494076A (en) Page data processing method and device, electronic equipment and storage medium
KR101573012B1 (en) Business-use image management system and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant