CN116483787A - Method, system and device for generating OFD format file - Google Patents
Method, system and device for generating OFD format file Download PDFInfo
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 32
- 238000004806 packaging method and process Methods 0.000 claims abstract description 18
- 238000012545 processing Methods 0.000 claims abstract description 16
- 238000003032 molecular docking Methods 0.000 claims abstract description 8
- 238000013461 design Methods 0.000 claims description 17
- 238000013507 mapping Methods 0.000 claims description 5
- 238000004590 computer program Methods 0.000 claims description 3
- 238000012546 transfer Methods 0.000 claims 1
- 238000010586 diagram Methods 0.000 description 3
- 230000005540 biological transmission Effects 0.000 description 2
- 238000004891 communication Methods 0.000 description 2
- 239000000969 carrier Substances 0.000 description 1
- 238000003745 diagnosis Methods 0.000 description 1
- 230000000694 effects Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 230000006870 function Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 230000003287 optical effect Effects 0.000 description 1
- 238000012858 packaging process Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000010076 replication Effects 0.000 description 1
- 238000006467 substitution reaction Methods 0.000 description 1
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/17—Details of further file system functions
- G06F16/174—Redundancy elimination performed by the file system
- G06F16/1744—Redundancy elimination performed by the file system using compression, e.g. sparse files
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/10—File systems; File servers
- G06F16/11—File system administration, e.g. details of archiving or snapshots
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F21/00—Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
- G06F21/60—Protecting data
- G06F21/64—Protecting data integrity, e.g. using checksums, certificates or signatures
-
- Y—GENERAL 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
- Y02—TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
- Y02P—CLIMATE CHANGE MITIGATION TECHNOLOGIES IN THE PRODUCTION OR PROCESSING OF GOODS
- Y02P90/00—Enabling technologies with a potential contribution to greenhouse gas [GHG] emissions mitigation
- Y02P90/30—Computing systems specially adapted for manufacturing
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Databases & Information Systems (AREA)
- Data Mining & Analysis (AREA)
- Computer Security & Cryptography (AREA)
- Health & Medical Sciences (AREA)
- Bioethics (AREA)
- General Health & Medical Sciences (AREA)
- Computer Hardware Design (AREA)
- Software Systems (AREA)
- Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
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
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.
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) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117910438A (en) * | 2024-03-13 | 2024-04-19 | 江苏中威科技软件***有限公司 | Dynamic format file DLF generation device |
-
2023
- 2023-04-07 CN CN202310365364.9A patent/CN116483787A/en active Pending
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN117910438A (en) * | 2024-03-13 | 2024-04-19 | 江苏中威科技软件***有限公司 | Dynamic format file DLF generation device |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
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 | |
JPH09233067A (en) | Method and device for processing intelligence information | |
US20130191366A1 (en) | Pattern Matching Engine | |
CN116483787A (en) | Method, system and device for generating OFD format file | |
US20110154376A1 (en) | Use of Web Services API to Identify Responsive Content Items | |
CN112016290A (en) | Automatic document typesetting method, device, equipment and storage medium | |
CN101997643B (en) | Method and system for packing electronic files | |
CN106815181A (en) | Method and device for converting Indesign typesetted ind files into Office files | |
US10984184B2 (en) | Maintenance of a metafile using spreadsheet software | |
CN112862425B (en) | Device and technology for reading OFD format file life cycle information | |
CN113468862A (en) | Method and device for creating layout file by block chain, electronic equipment and storage medium | |
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 | |
CN114970487B (en) | Method for generating OFD electronic contract based on rich text | |
CN115588206A (en) | Automatic template character recognition implementation system and method based on data management | |
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 | |
CN116483788A (en) | Method, system and device for packaging and encapsulating electronic files | |
WO2019210573A1 (en) | Method and apparatus for generating electronic order, and computer device and storage medium |
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 |