CN107784045A - A kind of quickly revert method and apparatus, a kind of device for quickly revert - Google Patents
A kind of quickly revert method and apparatus, a kind of device for quickly revert Download PDFInfo
- Publication number
- CN107784045A CN107784045A CN201610800170.7A CN201610800170A CN107784045A CN 107784045 A CN107784045 A CN 107784045A CN 201610800170 A CN201610800170 A CN 201610800170A CN 107784045 A CN107784045 A CN 107784045A
- Authority
- CN
- China
- Prior art keywords
- information
- quickly revert
- return information
- application program
- current user
- 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
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/90—Details of database functions independent of the retrieved data types
- G06F16/903—Querying
- G06F16/9032—Query formulation
- G06F16/90332—Natural language query formulation or dialogue systems
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F16/00—Information retrieval; Database structures therefor; File system structures therefor
- G06F16/20—Information retrieval; Database structures therefor; File system structures therefor of structured data, e.g. relational data
- G06F16/24—Querying
- G06F16/245—Query processing
- G06F16/2457—Query processing with adaptation to user needs
- G06F16/24575—Query processing with adaptation to user needs using context
Landscapes
- Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- Theoretical Computer Science (AREA)
- Databases & Information Systems (AREA)
- Mathematical Physics (AREA)
- Computational Linguistics (AREA)
- Data Mining & Analysis (AREA)
- General Engineering & Computer Science (AREA)
- General Physics & Mathematics (AREA)
- Artificial Intelligence (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The embodiments of the invention provide a kind of quickly revert method and apparatus, a kind of method and apparatus for quickly revert, method therein specifically includes:Obtain intelligent terminal for reception treats return information;By the application program in running status of intelligent terminal, current user state information is obtained;According to the current user state information, quickly revert candidate corresponding to return information is treated described in generation.The embodiment of the present invention enables to quickly revert candidate to agree with the accurate reply intention of user, and then improves the accuracy and richness of quickly revert candidate.
Description
Technical field
The present invention relates to communication technical field, is used for more particularly to a kind of quickly revert method and apparatus, one kind quick
The device of reply.
Background technology
With the development of the communication technology, the communication class application such as short message application, instant messaging application is increasing
User is received.For example, user can be applied by instant messaging carries out text and more matchmakers with the household of oneself, friend or colleague
The transmission of the information such as body (including video and audio etc.), realize the function of Communication.
At present, in order to improve the efficiency of information-reply, existing scheme can provide fast replying function, pass through this quick time
Multiple function can generate quickly revert candidate according to the information from sender, so that user directly selects required quickly revert
Candidate carries out information-reply.
The quickly revert candidate of existing scheme is typically the content generated on the basis of the information from sender is analyzed.
For example, the information from sender is " having had a meal ", then communication class application can utilize natural language processing technique to the letter
The content of breath is analyzed, and generates the quickly revert candidates such as " eating ", " not eating " according to information content analysis result.
However, single information content analysis result is only used only in the generating process of above-mentioned quickly revert candidate, this is easy
Relatively low accuracy and richness are brought to quickly revert candidate.For example, the quickly revert candidate such as above-mentioned " eating ", " not eating " is only
Only describe a kind of rough judgement and reply result, do not consider that the deep information of result is replied in the judgement, so, this is rough
Judgement reply result will reflect a kind of unbusinesslike attitude, therefore can not agree with user accurate reply be intended to.In fact, with
Family can carry the deep information, example toward contact when replying the information from the household of oneself, friend or colleague in result is replied
The reason for such as " not eating " is because seeing video or shopping, continues with TV after and for example " eating ", " sees electricity when eating for another example
Depending on " etc., therefore, the above-mentioned quickly revert candidate of existing scheme generation can not agree with the accurate reply intention of user exactly.
The content of the invention
In view of the above problems, it is proposed that the embodiment of the present invention overcomes above mentioned problem or at least in part to provide one kind
Quickly revert method, quickly revert device and the device for quickly revert, the embodiment of the present invention to solve the above problems can
So that the accurate reply that quickly revert candidate agrees with user is intended to, and then improve the accuracy and richness of quickly revert candidate.
In order to solve the above problems, the invention discloses a kind of quickly revert method, including:
Obtain intelligent terminal for reception treats return information;
By the application program in running status of intelligent terminal, current user state information is obtained;
According to the current user state information, quickly revert candidate corresponding to return information is treated described in generation.
Alternatively, the user state information includes at least one of following information:
Preset return information corresponding to application program;
Pass through user action caused by application program;And
The scene state of application program.
Alternatively, preset return information corresponding to the application program is that active user is preset for the application program
Return information, or, preset return information corresponding to the application program is pre- for the application program according to the whole network user
The return information put counts obtained information.
Alternatively, it is described according to the current user state information, treat fast to return corresponding to return information described in generation
The step of multiple candidate, including:
According to the current user state information or the current user state information and its corresponding apply journey
Sequence information, quickly revert candidate corresponding to return information is treated described in generation.
Alternatively, it is described according to the current user state information, treat fast to return corresponding to return information described in generation
The step of multiple candidate, including:
According to the current user state information, between preset user state information and preset shortcut reply content
Mapping relations in searched, to obtain target quickly revert content corresponding to the current user state information, as
It is described to treat quickly revert candidate corresponding to return information;Wherein, the mapping relations be according to history user state information and
The reply content of history obtains.
Alternatively, the application program in running status by intelligent terminal, current User Status letter is obtained
The step of breath, including:
Inquiry request is sent to the application program in running status, and receives the application program for being in running status
The current user state information returned according to the inquiry request;Or
The message that the application program in running status is broadcasted is monitored, current User Status letter is carried in the message
Breath.
Alternatively, the application program in running status by intelligent terminal, current User Status letter is obtained
The step of breath, including:
When it is determined that needing to use described in current user state information progress when the quickly revert of return information, pass through intelligence
The application program in running status of energy terminal, obtains current user state information.
Alternatively, the determination needs to use the quickly revert that return information is treated described in current user state information progress
The step of, including:
When described when return information includes the vocabulary to match with preset keyword, it is determined that needing to use current use
The quickly revert of return information is treated described in the status information progress of family;And/or
When it is described meet preset statement pattern when return information when, it is determined that needing to use current user state information to enter
The quickly revert of return information is treated described in row;And/or
When receiving the first preset operation of user, treated it is determined that needing to use described in current user state information progress
The quickly revert of return information;And/or
When the difference of current time and the reception time when return information exceeds time threshold, it is determined that needing to use
The quickly revert of return information is treated described in current user state information progress;And/or
When the conventional position of current location and active user is inconsistent, it is determined that needing to use current user state information
The quickly revert of return information is treated described in progress.
Alternatively, methods described also includes:
To user show it is described treat quickly revert candidate corresponding to return information, for selection by the user;Or
In response to the second preset operation of user, will shield on optimal quickly revert candidate.
Alternatively, it is described to show described the step for the treatment of quickly revert candidate corresponding to return information to user, including:
By the candidate window treated quickly revert candidate corresponding to return information and be presented in input method procedure;Or
By treating the application program of return information described in reception, show to user and described treat fast to return corresponding to return information
Multiple candidate.
On the other hand, the invention discloses a kind of quickly revert device, including:
Information receiving module, return information is treated for obtain intelligent terminal for reception;
State acquisition module, for the application program in running status by intelligent terminal, obtain current user
Status information;And
Candidate's generation module, for according to the current user state information, being treated described in generation corresponding to return information
Quickly revert candidate.
Alternatively, the user state information includes at least one of following information:
Preset return information corresponding to application program;
Pass through user action caused by application program;And
The scene state of application program.
Alternatively, preset return information corresponding to the application program is that active user is preset for the application program
Return information, or, preset return information corresponding to the application program is pre- for the application program according to the whole network user
The return information put counts obtained information.
Alternatively, candidate's generation module includes:
First candidate generates submodule, for according to the current user state information or the current user
Status information and its corresponding application information, quickly revert candidate corresponding to return information is treated described in generation.
Alternatively, candidate's generation module includes:
Second candidate generates submodule, for according to the current user state information, believing in preset User Status
Searched in mapping relations between breath and preset shortcut reply content, it is corresponding to obtain the current user state information
Target quickly revert content, treat quickly revert candidate corresponding to return information as described;Wherein, the mapping relations be according to
Obtained according to the user state information of history and the reply content of history.
Alternatively, the state acquisition module includes:
Submodule is inquired about, for sending inquiry request to the application program in running status, and is received described in fortune
The current user state information that the application program of row state returns according to the inquiry request;Or
Submodule is monitored, for monitoring the message of the application program broadcast in running status, is carried in the message
Current user state information.
Alternatively, the state acquisition module, for being needed to use when determination described in current user state information progress
When the quickly revert of return information, by the application program in running status of intelligent terminal, current user's shape is obtained
State information.
Alternatively, the state acquisition module includes:
First determination sub-module, for when described when return information includes the vocabulary to match with preset keyword,
It is determined that need to use the quickly revert that return information is treated described in current user state information progress;And/or
Second determination sub-module, for when it is described meet preset statement pattern when return information when, it is determined that needing to use
The quickly revert of return information is treated described in current user state information progress;And/or
3rd determination sub-module, for when receiving the first preset operation of user, it is determined that needing to use current use
The quickly revert of return information is treated described in the status information progress of family;And/or
4th determination sub-module, for exceeding the time in the difference of current time and the reception time for treating return information
During threshold value, it is determined that needing to use the quickly revert that return information is treated described in current user state information progress;And/or
5th determination sub-module, for when the conventional position of current location and active user is inconsistent, it is determined that needing to make
The quickly revert of return information is treated described in current user state information is carried out.
Alternatively, described device also includes:
Display module, described treat that quickly revert candidate is for selection by the user corresponding to return information for showing to user;
Or
Upper panel module, for the second preset operation in response to user, it will shield on optimal quickly revert candidate.
Alternatively, the display module includes:
First shows submodule, for treating that quickly revert candidate is presented in input method procedure corresponding to return information by described
Candidate window;Or
Second shows submodule, for the application program by treating return information described in reception, shows described treat to user
Quickly revert candidate corresponding to return information.
Another further aspect, the invention discloses a kind of device for quickly revert, include memory, and one or
More than one program, one of them or more than one program storage are configured to by one or one in memory
Individual above computing device is one or more than one program bag contains the instruction for being used for being operated below:
Obtain intelligent terminal for reception treats return information;
By the application program in running status of intelligent terminal, current user state information is obtained;
According to the current user state information, quickly revert candidate corresponding to return information is treated described in generation.
The embodiment of the present invention includes advantages below:
The embodiment of the present invention has used current user state information during quickly revert candidate is generated, and passes through
The above-mentioned current user state information that application program in running status obtains can reflect user for application program
Service condition, for example, when user is by information of the intelligent terminal for reception from sender or user passes through intelligent terminal pair
When information from sender is replied, above-mentioned user can specifically include for the service condition of application program:User is led to
Cross and a series of user action such as set, browse, buying, watching caused by the APP in running status, so so that foundation
The quickly revert candidate of above-mentioned current user state information generation can carry the deep information in addition to judgement property is replied,
Therefore enable to quickly revert candidate agree with user accurate reply be intended to, and then improve quickly revert candidate accuracy and
Richness.
And in the case where quickly revert candidate agrees with the accurate reply intention of user, user can be directly using above-mentioned fast
The reply that candidate enters row information is replied in victory, due to can further reduce input cost during user's return information, therefore can
Improve quickly revert efficiency.
Brief description of the drawings
Fig. 1 is a kind of step flow chart of quickly revert embodiment of the method for the present invention;
Fig. 2 is a kind of structured flowchart of quickly revert device embodiment of the present invention;
Fig. 3 is a kind of block diagram of device 900 for quickly revert of the present invention;And
Fig. 4 is the structural representation of server in some embodiments of the present invention.
Embodiment
In order to facilitate the understanding of the purposes, features and advantages of the present invention, it is below in conjunction with the accompanying drawings and specific real
Applying mode, the present invention is further detailed explanation.
The embodiments of the invention provide a kind of quickly revert scheme, the program can be by intelligent terminal in operation shape
The APP (application program, Application) of state, obtains current user state information, and according to above-mentioned current User Status
Information, generate quickly revert candidate corresponding to information;Because the embodiment of the present invention makes during quickly revert candidate is generated
With above-mentioned current user state information, and pass through above-mentioned current user's shape that the application program in running status obtains
State information can reflect currently used situation of the user for application program, for example, when user is come from by intelligent terminal for reception
During the information of sender or when the information from sender is replied by intelligent terminal by user, above-mentioned user is for answering
It can specifically be included with the service condition of program:User caused by the APP in running status by setting, browsing, buying, seeing
The a series of user action such as see, so so that quickly revert candidate's energy according to above-mentioned current user state information generation
Enough the deep informations carried in addition to judgement property is replied.
For example, when user A receives short message, video is seen by video class APP, so, video class can be passed through
APP obtain corresponding to current user state information, and the short message content for the problem of such as " why " when, can foundation
Above-mentioned current user state information is generated " seeing video ", the quickly revert candidate such as " seeing TV play ";Or in the short message
Content for the problem of for example " having had a meal " when, " can not have, be regarded seeing according to above-mentioned current user state information generation
Frequently ", the quickly revert candidate such as " not having also, seeing TV play ", " watching TV while eating is acute ".
It can be seen that the embodiment of the present invention can carry more rich the deep information by quickly revert candidate, therefore can make
Obtain quickly revert candidate and agree with the accurate reply intention of user, and then improve the accuracy and richness of quickly revert candidate.And
In the case where quickly revert candidate agrees with the accurate reply intention of user, user can directly use above-mentioned quickly revert candidate
Enter the reply of row information, therefore quickly revert efficiency can be improved.
Embodiment of the method
Reference picture 1, a kind of step flow chart of quickly revert embodiment of the method for the present invention is shown, can specifically be included
Following steps:
Step 101, obtain intelligent terminal for reception and treat return information;
Quickly revert method provided in an embodiment of the present invention can be applied in the application environment of intelligent terminal.Alternatively, should
Intelligent terminal can perform the quickly revert method flow of the embodiment of the present invention by client application, and client application can transport
Row is on intelligent terminal, for example, the client application can be the APP with information transmit-receive function run on intelligent terminal,
Such as short message APP, instant messaging APP, or, the client application can have information capture work(for what is run on intelligent terminal
The APP of energy, such as input method APP, the embodiment of the present invention are not any limitation as the specific APP corresponding to client application.
Alternatively, above-mentioned intelligent terminal can include but is not limited to:Smart mobile phone, tablet personal computer, portable calculating on knee
Machine, vehicle-mounted computer, desktop computer, intelligent TV set, wearable device etc..
In the embodiment of the present invention, client application can be communicated with other APP of intelligent terminal, for example, input method
APP can obtain the return information for the treatment of of short message APP receptions, or, input method APP can obtain message of other APP broadcast etc..
Intelligent terminal can be located in wired or wireless network, by the wired or wireless network, pass through client application and server
Data interaction is carried out, for example, by instant messaging APP return information can be treated from sender with what the reception server forwarded
Deng.
During implementation steps 101, client application can obtain intelligent terminal for reception, treat from sender
Return information.Wherein, above-mentioned sender can be any side that information is transmitted to intelligent terminal, for example, it can be short message APP
Or instant messaging APP side's terminal or short message APP or instant messaging APP server, it can also be browser etc.
The side's terminal or server of other application, the embodiment of the present invention are not any limitation as specific sender.
Step 102, the application program in running status by intelligent terminal, obtain current user state information;
In actual applications, the application program in intelligent terminal then can be at running status after being activated.Further, it is above-mentioned
Running status can specifically include:Front stage operation state and background operation state.When application program is in front stage operation state, intelligence
Energy terminal needs to show the program interface of application program, now takes more system resource;Application program is in running background
During state, intelligent terminal need not show the program interface of application program, now take less system resource.Alternatively, intelligence
Energy terminal can monitor the running status of application program by the monitoring thread of establishment, or monitor itself by application program
Running status, when running status changes, send the running status of system broadcasts notice intelligent terminal itself.Certainly also may be used
To be in running status for intelligent terminal using the running status of other methods monitoring application program, the embodiment of the present invention
The specific acquisition modes of application program be not restricted.
In the embodiment of the present invention, current user state information can be provided by the application program in running status, its energy
Enough reflect service condition of the user for application program.
In a kind of alternative embodiment of the present invention, above-mentioned user state information includes at least one of following information:
1) preset return information corresponding to application program;
It is that preset return information corresponding to application program namely the application program in running status can provide, for anti-
Reflect information of the user for the service condition of the application program.In actual applications, application program can be directed to or using journey
The preset corresponding preset return information of classification of sequence, so that generation foundation of the preset return information as quickly revert candidate.
For example, the classification of application program can specifically include:Searching class APP, video class APP, electric business class APP, game class APP, fast food
Class APP, instant messaging class APP etc., it will be understood that the embodiment of the present invention is not any limitation as the specific category of application program.
In the specific implementation, preset, the example of above-mentioned preset return information can be carried out by those skilled in the art or user
Such as, those skilled in the art can rule of thumb carry out the reply of above-mentioned preset return information, or user can be according to itself
Need carry out the reply of above-mentioned preset return information, above-mentioned preset return information can not only be made to meet practical application request,
Furthermore, it is possible to above-mentioned preset return information is audited, to ensure above-mentioned preset return information in the reasonable of grammer etc.
Property.
Alternatively, above-mentioned user can specifically include:Active user and/or the whole network user, then the application program is corresponding
Preset return information can be active user for the preset return information of the application program, or, the application program
Corresponding preset return information can be to count what is obtained for the preset return information of the application program according to the whole network user
Information.Wherein, the preset preset return information of active user can agree with the individual demand of active user, and the whole network user is preset
Preset return information can agree with the reply demand of most of users, and the coverage rate of preset return information can be improved.
In a kind of alternative embodiment of the present invention, preset interface can be provided a user, to pass through above-mentioned preset interface
Gather the preset return information of user's input.Wherein, can be more to this after multiple preset return informations of the whole network user are obtained
Individual preset return information is counted, and chooses several higher preset return informations of the frequency of occurrences according to statistical result, is made
For preset return information corresponding to application program.
In one kind application example of the present invention, preset return information can specifically include corresponding to video class APP:"
See TV ", " seeing video " etc., preset return information can specifically include corresponding to searching class APP:" consulting reference materials ", " is searching
Thing " etc., preset return information corresponding to electric business class APP can specifically include:" doing shopping " etc., corresponding to game class APP
Preset return information can specifically include:" being played playing " etc., preset return information corresponding to fast food class APP can specifically wrap
Include:" making a reservation " etc., preset return information corresponding to instant messaging class APP can specifically include:" chatting " etc..It can manage
Solution, the embodiment of the present invention are not any limitation as specific preset return information corresponding to the classification of application program.
In another alternative embodiment of the present invention, preset return information can include corresponding to above-mentioned application program:
Application program and preset return information corresponding to return information is treated, then user can be gathered for application by above-mentioned preset interface
Program and the preset return information for treating return information input, for user perspective, above-mentioned preset return information can reflect it
The information replied when being received when using certain application program when return information, therefore the accurate of preset return information can be ensured
Degree.
Wherein, can be utilized in gatherer process it is specific treat return information (as " why ", " having had a meal ", " at which
") etc., then it can be directed to application program and specifically treat that return information provides more accurate preset return information;For example, with
Family receives " why " during using video class APP, then can provide preset return information " seeing TV ", and for example, uses
Family receives " having had a meal " during using video class APP, then can provide preset return information " seeing TV when eating ",
For another example, user receives " at which " during using mall navigation class APP, then can provide preset return information " in market
Go window-shopping " etc.), it can so ensure the accuracy of quickly revert candidate.
Or the type (such as event type, venue type) for treating return information can be utilized in gatherer process, for answering
With program and treat that the type of return information provides more accurate preset return information;As video class APP and event type are corresponding
Preset return information can be " seeing video ", preset return information corresponding to electric business class APP and event type can be "
Do shopping on the net ", preset return information corresponding to mall navigation class APP and venue type can be " being gone window-shopping in market " etc..
2) user action caused by application program is passed through;
In the embodiment of the present invention, it can be acted by sequence of user caused by application records user, for example, video class
APP record user action can be:" viewing TV play Song of Joy ", " viewing film Bounty Special Edition " etc., searching class APP records
User action can be:" input search term xxx ", electric business class APP record user action can be " input search term xxx,
Buy commodity xxx " etc..
Above-mentioned user action can reflect service condition of the user for application program, therefore can be used as the embodiment of the present invention
User state information, and then as the generation foundation of quickly revert candidate.
3) scene state of application program.
Extraneous scene or content scene residing for the scene state namely application program of application program, such as example, above-mentioned
Extraneous scene can include:Outdoor Scene or indoor scene, home scenarios or known scene etc., moving scene or static
Scene;Above-mentioned internal scene can specifically include:Spread its tail or screen locking scene, networking or suspension scene etc..
The scene state of above-mentioned application program can reflect service condition of the user for application program, therefore can be used as life
Into the more rich the deep information needed for quickly revert candidate.For example, when intelligent terminal is received when return information, intelligent terminal
Cause in moving scene (user of such as smart mobile phone is driving, and either the user of wearable device is running or played ball)
User fails to reply this in time and treats return information, therefore can carry the information corresponding to the moving scene in quickly revert candidate
In, and then obtain following quickly revert candidate:" driving just now, do not see information ", " moving just now, do not see information "
Deng.
Above to preset return information corresponding to application program, pass through user action caused by application program and application program
The user state information such as scene state be described in detail, it will be understood that those skilled in the art can according to it is actual should
With demand use above-mentioned user state information in it is any either combine or, other users status information can also be used, can
To understand, any user state information of the user for the service condition of application program can be reflected in the embodiment of the present invention
Within protection domain.
In a kind of alternative embodiment of the present invention, above by the application program in running status of intelligent terminal,
The mode of current user state information is obtained, can specifically be included:
Acquisition modes 1, inquiry request is sent to the application program in running status, and running status is in described in reception
The current user state information that is returned according to the inquiry request of application program;Or
Acquisition modes 2, the message that the application program in running status is broadcasted is monitored, carried in the message current
User state information.
For acquisition modes 1, application program can provide query interface, so that the intelligent terminal of the embodiment of the present invention passes through
Inquiry request corresponding to query interface transmission.In one kind application example of the present invention, connect when step 101 obtains intelligent terminal
After the information of receipts, inquiry request can be sent to the application program in running status, and running status is in described in reception
The preset return information that application program returns according to the inquiry request, such as from video class APP obtain preset return information "
See TV ".
, can be with preset knowledge form, so that the application program in running status is according to the message lattice for acquisition modes 2
Formula carries out the broadcast of message.Wherein, above-mentioned message format can specifically include:Text patterns and PDU (protocol Data Unit,
Protocol Data Unit) pattern etc., the embodiment of the present invention is not any limitation as specific message format.The present invention's
One kind is applied in example, can be with the shape of system broadcasts after the application program in running status obtains new user action
Formula sends the new user action, and the intelligent terminal of the embodiment of the present invention can monitor the new user action.
In a kind of alternative embodiment of the present invention, the application program in running status by intelligent terminal,
The step 102 of current user state information is obtained, can specifically be included:When it is determined that needing to use current user state information
Described in progress when the quickly revert of return information, by the application program in running status of intelligent terminal, obtain current
User state information.This alternative embodiment, which is worked as to determine to need to use described in current user state information progress, treats return information
Quickly revert when, can just obtain current user state information, therefore can avoid according to current user state information life
Into interference of the quickly revert candidate for user, improve the intelligent of quickly revert.
Further, the determination needs to use the quickly revert that return information is treated described in current user state information progress
Mode, can specifically include:
Determination mode 1, when described when return information includes the vocabulary to match with preset keyword, it is determined that need make
The quickly revert of return information is treated described in current user state information is carried out;And/or
Determination mode 2, when it is described meet preset statement pattern when return information when, it is determined that needing to use current user
The quickly revert of return information is treated described in status information progress;And/or
Determination mode 3, when receiving the first preset operation of user, it is determined that needing to use current user state information
The quickly revert of return information is treated described in progress;And/or
When determination mode 4, the difference in current time and the reception time when return information exceed time threshold, really
Surely the quickly revert that return information is treated described in current user state information progress is needed to use;And/or
Determination mode 5, when the conventional position of current location and active user is inconsistent, it is determined that needing to use current use
The quickly revert of return information is treated described in the status information progress of family.
In actual applications, when information possesses the intention for inquiring current User Status, or, information does not possess inquiry and worked as
The intention of preceding User Status but when possessing the intention for needing to use current User Status to be replied, it may be determined that need
Use the quickly revert that return information is treated described in current user state information progress.Then determine scheme 1 and determine that scheme 2 can be with
By natural language processing technique, the information content that user receives is identified, it is current so that whether identification information possesses inquiry
User Status intention or possess the intention for needing to use current User Status to be replied.Wherein it is determined that mode 1
The preset keyword related to current User Status can be set, such as " why ", " at which ", " having had a meal ", then may be used
So that the vocabulary included by information to be matched with the preset keyword.Determine that scheme 2 can be with preset and current User Status
Related statement pattern, the question sentence pattern as corresponding to " why ", " at which ", " having had a meal " etc., and by the sentence mould of information
Formula is matched with preset statement pattern.
When user's presence needs to use the intention that current User Status is replied, determination mode 3 can provide phase
The instruction interface answered, for example, when user sends the first preset operation, it is believed that have issued and need to use current user's shape
The instruction that state is replied.It should be noted that above-mentioned first preset operation can be preset button or preset key combination,
Or above-mentioned first preset operation can be realized by the touch-screen with pressure perceptional function.For example, when user is replying
When being replied in frame, the input that preset button will trigger the preset button and correspond to character is triggered under normal circumstances, and it is of the invention
In embodiment, user can then be pressed if there is the intention for needing to use current User Status to be replied by default
Surging triggers preset button, to send the instruction for needing to use current User Status to be replied.For example, user is for pre-
When putting the pressing dynamics of button and being located in the range of [0, p1], it can be assumed that the operation is character entering function, and when the point of user
When hitting the pressing dynamics of operation and being located in the range of [p1, p2], it can be assumed that the operation is the first preset operation.
It should be noted that in order to obtain the pressing dynamics of above-mentioned touch operation, can be provided with above-mentioned intelligent terminal
Touch-screen with pressure perceptional function, such as 3D-touch (3D touch-controls, Three Dimensions Touch) touch-screen, or
Person, above-mentioned intelligent terminal can also be provided for the control of pressure perception in common touch-screen, it will be understood that the present invention is implemented
Example is not any limitation as the specific acquisition modes of the pressing dynamics of above-mentioned touch operation.
Determination mode 4 can determine the need for treating using described in current user state information progress based on time interval
The quickly revert of return information.For example, when not timely certain short message, the edit box that user passes through short message behind some intervals etc. of user
When replying the short message, current User Status can be used.
For determination mode 5, when the current location of user and the conventional position (position of such as family or unit of active user
Put) it is inconsistent when, it may be determined that need to use current user state information carry out described in treat the quickly revert of return information.
It is appreciated that those skilled in the art can use at least one of above-mentioned determination mode 1- determination modes 5 really
Fixed whether need to use treats the quickly revert of return information described in current user state information progress, and then can perform step
Operated corresponding to 102.
It should be noted that the embodiment of the present invention is not any limitation as the execution sequence of step 101 and step 102, two
Person can first or parallel perform successively, afterwards, for example, can be after the information that step 101 obtains intelligent terminal for reception, then perform
Step 102, or, step 102 is performed before step 101 obtains the information of intelligent terminal for reception.
Step 103, according to the current user state information, treat that quickly revert corresponding to return information is waited described in generation
Choosing.
In the embodiment of the present invention, those skilled in the art can be used according to current user state information, described in generation
Treat any scheme of quickly revert candidate corresponding to return information.
It is described according to the current user state information in a kind of alternative embodiment of the present invention, treated described in generation
The step 103 of quickly revert candidate corresponding to return information, can specifically include:According to the current user state information,
Or the current user state information and its corresponding application information, treat described in generation quick corresponding to return information
Reply candidate.
Wherein, can be by the preset corresponding APP of return information when user state information is preset return information
Title be combined on the basis of, generate information corresponding to quickly revert candidate.For example, user passes through when receiving information
" electric business " do shopping, then can will by " preset return information " doing shopping " is combined with " electric business " corresponding to electric business APP ",
To obtain the quickly revert candidate " being done shopping in electric business " for meeting language rule.It is appreciated that combinations thereof obtain it is quick
Reply candidate can further with obtain by other means quickly revert candidate (such as by information progress natural language at
Manage obtained judgement and reply candidate) it is combined, for example, when information is " in reading" when, quickly revert time can be obtained
Select " not reading a book, done shopping in electric business ".
In one kind application example 1 of the present invention, " when electric business class APP " does shopping, user is received when user A is used
B information " in reading ", then user A can switch to intelligent terminal at information-reply interface, it is assumed that information-reply interface
Related application (such as instant messaging application or input method application) determines that needing to use current user state information to carry out this treats
The quickly revert of return information, then can from intelligent terminal in running status " electric business class APP " obtain corresponding to it is preset
Return information, then, " preset return information corresponding to electric business class APP " treats the analysis result of return information, generation with this to foundation
This treats quickly revert candidate corresponding to return information:" not reading a book, doing shopping ", " not reading a book, done shopping in electric business ".
When user state information is user action, the corresponding APP of user action title can be combined
On the basis of, generate quickly revert candidate corresponding to information;Above-mentioned APP title can reflect more rich information, therefore can
Improve the fineness of quickly revert candidate.For example, " combined result for taking out class APP " can be [to take out APP titles, " order outer
Sell "], " video class APP " combined result can be [video APP titles, " serial Song of Joy "], then can be accorded with respectively
Close the quickly revert candidate of language rule:" being taken out surely taking out APP ", " determining take-away ", " seeing serial Song of Joy ", "
Video, Song of Joy are seen with video APP " etc..
The present invention one kind application example 2 in, when user C use " when video class APP " sees TV play " Song of Joy ",
" video class APP " can be by system broadcasts user C user action [video APP titles, " serial Song of Joy "], and inputs
Method application can record user C sequence of user action;So, it is assumed that receive user D instant messaging dialogue remind " why
", user C clicks on the prompting and enters instant messaging chat window, and input method application can not actually entered in user C
When, according to quickly revert candidate corresponding to user C sequence of user action generation:" seeing Song of Joy in video APP ", " seeing
Serial Song of Joy ".
It should be noted that when record user action for it is multiple when, can according to time of origin inverted order mode and/or
The duration of user action carries out the screening of user action.Wherein, time of origin is nearer apart from current time, then selected
Probability is bigger, and the duration of user action is longer, then selected probability is bigger.For example, user passes through " video class first
APP " opens TV play " Song of Joy ", after the broadcasting for then suspending TV play " Song of Joy ", by the way that " electric business class APP " searches for business
Product, then " video class APP " because the duration is shorter cause corresponding to the selected probability of user action it is smaller.And for example, user
First by the way that " video class APP " opens TV play " Song of Joy ", then passes through in the playing process of TV play " Song of Joy "
" take out class APP " order take-away, then " electric business APP " because the duration is longer cause corresponding to the selected probability of user action compared with
Greatly.
, can be according to application program when preset return information is multiple in a kind of alternative embodiment of the present invention
Running status (such as front stage operation state and background operation state) carries out the selection of preset return information, and according to pre- after selection
The generation that complex information carries out quickly revert candidate is put back into, for example, the priority of front stage operation state can be higher than running background shape
The priority of state.
In another alternative embodiment of the present invention, it can wait to reply letter described in generation according to preset candidate format
Quickly revert candidate corresponding to breath.For example, preset candidate format can be:At least one of { time, place, pronoun }+
Current user state information, such as " seeing Song of Joy just now " just include time, pronoun and current user state information,
It is appreciated that the embodiment of the present invention is not any limitation as preset candidate format.
Another scheme that quickly revert candidate corresponding to return information is treated described in generation is provided herein.In the present invention again
It is above-mentioned according to the current user state information in a kind of alternative embodiment, treated described in generation quick corresponding to return information
The step 103 of candidate is replied, can specifically be included:According to the current user state information, believe in preset User Status
Searched in mapping relations between breath and preset shortcut reply content, it is corresponding to obtain the current user state information
Target quickly revert content, treat quickly revert candidate corresponding to return information as described;Wherein, the mapping relations can be with
Obtained for the user state information according to history and the reply content of history.
In actual applications, the user state information of history and the reply content of history can be learnt, to obtain
Mapping relations between preset user state information and preset shortcut reply content.By above-mentioned study, user can be obtained
Reply custom when receiving information under different user status information, subsequently equally or under same subscriber status information to receive
During to information, rational quickly revert candidate is provided the user.
For example, when intelligent terminal is without foreground process, in a dormant state and when being in moving scene, if receiving information
Time interval>T is replied, and the reply content of history is " just moving, do not see message ", then can learn to obtain " nothing
Mapping relations between foreground process, resting state and moving scene " and " just motion, do not see message ", therefore, met when later
, can be directly by inquiring about quickly revert time corresponding to the mapping relations acquisition during to equivalent or same subscriber status information
Choosing.Wherein, above-mentioned t can be the threshold value that those skilled in the art determine according to practical application request, for example, above-mentioned t can be
60 minutes, 30 minutes etc..
And for example, when user uses video class APP, often reply " seeing TV ", then can learn to obtain " video class
Mapping relations between APP " and " seeing TV ".
It should be noted that in order to improve the accuracy of preset shortcut reply content, can also be to the User Status of history
The reply content of information, the information of history and history is learnt, with obtain preset user state information, preset information with
Mapping relations between preset shortcut reply content, above-mentioned mapping relations can reflect that user receives under different user status information
To a reply custom during category information, during to receive same category information under subsequently equivalent or same subscriber status information, for
Family provides rational quickly revert candidate.
, can be according to language in order to improve the quality of quickly revert candidate in another alternative embodiment of the present invention
At least one of reply custom of model, the priority of application program and user, the quickly revert candidate of generation is carried out
Sequence, wherein, the sequence based on language model can embody the power of language rule corresponding to quickly revert candidate;Application program
Priority can be distinguished by front stage operation state and background operation state, or, can set to obtain by user;User's returns
Review and be used to that custom of the user in return information can be reflected, for example, user's habituation only carries in quickly revert candidate
Current user state information (such as " seeing video "), without carrying any in { time, place, pronoun }, therefore can only exist
Current user state information is carried in quickly revert candidate.
After quickly revert candidate is generated, the processing mode of the embodiment of the present invention can have a variety of.For example, can be to user
Quickly revert candidate corresponding to return information is treated described in showing, for selection by the user.Wherein it is possible to using the side such as pop-up, bubbling
Formula carries out quickly revert candidate and showed, and can in response to user for quickly revert candidate selection operation, user is selected
Shield (exporting to application program) on the quickly revert candidate selected.Alternatively, it is above-mentioned show to user described treat that return information is corresponding
Quickly revert candidate the step of, can specifically include:Treat that quickly revert candidate is presented in defeated corresponding to return information by described
Enter the candidate window of method program;Or by treating the application program of return information described in reception, show to user and described wait to reply
Quickly revert candidate corresponding to information.Wherein, as boarding program, input method procedure can be hosted by short message application, IMU
In the host programs such as news application, therefore under the scene that such as user clicks on reply frame, input method procedure can pass through candidate window
Show to user and described treat quickly revert candidate corresponding to return information.The application program of return information is treated described in reception namely is treated
The recipient of return information, if for example, the short message application of intelligent terminal receives and treats return information, user is still to pass through short message
Using carrying out the reply for treating return information, therefore the short message application can be under the scene that such as user clicks on reply frame, Xiang Yong
Quickly revert candidate corresponding to return information is treated described in showing in family.
In a kind of alternative embodiment of the present invention, it is contemplated that the situation that user trusts enough for quickly revert candidate,
Can be pre- in response to the second of user in the case where treating quickly revert candidate corresponding to return information described in not showing to user
Operation is put, will be shielded on optimal quickly revert candidate.Optimal namely quickly revert candidate optimal quality herein, wherein, can
According at least one of the reply of language model, the priority of application program and user custom, to calculate quickly revert and wait
The quality score of choosing, and using quality score highest quickly revert candidate as optimal quickly revert candidate.Or can be by
At least one of reply custom according to language model, the priority of application program and user, to multiple quickly revert candidates
Sequence from high to low is carried out, and using the quickly revert candidate to rank the first as optimal quickly revert candidate.
The principle of the second preset operation is similar with the principle of the first preset operation, for example, the second preset operation is specific
It can include:Meet the clicking operation of the first pressing dynamics condition, and/or, meet the slide of the second pressing dynamics condition
Deng, by this second it is preset operation with this first it is preset operate etc. other operations make a distinction.
To sum up, the quickly revert method of the embodiment of the present invention, more rich deep layer can be carried by quickly revert candidate
Information, therefore enable to quickly revert candidate to agree with the accurate reply of user and be intended to, and then improve the essence of quickly revert candidate
Exactness and richness.
And in the case where quickly revert candidate agrees with the accurate reply intention of user, user can be directly using above-mentioned fast
The reply that candidate enters row information is replied in victory, due to can further reduce input cost during user's return information, therefore can
Improve quickly revert efficiency.
It should be noted that for embodiment of the method, in order to be briefly described, therefore it is dynamic that it is all expressed as to a series of motion
Combine, but those skilled in the art should know, the embodiment of the present invention is not limited by described athletic performance order
System, because according to the embodiment of the present invention, some steps can use other orders or carry out simultaneously.Secondly, art technology
Personnel should also know that embodiment described in this description belongs to preferred embodiment, and involved athletic performance simultaneously differs
Surely necessary to being the embodiment of the present invention.
Device embodiment
Reference picture 2, a kind of structured flowchart of quickly revert device embodiment of the present invention is shown, can specifically be included:
Information receiving module 201, state acquisition module 202 and candidate's generation module 203.
Wherein, information receiving module 201, for obtaining the information of intelligent terminal for reception;
State acquisition module 202, for the application program in running status by intelligent terminal, obtain current use
Family status information;And
Candidate's generation module 203, for according to the current user state information, treating that return information is corresponding described in generation
Quickly revert candidate.
In a kind of alternative embodiment of the present invention, the user state information can specifically be included in following information extremely
Few one kind:
Preset return information corresponding to application program;
Pass through user action caused by application program;And
The scene state of application program.
In a kind of alternative embodiment of the present invention, preset return information corresponding to the application program can be current uses
Family for the preset return information of the application program, or, preset return information corresponding to the application program can be according to
According to the whole network user obtained information is counted for the preset return information of the application program.
In another alternative embodiment of the present invention, candidate's generation module 203 can specifically include:
First candidate generates submodule, for according to the current user state information or the current user
Status information and its corresponding application information, quickly revert candidate corresponding to return information is treated described in generation.
In another alternative embodiment of the present invention, candidate's generation module 203 can specifically include:
Second candidate generates submodule, for according to the current user state information, believing in preset User Status
Searched in mapping relations between breath and preset shortcut reply content, it is corresponding to obtain the current user state information
Target quickly revert content, treat quickly revert candidate corresponding to return information as described;Wherein, the mapping relations be according to
Obtained according to the user state information of history and the reply content of history.
In another alternative embodiment of the present invention, the state acquisition module 202 can specifically include:
Submodule is inquired about, for sending inquiry request to the application program in running status, and is received described in fortune
The current user state information that the application program of row state returns according to the inquiry request;Or
Submodule is monitored, for monitoring the message of the application program broadcast in running status, is carried in the message
Current user state information.
In another alternative embodiment of the present invention, the state acquisition module 202, specifically for making when determination needs
Described in current user state information is carried out when the quickly revert of return information, running status is in by intelligent terminal
Application program, obtain current user state information.
In another alternative embodiment of the present invention, the state acquisition module 202 can specifically include:
First determination sub-module, for when described when return information includes the vocabulary to match with preset keyword,
It is determined that need to use the quickly revert that return information is treated described in current user state information progress;And/or
Second determination sub-module, for when it is described meet preset statement pattern when return information when, it is determined that needing to use
The quickly revert of return information is treated described in current user state information progress;And/or
3rd determination sub-module, for when receiving the first preset operation of user, it is determined that needing to use current use
The quickly revert of return information is treated described in the status information progress of family;And/or
4th determination sub-module, for exceeding the time in the difference of current time and the reception time for treating return information
During threshold value, it is determined that needing to use the quickly revert that return information is treated described in current user state information progress;And/or
5th determination sub-module, for when the conventional position of current location and active user is inconsistent, it is determined that needing to make
The quickly revert of return information is treated described in current user state information is carried out.
In another alternative embodiment of the present invention, described device can also include:
Display module, described treat that quickly revert candidate is for selection by the user corresponding to return information for showing to user;
Or
Upper panel module, for the second preset operation in response to user, it will shield on optimal quickly revert candidate.
In the embodiment of the present invention, it is preferred that the display module can include:
First shows submodule, for treating that quickly revert candidate is presented in input method procedure corresponding to return information by described
Candidate window;Or
Second shows submodule, for the application program by treating return information described in reception, shows described treat to user
Quickly revert candidate corresponding to return information.
For device embodiment, because it is substantially similar to embodiment of the method, so description is fairly simple, it is related
Part illustrates referring to the part of embodiment of the method.
Each embodiment in this specification is described by the way of progressive, what each embodiment stressed be with
The difference of other embodiment, between each embodiment identical similar part mutually referring to.
On the device in above-described embodiment, wherein modules perform the concrete mode of operation in relevant this method
Embodiment in be described in detail, explanation will be not set forth in detail herein.
Fig. 3 is a kind of block diagram of device 900 for quickly revert according to an exemplary embodiment.For example, dress
It can be mobile phone to put 900, computer, digital broadcast terminal, messaging devices, game console, tablet device, medical treatment
Equipment, body-building equipment, personal digital assistant etc..
Reference picture 3, device 900 can include following one or more assemblies:Processing component 902, memory 904, power supply
Component 906, multimedia groupware 908, audio-frequency assembly 910, the interface 912 of input/output (I/O), sensor cluster 914, and
Communication component 916.
The integrated operation of the usual control device 900 of processing component 902, such as communicated with display, call, data, phase
The operation that machine operates and record operation is associated.Treatment element 902 can refer to including one or more processors 920 to perform
Order, to complete all or part of step of above-mentioned method.In addition, processing component 902 can include one or more modules, just
Interaction between processing component 902 and other assemblies.For example, processing component 902 can include multi-media module, it is more to facilitate
Interaction between media component 908 and processing component 902.
Memory 904 is configured as storing various types of data to support the operation in device 900.These data are shown
Example includes the instruction of any application program or method for being operated on device 900, contact data, telephone book data, disappears
Breath, picture, video etc..Memory 904 can be by any kind of volatibility or non-volatile memory device or their group
Close and realize, as static RAM (SRAM), Electrically Erasable Read Only Memory (EEPROM) are erasable to compile
Journey read-only storage (EPROM), programmable read only memory (PROM), read-only storage (ROM), magnetic memory, flash
Device, disk or CD.
Power supply module 906 provides electric power for the various assemblies of device 900.Power supply module 906 can include power management system
System, one or more power supplys, and other components associated with generating, managing and distributing electric power for device 900.
Multimedia groupware 908 is included in the screen of one output interface of offer between described device 900 and user.One
In a little embodiments, screen can include liquid crystal display (LCD) and touch panel (TP).If screen includes touch panel, screen
Curtain may be implemented as touch-screen, to receive the input signal from user.Touch panel includes one or more touch sensings
Device is with the gesture on sensing touch, slip and touch panel.The touch sensor can not only sensing touch or sliding motion
The border of action, but also detect the duration and pressure related to the touch or slide.In certain embodiments,
Multimedia groupware 908 includes a front camera and/or rear camera.When device 900 is in operator scheme, mould is such as shot
When formula or video mode, front camera and/or rear camera can receive outside multi-medium data.Each preposition shooting
Head and rear camera can be a fixed optical lens system or have focusing and optical zoom capabilities.
Audio-frequency assembly 910 is configured as output and/or input audio signal.For example, audio-frequency assembly 910 includes a Mike
Wind (MIC), when device 900 is in operator scheme, during such as call model, logging mode and speech recognition mode, microphone by with
It is set to reception external audio signal.The audio signal received can be further stored in memory 904 or via communication set
Part 916 is sent.In certain embodiments, audio-frequency assembly 910 also includes a loudspeaker, for exports audio signal.
I/O interfaces 912 provide interface between processing component 902 and peripheral interface module, and above-mentioned peripheral interface module can
To be keyboard, click wheel, button etc..These buttons may include but be not limited to:Home button, volume button, start button and lock
Determine button.
Sensor cluster 914 includes one or more sensors, and the state for providing various aspects for device 900 is commented
Estimate.For example, sensor cluster 914 can detect opening/closed mode of device 900, and the relative positioning of component, for example, it is described
Component is the display and keypad of device 900, and sensor cluster 914 can be with 900 1 components of detection means 900 or device
Position change, the existence or non-existence that user contacts with device 900, the orientation of device 900 or acceleration/deceleration and device 900
Temperature change.Sensor cluster 914 can include proximity transducer, be configured to detect in no any physical contact
The presence of neighbouring object.Sensor cluster 914 can also include optical sensor, such as CMOS or ccd image sensor, for into
As being used in application.In certain embodiments, the sensor cluster 914 can also include acceleration transducer, gyro sensors
Device, Magnetic Sensor, pressure sensor or temperature sensor.
Communication component 916 is configured to facilitate the communication of wired or wireless way between device 900 and other equipment.Device
900 can access the wireless network based on communication standard, such as WiFi, 2G or 3G, or combinations thereof.In an exemplary implementation
In example, communication component 916 receives broadcast singal or broadcast related information from external broadcasting management system via broadcast channel.
In one exemplary embodiment, the communication component 916 also includes near-field communication (NFC) module, to promote junction service.Example
Such as, in NFC module radio frequency identification (RFID) technology can be based on, Infrared Data Association (IrDA) technology, ultra wide band (UWB) technology,
Bluetooth (BT) technology and other technologies are realized.
In the exemplary embodiment, device 900 can be believed by one or more application specific integrated circuits (ASIC), numeral
Number processor (DSP), digital signal processing appts (DSPD), PLD (PLD), field programmable gate array
(FPGA), controller, microcontroller, microprocessor or other electronic components are realized, for performing the above method.
In the exemplary embodiment, a kind of non-transitorycomputer readable storage medium including instructing, example are additionally provided
Such as include the memory 904 of instruction, above-mentioned instruction can be performed to complete the above method by the processor 920 of device 900.For example,
The non-transitorycomputer readable storage medium can be ROM, random access memory (RAM), CD-ROM, tape, floppy disk
With optical data storage devices etc..
A kind of non-transitorycomputer readable storage medium, when the instruction in the storage medium is by the processing of mobile terminal
When device performs so that mobile terminal is able to carry out a kind of quickly revert method, and methods described includes:Obtain intelligent terminal for reception
Treat return information;By the application program in running status of intelligent terminal, current user state information is obtained;According to institute
Current user state information is stated, quickly revert candidate corresponding to return information is treated described in generation.
Fig. 4 is the structural representation of server in some embodiments of the present invention.The server 1900 can be because of configuration or property
Energy is different and produces bigger difference, can include one or more central processing units (central processing
Units, CPU) 1922 (for example, one or more processors) and memory 1932, one or more storage applications
The storage medium 1930 of program 1942 or data 1944 (such as one or more mass memory units).Wherein, memory
1932 and storage medium 1930 can be it is of short duration storage or persistently storage.One can be included by being stored in the program of storage medium 1930
Individual or more than one module (diagram does not mark), each module can include operating the series of instructions in server.More enter
One step, central processing unit 1922 be could be arranged to communicate with storage medium 1930, and storage medium is performed on server 1900
Series of instructions operation in 1930.
Server 1900 can also include one or more power supplys 1926, one or more wired or wireless nets
Network interface 1950, one or more input/output interfaces 1958, one or more keyboards 1956, and/or, one or
More than one operating system 1941, such as Windows ServerTM, Mac OS XTM, UnixTM, LinuxTM, FreeBSDTM
Etc..
Those skilled in the art will readily occur to the present invention its after considering specification and putting into practice invention disclosed herein
Its embodiment.It is contemplated that cover the present invention any modification, purposes or adaptations, these modifications, purposes or
Person's adaptations follow the general principle of the present invention and including the undocumented common knowledges in the art of the disclosure
Or conventional techniques.Description and embodiments are considered only as exemplary, and true scope and spirit of the invention are by following
Claim is pointed out.
It should be appreciated that the invention is not limited in the precision architecture for being described above and being shown in the drawings, and
And various modifications and changes can be being carried out without departing from the scope.The scope of the present invention is only limited by appended claim
The foregoing is only presently preferred embodiments of the present invention, be not intended to limit the invention, it is all the present invention spirit and
Within principle, any modification, equivalent substitution and improvements made etc., it should be included in the scope of the protection.
Above a kind of quickly revert method provided by the present invention, a kind of quickly revert device and one kind are used to fast return
Multiple device, is described in detail, and specific case used herein is explained the principle and embodiment of the present invention
State, the explanation of above example is only intended to help the method and its core concept for understanding the present invention;Meanwhile for this area
Those skilled in the art, according to the thought of the present invention, there will be changes in specific embodiments and applications, to sum up institute
State, this specification content should not be construed as limiting the invention.
Claims (12)
- A kind of 1. quickly revert method, it is characterised in that including:Obtain intelligent terminal for reception treats return information;By the application program in running status of intelligent terminal, current user state information is obtained;According to the current user state information, quickly revert candidate corresponding to return information is treated described in generation.
- 2. according to the method for claim 1, it is characterised in that the user state information is included in following information at least It is a kind of:Preset return information corresponding to application program;Pass through user action caused by application program;AndThe scene state of application program.
- 3. according to the method for claim 2, it is characterised in that preset return information is current corresponding to the application program User is directed to the preset return information of the application program, or, preset return information corresponding to the application program is foundation The whole network user counts obtained information for the preset return information of the application program.
- 4. method according to any one of claims 1 to 3, it is characterised in that described according to the current User Status letter Breath, the step for the treatment of quickly revert candidate corresponding to return information described in generation, including:Believe according to the current user state information or the current user state information and its corresponding application program Cease, quickly revert candidate corresponding to return information is treated described in generation.
- 5. method according to any one of claims 1 to 3, it is characterised in that described according to the current User Status letter Breath, the step for the treatment of quickly revert candidate corresponding to return information described in generation, including:According to the current user state information, reflecting between preset user state information and preset shortcut reply content Penetrate in relation and searched, to obtain target quickly revert content corresponding to the current user state information, as described Treat quickly revert candidate corresponding to return information;Wherein, the mapping relations are the user state information and history according to history Reply content obtain.
- 6. method according to any one of claims 1 to 3, it is characterised in that described that operation shape is in by intelligent terminal The application program of state, the step of obtaining current user state information, including:Inquiry request is sent to the application program in running status, and receives the application program foundation for being in running status The current user state information that the inquiry request returns;OrThe message that the application program in running status is broadcasted is monitored, current user state information is carried in the message.
- 7. method according to any one of claims 1 to 3, it is characterised in that described that operation shape is in by intelligent terminal The application program of state, the step of obtaining current user state information, including:When it is determined that needing to use described in current user state information progress when the quickly revert of return information, pass through intelligent end The application program in running status at end, obtains current user state information.
- 8. according to the method for claim 7, it is characterised in that the determination needs to use current user state information to enter The step of quickly revert of return information is treated described in row, including:When described when return information includes the vocabulary to match with preset keyword, it is determined that needing to use current user's shape The quickly revert of return information is treated described in the progress of state information;And/orWhen it is described meet preset statement pattern when return information when, it is determined that needing to use current user state information to carry out institute State the quickly revert for treating return information;And/orWhen receiving the first preset operation of user, wait to reply described in current user state information progress it is determined that needing to use The quickly revert of information;And/orWhen the difference of current time and the reception time when return information exceeds time threshold, it is determined that needing to use current User state information carry out described in treat the quickly revert of return information;And/orWhen the conventional position of current location and active user is inconsistent, it is determined that needing to use current user state information to carry out The quickly revert for treating return information.
- 9. method according to any one of claims 1 to 3, it is characterised in that methods described also includes:To user show it is described treat quickly revert candidate corresponding to return information, for selection by the user;OrIn response to the second preset operation of user, will shield on optimal quickly revert candidate.
- 10. according to the method for claim 9, it is characterised in that described to show described treat corresponding to return information to user The step of quickly revert candidate, including:By the candidate window treated quickly revert candidate corresponding to return information and be presented in input method procedure;OrBy treating the application program of return information described in reception, show to user and described treat that quickly revert corresponding to return information is waited Choosing.
- A kind of 11. quickly revert device, it is characterised in that including:Information receiving module, return information is treated for obtain intelligent terminal for reception;State acquisition module, for the application program in running status by intelligent terminal, obtain current User Status Information;AndCandidate's generation module, it is quick corresponding to return information for according to the current user state information, being treated described in generation Reply candidate.
- A kind of 12. device for quickly revert, it is characterised in that include memory, and one or more than one Program, one of them or more than one program storage are configured to by one or more than one processing in memory Device performs one or more than one program bag and contains the instruction for being used for being operated below:Obtain intelligent terminal for reception treats return information;By the application program in running status of intelligent terminal, current user state information is obtained;According to the current user state information, quickly revert candidate corresponding to return information is treated described in generation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610800170.7A CN107784045B (en) | 2016-08-31 | 2016-08-31 | Quick reply method and device for quick reply |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201610800170.7A CN107784045B (en) | 2016-08-31 | 2016-08-31 | Quick reply method and device for quick reply |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107784045A true CN107784045A (en) | 2018-03-09 |
CN107784045B CN107784045B (en) | 2022-02-01 |
Family
ID=61451849
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201610800170.7A Active CN107784045B (en) | 2016-08-31 | 2016-08-31 | Quick reply method and device for quick reply |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107784045B (en) |
Cited By (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733840A (en) * | 2018-05-29 | 2018-11-02 | 北京五八信息技术有限公司 | Acquisition methods, device, equipment and the storage medium of quickly revert message |
CN108932147A (en) * | 2018-06-27 | 2018-12-04 | 上海掌门科技有限公司 | Method and apparatus for switching boarding application |
CN111273786A (en) * | 2018-12-04 | 2020-06-12 | 北京搜狗科技发展有限公司 | Intelligent input method and device |
CN111736711A (en) * | 2020-05-22 | 2020-10-02 | 北京百度网讯科技有限公司 | Message input method, device, equipment and computer storage medium |
CN111984767A (en) * | 2019-05-23 | 2020-11-24 | 北京搜狗科技发展有限公司 | Information recommendation method and device and electronic equipment |
CN112003778A (en) * | 2020-07-17 | 2020-11-27 | 北京百度网讯科技有限公司 | Message processing method, device, equipment and computer storage medium |
CN113037932A (en) * | 2021-02-26 | 2021-06-25 | 北京百度网讯科技有限公司 | Reply message generation method and device, electronic equipment and storage medium |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902630A (en) * | 2012-12-31 | 2014-07-02 | 华为技术有限公司 | Method, terminal and system for processing messages |
US20150244653A1 (en) * | 2013-07-19 | 2015-08-27 | Tencent Technology (Shenzhen) Company Limited | Methods and systems for creating auto-reply messages |
US20150281138A1 (en) * | 2013-07-19 | 2015-10-01 | Tencent Technology (Shenzhen) Company Limited | Keyword based automatic reply generation in a messaging application |
CN105262874A (en) * | 2014-07-17 | 2016-01-20 | 中兴通讯股份有限公司 | Short message service processing method and terminal |
CN105893771A (en) * | 2016-04-15 | 2016-08-24 | 北京搜狗科技发展有限公司 | Information service method and device and device used for information services |
-
2016
- 2016-08-31 CN CN201610800170.7A patent/CN107784045B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103902630A (en) * | 2012-12-31 | 2014-07-02 | 华为技术有限公司 | Method, terminal and system for processing messages |
US20150244653A1 (en) * | 2013-07-19 | 2015-08-27 | Tencent Technology (Shenzhen) Company Limited | Methods and systems for creating auto-reply messages |
US20150281138A1 (en) * | 2013-07-19 | 2015-10-01 | Tencent Technology (Shenzhen) Company Limited | Keyword based automatic reply generation in a messaging application |
CN105262874A (en) * | 2014-07-17 | 2016-01-20 | 中兴通讯股份有限公司 | Short message service processing method and terminal |
CN105893771A (en) * | 2016-04-15 | 2016-08-24 | 北京搜狗科技发展有限公司 | Information service method and device and device used for information services |
Non-Patent Citations (1)
Title |
---|
张亮等: "基于语句相似度计算的FAQ自动回复系统设计与实现", 《小型微型计算机系统》 * |
Cited By (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108733840A (en) * | 2018-05-29 | 2018-11-02 | 北京五八信息技术有限公司 | Acquisition methods, device, equipment and the storage medium of quickly revert message |
CN108932147A (en) * | 2018-06-27 | 2018-12-04 | 上海掌门科技有限公司 | Method and apparatus for switching boarding application |
CN111273786A (en) * | 2018-12-04 | 2020-06-12 | 北京搜狗科技发展有限公司 | Intelligent input method and device |
CN111273786B (en) * | 2018-12-04 | 2024-05-10 | 北京搜狗科技发展有限公司 | Intelligent input method and device |
CN111984767A (en) * | 2019-05-23 | 2020-11-24 | 北京搜狗科技发展有限公司 | Information recommendation method and device and electronic equipment |
CN111736711A (en) * | 2020-05-22 | 2020-10-02 | 北京百度网讯科技有限公司 | Message input method, device, equipment and computer storage medium |
CN112003778A (en) * | 2020-07-17 | 2020-11-27 | 北京百度网讯科技有限公司 | Message processing method, device, equipment and computer storage medium |
CN112003778B (en) * | 2020-07-17 | 2023-02-28 | 北京百度网讯科技有限公司 | Message processing method, device, equipment and computer storage medium |
CN113037932A (en) * | 2021-02-26 | 2021-06-25 | 北京百度网讯科技有限公司 | Reply message generation method and device, electronic equipment and storage medium |
Also Published As
Publication number | Publication date |
---|---|
CN107784045B (en) | 2022-02-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN107784045A (en) | A kind of quickly revert method and apparatus, a kind of device for quickly revert | |
US9342532B2 (en) | System and method for real-time map-based lost and found | |
CN105243104B (en) | Selectively web search increases social factor | |
US20170132821A1 (en) | Caption generation for visual media | |
CN106605224A (en) | Information searching method, information searching device, electronic equipment and server | |
WO2020086343A1 (en) | Privacy awareness for personal assistant communications | |
CN106874308B (en) | Recommendation method and device and recommendation device | |
CN106059894A (en) | Message processing method and message processing device | |
CN104462128A (en) | Method and device for processing multi-media files and terminal equipment | |
WO2017012423A1 (en) | Method and terminal for displaying instant message | |
CN105610700A (en) | Group creating method and apparatus and electronic device | |
US11477143B2 (en) | Trending content view count | |
CN108345667A (en) | A kind of searching method and relevant apparatus | |
CN108616448A (en) | A kind of the path recommendation method and mobile terminal of Information Sharing | |
CN111125523A (en) | Searching method, searching device, terminal equipment and storage medium | |
CN109639569A (en) | A kind of social communication method and terminal | |
CN108460651A (en) | Vehicle recommends method and device | |
CN113392178A (en) | Message reminding method, related device, equipment and storage medium | |
CN109495638A (en) | A kind of information display method and terminal | |
CN109634913A (en) | Storage method, device and the electronic equipment of document | |
CN107526740A (en) | A kind of method and electronic equipment for showing search result | |
CN108572979A (en) | A kind of position service method and device, a kind of device for location-based service | |
CN106375178A (en) | Message display method and device based on instant messaging | |
CN110457451A (en) | Information display method, device, electronic equipment and storage medium | |
CN103973884A (en) | Information display method, device and terminal |
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 |