CN112199933A - License template-based format conversion method - Google Patents

License template-based format conversion method Download PDF

Info

Publication number
CN112199933A
CN112199933A CN202011165766.7A CN202011165766A CN112199933A CN 112199933 A CN112199933 A CN 112199933A CN 202011165766 A CN202011165766 A CN 202011165766A CN 112199933 A CN112199933 A CN 112199933A
Authority
CN
China
Prior art keywords
license
content
template
electronic
database
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
CN202011165766.7A
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.)
Guanqun Information Technology Nanjing Co ltd
Original Assignee
Guanqun Information Technology Nanjing 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 Guanqun Information Technology Nanjing Co ltd filed Critical Guanqun Information Technology Nanjing Co ltd
Priority to CN202011165766.7A priority Critical patent/CN112199933A/en
Publication of CN112199933A publication Critical patent/CN112199933A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • G06F40/186Templates
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/50Information retrieval; Database structures therefor; File system structures therefor of still image data
    • G06F16/58Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually
    • G06F16/5866Retrieval characterised by using metadata, e.g. metadata not derived from the content or metadata generated manually using information manually generated, e.g. tags, keywords, comments, manually generated location and time information
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/12Use of codes for handling textual entities
    • G06F40/151Transformation
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/197Version control

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Library & Information Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Management, Administration, Business Operations System, And Electronic Commerce (AREA)
  • Document Processing Apparatus (AREA)

Abstract

The invention relates to a format conversion method based on a license template, which is characterized in that an electronic license template is divided into a fixed format part and a content part, corresponding contents are respectively stored in a license template library and a content database, and the internal part of the license template and the contents in the content database are provided with corresponding labels, so that when the electronic license is automatically generated, the internal part is automatically filled in the license template according to the corresponding labels for generation, and the generation efficiency of the electronic license can be effectively improved; when the format of the electronic certificate is converted, only one item of information of the original electronic certificate needs to be collected, then other matched contents are searched in a content database and filled in a certificate template so as to carry out conversion; when batch generation and batch conversion are carried out, a piece of content information is filled into the license template in batch, and then batch generation and batch conversion are carried out according to the content association and the corresponding labels of the content database, so that the format conversion efficiency of the generation of the electronic license is greatly improved.

Description

License template-based format conversion method
Technical Field
The invention relates to the field, in particular to a format conversion method based on a license template.
Background
The electronic certificate refers to documents such as identity cards, marriage certificates, bank repayment running certificates, business licenses and the like which are issued by each unit according to law and have legal effectiveness. The electronic certificate enables government affair information resources to be shared and services to be smooth, and enables common people to feel practical and handle affairs more conveniently.
A large amount of license information data are stored in the conventional public security network, a professional license information base is not formed, the sharing difficulty is high, and the resource utilization rate is low. And the types of the certificates are many, each electronic certificate needs to be regenerated, and the operation is complex. In addition, in the prior art, the number of electronic certificate making tools is huge, the making effect cannot be verified in time after the making is finished, and the use efficiency of the electronic certificate is limited.
Disclosure of Invention
In view of the above, the present invention provides a format conversion method based on a license template, which can effectively improve the usage efficiency of an electronic license.
The invention relates to a format conversion method based on a license template, which comprises the following steps:
s101, establishing a template library of the electronic certificates according to different electronic certificates, wherein the certificate template comprises a fixed format part and a content part, and the content part is vacant and is marked on the bottom layer;
s102, establishing a license content database, wherein a plurality of items of information are correspondingly stored under each identity number in the content database, and each item of content information corresponds to a unique label;
s103, when a single electronic license is generated, firstly determining the type of the electronic license, thereby taking a license template of a corresponding type from the template library, taking one item of the license template to obtain determined content information, and covering the content information of other corresponding items on the license template according to the label;
s104, when the electronic certificates are generated in batch, extracting the same number of certificate templates according to the number of the electronic certificates to be generated, extracting all the contents of the electronic certificates to be generated from the content database, covering one item of the contents to the corresponding positions of all the certificate templates according to the labels, and covering all other contents to the corresponding positions of all the certificate templates according to the corresponding relation in the content database;
s105, when the format of a single license is converted, firstly taking the license template of the format to be converted out of the template library, extracting one content part of the electronic license to be converted, calling a content item required by the license template from the content database according to the extracted one content part, and filling the content part into the license template according to the label;
s106, when license formats are converted in batches, firstly converting the number of the electronic licenses according to needs, extracting the same number of license templates, then extracting one item of content and a corresponding label from the original electronic licenses to be converted, covering the content of the item on corresponding positions of all license templates according to the label, and covering all other content on corresponding positions of all license templates according to the corresponding relation in a content database;
and S107, packaging the license template filled with the content and outputting the electronic license in a specific format.
Further, the content database is divided into a personal information database, an enterprise information database and an asset information database, wherein the personal information database comprises an identity card number, a name, a birth date, a gender, a nationality and a household registration address; the enterprise information database comprises an enterprise name, an enterprise type, an enterprise legal person name, a legal person identity card number, a residence, a credit agency and a certificate number; the asset information database includes an asset type, an asset name, an asset owner identification card number, and a certificate number.
Further, the personal information database, the enterprise information database and the asset information database are all associated through identification number.
Further, in step S105, the package format of the license template filled with the content is OFD, and the output format is XML.
Furthermore, the fixed format part and the content part in the license template are divided into a display part and a background data part, and the labels on the license template and the labels in the content database are both background data parts.
The invention has the beneficial effects that: according to the format conversion method based on the license template, the electronic license template is divided into the fixed format part and the content part, corresponding contents are stored in the license template library and the content database respectively, corresponding labels are arranged on the inner part of the license template and the contents in the content database, when the electronic license is automatically generated, the inner part is automatically filled into the license template according to the corresponding labels for generation, and the generation efficiency of the electronic license can be effectively improved; when the format of the electronic certificate is converted, only one item of information of the original electronic certificate needs to be collected, then other matched contents are searched in a content database and filled in a certificate template so as to carry out conversion; when batch generation and batch conversion are carried out, a piece of content information is filled into the license template in batch, and then batch generation and batch conversion are carried out according to the content association and the corresponding labels of the content database, so that the format conversion efficiency of the generation of the electronic license is greatly improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are required to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and it will be apparent to those skilled in the art that other related drawings can be obtained from the drawings without inventive effort.
FIG. 1 is a flow chart of the method of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all embodiments. The components of the embodiments of the present application, generally described and illustrated in the figures herein, can be arranged and designed in a wide variety of different configurations.
Thus, the following detailed description of the embodiments of the present application, presented in the accompanying drawings, is not intended to limit the scope of the claimed application, but is merely representative of selected embodiments of the application. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
As shown in fig. 1: the license template-based format conversion method of the embodiment comprises the following steps:
s101, establishing a template library of the electronic certificates according to different electronic certificates, wherein the certificate template comprises a fixed format part and a content part, the fixed format part comprises fixed styles of various electronic certificates and fixed text contents such as signing authorities, certificate names and the like, and the content part reserves vacant spaces and marks on the bottom layer of the vacant spaces;
s102, establishing a license content database, wherein a plurality of items of information are correspondingly stored under each identity number in the content database, the information in the content database is used for generating an electronic license, each item of content information corresponds to a unique label, the label corresponding to the content is consistent with the label of the bottom layer of the reserved vacancy of the license template, for example, one item of content in the content database is an identity card number, the label is 'A', the label of one reserved vacancy of the license template is also 'A', and the mark represents that the reserved vacancy needs to be filled with the identity card number information;
s103, when a single electronic license is generated, firstly determining the type of the electronic license, thereby taking a license template of a corresponding type from a template library, taking one item of the determined content information, and covering the content information of other corresponding items on the license template according to the label, for example, when the electronic license of the identity card needs to be generated, the fixed format part of the license template comprises a pattern part such as a national emblem and a fixed character part; the reserved vacancy comprises an identity card number, a name, a gender, a birth date and the like, the labels are respectively 'A', 'B', 'C' and 'D', the 'A', 'B', 'C' and 'D' in the content database are respectively and correspondingly stored with the identity card numbers, the names, the genders and the birth dates of a plurality of persons, and the content is covered on the reserved vacancy according to the corresponding labels.
S104, when the electronic certificates are generated in batch, firstly extracting the same number of certificate templates according to the number of the generated electronic certificates, then extracting all the contents of the electronic certificates to be generated from the content database, covering one item of the contents to the corresponding positions of all the certificate templates according to the labels, and covering other contents to the corresponding positions of all the certificate templates according to the corresponding relation in the content database, wherein when the electronic certificates are generated in batch, all the contents in one item are filled in the reserved vacant positions of the certificate templates through a matching algorithm, and the reserved vacant positions are completely supplemented according to the labels at the bottom layers of the reserved vacant positions in the certificate templates and the relevance of the contents of different items in the content database, so that the electronic certificates can be generated completely without adopting the matching algorithm for many times, and the calculation force and the time can be effectively saved;
s105, when a single license format is converted, firstly taking out a license template of the format to be converted from a template library, extracting one content part of the electronic license to be converted, calling a content item required by the license template from a content database according to the extracted one content part, and filling the content part into the license template according to a label, wherein the difference between the license conversion and the license generation is that the initial content information is not required to be specified, only one content is required to be extracted from the original electronic license, and the other reserved vacant positions can be filled in a content database after the one content part is taken in the content database;
s106, when license formats are converted in batches, firstly converting the number of the electronic licenses according to needs, extracting the same number of license templates, then extracting one item of content and a corresponding label from the original electronic licenses to be converted, covering the content of the item on corresponding positions of all license templates according to the label, and covering all other content on corresponding positions of all license templates according to the corresponding relation in a content database;
and S107, packaging or batch packaging the license template filled with the content, and outputting or batch outputting the electronic license in a specific format.
In this embodiment, the content database is divided into a personal information database, an enterprise information database and an asset information database, wherein the personal information database includes an identity card number, a name, a birth date, a gender, a nationality and a household registration address; the enterprise information database comprises an enterprise name, an enterprise type, an enterprise legal person name, a legal person identity card number, a residence, a credit agency and a certificate number; the asset information database includes asset type, asset name, asset owner identification card number, and certificate number to facilitate the lookup of content information within the content database.
In this embodiment, the personal information database, the enterprise information database, and the asset information database are all associated by the identification number.
In this embodiment, the package format of the license template filled with the content in step S105 is OFD, and the output format is XML.
In this embodiment, the fixed layout part and the content part in the license template are both divided into the display part and the background data part, and the labels on the license template and the labels in the content database are both background data parts.
According to the format conversion method based on the license template, the electronic license template is divided into the fixed format part and the content part, corresponding contents are stored in the license template library and the content database respectively, corresponding labels are arranged on the inner part of the license template and the contents in the content database, when the electronic license is automatically generated, the inner part is automatically filled into the license template according to the corresponding labels for generation, and the generation efficiency of the electronic license can be effectively improved; when the format of the electronic certificate is converted, only one item of information of the original electronic certificate needs to be collected, then other matched contents are searched in a content database and filled in a certificate template so as to carry out conversion; when batch generation and batch conversion are carried out, a piece of content information is filled into the license template in batch, and then batch generation and batch conversion are carried out according to the content association and the corresponding labels of the content database, so that the format conversion efficiency of the generation of the electronic license is greatly improved.
Finally, the above embodiments are only for illustrating the technical solutions of the present invention and not for limiting, although the present invention has been described in detail with reference to the preferred embodiments, it should be understood by those skilled in the art that modifications or equivalent substitutions may be made to the technical solutions of the present invention without departing from the spirit and scope of the technical solutions of the present invention, and all of them should be covered in the claims of the present invention.

Claims (5)

1. A format conversion method based on a license template is characterized in that: the method comprises the following steps:
s101, establishing a template library of the electronic certificates according to different electronic certificates, wherein the certificate template comprises a fixed format part and a content part, and the content part is vacant and is marked on the bottom layer;
s102, establishing a license content database, wherein a plurality of items of information are correspondingly stored under each identity number in the content database, and each item of content information corresponds to a unique label;
s103, when a single electronic license is generated, firstly determining the type of the electronic license, thereby taking a license template of a corresponding type from the template library, taking one item of the license template to obtain determined content information, and covering the content information of other corresponding items on the license template according to the label;
s104, when the electronic certificates are generated in batch, extracting the same number of certificate templates according to the number of the electronic certificates to be generated, extracting all the contents of the electronic certificates to be generated from the content database, covering one item of the contents to the corresponding positions of all the certificate templates according to the labels, and covering all other contents to the corresponding positions of all the certificate templates according to the corresponding relation in the content database;
s105, when the format of a single license is converted, firstly taking the license template of the format to be converted out of the template library, extracting one content part of the electronic license to be converted, calling a content item required by the license template from the content database according to the extracted one content part, and filling the content part into the license template according to the label;
s106, when license formats are converted in batches, firstly converting the number of the electronic licenses according to needs, extracting the same number of license templates, then extracting one item of content and a corresponding label from the original electronic licenses to be converted, covering the content of the item on corresponding positions of all license templates according to the label, and covering all other content on corresponding positions of all license templates according to the corresponding relation in a content database;
and S107, packaging the license template filled with the content and outputting the electronic license in a specific format.
2. The license template-based layout conversion method according to claim 1, wherein: the content database pair is divided into a personal information database, an enterprise information database and an asset information database, wherein the personal information database comprises an identity card number, a name, a birth date, a gender, a nationality and a household registration address; the enterprise information database comprises an enterprise name, an enterprise type, an enterprise legal person name, a legal person identity card number, a residence, a credit agency and a certificate number; the asset information database includes an asset type, an asset name, an asset owner identification card number, and a certificate number.
3. The license template-based layout conversion method according to claim 2, wherein: and the personal information database, the enterprise information database and the asset information database are all associated through identity card numbers.
4. The license template-based layout conversion method according to claim 1, wherein: in step S105, the license template with written content is packaged in OFD format, and the output format is XML format.
5. The license template-based layout conversion method according to claim 1, wherein: the fixed format part and the content part in the license template are divided into a display part and a background data part, and the labels on the license template and the labels in the content database are both background data parts.
CN202011165766.7A 2020-10-27 2020-10-27 License template-based format conversion method Pending CN112199933A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011165766.7A CN112199933A (en) 2020-10-27 2020-10-27 License template-based format conversion method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011165766.7A CN112199933A (en) 2020-10-27 2020-10-27 License template-based format conversion method

Publications (1)

Publication Number Publication Date
CN112199933A true CN112199933A (en) 2021-01-08

Family

ID=74011614

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011165766.7A Pending CN112199933A (en) 2020-10-27 2020-10-27 License template-based format conversion method

Country Status (1)

Country Link
CN (1) CN112199933A (en)

Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598930A (en) * 2016-12-29 2017-04-26 南威软件股份有限公司 Electronic certificate processing method based on layout file
CN106933791A (en) * 2017-03-10 2017-07-07 山东浪潮云服务信息科技有限公司 One kind generation license method and device
CN107122409A (en) * 2017-03-28 2017-09-01 银川华信智信息技术有限公司 A kind of electronics license generation method that polymorphic type license is merged based on cloud platform
CN108304514A (en) * 2018-01-23 2018-07-20 江苏国泰新点软件有限公司 A kind of electronics license generation method, device, equipment and storage medium
CN109118229A (en) * 2018-08-24 2019-01-01 长威信息科技发展股份有限公司 A kind of electronics license signature method
US20200012709A1 (en) * 2018-07-06 2020-01-09 SmartLink Lab LLC Automatic document generation systems and methods
CN110688830A (en) * 2019-09-26 2020-01-14 中国银行股份有限公司 Credit investigation template conversion method and device
CN111274769A (en) * 2020-01-09 2020-06-12 山东汇贸电子口岸有限公司 Method and model for automatically generating license file in cross-file format
CN111414743A (en) * 2020-03-19 2020-07-14 北京字节跳动网络技术有限公司 Method and device for calling document template, electronic equipment and storage medium
CN111597786A (en) * 2020-05-20 2020-08-28 山东汇贸电子口岸有限公司 Implementation method and system for generating electronic license through file import

Patent Citations (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106598930A (en) * 2016-12-29 2017-04-26 南威软件股份有限公司 Electronic certificate processing method based on layout file
CN106933791A (en) * 2017-03-10 2017-07-07 山东浪潮云服务信息科技有限公司 One kind generation license method and device
CN107122409A (en) * 2017-03-28 2017-09-01 银川华信智信息技术有限公司 A kind of electronics license generation method that polymorphic type license is merged based on cloud platform
CN108304514A (en) * 2018-01-23 2018-07-20 江苏国泰新点软件有限公司 A kind of electronics license generation method, device, equipment and storage medium
US20200012709A1 (en) * 2018-07-06 2020-01-09 SmartLink Lab LLC Automatic document generation systems and methods
CN109118229A (en) * 2018-08-24 2019-01-01 长威信息科技发展股份有限公司 A kind of electronics license signature method
CN110688830A (en) * 2019-09-26 2020-01-14 中国银行股份有限公司 Credit investigation template conversion method and device
CN111274769A (en) * 2020-01-09 2020-06-12 山东汇贸电子口岸有限公司 Method and model for automatically generating license file in cross-file format
CN111414743A (en) * 2020-03-19 2020-07-14 北京字节跳动网络技术有限公司 Method and device for calling document template, electronic equipment and storage medium
CN111597786A (en) * 2020-05-20 2020-08-28 山东汇贸电子口岸有限公司 Implementation method and system for generating electronic license through file import

Similar Documents

Publication Publication Date Title
CN106598930B (en) electronic license processing method based on layout file
EP3042318B1 (en) Method and apparatus for the remote provision, display and/or presentation of dynamic informative contents
Kimmel Marketing communication: New approaches, technologies, and styles
CN110472219B (en) Electronic file generation method, electronic file generation device, computer equipment and storage medium
CN112528616B (en) Service form generation method and device, electronic equipment and computer storage medium
US6691916B2 (en) Autograph verification and authentication system
WO2009079098A1 (en) System and method for electronic contracting
CN103246651A (en) Method and system for data inputting
CN106650545A (en) Anti-counterfeiting two-dimensional code tracing label and the method for generating and identifying the same
CN106951941A (en) It is a kind of to be used for the method for quickly and easily enquiring vehicle information
CN110990486A (en) Block link evidence issuing and storing method and device based on network data interaction
CN102708391A (en) Anti-counterfeiting label on basis of fractal image and anti-counterfeiting verification method
JP2001511544A (en) Document or message security deployments that use the numeric hash function
CN112199933A (en) License template-based format conversion method
CN112256853A (en) Question generation method, device, equipment and computer readable storage medium
CN117273968A (en) Accounting document generation method of cross-business line product and related equipment thereof
CN112749536A (en) Document generation method, device and equipment
CN107103543A (en) Protocol data processing method and system
CN112507379B (en) High-security electronic commerce system based on block chain
WO2008100183A1 (en) Method for recording sales promotion and an identifier for carrying out said method
CN107943769A (en) The method and apparatus for providing electronics license
CN112149391B (en) Information processing method, information processing apparatus, terminal device, and storage medium
CN113902456A (en) Product anti-counterfeiting method and device
CN210836203U (en) Tracing anti-counterfeiting application system based on block chain, RFID and NFC
JP4872703B2 (en) Document management system, document management server, and document management program

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