CN109783781A - Declaration form input method and relevant apparatus based on image recognition - Google Patents
Declaration form input method and relevant apparatus based on image recognition Download PDFInfo
- Publication number
- CN109783781A CN109783781A CN201811531347.3A CN201811531347A CN109783781A CN 109783781 A CN109783781 A CN 109783781A CN 201811531347 A CN201811531347 A CN 201811531347A CN 109783781 A CN109783781 A CN 109783781A
- Authority
- CN
- China
- Prior art keywords
- declaration form
- information
- project
- policy information
- target
- 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
Links
- 238000000034 method Methods 0.000 title claims abstract description 56
- 238000012986 modification Methods 0.000 claims description 15
- 230000004048 modification Effects 0.000 claims description 15
- 238000004891 communication Methods 0.000 claims description 10
- 230000005540 biological transmission Effects 0.000 claims description 8
- 238000004590 computer program Methods 0.000 claims description 6
- 238000003709 image segmentation Methods 0.000 claims description 6
- 238000007781 pre-processing Methods 0.000 claims description 6
- 230000008569 process Effects 0.000 abstract description 15
- 238000010586 diagram Methods 0.000 description 12
- 238000013461 design Methods 0.000 description 6
- 238000012545 processing Methods 0.000 description 6
- 230000011218 segmentation Effects 0.000 description 6
- 239000000203 mixture Substances 0.000 description 4
- 238000012790 confirmation Methods 0.000 description 3
- 238000003058 natural language processing Methods 0.000 description 3
- 238000013135 deep learning Methods 0.000 description 2
- 230000018109 developmental process Effects 0.000 description 2
- 230000000694 effects Effects 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 230000003993 interaction Effects 0.000 description 2
- 230000007246 mechanism Effects 0.000 description 2
- 230000008520 organization Effects 0.000 description 2
- 230000001360 synchronised effect Effects 0.000 description 2
- 230000008859 change Effects 0.000 description 1
- 238000005520 cutting process Methods 0.000 description 1
- 230000005611 electricity Effects 0.000 description 1
- 238000005516 engineering process Methods 0.000 description 1
- 238000000605 extraction Methods 0.000 description 1
- 238000012423 maintenance Methods 0.000 description 1
- 238000002360 preparation method Methods 0.000 description 1
- 238000004321 preservation Methods 0.000 description 1
- 230000004044 response Effects 0.000 description 1
- 239000007787 solid Substances 0.000 description 1
- 238000012360 testing method Methods 0.000 description 1
- 238000012546 transfer Methods 0.000 description 1
Landscapes
- Character Input (AREA)
- Financial Or Insurance-Related Operations Such As Payment And Settlement (AREA)
Abstract
The present invention provides declaration form input method and relevant apparatus based on image recognition, wherein method includes: the target declaration form for receiving Image Acquisition terminal and sending, and the target declaration form is the declaration form of picture format;Image recognition is carried out to the target declaration form, obtains the corresponding policy information of the target declaration form;Multiple declaration form project information are generated according to the policy information;Determine the corresponding relationship of each declaration form project information in the multiple declaration form project information and each declaration form project in the target declaration form;The corresponding first declaration form project information of the first declaration form project is determined in the multiple declaration form project information according to the corresponding relationship, using the first declaration form project information as the corresponding data input of the first declaration form project to policy information storage system, the policy information storage system is for saving policy information.Technical solution of the present invention can save the process that user is manually entered declaration form project information, improve the efficiency of declaration form typing.
Description
Technical field
The present invention relates to field of computer technology, more particularly to the declaration form input method based on image recognition and related dress
It sets.
Background technique
Declaration form is the abbreviation of insurance policy, refers to that the insurer and insurer sign the written document of insurance contract, declaration form is clear
The rights and duties for completely describing safe-on both sides, it includes content mainly have insurant's title, insurance subject
Title and its both sides such as storage place or status, insured amount, insurance period, insurance premium are to related insurance subject item
Illustrate, it includes content can also include other conditions that insurance clause or both sides arrange and declaration form change, transfer the possession of and note
The additional conditions such as pin.
Insurance agent insurance agent after the determining signing declaration form with insurer can pass through the electronic system typing guarantor
Information in list is to be achieved, and in current mode, after the declaration form for completing papery shelves, needs insurance agent or guarantor
Single typing personnel are manually entered the information in declaration form on declaration form input system, and such problems is: the inefficiency of typing.
Summary of the invention
The embodiment of the present invention provides declaration form input method and relevant apparatus based on image recognition, solves manual typing declaration form
Mode the low problem of efficiency of inputting.
In a first aspect, providing a kind of declaration form input method based on image recognition, comprising:
The target declaration form that Image Acquisition terminal is sent is received, the target declaration form is the declaration form of picture format;
Image recognition is carried out to the target declaration form, obtains the corresponding policy information of the target declaration form;
Multiple declaration form project information are generated according to the policy information;
Determine each declaration form project information in the multiple declaration form project information and each guarantor in the target declaration form
Individual event purpose corresponding relationship;
Determine that the first declaration form project corresponding first is protected in the multiple declaration form project information according to the corresponding relationship
Single project information, using the first declaration form project information as the corresponding data input of the first declaration form project to policy information
Storage system, the policy information storage system is for saving policy information.
In the embodiment of the present invention, image recognition is carried out by the declaration form to picture format and obtains the policy information in declaration form,
Then the corresponding relationship for generating multiple declaration form project information and definite policy project information and declaration form project, to some declaration form item
When mesh carries out typing, declaration form project information corresponding with the first declaration form project is determined according to the corresponding relationship and it is recorded
Enter, save the process that user is manually entered declaration form project information, improves the efficiency of declaration form typing.
With reference to first aspect, in one possible implementation, described that multiple declaration forms are generated according to the policy information
Project information, comprising: the policy information is compared with preset declaration form Template Information, determines multiple first characters, institute
Stating the first character is the character for being different from the declaration form Template Information in the policy information;It is raw according to the multiple first character
At multiple declaration form project information, wherein the declaration form project information includes at least one adjacent in the policy information and company
The first continuous character.Since preset declaration form Template Information is intrinsic information in declaration form, by by policy information with it is preset
Declaration form Template Information is compared, it may be determined that target declaration form is relative to the extra content of blank declaration form institute, and then according to these
Content is removable to be divided into multiple declaration form project information.
With reference to first aspect, in one possible implementation, described using the first declaration form project information as institute
After stating the corresponding data input to policy information storage system of the first declaration form project, further includes: by the first declaration form project
The corresponding relationship of information and the first declaration form project information and the first declaration form project is sent to described image acquisition terminal, with
Described image acquisition terminal is set to show the first declaration form project letter in the corresponding information display position of the first declaration form project
Breath;In the case where receiving the policy information modification request of described image acquisition terminal transmission, stored in the policy information
The first declaration form project information is revised as the second declaration form project information in system, the policy information modification request is for asking
The corresponding information of modification the first declaration form project is sought, the policy information modification request includes that the second declaration form project is believed
Breath.It is shown by the way that the declaration form project information of typing is sent to Image Acquisition terminal, declaration form typing user can be made
The information of typing is checked and modified, guarantees the accuracy of the policy information of typing.
With reference to first aspect, in one possible implementation, in the multiple declaration form project information of the determination
The corresponding relationship of each declaration form project in each declaration form project information and the target declaration form, comprising: determine respectively described more
The information format of each declaration form project information in a declaration form project information;Each declaration form in the target declaration form is determined respectively
The corresponding typing format of project;The information format and each declaration form project pair of each declaration form project information are determined respectively
The matching degree between typing format answered;Each declaration form project information and each declaration form are determined according to the matching degree
The corresponding relationship of project.Due to the different corresponding different formats of declaration form project, pass through the information format of definite policy information
With the typing format of declaration form project, the corresponding relationship between declaration form project and declaration form project information can establish.
With reference to first aspect, in one possible implementation, described that image recognition is carried out to the target declaration form, it obtains
To the corresponding policy information of the target declaration form, comprising: carry out image preprocessing to the target declaration form, obtain the target and protect
Single text image areas;Image segmentation is carried out to the text image areas of the target declaration form, it is corresponding to obtain target declaration form
Multiple characters to be identified;Each character to be identified in the multiple character to be identified is identified respectively, obtains the mesh
Mark the corresponding policy information of declaration form.Image preprocessing, image segmentation and character are carried out by the target declaration form to picture format
Identification, may be implemented the extraction and identification to the policy information in target declaration form.
With reference to first aspect, in one possible implementation, described respectively in the multiple character to be identified
Each character to be identified is identified, the corresponding policy information of the target declaration form is obtained, comprising:
Each character to be identified in the multiple character to be identified is matched with preset Character mother plate respectively, with
Determine the corresponding target character template of each character to be identified respectively, the target character template is and the word to be identified
The matching degree of symbol is higher than the Character mother plate of preset matching degree threshold value;Character corresponding to the target character template is determined as institute
State the corresponding policy information of target declaration form.It is matched by the character for obtaining segmentation with preparatory Character mother plate, it can be true
What the fixed character to be identified is specifically, and is realized simple.
With reference to first aspect, in one possible implementation, the policy information storage system is block catenary system,
It is described to store system for the first declaration form project information as the corresponding data input of the first declaration form project to policy information
System includes: to generate the policy information publication affairs, and the policy information publication affairs include the first declaration form project information;
Policy information publication affairs are sent to the endorsement node in the block catenary system and carry out affairs endorsement, the endorsement section
Point is the node in the endorsement strategy being arranged based on intelligent contract;When the endorsement result returned according to the endorsement node determines
When completing to endorse to the affairs of policy information publication affairs, policy information publication affairs are sent to alliance's chain
Command node in system, so that the command node is ranked up policy information publication affairs and forms the declaration form
Information issues the corresponding block of affairs;Receive the block that the command node is sent;It is verified to the block
In the case where, locally saving the block.Policy information is saved in block catenary system to play, policy information is carried out
The effect of backup, block catenary system can not tamper ensure that the authenticity of the policy information in block catenary system and reliable
Property.
Second aspect provides a kind of declaration form input device based on image recognition, comprising:
Declaration form receiving module, for receiving the target declaration form of Image Acquisition terminal transmission, the target declaration form is picture lattice
The declaration form of formula;
Picture recognition module obtains the corresponding guarantor of the target declaration form for carrying out image recognition to the target declaration form
Single information;
Information generating module, for generating multiple declaration form project information according to the policy information;
Relationship determination module, for determining each declaration form project information in the multiple declaration form project information and the mesh
Mark the corresponding relationship of each declaration form project in declaration form;
Data input module, for determining the first declaration form in the multiple declaration form project information according to the corresponding relationship
The corresponding first declaration form project information of project, and the first declaration form project information is corresponding as the first declaration form project
Data input is to policy information storage system, and the policy information storage system is for saving policy information.
The third aspect, provides another declaration form input device based on image recognition, including processor, memory and logical
Believe interface, the processor, memory and communication interface are connected with each other, wherein the communication interface is for receiving or sending number
According to the memory is used to store the application code that the declaration form input device based on image recognition executes the above method, institute
State the method that processor is configured for executing above-mentioned first aspect.
Fourth aspect provides a kind of computer storage medium, and the computer storage medium is stored with computer program, institute
Stating computer program includes program instruction, and described program instruction makes the processor execute above-mentioned first when being executed by a processor
The method of aspect.
It in the embodiment of the present invention, is identified and is handled by the declaration form to picture format, obtain multiple declaration form project letters
Then the corresponding data input of declaration form project is saved the process that user is manually entered declaration form project information automatically, improves and protect by breath
The efficiency of single typing.
Detailed description of the invention
It to describe the technical solutions in the embodiments of the present invention more clearly, below will be to needed in the embodiment
Attached drawing is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the invention, for ability
For the those of ordinary skill of domain, without creative efforts, it can also be obtained according to these attached drawings other attached
Figure.
Fig. 1 is a kind of structural schematic diagram of declaration form input system provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic diagram of a scenario provided in an embodiment of the present invention;
Fig. 3 is a kind of flow diagram of declaration form input method based on image recognition provided in an embodiment of the present invention;
Fig. 4 is a kind of schematic diagram of declaration form provided in an embodiment of the present invention;
Fig. 5 is declaration form segmentation schematic diagram provided in an embodiment of the present invention;
Fig. 6 is the flow diagram of another declaration form input method based on image recognition provided in an embodiment of the present invention;
Fig. 7 is a kind of process by the typing of declaration form project information to policy information storage system provided in an embodiment of the present invention
Schematic diagram;
Fig. 8 is a kind of composed structure signal of declaration form input device based on image recognition provided in an embodiment of the present invention
Figure;
Fig. 9 is the composed structure signal of another declaration form input device based on image recognition provided in an embodiment of the present invention
Figure.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that the described embodiment is only a part of the embodiment of the present invention, instead of all the embodiments.Based on this
Embodiment in invention, every other reality obtained by those of ordinary skill in the art without making creative efforts
Example is applied, shall fall within the protection scope of the present invention.
It is a kind of structural schematic diagram of declaration form input system provided in an embodiment of the present invention referring to Fig. 1, Fig. 1, as shown,
Declaration form input system includes one or more Image Acquisition terminals 101 and one or more declaration form typing servers 102.Image
Acquisition terminal 101 can be used for acquiring the declaration form of picture format, and the declaration form of collected picture format is then submitted to declaration form
Typing server 102;Image Acquisition terminal 102 can be also used for user's interaction, obtain declaration form typing user in declaration form typing system
Operation on system, response user's operation, etc..Image Acquisition terminal 101 for example can be mobile phone, computer, tablet computer, etc.
Deng.The user terminal that Image Acquisition terminal 101 can be held for the business personnel of insurance institution, the business personnel of insurance institution can lead to
It crosses Image Acquisition terminal 101 to log in by the declaration form input system of the offer back-office support of declaration form typing server 102, then passes through figure
As acquisition terminal 101 completes the typing to declaration form.What declaration form typing server 102 was used to be submitted according to Image Acquisition terminal 101
The declaration form of picture format identifies the declaration form of picture format to obtain the information in declaration form.Declaration form typing server 102 can
Think the server of insurance institution.In the case where declaration form typing server 102 has multiple, multiple declaration form typing servers 102
Form declaration form typing server group.In some embodiments, multiple declaration form typings in the declaration form typing server group
Server can complete the typing to declaration form with cooperative cooperating, and each declaration form typing server can be used for completing different operations.
For example, the first declaration form typing server in the declaration form typing server group can be used for interacting with Image Acquisition terminal 101,
Request or data that Image Acquisition terminal is sent are received, and, request or data are sent to Image Acquisition terminal;The declaration form typing
The second declaration form typing server in server group can be used for identifying the declaration form of picture format, obtain the declaration form pair
The information answered;Third declaration form typing server in the declaration form typing server group can be used to save policy information;Etc..
It is not limited to description here.In other embodiments, multiple declaration form typing services in the declaration form typing server group
Device can also have identical function, for completing identical operation, i.e. each declaration form in the declaration form typing server group
Typing server may be incorporated for Image Acquisition terminal interaction, the declaration form of picture format is identified, save policy information,
Etc..The embodiment of the present invention is with no restrictions.
In some possible implementations, declaration form typing server group can be block catenary system.Block catenary system
It such as can be alliance's catenary system, privately owned catenary system etc..In the case where declaration form typing server group is alliance's catenary system, respectively
A declaration form typing server 102 is the node in alliance's catenary system, is specifically as follows the peer nodes of alliance's catenary system
(peer), it endorses node (endorser), command node (orderer) or the these types of role of confirmation node (committer) save
One of point or various rolls node.Wherein, each declaration form typing server 102 can be referred to as peer nodes, on an equal basis
Node is used for from the block that acquisition command node is packed into from command node and is stored in local account book;Command node is used
A plurality of alliance's chain in Maintenance Association catenary system, after receiving the transaction message after endorsement strategy and being ranked up to affairs
It is packed into block, is then passed to all peer nodes in alliance's chain;Endorsement node and confirmation node are same constant pitch
Two kinds of special nodes in point, endorsement node are used for during affairs are published to alliance's catenary system by peer nodes to affairs
It endorses, confirmation node is used for will be by endorsement and sequence during affairs are published to alliance's catenary system by peer nodes
The corresponding block of affairs be saved in local.
Based on declaration form input system shown in FIG. 1, the scheme of the embodiment of the present invention may be implemented, next introduce the present invention
The concrete application scene and technical solution of embodiment.
Referring to fig. 2, Fig. 2 schematically illustrates the field that declaration form typing user passes through declaration form input system typing policy information
Scape schematic diagram.Firstly, declaration form typing user logs in declaration form input system in Image Acquisition terminal, after logining successfully, select into
Enter to the homepage of declaration form input system corresponding to the declaration form for wanting typing, as in Fig. 2 1. shown in;Then, declaration form typing user
Declaration form typing button is clicked in the homepage of declaration form input system, the declaration form for entering to declaration form input system uploads the page, in Fig. 2
2. shown in;Then, declaration form typing user passes through the declaration form of Image Acquisition terminal uploading pictures format, enters to declaration form typing system
The declaration form typing page of system has one or more declaration form projects to be logged on the declaration form typing page, as in Fig. 2 3. shown in;
Then, the declaration form of picture format is sent to declaration form typing server by Image Acquisition terminal, declaration form typing server to declaration form into
Row image recognition and processing, the corresponding relationship between definite policy project information and declaration form project are corresponding according to the corresponding relationship
The corresponding declaration form project of typing, then by the corresponding relationship and declaration form project information between declaration form project and declaration form project information
It is sent to Image Acquisition terminal, Image Acquisition terminal is corresponding in declaration form project according to the corresponding relationship and declaration form project information
Corresponding with declaration form project information is shown at position, as in Fig. 2 4. shown in.Optionally, the stage in Fig. 2 4. in, user
It can modify to the declaration form project information that Image Acquisition terminal is shown, Image Acquisition terminal can also be by user to declaration form item
The information that mesh information is modified is sent to declaration form typing server, and then declaration form server determines it as the declaration form item
The corresponding information of mesh to typing, modify by the information corresponding to declaration form project into declaration form storage system.
Figure it is seen that declaration form typing user only needs the declaration form of uploading pictures format for declaration form project
It is easy to operate to realize the typing to policy information, improve the efficiency and user experience of declaration form typing.
It is introduced below to realize the technical solution that above-mentioned scene may be implemented.
Show referring to the process that Fig. 3, Fig. 3 are a kind of declaration form input methods based on image recognition provided in an embodiment of the present invention
It is intended to, this method may be implemented on declaration form typing server or declaration form typing server group shown in Fig. 1, below with declaration form
Typing server is introduced for executing subject.As shown, this method comprises the following steps:
S301, declaration form typing server receive the target declaration form that Image Acquisition terminal is sent, and target declaration form is picture format
Declaration form.
Here, target declaration form is the declaration form for wanting typing.Specifically, target declaration form may include declaration form title, belonging to declaration form
Insurance company, number of policy etc. for feedback target declaration form property policy information.For example, the target declaration form is Pingan Insurance
The vehicle insurance declaration form of company.Target declaration form also may include warrantee's title, warrantee's ID card No. (organization mechanism code), quilt
Guarantor address, warrantee's telephone number, insurer's title, insurer's ID card No., insurer address, insurer contact electricity
Words, insurance initial time, insurance deadline, insurer's title, insurer's ID card No. etc. it is unrelated with user need will
Its corresponding data input to policy information storage system declaration form project.Target declaration form can also include that warrantee's title is believed
Breath, warrantee's address information, warrantee's telephone number information, is insured at warrantee's ID card No. (organization mechanism code) information
When people's name information, insurer's ID card No. information, insurer's address information, insurer's telephone number information, insurance starting
Between information, insurance deadline information, insurer's name information, the declaration form related to user such as insurer's ID card No. information
Project information.Target declaration form can also include the condition stubs information such as points for attention, special suggestion, be not limited to description here,
In alternative embodiments, target declaration form can also have less or more information, and the embodiment of the present invention is with no restrictions.Example
Property, target declaration form can be as shown in figure 4, Fig. 4 be insurance type as the declaration form of vehicle insurance.
Specifically, when declaration form typing user is by Image Acquisition terminal login declaration form input system and in declaration form input system
When uploading the target declaration form that the Image Acquisition terminal local saves or Image Acquisition terminal acquires, declaration form typing server can be connect
Receive the target declaration form of Image Acquisition terminal transmission.
S302, declaration form typing server carry out image recognition to target declaration form, obtain the corresponding policy information of target declaration form.
In the embodiment of the present invention, declaration form typing server can by image preprocessing, image segmentation, character recognition this three
A process carries out image recognition to target declaration form, obtains the corresponding policy information of target declaration form.Detailed process introduced below:
Step 1: declaration form typing server carries out image preprocessing to target declaration form, the text image of target declaration form is obtained
Region.
Specifically, target declaration form can be input to the text filed identification model being pre-designed by declaration form typing server
In.Text region recognition model can be the text filed identification model based on connected domain, alternatively, the text based on sliding window
One's respective area identification model, alternatively, the text filed identification model based on deep learning.Text region recognition model is by being based on
The method of connected domain or method based on sliding window extract target declaration form based on the method for deep learning, obtain it
Corresponding one or more text image areas.Optionally, text filed identification model can also be according to the target declaration form
Position of the corresponding one or more text image areas in target declaration form one or more texts corresponding to target declaration form
Image-region is numbered, and obtains the zone number of each text image areas.Then, text filed identification model exports respectively
The zone number of the corresponding one or more text image areas of target declaration form and each text image areas.
For example, after target declaration form is as shown in figure 4, then input target declaration form in text filed identification model, it is text filed
The output of identification model can be with as shown in figure 5, it marks 18 text image areas, this corresponding area in 18 text image areas
Field Number is respectively 1~18.
Optionally, in order to improve the accurate classification of text identification, text filed identification model is exporting target declaration form respectively
It, can also text in each text image areas corresponding to target declaration form before corresponding one or more text image areas
This image information is enhanced, and the noises such as stain, the blank in text image areas unless each are removed.And it is gone according to certain rule
Except some non-intrinsically safe signals, standardize to the size of the text in text image areas, position, stroke weight etc., with drop
Complexity when low identification.
Step 2: declaration form typing server carries out image segmentation to the corresponding text image areas of target declaration form respectively, obtain
To the corresponding multiple characters to be identified of target declaration form.
Specifically, declaration form typing server can using horizontal projection method respectively to the text image areas of target declaration form into
Every trade segmentation, obtains the row text image areas of target declaration form.Wherein, it is expert in cut-and-project figure, corresponding to black picture element
Region is one's respective area of composing a piece of writing.Optionally, declaration form typing server can be according to the corresponding each text image area of target declaration form
The number in domain is respectively numbered the corresponding row text image areas in each text image areas, to determine that target declaration form is corresponding
Row text image areas number.Wherein, the volume of row text image areas corresponding to lesser text image areas is numbered
It is number smaller.
Then, declaration form typing server can using vertical projection method to each row text image areas of target declaration form into
Line character segmentation, obtains multiple character pictures.Wherein, in vertical cut-and-project figure, the corresponding region of black picture element is word
Accord with image.Declaration form typing server is further merged to multiple character pictures again or cutting process, with each row of determination
The corresponding multiple characters to be identified in text image areas.Assuming that carrying out Character segmentation to row text image areas obtains N number of character
Image, each character picture width are w (i), i=[0, N-1].The mean value L of the width of character in row text image areas is made
For the standard character width of the row text image areas, if w (i) is less than L1 and w (i+1) is less than L1, by w if L1=2L/3
(i) and w (i+1) corresponding character picture merges into a character picture, if w (i) is greater than L2, L2=4L/3, then to w (i)
Corresponding character picture is split, vertical in the corresponding character picture range searching of the width 2L/3 to 4L/3 of the character picture
Disconnected channel on direction, using the channel as cut-off rule, if handed within this range with w (i) without disconnected channel
The least straight line of point is as Character segmentation line.Optionally, declaration form typing server can be according to the corresponding each row of target declaration form
Character to be identified corresponding to each text image areas is numbered the number of text image areas respectively, to determine that target is protected
The number of single corresponding character to be identified.Wherein, the volume of character to be identified corresponding to lesser row text image areas is numbered
It is number smaller.
Step 3: multiple characters to be identified corresponding to target declaration form identify declaration form typing server respectively, obtain
The corresponding policy information of target declaration form.
Specifically, declaration form typing server can be respectively by the corresponding multiple characters to be identified of target declaration form and preset word
Symbol template matched, matched mode specifically by respectively by the form of the character to be identified of each character to be identified (such as
Up-down structure, the radical of character, the endpoint of word lines, intersection point and break etc.) with the form of preset Character mother plate into
Row compares, and determines that the corresponding target character template of each character to be identified, target character template are similar to character to be identified
Degree is higher than the Character mother plate of default similarity threshold.Then, declaration form typing server is by the corresponding target of each character to be identified
Character corresponding to Character mother plate is determined as the corresponding policy information of target declaration form.
Here, default similarity threshold can for 90%, 95%, 98% etc. close to 1 value.
Specifically, target character template can be the similarity with character to be identified higher than the character for presetting similarity threshold
In template with the highest Character mother plate of the similarity of the character to be identified.Citing is to be illustrated, for example, default similarity threshold
It is 95%, has the similarity of 4 Character mother plates and character to be identified to be higher than 5% in preset Character mother plate, this 4 Character mother plates
Respectively Character mother plate 1, Character mother plate 2, Character mother plate 3 and Character mother plate 4, wherein Character mother plate 1 and character to be identified
Similarity is 96%, and the similarity of Character mother plate 2 and character to be identified is 97%, and Character mother plate 3 is similar to character to be identified
Degree is 98%, and the similarity of Character mother plate 4 and character to be identified is 96%, then Character mother plate 3 is determined as character pair to be identified
The target character template answered.
S303, declaration form typing server generate multiple declaration form project information according to the corresponding policy information of target declaration form.
In one possible implementation, declaration form typing server generates more according to the corresponding policy information of target declaration form
The mode of a declaration form project information are as follows: declaration form typing server is by the corresponding policy information of target declaration form and preset declaration form template
Information is compared, and determines that the first character in the policy information, the first character are to be different from the declaration form mould in the policy information
The character of plate information;Declaration form typing server generates multiple declaration form project information according to the first character, wherein declaration form project information
Including at least one in the policy information adjacent and continuous first character.Here, preset declaration form Template Information is target
Intrinsic information in declaration form.For example, the format of target declaration form is as shown in figure 4, then preset declaration form Template Information can be in Fig. 4
Such as " insurant ", " by insurance motor vehicle " are without being filled in manually the information being already present in declaration form.
For example bright, for example, preset declaration form Template Information includes " insurer's name ", " insurer's gender ", " insures
Man-year age ", policy information are " insurer's name king's XX insurer's gender female insurer's age 50 ", due to " throwing in policy information
Guarantor's name " is identical as declaration form Template Information " insurer's name ", " insurer's gender " and declaration form Template Information " human nature of insuring
" not identical, " insurer's age " is identical as declaration form Template Information " insurer's age ", it is determined that " the king XX female in policy information
50 " be the first character.Due to having character " insurer's name ", the first character between the first character " X " and the first character " female "
There is " insurer's age " between " female " and the first character " 5 ", so the first character " X " and the first character " female " are discontinuously, first
Character " female " and the first character " 5 " are discontinuous.And declaration form project information includes that at least one is adjacent and continuous in policy information
The first character, then can with definite policy project information be " king XX ", " female " and " 50 ".
In alternatively possible implementation, it can also pre-establish based on natural language processing (natural
Language processing, NLP) the policy information participle model for being analyzed the policy information in declaration form.It protects
The corresponding policy information of target declaration form can be divided into multiple declaration form projects according to the declaration form participle model by single typing server
Information.Wherein, it is different from preset declaration form in the participle that declaration form typing server can export the policy information participle model
The participle of Template Information is determined as information to be logged.For example, by policy information, " insurer name king XX insurer gender female insures
Man-year age 50 " input policy information participle model after, policy information participle model be sequentially output " insurer's name ", " king XX ",
" king XX ", " female " and " 50 " is then determined as declaration form project letter by " insurer's gender ", " female ", " insurer's age ", " 50 "
Breath.
S304, declaration form typing server determine each declaration form project information and target declaration form in multiple declaration form project information
In each declaration form project corresponding relationship.
Here, declaration form typing server determines each declaration form project information and target declaration form in multiple declaration form project information
In the mode of corresponding relationship of each project can be with specifically: declaration form typing server determines multiple declaration form project information respectively
In each declaration form project information information format;Declaration form typing server determines each declaration form project pair in target declaration form respectively
The typing format answered;Declaration form typing server determines the information format and each declaration form project pair of each declaration form project information respectively
The matching degree between typing format answered;Declaration form typing server according to the information format of each declaration form project information with it is each
Matching degree between the corresponding typing format of declaration form project determines that each declaration form project information is corresponding with each declaration form project
Relationship.
Specifically, for one of them first declaration form project of each declaration form project, declaration form typing server can will be each
The highest declaration form project information of the matching degree of the typing format of information format and the destination item determines in a declaration form project information
For information corresponding with the first declaration form project, that is, determine the matching degree of the information format and the typing format of the destination item most
High declaration form project information and the first declaration form project has corresponding relationship.
In one possible implementation, the information format of declaration form project information may include that declaration form project information includes
Number of characters, the declaration form project information character that includes classification and the declaration form project information quantity of classification that includes etc..Declaration form
The information format of project is the character class of the number of characters of the corresponding information of declaration form project, the corresponding information of declaration form project,
The quantity etc. of the character class of the corresponding information of high declaration form project.The information format of declaration form project information is corresponding with declaration form project
Typing format match can refer to the number of characters matching for the number of characters information corresponding with declaration form project that declaration form project information includes,
And/or the character class matching of the classification information corresponding with declaration form project of the declaration form project information character that includes, and/or, with
And the quantity Matching of the character class of the quantity information corresponding with declaration form project of the classification of the declaration form project information character that includes.
In the embodiment of the present invention, different declaration form projects can correspond to different typing formats, and then can correspond to unused guarantor
Single project information.Detailed description below:
For example, declaration form project is insurer's name, the number of characters of the corresponding information of declaration form project is 2-4, the declaration form item
The character class of the corresponding information of mesh is Chinese character, and the quantity of the character class of the corresponding information of declaration form project is 1, it is determined that more
The number of characters for including in a declaration form project information is 2 or 3 or 4, and the classification for the character for including is Chinese character, and is wrapped
The declaration form project information and the declaration form project " insurer's name " that the quantity of the classification of the character contained is 1 have corresponding relationship.
For another example, declaration form project is insurer's gender, and the number of characters of the corresponding information of declaration form project is 1, the declaration form project
The character class of corresponding information is Chinese character, and the quantity of the character class of the corresponding information of declaration form project is 1, it is determined that multiple
The number of characters for including in declaration form project information is 1, and the classification for the character for including is Chinese character, and the character for including
Classification quantity be 1 declaration form project information and the declaration form project " insurer's gender " have corresponding relationship.
For another example, declaration form project is insurer's age, and the number of characters of the corresponding information of declaration form project is 1-3, declaration form project pair
The character class for the information answered is number, and the quantity of the character class of the corresponding information of declaration form project is 1, it is determined that multiple declaration forms
The number of characters for including in project information is 1 or 2 or 3, and the classification for the character for including is Chinese character, and the word for including
The declaration form project information and the declaration form project " insurer's age " that the quantity of the classification of symbol is 1 have corresponding relationship.
For another example, declaration form project to be logged is insurer's phone number, and the number of characters of the corresponding information of declaration form project is 11,
The character class of the corresponding information of declaration form project is number, and the quantity of the character class of the corresponding information of declaration form project is 1, then really
The number of characters for including in fixed multiple declaration form project information is 11, and the classification for the character for including is Chinese character, and is wrapped
The declaration form project information that the quantity of the classification of the character contained is 1 has corresponding pass with the declaration form project " insurer's phone number "
System.
Optionally, there is the information format of multiple declaration form project information typing format match corresponding with the first declaration form project
In the case where, it can also be according to pitch character of the multiple declaration form project information of determination in policy information with the first declaration form project
From the first guarantor will be determined as apart from the smallest declaration form project information with the character of the declaration form project in multiple declaration form project information
The corresponding information of individual event mesh, wherein the character distance of declaration form project information and the first declaration form project refers to protects in the policy information
The quantity for the character being separated by between single project information and the first declaration form project.
For example, policy information is " 50 insurer's phone number of insurer's name king's XX insurer's gender female insurer's age
For 135XXXXXXXX by insurer name Lee YY ", the first declaration form project is insurer's name, information format and the first declaration form project
Typing format match declaration form project information be " king XX " and and " Lee YY ", it is determined that " king XX " and insurer's name away from
From being 28 at a distance from insurer's name for 0, " Lee YY ";Then determine that " king XX " is the corresponding information of the first declaration form project.
S305, declaration form typing server is according to pair of each declaration form project in each declaration form project information and target declaration form
It should be related to and determine the corresponding first declaration form project information of the first declaration form project in multiple declaration form project information, by the first declaration form item
Mesh information is as the corresponding data input of the first declaration form project to policy information storage system, and policy information storage system is for protecting
Deposit policy information.
Here, policy information storage system can be there are two types of situation:
The first situation, policy information storage system are the distributed storage of one or more declaration form typing server compositions
System.
Second situation, policy information storage system are the block linkwork of one or more declaration form typing server compositions
System.
In the first scenario, declaration form typing server is corresponding as the first declaration form project using the first declaration form project information
Information preservation, can be using the first declaration form project information as the corresponding information back-up of the first declaration form project to others behind local
In declaration form typing server.
In the latter case, declaration form typing server is corresponding as the first declaration form project using the first declaration form project information
Information is distributed in block catenary system and saves, and declaration form typing server is using the first declaration form project information as the first declaration form project pair
The information answered, which is distributed to the specific implementation saved in block catenary system, can refer to the description of the corresponding embodiment of subsequent figure 7,
Excessive description is not done herein.
In the embodiment of the present invention, declaration form typing server carries out image recognition by the declaration form to picture format and obtains declaration form
In policy information, then generate the corresponding relationship of multiple declaration form project information and definite policy project information and declaration form project,
When carrying out typing to some declaration form project, declaration form project information corresponding with the first declaration form project is determined according to the corresponding relationship
And typing is carried out to it, the process that user is manually entered declaration form project information is saved, the efficiency of declaration form typing is improved.
It, can also be to after by declaration form project information typing to policy information storage system in some possible scenes
User shows the declaration form project information of typing, so that user can modify to the declaration form project information of typing and core
It is right.It is the process signal of another declaration form input method based on image recognition provided in an embodiment of the present invention referring to Fig. 6, Fig. 6
Figure, this method may be implemented on declaration form typing server or declaration form typing server group shown in Fig. 1.As shown, should
Method includes the following steps:
S601, declaration form typing server receive the target declaration form that Image Acquisition terminal is sent, and target declaration form is picture format
Declaration form.
S602, declaration form typing server carry out image recognition to target declaration form, obtain the corresponding policy information of target declaration form.
S603, declaration form typing server generate multiple declaration form project information according to the corresponding policy information of target declaration form.
S604, declaration form typing server determine each declaration form project information and target declaration form in multiple declaration form project information
In each declaration form project corresponding relationship.
S605, declaration form typing server is according to pair of each declaration form project in each declaration form project information and target declaration form
It should be related to and determine the corresponding first declaration form project information of the first declaration form project in multiple declaration form project information, by the first declaration form item
Mesh information is as the corresponding data input of the first declaration form project to policy information storage system, and policy information storage system is for protecting
Deposit policy information.
In the embodiment of the present invention, the specific implementation of step S601~S605 can refer to 01~S305's of above mentioned step S3
Description, details are not described herein again.
S606, declaration form typing server is by the first declaration form project information and the first declaration form project information and the first declaration form item
Purpose corresponding relationship is sent to Image Acquisition terminal, so that Image Acquisition terminal shows position in the corresponding information of the first declaration form project
Set the first declaration form project information of display.
Specifically, declaration form typing server can by the first declaration form project information and the first declaration form item purpose mark, or
Person, the first declaration form project information and the first declaration form project are sent to image terminal, and image terminal receives the first declaration form project
Information and the first declaration form item purpose mark, alternatively, the first declaration form project information and the first declaration form project, can determine first
Policy information is the corresponding information of the first declaration form project, and then shows first in the corresponding information display position of the first declaration form project
Declaration form project information.Illustratively, Image Acquisition terminal shows the first guarantor in the corresponding information display position of the first declaration form project
Single project information can be found in 4. shown in Fig. 2.
S607, in the case where receiving the policy information modification request of Image Acquisition terminal transmission, declaration form typing service
First declaration form project information is revised as the second declaration form project information in policy information storage system by device, and policy information modification is asked
It asks for requesting the corresponding information of the first declaration form project of modification, policy information modification request includes the second declaration form project information.
In the embodiment of the present invention, declaration form typing server is protected in the target to the collected picture format of Image Acquisition terminal
Single progress image recognition and processing obtain declaration form project information and declaration form project information are corresponded to typing and stored to policy information
After system, also the declaration form project information that processing obtains is sent in Image Acquisition terminal and is shown, declaration form typing user can be made
The information of typing is checked and modified, guarantees the accuracy of the policy information of typing.
In some possible scenes, policy information storage system involved in above-mentioned Fig. 3 or the corresponding embodiment of Fig. 6 can
Think block catenary system, which can be privately owned catenary system, or alliance system.It is deposited below with policy information
Storage system is to introduce the detailed process of the first declaration form project information typing to policy information storage system for alliance's catenary system.
Fig. 7 is a kind of flow diagram by the typing of declaration form project information to policy information storage system provided in an embodiment of the present invention,
As shown, the process includes:
S701, declaration form typing server generate policy information and issue affairs, and it includes the first declaration form that policy information, which issues affairs,
Project information.
Declaration form typing server is the peer nodes in alliance's catenary system.In the specific implementation, declaration form typing server can be with
Policy information, which is generated, by Software Development Kit (software development kit, SDK) issues affairs.Optionally,
The policy information is issued affairs other than including the first declaration form project information, can also include the first declaration form project and/or the
The identification information of one declaration form project, transactional version, etc..
Policy information publication affairs are sent to the endorsement node in alliance's catenary system by S702, declaration form typing server, are carried on the back
Book node receives policy information and issues affairs.
Endorsement node is the node in the endorsement strategy of declaration form typing server being arranged based on intelligent contract, endorsement section
Point can belong to same alliance's chain passage with declaration form typing server.Node of endorsing is the declaration form record in framework shown in FIG. 1
Enter wherein one or more declaration form typing servers of server group.
In the specific implementation, declaration form typing server can be believed declaration form the mode sent by way of multicast or respectively
Breath publication affairs are sent to the endorsement node in alliance's catenary system, which is used for the area sent to declaration form typing server
Block chain affairs carry out affairs endorsement, to guarantee the authenticity and legitimacy of the affairs.
S703, endorsement node endorse to policy information publication affairs.
Here, the process that endorsement node endorses to policy information publication affairs are as follows: endorsement node believes the declaration form
Breath publication affairs execute the intelligence contract as input and are exported as a result, then using the private key of endorsement node to output result
It is signed to obtain endorsement result.
The endorsement result endorsed to policy information publication affairs is sent to declaration form typing by S704, endorsement node
Server, declaration form typing server receive endorsement result.
Declaration form typing server can be in the case where receiving the endorsement result that most of peer nodes are sent, and determining pair
The affairs that policy information issues affairs, which are endorsed, to be completed.Wherein, specifically need to receive the endorsement result of how many a peer nodes
Determine that the affairs endorsement to policy information publication affairs is completed to set as the case may be.For example, when in endorsement strategy
When node of endorsing is less, it can be designed as when the endorsement result that the endorsement node for receiving 90% or more is sent, it is determined that right
The affairs that policy information issues affairs, which are endorsed, to be completed;When the endorsement node in endorsement strategy is more, can be designed as when reception
To 80% or more endorsement node send endorsement result when, it is determined that policy information publication affairs affairs endorse complete.
Declaration form typing server completes the feelings of the affairs endorsement to policy information publication affairs determining according to endorsement result
Under condition, step S705 is executed.
Policy information publication affairs are sent to the command node in alliance's catenary system by S705, declaration form typing server.
Here, declaration form typing server transmits policy information publication affairs and all endorsement results received
To the command node in alliance's catenary system.
S706, command node are ranked up policy information publication affairs according to the time that the policy information issues affairs.
S707, command node generate the corresponding block of policy information publication affairs.
Here, all affairs not being packaged also that command node will be generated currently in alliance's chain sequentially in time
Be packaged constructing and form block, wherein all affairs not being packaged include policy information publication affairs.
The corresponding block of policy information publication affairs is sent to all same in alliance's catenary system by S708, command node
Node, all peer nodes on alliance's chain receive the corresponding block of policy information publication affairs.
In the specific implementation, command node can be selected from peer nodes one as leader node (leader peer),
The corresponding block of policy information publication affairs is sent to the leader node, then it is random to be based on Gossip agreement for the leader node
Ground is communicated with the part peer nodes in alliance's chain so that the policy information issues affairs in the peer nodes of alliance's chain
It is synchronous, so that the corresponding block of policy information publication affairs is synchronized to all peer nodes on alliance's chain.
S709, all peer nodes in alliance's catenary system verify the corresponding block of policy information publication affairs.
Here, peer nodes verify to the corresponding block of policy information publication affairs and refer to policy information publication thing
The endorsement strategy and transactional version for all affairs being engaged in corresponding block are verified, the concrete mode of verifying are as follows: respectively
It is verified to signing in the endorsement result of each affairs in the block, verifies whether the corresponding endorsement node of the signature is this
Whether the node in the corresponding endorsement strategy of affairs, the version for verifying each affairs are identical as local version.If to each
The verifying of the endorsement result and transactional version of affairs passes through, it is determined that tests the corresponding block of policy information publication affairs
Card passes through.
To the corresponding block of policy information publication affairs, in the case where being verified, peer nodes execute step
S710。
The corresponding block of policy information publication affairs is saved in local by S710, peer nodes.
By three endorsement, sequence and verifying links, the policy information for being distributed to alliance's catenary system can be made to be tested
Card, it is ensured that only correct legal policy information can just be distributed to alliance's catenary system, ensure that the declaration form letter in alliance's catenary system
The authenticity and reliability of breath, policy information is distributed in alliance's catenary system and plays the role of backing up policy information
With the effect for preventing policy information to be tampered.
The method of inventive embodiments is described above, the device of inventive embodiments is described below.
It is a kind of composition knot of declaration form input device based on image recognition provided in an embodiment of the present invention referring to Fig. 8, Fig. 8
Structure schematic diagram, the device can be above-mentioned declaration form typing server shown in FIG. 1 or declaration form typing server farm, which can
With above-mentioned declaration form typing server shown in FIG. 1 or declaration form typing server farm, which includes:
Declaration form receiving module 801, for receiving the target declaration form of Image Acquisition terminal transmission, the target declaration form is picture
The declaration form of format;
It is corresponding to obtain the target declaration form for carrying out image recognition to the target declaration form for picture recognition module 802
Policy information;
Information generating module 803, for generating multiple declaration form project information according to the policy information;
Relationship determination module 804, for determining each declaration form project information and institute in the multiple declaration form project information
State the corresponding relationship of each declaration form project in target declaration form;
Data input module 805, for determining first in the multiple declaration form project information according to the corresponding relationship
The corresponding first declaration form project information of declaration form project, and using the first declaration form project information as the first declaration form project pair
The data input answered is to policy information storage system, and the policy information storage system is for saving policy information.
In a kind of possible design, the information generating module 803 is specifically used for:
The policy information is compared with preset declaration form Template Information, determines multiple first characters, described first
Character is the character for being different from the declaration form Template Information in the policy information;
Multiple declaration form project information are generated according to the multiple first character, wherein the declaration form project information includes extremely
Few adjacent and continuous first character in the policy information.
In a kind of possible design, described device further include:
Information sending module 806, for by the first declaration form project information and the first declaration form project information with it is described
The corresponding relationship of first declaration form project is sent to described image acquisition terminal, so that described image acquisition terminal is protected described first
The corresponding information display position of individual event mesh shows the first declaration form project information;
Information modified module 807, in the policy information modification request for receiving the transmission of described image acquisition terminal
In the case of, the first declaration form project information is revised as the second declaration form project information in the policy information storage system,
The policy information modification request modifies the corresponding information of the first declaration form project for requesting, and the policy information modification is asked
It asks including the second declaration form project information.
In a kind of possible design, the relationship determination module 804 is specifically used for:
The information format of each declaration form project information in the multiple declaration form project information is determined respectively;
The corresponding typing format of each declaration form project in the target declaration form is determined respectively;
The information format of each declaration form project information typing lattice corresponding with each declaration form project are determined respectively
Matching degree between formula;
The corresponding relationship of each declaration form project information Yu each declaration form project is determined according to the matching degree.
In a kind of possible design, described image identification module 802 is specifically used for:
Image preprocessing is carried out to the target declaration form, obtains the text image areas of the target declaration form;
Image segmentation is carried out to the text image areas of the target declaration form, it is corresponding multiple to be identified to obtain target declaration form
Character;
Each character to be identified in the multiple character to be identified is identified respectively, obtains the target declaration form pair
The policy information answered.
In a kind of possible design, described image identification module 802 is specifically used for:
Each character to be identified in the multiple character to be identified is matched with preset Character mother plate respectively, with
Determine the corresponding target character template of each character to be identified respectively, the target character template is and the word to be identified
The matching degree of symbol is higher than the Character mother plate of preset matching degree threshold value;
Character corresponding to the target character template is determined as the corresponding policy information of the target declaration form.
In a kind of possible design, the data input module 805 is specifically used for:
The policy information publication affairs are generated, the policy information publication affairs include the first declaration form project letter
Breath;
Policy information publication affairs are sent to the endorsement node in the block catenary system and carry out affairs endorsement, institute
Stating endorsement node is the node in the endorsement strategy being arranged based on intelligent contract;
When the endorsement result returned according to the endorsement node determines the thing being completed to policy information publication affairs
When business endorsement, policy information publication affairs are sent to the command node in alliance's catenary system, so that the order
Node is ranked up policy information publication affairs and forms the corresponding block of the policy information publication affairs;
Receive the block that the command node is sent;
To the block in the case where being verified, the block is locally being saved.
It should be noted that unmentioned content can be found in the description of embodiment of the method in the corresponding embodiment of Fig. 8, here
It repeats no more.
In the embodiment of the present invention, the declaration form input device based on image recognition carries out image by the declaration form to picture format
Identification obtains the policy information in declaration form, then generates multiple declaration form project information simultaneously definite policy project information and declaration form project
Corresponding relationship, to the first declaration form project carry out typing when, according to the corresponding relationship determination it is corresponding with the first declaration form project
Declaration form project carries out typing, saves the process that user is manually entered declaration form project information, improves the efficiency of declaration form typing.
It is the composition of another declaration form input device based on image recognition provided in an embodiment of the present invention referring to Fig. 9, Fig. 9
Structural schematic diagram, the device can be above-mentioned declaration form typing server shown in FIG. 1 or declaration form typing server farm, the device
90 include processor 901, memory 902 and communication interface 903.Processor 901 is connected to memory 902 and communication interface
903, such as processor 901 can be connected to memory 902 and communication interface 903 by bus.
Processor 901 is configured as that the declaration form input device based on image recognition is supported to execute described in Fig. 3-Fig. 7
Corresponding function in declaration form input method based on image recognition.The processor 901 can be central processing unit (Central
Processing Unit, CPU), network processing unit (Network Processor, NP), hardware chip or any combination thereof.
Above-mentioned hardware chip can be specific integrated circuit (Application-Specific Integrated Circuit, ASIC),
Programmable logic device (Programmable Logic Device, PLD) or combinations thereof.Above-mentioned PLD can be complex programmable
Logical device (Complex Programmable Logic Device, CPLD), field programmable gate array (Field-
Programmable Gate Array, FPGA), Universal Array Logic (Generic Array Logic, GAL) or its any group
It closes.
902 memory of memory is for storing program code etc..Memory 902 may include volatile memory
(Volatile Memory, VM), such as random access memory (Random Access Memory, RAM);Memory 902
It may include nonvolatile memory (Non-Volatile Memory, NVM), such as read-only memory (Read-Only
Memory, ROM), flash memory (flash memory), hard disk (Hard Disk Drive, HDD) or solid state hard disk
(Solid-State Drive, SSD);Memory 902 can also include the combination of the memory of mentioned kind.The present invention is implemented
In example, memory 902 is for storing policy information etc..
The communication interface 903 is for sending or receiving data.
Processor 901 can call said program code to execute following operation:
The target declaration form that Image Acquisition terminal is sent is received by communication interface 903, the target declaration form is picture format
Declaration form;
Image recognition is carried out to the target declaration form, obtains the corresponding policy information of the target declaration form;
Multiple declaration form project information are generated according to the policy information;
Determine each declaration form project information in the multiple declaration form project information and each guarantor in the target declaration form
Individual event purpose corresponding relationship;
Determine that the first declaration form project corresponding first is protected in the multiple declaration form project information according to the corresponding relationship
Single project information, using the first declaration form project information as the corresponding data input of the first declaration form project to policy information
Storage system, the policy information storage system is for saving policy information.
It should be noted that the realization of each operation can also be to the phase that should refer to Fig. 3-embodiment of the method shown in Fig. 7
It should describe;The processor 901 can also cooperate other operations executed in above method embodiment with communication interface 903.
The embodiment of the present invention also provides a kind of computer storage medium, and the computer storage medium is stored with computer journey
Sequence, the computer program include program instruction, and described program instruction executes the computer such as
Method described in previous embodiment, the computer can be the one of the declaration form input device mentioned above based on image recognition
Part.For example, above-mentioned processor 901.
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 program can be stored in a computer-readable storage medium
In, the program is when being executed, it may include such as the process of the embodiment of above-mentioned each method.Wherein, the storage medium can be magnetic
Dish, CD, read-only memory (Read-Only Memory, ROM) or random access memory (Random Access
Memory, RAM) etc..
The above disclosure is only the preferred embodiments of the present invention, cannot limit the right model of the present invention with this certainly
It encloses, therefore equivalent changes made in accordance with the claims of the present invention, is still within the scope of the present invention.
Claims (10)
1. a kind of declaration form input method based on image recognition characterized by comprising
The target declaration form that Image Acquisition terminal is sent is received, the target declaration form is the declaration form of picture format;
Image recognition is carried out to the target declaration form, obtains the corresponding policy information of the target declaration form;
Multiple declaration form project information are generated according to the policy information;
Determine each declaration form project information in the multiple declaration form project information and each declaration form item in the target declaration form
Purpose corresponding relationship;
The corresponding first declaration form item of the first declaration form project is determined in the multiple declaration form project information according to the corresponding relationship
Mesh information is stored the first declaration form project information as the corresponding data input of the first declaration form project to policy information
System, the policy information storage system is for saving policy information.
2. the method according to claim 1, wherein described generate multiple declaration form projects according to the policy information
Information, comprising:
The policy information is compared with preset declaration form Template Information, determines multiple first characters, first character
For the character for being different from the declaration form Template Information in the policy information;
Multiple declaration form project information are generated according to the multiple first character, wherein the declaration form project information includes at least one
A the first character adjacent and continuous in the policy information.
3. the method according to claim 1, wherein described using the first declaration form project information as described
After the corresponding data input to policy information storage system of one declaration form project, further includes:
The corresponding relationship of the first declaration form project information and the first declaration form project information and the first declaration form project is sent out
Described image acquisition terminal is given, so that described image acquisition terminal is in the corresponding information display position of the first declaration form project
Show the first declaration form project information;
In the case where receiving the policy information modification request of described image acquisition terminal transmission, stored in the policy information
The first declaration form project information is revised as the second declaration form project information in system, the policy information modification request is for asking
The corresponding information of modification the first declaration form project is sought, the policy information modification request includes that the second declaration form project is believed
Breath.
4. according to method described in right 1, which is characterized in that each declaration form in the multiple declaration form project information of determination
The corresponding relationship of each declaration form project in project information and the target declaration form, comprising:
The information format of each declaration form project information in the multiple declaration form project information is determined respectively;
The corresponding typing format of each declaration form project in the target declaration form is determined respectively;
Determine respectively the information format of each declaration form project information typing format corresponding with each declaration form project it
Between matching degree;
The corresponding relationship of each declaration form project information Yu each declaration form project is determined according to the matching degree.
5. method according to claim 1-4, which is characterized in that described to carry out image knowledge to the target declaration form
Not, the corresponding policy information of the target declaration form is obtained, comprising:
Image preprocessing is carried out to the target declaration form, obtains the text image areas of the target declaration form;
Image segmentation is carried out to the text image areas of the target declaration form, obtains the corresponding multiple words to be identified of target declaration form
Symbol;
Each character to be identified in the multiple character to be identified is identified respectively, it is corresponding to obtain the target declaration form
Policy information.
6. according to the method described in claim 5, it is characterized in that, described respectively to each in the multiple character to be identified
Character to be identified is identified, the corresponding policy information of the target declaration form is obtained, comprising:
Each character to be identified in the multiple character to be identified is matched with preset Character mother plate respectively, with respectively
Determine the corresponding target character template of each character to be identified, the target character template is and the character to be identified
Matching degree is higher than the Character mother plate of preset matching degree threshold value;
Character corresponding to the target character template is determined as the corresponding policy information of the target declaration form.
7. the method according to claim 1, wherein the policy information storage system is block catenary system, institute
It states using the first declaration form project information as the corresponding data input of the first declaration form project to policy information storage system
Include:
The policy information publication affairs are generated, the policy information publication affairs include the first declaration form project information;
Policy information publication affairs are sent to the endorsement node in the block catenary system and carry out affairs endorsement, the back
Book node is the node in the endorsement strategy being arranged based on intelligent contract;
When the endorsement result returned according to the endorsement node determines the affairs back being completed to policy information publication affairs
When book, policy information publication affairs are sent to the command node in alliance's catenary system, so that the command node
Policy information publication affairs are ranked up and form the corresponding block of the policy information publication affairs;
Receive the block that the command node is sent;
To the block in the case where being verified, the block is locally being saved.
8. a kind of declaration form input device based on image recognition characterized by comprising
Declaration form receiving module, for receiving the target declaration form of Image Acquisition terminal transmission, the target declaration form is picture format
Declaration form;
Picture recognition module obtains the corresponding declaration form letter of the target declaration form for carrying out image recognition to the target declaration form
Breath;
Information generating module, for generating multiple declaration form project information according to the policy information;
Relationship determination module, for determining that each declaration form project information in the multiple declaration form project information and the target are protected
The corresponding relationship of each declaration form project in list;
Data input module, for determining the first declaration form project in the multiple declaration form project information according to the corresponding relationship
Corresponding first declaration form project information, and using the first declaration form project information as the corresponding information of the first declaration form project
Typing is to policy information storage system, and the policy information storage system is for saving policy information.
9. a kind of declaration form input device based on image recognition, including processor, memory and input/output interface, the place
It manages device, memory and communication interface to be connected with each other, wherein the communication interface is for sending or receiving data, the memory
For storing program code, the processor is executed for calling said program code as claim 1-7 is described in any item
Method.
10. a kind of computer storage medium, which is characterized in that the computer storage medium is stored with computer program, described
Computer program includes program instruction, and described program instruction makes the processor execute such as claim when being executed by a processor
The described in any item methods of 1-7.
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811531347.3A CN109783781B (en) | 2018-12-13 | 2018-12-13 | Image recognition-based policy entry method and related device |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201811531347.3A CN109783781B (en) | 2018-12-13 | 2018-12-13 | Image recognition-based policy entry method and related device |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN109783781A true CN109783781A (en) | 2019-05-21 |
| CN109783781B CN109783781B (en) | 2023-08-11 |
Family
ID=66496953
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CN201811531347.3A Active CN109783781B (en) | 2018-12-13 | 2018-12-13 | Image recognition-based policy entry method and related device |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN109783781B (en) |
Cited By (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110378318A (en) * | 2019-07-30 | 2019-10-25 | 腾讯科技(深圳)有限公司 | Character recognition method, device, computer equipment and storage medium |
| CN110942069A (en) * | 2019-10-22 | 2020-03-31 | 云南大学 | Method, device, storage medium and equipment for extracting key information of vehicle insurance policy |
| CN111340031A (en) * | 2020-02-25 | 2020-06-26 | 杭州测质成科技有限公司 | Equipment almanac target information extraction and identification system based on image identification and method thereof |
| CN112686240A (en) * | 2020-12-28 | 2021-04-20 | 京东数科海益信息科技有限公司 | Method for extracting fulfillment item, new fulfillment item extraction method and electronic device |
| CN115100670A (en) * | 2022-07-21 | 2022-09-23 | 中国平安人寿保险股份有限公司 | Policy information processing method and system, electronic device and storage medium |
Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007011758A (en) * | 2005-06-30 | 2007-01-18 | Dai-Ichi Mutual Life Insurance Co | Insurance data management apparatus, method and program |
| JP2011238199A (en) * | 2010-04-13 | 2011-11-24 | Planning Of Healthcare And Environmental Wellbeing Corp | Data processing device and insurance card collation system |
| JP2016212626A (en) * | 2015-05-08 | 2016-12-15 | 株式会社アイビーシー | External character / variant character containing character group input utilization system via WEB |
| CN107665464A (en) * | 2017-09-18 | 2018-02-06 | 平安科技(深圳)有限公司 | Generate method, apparatus, equipment and the computer-readable recording medium of reference message |
| CN107688772A (en) * | 2017-06-23 | 2018-02-13 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium of policy information typing |
| CN108959282A (en) * | 2017-05-17 | 2018-12-07 | 北京博瑞彤芸文化传播股份有限公司 | A kind of data query method |
-
2018
- 2018-12-13 CN CN201811531347.3A patent/CN109783781B/en active Active
Patent Citations (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| JP2007011758A (en) * | 2005-06-30 | 2007-01-18 | Dai-Ichi Mutual Life Insurance Co | Insurance data management apparatus, method and program |
| JP2011238199A (en) * | 2010-04-13 | 2011-11-24 | Planning Of Healthcare And Environmental Wellbeing Corp | Data processing device and insurance card collation system |
| JP2016212626A (en) * | 2015-05-08 | 2016-12-15 | 株式会社アイビーシー | External character / variant character containing character group input utilization system via WEB |
| CN108959282A (en) * | 2017-05-17 | 2018-12-07 | 北京博瑞彤芸文化传播股份有限公司 | A kind of data query method |
| CN107688772A (en) * | 2017-06-23 | 2018-02-13 | 平安科技(深圳)有限公司 | Method, apparatus, computer equipment and the storage medium of policy information typing |
| CN107665464A (en) * | 2017-09-18 | 2018-02-06 | 平安科技(深圳)有限公司 | Generate method, apparatus, equipment and the computer-readable recording medium of reference message |
Cited By (6)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN110378318A (en) * | 2019-07-30 | 2019-10-25 | 腾讯科技(深圳)有限公司 | Character recognition method, device, computer equipment and storage medium |
| CN110942069A (en) * | 2019-10-22 | 2020-03-31 | 云南大学 | Method, device, storage medium and equipment for extracting key information of vehicle insurance policy |
| CN111340031A (en) * | 2020-02-25 | 2020-06-26 | 杭州测质成科技有限公司 | Equipment almanac target information extraction and identification system based on image identification and method thereof |
| CN112686240A (en) * | 2020-12-28 | 2021-04-20 | 京东数科海益信息科技有限公司 | Method for extracting fulfillment item, new fulfillment item extraction method and electronic device |
| CN112686240B (en) * | 2020-12-28 | 2022-11-08 | 京东科技信息技术有限公司 | Method for extracting fulfillment item, new fulfillment item extraction method and electronic device |
| CN115100670A (en) * | 2022-07-21 | 2022-09-23 | 中国平安人寿保险股份有限公司 | Policy information processing method and system, electronic device and storage medium |
Also Published As
| Publication number | Publication date |
|---|---|
| CN109783781B (en) | 2023-08-11 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN109783781A (en) | Declaration form input method and relevant apparatus based on image recognition | |
| CN109840469A (en) | Declaration form input method and relevant apparatus based on image recognition | |
| US10747744B2 (en) | Distributed ledger comprising snapshots | |
| CN112910953B (en) | Business data pushing method and device and server | |
| CN106611061B (en) | Database write-in method and system based on block chain network | |
| AU2013379774B2 (en) | Tax document imaging and processing | |
| CN106650495B (en) | File verification method and device | |
| CN107888557A (en) | The generation method and its system of a kind of document of agreement | |
| CN110490721A (en) | Financial affairs receipt generation method and Related product | |
| CN112750043B (en) | Service data pushing method, device and server | |
| US20190295083A1 (en) | The method for executing a digital value transfer transaction and the digital value transfer system for its implementation | |
| CN110704143A (en) | Page generation method and device | |
| CN110428238A (en) | The account cancelling method and system of block chain | |
| WO2022105546A1 (en) | Big data transaction method and apparatus based on blockchain, and medium and device | |
| CN117522094A (en) | A seal management method, platform, electronic device and storage medium | |
| CN108733374A (en) | Application program homepage development approach and terminal device | |
| CN107368499B (en) | Client label modeling and recommending method and device | |
| KR102437560B1 (en) | System and method for design task of architectural decoration | |
| CN111832661A (en) | Classification model construction method and device, computer equipment and readable storage medium | |
| CN115880702A (en) | Data processing method, device, equipment, program product and storage medium | |
| CN109785093A (en) | Accreditation method, apparatus, computer equipment and storage medium based on valuation system | |
| CN103020506B (en) | A kind of combination is taken pictures and the Key equipment of bar code identification technology and method | |
| CN109492559A (en) | Title examination method, server and storage medium based on image recognition | |
| CN110942395B (en) | Insurance security risk control method, device, equipment and storage medium | |
| CN109493868A (en) | Declaration form input method and relevant apparatus based on speech recognition |
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 |