CN106708354B - Instant messaging method and client - Google Patents

Instant messaging method and client Download PDF

Info

Publication number
CN106708354B
CN106708354B CN201510783642.8A CN201510783642A CN106708354B CN 106708354 B CN106708354 B CN 106708354B CN 201510783642 A CN201510783642 A CN 201510783642A CN 106708354 B CN106708354 B CN 106708354B
Authority
CN
China
Prior art keywords
message
preset information
information type
instant messaging
preset
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
Application number
CN201510783642.8A
Other languages
Chinese (zh)
Other versions
CN106708354A (en
Inventor
甘浩
马洁浩
邹孟睿
高俊华
王若斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Nail holding (Cayman) Limited
Original Assignee
Nail Holding Cayman Co ltd
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by Nail Holding Cayman Co ltd filed Critical Nail Holding Cayman Co ltd
Priority to CN201510783642.8A priority Critical patent/CN106708354B/en
Publication of CN106708354A publication Critical patent/CN106708354A/en
Application granted granted Critical
Publication of CN106708354B publication Critical patent/CN106708354B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0481Interaction 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input 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/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/048Interaction techniques based on graphical user interfaces [GUI]
    • G06F3/0484Interaction techniques based on graphical user interfaces [GUI] for the control of specific functions or operations, e.g. selecting or manipulating an object, an image or a displayed text element, setting a parameter value or selecting a range
    • G06F3/04842Selection of displayed objects or displayed text elements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]
    • H04L51/043Real-time or near real-time messaging, e.g. instant messaging [IM] using or handling presence information

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)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The application discloses an instant messaging method and a client. The method comprises the following steps: receiving an input instant messaging message through an input box of a conversation window; reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type; sending the instant communication message, wherein the instant communication message is attached with the current value of the preset information type identifier; when the preset information type identification is the first value, displaying preset information in a display frame of the session window; and when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window. The instant messaging method and the client are convenient for user operation and improve physical examination of the user.

Description

Instant messaging method and client
Technical Field
The present application relates to the field of data communication technologies, and in particular, to an instant messaging method and a client.
Background
Instant Messaging (IM) technology enables online real-time communication, and is increasingly used in entertainment chat and electronic commerce. The instant messaging technology generally realizes online real-time interaction of a user through a client, and the user can send a message to a client of another user through the client and can also read the message sent from other clients through the client.
At present, users of instant messaging pay more and more attention to the problem of personal privacy security. In some cases, on one hand, a user wants to share private information such as certain characters, pictures and videos with friends, but does not want the friends to store or spread the private information, so that a burn-after-read technology is brought forth to solve the problem. The technology of burning after reading refers to that after a sender sends certain information to a receiver, the receiver user presses an icon or a list of the information with one finger, the content of the information is presented on a screen, and the information is automatically burnt within a limited time after presentation.
That is, the information inputted in the existing burn-after-reading mode is permanently deleted within a short time, for example, 10 seconds, after the receiver reads the information. However, when the user performs instant messaging in the burn after reading mode, sometimes a small amount of messages that need to be recorded by both parties need to be sent. For example, in the burn after reading mode, the user needs to send a certain general message with specific time and place, and the general message cannot be deleted after reading. The existing processing mode needs that a user firstly exits a current session window of burning after reading, then enters a session window of a common mode of not burning after reading, and then can perform subsequent operations such as input, transmission and the like. When the user finishes sending the common message, the user needs to exit the conversation window in the current common mode and change to enter the conversation window in the burn-after-reading mode.
As can be seen from the above description, in the existing instant messaging software, it is cumbersome to switch between different message modes.
Disclosure of Invention
The embodiment of the application provides an instant messaging method and a client side which are convenient to operate.
To solve the above technical problem, the present application provides an instant messaging method, which includes: receiving an input instant messaging message through an input box of a conversation window; reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type; sending the instant communication message, wherein the instant communication message is attached with the current value of the preset information type identifier; when the preset information type identification is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; the preset information shows that the corresponding instant messaging message is of the first information type.
The present application further provides a client, comprising: the receiving module is used for receiving the input instant messaging message through an input frame of the conversation window; the reading module is used for reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type; a sending module, configured to send the instant messaging message, where the instant messaging message is accompanied by the current value of the preset information type identifier; the display module is used for displaying the instant communication message in a display frame of the conversation window when the preset information type identifier is the second value; when the preset information type identification is the first value, displaying preset information in a display frame of the session window; the preset information shows that the corresponding instant messaging message is of the first information type.
The present application further provides a client, comprising: the device comprises a communication module, a display and a processor; wherein the processor is capable of receiving an input instant messaging message through an input box of a conversation window; reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type; controlling the communication module to send the instant communication message, wherein the instant communication message is attached with the current value of the preset information type identifier; when the preset information type identifier is the first value, controlling the display to display preset information in a display frame of the conversation window; when the preset information type identifier is the second value, controlling the display to display the instant messaging message in a display frame of the conversation window; the preset information shows that the corresponding instant messaging message is of the first information type.
The present application further provides an instant messaging method, which includes: receiving an instant communication message; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type; when the current value of the preset information type identifier of the instant communication message is the first value, displaying preset information in a session window, wherein the preset information indicates that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, displaying the instant communication message in the session window; and displaying the instant messaging message of the first information type and the preset information of the second information type in the same conversation window.
The present application further provides a client, comprising: the receiving module is used for receiving the instant communication message; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type; the display module is used for displaying preset information in a session window when the current value of the preset information type identifier of the instant communication message is the first value, wherein the preset information indicates that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, displaying the instant communication message in the session window; and displaying the instant messaging message of the first information type and the preset information of the second information type in the same conversation window.
The present application further provides a client, comprising: the communication module can receive instant communication messages; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type; the processor can control the display to display preset information in a session window when the current value of the preset information type identifier of the instant communication message is the first value, wherein the preset information represents that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, controlling the display to display the instant communication message in the conversation window; and displaying the instant messaging message of the first information type and the preset information of the second information type in the same conversation window.
According to the instant messaging method and the client described in the above embodiments of the present application, by reading the current value of the preset information type identifier, the information type of the current instant messaging message can be determined according to the current value of the preset information type identifier, so that the instant messaging message can be differentially displayed according to the current value in the display frame of the session window. If the preset information type identifier is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; and furthermore, different types of instant messaging messages can be switched according to user requirements in the same session window, so that the user operation is simplified, and the user experience is improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings needed to be used in the description of the embodiments or the prior art will be briefly introduced below, it is obvious that the drawings in the following description are only some embodiments described in the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a flowchart of an instant messaging method according to an embodiment of the present application;
FIG. 2 is a diagram illustrating a session window of a client according to an embodiment of the present application;
FIG. 3 is a diagram illustrating a session window of a client according to an embodiment of the present application;
fig. 4 is a flowchart of an instant messaging method according to an embodiment of the present application;
FIG. 5 is a diagram illustrating a session window of a client according to an embodiment of the present application;
FIG. 6 is a diagram illustrating a session window of a client according to an embodiment of the present application;
FIG. 7 is a block diagram of a client provided in one embodiment of the present application;
FIG. 8 is a block diagram of a client provided in one embodiment of the present application;
fig. 9 is a flowchart of an instant messaging method according to an embodiment of the present application;
fig. 10 is a flowchart of an instant messaging method according to an embodiment of the present application;
FIG. 11 is a block diagram of a client provided in one embodiment of the present application;
fig. 12 is a block diagram of a client according to an embodiment of the present application.
Detailed Description
In order to make those skilled in the art better understand the technical solutions in the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all of the embodiments. All other embodiments obtained by a person of ordinary skill in the art without any inventive work based on the embodiments in the present application shall fall within the scope of protection of the present application.
Please refer to fig. 1. One embodiment of the present application provides an instant messaging method that may include the following steps.
Step S10: and receiving the input instant messaging message through the input box of the conversation window.
In this embodiment, the clients can perform instant messaging and receive and send instant messaging messages. The client may be a communication device with a network communication function, such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart wearable device, and the like. Of course, the client may also be software running in the communication device described above. The client may be used by a user to send out instant messaging messages.
In this embodiment, the specific content of the instant messaging message may include text, voice, picture or file. Of course, the content of the instant messaging message is not limited to the above list. In a specific embodiment, referring to fig. 2, an input box 2 may be disposed in the conversation window 1 for receiving an instant messaging message input by a user. When the input box 2 of the conversation window 1 receives the user, it can indicate that the user is editing the instant messaging message through the client. In addition, a touch keyboard 3 may be displayed in the conversation window 1, so that a user can conveniently input text through the touch keyboard 3.
In this embodiment, an identity of a message recipient may also be displayed in the session window. The identity may be used to uniquely identify a user. Specifically, the identity may be a user-defined name, a user communication number, an account registered by the user in the instant messaging message software, or the like.
Step S12: reading the current value of the preset information type identifier; the preset information type identification comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type.
In this embodiment, the preset information type may include: a first information type and a second information type. Specifically, the first information type may indicate that the current instant messaging message is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection, and may not be displayed in a session window subsequently. The second information type may indicate that the instant messaging message is a message with low privacy protection requirements or low security protection but is convenient for the user to read and record, and then the instant messaging message may be directly displayed in a conversation window.
In this embodiment, the preset information type corresponds to a preset information type identifier. The preset information type identification is used for representing the specific information type of the current instant messaging message. The preset information type identifier may include a first value and a second value. The first value corresponds to the first information type, and when the preset information type identifier is the first value, the instant messaging message which is required to be sent by the user at present is represented as a message with higher privacy protection requirement or higher security protection requirement. And the second value corresponds to the second information type, and when the preset information type identifier is the second value, the instant messaging message which is required to be sent by the user currently is a message which has lower privacy protection requirement or lower security protection but is convenient for the user to read and record.
In this embodiment, whether the current value is the first value or the second value is determined by reading the current value of the preset information type identifier. Further, the specific information type of the current instant messaging message can be determined according to the specific value of the current value.
Specifically, the reading mode may be that a switch button is disposed at a predetermined position of the session window. For example, when the switch button is in a first state of being turned ON, and the current value of the preset information type identifier is a first value ON, the message type of the corresponding instant messaging message is a first information type. And when the switch button is in an OFF state and the current value of the preset information type identifier is a second value OFF, the message type of the corresponding instant communication message is a second information type. When the instant messaging message receiving method is used, the client can determine the current value of the preset message type identifier by recording the original state of the switch button and receiving the clicked state of the switch button, so that the specific message type of the instant messaging message is determined.
Of course, the values of the type of the instant messaging message and the type identifier of the preset information are not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
Step S14: and sending the instant communication message, wherein the instant communication message is attached with the current value of the preset information type identifier.
In this embodiment, the manner of sending the instant messaging message may be triggered by an event that the user clicks a predetermined button, may be automatically sent after a predetermined time period that the input is stopped in the input box is detected, and the like. Of course, the manner of sending the instant messaging message is not limited to the above list.
Specifically, referring to fig. 2, a sending button 4 may be disposed at a predetermined position of the conversation window 1, and when the user clicks the speaking sound sending button 4, the client correspondingly receives the trigger signal and sends the instant messaging message in the input box 2 to a predetermined message receiver. The predetermined message receiver may be a client corresponding to the "floret" displayed in the conversation window 1.
In this embodiment, the current value of the preset information type identifier may be a first value or a second value. The client can determine the message type of the corresponding instant communication message according to the current value. When the instant messaging message is accompanied by the current value of the preset information type identifier, the message type of the instant messaging message can be sent to the client of the corresponding message receiver along with the current instant messaging message. Further, the client of the message receiver can perform distinguishing operation according to the message type of the currently received instant messaging message.
Step S16: when the preset information type identification is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; the preset information shows that the corresponding instant messaging message is of the first information type.
In this embodiment, the preset information may be one or more combinations of pictures, character strings, voices and videos, which are pre-stored in the memory. The preset information may also be in other specific forms, and the present application is not limited in particular herein.
In this embodiment, when the preset information type identifier is the first value, it may be indicated that the message type of the current instant messaging message is the first information type. At this time, the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but is displayed by replacing the content of the instant messaging message with preset information in the conversation window. Before the message receiver does not read, the message sender can click the preset information if necessary to check the specific content of the corresponding instant messaging message.
In this embodiment, when the preset information type identifier is the second value, it may be indicated that the message type of the current instant messaging message is the second information type. At this time, the instant messaging message which the user currently needs to send is a message which has low privacy protection requirements or low security protection but is convenient for the user to read and record. In many cases, the message may contain the content recorded by both parties that need instant messaging, such as specific time, place, etc. Therefore, the instant communication message can be directly displayed in the conversation window so as to be convenient for the user to view.
In this embodiment, when the preset information is displayed in the session window, it may indicate that the message type of the instant messaging message corresponding to the preset information is the first information type, that is, the instant messaging message that the user currently needs to send is a message with a higher privacy protection requirement or a higher security protection requirement. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but the preset information is used for replacing the content of the instant messaging message in the conversation window to display. In addition, after the message receiver opens the reading, the instant messaging message can be deleted within a preset time, so that the instant messaging message record is prevented from being browsed by other people, and the privacy is prevented from being revealed.
According to the embodiment of the application, the information type of the current instant messaging message can be determined according to the current value of the preset information type identifier by reading the current value of the preset information type identifier, so that the instant messaging message can be displayed in a display frame of a session window in a distinguishing manner according to the current value. If the preset information type identifier is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; and furthermore, different types of instant messaging messages can be switched according to user requirements in the same session window, so that the user operation is simplified, and the user experience is improved.
In one embodiment, a type switching flag is provided in the session window, and the method may further include: and when the type switching mark is clicked, changing the current value of the preset information type identifier, so that the current value of the preset information type identifier is replaced between the first value and the second value.
In this embodiment, a type switching flag may be set in the session window. The current value of the preset information type can be determined by the clicked state of the type switching mark. When the type switching mark is clicked, the current value of the preset information type identifier can be switched, and the switching process includes changing from a first value to a second value and changing from the second value to the first value.
In this embodiment, the manner in which the type switch icon 5 is clicked includes: circular clicks, single and double clicks, tap and double click, etc. The type switching flag may include a first state and a second state. Specifically, referring to fig. 3, for example, the first state of the type switching flag 5 may correspond to a record 1 at the client; the second state may be recorded as 0. When the clicked manner is a circular click, for example, when the type switching flag 5 is in the first state, and the type switching flag is clicked once, it may be converted into the second state. Correspondingly, when the type switching flag 5 is in the first state, the current value of the preset information type identifier may be the first value. The specific first value may correspond to or be the same as the value recorded in the first state, and is also 1, for example. When the type switching flag 5 is converted into the second state, the current value thereof may be the second value. Specifically, the second value may correspond to or be the same as the value recorded in the second state, for example, 0. When the type switching mark 5 is clicked again and then is converted from the second state to the first state, correspondingly, the current value of the preset information type identifier is also converted from the second value to the first value.
In a specific embodiment, when the type switching mark is clicked in a single-click or double-click manner, and when the type switching mark is clicked, the current value of the preset information type identifier corresponding to the type switching mark may be a first value; when the type switching flag is double-clicked, the current value of the preset information type identifier corresponding to the type switching flag may be a second value.
In another specific embodiment, the manner in which the type switching flag is clicked may include a tap and a re-press. When the type switching mark is tapped, the current value of the preset information type identifier corresponding to the type switching mark can be a first value; when the type switching flag is pressed again, the current value of the preset information type identifier corresponding to the type switching flag may be a second value.
Of course, the manner in which the type switching flag is clicked is not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
In one embodiment, the method may further comprise: displaying a type switching mark at a predetermined position of the conversation window after the input box of the conversation window obtains focus or the input box receives input.
In this embodiment, the controller may be configured with a control to continuously detect whether an input is made at the input box position of the conversation window. When an input is detected, the control can obtain focus accordingly. After the control obtains focus or the input box receives input, the user is indicated to have the requirement of editing the instant communication message. At this time, a type switching flag may be displayed at a predetermined position of the session window. The user can change the current value of the preset information type identification by clicking the type switching mark according to actual needs, and further select the specific information type sent by the instant messaging message.
Referring to fig. 4, in an embodiment, the reading of the current value of the preset information type identifier may include the following steps.
Step S120: and acquiring the clicked times of the type switching mark.
Step S122: and determining the current value of the preset information type identifier according to the preset property of the clicked times.
Step S124: when the current value is a first value, the type switching mark is correspondingly displayed as a first preset icon; and when the current value is a second value, the type switching mark is correspondingly displayed as a second preset icon.
In this embodiment, the client may be provided with a counter, and the number of times the type switching flag is clicked is obtained through a counting function of the counter. And then, the current value of the preset information type identifier can be determined according to the property of the clicked times.
In a particular embodiment, the predetermined property may be a parity of the number of clicks. For example, when the type switching flag is clicked an odd number of times, the current value of the preset information type identifier is a first value; and when the type switching mark is clicked for an even number of times, the current value of the preset information type identifier is a second value.
In a specific embodiment, the predetermined property may be that the number of clicks is a single click or a double click. When the type switching mark is clicked, the current value of the preset information type identifier can be a first value; when the type switching flag is double-clicked, the current value of the preset information type identifier may be a second value.
Of course, the predetermined property is not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
In this embodiment, when the current value is the first value, the type switching flag is correspondingly displayed as a first predetermined icon to indicate that the corresponding instant messaging message type is the first information type. And when the current value is a second value, the type switching mark is correspondingly displayed as a second preset icon to indicate that the corresponding instant communication message type is a second information type. The first predetermined icon is different from the second predetermined icon. The different first predetermined icon and the second predetermined icon can be used for prompting the user to specify what the type of information corresponding to the instant messaging message currently input by the user is.
Specifically, referring to fig. 5, the first predetermined icon is that a 1 may be displayed at the location where the type switching mark is located, which indicates that the current value of the preset information type identifier is the first value, and the corresponding instant messaging message type is the first information type. Referring to fig. 6, the second predetermined icon is that a 0 may be displayed at the position of the type switching mark, which indicates that the current value of the preset information type identifier is the second value, and the corresponding instant messaging message type is the second information type. Of course, the specific first predetermined icon and the specific second predetermined icon may have various design manners, and the application is not limited in this respect.
In one embodiment, the method may further comprise: and displaying a current preset information type prompt corresponding to the current value at a preset position of the session window.
In this embodiment, the current preset information type prompt may include a first information type prompt and a second information type prompt. Specifically, the current information type prompt may determine which information type prompt is specifically displayed at a predetermined position of the session window according to a current value.
Specifically, referring to fig. 5, when the current value is the first value, a first information type prompt may be displayed at a predetermined position of the session window. Specifically, for example, the first information type prompt may be "burn after reading". When the conversation window displays 'burn after reading', the currently input instant messaging message is of a first information type, and the requirement on privacy protection or the requirement on security protection of the instant messaging message is high. Referring to fig. 6, when the current value is the second value, a second information type prompt may be displayed at a predetermined position of the session window. Specifically, for example, the second information type prompt may be "do not burn after reading". When the conversation window displays 'burn after reading', the instant messaging message input currently is of a second information type, the privacy protection requirement is low or the safety protection is low, but the instant messaging message is convenient for a user to read and record, and the instant messaging message can be directly displayed in the conversation window subsequently. When the user sees the preset information type prompt, the user can clearly know which type of the current instant messaging message is.
In the present embodiment, the predetermined position of the conversation window may be above the input box 2 and close to the position of the input box 2. When the user inputs information in the input box 2, the current information type prompt is conveniently checked so as to clarify the current instant communication message type.
In one embodiment, the preset information may include at least one of: pictures, strings, voice, video.
In this embodiment, the preset information is used to replace a specific content of the instant messaging message to be displayed in the session window when the instant messaging message is of the first information type, so as to protect the privacy of the user. Specifically, the preset information may be one or a combination of multiple kinds of pictures, character strings, voices and videos. Of course, the specific form of the preset information is not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
In one embodiment, the instant messaging method may further include:
receiving a deleting instruction sent by an instant communication message receiver, canceling to display corresponding preset information in the conversation window according to the deleting instruction, and deleting the instant communication message corresponding to the preset information;
or, when the instant communication message is sent for a preset time, canceling to display corresponding preset information in the conversation window, and deleting the instant communication message corresponding to the preset information;
or after the instant communication message is sent and after the preset information of the conversation window is clicked, the corresponding preset information is cancelled and displayed in the conversation window, and the instant communication message corresponding to the preset information is deleted.
In this embodiment, when the instant messaging message is of the first information type, the instant messaging message is correspondingly displayed as preset information in a conversation window. The client can receive a deleting instruction sent by an instant messaging message receiver through a communication module. The deleting instruction can be attached with the attribute of the instant communication message, and the corresponding preset information and the instant communication message can be uniquely determined according to the attribute attached in the deleting instruction. After the client receives the deleting instruction, the client can cancel displaying the corresponding preset information in the conversation window and delete the instant communication message corresponding to the preset information, so that the privacy of the user is protected, and unnecessary information can be prevented from occupying a memory.
In this embodiment, when the instant messaging message is of the first information type, the instant messaging message is correspondingly displayed as preset information in a conversation window. When the instant communication message is sent for a preset time, the corresponding preset information can be cancelled from the conversation window, and the instant communication message corresponding to the preset information is deleted, so that the privacy of a user is protected, and unnecessary information can be prevented from occupying a memory.
In this embodiment, when the instant messaging message is of the first information type, the instant messaging message is correspondingly displayed as preset information in a conversation window. After the instant communication message is sent and after the preset information of the conversation window is clicked, the corresponding preset information can be cancelled and displayed in the conversation window, and the instant communication message corresponding to the preset information is deleted, so that the privacy of a user is protected, and unnecessary information can be prevented from occupying a memory.
Referring to fig. 7, an embodiment of the present invention further provides a client 100, which includes: receiving module 10, reading module 12, sending module 14, and display module 16.
In this embodiment, the client 100 may be a communication device with a network communication function, such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart wearable device, and the like. Of course, the client 100 may also be software running in the communication device described above.
The receiving module 10 is used for receiving the input instant messaging message through the input box of the conversation window.
In this embodiment, the clients can perform instant messaging and receive and send instant messaging messages. The client may be a communication device with a network communication function, such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart wearable device, and the like. Of course, the client may also be software running in the communication device described above. The client may be used by a user to send out instant messaging messages.
In this embodiment, the specific content of the instant messaging message may include text, voice, picture or file. Of course, the content of the instant messaging message is not limited to the above list. In a specific embodiment, referring to fig. 2, an input box 2 may be disposed in the conversation window 1 for receiving an instant messaging message input by a user. When the input box 2 of the conversation window 1 receives the user, it can indicate that the user is editing the instant messaging message through the client. In addition, a touch keyboard 3 may be displayed in the conversation window 1, so that a user can conveniently input text through the touch keyboard 3.
In this embodiment, an identity of a message recipient may also be displayed in the session window. The identity may be used to uniquely identify a user. Specifically, the identity may be a user-defined name, a user communication number, an account registered by the user in the instant messaging message software, or the like.
The reading module 12 is configured to read a current value of the preset information type identifier; the preset information type identification comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type.
In this embodiment, the preset information type may include: a first information type and a second information type. Specifically, the first information type may indicate that the current instant messaging message is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection, and may not be displayed in a session window subsequently. The second information type may indicate that the instant messaging message is a message with low privacy protection requirements or low security protection but is convenient for the user to read and record, and then the instant messaging message may be directly displayed in a conversation window.
In this embodiment, the preset information type corresponds to a preset information type identifier. The preset information type mark is used for indicating which information type the current instant messaging message is. The preset information type identifier may include a first value and a second value. The first value corresponds to the first information type, and when the preset information type identifier is the first value, the instant messaging message which is required to be sent by the user at present is represented as a message with higher privacy protection requirement or higher security protection requirement. And the second value corresponds to the second information type, and when the preset information type identifier is the second value, the instant messaging message which is required to be sent by the user currently is a message which has lower privacy protection requirement or lower security protection but is convenient for the user to read and record.
In this embodiment, whether the current value is the first value or the second value is determined by reading the current value of the preset information type identifier. Further, the specific information type of the current instant messaging message can be determined according to the specific value of the current value.
Specifically, the reading mode may be that a switch button is disposed at a predetermined position of the session window. For example, when the switch button is in a first state of being turned ON, and the current value of the preset information type identifier is a first value ON, the message type of the corresponding instant messaging message is a first information type. And when the switch button is in an OFF state and the current value of the preset information type identifier is a second value OFF, the message type of the corresponding instant communication message is a second information type. When the instant messaging message receiving method is used, the client can determine the current value of the preset message type identifier by recording the original state of the switch button and receiving the clicked state of the switch button, so that the specific message type of the instant messaging message is determined.
Of course, the values of the type of the instant messaging message and the type identifier of the preset information are not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
The sending module 14 is configured to send the instant messaging message, where the instant messaging message is accompanied by the current value of the preset information type identifier.
In this embodiment, the manner of sending the instant messaging message may be triggered by an event that the user clicks a predetermined button, may be automatically sent after a predetermined time period that the input is stopped in the input box is detected, and the like. Of course, the manner of sending the instant messaging message is not limited to the above list.
Specifically, referring to fig. 2, a sending button 4 may be disposed at a predetermined position of the conversation window 1, and when the user clicks the speaking sound sending button 4, the client correspondingly receives the trigger signal and sends the instant messaging message in the input box 2 to a predetermined message receiver. The predetermined message receiver may be a client corresponding to the "floret" displayed in the conversation window 1.
In this embodiment, the current value of the preset information type identifier may be a first value or a second value. The client can determine the message type of the corresponding instant communication message according to the current value. When the instant messaging message is accompanied by the current value of the preset information type identifier, the message type of the instant messaging message can be sent to the client of the corresponding message receiver along with the current instant messaging message. Further, the client of the message receiver can perform distinguishing operation according to the message type of the currently received instant messaging message.
The display module 16 is configured to display the instant messaging message in a display frame of the session window when the preset information type identifier is the second value; when the preset information type identification is the first value, displaying preset information in a display frame of the session window; the preset information shows that the corresponding instant messaging message is of the first information type.
In this embodiment, the preset information may be one or more combinations of pictures, character strings, voices and videos, which are pre-stored in the memory. The preset information may also be in other specific forms, and the present application is not limited in particular herein.
In this embodiment, when the preset information type identifier is the first value, it may be indicated that the message type of the current instant messaging message is the first information type. At this time, the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but is displayed by replacing the content of the instant messaging message with preset information in the conversation window. Before the message receiver does not read, the message sender can click the preset information if necessary to check the specific content of the corresponding instant messaging message.
In this embodiment, when the preset information type identifier is the second value, it may be indicated that the message type of the current instant messaging message is the second information type. At this time, the instant messaging message which the user currently needs to send is a message which has low privacy protection requirements or low security protection but is convenient for the user to read and record. In many cases, the message may contain the content recorded by both parties that need instant messaging, such as specific time, place, etc. Therefore, the instant communication message can be directly displayed in the conversation window so as to be convenient for the user to view.
According to the embodiment of the application, the information type of the current instant messaging message can be determined according to the current value of the preset information type identifier by reading the current value of the preset information type identifier, so that the instant messaging message can be displayed in a display frame of a session window in a distinguishing manner according to the current value. If the preset information type identifier is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; and furthermore, different types of instant messaging messages can be switched according to user requirements in the same session window, so that the user operation is simplified, and the user experience is improved.
Referring to fig. 8, an embodiment of the present invention further provides a client 110, which includes: a communication module 11, a processor 13 and a display 15.
In the present embodiment, the communication module 11 is capable of transmitting and receiving data through network communication. The communication module can be arranged according to TCP/IP protocol and carries out network communication under the protocol framework. Specifically, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
The processor 13 can receive the input instant messaging message through the input box of the conversation window; reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type; controlling the communication module 11 to send the instant communication message, wherein the instant communication message is attached with the current value of the preset information type identifier; when the preset information type identifier is the first value, controlling the display 15 to display preset information in a display frame of the session window; when the preset information type identifier is the second value, controlling the display 15 to display the instant messaging message in a display frame of the conversation window; the preset information shows that the corresponding instant messaging message is of the first information type.
In this embodiment, the processor 13 may be implemented in any suitable manner. For example, the processor 13 may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The present application is not limited.
The client can be a hardware implementation mode of the instant messaging message prompting method, and can achieve the implementation mode of the instant messaging method and achieve the technical effect of the implementation mode of the method.
Please refer to fig. 9. An instant messaging method provided by one embodiment of the present application may include the following steps.
Step S20: receiving an instant communication message; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type.
In this embodiment, the clients can perform instant messaging and receive and send instant messaging messages. The client may be a communication device with a network communication function, such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart wearable device, and the like. Of course, the client may also be software running in the communication device described above. The client may be used by a user to send out instant messaging messages.
In this embodiment, the instant messaging message may include text, voice, pictures or files, etc. Of course, the content of the instant messaging message is not limited to the above list.
In this embodiment, the current value of the preset information type identifier may be a first value or a second value. Because the information sent by the sender of the instant messaging message is attached with the current value of the preset information type mark, the instant messaging message received by the receiver of the instant messaging message is the current value attached with the preset information type mark. When the current value is a first value, the current information is represented as a first information type; and when the current value is the second value, the current information is represented as the second information type.
Step S22: when the current value of the preset information type identifier of the instant communication message is the first value, displaying preset information in the session window, wherein the preset information indicates that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, displaying the instant communication message in a session window; and displaying the instant messaging message of the first information type and the preset information of the second information type in the same conversation window.
In this embodiment, the preset information may be one or more combinations of pictures, character strings, voices and videos, which are pre-stored in the memory. The preset information may also be in other specific forms, and the present application is not limited in particular herein.
In this embodiment, when the current value of the preset information type identifier of the instant messaging message is the first value, it indicates that the current information is the first information type. At this time, the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but is displayed by replacing the content of the instant messaging message with preset information in the conversation window.
In this embodiment, the preset information may be one or more combinations of pictures, character strings, voices and videos preset and stored in the memory. And after the preset information is clicked, the instant messaging message content corresponding to the preset information can be displayed on the client corresponding to the message receiver. After the preset information is clicked, a deleting instruction can be sent to a message sender of instant messaging, and the preset information can be cancelled and displayed within a preset time.
In this embodiment, when the preset information type identifier is the second value, it may indicate that the message type of the current instant messaging message is the second information type, and at this time, it indicates that the instant messaging message that the user needs to send currently is a message that has a lower privacy protection requirement or has a lower security protection but is convenient for the user to read and record. In many cases, the message may contain the content recorded by both parties that need instant messaging, such as specific time, place, etc. Therefore, the instant communication message can be directly displayed in the conversation window so as to be convenient for the user to view.
In this embodiment, when the preset information is displayed in the session window, it may indicate that the message type of the instant messaging message corresponding to the preset information is the first information type. At this time, the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but is displayed by replacing the content of the instant messaging message with preset information in the conversation window. Furthermore, after the message receiver starts reading, the instant messaging message can be deleted within a preset time, so that the instant messaging message record is prevented from being browsed by others, and privacy is prevented from being revealed.
In this embodiment, the instant messaging message of the first information type and the preset information of the second information type may be displayed in the same session window, so that the user can read and operate the instant messaging message conveniently, thereby improving the user experience.
According to the embodiment of the application, the information type of the current instant messaging message can be determined according to the current value of the preset information type identifier by reading the current value of the preset information type identifier, so that the instant messaging message can be displayed in a display frame of a session window in a distinguishing manner according to the current value. If the preset information type identifier is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; and furthermore, different types of instant messaging messages can be switched according to user requirements in the same session window, so that the user operation is simplified, and the user experience is improved.
In one embodiment, when the preset information of the conversation window is clicked, an instant messaging message corresponding to the preset information is displayed in a display frame of the conversation window; when a preset condition is achieved, the instant communication message corresponding to the preset information is cancelled to be displayed; and canceling the display of the preset information in the conversation window.
In this embodiment, the click event may detect a predetermined signal for a control corresponding to the client of the instant messaging message receiver. Further, the instant messaging message corresponding to the preset information can be controlled to be displayed in a display frame of the conversation window according to the preset signal. Specifically, the click event may be a touch click or a press received at the preset information position.
In this embodiment, the preset condition may be that the preset information position is clicked again, or may be that the instant messaging message starts to be displayed for a preset duration, or may be that a long-pressed click event stops, or may be that a mobile phone is received to shake, and the like. Of course, the preset condition is not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
In this embodiment, when the preset condition is met, the instant messaging message corresponding to the preset information is cancelled to protect the privacy of the user. In addition, the instant messaging message can be deleted, so that the instant messaging message record is prevented from being browsed by other people, and unnecessary information is prevented from occupying a memory.
In this embodiment, the preset information may be canceled from being displayed in the conversation window. In a first information type mode corresponding to the preset information, when the instant messaging message corresponding to the preset information is canceled from being displayed, the instant messaging message is shown to be read by a message receiver, at the moment, the corresponding preset information can be canceled from being displayed, and no communication trace is left in a conversation window. Specifically, the preset information can be cancelled and displayed in the conversation window while the instant messaging message corresponding to the preset information is cancelled and displayed; or canceling the display in the conversation window within a preset time after the instant messaging message corresponding to the preset information is canceled and displayed; the preset information can be set not to be displayed any more before the instant messaging message corresponding to the preset information is cancelled.
In one embodiment, the session window is provided with identity information of the sender of the instant messaging message; the method may further comprise: and when the instant messaging message corresponding to the preset information is displayed, not displaying the identity information of the instant messaging message sender in the conversation window.
In this embodiment, the session window may be provided with identity information of the sender of the instant messaging message. The identity information may be used to uniquely identify an instant messaging message sender. Specifically, the identity information may be a user-defined name, a user communication number, an account registered by the user in the instant messaging message software, and the like.
In this embodiment, when the instant messaging message corresponding to the preset information is displayed, the instant messaging message corresponding to the preset information is of the first information type. The first information type may indicate that the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection, and therefore, the identity information of the instant messaging message sender may not be displayed in the session window, thereby protecting the privacy of the user.
In a specific embodiment, in the step of presenting the instant messaging message of the first information type, the method further includes: and displaying the instant messaging message of the first information type in a new window, wherein the new window shields the identity information.
In this embodiment, when the instant messaging message of the first information type is displayed, when the preset information of the session window is clicked, a new window may be displayed on the session window, and the instant messaging message of the first information type may be displayed in the new window. At this time, the session window can be completely or partially occluded by the new window. At least, the identity information in the conversation window can be shielded by the new window, so that the receiver of the instant communication message can be prevented from carrying out screen capture transmission on the instant communication message with the identity information or being photographed by other people, and the privacy and the safety of the user can be further protected.
In a specific embodiment, referring to fig. 10, in the step S22 of displaying the instant messaging message of the first information type, the method may further include:
step S220: hiding the identity information of the session window;
step S222: and after the instant communication message corresponding to the preset information is canceled from being displayed, restoring to display the identity information in the conversation window.
In this embodiment, when the instant messaging message of the first information type is displayed, the specific manner of hiding the identity information may be as follows: and setting the display attribute of the identity information to be hidden, or setting the display attribute of the identity information to be transparent, or setting a shielding layer at the position of the session window for displaying the identity information, wherein the shielding layer can be a mosaic. Of course, the specific manner of hiding the identity information is not limited to the above description. Other modifications are possible in light of the above teachings, but are intended to be included within the scope of the present disclosure as long as the functions and effects achieved by the present disclosure are the same or similar to those achieved by the present disclosure.
In this embodiment, after the instant messaging message corresponding to the preset information is cancelled, the identity information can be restored and displayed in the session window, so that the message receiver can determine the specific object of the current instant messaging.
Referring to fig. 11, an embodiment of the present invention further provides a client 200, which includes: a receiving module 20, a display module 22.
A receiving module 20, configured to receive an instant messaging message; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type.
In this embodiment, the clients can perform instant messaging and receive and send instant messaging messages. The client may be a communication device with a network communication function, such as a desktop computer, a notebook computer, a tablet computer, a smart phone, a smart wearable device, and the like. Of course, the client may also be software running in the communication device described above. The client may be used by a user to send out instant messaging messages.
In this embodiment, the instant messaging message may include text, voice, pictures or files, etc. Of course, the content of the instant messaging message is not limited to the above list.
In this embodiment, the current value of the preset information type identifier may be a first value or a second value. Because the information sent by the sender of the instant messaging message is attached with the current value of the preset information type mark, the instant messaging message received by the receiver of the instant messaging message is the current value attached with the preset information type mark. When the current value is a first value, the current information is represented as a first information type; and when the current value is the second value, the current information is represented as the second information type.
A display module 22, configured to display preset information in the session window when a current value of a preset information type identifier of the instant messaging message is the first value, where the preset information indicates that an instant messaging message of a first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, displaying the instant communication message in a session window; and displaying the instant messaging message of the first information type and the preset information of the second information type in the same conversation window.
In this embodiment, the preset information may be one or more combinations of pictures, character strings, voices and videos, which are pre-stored in the memory. The preset information may also be in other specific forms, and the present application is not limited in particular herein.
In this embodiment, when the current value of the preset information type identifier of the instant messaging message is the first value, it indicates that the current information is the first information type. At this time, the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but is displayed by replacing the content of the instant messaging message with preset information in the conversation window.
In this embodiment, the preset information may be one or more combinations of pictures, character strings, voices and videos preset and stored in the memory. And after the preset information is clicked, the instant messaging message content corresponding to the preset information can be displayed on the client corresponding to the message receiver. After the preset information is clicked, a deleting instruction can be sent to a message sender of instant messaging, and the preset information can be cancelled and displayed within a preset time.
In this embodiment, when the preset information type identifier is the second value, it may indicate that the message type of the current instant messaging message is the second information type, and at this time, it indicates that the instant messaging message that the user needs to send currently is a message that has a lower privacy protection requirement or has a lower security protection but is convenient for the user to read and record. In many cases, the message may contain the content recorded by both parties that need instant messaging, such as specific time, place, etc. Therefore, the instant communication message can be directly displayed in the conversation window so as to be convenient for the user to view.
In this embodiment, when the preset information is displayed in the session window, it may indicate that the message type of the instant messaging message corresponding to the preset information is the first information type. At this time, the instant messaging message that the user currently needs to send is a message with a higher requirement for privacy protection or a message with a higher requirement for security protection. In order to protect the privacy of the user, the specific content of the message is not directly displayed in the conversation window, but is displayed by replacing the content of the instant messaging message with preset information in the conversation window. Furthermore, after the message receiver starts reading, the instant messaging message can be deleted within a preset time, so that the instant messaging message record is prevented from being browsed by others, and privacy is prevented from being revealed.
In this embodiment, the instant messaging message of the first information type and the preset information of the second information type may be displayed in the same session window, so that the user can read and operate the instant messaging message conveniently, thereby improving the user experience.
According to the embodiment of the application, the information type of the current instant messaging message can be determined according to the current value of the preset information type identifier by reading the current value of the preset information type identifier, so that the instant messaging message can be displayed in a display frame of a session window in a distinguishing manner according to the current value. If the preset information type identifier is the first value, displaying preset information in a display frame of the session window; when the preset information type identifier is the second value, displaying the instant messaging message in a display frame of the conversation window; and furthermore, different types of instant messaging messages can be switched according to user requirements in the same session window, so that the user operation is simplified, and the user experience is improved.
Referring to fig. 12, an embodiment of the present invention further provides a client 210, which includes: a communication module 21, a processor 23 and a display 25.
In the present embodiment, the communication module 21 is capable of transmitting and receiving data through network communication. The communication module can be arranged according to TCP/IP protocol and carries out network communication under the protocol framework. Specifically, it may be a wireless mobile network communication chip, such as GSM, CDMA, etc.; it can also be a Wifi chip; it may also be a bluetooth chip.
In this embodiment, the processor 23 receives an instant messaging message through the communication module 21; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type; when the current value of the preset information type identifier of the instant messaging message is the first value, controlling the display 25 to display preset information in the session window, wherein the preset information indicates that the instant messaging message of the first information type is received; when the current value of the preset information type identifier of the instant messaging message is the second value, controlling the display 25 to display the instant messaging message in a session window; and displaying the instant messaging message of the first information type and the preset information of the second information type in the same conversation window.
In this embodiment, the processor 23 may be implemented in any suitable manner. For example, the processor 23 may take the form of, for example, a microprocessor or processor and a computer-readable medium storing computer-readable program code (e.g., software or firmware) executable by the (micro) processor, logic gates, switches, an Application Specific Integrated Circuit (ASIC), a programmable logic controller, an embedded microcontroller, and so forth. The present application is not limited.
The client can be a hardware implementation mode of the instant messaging message prompting method, and can achieve the implementation mode of the instant messaging method and achieve the technical effect of the implementation mode of the method.
The above embodiments in the present specification are all described in a progressive manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment is described with emphasis on being different from other embodiments. Especially for the client-side implementation, since the operation executed by the processor is basically similar to the method implementation, the description is simple, and the relevant points can be referred to the description of the method implementation.
In the present application, a plurality of embodiments of the present application are described, and those skilled in the art will understand that the embodiments of the present application can be combined with each other. Further, those skilled in the art will recognize that there are numerous variations and modifications of the present application without departing from the spirit of the application, and it is intended that the appended claims encompass such variations and modifications without departing from the spirit of the application.

Claims (15)

1. An instant messaging method, comprising:
receiving an input instant messaging message through an input frame of a conversation window of a message sender;
reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type;
sending the instant messaging message to a client of a message receiver, wherein the instant messaging message is attached with the current value of the preset information type identifier, so that the client of the message receiver performs differential display on the instant messaging message in the same session window of the message receiver according to the current value of the message type identifier of the currently received instant messaging message; when the preset information type identifier is the first value, displaying preset information in a display frame of a session window of the message receiver; when the preset information type identification is the second value, displaying the instant communication message in a display frame of a conversation window of the message receiver; the preset information shows that the corresponding instant messaging message is of the first information type, so that when the preset information of the conversation window of the client of the message receiver is clicked, the instant messaging message is displayed in the display frame of the conversation window of the client of the message receiver, when the preset condition is achieved, the client of the message receiver cancels display of the instant messaging message, and the preset information is cancelled to be displayed in the conversation window of the client of the message receiver.
2. The method of claim 1, wherein a type switch flag is provided at a session window of the message sender, the method further comprising: and when the type switching mark is clicked, changing the current value of the preset information type identifier, so that the current value of the preset information type identifier is replaced between the first value and the second value.
3. The method of claim 2, wherein the method further comprises: displaying a type switching mark at a predetermined position of a conversation window of the message sender after an input box of the conversation window of the message sender obtains a focus or the input box receives an input.
4. The method of claim 2, wherein reading the current value of the preset information type identifier comprises:
acquiring the clicked times of the type switching mark;
determining the current value of the preset information type identifier according to the preset property of the clicked times;
when the current value is a first value, the type switching mark is correspondingly displayed as a first preset icon; and when the current value is a second value, the type switching mark is correspondingly displayed as a second preset icon.
5. The method of claim 2 or 4, wherein the method further comprises:
and displaying a current preset information type prompt corresponding to the current value at a preset position of a session window of the message sender.
6. The method of claim 1, wherein the preset information comprises at least one of:
pictures, strings, voice, video.
7. The method of claim 1, wherein the method further comprises:
receiving a deleting instruction sent by the message receiver, canceling to display corresponding preset information in a conversation window of the message sender according to the deleting instruction, and deleting the instant communication message corresponding to the preset information;
or, when the instant communication message reaches a preset time length, canceling to display corresponding preset information in a conversation window of the message sender, and deleting the instant communication message corresponding to the preset information;
or after the instant communication message is sent and after the preset information of the session window of the message sender is clicked, canceling to display the corresponding preset information in the session window of the message sender and deleting the instant communication message corresponding to the preset information.
8. A client, comprising:
the receiving module is used for receiving the input instant communication message through an input frame of a conversation window of a message sender;
the reading module is used for reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type;
a sending module, configured to send the instant messaging message to a client of a message recipient, where the instant messaging message is accompanied by a current value of the preset information type identifier, so that the client of the message recipient performs differential display on the instant messaging message in a same session window of the message recipient according to the current value of the message type identifier of the currently received instant messaging message; when the preset information type identification is the second value, displaying the instant communication message in a display frame of a conversation window of the message receiver; when the preset information type identification is the first value, displaying preset information in a display frame of a conversation window of the message receiver; the preset information shows that the corresponding instant messaging message is of the first information type, so that when the preset information of the conversation window of the client of the message receiver is clicked, the instant messaging message is displayed in the display frame of the conversation window of the client of the message receiver, when the preset condition is achieved, the client of the message receiver cancels display of the instant messaging message, and the preset information is cancelled to be displayed in the conversation window of the client of the message receiver.
9. A client, comprising: the device comprises a communication module, a display and a processor; wherein the content of the first and second substances,
the communication module can perform network communication to receive and transmit data;
the processor can receive the input instant communication message through an input box of a conversation window of a message sender; reading the current value of the preset information type identifier; the preset information type identification comprises a first value for indicating that the current information is of a first information type and a second value for indicating that the current information is of a second information type; controlling the communication module to send the instant communication message to a client of a message receiver, wherein the instant communication message is attached with the current value of the preset information type identifier, so that the client of the message receiver performs differential display on the instant communication message in the same session window of the message receiver according to the current value of the message type identifier of the instant communication message received currently; when the preset information type identifier is the first value, controlling the display to display preset information in a display frame of a conversation window of the message receiver; when the preset information type identifier is the second value, controlling the display to display the instant messaging message in a display frame of a conversation window of the message receiver; the preset information shows that the corresponding instant messaging message is of the first information type, so that when the preset information of the conversation window of the client of the message receiver is clicked, the instant messaging message is displayed in the display frame of the conversation window of the client of the message receiver, when the preset condition is achieved, the client of the message receiver cancels display of the instant messaging message, and the preset information is cancelled to be displayed in the conversation window of the client of the message receiver.
10. An instant messaging method, comprising:
receiving an instant communication message sent by a client of a message sender; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type;
when the current value of the preset information type identifier of the instant communication message is the first value, displaying preset information in a conversation window of a message receiver, wherein the preset information indicates that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, displaying the instant communication message in a conversation window of the message receiver; the preset information of the first information type and the instant messaging information of the second information type are displayed in the same conversation window of the message receiver;
displaying an instant messaging message corresponding to the preset information in a display frame of a conversation window of the message receiver when the preset information of the conversation window of the message receiver is clicked;
when a preset condition is achieved, the instant communication message corresponding to the preset information is cancelled to be displayed;
and canceling the display of the preset information in a conversation window of the message receiver.
11. The method of claim 10, wherein the session window of the message recipient is provided with identity information of the instant messaging message sender; the method further comprises the following steps:
and when the instant messaging message corresponding to the preset information is displayed, the identity information of the instant messaging message sender is not displayed in a conversation window of the message receiver.
12. The method of claim 11,
in the step of displaying the instant messaging message of the first information type, the method further comprises: and displaying the instant messaging message of the first information type in a new window, wherein the new window shields the identity information.
13. The method of claim 11, wherein in the step of presenting the instant messaging message of the first information type, further comprising:
hiding the identity information of the session window of the message receiver;
and after the instant communication message corresponding to the preset information is canceled from being displayed, restoring to display the identity information in a conversation window of the message receiver.
14. A client, comprising:
the receiving module is used for receiving the instant communication message sent by the client of the message sender; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type;
the display module is used for displaying preset information in a conversation window of a message receiver when the current value of the preset information type identifier of the instant communication message is the first value, wherein the preset information indicates that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, displaying the instant communication message in a conversation window of the message receiver; the instant messaging message of the first information type and the preset message of the second information type are displayed in the same conversation window of the message receiver; displaying an instant messaging message corresponding to the preset information in a display frame of a conversation window of the message receiver when the preset information of the conversation window of the message receiver is clicked; when a preset condition is achieved, the instant communication message corresponding to the preset information is cancelled to be displayed; and canceling the display of the preset information in a conversation window of the message receiver.
15. A client, comprising: the device comprises a communication module, a display and a processor; wherein the content of the first and second substances,
the communication module can perform network communication to receive and transmit data;
the processor receives an instant communication message sent by a client of a message sender through the communication module; the instant communication message is attached with a current value of a preset information type identifier; the current value of the preset information type identifier comprises a first value representing that the current information is of a first information type and a second value representing that the current information is of a second information type; when the current value of the preset information type identifier of the instant communication message is the first value, controlling the display to display preset information in a conversation window of a message receiver, wherein the preset information indicates that the instant communication message of the first information type is received; when the current value of the preset information type identifier of the instant communication message is the second value, controlling the display to display the instant communication message in a conversation window of the message receiver; the instant messaging message of the first information type and the preset message of the second information type are displayed in the same conversation window of the message receiver; displaying an instant messaging message corresponding to the preset information in a display frame of a conversation window of the message receiver when the preset information of the conversation window of the message receiver is clicked; when a preset condition is achieved, the instant communication message corresponding to the preset information is cancelled to be displayed; and canceling the display of the preset information in a conversation window of the message receiver.
CN201510783642.8A 2015-11-16 2015-11-16 Instant messaging method and client Active CN106708354B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510783642.8A CN106708354B (en) 2015-11-16 2015-11-16 Instant messaging method and client

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510783642.8A CN106708354B (en) 2015-11-16 2015-11-16 Instant messaging method and client

Publications (2)

Publication Number Publication Date
CN106708354A CN106708354A (en) 2017-05-24
CN106708354B true CN106708354B (en) 2020-08-14

Family

ID=58931955

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510783642.8A Active CN106708354B (en) 2015-11-16 2015-11-16 Instant messaging method and client

Country Status (1)

Country Link
CN (1) CN106708354B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107483317B (en) * 2017-06-30 2020-08-11 北京五八信息技术有限公司 User identification processing method and device
CN107508749B (en) * 2017-09-18 2019-11-19 维沃移动通信有限公司 A kind of message method and mobile terminal
US11140151B2 (en) * 2017-12-05 2021-10-05 Jae Ho SUNG Method for providing message hidden services in chatting windows
CN109788344A (en) * 2019-01-30 2019-05-21 四川省有线广播电视网络股份有限公司 Intelligent sound pop-up additional information launches design method

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379451A (en) * 2013-06-21 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Check method and system for information instantly burned after being read
CN103986642A (en) * 2014-05-15 2014-08-13 周奇 Delivery method and system of user subjective sensitive content
CN104066060A (en) * 2014-06-26 2014-09-24 福州大学 Method for realizing message protection in reading and message destruction after reading in mobile terminal instant communication
CN104640085A (en) * 2015-02-17 2015-05-20 陈包容 Burn after reading information sending method and device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103379451A (en) * 2013-06-21 2013-10-30 宇龙计算机通信科技(深圳)有限公司 Check method and system for information instantly burned after being read
CN103986642A (en) * 2014-05-15 2014-08-13 周奇 Delivery method and system of user subjective sensitive content
CN104066060A (en) * 2014-06-26 2014-09-24 福州大学 Method for realizing message protection in reading and message destruction after reading in mobile terminal instant communication
CN104640085A (en) * 2015-02-17 2015-05-20 陈包容 Burn after reading information sending method and device

Also Published As

Publication number Publication date
CN106708354A (en) 2017-05-24

Similar Documents

Publication Publication Date Title
US20200204506A1 (en) Systems and methods implementing user interface objects
CN111399709B (en) Message reminding method and device, electronic equipment and storage medium
KR102069867B1 (en) Contact provision using context information
CN109799938B (en) Control display management method, terminal device and computer readable storage medium
US20160260201A1 (en) Video communication method and system in instant communication
EP3171554B1 (en) Method and device for displaying a message
JP2018505484A (en) Group chat method and apparatus
US20200007944A1 (en) Method and apparatus for displaying interactive attributes during multimedia playback
JP2017523512A (en) Rich notification
TW201644233A (en) Instant communication message processing method and client
CN106708354B (en) Instant messaging method and client
JP2017524179A (en) On-screen adaptation notification
WO2016127882A1 (en) Message reply method and device
CN112134788B (en) Event processing method, device, storage medium, mobile terminal and computer
CN103970422A (en) Screen transparency automatic changing method of mobile terminal and mobile terminal
US20180196588A1 (en) Method and apparatus for setting burn-after-reading message by means of pressure
CN110955374A (en) Message display method and device
CN112711366A (en) Image generation method and device and electronic equipment
CN108153457B (en) Message reply method and device
US10318136B2 (en) Operation processing method and device
CN111368329B (en) Message display method and device, electronic equipment and storage medium
CN107241515B (en) Incoming call rejection processing method and terminal
TW201918852A (en) Interface displaying method and device
US20120290665A1 (en) Systems and methods for changing application information
CN111275394B (en) Message reminding method and device and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 1237450

Country of ref document: HK

TA01 Transfer of patent application right

Effective date of registration: 20180817

Address after: 31119KY1 - 1205, Furong Road mailbox, 802 West Bay Road, Cayman Islands

Applicant after: Nail holding (Cayman) Limited

Address before: Cayman Islands Grand Cayman

Applicant before: Alibaba Group Holding Co., Ltd.

TA01 Transfer of patent application right
GR01 Patent grant
GR01 Patent grant