Automatically generate the method and system of replying suggestion according to short message content
Technical field
The present invention relates to a kind of analysis, process field of short message, relate in particular to a kind of method and system of replying suggestion that automatically generates according to short message content.
Background technology
In the prior art, intelligent mobile terminal has become indispensable communication tool in people's life, the work, the receiving that the user replys after the note and all need the own reply content of editing of intelligent mobile terminal, cellphone inputting method will repeatedly be clicked just usually can finish input, input efficiency is low, causes messaging communication efficient also low, and therefore many intelligent mobile terminal users are not liked sending short messages, think and send short messages too slowly that it is faster that phone is linked up.
Summary of the invention
The deficiency that exists in order to solve prior art, the object of the present invention is to provide a kind of method and system of replying suggestion that automatically generates according to short message content, when the user receives that new note need to be replied, automatically generate and reply suggestion for user selection, reply content can be the answer of the other side's problem, also can be the content of the normal input of user.
For achieving the above object, provided by the invention automatically the generation according to short message content replied the method for advising, the method may further comprise the steps:
1) short message content that receives is analyzed the result that generative semantics is understood;
2) result of semantic understanding processed, generate the reply content suggestion or/and Preliminary Analysis Results;
3) need to judge whether more the processing, do not need then described reply content suggestion to be represented to the user; If need then described Preliminary Analysis Results sent to intelligent replying network support Cloud Server;
4) receive the Search Results that intelligent replying network support Cloud Server sends, and this Search Results is represented to the user with described reply content suggestion;
5) user advises or/and Search Results is selected and sent the reply content that represents.
Wherein, described step 3) is described needs to judge whether more the processing 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 thinking does not need more processing; Otherwise thinking needs more the processing.
Wherein, described method comprises that further 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, provided by the invention automatically the generation according to short message content replied the system of advising, comprises man-machine interface input module, intelligent replying processing module, intelligent replying network support Cloud Server, and the 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 is analyzed, is processed the short message content that receives, and generates the reply content suggestion; Preliminary Analysis Results is sent to described intelligent replying network support Cloud Server; Described reply content suggestion or/and sending to described man-machine interface, Search Results is represented 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 Search Results and described Search Results fed back to described intelligent replying processing module on self-built knowledge data base and Internet;
Described man-machine interface represents module, receive reply content that described intelligent replying processing module sends or/Search Results, and show.
Wherein, described intelligent replying processing module according to the analysis to short message content, need to judge whether more the processing, does not need then described reply content suggestion to be represented to the user; If need then described Preliminary Analysis Results 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 ", " OK " or the simple matters of right and wrong such as " whether ", then thinking does not need more processing; Otherwise thinking needs more the processing
The present invention generates the method and system of replying suggestion automatically according to short message content, comes the content of note by analyzing the other side, provides the content recommendation of quickly revert, has saved user's input time, has improved communication efficient and user and has experienced.
Other features and advantages of the present invention will be set forth in the following description, and, partly from specification, become apparent, perhaps understand by implementing the present invention.
Description of drawings
Accompanying drawing is used to provide a further understanding of the present invention, and consists of the part of specification, and together with embodiments of the present invention, is used for explaining the present invention, is not construed as limiting the invention.In the accompanying drawings:
Fig. 1 is the method flow diagram of replying suggestion that automatically generates according to short message content according to the present invention;
Fig. 2 is the system block diagram of replying suggestion that automatically generates according to short message content according to the present invention;
Fig. 3 is for replying suggestion the first schematic diagram according to of the present invention automatically the generation according to short message content;
Fig. 4 is for replying suggestion the second schematic diagram according to of the present invention automatically the generation 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 only is used for description and interpretation the present invention, is not intended to limit the present invention.
Fig. 1 is for automatically generating the method flow diagram of replying suggestion according to of the present invention according to short message content, below with reference to Fig. 1, automatically generates the method for replying suggestion according to short message content and is described in detail of the present invention:
At first, in step 101, the note of receiving being analyzed, in this step, to the analysis of short message content, mainly is text analyzing, semantic understanding, the result that generative semantics is understood;
In step 102, the result of semantic understanding is processed, automatically generate the reply content suggestion or/and Preliminary Analysis Results; If the other side's short message content is similar " being/no " such problem by analysis, directly provide the reply content suggestion of the "Yes" that meets the other side's expression way and "No"; Fig. 3 is for replying suggestion the first schematic diagram according to of the present invention automatically the generation according to short message content, as shown in Figure 3, the short message content of receiving will be for " having tomorrow a little thing to want to ask half-holiday, OK? ", generate the reply content suggestion and supply user selection for " OK " or " not all right ";
In step 103, need to judge whether more the processing, do not need then to forward to step 105, need to then carry out next step; In this step, if the result of semantic understanding be similar to " OK ", " OK ", " can ", " OK " or simple matter of right and wrong printed words such as " whether ", then thinking does not need more processing, otherwise thinks and need more the processing;
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 replying suggestion the second schematic diagram according to of the present invention automatically the generation according to short message content, as shown in Figure 4, when the short message content that receives is " I shall go over tomorrow; the weather in Shanghai how? " the time, through after the analysis to this short message content, thinking needs more the processing, 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, 25 ℃~30 ℃ of temperature " is for user selection;
In step 105, reply content is advised or/and Search Results represents to the user;
In step 106, the user advises or/and Search Results is selected and sent the reply content that represents.
Fig. 2 is the system block diagram of replying suggestion that automatically generates according to short message content according to the present invention, as shown in Figure 2, automatically the system of replying suggestion that generates 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, at first analyze content of text and the associated person information of note, decompose keyword, and whether determine and to provide answer such as " being/no " pattern according to keyword, if can, then generate the reply content suggestion of " being/no " pattern, send to man-machine interface with the XML coding and represent module 204; If the conclusion of text analyzing is to answer with " being/no " pattern, need so 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 of intelligent replying network support Cloud Server 203 feedbacks, and represent module 204 to sending to man-machine interface after its processing processing;
Intelligent replying network support Cloud Server 203, it is the service equipment that runs on Internet, receive the Preliminary Analysis Results that intelligent replying processing module 202 sends, and it is further analysed in depth, Search Results feeds back to intelligent replying processing module 202 on self-built knowledge data base and Internet; Its ability is not limited to self-built knowledge data base and Internet, is the natural language analysis treatment system of a cover artificial intelligence.
Man-machine interface represents module 204, receives reply content suggestion and Search Results that the intelligent replying processing module sends, and shows response user's click event.Receive reply content that described intelligent replying processing module sends or/Search Results.
When showing for the suggestion of " being/non-" class, show that by two buttons a button is affirmative acknowledgement (ACK), a button is to negate to answer, and directly sends the content on the button after user's button click, need not further confirm.When showing for the suggestion of non-" being/non-" class, show with the form of tabulation that the user chooses rear automatically with the input frame of selected content replication to short message content, input frame can continue editor, clicks the transmission button by the user and determines to send.
Adopt the method and system of replying suggestion that automatically generate according to short message content of the present invention, when intelligent mobile terminal receives a note, if the other side's content mention " OK ", " OK ", " can ", simple matter of right and wrong printed words such as " OK ", when the user clicks that input frame begins to edit but also when input, automatically provide the reply content suggestion: " good " and " bad ", " OK " and " not all right ", " can " and " cannot ", perhaps " OK " and " No " is for user selection.It is simple just as putting on computers a button that the user replys a note.And when the more reply contents of needs, realize by cloud service.Be to inquire a day weather situation such as the other side's note, meeting of the present invention is automatically gone Cloud Server to obtain Weather information and is prompted to the user, and the user clicks and will be added in the reply content by automatic powder adding.Can save like this time of short message editing, easily select just can reply, simple and convenient, the user who greatly improves message reply experiences.
One of ordinary skill in the art will appreciate that: the above only is the preferred embodiments of the present invention, be not limited to the present invention, although with reference to previous embodiment the present invention is had been described in detail, for a person skilled in the art, it still can be made amendment to the technical scheme of aforementioned each embodiment record, perhaps part technical characterictic wherein is equal to replacement.Within the spirit and principles in the present invention all, any modification of doing, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.