CN111274769A - Method and model for automatically generating license file in cross-file format - Google Patents

Method and model for automatically generating license file in cross-file format Download PDF

Info

Publication number
CN111274769A
CN111274769A CN202010020427.3A CN202010020427A CN111274769A CN 111274769 A CN111274769 A CN 111274769A CN 202010020427 A CN202010020427 A CN 202010020427A CN 111274769 A CN111274769 A CN 111274769A
Authority
CN
China
Prior art keywords
file
format
license
module
electronic
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
CN202010020427.3A
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.)
Shandong Huimao Electronic Port Co Ltd
Original Assignee
Shandong Huimao Electronic Port 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 Shandong Huimao Electronic Port Co Ltd filed Critical Shandong Huimao Electronic Port Co Ltd
Priority to CN202010020427.3A priority Critical patent/CN111274769A/en
Publication of CN111274769A publication Critical patent/CN111274769A/en
Pending legal-status Critical Current

Links

Images

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/11File system administration, e.g. details of archiving or snapshots
    • G06F16/116Details of conversion of file system types or formats

Abstract

The invention discloses a method for automatically generating license files in a cross-file format, which relates to the technical field of image processing. The invention also provides a model for automatically generating the license file in a cross-file format, which comprises an API interface processing module, a license template module, an automatic conversion module and a write-in storage module, and the model is the same as the method, can realize the standardized processing of the electronic license files in different formats and solves the problem of the existing electronic license file format that the processing is complicated and inconvenient.

Description

Method and model for automatically generating license file in cross-file format
Technical Field
The invention relates to the technical field of image processing, in particular to a method and a model for automatically generating a license file in a cross-file format.
Background
Each region and related departments make and manage the electronic certificates according to the technical specifications of the national electronic certificate business, and report the directory data of the electronic certificates. The electronic certificate adopts a standard format document format, and the electronic seal stamping system is used for stamping the electronic seal or signing the digital signature, so that nationwide mutual trust and mutual recognition are realized, and the problems of more submitted materials and certificates and the like when enterprises and masses transact business are practically solved.
The electronic certificate system of the local government affair service platform is accelerated to be built and perfected by various provinces (autonomous regions and direct administration cities) and related departments according to the unified standard specification and related working requirements of the national integrated online government affair service platform, the electronic certificate system is deeply butted and fused with the national government affair service platform, the national government affair service platform is used as a general hub to realize interconnection, intercommunication, data sharing and business cooperation of the government affair service platforms of various departments in various regions, and national government affair service 'one network' is built to realize 'one network communication'.
The electronic license files stored in each level of unit at present are various in formats and do not form a complete standard format, so that the method and the model for automatically generating the license files in a cross-file format are provided in order to achieve the purpose of conforming to the unified standard of national electronic license formats on the electronic file formats and standardizing the use of the electronic license files, and the standardization of the electronic license files is realized.
Disclosure of Invention
Aiming at the requirements and the defects of the prior art development, the invention provides a method and a model for automatically generating a license file in a cross-file format.
Firstly, the invention provides a method for automatically generating a license file in a cross-file format, and the technical scheme adopted for solving the technical problems is as follows:
a method for automatically generating license file across file formats includes processing electronic license files with different formats according to corresponding rules through uniform API interface, inputting license templates with different formats for adjustment, automatically converting file content and format after adjustment is completed to obtain file with standardized format, writing file into license library of existing electronic license system for storage.
Optionally, the related electronic license file includes, but is not limited to, a picture format, a word format, a pdf format, and a script format;
the related license template comprises and is not limited to picture format, word format, pdf format and script format.
Optionally, XDocReport is used to perform automatic conversion of document content and format. XDocReport is a java api used to perform document filling and document format conversion, and XDocReport converts an electronic certificate file in word format into pdf.
Optionally, the iText7 is used for automatic conversion of file content and format. The iText7 is a java class library used for generating PDF documents, and the iText7 performs file format conversion by an open source library itextpdf method.
Optionally, the obtained standardized format file is further input into a license template for adjustment, and after the file output by the license template is completely matched with the standardized format file, the file is written into a license library of the existing electronic license system for storage.
Secondly, the invention provides a model for automatically generating a license file in a cross-file format, and the technical scheme adopted for solving the technical problems is as follows:
a model for automatically generating a license file across file formats, comprising:
the API interface processing module is used for receiving electronic certificate files with different formats and processing the electronic certificate files according to corresponding rules;
the license template module stores electronic license standards with different formats and is used for receiving the electronic license file processed by the API interface processing module and adjusting the electronic license file according to the electronic license standards;
the automatic conversion module is used for automatically converting the content and the format of the adjusted electronic certificate file so as to output a standardized format file;
and the writing storage module is used for writing the standard format file output by the automatic conversion module into a license library of the existing electronic license system for storage.
Optionally, the related electronic license file includes, but is not limited to, a picture format, a word format, a pdf format, and a script format;
the related license template comprises and is not limited to picture format, word format, pdf format and script format.
Optionally, the related automatic conversion module adopts XDocReport. XDocReport is a java api used to perform document filling and document format conversion, and XDocReport converts an electronic certificate file in word format into pdf.
Optionally, the automatic conversion module involved employs iText 7. The iText7 is a java class library used for generating PDF documents, and the iText7 performs file format conversion by an open source library itextpdf method.
Optionally, the standardized format file output by the related automatic conversion module is also returned to the input license template module for adjustment. The model also comprises a comparison module, the comparison module receives the standardized format file output by the automatic conversion module, the comparison module also receives the standardized format file adjusted by the license template module, the comparison module compares the two standardized format files, and transmits the standardized format file to the write-in storage module after the two standardized format files are completely matched.
Compared with the prior art, the method and the model for automatically generating the license file in the cross-file format have the beneficial effects that:
the invention receives the electronic license file through the uniform API interface, adjusts the electronic license file through the license templates with different formats, then automatically converts the file content and format of the adjusted electronic license file to obtain a standardized format file, and realizes the standardized processing of the electronic license files with different formats, thereby ensuring that the license files stored in the license library are standard.
Drawings
Fig. 1 is a connection block diagram of a second embodiment of the present invention.
The reference information in the drawings indicates:
1. an API interface processing module, 2 a license template module, 3 an automatic conversion module,
4. and 5, writing into a storage module, and comparing the data.
Detailed Description
In order to make the technical scheme, the technical problems to be solved and the technical effects of the present invention more clearly apparent, the following technical scheme of the present invention is clearly and completely described with reference to the specific embodiments.
The first embodiment is as follows:
the embodiment provides a method for automatically generating license files in a cross-file format, which includes the steps of processing electronic license files in different formats according to corresponding rules through a uniform API (application program interface), inputting license templates in different formats for adjustment, automatically converting file contents and formats after adjustment is completed, obtaining standard format files, and writing the standard format files into a license library of an existing electronic license system for storage.
In the embodiment, the electronic license file includes, but is not limited to, a picture format, a word format, a pdf format, and a script format.
In contrast, the related license template includes, but is not limited to, a picture format, a word format, a pdf format, and a script format.
In this embodiment, XDocReport may be used to automatically convert the content and format of the document. XDocReport is a java api used to perform document filling and document format conversion, and XDocReport converts an electronic certificate file in word format into pdf.
In this embodiment, iText7 may also be used to perform automatic conversion of file content and format. The iText7 is a java class library used for generating PDF documents, and the iText7 performs file format conversion by an open source library itextpdf method.
In this embodiment, the obtained standardized format file is further input into the license template for adjustment, and after the file output by the license template is completely matched with the standardized format file, the file is written into the license library of the existing electronic license system for storage. Therefore, the verification of the standard format file is realized, and the condition that the certificate library stores the file with the non-standard format is avoided.
Example two:
with reference to fig. 1, this embodiment provides a model for automatically generating a license file across file formats, which includes:
the API interface processing module 1 is used for receiving electronic certificate files with different formats and processing the electronic certificate files according to corresponding rules;
the license template module 2 stores electronic license standards with different formats and is used for receiving the electronic license file processed by the API interface processing module 1 and adjusting the electronic license file according to the electronic license standards;
the automatic conversion module 3 is used for automatically converting the file content and format of the adjusted electronic license file and further outputting a standardized format file;
and the comparison module 5 is used for receiving the standardized format file output by the automatic conversion module 3, receiving the standardized format file adjusted by the license template module 2, comparing the two standardized format files, and transmitting the standardized format file to the write-in storage module 4 after the two standardized format files are completely matched.
And the writing storage module 4 is used for writing the standardized format file output by the comparison module 5 into a license library of the existing electronic license system for storage.
In the embodiment, the electronic license file includes, but is not limited to, a picture format, a word format, a pdf format, and a script format.
In contrast, the related license template includes, but is not limited to, a picture format, a word format, a pdf format, and a script format.
In this embodiment, the automatic conversion module 3 concerned may employ XDocReport. XDocReport is a java api used to perform document filling and document format conversion, and XDocReport converts an electronic certificate file in word format into pdf.
In the present embodiment, the automatic conversion module 3 concerned may also employ iText 7. The iText7 is a java class library used for generating PDF documents, and the iText7 performs file format conversion by an open source library itextpdf method.
In this embodiment, the standardized format file output by the related automatic conversion module 3 is also returned to the input license template module 2 for adjustment.
In summary, the method and the model for automatically generating the license file in the cross-file format can realize the standardized processing of electronic license files with different formats and solve the problem that the existing electronic license file has various formats and is inconvenient to process.
The principles and embodiments of the present invention have been described in detail using specific examples, which are provided only to aid in understanding the core technical content of the present invention. Based on the above embodiments of the present invention, those skilled in the art should make any improvements and modifications to the present invention without departing from the principle of the present invention, and therefore, the present invention should fall into the protection scope of the present invention.

Claims (10)

1. A method for automatically generating license files in a cross-file format is characterized in that electronic license files in different formats are processed according to corresponding rules through a uniform API interface, license templates in different formats are input for adjustment, the content and format of the files are automatically converted after the adjustment is completed, standardized format files are obtained, and the files are written into a license library of an existing electronic license system for storage.
2. The method for automatically generating the license file across the file formats as claimed in claim 1, wherein the electronic license file includes but is not limited to picture format, word format, pdf format, script format;
the license template includes, but is not limited to, a picture format, a word format, a pdf format, and a script format.
3. The method for automatically generating the license document across the document formats according to claim 2, characterized in that XDocreport is adopted to automatically convert the document contents and formats;
XDocReport is a java api used to perform document filling and document format conversion, and XDocReport converts an electronic certificate file in word format into pdf.
4. The method for automatically generating the license file across the file formats as claimed in claim 2, wherein iText7 is adopted to automatically convert the file contents and formats;
the iText7 is a java class library used for generating PDF documents, and the iText7 performs file format conversion by an open source library itextpdf method.
5. The method for automatically generating the license file across the file formats as claimed in claim 1, wherein the obtained standardized format file is further input into a license template for adjustment, and after the file output by the license template is completely matched with the standardized format file, the file is written into a license library of the existing electronic license system for storage.
6. A model for automatically generating a license file across file formats, comprising:
the API interface processing module is used for receiving electronic certificate files with different formats and processing the electronic certificate files according to corresponding rules;
the license template module stores electronic license standards with different formats and is used for receiving the electronic license file processed by the API interface processing module and adjusting the electronic license file according to the electronic license standards;
the automatic conversion module is used for automatically converting the content and the format of the adjusted electronic certificate file so as to output a standardized format file;
and the writing storage module is used for writing the standard format file output by the automatic conversion module into a license library of the existing electronic license system for storage.
7. The model for automatically generating the license file across the file formats as claimed in claim 6, wherein the electronic license file includes, but is not limited to, picture format, word format, pdf format, script format;
the license template includes, but is not limited to, a picture format, a word format, a pdf format, and a script format.
8. The model for automatically generating an identification document in a cross-document format according to claim 6, wherein the automatic conversion module adopts XDocReport, the XDocReport is java api for document filling and document format conversion, and the XDocReport converts an electronic identification document in a word format into pdf.
9. The model for automatically generating a license file across file formats as claimed in claim 6, wherein the automatic conversion module employs iText7, iText7 is a java class library for generating PDF documents, and iText7 performs the conversion of the file format by the open source library itextpdf method.
10. The model for automatically generating the license file across the file formats according to claim 6, wherein the standardized format file output by the automatic conversion module is also returned to the input license template module for adjustment;
the model also comprises a comparison module, the comparison module receives the standardized format file output by the automatic conversion module, the comparison module also receives the standardized format file adjusted by the license template module, and the comparison module compares the two standardized format files and transmits the standardized format file to the write-in storage module after the two standardized format files are completely matched.
CN202010020427.3A 2020-01-09 2020-01-09 Method and model for automatically generating license file in cross-file format Pending CN111274769A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010020427.3A CN111274769A (en) 2020-01-09 2020-01-09 Method and model for automatically generating license file in cross-file format

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010020427.3A CN111274769A (en) 2020-01-09 2020-01-09 Method and model for automatically generating license file in cross-file format

Publications (1)

Publication Number Publication Date
CN111274769A true CN111274769A (en) 2020-06-12

Family

ID=71001607

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010020427.3A Pending CN111274769A (en) 2020-01-09 2020-01-09 Method and model for automatically generating license file in cross-file format

Country Status (1)

Country Link
CN (1) CN111274769A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199933A (en) * 2020-10-27 2021-01-08 冠群信息技术(南京)有限公司 License template-based format conversion method
CN113470791A (en) * 2021-05-26 2021-10-01 透彻影像(北京)科技有限公司 Full-section pathological image reading system
CN117093831A (en) * 2023-10-17 2023-11-21 太极计算机股份有限公司 Electronic license construction method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799890A (en) * 2009-02-06 2010-08-11 北京蓝通易和科技有限公司 Certificate data processing method and system
CN104035937A (en) * 2013-03-07 2014-09-10 方正国际软件(北京)有限公司 Extensible system and method for electronic document online browsing
CN106844453A (en) * 2016-12-20 2017-06-13 江苏瀚远科技股份有限公司 A kind of electronic document format conversion method
CN107844464A (en) * 2017-11-08 2018-03-27 中国科学院、水利部成都山地灾害与环境研究所 Filing system and method based on data insertion
CN110543621A (en) * 2019-07-29 2019-12-06 国营芜湖机械厂 multi-format result document analysis system of aviation detection equipment and use method thereof

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101799890A (en) * 2009-02-06 2010-08-11 北京蓝通易和科技有限公司 Certificate data processing method and system
CN104035937A (en) * 2013-03-07 2014-09-10 方正国际软件(北京)有限公司 Extensible system and method for electronic document online browsing
CN106844453A (en) * 2016-12-20 2017-06-13 江苏瀚远科技股份有限公司 A kind of electronic document format conversion method
CN107844464A (en) * 2017-11-08 2018-03-27 中国科学院、水利部成都山地灾害与环境研究所 Filing system and method based on data insertion
CN110543621A (en) * 2019-07-29 2019-12-06 国营芜湖机械厂 multi-format result document analysis system of aviation detection equipment and use method thereof

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112199933A (en) * 2020-10-27 2021-01-08 冠群信息技术(南京)有限公司 License template-based format conversion method
CN113470791A (en) * 2021-05-26 2021-10-01 透彻影像(北京)科技有限公司 Full-section pathological image reading system
CN113470791B (en) * 2021-05-26 2022-04-22 透彻影像(北京)科技有限公司 Full-section pathological image reading system
CN117093831A (en) * 2023-10-17 2023-11-21 太极计算机股份有限公司 Electronic license construction method and device
CN117093831B (en) * 2023-10-17 2024-02-02 太极计算机股份有限公司 Electronic license construction method and device

Similar Documents

Publication Publication Date Title
CN111274769A (en) Method and model for automatically generating license file in cross-file format
US7996767B2 (en) System and method for generating electronic patent application files
CN111325626B (en) Account checking data pushing method and device
US20170098192A1 (en) Content aware contract importation
CN112073307B (en) Mail processing method, mail processing device, electronic equipment and computer readable medium
US20190266229A1 (en) Conversion tool for xps and openxps documents
CN110188336B (en) Method and device for generating reimbursement bill based on OA application form
CN110474836A (en) A kind of email template generation method, calculates equipment and medium at device
CN107632875A (en) Electric business Interface integration method, system, computer equipment, readable storage medium storing program for executing
CN102231107A (en) Method for automatically generating communication data format of electric control unit based on AUTOSAR (Automotive Open System Architecture)
CN113986822A (en) Method and system for converting format of value-added tax electronic invoice
WO2017045345A1 (en) Resource management method and apparatus, and multi-mode soft base station unified network management
CN111190859A (en) Tax-related data format file management system and method
CN117150342A (en) Batch processing method, device and medium for bill data
CN106815181A (en) Conversion method and device of a kind of indd files of InDesign typesettings to Office files
CN115641136A (en) Certificate paperless system and method based on electronic signature
CN110730080A (en) Signed document client and server based on private key self-support
CN110728593A (en) Case planning method and device, electronic device, and storage medium
CN106878431B (en) Method and device for converting node communication message format in distributed system
CN114663061A (en) Whole scene online intelligent approval method
CN113138759A (en) Device suitable for multi-country express delivery bill is printed
CN111046864A (en) Method and system for automatically extracting five elements of contract scanning piece
US9002870B2 (en) System, method and computer program product for EDI-to-EDI translations
CN111507331A (en) Payment data processing method and system
CN116483787A (en) Method, system and device for generating OFD format file

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20200612

RJ01 Rejection of invention patent application after publication