CN106933791A - One kind generation license method and device - Google Patents
One kind generation license method and device Download PDFInfo
- Publication number
- CN106933791A CN106933791A CN201710140363.9A CN201710140363A CN106933791A CN 106933791 A CN106933791 A CN 106933791A CN 201710140363 A CN201710140363 A CN 201710140363A CN 106933791 A CN106933791 A CN 106933791A
- Authority
- CN
- China
- Prior art keywords
- license
- information
- essential information
- template
- keyword
- 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
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/10—Text processing
- G06F40/166—Editing, e.g. inserting or deleting
- G06F40/186—Templates
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Health & Medical Sciences (AREA)
- Artificial Intelligence (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Computational Linguistics (AREA)
- General Health & Medical Sciences (AREA)
- Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Management, Administration, Business Operations System, And Electronic Commerce (AREA)
Abstract
The invention provides one kind generation license method and device, the method includes:Preset at least a kind of derivation form;The request of generation license template is received, wherein, the request includes:At least one essential information and at least one is shown up information;In at least one derivation form, determine that target derives form;Form is derived by the target, asks at least one essential information that includes and described at least one to be shown up information using described, derive license template;At least one certificate information is received, is performed both by for certificate information each described:By import format corresponding with target derivation form, presently described certificate information is imported into the license template, generate the corresponding license of presently described certificate information.Therefore, this programme can improve the efficiency of generation license.
Description
Technical field
The present invention relates to field of computer technology, more particularly to a kind of generation license method and device.
Background technology
Electronics license increasingly obtains wide due to having the advantages that unartificial recognition property, integration and information operability
General application.
At present, when generating electronics license, license module is manually generally chosen by business personnel, then by electronics license institute
The essential information being related to, information of showing up and certificate information manual entry to choose license template in.Then it is next when generating
During individual electronics license, business personnel repeats above-mentioned operating process.
By above-mentioned, artificial selection license module and the related letter of manual entry license are needed in the prior art
Breath, therefore generate the less efficient of license.
The content of the invention
A kind of generation license method and device is the embodiment of the invention provides, the efficiency of generation license can be improved.
In a first aspect, the invention provides one kind generation license method, the method can include:
Preset at least a kind of derivation form;
The request of generation license template is received, wherein, the request includes:At least one essential information and at least one is shone
Face information;
In at least one derivation form, determine that target derives form;
Form is derived by the target, using it is described ask at least one essential information that includes and it is described at least
One information of showing up, derives license template;
At least one certificate information is received, is performed both by for certificate information each described:Derived by with the target
The corresponding import format of form, presently described certificate information is imported into the license template, generates presently described license letter
Cease corresponding license.
Preferably,
At least one derivation form, including:Electrical form EXCEL derives form, expandable mark language XML and derives
Form and data interchange format JSON derive any one or more in form;
Preferably,
When it is that EXCEL derives form that the target derives form,
It is described that form is derived by the target, using at least one essential information that includes and described of asking
At least one shows up information, derives license template, including:
Create Microsoft Excel file;
At least one essential information is written in the Microsoft Excel file;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, EXCEL form license templates are generated;
Derive the EXCEL forms license template.
Preferably,
When it is that XML derives form that the target derives form,
It is described that form is derived by the target, using at least one essential information that includes and described of asking
At least one shows up information, derives license template, including:
Create XML format file;
At least one essential information is written in the file body of the XML format file;
Obtain the keyword of each essential information in the file body;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, XML format license template is generated;
Derive the XML format license template.
Preferably,
When it is that JSON derives form that the target derives form,
It is described that form is derived by the target, using at least one essential information that includes and described of asking
At least one shows up information, derives license template, including:
Create JSON formatted files;
At least one essential information is written in the file body of the JSON formatted files;
Obtain the keyword of each essential information in the file body;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, JSON form license templates are generated;
Derive the JSON forms license template.
Preferably,
When it is that EXCEL derives form that the target derives form, import format corresponding with target derivation form
It is EXCEL import formats;
It is described to derive the corresponding import format of form by with the target, presently described certificate information is imported into described
In license template, the corresponding license of presently described certificate information is generated, including:
By the EXCEL import formats, Microsoft Excel file includes in the acquisition EXCEL forms license template
The keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, presently described certificate information is generated corresponding
License.
Preferably,
When it is that XML derives form that the target derives form, import format corresponding with target derivation form is
XML import formats;
It is described to derive the corresponding import format of form by with the target, presently described certificate information is imported into described
In license template, the corresponding license of presently described certificate information is generated, including:
By the JDOM resolvers in the XML import formats, in parsing XML format license template file body include it is every
One essential information;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, presently described certificate information is generated corresponding
License.
Preferably,
When it is that JSON derives form that the target derives form, import format corresponding with target derivation form is
JSON import formats;
It is described to derive the corresponding import format of form by with the target, presently described certificate information is imported into described
In license template, the corresponding license of presently described certificate information is generated, including:
Each that file body includes by the JSON import formats, in the parsing JSON forms license template is basic
Information;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, presently described certificate information is generated corresponding
License.
Preferably,
After the corresponding license of the presently described certificate information of the generation, further include:
When the license is qualified, the license for generating is uploaded to the license storehouse of outside.
Preferably,
After the corresponding license of the presently described certificate information of the generation, further include:
When the license is unqualified, generation includes the procedure file and the unqualified original of the license of the license generation
The supporting paper of cause;
The supporting paper is uploaded to the license storehouse.
Preferably,
The essential information includes:License name item, issue license organization, issue license unit encoding, card
According to licensed content, hold license organization item, legal representative's item, address entries, license numbered entry and date field in extremely
Few one kind.
Preferably,
The information of showing up includes:Issue license organization, issue license unit encoding, license licensed content in extremely
Few one kind.
Preferably,
The certificate information includes:Hold license organization, legal representative's title, address name, license numbering and
At least one in date.
Second aspect, the invention provides one kind generation license device, the device includes:
Setup unit, for presetting at least a kind of derivation form;
Receiving unit, the request for receiving generation license template, wherein, the request includes:At least one basic letter
Breath and at least one is shown up information;
Determining unit, at least one for being set in the setup unit is derived in form, determines that target is derived
Form;
Lead-out unit, the target for being determined by the determining unit derives form, using the receiving unit
At least one essential information that includes of the request for receiving and described at least one is shown up information, derives license template;
Generation unit, for receiving at least one certificate information, is performed both by for certificate information each described:By with
The target derives the corresponding import format of form, presently described certificate information is imported into described derived from the lead-out unit
In license template, the corresponding license of presently described certificate information is generated.
Preferably,
When it is that EXCEL derives form that the target derives form,
The lead-out unit, for creating Microsoft Excel file;At least one essential information is written to described
In Microsoft Excel file;Obtain the keyword of each essential information;According to the keyword, determine described in each
The corresponding essential information of information of showing up;The information of showing up described in each is written to after corresponding essential information, EXCEL is generated
Form license template;Derive the EXCEL forms license template.
Preferably,
When it is that XML derives form that the target derives form,
The lead-out unit, for creating XML format file;At least one essential information is written to the XML
In the file body of formatted file;Obtain the keyword of each essential information in the file body;According to the keyword,
Determine the corresponding essential information of information of being shown up described in each;The information of showing up described in each is written to corresponding essential information
Afterwards, XML format license template is generated;Derive the XML format license template.
Preferably,
When it is that JSON derives form that the target derives form,
The lead-out unit, for creating JSON formatted files;At least one essential information is written to described
In the file body of JSON formatted files;Obtain the keyword of each essential information in the file body;According to the pass
Key word, determines the corresponding essential information of information of being shown up described in each;The information of showing up described in each is written to corresponding base
After this information, JSON form license templates are generated;Derive the JSON forms license template.
Preferably,
When it is that EXCEL derives form that the target derives form, import format corresponding with target derivation form
It is EXCEL import formats;
The generation unit, for by the EXCEL import formats, obtaining the EXCEL forms license template in
The keyword of each essential information that Microsoft Excel file includes;According to the keyword, presently described certificate information is determined
Corresponding essential information;Presently described certificate information is written to after corresponding essential information, presently described license letter is generated
Cease corresponding license.
Preferably,
When it is that XML derives form that the target derives form, import format corresponding with target derivation form is
XML import formats;
The generation unit, for by the JDOM resolvers in the XML import formats, parsing XML format license mould
Each essential information that file body includes in plate;Obtain the keyword of each essential information;According to the keyword,
Determine the corresponding essential information of presently described certificate information;By presently described certificate information be written to corresponding essential information it
Afterwards, the corresponding license of presently described certificate information is generated.
Preferably,
When it is that JSON derives form that the target derives form, import format corresponding with target derivation form is
JSON import formats;
The generation unit, for by the JSON import formats, parsing file in the JSON forms license template
Each essential information that body includes;Obtain the keyword of each essential information;According to the keyword, it is determined that currently
The corresponding essential information of the certificate information;Presently described certificate information is written to after corresponding essential information, generation is worked as
The corresponding license of the preceding certificate information.
Preferably,
Further include:First uploading unit;
First uploading unit, for when the license is qualified, the license for generating to be uploaded to the card of outside
According to storehouse.
Preferably,
Further include:Second uploading unit;
Second uploading unit, for when the license is unqualified, generation to include the process text of the license generation
The supporting paper of part and the unqualified reason of the license;The supporting paper is uploaded to the license storehouse.
A kind of generation license method and device is the embodiment of the invention provides, essential information is included and letter of showing up by receiving
The request of the generation license template of breath, in derivation form set in advance, determines that target derives form, then by determining
Target derive form, the essential information and information of showing up included using request derive license template.Then to receiving
Each certificate information is performed both by, and is derived before by import format corresponding with target derivation form, certificate information is imported into
License template in, the generation corresponding license of certificate information.By said process, this programme can be according to information substrate
After deriving license template with information of showing up, using derived license template, can batch each license that will be received
Information generates license in importeding into license template, therefore, this programme can improve the efficiency of generation license.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing
The accompanying drawing to be used needed for having technology description is briefly described, it should be apparent that, drawings in the following description are the present invention
Some embodiments, for those of ordinary skill in the art, on the premise of not paying creative work, can also basis
These accompanying drawings obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of generation license method that one embodiment of the invention is provided;
Fig. 2 is a kind of flow chart of generation license method that another embodiment of the present invention is provided;
Fig. 3 is a kind of hardware structure diagram of equipment where the generation license device that one embodiment of the invention is provided;
Fig. 4 is a kind of structural representation of generation license device that one embodiment of the invention is provided;
Fig. 5 is that a kind of structure of generation license device including the first uploading unit that one embodiment of the invention is provided is shown
It is intended to;
Fig. 6 is that a kind of structure of generation license device including the second uploading unit that one embodiment of the invention is provided is shown
It is intended to.
Specific embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention
In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is
A part of embodiment of the present invention, rather than whole embodiments, based on the embodiment in the present invention, those of ordinary skill in the art
The every other embodiment obtained on the premise of creative work is not made, belongs to the scope of protection of the invention.
As shown in figure 1, the embodiment of the invention provides a kind of generation license method, the method may comprise steps of:
Step 101:Preset at least a kind of derivation form;
Step 102:The request of generation license template is received, wherein, the request includes:At least one essential information and extremely
Few information of showing up;
Step 103:In at least one derivation form, determine that target derives form;
Step 104:Form is derived by the target, using it is described ask at least one essential information that includes and
Described at least one shows up information, derives license template;
Step 105:Receive at least one certificate information;
Step 106:Successively from certificate information each described, one certificate information of selection is believed as presently described license
Breath;
Step 107:By import format corresponding with target derivation form, presently described certificate information is imported into
In the license template, the corresponding license of presently described certificate information is generated.
Step 108:Whether the certificate information for judging selection is last certificate information, if it is, terminating to work as
Preceding flow;Otherwise, step 106 is performed.
According to embodiment as shown in Figure 1, essential information is included and the generation license template of information of showing up is asked by receiving
Ask, in derivation form set in advance, determine that target derives form, then the target by determining derives form, utilizes
The essential information and information of showing up that request includes derive license template.Then each certificate information for receiving is performed both by
Before certificate information is imported into by import format corresponding with target derivation form in derived license template, license is generated
The corresponding license of information.By said process, this programme can derive license mould according to information substrate and information of showing up
After plate, using derived license template, each certificate information that will be connected to of batch generates card in importeding into license template
According to, therefore, the embodiment of the present invention can improve the efficiency of generation license.
In an embodiment of the invention, essential information involved in flow shown in Fig. 1 can include:License title
, issue license organization, issue license unit encoding, license licensed content, hold license organization, method
Determine at least one in representative's item, address entries, license numbered entry and date field.
In the present embodiment, the particular content that essential information includes can determine according to business need, wherein substantially
Information can include license name item, issue license organization, issue license unit encoding, license licensed content,
Hold license organization item, legal representative's item, address entries, license numbered entry and date field, simply a kind of preferred content, also
Can be accordingly increased and be changed according to business need.
In the present embodiment, the license name item in essential information can embody the effect of license, such as license name item
It is safety production permit, food and beverage sevice licensing.Issuing license organization, issuing license unit volume in essential information
Code item, license licensed content, hold license organization item, legal representative's item, address entries, license numbered entry and date field
Identification information is, the identification information for embodying the particular content that license includes is.
According to above-described embodiment, the content in essential information can select license name item, issue card according to business need
According to organization, issue license unit encoding, license licensed content, hold license organization, legal representative
At least one in item, address entries, license numbered entry and date field.Therefore multiple business requirement strong applicability is gone for.
In an embodiment of the invention, the information of showing up involved in flow shown in Fig. 1 can include:Issue license list
Position title, at least one issued in license unit encoding, license licensed content.
In the present embodiment, the particular content that the information of showing up includes can determine according to business need, wherein letter of showing up
What breath can include issues license organization, issues license unit encoding, license licensed content, simply a kind of preferred embodiment,
Can be increased and be changed according to business need.It is further noted that the content of information of showing up need to exist it is corresponding
Essential information, such as will exist when the information of showing up includes issuing license organization, in essential information and issue license unit
Name item.
According to above-described embodiment, content in information of showing up can according to business need selection issue license organization,
Issue at least one in license unit encoding, license licensed content.Therefore multiple business requirement strong applicability is gone for.
In an embodiment of the invention, certificate information involved in flow shown in Fig. 1 can include:Hold license list
Position title, legal representative's title, address name, license numbering and at least one in the date.
In the present embodiment, the particular content that certificate information includes can determine according to business need, wherein license
Information can include:Hold license organization, legal representative's title, address name, license numbering and date, it is simply a kind of
Preferred embodiment, can be increased and be changed according to business need.It is further noted that the content of certificate information needs to deposit
In corresponding essential information, such as when certificate information includes holding license organization:During A Food Co., Ltd, basic letter
License organization is there are in breath.
According to above-described embodiment, content in certificate information can according to business need selection hold license organization,
Legal representative's title, address name, license numbering and at least one in the date.Therefore multiple business requirement is gone for
Strong applicability.
In an embodiment of the invention, at least one form of deriving involved in flow shown in Fig. 1 can include:
EXCEL derives form, XML and derives any one or more that form and JSON derive in form.
In the present embodiment, the specific derivation lattice that at least one derivation form includes can be determined according to business need
Formula, wherein derive form can be:EXCEL derives form, XML and derives form and JSON derivation forms, three kinds of above-mentioned derivation
Form is a kind of preferably mode, can be increased and be changed according to business need.
According to above-described embodiment, deriving form can derive form, XML derivation forms and JSON derivation form extremely with EXCEL
It is few one or more.Therefore multiple business requirement strong applicability is gone for.
In an embodiment of the invention, during shown in above-mentioned Fig. 1, when the target determined in step 103 derives lattice
Formula be EXCEL derive form when, then step 104 by the target derive form, using it is described ask include described at least
One essential information and described at least one is shown up information, derives license template, including:
Create Microsoft Excel file;
At least one essential information is written in the Microsoft Excel file;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, EXCEL form license templates are generated;
Derive the EXCEL forms license template.
In the present embodiment, Microsoft Excel file can be created by Workbook classes, then can be according to presetting
Call format each essential information is written in Microsoft Excel file, wherein call format set in advance can basis
When business need determination, such as call format can include that the writing position and each essential information of each essential information write
Word size and font.
After treating that each essential information is written in Microsoft Excel file, the title according to each essential information determines
Keyword, such as essential information include:License name item:Food and drink licensing, issue license organization, issue license list
Position encodes item, license licensed content item, holds license organization item, legal representative's item, address entries, license numbered entry and day
Phase.The keyword for so obtaining each essential information is respectively:License title, issue license organization, issue license
Unit encoding, license licensed content, hold license organization, legal representative, address, license numbering and the date.
In the present embodiment, after the keyword of each essential information is obtained, according to each show up information and keyword
Matching degree, determines each corresponding essential information of information of showing up.What is such as received shows up information to issue license unit
Title:A municipal health bureaus, issue license unit encoding:00123rd, license licensed content:Chinese meal class makes, western-style food class makes, is free of
Cold dish and barbecue when, it is determined that with issue license organization:The corresponding essential information of A municipal health bureaus is to issue license unit name
Claim item, determine and issue license unit encoding:00123 corresponding essential information is to issue license unit encoding and determine
With license licensed content:The making of Chinese meal class, western-style food class make, are that license license is interior without cold dish and the corresponding essential information of barbecue
Rong Xiang.
After each corresponding essential information of information of showing up to be determined, each information of showing up is written to corresponding base
After this information, such as A municipal health bureaus are written to after corresponding essential information issues license organization, by 00123
Be written to after corresponding essential information issues license unit encoding, Chinese meal class is made, western-style food class makes, without cold dish and
Barbecue is written to after corresponding essential information license licensed content.When all of information of showing up be written to it is corresponding basic
When after information, EXCEL form license templates are generated, and EXCEL form licenses template is derived, with according to derived license mould
Imported into each certificate information in license template and generate license by plate.
According to above-described embodiment, form is derived using EXCEL, by creating Microsoft Excel file, and each is believed substantially
Breath is written in the Microsoft Excel file of establishment, and then the keyword according to each essential information for obtaining determines that each shines
The corresponding essential information of face information, and the information adding that will show up is written to after corresponding essential information, generates and derive EXCEL
Form license template, by said process, because EXCEL forms are widely used, therefore derived license template application model
Enclose larger, and when information of showing up writes, corresponding essential information, therefore derived license template are determined using keyword
It is middle to there is a possibility that mistake is relatively low.
In an embodiment of the invention, during shown in above-mentioned Fig. 1, when the target determined in step 103 derives lattice
Formula be XML derive form when, then step 104 by the target derive form, using it is described ask include described at least one
Individual essential information and described at least one is shown up information, derives license template, including:
Create XML format file;
At least one essential information is written in the file body of the XML format file;
Obtain the keyword of each essential information in the file body;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, XML format license template is generated;
Derive the XML format license template.
In the present embodiment, XML format file can be created by XML format body set in advance, wherein presetting
XML format body can be determined according to business need, such as required in the XML format body for setting the file of XML format file with<
license>Be mark, file body with<LicenseInfo id=" 0 ">Form is represented.
Treat after the completion of XML format document creation, can be write each essential information according to call format set in advance
Enter in the file body of XML format file, wherein call format can determine that such as call format can be wrapped according to business need
The size and font of the word when writing position and each essential information for including each essential information write.
After treating that each essential information is written in the file body of XML format file, according to the name of each essential information
Claim to determine keyword.Then according to keyword, each corresponding essential information of information of showing up is determined, then by each information of showing up
It is additional to be written to after corresponding essential information.The keyword for such as determining be respectively license title, issue license organization,
Issue license unit encoding, license licensed content, hold license organization, legal representative, address, license numbering and day
Phase.The information of showing up for receiving is:Issue license organization:A cities construction managements office, issue license unit encoding:
10587th, license licensed content:Construction.So according to the keyword for determining, it is determined that issuing license organization:Build in A cities
The corresponding essential information of engineering office is to issue license organization, it is determined that issuing license unit encoding:10587 is corresponding
Essential information determines license licensed content to issue license unit encoding:The corresponding essential information of construction is permitted for license
Can content item.Construction management office in A cities is written to after corresponding essential information issues license organization afterwards, will
10587 are written to after corresponding essential information issues license unit encoding, and construction is written into corresponding basic letter
After breath license licensed content.When all of certificate information is written to after corresponding essential information, generates and derive
XML format license template.
According to above-described embodiment, form is derived using XML, by creating XML format file, and each essential information write
Enter in the XML format file for creating, then the keyword according to each essential information for obtaining determines each information of showing up
Corresponding essential information, and the information adding that will show up is written to after corresponding essential information, generates and derive XML format license
Template, by said process, due to it is derived be XML format license template, therefore go for the business of XML format
It is required that, and when information of showing up writes, corresponding essential information is determined using keyword, therefore derived license template is deposited
It is relatively low in the possibility of mistake.
In an embodiment of the invention, during shown in above-mentioned Fig. 1, when the target determined in step 103 derives lattice
Formula be JSON derive form when, then step 104 by the target derive form, using it is described ask include described at least one
Individual essential information and described at least one is shown up information, derives license template, including:
Create JSON formatted files;
At least one essential information is written in the file body of the JSON formatted files;
Obtain the keyword of each essential information in the file body;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, JSON form license templates are generated;
Derive the JSON forms license template.
In the present embodiment, JSON formatted files can be created by JSON forms body set in advance, wherein setting in advance
Fixed JSON forms body can determine according to business need.After the completion for the treatment of that JSON formatted files are created, can be according to presetting
Call format each essential information is written in the file body of JSON formatted files, wherein call format can be according to industry
Business requires determination, such as text when call format can include that the writing position and each essential information of each essential information write
The size and font of word.
After treating that each essential information is written in the file body of JSON formatted files, according to the name of each essential information
Claim to determine keyword, then according to keyword, determine each corresponding essential information of information of showing up, then by each information of showing up
It is additional to be written to after corresponding essential information.The keyword for such as determining be respectively license title, issue license organization,
Issue license unit encoding, license licensed content, hold license organization, legal representative, address, license numbering and day
Phase.The information of showing up for receiving is:Issue license organization:A municipal health bureaus, issue license unit encoding:1897th, license is permitted
Can content:Production stability chlorine dioxide, then according to the keyword for determining, it is determined that issuing license organization:A municipal health bureaus
Corresponding essential information is to issue license organization, it is determined that issuing license unit encoding:1897 corresponding essential informations are
License unit encoding is issued, license licensed content is determined:The corresponding essential information of production stability chlorine dioxide is permitted for license
Can content item.A municipal health bureaus are written to after corresponding essential information issues license organization afterwards, by 1897 write-ins
After issuing license unit encoding to corresponding essential information, production stability chlorine dioxide is written to corresponding basic letter
After breath license licensed content.When all of certificate information is written to after corresponding essential information, generates and derive
JSON form license templates.
According to above-described embodiment, form is derived using JSON, by creating JSON formatted files, and by each essential information
It is written in the JSON formatted files of establishment, then the keyword according to each essential information for obtaining determines each letter of showing up
Corresponding essential information is ceased, and the information adding that will show up is written to after corresponding essential information, generates and derive JSON forms
License template, by said process, due to it is derived be JSON form license templates, therefore go for JSON forms
Business need, and show up information write when, determine corresponding essential information, therefore derived license using keyword
Template there is a possibility that mistake is relatively low.
In an embodiment of the invention, no matter deriving form, XML using EXCEL derives form and JSON derivation forms
In which kind of be that target derives form and derives license template, derived license template can be verified, it is derived to ensure
The accuracy and legitimacy of license template.Whether include forbidden character string, if it is, entering if such as may determine that in license template
Row alarm, the business personnel that withdraws deposit is processed accordingly.Judge that the legitimacy and the condition of accuracy of license template can be with addition
Determined according to business need.
In an embodiment of the invention, during shown in above-mentioned Fig. 1, when the target determined in step 103 derives lattice
When formula is that EXCEL derives form, import format corresponding with target derivation form is EXCEL import formats;
Then step 107 is imported presently described certificate information by import format corresponding with target derivation form
To in the license template, the corresponding license of presently described certificate information is generated, including:
By the EXCEL import formats, Microsoft Excel file includes in the acquisition EXCEL forms license template
The keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, presently described certificate information is generated corresponding
License.
In the present embodiment, when license template derives form derivation by EXCEL, the importing of certificate information is accomplished by using
The corresponding EXCEL import formats of form are derived with EXCEL.When import operation is carried out, by repeating query Microsoft Excel file
Content per a line, the keyword of each included essential information in acquisition Microsoft Excel file, such as, and the pass of acquisition
Key word is respectively:Hold license organization, legal representative, address, license numbering and date.
After keyword to be obtained, each content is corresponding in determining to be currently needed for the certificate information of importing according to keyword
Essential information, such as current certificate information is to hold license organization:AA food and drink Co., Ltd, legal representative:Zhang San,
Location:The area B roads 001 of A cities 1, license numbering:001 and the date:2017/01/04;So according to keyword, determine that AA food and drink are limited
The corresponding essential information of company is to hold license organization, legal representative:The corresponding essential information of Zhang San is legal generation
Table people, address:The corresponding essential information in area B roads 001 of A cities 1 is address entries, license numbering:001 corresponding essential information is
License numbered entry and date:2017/01/04 corresponding essential information is date field.
After the corresponding essential information of current certificate information to be determined, current certificate information is written to corresponding basic letter
After breath, such as, by AA food and drink Co., Ltd be written to corresponding essential information hold license organization after, legal generation
Table people:After Zhang San is written to corresponding essential information legal representative, address:The area B roads 001 of A cities 1 are written to corresponding
After essential information address entries, license numbering:001 is written to after corresponding essential information license numbered entry and the date:2017/
01/04 is written to after corresponding essential information date field.When current certificate information be all written to corresponding essential information it
When afterwards, the corresponding license of current certificate information is generated.
According to above-described embodiment, when license template is EXCEL license templates, by EXCEL import formats, obtain
The keyword of each essential information in Microsoft Excel file, and according to the keyword for obtaining, it is determined that current certificate information is corresponding
Essential information, and current certificate information is written to after corresponding essential information, generate the corresponding license of current certificate information.
By above-mentioned, due to the corresponding EXCEL import formats that EXCEL licenses template is used, therefore the standard of license is generated
True property is higher.
In an embodiment of the invention, during shown in above-mentioned Fig. 1, when the target determined in step 103 derives lattice
When formula is that XML derives form, import format corresponding with target derivation form is XML import formats;
Then step 107 is imported presently described certificate information by import format corresponding with target derivation form
To in the license template, the corresponding license of presently described certificate information is generated, including:
By the JDOM resolvers in the XML import formats, in parsing XML format license template file body include it is every
One essential information;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, presently described certificate information is generated corresponding
License.
In the present embodiment, when license template derives form and derives by XML, the importing of certificate information be accomplished by using with
XML derives the corresponding XML import formats of form.When import operation is carried out, parsed by the JDOM in XML import formats
Device, each essential information that file body in XML format license template includes is parsed.
After treating that essential information is resolved out, obtain the keyword of each essential information, such as, and the keyword of acquisition
Respectively:Hold license organization, legal representative, address, license numbering and date.
After keyword to be obtained, each content is corresponding in determining to be currently needed for the certificate information of importing according to keyword
Essential information, such as current certificate information is to hold license organization:Hold license organization:BB food and drink Co., Ltd,
Legal representative:Li Si, address:The area C roads 015 of A cities 12, license numbering:015 and the date:2017/02/04.So according to pass
Key word, the corresponding essential information of BB food and drink Co., Ltd is to hold license organization, legal representative:The corresponding base of Li Si
This information is legal representative, address:The corresponding essential information in area C roads 015 of A cities 12 is address entries, license numbering:015
Corresponding essential information is license numbered entry and date:2017/02/04 corresponding essential information is date field.
After the corresponding essential information of current certificate information to be determined, current certificate information is written to corresponding basic letter
After breath, such as, BB food and drink Co., Ltd be written to corresponding essential information hold license organization after, authorised representative
People:After Li Si is written to corresponding essential information legal representative, address:The area C roads 015 of A cities 12 are written to corresponding
After essential information address entries, license numbering:015 is written to after corresponding essential information license numbered entry and the date:2017/
02/04 is written to after corresponding essential information date field.When current certificate information be all written to corresponding essential information it
When afterwards, the corresponding license of current certificate information is generated.
According to above-described embodiment, when license template is XML license templates, parsed by the JDOM in XML import formats
Device parses each essential information that file in XML format license template includes, then the keyword of each essential information,
And according to the keyword for obtaining, it is determined that the currently corresponding essential information of certificate information, and current certificate information is written to correspondence
Essential information after, generate the corresponding license of current certificate information.By above-mentioned, used due to XML licenses template
Corresponding XML import formats, therefore the accuracy of generation license is higher.
In an embodiment of the invention, during shown in above-mentioned Fig. 1, when the target determined in step 103 derives lattice
When formula is that JSON derives form, import format corresponding with target derivation form is JSON import formats;
Then step 107 is imported presently described certificate information by import format corresponding with target derivation form
To in the license template, the corresponding license of presently described certificate information is generated, including:
Each that file body includes by the JSON import formats, in the parsing JSON forms license template is basic
Information;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, presently described certificate information is generated corresponding
License.
In the present embodiment, when license template derives form derivation by JSON, the importing of certificate information is accomplished by using
The corresponding JSON import formats of form are derived with JSON.When import operation is carried out, will using analytical tool set in advance
Each essential information that file body includes in JSON form license templates is parsed.Wherein, analytical tool can be according to industry
Business requires to determine.
After treating that essential information is resolved out, obtain the keyword of each essential information, such as, and the keyword of acquisition
Respectively:Hold license organization, legal representative, address, license numbering and date.
After keyword to be obtained, each content is corresponding in determining to be currently needed for the certificate information of importing according to keyword
Essential information, such as current certificate information is to hold license organization:Hold license organization:CC food and drink Co., Ltd,
Legal representative:King five, address:The area C roads 106 of A cities 7, license numbering:020 and the date:2017/02/18.So according to pass
Key word, the corresponding essential information of CC food and drink Co., Ltd is to hold license organization, legal representative:The corresponding base of king five
This information is legal representative, address:The corresponding essential information in area C roads 106 of A cities 7 is address entries, license numbering:020 pair
The essential information answered is license numbered entry and date:2017/02/18 corresponding essential information is date field.
After the corresponding essential information of current certificate information to be determined, current certificate information is written to corresponding basic letter
After breath, such as, CC food and drink Co., Ltd be written to corresponding essential information hold license organization after, authorised representative
People:After king five is written to corresponding essential information legal representative, address:The area C roads 106 of A cities 7 are written to corresponding base
After this message address, license numbering:020 is written to after corresponding essential information license numbered entry and the date:2017/
02/18 is written to after corresponding essential information date field.
According to above-described embodiment, when license template is JSON license templates, by JSON import formats by JSON forms
Each essential information that file includes in license template is parsed, then the keyword of each essential information, and according to acquisition
Keyword, it is determined that the current corresponding essential information of certificate information, and current certificate information is written to corresponding essential information
Afterwards, the corresponding license of current certificate information is generated.By above-mentioned, due to JSON licenses template use it is corresponding
JSON import formats, therefore the accuracy of generation license is higher.
In an embodiment of the invention, 107 to generate presently described certificate information corresponding the step of flow shown in Fig. 1
After license, may further include:
When the license is qualified, the license for generating is uploaded to the license storehouse of outside;
In the present embodiment, can by repeating query generate license in per a line the corresponding content of essential information whether be
Sky, if it is not, then judge whether the corresponding content of essential information per a line includes forbidden character, if it is not, then determining license
It is qualified.Above-mentioned Rule of judgment can be determined according to business need, merely just illustrate preferred Rule of judgment.
According to above-described embodiment, when the license of generation is qualified, license is uploaded to license storehouse, so that business personnel verifies
Capable centralized management is shone into, so as to improve the efficiency of management of license.
In an embodiment of the invention, 107 to generate presently described certificate information corresponding the step of flow shown in Fig. 1
After license, may further include:
When the license is unqualified, generation includes the procedure file and the unqualified original of the license of the license generation
The supporting paper of cause;
The supporting paper is uploaded to the license storehouse.
In the present embodiment, can by repeating query generate license in per a line the corresponding content of essential information whether be
Sky, if it is, determining that the license is unqualified, then transfers the journal file of the process of license generation, and utilize journal file
The procedure file of license generation is generated, and generates supporting paper, the supporting paper includes which essential information is corresponding interior
It is empty explanation to hold.If it is not, then perform judge whether the corresponding content of essential information per a line includes forbidden character, if
It is the journal file of the process for then transferring license generation, and the procedure file of license generation is generated using journal file.On
The Rule of judgment stated can be determined according to business need, merely just illustrate preferred Rule of judgment.
In the present embodiment, the supporting paper of the procedure file of license generation and the unqualified reason of license is included when generation
When, by the unqualified cause description files passe of license to license storehouse, so that business personnel pinpoints the problems in time, and according to expository writing
Part transfers procedure file, and carries out corresponding Business Processing.
According to above-described embodiment, when the corresponding license of current certificate information of generation is unqualified, generation includes that license is given birth to
Into the unqualified reason of procedure file and license supporting paper, and supporting paper is uploaded to license storehouse.So that business people
Member is processed abnormal problem according to supporting paper in time.
Below as a example by generating license for food and drink licensing.The method for launching explanation generation license, as shown in Fig. 2 the life
Method into license may include steps of:
Step 201:It is set in advance derivation form be:EXCEL derives form, XML and derives form and JSON derivation forms.
Step 202:The request of generation license template is received, wherein, the request includes:At least one essential information and extremely
Few information of showing up.
In the present embodiment, the essential information that the request of reception includes is:License name item:Food and drink licensing, issue
License organization, issue license unit encoding, license licensed content, hold license organization, authorised representative
People's item, address entries, license numbered entry and date field.The information of showing up that the request of reception includes is:Issue license organization:
A municipal health bureaus, issue license unit encoding:00123rd, license licensed content:Chinese meal class make, western-style food class make, without cold dish
And barbecue.
Step 203:In EXCEL derives form, XML derivation forms and JSON derivation forms, determine that target derives form
For EXCEL derives form.
Step 204:Form is derived by EXCEL, Microsoft Excel file is created.
Step 205:At least one essential information is written in Microsoft Excel file.
In this step, the license name item for the essential information for receiving in step 202 being included:Food and drink is permitted
Demonstrate,prove, issue license organization, issue license unit encoding, license licensed content item, hold license organization, method
Determine representative's item, address entries, license numbered entry and date field and be written to the Microsoft Excel file created in step 204.
Step 206:Obtain the keyword of each essential information.
In this step, license name item is obtained:Food and drink licensing, issue license organization, issue license unit
Encode item, license licensed content item, hold license organization item, legal representative's item, address entries, license numbered entry and date
The keyword of each essential information in, such as issue the keyword of license organization to issue license organization.
Step 207:According to keyword, each corresponding essential information of information of showing up is determined.
In this step, according to each keyword obtained in step 206, the information of showing up received in step 202 is determined
What is included issues license organization:A municipal health bureaus, issue license unit encoding:00123rd, license licensed content:Chinese meal class
Make, western-style food class make, without each corresponding essential information of information of showing up in cold dish and barbecue.Through determining, it is determined that issuing
License organization:The corresponding essential information of A municipal health bureaus is to issue license organization, it is determined that issuing license unit volume
Code:00123 corresponding essential information determines license licensed content to issue license unit encoding:Chinese meal class makes, western-style food class
Make, be license licensed content without cold dish and the corresponding essential information of barbecue.
Step 208:Each information of showing up is written to after corresponding essential information, EXCEL form license moulds are generated
Plate.
In this step, by A municipal health bureaus be written to it is corresponding issue license organization after, by 00123 write-in
To it is corresponding issue license unit encoding after, Chinese meal class is made, western-style food class makes, it is right to be written to without cold dish and barbecue
After the license licensed content answered.Treat that all of information of showing up is written to after corresponding essential information, generate EXCEL lattice
Formula license template.
Step 209:Derive EXCEL form license templates.
In this step, the EXCEL form licenses template that will be generated is derived.
Step 210:Receive at least one certificate information.
In this step, 3 certificate informations are have received, wherein, first certificate information includes:Hold license unit name
Claim:AA food and drink Co., Ltd, legal representative:Zhang San, address:The area B roads 001 of A cities 1, license numbering:001 and the date:
2017/01/04;Second certificate information includes:Hold license organization:BB food and drink Co., Ltd, legal representative:Lee
4th, address:The area C roads 015 of A cities 12, license numbering:015 and the date:2017/02/04;3rd certificate information includes:Hold
License organization:CC food and drink Co., Ltd, legal representative:King five, address:The area C roads 106 of A cities 7, license numbering:020
And the date:2017/02/18.
Step 211:Successively from each certificate information, one certificate information of selection is used as current certificate information.
In this step, according to the first certificate information, the second certificate information, the 3rd certificate information order, successively by
One certificate information, the second certificate information, the 3rd certificate information are used as current certificate information.
Step 212:By EXCEL import formats corresponding with EXCEL derivation forms, EXCEL form license templates are obtained
The keyword of each essential information that middle Microsoft Excel file includes.
In this step, the keyword for obtaining each essential information that Microsoft Excel file includes is respectively:Hold card
According to organization, legal representative, address, license numbering and date.
Step 213:According to keyword, it is determined that the corresponding essential information of current certificate information.
In this step, according to the keyword determined in step 213, it is determined that the corresponding essential information of current certificate information.
When current certificate information is the first certificate information, license organization is held in the first certificate information:AA eats
The corresponding essential information of drink Co., Ltd is to hold license organization, legal representative:The corresponding essential information of Zhang San is
Legal representative, address:The corresponding essential information in area B roads 001 of A cities 1 is address entries, license numbering:001 is corresponding basic
Information is license numbered entry and date:2017/01/04 corresponding essential information is date field.
When current certificate information is the second certificate information, license organization is held in the second certificate information:BB eats
The corresponding essential information of drink Co., Ltd is to hold license organization, legal representative:The corresponding essential information of Li Si is
Legal representative, address:The corresponding essential information in area C roads 015 of A cities 12 is address entries, license numbering:015 corresponding base
This information is license numbered entry and date:2017/02/04 corresponding essential information is date field.
When current certificate information is three certificate information, license organization is held in the 3rd certificate information:CC eats
The corresponding essential information of drink Co., Ltd is to hold license organization, legal representative:The corresponding essential information of king five is
Legal representative, address:The corresponding essential information in area C roads 106 of A cities 7 is address entries, license numbering:020 is corresponding basic
Information is license numbered entry and date:2017/02/18 corresponding essential information is date field.
Step 214:Current certificate information is written to after corresponding essential information, current certificate information is generated corresponding
License.
In this step, when current certificate information is the first certificate information, license list is held in the first certificate information
Position title:AA food and drink Co., Ltd be written to corresponding essential information hold license organization after, legal representative:
Three be written to corresponding essential information legal representative after, address:The area B roads 001 of A cities 1 are written to corresponding basic letter
Breath address entries after, license numbering:001 is written to after corresponding essential information license numbered entry and the date:2017/01/04
It is written to after corresponding essential information date field.
When current certificate information is the second certificate information, license organization is held in the second certificate information:BB eats
Drink Co., Ltd be written to corresponding essential information hold license organization after, legal representative:Li Si is written to right
After the essential information legal representative that answers, address:The area C roads 015 of A cities 12 be written to corresponding essential information address entries it
Afterwards, license numbering:015 is written to after corresponding essential information license numbered entry and the date:2017/02/04 is written to correspondence
Essential information date field after.
When current certificate information is three certificate information, license organization is held in the 3rd certificate information:CC eats
Drink Co., Ltd be written to corresponding essential information hold license organization after, legal representative:It is right that king five is written to
After the essential information legal representative that answers, address:The area C roads 106 of A cities 7 be written to corresponding essential information address entries it
Afterwards, license numbering:020 is written to after corresponding essential information license numbered entry and the date:2017/02/18 is written to correspondence
Essential information date field after.
Step 215:Whether the certificate information for judging selection is last certificate information, if it is, terminating current stream
Journey;Otherwise, step 211 is performed.
In this step, when the first certificate information or the second certificate information is selected, it is determined that the first certificate information or the
Two certificate informations are not last certificate informations, then perform step 211;When three certificate informations is selected, it is determined that the 3rd
Last certificate information, then terminate current process during certificate information.
As shown in Figure 3, Figure 4, the embodiment of the invention provides a kind of generation license device.Device embodiment can be by soft
Part is realized, it is also possible to realized by way of hardware or software and hardware combining.From for hardware view, as shown in figure 3, being this hair
A kind of hardware structure diagram of equipment where the generation license device that bright embodiment is provided, except the processor shown in Fig. 3, internal memory,
Outside network interface and nonvolatile memory, the equipment in embodiment where device can also generally include other hardware,
Such as it is responsible for the forwarding chip for the treatment of message.As a example by implemented in software, as shown in figure 4, as the dress on a logical meaning
Put, transported during corresponding computer program instructions in nonvolatile memory are read into internal memory by the CPU of equipment where it
What row was formed.The generation license device that the present embodiment is provided, including:
Setup unit 401, for presetting at least a kind of derivation form of license template;
Receiving unit 402, the request for receiving generation license template, wherein, the request includes:At least one is basic
Information and at least one is shown up information;
Determining unit 403, at least one for being set in the setup unit 401 is derived in form, determines mesh
Mark derives form;
Lead-out unit 404, the target for being determined by the determining unit 403 derives form, is connect using described
Receive at least one essential information that includes of the request that unit 402 receives and described at least one to show up information, derive
License template;
Generation unit 405, for receiving at least one certificate information, is performed both by for certificate information each described:It is logical
Import format corresponding with target derivation form is crossed, presently described certificate information is imported into the lead-out unit 404 and is led
In the license template for going out, the corresponding license of presently described certificate information is generated.
According to embodiment as shown in Figure 4, by determining unit at least one derivation form that setup unit sets,
Determine that target derives form, be then led off unit derives form by the target that determining unit determines, is received using receiving unit
The essential information that includes of request and information of showing up, derive license template;Generation unit is directed to each license letter for receiving
Breath is performed both by, by import format corresponding with target derivation form, certificate information being imported into license mould derived from lead-out unit
In plate, the corresponding license of generation certificate information.By said process, this programme is in lead-out unit according to information substrate and photograph
Face information is derived after license template, generation unit just can using derived license template, batch by be connected to each
Certificate information generates license in importeding into license template, therefore, the embodiment of the present invention can improve the efficiency of generation license.
In an embodiment of the invention, when it is that EXCEL derives form that the target derives form,
The lead-out unit 404, for creating Microsoft Excel file;At least one essential information is written to institute
In stating Microsoft Excel file;Obtain the keyword of each essential information;According to the keyword, each institute is determined
State the corresponding essential information of the information of showing up;The information of showing up described in each is written to after corresponding essential information, is generated
EXCEL form license templates;Derive the EXCEL forms license template.
In an embodiment of the invention, when it is that XML derives form that the target derives form,
The lead-out unit 404, for creating XML format file;At least one essential information is written to described
In the file body of XML format file;Obtain the keyword of each essential information in the file body;According to the key
Word, determines the corresponding essential information of information of being shown up described in each;The information of showing up described in each is written to corresponding basic
After information, XML format license template is generated;Derive the XML format license template.
In an embodiment of the invention, when it is that JSON derives form that the target derives form,
The lead-out unit 404, for creating JSON formatted files;At least one essential information is written to described
In the file body of JSON formatted files;Obtain the keyword of each essential information in the file body;According to the pass
Key word, determines the corresponding essential information of information of being shown up described in each;The information of showing up described in each is written to corresponding base
After this information, JSON form license templates are generated;Derive the JSON forms license template.
In an embodiment of the invention, when it is that EXCEL derives form that the target derives form, led with the target
Go out the corresponding import format of form for EXCEL import formats;
The generation unit 405, for by the EXCEL import formats, obtaining the EXCEL forms license template in
The keyword of each essential information that Microsoft Excel file includes;According to the keyword, presently described certificate information is determined
Corresponding essential information;Presently described certificate information is written to after corresponding essential information, presently described license letter is generated
Cease corresponding license.
In an embodiment of the invention, when it is that XML derives form that the target derives form, derived with the target
The corresponding import format of form is XML import formats;
The generation unit 405, for by the JDOM resolvers in the XML import formats, parsing XML format license
Each essential information that file body includes in template;Obtain the keyword of each essential information;According to the key
Word, determines the corresponding essential information of presently described certificate information;Presently described certificate information is written to corresponding essential information
Afterwards, the corresponding license of presently described certificate information is generated.
In an embodiment of the invention, when it is that JSON derives form that the target derives form, led with the target
Go out the corresponding import format of form for JSON import formats;
The generation unit 405, for by the JSON import formats, parsing the JSON forms license template Chinese
Each essential information that part body includes;Obtain the keyword of each essential information;According to the keyword, it is determined that working as
The corresponding essential information of the preceding certificate information;Presently described certificate information is written to after corresponding essential information, is generated
The corresponding license of presently described certificate information.
In an embodiment of the invention, as shown in figure 5, the generation license device may further include:On first
Leaflet unit 501;
First uploading unit 501, for when the license is qualified, the license for generating being uploaded into outside
License storehouse.
In an embodiment of the invention, as shown in fig. 6, the generation license device may further include:On second
Leaflet unit 601;
Second uploading unit 601, for when the license is unqualified, generation to include the process of the license generation
The supporting paper of file and the unqualified reason of the license;The supporting paper is uploaded to the license storehouse.
One embodiment of the invention provides a kind of computer-readable recording medium, and the computer-readable recording medium includes execute instruction, when storage control
Described in the computing device of device during execute instruction, the storage control performs the generation license method described in any of the above-described.
A kind of storage control is provided in one embodiment of the invention, the storage control includes:Processor, store it
And bus;The memory is used to store execute instruction, and the processor is connected with the memory by the bus, works as institute
When stating storage control operation, the execute instruction of memory storage described in the computing device, so that the storage control
Device processed performs any of the above-described described generation license method.
The contents such as the information exchange between each unit, implementation procedure in said apparatus, due to implementing with the inventive method
Example is based on same design, and particular content can be found in the narration in the inventive method embodiment, and here is omitted.
In sum, each embodiment of the invention can at least realize following beneficial effect:
1st, in embodiments of the present invention, by receive include essential information and show up information generation license template ask
Ask, in derivation form set in advance, determine that target derives form, then the target by determining derives form, utilizes
The essential information and information of showing up that request includes derive license template.Then each certificate information for receiving is performed both by
Before certificate information is imported into by import format corresponding with target derivation form in derived license template, license is generated
The corresponding license of information.By said process, this programme can derive license mould according to information substrate and information of showing up
After plate, using derived license template, each certificate information that will be connected to of batch generates card in importeding into license template
According to, therefore, the embodiment of the present invention can improve the efficiency of generation license.
2nd, in embodiments of the present invention, the content in essential information can select license name item, issue according to business need
Issue licence according to organization, issue license unit encoding, license licensed content, hold license organization, legal generation
At least one in table people item, address entries, license numbered entry and date field.Therefore multiple business requirement applicability is gone for
By force.
3rd, in embodiments of the present invention, the content in information of showing up can issue license unit name according to business need selection
At least one for claiming, issuing in license unit encoding, license licensed content.Therefore multiple business requirement applicability is gone for
By force.
4th, in embodiments of the present invention, the content in certificate information can hold license unit name according to business need selection
Title, legal representative's title, address name, license numbering and at least one in the date.Therefore multiple business is gone for
It is required that strong applicability.
5th, in embodiments of the present invention, form is derived using EXCEL, by creating Microsoft Excel file, and by each base
This information is written in the Microsoft Excel file of establishment, and then the keyword according to each essential information for obtaining determines each
The corresponding essential information of individual information of showing up, and the information adding that will show up is written to after corresponding essential information, is generated and is derived
EXCEL form license templates, by said process, because EXCEL forms are widely used, therefore derived license template should
It is larger with scope, and when information of showing up writes, corresponding essential information, therefore derived license are determined using keyword
There is a possibility that mistake is relatively low in template.
6th, in embodiments of the present invention, form is derived using XML, by creating XML format file, and each is believed substantially
Breath is written in the XML format file of establishment, and then the keyword according to each essential information for obtaining determines that each is shown up
The corresponding essential information of information, and the information adding that will show up is written to after corresponding essential information, generates and derive XML format
License template, by said process, due to it is derived be XML format license template, therefore go for XML format
Business need, and when information of showing up writes, corresponding essential information, therefore derived license mould are determined using keyword
Plate there is a possibility that mistake is relatively low.
7th, in embodiments of the present invention, form is derived using JSON, it is by creating JSON formatted files and each is basic
Information is written in the JSON formatted files of establishment, and then the keyword according to each essential information for obtaining determines that each shines
The corresponding essential information of face information, and the information adding that will show up is written to after corresponding essential information, generates and derive JSON
Form license template, by said process, due to it is derived be JSON form license templates, therefore go for JSON
The business need of form, and when information of showing up writes, corresponding essential information is determined using keyword, therefore it is derived
License template there is a possibility that mistake is relatively low.
8th, in embodiments of the present invention, when license template is EXCEL license templates, by EXCEL import formats, obtain
The keyword of each essential information in Microsoft Excel file, and according to the keyword for obtaining, it is determined that current certificate information is corresponding
Essential information, and current certificate information is written to after corresponding essential information, generate the corresponding license of current certificate information.
By above-mentioned, due to the corresponding EXCEL import formats that EXCEL licenses template is used, therefore the standard of license is generated
True property is higher.
9th, in embodiments of the present invention, when license template is XML license templates, by the JDOM in XML import formats
Resolver parses each essential information that file in XML format license template includes, then the pass of each essential information
Key word, and according to the keyword for obtaining, it is determined that the currently corresponding essential information of certificate information, and current certificate information is written to
After corresponding essential information, the corresponding license of current certificate information is generated.By above-mentioned, because XML license templates are adopted
Corresponding XML import formats, therefore the accuracy of generation license is higher.
10th, in embodiments of the present invention, when license template is JSON license templates, by JSON import formats by JSON
Each essential information that file includes in form license template is parsed, then the keyword of each essential information, and according to
The keyword of acquisition, it is determined that the corresponding essential information of current certificate information, and current certificate information is written to corresponding basic
After information, the corresponding license of current certificate information is generated.By above-mentioned, due to JSON licenses template use it is right with it
The JSON import formats answered, therefore the accuracy of generation license is higher.
11st, in embodiments of the present invention, when the license of generation is qualified, license is uploaded to license storehouse, so that business people
Capable centralized management is shone into member's verification, so as to improve the efficiency of management of license.
12nd, in embodiments of the present invention, when the corresponding license of current certificate information of generation is unqualified, generation includes card
The supporting paper of procedure file and the unqualified reason of license according to generation, and supporting paper is uploaded to license storehouse.So that industry
Business personnel are processed abnormal problem according to supporting paper in time.
13rd, in embodiments of the present invention, by determining unit at least one derivation form that setup unit sets, really
Set the goal derivation form, and be then led off unit derives form by the target that determining unit determines, is received using receiving unit
Essential information and information of showing up that request includes, derive license template;Generation unit is directed to each certificate information for receiving
It is performed both by, by import format corresponding with target derivation form, certificate information being imported into license template derived from lead-out unit
In, the corresponding license of generation certificate information.By said process, this programme is in lead-out unit according to information substrate and showing up
Information is derived after license template, and generation unit just can be using derived license template, each card that will be connected to of batch
It is imported into license template according to information and generates license, therefore, the embodiment of the present invention can improve the efficiency of generation license.
It should be noted that herein, such as first and second etc relational terms are used merely to an entity
Or operation makes a distinction with another entity or operation, and not necessarily require or imply these entities or exist between operating
Any this actual relation or order.And, term " including ", "comprising" or its any other variant be intended to it is non-
It is exclusive to include, so that process, method, article or equipment including a series of key elements not only include those key elements,
But also other key elements including being not expressly set out, or also include by this process, method, article or equipment are solid
Some key elements.In the absence of more restrictions, the key element limited by sentence " including ", does not arrange
Except also there is other identical factor in the process including the key element, method, article or equipment.
One of ordinary skill in the art will appreciate that:Realizing all or part of step of above method embodiment can pass through
Programmed instruction related hardware is completed, and foregoing program can be stored in the storage medium of embodied on computer readable, the program
Upon execution, the step of including above method embodiment is performed;And foregoing storage medium includes:ROM, RAM, magnetic disc or light
Disk etc. is various can be with the medium of store program codes.
It is last it should be noted that:Presently preferred embodiments of the present invention is the foregoing is only, skill of the invention is merely to illustrate
Art scheme, is not intended to limit the scope of the present invention.All any modifications made within the spirit and principles in the present invention,
Equivalent, improvement etc., are all contained in protection scope of the present invention.
Claims (10)
1. it is a kind of to generate license method, it is characterised in that to preset at least a kind of derivation form, also include:
The request of generation license template is received, wherein, the request includes:At least one essential information and at least one is shown up letter
Breath;
In at least one derivation form, determine that target derives form;
Form is derived by the target, using at least one essential information and described at least one asked and include
Show up information, derive license template;
At least one certificate information is received, is performed both by for certificate information each described:Form is derived by with the target
Corresponding import format, presently described certificate information is imported into the license template, generates presently described certificate information pair
The license answered.
2. method according to claim 1, it is characterised in that
At least one derivation form, including:Electrical form EXCEL derives form, expandable mark language XML and derives form
With any one or more in data interchange format JSON derivation forms.
3. method according to claim 2, it is characterised in that
When it is that EXCEL derives form that the target derives form,
It is described that form is derived by the target, using it is described ask at least one essential information that includes and it is described at least
One information of showing up, derives license template, including:
Create Microsoft Excel file;
At least one essential information is written in the Microsoft Excel file;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, EXCEL form license templates are generated;
Derive the EXCEL forms license template;
Or,
When it is that XML derives form that the target derives form,
It is described that form is derived by the target, using it is described ask at least one essential information that includes and it is described at least
One information of showing up, derives license template, including:
Create XML format file;
At least one essential information is written in the file body of the XML format file;
Obtain the keyword of each essential information in the file body;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, XML format license template is generated;
Derive the XML format license template;
Or,
When it is that JSON derives form that the target derives form,
It is described that form is derived by the target, using it is described ask at least one essential information that includes and it is described at least
One information of showing up, derives license template, including:
Create JSON formatted files;
At least one essential information is written in the file body of the JSON formatted files;
Obtain the keyword of each essential information in the file body;
According to the keyword, the corresponding essential information of information of being shown up described in each is determined;
The information of showing up described in each is written to after corresponding essential information, JSON form license templates are generated;
Derive the JSON forms license template.
4. method according to claim 3, it is characterised in that
When it is that EXCEL derives form that the target derives form, import format corresponding with target derivation form is
EXCEL import formats;
It is described to derive the corresponding import format of form by with the target, presently described certificate information is imported into the license
In template, the corresponding license of presently described certificate information is generated, including:
By the EXCEL import formats, obtain that Microsoft Excel file in the EXCEL forms license template includes is each
The keyword of individual essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, the corresponding card of presently described certificate information is generated
According to;
Or,
When it is that XML derives form that the target derives form, import format corresponding with target derivation form is led for XML
Entry format;
It is described to derive the corresponding import format of form by with the target, presently described certificate information is imported into the license
In template, the corresponding license of presently described certificate information is generated, including:
Each that file body includes by the JDOM resolvers in the XML import formats, in parsing XML format license template
Essential information;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, the corresponding card of presently described certificate information is generated
According to;
Or,
When it is that JSON derives form that the target derives form, import format corresponding with target derivation form is JSON
Import format;
It is described to derive the corresponding import format of form by with the target, presently described certificate information is imported into the license
In template, the corresponding license of presently described certificate information is generated, including:
Each that file body includes by the JSON import formats, in the parsing JSON forms license template is believed substantially
Breath;
Obtain the keyword of each essential information;
According to the keyword, the corresponding essential information of presently described certificate information is determined;
Presently described certificate information is written to after corresponding essential information, the corresponding card of presently described certificate information is generated
According to.
5. according to any described method of Claims 1-4, it is characterised in that
After the corresponding license of the presently described certificate information of the generation, further include:
When the license is qualified, the license for generating is uploaded to the license storehouse of outside;
And/or,
After the corresponding license of the presently described certificate information of the generation, further include:
When the license is unqualified, generation includes the procedure file that the license generates and the unqualified reason of the license
Supporting paper;
The supporting paper is uploaded to the license storehouse.
6. according to any described method of Claims 1-4, it is characterised in that
The essential information includes:License name item, license organization is issued, license unit encoding, license is issued and is permitted
Can content item, hold in license organization item, legal representative's item, address entries, license numbered entry and date field at least one
Kind;
And/or,
The information of showing up includes:Issue license organization, issue license unit encoding, license licensed content at least one
Kind;
And/or,
The certificate information includes:Hold license organization, legal representative's title, address name, license numbering and date
In at least one.
7. it is a kind of to generate license device, it is characterised in that including:
Setup unit, for presetting at least a kind of derivation form;
Receiving unit, the request for receiving generation license template, wherein, the request includes:At least one essential information and
At least one shows up information;
Determining unit, at least one for being set in the setup unit is derived in form, determines that target derives form;
Lead-out unit, the target for being determined by the determining unit derives form, is received using the receiving unit
At least one essential information that includes of the request and described at least one show up information, derive license template;
Generation unit, for receiving at least one certificate information, is performed both by for certificate information each described:By with it is described
Target derives the corresponding import format of form, and presently described certificate information is imported into the license derived from the lead-out unit
In template, the corresponding license of presently described certificate information is generated.
8. device according to claim 7, it is characterised in that
When it is that EXCEL derives form that the target derives form,
The lead-out unit, for creating Microsoft Excel file;At least one essential information is written to the EXCEL
In form document;Obtain the keyword of each essential information;According to the keyword, letter of being shown up described in each is determined
Cease corresponding essential information;The information of showing up described in each is written to after corresponding essential information, generation EXCEL form cards
According to template;Derive the EXCEL forms license template;
Or,
When it is that XML derives form that the target derives form,
The lead-out unit, for creating XML format file;At least one essential information is written to the XML format
In the file body of file;Obtain the keyword of each essential information in the file body;According to the keyword, it is determined that
The corresponding essential information of information of being shown up described in each;By the information of showing up described in each be written to corresponding essential information it
Afterwards, XML format license template is generated;Derive the XML format license template;
Or,
When it is that JSON derives form that the target derives form,
The lead-out unit, for creating JSON formatted files;At least one essential information is written to the JSON lattice
In the file body of formula file;Obtain the keyword of each essential information in the file body;According to the keyword, really
Determine the corresponding essential information of information of being shown up described in each;By the information of showing up described in each be written to corresponding essential information it
Afterwards, JSON form license templates are generated;Derive the JSON forms license template.
9. device according to claim 8, it is characterised in that
When it is that EXCEL derives form that the target derives form, import format corresponding with target derivation form is
EXCEL import formats;
The generation unit, for by the EXCEL import formats, obtaining EXCEL tables in the EXCEL forms license template
The keyword of each essential information that lattice file includes;According to the keyword, determine that presently described certificate information is corresponding
Essential information;Presently described certificate information is written to after corresponding essential information, presently described certificate information correspondence is generated
License;
Or,
When it is that XML derives form that the target derives form, import format corresponding with target derivation form is led for XML
Entry format;
The generation unit, for by the JDOM resolvers in the XML import formats, in parsing XML format license template
Each essential information that file body includes;Obtain the keyword of each essential information;According to the keyword, it is determined that
The corresponding essential information of presently described certificate information;Presently described certificate information is written to after corresponding essential information, it is raw
Into the corresponding license of presently described certificate information;
Or,
When it is that JSON derives form that the target derives form, import format corresponding with target derivation form is JSON
Import format;
The generation unit, for by the JSON import formats, parsing file body bag in the JSON forms license template
Each essential information for including;Obtain the keyword of each essential information;According to the keyword, determine presently described
The corresponding essential information of certificate information;Presently described certificate information is written to after corresponding essential information, current institute is generated
State the corresponding license of certificate information.
10. according to any described device of claim 7 to 9, it is characterised in that
Further include:First uploading unit;
First uploading unit, for when the license is qualified, the license for generating to be uploaded to the license storehouse of outside;
And/or,
Further include:Second uploading unit;
Second uploading unit, for when the license is unqualified, generation include procedure file that the license generates with
And the supporting paper of the unqualified reason of license;The supporting paper is uploaded to the license storehouse.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710140363.9A CN106933791A (en) | 2017-03-10 | 2017-03-10 | One kind generation license method and device |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710140363.9A CN106933791A (en) | 2017-03-10 | 2017-03-10 | One kind generation license method and device |
Publications (1)
Publication Number | Publication Date |
---|---|
CN106933791A true CN106933791A (en) | 2017-07-07 |
Family
ID=59433728
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710140363.9A Pending CN106933791A (en) | 2017-03-10 | 2017-03-10 | One kind generation license method and device |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN106933791A (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370728A (en) * | 2017-07-11 | 2017-11-21 | 成都优易数据有限公司 | A kind of generation of instantaneous license and checking system and method based on electronics license storehouse |
CN107729554A (en) * | 2017-11-07 | 2018-02-23 | 南威软件股份有限公司 | A kind of design method of electronics license template |
CN108052491A (en) * | 2017-11-22 | 2018-05-18 | 李晓妮 | A kind of automatic processing method and device of certificate document |
CN108304514A (en) * | 2018-01-23 | 2018-07-20 | 江苏国泰新点软件有限公司 | A kind of electronics license generation method, device, equipment and storage medium |
CN111597786A (en) * | 2020-05-20 | 2020-08-28 | 山东汇贸电子口岸有限公司 | Implementation method and system for generating electronic license through file import |
CN112199933A (en) * | 2020-10-27 | 2021-01-08 | 冠群信息技术(南京)有限公司 | License template-based format conversion method |
CN113743068A (en) * | 2020-05-27 | 2021-12-03 | 中国联合网络通信集团有限公司 | License template generation method, device and equipment |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183356A (en) * | 2007-12-14 | 2008-05-21 | 华为技术有限公司 | Realization method of Excel report forms and Excel reporting system |
CN102411570A (en) * | 2010-09-20 | 2012-04-11 | 上海众融信息技术有限公司 | Report generation information processing method and device for securities analyst system |
CN103854134A (en) * | 2014-02-20 | 2014-06-11 | 南威软件股份有限公司 | Method for generating electronic licenses in electronic government affair network |
CN104077665A (en) * | 2014-07-10 | 2014-10-01 | 国家电网公司 | Power grid project manufacturing cost analysis data collecting system and method |
CN104239558A (en) * | 2014-09-27 | 2014-12-24 | 武钢集团昆明钢铁股份有限公司 | External Excel data uploading system and method based on SAP system |
CN104573041A (en) * | 2015-01-19 | 2015-04-29 | 浪潮软件股份有限公司 | Generating method and device of electronic license template and electronic license generation method |
CN104580477A (en) * | 2015-01-14 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Voice data processing method and device |
CN105094852A (en) * | 2015-09-07 | 2015-11-25 | 浪潮软件集团有限公司 | Tool for importing and exporting data EXCEL |
CN105446948A (en) * | 2015-11-13 | 2016-03-30 | 武汉鸿图节能技术有限公司 | Report automatic generation method and system |
-
2017
- 2017-03-10 CN CN201710140363.9A patent/CN106933791A/en active Pending
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101183356A (en) * | 2007-12-14 | 2008-05-21 | 华为技术有限公司 | Realization method of Excel report forms and Excel reporting system |
CN102411570A (en) * | 2010-09-20 | 2012-04-11 | 上海众融信息技术有限公司 | Report generation information processing method and device for securities analyst system |
CN103854134A (en) * | 2014-02-20 | 2014-06-11 | 南威软件股份有限公司 | Method for generating electronic licenses in electronic government affair network |
CN104077665A (en) * | 2014-07-10 | 2014-10-01 | 国家电网公司 | Power grid project manufacturing cost analysis data collecting system and method |
CN104239558A (en) * | 2014-09-27 | 2014-12-24 | 武钢集团昆明钢铁股份有限公司 | External Excel data uploading system and method based on SAP system |
CN104580477A (en) * | 2015-01-14 | 2015-04-29 | 百度在线网络技术(北京)有限公司 | Voice data processing method and device |
CN104573041A (en) * | 2015-01-19 | 2015-04-29 | 浪潮软件股份有限公司 | Generating method and device of electronic license template and electronic license generation method |
CN105094852A (en) * | 2015-09-07 | 2015-11-25 | 浪潮软件集团有限公司 | Tool for importing and exporting data EXCEL |
CN105446948A (en) * | 2015-11-13 | 2016-03-30 | 武汉鸿图节能技术有限公司 | Report automatic generation method and system |
Non-Patent Citations (1)
Title |
---|
福建省质量技术监督局: "电子证照数据标准", 《福建省地方标准》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107370728A (en) * | 2017-07-11 | 2017-11-21 | 成都优易数据有限公司 | A kind of generation of instantaneous license and checking system and method based on electronics license storehouse |
CN107370728B (en) * | 2017-07-11 | 2020-07-31 | 成都优易数据有限公司 | Instant license generation and verification system and method based on electronic license library |
CN107729554A (en) * | 2017-11-07 | 2018-02-23 | 南威软件股份有限公司 | A kind of design method of electronics license template |
CN108052491A (en) * | 2017-11-22 | 2018-05-18 | 李晓妮 | A kind of automatic processing method and device of certificate document |
CN108052491B (en) * | 2017-11-22 | 2021-02-26 | 中贸促商事服务有限公司 | Automatic processing method and device for certificate document |
CN108304514A (en) * | 2018-01-23 | 2018-07-20 | 江苏国泰新点软件有限公司 | A kind of electronics license generation method, device, equipment and storage medium |
CN111597786A (en) * | 2020-05-20 | 2020-08-28 | 山东汇贸电子口岸有限公司 | Implementation method and system for generating electronic license through file import |
CN113743068A (en) * | 2020-05-27 | 2021-12-03 | 中国联合网络通信集团有限公司 | License template generation method, device and equipment |
CN112199933A (en) * | 2020-10-27 | 2021-01-08 | 冠群信息技术(南京)有限公司 | License template-based format conversion method |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN106933791A (en) | One kind generation license method and device | |
CN104361139B (en) | Data importing device and method | |
CN104571978B (en) | A kind of method that document print page is carried out based on html tag | |
CN105607880A (en) | Printing method and device for examined and approved documents | |
CN109657215A (en) | Document structure tree method, equipment, storage medium and device based on template | |
CN104166641B (en) | Electronic book generating method and device | |
CN111090728A (en) | Conversation state tracking method and device and computing equipment | |
TW200611158A (en) | Rule based system and method for automatically generating photomask orders | |
CN112085357B (en) | System and method for recognizing and processing important points of conflict of plot planning conditions | |
CN104298705A (en) | Converting method of relational data and unstructured data | |
CN112559687A (en) | Question identification and query method and device, electronic equipment and storage medium | |
CN102467496B (en) | Method and device for converting stream mode typeset content into block mode typeset document | |
CN108897727A (en) | Filing of contract method, apparatus, computer equipment and storage medium | |
CN110347921A (en) | A kind of the label abstracting method and device of multi-modal data information | |
CN108664872A (en) | Information authentication system based on dot matrix identification | |
CN107807911B (en) | Vector data editing method, device and system | |
CN205541157U (en) | Borrow computer management system of books | |
US7933930B1 (en) | Systems and methods for creating documents from templates | |
CN116028627B (en) | News classification method and device, electronic equipment and computer readable storage medium | |
CN201489557U (en) | IC card equipment and setup card and setup system for numbered information thereof | |
CN112307530B (en) | Method and device for framing book of child books based on big data | |
Juramirzaev | Legal issues concerning the application of the lex mercatoria in international commercial arbitration | |
RU99631U1 (en) | AUTOMATED SYSTEM OF ELECTRONIC DOCUMENT TREATMENT OF THE CENTER FOR PERSONALIZATION OF PASSPORT AND VISA DOCUMENTS OF THE NEW GENERATION | |
JP2008299543A (en) | Management information report system and method | |
JP2005122523A (en) | Attendance status management system, program for attendance status management system and computer-readable recording medium recorded with its 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 | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20170707 |
|
RJ01 | Rejection of invention patent application after publication |