Embodiment
It should be appreciated that the specific embodiments described herein are merely illustrative of the present invention, limit is not used to
The fixed present invention.
Referring to Fig. 1, the auxiliary answering method first embodiment of short message of the present invention is proposed, methods described includes
Following steps:
S11, after terminal receives short message, short message is analyzed, judges whether to need to reply.
When needing to reply, step S12 is performed;When that need not reply, terminate flow.
Specifically, whenever terminal is received after short message, analyzing immediately the short message, judgement is
No needs are replied the short message.Generally, short message mainly include session information, advertising message,
The classifications such as announcement information, are typically to reply for advertising message and announcement information, therefore only
Session information just needs to reply.Therefore, as shown in Fig. 2 judging whether short message needs the flow replied
Mainly include the following steps that:
S111, judge whether short message is session information.When short message is session information, step is performed
S112;When short message is non-session information, step S113 is performed.
S112, judgement need to reply.
S113, judgement need not be replied.
In step S111, for whether be session information judgement, can have two ways:The first side
Formula is to analyze the number for sending short message, and the number of advertising message and announcement information is not usually cell-phone number,
When the number for sending short message is not phone number, then can be determined that the short message is non-session information;
The second way is short message reading breath, analyzes the content of short message, is analyzed by context, keyword is captured
Judge the short message whether as session information etc. mode.Alternatively it is also possible to by above two mode knot
Comprehensive analysis, can obtain more accurately analysis result altogether.
Short message of the present invention, including SMS (SMS), instant communication message (instant messaging
The message of the software such as transmission such as QQ, wechat) etc..
S12, the attribute information for obtaining user.
The attribute information includes the positional information, the movement state information of user, the physiology of user of user
In the environmental information of information, the scheduling information of user and user position any one or at least
Two kinds of combination.
The movement state information of user, includes velocity information, acceleration information, the movement locus etc. of user
Information, to determine that user is currently at inactive state or motion state, if motion state, enters one
Step determine user be take a walk, run or by bus etc..
The physiologic information of user, includes heart rate information, blood pressure information, the pulse information etc. of user.
The environmental information of user position, including the Weather information of user position, temperature information,
Atmospheric information etc..
Used specifically, terminal can be obtained by the sensors such as electronic compass, gyroscope, GPS (such as)
The positional informations such as positional information, velocity information, the acceleration information at family and movement state information, pass through life
Manage detection sensor and obtain the physiologic informations such as heart rate information, blood pressure information, the pulse information of user, pass through
Calendar, notepad etc. application obtain user scheduling information, by network, using or sensor obtain
Take the environmental informations such as the Weather information, temperature information, atmospheric information of family position.
Use can be known by information such as positional information, cartographic information, movement locus and motion state records
The thing that family is currently done.According to building (gas station, hospital, highway, the medicine stayed in attribute
Shop, market, school, restaurant, company, family etc.) and stop duration, it can be determined that the row of user
For, such as have a meal, do shopping, buy book, run, refuel, climbing the mountain, playing, sleeping, going on business, going to work,
See a doctor, on the way home, drive, be in etc.., can by scheduling information and current time
To know thing that active user is made.By the com-parison and analysis to daily exercise track and exercise intensity,
And the situation of pharmacy of hospital etc., or the physiologic information obtained are whether there is, the body of user can be known
Health status.The work of user can be known by scheduling information and movement locus and its stay time
Busy situation.
S13, the content according to short message and attribute information generation reply message.
In this step S13, the attribute information of the content of terminal comprehensive analysis short message and the user obtained,
Answer content of the generation for the short message.
Preferably, reply message can be generated by method as shown in Figure 3, comprised the following steps:
S131, the content for analyzing short message, determine the affiliated conversation type of short message.
By taking daily conversation as an example, daily session be mainly included in where, do what, body how, day
Gas how, had a meal, have the time, whether busy etc. the session content of work, according in above-mentioned session
Hold, daily conversation can be divided into the sessions such as time class, location category, event class, weather class, greeting class
Type.
Terminal analyzes the content of short message by reading, and obtains the context or/and keyword of short message, from
And determine the conversation type belonging to short message.For example:If what the content of short message doing for inquiry user,
Then determine to belong to event class session;If the content of short message is inquiry weather, it is determined that belong to weather class meeting
Words;If the content of short message is inquiry health, it is determined that belong to greeting class session;If short message content
Where to inquire user, it is determined that belong to location category session.
S132, the mapping relations according to default conversation type and attribute information, obtain corresponding attribute letter
Breath, reply message is generated according to attribute information.
It can be accustomed to according to the session of mankind's ordinary language, pre-establish daily conversation and the attribute information of user
Mapping relations, for example, time class session may map to scheduling information, location category session can be with
Positional information is mapped to, event class session may map to the behavioural informations such as motion state, weather class session
It may map to environmental informations such as weather, etc..A type of session can correspond to a kind of attribute information,
At least two attribute informations can also be corresponded to.
If for example, the conversation type of short message be location category, according to mapping relations gain location information,
Reply message is generated according to current location information;If the conversation type of short message is event class, basis
Mapping relations gain location information, scheduling information and movement state information, comprehensive location information, day
Journey arrangement information and movement state information know user's current behavior state, generate reply message;If short message
The conversation type of breath is weather class, then obtains the environmental informations such as weather, temperature, air according to mapping relations,
Reply message is generated according to environmental information.
For example:When receiving similar informations such as " you are at which ", terminal can be according to the GPS carried
Positional information, and the character description information of acquisition of information position according to the map are obtained, can also be according to individual
The conventional position such as the family and company of setting, generates reply message;When receiving, " what you do" etc. class
During like information, terminal can judge behavior by the place residing for user, may determine that in park to play,
May determine that to climb the mountain, may determine that in commercial circle to go window-shopping on mountain, at the same can aid in using gyroscope,
The sensors such as electronic compass more accurately generate the activity pattern of user, accordingly generate reply message;When
Receive that " how is your body" etc. similar information when, user can be obtained according to the movement locus of user
Physical condition, accordingly generates reply message.
Terminal is automatically generated after reply message, can automatically reply the reply message, can also be stored this and be answered
Complex information, pushes the reply message, for user when user replys the short message, then from trend user
Selection, editor send.
The auxiliary answering method of the short message of the present embodiment, the short message received by automatically analyzing, and
The automatic attribute information for obtaining user, according to the content of the short message received and the attribute information of user,
The reply message for the short message is automatically generated, realizing auxiliary user, targetedly Quick-return is short
Information, improves intellectuality and the hommization degree of terminal, improves Consumer's Experience.
Referring to Fig. 4, the auxiliary answering method second embodiment of short message of the present invention is proposed, methods described includes
Following steps:
S21, after terminal receives short message, short message is analyzed, judges whether to need to reply.
When needing to reply, step S22 is performed;When that need not reply, terminate flow.
S22, the attribute information for obtaining user.
S23, the content according to short message and attribute information generation reply message.
In the present embodiment, step S21-S23 is identical with the step S11-13 in first embodiment respectively,
This is repeated no more.
S24, the sender for obtaining short message, judge whether sender is being automatically replied in list.When certainly
When in dynamic reply list, step S25 is performed;When not automatically replying in list, step S26 is performed.
In the present embodiment, terminal can preset one and automatically reply list, and user can be in advance by important or parent
Close contact person, which pulls in, to automatically reply in list.Terminal obtains the number for sending short message, obtains the number
Corresponding sender, judges whether the sender is automatically replied in list default.
S25, automatically reply reply message.
When the sender of short message is being automatically replied in list, then answer letter is automatically replied to the sender
Breath.
Further, also the information automatically replied is marked for terminal, so which information user knows
Automatically reply, facilitate user to check and manage.
S26, not automatically reply.
When the sender of short message is not being automatically replied in list, then not automatically reply.Terminal can be with
The reply message is stored, the answer is pushed when user replys the short message, then from trend user
Information, for user's selection, editor or transmission.
The present embodiment automatically replies list by setting, when terminal receives important or intimate contact person's
During short message, then user's automatic information reply is aided in, it is to avoid user is because carelessness or busy without timely
Reply causes damage, and further increases intellectuality and the hommization degree of terminal, is greatly improved use
Experience at family.
Referring to Fig. 5, the auxiliary answering method 3rd embodiment of short message of the present invention is proposed, methods described includes
Following steps:
S31, after terminal receives short message, short message is analyzed, judges whether to need to reply.
When needing to reply, step S32 is performed;When that need not reply, terminate flow.
S32, the attribute information for obtaining user.
S33, the content according to short message and attribute information generation reply message.
In the present embodiment, step S31-S33 is identical with the step S11-13 in first embodiment respectively,
This is repeated no more.
S34, judge whether user has replied short message in setting time.If user is not in setting time
During interior answer short message breath, step S35 is performed;If user has replied short message in setting time, terminate
Flow.
Specifically, terminal calculates how long have been received by the short message, when result of calculation exceedes setting
Between when, determine whether whether user has replied the short message.When in calculating process, result of calculation does not have also
Have more than before setting time, when being detected by user's answer short message breath, then terminate calculating process.
S35, automatically reply reply message.
When the sender of short message is being automatically replied in list, then answer letter is automatically replied to the sender
Breath.
Further, also the information automatically replied is marked for terminal, so which information user knows
Automatically reply, facilitate user to check and manage.
The present embodiment is received by setting the delay time when more than delay time user without reply in time
Short message when, terminal then aids in user's automatic information reply, it is to avoid user is because carelessness or busy and do not have
Have and reply and cause damage in time, further increase the intelligent level and hommization degree of terminal, pole
Big improves Consumer's Experience.
Referring to Fig. 6, the auxiliary answering method fourth embodiment of short message of the present invention is proposed, methods described includes
Following steps:
S41, after terminal receives short message, short message is analyzed, judges whether to need to reply.
When needing to reply, step S42 is performed;When that need not reply, terminate flow.
S42, the attribute information for obtaining user.
S43, the content according to short message and attribute information generation reply message.
In the present embodiment, step S41-S43 is identical with the step S11-13 in first embodiment respectively,
This is repeated no more.
S44, judge whether user has replied short message in setting time.If user is not in setting time
Interior answer short message breath, then perform step S45;If user has replied short message in setting time, terminate
Flow.
Specifically, terminal calculates how long have been received by the short message, when result of calculation exceedes setting
Between when, determine whether whether user has replied the short message.When in calculating process, result of calculation does not have also
Have more than before setting time, when being detected by user's answer short message breath, then terminate calculating process.
S45, the sender for obtaining short message, judge whether sender is being automatically replied in list.When certainly
When in dynamic reply list, step S46 is performed;When not automatically replying in list, step S47 is performed.
Specifically, as user, not in setting time, answer short message ceases, and further obtains and sends short message
Number, obtain the corresponding sender of the number, judge whether the sender automatically replies name default
In single.
S46, automatically reply reply message.
As user, not in setting time, answer short message ceases, and the sender of short message is automatically replying name
When in single, then reply message is automatically replied to the sender.
Further, also the information automatically replied is marked for terminal, so which information user knows
Automatically reply, facilitate user to check and manage.
S47, not automatically reply.
Although as user, not in setting time, answer short message ceases, and the sender of short message is not automatic
When replying in list, then not automatically reply.Terminal can store the reply message, treat user
When replying the short message, then from trend user the reply message is pushed, for user's selection, editor or sent out
Send.
The present embodiment the delay time and automatically replies list by setting, when terminal receive it is important or intimate
Contact person short message when, do not replied in time within the delay time, then aid in user automatically reply letter
Breath, it is to avoid user because carelessness or it is busy without in time reply cause damage, further increase terminal
Intellectuality and hommization degree, be greatly improved Consumer's Experience.
Referring to Fig. 7, the embodiment of auxiliary answering method the 5th of short message of the present invention is proposed, methods described includes
Following steps:
S51, after terminal receives short message, short message is analyzed, judges whether to need to reply.
When needing to reply, step S52 is performed;When that need not reply, terminate flow.
S52, the attribute information for obtaining user.
S53, the content according to short message and attribute information generation reply message.
In the present embodiment, step S51-S53 is identical with the step S11-13 in first embodiment respectively,
This is repeated no more.
S54, when user replys the short message, from trend user push reply message.
Specifically, when user enters the interface for replying the short message, terminal is pushed from trend user and is directed to
The reply message that the short message is automatically generated.Push mode can be:Automatic spring shows reply message
Program, user can select to determine, edit or abandon, and selection determines then to directly transmit the reply message,
Selection editor then enters the editing interface editor reply message, and selection is abandoned, and gives up the reply message;Or
Person, reply message is automatically generated in information editing's frame, and user can delete or edit this in edit box and answer
The new information of complex information, addition, then manually selects transmission.
The present embodiment is when user's answer short message ceases, then automatic to user by setting automatic push function
Push generation reply message for user selection, editor or send so that user can with Quick-return information,
Improve Consumer's Experience.
Referring to Fig. 8, the auxiliary return mechanism first embodiment of short message of the present invention, described device application are proposed
In terminal, including the mobile terminal such as mobile phone, flat board, or the fixed terminal such as PC.Described device
Including judge module 10, acquisition module 20 and generation module 30, wherein:
Judge module 10:For after terminal receives short message, analyzing the short message, judge
Whether need to reply.
Specifically, judge module 20 judges whether short message is session information;When for session information, sentence
Surely need to reply;When for non-session information, judgement need not be replied.
Acquisition module 20:For when judge module judges to need to reply, obtaining the attribute information of user.
The attribute information includes the positional information, the movement state information of user, the physiology of user of user
In the environmental information of information, the scheduling information of user and user position any one or at least
Two kinds of combination.Acquisition module 20 can obtain above-mentioned attribute information by sensor, using, network etc..
Generation module 30:Attribute information for the content according to short message and user generates reply message.
Preferably, generation module 30 analyzes the content of short message, determines the affiliated conversation type of short message;Root
According to default conversation type and the mapping relations of attribute information, corresponding attribute information is obtained, according to attribute
Information generates reply message.
The auxiliary return mechanism of the short message of the present embodiment, the short message received by automatically analyzing, and
The automatic attribute information for obtaining user, according to the content of the short message received and the attribute information of user,
The reply message for the short message is automatically generated, realizing auxiliary user, targetedly Quick-return is short
Information, improves intellectuality and the hommization degree of terminal, improves Consumer's Experience.
Referring to Fig. 9, the auxiliary return mechanism second embodiment of short message of the present invention is proposed, the present embodiment and the
The difference of one embodiment is the increase in a processing module 40, and the processing module 40 is used for:
When the sender of short message is being automatically replied in list or/and user replys not in setting time
During short message, reply message is automatically replied;Or, when user's answer short message ceases, from trend, user pushes away
Send reply message.
Further, processing module 40 is automatically replied after reply message, and also the information automatically replied is carried out
Mark, so that user knows which information is automatically replied, facilitates user to check and manage.
The present embodiment automatically replies list or/and delay time by setting, it is possible to achieve auxiliary user is automatic
Return information, it is to avoid user because carelessness or it is busy without in time reply cause damage, further improve
The intellectuality of terminal and hommization degree, are greatly improved Consumer's Experience.
It should be appreciated that the auxiliary return mechanism for the short message that above-described embodiment is provided and the auxiliary of short message are returned
Multiple embodiment of the method belongs to same design, and it implements process and refers to embodiment of the method, and method is implemented
Technical characteristic in example is corresponded in device embodiment to be applicable, and is repeated no more here.
Through the above description of the embodiments, those skilled in the art can be understood that above-mentioned
Embodiment method can add the mode of required general hardware platform to realize by software, naturally it is also possible to logical
Cross hardware, but the former is more preferably embodiment in many cases.Understood based on such, it is of the invention
The part that technical scheme substantially contributes to prior art in other words can in the form of software product body
Reveal and, the computer software product is stored in storage medium (such as ROM/RAM, magnetic disc, a light
Disk) in, including some instructions are make it that a station terminal equipment (can be mobile phone, computer, service
Device, or the network equipment etc.) perform method described in each embodiment of the invention.
Above by reference to the preferred embodiments of the present invention have been illustrated, not thereby limit to the right of the present invention
Scope.Those skilled in the art do not depart from the scope of the present invention and essence, can have a variety of flexible programs real
The existing present invention, the feature for example as one embodiment can be used for another embodiment and obtain another embodiment.
All any modification, equivalent and improvement for being made within the technical concept with the present invention, all should be
Within the interest field of the present invention.