CN109343802A - Declaration form printing data generating method, device, computer equipment and storage medium - Google Patents

Declaration form printing data generating method, device, computer equipment and storage medium Download PDF

Info

Publication number
CN109343802A
CN109343802A CN201811025704.9A CN201811025704A CN109343802A CN 109343802 A CN109343802 A CN 109343802A CN 201811025704 A CN201811025704 A CN 201811025704A CN 109343802 A CN109343802 A CN 109343802A
Authority
CN
China
Prior art keywords
template
declaration form
policy
parameter value
print data
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.)
Granted
Application number
CN201811025704.9A
Other languages
Chinese (zh)
Other versions
CN109343802B (en
Inventor
王飞
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Life Insurance Company of China Ltd
Original Assignee
Ping An Life Insurance Company of China Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Life Insurance Company of China Ltd filed Critical Ping An Life Insurance Company of China Ltd
Priority to CN201811025704.9A priority Critical patent/CN109343802B/en
Publication of CN109343802A publication Critical patent/CN109343802A/en
Application granted granted Critical
Publication of CN109343802B publication Critical patent/CN109343802B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1223Dedicated interfaces to print systems specifically adapted to use a particular technique
    • G06F3/1237Print job management
    • G06F3/1253Configuration of print job parameters, e.g. using UI at the client
    • G06F3/1257Configuration of print job parameters, e.g. using UI at the client by using pre-stored settings, e.g. job templates, presets, print styles
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/12Digital output to print unit, e.g. line printer, chain printer
    • G06F3/1201Dedicated interfaces to print systems
    • G06F3/1278Dedicated interfaces to print systems specifically adapted to adopt a particular infrastructure
    • G06F3/1285Remote printer device, e.g. being remote from client or server
    • G06F3/1287Remote printer device, e.g. being remote from client or server via internet
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D10/00Energy efficient computing, e.g. low power processors, power management or thermal management

Abstract

This application involves the machine learning techniques in artificial intelligence field, a kind of declaration form printing data generating method, device, computer equipment and storage medium are provided.Method includes: reception print request, and the number of policy of declaration form to be printed is carried in print request, using number of policy as current number of policy;Corresponding insurance data is searched from database according to current number of policy, and the target classification factor is obtained according to the corresponding field name of insurance data;It determines the parameter value of each target classification factor, and each parameter value is normalized to obtain standard parameter value;It combines standard parameter value for feature vector according to default rule, feature vector is input in the template recommended models trained, obtain the corresponding template type mark of declaration form to be printed;It reads insurance data to template type to identify in corresponding printing template, obtains the corresponding print data of current number of policy.The error rate that can be improved the convenience of declaration form printing and reduce declaration form printing can be planted using this method.

Description

Declaration form printing data generating method, device, computer equipment and storage medium
Technical field
This application involves declaration form printing technique fields, more particularly to a kind of declaration form printing data generating method, device, meter Calculate machine equipment and storage medium.
Background technique
When declaration form is printed, in order to improve printout efficiency, generallys use set and beat, be printed on table, text On declaration form paper, in declaration forms data such as reserved blank position printing character, numbers.
In traditional technology, realize set beat when, it usually needs manual calculations, adjustment printing position, cause print when Wait highly inconvenient, and it is easy to appear mistakes.
Summary of the invention
Based on this, it is necessary in view of the above technical problems, provide it is a kind of can be improved declaration form printing convenience and reduction Declaration form printing data generating method, device, computer equipment and the storage medium of the error rate of declaration form printing.
A kind of declaration form printing data generating method, which comprises
Print request is received, the number of policy of declaration form to be printed is carried in the print request, using the number of policy as working as Preceding number of policy;
Corresponding insurance data is searched from database according to the current number of policy, it is corresponding according to the insurance data Field name obtains the target classification factor;
It determines the parameter value of each target classification factor, and each described parameter value is normalized to obtain Standard parameter value;
It combines the standard parameter value for feature vector according to default rule, described eigenvector is input to and has been instructed In experienced template recommended models, the corresponding template type mark of the declaration form to be printed is obtained;
It reads the insurance data to the template type to identify in corresponding printing template, obtains the current number of policy Corresponding print data.
It is described in one of the embodiments, to combine the standard parameter value for feature vector according to default rule, Described eigenvector is input in the template recommended models trained, obtains the corresponding template type mark of the declaration form to be printed Before knowledge, further includes:
History declaration form is obtained from database, determines training sample set;
It obtains the training sample and concentrates the corresponding target classification factor of each history insurance application and template type mark;
The parameter value for determining the corresponding target classification factor of each history insurance application, to each history insurance application Corresponding parameter value is normalized to obtain standard parameter value;
It combines the corresponding standard parameter value of each history insurance application for feature vector according to default rule;
Successively using the corresponding feature vector of each history insurance application as input sample, by corresponding template type mark Know and obtains template recommended models as desired output sample progress model training.
The insurance data to the template type that reads identifies corresponding impression block in one of the embodiments, In plate, after obtaining the corresponding print data of the current number of policy, further includes:
Judge in the print data whether to include the corresponding all insurance datas of the declaration form to be printed;
If so, determining that the print data is the corresponding target print data of the declaration form to be printed, by the target Print data is sent to printing terminal;
If it is not, then using the declaration form to be printed and corresponding template type as training sample to recommend mould to the template Type is adjusted.
The insurance data includes the corresponding insurer's information of declaration form to be printed and warrantee in one of the embodiments, Information, the insurance data to the template type that reads identify in corresponding printing template, obtain the current declaration form After number corresponding print data, further includes:
Insurer's information or the corresponding alternative number of policy of warrantee's information are obtained, according to the alternative number of policy Obtain corresponding print data;
Buffer queue is written into the corresponding print data of the alternative number of policy;
When receiving the print request for carrying the alternative number of policy within a preset period of time, from the buffer queue The corresponding print data of the alternative number of policy is read, and is sent to printing terminal;
When not receiving the print request for carrying the alternative number of policy within a preset period of time, by the alternative declaration form Number corresponding print data is deleted from the buffer queue.
In one of the embodiments, before the reception print request, further includes:
The corresponding field name of history declaration form in database is obtained, the history declaration form is clustered according to field name;
It uses preset template generation tool to classify for each of cluster result and generates printing template, respectively to each A printing template configuration template type identification.
A kind of declaration form print data generating apparatus, described device include:
Print request receiving module carries the declaration form of declaration form to be printed for receiving print request in the print request Number, using the number of policy as current number of policy;
Searching module, for searching corresponding insurance data from database according to the current number of policy, according to described The corresponding field name of insurance data obtains the target classification factor;
Standard parameter value obtains module, for determining the parameter value of each target classification factor, and described in each Parameter value is normalized to obtain standard parameter value;
Template type identifier acquisition module, for by the standard parameter value according to default rule combination be characterized to Amount, described eigenvector is input in the template recommended models trained, obtains the corresponding template class of the declaration form to be printed Type mark;
Print data obtains module, identifies corresponding printing template for reading the insurance data to the template type In, obtain the corresponding print data of the current number of policy.
Above-mentioned apparatus further includes template recommended models generation module in one of the embodiments, and the template recommends mould Type generation module concentrates the corresponding target classification factor of each history insurance application and template type for obtaining the training sample Mark;The parameter value for determining the corresponding target classification factor of each history insurance application, to each history insurance application pair The parameter value answered is normalized to obtain standard parameter value;The corresponding standard parameter value of each history insurance application is pressed It is feature vector according to default rule combination;Successively using the corresponding feature vector of each history insurance application as input sample This, corresponding template type is identified and obtains template recommended models as desired output sample progress model training.
Above-mentioned apparatus further includes target print data transmission blocks in one of the embodiments, the target print number According to sending module for judging in the print data whether to include the corresponding all insurance datas of the declaration form to be printed;If It is, it is determined that the print data is the corresponding target print data of the declaration form to be printed, and the target print data are sent out It send to printing terminal;If it is not, then using the declaration form to be printed and corresponding template type as training sample to the template Recommended models are adjusted.
A kind of computer equipment, including memory and processor, the memory are stored with computer program, the processing Device realizes step described in above-mentioned declaration form printing data generating method when executing the computer program.
A kind of computer readable storage medium, is stored thereon with computer program, and the computer program is held by processor Step described in above-mentioned declaration form printing data generating method is realized when row.
Above-mentioned declaration form printing data generating method, device, computer equipment and storage medium, by receiving print request, Corresponding insurance data is searched from database according to the number of policy carried in print request, it is corresponding according to the insurance data Field name obtains the target classification factor, determines the parameter value of each target classification factor, and each described parameter value into Row normalized obtains standard parameter value, combines the standard parameter value for feature vector according to default rule, by institute Feature vector is stated to be input in the template recommended models trained, according to the output valve of the template recommended models obtain it is described to The corresponding template type mark of declaration form is printed, reading insurance data obtains described into the corresponding printing template of template type mark The corresponding print data of current number of policy, since printing template has been generated in advance, it is only necessary to after printing template has been determined, use After determining printing template reads data, print data is generated, relative to traditional technology, improves the convenience of declaration form printing, It reduces simultaneously by manual operation bring error rate.
Detailed description of the invention
Fig. 1 is the application scenario diagram of declaration form printing data generating method in one embodiment;
Fig. 2 is the flow diagram of declaration form printing data generating method in one embodiment;
Fig. 3 is the structural block diagram of declaration form print data generating apparatus in one embodiment;
Fig. 4 is the internal structure chart of computer equipment in one embodiment.
Specific embodiment
It is with reference to the accompanying drawings and embodiments, right in order to which the objects, technical solutions and advantages of the application are more clearly understood The application is further elaborated.It should be appreciated that specific embodiment described herein is only used to explain the application, not For limiting the application.
Declaration form printing data generating method provided by the present application, can be applied in application environment as shown in Figure 1.Its In, terminal 102 is to be capable of providing the terminal of print service, and server 104 can use the either multiple services of independent server The server cluster of device composition realizes that terminal 102 is communicated by network with server 104.Server receiving terminal 102 After the print request of transmission, corresponding insurance data is searched from declaration form database according to the number of policy carried in print request, The target classification factor is obtained according to the corresponding field name of insurance data, determines the parameter value of each target classification factor, and right Each parameter value is normalized to obtain standard parameter value, and standard parameter value is characterized according to default rule combination Feature vector is input in the template recommended models trained by vector, is obtained according to the output valve of template recommended models wait beat The corresponding template type mark of declaration form is printed, insurance data to template type is read and identifies in corresponding printing template, obtain current The corresponding print data of number of policy.
It reads insurance data to template type to identify in corresponding printing template, obtains the corresponding printing number of current number of policy According in one embodiment, as shown in Fig. 2, providing a kind of declaration form printing data generating method, it is applied in Fig. 1 in this way Server for be illustrated, comprising the following steps:
Step S202, receives print request, and the number of policy of declaration form to be printed is carried in print request, using number of policy as working as Preceding number of policy.
Specifically, after server receives the print request of terminal, the print request is parsed, obtains and is carried in print request Declaration form to be printed number of policy, using the number of policy as current number of policy, wherein current number of policy refers to currently needing Generate number of policy corresponding to the declaration form of print data.
Step S204 searches corresponding insurance data according to current number of policy from database, corresponding according to insurance data Field name obtain the target classification factor.
Specifically, when user is insured successfully, number of policy, and the insurance data pair that number of policy is corresponding are generated to declaration form It should store into database, insurance data includes insurance kind, insurer's information, warrantee's information, insurable interest, insurance detail, protects Volume, premium etc..
The target classification factor refers to the factor that the printing template for influencing declaration form to be printed is selected.Server is found currently After the corresponding insurance data of number of policy, obtain the corresponding field name of all insurance datas, according to field name obtain target classification because Son.
It in one embodiment, can be using all field names as the target classification factor.In another embodiment, may be used The corresponding field name of the target classification factor being previously set, after getting insurance data, by the corresponding field name of insurance data Field name corresponding with the target classification factor being previously set is matched, using the field name of successful match as target classification because Son.
Step S206 determines the parameter value of each target classification factor, and place is normalized to each parameter value Reason obtains standard parameter value.
Wherein, parameter value refers to the digital representation that computer is capable of handling.Due to the computer capacity in subsequent calculation processing What is enough handled can only be corresponding digital representation, so needing after extracting the target classification factor according to target classification factor pair The target classification factor is converted to corresponding digital representation by the transformation rule answered.In the present embodiment, each target is pre-defined Transformation rule corresponding to classified adaptive factor, for example, can indicate each target classification factor using 16 numbers.Determine mesh The process for marking the parameter value of classified adaptive factor is exactly that each target classification factor is converted to the process of number.
Standard parameter value refers to handled using unified standard after obtained numerical value.Normalized purpose is exactly to make all numbers Value is projected to obtain standard parameter value using unified standard, and after normalized, is convenient for subsequent calculating.At one In embodiment, normalized, which refers to, projects to parameters value between 0-1, and specific normalized method can be customized. In one embodiment, it can be normalized using maxmini algorithm, specific formula are as follows: y=(x-min)/ (max-min);Max, min represent the maximum and minimum value in data.In another embodiment, average variance method can be used It being normalized, specific formula are as follows: x=(x-mean (x))/var (x), wherein mean (x) is the mean value of all data, Var (x) is the standard deviation of all data.
Step S208 combines standard parameter value for feature vector according to default rule, feature vector is input to In trained template recommended models, the corresponding template type mark of declaration form to be printed is obtained.
Specifically, after the corresponding standard parameter value of the target classification factor has been determined, according to preset built-up sequence, by mesh Marking the corresponding standard parameter value combination of classified adaptive factor is feature vector.The corresponding standard parameter value of each target classification factor is spy Levy the one-component in vector.The built-up sequence of the target classification factor is preset, such as, it is assumed that the corresponding target classification of declaration form The factor has 6, respectively A1, A2, A3, A4, A5 and A6, it is assumed that preset vector built-up sequence be [A4, A3, A6, A1, A2, A5], then after the corresponding standard parameter value of the target classification factor has been determined, by corresponding standard parameter value according to default Built-up sequence be combined to obtain feature vector.
Further, feature vector is input in the template recommended models trained by server, obtains declaration form pair to be printed The template type mark answered.Wherein, template recommended models can be bright by identifying to the template type stored in database True history declaration form carries out model training and obtains;Template type mark, can be by for classification belonging to unique identification printing template The number composition of presetting digit capacity.
In one embodiment, feature vector is input in the template recommended models trained by server, is obtained wait beat Print the corresponding template type mark of declaration form, comprising: feature vector is input in the template recommended models trained by server, is obtained The characteristic value exported to template recommended models, characteristic value is compared with preset threshold, determines template class according to comparison result Type mark set preset threshold as 0.5, then when the feature that template recommended models export for example, when only two class printing template When value is no more than 0.5, determine that obtained template type is identified as the corresponding template type mark of the first class template, conversely, working as mould When the characteristic value of plate recommended models output is more than 0.5, determine that obtained template type is identified as the corresponding template of the second class template Type identification.
, can be using the training method for having supervision when carrying out model training, such as can be Logic Regression Models, SVM (Support Vector Machine, support vector machines) model, neural network model, Bayesian model, random forest etc..
Step S210 reads insurance data to template type and identifies in corresponding printing template, obtains current number of policy pair The print data answered.
Specifically, uniquely a corresponding printing template, server are getting template type to each template type mark After mark, according to the corresponding printing template of template type identifier lookup, insurance data is then read into the printing template, is obtained To the corresponding print data of current number of policy.Wherein, printing template refers to being generated in advance using preset template generation tool Template, preset template generation tool for example can be jasperreport report generating tool.
In above-mentioned declaration form printing data generating method, server is carried by receiving print request according in print request Number of policy corresponding insurance data is searched from database, according to the corresponding field name of insurance data obtain target classification because Son determines the parameter value of each target classification factor, and is normalized to obtain standard parameter to each parameter value Value combine standard parameter value according to default rule the template recommendation for being input to feature vector for feature vector and having trained In model, the corresponding template type of declaration form to be printed is obtained according to the output valve of template recommended models and is identified, insurance data is read It is identified in corresponding printing template to template type, obtains the corresponding print data of current number of policy, beaten due to being generated in advance Die plate, it is only necessary to after printing template has been determined, after reading data using determining printing template, generate print data, phase For traditional technology, the convenience of declaration form printing is improved, while being reduced by manual operation bring error rate.
In one embodiment, it combines standard parameter value for feature vector according to default rule, feature vector is defeated Enter into the template recommended models trained, before obtaining the corresponding template type mark of declaration form to be printed, the above method is also wrapped It includes: obtaining history declaration form from database, determine training sample set;Obtaining training sample concentrates each history insurance application corresponding The target classification factor and template type mark;The parameter value for determining the corresponding target classification factor of each history insurance application, to each The corresponding parameter value of a history insurance application is normalized to obtain standard parameter value;By the corresponding mark of each history insurance application Quasi- parameter value is feature vector according to default rule combination;Successively using the corresponding feature vector of each history insurance application as defeated Enter sample, corresponding template type is identified and obtains template recommended models as desired output sample progress model training.
Specifically, the history declaration form that training sample is concentrated is that template type identifies the declaration form having determined.In the present embodiment, It can determine that each template type identifies corresponding characteristic value first, it, can be by for example, when template type only has two classes The characteristic value of the corresponding template type mark of a kind of printing template is set as 1, by the corresponding template type mark of the second class printing template The characteristic value of knowledge is set as 0.5, further, using the corresponding feature vector of history declaration form as input, template type is identified and is corresponded to Characteristic value as it is desired output model is trained, trained process is exactly constantly to be adjusted to the parameter of model Process.It, can be using the model training mode for having supervision, such as Logic Regression Models, SVM when carrying out model training (Support Vector Machine, support vector machines) and Bayesian model etc..
It in one embodiment,, i.e., can be with when printer model only has two classes when template type only has two classes by taking SVM as an example Model training is carried out using stochastic gradient algorithm, it is required that cost function J (θ) is minimum, at one in gradient descent procedures In embodiment, cost function can be indicated using following formula:
Wherein, m indicates the number of sample characteristics in training set, x(i)For the feature vector of input, y(i)Indicate desired output Characteristic value, hθ(x(i)) indicate every time the characteristic value of trained reality output, in which:
Wherein,That is θTX be equal to the product of feature and parameter and, wherein x()For input Feature vector.
In one embodiment, it reads insurance data to template type to identify in corresponding printing template, currently be protected After the corresponding print data of odd numbers, the above method further include: judge in print data whether to include that declaration form to be printed is corresponding All insurance datas;If so, determining that print data is the corresponding target print data of declaration form to be printed, by target print data It is sent to printing terminal;If it is not, then using declaration form to be printed and corresponding template type as training sample to recommend mould to template Type is adjusted.
Specifically, when the printing template obtained according to template recommended models is correct, which can be read wait beat The corresponding all insurance datas of declaration form are printed, at this point, obtained print data is met the requirements;Conversely, when being pushed away according to template Recommend printing template that model obtains it is incorrect when, which cannot read the corresponding all numbers of insuring of declaration form to be printed According at this point, obtained print data is unsatisfactory for requiring.
In one embodiment, insurance data is read to printing template, server can carry out printing template empty It is quasi- printing obtain printing picture, printing picture can be pdf format, other picture formats such as jpg can also be converted to, then from Print data is extracted in printing picture;Or printing picture is converted into the document format datas such as TXT format, to obtain printing number According to print data being compared with insurance data, when each item data in insurance data can match in print data When upper corresponding data, then determine in print data to include the corresponding all insurance datas of declaration form to be printed, conversely, if insuring number In there are a certain item datas in print data when unmatching corresponding data, then determine do not include in print data The corresponding all insurance datas of declaration form to be printed.
In one embodiment, insurance data includes the corresponding insurer's information of declaration form to be printed and warrantee's information, is read Insurance data to template type is taken to identify in corresponding printing template, after obtaining the corresponding print data of current number of policy, on State method further include: obtain insurer's information or the corresponding alternative number of policy of warrantee's information, obtain pair according to alternative number of policy The print data answered;Buffer queue is written into the corresponding print data of alternative number of policy;It is taken when receiving within a preset period of time When print request with alternative number of policy, the corresponding print data of alternative number of policy is read from buffer queue, and is sent to and is beaten Print terminal;It is when not receiving the print request for carrying alternative number of policy within a preset period of time, alternative number of policy is corresponding Print data is deleted from buffer queue.
In the present embodiment, the corresponding insurer of declaration form to be printed or warrantee correspond to multiple declaration forms, as guarantor to be printed After singles print, perhaps warrantee may also need to print other declaration forms at this point, insurer or warrantee are corresponding to insurer It is other also no printing the corresponding number of policy of declaration form be not alternative number of policy, obtained when obtaining the corresponding print data of print request After getting, server can according to searching the number of policy of insurer or other corresponding declaration forms of warrantee alternately number of policy, Then corresponding print data is obtained according to alternative number of policy.Wherein, obtaining corresponding print data according to alternative number of policy can With the content with reference to described in above-mentioned steps S204~step S210.
Further, server stores the corresponding print data write-in buffer queue of alternative number of policy, when same Insurer or warrantee want to continue printing other declaration forms within a preset period of time and be sent again to server by terminal When print request, since print data has been generated in advance, server directly can read print data from buffer queue, then It is sent to printing terminal;Meanwhile in order to save memory space, protected if server does not receive within a preset period of time to alternative When the print request of odd numbers, the corresponding print data of alternative number of policy is deleted from buffer queue.Wherein, preset time period can be with It is previously set as needed.
In the present embodiment, in the more parts of declaration forms held that insurer or warrantee are printed by print request wherein When a, print data is generated in advance to other also unprinted declaration forms so that when the same insurer or warrantee want after When the other declaration forms of continuous printing, the generation time of print data is eliminated, to improve printing effect.
In one embodiment, before receiving print request, the above method further include: obtain history declaration form pair in database The field name answered clusters history declaration form according to field name;Use preset template generation tool in cluster result Each classification generates printing template, respectively to each printing template configuration template type identification.
Specifically, server obtains the corresponding field name of history declaration form in database first, is then protected according to each history Single pair answers field name to cluster history declaration form.
In one embodiment, history declaration form corresponding field name diversity factor between any two can be calculated, field name is poor The history declaration form that different degree is less than preset threshold gathers for a class cluster, wherein field name diversity factor refers to that two history declaration forms are each The diversity factor of self-corresponding field name, preset threshold, which can according to need, to be previously set.In one embodiment, for appointing Anticipate two declaration forms A and B, and field name diversity factor can refer to following formula and be calculated:
Wherein, μ is field name diversity factor, nAFor the field name number of declaration form A, nbFor the field name number of declaration form B, α is to protect The identical field name number of single A and declaration form B, N are field name number total in database.For example, if the corresponding word of declaration form A Duan Mingwei a, b, c, the corresponding field of field B entitled a, b, d, field sum is 100, then between declaration form A and declaration form B in database Field name diversity factor are as follows: μ=[(3-2)+(3-2)]/100=0.2.
In another embodiment, clustering algorithm such as K- can be used according to the corresponding field name of each history declaration form Means clustering algorithm, hierarchical clustering algorithm cluster the history declaration form in database, obtain cluster result.
Further, classify for each of cluster result, extract field name all in the classification, according to extracting All field names come generate printing template using preset template generation tool, and the template generated can be allowed to read in this way Take the insurance data of all declaration forms in the classification, wherein preset template generation tool for example can be jasperreport report Table Core Generator.Further, a template type mark is configured for each printing template, template type mark is for uniquely marking Know its corresponding printing template.
It should be understood that although each step in the flow chart of Fig. 2 is successively shown according to the instruction of arrow, this A little steps are not that the inevitable sequence according to arrow instruction successively executes.Unless expressly state otherwise herein, these steps It executes there is no the limitation of stringent sequence, these steps can execute in other order.Moreover, at least part in Fig. 2 Step may include that perhaps these sub-steps of multiple stages or stage are executed in synchronization to multiple sub-steps It completes, but can execute at different times, the execution sequence in these sub-steps or stage, which is also not necessarily, successively to be carried out, But it can be executed in turn or alternately at least part of the sub-step or stage of other steps or other steps.
In one embodiment, as shown in figure 3, providing a kind of declaration form print data generating apparatus 300, comprising: printing Request receiving module 302, searching module 304, standard parameter value obtain module 306, template type identifier acquisition module 308 and beat Print data acquisition module 310, in which:
Print request receiving module 302 carries the declaration form of declaration form to be printed for receiving print request in print request Number, using number of policy as current number of policy;
Searching module 304, for searching corresponding insurance data from database according to current number of policy, according to number of insuring The target classification factor is obtained according to corresponding field name;
Standard parameter value obtains module 306, for determining the parameter value of each target classification factor, and to each ginseng Numerical value is normalized to obtain standard parameter value;
Template type identifier acquisition module 308, for combining standard parameter value for feature vector according to default rule, Feature vector is input in the template recommended models trained, obtains the corresponding template type mark of declaration form to be printed;
Print data obtains module 310, identifies in corresponding printing template, obtains for reading insurance data to template type To the corresponding print data of current number of policy.
In one embodiment, above-mentioned apparatus further includes template recommended models generation module, and template recommended models generate mould Block concentrates the corresponding target classification factor of each history insurance application and template type mark for obtaining training sample;It determines each Place is normalized to the corresponding parameter value of each history insurance application in the parameter value of the corresponding target classification factor of history insurance application Reason obtains standard parameter value;By the corresponding standard parameter value of each history insurance application according to default rule combination be characterized to Amount;Successively using the corresponding feature vector of each history insurance application as input sample, it regard corresponding template type mark as the phase The output sample of prestige carries out model training and obtains template recommended models.
In one embodiment, above-mentioned apparatus further includes target print data transmission blocks, and target print data send mould Whether block is for judging in print data to include the corresponding all insurance datas of declaration form to be printed;If so, determining print data For the corresponding target print data of declaration form to be printed, target print data are sent to printing terminal;If it is not, then by guarantor to be printed Single and corresponding template type is as training sample to be adjusted to template recommended models.
In one embodiment, above-mentioned apparatus further includes alternative declaration form print module, for obtain insurer's information or by The corresponding alternative number of policy of guarantor's information, obtains corresponding print data according to alternative number of policy;Alternative number of policy is corresponding Buffer queue is written in print data;When receiving the print request for carrying alternative number of policy within a preset period of time, from caching The corresponding print data of alternative number of policy is read in queue, and is sent to printing terminal;When not receiving within a preset period of time When carrying the print request of alternative number of policy, the corresponding print data of alternative number of policy is deleted from buffer queue.
In one embodiment, above-mentioned apparatus further includes printing template generation module, is protected for obtaining history in database Single corresponding field name, clusters history declaration form according to field name;Use preset template generation tool for cluster result Each of classification generate printing template, respectively to each printing template configuration template type identification.
Specific restriction about declaration form print data generating apparatus may refer to generate above for declaration form print data The restriction of method, details are not described herein.Modules in above-mentioned declaration form print data generating apparatus can be fully or partially through Software, hardware and combinations thereof are realized.Above-mentioned each module can be embedded in the form of hardware or independently of the place in computer equipment It manages in device, can also be stored in a software form in the memory in computer equipment, in order to which processor calls execution or more The corresponding operation of modules.
In one embodiment, a kind of computer equipment is provided, which can be server, internal junction Composition can be as shown in Figure 4.The computer equipment include by system bus connect processor, memory, network interface and Database.Wherein, the processor of the computer equipment is for providing calculating and control ability.The memory packet of the computer equipment Include non-volatile memory medium, built-in storage.The non-volatile memory medium is stored with operating system, computer program and data Library.The built-in storage provides environment for the operation of operating system and computer program in non-volatile memory medium.The calculating The database of machine equipment is for storing the corresponding insurance data of declaration form, print data etc..The network interface of the computer equipment is used It is communicated in passing through network connection with external terminal.To realize a kind of declaration form printing number when the computer program is executed by processor According to generation method.
It will be understood by those skilled in the art that structure shown in Fig. 4, only part relevant to application scheme is tied The block diagram of structure does not constitute the restriction for the computer equipment being applied thereon to application scheme, specific computer equipment It may include perhaps combining certain components or with different component layouts than more or fewer components as shown in the figure.
In one embodiment, a kind of computer equipment, including memory and processor are provided, which is stored with Computer program, the processor perform the steps of reception print request when executing computer program, carried in print request to The number of policy for printing declaration form, using number of policy as current number of policy;Corresponding throwing is searched from database according to current number of policy Data are protected, the target classification factor is obtained according to the corresponding field name of insurance data;Determine the parameter of each target classification factor Value, and each parameter value is normalized to obtain standard parameter value;By standard parameter value according to default rule group It is combined into feature vector, feature vector is input in the template recommended models trained, the corresponding template of declaration form to be printed is obtained Type identification;It reads insurance data to template type to identify in corresponding printing template, obtains the corresponding printing of current number of policy Data.
In one embodiment, it combines standard parameter value for feature vector according to default rule, feature vector is defeated Enter into the template recommended models trained, before obtaining the corresponding template type mark of declaration form to be printed, processor executes meter It is also performed the steps of when calculation machine program: obtaining history declaration form from database, determine training sample set;Obtain training sample The corresponding target classification factor of each history insurance application and template type is concentrated to identify;Determine the corresponding mesh of each history insurance application The parameter value for marking classified adaptive factor, is normalized to obtain standard parameter value to the corresponding parameter value of each history insurance application; It combines the corresponding standard parameter value of each history insurance application for feature vector according to default rule;Successively each history is thrown Corresponding template type is identified as input sample and carries out model as desired output sample by the corresponding feature vector of declaration form Training obtains template recommended models.
In one embodiment, it reads insurance data to template type to identify in corresponding printing template, currently be protected After the corresponding print data of odd numbers, processor execute computer program when also perform the steps of judge be in print data No includes the corresponding all insurance datas of declaration form to be printed;If so, determining that print data is the corresponding target of declaration form to be printed Target print data are sent to printing terminal by print data;If it is not, then using declaration form to be printed and corresponding template type as Training sample is to be adjusted template recommended models.
In one embodiment, insurance data includes the corresponding insurer's information of declaration form to be printed and warrantee's information, is read Insurance data to template type is taken to identify in corresponding printing template, after obtaining the corresponding print data of current number of policy, place Reason device also performs the steps of when executing computer program and obtains insurer's information or the corresponding alternative declaration form of warrantee's information Number, corresponding print data is obtained according to alternative number of policy;Buffer queue is written into the corresponding print data of alternative number of policy;When When receiving the print request for carrying alternative number of policy within a preset period of time, it is corresponding that alternative number of policy is read from buffer queue Print data, and be sent to printing terminal;When not receiving the print request for carrying alternative number of policy within a preset period of time When, the corresponding print data of alternative number of policy is deleted from buffer queue.
In one embodiment, before receiving print request, processor also performs the steps of when executing computer program The corresponding field name of history declaration form in database is obtained, history declaration form is clustered according to field name;Using preset template Core Generator is that the classification of each of cluster result generates printing template, respectively to each printing template configuration template type Mark.
In one embodiment, a kind of computer readable storage medium is provided, computer program is stored thereon with, is calculated Machine program performs the steps of reception print request when being executed by processor, the declaration form of declaration form to be printed is carried in print request Number, using number of policy as current number of policy;Corresponding insurance data is searched from database according to current number of policy, according to insuring The corresponding field name of data obtains the target classification factor;Determine the parameter value of each target classification factor, and to each ginseng Numerical value is normalized to obtain standard parameter value;It combines standard parameter value for feature vector, general according to default rule Feature vector is input in the template recommended models trained, and obtains the corresponding template type mark of declaration form to be printed;It reads and throws It protects data to template type to identify in corresponding printing template, obtains the corresponding print data of current number of policy.
In one embodiment, it combines standard parameter value for feature vector according to default rule, feature vector is defeated Enter into the template recommended models trained, before obtaining the corresponding template type mark of declaration form to be printed, processor executes meter The acquisition history declaration form from database is also performed the steps of when calculation machine program, determines training sample set;Obtain training sample set In the corresponding target classification factor of each history insurance application and template type mark;Determine the corresponding target of each history insurance application The parameter value of classified adaptive factor is normalized to obtain standard parameter value to the corresponding parameter value of each history insurance application;It will The corresponding standard parameter value of each history insurance application is feature vector according to default rule combination;Successively each history is insured Corresponding template type is identified as input sample and carries out model instruction as desired output sample by single corresponding feature vector Get template recommended models.
In one embodiment, it reads insurance data to template type to identify in corresponding printing template, currently be protected After the corresponding print data of odd numbers, processor execute computer program when also perform the steps of judge be in print data No includes the corresponding all insurance datas of declaration form to be printed;If so, determining that print data is the corresponding target of declaration form to be printed Target print data are sent to printing terminal by print data;If it is not, then using declaration form to be printed and corresponding template type as Training sample is to be adjusted template recommended models.
In one embodiment, insurance data includes the corresponding insurer's information of declaration form to be printed and warrantee's information, is read Insurance data to template type is taken to identify in corresponding printing template, after obtaining the corresponding print data of current number of policy, place Reason device also performs the steps of when executing computer program and obtains insurer's information or the corresponding alternative declaration form of warrantee's information Number, corresponding print data is obtained according to alternative number of policy;Buffer queue is written into the corresponding print data of alternative number of policy;When When receiving the print request for carrying alternative number of policy within a preset period of time, it is corresponding that alternative number of policy is read from buffer queue Print data, and be sent to printing terminal;When not receiving the print request for carrying alternative number of policy within a preset period of time When, the corresponding print data of alternative number of policy is deleted from buffer queue.
In one embodiment, before receiving print request, following step is also realized when computer program is executed by processor It is rapid: to obtain the corresponding field name of history declaration form in database, history declaration form is clustered according to field name;Using preset mould Plate Core Generator is that the classification of each of cluster result generates printing template, respectively to each printing template configuration template class Type mark.
Those of ordinary skill in the art will appreciate that realizing all or part of the process in above-described embodiment method, being can be with Relevant hardware is instructed to complete by computer program, the computer program can be stored in a non-volatile computer In read/write memory medium, the computer program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, To any reference of memory, storage, database or other media used in each embodiment provided herein, Including non-volatile and/or volatile memory.Nonvolatile memory may include read-only memory (ROM), programming ROM (PROM), electrically programmable ROM (EPROM), electrically erasable ROM (EEPROM) or flash memory.Volatile memory may include Random access memory (RAM) or external cache.By way of illustration and not limitation, RAM is available in many forms, Such as static state RAM (SRAM), dynamic ram (DRAM), synchronous dram (SDRAM), double data rate sdram (DDRSDRAM), enhancing Type SDRAM (ESDRAM), synchronization link (Synchlink) DRAM (SLDRAM), memory bus (Rambus) direct RAM (RDRAM), direct memory bus dynamic ram (DRDRAM) and memory bus dynamic ram (RDRAM) etc..
Each technical characteristic of above embodiments can be combined arbitrarily, for simplicity of description, not to above-described embodiment In each technical characteristic it is all possible combination be all described, as long as however, the combination of these technical characteristics be not present lance Shield all should be considered as described in this specification.
The several embodiments of the application above described embodiment only expresses, the description thereof is more specific and detailed, but simultaneously It cannot therefore be construed as limiting the scope of the patent.It should be pointed out that coming for those of ordinary skill in the art It says, without departing from the concept of this application, various modifications and improvements can be made, these belong to the protection of the application Range.Therefore, the scope of protection shall be subject to the appended claims for the application patent.

Claims (10)

1. a kind of declaration form printing data generating method, which comprises
Print request is received, the number of policy of declaration form to be printed is carried in the print request, is protected using the number of policy as current Odd numbers;
Corresponding insurance data is searched from database according to the current number of policy, according to the corresponding field of the insurance data Name obtains the target classification factor;
It determines the parameter value of each target classification factor, and each described parameter value is normalized to obtain standard Parameter value;
It combines the standard parameter value for feature vector according to default rule, described eigenvector is input to and has been trained In template recommended models, the corresponding template type mark of the declaration form to be printed is obtained;
It reads the insurance data to the template type to identify in corresponding printing template, it is corresponding to obtain the current number of policy Print data.
2. the method according to claim 1, wherein it is described by the standard parameter value according to default rule group It is combined into feature vector, described eigenvector is input in the template recommended models trained, the declaration form pair to be printed is obtained Before the template type mark answered, further includes:
History declaration form is obtained from database, determines training sample set;
It obtains the training sample and concentrates the corresponding target classification factor of each history insurance application and template type mark;
The parameter value for determining the corresponding target classification factor of each history insurance application, it is corresponding to each history insurance application Parameter value be normalized to obtain standard parameter value;
It combines the corresponding standard parameter value of each history insurance application for feature vector according to default rule;
Successively using the corresponding feature vector of each history insurance application as input sample, corresponding template type is identified and is made Model training, which is carried out, for desired output sample obtains template recommended models.
3. the method according to claim 1, wherein described read the insurance data to the template type mark Know in corresponding printing template, after obtaining the corresponding print data of the current number of policy, further includes:
Judge in the print data whether to include the corresponding all insurance datas of the declaration form to be printed;
If so, determining that the print data is the corresponding target print data of the declaration form to be printed, by the target print Data are sent to printing terminal;
If it is not, then using the declaration form to be printed and corresponding template type as training sample with to the template recommended models into Row adjustment.
4. insuring the method according to claim 1, wherein the insurance data includes that declaration form to be printed is corresponding People's information and warrantee's information read the insurance data to the template type and identify in corresponding printing template, obtains institute After stating the corresponding print data of current number of policy, further includes:
Insurer's information or the corresponding alternative number of policy of warrantee's information are obtained, is obtained according to the alternative number of policy Corresponding print data;
Buffer queue is written into the corresponding print data of the alternative number of policy;
When receiving the print request for carrying the alternative number of policy within a preset period of time, read from the buffer queue The corresponding print data of the alternative number of policy, and it is sent to printing terminal;
When not receiving the print request for carrying the alternative number of policy within a preset period of time, by the alternative number of policy pair The print data answered is deleted from the buffer queue.
5. the method according to claim 1, which is characterized in that before the reception print request, also wrap It includes:
The corresponding field name of history declaration form in database is obtained, the history declaration form is clustered according to field name;
It uses preset template generation tool to classify for each of cluster result and generates printing template, each is beaten respectively Die plate configuration template type identification.
6. a kind of declaration form print data generating apparatus, which is characterized in that described device includes:
Print request receiving module carries the number of policy of declaration form to be printed, incites somebody to action for receiving print request in the print request The number of policy is as current number of policy;
Searching module is insured for searching corresponding insurance data from database according to the current number of policy according to described The corresponding field name of data obtains the target classification factor;
Standard parameter value obtains module, for determining the parameter value of each target classification factor, and each parameter Value is normalized to obtain standard parameter value;
Template type identifier acquisition module, for combining the standard parameter value for feature vector, general according to default rule Described eigenvector is input in the template recommended models trained, and obtains the corresponding template type mark of the declaration form to be printed Know;
Print data obtains module, identifies in corresponding printing template for reading the insurance data to the template type, Obtain the corresponding print data of the current number of policy.
7. device according to claim 6, which is characterized in that further include template recommended models generation module, the template Recommended models generation module concentrates the corresponding target classification factor of each history insurance application and mould for obtaining the training sample Board type mark;The parameter value for determining the corresponding target classification factor of each history insurance application throws each history The corresponding parameter value of declaration form is normalized to obtain standard parameter value;By the corresponding standard ginseng of each history insurance application Numerical value is feature vector according to default rule combination;Successively using the corresponding feature vector of each history insurance application as defeated Enter sample, corresponding template type is identified and obtains template recommended models as desired output sample progress model training.
8. device according to claim 6, which is characterized in that further include target print data transmission blocks, the target Whether print data sending module is for judging in the print data to include the corresponding all numbers of insuring of the declaration form to be printed According to;If so, determining that the print data is the corresponding target print data of the declaration form to be printed, by the target print number According to being sent to printing terminal;If it is not, then using the declaration form to be printed and corresponding template type as training sample to described Template recommended models are adjusted.
9. a kind of computer equipment, including memory and processor, the memory are stored with computer program, feature exists In the step of processor realizes any one of claims 1 to 5 the method when executing the computer program.
10. a kind of computer readable storage medium, is stored thereon with computer program, which is characterized in that the computer program The step of method described in any one of claims 1 to 5 is realized when being executed by processor.
CN201811025704.9A 2018-09-04 2018-09-04 Policy print data generation method, device, computer device and storage medium Active CN109343802B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811025704.9A CN109343802B (en) 2018-09-04 2018-09-04 Policy print data generation method, device, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811025704.9A CN109343802B (en) 2018-09-04 2018-09-04 Policy print data generation method, device, computer device and storage medium

Publications (2)

Publication Number Publication Date
CN109343802A true CN109343802A (en) 2019-02-15
CN109343802B CN109343802B (en) 2023-11-03

Family

ID=65292339

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811025704.9A Active CN109343802B (en) 2018-09-04 2018-09-04 Policy print data generation method, device, computer device and storage medium

Country Status (1)

Country Link
CN (1) CN109343802B (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109979119A (en) * 2019-03-20 2019-07-05 中国工商银行股份有限公司 E-seal declaration form Method of printing, apparatus and system
CN110377247A (en) * 2019-07-24 2019-10-25 深圳市凯木金科技有限公司 Identification processing method, device, computer equipment and computer readable storage medium
CN110889070A (en) * 2019-11-14 2020-03-17 深圳小蛙出海科技有限公司 Content pushing method, computer device and system
CN112214184A (en) * 2020-10-16 2021-01-12 平安国际智慧城市科技股份有限公司 User-defined printing method and device, computer equipment and medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477449A (en) * 2009-01-20 2009-07-08 北京展鹏电子技术有限公司 Printing management system and method
CN106156120A (en) * 2015-04-07 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus that character string is classified
CN106713116A (en) * 2016-06-17 2017-05-24 腾讯科技(深圳)有限公司 Information processing method, apparatus and system
US20170220545A1 (en) * 2016-02-01 2017-08-03 Microsoft Technology Licesning, LLC Generating templates from user's past documents
CN107527291A (en) * 2017-08-03 2017-12-29 平安科技(深圳)有限公司 One kind is insured method, equipment and storage medium
CN107729952A (en) * 2017-11-29 2018-02-23 新华三信息安全技术有限公司 A kind of traffic flow classification method and device
CN107992275A (en) * 2017-11-22 2018-05-04 平安养老保险股份有限公司 Document Method of printing, device, computer equipment and storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101477449A (en) * 2009-01-20 2009-07-08 北京展鹏电子技术有限公司 Printing management system and method
CN106156120A (en) * 2015-04-07 2016-11-23 阿里巴巴集团控股有限公司 The method and apparatus that character string is classified
US20170220545A1 (en) * 2016-02-01 2017-08-03 Microsoft Technology Licesning, LLC Generating templates from user's past documents
CN106713116A (en) * 2016-06-17 2017-05-24 腾讯科技(深圳)有限公司 Information processing method, apparatus and system
CN107527291A (en) * 2017-08-03 2017-12-29 平安科技(深圳)有限公司 One kind is insured method, equipment and storage medium
CN107992275A (en) * 2017-11-22 2018-05-04 平安养老保险股份有限公司 Document Method of printing, device, computer equipment and storage medium
CN107729952A (en) * 2017-11-29 2018-02-23 新华三信息安全技术有限公司 A kind of traffic flow classification method and device

Cited By (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109979119A (en) * 2019-03-20 2019-07-05 中国工商银行股份有限公司 E-seal declaration form Method of printing, apparatus and system
CN110377247A (en) * 2019-07-24 2019-10-25 深圳市凯木金科技有限公司 Identification processing method, device, computer equipment and computer readable storage medium
CN110377247B (en) * 2019-07-24 2023-10-17 深圳市凯木金科技有限公司 Identification processing method, identification processing device, computer equipment and computer readable storage medium
CN110889070A (en) * 2019-11-14 2020-03-17 深圳小蛙出海科技有限公司 Content pushing method, computer device and system
CN110889070B (en) * 2019-11-14 2023-06-30 深圳小蛙出海科技有限公司 Content pushing method, computer device and system
CN112214184A (en) * 2020-10-16 2021-01-12 平安国际智慧城市科技股份有限公司 User-defined printing method and device, computer equipment and medium
CN112214184B (en) * 2020-10-16 2023-11-24 深圳赛安特技术服务有限公司 Custom printing method, device, computer equipment and medium

Also Published As

Publication number Publication date
CN109343802B (en) 2023-11-03

Similar Documents

Publication Publication Date Title
CN109343802A (en) Declaration form printing data generating method, device, computer equipment and storage medium
US11086918B2 (en) Method and system for multi-label classification
CN109410071A (en) Core protects data processing method, device, computer equipment and storage medium
CN108563782B (en) Commodity information format processing method and device, computer equipment and storage medium
CN108573371A (en) The data measures and procedures for the examination and approval, device, computer equipment and storage medium
CN109711874A (en) User's portrait generation method, device, computer equipment and storage medium
CN109492197A (en) The file information comparison method, device, computer equipment and storage medium
CN110472219A (en) Electronic document generation method, device, computer equipment and storage medium
CN109788031A (en) Business datum acquisition methods, device, computer equipment and storage medium
CN109710817A (en) Electronic device information input method, device, computer equipment and storage medium
CN110705489B (en) Training method and device for target recognition network, computer equipment and storage medium
CN109543073A (en) Enterprise's supply and marketing relation map generation method, device and computer equipment
CN111782727B (en) Data processing method and device based on machine learning
CN111144402A (en) OCR recognition accuracy calculation method, device, equipment and storage medium
CN111242167B (en) Distributed image labeling method, device, computer equipment and storage medium
CN109669646A (en) Method of printing, device, computer equipment and storage medium
CN113159133A (en) Data labeling method and device, electronic equipment and storage medium
CN111489207A (en) Evaluation information writing method and device based on block chain system and hardware equipment
CN112182413B (en) Intelligent recommendation method and server based on big teaching data
CN108897772B (en) Data source supplementing method and device, computer equipment and storage medium
CN110851446B (en) Data table generation method and device, computer equipment and storage medium
US20050022162A1 (en) Method of translating a message from a first markup language into a second markup language
CN113343646A (en) Data conversion method and device
US20140258302A1 (en) Information retrieval device and information retrieval method
CN116383391B (en) Text classification method and device

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
GR01 Patent grant
GR01 Patent grant