CN109324725B - Prompt message generation method, device, equipment and storage medium - Google Patents
Prompt message generation method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN109324725B CN109324725B CN201810954621.1A CN201810954621A CN109324725B CN 109324725 B CN109324725 B CN 109324725B CN 201810954621 A CN201810954621 A CN 201810954621A CN 109324725 B CN109324725 B CN 109324725B
- Authority
- CN
- China
- Prior art keywords
- window
- information
- instant message
- timestamp
- user
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
Images
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
Landscapes
- Engineering & Computer Science (AREA)
- General Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Human Computer Interaction (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- User Interface Of Digital Computer (AREA)
Abstract
The invention discloses a prompt message generation method, a prompt message generation device, prompt message generation equipment and a storage medium, wherein the method comprises the steps of recording a corresponding receiving moment as a first timestamp when an instant message is received; acquiring touch operation information of a user on a current window in a window list; when the touch operation information is successfully executed, recording the corresponding execution success moment as a second timestamp; calculating an interval duration between the second timestamp and the first timestamp; and generating related prompt information of the corresponding window when the interval duration is less than the preset duration. The invention can add the prompt information related to the corresponding window into the generated deletion information aiming at the deletion operation of the user on the window of the instant message, thereby ensuring the correctness of the deletion of the user information.
Description
Technical Field
The present invention relates to the field of mobile communications technologies, and in particular, to a method, an apparatus, a device, and a storage medium for generating a prompt message.
Background
A large number of existing social products are developed and applied to terminal equipment to help users to perform information interaction with acquaintances or strangers, so that communication and information sharing among the users become more convenient and efficient.
The chat windows on the interface of the social product are arranged in sequence, and the arrangement sequence of the chat windows is updated from time to time according to the receiving time of the instant messages. The user can delete the windows when the windows on the interface are too many or some windows are not reserved as necessary; generally, a user generates a deletion instruction on a terminal interface through touch control, and the deletion of a window is completed according to the selection and confirmation of the deletion instruction.
However, in the period before the user locates the target window to be deleted and the deletion instruction is generated, if a new instant message is received, the position of the target window may be changed; this may affect the user to delete the window object of the operation, and may cause the user to delete another window by mistake.
Disclosure of Invention
The invention provides a prompt message generation method, a device, equipment and a storage medium, and specifically comprises the following steps:
in one aspect, a method for generating hint information is provided, where the method includes:
when an instant message is received, recording a corresponding receiving moment as a first timestamp;
acquiring touch operation information of a user on a current window in a window list;
when the touch operation information is successfully executed, recording the corresponding execution success moment as a second timestamp;
calculating an interval duration between the second timestamp and the first timestamp;
and generating related prompt information of the corresponding window when the interval duration is less than the preset duration.
Another aspect provides a hint information generation apparatus, the apparatus comprising:
the first time stamp recording module is used for recording the corresponding receiving time as a first time stamp when the instant message is received;
the touch operation information acquisition module is used for acquiring touch operation information of a user on a current window in the window list;
the second time stamp recording module is used for recording the corresponding execution success time as a second time stamp when the touch operation information is successfully executed;
an interval duration calculation module, configured to calculate an interval duration between the second timestamp and the first timestamp;
and the related prompt information generation module is used for generating the related prompt information of the corresponding window when the interval duration is less than the preset duration.
In another aspect, an apparatus is provided, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the method for generating hint information according to the above aspect.
Another aspect provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement the hint information generation method as described in the above aspect.
The method, the device, the equipment and the storage medium for generating the prompt information have the following technical effects that:
when receiving the instant message, the invention records the corresponding receiving time as a first time stamp; acquiring touch operation information of a user on a current window in a window list, and recording a corresponding execution success moment as a second timestamp when the touch operation information is successfully executed; and further, when the interval duration of the second time stamp and the first time stamp is less than a preset duration, generating related prompt information of a corresponding window according to the touch operation information. The invention can add the prompt information related to the corresponding window into the generated deletion information aiming at the deletion operation of the user on the window of the instant message, thereby ensuring that the user can verify and confirm whether the currently operated window is the window which the user wants to delete, and further ensuring the correctness of the deletion of the interface information.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
FIG. 1 is a schematic diagram of an implementation environment provided by embodiments of the present disclosure;
fig. 2 is a flowchart of a prompt message generation method provided in an embodiment of the present specification;
FIG. 3 is a flowchart providing steps further included in receiving an instant message according to embodiments of the present description;
FIG. 4 is a flowchart of steps provided by an embodiment of the present specification to display the instant message in an update window;
FIG. 5 is a flowchart illustrating steps provided by embodiments of the present specification for displaying the instant message in a corresponding window according to the attribute information;
fig. 6 is a flowchart of steps provided by an embodiment of the present specification when the touch operation information is successfully executed;
fig. 7 is a flowchart of a step of generating related prompt information of a corresponding window according to the touch operation information according to an embodiment of the present specification;
FIG. 8 is a diagram of an example scenario provided by an embodiment of the present specification;
fig. 9 is a schematic structural diagram of a prompt information generating device provided in an embodiment of the present specification;
fig. 10 is a schematic diagram illustrating a second time stamp recording module provided in an embodiment of the present specification;
fig. 11 is a schematic diagram illustrating a first time stamp recording module provided in an embodiment of the present disclosure;
FIG. 12 is a schematic diagram of an instant message display unit according to an embodiment of the present disclosure;
fig. 13 is a schematic diagram illustrating an instant message display subunit provided in an embodiment of the present disclosure;
fig. 14 is a schematic diagram illustrating a related prompt information generation module provided in the embodiment of the present specification;
fig. 15 is a schematic structural diagram of a prompt information generation device provided in an embodiment of the present specification.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In the prior art, a user generally deletes chat interface window information of an instant messaging client on an Android operating system terminal: the method is completed through a series of operations of long press, popup window, selective deletion or long press, popup window, selective deletion, deletion confirmation, and has no characteristic prompt, and only uniform popup window deletion is performed when long press is deleted; however, if a new chat message is received during the generation of the deletion operation instruction, the position of the current window (the target window that the user wants to delete) may be changed, resulting in a problem of mistakenly deleting other chat windows. The user deletes the chat interface window information of the instant messaging client on the IOS operating system terminal, which generally comprises the following steps: by "slide left-delete" or "slide left-delete acknowledgement", the problem of choosing the wrong window may also arise if the message list is updated when the slide left is being prepared. It can be seen that, because there is no valid deletion prompt (only the "delete" and "cancel" options, no additional prompt), it is impossible to prompt the user well, and once the user does not find the position change of the target window or the operation inertia problem, the result of deleting the window by mistake may occur.
Therefore, the invention provides a technical scheme of deleting information prompt for an instant messaging window, which can help a user to avoid mistaken deletion of the window by generating prompt information related to the window (the window acted by a deleting instruction).
As shown in fig. 1, which shows a schematic diagram of an implementation environment in an instant messaging scenario; the implementation environment includes: a server 02, a terminal 01 and a terminal 03 which communicate information with the server 02. Both the terminal 01 and the terminal 03 can be a mobile phone, a tablet computer, a laptop portable acquirer, a PAD or a desktop acquirer, and the like. Both the terminal 01 and the terminal 03 operate a client, which may be an instant messaging client, or an application client of the same type, or the like; the instant messaging client can send and receive messages, that is, the instant messaging client in the terminal 01 can be used as a message sending client and a message receiving client; similarly, the instant messaging client in the terminal 03 can also be used as a message sending client or a message receiving client.
The client has an application program interface, and one or more interface elements composing the interface can be included in the application program interface, and specific interface elements include but are not limited to one or more of windows, dialog boxes, message boxes, status bars and the like. Also, the application interface may include an interface displayed in a terminal screen and an interface stored in the user terminal but not displayed in the terminal screen. The interface displayed on the terminal screen is called a display interface. The various interface elements within the interface may be collectively referred to as content information within the interface.
The server 02 may be a server, a server cluster composed of a plurality of servers, or a cloud acquisition service center. The server 02 establishes a communication connection with the terminal 01 through a network.
Specifically, an embodiment of the present specification provides a method for generating hint information, and as shown in fig. 2, the method may include:
s202, when the instant message is received, recording a corresponding receiving moment as a first time stamp;
when the receiving client receives a new instant message, the timestamp corresponding to the window list is updated, and the updated timestamp is referred to as a first timestamp in this embodiment; in which the client stores the first time stamp record.
It should be noted that, when the message receiver corresponding to the client receives a new instant message, the timestamp corresponding to the window list is updated once; i.e. the first timestamp records the time of receipt of the most recently received instant message, and is updated when a new message is received.
Specifically, when the instant message is received in step S202, as shown in fig. 3, the method may further include:
s202a, acquiring position information of all windows in the window list and attribute information of messages in the windows;
and S202b, displaying the instant message in an updating window according to the acquired position information and attribute information.
In detail, when a window list has a plurality of instant message windows, the client acquires the position sorting information of all windows; meanwhile, the client acquires the attribute information of the messages in all the windows and prepares for window matching when a new instant message is subsequently received; the attribute information includes identification information corresponding to a message in the window, the identification information including at least a window ID, and may further include an account number of the sender, a user nickname or avatar, or the like.
Further, in step S202b, displaying the instant message in an update window, as shown in fig. 4, may include:
s402, acquiring attribute information corresponding to the instant message;
s404, displaying the instant message in a corresponding window according to the attribute information.
When the receiving client receives a new instant message sent by a server, acquiring attribute information carried in the instant message; the attribute information includes identification information corresponding to the instant message, the identification information includes at least a window ID, and may further include an account number of the sender, a user nickname or avatar, or the like.
The receiving client matches the acquired attribute information with the attribute information of the messages in the window list; when the matching is successful, the instant message is loaded into a window where the corresponding message is located; and when the corresponding attribute information is not matched, generating a newly added window according to the attribute information corresponding to the instant message, and adding the newly added window into the window list. Correspondingly:
step S404 displays the instant message in a corresponding window according to the attribute information, as shown in fig. 5, which may include:
s602, when the attribute information of the instant message is consistent with the attribute information of the message in the current window, displaying the instant message in the current window;
generally, when there is no window with forced top in the window list, the updated current window is adjusted to the top of the window list. For example, three sequentially arranged original windows in the window list are a window a, a window B and a window C; the window B is a target window which the user wants to delete; if the window corresponding to the new instant message received by the receiving client from the server is also the window B, the position of the window B in the window list is updated; the order of the windows at this time becomes: window B, window A, window C.
S604, when the attribute information of the instant message is not consistent with the attribute information of the window message in the current window list, generating a new window according to the instant message, and adding the new window into the window list.
Generally, when there is no window with forced top in the window list, the newly added window will be added at the top of the window list. Specifically, if the window corresponding to the new instant message received by the receiving client from the server does not exist in the window list; generating a new window (for example, window D) according to the attribute information extracted from the new instant message, and displaying the window D on the top of the window list; at this time, the position sequence of the window B (the target window that the user wants to delete) changes, and the corresponding complete sequence becomes: window D, window A, window B, window C.
When the attribute information corresponding to the instant message is consistent with the attribute information of the message in another window, if the sequential position of the another window is located below the target window that the user wants to delete, the update in this case will also change the position of the target window.
It should be noted that, when the current window (the target window that the user wants to delete) receives a new message in step S602, and a new window for receiving the new message is added to the window list in step S604, and if other windows in the window list are located below the current window and receive a new message, the updated corresponding window will be adjusted to the top or the second top of the window list, in which case the position order of the current window (the target window that the user wants to delete) in the window list may be changed. If only the normal delete popup is popped up at this time, the user may not find the change of the window list order, and click "delete" due to the inertia operation, and a false delete operation may occur. If the user does not find the change of the deleting operation instruction in time, the problem of mistakenly deleting the window occurs; this is clearly contrary to the user's intent, severely impacting the user's experience.
S204, acquiring touch operation information of a user on a current window in the window list;
in this embodiment, a user executes touch operation information for a chat window on an interface of a receiving client, specifically, detection of a touch parameter of a touch operation of the client interface by the user.
The touch operation mode has diversity; it may be a long press operation, a left slide operation, or a double click operation, etc.
Taking a long-press operation as an example, if a user performs a long-press operation on the current window at the position of the current window, the touch parameter may be set as a duration of the long-press operation, or as the duration of the long-press operation and a pressure value of the long-press operation.
Taking the left-sliding operation as an example, if the user performs the left-sliding operation on the current window at the position of the current window, the touch parameter may be set as the amplitude of the left-sliding operation, or as the amplitude of the left-sliding operation and the pressure value of the left-sliding operation.
It should be noted that the window list in this embodiment may include one or more original windows. Moreover, the window in this embodiment may be a single chat window to which the current user and another user belong; or the group chat window of the current user and other multiple users; the window can also be a window corresponding to a public number concerned under the client, or a window of an open service number, and the like.
S206, when the touch operation information is successfully executed, recording the corresponding execution success time as a second timestamp;
specifically, the parameters of the touch operation information acquired by the client in step S204 are matched with preset parameters (preset deletion operation information) for representing deletion instruction information. Such as: if the touch parameter is the long-press operation duration and the long-press operation duration reaches the preset duration, the touch operation information is successfully executed, and at the moment, the receiving client records and stores the corresponding successful execution time.
Further, when the touch operation information is successfully executed in step S206, as shown in fig. 6, the method may further include:
s802, generating common prompt information according to the touch operation information;
s804, acquiring a selection instruction of the user for the common prompt information;
s806, when the selection instruction accords with a preset operation type, calculating the interval duration between the second timestamp and the first timestamp.
When the touch operation information is successfully executed, the receiving client responds to the touch operation information to generate common prompt information; the user can make a selection operation aiming at the common prompt message. Specifically, the common prompt information may be general deletion prompt information, and the user may perform a selection operation for the general deletion prompt information, and when the selection operation is a deletion instruction, the receiving client starts to enter the calculation step of the second timestamp and the first timestamp.
S208, calculating the interval duration between the second timestamp and the first timestamp;
and S210, generating related prompt information of the corresponding window when the interval duration is less than the preset duration.
Specifically, the first timestamp is a time corresponding to when the client receives a new instant message; the second timestamp is a corresponding time when the touch operation information obtained by the user through operation on the client is successfully executed, for example, a time when a long-time pressing operation or a left-sliding operation takes effect; the preset duration is a basis for judging a difference value between the moment of receiving the new instant message and the moment of successfully executing the touch operation information.
Further, when the calculated interval duration between the second time stamp and the first time stamp is shorter than the preset duration, it indicates that the receiving client responds to the touch operation information of the user in a shorter time (shorter than the preset duration) after receiving the new instant message; in this case, the position of the current window is changed due to the addition of a new instant message, and the window is deleted by mistake; in the embodiment, for the situation, prompt information related to a window on which the operation information is deleted is generated, and the obvious information prompt is given in such a way that the popup is deleted specially.
Preferably, the first time stamp and the second time stamp are recorded in the order of milliseconds or less (milliseconds-microseconds-nanoseconds-picoseconds), and the accuracy of the interval duration calculation is ensured by the accuracy of the time recording. For example, the second timestamp is 9 points, 10 minutes, 10 seconds(s) and 10 milliseconds (ms), the first timestamp is 9 points, 10 minutes, 9 seconds and 10 milliseconds, and the preset time length is 2 seconds; the interval duration is "10 seconds 10 milliseconds to 9 seconds 10 milliseconds to 1 second"; as can be seen, the interval duration of 1 second is less than the preset duration of 2 seconds; and the client generates the related prompt information of the corresponding window when detecting that the interval duration is less than the preset duration.
It should be noted that, if the client detects that the interval duration is longer than the preset duration, it indicates that the receiving client responds to the touch operation information of the user within a longer time (longer than the preset duration) after receiving the new instant message, and the window list is updated at this time; therefore, the object acted by the touch operation information of the user is the window which the user wants to delete, and the problem that the touch operation of the user acts on other windows due to the updating of the window sequence does not occur. Therefore, at this time, the ordinary deletion popup is generated based on the touch operation information of the user, and the user can correctly complete the deletion of the window information by selecting the 'delete' option on the ordinary deletion popup.
For example, the second timestamp is 9 points, 10 minutes, 12 seconds(s) and 10 milliseconds (ms), the first timestamp is 9 points, 10 minutes, 9 seconds and 10 milliseconds, and the preset time length is 2 seconds; the interval duration is "12 seconds 10 milliseconds to 9 seconds 10 milliseconds to 3 seconds"; as can be seen, the interval duration of 3 seconds is longer than the preset duration of 2 seconds; the common deletion popup is generated based on the deletion operation of the user, and the special deletion popup in the specification is not required to be output and displayed, so that the burden of the corresponding client can be reduced compared with the mode that the special deletion popup is output under all conditions, and the data processing efficiency is improved.
Specifically, step S210 generates the related prompt information of the corresponding window according to the touch operation information, as shown in fig. 7, the method may include:
s1002, acquiring attribute information of a message in a corresponding window;
s1004, acquiring preset parameters, wherein the preset parameters comprise background parameters and/or character parameters;
and S1006, generating related prompt information of the corresponding window according to the preset parameters and the attribute information.
The attribute information of the message in the corresponding window comprises identification information corresponding to the message in the window, wherein the identification information at least comprises a window ID, and the identification information can further comprise an account number of a sender, a user nickname or a head portrait and the like. When the identification information includes the account of the sender, account information that is remarked on the client of the user of the receiving client is preferably used.
Further, acquiring preset parameters for presenting the special deleted popup content information; the background parameter is the background color of the pop-up window, and the character parameter is the template, the character color, the character size and the like of the display content in the pop-up window. For example, the background color is "gray", and the template of the display content is "determine to delete the chat with' XXX? ", the character color is" blue ", and the character size is" four small ".
Examples are given by way of illustration: when a user wants to delete a chat window with a minibar (account number or nickname information of the user), and it is detected that the interval duration between the second timestamp and the first timestamp is less than the preset duration, a special deletion popup is popped up on a client interface, and the presentation of the special deletion popup includes a gray popup background and a content of "determining to delete the chat with the minibar? "the information and font are four small blue fonts; by means of the content information and color warning, the current user can clearly know which window information is to be deleted. The display in a particular scenario may be in the form of a pop-up window as shown in fig. 8.
Further, the method further comprises:
s212, acquiring a selection operation instruction of the user for the related prompt information, and processing a corresponding touch window according to the selection operation instruction.
Specifically, after the special deletion popup is displayed on the client interface, the user performs a selection operation of "cancel" or "confirm" to process the corresponding window for touch control according to the verification and confirmation of the content information in the special deletion popup; so as to avoid the occurrence of window information mistakenly deleted by the user.
In this embodiment, the client can add prompt information (special delete popup window) related to the corresponding window to the delete operation performed by the user on the window of the instant message in the generated delete instruction, so that the user can verify and confirm whether the currently operated window is the window that the user needs to delete, thereby ensuring the correctness of user information deletion; and can give further reminding through the display form of the background parameter and/or character parameter, guarantee users to check and see whether the window to be deleted is the window that wants to delete effectively; therefore, the use experience and the feeling of the user are improved, and the user viscosity of the corresponding client is improved.
An embodiment of the present specification provides a prompt information generating apparatus, and as shown in fig. 9, the apparatus may include:
a first timestamp recording module 202, configured to record, when the instant message is received, a corresponding receiving time as a first timestamp;
a touch operation information obtaining module 204, configured to obtain touch operation information of a current window in the window list from a user;
a second timestamp recording module 206, configured to record, when the touch operation information is successfully executed, a corresponding execution success time as a second timestamp;
an interval duration calculation module 208, configured to calculate an interval duration between the second timestamp and the first timestamp;
and a related prompt information generating module 210, configured to generate related prompt information of the corresponding window when the interval duration is less than a preset duration.
As a specific implementation, the second timestamp recording module 206, as shown in fig. 10, may include:
a common prompt information generating unit 402, configured to generate common prompt information according to the touch operation information;
a selection instruction obtaining unit 404, configured to obtain a selection instruction of the user for the common prompt information;
an interval duration pre-calculating unit 406, configured to perform interval duration calculation between the second timestamp and the first timestamp when the selection instruction conforms to a preset operation type.
As a specific implementation manner, the first timestamp recording module 202, as shown in fig. 11, may include:
an information obtaining unit 202a, configured to obtain position information of all windows in the window list and attribute information of messages in the windows;
and the instant message display unit 202b is configured to display the instant message in an update window according to the acquired location information and attribute information.
Further, the instant message display unit 202b, as shown in fig. 12, may include:
an attribute information obtaining subunit 602, configured to obtain attribute information corresponding to the instant message;
an instant message display subunit 604, configured to display the instant message in a corresponding window according to the attribute information.
As a possible implementation, the instant message display subunit 604, as shown in fig. 13, may include:
a first display subunit 802, configured to display the instant message in the current window when the attribute information of the instant message is consistent with the attribute information of the message in the current window;
and the second display subunit 804, when the attribute information of the instant message is not consistent with the attribute information of the window message in the current window list, generates a new window according to the instant message, and adds the new window to the window list.
As a specific implementation manner, the related prompt information generating module 208, as shown in fig. 14, may include:
a corresponding window attribute information obtaining unit 1002, configured to obtain attribute information of a message in a corresponding window;
a preset parameter obtaining unit 1004, configured to obtain preset parameters, where the preset parameters include a background parameter and/or a character parameter;
a related prompt information generating unit 1006, configured to generate related prompt information of a corresponding window according to the preset parameter and the attribute information.
Further, the apparatus may further include:
and the window processing module 212 is configured to acquire a selection operation instruction of the user for the relevant prompt information, and process the corresponding touch window according to the selection operation instruction.
It should be noted that the embodiment of the apparatus described in this embodiment has the same inventive concept as the embodiment of the method described above.
The present specification provides an apparatus, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the hint information generation method according to the foregoing embodiment.
Specifically, an embodiment of the present specification further provides a schematic structural diagram of a prompt information generating device, as shown in fig. 15, the device may be configured to implement the prompt information generating method provided in the foregoing method embodiment. Specifically, the method comprises the following steps:
the device may include RF (Radio Frequency) circuitry 1210, memory 1220 including one or more computer-readable storage media, input unit 1230, display unit 1240, sensors 1250, audio circuitry 1260, WiFi (wireless fidelity) module 1270, processor 1280 including one or more processing cores, and power supply 1290. Those skilled in the art will appreciate that the configuration of the apparatus shown in fig. 15 is not intended to be limiting and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
the RF circuit 1210 is configured to receive and transmit signals during a message transmission or communication process, and in particular, receive downlink information of a base station and then send the received downlink information to one or more processors 1280 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuit 1210 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (Low noise amplifier), a duplexer, and the like. In addition, the RF circuit 1210 may also communicate with networks and other devices via wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for Mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division Multiple Access), WCDMA (Wideband Code Division Multiple Access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), and the like.
The memory 1220 may be used to store software programs and modules, and the processor 1280 executes various functional applications and data processing by operating the software programs and modules stored in the memory 1220. The memory 1220 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory 1220 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device. Accordingly, the memory 1220 may also include a memory controller to provide the processor 1280 and the input unit 1230 access to the memory 1220.
The input unit 1230 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control. In particular, the input unit 1230 may include a touch-sensitive surface 1231 and other input devices 1232. The touch-sensitive surface 1231, also referred to as a touch display screen or a touch pad, may collect touch operations by a user on or near the touch-sensitive surface 1231 (e.g., operations by a user on or near the touch-sensitive surface 1231 using a finger, a stylus, or any other suitable object or attachment), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch-sensitive surface 1231 may comprise both touch detection means and touch controller portions. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, and sends the touch point coordinates to the processor 1280, and can receive and execute commands sent by the processor 1280. Additionally, the touch-sensitive surface 1231 can be implemented in a variety of types, including resistive, capacitive, infrared, and surface acoustic wave. The input unit 1230 may include other input devices 1232 in addition to the touch-sensitive surface 1231. In particular, other input devices 1232 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 1240 may be used to display information input by or provided to the user as well as various graphical user interfaces of the device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 1240 may include a Display panel 1241, and optionally, the Display panel 1241 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, touch-sensitive surface 1231 may overlay display panel 1241, and when touch-sensitive surface 1231 detects a touch operation thereon or thereabout, processor 1280 may determine the type of touch event, and processor 1280 may then provide a corresponding visual output on display panel 1241 based on the type of touch event. Touch-sensitive surface 1231 and display panel 1241 may be implemented as two separate components for input and output functions, although touch-sensitive surface 1231 may be integrated with display panel 1241 for input and output functions in some embodiments.
The device may also include at least one sensor 1250, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 1241 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1241 and/or the backlight when the device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the device is stationary, and can be used for applications of recognizing the device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured to the device, detailed description is omitted here.
WiFi belongs to short-range wireless transmission technology, and the device can help the user send and receive e-mail, browse web pages, access streaming media, etc. through the WiFi module 1270, which provides the user with wireless broadband internet access. Although fig. 15 shows the WiFi module 1270, it is understood that it does not belong to the essential constitution of the device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 1280 is a control center of the apparatus, connects various parts of the entire apparatus using various interfaces and lines, performs various functions of the apparatus and processes data by running or executing software programs and/or modules stored in the memory 1220 and calling data stored in the memory 1220, thereby monitoring the entire apparatus. Optionally, processor 1280 may include one or more processing cores; preferably, the processor 1280 may integrate an application processor, which mainly handles operating systems, user interfaces, application programs, etc., and a modem processor, which mainly handles wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 1280.
The device also includes a power supply 1290 (e.g., a battery) for powering the various components, which may preferably be logically coupled to the processor 1280 via a power management system configured to manage charging, discharging, and power consumption. Power supply 1290 may also include any component or components of one or more dc or ac power sources, recharging systems, power failure detection circuitry, power converters or inverters, power status indicators, and the like.
Although not shown, the device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the apparatus is a touch screen display, the apparatus further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors according to the instructions of the method embodiments of the present invention.
The present specification provides a computer readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the hint information generation method according to the above-mentioned embodiment.
Optionally, in this embodiment, the storage medium may be located in at least one network device of a plurality of network devices of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
It should be noted that: the sequence of the embodiments in this specification is merely for description, and does not represent the advantages or disadvantages of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.
Claims (10)
1. A method for generating prompt information is characterized in that the method comprises the following steps:
when an instant message is received, recording a corresponding receiving moment as a first timestamp; when a new instant message is received, the timestamp corresponding to the window list is updated;
acquiring touch operation information of a user on a current window in the window list;
when the touch operation information is successfully executed, recording the corresponding execution success moment as a second timestamp; when the touch operation information is successfully executed, recording a corresponding execution success time as a second timestamp includes: matching the parameters of the touch operation information with preset deleting operation information;
calculating an interval duration between the second timestamp and the first timestamp;
when the interval duration is less than the preset duration, generating related prompt information of a corresponding window; and if the interval duration is longer than the preset duration, the window list at the moment is updated completely.
2. The method for generating prompt information according to claim 1, wherein when the touch operation information is successfully executed, the method further comprises:
generating common prompt information according to the touch operation information;
acquiring a selection instruction of the user for the common prompt information;
and when the selection instruction conforms to a preset operation type, calculating the interval duration between the second timestamp and the first timestamp.
3. The method for generating prompt information according to claim 1, wherein the method further comprises, when receiving an instant message:
acquiring the position information of all windows in the window list and the attribute information of the messages in the windows;
and displaying the instant message in an updating window according to the acquired position information and attribute information.
4. The method of claim 3, wherein the displaying the instant message in an update window comprises:
acquiring attribute information corresponding to the instant message;
and displaying the instant message in a corresponding window according to the attribute information.
5. The method for generating prompt information according to claim 4, wherein the displaying the instant message in a corresponding window according to the attribute information comprises:
when the attribute information of the instant message is consistent with the attribute information of the message in the current window, displaying the instant message in the current window;
and when the attribute information of the instant message is not consistent with the attribute information of the window message in the current window list, generating a new window according to the instant message, and adding the new window into the window list.
6. The method for generating prompt information according to claim 1, wherein the generating of the prompt information associated with the window includes:
acquiring attribute information of a message in a corresponding window;
acquiring preset parameters, wherein the preset parameters comprise background parameters and/or character parameters;
and generating related prompt information of the corresponding window according to the preset parameters and the attribute information.
7. The method of claim 1, further comprising:
and acquiring a selection operation instruction of the user on the related prompt information, and processing a corresponding touch window according to the selection operation instruction.
8. An apparatus for generating hint information, the apparatus comprising:
the first time stamp recording module is used for recording the corresponding receiving time as a first time stamp when the instant message is received; when a new instant message is received, the timestamp corresponding to the window list is updated;
the touch operation information acquisition module is used for acquiring touch operation information of a user on a current window in the window list;
the second time stamp recording module is used for recording the corresponding execution success time as a second time stamp when the touch operation information is successfully executed;
the touch control operation information acquisition module is also used for matching parameters of the touch control operation information with preset deletion operation information;
an interval duration calculation module, configured to calculate an interval duration between the second timestamp and the first timestamp;
the related prompt information generation module is used for generating related prompt information corresponding to the window when the interval duration is less than the preset duration; and if the interval duration is longer than the preset duration, the window list at the moment is updated completely.
9. An electronic device, characterized in that the device comprises a processor and a memory in which at least one instruction, at least one program, a set of codes or a set of instructions is stored, which is loaded and executed by the processor to implement the hint information generation method as claimed in any one of claims 1 to 7.
10. A computer-readable storage medium, having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the hint information generation method as claimed in any one of claims 1 to 7.
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 CN109324725A (en) | 2019-02-12 |
CN109324725B true 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) |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110266875B (en) * | 2019-04-29 | 2020-12-15 | 华为技术有限公司 | Prompt message display method and electronic equipment |
Citations (10)
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 |
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 |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105721662B (en) * | 2014-12-01 | 2023-02-17 | 北京超思电子技术有限责任公司 | Message reminding method and message reminding device |
-
2018
- 2018-08-21 CN CN201810954621.1A patent/CN109324725B/en active Active
Patent Citations (10)
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 |
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 |
Also Published As
Publication number | Publication date |
---|---|
CN109324725A (en) | 2019-02-12 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109361592B (en) | Instant communication message processing method, device, equipment and storage medium | |
CN108024019B (en) | Message display method and device | |
CN106059894B (en) | Message processing method and device | |
CN106973330B (en) | Screen live broadcasting method, device and system | |
CN104965641B (en) | information display method and device | |
CN108156329A (en) | Method, mobile terminal and the computer readable storage medium that message is sent | |
CN106371964B (en) | Method and device for prompting message | |
CN106775194B (en) | Application interface switching method and device | |
CN108958606B (en) | Split screen display method and device, storage medium and electronic equipment | |
EP3249857B1 (en) | Chat history display method and apparatus | |
CN105207880B (en) | Group recommending method and device | |
CN109388456B (en) | Head portrait selection method and mobile terminal | |
CN109166164B (en) | Expression picture generation method and terminal | |
CN110087149A (en) | A kind of video image sharing method, device and mobile terminal | |
CN109495638B (en) | Information display method and terminal | |
CN107743108B (en) | Method and device for identifying medium access control address | |
CN108600079B (en) | Chat record display method and mobile terminal | |
CN115017340A (en) | Multimedia resource generation method and device, electronic equipment and storage medium | |
CN110597973B (en) | Man-machine conversation method, device, terminal equipment and readable storage medium | |
CN109728918B (en) | Virtual article transmission method, virtual article reception method, device, and storage medium | |
CN107193453A (en) | Contact person's mask method and device | |
CN109324725B (en) | Prompt message generation method, device, equipment and storage medium | |
CN111666498A (en) | Friend recommendation method based on interactive information, related device and storage medium | |
CN109274814B (en) | Message prompting method and device and terminal equipment | |
US10419816B2 (en) | Video-based check-in method, terminal, server and system |
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 |