CN105607852A - Text input method and electronic device - Google Patents

Text input method and electronic device Download PDF

Info

Publication number
CN105607852A
CN105607852A CN201510959068.7A CN201510959068A CN105607852A CN 105607852 A CN105607852 A CN 105607852A CN 201510959068 A CN201510959068 A CN 201510959068A CN 105607852 A CN105607852 A CN 105607852A
Authority
CN
China
Prior art keywords
picture
input
text
choose
request
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
CN201510959068.7A
Other languages
Chinese (zh)
Inventor
王鑫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing Co Ltd
Original Assignee
Beijing Qihoo Technology Co Ltd
Qizhi Software Beijing 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 Beijing Qihoo Technology Co Ltd, Qizhi Software Beijing Co Ltd filed Critical Beijing Qihoo Technology Co Ltd
Priority to CN201510959068.7A priority Critical patent/CN105607852A/en
Publication of CN105607852A publication Critical patent/CN105607852A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0487Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
    • G06F3/0488Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The present invention discloses a text input method and an electronic device. The method comprises: acquiring a selection request for partial pictures among first pictures displayed on a display unit of an electronic device; according to the selection request, determining a selected picture corresponding to the selection request from the first pictures; extracting text data from the selected picture; acquiring and inputting an input text corresponding to the text data. The text input method and the electronic device provided by the embodiments of the present invention solve the problem that, in the prior art, a display unit of an electronic device is limited, or when massive texts are input, the input time is long and the operating efficiency is low, and achieve the technical effects of shortening the input time and improving the operating efficiency.

Description

The method of input text and electronic equipment
Technical field
The present invention relates to computer network technical field, the method and the electronics that are specifically related to a kind of input text are establishedStandby.
Background technology
Existing electronic equipment, in the time carrying out text input, is subject in limited time at the display unit of described electronic equipmentThe such as equipment such as smart mobile phone, panel computer is all the inputs that complete text by calling system soft keyboard,And be subject in limited time at the display area of the display unit of described electronic equipment, it shows on described display unitSoft keyboard in the space that takies of each button less, make in the time carrying out a large amount of text inputs, itsNumber of keys in the software dish using is more, causes the time of its input longer, thereby has occurred workThe problem of inefficiency.
Summary of the invention
The embodiment of the present application, by a kind of method and electronic equipment of input text are provided, has solved existing skillIn art, the display unit of electronic equipment is limited or while carrying out the input of a large amount of texts, input time is long, and work is imitatedThe problem that rate is low, has realized shortening input time, the technique effect of increasing work efficiency.
According to one aspect of the present invention, a kind of method of input text is provided, be applied to electronic equipmentIn, described method comprises:
Obtain for the part picture in the first picture being presented on the display unit of described electronic equipmentChoose request;
Choose request according to described, from described the first picture, determine with described in choose and ask corresponding choosingPicture;
Picture, extract text data from described choosing;
Obtain and input text that input is corresponding with described text data.
Optionally, described in, obtain in the first picture being presented on the display unit of described electronic equipmentPart picture choose request, specifically comprise:
Show described the first picture on described display unit time, by the sensor on described display unitObtain the touch control operation for described the first picture;
According to described touch control operation, generate the choose request corresponding with described touch control operation.
Optionally, the acquisition methods of described the first picture specifically comprises:
From with in the local data base being connected described electronic equipment or with described electronic equipment, obtain describedOne picture.
Optionally, the acquisition methods of described the first picture specifically comprises:
Image unit by described electronic equipment is taken selected item, shooting is obtained secondPicture is as described the first picture.
Optionally, the described second picture that shooting is obtained, as described the first picture, specifically comprises:
Whether the precision that detects described second picture is not less than predetermined threshold value;
In the time that the precision of described second picture is not less than described predetermined threshold value, using described second picture as instituteState the first picture.
Optionally, the acquisition methods of described the first picture specifically comprises:
In the time that the precision that described second picture detected is less than described predetermined threshold value, adjust described image unitAcquisition parameters, by adjust after described acquisition parameters described selected item is taken, will takeThe 3rd picture obtaining is as described the first picture, wherein, and described in the precision of described the 3rd picture is not less thanPredetermined threshold value.
Optionally, described in obtain and input text that input is corresponding with described text data, specifically comprise:
The described text data obtaining is translated, using the described text data after translation as described defeatedEnter text input.
Optionally, described obtain and input text that input is corresponding with described text data after, described inMethod also comprises:
By search engine, described input text is searched for;
The Search Results corresponding with described input text that feedback search is arrived.
According to one aspect of the present invention, a kind of electronic equipment is provided, comprising:
Choose acquisition request unit, for obtaining for being presented on the display unit of described electronic equipmentPart picture in the first picture choose request;
Choose picture acquiring unit, choose request for described in basis, from described the first picture determine withThe described picture of choosing of choosing request correspondence;
Extraction unit, for extracting text data from the described picture of choosing;
Input block, for the input text obtaining and input is corresponding with described text data.
Optionally, described electronic equipment also comprises:
Touch control operation acquiring unit, for show described the first picture on described display unit time, passes throughSensor on described display unit obtains the touch control operation for described the first picture;
The described acquisition request unit of choosing, also, for according to described touch control operation, generates and described touch-control behaviourDo the corresponding request of choosing.
Optionally, described electronic equipment also comprises:
Picture acquiring unit, for this locality from being connected with described electronic equipment or with described electronic equipmentIn database, obtain described the first picture.
Optionally, described picture acquiring unit, also for the image unit by described electronic equipment to choosingMiddle article are taken, and the second picture that shooting is obtained is as described the first picture.
Optionally, described electronic equipment also comprises:
Whether detecting unit, be not less than predetermined threshold value for detection of the precision of described second picture;
Described picture acquiring unit, also for being not less than described predetermined threshold value in the precision of described second pictureTime, using described second picture as described the first picture.
Optionally, described picture acquiring unit, also for being less than in the precision that described second picture detectedWhen described predetermined threshold value, adjust the acquisition parameters of described image unit, by the described shooting ginseng after adjustingSeveral described selected item is taken, the 3rd picture that shooting is obtained is as described the first picture, itsIn, the precision of described the 3rd picture is not less than described predetermined threshold value.
Optionally, described input block, specifically for the described text data obtaining is translated, willDescribed text data after translation is inputted as described input text.
Optionally, described electronic equipment also comprises:
Search unit, for described obtain and input text that input is corresponding with described text data after,By search engine, described input text is searched for;
Feedback unit, the Search Results corresponding with described input text arriving for feedback search.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect orAdvantage:
According to the method for a kind of input text of the present invention and electronic equipment, by the present invention, first obtainPlease for choosing of the part picture in the first picture being presented on the display unit of described electronic equipmentAsk; Choose request according to described, from described the first picture, determine with described in choose and ask corresponding choosingPicture; Picture, extract text data from described choosing; Obtain and input corresponding with described text dataInput text; Hence one can see that, chooses request according to described, described in choosing, chooses from described the first picturePicture, then described in basis, choose picture to get described input text and input, input text described in itObtain by described the first picture, make in the time carrying out a large amount of text input, corresponding by obtainingPicture can complete text input, and without carry out text input with soft keyboard, so, canLimited or while carrying out a large amount of texts input at the display unit of existing electronic equipment, effectively shorten input time,Increase work efficiency.
Brief description of the drawings
By reading below detailed description of the preferred embodiment, various other advantage and benefit for thisIt is cheer and bright that field those of ordinary skill will become. Accompanying drawing is only for the object of preferred embodiment is shown,And do not think limitation of the present invention. And in whole accompanying drawing, represent by identical reference symbolIdentical parts. In the accompanying drawings:
Fig. 1 shows the flow chart of the method for input text according to an embodiment of the invention;
Fig. 2 shows and from the first picture, determines according to an embodiment of the invention the structure of choosing pictureFigure;
Fig. 3 shows the method flow diagram that obtains according to an embodiment of the invention the first picture;
Fig. 4 shows the structure chart of electronic equipment according to an embodiment of the invention.
Detailed description of the invention
The embodiment of the present application, by a kind of method and electronic equipment of input text are provided, has solved existing skillIn art, the display unit of electronic equipment is limited or while carrying out the input of a large amount of texts, input time is long, and work is imitatedThe problem that rate is low, has realized shortening input time, the technique effect of increasing work efficiency.
Exemplary embodiment of the present disclosure is described below with reference to accompanying drawings in more detail. Although show in accompanying drawingExemplary embodiment of the present disclosure, but should be appreciated that and can realize the disclosure and not with various formsThe embodiment that should be set forth here limits. On the contrary, providing these embodiment is for can be more thoroughlyUnderstand the disclosure, and can be by the those skilled in the art that conveys to complete the scope of the present disclosure.
Referring to Fig. 1, the method for a kind of input text that the embodiment of the present invention provides, is applied in electronic equipment,Comprise the following steps:
S101: obtain for the part in the first picture being presented on the display unit of described electronic equipmentPicture choose request;
S102: choose request according to described, from described the first picture, determine with described in choose ask correspondingChoose picture;
S103: choose request according to described, from described the first picture, determine with described in choose ask correspondingChoose picture;
S104: obtain and input text that input is corresponding with described text data.
Wherein, in step S101, before obtaining described the first picture, can be from establishing with described electronicsIn standby or in the local data base being connected with described electronic equipment, obtain described the first picture; First also can beDetermine a selected item; Image unit by described electronic equipment is taken described selected item,The second picture that shooting is obtained is as described the first picture.
Further, the electronic equipment in the application can be panel computer, notebook computer, intelligent handThe equipment such as machine, desktop computer, further, described image unit is specifically as follows camera, video cameraDeng photographing device.
In the present embodiment, in the first picture, include text data, and on the surface of described selected item alsoThere is text data.
In specific implementation process, in the time of execution step S101, can on described display unit, show instituteWhile stating the first picture, obtain the touch-control for described the first picture by the sensor on described display unitOperation; According to described touch control operation, generate the choose request corresponding with described touch control operation, described in chooseRequest is for choosing the part picture of described the first picture.
Sensor in the embodiment of the present invention can comprise capacitance type sensor, resistance sensor etc.,While showing described the first picture on described display unit, can get user in institute by described sensorState the touch control operation on display unit, according to described touch control operation, choose request described in generation.
Specifically,, after obtaining described touch control operation, can get use according to described touch control operationContact position on family and described display unit, chooses request described in generation.
For example, after getting picture B, picture B is presented on the touch screen of smart mobile phone A, thisTime obtain the touch control operation of user on described touch screen, the demonstration according to picture B on described touch screenThe contact position of position and described touch control operation and described touch screen, chooses request described in generation.
Specifically, in the time of this input of the enterprising style of writing of described electronic equipment, understand according to user's operation requests,From described electronic equipment or in described local data base, obtain described the first picture; Certainly, obtainingWhile stating the first picture, can also from internet or LAN, get described the first picture, the application is notDo concrete restriction.
Concrete, for example, taking smart mobile phone A as example, user, can be from intelligence in the time of operative intelligence mobile phone AIn local data base that can mobile phone A or be connected with smart mobile phone A, get picture b, in picture B, compriseThere is text data c, wherein, in text data c, include the input text of user's needs.
Again for example, while Showing Picture B on the touch screen of smart mobile phone A, want in picture B, to compriseWhen the part or all of text comprising in text data c is inputted as input text c1, by picture BAs described the first picture, so, can get fast described the first picture.
Specifically, can also be after getting described selected item, by described image unit to instituteState selected item and take, and get described the first picture, wherein, in described selected item, recordHave text data, the part or all of text comprising in the text data in described selected item can be used asDescribed input text.
For example, taking smart mobile phone A as example, user in the time leafing through magazine D, want by magazine D certainWhen partial content in one section of article or one section of article is inputted as input text, can be by intelligenceCamera in mobile phone A is taken the page that comprises described input text in magazine D, then obtainsTo the second picture that comprises described input text, using described second picture as described the first picture.
Again for example, taking smart mobile phone A as example, user, in the time leafing through magazine D, wants in magazine DWhen partial content in a certain section article or one section of article is inputted as input text, can pass through intelligenceCamera in energy mobile phone A is taken the page that comprises described input text in magazine D, then obtainsGet the second picture that comprises described input text as described the first picture, then smart mobile phone A'sThe first picture described in demonstration screen display.
Next perform step S102, in this step, choose request according to described, from described the first figureIn sheet, determine with described in choose and ask the corresponding picture of choosing.
In specific implementation process, after choosing request described in getting by step S101, Ke YicongIn described the first picture, determine with described in choose and ask the corresponding picture of choosing, described in choose described in picture isPart picture in the first picture, and described in choose and in picture, contain text data.
Specifically, after choosing request described in obtaining, choose operation according to described, can be by the timePrecedence gets the contact position of user and described display unit, by described contact position and describedThe display position of one Image Display on described display unit compared, described in obtaining according to comparison resultThe distribution of contact position in described display position according to this distribution, can be selected from described the first pictureDescribed in choose picture. Wherein, described distribution pattern can be an ellipse, can be also one longSquare, can certainly be irregular figure, can choose more accurately described input text to facilitate.
For example, while Showing Picture B on the touch screen of smart mobile phone A, want the literary composition comprising in picture BWhen the part or all of text comprising in notebook data c is inputted as input text c1, using picture B asDescribed the first picture, so, is presented at picture B on the touch screen of smart mobile phone A, at this moment obtains useThe touch control operation of family on described touch screen, according to described touch control operation, obtains user single in described demonstrationContact position in unit, by described contact position and picture B, the display position on described touch screen carries outComparison, obtains the distribution of described contact position in described display position according to comparison result, according to this pointCloth, chooses picture described in can choosing from picture B.
Again for example, referring to Fig. 2, on the touch screen 21 of smart mobile phone 20, show picture 22, wherein,In picture 22, there is text data, obtain user for picture 22 by the sensor on touch screen 21The touch control operation of part picture, according to described touch control operation, choose request described in generation, according to describedChoose request, from picture 22, determine with described in choose and ask the corresponding picture 23 of choosing.
Next perform step S103, in this step, picture, extract text data from described choosing.
In specific implementation process, after choosing picture described in getting by step S102, to describedChoose picture analysis, to extract described text data picture from described choosing.
For example, referring to Fig. 2, on the touch screen 21 of smart mobile phone 20, show picture 22, wherein,In picture 22, there is text data, obtain user for picture 22 by the sensor on touch screen 21The touch control operation of part picture, according to described touch control operation, choose request described in generation, according to describedChoose request, from picture 22, determine with described in choose the corresponding picture 23 of choosing of request, then analysisChoose picture 23, from choose picture 23, extract text data for " informationrelated ".
Next perform step S104, in this step, obtain and input corresponding with described text dataInput text.
In specific implementation process, after getting described text data, can be directly by described textData, as described input text, certainly, can be translated the described text data obtaining, and will turn overDescribed text data after translating is inputted as described input text.
Specifically, in the time that described text data is translated, according to the residing district of described electronic equipmentCountry and the language that uses of this country that described electronic equipment is corresponding determined in territory, at described text dataThe language that uses from this country of language when different, described text data is converted to this country and usesLanguage, for example, referring to Fig. 2, country corresponding to the region at smart mobile phone 20 places is China, and rightThe language of answering is Chinese, will choose in picture 23 and extract text data for " informationrelated "Convert to after Chinese as described input text.
In the present embodiment, in the time of the described input text of input, that can in described electronic equipment, install is clearLook in device and input described input text; Also can in described MSN, input described input text,Wherein, described MSN is for example the softwares such as QQ, micro-letter, and the application does not do concrete restriction.
In another embodiment, described obtain and input text that input is corresponding with described text data itAfter, described method also comprises: by search engine, described input text is searched for; Feedback search is arrivedThe Search Results corresponding with described input text.
In specific implementation process, input described input text in described browser after, by describedSearch plain engine and search for taking described input text as keyword, then by the described Search Results searchingFeed back, and then described Search Results is carried on described browser and is shown.
For example, referring to Fig. 2, on the touch screen 21 of smart mobile phone 20, show picture 22, wherein,In picture 22, there is text data, obtain user for picture 22 by the sensor on touch screen 21The touch control operation of part picture, according to described touch control operation, choose request described in generation, according to describedChoose request, from picture 22, determine with described in choose the corresponding picture 23 of choosing of request, then analysisChoose picture 23, from choose picture 23, extract text data for " informationrelated ", if instituteState input text as described text data, " informationrelated " is input to smart mobile phoneIn the search and webpage of 20 browser, by search engine, " informationrelated " searchedRope, and the Search Results searching is fed back to smart mobile phone 20, and described in showing on touch screen 21Search Results, so, can search the relevant information corresponding with described input text quickly and accurately.
In another embodiment, referring to Fig. 3, the described second picture that shooting is obtained is as described firstWhen picture, can also carry out following steps:
S301: whether the precision that detects described second picture is not less than predetermined threshold value;
S302: in the time that the precision of described second picture is not less than described predetermined threshold value, by described second pictureAs described the first picture.
S303: in the time that the precision that described second picture detected is less than described predetermined threshold value, take the photograph described in adjustmentThe acquisition parameters of picture unit, takes described selected item by the described acquisition parameters after adjusting,The 3rd picture that shooting is obtained is as described the first picture, and wherein, the precision of described the 3rd picture is not littleIn described predetermined threshold value.
In specific implementation process, at the second picture that shooting is obtained during as described the first picture, headWhether the precision that first detects described second picture is not less than described predetermined threshold value, wherein, and described second picturePrecision can be for example 300dpi, 700dpi etc., described predetermined threshold value is for example for being not less than 100dpiValue can be for example 100dpi, 120dpi, 150dpi etc.; First can obtain described second picturePrecision, then compares the precision of described second picture and described predetermined threshold value, thereby detects instituteWhether the precision of stating second picture is not less than described predetermined threshold value.
For example, taking smart mobile phone A as example, user in the time leafing through magazine D, want by magazine D certainWhen partial content in one section of article or one section of article is inputted as input text, can be by intelligenceCamera in mobile phone A is taken the page that comprises described input text in magazine D, then obtainsTo the second picture that comprises described input text, the precision of obtaining described second picture is for example 200dpi,If described predetermined threshold value is 150dpi, due to 200 > 150, judge that the precision of described second picture is greater thanDescribed predetermined threshold value; If described predetermined threshold value is 250dpi, due to 200 < 250, judge described secondThe precision of picture is less than described predetermined threshold value.
In the time that the precision of described second picture is not less than described predetermined threshold value, execution step S202, described in inciting somebody to actionSecond picture is as described the first picture.
In specific implementation process, in the time that the precision of described second picture is not less than described predetermined threshold value,The precision that shows described second picture meets the requirements, and makes extracting described input from described second pictureWhen text, can guarantee that the described input text extracting is clear, thereby make at the described input text of inputTime can guarantee the accuracy of described input text.
For example, taking smart mobile phone A as example, user in the time leafing through magazine D, want by magazine D certainWhen partial content in one section of article or one section of article is inputted as input text, can be by intelligenceCamera in mobile phone A is taken the page that comprises described input text in magazine D, then obtainsTo the second picture that comprises described input text, the precision of obtaining described second picture is for example 200dpi,If described predetermined threshold value is 150dpi, due to 200 > 150, judge that the precision of described second picture is greater thanDescribed predetermined threshold value, using described second picture as described the first picture.
In the time that the precision that described second picture detected is less than described predetermined threshold value, execution step S303, adjustsThe acquisition parameters of whole described image unit, enters described selected item by the described acquisition parameters after adjustingRow is taken, and the 3rd picture that shooting is obtained is as described the first picture, wherein, and described the 3rd picturePrecision is not less than described predetermined threshold value.
In specific implementation process, in the time that the precision that described second picture detected is less than described predetermined threshold value,Optimize the acquisition parameters of described image unit, make by the acquisition parameters after optimizing described selected itemTake and the precision of the 3rd picture that obtains is not less than described predetermined threshold value, and using described the 3rd picture asDescribed the first picture, so, makes the precision that gets described the first picture be not less than described predetermined threshold value,Make extract described input text from described the first picture time, can effectively guarantee the described defeated of extractionEnter the definition of text, the accuracy of described input text is improved.
Specifically, in the time adjusting the acquisition parameters of described image unit, can be by optimizing described shootingThe exposal model of unit, adjusts the methods such as microspur parameter and adjusts acquisition parameters, to make the bat after optimizationTake the photograph parameter and take the better quality of described the 3rd picture obtaining.
For example, taking smart mobile phone A as example, user in the time leafing through magazine D, want by magazine D certainWhen partial content in one section of article or one section of article is inputted as input text, can be by intelligenceCamera in mobile phone A is taken the page that comprises described input text in magazine D, then obtainsTo the second picture that comprises described input text, the precision of obtaining described second picture is for example 200dpi,If described predetermined threshold value is 250dpi, due to 200 < 250, judge that the precision of described second picture is less thanDescribed predetermined threshold value, so, is optimized the exposal model of smart mobile phone A, and adjusts microspur parameter,And then the page that comprises described input text in magazine D is taken and obtained the 3rd picture, instituteThe precision of stating the 3rd picture is not less than 250dpi, for example, can be 300dpi, 320dpi equivalence, and by instituteState the 3rd picture as described the first picture.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect orAdvantage:
According to the method for a kind of input text of the present invention and electronic equipment, by the present invention, first obtainPlease for choosing of the part picture in the first picture being presented on the display unit of described electronic equipmentAsk; Choose request according to described, from described the first picture, determine with described in choose and ask corresponding choosingPicture; Picture, extract text data from described choosing; Obtain and input corresponding with described text dataInput text; Hence one can see that, chooses request according to described, described in choosing, chooses from described the first picturePicture, then described in basis, choose picture to get described input text and input, input text described in itObtain by described the first picture, make in the time carrying out a large amount of text input, corresponding by obtainingPicture can complete text input, and without carry out text input with soft keyboard, so, canLimited or while carrying out a large amount of texts input at the display unit of existing electronic equipment, effectively shorten input time,Increase work efficiency.
Based on the technical conceive similar to said method, the application another embodiment also provide a kind of electronicsEquipment, referring to Fig. 4, described electronic equipment comprises:
Choose acquisition request unit 401, for obtaining for the display unit that is presented at described electronic equipmentOn the first picture in part picture choose request;
Choose picture acquiring unit 402, choose request for described in basis, true from described the first pictureFixed with described in choose and ask the corresponding picture of choosing;
Extraction unit 403, for extracting text data from the described picture of choosing;
Input block 404, for the input text obtaining and input is corresponding with described text data.
Concrete, described electronic equipment also comprises:
Touch control operation acquiring unit, for show described the first picture on described display unit time, passes throughSensor on described display unit obtains the touch control operation for described the first picture;
Choose acquisition request unit 401, also, for according to described touch control operation, generate and described touch-control behaviourDo the corresponding request of choosing.
Concrete, described electronic equipment also comprises:
Picture acquiring unit, for this locality from being connected with described electronic equipment or with described electronic equipmentIn database, obtain described the first picture.
Concrete, described picture acquiring unit, also for the image unit by described electronic equipment to choosingMiddle article are taken, and the second picture that shooting is obtained is as described the first picture.
Concrete, described electronic equipment also comprises:
Whether detecting unit, be not less than predetermined threshold value for detection of the precision of described second picture;
Described picture acquiring unit, also for being not less than described predetermined threshold value in the precision of described second pictureTime, using described second picture as described the first picture.
Concrete, described picture acquiring unit, also for being less than in the precision that described second picture detectedWhen described predetermined threshold value, adjust the acquisition parameters of described image unit, by the described shooting ginseng after adjustingSeveral described selected item is taken, the 3rd picture that shooting is obtained is as described the first picture, itsIn, the precision of described the 3rd picture is not less than described predetermined threshold value.
Concrete, input block 404, specifically for the described text data obtaining is translated, willDescribed text data after translation is inputted as described input text.
Concrete, described electronic equipment also comprises:
Search unit, for described obtain and input text that input is corresponding with described text data after,By search engine, described input text is searched for;
Feedback unit, the Search Results corresponding with described input text arriving for feedback search.
The one or more technical schemes that provide in the embodiment of the present application, at least have following technique effect orAdvantage:
According to the method for a kind of input text of the present invention and electronic equipment, by the present invention, first obtainPlease for choosing of the part picture in the first picture being presented on the display unit of described electronic equipmentAsk; Choose request according to described, from described the first picture, determine with described in choose and ask corresponding choosingPicture; Picture, extract text data from described choosing; Obtain and input corresponding with described text dataInput text; Hence one can see that, chooses request according to described, described in choosing, chooses from described the first picturePicture, then described in basis, choose picture to get described input text and input, input text described in itObtain by described the first picture, make in the time carrying out a large amount of text input, corresponding by obtainingPicture can complete text input, and without carry out text input with soft keyboard, so, canLimited or while carrying out a large amount of texts input at the display unit of existing electronic equipment, effectively shorten input time,Increase work efficiency.
The algorithm providing at this and demonstration are solid with any certain computer, virtual system or miscellaneous equipmentHave relevant. Various general-purpose systems also can with based on using together with this teaching. According to description above,It is apparent constructing the desired structure of this type systematic. In addition, the present invention is not also for any specificProgramming language. It should be understood that and can utilize various programming languages to realize content of the present invention described here,And the description of above language-specific being done is in order to disclose preferred forms of the present invention.
In the description that provided herein, a large amount of details are described. But, can understand the present inventionEmbodiment can in the situation that there is no these details, put into practice. In some instances, not detailedKnown method, structure and technology are shown, so that not fuzzy understanding of this description.
Similarly, should be appreciated that in order to simplify the disclosure and to help to understand in each inventive aspectOr multiple, in the above in the description of exemplary embodiment of the present invention, each feature of the present invention is sometimesBe grouped together into single embodiment, figure or in its description. But, should be by the disclosureMethod be construed to the following intention of reflection: the present invention for required protection requires than in each claimThe more feature of the middle feature of clearly recording. Or rather, as claims below reflectLike that, inventive aspect is to be less than all features of disclosed single embodiment above. Therefore, followClaims of detailed description of the invention are incorporated to this detailed description of the invention, wherein each right thus clearlyRequirement itself is all as independent embodiment of the present invention.
Those skilled in the art are appreciated that and can carry out certainly the module in the equipment in embodimentChange adaptively and they are arranged in one or more equipment different from this embodiment. CanModule in embodiment or unit or assembly are combined into a module or unit or assembly, and in addition canTo put them into multiple submodules or subelement or sub-component. Except such feature and/or process orAt least some in unit are, outside mutually repelling, can adopt any combination (to comprise companion to this descriptionWith claim, summary and accompanying drawing) in disclosed all features and so disclosed any method orAll processes or the unit of person's equipment combine. Unless clearly statement in addition, this description (comprises companionWith claim, summary and accompanying drawing) in disclosed each feature can be by providing identical, being equal to or phaseAlternative features like object replaces.
In addition, although those skilled in the art will appreciate that embodiment more described herein comprise itIncluded some feature instead of further feature in its embodiment, but the group of the feature of different embodimentClose and mean within scope of the present invention and form different embodiment. For example, power belowIn profit claim, the one of any of embodiment required for protection can make with combination arbitrarilyWith.
All parts embodiment of the present invention can realize with hardware, or with in one or more processingThe software module of moving on device realizes, or realizes with their combination. Those skilled in the art shouldUnderstand, can use in practice microprocessor or digital signal processor (DSP) to realize basisThe some or all functions of the some or all parts in the management equipment of the embodiment of the present invention. ThisBright part or all equipment or the dress that can also be embodied as for carrying out method as described hereinPut program (for example, computer program and computer program). Like this realize program of the present inventionCan be stored on computer-readable medium, or can there is the form of one or more signal. ThisThe signal of sample can be downloaded and obtain from internet website, or provides on carrier signal, or to appointWhat his form provides.
It should be noted above-described embodiment the present invention will be described instead of limit the invention,And those skilled in the art can design and replace in fact in the case of not departing from the scope of claimsExecute example. In the claims, any reference symbol between bracket should be configured to right to wantThe restriction of asking. Word " comprises " not to be got rid of existence and is not listed as element or step in the claims. Be positioned at unitWord " one " before part or " one " do not get rid of and have multiple such elements. The present invention can be by means ofInclude the hardware of some different elements and realize by means of the computer of suitably programming. EnumeratingIn the unit claim of some devices, several in these devices can be by same hardware branchCarry out imbody. The use of word first, second and C grade does not represent any order. Can be by thisA little word explanations are title.
A kind of method of the open A1 of the present invention, input text, is applied in electronic equipment, it is characterized in that,Described method comprises:
Obtain for the part picture in the first picture being presented on the display unit of described electronic equipmentChoose request;
Choose request according to described, from described the first picture, determine with described in choose and ask corresponding choosingPicture;
Picture, extract text data from described choosing;
Obtain and input text that input is corresponding with described text data.
A2, as described in the A1 method, it is characterized in that, described in obtain for being presented at described electronic equipmentPart picture in the first picture on display unit choose request, specifically comprise:
Show described the first picture on described display unit time, by the sensor on described display unitObtain the touch control operation for described the first picture;
According to described touch control operation, generate the choose request corresponding with described touch control operation.
A3, method as described in A2, is characterized in that, the acquisition methods of described the first picture specifically comprises:
From with in the local data base being connected described electronic equipment or with described electronic equipment, obtain describedOne picture.
A4, method as described in A2, is characterized in that, the acquisition methods of described the first picture specifically comprises:
Image unit by described electronic equipment is taken selected item, shooting is obtained secondPicture is as described the first picture.
A5, method as described in A4, is characterized in that, the described second picture that shooting is obtained is as instituteState the first picture, specifically comprise:
Whether the precision that detects described second picture is not less than predetermined threshold value;
In the time that the precision of described second picture is not less than described predetermined threshold value, using described second picture as instituteState the first picture.
A6, method as described in A5, is characterized in that, the acquisition methods of described the first picture specifically comprises:
In the time that the precision that described second picture detected is less than described predetermined threshold value, adjust described image unitAcquisition parameters, by adjust after described acquisition parameters described selected item is taken, will takeThe 3rd picture obtaining is as described the first picture, wherein, and described in the precision of described the 3rd picture is not less thanPredetermined threshold value.
A7, method as described in A1~A6 any one, is characterized in that, described in obtain and input with described inThe input text that text data is corresponding, specifically comprises:
The described text data obtaining is translated, using the described text data after translation as described defeatedEnter text input.
A8, method as described in A1~A6 any one, is characterized in that, obtains and input and institute describedAfter stating the input text that text data is corresponding, described method also comprises:
By search engine, described input text is searched for;
The Search Results corresponding with described input text that feedback search is arrived.
B9, a kind of electronic equipment, is characterized in that, comprising:
Choose acquisition request unit, for obtaining for being presented on the display unit of described electronic equipmentPart picture in the first picture choose request;
Choose picture acquiring unit, choose request for described in basis, from described the first picture determine withThe described picture of choosing of choosing request correspondence;
Extraction unit, for extracting text data from the described picture of choosing;
Input block, for the input text obtaining and input is corresponding with described text data.
B10, electronic equipment as described in B9, is characterized in that, described electronic equipment also comprises:
Touch control operation acquiring unit, for show described the first picture on described display unit time, passes throughSensor on described display unit obtains the touch control operation for described the first picture;
The described acquisition request unit of choosing, also, for according to described touch control operation, generates and described touch-control behaviourDo the corresponding request of choosing.
B11, electronic equipment as described in B10, is characterized in that, described electronic equipment also comprises:
Picture acquiring unit, for this locality from being connected with described electronic equipment or with described electronic equipmentIn database, obtain described the first picture.
B12, electronic equipment as described in B11, is characterized in that, described picture acquiring unit, also usesIn the image unit by described electronic equipment, selected item is taken the second figure that shooting is obtainedSheet is as described the first picture.
B13, electronic equipment as described in B12, is characterized in that, described electronic equipment also comprises:
Whether detecting unit, be not less than predetermined threshold value for detection of the precision of described second picture;
Described picture acquiring unit, also for being not less than described predetermined threshold value in the precision of described second pictureTime, using described second picture as described the first picture.
B14, electronic equipment as described in B13, is characterized in that, described picture acquiring unit, also usesIn in the time that the precision that described second picture detected is less than described predetermined threshold value, adjust described image unitAcquisition parameters, takes described selected item by the described acquisition parameters after adjusting, will takeThe 3rd picture arriving is as described the first picture, and wherein, the precision of described the 3rd picture is not less than described pre-If threshold value.
B15, electronic equipment as described in B9~B14 any one, is characterized in that, described input block,Specifically for the described text data obtaining is translated, using the described text data after translation as instituteState input text input.
B16, electronic equipment as described in B9~B14 any one, is characterized in that described electronic equipmentAlso comprise:
Search unit, for described obtain and input text that input is corresponding with described text data after,By search engine, described input text is searched for;
Feedback unit, the Search Results corresponding with described input text arriving for feedback search.

Claims (10)

1. a method for input text, is applied in electronic equipment, it is characterized in that, described method bagDraw together:
Obtain for the part picture in the first picture being presented on the display unit of described electronic equipmentChoose request;
Choose request according to described, from described the first picture, determine with described in choose and ask the corresponding figure that choosesSheet;
Picture, extract text data from described choosing;
Obtain and input text that input is corresponding with described text data.
2. method as claimed in claim 1, is characterized in that, described in obtain for being presented at described electronicsPart picture in the first picture on the display unit of equipment choose request, specifically comprise:
Show described the first picture on described display unit time, obtain by the sensor on described display unitGet the touch control operation for described the first picture;
According to described touch control operation, generate the choose request corresponding with described touch control operation.
3. method as claimed in claim 2, is characterized in that, the acquisition methods tool of described the first pictureBody comprises:
From with in the local data base being connected described electronic equipment or with described electronic equipment, obtain describedOne picture.
4. method as claimed in claim 2, is characterized in that, the acquisition methods tool of described the first pictureBody comprises:
Image unit by described electronic equipment is taken selected item, the second figure that shooting is obtainedSheet is as described the first picture.
5. method as claimed in claim 4, is characterized in that, the described second picture that shooting is obtainedAs described the first picture, specifically comprise:
Whether the precision that detects described second picture is not less than predetermined threshold value;
In the time that the precision of described second picture is not less than described predetermined threshold value, using described second picture as describedThe first picture.
6. method as claimed in claim 5, is characterized in that, the acquisition methods tool of described the first pictureBody comprises:
When the precision that described second picture detected is less than described predetermined threshold value, adjust described image unitAcquisition parameters, takes described selected item by the described acquisition parameters after adjusting, and shooting is obtainedThe 3rd picture as described the first picture, wherein, the precision of described the 3rd picture is not less than described default thresholdValue.
7. the method as described in claim 1~6 any one, is characterized in that, described in obtain and input withThe input text that described text data is corresponding, specifically comprises:
The described text data obtaining is translated, using the described text data after translation as described inputText is inputted.
8. the method as described in claim 1~6 any one, is characterized in that, obtains and inputs describedAfter the input text corresponding with described text data, described method also comprises:
By search engine, described input text is searched for;
The Search Results corresponding with described input text that feedback search is arrived.
9. an electronic equipment, is characterized in that, comprising:
Choose acquisition request unit, for obtaining for being presented on the display unit of described electronic equipmentPart picture in one picture choose request;
Choose picture acquiring unit, choose request for described in basis, from described the first picture, determine and instituteState the picture of choosing of choosing request correspondence;
Extraction unit, for extracting text data from the described picture of choosing;
Input block, for the input text obtaining and input is corresponding with described text data.
10. electronic equipment as claimed in claim 9, is characterized in that, described electronic equipment also comprises:
Touch control operation acquiring unit, when showing described the first picture, by institute on described display unitThe sensor of stating on display unit obtains the touch control operation for described the first picture;
The described acquisition request unit of choosing, also, for according to described touch control operation, generates and described touch control operationCorresponding choose request.
CN201510959068.7A 2015-12-18 2015-12-18 Text input method and electronic device Pending CN105607852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510959068.7A CN105607852A (en) 2015-12-18 2015-12-18 Text input method and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510959068.7A CN105607852A (en) 2015-12-18 2015-12-18 Text input method and electronic device

Publications (1)

Publication Number Publication Date
CN105607852A true CN105607852A (en) 2016-05-25

Family

ID=55987820

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510959068.7A Pending CN105607852A (en) 2015-12-18 2015-12-18 Text input method and electronic device

Country Status (1)

Country Link
CN (1) CN105607852A (en)

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551860A (en) * 2008-03-31 2009-10-07 联想(北京)有限公司 Portable device and character recognizing and translating method thereof
CN101620595A (en) * 2009-08-11 2010-01-06 上海合合信息科技发展有限公司 Method and system for translating text of electronic equipment
CN101702154A (en) * 2008-07-10 2010-05-05 三星电子株式会社 Method of character recongnition and translation based on camera image
CN102201051A (en) * 2010-03-25 2011-09-28 汉王科技股份有限公司 Text excerpting device, method and system
CN102737238A (en) * 2011-04-01 2012-10-17 洛阳磊石软件科技有限公司 Gesture motion-based character recognition system and character recognition method, and application thereof
US8380485B1 (en) * 2009-08-13 2013-02-19 The United States Of America As Represented By The Director, National Security Agency Device for and method of language processing
CN103020184A (en) * 2012-11-29 2013-04-03 北京百度网讯科技有限公司 Method and system utilizing shot images to obtain search results
CN103294665A (en) * 2012-02-22 2013-09-11 汉王科技股份有限公司 Text translation method for electronic reader and electronic reader
CN103914539A (en) * 2014-04-01 2014-07-09 百度在线网络技术(北京)有限公司 Information search method and device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101551860A (en) * 2008-03-31 2009-10-07 联想(北京)有限公司 Portable device and character recognizing and translating method thereof
CN101702154A (en) * 2008-07-10 2010-05-05 三星电子株式会社 Method of character recongnition and translation based on camera image
CN101620595A (en) * 2009-08-11 2010-01-06 上海合合信息科技发展有限公司 Method and system for translating text of electronic equipment
US8380485B1 (en) * 2009-08-13 2013-02-19 The United States Of America As Represented By The Director, National Security Agency Device for and method of language processing
CN102201051A (en) * 2010-03-25 2011-09-28 汉王科技股份有限公司 Text excerpting device, method and system
CN102737238A (en) * 2011-04-01 2012-10-17 洛阳磊石软件科技有限公司 Gesture motion-based character recognition system and character recognition method, and application thereof
CN103294665A (en) * 2012-02-22 2013-09-11 汉王科技股份有限公司 Text translation method for electronic reader and electronic reader
CN103020184A (en) * 2012-11-29 2013-04-03 北京百度网讯科技有限公司 Method and system utilizing shot images to obtain search results
CN103914539A (en) * 2014-04-01 2014-07-09 百度在线网络技术(北京)有限公司 Information search method and device

Similar Documents

Publication Publication Date Title
US10156981B2 (en) User-centric soft keyboard predictive technologies
CN102368262B (en) Method and equipment for providing searching suggestions corresponding to query sequence
CN105933538A (en) Video finding method for mobile terminal and mobile terminal
CN103324674B (en) Web page contents choosing method and device
CN103631889B (en) Image recognizing method and device
CN103678704A (en) Picture recognition method, system, equipment and device based on picture information
CN104142991A (en) Search method, search client and electronic equipment
CN106257378A (en) A kind of emoticon input method and device
CN106294549A (en) A kind of image processing method and terminal
CN113596601A (en) Video picture positioning method, related device, equipment and storage medium
CN103678706A (en) Picture recognition method, system, equipment and device based on screenshot information
CN106919593B (en) Searching method and device
CN103631796A (en) Website sort management method and electronic device
CN113869063A (en) Data recommendation method and device, electronic equipment and storage medium
CN106095128A (en) The character input method of a kind of mobile terminal and mobile terminal
CN111666417B (en) Method, device, electronic equipment and readable storage medium for generating synonyms
CN102314223B (en) A kind of method and apparatus carrying out adaptive input in non-input scene for user
CN102591851B (en) A kind of method and apparatus for editing target text based on keyboard
CN106970848A (en) Input control method, device and electronic equipment
CN106970899A (en) A kind of text handling method and device
CN105607852A (en) Text input method and electronic device
KR20150135059A (en) Method for Searching and Device Thereof
CN104123378A (en) Information processing method and electronic device
JP2014238808A (en) Translation system, translation program, and translation method
JP6618103B1 (en) Sentence generating apparatus, sentence generating method, and sentence generating program

Legal Events

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

Application publication date: 20160525

RJ01 Rejection of invention patent application after publication