A kind of dynamic expression input method based on input method and system thereof
Technical field
The present invention relates to mobile terminal input method dynamic expression input technology field, particularly relate to a kind of based on defeated
Enter dynamic expression input method and the system thereof of method.
Background technology
Input method carries out keyword fuzzy matching according to the information that user inputs, what guess user wanted input
It is intended to, dynamically ejects Gif expression window, allow user carry out clicking operation, send corresponding Gif animation table
Feelings, to the application being currently located, are sent to recipient.But existing input method is only able to display limited Gif expression,
The most manually go to update, more expression could be supported;In use, user must be manually entered expression page
Face, selects gif expression, could send and express one's feelings to the other side accordingly, it is impossible to meet the individual demand of user.
Summary of the invention
For the deficiencies in the prior art, it is an object of the invention to provide one and input latest tendency table rapidly
The dynamic expression input method based on input method of feelings picture and system thereof, meet the individual demand of user.
For achieving the above object, the technical solution used in the present invention is as follows: a kind of dynamic table based on input method
Feelings input method, is to realize in input method is applied, said method comprising the steps of:
The character string that S1, user in real are currently entered;
S2, it is connected with far-end server by network, and according to acquired character string in far-end server
Carry out fuzzy matching, to obtain up-to-date dynamic expression picture resource and to be saved in background data base,
Character string acquired in described basis carries out the concrete operations of fuzzy matching in far-end server:
By acquired character string, go out the title of the expression content of correspondence according to search rule association, and according to
This title carries out identical or approximation in the dynamic expression picture data base of far-end server to dynamic expression picture
The coupling of implication title, filters out up-to-date dynamic expression picture after coupling acquired results;
S3, play on interface frame show up-to-date dynamic expression picture for user's selection, if user clicks on dynamically
Expression plays frame and is then considered as confirming input dynamic expression picture, plays frame and disappears and automatically send dynamic expression picture.
Further, described method is further comprising the steps of:
Before realizing step S2, whether detection network is connected with far-end server, if connected, then performs step
Rapid S2, without connection, then terminates.
For realizing another object of the present invention, the present invention also adopts the following technical scheme that a kind of based on input method
Dynamic expression input system, described system includes:
Acquiring unit, the character string being currently entered for user in real;
Matching unit, for being connected with far-end server by network, and according to acquired character string far
End server carries out fuzzy matching, to obtain up-to-date dynamic expression picture resource and to be saved in back-end data
In storehouse, described matching unit carries out the concrete of fuzzy matching according to acquired character string in far-end server
Operation is:
By acquired character string, go out the title of the expression content of correspondence according to search rule association, and according to
This title carries out identical or approximation in the dynamic expression picture data base of far-end server to dynamic expression picture
The coupling of implication title, filters out up-to-date dynamic expression picture after coupling acquired results;
Display unit, plays frame on interface and shows that up-to-date dynamic expression picture selects for user, if user's point
Hit dynamic expression bullet frame to be then considered as confirming input dynamic expression picture, play frame and disappear and automatically send dynamic expression
Picture.
Further, described system also includes network detector unit, whether is used for detecting network and far-end server
Connect, if connected, then perform matching unit operation, without connection, then terminate.
Relative to prior art, the word that technical solutions according to the invention are currently entered by user in real
Symbol string;S2, it is connected with far-end server by network, and according to acquired character string at far-end server
In carry out fuzzy matching, to obtain up-to-date dynamic expression picture resource and to be saved in background data base, institute
State and in far-end server, carry out the concrete operations of fuzzy matching according to acquired character string and be: by acquired
Character string, go out the title of expression content of correspondence according to search rule association, and according to this title at far-end
Dynamic expression picture is carried out by the dynamic expression picture data base of server identical or approximation implication title
Join, after coupling acquired results, filter out up-to-date dynamic expression picture;S3, on interface play frame show up-to-date
Dynamic expression picture for user select, if user clicks on dynamic expression bullet frame, be considered as confirm input dynamic table
Feelings picture, plays frame and disappears and automatically send dynamic expression picture, to realize input latest tendency expression rapidly
Picture, promotes Consumer's Experience.
In order to be fully understood from the purpose of the present invention, feature and effect, below with reference to the accompanying drawing structure to the present invention
The technique effect of think of, concrete structure and generation is described further.
Accompanying drawing explanation
Fig. 1 is the module diagram of dynamic expression input system based on input method of the present invention;
Fig. 2 is the flow chart of dynamic expression input method based on input method of the present invention.
Detailed description of the invention
The present invention is described in detail, schematic in the present invention below in conjunction with accompanying drawing and specific implementation method
Implement and explanation is used for explaining the present invention, but not as a limitation of the invention.
Embodiment
As it is shown in figure 1, a kind of dynamic expression input system based on input method, described system includes:
Acquiring unit, the character string being currently entered for user in real;
Network detector unit, is used for detecting whether network is connected with far-end server, if connected, then performs
Matching unit operates, and without connection, then terminates.
Matching unit, for being connected with far-end server by network, and according to acquired character string far
End server carries out fuzzy matching, to obtain up-to-date dynamic expression picture resource and to be saved in back-end data
In storehouse, described matching unit carries out the concrete of fuzzy matching according to acquired character string in far-end server
Operation is:
By acquired character string, go out the title of the expression content of correspondence according to search rule association, and according to
This title carries out identical or approximation in the dynamic expression picture data base of far-end server to dynamic expression picture
The coupling of implication title, filters out up-to-date dynamic expression picture after coupling acquired results;
Display unit, plays frame on interface and shows that up-to-date dynamic expression picture selects for user, if user's point
Hit dynamic expression bullet frame to be then considered as confirming input dynamic expression picture, play frame and disappear and automatically send dynamic expression
Picture.
Example: when user's input " goo " character string, input method search engine can be automatically matched to keyword "
Good ", and be connected with far-end server, search out the up-to-date dynamic expression Gif mated with good figure and under
Load is cached in background data base, and ejects and keyword on interface of input method " good " corresponding up-to-date
Dynamic expression Gif;When user clicks on corresponding dynamic expression Gif bullet frame, this dynamic expression Gif expresses one's feelings figure
Sector-meeting is automatically transmitted to good friend, and plays frame and automatically disappear.
As in figure 2 it is shown, a kind of dynamic expression input method based on input method, it is real in input method is applied
Existing, said method comprising the steps of:
The character string that S101: user in real is currently entered;
S102: whether detection network is connected with far-end server, if it is, perform step S103, if
No, then terminate.
S103: be connected with far-end server by network, and according to acquired character string at far-end server
In carry out fuzzy matching, to obtain up-to-date dynamic expression picture resource and to be saved in background data base,
Character string acquired in described basis carries out the concrete operations of fuzzy matching in far-end server:
By acquired character string, go out the title of the expression content of correspondence according to search rule association, and according to
This title carries out identical or approximation in the dynamic expression picture data base of far-end server to dynamic expression picture
The coupling of implication title, filters out up-to-date dynamic expression picture after coupling acquired results;
S104: play frame on interface and show that up-to-date dynamic expression picture selects for user, if user clicks on dynamic
State expression plays frame and is then considered as confirming input dynamic expression picture, plays frame and disappears and automatically send dynamic expression picture.
The present invention can realize inputting latest tendency expression picture rapidly, promotes Consumer's Experience.
If the function described in the present embodiment realizes and as independent product pin using the form of SFU software functional unit
When selling or use, a calculating device-readable can be stored in and take in storage medium.Based on such understanding,
Part or the part of this technical scheme that prior art is contributed by the embodiment of the present invention can be produced with software
The form of product embodies, and this software product is stored in a storage medium, including some instructions in order to make
One calculates equipment (can be personal computer, server, mobile computing device or the network equipment etc.)
Perform all or part of step of method described in each embodiment of the present invention.And aforesaid storage medium includes:
USB flash disk, portable hard drive, read only memory (ROM, Read-Only Memory), random access memory (RAM,
Random Access Memory), the various media that can store program code such as magnetic disc or CD.This theory
In bright book, each embodiment uses the mode gone forward one by one to describe, and what each embodiment stressed is real with other
Executing the difference of example, between each embodiment, same or similar part sees mutually.
Described above to the disclosed embodiments, makes professional and technical personnel in the field be capable of or uses this
Invention.Multiple amendment to these embodiments will be apparent from for those skilled in the art,
Generic principles defined herein can without departing from the spirit or scope of the present invention, at other
Embodiment realizes.Therefore, the present invention is not intended to be limited to the embodiments shown herein, and is intended to
Meet the widest scope consistent with principles disclosed herein and features of novelty.