CN116822467A - Method for renewing page of electronic license plate - Google Patents
Method for renewing page of electronic license plate Download PDFInfo
- Publication number
- CN116822467A CN116822467A CN202310917609.4A CN202310917609A CN116822467A CN 116822467 A CN116822467 A CN 116822467A CN 202310917609 A CN202310917609 A CN 202310917609A CN 116822467 A CN116822467 A CN 116822467A
- Authority
- CN
- China
- Prior art keywords
- electronic license
- renewing
- file
- page
- template
- 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 22
- 238000002360 preparation method Methods 0.000 claims abstract description 5
- 238000005516 engineering process Methods 0.000 abstract description 11
- 238000004364 calculation method Methods 0.000 abstract description 6
- 238000013515 script Methods 0.000 abstract description 2
- 238000006243 chemical reaction Methods 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 238000004891 communication Methods 0.000 description 1
- 230000003993 interaction Effects 0.000 description 1
- 238000004519 manufacturing process Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000000877 morphologic effect Effects 0.000 description 1
Abstract
The application provides a method for renewing pages of an electronic license plate, which expands the properties of renewing page modes and regular renewing page logic scripts on the basis of not damaging the traditional template design data structure, so that when a template designer designs a template, the renewing page modes are selected for the plate needing to be repeatedly designed according to actual conditions, and if the plate is paged according to the number of metadata sets, the copying renewing page modes or automatic renewing page modes can be selected; when paging is carried out according to the content of the metadata, a rule page renewing mode can be selected and page renewing rules can be written; and the program automatically generates a layout preparation file through calculation by the electronic license filling data and the electronic license template design data, and finally synthesizes the format electronic file through a layout generation technology.
Description
Technical Field
The application relates to the technical field of electronic certificates, in particular to a method for renewing pages of an electronic certificate layout.
Background
Electronic file formats are generally divided into streaming documents and layout files. The main characteristic of the streaming document is that the streaming document can be edited and modified directly in the document, wherein typical representative is Word document format, and format file is document which does not allow direct modification in the document, and typical representative is PDF document format. However, when the format file is used, the format is five-flower eight-door, which makes communication between enterprises and units more hindered. Therefore, like the unified word of Qin, we need a unified format file to communicate, so the format Document national standard established by the format writing group established by the China electronic technology standardization institute of the department of industry and informatization software is an autonomous format of China, and the problem that the electronic Document format of government departments and party authorities is not unified is broken, so that the OFD (Open Fixed-layout Document) format file for conveniently storing, reading and editing the electronic Document is generated; the OFD file is used as a main carrier of the electronic license, and the morphological representation of the OFD file meets the general requirements of the electronic license file technology:
1. using an OFD file format;
2. only one license is contained in one file;
3. contains electronic license basic metadata and electronic license identification (meeting the requirements of DB/T36904-2018)
4. Preferably, the method comprises indexing of the data of the care plane;
5. content including data signatures or electronic signatures;
6. dynamic elements such as animation, audio and video are not used;
7. related accessories containing the license in the following manner;
a. the accessories which need to be utilized in the original format are processed in an external accessory mode;
b. other accessories are converted into pages of the electronic license file;
8. the data required for license presentation and interaction is self-contained;
the electronic license refers to various electronic documents such as identity cards, wedding cards, bank repayment flow certificates, business licenses and the like which are legal by each unit and have legal efficacy. An electronic certificate is an electronic file of an OFD format file.
Because the OFD format file is a format file which cannot be directly edited in the document editor, when a certain metadata (metadata refers to the minimum unit of the display content of the electronic license page, such as the holder of the wedding license, etc.) or certain metadata needs to be repeatedly and continuously displayed on the electronic license, all layout of the metadata needs to be prepared in advance before the electronic license is generated; for example, if a certain metadata of a layout is a data set of an undetermined quantity or large text content, when a layout is unable to be completely displayed, the quantity of the layout needs to be calculated in advance, and then a template designer repeatedly designs the layout according to the calculation result; the amount or content of metadata of an electronic license is often uncertain in actual situations, for example, the "operating range" of business licenses of different industries is uncertain, some are of a simple type and two types, some are subdivided into major categories, and other are of various categories, if a template designer designs a template according to business licenses of different industries, the complexity is an immeasurable value.
The existing solution is a compromise method, wherein a streaming file is manufactured by using a format scheme for storing the paged file, and then the streaming file is converted into a file in an OFD format by a file format conversion technology. Although the method technically realizes the difficulty of paging the format file for the dynamic metadata (designing the layout requiring dynamic paging by utilizing a stream file editor and then filling data by utilizing a dynamic table technology), the generated OFD format file does not have most of the characteristics of the generated OFD format file, such as no data index, and the structure is not an electronic license file conforming to the national standard because the generated OFD format file is not a normal format file generation mode.
In the prior art, the page renewing of the electronic license is realized in a document conversion mode, namely, one kind of streaming file is converted into an electronic license file, such as a WORD format file is converted into an OFD format file; the file thus converted is only an electronic file with the OFD file format, and its structure is completely incompatible with the file technology (GB/T36905-2018) requirements of the electronic file.
Disclosure of Invention
Accordingly, the present application aims to provide a method for renewing the page of an electronic license, which is to design the page data strictly according to the technical requirements (GB/T36905-2018) of the electronic license file, so as to realize the renewing of the page of the electronic license.
In order to achieve the above purpose, the application adopts the following technical scheme: a method for renewing page of electronic license plate includes the following steps: and (5) electronic license layout and electronic license file filling generation.
In a preferred embodiment, the electronic license layout specifically includes the following steps:
step 11: opening the template designer;
step 12: designing a layout through a template designer;
step 13: the template layout data structure is stored to a template library.
In a preferred embodiment, the electronic license file filling generation specifically includes the following steps:
step 21: designing a data structure of an electronic license file template;
step 22: filling electronic license data;
step 23: obtaining layout renewing mode by using electronic license file template design data
Step 24: calculating the number of the layouts by using the design data and the filling data of the electronic license file template;
step 25: generating a layout process file;
step 26: generating a preparation resource according to the electronic license file to generate the electronic license file;
step 27: and storing the electronic license file into a file library.
Compared with the prior art, the application has the following beneficial effects: the method includes the steps that through designing a data structure of page renewing of an electronic license plate, then generating an electronic license file by utilizing an electronic license file generation technology, designing the plate data strictly according to the technical requirement (GB/T36905-2018) of the electronic license file according to the electronic license file generated by the data structure of page renewing of the electronic license plate, and realizing page renewing of the electronic license plate.
The data structure of the electronic license layout renewing means adding contents such as layout renewing attribute, paging label and the like in a template designer, then generating service obtains the number of multiplexing layout by combining metadata of filling data with the calculation of the number and offset of the layout, and finally generating the electronic license file by using a mature technology for generating the OFD format file, so that the electronic license file still maintains the technical requirement characteristic of the OFD format electronic file, thereby ensuring the dynamic renewing of the electronic license file layout and conforming to the standard of the electronic license file.
Drawings
FIG. 1 is a schematic flow chart (I) of a preferred embodiment of the application;
fig. 2 is a schematic flow chart (ii) of a preferred embodiment of the present application.
Detailed Description
The application will be further described with reference to the accompanying drawings and examples.
It should be noted that the following detailed description is illustrative and is intended to provide further explanation of the application. Unless defined otherwise, all technical and scientific terms used herein have the same meaning as commonly understood by one of ordinary skill in the art to which this application belongs.
It is noted that the terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of exemplary embodiments according to the present application; as used herein, the singular is also intended to include the plural unless the context clearly indicates otherwise, and furthermore, it is to be understood that the terms "comprises" and/or "comprising" when used in this specification are taken to specify the presence of stated features, steps, operations, devices, components, and/or combinations thereof.
A method for renewing an electronic license plate, referring to fig. 1 to 2, comprising the steps of: and (5) electronic license layout and electronic license file filling generation.
The electronic license layout specifically comprises the following steps:
step 11: opening the template designer;
step 12: designing a layout through a template designer;
step 13: the template layout data structure is stored to a template library.
The electronic license file filling generation specifically comprises the following steps:
step 21: designing a data structure of an electronic license file template;
step 22: filling electronic license data;
step 23: obtaining layout renewing mode by using electronic license file template design data
Step 24: calculating the number of the layouts by using the design data and the filling data of the electronic license file template;
step 25: generating a layout process file;
step 26: generating a preparation resource according to the electronic license file to generate the electronic license file;
step 27: and storing the electronic license file into a file library.
The method combines the advantages of a flow document, namely, the contents such as page renewing attribute, paging label and the like are added in a template designer firstly, the page renewing mode is used for describing the renewing mode of the current page, the renewing mode comprises a common mode such as copying renewing mode and automatic renewing mode, the common renewing mode is used for dynamically calculating how many times the page needs to be copied according to the contents of metadata and metadata placeholders and patterns of the layout, and each layout metadata has the contents of automatic renewing display metadata; the rule is not a behavior that repeated page renewing is needed because the rule is a set type content, and only because the content is a large text, dynamic page renewing is needed when one or a plurality of continuous layouts cannot bear all the content, so that the pattern designed when the metadata is displayed; when the page renewing mode is set, the generating service traverses each page according to the design template, verifies the renewing mode of each page, constructs metadata of the electronic license to dynamically calculate the content of the page, and dynamically generates the page so as to obtain a complete OFD file of the electronic license. The electronic license generated based on the method completely meets the overall requirements of the technical requirements of the electronic file.
The method includes the steps that through designing a data structure of page renewing of an electronic license plate, then generating an electronic license file by utilizing an electronic license file generation technology, designing the plate data strictly according to the technical requirement (GB/T36905-2018) of the electronic license file according to the electronic license file generated by the data structure of page renewing of the electronic license plate, and realizing page renewing of the electronic license plate.
The data structure of the electronic license layout renewing means adding contents such as layout renewing attribute, paging label and the like in a template designer, then generating service obtains the number of multiplexing layout by combining metadata of filling data with the calculation of the number and offset of the layout, and finally generating the electronic license file by using a mature technology for generating the OFD format file, so that the electronic license file still maintains the technical requirement characteristic of the OFD format electronic file, thereby ensuring the dynamic renewing of the electronic license file layout and conforming to the national standard of the electronic license file.
The method provides a method for renewing pages of an electronic license plate, and is characterized in that a renewing page mode and renewing page calculating logic of the electronic license plate are designed.
When the number of the layout is calculated in advance and the template designer repeatedly designs the layout according to the calculation result under the condition that certain metadata of one layout in the electronic license manufacturing is a data set with the number which cannot be determined or large text content exists and the layout cannot be completely displayed; the amount or content of metadata of an electronic license is often uncertain in actual situations, for example, the "operating range" of business licenses of different industries is uncertain, some are of a simple type and two types, some are subdivided into major categories, and other are of various categories, if a template designer designs a template according to business licenses of different industries, the complexity is an immeasurable value.
The scheme provides a new solution, and expands the attribute of the page renewing mode and the regular page renewing logic script on the traditional template design data structure, so that when a template designer designs a template, the page renewing mode is selected for a page needing to be repeatedly designed according to actual conditions, and if the page is paged according to the quantity of metadata sets, the page renewing mode can be selected to be copied or the page renewing mode can be automatically selected; when paging is carried out according to the content of the metadata, a rule page renewing mode can be selected and page renewing rules can be written; and the program automatically generates a layout preparation file through calculation by the electronic license filling data and the electronic license template design data, and finally synthesizes the format electronic file through a layout generation technology.
Claims (3)
1. The method for renewing the page of the electronic license plate is characterized by comprising the following steps: and (5) electronic license layout and electronic license file filling generation.
2. The method for renewing the page of the electronic license plate according to claim 1, wherein the electronic license plate comprises the following steps:
step 11: opening the template designer;
step 12: designing a layout through a template designer;
step 13: the template layout data structure is stored to a template library.
3. The method for renewing the page of the electronic license plate of claim 1, wherein the generating of the electronic license file comprises the following steps:
step 21: designing a data structure of an electronic license file template;
step 22: filling electronic license data;
step 23: obtaining layout renewing mode by using electronic license file template design data
Step 24: calculating the number of the layouts by using the design data and the filling data of the electronic license file template;
step 25: generating a layout process file;
step 26: generating a preparation resource according to the electronic license file to generate the electronic license file;
step 27: and storing the electronic license file into a file library.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310917609.4A CN116822467A (en) | 2023-07-25 | 2023-07-25 | Method for renewing page of electronic license plate |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202310917609.4A CN116822467A (en) | 2023-07-25 | 2023-07-25 | Method for renewing page of electronic license plate |
Publications (1)
Publication Number | Publication Date |
---|---|
CN116822467A true CN116822467A (en) | 2023-09-29 |
Family
ID=88115173
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202310917609.4A Pending CN116822467A (en) | 2023-07-25 | 2023-07-25 | Method for renewing page of electronic license plate |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN116822467A (en) |
-
2023
- 2023-07-25 CN CN202310917609.4A patent/CN116822467A/en active Pending
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US8181106B2 (en) | Use of overriding templates associated with customizable elements when editing a web page | |
KR100898476B1 (en) | Method and system for converting a schema-based hierarchical data structure into a flat data structure | |
RU2422889C2 (en) | Defining fields for presented files and extensible markup language scheme for bibliography and citation | |
CN102103605B (en) | Method and system for intelligently extracting document structure | |
US7783971B2 (en) | Graphic object themes | |
CN103593456B (en) | Worksheet self-defining method for designing and device | |
US20050262049A1 (en) | System, method, device, and computer code product for implementing an XML template | |
US20040221233A1 (en) | Systems and methods for report design and generation | |
CN110543303A (en) | Visual business platform | |
CN116719784B (en) | Device for elastically clustering and combining and reading multiple OFD format files | |
CN106339363A (en) | PPT report making method and device | |
CN111859053B (en) | Data definition method of visual chart and chart library system | |
JP5002729B2 (en) | Data viewer management | |
US20150347353A1 (en) | Document layering platform | |
CN111797595A (en) | Method and device for generating OFD format page based on XML template | |
CN103309849B (en) | A kind of docx document creation based on OpenXML and amending method | |
US7730388B2 (en) | Converting an enhanced metafile into a chronologically independent object property list for conversion into a PDF document | |
KR100305363B1 (en) | Method for modeling metadata of electronic document, method and system for managing metadata | |
CN116822467A (en) | Method for renewing page of electronic license plate | |
CN115841095A (en) | Document establishing method, system, medium and equipment | |
CN101587470A (en) | The edit methods of document and device | |
KR101251686B1 (en) | Determining fields for presentable files and extensible markup language schemas for bibliographies and citations | |
CN112818043A (en) | Data source report generation method based on JSON self-description | |
CN111859886A (en) | Document generation method and device based on product prototype interface | |
CN110457659B (en) | Clause document generation method and terminal equipment |
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 |