CN110442247A - A kind of input method and input system - Google Patents

A kind of input method and input system Download PDF

Info

Publication number
CN110442247A
CN110442247A CN201910537105.3A CN201910537105A CN110442247A CN 110442247 A CN110442247 A CN 110442247A CN 201910537105 A CN201910537105 A CN 201910537105A CN 110442247 A CN110442247 A CN 110442247A
Authority
CN
China
Prior art keywords
picture
candidate
text
candidate picture
user
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
CN201910537105.3A
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.)
Shanghai Mengjia Network Technology Co Ltd
Original Assignee
Shanghai Mengjia Network Technology 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 Shanghai Mengjia Network Technology Co Ltd filed Critical Shanghai Mengjia Network Technology Co Ltd
Priority to CN201910537105.3A priority Critical patent/CN110442247A/en
Publication of CN110442247A publication Critical patent/CN110442247A/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/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes
    • G06F3/0233Character input methods
    • G06F3/0236Character input methods using selection techniques to select from displayed items

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 relates to a kind of input method and input method system, wherein input method library module, comprising: picture library is configured to store one or more candidate pictures;Index database, configuration is to store the index that candidate picture is established based on one or more;And search module, it is configured to the candidate picture of one or more inputted in the indexed search picture library using index database storage based on user.In some embodiments of the invention, the expression of input method is more abundant, and entertainment is also stronger.

Description

A kind of input method and input system
Technical field
The present invention relates to applied technical field, particularly a kind of input method and input system.
Background technique
Either at the end PC still in mobile terminal, input method is all the application program that people's daily life medium-high frequency uses. There are two apparent trend for the development tool of existing input method.One trend is the development in ease for use direction, and input is more convenient, more quasi- Really, more efficient.Either application of the artificial intelligence in input method matching, or the input method based on speech recognition is all this The representative in direction.Another trend is the development in recreational direction, and input content is richer, more various, more intuitive.Face text, Being continuously added for the input functions such as expression, expression packet reflects the development of input method in that direction.However, as people exist The continuous improvement required in expression, existing input function are still unable to satisfy demand.
Summary of the invention
For the technical problems in the prior art, present applicant proposes a kind of input method library modules, comprising: figure Library is configured to store one or more candidate pictures;Index database, configuration is to store candidate picture based on one or more The index of foundation;And search module, it is configured to input in the indexed search picture library using index database storage based on user The candidate pictures of one or more.
Input method library module as described above, wherein user's input is upper screen text.
Input method library module as described above, further comprises keyword-extraction module, is configured to extract screen Keyword in text;Wherein search module is configured to utilize the rope of index database storage based on the keyword from upper screen text Draw the candidate picture of one or more in search picture library.
Input method library module as described above, further comprises property extracting module, is configured to extract screen text The attribute of word.
Input method library module as described above, wherein property extracting module is further configured to obtain user's history And/or user preference.
Input method library module as described above, wherein candidate picture includes text, picture description and picture in picture One or more of classification.
Input method library module as described above, wherein the picture description of candidate picture includes one of following or more Kind: the lines or unspoken words in a play of candidate picture;The scene of candidate picture;And the content of candidate picture, atmosphere, sound, smell and/ Or taste.
Input method library module as described above, further comprises breviary picture library, is configured to candidate in storage picture library The thumbnail of picture.
Input method library module as described above, wherein search module is configured to obtain candidate's figure as search result Piece, wherein the quantity of the candidate picture as search result is greater than or equal to the number for the candidate picture that input interface can be shown Amount.
Input method library module as described above, wherein search module is configured to the candidate picture as search result It is ranked up.
Input method library module as described above, wherein search module is configured to the candidate picture as search result The highest weighting for shielding text matching degree in text or its keyword and candidate picture in being ranked up, in setting is greater than upper screen text Or the highest weighting of its keyword and picture profile matching degree in candidate picture.
Input method library module as described above, wherein search module is configured to respond to no matched candidate picture Or the lazy weight of candidate picture, the candidate picture of supplement is provided.
Input method library module as described above, wherein the candidate picture supplemented is random.
Input method library module as described above, wherein the candidate picture supplemented is based on one or more of following: using Family picture and/or user preference;Customer attribute information;The popularity of candidate picture;And the classification of candidate picture.
According to another aspect of the present invention, a kind of input method system is provided, comprising: interface module is configured to mention For input interface;Dictionary module is configured to provide one or candidate word;Library module, be configured to provide one or Multiple candidate's pictures or video;And picture and text synthesis module, it is configured to candidate picture or video bag based on one or more Picture and text synthesising picture or video containing upper screen text;Wherein, one or more of candidate pictures or video are based on upper screen text.
Input method system as described above, wherein library module includes: picture library, is configured to store one or more times Select picture;Index database, configuration is to store the index that candidate picture is established based on one or more;And search module, warp Configuration is to utilize the candidate picture of one or more in the indexed search picture library of index database storage based on upper screen text.
According to another aspect of the present invention, it provides and the method for candidate picture is provided in a kind of input method, comprising: in acquisition Shield text;Matched candidate picture is retrieved in picture library based on upper screen text;And matched candidate is provided in interface of input method The candidate picture of picture and/or supplement.
Method as described above further comprises: shielding the keyword of text in acquisition.
Method as described above further comprises: shielding the attribute of text in acquisition.
Method as described above further comprises: obtaining user's history and/or user preference and/or user property.
Method as described above further comprises: being ranked up to matched candidate picture.
Method as described above further comprises: not in response to no matched candidate picture or candidate picture number Foot, provides the candidate picture of supplement.
Method as described above further comprises: showing the time of candidate picture and/or supplement in interface of input method Select the thumbnail of picture.
Method as described above, wherein the thumbnail of candidate picture and/or the candidate picture of supplement includes at least partially Shield text.
According to another aspect of the present invention, a kind of input method is provided, comprising: shield text in acquisition, wherein upper shield text Candidate word based on one or more;One or more candidate pictures or video are provided;And it is based on upper screen text and one or more A candidate's picture or video generate one or more picture and text synthesising pictures or video including upper screen text;Wherein, one Or multiple candidate pictures or video are based on upper screen text.
In some embodiments of the invention, the expression of input method is more abundant, and entertainment is also stronger.
Detailed description of the invention
In the following, the preferred embodiment of the present invention will be described in more detail in conjunction with attached drawing, in which:
Fig. 1 is the schematic diagram of input method system according to an embodiment of the invention;
Fig. 2 is the schematic diagram of input interface according to an embodiment of the invention;
Fig. 3 is the schematic diagram of input method system in accordance with another embodiment of the present invention;
Fig. 4 is the schematic diagram of input method in accordance with another embodiment of the present invention;
Fig. 5 is the schematic diagram of library module according to an embodiment of the invention;And
Fig. 6 is the schematic diagram of the candidate picture approach of offer according to an embodiment of the invention.
Specific embodiment
In order to make the object, technical scheme and advantages of the embodiment of the invention clearer, below in conjunction with the embodiment of the present invention In attached drawing, technical scheme in the embodiment of the invention is clearly and completely described, it is clear that described embodiment is A part of the embodiment of the present invention, instead of all the embodiments.Based on the embodiments of the present invention, those of ordinary skill in the art Every other embodiment obtained without making creative work, shall fall within the protection scope of the present invention.
In the following detailed description, the specific embodiment for being used to illustrate the application as the application a part may refer to Each Figure of description.In the accompanying drawings, similar appended drawing reference describes substantially similar component in different drawings.This Shen Each specific embodiment please has carried out description detailed enough following, so that having the general of ability domain-dependent knowledge and technology Logical technical staff can implement the technical solution of the application.It should be appreciated that can also be using other embodiments or to the application Embodiment carry out structure, logic or electrical property change.
Some functions of input method in the prior art, such as expression packet function, enable input method to input picture.So And when using expression packet, user needs downloading expression packet in advance.The picture that can be inputted in input method is also only limitted to expression packet The picture of middle offer.In particular, the text in expression packet picture can not be modified.It is very big that this receives the use of user Limitation.
A kind of more recreational input method is proposed in some embodiments of the present invention: content based on user's input with Picture or video, which combine, forms picture or video comprising user's input content.It is described in detail below by way of the embodiment of picture Technical solution of the present invention.It will be appreciated by those skilled in the art that the solution of the present invention can also be applied in a similar way Video, such as small video of the time less than 5 seconds, 10 seconds or 15 seconds.
Fig. 1 is the schematic diagram of input method system according to an embodiment of the invention.Fig. 2 is an implementation according to the present invention The schematic diagram of the input interface of example.As shown, input method system 100 of the invention includes interface module 102, dictionary module 104, library module 106 and picture and text synthesis module 108.Interface module 102 provides user input interface.In user input interface On, user can input the character string of a character or multiple characters.The character that dictionary module 104 can be inputted according to user Or character string provides one or more candidate words.As understood by those skilled in the art, in the prior art for providing time Select the embodiment of word that can be applied to this to provide character or character string candidate word the most matched with user's input.In In some embodiments, dictionary module 104 can send server for the character or character string that user inputs, and return from server Return one or more matched candidate words.
With reference to Fig. 2, user input interface includes: keyboard portion 202, for mentioning keyboard for users to use;And it is candidate Column part 204 is used to show candidate word to user.Keyboard portion 202 includes but is not limited to: 9 key of phonetic, 26 key of phonetic, hand-written Keyboard, Chinese stroke keyboard, Chinese five etc. are one or more.In candidate bar part 204, user can choose the candidate of screen Word.For example, user can click directly on a candidate word in candidate bar part 204, thus by shielding in the candidate word.Alternatively, with Family can click space, and will shield in first candidate word in candidate word.In some embodiments, 204 energy of candidate bar part Enough extensions are to show more candidate words.For example, the candidate word of candidate bar part 204 can horizontally slip, other times are presented Select word.Alternatively, candidate bar part 204 can be expanded to keyboard portion 202, other candidate words are presented.In some embodiments, Candidate bar part 204 includes the individual region for showing the candidate word from cloud server.Such as those skilled in the art institute Understand, in the prior art for rendering candidate word and select the embodiment shielded in candidate word can be applied to this will select Shield in fixed candidate word.
Library module 106 is used to provide a user one or more pictures.With reference to Fig. 2, user input interface includes candidate Picture section 206.In some embodiments, candidate section 206 shows the thumbnail of candidate picture.In candidate Picture section 206, user can choose candidate picture.For example, user can click directly on a candidate picture in candidate Picture section 206; Alternatively, user can click space, and select first candidate picture in candidate picture.In some embodiments, candidate figure Piece part 206 can be extended to show more candidate pictures.For example, the candidate picture of candidate Picture section 206 can control Sliding, other candidate pictures are presented.Alternatively, candidate Picture section 206 can be expanded to keyboard portion 202, other are presented Candidate picture.In some embodiments, candidate Picture section 206 includes for showing the candidate picture from cloud server Individual region.Alternatively, showing one or more from cloud server in candidate Picture section 206 in response to user's operation A candidate's picture.In one embodiment, the setting of library module 106 does not include the picture being locally stored beyond the clouds.All Candidate picture both is from cloud server.Under another embodiment, library module 106 includes the picture being locally stored.Figure The candidate picture that library module 106 provides is from the picture being locally stored.In response to user's operation, for example, user clicks input circle Cloud on face marks button, updates the one or more candidate pictures of candidate Picture section 206.Alternatively, library module 106 mentions simultaneously For being locally stored and the candidate picture from cloud server.In response to user's operation, taken according to being locally stored and coming from cloud The picture of business device updates one or more candidate pictures.
In some embodiments, candidate picture includes character area.The character area of candidate picture is defined and can hold Receive one or more texts.In some embodiments, candidate picture is adjusted and reserves the position of character area, so that Picture after adding text is more attractive.Further, in order to guarantee aesthetics, the text size that is accommodated in character area, word One or more of body, typesetting, color are by predetermined.Similarly, it is however generally that character area can accommodate Text limited amount system.If the text quantity of addition is more than the text quantity that character area can accommodate, character area can Only to show the text for the most quantity that can be accommodated, remaining text is with the replacement of the symbols such as such as ellipsis.In some embodiments In, text mentioned above includes one or more of Chinese character, outer text, number, punctuation mark etc..In some embodiments In, candidate picture can be one or more of lines figure, grayscale image, cromogram, photo etc..The background of candidate picture can be with For the colors such as white, grey, light blue, green, blue, black.In some embodiments, the text in character area can be Dynamically.For example, text can become larger or become smaller, rotate, changing colour, edge flare etc..
In some embodiments, candidate picture can be cardon.For example, candidate picture includes the dynamic of multiple sub-pictures Figure.Each sub-pictures include the respective character area of text.The character area of each sub-pictures can not be identical.In some embodiments In, the text added in the character area of each sub-pictures is consistent.Although sub-pictures convert and form cardon as a result, It is that entire cardon is consistent to the text that user is presented.In some other embodiment, in the character area of each sub-pictures The text of addition is inconsistent.It is the text of addition that the character area of each sub-pictures, which combines,.For example, cardon includes 3 A sub-pictures, needing text to be added is " I Love You ";The character area of so 3 sub-pictures add respectively " I ", " love " and " you ".The text " I Love You " of addition is presented to user's dynamic for candidate picture as a result,.In some embodiments, candidate picture The switching that text is added in each sub-pictures can have special efficacy.These special efficacys include but is not limited to: being fade-in fade-out, from small to large Or then disappear from big to small, from left to right or from right to left then disappear, then disappear from top to bottom or from top to bottom etc..This Field using similar fashion it will be appreciated by the skilled person that can also handle candidate video.In some instances, candidate video Screen text can be played.
In some embodiments, library module 106 stores one or more candidate pictures.User can check and select to deposit The candidate picture of storage.For example, user can click on input interface in candidate Picture section 206 " I " button and (not show Out), thus the candidate picture of one or more that storage is presented in candidate Picture section 206.User can from one of presentation or It is selected in multiple candidate's pictures.In some embodiments, the local picture that user can check is deposited through user's operation Store up local.In some embodiments, the candidate picture of storage is divided into multiple groups, such as: it is " favorite ", " the most frequently used ", " quick-fried Laugh at ", " animal " etc..Thus, it is possible to which user is more easily made to find oneself desired picture.
Picture and text synthesis module 108 is used to for text being added in candidate picture.Picture and text module 108 can be set in local, Also server beyond the clouds can be set.Picture and text synthesis module 108 obtains upper screen text and picture library mould from interface module 102 Upper screen text is added in one or more candidate pictures by the candidate picture of the one or more of block 106.In some embodiments In, upper screen text is the set of upper screen candidate word.
In some embodiments, after picture and text synthesis module 108 obtains screen text, upper screen text is added to from picture library In multiple candidate pictures of the offer of module 106, picture and text synthesising picture is formed.With reference to Fig. 2, shown in candidate Picture section 206 Multiple picture and text synthesising pictures comprising upper screen text are for selection by the user.In some embodiments, library module 106 provides multiple Picture and text synthesize candidate picture and the quantity of candidate picture that can present in the candidate Picture section 206 of input interface is less than and provides Candidate picture quantity.The candidate word of upper screen is added to more than the candidate picture that can be presented by picture and text synthesis module 108 In multiple candidate pictures of quantity.Can more promptly be in user when user wishes to check more candidate's picture as a result, Now it is added to other candidate pictures of the candidate word of screen.
Further, user can click selection one and be added to the candidate picture of screen text or to click space Mode selects first candidate picture for being added to screen text.Optionally, upper screen is added to what user displaying user selected The picture and text of text synthesize candidate picture for user's browsing.Optionally, user is allowed to adjust position and/or the size of character area And font size, font, format, color of upper screen text etc..In response to the confirmation operation of user, output is added to screen text Picture and text synthesize candidate picture.Alternatively, the candidate picture that user's selection is added to screen text has been enough to show confirmation operation.For Simplified operation, interface module 102 is in response to the selection of user, the direct output candidate figure of picture and text synthesis that is added to screen text Piece.
In some embodiments, after picture and text synthesis module 108 obtains screen text, upper screen text is added to from picture library In the thumbnail of multiple candidate pictures of the offer of module 106, to form the contracting of multiple candidate pictures including upper screen text Sketch map.Thumbnail dimensions are smaller, are more suitable for being shown in input interface.If it includes upper screen text that user, which has selected some, Candidate picture thumbnail, then export original size size should including upper screen text candidate picture.Picture and text synthesis module 108 production original size sizes can should both be carried out including the candidate picture of upper screen text while making thumbnail, It can carry out after this.
In some embodiments, picture and text synthesis module 108 obtains the candidate picture of the candidate word shielded and user's selection And then the candidate word of upper screen is added in candidate picture.In other words, in candidate Picture section 206, candidate picture not Candidate word including upper screen, but picture itself is only presented.Candidate picture is arranged to indicate to the user that the text of candidate picture Region.The mode of instruction includes but is not limited to: in a position-stable manner or the variation patterns such as highlighted, flashing, discoloration show literal field The profile in domain.Optionally, character area of the picture and text synthesis module 108 in the candidate picture that the candidate word of upper screen is added to selection Afterwards, the picture after picture and text synthesis is presented for user's browsing to user.Optionally, user is allowed to adjust the position of character area And/or size and font size, font, format, the color of upper screen word etc..In response to the confirmation operation of user, the time shielded in completion The picture and text between word and the candidate picture of selection are selected to synthesize.The time including upper screen that picture and text synthesis module 108 will confirm through user Word and the candidate picture of selection is selected to export.It is dispensed the step of operation, browsing and confirmation to simplify.
Fig. 3 is the schematic diagram of input method system in accordance with another embodiment of the present invention.As shown, input method system 300 include: interface module 302, user inputs acquisition module 303, upper screen word obtains module 305, dictionary module 304, picture library mould Block 306 and picture and text synthesis module 308;It is wherein, similar with functions of modules corresponding in embodiment illustrated in fig. 1 in the embodiment, Which is not described herein again.
User, which inputs, obtains character or character string that module 303 is used to obtain user's input.In some embodiments, it uses Family input obtains the character or character string that module 303 stores user's input.It, will be new in response to the new single character of user's input Single character form character string with the character that stores before or character string combinations and be sent to dictionary module.It is selected in response to user The candidate word for having selected upper screen, by the corresponding character string of the candidate word of upper screen from the character or character string that the user of storage inputs It deletes.Then, user inputs acquisition module 303 and sends dictionary module for remaining character or character string.
Dictionary module 304 receives the character or character string for inputting from user and obtaining module 303.Dictionary module is according to these Character or character string provide one or more candidate words.As previously mentioned, these candidate words, which may be from local dictionary, to be come Server from cloud.
Upper screen word obtains the upper screen candidate word that module 305 is used to obtain user's selection.In some embodiments, user inputs Obtain the upper screen candidate word that module 305 stores user's selection.In response to the new upper screen candidate word of user's selection, new upper screen is waited Word is selected to form screen text with the upper screen candidate word combination stored before.Upper screen word obtains module 305 and sends upper screen text to Picture and text synthesis module 308.Optionally, upper screen word obtains module 305 and also sends library module 306 for upper screen text.In response to User has selected candidate picture, and upper screen word obtains the upper screen candidate word that module 305 empties storage.
Picture and text synthesis module 308 receives the upper screen text that module 305 is obtained from upper screen word, and upper screen text is added to entirely In the candidate picture in portion or part, picture and text synthesising picture is formed.Picture and text synthesis module 308 exports picture and text synthesising picture.Some In embodiment, the picture and text synthesising picture of output is loaded into application program to be entered, shows richer, expression to be formed More intuitive input content.
Fig. 4 is the schematic diagram of input method according to an embodiment of the invention.As shown in figure 4, input method 400 includes Following steps:
In step 410, the character character that perhaps character string is inputted based on user or character string of user's input are obtained One or more candidate words are provided.In some embodiments, user inputs character or word by keyboard at the interface of input method Symbol string.As understood by those skilled in the art, the character or word of user's input are obtained in this field in existing input method The method for according with string can be applied to this, for obtaining user's input.The character or character string of user's input are sent to Dictionary module is to obtain matched candidate word.In some embodiments, by retrieving local dictionary or being connect from cloud server Receive one or more candidate words with the character of user's input or string matching.As understood by those skilled in the art, originally In field in existing input method for match user input character or character string method can be applied to this, with Matched one or more candidate words are inputted with user in obtaining.
At step 420, shield text in acquisition.In some embodiments, user selects candidate word and will shield in candidate word, To which candidate word is chosen to be upper screen text.In some embodiments, upper screen text is the collection for the candidate word that user repeatedly selects It closes.In some embodiments, user can also be inputted with other modes such as voices.In these modes, the voice of user's input Or other content is also converted to screen text.Therefore, such input mode is also within the scope of the invention.Such as this field What technical staff was understood, the method in this field in existing input method for obtaining screen text can be applied to this, With obtain user wish on the text that shields.
In step 430, one or more candidate pictures are provided.As previously mentioned, candidate picture includes character area.This article Block domain can accommodate one or more texts.Candidate picture is illustrated in part previously herein, here not It repeats again.
In step 440, based on upper screen text and one or more candidate pictures, generating one or more includes upper screen text The picture and text synthesising picture of word.In one embodiment, one or more picture and text composite documents are provided for selection by the user.In this feelings Under condition, user can shift to an earlier date preview output picture and text synthesising picture, achieve the effect that What You See Is What You Get.In another embodiment, One or more candidate pictures are provided to select for user.It is selected in response to user, upper screen text is added to candidate selected by user The character area of picture.Optionally, before output, the picture and text synthesising picture after shielding text in addition is provided to browse for user.
Picture and text synthesising picture is exported in response to user's operation in step 450.It both include user in picture and text synthesising picture Desired upper screen text, and include colourful image content, picture and text combination is realized, to be greatly enriched input The expression of method increases the entertainment of input.In some embodiments, candidate picture can be cardon.In some embodiments, Candidate picture can be replaced by candidate video.In these embodiments, the expression of input method is more abundant, and entertainment is also more By force.
In some embodiments, the candidate picture that library module provides is random.In some embodiments, candidate picture It is classified as multiple groups.The foundation of classification includes but is not limited to type, content, the style etc. of picture.Library module provides For selection by the user from the candidate picture of multiple groups of one or more.In some embodiments, library module record user choosing Select the history and preference of candidate picture.The selection history and preference for being at least partially based on candidate picture are to multiple candidates in picture library Picture is ranked up, and provides a user multiple candidate pictures according to ranking results.
In some embodiments, candidate picture and upper screen character associative that library module provides.Candidate picture is according to upper Shield text association and obtain.This is a kind of process interacted with user's input, can preferably match the demand of user.
Fig. 5 is the schematic diagram of library module according to an embodiment of the invention.As shown, library module 500 is wrapped Include keyword-extraction module 502, property extracting module 503, search module 504, index database 505, picture library 506 and breviary picture library 508.Keyword-extraction module 502 is optional.In some embodiments, library module 500 can directly utilize upper screen text It scans for and matches in search module 504.In some other embodiment, in order to improve the speed and matching degree of retrieval, So that the candidate picture provided is more in line with the demand of user, keyword-extraction module 502 may include to extract and shield text In keyword.
Herein, the keyword of upper screen text is semantic one or more that can show that screen text in upper screen text A word.For example, keyword-extraction module 502 obtains the keyword of screen text using mode below.Firstly, according to Upper screen text is divided into multiple words by semanteme.Such as: " today, what your arrangement was " this Duan Shangping text is segmented into following 7 parts " today/you// arrangement/be/what/ ", wherein " " it is punctuation mark.Upper screen text includes 6 words.So Afterwards, according to the property of word, function word and pronoun are removed from upper screen text.For example, after removing function word, remaining word is " today, arrangement ".Next, assigning word different weights according to the attribute of word.For example, indicate subject, predicate and The weight of the word of object is greater than the weight for indicating the word of attribute;Indicating that the weight of the word of attribute and complement is greater than indicates shape The weight of the word of language.In the above example, the weight of " arrangement " is greater than the weight of " today ".As a result, as it appears from the above, one In a little embodiments, keyword-extraction module obtains the weight of keyword and keyword.In the example above, keyword extraction Module 502 obtains keyword " arrangement " and " today ";The weight wherein " arranged " is greater than the weight of " today ".In some implementations In example, the keyword quantity that keyword-extraction module obtains is limited.The lower keyword of weight can be omitted.Some In embodiment, the tone of upper screen text is also used as keyword extraction.
As understood by those skilled in the art, above method is used only for illustratively illustrating technical side of the invention Case rather than limit its range.The method of automatic semantic analysis can be applied to this for extracting upper screen text in the prior art In keyword.The keyword for shielding text in acquisition can simplify retrieving, improve search and matched speed and accuracy.
Property extracting module 503 is optional.Further property extracting module 503 can be utilized right after shielding text in acquisition Upper screen text is analyzed, to obtain the attribute for shielding text, for example, commendation, derogatory sense, neutrality, commendation, satire etc..Upper screen text The attribute of word is conducive to user's recommended candidate picture.
In some embodiments, property extracting module 503 can further obtain user's history and preference.User's history and Preference is conducive to user's recommended candidate picture.As understood by those skilled in the art, obtaining user's history and preference can be with Any time before or after shielding text in acquisition carries out.
Search module 504 is used for the matched candidate picture of keyword search according to upper screen text or upper screen text.In In some embodiments, index database 505, picture library 506 and breviary picture library 508 can be located locally.In some embodiments, it indexes Library 505, picture library 506 and breviary picture library 508 can be located on cloud server.As previously mentioned, local and cloud server can With all include index database 505, picture library 506 and breviary picture library 508 with provide on local and cloud server with upper screen text or The candidate picture of its keyword match of person.
In some embodiments, multiple candidate pictures are stored in picture library 506.It include each candidate in breviary picture library 508 The corresponding candidate thumbnail pictures of picture.Candidate thumbnail pictures on input interface for showing for selection by the user.As previously mentioned, figure Upper screen text can be added to the picture and text composite diagram that breviary is formed in the character area of candidate thumbnail pictures by literary synthesis module Piece is for selection by the user.Thumbnail pictures are smaller, and fast and easy transmission and displaying can be improved the speed of input method.This field It will be appreciated by the skilled person that breviary picture library 508 is optional.Do not include breviary picture library 508 similarly may be implemented it is of the invention Technical solution.
Candidate picture in picture library 506 includes picture description.It is (such as crucial that picture description can be one or more words Word), the combination of passage or one or more word or text and the tone.In some embodiments, picture describes explanation Lines or unspoken words in a play with candidate picture match, such as " you are really too beautiful ", " I takes you not sustaining wall " etc..In some realities It applies in example, picture description illustrates that candidate picture is suitble to the scene of description, such as " busy ", " ", " dizzy " etc..In some embodiments In, picture description illustrates content, atmosphere, sound, smell, taste of candidate picture etc., for example, " the Yellow River ", " smelling good ", " too Sweet tea " etc..In some embodiments, the picture description of candidate picture is one or more in above type of picture description.With Upper is only the picture description for illustratively illustrating candidate picture.Candidate picture can also include that other kinds of picture describes To be matched with the demand of user.
In some embodiments, candidate picture includes text.The text that candidate picture includes may be considered candidate picture A part, cannot change.Candidate picture including text may include character area.Alternatively, including the candidate of text Picture can not include character area.When candidate picture does not include character area, if user has selected the time of this type Picture is selected, then a kind of situation is that the text that includes is identical in upper screen text and candidate picture, then i.e. without picture and text synthesis The desired picture comprising picture and text of user is obtained, the step of picture and text synthesize can eliminate.Another situation is that upper screen text The text for including in word and candidate picture is not identical, then user's selection and the different candidate caption user of upper screen text Wish to shield content in change and obtain the desired picture comprising picture and text, it is believed that shield the step of content and picture and text synthesis in change Suddenly it all eliminates.Therefore, it can equally become candidate picture of the invention even if not including the picture of character area and be stored in In picture library 506.
In some embodiments, candidate picture includes picture classification.Picture classification describes the classification that picture is belonged to.Picture Classification helps to provide candidate picture according to user preference, preferably to meet the needs of users.For example, the preference of user For lovely toy.When providing candidate picture, while meeting animal and the candidate picture the sprouted weight in sequence will mention It is high.It can more allow user satisfied when providing candidate picture as a result,.Similarly, in some embodiments, picture classification also has Conducive to user preference is obtained, individually or other users information is combined precisely to draw a portrait for user.
Following table 1 is the example of candidate picture in a picture library:
Table 1: picture library table
Picture name Text in picture Picture classification Picture description
1 Pick up mound 0028 Nothing General, children Who ...
2 Big octopus 0012 Nothing It makes laughs, animal Who Am I ...
3 Small red cap 0010 Do not ask that Who Am I It sprouts, children It is brave
4
In some embodiments, index database 505 is used to store according to the text and picture classification in picture description, picture One or more of establish index it will be appreciated by those skilled in the art that in the prior art it is existing establish index method It can apply and this index to establish picture library 506.These indexes are stored in index database 505.Retrieval module 504 utilizes rope Draw the index stored in library 505, to realize that candidate picture is matched with the retrieval of upper screen text or its keyword.
In some embodiments, search module 504 is ranked up and by the top one search matching result Or multiple results provide the user with it is selective.In some embodiments, search module 504 can obtain in input interface to The number for the candidate picture that family is shown, such as 5.Search module 504 obtains candidate in the top from thumbnail data library The thumbnail of picture, such as the 5 corresponding thumbnail of candidate picture is sent to interface module before ranking.In some embodiments, The thumbnail for the candidate picture that search module provides can be to the number of the candidate picture of user's displaying, with side more than input interface Just when user wishes to show more candidate pictures, more candidate pictures can quickly be shown.
In some embodiments, search module 504 one or more of based on the following factors arranges matching result Name: (1) shield the picture description of text or its keyword and candidate picture and/or the matching degree of the text in picture on;(2) shield on Text or its keyword and the other matching degree of candidate picture category;(3) user selects the historical record of candidate picture;(4) user is inclined The other matching degree of good and candidate picture category;(5) user property and the candidate picture of the candidate other matching degree of picture category (6) are in its picture Popularity degree in classification;(7) the general degree of candidate picture;(8) ratio of the candidate picture classification in search result;Deng Deng.As understood by those skilled in the art, being only exemplary explanation above may be applied to the one of candidate picture sequence A little factors not cover possible all factors.Other are conducive to provide desired by user or the factor of more preferably picture and text effect The index of candidate picture sequence reference can also be become.
In some embodiments, the ordering factor of the above candidate picture is embodied by the sequence of candidate picture.Citing For, matching degree is higher, and weight is also higher.In some embodiments, upper screen text or its keyword and text in picture are complete Consistent weight is higher than upper screen text or its keyword is comprised in picture the weight in text.But different factor tool There is different highest weightings.For example, upper screen text or its keyword and the highest weighting of text matching degree in candidate picture are greater than The highest weighting of picture profile matching degree in upper screen text or its keyword and candidate picture.In other words, if upper screen text with Text in first candidate picture is completely the same;Similarly, also described with the picture of the second candidate picture it is completely the same, then the The picture sequence more candidate than second of one candidate picture is located further forward.As understood by those skilled in the art, other ordering factors also can Enough embodied in the ranking by the adjustment of weight.In some embodiments, search module is by dynamically adjusting candidate picture Weight and form personalized search result, to preferably match the demand of user.Other are about weight in the prior art The mode of adjustment also can be applied to this, to preferably improve technical effect of the invention.
According to one embodiment of present invention, due to the limited amount of candidate picture, search module is retrieving matched mistake There is " in not " in journey, i.e., the probability that no matched candidate picture occurs is much bigger.Therefore, in no or matched time When selecting picture number deficiency, search module is needed to provide additional candidate picture.It is on the other hand, different with characters matching, The freedom degree of picture match is higher.In other words, the text of different style may can obtain very with the same candidate picture collocation Good effect.Picture description can not these exhaustive collocation or effect.Therefore, search module provides the rule of additional candidate picture more It is flexible.
In some embodiments, matched candidate picture without or when lazy weight, search module provides supplement candidate figure Piece.For example, supplementing candidate picture can obtain at random from picture library.Since picture collocation is more flexible, even if mentioning at random For candidate picture, a possibility that user can choose suitable candidate picture from the candidate picture obtained at random, is also very high. It certainly, may be more preferable according to the effect that user's history and preference provide the candidate picture of supplement.Therefore, in some embodiments, root The history of candidate picture is selected to provide the candidate picture of supplement according to user.In some embodiments, it is provided according to the preference of user The candidate picture of supplement.If customer attribute information can be obtained, the candidate picture of supplement can also be provided according to user property. In some embodiments, the selection that theme has been also likely to be currently popular.For example, current a certain portion's cin positive film is in hot showing, that The candidate picture for providing the movie themes may also meet the expectation of user.
In some embodiments, when providing the candidate picture of supplement, picture classification is also highly useful.For example, if Candidate picture is provided at random from each picture classification, then what is be presented to the user will be the more various candidate picture of style. User has found that a possibility that satisfied candidate picture is also higher.
As previously mentioned, providing candidate picture based on upper screen text or its keyword, and the candidate picture of supplement is provided and is carried out Auxiliary, it is provided by the present invention candidate picture can preferably with upper screen text or its keyword match, to be more in line with use The demand at family reaches more preferable expression effect.
Fig. 6 is the schematic diagram of the candidate picture approach of offer according to an embodiment of the invention.As shown, providing candidate The method 600 of picture includes the following steps:
Shield text or its keyword in step 610, acquisition.In some embodiments of the invention, it can use a variety of Mode obtains upper screen text.For example, as previously mentioned, screen text acquisition module can be used to obtain upper screen text.Certainly, It is also feasible that other modes, which obtain screen text,.For example, shielding text from obtaining in the application program for shielding text in reception.
Optionally, further upper screen text can be analyzed after shielding text in acquisition, shield text to obtain Keyword.The keyword of upper screen text is conducive to improve matching rate and accelerates to retrieve matched speed.
Optionally, further upper screen text can be analyzed after shielding text in acquisition, shield text to obtain Attribute, for example, commendation, derogatory sense, neutrality, commendation, satire etc..The attribute of upper screen text is conducive to user's recommended candidate picture. It is alternatively possible to further obtain user's history and preference.User's history and preference are conducive to user's recommended candidate picture.
In step 620, matched candidate picture is retrieved in picture library based on upper screen text or its keyword.In some implementations In example, the candidate picture in picture library includes one or more of the text in picture description, picture classification and picture.It utilizes It include the index that one or more of the text in picture description, picture classification and picture is established, base according to candidate picture Yu Shangping text or its keyword can search for matched candidate picture.As understood by those skilled in the art, others are searched The mode of the matched candidate picture of rope also can be applied to this, to realize the retrieval of candidate picture.
It in some embodiments, further comprise the step of being ranked up to matched candidate picture.For example, matched time Select picture that there is different weights according to the factors difference such as matched attribute and matching degree.According to the weight of candidate picture It can be realized the sequence to candidate picture.
It is insufficient in response to no matched candidate picture or candidate picture number in step 630, the candidate of supplement is provided Picture.The picture number and user's fast browsing is more for convenience that the quantity of candidate picture can be shown by interface of input method Picture and the quantity of additional candidate picture provided determines.Therefore, the quantity of candidate picture is typically greater than or equal to input method The picture number that interface can be shown.If providing supplement when without matched candidate picture or candidate picture number deficiency Candidate picture for selection by the user.
In some embodiments, the candidate picture of supplement is random.Alternatively, the candidate picture of supplement is based on user's history And/or one or more of classification of user preference, the popularity degree of candidate picture, candidate's picture etc..
In step 640, the candidate picture of matched candidate picture and/or supplement is provided in the input interface of input method.In In some embodiments, interface of input method shows the thumbnail of the candidate picture of candidate picture and/or supplement.Such as preceding institute It states, even the thumbnail of candidate picture and/or the candidate picture of supplement, is also possible to contain the picture of screen text. In some embodiments, candidate picture and/or the candidate picture of supplement may include text but do not include character area.If with The text that family selects such candidate picture to can consider that user confirmed that picture includes is upper screen text.
Above-described embodiment is used for illustrative purposes only, and is not limitation of the present invention, in relation to the general of technical field Logical technical staff can also make a variety of changes and modification without departing from the present invention, therefore, all equivalent Technical solution also should belong to scope disclosed by the invention.

Claims (25)

1. a kind of input method library module, comprising:
Picture library is configured to store one or more candidate pictures;
Index database, configuration is to store the index that candidate picture is established based on one or more;And
Search module is configured to input one or more of the indexed search picture library using index database storage based on user Candidate picture.
2. input method library module according to claim 1, wherein user's input is upper screen text.
3. input method library module according to claim 2, further comprises keyword-extraction module, it is configured to mention Take the keyword in screen text;Wherein search module is configured to utilize index inventory based on the keyword from upper screen text The candidate picture of one or more in the indexed search picture library of storage.
4. input method library module according to claim 2, further comprises property extracting module, it is configured to extract The attribute of upper screen text.
5. input method library module according to claim 4, wherein property extracting module is further configured to be used Family history and/or user preference.
6. input method library module according to claim 1, wherein candidate picture includes text in picture, picture description One or more of with picture classification.
7. input method library module according to claim 6, wherein the picture description of candidate picture includes one in following Kind is a variety of:
The lines or unspoken words in a play of candidate picture;
The scene of candidate picture;And
Content, atmosphere, sound, smell and/or the taste of candidate picture.
8. input method library module according to claim 1 further comprises breviary picture library, it is configured to storage picture library The thumbnail of middle candidate's picture.
9. input method library module according to claim 1, wherein search module is configured to obtain as search result Candidate picture, wherein the quantity of the candidate picture as search result is greater than or equal to the candidate figure that input interface can be shown The quantity of piece.
10. input method library module according to claim 9, wherein search module is configured to as search result Candidate picture is ranked up.
11. input method library module according to claim 10, wherein search module is configured to as search result Candidate picture be ranked up, text or its keyword are shielded in setting and the highest weight of text matching degree in candidate's picture is great The highest weighting of picture profile matching degree in Yu Shangping text or its keyword and candidate picture.
12. input method library module according to claim 9, wherein search module is configured to respond to not matched The lazy weight of candidate picture or candidate picture, provides the candidate picture of supplement.
13. input method library module according to claim 12, wherein the candidate picture supplemented is random.
14. input method library module according to claim 12, wherein the candidate picture supplemented is based on one of following Or more persons:
User's picture and/or user preference;
Customer attribute information;
The popularity of candidate picture;And
The classification of candidate picture.
15. a kind of input method system, comprising:
Interface module is configured to provide input interface;
Dictionary module is configured to provide one or candidate word;
Library module is configured to provide one or more candidate pictures or video;And
Picture and text synthesis module, being configured to candidate picture or video based on one or more includes that the picture and text of upper screen text synthesize Picture or video;
Wherein, one or more of candidate pictures or video are based on upper screen text.
16. input method system according to claim 15, wherein library module includes:
Picture library is configured to store one or more candidate pictures;
Index database, configuration is to store the index that candidate picture is established based on one or more;And
Search module is configured to one or more of the indexed search picture library based on upper screen text using index database storage Candidate picture.
17. providing the method for candidate picture in a kind of input method, comprising:
Shield text in acquisition;
Matched candidate picture is retrieved in picture library based on upper screen text;And
The candidate picture of matched candidate picture and/or supplement is provided in interface of input method.
18. according to the method for claim 17, further comprising: shielding the keyword of text in acquisition.
19. according to the method for claim 17, further comprising: shielding the attribute of text in acquisition.
20. according to the method for claim 17, further comprising: obtaining user's history and/or user preference and/or user Attribute.
21. according to the method for claim 17, further comprising: being ranked up to matched candidate picture.
22. according to the method for claim 17, further comprising: in response to no matched candidate picture or candidate figure Piece lazy weight provides the candidate picture of supplement.
23. according to the method for claim 17, further comprise: interface of input method show candidate picture with/ Or the thumbnail of the candidate picture of supplement.
24. according to the method for claim 23, wherein the thumbnail of candidate picture and/or the candidate picture of supplement includes extremely Shield text in small part.
25. a kind of input method, comprising:
Shield text in acquisition, wherein upper shield text candidate word based on one or more;
One or more candidate pictures or video are provided;And
Based on upper screen text and one or more candidate pictures or video, generates the picture and text that one or more includes upper screen text and close At picture or video;
Wherein, one or more of candidate pictures or video are based on upper screen text.
CN201910537105.3A 2019-06-20 2019-06-20 A kind of input method and input system Pending CN110442247A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910537105.3A CN110442247A (en) 2019-06-20 2019-06-20 A kind of input method and input system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910537105.3A CN110442247A (en) 2019-06-20 2019-06-20 A kind of input method and input system

Publications (1)

Publication Number Publication Date
CN110442247A true CN110442247A (en) 2019-11-12

Family

ID=68428227

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910537105.3A Pending CN110442247A (en) 2019-06-20 2019-06-20 A kind of input method and input system

Country Status (1)

Country Link
CN (1) CN110442247A (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100076991A1 (en) * 2008-09-09 2010-03-25 Kabushiki Kaisha Toshiba Apparatus and method product for presenting recommended information
CN103092969A (en) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 Method, client side and system for conducting streaming media retrieval to input method candidate item
CN103853421A (en) * 2012-11-29 2014-06-11 北京千橡网景科技发展有限公司 Method and equipment for character and picture mixed input
CN105786207A (en) * 2016-02-25 2016-07-20 百度在线网络技术(北京)有限公司 Information input method and device
CN106126709A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 Generate the method and device of chatting facial expression in real time
CN108227955A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 It is a kind of that the method and device for recommending input association is searched for based on user's history
CN109033261A (en) * 2018-07-06 2018-12-18 北京旷视科技有限公司 Image processing method, device, processing equipment and its storage medium

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20100076991A1 (en) * 2008-09-09 2010-03-25 Kabushiki Kaisha Toshiba Apparatus and method product for presenting recommended information
CN103853421A (en) * 2012-11-29 2014-06-11 北京千橡网景科技发展有限公司 Method and equipment for character and picture mixed input
CN103092969A (en) * 2013-01-22 2013-05-08 上海量明科技发展有限公司 Method, client side and system for conducting streaming media retrieval to input method candidate item
CN105786207A (en) * 2016-02-25 2016-07-20 百度在线网络技术(北京)有限公司 Information input method and device
CN106126709A (en) * 2016-06-30 2016-11-16 北京奇虎科技有限公司 Generate the method and device of chatting facial expression in real time
CN108227955A (en) * 2017-12-29 2018-06-29 北京奇虎科技有限公司 It is a kind of that the method and device for recommending input association is searched for based on user's history
CN109033261A (en) * 2018-07-06 2018-12-18 北京旷视科技有限公司 Image processing method, device, processing equipment and its storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
章宜华: "《计算词典学与新型词典》", 30 June 2004 *

Similar Documents

Publication Publication Date Title
US10691744B2 (en) Determining affiliated colors from keyword searches of color palettes
Byron et al. Stacked graphs–geometry & aesthetics
RU2368948C2 (en) Automatic query clustering
EP1410253B1 (en) Search user interface providing mechanism for manipulation of explicit and implicit criteria
US6499029B1 (en) User interface providing automatic organization and filtering of search criteria
CN101356528B (en) Displaying compact and expanded data items
US6484164B1 (en) Data search user interface with ergonomic mechanism for user profile definition and manipulation
US11341207B2 (en) Generating app or web pages via extracting interest from images
US9639871B2 (en) Methods and apparatuses for assigning moods to content and searching for moods to select content
US20170024404A1 (en) System and Method for Dynamic Predictive Analytics for Pattern Search and Publishing Engine for with Constraint Satisfaction
CN110554782B (en) Expression input image synthesis method and system
US20120173502A1 (en) System and method for displaying, enabling exploration and discovery, recommending, and playing back media files based on user preferences
US20170024363A1 (en) System and Method for Dynamic Predictive Analytics for Pattern Search and Publishing Engine
CN102110304A (en) Material-engine-based automatic cartoon generating method
US11281848B2 (en) System and method for automating the creation of a renderable design
CN101213542A (en) Information processor, information processing method and information processing program
Manovich The aesthetic society: or how I edit my Instagram 1
US20170024403A1 (en) System and Method for Dynamic Predictive Analytics for Pattern Search and Publishing Engine for Responsive Graphical Design
CN110968204A (en) Input method and system thereof
CN113746874A (en) Voice packet recommendation method, device, equipment and storage medium
CN110442248A (en) A kind of input method and input system
US6178465B1 (en) Image processors for reading and outputting data
CN110442247A (en) A kind of input method and input system
CN110909194A (en) Input method and system thereof
CN110837307A (en) Input method and system thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20191112