CN107102987A - A kind of input method and mobile terminal - Google Patents
A kind of input method and mobile terminal Download PDFInfo
- Publication number
- CN107102987A CN107102987A CN201710279131.1A CN201710279131A CN107102987A CN 107102987 A CN107102987 A CN 107102987A CN 201710279131 A CN201710279131 A CN 201710279131A CN 107102987 A CN107102987 A CN 107102987A
- Authority
- CN
- China
- Prior art keywords
- input method
- target song
- target
- lyrics
- keyword
- 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
Links
Classifications
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F40/00—Handling natural language data
- G06F40/20—Natural language analysis
- G06F40/279—Recognition of textual entities
- G06F40/284—Lexical analysis, e.g. tokenisation or collocates
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/60—Information retrieval; Database structures therefor; File system structures therefor of audio data
- G06F16/63—Querying
- G06F16/635—Filtering based on additional data, e.g. user or group profiles
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/06—Message adaptation to terminal or network requirements
- H04L51/063—Content adaptation, e.g. replacement of unsuitable content
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L51/00—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
- H04L51/52—User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- General Physics & Mathematics (AREA)
- General Engineering & Computer Science (AREA)
- Health & Medical Sciences (AREA)
- General Health & Medical Sciences (AREA)
- Computational Linguistics (AREA)
- Audiology, Speech & Language Pathology (AREA)
- Artificial Intelligence (AREA)
- Computing Systems (AREA)
- Multimedia (AREA)
- Data Mining & Analysis (AREA)
- Databases & Information Systems (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The present invention provides a kind of input method and mobile terminal, and this method includes:The keyword in communication interface is obtained, wherein, the communication interface includes Text Entry and social dialog box, and the Text Entry is a part for input method;The target song with the Keywords matching is searched in library;The title of the target song is shown in the lookup result display field of the input method;The output order of the target song is received, the target song is exported to social dialog box.In the input method of the embodiment of the present invention, using keyword lookup target song, if finding the target song matched with keyword, it is possible to export the target song.So, the function of input method is made more to enrich, while also increasing interest.
Description
Technical field
The present invention relates to communication technical field, more particularly to a kind of input method and mobile terminal.
Background technology
Nowadays the usage frequency of social software is very high, and user can carry out communication exchange using various social softwares.And
User can include various expressions according to being downloaded in social software the need for itself in different expression bags, expression bag
Picture.When word can not give expression to the idea of user completely, user one expression picture of selection can send in expression bag
To other side.For example, when user feels happy, smiling face's picture can be sent;When user is intended by heart not
Man Shi, can send a face picture of crying.Existing input method is merely able to output character or picture.Therefore, prior art is deposited
The problem of input method function is poor.
The content of the invention
The embodiment of the present invention provides a kind of input method and mobile terminal, to solve the input method function of prior art presence
Poor the problem of.
In a first aspect, the embodiments of the invention provide a kind of input method, including:
The keyword in communication interface is obtained, wherein, the communication interface includes Text Entry and social dialog box, institute
State the part that Text Entry is input method;
The target song with the Keywords matching is searched in library;
The title of the target song is shown in the lookup result display field of the input method;
The output order of the target song is received, the target song is exported to social dialog box.
Second aspect, the embodiment of the present invention also provides a kind of mobile terminal, including:
First acquisition module, for obtaining the keyword in communication interface, wherein, the communication interface includes text input
Frame and social dialog box, the Text Entry is a part for input method;
Searching modul, for searching the target song with the Keywords matching in library;
First display module, the name for showing the target song in the lookup result display field of the input method
Claim;
First output module, the output order for receiving the target song exports the target song right to social activity
Talk about frame.
So, in the embodiment of the present invention, the keyword in communication interface is obtained, wherein, the communication interface includes text
Input frame and social dialog box, the Text Entry is a part for input method;Searched and the keyword in library
The target song of matching;The title of the target song is shown in the lookup result display field of the input method;Receive described
The output order of target song, exports the target song to social dialog box.In the input method of the embodiment of the present invention, utilize
Keyword lookup target song, if finding the target song matched with keyword, it is possible to export the target song.This
Sample, makes the function of input method more enrich, while also increasing interest.
Brief description of the drawings
In order to illustrate the technical solution of the embodiments of the present invention more clearly, below will be to needed for description of the embodiment of the present invention
The accompanying drawing to be used is briefly described, it should be apparent that, drawings in the following description are only some embodiments of the present invention,
For those of ordinary skill in the art, without having to pay creative labor, it can also be obtained according to these accompanying drawings
Obtain other accompanying drawings.
Fig. 1 is a kind of flow chart of input method provided in an embodiment of the present invention;
Fig. 2 is the schematic diagram that music recommendation function provided in an embodiment of the present invention is unlocked;
Fig. 3 is the multiple vocabulary provided in an embodiment of the present invention for showing and finding in the lookup result display field of input method
Schematic diagram;
Fig. 4 is the title of the display target song provided in an embodiment of the present invention in the lookup result display field of input method
Schematic diagram;
Fig. 5 is the schematic diagram of the song provided in an embodiment of the present invention chosen and want output;
Fig. 6 is the schematic diagram provided in an embodiment of the present invention that target song is exported in the dialog box of social software;
Fig. 7 is the flow chart of another input method provided in an embodiment of the present invention;
Fig. 8 is the schematic diagram provided in an embodiment of the present invention that target message is detected in the dialog box of social software;
Fig. 9 is the signal that message in the dialog box of utilization social software provided in an embodiment of the present invention recommends target song
Figure;
Figure 10 is showing for the lyrics of the display target song provided in an embodiment of the present invention in the keyboard & display frame of input method
It is intended to;
Figure 11 is the signal of the lyrics of the display target song provided in an embodiment of the present invention in the dialog box of social software
Figure;
Figure 12 is a kind of structure chart of mobile terminal provided in an embodiment of the present invention;
Figure 13 is one of structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 14 is the two of the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 15 is the three of the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 16 is the four of the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 17 is the five of the structure chart of another mobile terminal provided in an embodiment of the present invention;
Figure 18 is the structure chart of another mobile terminal 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 flow chart of input method provided in an embodiment of the present invention, as shown in figure 1, including with
Lower step:
Step 101, the keyword obtained in communication interface, wherein, the communication interface includes Text Entry and social activity
Dialog box, the Text Entry is a part for input method.
In a step 101, when obtaining keyword, there can be two ways.A kind of mode is defeated for the text from input method
Enter to detect the character of input in frame, the character based on input obtains keyword, wherein, Text Entry is one of input method
Point;Another way is carried out to be detected to the message in the dialog box of social software to the message in social dialog box
Detection, if detecting target message, extracts keyword from target message.Here first way is first explained.
First, if user wants to use music recommendation function, the music recommendation function button in input method can be clicked on.
Click after the music recommendation function button in input method, the music recommendation function of input method is just unlocked.Such as Fig. 2 institutes
Show, be the schematic diagram that music recommendation function is unlocked.
Assuming that other side have sent a piece of news:" you like what landscape seen", and the message is shown in social software
In dialog box, that is, it is shown in social dialog box.If the landscape that user likes is sea, user can input method text
Get that " these characters of wo ' xi ' huan ' da ' hai ", that is, get the Chinese phonetic alphabet of " I likes sea " in this input frame.Connect down
Come, mobile terminal can be searched using the character detected in Text Entry in the dictionary of input method, Ke Yicha
The vocabulary that the character for finding and detecting matches, and multiple vocabulary matched with character that is detecting may be found.
For example, mobile terminal can find multiple vocabulary, Ran Houyi such as " I like sea ", " I likes ", " I washes " and " I is "
The multiple vocabulary found can be shown in the lookup result display field of input method by dynamic terminal, wherein, the lookup result shows
It can be the candidate bar of input method to show column.As shown in figure 3, in the lookup result display field of input method display find it is many
The schematic diagram of individual vocabulary.
Then, user can choose " I likes sea " this target vocabulary in the lookup result display field of input method.
It has selected after " I likes sea " this target vocabulary, mobile terminal can be carried from " I likes sea " this target vocabulary
Take keyword.For example, mobile terminal can analyze the V-O construction of " I likes sea " this target vocabulary, can therefrom it extract
Go out " sea " this keyword.Next, mobile terminal just can utilize " sea " this keyword searched in library with
The target song that the keyword matches.
Step 102, lookup and the target song of the Keywords matching in library.
In a step 102, when the target song matched with keyword is searched in library, there can be various ways.
For example, the song that keyword is included in song title can be searched in library.
For example, obtaining " sea " this keyword in a step 101, then mobile terminal just can enter in library
Row is searched, and judges the song that " sea " is included in song title whether is found in library.Now mobile terminal can be looked into
Find《Sea》This song is bent, can also find《Sea, native place》This song is bent, and this two song has a common spy
" sea " this keyword is included in point, i.e. song title.
Mobile terminal is found after the target song matched with keyword, can input method lookup result display field
The title of middle display target song, and may find many first target songs, can input method lookup result display field
The title of many first target songs of middle display.
Step 103, the title for showing in the lookup result display field of the input method target song.
In step 103, as shown in figure 4, being the title of the display target song in the lookup result display field of input method
Schematic diagram.In the lookup result display field of input method, come first position can be that " I likes big to written form
Sea ";Come second position can be《Sea》The bent title of this song;Come the 3rd position can be written form
" I likes ";Come the 4th position can be written form " I washes ";Come the 5th position can be word
" I is " of form;Come the 6th position can be《Sea, native place》The bent title of this song.That is the embodiment of the present invention
Input method can be realized and both show word, and the title of display target song, user can select defeated according to the need for oneself
Go out word, or selection output target song.In the lookup result display field of input method, come first position can be
The target vocabulary chosen in the vocabulary that user matches from the character with detecting, i.e. " I likes sea ";Come second
Position can be the target song found based on keyword title, i.e.,《Sea》The bent title of this song, and arrange
Song second position is that mobile terminal evaluates the song optimal with Keywords matching degree obtained by algorithm;And arrange
The 3rd position to the 5th position can be mobile terminal before obtain, the character with detecting matches and
Other vocabulary in addition to target vocabulary;Coming the 6th position and coming after the 6th position can be and keyword
The title of other target songs matched, that is, come the 6th position and come target song after the 6th position with
The matching degree of keyword is not optimal.
Step 104, the output order for receiving the target song, export the target song to social dialog box.
At step 104, if mobile terminal receives the output order of target song, can social software dialog box
Middle output target song, i.e., can export the target song to social dialog box.
If for example, user wants output《Sea》This song is bent, then the lookup result of input method that can be in Fig. 4 shows
Show second position of click in column, now《Sea》The bent title of this song will be appeared in the transmission frame of input method.When with
Family is clicked after " transmission " this button, then can be exported《Sea》This song is bent, i.e., can show in the dialog box of social software
Show《Sea》The bent title of this song, namely can be shown in social dialog box《Sea》The bent title of this song.Such as Fig. 5 institutes
Show, to choose the schematic diagram for the song for wanting output.
Output after target song, one can be set on the side of the song title in the dialog box of social software and broadcast
Button is put, when clicking on the broadcast button, then the target song can be played.As shown in fig. 6, in the dialog box of social software
The schematic diagram of middle output target song.
In the embodiment of the present invention, above-mentioned mobile terminal can be mobile phone, tablet personal computer (Tablet Personal
Computer), laptop computer (Laptop Computer), personal digital assistant (personal digital
Assistant, abbreviation PDA), mobile Internet access device (Mobile Internet Device, MID) or wearable device
(Wearable Device) etc..
In the embodiment of the present invention, the keyword in communication interface is obtained, wherein, the communication interface includes Text Entry
With social dialog box, the Text Entry is a part for input method;Searched in library and the Keywords matching
Target song;The title of the target song is shown in the lookup result display field of the input method;Receive the target song
Bent output order, exports the target song to social dialog box.In the input method of the embodiment of the present invention, keyword is utilized
Target song is searched, if finding the target song matched with keyword, it is possible to export the target song.So, make defeated
The function of entering method is more enriched, while also increasing interest.
Referring to Fig. 7, Fig. 7 is the flow chart of another input method provided in an embodiment of the present invention, the present embodiment and first
Difference between individual embodiment is that in addition to it can export target song, the lyrics of target song can also be exported.
As shown in fig. 7, comprises following steps:
Step 701, detect whether to receive the object run to music recommendation function button.
In step 701, a music recommendation function button can be set in input method, can be recommended by the music
The opening and closing of the music recommendation function of function button control input method.For example, when using social software, i.e., in chat field
Under scape, the music recommendation function of input method can be opened, target song can be now exported, the entertaining in chat process is added
Property.Under other scenes, such as when using browser, it is possible to which selection is not turned on the music recommendation function of input method.
First, mobile terminal can detect whether to receive the object run to music recommendation function button, wherein, target
Operation can be single-click operation.When mobile terminal detects the object run to music recommendation function button, and obtain pass
After keyword, it is possible to which the keyword based on acquisition recommends target song to user.
If step 702, the keyword detected in the object run, acquisition communication interface, wherein, the music is pushed away
Recommend the music recommendation function that function button is used to realize the input method.
In a step 702, if mobile terminal detects the object run to music recommendation function button, it is possible to which judgement is
It is no to detect keyword.Wherein, music recommendation function button is used for the music recommendation function for realizing input method.
Once mentioned in one embodiment, and when obtaining keyword, there can be two ways, first way is from defeated
The character of input is detected in the Text Entry for entering method, the character based on input obtains keyword, wherein, Text Entry is
A part for input method;The second way is detects to the message in the dialog box of social software, i.e., to social dialog box
In message detected, if detecting target message, keyword is extracted from target message.In one embodiment
Through elaborating first way, the second way is explained again here.
Assuming that other side have sent a piece of news:" we travel ", and the message is shown in the dialog box of social software
In, that is, it is shown in social dialog box.As shown in figure 8, the signal to detect target message in the dialog box of social software
Figure.
User is seen after this message, if it is desired to replied, then can click on the transmission frame of input method.If music
Recommendation function is opening, and user is clicked after the transmission frame of input method, mobile terminal can from " we travel " this
Keyword is extracted in bar message.For example, mobile terminal can analyze the V-O construction of " we travel " this sentence, and then
" travelling " this keyword can be extracted.Next, mobile terminal just can utilize " travelling " this keyword in library
The target song that middle lookup matches with the keyword.
For example, mobile terminal can be found《The meaning of travelling》This song is bent, can also find《I will travel》This
Song.The characteristics of this two song has one jointly, i.e., include " travelling " this keyword in song title.Mobile terminal
Find after the target song matched with keyword, can in the lookup result display field of input method display target song
Title, wherein, the lookup result display field can be the candidate bar of input method.As shown in figure 9, to utilize the dialogue of social software
Message in frame recommends the schematic diagram of target song.
In fig .9, in the lookup result display field of input method, come first position can be《The meaning of travelling》
The bent title of this song;Come second position can be《I will travel》The bent title of this song, user can be according to certainly
Body needs therefrom to select a song to export.The mode of output target song is illustrated in the first embodiment, this
In repeat no more.
Furthermore it is also possible to the height of the frequency occurred according to same vocabulary in the dialog box of social software, or it is same
The height for the frequency that class vocabulary occurs obtains keyword.For example, when many in the dialog box that mobile terminal detects social software
During secondary appearance " happy " this vocabulary, it is possible to by " happy " this vocabulary as keyword, and utilize " happy " this word
Remit lookup target song;Or, when in the dialog box that mobile terminal detects social software occur " vote buying ", " trip " and
During " tourism " these three vocabulary, mobile terminal can identify that these three vocabulary are of a sort vocabulary, i.e. these three vocabulary are equal
For the vocabulary related to " travelling ", therefore, mobile terminal can be using " travelling " as keyword, and this is closed based on " travelling "
Keyword goes to search target song.
Optionally, the keyword obtained in communication interface, including:
Detect the character in the Text Entry of the input method;
Search the vocabulary matched with the character;
The vocabulary matched with the character is shown in the lookup result display field of input method;
If receiving lexical choice instruction, the selection target vocabulary from the vocabulary matched with the character;
The keyword is extracted from the target vocabulary.
Once mentioned in one embodiment, mobile terminal can detect the word of input from the Text Entry of input method
Symbol, character based on input obtains keyword.
For example, when user gets in the Text Entry of input method, " during I ' m with you ", mobile terminal can profit
The character detected in Text Entry is searched in the dictionary of input method, the character that can be found and detect
The vocabulary matched, and multiple vocabulary matched with character that is detecting may be found.For example, mobile terminal can be looked into
Find " I ' m with you ", " When I ' m with you " and " multiple vocabulary such as Nobody but you ", then it is mobile eventually
The multiple vocabulary found can be shown in the lookup result display field of input method by end.
User can choose " this target vocabulary of I ' m with you " in the lookup result display field of input method.Choose
" after this target vocabulary of I ' m with you ", mobile terminal can be from " extracting in this target vocabulary of I ' m with you "
Keyword.The keyword for example extracted is just " I ' m with you ".Next, mobile terminal just can utilize " I ' m
This keyword of with you " searches the target song matched with the keyword in library.
Optionally, the keyword obtained in communication interface, including:
Judge whether receive target message in social dialog box, wherein, the social dialog box is using described defeated
Enter a part for the communication interface of method;
If receiving the target message, the keyword is extracted from the target message.
As it was previously stated, when obtaining keyword, it can be determined that whether receive target in the dialog box of social software and disappear
Breath, that is, judge whether receive target message in social dialog box, wherein, social dialog box is communication circle using input method
The part in face, the i.e. social software are the social software using the input method in the present invention., can if receiving target message
To extract keyword from target message.
Or, can also in the dialog box according to social software the frequency that same vocabulary occurs height, it is or same
The height for the frequency that class vocabulary occurs obtains keyword.
Step 703, lookup and the target song of the Keywords matching in library.
In step 703, after acquisition for mobile terminal to keyword, it is possible to is searched in library using the keyword and
The target song that the keyword matches.
When searching target song, there can be a variety of modes.Included for example, can be searched in library in song title
The song of keyword.Or, it can set up and multiple target keywords are included in key word association storehouse, key word association storehouse, work as shifting
When the keyword that dynamic terminal is got is near synonym with some target keyword in key word association storehouse, then the mesh can be utilized
Mark keyword lookup target song.
As it was previously stated, when searching target song, can there is a variety of modes.It can be searched in library in song title
Song comprising keyword.For example, when by " good night " this vocabulary as keyword, can recommend《Good night》This song is bent,
It can also recommend《Good night pleasant dream》This song is bent.The characteristics of this two song has one jointly, i.e., comprising " evening in song title
This keyword of peace ".
Or, mobile terminal may determine that the keyword got is with some target keyword in key word association storehouse
No is near synonym, when mobile terminal judges that the keyword got is near with some target keyword in key word association storehouse
During adopted word, it is possible to use the target keyword searches target song.
For example, acquisition for mobile terminal is not found to " happiness " this keyword, and mobile terminal in library
Song title includes the song of " happiness " this keyword, then mobile terminal may determine that " happiness " this keyword and key
Whether some target keyword in word association storeroom is near synonym.Assuming that being closed in key word association storehouse comprising " happy " this target
Keyword, then mobile terminal may determine that " happiness " and " happy " are near synonym, therefore mobile terminal can utilize " happy " this
Target keyword searches target song.
Mobile terminal is searched during target song using " happy " this target keyword, can there is two ways:First
The mode of kind is that the song for including " happy " this target keyword in song title is searched in library;The second way be
The song that music label is " happy " is searched in library, when finding the song that music label is " happy ", will just be searched
The music label arrived is the song of " happy " as target song.For example, it is assumed that《Day does not fall》Music label be " happy ", then
Music label just can be " happy " by mobile terminal《Day does not fall》This song Qu Zuowei target songs.
Step 704, the title for showing in the lookup result display field of the input method target song.
In step 704, mobile terminal is found after target song, can be shown in the lookup result display field of input method
Show the title of target song, wherein, the lookup result display field can be the candidate bar of input method.And mobile terminal may be looked into
Many first target songs are found, the title of many first target songs can be shown in the lookup result display field of input method.User can
Exported with therefrom selecting a song according to their needs.
Optionally, the step of showing the title of the target song in the lookup result display field of the input method it
Afterwards, methods described also includes:
Receive lyrics switching command;
The lyrics of the target song are obtained according to the lyrics switching command;
The lyrics of the target song are shown in the keyboard & display frame of the input method;
Receive the lyrics output order of the target song, export the lyrics of the target song to social dialog box.
It should be noted that the input method in the embodiment of the present invention can not only export target song, mesh can also be exported
Mark the lyrics of song.
By taking Fig. 4 as an example, in the lookup result display field of input method after the title of display target song, if user thinks
The lyrics of target song are exported, then can click on " lyrics " button of input method, now mobile terminal can receive the lyrics and cut
Change instruction.And mobile terminal can obtain the lyrics of target song according to the lyrics switching command, that is, obtain《Sea》This song
The bent lyrics, and then can be by《Sea》The bent lyrics of this song are shown in the keyboard & display frame of input method.
It can be shown in the keyboard & display frame of input method《Sea》The bent whole lyrics of this song, next, user can be with
Several lyrics are therefrom chosen out according to the hobby of oneself.Such as user can choose " if sea can call love once back ",
" just allowing me to be waited with all one's life ", " all deep feeling past events ", " you have no longer been reluctant to leave " and " just allowing it to rack far " this five lyrics.
As shown in Figure 10, it is the schematic diagram of the lyrics of display target song in the keyboard & display frame of input method.
User has been chosen after several lyrics oneself liked, it is possible to click on " transmission " button, and now mobile terminal can connect
Receive the lyrics output order of target song, and then mobile terminal can export several lyrics to the social activity that user chosen and talk with
Several lyrics that frame, i.e. user are chosen can be shown in the dialog box of social software.As shown in figure 11, it is in social software
The schematic diagram of the lyrics of display target song in dialog box.
It should be noted that as it was previously stated, in Fig. 4,《Sea》This song song is that the lookup result for coming input method shows
Show second position on column, i.e.,《Sea》This song song is that mobile terminal evaluates obtained and Keywords matching by algorithm
The optimal song of degree.Therefore when user clicks on " lyrics " button of input method, i.e., when mobile terminal receives lyrics switching command
When, mobile terminal can give tacit consent to acquisition《Sea》The bent lyrics of this song, i.e. mobile terminal can give tacit consent to acquisition and Keywords matching degree
The lyrics of optimal song, and the lyrics of the song optimal with Keywords matching degree can be shown in the keyboard & display of input method
In frame.
If user have selected in the lookup result display field of input method comes the 6th position《Sea, native place》
This song is bent, and clicks " lyrics " button of input method, and now mobile terminal can receive lyrics switching command.Connect down
Come, mobile terminal can obtain the lyrics of target song according to the lyrics switching command, that is, obtain《Sea, native place》This song is bent
The lyrics, and then can be by《Sea, native place》The bent lyrics of this song are shown in the keyboard & display frame of input method.
Optionally, before the step of the lyrics to the social dialog box of the output target song, methods described is also
Including:
Obtain the account information of the user using the input method;
In the lyrics that the account information is added to the target song;
The lyrics of the output target song to social dialog box, including:
The lyrics with the account information of the target song are exported to social dialog box.
When exporting the lyrics of target song, the lyrics with account information can also be exported.For example in Fig. 10, when with
Family has been chosen after several lyrics oneself liked, when clicking on " transmission " button, i.e., when mobile terminal receives the song of target song
During word output order, the account information of the user using input method of the invention will be obtained, and the account information is added
Into the lyrics of target song, the lyrics that last mobile terminal can export the target song with above-mentioned account information are right to social activity
Frame is talked about, i.e., the lyrics of the target song with above-mentioned account information can be shown in the dialog box of social software.As shown in figure 11,
When the account information of the user of the input method using the present invention is " pineapple ", it is possible to shown in the dialog box of social software
The lyrics of target song with " pineapple " this account information.
Step 705, the output order for receiving the target song, export the target song to social dialog box.
In step 705, if mobile terminal receives the output order of target song, target song will be exported to society
Hand over dialog box, i.e., can in the dialog box of social software display target song title.After outputing target song, Ke Yi
The side of target song title in the dialog box of social software sets a broadcast button, when clicking on the broadcast button, then
The target song can be played.
In the input method of the embodiment of the present invention, using keyword lookup target song, if finding and keyword phase
The target song matched somebody with somebody, it is possible to export the target song.Further, the lyrics of target song can also be exported.So, make defeated
The function of entering method is more enriched, while also increasing interest.
Referring to Figure 12, Figure 12 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 12, mobile terminal
1200 include the first acquisition module 1201, searching modul 1202, the first display module 1203 and the first output module 1204, its
In:
First acquisition module 1201, for obtaining the keyword in communication interface, wherein, the communication interface includes text
Input frame and social dialog box, the Text Entry is a part for input method;
Searching modul 1202, for searching the target song with the Keywords matching in library;
First display module 1203, for showing the target song in the lookup result display field of the input method
Title;
First output module 1204, the output order for receiving the target song exports the target song to society
Hand over dialog box.
Optionally, as shown in figure 13, the first acquisition module 1201 includes:
Detection sub-module 12011, the character in Text Entry for detecting the input method;
Submodule 12012 is searched, for searching the vocabulary matched with the character;
Display sub-module 12013, it is described with the character phase for being shown in the lookup result display field of input method
The vocabulary matched somebody with somebody;
Submodule 12014 is selected, if for receiving lexical choice instruction, from the vocabulary matched with the character
Middle selection target vocabulary;
First extracting sub-module 12015, for extracting the keyword from the target vocabulary.
Optionally, as shown in figure 14, the first acquisition module 1201 includes:
First judging submodule 12016, for judging whether receive target message in social dialog box, wherein, institute
State the part that social dialog box is the communication interface using the input method;
Second extracting sub-module 12017, if for receiving the target message, institute is extracted from the target message
State keyword.
Optionally, as shown in figure 15, the input method includes music recommendation function button, and the mobile terminal also includes:
Detection module 1205, for detecting whether receiving the object run to the music recommendation function button;
Performing module 1206, if for detecting the object run, performing the key in the acquisition communication interface
The step of word, wherein, the music recommendation function button is used for the music recommendation function for realizing the input method.
Optionally, as shown in figure 16, the mobile terminal also includes:
Receiving module 1207, for receiving lyrics switching command;
Second acquisition module 1208, the lyrics for obtaining the target song according to the lyrics switching command;
Second display module 1209, the song for showing the target song in the keyboard & display frame of the input method
Word;
Second output module 12010, the lyrics output order for receiving the target song exports the target song
The lyrics to social dialog box.
Optionally, as shown in figure 17, the mobile terminal also includes:
3rd acquisition module 120101, the account information for obtaining the user using the input method;
Add module 120102, for the account information to be added in the lyrics of the target song;
The lyrics with the account information that second output module 12010 is used to export the target song are right to social activity
Talk about frame.
Mobile terminal 1 200 can realize each process that mobile terminal is realized in Fig. 1 and Fig. 7 embodiment of the method, to keep away
Exempt to repeat, repeat no more here.And mobile terminal 1 200 can be realized using keyword lookup target song, if finding and closing
The target song that keyword matches, it is possible to export the target song.Further, the lyrics of target song can also be exported.
So, the function of input method is made more to enrich, while also increasing interest.
Referring to Figure 18, Figure 18 is the structure chart for the mobile terminal that the present invention implements offer, as shown in figure 18, mobile terminal
1800 include:At least one processor 1801, memory 1802, at least one network interface 1804 and user interface 1803.Move
Each component in dynamic terminal 1800 is coupled by bus system 1805.It is understood that bus system 1805 is used to realize
Connection communication between these components.Bus system 1805 is in addition to including data/address bus, in addition to power bus, controlling bus
And status signal bus in addition.But for the sake of clear explanation, various buses are all designated as bus system 1805 in figure 18.
Wherein, user interface 1803 can include display, keyboard or pointing device (for example, mouse, trace ball
(track ball), touch-sensitive plate or touch-screen etc..
It is appreciated that the memory 1802 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
DataRate SDRAM, DDRSDRAM), enhanced Synchronous Dynamic Random Access Memory (Enhanced SDRAM, ESDRAM),
Synchronized links dynamic random access memory (Synchlink DRAM, SLDRAM) and direct rambus random access memory
(Direct Rambus RAM, DRRAM).The memory 1802 of system and method described herein be intended to including but not limited to this
The memory of a little and any other suitable type.
In some embodiments, memory 1802 stores following element, can perform module or data structure, or
Their subset of person, or their superset:Operating system 18021 and application program 18022.
Wherein, operating system 18021, 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 18022, 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 18022.
In embodiments of the present invention, by calling program or the instruction of the storage of memory 1802, specifically, can be application
The program stored in program 18022 or instruction, processor 1801 are used for:
The keyword in communication interface is obtained, wherein, the communication interface includes Text Entry and social dialog box, institute
State the part that Text Entry is input method;
The target song with the Keywords matching is searched in library;
The title of the target song is shown in the lookup result display field of the input method;
The output order of the target song is received, the target song is exported to social dialog box.
The method that the embodiments of the present invention are disclosed can apply in processor 1801, or real by processor 1801
It is existing.Processor 1801 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 1801 or software form.Above-mentioned
Processor 1801 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 1802, processor 1801 reads the information in memory 1802, 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 1801 performs the keyword in the acquisition communication interface, including:
Detect the character in the Text Entry of the input method;
Search the vocabulary matched with the character;
The vocabulary matched with the character is shown in the lookup result display field of input method;
If receiving lexical choice instruction, the selection target vocabulary from the vocabulary matched with the character;
The keyword is extracted from the target vocabulary.
Optionally, processor 1801 performs the keyword in the acquisition communication interface, including:
Judge whether receive target message in social dialog box, wherein, the social dialog box is using described defeated
Enter a part for the communication interface of method;
If receiving the target message, the keyword is extracted from the target message.
Optionally, the input method includes music recommendation function button, the keyword in the acquisition communication interface
Before step, processor 1801 is additionally operable to:
Detect whether to receive the object run to the music recommendation function button;
If detecting the object run, the step of performing the keyword in the acquisition communication interface, wherein, it is described
Music recommendation function button is used for the music recommendation function for realizing the input method.
Optionally, the step of showing the title of the target song in the lookup result display field of the input method it
Afterwards, processor 1801 is additionally operable to:
Receive lyrics switching command;
The lyrics of the target song are obtained according to the lyrics switching command;
The lyrics of the target song are shown in the keyboard & display frame of the input method;
Receive the lyrics output order of the target song, export the lyrics of the target song to social dialog box.
Optionally, before the step of the lyrics to the social dialog box of the output target song, processor 1801
It is additionally operable to:
Obtain the account information of the user using the input method;
In the lyrics that the account information is added to the target song;
The lyrics of the output target song to social dialog box, including:
The lyrics with the account information of the target song are exported to social dialog box.
Mobile terminal 1 800 can realize each process that mobile terminal is realized in previous embodiment, to avoid repeating, this
In repeat no more.And mobile terminal 1 800 can be realized using keyword lookup target song, if finding and keyword phase
The target song matched somebody with somebody, it is possible to export the target song.Further, the lyrics of target song can also be exported.So, make defeated
The function of entering method is more enriched, while also increasing interest.
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 scheme of the embodiment of the present invention according to the actual needs
Purpose.
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 (12)
1. a kind of input method, it is characterised in that including:
The keyword in communication interface is obtained, wherein, the communication interface includes Text Entry and social dialog box, the text
This input frame is a part for input method;
The target song with the Keywords matching is searched in library;
The title of the target song is shown in the lookup result display field of the input method;
The output order of the target song is received, the target song is exported to social dialog box.
2. the method as described in claim 1, it is characterised in that the keyword in the acquisition communication interface, including:
Detect the character in the Text Entry of the input method;
Search the vocabulary matched with the character;
The vocabulary matched with the character is shown in the lookup result display field of input method;
If receiving lexical choice instruction, the selection target vocabulary from the vocabulary matched with the character;
The keyword is extracted from the target vocabulary.
3. the method as described in claim 1, it is characterised in that the keyword in the acquisition communication interface, including:
Judge whether receive target message in social dialog box, wherein, the social dialog box is to use the input method
Communication interface a part;
If receiving the target message, the keyword is extracted from the target message.
4. the method as described in claim 1, it is characterised in that the input method includes music recommendation function button, described
Before the step of obtaining the keyword in communication interface, methods described also includes:
Detect whether to receive the object run to the music recommendation function button;
If detecting the object run, the step of performing the keyword in the acquisition communication interface, wherein, the music
Recommendation function button is used for the music recommendation function for realizing the input method.
5. the method as any one of claim 1-4, it is characterised in that in the lookup result display field of the input method
After the step of title of the middle display target song, methods described also includes:
Receive lyrics switching command;
The lyrics of the target song are obtained according to the lyrics switching command;
The lyrics of the target song are shown in the keyboard & display frame of the input method;
Receive the lyrics output order of the target song, export the lyrics of the target song to social dialog box.
6. method as claimed in claim 5, it is characterised in that talk with the lyrics to the social activity of the output target song
Before the step of frame, methods described also includes:
Obtain the account information of the user using the input method;
In the lyrics that the account information is added to the target song;
The lyrics of the output target song to social dialog box, including:
The lyrics with the account information of the target song are exported to social dialog box.
7. a kind of mobile terminal, it is characterised in that including:
First acquisition module, for obtaining the keyword in communication interface, wherein, the communication interface include Text Entry and
Social dialog box, the Text Entry is a part for input method;
Searching modul, for searching the target song with the Keywords matching in library;
First display module, the title for showing the target song in the lookup result display field of the input method;
First output module, the output order for receiving the target song exports the target song to social dialog box.
8. mobile terminal as claimed in claim 7, it is characterised in that first acquisition module includes:
Detection sub-module, the character in Text Entry for detecting the input method;
Submodule is searched, for searching the vocabulary matched with the character;
Display sub-module, for showing the vocabulary matched with the character in the lookup result display field of input method;
Submodule is selected, if for receiving lexical choice instruction, mesh is selected from the vocabulary matched with the character
Mark vocabulary;
First extracting sub-module, for extracting the keyword from the target vocabulary.
9. mobile terminal as claimed in claim 7, it is characterised in that first acquisition module includes:
First judging submodule, for judging whether receive target message in social dialog box, wherein, the social dialogue
Frame is a part for the communication interface using the input method;
Second extracting sub-module, if for receiving the target message, the keyword is extracted from the target message.
10. mobile terminal as claimed in claim 7, it is characterised in that the input method includes music recommendation function button, institute
Stating mobile terminal also includes:
Detection module, for detecting whether receiving the object run to the music recommendation function button;
Performing module, if for detecting the object run, the step of performing the keyword in the acquisition communication interface,
Wherein, the music recommendation function button is used for the music recommendation function for realizing the input method.
11. the mobile terminal as any one of claim 7-10, it is characterised in that the mobile terminal also includes:
Receiving module, for receiving lyrics switching command;
Second acquisition module, the lyrics for obtaining the target song according to the lyrics switching command;
Second display module, the lyrics for showing the target song in the keyboard & display frame of the input method;
Second output module, the lyrics output order for receiving the target song exports the lyrics of the target song extremely
Social dialog box.
12. mobile terminal as claimed in claim 11, it is characterised in that the mobile terminal also includes:
3rd acquisition module, the account information for obtaining the user using the input method;
Add module, for the account information to be added in the lyrics of the target song;
Second output module is used to export the lyrics with the account information of the target song to social dialog box.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710279131.1A CN107102987B (en) | 2017-04-25 | 2017-04-25 | Input method and mobile terminal |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710279131.1A CN107102987B (en) | 2017-04-25 | 2017-04-25 | Input method and mobile terminal |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107102987A true CN107102987A (en) | 2017-08-29 |
CN107102987B CN107102987B (en) | 2021-04-23 |
Family
ID=59656448
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710279131.1A Active CN107102987B (en) | 2017-04-25 | 2017-04-25 | Input method and mobile terminal |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107102987B (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766455A (en) * | 2017-09-21 | 2018-03-06 | 腾讯音乐娱乐科技(深圳)有限公司 | Lyrics building sequence method, apparatus and computer-readable recording medium |
CN108039184A (en) * | 2017-12-28 | 2018-05-15 | 腾讯音乐娱乐科技(深圳)有限公司 | Lyrics adding method and device |
Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092969A (en) * | 2013-01-22 | 2013-05-08 | 上海量明科技发展有限公司 | Method, client side and system for conducting streaming media retrieval to input method candidate item |
CN104917669A (en) * | 2015-05-29 | 2015-09-16 | 北京搜狗科技发展有限公司 | Information processing method and device |
-
2017
- 2017-04-25 CN CN201710279131.1A patent/CN107102987B/en active Active
Patent Citations (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103092969A (en) * | 2013-01-22 | 2013-05-08 | 上海量明科技发展有限公司 | Method, client side and system for conducting streaming media retrieval to input method candidate item |
CN104917669A (en) * | 2015-05-29 | 2015-09-16 | 北京搜狗科技发展有限公司 | Information processing method and device |
Non-Patent Citations (2)
Title |
---|
壹互动: "一款用歌词聊天的输入法——妈妈!", 《搜狐》 * |
张士萍 等: "《计算机应用基础》", 30 September 2015, 北京:北京理工大学出版社 * |
Cited By (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN107766455A (en) * | 2017-09-21 | 2018-03-06 | 腾讯音乐娱乐科技(深圳)有限公司 | Lyrics building sequence method, apparatus and computer-readable recording medium |
CN107766455B (en) * | 2017-09-21 | 2020-06-30 | 腾讯音乐娱乐科技(深圳)有限公司 | Lyric pickup method, device and computer readable storage medium |
CN108039184A (en) * | 2017-12-28 | 2018-05-15 | 腾讯音乐娱乐科技(深圳)有限公司 | Lyrics adding method and device |
Also Published As
Publication number | Publication date |
---|---|
CN107102987B (en) | 2021-04-23 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10652706B1 (en) | Entity disambiguation in a mobile environment | |
CN102439542B (en) | The text input system of electronic equipment and text entry method | |
Yang | The Internet and the rise of a transnational Chinese cultural sphere | |
CN100581108C (en) | Super interlinking resident searching method | |
US8126713B2 (en) | Conversation control system and conversation control method | |
Gillick et al. | A global optimization framework for meeting summarization | |
US20110173174A1 (en) | Linguistically enhanced search engine and meta-search engine | |
CN108304375A (en) | A kind of information identifying method and its equipment, storage medium, terminal | |
Schouten et al. | A semantic web-based approach for personalizing news | |
CN101782833B (en) | Intelligent operating system and method | |
CA2727537A1 (en) | System and method for compending blogs | |
US7499858B2 (en) | Methods of information retrieval | |
CN106874449A (en) | The searching method and mobile terminal of a kind of application program | |
CN110532354A (en) | The search method and device of content | |
CN107678629A (en) | Application program search method | |
AU2003236049B2 (en) | Conversation control system and conversation control method | |
CN107102987A (en) | A kind of input method and mobile terminal | |
Jin et al. | A comprehensive survey on process-oriented automatic text summarization with exploration of llm-based methods | |
Schulz | A new algorithmic imaginary | |
CN107025295A (en) | A kind of photo film making method and mobile terminal | |
Jia et al. | Taxonomy of abstractive dialogue summarization: scenarios, approaches, and future directions | |
Riedhammer et al. | A keyphrase based approach to interactive meeting summarization | |
CN106484302A (en) | A kind of playback of songs method and mobile terminal | |
CN116097246A (en) | Discovery of scaffolds using auto-completion as data support for visual analysis | |
Hanser et al. | NewsViz: emotional visualization of news stories |
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 |