Automatically the method and system of replying suggestion is generated according to short message content
Technical field
The present invention relates to a kind of analysis of short message, process field, particularly relate to a kind of method and system automatically generating reply suggestion according to short message content.
Background technology
In prior art, intelligent mobile terminal has become communication tool indispensable in people's life, work, intelligent mobile terminal receive note after user reply all need oneself editor reply content, cellphone inputting method will repeatedly be clicked usually just can complete input, input efficiency is low, causes messaging communication efficiency also low, and therefore many intelligent mobile terminal users are not liked sending short messages, think and send short messages too slowly, telephonic communication is faster.
Summary of the invention
In order to solve the deficiency that prior art exists, the object of the present invention is to provide a kind of method and system automatically generating reply suggestion according to short message content, user receive new note need reply time, automatic generation is replied suggestion and is selected for user, reply content can be the answer of the other side's problem, also can be the content that user often inputs.
For achieving the above object, the method automatically generating reply suggestion according to short message content provided by the invention, the method comprises the following steps:
1) short message content received is analyzed, the result that generative semantics is understood;
2) result of semantic understanding is processed, generate reply content suggestion or/and Preliminary Analysis Results;
3) judge whether to need more process, do not need, described reply content suggestion is presented to user; If needed, described Preliminary Analysis Results is sent to intelligent replying network support Cloud Server;
4) receive the Search Results that intelligent replying network support Cloud Server sends, and be presented to user together with being advised with described reply content by this Search Results;
5) user advises or/and Search Results is selected and sent the reply content represented.
Wherein, judging whether described in described step 3) needs more process to be: if the result of described semantic understanding for " OK ", " OK ", " can ", the simple matter of right and wrong such as " OK " or " whether ", then not thinking needs more process; Otherwise think and need more process.
Wherein, described method comprises further, and intelligent replying network support Cloud Server is further analyzed described Preliminary Analysis Results, at self-built knowledge data base and the enterprising line search of Internet, generates Search Results.
For achieving the above object, the system automatically generating reply suggestion according to short message content provided by the invention, comprises man-machine interface input module, intelligent replying processing module, intelligent replying network support Cloud Server, and man-machine interface display module, wherein,
Described man-machine interface input module, it receives the other side's short message content, and this short message content is transmitted to described intelligent replying processing module;
Described intelligent replying processing module, analyzes the short message content received, processes, and generates reply content suggestion; Preliminary Analysis Results is sent to described intelligent replying network support Cloud Server; By described reply content suggestion or/and Search Results sends to described man-machine interface to represent module;
Described intelligent replying network support Cloud Server, receive the Preliminary Analysis Results that described intelligent replying processing module sends, and it is further analyzed, described Search Results is also fed back to described intelligent replying processing module by Search Results on self-built knowledge data base and Internet;
Described man-machine interface represents module, receives reply content or the/Search Results of the transmission of described intelligent replying processing module, and shows.
Wherein, described intelligent replying processing module, according to the analysis to short message content, judges whether to need more process, does not need, and described reply content suggestion is presented to user; If needed, described Preliminary Analysis Results is sent to intelligent replying network support Cloud Server.
Wherein, described intelligent replying processing module, according to the analysis to short message content, the result of semantic understanding be " OK ", " OK ", " can ", the simple matter of right and wrong such as " OK " or " whether ", then not thinking needs more process; Otherwise think and need more process
The present invention generates the method and system of replying suggestion automatically according to short message content, carrying out the content of note, providing the content recommendation of quickly revert, saving the input time of user by analyzing the other side, improves and links up efficiency and Consumer's Experience.
Other features and advantages of the present invention will be set forth in the following description, and, partly become apparent from specification, or understand by implementing the present invention.
Accompanying drawing explanation
Accompanying drawing is used to provide a further understanding of the present invention, and forms a part for specification, and together with embodiments of the present invention, for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 generates the method flow diagram of replying suggestion automatically according to of the present invention according to short message content;
Fig. 2 generates the system block diagram of replying suggestion automatically according to of the present invention according to short message content;
Fig. 3 is for automatically generating reply suggestion first schematic diagram according to of the present invention according to short message content;
Fig. 4 is for automatically generating reply suggestion second schematic diagram according to of the present invention according to short message content.
Embodiment
Below in conjunction with accompanying drawing, the preferred embodiments of the present invention are described, should be appreciated that preferred embodiment described herein is only for instruction and explanation of the present invention, is not intended to limit the present invention.
Fig. 1 be according to of the present invention according to short message content automatically generate reply suggestion method flow diagram, below with reference to Fig. 1, to of the present invention according to short message content automatically generate reply suggestion method be described in detail:
First, in step 101, the note received is analyzed, in this step, to the analysis of short message content, mainly text analyzing, semantic understanding, the result that generative semantics is understood;
In step 102, the result of semantic understanding is processed, automatically generate reply content suggestion or/and Preliminary Analysis Results; If the other side's short message content problem that to be similar " Yes/No " by analysis such, directly provide the reply content suggestion of "Yes" and the "No" meeting the other side's expression way; Fig. 3 is for automatically generating reply suggestion first schematic diagram according to of the present invention according to short message content, as shown in Figure 3, the short message content received is for " tomorrow has a little thing to want to ask half-holiday, OK? ", generate reply content suggestion and select for user for " OK " or " not all right ";
In step 103, judge whether to need more process, do not need, forward step 105 to, need, carry out next step; In this step, if the result of semantic understanding be similar to " OK ", " OK ", " can ", the simple matter of right and wrong printed words such as " OK " or " whether ", then not thinking needs more process, otherwise thinks and need more process;
In step 104, Preliminary Analysis Results is sent to intelligent replying network support Cloud Server, intelligent replying network support Cloud Server is analyzed this Preliminary Analysis Results again, at self-built knowledge data base and the enterprising line search of Internet, generates Search Results; Fig. 4 is for automatically generating reply suggestion second schematic diagram according to of the present invention according to short message content, as shown in Figure 4, when the short message content received for " I will go over tomorrow; the weather in Shanghai how? " time, after to the analysis of this short message content, think and need more process, then Preliminary Analysis Results " tomorrow; Shanghai, weather " is sent to intelligent replying network support Cloud Server; Intelligent replying network support Cloud Server is analyzed this Preliminary Analysis Results, and the Search Results of generation is that " clear to cloudy, temperature 25 DEG C ~ 30 DEG C " is selected for user;
In step 105, by reply content suggestion or/and Search Results is presented to user;
In step 106, user advises or/and Search Results is selected and sent the reply content represented.
Fig. 2 generates the system block diagram of replying suggestion automatically according to of the present invention according to short message content, as shown in Figure 2, automatically the system generating reply suggestion according to short message content of the present invention, comprise, man-machine interface input module 201, intelligent replying processing module 202, intelligent replying network support Cloud Server 203, and man-machine interface display module 204, wherein
Man-machine interface input module 201, is responsible for receiving the other side's short message content, and according to predefined form, this short message content is transmitted to intelligent replying processing module 202;
Intelligent replying processing module 202, first content of text and the associated person information of note is analyzed, decompose keyword, and determine the answer that whether can provide such as " Yes/No " pattern according to keyword, if can, then generate the reply content suggestion of " Yes/No " pattern, send to man-machine interface to represent module 204 with XML coding; If the conclusion of text analyzing can not answer with " Yes/No " pattern, so need to seek help from intelligent replying network support Cloud Server, Preliminary Analysis Results is transmitted to intelligent replying network support Cloud Server 203; Receive the Search Results that intelligent replying network support Cloud Server 203 feeds back, and send to man-machine interface to represent module 204 to after its processing process;
Intelligent replying network support Cloud Server 203, it is the service equipment running on Internet, receive the Preliminary Analysis Results that intelligent replying processing module 202 sends, and it is analysed in depth further, on self-built knowledge data base and Internet, Search Results feeds back to intelligent replying processing module 202; Its ability is not limited to self-built knowledge data base and Internet, is the natural language analysis treatment system of a set of artificial intelligence.
Man-machine interface represents module 204, receives reply content suggestion and the Search Results of the transmission of intelligent replying processing module, and shows, the click event of response user.Receive reply content or the/Search Results of the transmission of described intelligent replying processing module.
Time suggestion for " be/non-" class is carried out showing, shown by two buttons, a button is affirmative acknowledgement (ACK), and a button is negative acknowledge, directly sends the content on button, need not confirm further after user's button click.Time suggestion for non-" be/non-" class is carried out showing, show in the form of a list, user chooses rear automatically by the input frame of selected content replication to short message content, and input frame can continue editor, is clicked send button and determine transmission by user.
Adopt the method and system automatically generating reply suggestion according to short message content of the present invention, when intelligent mobile terminal receives a note, if the other side's content is mentioned " OK ", " OK ", " can ", the simple matter of right and wrong printed words such as " OK ", when user click input frame start editor but also do not input time, automatically reply content suggestion is provided: " good " and " bad ", " OK " and " not all right ", " can " and " cannot ", or " OK " and " No ", select for user.It is simple just as putting on computers a button that user replys a note.And when the more reply contents of needs, realize by cloud service.Such as the other side's note inquires a day weather condition, and the present invention can go Cloud Server obtain Weather information and be prompted to user automatically, and user clicks and will be added in reply content by automatic powder adding.The time of short message editing can be saved like this, easily select just can reply, simple and convenient, greatly improve the Consumer's Experience of message reply.
One of ordinary skill in the art will appreciate that: the foregoing is only the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment to invention has been detailed description, for a person skilled in the art, it still can be modified to the technical scheme that foregoing embodiments is recorded, or carries out equivalent replacement to wherein portion of techniques feature.Within the spirit and principles in the present invention all, any amendment done, equivalent replacement, improvement etc., all should be included within protection scope of the present invention.