CN109324725A - A kind of prompt information generation method, device, equipment and storage medium - Google Patents
A kind of prompt information generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109324725A CN109324725A CN201810954621.1A CN201810954621A CN109324725A CN 109324725 A CN109324725 A CN 109324725A CN 201810954621 A CN201810954621 A CN 201810954621A CN 109324725 A CN109324725 A CN 109324725A
- Authority
- CN
- China
- Prior art keywords
- window
- information
- message
- user
- instant message
- 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
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0481—Interaction techniques based on graphical user interfaces [GUI] based on specific properties of the displayed interaction object or a metaphor-based environment, e.g. interaction with desktop elements like windows or icons, or assisted by a cursor's changing behaviour or appearance
- G06F3/04812—Interaction techniques based on cursor appearance or behaviour, e.g. being affected by the presence of displayed objects
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F3/00—Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
- G06F3/01—Input arrangements or combined input and output arrangements for interaction between user and computer
- G06F3/048—Interaction techniques based on graphical user interfaces [GUI]
- G06F3/0487—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser
- G06F3/0488—Interaction techniques based on graphical user interfaces [GUI] using specific features provided by the input device, e.g. functions controlled by the rotation of a mouse with dual sensing arrangements, or of the nature of the input device, e.g. tap gestures based on pressure sensed by a digitiser using a touch-screen or digitiser, e.g. input of commands through traced gestures
Abstract
The invention discloses a kind of prompt information generation method, device, equipment and storage mediums, and the method includes when receiving instant message, recording the corresponding time of reception to stab at the first time;User is obtained to the touch control operation information of current window in window list;When the touch control operation information runs succeeded, corresponding run succeeded constantly as the second timestamp is recorded;Calculate the interval duration between second timestamp and first time stamp;When the interval duration is less than preset duration, the related prompt message of corresponding window is generated.Prompt information related with corresponding window can be added for user to the delete operation of the window of instant message in the present invention in the deletion information of generation, guarantee the correctness that user information is deleted.
Description
Technical field
The present invention relates to mobile communication technology field more particularly to a kind of prompt information generation method, device, equipment and deposit
Storage media.
Background technique
Existing a large amount of social product is developed and using on the terminal device, and user is helped to carry out with acquaintance or stranger
Information exchange, so that the communication between user is shared with information becomes more convenient and efficient.
Wherein, chat window is arranged successively on the interface of social product, and according to the receiving time of instant message
Putting in order for chat window is constantly to update.Since window is excessive on interface or some windows do not retain necessity
When, user will do it delete operation;It generally, is that user is generated by touch-control on terminal interface and deletes instruction, according to deleting
Except the deletion of window is completed in the selection and confirmation of instruction.
But have good positioning the target window to be deleted in user, it deletes in this period before instruction generates, if there is
New instant message is received, the position that may cause target window changes;And this will affect the window of user's delete operation
Object leads to the problem of user and accidentally deletes other windows.
Summary of the invention
The present invention provides a kind of prompt information generation method, device, equipment and storage mediums, specifically:
On the one hand a kind of prompt information generation method is provided, which comprises
When receiving instant message, the corresponding time of reception is recorded to stab at the first time;
User is obtained to the touch control operation information of current window in window list;
When the touch control operation information runs succeeded, corresponding run succeeded constantly as the second timestamp is recorded;
Calculate the interval duration between second timestamp and first time stamp;
When the interval duration is less than preset duration, the related prompt message of corresponding window is generated.
On the other hand a kind of prompt information generating means are provided, described device includes:
At the first time stamp logging modle, for when receiving instant message, record the corresponding time of reception be first when
Between stab;
Touch control operation data obtaining module, for obtaining user to the touch control operation information of current window in window list;
Second timestamp logging modle, for when the touch control operation information runs succeeded, record it is corresponding execute at
The function moment is the second timestamp;
It is spaced duration calculation module, when for calculating the interval between second timestamp and first time stamp
It is long;
Related prompt message generation module, for generating corresponding window when the interval duration is less than preset duration
Related prompt message.
A kind of equipment is separately provided with aspect, the equipment includes processor and memory, is stored in the memory
At least one instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, institute
Code set or instruction set is stated to be loaded as the processor and executed to realize prompt information generation method described in above-mentioned aspect.
On the other hand a kind of computer readable storage medium is provided, at least one finger is stored in the storage medium
Enable, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or
Instruction set is as processor loads and executes to realize such as the prompt information generation method as described in terms of above-mentioned.
A kind of prompt information generation method, device, equipment and storage medium provided by the invention have following technology effect
Fruit:
The present invention records the corresponding time of reception when receiving instant message to stab at the first time;User is obtained to window
The touch control operation information of current window in mouth list, and when the touch control operation information runs succeeded, record corresponding execution
The success moment is the second timestamp;Further, it is less than in second timestamp and at the first time the interval duration of stamp default
When duration, the related prompt message of corresponding window is generated according to the touch control operation information.The present invention can be for user to i.e.
When message the delete operation that carries out of window, related with corresponding window prompt information is added in the deletion information of generation, from
And allow users to verify and confirm whether the window of current operation is that user wants the window deleted, and then ensure that interface
The correctness of information deletion.
Detailed description of the invention
It in order to more clearly explain the embodiment of the invention or the technical proposal in the existing technology and advantage, below will be to implementation
Example or attached drawing needed to be used in the description of the prior art are briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is only some embodiments of the present invention, for those of ordinary skill in the art, without creative efforts,
It can also be obtained according to these attached drawings other attached drawings.
Fig. 1 is the implementation environment schematic diagram that this specification embodiment provides;
Fig. 2 is a kind of prompt information generation method flow chart that this specification embodiment provides;
Fig. 3 is the also included flow chart of steps when receiving instant message that this specification embodiment provides;
Fig. 4 be this specification embodiment provide the instant message is shown to the step flow chart in more new window;
Fig. 5 is being shown the instant message in corresponding window according to the attribute information of this specification embodiment offer
In step flow chart;
Fig. 6 is the step flow chart when the touch control operation information runs succeeded that this specification embodiment provides;
Fig. 7 is the related prompt letter that corresponding window is generated according to the touch control operation information that this specification embodiment provides
The step flow chart of breath;
Fig. 8 is a kind of exemplary scene schematic diagram that this specification embodiment provides;
Fig. 9 is a kind of prompt information generating means structural schematic diagram that this specification embodiment provides;
Figure 10 is the second timestamp logging modle composition schematic diagram that this specification embodiment provides;
Figure 11 is the first time stamp logging modle composition schematic diagram that this specification embodiment provides;
Figure 12 is this specification embodiment instant message display unit composition schematic diagram;
Figure 13 is that the instant messages that this specification embodiment provides show subelement composition schematic diagram;
Figure 14 is the related prompt message generation module composition schematic diagram that this specification embodiment provides;
Figure 15 is the structural schematic diagram for the prompt information generating device that this specification embodiment provides.
Specific embodiment
Following will be combined with the drawings in the embodiments of the present invention, and technical solution in the embodiment of the present invention carries out clear, complete
Site preparation description, it is clear that described embodiments are only a part of the embodiments of the present invention, instead of all the embodiments.It is based on
Embodiment in the present invention, those of ordinary skill in the art without making creative work it is obtained it is all its
His embodiment, shall fall within the protection scope of the present invention.
It should be noted that description and claims of this specification and term " first " in above-mentioned attached drawing, "
Two " etc. be to be used to distinguish similar objects, without being used to describe a particular order or precedence order.It should be understood that using in this way
Data be interchangeable under appropriate circumstances, so as to the embodiment of the present invention described herein can in addition to illustrating herein or
Sequence other than those of description is implemented.In addition, term " includes " and " having " and their any deformation, it is intended that cover
Cover it is non-exclusive include, for example, the process, method, system, product or equipment for containing a series of steps or units are not necessarily limited to
Step or unit those of is clearly listed, but may include be not clearly listed or for these process, methods, product
Or other step or units that equipment is intrinsic.
In the prior art, user is in Android operation system terminal, to the chat interface window of instant communication client
The delete operation of information is usually: by " long-pressing -- pop-up -- selection is deleted " or " long-pressing -- pop-up -- selection delete-is deleted
Except confirmation " sequence of operations completes, and no feature prompt, long-pressing only has unified deletion pop-up when deleting;But if deleting
Have during being generated except operational order and receive new chat messages, it is possible to which leading to current window, (user wants the mesh deleted
Mark window) position change, cause the problem of accidentally deleting other chat windows.User is in IOS operating system terminal, to i.e.
When communication customer end the delete operation of chat interface window information be usually: by " left cunning -- delete " or " left cunning -- delete
Remove -- delete confirmation " complete, if messaging list has updated when being ready for left sliding, it also will appear and select asking for wrong window
Topic.As it can be seen that effectively delete prompt (only " delete " and " cancellations " option, without additionally prompt) due to, this make to
Good reminding effect can not be played for family, once user does not have found that the change in location of target window or operation inertia are asked
Topic, all it is possible that the wrong result for deleting window.
Therefore, the invention proposes a kind of technical solution of deletion information alert for instant communication windows, Neng Goutong
The mode for generating prompt information relevant to window (window for deleting instruction effect) is crossed, user is helped to avoid accidentally deleting for window.
As shown in Figure 1, it illustrates the schematic diagrames of the implementation environment under instant messaging scene;The implementation environment includes: clothes
The terminal 01 and terminal 03 that business device 02 and the server 02 communicate.Wherein, terminal 01 and terminal 03 all can be
Mobile phone, tablet computer, portable acquisition machine on knee, PAD or desk-top acquisition machine etc..Operation has visitor in terminal 01 and terminal 03
Family end, the client can be the applications client etc. of instant communication client or same type;Wherein, described instant
Communication customer end is able to carry out the transmission of message and the reception of message, that is to say, that the instant communication client in terminal 01
It can be used as message and send client, can also be used as message sink client;Likewise, the instant messaging client in terminal 03
End can also be used as message and send client or message sink client.
The client has Application Program Interface, may include one or more kinds of composition interfaces in Application Program Interface
Interface element, specific interface element include but is not limited to one of window, dialog box, message box, status bar etc. or
Person is a variety of.Also, Application Program Interface may include the interface being shown in terminal screen and be stored in user terminal but not have
There is the interface for being shown in terminal screen.The interface of display on a terminal screen is referred to as display interface.Various interfaces in interface
Element may be collectively referred to as the content information in interface.
Server 02 can be a server, be also possible to the server cluster consisted of several servers, or
It is that a cloud obtains service centre.Server 02 is established by network and terminal 01 and is communicated to connect.
Specifically, this specification embodiment provides a kind of prompt information generation method, as shown in Fig. 2, the method can
To include:
S202. when receiving instant message, the corresponding time of reception is recorded to stab at the first time;
Wherein, the reception client is when receiving new instant message, the corresponding timestamp meeting of the window list
It is updated, is known as stabbing at the first time by updated timestamp in the present embodiment;When client is by described first in this step
Between stamp address book stored get off.
It needs to give explanation, when the corresponding message receiver of client receives new instant message, the window
The corresponding timestamp of mouth list can be all updated once;I.e. what first time stamp was recorded is the reception of newest received instant message
Time is when a new message is received updated first time stamp.
Specifically, step S202 is when receiving instant message, as shown in figure 3, can also include:
S202a. the attribute information of message in the location information and window of all windows in the window list is obtained;
S202b. the instant message is shown in more new window according to the location information and attribute information that get
In.
In detail, when having multiple instant message windows in the window list, the client obtains all windows
Name placement information;Meanwhile the client obtains the attribute information of message in all windows, for it is subsequently received it is new i.e.
When message when carry out window matching prepare;The attribute information includes identification information corresponding with message in window, described
Identification information includes at least window ID, can further include account, user's pet name or head portrait of sender etc..
Further, in step S202b, the instant message is shown in more new window, as shown in figure 4, can wrap
It includes:
S402. the corresponding attribute information of the instant message is obtained;
S404. the instant message is shown within a corresponding window according to the attribute information.
Wherein, when the reception client receives the new instant message that server sends over, acquisition is described i.e.
When message in the attribute information that carries;The attribute information includes identification information corresponding with the instant message, the mark letter
Breath includes at least window ID, can further include account, user's pet name or head portrait of sender etc..
The attribute information that receives client and will acquire, the attribute information progress with message in the window list
Match;In successful match, the instant message is loaded onto the window where corresponding message;It is not matched to corresponding attribute
When information, according to the corresponding attribute information of the instant message, newly-increased window is generated, and the newly-increased window is added to described
In window list.Accordingly:
Step S404 shows the instant message within a corresponding window according to the attribute information, as shown in figure 5, can be with
Include:
S602. when the attribute information of the instant message is consistent with the attribute information of message in the current window,
The instant message is shown in the current window;
Generally, there is no when the window for being forced top set in window list, updated current window can be adjusted
To the top of window list.For example three original windows being arranged successively are window A, window B, window C in window list;Its
In, window B is that user wants the target window deleted;If it is corresponding to receive the new instant message that client is received from server
Window when being similarly window B, then position of the window B in window list can be updated;The sequence of window becomes at this time: window
B, window A, window C.
S604. the attribute information of window message is all different in the attribute information of the instant message and current window list
When cause, newly-increased window is generated according to the instant message, and by the newly-increased window addition in the window list.
Generally, there is no when the window for being forced top set in window list, newly-increased window can be added in window list
Top.Specifically, if receiving the corresponding window of new instant message that client is received from server is not present in window
In mouth list;Newly-increased window (such as window D) is then generated according to the attribute information extracted from the new instant message, then window
Mouth D can be shown in the top of window list;The sequence of positions of window B (user wants the target window deleted) can become at this time
Change, accordingly complete sequence becomes: window D, window A, window B, window C.
Wherein, the feelings consistent with the attribute information of message in other windows in the corresponding attribute information of the instant message
Under condition, if the ordinal position of other windows is situation when wanting below the target window deleted positioned at user
Under update also the position of the target window can be made to change.
It needs to give explanation, the current window described in step S602 (user wants the target window deleted) receives
When being added to the newly-increased window for receiving new information in new information and step S604 in window list, if there are also in window list
Other windows are located at when receiving new information below the current window, and updated corresponding window can be adjusted to window list
Top or secondary top, may all make the current window (user want delete target window) in the window in the case of these
Sequence of positions in mouth list changes.If still only pop-up is common at this time deletes pop-up, then user does not have probably
The variation for realizing window list sequence clicks " deletion " since inertia operates, mistake will occur and delete operation.If user not and
If the variation of Shi Faxian delete operation instruction, it just will appear the problem of accidentally deleting window;This obviously violates the intention of user, seriously
Influence the experience of user.
S204. user is obtained to the touch control operation information of current window in window list;
In the present embodiment, user executes the touch control operation information for being directed to chat window, tool on the interface for receiving client
Body is the detection of the touch parameter of user customer interface touch control operation.
Wherein, the mode of the touch control operation has diversity;It can be long press operation, left sliding operation or double click operation etc.
Deng.
By taking long press operation as an example, if user carries out long press operation in the location of current window, to the current window
When, the touch parameter can be set as the duration of long press operation, or be the duration of long press operation and the pressure of long press operation
Force value.
By taking left sliding operation as an example, if user carries out left sliding operation in the location of current window, to the current window
When, the touch parameter can be set as the amplitude of left sliding operation, or be the amplitude of left sliding operation and the pressure of left sliding operation
Force value.
Need to give explanation, the window list in the present embodiment may include one or more original windows.Also,
Window in the present embodiment can be single chat window belonging to active user and other user;Or active user and other
Group chat window belonging to multiple users;It can also be the window for the public platform paid close attention under corresponding client, or the service opened
Number window etc..
S206. when the touch control operation information runs succeeded, corresponding run succeeded constantly as the second timestamp is recorded;
Specifically, the parameter of the touch control operation information client in step S204 got is used for table with preset
The parameter (default delete operation information) that sign deletes instruction information is matched.Such as: if touch parameter be long press operation when
When long, when the duration of long press operation reaches preset duration, then illustrate that touch control operation information runs succeeded, at this point, the reception
Client gets off the corresponding moment record storage that runs succeeded.
Further, step S206 is when the touch control operation information runs succeeded, as shown in fig. 6, can also include:
S802. normal alert information is generated according to the touch control operation information;
S804. user is obtained to the selection instruction of the normal alert information;
S806. when the selection instruction meets predetermined registration operation type, when into second timestamp with described first
Between stamp between be spaced duration calculating.
Wherein, when the touch control operation information runs succeeded, touch control operation information described in the reception client end response
Generate normal alert information;User can make a choice operation for the normal alert information.Specifically, the normal alert
Information can be general deletion prompt information, and user can make a choice operation for general deletion prompt information, in institute
When stating selection operation to delete instruction, the client that receives initially enters second timestamp and first time stamp
Calculate step.
S208. the interval duration between second timestamp and first time stamp is calculated;
S210. when the interval duration is less than preset duration, the related prompt message of corresponding window is generated.
Specifically, stamp is at the first time, at the time of client corresponds to when receiving new instant message;Second timestamp
For, at the time of the touch control operation information that user operates on the client corresponds to when running succeeded, such as long press operation or a left side
At the time of sliding operation comes into force;The preset duration is, at the time of for judging to receive new instant message, believes with touch control operation
Cease the foundation of the difference at the moment that runs succeeded.
Further, it is less than in the interval duration being calculated between second timestamp and at the first time stamp described pre-
If when duration, illustrating after receiving new instant message, in a relatively short period of time (less than in the time of preset duration), institute
It states and receives the touch control operation information that client has just responded user;And it is easy to appear because of new instant message in this case
Addition, the problem of position of the current window changes, and window is accidentally deleted in appearance;The situation is directed in the present embodiment, it is raw
At prompt information relevant to the window of delete operation information function, given by way of this special deletion pop-up apparent
Information alert.
Preferably, the digit rank that stamp and the second timestamp are recorded at the first time is millisecond or millisecond rank below
(millisecond -- microsecond -- nanosecond -- picosecond), the accuracy recorded by the time guarantees the accuracy of interval duration calculation.Such as institute
Stating the second timestamp is 9 points 10 seconds (s) 10 minutes 10 milliseconds (ms), the first time stamp for 9 points 9 seconds 10 minutes 10 milliseconds, it is described
Preset duration is 2 seconds;" 10 seconds 10 milliseconds 10 milliseconds=1 second -9 seconds " a length of when being then spaced;As it can be seen that interval is less than in advance for duration 1 second
If duration 2 seconds;Then client generates the related prompt message of corresponding window when detecting that interval duration is less than preset duration.
It needs to give explanation, if client detects that interval duration is greater than preset duration, illustrates receiving
To after new instant message, in a longer period of time (greater than in the time of preset duration), the reception client is just responded
The touch control operation information of user, window list at this time have been updated completion;So pair of the touch control operation information function of user
As that must be that user wants the window deleted, without because the update of window sequence causes the touch control operation of user to act on
Problem on other windows.So the touch control operation information based on user generates common deletion pop-up at this time, user passes through
Common " deletion " option deleted in pop-up of selection, it will be able to be correctly completed the deletion of window information.
For example, second timestamp is 9 points 12 seconds (s) 10 minutes 10 milliseconds (ms), the first time stamp for 9 points 10 minutes
9 seconds 10 milliseconds, the preset duration be 2 seconds;" 12 seconds 10 milliseconds 10 milliseconds=3 seconds -9 seconds " a length of when being then spaced;As it can be seen that
It was greater than preset duration 2 seconds every duration 3 seconds;Then the delete operation based on user, which generates, commonly deletes pop-up, does not have to output display originally
" special deletion pop-up " in specification, such operation compares shows the special deletion pop-up of output in all cases
Mode can reduce the burden of corresponding client, and then promote the efficiency of data processing.
Specifically, step S210 generates the related prompt message of corresponding window according to the touch control operation information, such as Fig. 7 institute
Show, may include:
S1002. the attribute information of message in corresponding window is obtained;
S1004. parameter preset is obtained, the parameter preset includes context parameter and/or character properties;
S1006. the related prompt message of corresponding window is generated according to the parameter preset and attribute information.
Wherein, the attribute information of message in window, including identification information corresponding with message in window, the mark are corresponded to
Information includes at least window ID, can further include account, user's pet name or head portrait of sender etc..In the mark
When information includes the account of sender, it is therefore preferable to the account letter of the user's remarks on own customers end for receiving client
Breath.
Further, the special parameter preset for deleting pop-up content information for rendering is obtained;Context parameter therein is
The background colour of pop-up, character properties therein are the template of display content, character color, character boundary etc. in pop-up.For example,
The background colour is " grey ", the template of the display content is " determine and delete and the chat of ' XXX '? ", the character color
For " blue ", the character boundary is " small four ".
Citing gives explanation: wanting to delete the chat window with small red (account or nickname information of user) in user
When, when detecting that the second timestamp and the interval duration stabbed at the first time are less than the preset duration, later on client end interface
Will pop up special deletion pop-up, the special presentation for deleting pop-up include the pop-up background of grey, content be " determine delete with
The chat of ' small red '? " information, font be blue small four font;The mode for cooperating color watchful by this content information,
Make active user knows specifically which window information that will be deleted cheer and brightly.Showing under concrete scene can
To be in the form of pop-up as shown in Figure 8.
Further, the method also includes:
S212. it obtains user to instruct the selection operation of the related prompt message, according to selection operation instruction pair
The correspondence window of touch-control is handled.
Specifically, after special deletion pop-up is shown on client end interface, user is according to interior in special deletion pop-up
Hold verifying and confirming for information, the selection operation for carrying out " cancellation " or " confirmation " handles the correspondence window of touch-control;To keep away
Exempt from the generation that user's mistake deletes window information.
In the present embodiment, the client can be for the delete operation that window of the user to instant message carries out, in life
At deletion instruction in related with corresponding window prompt information (special deletion pop-up) is added, enable a user to verify
Whether the window with confirmation current operation is that user needs the window deleted, and then ensure that the correctness that user information is deleted;
And further prompting can be given by the display format of context parameter and/or character properties, user's verification is effectively ensured
Check whether window to be deleted is the window for wanting to delete;To improving the usage experience and impression of user, improve pair
Answer user's viscosity of client.
This specification embodiment provides a kind of prompt information generating means, as shown in figure 9, the apparatus may include:
Stamp logging modle 202 at the first time is first for when receiving instant message, recording the corresponding time of reception
Timestamp;
Touch control operation data obtaining module 204 believes the touch control operation of current window in window list for obtaining user
Breath;
Second timestamp logging modle 206, for recording corresponding execution when the touch control operation information runs succeeded
The success moment is the second timestamp;
It is spaced duration calculation module 208, for calculating the interval between second timestamp and first time stamp
Duration;
Related prompt message generation module 210, for generating corresponding window when the interval duration is less than preset duration
Related prompt message.
As a kind of specific embodiment, the second timestamp logging modle 206 as shown in Figure 10, may include:
Normal alert information generating unit 402, for generating normal alert information according to the touch control operation information;
Selection instruction acquiring unit 404, for obtaining user to the selection instruction of the normal alert information;
It is spaced duration pre-calculation unit 406, for when the selection instruction meets predetermined registration operation type, into described the
The calculating of duration is spaced between two timestamps and first time stamp.
As a kind of specific embodiment, the first time stamp logging modle 202 may include: as shown in figure 11
Information acquisition unit 202a, for obtaining in the window list in the location information and window of all windows
The attribute information of message;
Instant message display unit 202b, the location information and attribute information got for basis will be described instant
Message is shown in more new window.
Further, the instant message display unit 202b may include: as shown in figure 12
Attribute information obtains subelement 602, for obtaining the corresponding attribute information of the instant message;
Instant messages show subelement 604, for being shown the instant message in corresponding window according to the attribute information
In mouthful.
As a kind of feasible embodiment, the instant messages show that subelement 604 may include: as shown in figure 13
First display subelement 802, for message in the attribute information and the current window in the instant message
When attribute information is consistent, the instant message is shown in the current window;
Second display subelement 804, the window message in the attribute information of the instant message and current window list
When attribute information is all inconsistent, newly-increased window is generated according to the instant message, and by the newly-increased window addition in the window
In mouth list.
As a kind of specific embodiment, the related prompt message generation module 208 can wrap as shown in figure 14
It includes:
Corresponding window attribute information acquisition unit 1002, for obtaining the attribute information of message in corresponding window;
Parameter preset acquiring unit 1004, for obtaining parameter preset, the parameter preset includes context parameter and/or word
Accord with parameter;
Related prompt message generation unit 1006, for generating corresponding window according to the parameter preset and attribute information
Related prompt message.
Further, described device can also include:
Window processing module 212 instructs the selection operation of the related prompt message for obtaining user, according to described
Selection operation instruction handles the correspondence window of touch-control.
It should be noted that Installation practice described in the present embodiment has invention structure identical with above method embodiment
Think.
This specification embodiment provides a kind of equipment, and the equipment includes processor and memory, in the memory
It is stored at least one instruction, at least one section of program, code set or instruction set, described at least one instructs, is at least one section described
Program, the code set or instruction set are loaded as the processor and are executed to realize the prompt information as described in above-described embodiment
Generation method.
Specifically, this specification embodiment additionally provides a kind of structural schematic diagram of prompt information generating device, such as Figure 15
Prompt information generation method shown, which can be used for implementing providing in above method embodiment.Specifically:
The equipment may include RF (Radio Frequency, radio frequency) circuit 1210, include one or more
Memory 1220, input unit 1230, display unit 1240, the sensor 1250, voicefrequency circuit of computer readable storage medium
1260, WiFi (wireless fidelity, Wireless Fidelity) module 1270, include one or more than one processing core
Processor 1280 and the components such as power supply 1290.It will be understood by those skilled in the art that device structure shown in Figure 15 is simultaneously
The restriction to equipment is not constituted, may include perhaps combining certain components or different than illustrating more or fewer components
Component layout.Wherein:
RF circuit 1210 can be used for receiving and sending messages or communication process in, signal sends and receivees, particularly, by base station
After downlink information receives, one or the processing of more than one processor 1280 are transferred to;In addition, the data for being related to uplink are sent to
Base station.In general, RF circuit 1210 include but is not limited to antenna, at least one amplifier, tuner, one or more oscillator,
Subscriber identity module (SIM) card, transceiver, coupler, LNA (Low NoiseAmplifier, low-noise amplifier), duplex
Device etc..In addition, RF circuit 1210 can also be communicated with network and other equipment by wireless communication.The wireless communication can make
With any communication standard or agreement, and including but not limited to GSM (Global System of Mobile communication, entirely
Ball mobile communcations system), GPRS (General Packet Radio Service, general packet radio service), CDMA (Code
Division Multiple Access, CDMA), WCDMA (Wideband Code Division Multiple
Access, wideband code division multiple access), LTE (Long Term Evolution, long term evolution), Email, SMS (Short
Messaging Service, short message service) etc..
Memory 1220 can be used for storing software program and module, and processor 1280 is stored in memory by operation
1220 software program and module, thereby executing various function application and data processing.Memory 1220 can mainly include
Storing program area and storage data area, wherein storing program area can application program needed for storage program area, function etc.;It deposits
Storage data field, which can be stored, uses created data etc. according to the equipment.In addition, memory 1220 may include high speed with
Machine access memory, can also include nonvolatile memory, a for example, at least disk memory, flush memory device or its
His volatile solid-state part.Correspondingly, memory 1220 can also include Memory Controller, to provide processor 1280
Access with input unit 1230 to memory 1220.
Input unit 1230 can be used for receiving the number or character information of input, and generate and user setting and function
Control related keyboard, mouse, operating stick, optics or trackball signal input.Specifically, input unit 1230 may include touching
Sensitive surfaces 1231 and other input equipments 1232.Touch sensitive surface 1231, also referred to as touch display screen or Trackpad collect
User on it or nearby touch operation (such as user using any suitable object or attachment such as finger, stylus touch-sensitive
Operation on surface 1231 or near touch sensitive surface 1231), and corresponding attachment device is driven according to preset formula.
Optionally, touch sensitive surface 1231 may include both touch detecting apparatus and touch controller.Wherein, touch detecting apparatus is examined
The touch orientation of user is surveyed, and detects touch operation bring signal, transmits a signal to touch controller;Touch controller from
Touch information is received on touch detecting apparatus, and is converted into contact coordinate, then gives processor 1280, and can reception processing
Order that device 1280 is sent simultaneously is executed.Furthermore, it is possible to more using resistance-type, condenser type, infrared ray and surface acoustic wave etc.
Seed type realizes touch sensitive surface 1231.In addition to touch sensitive surface 1231, input unit 1230 can also include other input equipments
1232.Specifically, other input equipments 1232 can include but is not limited to physical keyboard, function key (such as volume control button,
Switch key etc.), trace ball, mouse, one of operating stick etc. or a variety of.
Display unit 1240 can be used for showing information input by user or the information and the equipment that are supplied to user
Various graphical user interface, these graphical user interface can be by figure, text, icon, video and any combination thereof come structure
At.Display unit 1240 may include display panel 1241, optionally, can using LCD (Liquid Crystal Display,
Liquid crystal display), the forms such as OLED (Organic Light-Emitting Diode, Organic Light Emitting Diode) configure display
Panel 1241.Further, touch sensitive surface 1231 can cover display panel 1241, when touch sensitive surface 1231 detect on it or
After neighbouring touch operation, processor 1280 is sent to determine the type of touch event, is followed by subsequent processing device 1280 according to touch
The type of event provides corresponding visual output on display panel 1241.Wherein, touch sensitive surface 1231 and display panel 1241
Can two independent components realize input and input function, but in certain embodiments, can also by touch sensitive surface
1231 integrate with display panel 1241 and realize and output and input function.
The equipment may also include at least one sensor 1250, such as optical sensor, motion sensor and other biographies
Sensor.Specifically, optical sensor may include ambient light sensor and proximity sensor, wherein ambient light sensor can be according to ring
The light and shade of border light adjusts the brightness of display panel 1241, and proximity sensor can close when the equipment is moved in one's ear
Display panel 1241 and/or backlight.As a kind of motion sensor, gravity accelerometer can detect in all directions
The size of (generally three axis) acceleration, can detect that size and the direction of gravity, can be used to identify equipment posture when static
It (for example pedometer, is struck using (such as horizontal/vertical screen switching, dependent game, magnetometer pose calibrating), Vibration identification correlation function
Hit) etc.;Other biographies such as gyroscope, barometer, hygrometer, thermometer, infrared sensor for can also configure as the equipment
Sensor, details are not described herein.
Voicefrequency circuit 1260, loudspeaker 1261, microphone 1262 can provide the audio interface between user and the equipment.
Electric signal after the audio data received conversion can be transferred to loudspeaker 1261, by loudspeaker 1261 by voicefrequency circuit 1260
Be converted to voice signal output;On the other hand, the voice signal of collection is converted to electric signal by microphone 1262, by voicefrequency circuit
1260 receive after be converted to audio data, then by after the processing of audio data output processor 1280, through RF circuit 1210 to send
It exports to memory 1220 to such as another equipment, or by audio data to be further processed.Voicefrequency circuit 1260 may be used also
It can include earphone jack, to provide the communication of peripheral hardware earphone Yu the equipment.
WiFi belongs to short range wireless transmission technology, and the equipment can help user to receive and dispatch electricity by WiFi module 1270
Sub- mail, browsing webpage and access streaming video etc., it provides wireless broadband internet access for user.Although Figure 15 shows
Go out WiFi module 1270, but it is understood that, and it is not belonging to must be configured into for the equipment, it completely can be according to need
It to omit within the scope of not changing the essence of the invention.
Processor 1280 is the control centre of the equipment, utilizes each portion of various interfaces and connection whole equipment
Point, by running or execute the software program and/or module that are stored in memory 1220, and calls and be stored in memory
Data in 1220 execute the various functions and processing data of the equipment, to carry out integral monitoring to equipment.Optionally,
Processor 1280 may include one or more processing cores;Preferably, processor 1280 can integrate application processor and modulatedemodulate
Adjust processor, wherein the main processing operation system of application processor, user interface and application program etc., modem processor
Main processing wireless communication.It is understood that above-mentioned modem processor can not also be integrated into processor 1280.
The equipment further includes the power supply 1290 (such as battery) powered to all parts, it is preferred that power supply can pass through
Power-supply management system and processor 1280 are logically contiguous, to realize management charging, electric discharge, Yi Jigong by power-supply management system
The functions such as consumption management.Power supply 1290 can also include one or more direct current or AC power source, recharging system, power supply
The random components such as fault detection circuit, power adapter or inverter, power supply status indicator.
Although being not shown, the equipment can also include camera, bluetooth module etc., and details are not described herein.Specifically at this
In embodiment, the display unit of equipment is touch-screen display, equipment further include have memory and one or more than one
Program, one of them perhaps more than one program be stored in memory and be configured to by one or more than one
Manage the instruction in the device execution present invention in embodiment of the method.
This specification embodiment provides a kind of computer readable storage medium, and at least one is stored in the storage medium
Item instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code
Collection or instruction set are loaded as processor and are executed to realize the prompt information generation method as described in above-described embodiment.
Optionally, in the present embodiment, above-mentioned storage medium can be located in multiple network equipments of computer network
At least one network equipment.Optionally, in the present embodiment, above-mentioned storage medium can include but is not limited to: USB flash disk read-only is deposited
Reservoir (ROM, Read-Only Memory), random access memory (RAM, RandomAccess Memory), mobile hard disk,
The various media that can store program code such as magnetic or disk.
It should be understood that above-mentioned this specification embodiment sequencing is for illustration only, the excellent of embodiment is not represented
It is bad.And above-mentioned this specification specific embodiment is described.Other embodiments are within the scope of the appended claims.?
The movement recorded in detail in the claims under some cases or step can execute simultaneously according to the sequence being different from embodiment
And desired result still may be implemented.In addition, process depicted in the drawing not necessarily require the particular order shown or
Consecutive order is just able to achieve desired result.In some embodiments, multitasking and parallel processing it is also possible or
Person may be advantageous.
All the embodiments in this specification are described in a progressive manner, same and similar portion between each embodiment
Dividing may refer to each other, and each embodiment focuses on the differences from other embodiments.Especially for device and
For server example, since it is substantially similar to the method embodiment, so being described relatively simple, related place is referring to side
The part of method embodiment illustrates.
Those of ordinary skill in the art will appreciate that realizing that all or part of the steps of above-described embodiment can pass through hardware
It completes, relevant hardware can also be instructed to complete by program, the program can store in a kind of computer-readable
In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all in spirit of the invention and
Within principle, any modification, equivalent replacement, improvement and so on be should all be included in the protection scope of the present invention.
Claims (10)
1. a kind of prompt information generation method, which is characterized in that the described method includes:
When receiving instant message, the corresponding time of reception is recorded to stab at the first time;
User is obtained to the touch control operation information of current window in window list;
When the touch control operation information runs succeeded, corresponding run succeeded constantly as the second timestamp is recorded;
Calculate the interval duration between second timestamp and first time stamp;
When the interval duration is less than preset duration, the related prompt message of corresponding window is generated.
2. prompt information generation method according to claim 1, which is characterized in that described to be held in the touch control operation information
When going successfully, further includes:
Normal alert information is generated according to the touch control operation information;
User is obtained to the selection instruction of the normal alert information;
When the selection instruction meets predetermined registration operation type, between second timestamp and first time stamp
Every the calculating of duration.
3. prompt information generation method according to claim 1, which is characterized in that it is described when receiving instant message,
Further include:
Obtain the attribute information of message in the location information and window of all windows in the window list;
The instant message is shown in more new window according to the location information and attribute information that get.
4. prompt information generation method according to claim 3, which is characterized in that described to show the instant message
In more new window, comprising:
Obtain the corresponding attribute information of the instant message;
The instant message is shown within a corresponding window according to the attribute information.
5. prompt information generation method according to claim 4, which is characterized in that it is described according to the attribute information by institute
Instant message is stated to show within a corresponding window, comprising:
It, will be described instant when the attribute information of the instant message is consistent with the attribute information of message in the current window
Message is shown in the current window;
When the attribute information of window message is all inconsistent in the attribute information of the instant message and current window list, according to
The instant message generates newly-increased window, and by the newly-increased window addition in the window list.
6. prompt information generation method according to claim 1, which is characterized in that the correlation for generating corresponding window mentions
Show information, comprising:
Obtain the attribute information of message in corresponding window;
Parameter preset is obtained, the parameter preset includes context parameter and/or character properties;
The related prompt message of corresponding window is generated according to the parameter preset and attribute information.
7. prompt information generation method according to claim 1, which is characterized in that the method also includes:
It obtains user to instruct the selection operation of the related prompt message, according to selection operation instruction to the correspondence of touch-control
Window is handled.
8. a kind of prompt information generating means, which is characterized in that described device includes:
Stamp logging modle at the first time is stabbed at the first time for when receiving instant message, recording the corresponding time of reception;
Touch control operation data obtaining module, for obtaining user to the touch control operation information of current window in window list;
Second timestamp logging modle, for when the touch control operation information runs succeeded, when recording corresponding run succeeded
Carving is the second timestamp;
It is spaced duration calculation module, for calculating the interval duration between second timestamp and first time stamp;
Related prompt message generation module, for generating the correlation of corresponding window when the interval duration is less than preset duration
Prompt information.
9. a kind of equipment, which is characterized in that the equipment includes processor and memory, and at least one is stored in the memory
Item instruction, at least one section of program, code set or instruction set, at least one instruction, at least one section of program, the code
Collection or instruction set are loaded by the processor and are executed to realize the prompt information generation side as described in claim 1 to 7 is any
Method.
10. a kind of computer readable storage medium, which is characterized in that be stored at least one instruction, extremely in the storage medium
Few one section of program, code set or instruction set, at least one instruction, at least one section of program, the code set or the instruction
Collection is loaded by processor and is executed to realize the prompt information generation method as described in claim 1 to 7 is any.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954621.1A CN109324725B (en) | 2018-08-21 | 2018-08-21 | Prompt message generation method, device, equipment and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201810954621.1A CN109324725B (en) | 2018-08-21 | 2018-08-21 | Prompt message generation method, device, equipment and storage medium |
Publications (2)
Publication Number | Publication Date |
---|---|
CN109324725A true CN109324725A (en) | 2019-02-12 |
CN109324725B CN109324725B (en) | 2021-07-09 |
Family
ID=65264672
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201810954621.1A Active CN109324725B (en) | 2018-08-21 | 2018-08-21 | Prompt message generation method, device, equipment and storage medium |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109324725B (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266875A (en) * | 2019-04-29 | 2019-09-20 | 华为技术有限公司 | A kind of display methods and electronic equipment of prompt information |
Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101288061A (en) * | 2005-04-19 | 2008-10-15 | 谷歌公司 | Method and system for activity based email sorting |
CN101316295A (en) * | 2008-07-14 | 2008-12-03 | 中兴通讯股份有限公司 | Interface updating method and apparatus for message application of mobile terminal |
CN103984468A (en) * | 2014-04-21 | 2014-08-13 | 联想(北京)有限公司 | Method and device for information processing |
CN104169855A (en) * | 2013-12-20 | 2014-11-26 | 华为终端有限公司 | Notification bar inforamiton management method and device |
CN104219060A (en) * | 2013-06-03 | 2014-12-17 | 华为技术有限公司 | A communication monitoring method, communication monitoring device and electronic apparatus |
CN104980450A (en) * | 2014-04-01 | 2015-10-14 | 阿里巴巴集团控股有限公司 | Message transmission method and system and message-oriented middleware |
CN106020626A (en) * | 2016-05-16 | 2016-10-12 | 珠海市魅族科技有限公司 | Message notification management method, message notification management system and terminal |
CN106487657A (en) * | 2016-10-18 | 2017-03-08 | 江西博瑞彤芸科技有限公司 | Applicative notifications and the method for the unified display of short message |
US20170277860A1 (en) * | 2014-12-01 | 2017-09-28 | Beijing Choice Electronic Technology Co., Ltd. | Message Reminding Method and Message Reminding Device |
CN107885561A (en) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | The method and device of message interface information is provided |
CN108228025A (en) * | 2017-12-18 | 2018-06-29 | 广东欧珀移动通信有限公司 | message display method, device, mobile terminal and storage medium |
-
2018
- 2018-08-21 CN CN201810954621.1A patent/CN109324725B/en active Active
Patent Citations (11)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN101288061A (en) * | 2005-04-19 | 2008-10-15 | 谷歌公司 | Method and system for activity based email sorting |
CN101316295A (en) * | 2008-07-14 | 2008-12-03 | 中兴通讯股份有限公司 | Interface updating method and apparatus for message application of mobile terminal |
CN104219060A (en) * | 2013-06-03 | 2014-12-17 | 华为技术有限公司 | A communication monitoring method, communication monitoring device and electronic apparatus |
CN104169855A (en) * | 2013-12-20 | 2014-11-26 | 华为终端有限公司 | Notification bar inforamiton management method and device |
CN104980450A (en) * | 2014-04-01 | 2015-10-14 | 阿里巴巴集团控股有限公司 | Message transmission method and system and message-oriented middleware |
CN103984468A (en) * | 2014-04-21 | 2014-08-13 | 联想(北京)有限公司 | Method and device for information processing |
US20170277860A1 (en) * | 2014-12-01 | 2017-09-28 | Beijing Choice Electronic Technology Co., Ltd. | Message Reminding Method and Message Reminding Device |
CN106020626A (en) * | 2016-05-16 | 2016-10-12 | 珠海市魅族科技有限公司 | Message notification management method, message notification management system and terminal |
CN107885561A (en) * | 2016-09-30 | 2018-04-06 | 阿里巴巴集团控股有限公司 | The method and device of message interface information is provided |
CN106487657A (en) * | 2016-10-18 | 2017-03-08 | 江西博瑞彤芸科技有限公司 | Applicative notifications and the method for the unified display of short message |
CN108228025A (en) * | 2017-12-18 | 2018-06-29 | 广东欧珀移动通信有限公司 | message display method, device, mobile terminal and storage medium |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266875A (en) * | 2019-04-29 | 2019-09-20 | 华为技术有限公司 | A kind of display methods and electronic equipment of prompt information |
CN110266875B (en) * | 2019-04-29 | 2020-12-15 | 华为技术有限公司 | Prompt message display method and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN109324725B (en) | 2021-07-09 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN104519485B (en) | Communication means, device and system between a kind of terminal | |
EP3015978A1 (en) | Gesture-based conversation processing method, apparatus, and terminal device | |
CN104298491B (en) | Message treatment method and device | |
CN104427074B (en) | A kind of methods, devices and systems for showing incoming information | |
CN104571787B (en) | A kind of message display method and communication terminal | |
CN104902531B (en) | Connect method, application authorization server, terminal and the router of network | |
CN105471704B (en) | A kind of method, apparatus and system for realizing more people's calls | |
CN104407804B (en) | Screenshotss method, apparatus and electronic equipment | |
CN106506674B (en) | Communication information synchronous method and device | |
CN107395858A (en) | A kind of reminding method of notification message, terminal and computer-readable recording medium | |
CN109361592A (en) | A kind of instant communication message processing method, device, equipment and storage medium | |
CN105871694B (en) | Instant messaging service processing method and processing device | |
CN106507482B (en) | A kind of network locating method and terminal device | |
CN103813127B (en) | A kind of video call method, terminal and system | |
CN106059894A (en) | Message processing method and message processing device | |
CN104216915A (en) | Webpage processing method, device and terminal equipment | |
CN106254910A (en) | A kind of method and apparatus recording image | |
CN107436758A (en) | The method for information display and mobile terminal of a kind of mobile terminal | |
CN106375179A (en) | Method and device for displaying instant communication message | |
CN107370670A (en) | Unread message extracts methods of exhibiting and device | |
CN104820546B (en) | Function information methods of exhibiting and device | |
CN108834132A (en) | A kind of data transmission method and equipment and related media production | |
CN106303605B (en) | A kind of methods, devices and systems to send a notification message | |
CN104660769B (en) | A kind of methods, devices and systems for adding associated person information | |
CN106332023A (en) | Unread information display method and device, and mobile 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 |