CN116566965A - Processing method of OFD large file - Google Patents

Processing method of OFD large file Download PDF

Info

Publication number
CN116566965A
CN116566965A CN202310840242.0A CN202310840242A CN116566965A CN 116566965 A CN116566965 A CN 116566965A CN 202310840242 A CN202310840242 A CN 202310840242A CN 116566965 A CN116566965 A CN 116566965A
Authority
CN
China
Prior art keywords
ofd
file
subfiles
web client
server
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.)
Granted
Application number
CN202310840242.0A
Other languages
Chinese (zh)
Other versions
CN116566965B (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.)
Shandong Invent Intelligent Technology Co ltd
Original Assignee
Shandong Invent Intelligent Technology Co ltd
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 Shandong Invent Intelligent Technology Co ltd filed Critical Shandong Invent Intelligent Technology Co ltd
Priority to CN202310840242.0A priority Critical patent/CN116566965B/en
Publication of CN116566965A publication Critical patent/CN116566965A/en
Application granted granted Critical
Publication of CN116566965B publication Critical patent/CN116566965B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/02Protocols based on web technology, e.g. hypertext transfer protocol [HTTP]
    • 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
    • G06F16/172Caching, prefetching or hoarding of files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/90Details of database functions independent of the retrieved data types
    • G06F16/95Retrieval from the web
    • G06F16/958Organisation or management of web site content, e.g. publishing, maintaining pages or automatic linking
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/55Push-based network services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/50Network services
    • H04L67/56Provisioning of proxy services
    • H04L67/568Storing data temporarily at an intermediate stage, e.g. caching
    • H04L67/5682Policies or rules for updating, deleting or replacing the stored data
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Computer Security & Cryptography (AREA)
  • Data Mining & Analysis (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Computer Hardware Design (AREA)
  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention relates to the field of OFD quick reading and discloses a processing method of an OFD large file. The method comprises the steps that after a server receives an OFD file opening request sent by a WEB client, whether the OFD file is opened or not is searched in a cache, if the OFD file is not opened, the OFD file is obtained in an OFD file pool, the OFD file is disassembled into a plurality of OFD subfiles in the cache, necessary OFD subfiles are extracted to serve as necessary files, the unextracted OFD subfiles are generated into an unloaded subfile list, and the necessary files and the unloaded subfile list are packed into an abbreviated OFD file and transmitted to the WEB client. The proposal reduces the processing pressure of the client, saves the interactive data flow, shortens the processing time of the client and ensures that the WEB reader has strong functions and performances.

Description

Processing method of OFD large file
Technical Field
The invention relates to the field of OFD quick reading, in particular to a processing method of an OFD large file.
Background
Currently, readers of OFD files are roughly classified into conventional desktop OFD readers and WEB readers: conventional desktop OFD readers typically have the following problems when handling OFD files: the desktop OFD reader is inconvenient to process files located at a server side, and online reading is difficult to achieve, so that most of the online reading is performed by people, local OFD files are opened, remote OFD files are usually required to be downloaded to the local and then processed, and downloading of larger files, particularly files with hundreds of megabytes, is required to consume a large amount of time, influence reading experience, occupy bandwidth and influence use of other people. Secondly, the existing desktop OFD reader is not easy to combine with a service system, and a reader program can freely access a local hard disk space, so that potential safety hazards exist, and the program is easy to infect viruses; furthermore, the program is more troublesome to upgrade and is not easy to adapt to different platforms.
WEB readers have advanced relative to desktop readers when handling OFD files, but still have some problems:
the method for processing the OFD file by the WEB reader is that a picture is generated at a server side and then downloaded to a local place for display as required, when the user jumps to a certain page in the method, the server side is required to be informed to draw, and then the drawn picture is downloaded to a client side for display with a certain delay. Affecting the reading experience of the user; meanwhile, the space occupied by the high-resolution high-quality picture is large, after all pages are converted into the picture form, the total size of the picture far exceeds that of an OFD file, and the generation of the whole page of picture is slow, so that the OFD file cannot be displayed in a high-resolution mode; when the client side has the requirements of layered display and the like, the client side also needs to redraw the client side; after the user adds the content such as the annotation watermark, the content still needs to be drawn again to the server side and then can be displayed; for the mobile end, reading all pages takes more traffic; when the local file is read, the local file needs to be uploaded to a server, and the large file is inconvenient.
Another way for the WEB reader to process the OFD file is to perform complete processing through the client, that is, the client draws the OFD file in real time to perform reading and processing, and when this way is adopted: when processing large files, the requirements on the client are high. Downloading a larger online OFD file takes up a higher bandwidth and takes a certain amount of time to complete, and thus the waiting time for a large file user to read the first page is long. Because the WEB client resources are limited, oversized files are not usually processed, and in addition, when files are changed, the changed files need to be uploaded to a server, and bandwidth needs to be occupied again. For mobile terminals, traffic is very consumed.
Therefore, there is a need for a method for processing large OFD files.
Disclosure of Invention
The invention aims to provide a processing method capable of realizing an OFD large file;
a processing method of an OFD large file comprises the following steps:
(1) The method comprises the steps that a server receives an OFD file opening request sent by a WEB client, the server searches a cache for whether the OFD file is opened, if the OFD file is not opened in the cache, the OFD file is obtained in an OFD file pool, then the OFD file is disassembled into a plurality of OFD subfiles in the cache, part of necessary OFD subfiles are extracted to serve as necessary files, the unextracted OFD subfiles are generated into an unloaded subfile list, and the necessary subfiles and the unloaded subfile list are packaged into an abbreviated OFD file;
(2) If the OFD file is already opened in the cache of the step (1), sending a abbreviated OFD file of the OFD file to the client, wherein necessary files in the abbreviated OFD file can meet the requirement of preliminary display on the WEB client;
(3) When a user turns over and needs to load other OFD subfiles, the WEB client sends a request to the server according to the unloaded subfile list, the server sends the corresponding OFD subfiles in the cache to the WEB client, and the WEB client processes the OFD subfiles;
(4) When a user modifies an OFD file at a WEB client, the WEB client modifies a local loaded OFD sub-file;
(5) The modified or newly added OFD subfiles can be stored locally at the WEB client or stored in the server, when the modified or newly added OFD subfiles are stored in the server, the WEB client packages the modified or newly added OFD subfiles to generate a new file package, meanwhile, the unmodified OFD subfiles generate a subfile reference list, the WEB client sends the new file package and the subfile reference list to the server together, the server receives the new file package and the subfile reference list sent by the WEB client, and then, the server retrieves corresponding OFD subfiles from a cache according to the subfile reference list, and combines the corresponding OFD subfiles with the new files to form a complete new OFD file for storage and updating the cache.
Further, in step (4), when the user adds the endorsement watermark to the OFD file at the WEB client, if the OFD sub-file to which the endorsement watermark is required to be added is local to the WEB client, the endorsement watermark is added to the local loaded OFD sub-file through the WEB client; if the OFD subfiles needing to be added with the endorsements and the watermarks are at the server, the corresponding OFD subfiles are obtained from the server according to the step (3), and then the endorsements and the watermarks are added; and (5) storing the modified OFD subfiles after the endorsement and the watermark are added through the WEB client.
Further, in step (4), when the user splits the OFD file at the WEB client, the splitting is that the user splits the required part of the file from the original file to form a new OFD file; if the OFD subfiles needing to be split are local to the WEB client, splitting the local OFD subfiles through the WEB client to form a new OFD file; if the OFD subfiles which need to be split are at the server, splitting is carried out after the corresponding OFD subfiles are obtained from the server according to the step (3), a new OFD file is formed, a subfile reference list is generated by the OFD subfiles of the new OFD file, and the subfile reference list is stored in the mode of the step (5).
Further, in step (4), when the user merges the OFD files at the WEB client, the merging is to merge the pages required in the plurality of OFD files into a new OFD file; if the OFD subfiles to be combined are local to the WEB client, combining the local OFD subfiles through the WEB client to form a new OFD file; if the OFD subfiles needing to be combined are at the server, the corresponding OFD subfiles are obtained from the server according to the step (3), and then are combined, and a new OFD file is formed; and (5) generating a sub-file reference list by taking the OFD sub-files of the new OFD files as catalogues through the new OFD files combined by the WEB client, and storing in a mode of the step (5).
Further, the method also comprises a signature verification step: when a user performs signature verification on an OFD file at a WEB client, determining an OFD subfile list needing signature verification through the WEB client, after receiving the OFD subfile list needing signature verification, a server invokes corresponding OFD subfiles from a cache, performs signature verification calculation on the OFD subfiles at the server, and sends a signature verification calculation result to the WEB client; the fingerprint or signature of the user is calculated through the WEB client, the signature verification calculation result sent to the WEB client by the server is compared with the calculation result of the fingerprint or signature of the user through the WEB client, and whether the user passes the signature verification is judged by the WEB client.
Further, the data transmission between the server and the WEB client is encrypted transmission.
Compared with the prior art, the invention has the beneficial effects that:
the scheme can avoid that the large file is transmitted to the client at one time, and the required content is pushed to the client as required, so that excessive occupation of a network is avoided, and the use of mobile flow is reduced; meanwhile, the client side also adopts a mode of modifying and calculating according to the need when modifying and checking the file, so that the client side is prevented from carrying out a large amount of modification and calculation processing; when the modified file is stored, the most convenient mode is adopted, so that the processing pressure of the client is reduced, the time for processing the OFD large file by the client is shortened, and the reading experience of a user is greatly improved.
Drawings
FIG. 1 is a flow chart of the invention for opening a remote OFD file;
FIG. 2 is a flow chart of the invention for scrolling through OFD files;
FIG. 3 is a flow chart of the method for adding endorsements and watermarks to an OFD file;
fig. 4 is a flowchart of the present invention for signing OFD files;
FIG. 5 is a flow chart of splitting an OFD file according to the present invention;
FIG. 6 is a flow chart of merging OFD files according to the present invention;
fig. 7 is a flowchart of the storing of an OFD file according to the present invention.
Detailed Description
The following description of the embodiments of the present invention will be made clearly and completely with reference to the accompanying drawings, in which it is apparent that the embodiments described are only some embodiments of the present invention, but not all embodiments. All other embodiments, which are obtained by a worker of ordinary skill in the art without creative efforts, are within the protection scope of the present invention based on the embodiments of the present invention.
A processing method of an OFD large file comprises the following steps:
(1) When a remote OFD file needs to be opened, as shown in fig. 1, a server receives an OFD file opening request sent by a WEB client, the server searches a cache for whether the OFD file is opened, if the OFD file is not opened in the cache, the OFD file is obtained in an OFD file pool, then the OFD file is disassembled into a plurality of OFD subfiles in the cache, part of necessary OFD subfiles in the OFD file are extracted to serve as necessary files, an unloaded OFD subfile list is generated by the unextracted OFD subfiles, and the necessary subfiles and the unloaded subfile list are packed into an abbreviated OFD file;
(2) If the OFD file is already opened in the cache of the step (1), sending a abbreviated OFD file of the OFD file to the client, wherein necessary files in the abbreviated OFD file can meet the requirement of preliminary display on the WEB client; the necessary file may contain, for example, the contents of the first few pages, the total number of pages, document information, etc. of the OFD file for viewing by the user.
(3) When a user turns over an OFD file, as shown in FIG. 2, and when other OFD subfiles are required to be loaded, a WEB client sends a request to a server according to an unloaded subfile list, the user needs to turn over or use which OFD subfiles, the WEB client sends the unloaded subfile list corresponding to the OFD subfiles to a server, the server sends the corresponding OFD subfiles in a cache to the WEB client, and the WEB client reads or processes the OFD subfiles;
the OFD file itself is a ZIP file, and contains many XML, picture, font, etc. files, which together define the content of the OFD file. For convenience of description, these files contained therein are collectively referred to as OFD subfiles.
Some OFD files have a large number of pages and pictures, and still some OFD files contain many video, audio and other accessories, resulting in a single OFD file exceeding 100M and even reaching several G. If such large files are downloaded locally, the download time will be relatively long, and the entire unit of network will be affected, and if traffic download is used outside, much traffic costs will be consumed. The whole large file is opened and processed by the WEB client after being downloaded, and a period of time is needed to wait because the file is too large. For oversized files, it is highly unsuitable to download them completely for re-reading.
The server side unwraps the oversized OFD file and only sends a small amount of necessary data to the WEB client side, and the WEB client side displays basic contents, such as the first few pages of contents, the total page number, document information and the like, according to the small amount of data. When the user needs to watch other pages, the server side pushes the content required by the pages to the WEB client side, so that push-on-demand is realized.
(4) When a user modifies an OFD file at a WEB client, the WEB client modifies a local loaded OFD sub-file;
(5) When a user stores an OFD file, as shown in fig. 7, the modified or newly added OFD subfile can be stored locally at a WEB client or stored to a server, when the modified or newly added OFD subfile is stored to the server, the WEB client packages the modified or newly added OFD subfile to generate a new file package, meanwhile, the unmodified OFD subfile generates a subfile reference list, the WEB client sends the new file package and the subfile reference list to the server together, and after the server receives the new file package and the subfile reference list sent by the WEB client, the server retrieves the corresponding OFD subfile from a cache according to the subfile reference list, combines the corresponding OFD subfile with the new file to form a complete new OFD file, stores and updates the cache.
Modification of add endorsements and watermarks to OFD files:
as shown in fig. 3, in step (4), when a user adds an endorsement watermark to an OFD file at a WEB client, if an OFD sub-file to which an endorsement and watermark are required to be added is local to the WEB client, the endorsement and watermark are added to the locally loaded OFD sub-file through the WEB client; if the OFD subfiles needing to be added with the endorsements and the watermarks are at the server, the corresponding OFD subfiles are obtained from the server according to the step (3), and then the endorsements and the watermarks are added; and (5) storing the modified OFD subfiles after the endorsement and the watermark are added through the WEB client.
The adding of the endorsements, the watermarks and the like is mainly completed in a WEB client, and the WEB client adds the watermarking, the endorsements and the like into a data structure existing in the current WEB client according to the requirements of users. Only when the OFD subfiles of the server are needed, the OFD subfiles are obtained from the server. The edited or added data structures are local to the WEB client side, can be directly stored in the WEB client side, can also be stored to the server side, when the data structures are stored to the server side, the data structures are converted into corresponding XML files to form a new file package, meanwhile, a sub-file reference list is generated by a list of the OFD sub-files which are not modified, then the new file package and the sub-file reference list are sent to the server side together, the server side invokes the corresponding OFD sub-files from the cache according to the sub-file list, and the corresponding OFD sub-files and the new file package are combined into a new complete OFD file to be stored and updated and cached.
Splitting the OFD file:
as shown in fig. 5, in step (4), when the user splits the OFD file at the WEB client, the splitting is that the user splits the required part of the file from the original file to form a new OFD file; carrying out OFD data structure analysis according to the splitting requirement, if the OFD subfiles needing to be split are local to the WEB client, carrying out data structure splitting on the local OFD subfiles through the WEB client to form a new OFD file; if the OFD subfiles which are required to be split are at the server, the corresponding OFD subfiles are obtained from the server according to the step (3), after the data structure is analyzed, splitting is carried out to form a new OFD file, a subfile reference list is generated by the OFD subfiles of the new OFD file, the new OFD file is saved in the mode of the step (5), and no new file package is formed because the split OFD file does not have the new OFD subfiles, the WEB client sends the subfile reference list to the server, after the server receives the subfile reference list, the corresponding OFD subfiles are called from a cache according to the subfile reference list to form a new complete OFD file, and the new OFD file after splitting is stored and updated.
Merging the OFD files:
as shown in fig. 6, there are two forms when merging OFD files, one is to merge ODF files simply from the server, that is, all OFD subfiles in the merged file exist in the cache of the server, and the other is to merge local files and files from the server, where some OFD subfiles in the merged form do not exist in the cache of the server.
When a user merges ODF files purely from a server at a WEB client, the merging is to merge pages required by a plurality of OFD files into a new OFD file; analyzing the OFD data structure, and if the OFD subfiles to be combined are local to the WEB client, combining the local OFD subfiles through the WEB client to form a new OFD file; if the structural data to be combined does not exist, namely the OFD subfiles are at the server, analyzing the data structure after acquiring the corresponding OFD subfiles from the server according to the step (3), and then carrying out data structure combination to form a new OFD file; the method comprises the steps that a new OFD file is merged through a WEB client, a sub-file reference list is generated by using an OFD sub-file of the new OFD file, and because the merged OFD file does not have the new OFD sub-file, no new file package is formed, the WEB client sends the sub-file reference list to a server, after the server receives the sub-file reference list, the corresponding OFD sub-file is called from a cache according to the sub-file reference list, a new complete OFD file is formed, and the file is the merged new OFD file and is stored and updated.
When a user merges local files and files from a server side at a WEB client side, the same is that an unmodified OFD sub-file in the merged OFD files from the server side is a sub-file reference list, at the moment, the merged OFD sub-files from the local files are not existed in a cache of the server side, the WEB client side packages the non-existent OFD sub-files into a new file package, the new file package and the sub-file reference list are sent to the server side, and the server side invokes the OFD sub-files in the cache according to the sub-file reference list, and forms a new complete OFD file together with the new file package to store and update the cache.
And (3) checking the OFD file:
as shown in fig. 4, when a user performs signature verification on an OFD file at a WEB client, determining an OFD subfile list to be subjected to signature verification through the WEB client, after receiving the OFD subfile list to be subjected to signature verification, a server retrieves corresponding OFD subfiles from a cache, performs signature verification calculation on the OFD subfiles at the server, and sends a signature verification calculation result to the WEB client; and the WEB client side calculates the fingerprint or signature of the user, the signature verification calculation result sent to the WEB client side by the server side is compared with the signature calculation result of the user through the WEB client side, the signature is verified, and whether the signature verification result passes the signature verification is displayed by the WEB client side.
The data transmission between the server and the WEB client is encrypted transmission.
By adopting the technical scheme, when the server side obtains the online reading request of the WEB client side for the first time, the server side does not send the complete large OFD file to the WEB client side, but extracts a small amount of necessary subfiles from the OFD file to repackage the small OFD file into a thumbnail OFD file to be sent to the WEB client side, the WEB client side can rapidly display the contents of the previous pages by using the small thumbnail OFD file, and the generated thumbnail OFD file can contain an unloaded subfile list for explaining which subfiles exist at the server side, and the WEB client side downloads the files according to the list when needed, so that the opening speed is greatly improved.
When checking the signature, all subfiles in the OFD file are required to be calculated, the calculation is carried out at the server, the server only sends the calculation result to the WEB client, the calculation capability of the server is strong, the result can be calculated quickly, and meanwhile, network transmission of a large amount of data is avoided.
When the WEB client saves the OFD file, the OFD sub-files are not required to be packaged into the OFD file and uploaded to the server, only the modified or newly generated and some necessary files are required to be packaged into a new file package, an unpacked sub-file list is attached, and the server combines the required OFD sub-files into the new OFD file according to the sub-file list, so that the method is convenient and quick.
The foregoing has shown and described the basic principles, principal features and advantages of the invention. It will be understood by those skilled in the art that the present invention is not limited to the above-described embodiments, and that the above-described embodiments and descriptions are only preferred embodiments of the present invention, and are not intended to limit the invention, and that various changes and modifications may be made therein without departing from the spirit and scope of the invention as claimed. The scope of the invention is defined by the appended claims and equivalents thereof.

Claims (6)

1. A processing method of an OFD large file is characterized by comprising the following steps: the method comprises the following steps:
(1) The method comprises the steps that a server receives an OFD file opening request sent by a WEB client, the server searches a cache for whether the OFD file is opened, if the OFD file is not opened in the cache, the OFD file is obtained in an OFD file pool, then the OFD file is disassembled into a plurality of OFD subfiles in the cache, part of necessary OFD subfiles are extracted to serve as necessary files, the unextracted OFD subfiles are generated into an unloaded subfile list, and the necessary subfiles and the unloaded subfile list are packaged into an abbreviated OFD file;
(2) If the OFD file is already opened in the cache of the step (1), sending a abbreviated OFD file of the OFD file to the client, wherein necessary files in the abbreviated OFD file can meet the requirement of preliminary display on the WEB client;
(3) When a user turns over and needs to load other OFD subfiles, the WEB client sends a request to the server according to the unloaded subfile list, the server sends the corresponding OFD subfiles in the cache to the WEB client, and the WEB client processes the OFD subfiles;
(4) When a user modifies an OFD file at a WEB client, the WEB client modifies a local loaded OFD sub-file;
(5) The modified or newly added OFD subfiles can be stored locally at the WEB client or stored in the server, when the modified or newly added OFD subfiles are stored in the server, the WEB client packages the modified or newly added OFD subfiles to generate a new file package, meanwhile, the unmodified OFD subfiles generate a subfile reference list, the WEB client sends the new file package and the subfile reference list to the server together, the server receives the new file package and the subfile reference list sent by the WEB client, and then, the server retrieves corresponding OFD subfiles from a cache according to the subfile reference list, and combines the corresponding OFD subfiles with the new files to form a complete new OFD file for storage and updating the cache.
2. The method for processing the OFD large file according to claim 1, wherein: in the step (4), when a user adds an endorsement watermark to an OFD file at a WEB client, if the OFD sub-file to which the endorsement watermark is required to be added is local to the WEB client, the endorsement watermark is added to the local loaded OFD sub-file through the WEB client; if the OFD subfiles needing to be added with the endorsements and the watermarks are at the server, the corresponding OFD subfiles are obtained from the server according to the step (3), and then the endorsements and the watermarks are added; and (5) storing the modified OFD subfiles after the endorsement and the watermark are added through the WEB client.
3. The method for processing the OFD large file according to claim 1, wherein: in the step (4), when a user splits an OFD file at a WEB client, the splitting is that the user splits a required part of the file from an original file to form a new OFD file; if the OFD subfiles needing to be split are local to the WEB client, splitting the local OFD subfiles through the WEB client to form a new OFD file; if the OFD subfiles which need to be split are at the server, splitting is carried out after the corresponding OFD subfiles are obtained from the server according to the step (3), a new OFD file is formed, a subfile reference list is generated by the OFD subfiles of the new OFD file, and the subfile reference list is stored in the mode of the step (5).
4. The method for processing the OFD large file according to claim 1, wherein: in the step (4), when a user merges the OFD files at the WEB client, the merging is to merge pages required in a plurality of OFD files into a new OFD file; if the OFD subfiles to be combined are local to the WEB client, combining the local OFD subfiles through the WEB client to form a new OFD file; if the OFD subfiles needing to be combined are at the server, the corresponding OFD subfiles are obtained from the server according to the step (3), and then are combined, and a new OFD file is formed; and (3) generating a sub-file reference list by using the OFD sub-files of the new OFD files through the new OFD files combined by the WEB client, and storing in the mode of the step (5).
5. The method for processing the OFD large file according to claim 1, wherein: the method also comprises the step of checking the signature: when a user performs signature verification on an OFD file at a WEB client, determining an OFD subfile list needing signature verification through the WEB client, after receiving the OFD subfile list needing signature verification, a server invokes corresponding OFD subfiles from a cache, performs signature verification calculation on the OFD subfiles at the server, and sends a signature verification calculation result to the WEB client; the fingerprint or signature of the user is calculated through the WEB client, the signature verification calculation result sent to the WEB client by the server is compared with the calculation result of the fingerprint or signature of the user through the WEB client, and whether the user passes the signature verification is judged by the WEB client.
6. The method for processing the OFD large file according to claim 1, wherein: the data transmission between the server and the WEB client is encrypted transmission.
CN202310840242.0A 2023-07-11 2023-07-11 Processing method of OFD large file Active CN116566965B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310840242.0A CN116566965B (en) 2023-07-11 2023-07-11 Processing method of OFD large file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310840242.0A CN116566965B (en) 2023-07-11 2023-07-11 Processing method of OFD large file

Publications (2)

Publication Number Publication Date
CN116566965A true CN116566965A (en) 2023-08-08
CN116566965B CN116566965B (en) 2023-09-26

Family

ID=87503884

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310840242.0A Active CN116566965B (en) 2023-07-11 2023-07-11 Processing method of OFD large file

Country Status (1)

Country Link
CN (1) CN116566965B (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661459A (en) * 2009-10-19 2010-03-03 中国电信股份有限公司 Method for providing network document resources, platform thereof and system thereof
KR101251550B1 (en) * 2011-11-16 2013-04-08 모글루(주) Reader for interactive electronic documents, system for reding interactive electronic documents and control method thereof
US20130291126A1 (en) * 2010-06-11 2013-10-31 Blueprint Growth Institute, Inc. Electronic Document Delivery, Display, Updating, and Interaction Systems and Methods
CN104123287A (en) * 2013-04-24 2014-10-29 北大方正集团有限公司 Document data downloading device, terminal and document data downloading method
CN104881409A (en) * 2014-02-27 2015-09-02 北京方捷软件有限公司 Document loading method and device
CN106302753A (en) * 2016-08-18 2017-01-04 福建天泉教育科技有限公司 The method and system of client-side program incremental update
CN110069454A (en) * 2017-09-11 2019-07-30 中兴通讯股份有限公司 A kind of network file management method, terminal and computer readable storage medium
CN112084149A (en) * 2020-09-02 2020-12-15 浪潮云信息技术股份公司 File content online browsing and modifying method based on object storage
US20220318335A1 (en) * 2021-04-02 2022-10-06 Relativity Oda Llc Methods and systems for opening and incrementally displaying documents

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101661459A (en) * 2009-10-19 2010-03-03 中国电信股份有限公司 Method for providing network document resources, platform thereof and system thereof
US20130291126A1 (en) * 2010-06-11 2013-10-31 Blueprint Growth Institute, Inc. Electronic Document Delivery, Display, Updating, and Interaction Systems and Methods
KR101251550B1 (en) * 2011-11-16 2013-04-08 모글루(주) Reader for interactive electronic documents, system for reding interactive electronic documents and control method thereof
CN104123287A (en) * 2013-04-24 2014-10-29 北大方正集团有限公司 Document data downloading device, terminal and document data downloading method
CN104881409A (en) * 2014-02-27 2015-09-02 北京方捷软件有限公司 Document loading method and device
CN106302753A (en) * 2016-08-18 2017-01-04 福建天泉教育科技有限公司 The method and system of client-side program incremental update
CN110069454A (en) * 2017-09-11 2019-07-30 中兴通讯股份有限公司 A kind of network file management method, terminal and computer readable storage medium
CN112084149A (en) * 2020-09-02 2020-12-15 浪潮云信息技术股份公司 File content online browsing and modifying method based on object storage
US20220318335A1 (en) * 2021-04-02 2022-10-06 Relativity Oda Llc Methods and systems for opening and incrementally displaying documents

Also Published As

Publication number Publication date
CN116566965B (en) 2023-09-26

Similar Documents

Publication Publication Date Title
JP4165668B2 (en) Method and apparatus for compressing continuous, non-separated data streams
RU2475832C1 (en) Methods and systems for processing document object models (dom) to process video content
CN109254733A (en) Methods, devices and systems for storing data
JP4529020B1 (en) Information display device
US20100281042A1 (en) Method and System for Transforming and Delivering Video File Content for Mobile Devices
CN110688595B (en) File online preview method, device, equipment and storage medium
CN110096660B (en) Method and device for loading page pictures and electronic equipment
US8160154B2 (en) Encoding and decoding methods and systems
US20100218077A1 (en) Modifying a markup language document which includes a clickable image
JP2012022695A (en) Method for digital document processing
US11496585B2 (en) Browser navigation for facilitating data access
CN110362338B (en) Game resource packaging and resource quick access method under mobile platform
US20170168997A1 (en) System and computer-implemented method for incorporating an image into a page of content for transmission from a web-site
US20140229533A1 (en) Client-side network page generation
WO2011024535A1 (en) Information display device
JP2004220260A (en) Web page browsing system and image distribution server
CN116566965B (en) Processing method of OFD large file
US6714950B1 (en) Methods for reproducing and recreating original data
CN109710783B (en) Picture loading method and device, storage medium and server
US10509826B2 (en) Server device, client device, information processing method, and recording medium
US9838494B1 (en) Reducing retrieval times for compressed objects
US10282403B2 (en) Server device, client device, information processing method, and recording medium
WO2010062761A1 (en) Method and system for transforming and delivering video file content for mobile devices
CN114390319A (en) MP4 file reading and downloading method and device, electronic equipment and storage medium
US7970839B2 (en) Automatic download of images from online storage

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