An electronic file container, encoding generation method and apparatus
By designing an electronic file container for virtual storage devices, the problems of hardware devices being unable to transmit files online and dependence on professional systems in existing technologies are solved, realizing a low-cost, offline operation, and secure management electronic file storage solution.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- SHANGHAI TIANYONG TECH DEV CO LTD
- Filing Date
- 2021-12-19
- Publication Date
- 2026-05-15
AI Technical Summary
Existing electronic document container devices are mostly hardware-based, which cannot transmit or interact online. Software-based document containers require professional system support, are costly, cannot be used offline, and involve complex confidentiality management.
Design an electronic file container for a virtual storage device. Using existing electronic file formats, it encodes and generates attachments such as covers, table of contents, cover pages, and preparation sheets to achieve independent storage and management, support offline operation, and be applicable to multiple operating systems.
It reduces the cost of promoting and applying electronic document containers, supports offline operation, simplifies management processes, is suitable for personal mobile office work, and is applicable to the secure management of confidential documents.
Smart Images

Figure FT_1 
Figure FT_2 
Figure FT_3
Abstract
Description
Technical Field
[0001] This invention relates to the field of information storage devices, and more specifically to an electronic file container, an encoding generation method, and an apparatus. Background Technology
[0002] With the booming development of e-government and e-commerce, there is an increasing social demand for containers (devices) for storing electronic documents, such as electronic ledgers, electronic ledger books, electronic case files, electronic case file folders (boxes), electronic folders (boxes), electronic document folders (boxes), electronic document folders (boxes), electronic data folders (boxes), electronic case file containers, and electronic data containers. However, most existing document storage containers (devices) are hardware, such as portable hard drives, USB flash drives, optical discs, flash memory cards, disks, and magnetic tapes, which are all physical containers and cannot be transmitted or interacted with online.
[0003] Existing software file containers include compressed files, installation packages, ebooks, and ebook shelves. Current ebook creation technology can integrate text, images, audio, and video content into a single file. However, most content formats require format conversion before integration into an ebook. Then, the integrated content needs to be reformatted to obtain a polished ebook. Therefore, it requires an ebook creation system and professional staff. However, an ebook is just an independent electronic file. To protect the intellectual property rights of ebook content, specialized readers are needed to read ebooks in specific formats, resulting in a variety of specialized readers. These readers lack copy functionality. Ebook shelves, on the other hand, are specialized applications that link ebooks and rely on the internet.
[0004] Existing hardware and software integrated document management systems typically rely on shared platforms, with electronic files categorized and stored on storage devices (such as disk arrays); electronic file index information is then stored in a database; users manage and retrieve files along their entire path, forming a system-level container. While these systems offer comprehensive file management and storage capabilities, they suffer from the following problems: First, they require hardware and software support such as system servers, databases, and networks, resulting in high construction costs. Second, the development, training, and maintenance costs of electronic document management systems are high. Third, they cannot be used as independent electronic ledgers, ledgers, or electronic case files, thus failing to become electronic archives. Fourth, they require network access, failing to meet the needs of individuals for offline mobile office work. Fifth, if the system involves classified information (as long as any document is classified), strict management of personnel authorization and online transmission is required according to national classification regulations, making it extremely inconvenient to use. Summary of the Invention
[0005] This invention provides an electronic file container, which is a virtual storage device and a digital product that can be transmitted over the internet. Its working principle is as follows: First, an electronic file includes the full path of the electronic file, the electronic file content, and electronic file attribute files (which do not affect its opening and display); in a narrow sense, an electronic file usually refers to its content. The electronic file content is a clearly defined and accurately parsable encoding structure; the electronic file (content) format is a specifically defined and accurately parsable encoding structure. That is, electronic file content can contain undefined parameters and encoding structures; its formatting space is also unlimited; this invention uses these characteristics to encode electronic files into an electronic file container. Second, the electronic file container of this invention uses existing electronic file formats and can be directly opened and displayed in mainstream operating system environments, greatly reducing the cost of promoting and applying electronic file containers. Third, the electronic file content includes three types of parameter sets: the first is the electronic file header identifier, which is the necessary and sufficient set of parameters for identifying and parsing the electronic file content; the other types of parameter sets can be minimized as needed; thus, this invention can define the virtual storage space of the electronic file as large as possible; for example, the storage space of a TIFF format electronic file container is generally 4GB. The second type is a set of parameters invisible when opening electronic files, such as file index pointers, fonts, font sizes, character spacing, line spacing, and attributes, used to parse and assist in displaying electronic files. Based on this characteristic, the electronic file container of this invention defines and encodes shared information about the electronic file container, as well as the files it stores, formatting them in a standardized manner to become components of the electronic file container, thus enabling the electronic file container to store electronic files without affecting the display of the electronic files when opened. The third type is a set of parameters that can be displayed when opening electronic files, such as image bitmaps, page layout, and string parameters, used to display the content of the stored files. This invention, according to the standardized parameter definitions and encoding structure of electronic files, encodes and generates an electronic file container cover, an electronic file container table of contents, a file cover, and an electronic file container notes sheet, as components of the electronic file container, making them features of the electronic file container of this invention. Thus, through the above encoding processing, this invention transforms existing electronic file encoding into an electronic file container that functions as a virtual storage device.
[0006] An electronic document container differs from an electronic document in that it is both an empty electronic document (i.e., an electronic document without actual information content, but a virtual storage device) and an electronic document containing information content. Furthermore, it is an electronic document with attachments, such as a blank electronic document container cover, a blank electronic document container table of contents, a blank electronic document container cover page, and a blank electronic document container notes sheet, all for easy retrieval when creating and reconstructing them.
[0007] This invention provides a method for generating encoding for an electronic document container product. The encoding process includes: generating a blank electronic document container cover; generating a layout parameter structure for the electronic document container cover and formatting it within the electronic document container; and / or generating a blank electronic document container directory page; generating a layout parameter structure for the electronic document container directory page and the index array of the stored files, and formatting them within the electronic document container; and / or generating a blank file cover page; generating a layout parameter structure for the file cover page and formatting it within the electronic document container; and / or generating... Create a blank electronic file container preparation sheet; encode and generate the electronic file container preparation sheet layout parameter structure, and format it in the electronic file container; and / or encode and generate electronic file container shared information; encode and generate the electronic file container header identifier; encode and integrate the electronic file container header identifier, a blank electronic file container cover and / or a blank electronic file container directory page and / or a blank file cover and / or a blank electronic file container preparation sheet and / or electronic file container shared information into the electronic file container content; encode and generate the full path of the electronic file container, thereby obtaining the electronic file container.
[0008] This invention provides an electronic file container obtained by the encoding generation method described in claim 1. The electronic file container is a virtual storage device. The storage space of the virtual storage device stores and retrieves original files or compressed original files, and / or attachments. Except for the header identifier of the electronic file container, the rest of the virtual storage device is the storage space.
[0009] In one improved embodiment, the electronic document container attachment includes an electronic document container cover and / or an electronic document container directory and / or a file cover and / or an electronic document container note sheet; the electronic document container may be in one of the following formats: TIFF, BMP, PNG, GIF, JPEG, JSON, XML, or OFD; the files included may be text files, image files, CAD files, audio files, or video files.
[0010] In one improved embodiment, the electronic file containers and their attachments in TIFF and GIF formats can be directly opened and displayed in Windows, Unix, Linux, iOS, Android, and Huawei OS environments.
[0011] In one improved embodiment, the electronic file container in TIFF format has a storage space of at least 4GB.
[0012] In one improved embodiment, the method of storing the collected files into the electronic file container involves integrating and storing the encodings of the electronic file container cover and / or the electronic file container directory array and / or the collected file original array and / or the electronic file container memorandum array.
[0013] In one improved embodiment, the electronic file container is a TIFF format electronic file; it includes: the electronic file container cover includes electronic file container cover display information obtained according to the general attribute format definition and encoding of TIFF image files; it also includes electronic file container cover sharing information obtained according to the non-general attribute format customization and encoding of TIFF image files; and / or, the electronic file container directory includes electronic file container directory display information obtained according to the general attribute format definition and encoding of TIFF image files; it also includes electronic file container directory sharing information obtained according to the non-general attribute format customization and encoding of TIFF image files; and / or Alternatively, the document cover includes document cover display information defined and encoded according to the general attribute format of TIFF image files; it also includes document cover sharing information customized and encoded according to the non-general attribute format of TIFF image files; and / or, the electronic document container reference sheet includes electronic document container reference sheet display information defined and encoded according to the general attribute format of TIFF image files; it also includes electronic document container reference sheet sharing information customized and encoded according to the non-general attribute format of TIFF image files; and the electronic document container sharing information customized and encoded according to the non-general attribute format of TIFF image files.
[0014] In one improved embodiment, the electronic document container further includes an electronic document container cover layout parameter structure and / or an electronic document container table of contents layout parameter structure and / or a file cover layout parameter structure and / or an electronic document container notes layout parameter structure.
[0015] This invention also provides an encoding generation device for electronic document container products, comprising an electronic document container encoder 10; the electronic document container encoder 10 is used to execute an encoding generation method for electronic document container products; it includes an electronic document container base design program module 11, an electronic document container base layout program module 12, a container sharing information encoding integration program module 13, and an electronic document container encoding integration program module 14; wherein, the electronic document container base design program module 11 is used to encode and generate electronic document container cover files and / or electronic document container directory page files and / or storage file cover files and / or electronic document container reference sheet files; the electronic document container base layout program module 14 uses a layout method based on issuance parameters to encode and generate: the electronic document container cover layout parameter structure, and format it in the electronic document container cover file; and / or the electronic document container directory page layout. The parameter structure and the index array of the stored files are formatted in the directory file of the electronic file container; and / or the layout parameter structure of the stored file cover is formatted in the cover of the stored file; and / or the layout parameter structure of the electronic file container reference sheet is formatted in the reference sheet file of the electronic file container; and / or, the shared information encoding and integration program module 13 is used to encode and generate shared information of the electronic file container; the electronic file container encoding and integration program module 14 encodes and generates the full path of the empty electronic file container; the header identifier of the electronic file container, the cover of the blank electronic file container and / or the directory page of the blank electronic file container and / or the cover of the stored file and / or the reference sheet of the blank electronic file container and / or the shared information of the electronic file container are encoded and integrated into the content of the electronic file container; thereby obtaining the electronic file container product as described in claim 1.
[0016] The present invention also provides a method for reading a stored file from an electronic file container as described in claim 2, wherein the stored file index is obtained and parsed; the stored file index includes a relative offset of the stored file; and at least the stored file content is obtained based on the relative offset.
[0017] As can be seen from the above technical solutions, the present invention has the following beneficial effects:
[0018] 1. Storage Device. Attachments are defined and encoded into electronic file containers within electronic files, serving as virtual storage. Typically, these are file-level storage devices for personal (departmental) exclusive use; they are a type of digital storage tool. They are empty at the factory. Currently, TIFF format electronic file containers have a minimum storage capacity of 4GB, which can be easily expanded to petabytes (PB) or even larger. Security technologies can be employed to set access permissions for the electronic file containers. They can be stored on portable hardware storage devices and can also be transferred over the internet.
[0019] 2. Simple production. Electronic document containers can be mass-produced by simply copying them; development requires only a one-time investment, and production costs are very low, making them easy to promote and apply.
[0020] 3. Low environmental requirements. The electronic file container contains formatted directory entries and indexes for storing files, supporting functions such as storing, sorting, deleting, searching, browsing, opening (displaying), copying, modifying, and sharing data. Furthermore, it does not require system servers, databases, electronic file management software, network and routing equipment, and can be operated offline. Notably, storing electronic files within the container or copying files from it requires no formatting or conversion.
[0021] 4. Excellent visual experience. The electronic file container adopts existing electronic file formats. For example, the information displayed on the electronic file container cover, the electronic file container table of contents, the document cover, and the electronic file container preparation sheet are all defined and encoded according to the common attribute format of TIFF image files. They can directly guide the pre-embedded controls to decode and display in mainstream computer operating systems, including Windows, Unix, Linux, iOS, Android, and Huawei OS, without the need to install special client software, thus reducing the cost of promotion and application.
[0022] 5. Standardized Sharing. The electronic document container's cover, table of contents, file cover, and reference sheet are all generated according to its layout parameter structure; therefore, the electronic document container's layout display information is standardized. Furthermore, the shared information in the electronic document container is customized and encoded according to the non-general attribute format of TIFF image files, and is formatted in a categorized manner within the electronic document container; it can be obtained and parsed through the electronic document container's interface function set to meet the data sharing needs of computer business systems.
[0023] 6. Security Integration. The electronic document container is used in conjunction with the classified electronic document management system: non-classified electronic documents from the classified electronic document system are downloaded to the electronic document container; after off-site processing, the processed electronic documents in the electronic document container are then loaded back into the classified electronic document management system for storage, fully leveraging the advantages of both. This not only expands the legitimate users and processing radius of the classified electronic document management system, but also solves the problem of "moving" "classified" documents (before formal document writing, not yet classified).
[0024] 7. Convenient archiving. The electronic document container and its accessories of this invention are designed to meet the application needs of electronic ledgers, electronic ledger books, electronic case files, electronic document folders, engineering data, case files, etc. For example, the daily standardized storage of financial vouchers is an electronic ledger; when the electronic document container preparation form is filled out in a timely manner, it is naturally converted into electronic archives and formally archived and transferred; greatly reducing the workload of archiving.
[0025] 8. Significant Progress. The electronic document container can store and retrieve original electronic documents, including text (including script files and binary files), images, CAD files, audio and video files, etc., regardless of the electronic document format. First, since the electronic documents within the container are collected by the archivist or archiving unit, it resolves the intellectual property confusion faced by management departments due to the need for standardized electronic document archiving formats. Second, it enables a cost-effective application scenario for "loading" and "browsing" ledgers (containers) with electronic invoices. Attached Figure Description
[0026] Figure 1 This is the cover for a blank electronic document container.
[0027] Figure 2 This is a schematic diagram of the encoding generation method for the electronic document container product in Example 2.
[0028] Figure 3 This is a schematic diagram of the encoding generation device for the electronic document container product in Embodiment 3. Detailed Implementation
[0029] The present invention will be further described in detail below with reference to specific embodiments and accompanying drawings, wherein similar components in different embodiments are identified by associated part numbers. Many details in the following embodiments are described to enable a better understanding of the invention; those skilled in the art will readily recognize that some features may be omitted in different circumstances, or may be replaced by other components, materials, or methods. In some cases, certain implementation details related to the present invention are not shown or described in the specification to avoid obscuring the core parts of the invention with excessive description; for those skilled in the art, detailed description of these implementation details is not necessary, as they can fully understand the relevant implementation details based on the specification and general technical knowledge in the art.
[0030] The following specific embodiments are merely examples to aid in understanding the present invention and are not intended to limit the invention. For those skilled in the art, various simple deductions, modifications, combinations, and alterations can be made based on the principles of the present invention without departing from the spirit and scope of the specific embodiments, and all such modifications and alterations should be covered within the scope of the claims of the present invention.
[0031] The part numbers used in this document, such as "first", "second"; (1), (2), (3); step one, step two, etc., are only used to distinguish the objects being described and have no sequential or technical meaning. Unless otherwise specified, "connection" or "linkage" in this document includes direct or indirect connections (linkages).
[0032] The terms “include,” “including,” “have,” and “contain” used in this article are all open-ended terms, meaning that they include but are not limited to.
[0033] The following is a set of terms defined in this invention to clarify their content and boundaries.
[0034] The term "digital products" can be defined narrowly or broadly. In a narrow sense, digital products refer to exchanged goods whose information content is based on digital formats, or products transported via the Internet in bitstream form. In a broad sense, digital products include not only those in the narrow sense but also electronic products based on digital technologies, or products that rely on a physical carrier. The electronic file container in this article is a type of purely data-structured digital product in the narrow sense.
[0035] A "file format" refers to a special encoding used by a computer to store information, identifying the data stored within it, such as images, programs, and text information; or, in other words, a data string composed of several well-defined parameters encoded according to a specific data structure. The identifier is the file extension (suffix) of an electronic file. The electronic file container of this invention uses an existing file format that can be directly opened and displayed in mainstream computer operating systems, without requiring specialized client software support.
[0036] A "file header ID" is a specific string in the header of an electronic file used to identify and parse the file format. Examples include: "424D" for BMP, "4D 5A" for EXE, "68746D 6C3E" for HTML, "FF D8FF" for JPG, and "4949" for TIFF. The electronic file container header ID is based on this file header ID.
[0037] "Virtual storage device" refers to a device that is a simulation or pseudo-physical object realized through high technology; storage refers to the method or behavior of storing (and retrieving) data completely and securely in a physical medium; and device refers to a storage device like a portable hard drive, recordable optical disc, USB flash drive, flash memory (card), etc., that is, a concrete electronic file container (electronic file).
[0038] To ensure the correct storage and retrieval of electronic files, the operating system typically sets up a data structure called the "File Control Block (FCB)" to describe and control files. This data structure usually consists of the following information items: filename, file type (such as a regular file, directory file, system file, etc.), location (the device storing the file and its disk block), file size, protection information, process usage count, time, read permissions, etc. The electronic file container of this invention does not have a dedicated file control block.
[0039] The term "Electronic Documents Container Bottom" (or simply container bottom) encompasses various formats, including the electronic document container cover bottom, table of contents bottom, document cover bottom, and notes bottom. These formats open and display automatically without the need for electronic document container storage software. They typically refer to the complete attribute description of a single image page, including both general and custom attributes. Therefore, they can be referred to as the electronic document container cover attribute structure, electronic document container table of contents attribute structure, document cover attribute structure, and electronic document container notes attribute structure, respectively. They can also be called the electronic document container cover, electronic document container table of contents, document cover, and electronic document container notes, respectively. The difference between these and the bottom is that the electronic document container table of contents, document cover, and notes bottom may consist of multiple pages; however, in this text, the terms are interchangeable, and whether it refers to a single page or multiple pages depends on the context.
[0040] "Container Cover" refers to the cover of an electronic document container. If the container is a file, it is equivalent to the first kraft paper cover of the file. Electronic document containers have different names and cover formats depending on their purpose; for example, to ensure that electronic document containers are compatible with electronic ledgers, it is recommended that the Ministry of Finance formulate relevant standards to ensure that container cover formats are standardized.
[0041] A "container directory" refers to an electronic file container directory, consisting of several container directory pages. The container directory displays directory entries for the stored files, providing a basic overview of the electronic file container. Each electronic file container is formatted with directory entries and a file index, establishing a one-to-one correspondence between the two; the file index directly points to the physical address of the stored files on the virtual storage device. This allows for various operations on the files stored in the electronic file container, such as storing, sorting, deleting, opening, copying, and sharing data, without requiring system servers, databases, electronic file management software, network and routing equipment.
[0042] In relational databases, an "index" is a collection of data structures in a database table where one or more columns have defined values (fields); the database table must at least include a list of logical pointers to store data. An index functions similarly to a table of contents in a book, allowing users to quickly find the desired content based on page numbers. This invention refers to a collection of file indexes, characterized by: first, its storage space is temporarily pre-formatted in an electronic file container using "alternative data" to accurately obtain the offset (physical address) of the electronic file container's base version; second, the file index includes the offset of the stored files within the electronic file container; and third, a one-to-one correspondence is established between the file index and the file directory entries. Therefore, when a user clicks on a file directory entry in the electronic file container, it triggers the corresponding file index, directly locating the file without requiring support from a database, file management software, network, or system server.
[0043] "Original Script" refers to the original file that was created first and is distinct from a copy. It primarily refers to documents with original legal effect, especially those bearing a seal. The electronic file containers in this article contain (store) independent electronic original files; these are defined as follows: the components of the contained original file, including the full file path, file content, and file attribute files, are exactly the same as before being stored in the electronic file container; they are in their original, unprocessed format. The term "original" in this article also includes independent, compressed contained original files. The term "independent" as used in this article refers to a single electronic file, not a batch of electronic files.
[0044] "Admission Document Cover" refers to a page image automatically generated by electronic document container software based on the document being stored. It serves both as a cover displaying general information and as the information carrier of the document; it's a unique feature of electronic document containers. Of course, if no admission document cover is available, the document can be stored directly in the electronic document container's storage space.
[0045] The "Reference Form" for electronic document containers is used to record important information regarding the collection, archiving, compilation, transfer, storage, and organization of electronic documents. The format of the Reference Form varies and it is not a necessary or sufficient attachment to electronic document containers; however, it will be a necessary attachment for future integration with electronic archives. It is recommended that the National Archives Administration formulate relevant standards to ensure the standardized format of the Reference Form.
[0046] Encoding is the process of converting information from one form or format to another; that is, encoding text, numbers, or other objects into well-defined numerical codes using pre-defined methods. Encoding is widely used in electronic computers, television, remote control, and communications. Encoding devices are called code generators.
[0047] "Formatting" originates from disk formatting, originally referring to the operating system marking the disk in advance to enable data storage and retrieval according to a certain format. Later, it came to be used as a computer term, referring to a standardized method of storing computer data. In this article, data (information) formatting refers to the operation of clearly defining each piece of data and storing it in an electronic file container according to a standardized data structure. Naturally, reading is the reverse operation of formatting.
[0048] The term "copy container" originally refers to manufacturing a replica of an original sample. In this article, a copy container is defined as an operation performed during the production of electronic document container products, where a copy of the electronic document container is made and only a few parameters are modified, such as adding an electronic document container product number, thereby generating a specific or unique electronic document container product. The copying operation, on the other hand, refers to manufacturing an exact replica of the original sample.
[0049] Example 1:
[0050] This embodiment is a TIFF format electronic file container, also known as a TIFF format digital file container.
[0051] The electronic file container adopts existing electronic file formats, including TIFF, BMP, PNG, GIF, JPEG, JSON, XML, or OFD, etc. This allows it to be directly opened in mainstream operating systems such as Windows, Unix, Linux, iOS, Android, and Huawei OS, displaying the electronic file container components on the screen, thus enabling cross-platform application. The electronic file container of this invention is a virtual storage device that does not include the necessary component of traditional storage devices—the File Control Block (FCB). Apart from the electronic file container header identifier, the remaining space is used to store and contain files, greatly increasing the effective storage space of the electronic file container. The electronic file container is an electronic file (virtual storage device) used to store and retrieve numerous electronic file originals of various formats. Stored electronic files include text files, image files, CAD files, audio files, video files, etc., regardless of the electronic file format, meeting the storage needs of different users. Specifically, the electronic file container can not only store (contain) electronic files but also read the files contained within it; this is referred to as access. Reading involves two different behaviors: one is the acquisition and display behavior; the other is the copying and saving behavior.
[0052] Specifically, the files stored in the electronic file container are all original documents, formatted as independent files within the container. To reduce the size of the files, the original files can be pre-compressed using a compression algorithm (such as LZW, with most using lossless compression). Then, the compressed original files are formatted one by one within the electronic file container. During reading, the electronic file container is parsed to obtain the compressed original files; after decompression, the original files are obtained and either displayed or copied and saved.
[0053] To simplify the operation of electronic file containers, both storage and retrieval methods are used. When storing or deleting files, the electronic file container is first emptied. Then, the container cover, directory page array, cover page array, and notes array are integrated and encoded into a single electronic file container, stored as if they were encoded together. Therefore, there is no need for organizing, allocating, or reclaiming its storage space, simplifying file management, especially suitable for dedicated virtual storage devices. The electronic file container also has formatted directory entries and an index. Therefore, through the electronic file container software (client), and with the help of the index, functions such as deletion, retrieval, browsing, opening, copying, modification, and data sharing can be performed without the need for network, database, file management software, system servers, or other supporting hardware and software. Electronic document container organization software can also generate electronic document container covers, table of contents, document covers, and notes based on the formatted layout information within the electronic document container; ensuring a standardized and consistent format for electronic document containers and fully reflecting the characteristics of digital products. Note that if the stored documents and the electronic document container have the same format, the stored documents can be viewed directly without a client application.
[0054] Specifically, in a narrow sense, an electronic file container refers to its content, also simply called a "container." The electronic file container content (ContainerStructure) includes attachments such as the electronic file container header, electronic file container cover, electronic file container directory page array, array of contained file covers, electronic file container memo array, and electronic file container shared information; these are respectively referred to as the container cover, container directory, contained file covers, and container memo. In a broader sense, an electronic file container, in addition to the above-mentioned content, also includes the electronic file container full path (ContainerFullPath). Note: Attachments are components of an electronic file container used to describe its overview; they are attachments updated or added due to the inclusion or deletion of electronic files within the container. Note: All groups mentioned in this article include arrays containing only one element.
[0055] Electronic document containers exist in two forms: one is an empty electronic document container, which is a digital product and can be considered a manufactured digital product. The other is an electronic document container containing electronic documents, which is in a usable form. Specifically, electronic document container products include accessories such as a blank electronic document container cover, a blank electronic document container table of contents, a blank document cover, and a blank electronic document container note sheet.
[0056] For the sake of simplicity, this embodiment does not differentiate between the two forms of electronic document containers. All constituent components are uniformly named; for example, the contents of an electronic document container product and the contents of an empty electronic document container are both referred to as electronic document container contents; the shared data of an electronic document container product and the shared data of an empty electronic document container are both referred to as electronic document container shared data; the electronic document container product template and the blank electronic document container template are both referred to as electronic document container templates, and so on. This document will describe its characteristics according to the principles of an electronic document container.
[0057] Specifically, the electronic document container template includes the electronic document container cover attribute structure (ContainerCover), the electronic document container directory page attribute structure (ContainerDir), the document cover attribute structure (DocumentBottom), and the electronic document container notes attribute structure (ContainerReference). These are all electronic document container template display information defined and encoded according to the common attribute format of TIFF image files. Specifically, the common attributes include: template bitmap, the number of pixels in width and height of the template bitmap, color depth, image data compression flags, bitmap pixel sorting flags, and bitmap horizontal and vertical resolution. In today's mainstream computer operating systems, including Windows, Unix, Linux, iOS, Android, and Huawei OS, they can be directly opened and displayed to display the images of the attachments within the electronic document container without the need for electronic document container storage software; thus supporting the cross-platform application of electronic document containers.
[0058] Specifically, this invention also pre-employs a typesetting method based on issuance parameters, customizing and encoding the non-general attribute format of TIFF image files to obtain the following structures: electronic file container cover typesetting parameter structure, electronic file container table of contents typesetting parameter structure, included document cover typesetting parameter structure, and electronic file container notes typesetting parameter structure; all of these can be broadly referred to as electronic files; or collectively as the issuance typesetting information of electronic file containers. These, as components of the shared information of the electronic file container base, are formatted separately within the electronic file container base; or, in other words, the shared information of the electronic file container base includes at least the container base typesetting parameter structure. By issuing electronic file containers based on the typesetting information, the layout display effect can be standardized and consistent, further reflecting the product characteristics of electronic file containers.
[0059] Specifically, the electronic document container cover is the first page of the electronic document container (e.g., ...). Figure 1(As shown). Specifically, depending on their purpose, electronic document containers can be called electronic ledgers, electronic ledger books, electronic ledgers, electronic case files, electronic case file folders (boxes), electronic folders (boxes), electronic document folders (boxes), electronic data folders (boxes), electronic case file containers, electronic data containers, etc. Their cover designs also differ, and the information they share may vary slightly. The shared parameters for the electronic document container cover include: user name, unified social credit code, electronic document container name (or case file title), electronic document container product number, electronic document container directory sorting flag, compression flag for files contained in the container, total number of pages in the electronic document container directory, total number of files contained in the container, total number of pages in files contained in the container, total playback time of files contained in the container, number of text files (including script files and binary files), number of image files, number of CAD files, number of audio files, number of video files, total number of pages in the electronic document container notes, electronic document container size, container security level, start and end dates of file inclusion, retention period, archive number, case file name, group number, class name, directory number, case file name, case file number, and path of files contained in the container. These parameters belong to the container cover parameter structure (ContainerCoverPS), which helps readers understand the overview of the electronic document container; and the container cover hidden parameter structure (ContainerCoverLidden), which facilitates retrieval and sharing by computer business systems.
[0060] Specifically, an electronic document container catalog refers to an array of electronic document container catalog pages, which must include at least one electronic document catalog page. It inherits and enriches the table of contents function of traditional books, used to provide an overview of the documents contained within the container. Specifically, an electronic document container catalog page (ContainerDir) includes several catalog entries; these entries provide an overview of the contained documents; and there is a maximum limit to the number of catalog entries per page. Furthermore, the container catalog can also define various sorting rules for catalog entries based on user preferences.
[0061] Specifically, the electronic file container also includes a file index; this index includes the physical address where the files are stored; it is formatted within the electronic file container; and it is used to directly index the files stored within the electronic file container. There is a one-to-one correspondence between the index and the file directory entries. Clicking on a file directory entry will automatically trigger functions such as saving, sorting, deleting, searching, browsing, opening, copying, and modifying.
[0062] Specifically, for each electronic document stored in the electronic document container, a document bottom is created for it. The electronic document container software automatically collects overview parameters of the stored documents, including document summary, number of pages or playback time, file size, security classification, keywords, file format, and storage time. The document bottom serves two purposes: first, to display an overview of the stored document; second, to act as a carrier for the document.
[0063] Specifically, the electronic document container reference refers to an array of electronic document container references, which includes at least one page of electronic document container reference. It serves the same purpose as the paper document reference, used to record important information such as collection, compilation, transfer, archiving, storage, and organization. It also supports the signing and stamping function of the container reference.
[0064] Specifically, the shared information of an electronic document container is the shared information required throughout its entire lifecycle. It is customized and encoded according to the non-general attribute format of TIFF image files, obtaining shared information including the electronic document container cover, table of contents, file cover, notes sheet, and other shared information; this information is formatted within the electronic document container. Among these, the shared information (SharedData) includes the electronic document container purchase parameter structure (ContainerPurchase) and the electronic document container security parameter structure (ContainerSafe).
[0065] In another preferred embodiment, the shared information for the electronic document container cover, the shared information for the electronic document container directory page, the shared information for the document cover, and the shared information for the electronic document container preparation sheet can also be formatted separately in their corresponding electronic document container base plates. This makes the formatting, acquisition, parsing, and use of the aforementioned shared information in the electronic document container base plates more convenient and the logical relationships clearer.
[0066] The electronic file container product of this invention is a special format electronic file; by "copying", a large number of identical electronic file container products can be produced cheaply.
[0067] In another preferred embodiment, a unique electronic document container product number is formatted within the electronic document container product; alternatively, the user name of the electronic document container product can be issued on the electronic document container cover; thus, unique electronic document container products can be easily mass-produced through a "copying" method. The advantages are: the electronic document container product number can be used for production and maintenance management; the user name facilitates online distribution of the electronic document container product, reflecting personalized, high-quality service.
[0068] The electronic document containers are generated using mainstream file formats such as TIFF, BMP, PNG, GIF, JPEG, JSON, XML, and OFD. Among these, BMP, JPEG, and PNG are single-page image files that can directly display the electronic document container cover. The other electronic document containers, which contain attachments, must be customized and formatted within the container. GIF format is similar to TIFF format, but its background colors are limited to a maximum of 256, making it unsuitable for displaying high-quality seal images. As for electronic document containers in formats such as JSON, XML, and OFD, they can also be generated using the encoding method described in this invention patent, but all custom electronic document containers must be included as attachments. Their disadvantage is that all custom attachments require electronic document container storage software to open and display.
[0069] The electronic file container and its constituent accessories in this embodiment are described using a "C-like language".
[0070]
[0071]
[0072]
[0073]
[0074]
[0075]
[0076]
[0077]
[0078] In the cover section, a file cover is generated by encoding; then, the original array of files is encoded and processed into a file cover array. Based on the original array of files, an electronic file container cover and an electronic file container directory page array are created or reconstructed; finally, the encodings of the electronic file container header identifier, electronic file container cover, electronic file container directory page array, file cover array, electronic file container notes array, and electronic file container shared information are integrated to obtain the electronic file container as described in Example 1. This invention integrates the formatted file cover array containing all the original files into the electronic file container, which is considered as storing all the original files into the electronic file container.
[0079] In another preferred embodiment, all the original files stored in the electronic file container are encoded and integrated into an array of original files; this array replaces the array of original file covers, and is then encoded and integrated with the above array, thereby enabling the entire array of original files to be encoded and stored in the electronic file container.
[0080] The advantages of storing an array of files in an electronic file container are: it occupies little storage space and the stored files can be opened directly; the advantages of storing an array of file covers in an electronic file container are: it allows for the prior acquisition of general information about the stored files, and each user only needs a small amount of computer computing power, laying the foundation for big data applications.
[0081] This invention also provides a method for reading stored files from an electronic file container. The principle is as follows: When storing electronic files, a stored file index is generated by encoding parameters such as the stored file offset; then, a stored file index array is generated by encoding the stored file original array; and this array is formatted in the electronic file container. When reading a stored file, the electronic file container is parsed to obtain the stored file index array; based on the stored file, the corresponding stored file index is found in the stored file index array; and then, based on the stored file offset, the stored file is read.
[0082] Example 3:
[0083] like Figure 2 The diagram shown is a schematic flowchart of the encoding generation method for the electronic file container product in this embodiment. The method of the present invention will be described below with reference to the encoding generation device for the electronic file container product in Embodiment 4. Specifically, the electronic file container adopts the TIFF format; it includes the following processes:
[0084] St1: Electronic document container template design program module 11, which generates the electronic document container template file; specifically, the electronic document container template design program module 11 includes an electronic document container template layout design sub-window; specifically, the electronic document container template file includes an electronic document container cover file, an electronic document container table of contents file, a file containing documents cover files, and an electronic document container notes file, etc.; the design coding is completed by the electronic document container template design program module 11. Its implementation steps are as follows:
[0085] Step 100: Generate a basic electronic file container template; In practice, staff will use the template design sub-window to set the following general properties of the TIFF format electronic file container template, based on the template template provided by the user:
[0086] 1. The container base bitmap is set to 1323 pixels wide (210mm) × 1871 pixels high (297mm); both horizontal and vertical resolutions are set to 160 DPI. The container cover, container table of contents, document cover, and container notes are all designed to A4 paper size to ensure compatibility with most document paper sizes; setting the container base bitmap to 160 DPI resolution is to make the electronic document container base look more delicate and beautiful, especially the seal image, which is more rounded.
[0087] 2. The container base bitmap pixels are set to RGB three colors, with each color component being one byte. Based on the background color of the container base template provided by the user, such as setting the most commonly used paper material to a pure white background color (255, 255, 255), the container base bitmap is a 2,475,333-byte string of all "FF" data. Using true color to represent the container base bitmap provides the most realistic colors.
[0088] 3. The container base bitmap compression attribute is set to LZW compression algorithm. After compression using the LZW algorithm, the electronic file container base can be controlled to around 100K. This is a compression algorithm with high efficiency for bitmap compression, which is acceptable for electronic file container products.
[0089] 4. The pixel sorting of the container base bitmap is set to: first from left to right, then from top to bottom. This is the default pixel sorting specification for TIFF format bitmaps.
[0090] 5. Electronic file container base design program module 11 obtains a single-color electronic file container base (including the electronic file container base superlong data structure) according to the general attribute format definition and encoding of TIFF image files; and integrates the electronic file container header identifier (FileHead) and the electronic file container base encoding into a primary electronic file container base file content, see (ContainerCover, ContainerDir[], DocumentBottom[], (ContainerReference[]) for details.
[0091] 6. Create four types of primary electronic document container base files. Specifically, the content of the four primary electronic document container base files is the same; only the file names differ. In practice, the operator first copies the content of one electronic document container base file; then, they enter the full path of the primary electronic document container base file in the container base layout design sub-window; and finally, they save the primary electronic document container base file in the specified directory of the electronic document container encoder 10. This process continues until all four primary electronic document container base files are saved.
[0092] In another preferred embodiment, this step can also be carried out by other design and drawing systems, based on the template of the corresponding electronic file container base provided by the user, according to the general attribute format definition and encoding of TIFF image files, to obtain four kinds of obvious patterns or digital watermarks (including visual watermarks) personalized primary electronic file container base files, and also save them in the designated directory of the electronic file container encoder 10.
[0093] Step 101: Design and draw the electronic document container base template, and encode and generate the electronic document container base template file; in actual operation, select a primary electronic document container base template file saved in the electronic document container encoder 10, and the staff will process the elements of the following container base template one by one through the container base template design sub-window according to the template provided by the user:
[0094] 1. Draw lines: Line settings include parameters such as thickness, color, start and end positions, and also have the function of adjusting the vertical, horizontal, and vertical positions of specified lines. Draw lines one by one until all lines of the electronic file container's base layout have been drawn.
[0095] 2. Enter Characters: Input characters including Chinese characters, English words, letters, and symbols. Set parameters such as font, font size, color, character spacing, line spacing, alignment, and whether to bold. It also allows adjusting the vertical, horizontal, and vertical positions of specified characters. Enter characters one by one until all characters in the electronic document container's layout are filled.
[0096] 3. Paste Images: Select the image source and image, and paste it to a specified location; it also has the function of adjusting the position of the pasted image up, down, left, and right. Paste images one by one until all images in the electronic file container's base layout have been pasted.
[0097] 4. In actual operation, staff will browse the drawing effect of the electronic document container template and adjust the elements of the template that are not satisfactory until they are satisfactory (consistent with the template). Click the "Generate Template File" button, and module 11 of the electronic document container template design program will generate the electronic document container template file content.
[0098] Step 102: Generate all electronic document container base files; in actual operation, the staff enters the full path of the electronic document container base file through the container base layout design sub-window; thus generating the electronic document container base file. This step is executed repeatedly to encode and generate the electronic document container cover file, electronic document container table of contents file, document cover file, and electronic document container preparation sheet file one by one; then they are saved in the designated directory of the electronic document container encoder 10 respectively.
[0099] St2: Electronic document container template layout program module 12, which generates four types of blank electronic document container template files containing layout information. Specifically, the electronic document container template layout program module 12 includes a container template display sub-window for observing the layout effect of the electronic document container template; it also includes a layout sub-window for setting the opening parameters of the electronic document container template; the implementation steps are as follows:
[0100] Step 200: Generate an electronic document container base with a structure containing container base layout parameters. Specifically, the electronic document container cover file, electronic document container table of contents file, inclusion file cover file, and electronic document container preparation form file are all information carriers that can be formatted before issuance, with a defined number of pages, layout, issuance parameters and their quantity, issuance range, and issuance frequency. Therefore, a typesetting method based on issuance parameters can be used to generate the electronic document container base layout parameter structure. In actual operation, the staff selects an electronic document container base file through the issuance parameter typesetting sub-window; parses it, obtains and displays the electronic document container base; then selects or inputs the typesetting parameters of its typesetting parameters one by one, tests the display effect of the typesetting parameters, and continues to debug until the staff is satisfied; the electronic document container base typesetting program module 12 generates a character typesetting parameter structure or an image typesetting parameter structure; until all the typesetting parameters of the electronic document container base have been typed. Furthermore, the electronic file container base layout program module 12 takes all the filled character layout parameter structures and pasted image layout parameter structures of the electronic file container base, and sequentially generates the electronic file container base layout parameter structure according to the non-general attribute format of TIFF image files through customization and encoding; and formats it in the electronic file container base.
[0101] Step 201: Generate a blank electronic document container base file; specifically, the electronic document container base layout program module 12 integrates the electronic document container header identifier and the electronic document container base code into the content of the blank electronic document container base file; then, input or select the full path of the blank electronic document container base file to obtain a blank electronic document container base file containing the layout information.
[0102] Step 202: Generate four blank electronic file container base files; specifically, repeat steps 200 to 202 to generate blank electronic file container cover files, blank electronic file container directory page files, blank collection file cover files, and blank electronic file container notes files one by one. Wherein, if the maximum number of directory entries displayed on the electronic file container directory page is n, and the length of a single collection file index (FileIndex) is m, the length of the collection file index array is n × m bytes; this invention temporarily pre-formats a uniform-length "FF" data string in the blank electronic file directory page; so that when assembling the content of the electronic file container later, the offsets of all electronic file container base files do not need to be calculated and are all effective.
[0103] St3: Module 13 of the container shared information encoding and integration program encodes and integrates the information into an electronic document container for sharing; the implementation steps are as follows:
[0104] Step 300: Encode and integrate into an electronic document container purchase parameter structure; Specifically, the container sharing information encoding and integration program module 13 obtains various purchase parameters from the electronic document container product sales system and the electronic document container encoder 10, and customizes and encodes them according to the non-general attribute format of TIFF image files, thereby obtaining the electronic document container purchase parameter structure (ContainerPurchase).
[0105] Step 301: Encode and integrate into an electronic document container security parameter structure; Specifically, the container sharing information encoding and integration program module 13 obtains various security parameters from the key generation device and the electronic document container encoder 10, and customizes and encodes them according to the non-general attribute format of TIFF image files, thereby obtaining the electronic document container security parameter structure (ContainerSafe).
[0106] Step 302: Encode and integrate into electronic file container sharing information; specifically, the container sharing information encoding and integration program module 13 encodes and integrates the electronic file container application parameter structure and the electronic file container security parameter structure into electronic file container sharing information.
[0107] St4: Electronic document container encoding and integration module 14 encodes and integrates the contents of an empty electronic document container; specifically, electronic document container encoding and integration module 14 includes a parameter input, selection, and integration window, and the implementation steps are as follows:
[0108] Step 400: Select and parse the electronic document container base file; In actual operation, the staff selects blank electronic document container cover files, blank electronic document container directory page files, blank storage document cover files, and blank electronic document container preparation sheet files from the electronic document container encoder 10 one by one, according to the user's required format, through parameter input, selection, and integration windows; and parses them into: the full path of the electronic document container base file, the electronic document container header identifier, and the four types of blank electronic document container base files.
[0109] Step 401: Encode and integrate into the content of an empty electronic file container; specifically, the electronic file container encoding and integration program module 14 encodes and integrates the electronic file container header identifier, blank electronic file container cover, blank electronic file container directory page, blank storage file cover, blank electronic file container reference sheet, and shared information of the electronic file container into the content of an empty electronic file container. Note that, considering that the electronic file container is integrated with electronic archives, and that a single page of the blank electronic file container reference sheet is only about 100KB in size, which is negligible for an electronic file container with 4GB of storage space; therefore, the electronic file container product in this embodiment includes a blank electronic file container reference sheet.
[0110] St5: The electronic document container encoding and integration program module 14 also encodes and generates the full path of the electronic document container; in actual operation, the staff inputs the electronic document container path and name through the parameter input, selection and integration window, and the electronic document container encoding and integration program module 14 encodes and generates the full path of the empty electronic document container; and automatically stores the contents of the empty electronic document container in the directory specified by the path, thereby obtaining the electronic document container product described in Embodiment 1, or an empty electronic document container.
[0111] Example 4:
[0112] like Figure 3 The diagram shows a schematic of the encoding generation device for the electronic document container product in this embodiment, which includes an electronic document container encoder 10. The electronic document container encoder 10 is used to execute the method of Embodiment 3 to generate the encoding for the electronic document container product. The electronic document container encoder 10 includes an electronic document container base design program module 11, an electronic document container base layout program module 12, a container shared information encoding integration program module 13, and an electronic document container encoding integration program module 14. Among them,
[0113] The electronic document container template design module 11 is used to encode and generate electronic document container template files. It includes an electronic document container template layout design sub-window. In practice, based on the A4 template provided by the user, the operator sets common attributes such as size, color depth, bitmap, compression algorithm, resolution, and pixel order of the electronic document container template through the electronic document container layout settings sub-window, generating four basic electronic document container templates. Further, the elements of the template layout are processed one by one, including drawing lines, filling in characters, and pasting images; and adjusted until satisfactory results are achieved, encoding and generating the electronic document container template and its full path; the electronic document container header identifier and the electronic document container template encoding are integrated into the electronic document container template content; thus generating the electronic document container template file. Specifically, the above process is repeated, encoding and integrating each of the four electronic document container template files. The four electronic document container template files are then saved in the directory specified by the electronic document container encoder 10.
[0114] The electronic document container base layout program module 12 is used to encode and generate the electronic document container base layout parameter structure. Specifically, the electronic document container base layout program module 12 includes a container base display sub-window for observing the layout effect of the electronic document container base; it also includes an issuance parameter layout sub-window for performing layout operations on the issuance parameters of the electronic document container base. Specifically, an issuance parameter-based layout method is adopted to encode and generate the electronic document container base layout parameter structure. In actual operation, the staff selects or inputs the issuance parameter layout parameters one by one through the issuance parameter layout sub-window, tests the issuance parameter display effect, and adjusts it until the staff is satisfied; the encoding and generation of the character filling layout parameter structure or the image pasting layout parameter structure continues until all issuance parameters of the electronic document container base have been layouted. Furthermore, the entire text formatting parameter structure of the electronic document container base and the pasted image formatting parameter structure are customized and encoded according to the non-general attribute format of TIFF image files to generate the electronic document container base formatting parameter structure; and formatted in the electronic document container base. Further, the electronic document container header identifier and the electronic document container base encoding are integrated into the blank electronic document container base file content; then, the full path of the blank electronic document container base file is entered or selected, thus obtaining a blank electronic document container base file containing the formatting information. The above process is repeated to encode and generate blank electronic document container cover files, blank electronic document container directory page files, blank collection file cover files, and blank electronic document container remarks sheet files, each containing the container base formatting parameter structure. Among these, the collection file index array is encoded and pre-formatted in the blank electronic document container directory page file.
[0115] The container sharing information encoding and integration module 13 encodes and generates electronic document container sharing information. Specifically, the module includes a parameter input, selection, and integration window. Specifically, it obtains various purchase parameters from the electronic document container product sales system and the electronic document container encoder 10, and encodes them to generate an electronic document container purchase parameter structure (ContainerPurchase). It can also obtain various security parameters from the key generation device and the electronic document container encoder 10, and encode them to generate an electronic document container security parameter structure (ContainerSafe). Specifically, the container sharing information encoding and integration module 13 integrates the electronic document container purchase parameter structure and the electronic document container security parameter structure into electronic document container sharing information.
[0116] The electronic document container encoding and integration program module 14 is used to encode and integrate into an electronic document container product. Specifically, the electronic document container encoding and integration program module 14 includes a parameter input, selection, and integration window. In actual operation, the operator selects the blank electronic document container cover file, blank electronic document container directory page file, blank storage file cover file, and blank electronic document container preparation sheet file that meet the user's required format through the parameter input, selection, and integration window. These are then parsed into: the full path of the electronic document container base file, the electronic document container header identifier, and four blank electronic document container base files. Further, the electronic document container encoding and integration program module 14 encodes and integrates the electronic document container header identifier, blank electronic document container cover, blank electronic document container directory page, blank storage file cover, blank electronic document container preparation sheet, and shared information of the electronic document container into empty electronic document container content. The electronic document container encoding and integration program module 14 also encodes and generates the full path of the empty electronic document container, thereby obtaining the electronic document container product containing the typesetting information described in Embodiment 3; or, in other words, an empty electronic document container.
[0117] Those skilled in the art will understand that all or part of the steps of the above-described electronic document container encoder 10 can be implemented by a program instructing related hardware. The program can be stored in a computer-readable storage medium, such as a read-only memory, a disk, or an optical disk. Optionally, the functional program modules in the above embodiments can be implemented in hardware (such as a computer) or in software functional program modules. This invention is not limited to any particular combination of hardware and software.
Claims
1. A method for generating the encoding of an electronic document container, the process comprising: Generate a blank electronic document container cover using encoding; The electronic document container cover layout parameter structure is encoded and formatted within the electronic document container. and / or encode to generate a blank electronic document container directory. The system generates an electronic file container directory page layout parameter structure and a file index array, and formats them within the electronic file container. And / or code to generate a blank cover page for organizing documents. The code generates a structure for the layout parameters of the document cover and formats it in the electronic document container. And / or encode to generate a blank electronic document container for the exam preparation form. The electronic file container preparation table layout parameter structure is encoded and formatted in the electronic file container; and / or encode to generate electronic document containers for sharing information; Encodes and generates electronic document container header identifiers; The electronic document container header identifier, a blank electronic document container cover page and / or a blank electronic document container directory page and / or a blank document cover page and / or a blank electronic document container preparation sheet page and / or electronic document container shared information encoding are integrated into the electronic document container content; The full path of the electronic file container is encoded to obtain the electronic file container.
2. An electronic document container obtained using the encoding generation method of claim 1, characterized in that, The electronic document container is a virtual storage device; The storage space of the virtual storage device is used to store and retrieve original files, including compressed original files, and / or access electronic file container attachments. Except for the electronic file container header identifier, the virtual storage device consists entirely of the storage space.
3. An electronic document container obtained using the encoding generation method of claim 1, characterized in that, The electronic document container is a virtual storage device; The storage space of the virtual storage device is used to store and retrieve original files, including compressed original files, and / or access electronic file container attachments. Except for the electronic file container header identifier, the virtual storage device consists entirely of the storage space.
4. An electronic document container according to claim 2, characterized in that, The electronic document container accessories include an electronic document container cover and / or an electronic document container catalog and / or a file storage cover and / or an electronic document container reference sheet; The electronic document container adopts one of the following formats: TIFF, BMP, PNG, GIF, JPEG, JSON, XML, or OFD; The files to be stored include text files, image files, CAD files, audio files, and video files.
5. An electronic document container according to claim 2, characterized in that, The electronic file containers and their attachments in TIFF and GIF formats can be directly opened and displayed under Windows, Unix, Linux, iOS, Android, and Huawei OS environments.
6. An electronic document container according to claim 2, characterized in that, The electronic file container in TIFF format has a storage space of at least 4GB.
7. An electronic document container according to claim 2, characterized in that, The method for storing the collected files into the electronic file container involves integrating the encoding of the electronic file container cover and / or the electronic file container directory array and / or the collected file original array and / or the electronic file container memorandum array, and then storing them into the electronic file container.
8. An electronic document container according to claim 2, characterized in that, The electronic file container is a TIFF format electronic file; The electronic file container cover includes electronic file container cover display information defined and encoded according to the general attribute format of TIFF image files; it also includes electronic file container cover sharing information defined and encoded according to the non-general attribute format of TIFF image files. And / or, the electronic file container directory includes electronic file container directory display information defined and encoded according to the general attribute format of TIFF image files; it also includes electronic file container directory sharing information defined and encoded according to the non-general attribute format of TIFF image files. And / or, the file cover includes file cover display information defined and encoded according to the general attribute format of TIFF image files; it also includes file cover sharing information customized and encoded according to the non-general attribute format of TIFF image files; And / or, the electronic file container reference sheet includes electronic file container reference sheet display information obtained according to the general attribute format definition and encoding of TIFF image files; it also includes electronic file container reference sheet sharing information obtained according to the non-general attribute format customization and encoding of TIFF image files; And / or, the electronic file container shares information obtained by customizing and encoding according to the non-generic attribute format of TIFF image files.
9. An electronic document container according to claim 2, characterized in that, The electronic document container also includes the electronic document container cover layout parameter structure and / or the electronic document container table of contents layout parameter structure and / or the document cover layout parameter structure and / or the electronic document container notes layout parameter structure.
10. A method for reading and storing files in an electronic document container according to claim 2, characterized in that, Obtain and parse the index of the collected files; The index of the stored files includes the relative offset of the stored files; At least the contents of the stored file are obtained based on the relative offset.
11. An encoding generation device for an electronic document container, characterized in that, It includes an electronic document container encoder (10); the electronic document container encoder (10) is used to perform the encoding generation method of electronic document containers; it includes an electronic document container base design program module (11), an electronic document container base layout program module (12), a container shared information encoding integration program module (13) and an electronic document container encoding integration program module (14). Among them, the electronic document container base design program module (11) is used to encode and generate electronic document container cover file and / or electronic document container directory page file and / or storage file cover file and / or electronic document container preparation form file; The electronic document container base layout program module (12) adopts a layout method based on the opening parameters to encode and generate: an electronic document container cover layout parameter structure, and format it in the electronic document container cover file; and / or an electronic document container directory page layout parameter structure and a collection file index array, and format them in the electronic document container directory file; and / or a collection file cover layout parameter structure, and format it in the collection file cover file; and / or an electronic document container notes layout parameter structure, and format it in the electronic document container notes file; And / or, the shared information encoding and integration program module (13) is used to encode and generate shared information for electronic document containers; The electronic file container encoding and integration program module (14) encodes and generates the full path of an empty electronic file container; it encodes and integrates the electronic file container header identifier, blank electronic file container cover and / or blank electronic file container directory page and / or blank file cover and / or blank electronic file container reference sheet and / or electronic file container shared information into electronic file container content; thereby obtaining the electronic file container as described in claim 1.