CN112862425B - Device and technology for reading OFD format file life cycle information - Google Patents

Device and technology for reading OFD format file life cycle information Download PDF

Info

Publication number
CN112862425B
CN112862425B CN202110038708.6A CN202110038708A CN112862425B CN 112862425 B CN112862425 B CN 112862425B CN 202110038708 A CN202110038708 A CN 202110038708A CN 112862425 B CN112862425 B CN 112862425B
Authority
CN
China
Prior art keywords
file
life cycle
ofd
information
xml
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110038708.6A
Other languages
Chinese (zh)
Other versions
CN112862425A (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.)
Jiangsu Zhongwei Technology Software System Co ltd
Original Assignee
Jiangsu Zhongwei Technology Software System 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 Jiangsu Zhongwei Technology Software System Co ltd filed Critical Jiangsu Zhongwei Technology Software System Co ltd
Priority to CN202110038708.6A priority Critical patent/CN112862425B/en
Publication of CN112862425A publication Critical patent/CN112862425A/en
Application granted granted Critical
Publication of CN112862425B publication Critical patent/CN112862425B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06QINFORMATION AND COMMUNICATION TECHNOLOGY [ICT] SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES; SYSTEMS OR METHODS SPECIALLY ADAPTED FOR ADMINISTRATIVE, COMMERCIAL, FINANCIAL, MANAGERIAL OR SUPERVISORY PURPOSES, NOT OTHERWISE PROVIDED FOR
    • G06Q10/00Administration; Management
    • G06Q10/10Office automation; Time management
    • G06Q10/103Workflow collaboration or project management
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/16File or folder operations, e.g. details of user interfaces specifically adapted to file systems
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/174Redundancy elimination performed by the file system
    • G06F16/1744Redundancy elimination performed by the file system using compression, e.g. sparse files
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/448Execution paradigms, e.g. implementations of programming paradigms
    • G06F9/4482Procedural

Abstract

The invention discloses a device and a technology for reading OFD format file life cycle information. The invention directly reads the binary stream content in the OFD format file through the decompression technology, and obtains the life cycle file in the OFD format file through step-by-step searching. By the method, people can read the own content of the OFD file and effectively look up the life cycle information of the OFD format file through the device and the technology; the binary stream content in the OFD format file is directly read through the decompression technology, the process and time for decompressing to the temporary catalogue can be effectively omitted, and the reading efficiency of the OFD format file is improved. Whether the file is in the application environment or after the file leaves the application environment, the main process information and behavior information of the life cycle of the file in the original application system can be seen quickly and efficiently.

Description

Device and technology for reading OFD format file life cycle information
Technical Field
The invention relates to the field of OFD format file processing, in particular to a device and a technology for reading OFD format file life cycle information.
Background
The document circulation needs to be based on a system, while a workflow list system is a commonly used system, and the currently commonly used workflow list system comprises an application system such as a document circulation system, an administrative approval system or an archive management system. The circulation of the official documents is mainly carried out through the workflow list system. The method realizes service data interaction and storage by an electronic form, and generally takes an OFD file as a text and PDF and other files with different formats as attachments to exist and integrally circulate.
The workflow realizes the circulation of an abstract flow, the realization of specific services needs to be completed in an electronic form module, for example, documents are signed and the examination and approval opinions correspond to a service module, the specific services are realized in the service module and the data is stored in a database table, so that the persistence of the service data is realized. The workflow is responsible for concatenating the service modules to realize the circulation of the service flow. The workflow circulation-based electronic form is obviously different from the traditional electronic document which only can exist as carriers of static and fragmented information, pictures, graphs and the like, can be an electronic, common and convenient-to-use almost any type of document, such as electronic documents frequently used in the fields of electronic government such as online declaration, approval, internal office, government information acquisition, submission and the like, and can substantially apply an XML document technology, so that the optimal characteristics of paper documents such as familiar appearance and feeling are reserved, and meanwhile, powerful business logic functions such as data verification and routing instructions are added. These features provide people with the necessary data access and interaction functions while also allowing governments to interact more efficiently with public applications. The workflow form system realizes the low coupling connection of the electronic form and various actual business logics, so that the traditional electronic form is really fused with an application system.
However, for the OFD format file in the workflow list system, people often can only look up the content of the OFD format file, but cannot effectively look up the specific life cycle information of the OFD format file, such as the process of initiating and transferring the source of the OFD format file, the signing record of the file, and the like, and cannot additionally store the life cycle information of the OFD format file, so that the OFD format file can be looked up later, which causes certain inconvenience to people.
Disclosure of Invention
The present invention is directed to an apparatus and a technique for reading life cycle information of an OFD format file, which can solve one or more of the above problems.
According to an aspect of the present invention, there is provided an apparatus and a technique for reading lifecycle information of an OFD layout file, including the steps of:
a. selecting an OFD format file in an application environment of OFD, particularly in the application environment adopting a workflow list system, wherein the OFD format file contains file life cycle information;
b. a program is called to decompress the OFD format file to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file;
c. finding and reading the OFD.xml file to inquire a path of the document.xml file, and acquiring the document.xml file according to the path of the document.xml file;
d. reading the document.xml file to inquire a path of an extension.xml file, and acquiring the extension.xml file according to the path of the extension.xml file;
e. reading the specific content of the extension.xml file, finding a registration path of file life cycle information in the OFD format file, and acquiring the life cycle file according to the registration path;
f. and analyzing the life cycle file to obtain specific file life cycle information of the OFD format file.
The invention has the beneficial effects that: by the method, people can read the own content of the OFD file and effectively look up the life cycle information of the OFD format file through the device and the technology; the binary stream content in the OFD format file is directly read through the decompression technology, the process and time for decompressing to the temporary catalogue can be effectively omitted, and the reading efficiency of the OFD format file is improved. Whether the file is in the application environment or after the file leaves the application environment, the main process information and behavior information of the life cycle of the file in the original application system can be seen quickly and efficiently. On the other hand, the method is also applicable to other types of layout files, and the layout data stream file system and the operating device thereof are supported as functional components.
In some embodiments, the file lifecycle information comprises information generated in the application system for all operations on the file including, but not limited to, launch, distribute, stream, view, read, edit, compress, transform, split, merge, encrypt, decrypt, sign-on, save, delete, restore, print, archive, backup.
In some embodiments, the file life cycle further includes the identity, time, terminal information and operation content generated by the operation process, and the data organization is performed in a JSON format to form an xml document recording the file life cycle information. The operation content includes, but is not limited to, page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot bit information.
In some embodiments, in the step b, the program decompresses the OFD layout file by a decompression technique, which includes but is not limited to zlibzip and zlib. The method can optimize the opening of the OFD file by using the zlibzip decompression technology, omits the process of temporary decompression, directly reads the binary stream of the file, and realizes quick opening and quick reading.
In some embodiments, the file life cycle information in step a is encrypted, and step f includes decrypting the life cycle file.
In some embodiments, the decryption in step f uses a cryptographic algorithm including, but not limited to, SM4, SM2, SM3, DES, AES, IDEA.
In some embodiments, the invention further comprises generating a life cycle visualization flowchart in a workflow list system according to the specific file life cycle information of the OFD layout file. The life cycle visualization flow chart can conveniently, clearly and visually display the whole life process of the OFD format file.
In some embodiments, the OFD format file is not limited by an application environment, and by reading the file life cycle information, the operation record of each user on the OFD format file in the state and the circulation process of the OFD format file can be traced and checked in the application environment; whether the OFD format file is in the application environment or after the OFD format file leaves the application environment, the main process information and behavior information of the life cycle of the OFD format file in the original application environment can be quickly and efficiently seen.
In some embodiments, when a data disaster accident occurs in the application system and the application system is recovered to generate a data damage situation, the OFD layout file can be returned to a corresponding node position in the application system according to the file life cycle information, so as to maximally recover the data file damaged by the disaster accident, and the application system includes but is not limited to a workflow list system. Therefore, when the OFD format file has a problem due to an error or crash of the workflow list system, the file life cycle information of the OFD format file can be restored through the step, and the OFD format file can be conveniently used continuously.
In some embodiments, the OFD layout file leaves the original application system and is utilized by other application systems, and the file life cycle information of the OFD layout file in the original application system can also be read, so that the cross-application sharing of the life cycle information of the OFD layout file is realized.
Detailed Description
The present invention is described in further detail below.
Example 1
The device and the technology for reading the life cycle information of the OFD format file in the embodiment comprise the following steps:
step a, selecting an OFD format file in an application environment of the OFD, such as a workflow list system, wherein the OFD format file contains file life cycle information, the file life cycle information comprises information generated by all operations on the file in the application system, and the operations include but are not limited to initiation, distribution, circulation, viewing, reading, editing, compression, conversion, splitting, combination, encryption, decryption, signing, saving, deletion, restoration, printing, archiving and backup.
And the file life cycle also comprises the identity, time, terminal information and operation content generated in the operation process, and the data organization is carried out in a JSON format to form an xml document for recording the file life cycle information. The operation content includes, but is not limited to, page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot bit information;
b, a program is called to decompress the OFD format file in the step a through a zlibzip decompression technology to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file, the OFD.xml file records the path information of the document.xml file, the document.xml file records the path information of the extension.xml file, and the extension.xml file records the registration path of the life cycle file;
step c, finding and reading the OFD.xml file in the OFD format file system structure obtained in the step b to inquire the path of the document.xml file, and obtaining the document.xml file according to the path of the document.xml file;
step d, reading the document.xml file obtained in the step c to inquire the path of the extension.xml file, and obtaining the extension.xml file according to the path of the extension.xml file;
e, reading the specific content of the extension.xml file obtained in the step d, finding a registration path of the file life cycle information in the OFD format file, and obtaining the life cycle file according to the registration path;
and f, analyzing the life cycle file obtained in the step e to obtain specific file life cycle information of the OFD format file.
According to the technology, the binary stream content in the OFD format file is directly read, the process and time for decompressing to the temporary directory are effectively omitted, and the reading efficiency of the OFD format file is improved.
The present technique is also applicable to other types of layout files, supporting layout data stream file systems and their operating devices as part of their functionality.
In the technology, the OFD format file is not limited by an application environment, and the operation record of each user on the OFD format file in the state and the circulation process of the OFD format file can be traced and checked in the application environment by reading the life cycle information of the file; whether the OFD format file is in the application environment or after the OFD format file leaves the application environment, the main process information and behavior information of the life cycle of the OFD format file in the original application environment can be quickly and efficiently seen.
In the technology, the OFD format file leaves the original application system and is utilized by other application systems, and the file life cycle information of the OFD format file in the original application system can also be read, so that the cross-application sharing of the life cycle information of the OFD format file is realized.
Example 2
The device and the technology for reading the life cycle information of the OFD format file in the embodiment comprise the following steps:
step a, selecting an OFD format file in an OFD application environment such as a workflow list system, wherein the OFD format file contains file life cycle information, the file life cycle information is encrypted, the file life cycle information contains information generated by all operations of the file in the application system, and the operations include but are not limited to initiation, distribution, circulation, viewing, reading, editing, compression, conversion, splitting, merging, encryption, decryption, signing, storage, deletion, restoration, printing, archiving and backup.
And the file life cycle also comprises the identity, time, terminal information and operation content generated in the operation process, and the data organization is carried out in a JSON format to form an xml document for recording the file life cycle information. The operation content includes, but is not limited to, page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot bit information;
b, a program is called to decompress the OFD format file in the step a through a zlibzip decompression technology to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file, the OFD.xml file records the path information of the document.xml file, the document.xml file records the path information of the extension.xml file, and the extension.xml file records the registration path of the life cycle file;
step c, finding and reading the OFD.xml file in the OFD format file system structure obtained in the step b to inquire the path of the document.xml file, and obtaining the document.xml file according to the path of the document.xml file;
step d, reading the document.xml file obtained in the step c to inquire the path of the extension.xml file, and obtaining the extension.xml file according to the path of the extension.xml file;
e, reading the specific content of the extension.xml file obtained in the step d, finding a registration path of the file life cycle information in the OFD format file, and obtaining the life cycle file according to the registration path;
and f, analyzing the life cycle file obtained in the step e, and decrypting the life cycle file according to the encryption mode of the life cycle file through one or more of the cryptographic algorithms SM4, SM2, SM3, DES, AES and IDEA, so as to obtain the specific file life cycle information of the OFD format file and obtain the specific file life cycle information of the OFD format file.
According to the technology, the binary stream content in the OFD format file is directly read, the process and time for decompressing to the temporary directory are effectively omitted, and the reading efficiency of the OFD format file is improved.
The present technique is also applicable to other types of layout files, supporting layout data stream file systems and their operating devices as part of their functionality.
In the technology, the OFD format file is not limited by an application environment, and the operation record of each user on the OFD format file in the state and the circulation process of the OFD format file can be traced and checked in the application environment by reading the life cycle information of the file; whether the OFD format file is in the application environment or after the OFD format file leaves the application environment, the main process information and behavior information of the life cycle of the OFD format file in the original application environment can be quickly and efficiently seen.
In the technology, the OFD format file leaves the original application system and is utilized by other application systems, and the file life cycle information of the OFD format file in the original application system can also be read, so that the cross-application sharing of the life cycle information of the OFD format file is realized.
Example 3
The device and the technology for reading the life cycle information of the OFD format file in the embodiment comprise the following steps:
step a, selecting an OFD format file in an OFD application environment such as a workflow list system, wherein the OFD format file contains file life cycle information, the file life cycle information is encrypted, the file life cycle information contains information generated by all operations of the file in the application system, and the operations include but are not limited to initiation, distribution, circulation, viewing, reading, editing, compression, conversion, splitting, merging, encryption, decryption, signing, storage, deletion, restoration, printing, archiving and backup.
And the file life cycle also comprises the identity, time, terminal information and operation content generated in the operation process, and the data organization is carried out in a JSON format to form an xml document for recording the file life cycle information. The operation content includes, but is not limited to, page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot bit information;
b, a program is called to decompress the OFD format file in the step a through a zlib decompression technology to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file, the OFD.xml file records the path information of the document.xml file, the document.xml file records the path information of the extension.xml file, and the extension.xml file records the registration path of the life cycle file;
step c, finding and reading the OFD.xml file in the OFD format file system structure obtained in the step b to inquire the path of the document.xml file, and obtaining the document.xml file according to the path of the document.xml file;
step d, reading the document.xml file obtained in the step c to inquire the path of the extension.xml file, and obtaining the extension.xml file according to the path of the extension.xml file;
e, reading the specific content of the extension.xml file obtained in the step d, finding a registration path of the file life cycle information in the OFD format file, and obtaining the life cycle file according to the registration path;
step f, analyzing the life cycle file obtained in the step e, and decrypting the life cycle file according to the encryption mode of the life cycle file through one or more of the cryptographic algorithms SM4, SM2, SM3, DES, AES and IDEA, so as to obtain the specific file life cycle information of the OFD format file and obtain the specific file life cycle information of the OFD format file;
and g, generating a life cycle visualization flow chart in the workflow list system according to the specific file life cycle information of the OFD format file obtained in the step f. The life cycle visualization flowchart can be arranged in an area before the index and the bookmark in the workflow list system, and the life cycle visualization flowchart is displayed from top to bottom according to the life cycle process of the file.
According to the technology, the binary stream content in the OFD format file is directly read, the process and time for decompressing to the temporary directory are effectively omitted, and the reading efficiency of the OFD format file is improved.
The present technique is also applicable to other types of layout files, supporting layout data stream file systems and their operating devices as part of their functionality.
In the technology, the OFD format file is not limited by an application environment, and the operation record of each user on the OFD format file in the state and the circulation process of the OFD format file can be traced and checked in the application environment by reading the life cycle information of the file; whether the OFD format file is in the application environment or after the OFD format file leaves the application environment, the main process information and behavior information of the life cycle of the OFD format file in the original application environment can be quickly and efficiently seen.
In the technology, the OFD format file leaves the original application system and is utilized by other application systems, and the file life cycle information of the OFD format file in the original application system can also be read, so that the cross-application sharing of the life cycle information of the OFD format file is realized.
Example 4
The device and the technology for reading the life cycle information of the OFD format file in the embodiment comprise the following steps:
step a, selecting an OFD format file in an OFD application environment such as a workflow list system, wherein the OFD format file contains file life cycle information, the file life cycle information is encrypted, the file life cycle information contains information generated by all operations of the file in the application system, and the operations include but are not limited to initiation, distribution, circulation, viewing, reading, editing, compression, conversion, splitting, merging, encryption, decryption, signing, storage, deletion, restoration, printing, archiving and backup.
And the file life cycle also comprises the identity, time, terminal information and operation content generated in the operation process, and the data organization is carried out in a JSON format to form an xml document for recording the file life cycle information. The operation content includes, but is not limited to, page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot bit information;
b, a program is called to decompress the OFD format file in the step a through a zlib decompression technology to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file, the OFD.xml file records the path information of the document.xml file, the document.xml file records the path information of the extension.xml file, and the extension.xml file records the registration path of the life cycle file;
step c, finding and reading the OFD.xml file in the OFD format file system structure obtained in the step b to inquire the path of the document.xml file, and obtaining the document.xml file according to the path of the document.xml file;
step d, reading the document.xml file obtained in the step c to inquire the path of the extension.xml file, and obtaining the extension.xml file according to the path of the extension.xml file; e, reading the specific content of the extension.xml file obtained in the step d, finding a registration path of the file life cycle information in the OFD format file, and obtaining the life cycle file according to the registration path;
step f, analyzing the life cycle file obtained in the step e, and decrypting the encryption of the life cycle file according to the encryption mode of the life cycle file through one or more of the cryptographic algorithms SM4, SM2, SM3, DES, AES and IDEA so as to obtain the specific file life cycle information of the OFD format file and obtain the specific file life cycle information of the OFD format file;
and h, transmitting the specific file life cycle information of the OFD format file obtained in the step f to the outside of the workflow list system and storing the information.
According to the technology, the binary stream content in the OFD format file is directly read, the process and time for decompressing to the temporary directory are effectively omitted, and the reading efficiency of the OFD format file is improved.
The present technique is also applicable to other types of layout files, supporting layout data stream file systems and their operating devices as part of their functionality.
In the technology, the OFD format file is not limited by an application environment, and the operation record of each user on the OFD format file in the state and the circulation process of the OFD format file can be traced and checked in the application environment by reading the life cycle information of the file; whether the OFD format file is in the application environment or after the OFD format file leaves the application environment, the main process information and behavior information of the life cycle of the OFD format file in the original application environment can be quickly and efficiently seen.
In the technology, the OFD format file leaves the original application system and is utilized by other application systems, and the file life cycle information of the OFD format file in the original application system can also be read, so that the cross-application sharing of the life cycle information of the OFD format file is realized.
Example 5
The device and the technology for reading the life cycle information of the OFD format file in the embodiment comprise the following steps:
step a, selecting an OFD format file in an OFD application environment such as a workflow list system, wherein the OFD format file contains file life cycle information, the file life cycle information is encrypted, the file life cycle information contains information generated by all operations of the file in the application system, and the operations include but are not limited to initiation, distribution, circulation, viewing, reading, editing, compression, conversion, splitting, merging, encryption, decryption, signing, storage, deletion, restoration, printing, archiving and backup.
And the file life cycle also comprises the identity, time, terminal information and operation content generated in the operation process, and the data organization is carried out in a JSON format to form an xml document for recording the file life cycle information. The operation content includes, but is not limited to, page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot bit information;
b, a program is called to decompress the OFD format file in the step a through a zlibzip decompression technology to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file, the OFD.xml file records the path information of the document.xml file, the document.xml file records the path information of the extension.xml file, and the extension.xml file records the registration path of the life cycle file;
step c, finding and reading the OFD.xml file in the OFD format file system structure obtained in the step b to inquire the path of the document.xml file, and obtaining the document.xml file according to the path of the document.xml file;
step d, reading the document.xml file obtained in the step c to inquire the path of the extension.xml file, and obtaining the extension.xml file according to the path of the extension.xml file;
e, reading the specific content of the extension.xml file obtained in the step d, finding a registration path of the file life cycle information in the OFD format file, and obtaining the life cycle file according to the registration path;
and f, analyzing the life cycle file obtained in the step e, and decrypting the encryption of the life cycle file according to the encryption mode of the life cycle file through one or more of the cryptographic algorithms SM4, SM2, SM3, DES, AES and IDEA, so as to obtain the specific file life cycle information of the OFD format file and obtain the specific file life cycle information of the OFD format file.
In the device and the technology for reading the life cycle information of the OFD format file of the embodiment, when a data disaster accident occurs in the application system and the application system is recovered to cause a data damage condition, the OFD format file can be returned to a corresponding node position in the application system according to the file life cycle information so as to recover the data file damaged by the disaster accident to the maximum extent, and the application system includes but is not limited to a workflow table single system. On the other hand, the method is also applicable to other types of layout files, and the layout data stream file system and the operating device thereof are supported as functional components. In the technology, the OFD format file leaves the original application system and is utilized by other application systems, and the file life cycle information of the OFD format file in the original application system can also be read, so that the cross-application sharing of the life cycle information of the OFD format file is realized.
Example 6
The OFD format file containing the file life cycle information can be obtained by the following steps:
step 1, a user initiates a file in an OFD application environment, and records user identity, time and terminal information from initiation;
step 2, distributing and circulating the file to a plurality of users, and recording information generated by the users in the process of operating the file by the terminals;
step 3, generating the information generated in the operation process into life cycle information of the file, and temporarily storing the life cycle information in the file;
step 4, the application environment analyzes the file and reads file information according to OFD standard, the file information comprises text content, font information, coordinate information and page number information of the file, the life cycle information of the file is bound with the file information, an xml document is generated in the file in a self-defined mode, and the bound file information and the life cycle information of the file are registered in the xml document for storage;
and 5, analyzing the extended content of the file, and storing the xml document path generated in the step 4 into the extended content.
The document of the life cycle file can be independent of a workflow list system, and when the life cycle file reading system is used, a user can find the corresponding file according to the requirement and the storage path and open the document of the life cycle file for reading by using a common browser or reading software.
What has been described above are merely some embodiments of the present invention. It will be apparent to those skilled in the art that various changes and modifications can be made without departing from the inventive concept thereof, and these changes and modifications can be made without departing from the spirit and scope of the invention.

Claims (10)

1. A method for reading the life cycle information of an OFD format file is characterized by comprising the following steps:
a. selecting an OFD format file in an OFD application environment, wherein the OFD format file contains file life cycle information;
b. a program is called to decompress the OFD format file to obtain an OFD format file system structure, wherein the OFD format file system structure contains an OFD.xml file, a document.xml file and an extension.xml file;
c. finding and reading the OFD.xml file to inquire a path of the document.xml file, and acquiring the document.xml file according to the path of the document.xml file;
d. reading the document.xml file to inquire a path of an extension.xml file, and acquiring the extension.xml file according to the path of the extension.xml file;
e. reading the specific content of the extension.xml file, finding a registration path of file life cycle information in the OFD format file, and acquiring the life cycle file according to the registration path;
f. and analyzing the life cycle file to obtain specific file life cycle information of the OFD format file.
2. The method of claim 1, wherein the file life cycle information comprises information generated by all operations on the file in the application system, including but not limited to launch, distribute, stream, view, read, edit, compress, transform, split, merge, encrypt, decrypt, sign, save, delete, restore, print, archive, backup.
3. The method according to claim 2, wherein the file life cycle further comprises the identity, time, terminal information, and operation content generated by the operation process, and the operation content is organized in JSON format to form an xml document recording the file life cycle information, and the operation content includes but is not limited to page number, content, font size, color, size, type, vector X coordinate, vector Y coordinate, and dot position information.
4. The method according to claim 1, wherein in step b, the program decompresses the OFD layout file by a decompression technique, the decompression technique including but not limited to zlibzip and zlib.
5. The method of claim 1, wherein the file life cycle information in step a is encrypted, and step f comprises decrypting the life cycle file.
6. The method of claim 5, wherein the decryption in step f is performed by using a cryptographic algorithm, the algorithm includes but is not limited to SM4, SM2, SM3, DES, AES, IDEA.
7. The method according to claim 1, comprising generating a life cycle visualization flowchart in a workflow list system according to the specific file life cycle information of the OFD layout file.
8. The method according to claim 1, wherein the OFD format file is not limited by an application environment, and by reading the file life cycle information, the operation records of the OFD format file by each user in the state and the circulation process of the OFD format file can be traced and checked in the application environment; whether the OFD layout file is in the application environment or after the OFD layout file leaves the application environment, the life cycle main process information and behavior information of the OFD layout file in the original application environment can be seen.
9. The method of claim 1, wherein when the application system has a data disaster and a data damage occurs after the application system recovers, the OFD format file can be returned to the corresponding node location in the application system according to the file life cycle information, so as to recover the data file damaged by the disaster, and the application system includes but is not limited to a workflow list system.
10. The method according to claim 1, wherein the OFD layout file leaves an original application system and is utilized by other application systems, and the file life cycle information of the OFD layout file in the original application system can also be read, so that the OFD layout file life cycle information can be shared across applications.
CN202110038708.6A 2021-01-12 2021-01-12 Device and technology for reading OFD format file life cycle information Active CN112862425B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110038708.6A CN112862425B (en) 2021-01-12 2021-01-12 Device and technology for reading OFD format file life cycle information

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110038708.6A CN112862425B (en) 2021-01-12 2021-01-12 Device and technology for reading OFD format file life cycle information

Publications (2)

Publication Number Publication Date
CN112862425A CN112862425A (en) 2021-05-28
CN112862425B true CN112862425B (en) 2021-11-12

Family

ID=76003046

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110038708.6A Active CN112862425B (en) 2021-01-12 2021-01-12 Device and technology for reading OFD format file life cycle information

Country Status (1)

Country Link
CN (1) CN112862425B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113961531B (en) * 2021-11-05 2022-08-30 江苏中威科技软件系统有限公司 Method and device for combining multi-format files into OFD (office file format) file
CN116719778B (en) * 2023-08-09 2023-11-10 江苏中威科技软件系统有限公司 Technology for generating virtual partition to complete four-way information theme by OFD file on OA system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951454A (en) * 2014-03-27 2015-09-30 河南省中科物联网有限公司 File full life cycle tracking and controlling method
CN111488144A (en) * 2020-04-17 2020-08-04 腾讯音乐娱乐科技(深圳)有限公司 Data processing method and equipment
CN111582833A (en) * 2020-05-13 2020-08-25 中国民航信息网络股份有限公司 Document processing method and device based on life cycle and electronic equipment
CN111625787A (en) * 2020-05-21 2020-09-04 杭州尚尚签网络科技有限公司 OFD-based electronic signature multi-version traceable rapid signature checking method
CN111753499A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging and displaying electronic form and OFD format file and generating directory

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7996409B2 (en) * 2006-12-28 2011-08-09 International Business Machines Corporation System and method for content-based object ranking to facilitate information lifecycle management
CN105787093B (en) * 2016-03-17 2019-07-02 清华大学 A kind of construction method of the log file system based on LSM-Tree structure
CN109165198A (en) * 2018-09-09 2019-01-08 江西金格科技股份有限公司 A kind of increment amending method based on OFD document
CN111767254B (en) * 2020-07-07 2021-01-05 江苏中威科技软件系统有限公司 Multi-file reading device and method based on format data stream file technology

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104951454A (en) * 2014-03-27 2015-09-30 河南省中科物联网有限公司 File full life cycle tracking and controlling method
CN111488144A (en) * 2020-04-17 2020-08-04 腾讯音乐娱乐科技(深圳)有限公司 Data processing method and equipment
CN111582833A (en) * 2020-05-13 2020-08-25 中国民航信息网络股份有限公司 Document processing method and device based on life cycle and electronic equipment
CN111625787A (en) * 2020-05-21 2020-09-04 杭州尚尚签网络科技有限公司 OFD-based electronic signature multi-version traceable rapid signature checking method
CN111753499A (en) * 2020-07-07 2020-10-09 江苏中威科技软件系统有限公司 Method for merging and displaying electronic form and OFD format file and generating directory

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
国家版式文档格式规范(OFD)标准;郭晓云;《兰台世界》;20180306;全文 *
网页电子文件归档管理系统建设研究与实践;咸荣禹等;《微型电脑应用》;20150918;第31卷(第8期);全文 *

Also Published As

Publication number Publication date
CN112862425A (en) 2021-05-28

Similar Documents

Publication Publication Date Title
CN112862425B (en) Device and technology for reading OFD format file life cycle information
Cohen et al. Extending the advanced forensic format to accommodate multiple data sources, logical evidence, arbitrary information and forensic workflow
US20150365385A1 (en) Method and apparatus for securing sensitive data in a cloud storage system
CN101840471B (en) Document right control method and device
CN112732654B (en) Method for registering life cycle information of file to OFD format file
US20080301431A1 (en) Text security method
US8799677B2 (en) Encrypted search database device, encrypted search data adding/deleting method and adding/deleting program
JPH09233067A (en) Method and device for processing intelligence information
US8738928B2 (en) Apparatus and method for processing extension information in image files
CN104392197A (en) Method for increasing reading rate and encryption of website two-dimensional code tags
US20220209945A1 (en) Method and device for storing encrypted data
US20180276399A1 (en) Non-transitory computer-readable storage medium, data generating method, and data generating apparatus
CN104978537A (en) Document access authority configuration method and device
JP5557683B2 (en) Information search apparatus and information search method
CN102142072A (en) Encryption processing and decryption processing method and device of electronic files
CN111625844A (en) Survey data security encryption method and device, electronic equipment and storage medium
NO321541B1 (en) Electronic handling of information using a station (server) for usage rules
CN108985109B (en) Data storage method and device
CN110011807A (en) A kind of key message maintaining method and system
JP2017058884A (en) ID management system and ID management method
KR102401229B1 (en) Method of securing text and device implementing thereof
JP6703116B2 (en) EPUB file encryption unit file compression and decompression method
KR102444848B1 (en) Apparatus and method for processing data to implement a server that provides specific functions such as editing during recording
Aslam et al. Data deduplication with encrypted big data management in cloud computing
JP6468246B2 (en) Submission server, terminal device, operation method and program of submission server

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