CN107102744A - A kind of recommendation method and electronic equipment for inputting vocabulary - Google Patents

A kind of recommendation method and electronic equipment for inputting vocabulary Download PDF

Info

Publication number
CN107102744A
CN107102744A CN201710384236.3A CN201710384236A CN107102744A CN 107102744 A CN107102744 A CN 107102744A CN 201710384236 A CN201710384236 A CN 201710384236A CN 107102744 A CN107102744 A CN 107102744A
Authority
CN
China
Prior art keywords
vocabulary
input
personal information
electronic equipment
contact person
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201710384236.3A
Other languages
Chinese (zh)
Other versions
CN107102744B (en
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.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication 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 Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN201710384236.3A priority Critical patent/CN107102744B/en
Publication of CN107102744A publication Critical patent/CN107102744A/en
Application granted granted Critical
Publication of CN107102744B publication Critical patent/CN107102744B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/0237Character input methods using prediction or retrieval techniques

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)
  • Machine Translation (AREA)
  • Information Transfer Between Computers (AREA)
  • User Interface Of Digital Computer (AREA)

Abstract

The embodiment of the present invention provides a kind of recommendation method and electronic equipment for inputting vocabulary, and this method may include:When the electronic equipment shows chat sessions interface, the personal information of the chatting object in the chat sessions interface is obtained;In the corresponding relation of pre-defined contact person's personal information and lexicon, target vocabulary storehouse corresponding with the personal information of the chatting object is searched;According to the input content in the chat sessions interface, the optional input vocabulary matched with the input content is searched in the target vocabulary storehouse, and recommend the optional input vocabulary.The embodiment of the present invention can be according to the lexicon of different chatting objects, the optional input vocabulary for recommending to match with the input content to user, so as to improve the accuracy rate that the electronic equipment recommends input vocabulary.

Description

A kind of recommendation method and electronic equipment for inputting vocabulary
Technical field
The present invention relates to communication technical field, more particularly to a kind of recommendation method and electronic equipment for inputting vocabulary.
Background technology
With the development of mobile communication technology, the mode that people carry out Internet chat using electronic equipment is increasingly common, And for the information chat mode in Internet chat, electronic equipment is typically that user's input chat is aided in using various input methods Content.At present, existing input method be mostly according to frequency of use of input habit, historical record and vocabulary of user etc. come for User recommends intelligent association to input vocabulary, so that the purpose for improving input efficiency is reached, however, this unified way of recommendation is easy Cause the association's input vocabulary recommended not accurate enough.It can be seen that, the recommendation method for the input vocabulary that existing electronic equipment is used is present Recommend the problem of accuracy is poor.
The content of the invention
The embodiment of the present invention provides a kind of recommendation method and electronic equipment for inputting vocabulary, is adopted with solving existing electronic equipment There is the problem of recommendation accuracy is poor in the recommendation method for inputting vocabulary.
In a first aspect, the embodiment of the present invention provides a kind of recommendation display methods for inputting vocabulary, applied to electronic equipment, institute The method of stating includes:
When the electronic equipment shows chat sessions interface, of the chatting object in the chat sessions interface is obtained People's information;
In the corresponding relation of pre-defined contact person's personal information and lexicon, with the chatting object is searched The corresponding target vocabulary storehouse of people's information;
According to the input content in the chat sessions interface, in the target vocabulary storehouse in lookup and the input Hold the optional input vocabulary of matching, and recommend the optional input vocabulary.
Second aspect, the embodiment of the present invention also provides a kind of electronic equipment, including:
Acquisition module, for when the electronic equipment shows chat sessions interface, obtaining in the chat sessions interface Chatting object personal information;
Searching modul, in the corresponding relation of pre-defined contact person's personal information and lexicon, searching and institute State the corresponding target vocabulary storehouse of personal information of chatting object;
Recommending module, for according to the input content in the chat sessions interface, being looked into the target vocabulary storehouse The optional input vocabulary matched with the input content is looked for, and recommends the optional input vocabulary.
The third aspect, the embodiment of the present invention also provides a kind of electronic equipment, including:Memory, processor and it is stored in On reservoir and the computer program that can run on a processor, the present invention is realized described in the computing device during computer program Step in the recommendation method of input vocabulary in embodiment.
In the embodiment of the present invention, when electronic equipment shows chat sessions interface, obtain in the chat sessions interface The personal information of chatting object;In the corresponding relation of pre-defined contact person's personal information and lexicon, search with it is described The corresponding target vocabulary storehouse of personal information of chatting object;According to the input content in the chat sessions interface, described The optional input vocabulary matched with the input content is searched in target vocabulary storehouse, and recommends the optional input vocabulary.So, The electronic equipment can according to the lexicon of different chatting objects, to user recommend with the input content match can Choosing input vocabulary, so as to improve the accuracy rate that the electronic equipment recommends input vocabulary.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be in embodiment or description of the prior art The required accompanying drawing used is briefly described, it should be apparent that, drawings in the following description are only some realities of the present invention Example is applied, for those of ordinary skill in the art, without having to pay creative labor, can also be attached according to these Figure obtains other accompanying drawings.
Fig. 1 is a kind of schematic flow sheet of recommendation method for inputting vocabulary provided in an embodiment of the present invention;
Fig. 2 is a kind of short message chat sessions interface schematic diagram provided in an embodiment of the present invention;
Fig. 3 is the schematic diagram of the corresponding relation of a kind of contact person's personal information provided in an embodiment of the present invention and lexicon;
Fig. 4 is the schematic flow sheet of the recommendation method of another input vocabulary provided in an embodiment of the present invention;
Fig. 5 is a kind of schematic flow sheet for setting up lexicon provided in an embodiment of the present invention;
Fig. 6 is a kind of schematic diagram of contact database provided in an embodiment of the present invention;
Fig. 7 is the structural representation of a kind of electronic equipment provided in an embodiment of the present invention;
Fig. 8 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Fig. 9 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Figure 10 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Figure 11 is the structural representation of another electronic equipment provided in an embodiment of the present invention;
Figure 12 is the structural representation of another electronic equipment provided in an embodiment of the present invention.
Embodiment
Below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is carried out clear, complete Site preparation is described, it is clear that described embodiment is a part of embodiment of the invention, rather than whole embodiments.Based on this hair Embodiment in bright, the every other implementation that those of ordinary skill in the art are obtained under the premise of creative work is not made Example, belongs to the scope of protection of the invention.
Referring to Fig. 1, Fig. 1 is a kind of schematic flow sheet of recommendation method for inputting vocabulary provided in an embodiment of the present invention, Applied to electronic equipment, as shown in figure 1, the described method comprises the following steps:
Step 101, when the electronic equipment shows chat sessions interface, obtain the chat in the chat sessions interface The personal information of object.
Above-mentioned chat sessions interface can be understood as the electronic equipment by various MSNs to the chat Object sends the session interface of message, for example:The electronic equipment is by short message with sending information, or institute to the chatting object State electronic equipment and message etc. is sent to the chatting object by wechat.Chat pair in the above-mentioned acquisition chat sessions interface The personal information of elephant can obtain the information such as the pet name, number and the head portrait of the chatting object.For example:As shown in Fig. 2 described When electronic equipment shows short message chat sessions interface, by capturing the information of the short message chat sessions interface display, Ke Yizhi The name for getting chatting object, phone number or head image information are obtained, further, can also be chatted meeting by the short message The name of interface display is talked about, the phone number with the name matches is found from the address list of the electronic equipment, so as to To get the personal information of the chatting object.
When the electronic equipment shows chat sessions interface, of the chatting object in the chat sessions interface is obtained People's information, so can the electronic equipment by the personal information of the chatting object, find with the chatting object's The corresponding target vocabulary storehouse of personal information.
Step 102, in the corresponding relation of pre-defined contact person's personal information and lexicon, search and the chat The corresponding target vocabulary storehouse of personal information of object.
The corresponding relation of above-mentioned contact person's personal information and lexicon can be pre-defined, i.e., described electronic equipment is pre- Surely the corresponding relation of contact person's personal information and lexicon is defined, as shown in figure 3, each contact person's personal information is right respectively A lexicon is answered, and each contact person possesses different number informations respectively.The electronic equipment can be advance obtains respectively The personal information of the contact person of address list in MSN is planted, and sets up the lexicon of each contact person respectively, so that institute , can be according to the searching contact person to corresponding lexicon when stating electronic equipment with some specific contact person session, and pass through The vocabulary library lookup needs the optional input vocabulary recommended.
The target vocabulary storehouse can be the input behavior and input note according to the electronic equipment and the chatting object What record was determined, i.e., the word higher with incoming frequency in all conversation recordings of the chatting object by counting the electronic equipment Converge, and the input habit when analysis electronic equipment and chatting object's session, set up corresponding with the chatting object The target vocabulary storehouse, so as to when the electronic equipment and chatting object's session, can pass through and search and the target Content in lexicon recommends optional input vocabulary to match.
The input content of step 103, basis in the chat sessions interface, is searched and institute in the target vocabulary storehouse The optional input vocabulary of input content matching is stated, and recommends the optional input vocabulary.
Above-mentioned input content can be the electronic equipment by calling spelling input method in the chat sessions interface The phonetic of some vocabulary of input or some vocabulary for calling five-stroke input method to be inputted in the chat sessions interface Stroke, for example:The electronic equipment calls spelling input method to input the phonetic " xinxi " of " information ", or calls five inputs Stroke " the Pie Shu Dian " of method input " letter ".The optional input vocabulary is recording with the input content in the target vocabulary storehouse The content of matching, for example:When the input content is " xinxi ", by searching the target vocabulary storehouse, obtaining input content is Input record when " xinxi " has three vocabulary " information ", " joyful " and " careful ", then the optional input vocabulary is " letter Breath ", " joyful " and " careful ".
It is described to recommend the optional input vocabulary be found in the target vocabulary storehouse and the input The input method vocabulary display interface that the association glossary of content matching is recommended in the chat sessions interface, so, the electronics Equipment can recommend the input vocabulary that matching degree is higher according to the input behavior and record of user and the chatting object, so that Improve the accuracy rate that the electronic equipment recommends input vocabulary.Further, the target vocabulary storehouse can be to described optional Input vocabulary carries out priority ranking by the frequency inputted in the electronic equipment and all conversation recordings of the chatting object, One group of vocabulary of incoming frequency highest is set to limit priority, for example:The optional input vocabulary is " information ", " glad Happiness " and when " careful ", this three groups optional incoming frequencies for inputting vocabulary counted in the target vocabulary be followed successively by 10 times, 8 times, 5 times, then the priority of " information " is set to highest, the priority of " careful " is set to minimum.So the electronic equipment can be made excellent First recommend incoming frequency one group of vocabulary of highest, so that the optional input vocabulary recommended matches with the input content Possibility it is bigger, thus can better ensure that recommendation it is described it is optional input vocabulary accuracy.
In the present embodiment, above-mentioned electronic equipment can be mobile phone, tablet personal computer (Tablet Personal Computer), Laptop computer (Laptop Computer), desktop computer (Desktop Computer), personal digital assistant (Personal Digital Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable The terminal devices such as equipment (Wearable Device).
In the embodiment of the present invention, when electronic equipment shows chat sessions interface, obtain in the chat sessions interface The personal information of chatting object;In the corresponding relation of pre-defined contact person's personal information and lexicon, search with it is described The corresponding target vocabulary storehouse of personal information of chatting object;According to the input content in the chat sessions interface, described The optional input vocabulary matched with the input content is searched in target vocabulary storehouse, and recommends the optional input vocabulary.So, The electronic equipment can according to the lexicon of different chatting objects, to user recommend with the input content match can Choosing input vocabulary, so as to improve the accuracy rate that the electronic equipment recommends input vocabulary.
Referring to Fig. 4, Fig. 4 is the flow signal of the recommendation method of another input vocabulary provided in an embodiment of the present invention Figure, applied to electronic equipment.The embodiment obtains chat sessions circle on the basis of the embodiment shown in Fig. 1 to described The step of personal information of chatting object in face, is explained.As shown in figure 4, the described method comprises the following steps:
Step 401, the electronic equipment show chat sessions interface when, to the chat sessions interface carry out sectional drawing behaviour Make, and parse chatting object's information in the chat sessions interface sectional drawing obtained by the shot operation.
Above-mentioned chatting object's information can be the information such as the pet name, head portrait or the number of the chatting object, and the number can To be that phone number, instant messaging number, social networks number, incorporated business service class number code or Email number etc. are appointed What can carry out the number of chat sessions.
It is above-mentioned that the sectional drawing at the chat sessions interface can be obtained to chat sessions interface progress shot operation, pass through The sectional drawing can get some basic information, for example:The pet name, number with the chatting object of the electronic equipment session And head portrait, and the information such as chat record.Therefore, by being parsed to the sectional drawing, the chat can therefrom be extracted Object information, and then the electronic equipment can be made to determine the personal information of the chatting object according to chatting object's information.
Optionally, before step 401, methods described can also comprise the following steps:
The personal information of contact person in the address list of the electronic equipment, sets up contact person's personal information and vocabulary The corresponding relation in storehouse, wherein, contact person's personal information one lexicon of correspondence;
The input behavior and input record of the electronic equipment and each contact person are collected, and by each contact person's Input behavior and input record carry out data statistic analysis, it is determined that pre- in the lexicon corresponding to each contact person's personal information If recommending input vocabulary.
The address list of above-mentioned electronic equipment includes phone number address list and other instant messagings of the electronic equipment The address list of software.The personal information of contact person in the above-mentioned address list according to the electronic equipment, sets up contact person personal The corresponding relation of information and lexicon, can be the number letter of the All Contacts in the address list for obtain the electronic equipment Breath, and a lexicon is set up respectively to each contact number information, so, different contact persons has different lexicons.
In the embodiment, when contact person of the electronic equipment into the address list sends message, institute is just collected The input behavior and input record of electronic equipment are stated, so that the electronic equipment enters line number to the input behavior and input record Analyze according to statistics.Data statistic analysis is carried out above by the input behavior to each contact person and input record, including to every The input record of individual contact person carries out data statistics, and the input behavior of each contact person is analyzed.
It is to each contact person to the electronic equipment that the input record to each contact person, which carries out data statistics, The content and number of times of input are counted, for example:Count the electronic equipment to some contact person's input content be " information " Vocabulary amount to 5 times.The input behavior to each contact person is analyzed, and is to each contact to the electronic equipment The mode of people's input content and the result of selection are analyzed, for example:The electronic equipment is analyzed to input to some contact person When " xx ", " information " one word is have selected as input content.So, according to the input behavior and input record to each contact person Carry out the result of data statistic analysis, it may be determined that the default recommendation input vocabulary in the lexicon corresponding to each contact person, Wherein, the pre- recommendation input word pre-set in the default lexicon for recommending input vocabulary corresponding to each contact person Converge.For example:Amounted to 5 times for the vocabulary of " information " to some contact person's input content according to the electronic equipment counted, with And the electronic equipment analyzed, to during some contact person input " xx ", have selected " information " one word, can as input content It is " letter that pre- recommendation to pre-set input content as " xx " or " xinxi " in the lexicon of the contact person, which inputs vocabulary, Breath ".The Establishing process of the lexicon of each contact person can be as shown in Figure 5.
In the embodiment, by pre-establishing the corresponding relation of contact person's personal information and lexicon, and by right The input behavior and input record of each contact person carries out data statistic analysis, it is determined that in the lexicon corresponding to each contact person Default recommendation input vocabulary, the electronic equipment can be made according to different chatting objects, pushed away by different lexicons The input vocabulary that correlation is had more with the chatting object is recommended, so as to improve the standard for the input vocabulary that the electronic equipment is recommended True rate.
If step 402, chatting object's information include the number information of the chatting object, the number is believed Breath saves as the personal information of the chatting object.
The personal information of above-mentioned chatting object can be understood as mainly including the number information of the chatting object, for The number information of a certain contact person is unique in any MSN on the electronic equipment, the MSN It can be different from the feature of other contact persons, and the information such as the pet name of different contact person and head portrait can be identical.Cause This, only determine the number information of the chatting object just can determine the chat according to the number information of the chatting object The personal information of object, so as to find corresponding lexicon according to the personal information of the chatting object.
Because above-mentioned chatting object's information is obtained from the sectional drawing at the chat sessions interface, thus the chat pair Image information is possible to include the number information of the chatting object, it is possible to only include pet name and head portrait of the chatting object etc. Other information, the number information without including the chatting object.Therefore, in the embodiment, it is thus necessary to determine that the chat pair The personal information of elephant need to first judge whether include the number information of the chatting object in chatting object's information.If in step The chatting object's information obtained in 401 includes the number information of the chatting object, then can be by the number information The personal information of the chatting object is saved as, so that the electronic equipment can determine to chat with described according to the number information The corresponding lexicon of its object.
If not including the number information of the chatting object in step 403, chatting object's information, pre-establishing Contact database in search the personal information of the chatting object, wherein, the contact database includes the electronics The personal information of contact person in the address list of equipment, and the personal information of the contact person includes the number information of contact person.
The contact database can be pre-established, i.e., described contact database is the institute by obtaining in advance The contact person of address list in the MSN of electronic equipment is stated to set up, and the contact database can be by multiple Contact relationship table is constituted.Wherein, the pet name of a contact person, head portrait and should are may each comprise in each contact relationship table The information such as all numbers of contact person, all numbers of the contact person can include phone number, instant messaging number or electronics Mail number etc..For example:By reading the phone number address list of the electronic equipment, the phone number address list can be set up In contact relationship table, by reading the address list of other MSNs, the contact that can also be set up in the address list Relationship table, and if the contact person in the address list has matching phone number, the two contact relationship tables can be entered Row is combined, and the contact person that will be provided with identical phone number sets up a contact relationship table, thus can be with phone number For foundation, it is established that contact database as shown in Figure 6.
Therefore, if the number for not including the chatting object in the chatting object's information obtained in step 401 is believed Breath, then can search the personal information of the chatting object, so that institute in contact database is stated described in pre-establishing Lexicon corresponding with the chatting object can be determined according to the personal information of the chatting object by stating electronic equipment.
It should be noted that step 401- steps 403 are interchangeable in the present embodiment, such as:Can by step 401 and Step 403 is replaced with:
When the electronic equipment shows chat sessions interface, according to the input content in the chat sessions interface, That is searched in several default corresponding lexicons of contact person's personal information and recommend to match with the input content is alternative Input vocabulary.
The lexicon corresponding to alternative input vocabulary selected according to the electronic equipment, determines that the lexicon is corresponding It is the personal information that people's personal information is the chatting object.
It is above-mentioned searched in several default corresponding lexicons of contact person's personal information and recommend with the input The alternative input vocabulary for holding matching can be searched in the corresponding lexicon of contact person's personal information of default fixed number And the alternative input vocabulary that recommendation is matched with the input content.For example:Default 10 conventional contact person's personal information correspondences Lexicon, can so reduce the scope of lookup, save the time searched.It is above-mentioned to believe in several default contact persons individual Cease and searched in corresponding lexicon and recommend the alternative input vocabulary matched with the input content to be in all connection It is the alternative input vocabulary searched in the corresponding lexicon of people's personal information and matched with the input content, can so avoids Lou Fall any to be likely to be the corresponding lexicon of the chatting object.
In the embodiment, according to the input content in the chat sessions interface, in several default contact persons The alternative input vocabulary matched with the input content is searched and recommended in the corresponding lexicon of personal information, wherein, it is described standby Choosing input vocabulary can include several alternative vocabulary, and several described alternative vocabulary can by it is described it is default several Frequency of use in the corresponding lexicon of contact person's personal information carries out preferential recommendation, to improve the alternative input word of recommendation The accuracy rate of remittance, and then ensure the accuracy of the personal information of the chatting object.It should be noted that each alternative vocabulary can To be a corresponding lexicon or to recommend from a lexicon multiple alternative vocabulary respectively.
The alternative input vocabulary recommended is selected for user by the electronic equipment, therefore is needed in the embodiment Some alternative vocabulary in the alternative input vocabulary selected according to the electronic equipment, to determine corresponding to the alternative vocabulary Lexicon, thus using the corresponding contact person's personal information of the lexicon as the chatting object personal information.
Step 404, in the corresponding relation of pre-defined contact person's personal information and lexicon, search and the chat The corresponding target vocabulary storehouse of personal information of object.
The embodiment of the step may refer to the embodiment of step 102 in embodiment of the method shown in Fig. 1, be Avoid repeating, repeat no more here.
The input content of step 405, basis in the chat sessions interface, is searched and institute in the target vocabulary storehouse The optional input vocabulary of input content matching is stated, and recommends the optional input vocabulary.
The embodiment of the step may refer to the embodiment of step 103 in embodiment of the method shown in Fig. 1, be Avoid repeating, repeat no more here.
Optionally, step 405 can include:
According to the input content, matched with the input content multigroup optional defeated is searched in the target vocabulary storehouse Enter vocabulary;
, will be described multigroup optional by the frequency of use of the multigroup optional input vocabulary counted in the target vocabulary storehouse Input vocabulary and carry out priority ranking by the order of frequency of use from high to low;
By the priority ranking, recommend multigroup optional input vocabulary.
In the embodiment, the optional input vocabulary can include multigroup optional input vocabulary, i.e., according to described defeated Enter content, the multigroup optional input vocabulary matched with the input content is searched in the target vocabulary storehouse, for example:Institute When stating input content for " xinx ", the multigroup optional input matched with the input content is found in the target vocabulary storehouse Vocabulary has " information ", " fresh ", " joyful ", " careful " and " thinking " etc..
Above-mentioned frequency of use can be understood as in the electronic equipment and the chat record of the chatting object, the electricity The number of times for some vocabulary that sub- equipment is sent.It is above-mentioned by the multigroup optional input vocabulary counted in the target vocabulary storehouse Frequency of use, priority ranking, as root are carried out by multigroup optional input vocabulary by the order of frequency of use from high to low The number of times of the multigroup optional input vocabulary sent according to the electronic equipment counted in the target vocabulary storehouse, will be described more One group of vocabulary of frequency of use highest is set to limit priority in the optional input vocabulary of group, one group of vocabulary that frequency of use is taken second place Priority is set to second, and one group of minimum vocabulary of frequency of use is set to lowest priority.For example:Multigroup optional input vocabulary The frequency of use of " information ", " fresh ", " joyful ", " careful " and " thinking " in the target vocabulary storehouse be followed successively by 10 times, 6 It is secondary, 8 times, 2 times and 4 times, then multigroup optional input vocabulary " information ", " fresh ", " joyful ", " careful " and " thinking " is by making The result after priority ranking is carried out with frequency for " information ", " joyful ", " fresh ", " thinking " and " careful ".
It is above-mentioned to press the priority ranking, recommend multigroup optional input vocabulary, as by multigroup optional input One group of vocabulary of highest priority in the priority ranking of vocabulary, multigroup optional input vocabulary described in preferential recommendation, priority compared with Low vocabulary is come behind the higher vocabulary of priority.Wherein, it is excellent in multigroup optional input vocabulary described in the preferential recommendation First one group of vocabulary of level highest can be understood as including one group of vocabulary of highest priority in the chat sessions interface First of input method vocabulary display interface, the vocabulary of the second priority is shown in the second of the input method vocabulary display interface Position, the rest may be inferred for the display location of remaining vocabulary.So, the electronic equipment can be made to make by multigroup optional input vocabulary Priority recommendation is carried out with the height of frequency, the accurate of input vocabulary is recommended so as to further improve the electronic equipment Property.
In the present embodiment, to chatting in the acquisition chat sessions interface on the basis of the embodiment shown in Fig. 1 The step of personal information of its object, is explained, so that the electronic equipment obtains the personal letter of the chatting object The mode of breath is of greater clarity.In addition, the present embodiment also add plurality of optional on the basis of the embodiment shown in Fig. 1 Embodiment, these optional embodiments can be combined with each other realization, can also be implemented separately, and it is described to be attained by raising Electronic equipment recommends the technique effect of the accuracy rate of input vocabulary.
Referring to Fig. 7, Fig. 7 is the structural representation for a kind of electronic equipment that the present invention implements offer, as shown in fig. 7, electric Sub- equipment 700 includes:
Acquisition module 701, for when the electronic equipment 700 shows chat sessions interface, obtaining the chat sessions The personal information of chatting object in interface;
Searching modul 702, in the corresponding relation of pre-defined contact person's personal information and lexicon, search with The corresponding target vocabulary storehouse of personal information of the chatting object;
Recommending module 703, for according to the input content in the chat sessions interface, in the target vocabulary storehouse The optional input vocabulary matched with the input content is searched, and recommends the optional input vocabulary.
Optionally, as shown in figure 8, above-mentioned acquisition module 701 includes:
Resolution unit 7011, is grasped for carrying out shot operation to the chat sessions interface, and parsing by the sectional drawing Chatting object's information in the chat sessions interface sectional drawing that work is obtained;
Storage unit 7012, will if including the number information of the chatting object for chatting object's information The number saves as the personal information of the chatting object;
First searching unit 7013, if believing for the number for not including the chatting object in chatting object's information Breath, then search the personal information of the chatting object in the contact database pre-established, wherein, the contact data Storehouse includes the personal information of the contact person in the address list of the electronic equipment, and the personal information of the contact person includes contact The number information of people.
Optionally, as shown in figure 9, above-mentioned acquisition module 701 includes:
Second searching unit 7014, for according to the input content in the chat sessions interface, default some The alternative input vocabulary matched with the input content is searched and recommends in the corresponding lexicon of individual contact person's personal information;
Determining unit 7015, for the lexicon corresponding to the alternative input vocabulary that is selected according to the electronic equipment 700, Determine the personal information that the corresponding contact person's personal information of the lexicon is the chatting object.
Optionally, as shown in Figure 10, above-mentioned electronic equipment 700 also includes:
Module 704 is set up, for the personal information of the contact person in the address list according to the electronic equipment 700, is set up The corresponding relation of contact person's personal information and lexicon, wherein, contact person's personal information one lexicon of correspondence;
Determining module 705, input behavior and input record for collecting the electronic equipment 700 and each contact person, And data statistic analysis is carried out by the input behavior to each contact person and input record, it is determined that each contact person's personal information Default recommendation input vocabulary in corresponding lexicon.
Optionally, as shown in figure 11, the recommending module 703 includes:
3rd searching unit 7031, for according to the input content, searched in the target vocabulary storehouse with it is described defeated Enter multigroup optional input vocabulary of content matching;
Sequencing unit 7032, for using frequency by the multigroup optional input vocabulary counted in the target vocabulary storehouse Rate, priority ranking is carried out by multigroup optional input vocabulary by the order of frequency of use from high to low;
Recommendation unit 7033, for by the priority ranking, recommending multigroup optional input vocabulary.
Electronic equipment 700 can realize each process that electronic equipment is realized in Fig. 1 and Fig. 5 embodiment of the method, to keep away Exempt to repeat, repeat no more here.Electronic equipment 700 can be recommended and institute according to the lexicon of different chatting objects to user The optional input vocabulary that input content matches is stated, so as to improve the accuracy rate that the electronic equipment 700 recommends input vocabulary.
Figure 12 is referred to, Figure 12 is the structural representation for another electronic equipment that the present invention implements offer, such as Figure 12 institutes Show, electronic equipment 1200 includes:At least one processor 1201, memory 1202, at least one network interface 1204 and other User interface 1203.Each component in electronic equipment 1200 is coupled by bus system 1205.It is understood that total linear system System 1205 is used to realize the connection communication between these components.Bus system 1205 is in addition to including data/address bus, in addition to electricity Source bus, controlling bus and status signal bus in addition.But for the sake of clear explanation, be in fig. 12 all designated as various buses always Linear system system 1205.
Wherein, user interface 1203 can include display, keyboard or pointing device (for example, mouse, trace ball (trackball), touch-sensitive plate or touch-screen etc.).
It is appreciated that the memory 1202 in the embodiment of the present invention can be volatile memory or non-volatile memories Device, or may include both volatibility and nonvolatile memory.Wherein, nonvolatile memory can be read-only storage (Read-Only Memory, ROM), programmable read only memory (Programmable ROM, PROM), erasable programmable are only Read memory (Erasable PROM, EPROM), Electrically Erasable Read Only Memory (Electrically EPROM, ) or flash memory EEPROM.Volatile memory can be random access memory (Random Access Memory, RAM), and it is used Make External Cache.By exemplary but be not restricted explanation, the RAM of many forms can use, such as static random-access Memory (Static RAM, SRAM), dynamic random access memory (Dynamic RAM, DRAM), synchronous dynamic random-access Memory (Synchronous DRAM, SDRAM), double data speed synchronous dynamic RAM (Double Data Rate SDRAM, DDRSDRAM), it is enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM), synchronous Connect dynamic random access memory (Synch link DRAM, SLDRAM) and direct rambus random access memory (Direct Rambus DRAM, DRDRAM).The memory 1202 of system and method described herein is intended to include but is not limited to The memory of these and any other suitable type.
In some embodiments, memory 1202 stores following element, can perform module or data structure, or Their subset of person, or their superset:Operating system 12021 and application program 12022.
Wherein, operating system 12021, comprising various system programs, such as ccf layer, core library layer, driving layer, are used for Realize various basic businesses and handle hardware based task.Application program 12022, includes various application programs, such as matchmaker Body player (Media Player), browser (Browser) etc., for realizing various applied business.Realize that the present invention is implemented The program of example method may be embodied in application program 12022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1202, specifically, can be application The program stored in program 12022 or instruction, processor 1201 are used for:
When the electronic equipment shows chat sessions interface, of the chatting object in the chat sessions interface is obtained People's information;
In the corresponding relation of pre-defined contact person's personal information and lexicon, with the chatting object is searched The corresponding target vocabulary storehouse of people's information;
According to the input content in the chat sessions interface, in the target vocabulary storehouse in lookup and the input Hold the optional input vocabulary of matching, and recommend the optional input vocabulary.
The method that the embodiments of the present invention are disclosed can apply in processor 1201, or real by processor 1201 It is existing.Processor 1201 is probably a kind of IC chip, the disposal ability with signal.In implementation process, the above method Each step can be completed by the instruction of the integrated logic circuit of the hardware in processor 1201 or software form.Above-mentioned Processor 1201 can be general processor, digital signal processor (Digital Signal Processor, DSP), special Integrated circuit (Application Specific Integrated Circuit, ASIC), ready-made programmable gate array (Field Programmable Gate Array, FPGA) or other PLDs, discrete gate or transistor logic, Discrete hardware components.It can realize or perform disclosed each method, step and the logic diagram in the embodiment of the present invention.It is general Processor can be microprocessor or the processor can also be any conventional processor etc..With reference to institute of the embodiment of the present invention The step of disclosed method, can be embodied directly in hardware decoding processor and perform completion, or with the hardware in decoding processor And software module combination performs completion.Software module can be located at random access memory, and flash memory, read-only storage may be programmed read-only In the ripe storage medium in this area such as memory or electrically erasable programmable memory, register.The storage medium is located at Memory 1202, processor 1201 reads the information in memory 1202, the step of completing the above method with reference to its hardware.
It is understood that embodiments described herein can with hardware, software, firmware, middleware, microcode or its Combine to realize.Realized for hardware, processing unit can be realized in one or more application specific integrated circuit (Application Specific Integrated Circuits, ASIC), digital signal processor (Digital Signal Processing, DSP), digital signal processing appts (DSP Device, DSPD), programmable logic device (Programmable Logic Device, PLD), field programmable gate array (Field-Programmable Gate Array, FPGA), general processor, In controller, microcontroller, microprocessor, other electronic units for performing herein described function or its combination.
Realize, can be realized by performing the module (such as process, function) of function described herein herein for software Described technology.Software code is storable in memory and by computing device.Memory can within a processor or Realized outside processor.
Optionally, processor 1201 is additionally operable to:
Shot operation is carried out to the chat sessions interface, and parses the chat meeting obtained by the shot operation Talk about chatting object's information in the sectional drawing of interface;
If chatting object's information includes the number information of the chatting object, the number information is saved as The personal information of the chatting object;
If not including the number information of the chatting object in chatting object's information, in the contact person pre-established The personal information of the chatting object is searched in database, wherein, the contact database includes the logical of the electronic equipment The personal information of contact person in news record, and the personal information of the contact person includes the number information of contact person.
Optionally, processor 1201 is additionally operable to:
It is corresponding in several default contact person's personal information according to the input content in the chat sessions interface The alternative input vocabulary matched with the input content is searched and recommended in lexicon;
The lexicon corresponding to alternative input vocabulary selected according to the electronic equipment, determines that the lexicon is corresponding It is the personal information that people's personal information is the chatting object.
Optionally, before the step of personal information of the chatting object in the acquisition chat sessions interface, place Reason device 1201 is additionally operable to:
The personal information of contact person in the address list of the electronic equipment, sets up contact person's personal information and vocabulary The corresponding relation in storehouse, wherein, contact person's personal information one lexicon of correspondence;
The input behavior and input record of the electronic equipment and each contact person are collected, and by each contact person's Input behavior and input record carry out data statistic analysis, it is determined that pre- in the lexicon corresponding to each contact person's personal information If recommending input vocabulary.
Optionally, processor 1201 is additionally operable to:
According to the input content, matched with the input content multigroup optional defeated is searched in the target vocabulary storehouse Enter vocabulary;
, will be described multigroup optional by the frequency of use of the multigroup optional input vocabulary counted in the target vocabulary storehouse Input vocabulary and carry out priority ranking by the order of frequency of use from high to low;
By the priority ranking, recommend multigroup optional input vocabulary.
Those of ordinary skill in the art are it is to be appreciated that the list of each example described with reference to the embodiments described herein Member and algorithm steps, can be realized with the combination of electronic hardware or computer software and electronic hardware.These functions are actually Performed with hardware or software mode, depending on the application-specific and design constraint of technical scheme.Professional and technical personnel Described function can be realized using distinct methods to each specific application, but this realization is it is not considered that exceed The scope of the present invention.
It is apparent to those skilled in the art that, for convenience and simplicity of description, the system of foregoing description, The specific work process of device and unit, may be referred to the corresponding process in preceding method embodiment, will not be repeated here.
In embodiment provided herein, it should be understood that disclosed apparatus and method, others can be passed through Mode is realized.For example, device embodiment described above is only schematical, for example, the division of the unit, is only A kind of division of logic function, can there is other dividing mode when actually realizing, such as multiple units or component can combine or Person is desirably integrated into another system, or some features can be ignored, or does not perform.Another, shown or discussed is mutual Between coupling or direct-coupling or communication connection can be the INDIRECT COUPLING or communication link of device or unit by some interfaces Connect, can be electrical, machinery or other forms.
The unit illustrated as separating component can be or may not be it is physically separate, it is aobvious as unit The part shown can be or may not be physical location, you can with positioned at a place, or can also be distributed to multiple On NE.Some or all of unit therein can be selected to realize the mesh of this embodiment scheme according to the actual needs 's.
In addition, each functional unit in each embodiment of the invention can be integrated in a processing unit, can also That unit is individually physically present, can also two or more units it is integrated in a unit.
If the function is realized using in the form of SFU software functional unit and is used as independent production marketing or in use, can be with It is stored in a computer read/write memory medium.Understood based on such, technical scheme is substantially in other words The part contributed to prior art or the part of the technical scheme can be embodied in the form of software product, the meter Calculation machine software product is stored in a storage medium, including some instructions are to cause a computer equipment (can be individual People's computer, server, or network equipment etc.) perform all or part of step of each of the invention embodiment methods described. And foregoing storage medium includes:USB flash disk, mobile hard disk, ROM, RAM, magnetic disc or CD etc. are various can be with store program codes Medium.
The foregoing is only a specific embodiment of the invention, but protection scope of the present invention is not limited thereto, any Those familiar with the art the invention discloses technical scope in, change or replacement can be readily occurred in, should all be contained Cover within protection scope of the present invention.Therefore, protection scope of the present invention should be defined by scope of the claims.

Claims (11)

1. a kind of recommendation method for inputting vocabulary, applied to electronic equipment, it is characterised in that methods described includes:
When the electronic equipment shows chat sessions interface, the personal letter of the chatting object in the chat sessions interface is obtained Breath;
In the corresponding relation of pre-defined contact person's personal information and lexicon, the personal letter with the chatting object is searched Cease corresponding target vocabulary storehouse;
According to the input content in the chat sessions interface, searched and the input content in the target vocabulary storehouse The optional input vocabulary matched somebody with somebody, and recommend the optional input vocabulary.
2. according to the method described in claim 1, it is characterised in that the chatting object obtained in the chat sessions interface Personal information, including:
Shot operation is carried out to the chat sessions interface, and parses chat sessions circle obtained by the shot operation Chatting object's information in the sectional drawing of face;
If chatting object's information includes the number information of the chatting object, the number information is saved as described The personal information of chatting object;
If not including the number information of the chatting object in chatting object's information, in the contact data pre-established The personal information of the chatting object is searched in storehouse, wherein, the contact database includes the address list of the electronic equipment In contact person personal information, and the personal information of the contact person includes the number information of contact person.
3. according to the method described in claim 1, it is characterised in that the chatting object obtained in the chat sessions interface Personal information, including:
According to the input content in the chat sessions interface, in several default corresponding vocabulary of contact person's personal information The alternative input vocabulary matched with the input content is searched and recommended in storehouse;
The lexicon corresponding to alternative input vocabulary selected according to the electronic equipment, determines the corresponding contact person of the lexicon Personal information is the personal information of the chatting object.
4. the method according to any one in claim 1-3, it is characterised in that obtain chat sessions circle described Before the step of personal information of chatting object in face, methods described also includes:
The personal information of contact person in the address list of the electronic equipment, sets up contact person's personal information and lexicon Corresponding relation, wherein, contact person's personal information one lexicon of correspondence;
The input behavior and input record of the electronic equipment and each contact person are collected, and passes through the input to each contact person Behavior and input record carry out data statistic analysis, it is determined that default in the lexicon corresponding to each contact person's personal information pushes away Recommend input vocabulary.
5. the method according to any one in claim 1-3, it is characterised in that the basis is in chat sessions circle Input content in face, searches the optional input vocabulary matched with the input content, and recommend in the target vocabulary storehouse The optional input vocabulary, including:
According to the input content, the multigroup optional input word matched with the input content is searched in the target vocabulary storehouse Converge;
By the frequency of use of the multigroup optional input vocabulary counted in the target vocabulary storehouse, by multigroup optional input Vocabulary carries out priority ranking by the order of frequency of use from high to low;
By the priority ranking, recommend multigroup optional input vocabulary.
6. a kind of electronic equipment, it is characterised in that including:
Acquisition module, for when the electronic equipment shows chat sessions interface, obtaining chatting in the chat sessions interface The personal information of its object;
Searching modul, in the corresponding relation of pre-defined contact person's personal information and lexicon, searching and being chatted with described The corresponding target vocabulary storehouse of personal information of its object;
Recommending module, for according to input content in the chat sessions interface, searched in the target vocabulary storehouse with The optional input vocabulary of the input content matching, and recommend the optional input vocabulary.
7. electronic equipment according to claim 6, it is characterised in that the acquisition module includes:
Resolution unit, for carrying out shot operation to the chat sessions interface, and parses what is obtained by the shot operation Chatting object's information in the sectional drawing of the chat sessions interface;
Storage unit, if including the number information of the chatting object for chatting object's information, by the number Information saves as the personal information of the chatting object;
First searching unit, if for not including the number information of the chatting object in chatting object's information, pre- The personal information of the chatting object is searched in the contact database first set up, wherein, the contact database includes institute The personal information of the contact person in the address list of electronic equipment is stated, and the personal information of the contact person includes the number of contact person Information.
8. electronic equipment according to claim 6, it is characterised in that the acquisition module includes:
Second searching unit, for according to the input content in the chat sessions interface, in several default contact persons The alternative input vocabulary matched with the input content is searched and recommended in the corresponding lexicon of personal information;
Determining unit, for the lexicon according to corresponding to the alternative input vocabulary that the electronic equipment is selected, determines the vocabulary The corresponding contact person's personal information in storehouse is the personal information of the chatting object.
9. the electronic equipment according to any one in claim 6-8, it is characterised in that the electronic equipment includes:
Module is set up, for the personal information of the contact person in the address list according to the electronic equipment, contact person is set up personal The corresponding relation of information and lexicon, wherein, contact person's personal information one lexicon of correspondence;
Determining module, input behavior and input record for collecting the electronic equipment and each contact person, and by every The input behavior and input record of individual contact person carries out data statistic analysis, it is determined that the word corresponding to each contact person's personal information Default recommendation input vocabulary in remittance storehouse.
10. the electronic equipment according to any one in claim 6-8, it is characterised in that the recommending module includes:
3rd searching unit, for according to the input content, being searched and the input content in the target vocabulary storehouse The multigroup optional input vocabulary matched somebody with somebody;
Sequencing unit, for the frequency of use by the multigroup optional input vocabulary counted in the target vocabulary storehouse, by institute State multigroup optional input vocabulary and carry out priority ranking by the order of frequency of use from high to low;
Recommendation unit, for by the priority ranking, recommending multigroup optional input vocabulary.
11. a kind of electronic equipment, it is characterised in that including:Memory, processor and store on a memory and can be in processor The computer program of upper operation, is realized such as any one of claim 1-5 institutes described in the computing device during computer program Step in the recommendation method for the input vocabulary stated.
CN201710384236.3A 2017-05-26 2017-05-26 Input vocabulary recommendation method and electronic equipment Active CN107102744B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710384236.3A CN107102744B (en) 2017-05-26 2017-05-26 Input vocabulary recommendation method and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710384236.3A CN107102744B (en) 2017-05-26 2017-05-26 Input vocabulary recommendation method and electronic equipment

Publications (2)

Publication Number Publication Date
CN107102744A true CN107102744A (en) 2017-08-29
CN107102744B CN107102744B (en) 2020-02-21

Family

ID=59670123

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710384236.3A Active CN107102744B (en) 2017-05-26 2017-05-26 Input vocabulary recommendation method and electronic equipment

Country Status (1)

Country Link
CN (1) CN107102744B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562222A (en) * 2017-09-25 2018-01-09 联想(北京)有限公司 A kind of data processing method and system
CN111046268A (en) * 2018-10-12 2020-04-21 北京搜狗科技发展有限公司 Information recommendation method and device and electronic equipment
CN112148135A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Input method processing method and device and electronic equipment
CN113504836A (en) * 2021-09-06 2021-10-15 北京翰凌科技有限公司 Information input method and electronic equipment
WO2022135474A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Information recommendation method and apparatus, and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101571758A (en) * 2009-06-04 2009-11-04 腾讯科技(深圳)有限公司 Input method system, method and device thereof
CN101697098A (en) * 2009-09-29 2010-04-21 深圳华为通信技术有限公司 Method and terminal for inputting character
CN103324627A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and input processing method

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101373468A (en) * 2007-08-20 2009-02-25 北京搜狗科技发展有限公司 Method for loading word stock, method for inputting character and input method system
CN101571758A (en) * 2009-06-04 2009-11-04 腾讯科技(深圳)有限公司 Input method system, method and device thereof
CN101697098A (en) * 2009-09-29 2010-04-21 深圳华为通信技术有限公司 Method and terminal for inputting character
CN103324627A (en) * 2012-03-21 2013-09-25 宇龙计算机通信科技(深圳)有限公司 Terminal and input processing method

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107562222A (en) * 2017-09-25 2018-01-09 联想(北京)有限公司 A kind of data processing method and system
CN111046268A (en) * 2018-10-12 2020-04-21 北京搜狗科技发展有限公司 Information recommendation method and device and electronic equipment
CN111046268B (en) * 2018-10-12 2024-04-26 北京搜狗科技发展有限公司 Information recommendation method and device and electronic equipment
CN112148135A (en) * 2020-09-30 2020-12-29 维沃移动通信有限公司 Input method processing method and device and electronic equipment
WO2022135474A1 (en) * 2020-12-25 2022-06-30 维沃移动通信有限公司 Information recommendation method and apparatus, and electronic device
CN113504836A (en) * 2021-09-06 2021-10-15 北京翰凌科技有限公司 Information input method and electronic equipment

Also Published As

Publication number Publication date
CN107102744B (en) 2020-02-21

Similar Documents

Publication Publication Date Title
CN107102744A (en) A kind of recommendation method and electronic equipment for inputting vocabulary
US9026591B2 (en) System and method for advanced communication thread analysis
US8725717B2 (en) System and method for identifying topics for short text communications
CN107230475A (en) A kind of voice keyword recognition method, device, terminal and server
CN106844404A (en) Message display method and terminal device
CN104516921B (en) Automatic reply method and device
Wang et al. Microblog hashtag generation via encoding conversation contexts
WO2018161880A1 (en) Media search keyword pushing method, device and data storage media
CN111563151B (en) Information acquisition method, session configuration method, device and storage medium
KR102548365B1 (en) Method for generating conference record automatically and apparatus thereof
CN108259638A (en) Personal group list intelligent sorting method, intelligent terminal and storage medium
US20120166235A1 (en) System and method for programmatically benchmarking performance of contact centers on social networks
CN107634901A (en) Session expression pushing method and device and terminal equipment
CN104978074B (en) Formula input method and device
CN105554139B (en) Online customer service method of servicing, online customer service server and online customer service system
CN107463619A (en) Searching method, search equipment and terminal device
CN115511556A (en) Questionnaire processing method and device, electronic equipment and storage medium
CN106888308A (en) A kind of method of speech processing and mobile terminal
CN107454470A (en) A kind of information recommendation method and device and storage medium
EP3025295A1 (en) System and method for discovering and exploring concepts
CN113515663A (en) Comment information display method and device, electronic equipment and storage medium
US11322142B2 (en) Acoustic sensing-based text input method
CN109359298A (en) Emoticon recommended method, system and electronic equipment
CN116029673A (en) Business approval data sampling evaluation method, device, equipment and storage medium
CN111726285B (en) Instant messaging method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant