CN116483787A - Method, system and device for generating OFD format file - Google Patents

Method, system and device for generating OFD format file Download PDF

Info

Publication number
CN116483787A
CN116483787A CN202310365364.9A CN202310365364A CN116483787A CN 116483787 A CN116483787 A CN 116483787A CN 202310365364 A CN202310365364 A CN 202310365364A CN 116483787 A CN116483787 A CN 116483787A
Authority
CN
China
Prior art keywords
ofd
file
template
ofd format
generating
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.)
Pending
Application number
CN202310365364.9A
Other languages
Chinese (zh)
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.)
Youhong Beijing Technology Co ltd
Original Assignee
Youhong Beijing Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Youhong Beijing Technology Co ltd filed Critical Youhong Beijing Technology Co ltd
Priority to CN202310365364.9A priority Critical patent/CN116483787A/en
Publication of CN116483787A publication Critical patent/CN116483787A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/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
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/11File system administration, e.g. details of archiving or snapshots
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/64Protecting data integrity, e.g. using checksums, certificates or signatures
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02PCLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
    • Y02P90/00Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
    • Y02P90/30Computing systems specially adapted for manufacturing

Abstract

The invention discloses a method, a system and a device for generating an OFD format file, comprising the following steps: s1, creating an electronic file packaging and packaging processing service program; s2, designing a service docking API; s3, defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template; s4, generating an OFD layout file according to the designed OFD layout template. The method and the device can realize the generation of the OFD format file.

Description

Method, system and device for generating OFD format file
Technical Field
The invention relates to the field of OFD format file generation, in particular to a method, a system and a device for generating an OFD format file.
Background
In the current application of files, pictures, data, files and other electronic files in government and enterprise industries, the following problems exist: the relevance among a plurality of electronic files with business relevance formed in one business is poor, the electronic files are handed over in a compressed package form, the content display of the compressed package is not intuitive and easy to tamper, the files in the package are required to be extracted independently and opened by using a special reader, the quick reading of the files in the package is inconvenient, and the like. Therefore, the packaging and packaging process of a plurality of electronic files has become a rigid requirement for packaging and packaging preservation management.
Disclosure of Invention
The invention aims to provide a method for generating an OFD format file, which aims to solve the problem of generating the OFD format file.
The invention provides a method for generating an OFD format file, which comprises the following steps:
s1, creating an electronic file packaging and packaging processing service program;
s2, designing a service docking API;
s3, defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template;
s4, generating an OFD layout file according to the designed OFD layout template.
The invention also provides a system for generating the OFD format file, which comprises:
the creation module: the method comprises the steps of creating an electronic file packaging and packaging processing service program;
and (3) a design module: for designing a service docking API;
the definition module: the method comprises the steps of defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template;
the generation module is used for: and generating an OFD format file according to the designed OFD format template.
The embodiment of the invention also provides a device for generating the OFD format file, which comprises the following steps: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method described above.
The embodiment of the invention also provides a computer readable storage medium, wherein the computer readable storage medium stores an information transmission implementation program, and the program realizes the steps of the method when being executed by a processor.
By adopting the embodiment of the invention, the generation of the OFD format file can be realized.
The foregoing description is only an overview of the present invention, and is intended to provide a more clear understanding of the technical means of the present invention, as it is embodied in accordance with the present invention, and to make the above and other objects, features and advantages of the present invention more apparent, as it is embodied in the following detailed description of the invention.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are needed in the description of the embodiments or the prior art will be briefly described, and it is obvious that the drawings in the description below are some embodiments of the present invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a method of OFD layout file generation in an embodiment of the present invention;
FIG. 2 is a system diagram of OFD layout file generation in accordance with an embodiment of the present invention;
fig. 3 is a schematic diagram of an apparatus for generating an OFD layout file according to an embodiment of the present invention.
Detailed Description
The technical solutions of the present invention will be clearly and completely described in connection with the embodiments, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Method embodiment
According to an embodiment of the present invention, there is provided a method for generating an OFD layout file, and fig. 1 is a flowchart of a method for generating an OFD layout file according to an embodiment of the present invention, as shown in fig. 1, including:
s1, creating an electronic file packaging and packaging processing service program;
s2, designing a service docking API;
s3, defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template;
s3 specifically comprises:
and building a template by taking WORD, WPS, PDF, OFD and a picture file as template initial bottom plates, defining fields of a template single data field, a list data field and a table data field, designing data field attributes, wherein the data field attributes comprise semantic setting, style design and typesetting design, generating an OFD format template file carrying dynamic rules, and storing the designed OFD format template file.
S4, generating an OFD layout file according to the designed OFD layout template.
S4 specifically comprises the following steps:
receiving business data and an OFD format template file which accord with the design rule of the OFD template, processing the mapping relation between the business data and the components, constructing an OFD file structure based on the standard of the OFD format file and the types of the components, filling the business data to the corresponding positions to generate the OFD format file, digitally signing the OFD format file, outputting the OFD format file, and finishing file generation processing.
OFD: is an abbreviation of English abbreviation of open-layout Document, which is used later as format specification of reference national layout Document;
API: is a set of definition, program and protocol, and realizes the mutual communication between computer software through API interface;
and (3) a template: a fixed format of a drawing or design;
layout file: the method refers to an electronic document which presents a fixed original effect in a layout under an index environment;
electronic file: the file is formed in digital equipment and environment, stored in carriers such as magnetic tape, magnetic disk, optical disk and the like in a digital form, read and processed by the digital equipment such as a computer and can be transmitted on a communication network;
service program: a set of programs, which are compiled using a computer to provide a means of service, are maintained for the user. Generally comprises: program input and assembly, editing, diagnosis, file replication, file packaging, help prompting and other functions;
digital signature: only the sender of the information can generate a digital string which cannot be forged by others, and the digital string is also a valid proof for the authenticity of the information sent by the sender of the information. It is a method for authenticating digital information that resembles a common physical signature written on paper, but is implemented using techniques in the field of public key cryptography.
The invention is based on a format technology (OFD file), a service program generated by creating an OFD format file based on a template, designing a service docking API, defining template information to be converted into the OFD file and determining a dynamic data area of the template, establishing the template by taking WORD, WPS, PDF, OFD and picture files as an initial base plate of the template, defining a template single data field, a list data field and fields of a table data field, designing relevant attributes of the data field, generating an OFD format template file carrying dynamic rules, receiving service data and the OFD template file conforming to the design rules of the OFD template, processing a mapping relation between the service data and a component, constructing an OFD file structure, filling the service data, then generating the OFD format file, and digitally signing the generated OFD format file. The method has the advantages that the template file manufacturing process is clear, the OFD format files with 1 or N fixed template formats are generated conveniently and rapidly, the efficiency is improved, and meanwhile, the OFD format files after digital signature are more complete and safer.
System embodiment
According to an embodiment of the present invention, a system for generating an OFD format file is provided, and fig. 3 is a schematic diagram of a system for generating an OFD format file according to an embodiment of the present invention, as shown in fig. 3, including:
the creation module: the method comprises the steps of creating an electronic file packaging and packaging processing service program;
and (3) a design module: for designing a service docking API;
the definition module: the method comprises the steps of defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template;
the definition module is specifically used for:
and building a template by taking WORD, WPS, PDF, OFD and a picture file as template initial bottom plates, defining fields of a template single data field, a list data field and a table data field, designing data field attributes, wherein the data field attributes comprise semantic setting, style design and typesetting design, generating an OFD format template file carrying dynamic rules, and storing the designed OFD format template file.
The generation module is used for: and generating an OFD format file according to the designed OFD format template.
The generating module is specifically used for:
receiving business data and an OFD format template file which accord with the design rule of the OFD template, processing the mapping relation between the business data and the components, constructing an OFD file structure based on the standard of the OFD format file and the types of the components, filling the business data to the corresponding positions to generate the OFD format file, digitally signing the OFD format file, outputting the OFD format file, and finishing file generation processing.
The embodiment of the present invention is a system embodiment corresponding to the above method embodiment, and specific operations of each module may be understood by referring to the description of the method embodiment, which is not repeated herein.
Device embodiment 1
An embodiment of the present invention provides an apparatus for generating an OFD format file, as shown in fig. 3, including: memory 30, processor 32, and a computer program stored on memory 30 and executable on processor 32, which when executed by the processor, performs the steps of the method embodiments described above.
Device example two
The embodiment of the present invention provides a computer-readable storage medium, on which a program for implementing information transmission is stored, which when executed by the processor 32 implements the steps of the method embodiment described above.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and not for limiting the same; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some or all of the technical features thereof can be replaced by equivalents; and these modifications or substitutions may be made to the technical solutions of the embodiments of the present invention without departing from the spirit of the corresponding technical solutions.

Claims (8)

1. A method for generating an OFD format file, comprising:
s1, creating an electronic file packaging and packaging processing service program;
s2, designing a service docking API;
s3, defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template;
s4, generating an OFD layout file according to the designed OFD layout template.
2. The method according to claim 1, wherein S3 specifically comprises:
and building a template by taking WORD, WPS, PDF, OFD and a picture file as an initial bottom plate of the template, defining fields of a template single data field, a list data field and a table data field, designing data field attributes, wherein the data field attributes comprise semantic setting, style design and typesetting design, generating an OFD format template file carrying dynamic rules, and storing the designed OFD format template file.
3. The method according to claim 2, wherein S4 specifically comprises:
receiving business data and an OFD format template file which accord with the design rule of the OFD template, processing the mapping relation between the business data and the components, constructing an OFD file structure based on the standard of the OFD format file and the types of the components, filling the business data to the corresponding positions to generate the OFD format file, digitally signing the OFD format file, outputting the OFD format file, and finishing file generation processing.
4. A system for OFD layout file generation, comprising:
the creation module: the method comprises the steps of creating an electronic file packaging and packaging processing service program;
and (3) a design module: for designing a service docking API;
the definition module: the method comprises the steps of defining an OFD format template, and determining a dynamic data area of the OFD format template to obtain the designed OFD format template;
the generation module is used for: and generating an OFD format file according to the designed OFD format template.
5. The system of claim 4, wherein the definition module is specifically configured to:
and building a template by taking WORD, WPS, PDF, OFD and a picture file as template initial bottom plates, defining fields of a template single data field, a list data field and a table data field, designing data field attributes, wherein the data field attributes comprise semantic setting, style design and typesetting design, generating an OFD format template file carrying dynamic rules, and storing the designed OFD format template file.
6. The system of claim 5, wherein the generating module is specifically configured to:
receiving business data and an OFD format template file which accord with the design rule of the OFD template, processing the mapping relation between the business data and the components, constructing an OFD file structure based on the standard of the OFD format file and the types of the components, filling the business data to the corresponding positions to generate the OFD format file, digitally signing the OFD format file, outputting the OFD format file, and finishing file generation processing.
7. An apparatus for generating an OFD format file, comprising: a memory, a processor and a computer program stored on the memory and executable on the processor, which when executed by the processor, performs the steps of the method of OFD layout file generation as claimed in any one of claims 1 to 3.
8. A computer-readable storage medium, characterized in that it has stored thereon a program for realizing information transfer, which when executed by a processor, realizes the steps of the method for generating an OFD layout file according to any one of claims 1 to 3.
CN202310365364.9A 2023-04-07 2023-04-07 Method, system and device for generating OFD format file Pending CN116483787A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310365364.9A CN116483787A (en) 2023-04-07 2023-04-07 Method, system and device for generating OFD format file

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310365364.9A CN116483787A (en) 2023-04-07 2023-04-07 Method, system and device for generating OFD format file

Publications (1)

Publication Number Publication Date
CN116483787A true CN116483787A (en) 2023-07-25

Family

ID=87222376

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310365364.9A Pending CN116483787A (en) 2023-04-07 2023-04-07 Method, system and device for generating OFD format file

Country Status (1)

Country Link
CN (1) CN116483787A (en)

Similar Documents

Publication Publication Date Title
US6950987B1 (en) Remote document management system
JP4599360B2 (en) Method and system for synchronizing identification information
CN105787741A (en) Electronic contract signing system based on mobile phone client, and application method thereof
CN103220443A (en) Wireless printing from a device outside the network
US20130191366A1 (en) Pattern Matching Engine
CN111522784B (en) Metadata synchronization method, device and equipment for unstructured data files
CN111880752B (en) Seal printing method and device, electronic equipment and storage medium
US20110154376A1 (en) Use of Web Services API to Identify Responsive Content Items
CN112016290A (en) Automatic document typesetting method, device, equipment and storage medium
CN111274769A (en) Method and model for automatically generating license file in cross-file format
CN101997643A (en) Method and system for packing electronic files
CN112862425B (en) Device and technology for reading OFD format file life cycle information
CN116483787A (en) Method, system and device for generating OFD format file
WO2024066271A1 (en) Database watermark embedding method and apparatus, database watermark tracing method and apparatus, and electronic device
CN107222453B (en) file transmission method and device
CN112100685A (en) Encryption and tamper-proof processing method for checking and detecting electronic report
US10984184B2 (en) Maintenance of a metafile using spreadsheet software
CN103312743A (en) Data synchronization device and method
CN115588206A (en) Automatic template character recognition implementation system and method based on data management
US20150095458A1 (en) Methods and systems for providing a seamless transition of documents between client types
CN113590115A (en) Method and device for automatically generating service system code
US11165737B2 (en) Information processing apparatus for conversion between abbreviated name and formal name
US20080294645A1 (en) System, method and computer program product for EDI-to-EDI translations
CN112948474A (en) Data export method, device, equipment and computer readable storage medium
EP3832514A1 (en) An apparatus, computer program and method

Legal Events

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