CN104881146A - Picture input method - Google Patents

Picture input method Download PDF

Info

Publication number
CN104881146A
CN104881146A CN201510205409.1A CN201510205409A CN104881146A CN 104881146 A CN104881146 A CN 104881146A CN 201510205409 A CN201510205409 A CN 201510205409A CN 104881146 A CN104881146 A CN 104881146A
Authority
CN
China
Prior art keywords
picture
phonetic
mapping table
word
input method
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
CN201510205409.1A
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 Mei Miao Science And Technology Ltd
Original Assignee
Beijing Mei Miao Science And Technology 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 Mei Miao Science And Technology Ltd filed Critical Beijing Mei Miao Science And Technology Ltd
Priority to CN201510205409.1A priority Critical patent/CN104881146A/en
Publication of CN104881146A publication Critical patent/CN104881146A/en
Pending legal-status Critical Current

Links

Abstract

The invention discloses a picture input method and relates to the field of input methods. In order to solve the problem that an existing picture input process is complicated and input efficiency is low in the prior art, the picture input method includes steps of S10, receiving written messages inputted by users; S20, converting the written messages into corresponding pinyin to obtain pin strings; S30, acquiring pictures corresponding to the pinyin string according the preset pinyin-picture mapping table; S40, displaying the pictures corresponding to the pinyin strings.

Description

Picture input method
Technical field
The present invention relates to input method field, particularly relate to a kind of picture input method.
Background technology
User, in the process of input characters, if want to insert the contents such as corresponding expression, picture, after needing on the word before foregoing screen, then selects to want the animated content inputted to carry out upper screen in the relevant plug-in unit entering foregoing; This input process is comparatively loaded down with trivial details, causes input efficiency lower.
Summary of the invention
The invention provides a kind of picture input method, simplify the process of input picture, improve input efficiency.
Technical solution problem of the present invention adopts following technical scheme: the embodiment of the present invention provides a kind of picture input method, comprising: the Word message of S10, reception user input; S20, described Word message is converted to corresponding phonetic, obtains pinyin string; S30, basis are preset phonetic-picture mapping table and are obtained picture corresponding to described pinyin string; S40, show picture corresponding to described pinyin string.
Optionally, the picture input method that the embodiment of the present invention provides, before described S20, also comprises:
Word-phonetic mapping table is preset in S11, acquisition;
Described S20, comprising: according to described word-phonetic mapping table, described Word message is converted to corresponding phonetic.
Optionally, in the picture input method that the embodiment of the present invention provides, described S20, comprising: S201, split one by one by all words in described Word message, obtains at least one independently word; S202, respectively by described at least one independently text conversion be corresponding phonetic, obtain pinyin string;
Described S30, comprising: obtain picture corresponding to the phonetic of each independently word in described pinyin string according to default phonetic-picture mapping table.
Optionally, the picture input method that the embodiment of the present invention provides, before described S201, also comprises: S200, judge whether comprise word in described Word message; If do not comprised, perform described S201; If comprised, perform S203; S203, obtain in described Word message all words comprised; S204, the word in described Word message except this all word to be split one by one, obtain independently word; S205, respectively by all words comprised in described Word message and independently text conversion be corresponding phonetic, obtain pinyin string;
Described S30, comprising: obtain picture corresponding to the phonetic of all words in described pinyin string and independently word according to default phonetic-picture mapping table.
Optionally, the picture input method that the embodiment of the present invention provides, before described S30, also comprises:
Picture library and phonetic storehouse are preset in S21, acquisition;
The phonetic picture of S22, reception user input maps instruction;
S23, according to described mapping instruction, the phonetic in the picture in described picture library and phonetic storehouse is set up mapping relations, store after obtaining phonetic-picture mapping table.
Optionally, the picture input method that the embodiment of the present invention provides, phonetic and picture one_to_one corresponding in described phonetic-picture mapping table; And/or
The corresponding picture of multiple phonetic in described phonetic-picture mapping table; And/or
A corresponding multiple picture of phonetic in described phonetic-picture mapping table; And/or
The corresponding multiple picture of multiple phonetic in described phonetic-picture mapping table.
Optionally, the picture input method that the embodiment of the present invention provides, also comprises:
The renewal instruction of the described phonetic-picture mapping table of S50, reception user input;
S60, upgrade described phonetic-picture mapping table according to described renewal instruction.
Optionally, in the picture input method that the embodiment of the present invention provides, described S60, comprising:
In described phonetic-picture mapping table, phonetic picture mapping relations are increased according to described renewal instruction; Or,
In described phonetic-picture mapping table, phonetic picture mapping relations are deleted according to described renewal instruction; Or,
In described phonetic-picture mapping table, phonetic picture mapping relations are revised according to described renewal instruction.
Optionally, the picture input method that the embodiment of the present invention provides, also comprises:
The amendment instruction of the picture that the described pinyin string that S70, reception user input is corresponding;
S80, the picture corresponding according to the described pinyin string of described amendment instruction amendment, obtain amended picture.
The present invention has following beneficial effect: by Word message being converted to corresponding phonetic, and show after obtaining picture corresponding to phonetic, thus realizes picture input.Because when realizing picture input, user only needs inputting word information, therefore the technical scheme that provides of the embodiment of the present invention, solves input process in prior art comparatively loaded down with trivial details, causes the problem that input efficiency is lower.
Accompanying drawing explanation
The process flow diagram of the picture input method that Fig. 1 provides for the embodiment of the present invention 1;
The process flow diagram of the picture input method that Fig. 2 provides for the embodiment of the present invention 2;
The process flow diagram of the picture input method that Fig. 3 provides for the embodiment of the present invention 3;
The process flow diagram of the picture input method that Fig. 4 provides for the embodiment of the present invention 4;
The process flow diagram of the picture input method that Fig. 5 provides for the embodiment of the present invention 5.
Embodiment
Below in conjunction with embodiment and accompanying drawing, technical scheme of the present invention is further elaborated.
Embodiment 1
As shown in Figure 1, the embodiment of the present invention provides a kind of picture input method, comprising:
Step 101, receives the Word message of user's input.
Step 102, is converted to corresponding phonetic, obtains pinyin string by this Word message.
In the present embodiment, Word message can be converted to corresponding phonetic by presetting word-phonetic mapping table by step 102; Also by presetting dictionary, Word message can be converted to corresponding phonetic, this is not restricted.In order to Word message being converted to corresponding phonetic, and phonetic being split, to obtain corresponding picture, all words in Word message can be split one by one, also all Text segmentations in Word message can be become the form of word and single word; Concrete, step 102 can comprise: split one by one by all words in Word message, obtains at least one independently word; Respectively by this at least one independently text conversion be corresponding phonetic, obtain pinyin string.Especially, this step 102 can also comprise: judge whether comprise word in Word message; If do not comprised, perform above-mentioned segmentation one by one and text conversion operation; If comprised, obtain all words comprised in Word message; Word in Word message except this all word is split one by one, obtains independently word; Respectively by all words comprised in Word message and independently text conversion be corresponding phonetic, obtain pinyin string.Wherein, after Word message is split, can mark the position of segmentation.
Step 103, obtains picture corresponding to pinyin string according to default phonetic-picture mapping table.
In the present embodiment, when being split one by one by Word message by step 102, step 103 is the picture corresponding according to the phonetic presetting each independently word in phonetic-picture mapping table acquisition pinyin string; When by step 102 all Text segmentations in Word message being become the form of word and single word, step 103 is obtain picture corresponding to the phonetic of all words in pinyin string and independently word according to presetting phonetic-picture mapping table.
In the present embodiment, phonetic and picture one_to_one corresponding in phonetic-picture mapping table is preset in step 103; And/or the corresponding picture of multiple phonetic in phonetic-picture mapping table; And/or a corresponding multiple picture of phonetic in phonetic-picture mapping table; And/or the corresponding multiple picture of multiple phonetic in described phonetic-picture mapping table.
Step 104, the picture that display pinyin string is corresponding.
In the present embodiment, after obtaining picture corresponding to pinyin string by step 103, by the picture that step 104 order display pinyin string is corresponding, thus realize picture input.
The present invention has following beneficial effect: by Word message being converted to corresponding phonetic, and show after obtaining picture corresponding to phonetic, thus realizes picture input.Because when realizing picture input, user only needs inputting word information, therefore the technical scheme that provides of the embodiment of the present invention, solves input process in prior art comparatively loaded down with trivial details, causes the problem that input efficiency is lower.
Embodiment 2
As shown in Figure 2, the picture input method that the embodiment of the present invention provides, comprising:
Step 201, receives the Word message of user's input.This step 101 shown in process to Fig. 1 is similar, and this is no longer going to repeat them.
Step 202, obtains and presets word-phonetic mapping table.
In the present embodiment, in step 202, word-phonetic mapping table can be generated by following process: obtain the phonetic that all words are corresponding, the set of composition phonetic; Phonetic in phonetic set is carried out duplicate removal process, and retains and the associating of original text word; Word-phonetic mapping table is set up with associating of original text word according to the phonetic after duplicate removal.
Step 203, is converted to corresponding phonetic according to this word-phonetic mapping table by Word message, obtains pinyin string.This step 102 shown in process to Fig. 1 is similar, and this is no longer going to repeat them.
Step 204, to step 205, obtains picture corresponding to pinyin string and shows.This step 103 shown in process to Fig. 1 is similar to step 104, and this is no longer going to repeat them.
In the present embodiment, the process obtaining word-phonetic mapping table can be carried out between step 201 to step 203, as shown in Figure 2; This process also can be carried out before step 201, similar to shown in Fig. 2, and this is no longer going to repeat them.
The present invention has following beneficial effect: by Word message being converted to corresponding phonetic, and show after obtaining picture corresponding to phonetic, thus realizes picture input.Because when realizing picture input, user only needs inputting word information, therefore the technical scheme that provides of the embodiment of the present invention, solves input process in prior art comparatively loaded down with trivial details, causes the problem that input efficiency is lower.
Embodiment 3
As shown in Figure 3, the embodiment of the present invention provides a kind of picture input method, comprising:
Step 301, to step 302, receives Word message and Word message is converted to corresponding phonetic.This step 101 shown in process to Fig. 1 is similar with step 102.Especially, when Word message is converted to phonetic, can also obtain default word-phonetic mapping table, similar to shown in Fig. 2, this is no longer going to repeat them.
Step 303, obtains and presets phonetic storehouse and picture library.
In the present embodiment, user input Pinyin storehouse and/or picture library can upgrade instruction, to upgrade the phonetic in phonetic storehouse and/or the picture in picture library; This renewal can be deletion, interpolation, amendment etc. to the phonetic in phonetic storehouse and/or the picture in picture library, and this is not restricted.
Step 304, the phonetic picture receiving user's input maps instruction.
In the present embodiment, in step 304, phonetic picture mapping instruction is used to indicate the mapping relations setting up phonetic and picture.
Step 305, sets up mapping relations according to this mapping instruction by the phonetic in the picture in picture library and phonetic storehouse, stores after obtaining phonetic-picture mapping table.
Step 306, to step 307, obtains picture corresponding to pinyin string according to phonetic-picture mapping table and shows.This step 103 shown in process to Fig. 1 is similar to step 104, and this is no longer going to repeat them.
The present invention has following beneficial effect: by Word message being converted to corresponding phonetic, and show after obtaining picture corresponding to phonetic, thus realizes picture input.Because when realizing picture input, user only needs inputting word information, therefore the technical scheme that provides of the embodiment of the present invention, solves input process in prior art comparatively loaded down with trivial details, causes the problem that input efficiency is lower.
Embodiment 4
As shown in Figure 4, the picture input method that the embodiment of the present invention provides, similar shown in the method to Fig. 1, difference is, also comprises:
Step 105, receives the renewal instruction of the phonetic-picture mapping table of user's input.
In the present embodiment, the renewal instruction in step 105, can be the instruction such as increase, deletion, amendment of the mapping relations in phonetic-picture mapping table, this is no longer going to repeat them.
Step 106, upgrades phonetic-picture mapping table according to this renewal instruction.
Concrete, can be comprised according to the process upgrading instruction renewal phonetic-picture mapping table by step 106: in described phonetic-picture mapping table, increase phonetic picture mapping relations according to described renewal instruction; Or, in described phonetic-picture mapping table, delete phonetic picture mapping relations according to described renewal instruction; Or, in described phonetic-picture mapping table, revise phonetic picture mapping relations according to described renewal instruction.
The present invention has following beneficial effect: by Word message being converted to corresponding phonetic, and show after obtaining picture corresponding to phonetic, thus realizes picture input.Because when realizing picture input, user only needs inputting word information, therefore the technical scheme that provides of the embodiment of the present invention, solves input process in prior art comparatively loaded down with trivial details, causes the problem that input efficiency is lower.
Embodiment 5
As shown in Figure 5, the picture input method that the embodiment of the present invention provides, similar shown in the method to Fig. 1, difference is, also comprises:
Step 107, the amendment instruction of the picture that the pinyin string that reception user inputs is corresponding.
In the present embodiment, because multiple phonetic can be corresponding with multiple picture, when therefore being shown by step 103, the most frequently used picture of user or colony can be shown, to be user-friendly to.When the picture needed for the picture shown and user is not inconsistent, user can choose a picture from multiple pictures corresponding to multiple phonetic, also from the picture library storing all pictures, picture can be chosen arbitrarily, thus generating pictures amendment instruction, this is no longer going to repeat them.
Step 108, the picture corresponding according to this amendment instruction amendment pinyin string, obtains amended picture.
The present invention has following beneficial effect: by Word message being converted to corresponding phonetic, and show after obtaining picture corresponding to phonetic, thus realizes picture input.Because when realizing picture input, user only needs inputting word information, therefore the technical scheme that provides of the embodiment of the present invention, solves input process in prior art comparatively loaded down with trivial details, causes the problem that input efficiency is lower.
The sequencing of above embodiment, only for ease of describing, does not represent the quality of embodiment.
Last it is noted that above embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to previous embodiment to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein portion of techniques feature; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the spirit and scope of various embodiments of the present invention technical scheme.

Claims (9)

1. a picture input method, is characterized in that, comprising:
The Word message of S10, reception user input;
S20, described Word message is converted to corresponding phonetic, obtains pinyin string;
S30, basis are preset phonetic-picture mapping table and are obtained picture corresponding to described pinyin string;
S40, show picture corresponding to described pinyin string.
2. picture input method according to claim 1, is characterized in that, before described S20, also comprises:
Word-phonetic mapping table is preset in S11, acquisition;
Described S20, comprising: according to described word-phonetic mapping table, described Word message is converted to corresponding phonetic.
3. picture input method according to claim 1 and 2, is characterized in that,
Described S20, comprising: S201, split one by one by all words in described Word message, obtains at least one independently word; S202, respectively by described at least one independently text conversion be corresponding phonetic, obtain pinyin string;
Described S30, comprising: obtain picture corresponding to the phonetic of each independently word in described pinyin string according to default phonetic-picture mapping table.
4. picture input method according to claim 3, is characterized in that,
Before described S201, also comprise: S200, judge whether comprise word in described Word message; If do not comprised, perform described S201; If comprised, perform S203; S203, obtain in described Word message all words comprised; S204, the word in described Word message except this all word to be split one by one, obtain independently word; S205, respectively by all words comprised in described Word message and independently text conversion be corresponding phonetic, obtain pinyin string;
Described S30, comprising: obtain picture corresponding to the phonetic of all words in described pinyin string and independently word according to default phonetic-picture mapping table.
5. picture input method according to claim 1, is characterized in that, before described S30, also comprises:
Picture library and phonetic storehouse are preset in S21, acquisition;
The phonetic picture of S22, reception user input maps instruction;
S23, according to described mapping instruction, the phonetic in the picture in described picture library and phonetic storehouse is set up mapping relations, store after obtaining phonetic-picture mapping table.
6. picture input method according to claim 1, is characterized in that,
Phonetic and picture one_to_one corresponding in described phonetic-picture mapping table; And/or
The corresponding picture of multiple phonetic in described phonetic-picture mapping table; And/or
A corresponding multiple picture of phonetic in described phonetic-picture mapping table; And/or
The corresponding multiple picture of multiple phonetic in described phonetic-picture mapping table.
7. picture input method according to claim 1, is characterized in that, also comprise:
The renewal instruction of the described phonetic-picture mapping table of S50, reception user input;
S60, upgrade described phonetic-picture mapping table according to described renewal instruction.
8. picture input method according to claim 7, is characterized in that, described S60, comprising:
In described phonetic-picture mapping table, phonetic picture mapping relations are increased according to described renewal instruction; Or,
In described phonetic-picture mapping table, phonetic picture mapping relations are deleted according to described renewal instruction; Or,
In described phonetic-picture mapping table, phonetic picture mapping relations are revised according to described renewal instruction.
9. picture input method according to claim 1, is characterized in that, also comprise:
The amendment instruction of the picture that the described pinyin string that S70, reception user input is corresponding;
S80, the picture corresponding according to the described pinyin string of described amendment instruction amendment, obtain amended picture.
CN201510205409.1A 2015-04-28 2015-04-28 Picture input method Pending CN104881146A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510205409.1A CN104881146A (en) 2015-04-28 2015-04-28 Picture input method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510205409.1A CN104881146A (en) 2015-04-28 2015-04-28 Picture input method

Publications (1)

Publication Number Publication Date
CN104881146A true CN104881146A (en) 2015-09-02

Family

ID=53948668

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510205409.1A Pending CN104881146A (en) 2015-04-28 2015-04-28 Picture input method

Country Status (1)

Country Link
CN (1) CN104881146A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054597A1 (en) * 2015-09-30 2017-04-06 北京奇虎科技有限公司 Processing method and device for emoji string

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6341923A (en) * 1986-08-08 1988-02-23 Hitachi Ltd Method of changing kind of character in keyboard inputting
CN1292400A (en) * 1999-10-10 2001-04-25 北京市天山新材料技术公司 Polymer/metal repairing material and its preparation method
CN1920754A (en) * 2006-09-05 2007-02-28 北京搜狗科技发展有限公司 Method and system for inputting artistic character/image into application program
CN101393481A (en) * 2008-09-28 2009-03-25 龚友光 Multifunction input method implementing method and apparatus thereof
CN102662961A (en) * 2012-03-08 2012-09-12 北京百舜华年文化传播有限公司 Method, apparatus and terminal unit for matching semantics with image
CN103092941A (en) * 2013-01-10 2013-05-08 北京奇虎科技有限公司 Method and device showing content on electronic equipment
CN103530380A (en) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 Vertical search device and method
CN103760991A (en) * 2014-01-13 2014-04-30 北京搜狗科技发展有限公司 Physical input method and physical input device
CN104076944A (en) * 2014-06-06 2014-10-01 北京搜狗科技发展有限公司 Chat emoticon input method and device
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
CN104331245A (en) * 2014-11-03 2015-02-04 荀亮 Click input method and Chinese character input method based on touch screens

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6341923A (en) * 1986-08-08 1988-02-23 Hitachi Ltd Method of changing kind of character in keyboard inputting
CN1292400A (en) * 1999-10-10 2001-04-25 北京市天山新材料技术公司 Polymer/metal repairing material and its preparation method
CN1920754A (en) * 2006-09-05 2007-02-28 北京搜狗科技发展有限公司 Method and system for inputting artistic character/image into application program
CN101393481A (en) * 2008-09-28 2009-03-25 龚友光 Multifunction input method implementing method and apparatus thereof
CN102662961A (en) * 2012-03-08 2012-09-12 北京百舜华年文化传播有限公司 Method, apparatus and terminal unit for matching semantics with image
CN103092941A (en) * 2013-01-10 2013-05-08 北京奇虎科技有限公司 Method and device showing content on electronic equipment
CN103530380A (en) * 2013-10-17 2014-01-22 北京奇虎科技有限公司 Vertical search device and method
CN103760991A (en) * 2014-01-13 2014-04-30 北京搜狗科技发展有限公司 Physical input method and physical input device
CN104076944A (en) * 2014-06-06 2014-10-01 北京搜狗科技发展有限公司 Chat emoticon input method and device
CN104298429A (en) * 2014-09-25 2015-01-21 北京搜狗科技发展有限公司 Information presentation method based on input and input method system
CN104331245A (en) * 2014-11-03 2015-02-04 荀亮 Click input method and Chinese character input method based on touch screens

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2017054597A1 (en) * 2015-09-30 2017-04-06 北京奇虎科技有限公司 Processing method and device for emoji string

Similar Documents

Publication Publication Date Title
CN103995854A (en) Equipment cross-version upgrading method and device
US20080079730A1 (en) Character-level font linking
CN105528418B (en) A kind of design documentation generation method and device
CN103020237B (en) A kind of webpage update method and device
CN107783949B (en) PPT document processing method and device
CN104750472B (en) The resource package management method and device of a kind of terminal applies
CN111061525A (en) Internationalized interface switching method and storage medium
CN105635835B (en) A kind of method that micro- class production storage plays
WO2017025055A1 (en) Command line interface display method and device
CN102063494A (en) Database synchronizing method and device
CN104375814A (en) Generation method and device of an interface document
CN106020635B (en) Signal source display methods and system
CN111026756A (en) Method for dynamically generating form and associated query
CN104484640A (en) Method of two-dimension code reading end for managing number of reading times of current two-dimension code
CN104881146A (en) Picture input method
CN101436309B (en) Method and apparatus for modifying formula operator
CN102867322A (en) Method and device for realizing Chinese marking in three-dimensional scene
CN103559280A (en) Method for flexibly storing and displaying icons
CN104424214A (en) Customized extracting method of catalog content and device thereof
CN108255486B (en) View conversion method and device for form design and electronic equipment
CN111309424A (en) Page restoration method and related equipment
CN110018863B (en) Mobile terminal text display method, storage medium, equipment and system
JP6377743B2 (en) Method and apparatus for building an intermediate character library
CN110750973A (en) Dynamic template configuration method and system
CN102171696A (en) Producing method and device for ordered material

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
EXSB Decision made by sipo to initiate 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: 20150902