Invention content
This specification one or more embodiment describes a kind of reminding method and device, current by prompting the user with
It is people, user is helped to avoid mistaking message to non-targeted contact person.
According in a first aspect, provide a kind of reminding method, including:
Receive the first operation of user, the input in session interface of first operation for activating immediate communication tool
Frame;
Determine the time interval between first operation and the last action carried out to the immediate communication tool;
When the time interval is more than preset time threshold, work as to user prompt is corresponding with the input frame
Preceding contact person.
In one embodiment, described to prompt current contacts corresponding with the input frame to the user, including:
When accidentally hair Message Record corresponding with the user meets predetermined condition, to user prompt and the input
The corresponding current contacts of frame.
According to a kind of possible design, the accidentally hair Message Record includes the operation note of revocation messages and includes default
At least one of Message Record of text.
In one embodiment, the session interface includes contacts list, each contact person in the contacts list
It is shown in the corresponding block item of contacts list;It is described to prompt current relationship corresponding with the input frame to the user
People, including:
Display is changed to the dispaly state of the corresponding block item of the current contacts.
According to a kind of possible design, variation display include that block brightness change is shown, change in shape is shown and
At least one of shake display.
In one embodiment, described to prompt current contacts corresponding with the input frame to the user, including:
The dispaly state of the head portrait of the current contacts and/or title is changed display.
According to a kind of possible design, variation display includes, the brightness change of the head portrait and/or title shows,
Change in shape shows, at least one of flip displays and shake display.
According to a kind of possible design, the session interface includes contacts list, and the head portrait and/or title are located at institute
It states in contacts list;And/or
The session interface includes session window corresponding with the current contacts, the head portrait and/or title position
In the session window.
In one embodiment, described to prompt current contacts corresponding with the input frame to the user, including:
Display text prompt message, the text prompt message include the title of the current contacts.
According to a kind of possible design, the display text prompt message, including:
The text prompt message is shown in the input frame.
According to second aspect, a kind of suggestion device is provided, including:
Receiving unit, the first operation for receiving user, meeting of first operation for activating immediate communication tool
Talk about the input frame in interface;
Determination unit, for determining between first operation and the last action carried out to the immediate communication tool
Time interval;
Prompt unit, for when the time interval be more than preset time threshold when, to the user prompt with it is described
The corresponding current contacts of input frame.
According to the third aspect, a kind of computer readable storage medium is provided, computer program is stored thereon with, when described
When computer program executes in a computer, enable computer execute first aspect method.
According to fourth aspect, a kind of computing device, including memory and processor are provided, which is characterized in that described to deposit
It is stored with executable code in reservoir, when the processor executes the executable code, the method for realizing first aspect.
The reminding method and device provided by this specification embodiment first determines whether that user is ready for the current of message
Whether the time interval between operation and the last action carried out to immediate communication tool is more than preset time threshold, that is, judges
Whether user does not operate immediate communication tool for a long time before current operation, if so, then prompts the user with
Current contacts.In this way, not operated to immediate communication tool in for a period of time in user, it is then continuing with instant messaging
When tool carries out instant messaging, effectively user can be reminded, user is helped to avoid mistaking the message of instant messaging
To non-targeted contact person.
Specific implementation mode
Below in conjunction with the accompanying drawings, the scheme provided this specification is described.
Fig. 1 is the implement scene schematic diagram of one embodiment that this specification discloses.As shown in Figure 1, user can pass through
Terminal (e.g., smart mobile phone, computer etc.) uses immediate communication tool (e.g., Alipay, nail nail etc.) and multiple contact persons, for example,
Contact person 1, contact person 2 ..., contact person N are exchanged in real time, such as send and receive word message, file, speech message.
Under scene shown in Fig. 1, the reminding method of this specification embodiment may be used to prompt user.The prompt side
Method is mainly based upon such observation and statistics:If user has longer period of time (such as 10min) not to instant messaging
Tool is operated, such as user is possibly off computer, or is absorbed in and is operated other tools, when user returns to the Instant Messenger
When news tool sends message, usually forgets or had ignored which contact person is immediate communication tool current interface correspond to, this
When message issued to the probability of wrong contact person be substantially improved.Therefore, it in the method for this specification embodiment, first determines whether to use
Family is ready for sending between the current operation of message and the last action carried out to immediate communication tool, if when being spaced longer
Between.When determining that interval is more than certain threshold value, then current contacts are prompted the user with by certain way.The mode of prompt can be with
Including changing and the relevant dispaly state of contact person, display text prompt etc..In this way, when user is ready for sending message,
Prompt is issued the user with, to reduce the probability that user sends out wrong contact person prepositionly.The specific execution of the above method is described below
Process.
Fig. 2 shows the flow charts according to the reminding method of one embodiment.The executive agent of this method can be Instant Messenger
News tool either the plug-in unit in immediate communication tool or is equipped with the terminal etc. of immediate communication tool.As shown in Fig. 2, the party
Method includes:Step 21, the first operation that user activates the input frame of immediate communication tool is received;Step 22, described first is determined
Time interval between operation and the last action carried out to the immediate communication tool;Step 23, judge the time interval
Whether preset time threshold is more than, on the one hand, when judging result is that the time interval is not more than the time threshold, knot
On the other hand line journey when judging result is that the time interval is more than the time threshold, continues to execute step S24;Step
Rapid 24, prompt current contacts corresponding with the input frame to the user.With reference to display circle of immediate communication tool
The executive mode of the above each step of specific example description in face.
In general, according to the difference for the terminal installed, immediate communication tool can be divided into mobile terminal and desktop end, mobile terminal
Suitable for the small portable mobile device of such as smart mobile phone, also known as mobile phone terminal in the following description;Desktop end is applicable in
In PC machine, the equipment such as tablet computer, also known as ends PC in the following description.
Either mobile phone terminal or the ends PC will include session interface in immediate communication tool, wherein display and current relationship
The corresponding session window of people and input frame.According to the difference of terminal, the layout at session interface has difference.Fig. 3 shows an example
The session interface schematic diagram of mobile phone terminal in son;Fig. 4 shows the session interface schematic diagram at the ends PC in an example;Fig. 5 shows another
The session interface schematic diagram at the ends PC in a example.As shown in Figure 3 and Figure 4, include meeting in the session interface at mobile phone terminal and the ends PC
Talk about window and input frame.Further as shown in figure 5, can also include usually contacts list in the session interface at the ends PC, and
May include multiple nearest contact persons and the corresponding block item of each contact person for having created communication in contacts list.
For immediate communication tool illustrated above, first in step 21, the first operation of user is received, first operation
The input frame in session interface for activating immediate communication tool.
Specifically, the first operation is for the input frame in active session interface, such as input frame shown in Fig. 3 to Fig. 5.
After input frame is activated, such as the cursor of static cursor or flicker can be shown, to indicate that input frame has been activated, terminal at this time
Content of communciation input by user can be received, and Content of communciation may include character, picture, voice, video and document etc..First
Running environment at session interface and immediate communication tool that the mode of operation and immediate communication tool of operation include etc. is opposite
It answers, as long as the operation of input frame can be activated to belong to the first operation.
In one case, it before receiving the first operation, is not yet created with some contact person's in immediate communication tool
Session interface.At this point, the first operation can be the establishment operation to session interface, include the session interface of input frame in establishment
Meanwhile activation to input frame can be completed.
In one embodiment, can be to the connection in the address list of immediate communication tool to the establishment at session interface operation
It is the clicking operation that people's icon is carried out.In one example, as shown in fig. 6, figure to contact person in address list " Zhao Xiaoyan "
Mark is double-clicked, then can create session corresponding with current contacts " Zhao Xiaoyan " interface, and session interface includes input frame,
And the cursor shown in input frame indicates that input frame is active.
In another case, it before receiving the first operation, has been created in immediate communication tool with some contact person's
Session interface.At this point, the first operation is the activation operation carried out to input frame in session interface.
In one embodiment, the first operation can be the clicking operation carried out to input frame in session interface.At one
In example, as shown in fig. 7, clicking operation is carried out to the input frame in the session interface of mobile phone terminal, after input frame is activated, wherein
It shows cursor, and pops up enter key disk in session interface.In another example, as shown in figure 8, session circle to the ends PC
Input frame in face carries out clicking operation, after input frame is activated, wherein showing cursor.
In another embodiment, the first operation can be the minimum window to the immediate communication tool in taskbar
The clicking operation that mouth carries out.In one example, as shown in figure 9, showing immediate communication tool in the taskbar at the ends PC interface,
I.e. nail nail, minimum window, to this minimum window carry out clicking operation after, the session interface for following closely nail is reduced display, defeated
Enter frame to be activated and show cursor.
In yet another embodiment, the first operation can be the unlock operation to terminal display screen.In one example, eventually
The session interface including input frame is shown in the display screen of end, and screen locking is in because not receiving user's operation in a period of time
State, when user is unlocked operation to screen, terminal is waken up, shown by input frame be activated therewith.
After receiving the first operation of activation input frame, next, in step S22, the first operation is determined and to Instant Messenger
Time interval between the last action that news tool carries out.
Specifically, the last action carried out to immediate communication tool is to be received before receiving the first operation to i.e.
When the last operation that carries out of communication tool.The concrete operations mode of last action can be arbitrary mode of operation, for example, on
One operation can be that will talk about the operation that interface is maximized or minimized, alternatively, being operated to the input that input frame carries out.
When receiving last action and the first operation, the receiving time that can be operated with corresponding record last action and first,
And using first operation receiving time and the receiving time of last action between difference as first operation with last action it
Between time interval.In one example, the receiving time of the first operation is 2018/3/12,13:40:00, last action connects
It is 2018/3/12,13 between time receiving:32:00, it is possible thereby to which the time interval calculated between the first operation and last action is
8min。
Then, in step S23, judge whether the time interval between the first operation and last action is more than the preset time
Threshold value.When the time interval (for example, 8min) is more than time threshold (e.g., 5min), step S24 is then executed, and works as institute
When stating time interval (for example, 1min) no more than time threshold (e.g., 5min), then it is not necessarily to execute step S24, but terminates stream
Journey.
Step S24 prompts the user with current contacts corresponding with input frame.
In one embodiment, it in the session interface of immediate communication tool may include contacts list, and the contact
May include multiple contact persons in list, each contact person's correspondence is shown as a block item and (may refer to area shown in fig. 5
Block item).Correspondingly, current contacts corresponding with input frame are prompted the user with, may include:To in multiple block items and current
The dispaly state of the corresponding block item of contact person is changed display, which, which shows, for example can be, brightness change shows, shape
Shape variation display, shake display etc..The duration of the variation display can predefine according to actual needs, for example, in order to drop
The low interference to user carries out reminding to realize to user, long when can preset duration be set as shorter, such as 0.3s,
In another example in order to fully cause user's note that preset duration can be set to longer duration, such as 1s.In addition, when default
Length can also be adjusted according to the related data that subsequent user is fed back.
It in one example, can be by making the corresponding block item of current contacts carry out brightness change in preset duration
It has been shown that, to prompt the user with current contacts corresponding with input frame.That is, the corresponding block item of flicker current contacts, to carry
Show the current contact person of user.
It in another example, can be by making the corresponding block item of current contacts carry out brightness change in preset duration
Change display and shake display to prompt the user with current contacts corresponding with input frame.For example, as shown in Figure 10, making block item
Persistently flash and (namely flicker jittered dynamic) 0.3s.
It, can be by making block item carry out in preset duration change in shape and show to carry to user in another example
Show current contacts corresponding with input frame.For example, the alternating variation for making block item persistently be amplified and reduce in 0.5s
Display.
In another embodiment, may include in the session interface where input frame current contacts head portrait and/or
Title.The head portrait and/or title can be located in the contacts list included by immediate communication tool, for example, the head portrait
And/or title can be located in the block item in the contacts list shown in Fig. 5;The head portrait and/or title may be located on
In session window included by immediate communication tool, for example, may refer to the session window as shown in Fig. 3, Fig. 4 or Fig. 5.Accordingly
Ground prompts the user with current contacts corresponding with input frame, may include:By the head portrait of current contacts in session interface
And/or the dispaly state of title is changed display.The variation of head portrait and/or title, which is shown, may include, brightness change shows,
Change in shape shows, flip displays, shake display etc..
In one example, brightness change can be carried out by the head portrait and/or title for making current contacts to show and tremble
Dynamic display, to prompt the user with current contacts corresponding with input frame.For example, head portrait and/or title is made persistently to flash (also
It is flicker and shake) 0.4s.
In another example, shape can be carried out in preset duration by the head portrait and/or title for making current contacts
Shape variation display, to prompt the user with current contacts corresponding with input frame.For example, head portrait and title is made to continue in 0.6s
The alternating variation display for carrying out amplification shown in Figure 11 and reducing.
In another example, it can be overturn in preset time by the head portrait and/or title for making current contacts aobvious
Show, to prompt the user with current contacts corresponding with input frame.For example, as shown in figure 12, head portrait is made persistently to be overturn in 1s
Display.
According to another embodiment, current contacts corresponding with the input frame are prompted to the user, can be wrapped
It includes:Display text prompt message, and the text prompt message includes the title of current contacts.
In one example, the text prompt message can be shown in input frame.In order to avoid to input by user
Interference, text prompt message can appear dimmed background prompt and after user inputs character in input frame, it is shown
Text prompt message can be automatically cleared.For example, as shown in figure 13, when input frame is activated, user prepares in input frame
When middle input message, " you communicate with Zhao Xiaoyan ... " can be shown in input frame, to prompt user's current contacts
It is " Zhao Xiaoyan ", and after user inputs character in input frame, shown text prompt message can be automatically cleared.
In another example, the text prompt message can be shown in the form of suspended window in session interface.?
In further example, the text prompt message shown by suspended window can automatically disappear after preset duration.For example, such as Figure 14
It is shown, it can show to include the outstanding of text prompt message " breathing out, that chat with you is Zhao Xiaoyan " in session window
Floating window, and the suspended window disappears after continuously display 2s.
By manner described above, when determine user be ready for sending the current operation of message and operating interval before compared with
In the case of prolonged, prompt is issued the user with by various modes, with the contact person for reminding user current.
In order to be further reduced the interference to user's normal chat, in one embodiment, also sentence before sending out prompt
Disconnected, whether active user often has the record that message is sent out to wrong contact person.Only in the case where the user often sends out wrong message, to
User prompts current contact person.In other words, before step S24, also judge, accidentally hair Message Record corresponding to the user is
It is no to meet predetermined condition;When accidentally hair Message Record meets predetermined condition, current relationship corresponding with input frame is prompted the user with
People.
Specifically, in one embodiment, the operation note that Message Record may include revocation messages is accidentally sent out;Disappear with accidentally hair
It may include the number that user executes message withdrawal operation that breath, which records relevant predetermined condition, for example, 10 times in total, or most
It is 5 times in nearly one month, or averagely 1 times a week.In another embodiment, it includes pre- accidentally to send out Message Record to may include
It is correspondingly, relevant pre- with accidentally hair Message Record if the Message Record of text, such as pre-set text can be " sending out wrong " etc.
Fixed condition can be the item number of the message for the Message Record (as including text " sending out wrong ") for including pre-set text, for example,
8 in total, or 6 in nearest one month, or average 2 weekly.In another embodiment, accidentally hair Message Record may include
The operation note of revocation messages and include both Message Records of pre-set text;Correspondingly, predetermined condition can be two kinds of notes
The summation number of record.
In one example, predetermined condition is that user misses the record strip number for sending out Message Record in nearest one month more than 5.
It is assumed that accidentally hair Message Record corresponding to the user includes the operation note and 3 of generated 4 revocation messages in nearest one month
Item includes the Message Record of pre-set text " sending out wrong ".Accordingly, accidentally hair Message Record (totally 7) corresponding to the user meets pre-
Fixed condition (is more than 5), prompts the user with current contacts corresponding with input frame.
From the foregoing, it will be observed that the reminding method disclosed using the multiple embodiments of this specification, is first determined whether that user is ready for and disappeared
Whether the time interval between the current operation of breath and the last action carried out to immediate communication tool is more than preset time threshold
Value, i.e., judge user before current operation whether long-time do not operate immediate communication tool, if so, then to
User prompts current contacts.In this way, not operated to immediate communication tool in for a period of time in user, then it is continuing with
When immediate communication tool carries out instant messaging, effectively user can be reminded, user is helped to avoid instant messaging
Message is mistaken to non-targeted contact person.
Corresponding with above-mentioned reminding method, this specification also provides a kind of suggestion device, as shown in figure 15, the device 1500
May include:
Receiving unit 151, the first operation for receiving user, session of first operation for activating immediate communication tool
Input frame in interface;
Determination unit 152, for determining the time between the first operation and the last action carried out to immediate communication tool
Interval;
Prompt unit 153, for when time interval is more than preset time threshold, prompting the user with corresponding with input frame
Current contacts.
In a kind of possible design, prompt unit 153 is specifically used for:
When accidentally hair Message Record corresponding to the user meets predetermined condition, prompt the user with corresponding with input frame current
Contact person.
Further, the mistake hair Message Record in prompt unit 153 includes the operation note of revocation messages and includes
At least one of Message Record of pre-set text.
In a kind of possible design, session interface includes contacts list, and each contact person shows in contacts list
In the corresponding block item of contacts list;Prompt unit 153 is specifically used for:
Display is changed to the dispaly state of the corresponding block item of current contacts.
Further, variation display includes that block brightness change is shown, change in shape is shown and shakes display
At least one of.
In a kind of possible design, prompt unit 153 is specifically used for:By the head portrait of current contacts and/or title
Dispaly state is changed display.
Further, variation display includes, the brightness change of head portrait and/or title is shown, change in shape is shown,
At least one of flip displays and shake display.
In a kind of possible design, session interface includes contacts list, and head portrait and/or title are located at contacts list
In;And/or
Session interface includes session window corresponding with current contacts, and head portrait and/or title are located in session window.
In a kind of possible design, prompt unit 153 is specifically used for:Display text prompt message, text prompt message
It include the title of current contacts.
Further, prompt unit 153 is specifically used for:The display text prompt message in input frame.
By above device, first determine whether that user is ready for the current operation of message and is carried out to immediate communication tool
Last action between time interval whether be more than preset time threshold, that is, judge whether user grows before current operation
Time does not operate immediate communication tool, if so, then prompts the user with current contacts.In this way, in user one
Immediate communication tool is not operated in the section time, it, can be with when being then continuing with immediate communication tool and carrying out instant messaging
Effectively user is reminded, user is helped to avoid mistaking the message of instant messaging to non-targeted contact person.
According to the embodiment of another aspect, a kind of computer readable storage medium is also provided, is stored thereon with computer journey
Sequence enables computer execute method described in conjunction with Figure 2 when the computer program executes in a computer.
According to the embodiment of another further aspect, a kind of computing device, including memory and processor, the memory are also provided
In be stored with executable code, when the processor executes the executable code, realize the method in conjunction with described in Fig. 2.
Those skilled in the art are it will be appreciated that in said one or multiple examples, work(described in the invention
It can be realized with hardware, software, firmware or their arbitrary combination.It when implemented in software, can be by these functions
Storage in computer-readable medium or as on computer-readable medium one or more instructions or code be transmitted.
Above-described specific implementation mode has carried out further the purpose of the present invention, technical solution and advantageous effect
It is described in detail, it should be understood that the foregoing is merely the specific implementation mode of the present invention, is not intended to limit the present invention
Protection domain, all any modification, equivalent substitution, improvement and etc. on the basis of technical scheme of the present invention, done should all
Including within protection scope of the present invention.