CN107783953A - Information input method and terminal device - Google Patents

Information input method and terminal device Download PDF

Info

Publication number
CN107783953A
CN107783953A CN201710865143.2A CN201710865143A CN107783953A CN 107783953 A CN107783953 A CN 107783953A CN 201710865143 A CN201710865143 A CN 201710865143A CN 107783953 A CN107783953 A CN 107783953A
Authority
CN
China
Prior art keywords
information
target
logged
typing information
typing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN201710865143.2A
Other languages
Chinese (zh)
Inventor
张远
杨宇奇
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Ping An Puhui Enterprise Management Co Ltd
Original Assignee
Ping An Puhui Enterprise Management Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Ping An Puhui Enterprise Management Co Ltd filed Critical Ping An Puhui Enterprise Management Co Ltd
Priority to CN201710865143.2A priority Critical patent/CN107783953A/en
Publication of CN107783953A publication Critical patent/CN107783953A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/10Text processing
    • G06F40/166Editing, e.g. inserting or deleting
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F40/00Handling natural language data
    • G06F40/30Semantic analysis
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06VIMAGE OR VIDEO RECOGNITION OR UNDERSTANDING
    • G06V20/00Scenes; Scene-specific elements
    • G06V20/60Type of objects
    • G06V20/62Text, e.g. of license plates, overlay texts or captions on TV images

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Health & Medical Sciences (AREA)
  • Artificial Intelligence (AREA)
  • Audiology, Speech & Language Pathology (AREA)
  • Computational Linguistics (AREA)
  • General Health & Medical Sciences (AREA)
  • General Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention is applied to technical field of image processing, there is provided a kind of information input method and terminal device.This method includes:The image of file destination is obtained, described image is converted into text;Semantic analysis is carried out to the text, obtains the semantic segment set of the text;Extract the target keywords of each semantic segment in the semantic segment set;According to the keyword to prestore and the corresponding relation of typing information, target typing information corresponding to the target keywords is determined;By the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment, can be disposably by information solicitation in file correspondence position, user is avoided to repeatedly input, reduce user's operation, greatly reduce the Data Enter time, improve Data Enter efficiency, and reduce due to hand filling may caused by error probability, be adapted to application.

Description

Information input method and terminal device
Technical field
The invention belongs to technical field of image processing, more particularly to a kind of information input method and terminal device.
Background technology
With the progress and expanding economy of science and technology, the service that people enjoy is more and more, it is necessary to which the business handled also is got over Come more.
Existing user in transacting business, it is necessary to fill in corresponding information one by one manually, it is very troublesome, take a significant amount of time. If the file complexity filled in is, it is necessary to which the information filled in is a lot, fill substance easily malfunctions, and Data Enter efficiency is very low.
The content of the invention
The embodiment of the present invention provides a kind of information input method and terminal device, is filled out manually with solving user in the prior art Write information, take a significant amount of time, the problem of fill substance easily malfunctions, and Data Enter efficiency is low.
The first aspect of the embodiment of the present invention provides a kind of information input method, including:
The image of file destination is obtained, described image is converted into text;
Semantic analysis is carried out to the text, obtains the semantic segment set of the text;
Extract the target keywords of each semantic segment in the semantic segment set;
According to the keyword to prestore and the corresponding relation of typing information, target typing corresponding to the target keywords is determined Information;
By the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Put.
Optionally, also wrapped after the target keywords of each semantic segment in the extraction semantic segment set Include:
Whether one target keywords of generation are correctly prompted, and correctly whether the target keywords described in prompting carrying Target keywords;
Confirm the correct information of target keywords if receiving, perform corresponding with typing information according to the keyword to prestore Relation, the step of determining target typing information corresponding to the target keywords;Confirm target critical character error if receiving Information, Key Word Adapted instruction is received, the Key Word Adapted instruction carries keyword to be modified, according to the key to be modified Word, re-execute the step of extracting the target keywords of each semantic segment in the semantic segment set.
Optionally, by letter to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment The position of breath includes:
Detect whether the target keywords of each semantic segment have the position of corresponding information to be logged;
If detecting, keyword to be logged has the position of corresponding information to be logged, by the target typing information solicitation In the position of information to be logged corresponding to the keyword to be logged;If detecting, the keyword to be logged is treated without corresponding The position of typing information, then stop carrying out Data Enter to the keyword to be logged, the keyword to be logged is each language Any one target keywords in adopted fragment.
Optionally, above- mentioned information input method also includes:
Whether one target typing information of generation is correctly prompted, and correctly whether prompting carries the target typing information The target typing information;
Confirm the correct information of target typing information if receiving, perform the target typing information solicitation in each language Corresponding to the target keywords of adopted fragment the step of the position of information to be logged;Confirm target typing information errors if receiving Information, the modification instruction of typing information is received, the typing information modification instruction carries typing information to be modified, according to described to be repaired Change the corresponding relation of keyword described in typing information updating and typing information, and using the typing information to be modified as new mesh Typing information is marked, is performed letter to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment The step of position of breath.
Optionally, semantic analysis is carried out to the text, obtaining the semantic segment set of the text includes:
Obtain the page number of the text and the title of each chapters and sections;
First division is carried out to the page number according to the title of each chapter in the title of each chapters and sections;
According to the title of each section in the title of the division result of the first division and each chapters and sections, the page number is carried out Second of division;
According to the division result of second of division, the semantic segment set of the text is obtained.
The second aspect of the embodiment of the present invention provide a kind of information input terminal equipment, including memory, processor with And the computer program that can be run in the memory and on the processor is stored in, calculating described in the computing device Following steps are realized during machine program:
The image of file destination is obtained, described image is converted into text;
Semantic analysis is carried out to the text, obtains the semantic segment set of the text;
Extract the target keywords of each semantic segment in the semantic segment set;
According to the keyword to prestore and the corresponding relation of typing information, target typing corresponding to the target keywords is determined Information;
By the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Put.
Optionally, also wrapped after the target keywords of each semantic segment in the extraction semantic segment set Include:
Whether one target keywords of generation are correctly prompted, and correctly whether the target keywords described in prompting carrying Target keywords;
Confirm the correct information of target keywords if receiving, perform corresponding with typing information according to the keyword to prestore Relation, the step of determining target typing information corresponding to the target keywords;Confirm target critical character error if receiving Information, Key Word Adapted instruction is received, the Key Word Adapted instruction carries keyword to be modified, according to the key to be modified Word, re-execute the step of extracting the target keywords of each semantic segment in the semantic segment set.
Optionally, by letter to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment The position of breath includes:
Detect whether the target keywords of each semantic segment have the position of corresponding information to be logged;
If detecting, keyword to be logged has the position of corresponding information to be logged, by the target typing information solicitation In the position of information to be logged corresponding to the keyword to be logged;If detecting, the keyword to be logged is treated without corresponding The position of typing information, then stop carrying out Data Enter to the keyword to be logged, the keyword to be logged is each language Any one target keywords in adopted fragment.
Optionally, following steps are also realized during computer program described in the computing device:
Whether one target typing information of generation is correctly prompted, and correctly whether prompting carries the target typing information The target typing information;
Confirm the correct information of target typing information if receiving, perform the target typing information solicitation in each language Corresponding to the target keywords of adopted fragment the step of the position of information to be logged;Confirm target typing information errors if receiving Information, the modification instruction of typing information is received, the typing information modification instruction carries typing information to be modified, according to described to be repaired Change the corresponding relation of keyword described in typing information updating and typing information, and using the typing information to be modified as new mesh Typing information is marked, is performed letter to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment The step of position of breath.
The third aspect of the embodiment of the present invention provides a kind of computer-readable recording medium, the computer-readable storage Media storage has computer program, and the step such as above-mentioned information input method is realized when the computer program is executed by processor Suddenly.
Existing beneficial effect is the embodiment of the present invention compared with prior art:The embodiment of the present invention, by obtaining target The image of file, the image is converted into text;Semantic analysis is carried out to this article this document, obtains the semanteme of text Set of segments;Extract the target keywords of each semantic segment in semantic segment set;Believed according to the keyword to prestore and typing The corresponding relation of breath, determine target typing information corresponding to target keywords;By target typing information solicitation in each semantic piece The position of information to be logged corresponding to the target keywords of section, it can be avoided disposably by information solicitation in file correspondence position User repeatedly inputs, and reduces user's operation, greatly reduces the Data Enter time, improves Data Enter efficiency, and reduce due to hand Work fills in error probability caused by possibility.
Brief description of the drawings
Technical scheme in order to illustrate the embodiments of the present invention more clearly, below will be to embodiment or description of the prior art In the required accompanying drawing used be briefly described, it should be apparent that, drawings in the following description be only the present invention some Embodiment, for those of ordinary skill in the art, without having to pay creative labor, can also be according to these Accompanying drawing obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow diagram of information input method provided in an embodiment of the present invention;
Fig. 2 is a kind of schematic flow diagram for information input method that another embodiment of the present invention provides;
Fig. 3 is a kind of schematic flow diagram for information input method that yet another embodiment of the invention provides;
Fig. 4 is a kind of schematic flow diagram for information input method that further embodiment of this invention provides;
Fig. 5 is a kind of schematic flow diagram for information input method that further embodiment of this invention provides;
Fig. 6 is a kind of schematic block diagram of information input terminal equipment provided in an embodiment of the present invention;
Fig. 7 is a kind of schematic block diagram of Data Enter program provided in an embodiment of the present invention.
Embodiment
In describing below, in order to illustrate rather than in order to limit, it is proposed that such as tool of particular system structure, technology etc Body details, thoroughly to understand the embodiment of the present invention.However, it will be clear to one skilled in the art that there is no these specific The present invention can also be realized in the other embodiments of details.In other situations, omit to well-known system, device, electricity Road and the detailed description of method, in case unnecessary details hinders description of the invention.
In order to illustrate technical solutions according to the invention, illustrated below by specific embodiment.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow diagram of information input method provided in an embodiment of the present invention, in the implementation In example, illustrated by taking the angle triggering of terminal as an example, here, terminal can be that smart mobile phone, tablet personal computer etc. are mobile eventually End.As shown in figure 1, in this embodiment, the processing procedure of terminal may comprise steps of:
S101:The image of file destination is obtained, described image is converted into text.
Here, file destination is any one file for needing typing information, can be contract, data registration form etc..Obtain Taking the image of file destination can include:The image of file destination is obtained by camera or picture scanning equipment.Obtaining After the image of file destination, it can generate whether an image correctly prompts, after the correct information of image is received, by this Image is converted into text, otherwise, receives file modification instruction, this document modification instruction carries file to be modified, and acquisition is treated Change the image of file.
Specifically, described image is converted into the mode of text to be included:Pass through OCR (Optical Character Recognition, optical character identification) described image is converted into text by technology, and here can basis It is actually needed the corresponding conversion regime of selection and above-mentioned image is converted into text.
S102:Semantic analysis is carried out to the text, obtains the semantic segment set of the text.
Here, semantic analysis is that text is split according to default segmentation keyword, obtains the language of text Adopted set of segments.Segmentation keyword can be set according to being actually needed, so that file destination is contract as an example, in the figure of the contract of acquisition As after, image is converted into text, each title in this article this document is obtained, according to each title of acquisition to text File is split, and obtains the semantic segment set of text.
S103:Extract the target keywords of each semantic segment in the semantic segment set.
Specifically, according to the keyword for needing typing information to prestore, extract each semantic in above-mentioned semantic segment set The target keywords of fragment.Here, it is necessary to which the keyword of typing information can be set according to actual conditions, can include name, Identification card number, telephone number, mailbox etc..One or more keywords can be selected from the keyword for needing typing information, because This, above-mentioned target keywords can be one or more.The target of each semantic segment in above-mentioned semantic segment set is extracted , can be with display target keyword after keyword.
S104:According to the keyword to prestore and the corresponding relation of typing information, mesh corresponding to the target keywords is determined Mark typing information.
Here, keyword can be as shown in table 1 with the corresponding relation of typing information:
The keyword of table 1 and the mapping table of typing information
Keyword Typing information
Name Zhao * *
Identification card number 123***************
Telephone number 137********
Specifically, if target keywords are name, target typing information is Zhao * *, and similarly target keywords are identity card Number or telephone number etc., obtain corresponding target typing information., can it is determined that after target typing information corresponding to target keywords With display target typing information.
S105:By information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Position.
Here, by information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Behind position, whole text can be shown, specifically, the position of information to be logged needs to fill in corresponding to target keywords The position of information, so that target keywords are name as an example, the position of information to be logged is to need to fill in the position of name information.
It is evidenced from the above discussion that the information input method of the embodiment of the present invention, disposably corresponding in file by information solicitation Position, avoid user from repeatedly inputting, reduce user's operation, greatly reduce the Data Enter time, improve Data Enter efficiency, and drop Error probability caused by the low possibility due to hand filling.
Referring to Fig. 2, Fig. 2 is a kind of schematic flow diagram for information input method that another embodiment of the present invention provides.This The difference of embodiment above-described embodiment is S204~S206, wherein S201~S203 and S101~S103 in a upper embodiment It is identical, referring specifically to the associated description of S101~S103 in above-described embodiment, do not repeat herein.Information record in the present embodiment Enter method after the target keywords of each semantic segment, can also include in the extraction semantic segment set:
S204:Whether one target keywords of generation are correctly prompted, and correctly the target keywords whether take by prompting With the target keywords.
Here, after the target keywords of each semantic segment in extracting the semantic segment set, a target is generated Whether keyword correctly prompts, and receives corresponding information, carries out subsequent treatment according to the information of reception, is ensureing subsequent treatment just Often carry out.
S205:Confirm the correct information of target keywords if receiving, perform according to the keyword to prestore and typing information Corresponding relation, the step of determining target typing information corresponding to the target keywords;If receive confirmation target keywords The information of mistake, Key Word Adapted instruction is received, the Key Word Adapted instruction carries keyword to be modified, according to described to be repaired Change keyword, re-execute the step of extracting the target keywords of each semantic segment in the semantic segment set.
Specifically, keyword to be modified is the new target keywords redefined, according to new target keywords again The step of extracting the target keywords of each semantic segment in the semantic segment set is performed, then according to the keyword to prestore With the corresponding relation of typing information, target typing information corresponding to target keywords is further determined that.Here, keyword is being received After modification instruction, the keyword to be modified carried in Key Word Adapted instruction can be shown, if desired changes key to be modified Word, the step of receiving Key Word Adapted instruction can be performed again.
S206:By information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Position.
Here, by the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Put, realize the automatic input of information, solve the manual fill message of user in the prior art, take a significant amount of time, fill substance holds It is error-prone, the problem of Data Enter efficiency is low.
Referring to Fig. 3, Fig. 3 is a kind of schematic flow diagram for information input method that yet another embodiment of the invention provides.With The difference of embodiment corresponding to Fig. 1 is:By the target typing information solicitation each semantic segment target keywords pair The position for the information to be logged answered can include S305.Wherein S301~S304 and S101~S104 phases in a upper embodiment Together, referring specifically to the associated description of S101~S104 in above-described embodiment, do not repeat herein.Specifically, S305 can include S3051~S3052.
S3051:Detect whether the target keywords of each semantic segment have the position of corresponding information to be logged.
Here, before target typing information is filled in, detect the target keywords of semantic segment whether have corresponding to wait to record Enter the position of information, if so, just carrying out succeeding target typing information solicitation, otherwise, stopping processing, avoid maloperation, ensure letter Breath is correctly filled in.The position of information to be logged can have one or more corresponding to target keywords.
S3052:If detecting, keyword to be logged has the position of corresponding information to be logged, and the target typing is believed Breath fills in the position of information to be logged corresponding to the keyword to be logged;If detect no pair of the keyword to be logged The position for the information to be logged answered, then stop carrying out Data Enter to the keyword to be logged, the keyword to be logged is Any one target keywords in each semantic segment.
Specifically, by the target typing information solicitation in the position of information to be logged corresponding to the keyword to be logged Postpone, information solicitation can also be generated and complete information, show whole text.Stopping carrying out the keyword to be logged After Data Enter, information solicitation Stop message can also be generated, shows keyword to be logged in the position of text, for example, it is aobvious Show keyword to be logged in which section of which page of text which row etc..
Referring to Fig. 4, Fig. 4 is a kind of schematic flow diagram for information input method that further embodiment of this invention provides.This The difference of embodiment above-described embodiment is S405~S406, wherein S401~S404 and S101~S104 in a upper embodiment It is identical, referring specifically to the associated description of S101~S104 in above-described embodiment, do not repeat herein.Information record in the present embodiment Entering method can also include:
S405:Whether one target typing information of generation is correctly prompted, and whether the target typing information correctly carries Show and carry the target typing information.
S406:Confirm the correct information of target typing information if receiving, perform and the target typing information solicitation exists Corresponding to the target keywords of each semantic segment the step of the position of information to be logged;Confirm target typing information if receiving The information of mistake, the modification instruction of typing information is received, the typing information modification instruction carries typing information to be modified, according to institute State the corresponding relation of keyword described in typing information updating to be modified and typing information, and using the typing information to be modified as New target typing information, performing will treat corresponding to target keywords of the target typing information solicitation in each semantic segment The step of position of typing information.
Here, it is determined that whether target typing information corresponding to target keywords, one target typing information of generation are correct Prompting, after target typing information correct information is received, just by target typing information solicitation each semantic segment mesh The position of information to be logged corresponding to keyword is marked, otherwise, target typing information is changed, amended target typing information is filled out The position of information to be logged corresponding to the target keywords of each semantic segment is write on, ensures that fill message is correct, is adapted to application.
Specifically, typing information to be modified is amended target typing information, after the modification instruction of typing information is received, The typing information to be modified that carries in the modification instruction of typing information can be shown, can be with if also needing to change typing information to be modified The step of receiving the modification instruction of typing information is performed again.
Referring to Fig. 5, Fig. 5 is a kind of schematic flow diagram for information input method that further embodiment of this invention provides.With The difference of embodiment corresponding to Fig. 1 is:Semantic analysis is carried out to the text, obtains the semantic piece of the text Duan Jihe can include S502.Wherein S501 is identical with the S101 in a upper embodiment, in S503~S505 and a upper embodiment S103~S105 it is identical, referring specifically to S101 in above-described embodiment and S103~S105 associated description, do not repeat herein. Specifically, S502 can include S5021~S5024.
S5021:Obtain the page number of the text and the title of each chapters and sections.
Here, after the page number and the title of each chapters and sections for obtaining text, a page number and title are generated whether just True prompting, the prompting carry the page number of text and the title of each chapters and sections.Confirm that the page number and title are correct if receiving Information, step S5022 is performed, otherwise, re-executes step S5021.
S5022:First division is carried out to the page number according to the title of each chapter in the title of each chapters and sections.
S5023:According to the title of each section in the title of the division result of the first division and each chapters and sections, to the page Code carries out second and divided.
Specifically, after carrying out second dividing to the page number, detect in each section text whether also have title, if Have, further obtain the title of each section text, third time division is carried out to the page number according to the title.
S5024:According to the division result of second of division, the semantic segment set of the text is obtained.
Here, text is divided into semantic segment set, facilitates subsequent extracted target keywords and fill in be logged Information, greatly reduce the Data Enter time, improve Data Enter efficiency.
It should be understood that the size of the sequence number of each step is not meant to the priority of execution sequence, each process in above-described embodiment Execution sequence should determine that the implementation process without tackling the embodiment of the present invention forms any limit with its function and internal logic It is fixed.
Corresponding to the information input method described in foregoing embodiments, Fig. 6 shows information record provided in an embodiment of the present invention Enter the running environment schematic diagram of program.For convenience of description, it illustrate only part related to the present embodiment.
In the present embodiment, described Data Enter program 600 is installed and run in terminal device 60.The terminal device 60 can be mobile terminal, palm PC, server etc..The terminal device 60 may include, but be not limited only to, memory 601, place Manage device 602 and display 603.Fig. 6 illustrate only the terminal device 60 with component 601-603, it should be understood that not It is required that implement all components shown, the more or less component of the implementation that can be substituted.
The memory 601 can be the internal storage unit of the terminal device 60 in certain embodiments, such as should The hard disk or internal memory of terminal device 60.The memory 601 can also be the terminal device 60 in further embodiments The plug-in type hard disk being equipped with External memory equipment, such as the terminal device 60, intelligent memory card (Smart Media Card, SMC), secure digital (Secure Digital, SD) card, flash card (Flash Card) etc..Further, it is described to deposit Reservoir 601 can also both include the internal storage unit of the terminal device 60 or including External memory equipment.The memory 601 are used to store and are installed on the application software and Various types of data of the terminal device 60, such as described information recording program 600 Program code etc..The memory 601 can be also used for temporarily storing the data that has exported or will export.
The processor 602 can be a central processing unit (Central Processing in certain embodiments Unit, CPU), microprocessor or other data processing chips, for run the program code that is stored in the memory 601 or Processing data, such as perform described information recording program 600 etc..
The display 603 can be that light-emitting diode display, liquid crystal display, touch control type LCD are shown in certain embodiments Device and OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) touch device etc..The display 603 For being shown in the information that is handled in the terminal device 60 and for showing visual user interface, such as application menu Interface, application icon interface etc..The part 601-603 of the terminal device 60 is in communication with each other by system bus.
Referring to Fig. 7, it is the functional block diagram of Data Enter program 600 provided in an embodiment of the present invention.In the present embodiment In, described Data Enter program 600 can be divided into one or more modules, and one or more of modules are stored In the memory 601, and it is performed by one or more processors (the present embodiment is the processor 602), to complete The present invention.For example, in the figure 7, described Data Enter program 600 can be divided into image acquisition unit 701, image conversion Unit 702, semantic analysis unit 703, keyword extraction unit 704, typing information determination unit 705 and Data Enter unit 706.Module alleged by the present invention is the series of computation machine programmed instruction section for referring to complete specific function, is more suitable for than program In implementation procedure of the description described information recording program 600 in the terminal device 60.Described in description will be introduced specifically below Module 701-706 function.
Wherein, image acquisition unit 701, for obtaining the image of file destination.Image conversion unit 702, for by institute State image and be converted into text.Semantic analysis unit 703, for carrying out semantic analysis to the text, described in acquisition The semantic segment set of text.Keyword extraction unit 704, for extracting each semantic piece in the semantic segment set The target keywords of section.Typing information determination unit 705, the keyword and the corresponding relation of typing information to be prestored for basis, Determine target typing information corresponding to the target keywords.Data Enter unit 706, for the target typing information to be filled out Write on the position of information to be logged corresponding to the target keywords of each semantic segment.
Optionally, described insurance expenses payment program 600 can also be divided into target keywords prompting generation unit 707。
Wherein, target keywords prompting generation unit 707, for generating whether a target keywords are correctly prompted, Correctly whether prompting carries the target keywords to the target keywords.Typing information determination unit 705, if for receiving To the correct information of target keywords is confirmed, the corresponding relation according to the keyword to prestore and typing information is performed, it is determined that described Corresponding to target keywords the step of target typing information.Keyword extraction unit 704, if for receiving confirmation target critical The information of character error, receives Key Word Adapted instruction, and the Key Word Adapted instruction carries keyword to be modified, treated according to described Keyword is changed, re-executes the step of extracting the target keywords of each semantic segment in the semantic segment set.
Optionally, Data Enter unit 706 includes position detection unit 7061 and typing processing unit 7062.
Wherein, whether position detection unit 7061, the target keywords for detecting each semantic segment have corresponding treat The position of typing information.Typing processing unit 7062, if for detecting that keyword to be logged has corresponding information to be logged Position, then by the target typing information solicitation in the position of information to be logged corresponding to the keyword to be logged;If detection To the position of the keyword to be logged information to be logged without corresponding to, then stop entering row information to the keyword to be logged Typing, the keyword to be logged are any one target keywords in each semantic segment.
Optionally, it is single can also to be divided into the generation of target typing information alert for described insurance expenses payment program 600 Member 708.
Wherein, target typing information alert generation unit 708, for generating whether a target typing information correctly carries Show, correctly whether prompting carries the target typing information to the target typing information.Data Enter unit 706, if for Receive confirm the correct information of target typing information, perform by the target typing information solicitation each semantic segment mesh The step of marking the position of information to be logged corresponding to keyword;If receiving the information for confirming target typing information errors, receive The modification instruction of typing information, the typing information modification instruction carry typing information to be modified, believed according to the typing to be modified Breath updates the keyword and the corresponding relation of typing information, and believes the typing information to be modified as new target typing Breath, is performed the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment The step of.
Optionally, semantic analysis unit 703 includes title acquiring unit 7031, the first division unit 7032, second divides Unit 7033 and semantic segment obtaining unit 7034.
Wherein, title acquiring unit 7031, for obtaining the page number of the text and the title of each chapters and sections.First stroke Subdivision 7032, the title for each chapter in the title according to each chapters and sections carry out the first division to the page number.Second Division unit 7033, for the title of each section in the division result according to the first division and the title of each chapters and sections, to institute State the page number and carry out second of division.Semantic segment obtaining unit 7034, for the division result according to second of division, obtain institute State the semantic segment set of text.
It is apparent to those skilled in the art that for convenience of description and succinctly, only with above-mentioned each work( Can unit, module division progress for example, in practical application, can be as needed and by above-mentioned function distribution by different Functional unit, module are completed, i.e., the internal structure of described device are divided into different functional units or module, more than completion The all or part of function of description.Each functional unit, module in embodiment can be integrated in a processing unit, also may be used To be that unit is individually physically present, can also two or more units it is integrated in a unit, it is above-mentioned integrated Unit can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.In addition, each function list Member, the specific name of module are not limited to the protection domain of the application also only to facilitate mutually distinguish.Said system The specific work process of middle unit, module, the corresponding process in preceding method embodiment is may be referred to, will not be repeated here.
In the above-described embodiments, the description to each embodiment all emphasizes particularly on different fields, and is not described in detail or remembers in some embodiment The part of load, it may refer to the associated description of other embodiments.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, it can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, application-specific and design constraint depending on technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
In embodiment provided by the present invention, it should be understood that disclosed device/terminal device and method, can be with Realize by another way.For example, device described above/terminal device embodiment is only schematical, for example, institute The division of module or unit is stated, only a kind of division of logic function, there can be other dividing mode when actually realizing, such as Multiple units or component can combine or be desirably integrated into another system, or some features can be ignored, or not perform.Separately A bit, shown or discussed mutual coupling or direct-coupling or communication connection can be by some interfaces, device Or INDIRECT COUPLING or the communication connection of unit, can be electrical, mechanical or other forms.
The unit illustrated as separating component can be or may not be physically separate, show as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the present invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.Above-mentioned integrated list Member can both be realized in the form of hardware, can also be realized in the form of SFU software functional unit.
If the integrated module/unit realized in the form of SFU software functional unit and as independent production marketing or In use, it can be stored in a computer read/write memory medium.Based on such understanding, the present invention realizes above-mentioned implementation All or part of flow in example method, by computer program the hardware of correlation can also be instructed to complete, described meter Calculation machine program can be stored in a computer-readable recording medium, and the computer program can be achieved when being executed by processor The step of stating each embodiment of the method.Wherein, the computer program includes computer program code, the computer program generation Code can be source code form, object identification code form, executable file or some intermediate forms etc..The computer-readable medium It can include:Any entity or device, recording medium, USB flash disk, mobile hard disk, the magnetic of the computer program code can be carried Dish, CD, computer storage, read-only storage (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), electric carrier signal, telecommunication signal and software distribution medium etc..It is it should be noted that described The content that computer-readable medium includes can carry out appropriate increasing according to legislation in jurisdiction and the requirement of patent practice Subtract, such as in some jurisdictions, electric carrier signal and electricity are not included according to legislation and patent practice, computer-readable medium Believe signal.
Embodiment described above is merely illustrative of the technical solution of the present invention, rather than its limitations;Although with reference to foregoing reality Example is applied the present invention is described in detail, it will be understood by those within the art that:It still can be to foregoing each Technical scheme described in embodiment is modified, or carries out equivalent substitution to which part technical characteristic;And these are changed Or replace, the essence of appropriate technical solution is departed from the spirit and scope of various embodiments of the present invention technical scheme, all should Within protection scope of the present invention.

Claims (10)

  1. A kind of 1. information input method, it is characterised in that including:
    The image of file destination is obtained, described image is converted into text;
    Semantic analysis is carried out to the text, obtains the semantic segment set of the text;
    Extract the target keywords of each semantic segment in the semantic segment set;
    According to the keyword to prestore and the corresponding relation of typing information, determine that target typing corresponding to the target keywords is believed Breath;
    By the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment.
  2. 2. information input method as claimed in claim 1, it is characterised in that every in the extraction semantic segment set After the target keywords of individual semantic segment, in addition to:
    Whether one target keywords of generation are correctly prompted, and correctly whether prompting carries the target to the target keywords Keyword;
    Confirm the correct information of target keywords if receiving, perform and closed according to the keyword to prestore is corresponding with typing information It is the step of determining target typing information corresponding to the target keywords;If receive the letter for confirming target critical character error Breath, Key Word Adapted instruction is received, the Key Word Adapted instruction carries keyword to be modified, according to the key to be modified Word, re-execute the step of extracting the target keywords of each semantic segment in the semantic segment set.
  3. 3. information input method as claimed in claim 1, it is characterised in that by the target typing information solicitation in each language The position of information to be logged includes corresponding to the target keywords of adopted fragment:
    Detect whether the target keywords of each semantic segment have the position of corresponding information to be logged;
    If detecting, keyword to be logged has the position of corresponding information to be logged, by the target typing information solicitation in institute State the position of information to be logged corresponding to keyword to be logged;If detect the keyword to be logged without corresponding to be logged The position of information, then stop carrying out the keyword to be logged Data Enter, the keyword to be logged is each semantic piece Any one target keywords in section.
  4. 4. information input method as claimed in claim 1, it is characterised in that also include:
    Whether one target typing information of generation is correctly prompted, and correctly whether the target typing information described in prompting carrying Target typing information;
    Confirm the correct information of target typing information if receiving, perform the target typing information solicitation in each semantic piece Corresponding to the target keywords of section the step of the position of information to be logged;If receive the letter for confirming target typing information errors Breath, the modification instruction of typing information is received, the typing information modification instruction carries typing information to be modified, according to described to be modified Keyword described in typing information updating and the corresponding relation of typing information, and using the typing information to be modified as new target Typing information, perform information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Position the step of.
  5. 5. information input method as claimed in claim 1, it is characterised in that semantic analysis is carried out to the text, obtained Obtaining the semantic segment set of the text includes:
    Obtain the page number of the text and the title of each chapters and sections;
    First division is carried out to the page number according to the title of each chapter in the title of each chapters and sections;
    According to the title of each section in the title of the division result of the first division and each chapters and sections, second is carried out to the page number Secondary division;
    According to the division result of second of division, the semantic segment set of the text is obtained.
  6. 6. a kind of information input terminal equipment, it is characterised in that including memory, processor and be stored in the memory And the computer program that can be run on the processor, following step is realized described in the computing device during computer program Suddenly:
    The image of file destination is obtained, described image is converted into text;
    Semantic analysis is carried out to the text, obtains the semantic segment set of the text;
    Extract the target keywords of each semantic segment in the semantic segment set;
    According to the keyword to prestore and the corresponding relation of typing information, determine that target typing corresponding to the target keywords is believed Breath;
    By the position of information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment.
  7. 7. information input terminal equipment as claimed in claim 6, it is characterised in that in the extraction semantic segment set In each semantic segment target keywords after, in addition to:
    Whether one target keywords of generation are correctly prompted, and correctly whether prompting carries the target to the target keywords Keyword;
    Confirm the correct information of target keywords if receiving, perform and closed according to the keyword to prestore is corresponding with typing information It is the step of determining target typing information corresponding to the target keywords;If receive the letter for confirming target critical character error Breath, Key Word Adapted instruction is received, the Key Word Adapted instruction carries keyword to be modified, according to the key to be modified Word, re-execute the step of extracting the target keywords of each semantic segment in the semantic segment set.
  8. 8. information input terminal equipment as claimed in claim 6, it is characterised in that by the target typing information solicitation every The position of information to be logged includes corresponding to the target keywords of individual semantic segment:
    Detect whether the target keywords of each semantic segment have the position of corresponding information to be logged;
    If detecting, keyword to be logged has the position of corresponding information to be logged, by the target typing information solicitation in institute State the position of information to be logged corresponding to keyword to be logged;If detect the keyword to be logged without corresponding to be logged The position of information, then stop carrying out the keyword to be logged Data Enter, the keyword to be logged is each semantic piece Any one target keywords in section.
  9. 9. information input terminal equipment as claimed in claim 6, it is characterised in that computer journey described in the computing device Following steps are also realized during sequence:
    Whether one target typing information of generation is correctly prompted, and correctly whether the target typing information described in prompting carrying Target typing information;
    Confirm the correct information of target typing information if receiving, perform the target typing information solicitation in each semantic piece Corresponding to the target keywords of section the step of the position of information to be logged;If receive the letter for confirming target typing information errors Breath, the modification instruction of typing information is received, the typing information modification instruction carries typing information to be modified, according to described to be modified Keyword described in typing information updating and the corresponding relation of typing information, and using the typing information to be modified as new target Typing information, perform information to be logged corresponding to target keywords of the target typing information solicitation in each semantic segment Position the step of.
  10. 10. a kind of computer-readable recording medium, the computer-readable recording medium storage has computer program, and its feature exists In the step of realization such as any one of claim 1 to 5 described information input method when the computer program is executed by processor Suddenly.
CN201710865143.2A 2017-09-22 2017-09-22 Information input method and terminal device Pending CN107783953A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710865143.2A CN107783953A (en) 2017-09-22 2017-09-22 Information input method and terminal device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710865143.2A CN107783953A (en) 2017-09-22 2017-09-22 Information input method and terminal device

Publications (1)

Publication Number Publication Date
CN107783953A true CN107783953A (en) 2018-03-09

Family

ID=61433572

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710865143.2A Pending CN107783953A (en) 2017-09-22 2017-09-22 Information input method and terminal device

Country Status (1)

Country Link
CN (1) CN107783953A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563618A (en) * 2018-03-15 2018-09-21 链家网(北京)科技有限公司 Change method and system on a kind of paper document line
CN111144416A (en) * 2019-12-25 2020-05-12 中国联合网络通信集团有限公司 Information processing method and device
CN113221990A (en) * 2021-04-30 2021-08-06 平安科技(深圳)有限公司 Information input method and device and related equipment
CN113408235A (en) * 2020-03-17 2021-09-17 北大方正集团有限公司 Parameter processing method, system and computer readable storage medium

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3028833U (en) * 1996-03-08 1996-09-13 森木 江 Tubular ice machine
CN1877598A (en) * 2005-06-06 2006-12-13 英华达(上海)电子有限公司 Method for gathering and recording business card information in mobile phone by using image recognition
CN101739441A (en) * 2009-12-01 2010-06-16 中国建设银行股份有限公司 Method of image information input and system thereof
CN105718846A (en) * 2014-12-03 2016-06-29 航天信息股份有限公司 Bill information input method and apparatus

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3028833U (en) * 1996-03-08 1996-09-13 森木 江 Tubular ice machine
CN1877598A (en) * 2005-06-06 2006-12-13 英华达(上海)电子有限公司 Method for gathering and recording business card information in mobile phone by using image recognition
CN101739441A (en) * 2009-12-01 2010-06-16 中国建设银行股份有限公司 Method of image information input and system thereof
CN105718846A (en) * 2014-12-03 2016-06-29 航天信息股份有限公司 Bill information input method and apparatus

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108563618A (en) * 2018-03-15 2018-09-21 链家网(北京)科技有限公司 Change method and system on a kind of paper document line
CN111144416A (en) * 2019-12-25 2020-05-12 中国联合网络通信集团有限公司 Information processing method and device
CN113408235A (en) * 2020-03-17 2021-09-17 北大方正集团有限公司 Parameter processing method, system and computer readable storage medium
CN113221990A (en) * 2021-04-30 2021-08-06 平安科技(深圳)有限公司 Information input method and device and related equipment
CN113221990B (en) * 2021-04-30 2024-02-23 平安科技(深圳)有限公司 Information input method and device and related equipment

Similar Documents

Publication Publication Date Title
CN104834996B (en) Order filling method and device
CN110113200A (en) The correlating method of chain-circuit system and log system, device and storage medium
CN107578659A (en) Electronic title generation method and device and terminal
CN107590291A (en) A kind of searching method of picture, terminal device and storage medium
CN107741972A (en) A kind of searching method of picture, terminal device and storage medium
CN110490721A (en) Financial affairs receipt generation method and Related product
CN107679208A (en) A kind of searching method of picture, terminal device and storage medium
CN108255602A (en) Task combined method and terminal device
CN107783953A (en) Information input method and terminal device
US11106908B2 (en) Techniques to determine document recognition errors
CN108038195A (en) Intelligent terminal question searching method and device, intelligent terminal and storage medium
CN108694243A (en) A kind of method, apparatus, electronic equipment and the storage medium of information automatic input
CN108399025A (en) Method and device for correcting identification deviation and terminal equipment
CN111932413B (en) Case element extraction method, case element extraction device, case element extraction equipment and case element extraction medium
CN110543450A (en) Electronic document generation method and device, computer equipment and storage medium
CN109189372A (en) The exploitation scenario generation method and terminal device of insurance products
CN109409401A (en) A kind of information checking method, device and system
CN111625567A (en) Data model matching method, device, computer system and readable storage medium
CN114780701A (en) Automatic question-answer matching method, device, computer equipment and storage medium
CN108470305A (en) Connected transaction recognition methods, device and storage medium
CN107748772A (en) A kind of brand recognition method and device
CN112560855B (en) Image information extraction method and device, electronic equipment and storage medium
CN110245074A (en) A kind of generation method of log recording, device, storage medium and server
CN114265835A (en) Data analysis method and device based on graph mining and related equipment
CN107071553A (en) Method, device and computer readable storage medium for modifying video and voice

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20180309