CN109361592B - Instant communication message processing method, device, equipment and storage medium - Google Patents

Instant communication message processing method, device, equipment and storage medium Download PDF

Info

Publication number
CN109361592B
CN109361592B CN201810897719.8A CN201810897719A CN109361592B CN 109361592 B CN109361592 B CN 109361592B CN 201810897719 A CN201810897719 A CN 201810897719A CN 109361592 B CN109361592 B CN 109361592B
Authority
CN
China
Prior art keywords
message
client
target
target message
text
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
CN201810897719.8A
Other languages
Chinese (zh)
Other versions
CN109361592A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201810897719.8A priority Critical patent/CN109361592B/en
Publication of CN109361592A publication Critical patent/CN109361592A/en
Application granted granted Critical
Publication of CN109361592B publication Critical patent/CN109361592B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • 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]
    • 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/06Message adaptation to terminal or network requirements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The invention provides a method, a device, equipment and a storage medium for processing instant messaging messages, wherein the method comprises the following steps: acquiring a reference instruction corresponding to a target message; displaying the target message in an area corresponding to an edit box according to the reference instruction; when an instruction for sending the text message in the edit box is detected, expanding the data structure of the target message to obtain a reference message; and sending the reference message and the corresponding text message to forward, display and output the reference message and the text message. The invention can obviously present and distinguish the reference message and the text message, help the user to visually check the message content and quickly understand the message context; any type of message can be supported; the user experience and the user viscosity of the client are improved.

Description

Instant communication message processing method, device, equipment and storage medium
Technical Field
The invention relates to the technical field of Internet IM (instant messaging), in particular to a method, a device, equipment and a storage medium for processing instant messaging messages.
Background
The message reference is used as a common interactive form in an instant messaging scene, and the existing part of communication tools support the message reference; the communication tools basically adopt a mode of copying an original text for processing, specifically, quoted original text content is used as a part of a message to be sent, and the quoted original text content and the content to be sent are spliced and sent; and distinguished with special symbols in the middle of the content to identify the reference part and the body part.
However, although these communication tools achieve the purpose of referring to the message, in practical applications, this method cannot distinguish the original reference text from the reply text well, and cannot further help the user obtain the context information of the context of the original reference text.
Therefore, message references are used as operations using relatively high frequencies in an instant chat scenario, and a technical solution for performing effective processing in a simple, fast and convenient manner is required.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides an instant messaging message processing method, an instant messaging message processing device, instant messaging message processing equipment and a storage medium, and specifically comprises the following steps:
in one aspect, a method for processing an instant messaging message is provided, and the method includes:
acquiring a reference instruction corresponding to a target message;
displaying the target message in an area corresponding to an edit box according to the reference instruction;
when an instruction for sending the text message in the edit box is detected, expanding the data structure of the target message to obtain a reference message;
and sending the reference message and the corresponding text message to forward, display and output the reference message and the text message.
In another aspect, an instant messaging message processing method is provided, where the method includes:
a first client acquires a reference instruction corresponding to a target message;
the first client displays the target message in an area corresponding to the edit box according to the reference instruction;
when the first client detects an instruction for sending a text message input in the edit box, expanding a data structure of the target message to obtain a reference message;
the first client sends the reference message and the corresponding text message to a server;
the server forwards the reference message and the text message to a second client;
and the second client displays and outputs the reference message and the text message.
Another aspect provides an instant messaging message processing apparatus, the apparatus comprising:
the reference instruction acquisition module is used for acquiring a reference instruction corresponding to the target message;
the target message display module is used for displaying the target message in an area corresponding to the edit box according to the reference instruction;
a reference message obtaining module, configured to, when an instruction for sending a text message in the edit box is detected, expand a data structure of the target message to obtain a reference message;
and the message sending module is used for sending the reference message and the corresponding text message, so that the reference message and the text message are forwarded, displayed and output.
Another aspect provides an instant messaging message processing apparatus, the apparatus comprising:
the reference instruction acquisition module is used for enabling the first client to acquire a reference instruction corresponding to the target message;
the target message display module is used for enabling the first client to display the target message in an area corresponding to the edit box according to the reference instruction;
a reference message obtaining module, configured to, when the first client detects that a text message input in the edit box issues an instruction, expand a data structure of the target message to obtain a reference message;
a message sending module, configured to enable the first client to send the reference message and a corresponding text message to a server;
the message forwarding module is used for enabling the server to forward the reference message and the text message to a second client side;
and the message output module is used for enabling the second client to display and output the reference message and the text message.
Another aspect provides an apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, set of codes, or set of instructions, the at least one instruction, the at least one program, set of codes, or set of instructions being loaded and executed by the processor to implement the message processing method according to the above aspect.
Another aspect provides a computer readable storage medium having stored therein at least one instruction, at least one program, set of codes, or set of instructions, which is loaded and executed by a processor to implement the message processing method as described in the above aspect.
The instant communication message processing method, the instant communication message processing device, the instant communication message processing equipment and the storage medium have the advantages that:
the invention can simultaneously display the original citation text and the reply text, thereby intuitively understanding the message context. The invention is based on the expansion of the data structure of the message, thereby being capable of supporting any type of message and further expanding the use scene of the reference message. Specifically, the present invention can obtain a reference message by expanding a data structure of a target message according to a first client (message sending client) sending the target message; the method comprises the steps that a quote message displayed on a client (a message sending client or a message receiving client) after being forwarded by a server can quickly jump to a page where a corresponding target message is located from the page where the quote message is located when touch operation is obtained on the corresponding client; thereby helping the corresponding client user (especially the user of the message receiving client) to view the context information of the target message; thereby making the user aware of the context and more detailed message content. The invention improves the use experience and feeling of the user and the user viscosity of the corresponding client.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions and advantages of the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic diagram of an implementation environment in an instant messaging scenario provided by an embodiment of the present specification;
fig. 2 is a flowchart of an instant messaging message processing method provided by an embodiment of the present specification;
fig. 3 is a schematic diagram for obtaining reference indication information of the target message according to an embodiment of the present specification;
FIG. 4 is a schematic diagram provided by an embodiment of the present specification to show the message content of the target message above the edit box;
fig. 5 is a schematic diagram of the first client sending out the message content and the text message of the target message together according to the embodiment of the present specification;
FIG. 6 is a flowchart of a step of expanding a data structure of the target message to obtain a reference message according to an embodiment of the present specification;
FIG. 7(a) is a partial schematic diagram of an application in a practical scenario provided by an embodiment of the present specification;
FIG. 7(b) is a partial schematic diagram of an application in a practical scenario provided by an embodiment of the present specification;
fig. 8 is a flowchart of another instant messaging message processing method provided by an embodiment of the present specification;
fig. 9 is a flowchart of a step of the second client displaying and outputting the quote message and the text message according to the embodiment of the present specification;
fig. 10 is a flowchart of another instant messaging message processing method provided by an embodiment of the present specification;
FIG. 11 is a timing diagram of an initiate referral message provided by embodiments of the present description;
FIG. 12 is a flowchart for viewing a target message at a second client provided by an embodiment of the present specification;
fig. 13 is a flowchart of another instant messaging message processing method provided by an embodiment of the present specification;
fig. 14 is a schematic structural diagram of an instant messaging message processing apparatus according to an embodiment of the present specification;
fig. 15 is a schematic diagram illustrating a composition of a referral message obtaining module provided in an embodiment of the specification;
fig. 16 is a schematic structural diagram of another instant messaging message processing apparatus provided in an embodiment of the present specification;
fig. 17 is a schematic structural diagram of another instant messaging message processing apparatus provided in an embodiment of the present specification;
fig. 18 is a schematic structural diagram of another instant messaging message processing apparatus provided in an embodiment of the present specification;
fig. 19 is a schematic structural diagram of an instant messaging message processing device according to an embodiment of the present specification.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without any inventive step based on the embodiments of the present invention, are within the scope of the present invention.
It is noted that the terms "second" and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or server that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
The invention relates to the field of instant messaging; when the instant communication message is quoted, the quoted original text and the reply content are spliced in an input box, and the quoted message and the text reply message are distinguished by adopting a special symbol so as to mark a quoted part and a text part; and then sending the spaced and spliced contents as a message to be sent.
Although the reference part and the text part are separated in the prior art by using a separator or the like, the reference part and the text part cannot be visually distinguished, and misunderstanding is easily caused particularly when the content (reference part) of the original message is long. Moreover, the existing scheme has single support for the type of the original message content; references to plain text messages are generally only supported, and references to other message types such as pictures, files, etc. are not supported. In addition, because the existing scheme splices the original citation text in front of the reply text; when the reference is nested for the first time, the reference part and the text part for the first time are displayed and output; when the reference is nested again, the reference part for the first time is spliced again in a new body part; this would cause inconvenience in message lookup and reading. Based on the above problems in the existing solutions, the present specification proposes an effective message processing solution; the problem that in the process of instant communication, historical conversation messages of communication parties refer to each other but a reference part and a text part cannot be effectively distinguished can be solved; the method can solve the problem that the user needs to frequently scroll the historical message list to find the position of the quoted message.
As shown in fig. 1, which shows a schematic diagram of an implementation environment in an instant messaging scenario; the implementation environment includes: a server 02, a terminal 01 and a terminal 03 which communicate information with the server 02. Both the terminal 01 and the terminal 03 can be a mobile phone, a tablet computer, a laptop portable acquirer, a PAD or a desktop acquirer, and the like. Both the terminal 01 and the terminal 03 operate a client, which may be an instant messaging client, or an application client of the same type, or the like; the instant messaging client can both send messages and receive messages, that is, the instant messaging client in the terminal 01 can be used as a message sending client or a message receiving client, and similarly, the instant messaging client in the terminal 03 can also be used as a message sending client or a message receiving client.
The client has an application program interface, and one or more interface elements composing the interface can be included in the application program interface, and specific interface elements include but are not limited to one or more of windows, dialog boxes, message boxes, status bars, icons and the like. For example, an application interface may include only one window for session message information (e.g., text, pictures, etc.); message boxes, icons, status bars, etc. may also be included. Also, the application interface may include an interface displayed in a terminal screen and an interface stored in the user terminal but not displayed in the terminal screen. The interface displayed on the terminal screen is called a display interface. The various interface elements within the interface may be collectively referred to as content information within the interface.
The server 02 may be a server, a server cluster composed of a plurality of servers, or a cloud acquisition service center. The server 02 establishes a communication connection with the terminal 01 through a network.
In detail, an embodiment of the present specification provides an instant messaging message processing method, as shown in fig. 2, the method includes:
s202, acquiring a reference instruction corresponding to the target message;
specifically, a user of a client (message sending client) sending the target message performs touch operation on the target message on an interface, and reference indication information (reference key) is displayed; specifically, the touch parameters of the corresponding touch operation are detected and matched with preset parameters for representing the reference indication information, if the touch parameters are matched with the preset parameters, the reference indication information is generated on the interface, and if the touch parameters are not matched with the preset parameters, the touch operation is considered as invalid operation.
It should be noted that the touch operation manner has diversity; may be a long press operation or a double click operation, etc. For example, when the target message is long-pressed at the position of the target message, the touch parameter may be a duration of the long-pressing operation, or the duration of the long-pressing operation and a pressure value of the long-pressing operation. If the touch parameter is the duration of the long-press operation, and the duration of the long-press operation reaches the preset duration, a reference menu can appear on a popup window on the target message interface, and the reference menu comprises reference indication information (reference keys).
The touch operation mode for displaying the "reference indication information" on the interface may be the same as the operation mode of the operation keys such as "copy indication information" and "paste indication information" for obtaining the session message, which is convenient for the user to memorize and use, as shown in fig. 3.
Further, when the user of the client selects the reference indication information through clicking operation, the client obtains a reference instruction corresponding to the target message.
It should be noted that the target message may be sent by the current client user, or may be sent by other client users, which is not limited. In addition, in this embodiment, both the touch operation and the subsequent touch selection (click operation) are the complete contents of the targeted message.
S204, displaying the target message in an area corresponding to the edit box according to the reference instruction;
in detail, when the client obtains the reference instruction corresponding to the target message, the message content of the target message is displayed in the area where the edit box corresponding to the current interface of the client is located. For example, the message content (referred message content) of the target message may be in the same fixed area as the edit box of the information to be input; or, the message content of the target message is displayed above the area where the edit box is located in a floating manner. When sliding the historical conversation message on the client, the message content of the target message is fixed as the edit box, and does not scroll along with the scrolling of the historical conversation message.
And the message content of the target message is a position outside the edit box; in the existing scheme, the content is placed in an edit box, so that a lot of input content areas are occupied, and the user can not obviously perceive the difference between the original message and the reply content. In the embodiment, the mode outside the edit box does not occupy the space or area inside the edit box, so that the user can distinguish the quoted content from the text content more conveniently, and the text content can be input and edited in the input box more efficiently; and a better use experience is brought to the user.
The line layout setting can be carried out on the message content and the edit box of the target message according to the use habit and the visual perception of the user; specifically, the message content may be displayed at a position above the edit box, or the message content may be displayed in a floating manner in the edit box.
It should be noted that, when the message content is displayed above the edit box, the user identifier (or account information) of the client is simultaneously acquired and displayed together. Wherein the user identification of the client, that is, the account name, user nickname or avatar, etc. of the sender under the client who sent the target message before.
And, while the message content is displayed above the edit box, deletion instruction information (such as an identification of an "x" generated at a right position of the message content) is generated at the same time. As shown in fig. 4, displaying the edit box above in fig. 4 may include: the account name of the target message, the message content of the target message, and deletion indication information indicated by "x" are previously transmitted.
The message content of the target message displayed above the edit box is presented as an integral content, and the user can delete the integral content of the message content to quickly replace the target message or adjust the target message without using a reference function. In addition, the operation of deleting the indication information on the whole message content is compared and displayed in the edit box, but the operation of deleting the message content after continuously deleting the message content or fully selecting the message content is required, so that the operation of deleting the whole message content of the target message is efficient and simple, and the experience of the user is improved. Further, as shown in fig. 5, a schematic diagram after the first client sends out the message content and the text message of the target message together.
It is further noted that, if the message content of the target message is a long message (message content of multiple lines), when the message content is displayed at a position above the edit box, the client displays only a part of the message content on the interface, for example, only a part of the information at the beginning of the message content is displayed above the edit box, and the last use of the ellipsis (…) for displaying the text in the part gives a prompt for content omission. That is, in the present embodiment, the referenced content is nested in the upper position of the edit box in a summary-like manner, wherein only one line of content can be shown on the interface to avoid the problem that the message content of the target message is too much to affect the reading experience of the whole page; therefore, the space of the edit box and the space of the conversation message list cannot be occupied in the whole page, and the user can conveniently check and read other information. The content amount of a line of content that can be displayed above the edit box is calculated according to the set text display parameters (such as font size and font style). The present specification may be based on the message content (referred to content) of the target message as a whole, as well as in a form in which only one line of content is presented above the edit box; the user experiences simple operation mode and concise and visual use experience of content display.
If the message content is a picture, when the message content of the target message is displayed at a position above the edit box, the client displays the referenced picture above the edit box according to a set picture display parameter (such as a scaled size).
S206, when an instruction for sending the text message in the edit box is detected, expanding the data structure of the target message to obtain a reference message;
specifically, the user inputs a text message in the edit box, and the text message is sent out by clicking the sending indication information corresponding to the edit box.
Correspondingly, after the client detects the sending instruction of the text message, the client expands the data structure of the target message, so that the target message displayed after the message content of the target message is sent can become the reference message.
All session messages located at the same client have the same data structure; therefore, the text message sent from the edit box has the same data structure as the target message on the edit box, and when the text message is clicked and sent, the content of the reference message is sent together with the input text message; when the sending instruction of the text message in the edit box is detected, the sending instruction of the referred content can be detected together.
Furthermore, when the reference message is obtained by extending the data structure in the touch operation, the position of the target message can be quickly and directly jumped to according to the recorded attribute information corresponding to the position of the target message; therefore, the user can effectively view the context message and know the communication situation of the internal personnel.
And jumping to the position of the target message, preferably jumping to a page with the target message positioned at the middle position of the page. The context of the target message is primarily a session message that is within a predetermined time before or after the time of receipt of the target message in terms of time of receipt.
It should be noted that, since the present invention is based on the expansion operation performed on the data structure of the target message, the message content of the target message may support any type of message, specifically, may include text, pictures, links, and the like, and may also include a merged message obtained through the merging function. The reference to the combined message is that the current client user can quickly understand the content to be expressed by other users in order to facilitate the other users to quickly understand the content, selectively combine several continuous session messages or several discontinuous session messages, further reference the combined message, and send out the session message and the content to be expressed (text content) together, so that the other users can more fully and quickly understand the information content of communication interaction after reading the text content and clicking reference message to jump to read the combined message; and the mode of combining the messages can also save the space area occupied by the whole new message on the interface, so that the user can conveniently check the message.
The embodiment can support the reference of various types of messages, greatly enriches the use scenes or use situations of the reference messages, and further improves the user quantity of the corresponding client.
In a specific embodiment, the expanding the data structure of the target message in step S206 to obtain the reference message, as shown in fig. 6, may include:
s402, acquiring an identification field for identifying the target message;
in detail, when an instruction for issuing the target message is detected, the client acquires a unique identification field for identifying the target message from a server. That is, the identification field is field information for finding the location of the target message. Wherein, for the messages in instant communication, each conversation message has a message unique ID, and the message unique ID can be generated by the server and sent together with the messages.
S404, adding attribute information for recording and quoting the target message in a data structure of the target message to obtain the quoting message; the attribute information includes a message object of the target message itself, and the identification field.
Specifically, the present embodiment adds attribute information referencing the target message to a corresponding data structure based on an existing message interface, so as to obtain the reference message. And searching the position of the target message by using the reference message after obtaining the touch operation instruction by using the attribute information.
In detail, the attribute information includes a Message object (Message object) of the target Message itself and the identification field (ID information). The Message object can directly acquire the type and content of an original Message (target Message), and the Message content of the original Message can be conveniently displayed in a sent new Message (including a reference Message and a text Message). The ID information is a unique message identifier acquired from a server when the message is sent and is used for searching the original message; a jump of the help page from the quote message to the original message; so that when the quote message is clicked, the current position can jump directly to the position of the original message.
It should be noted that, in this specification, the order of the input operation of the text message and the reference operation of the target message may not be limited. The input of the text message can be carried out firstly, and then the reference of the target message is carried out; or, the target message is quoted first, and then the text message is input.
And S208, sending the reference message and the corresponding text message, and forwarding, displaying and outputting the reference message and the text message.
Specifically, the message sending client sends the reference message and the corresponding text message to a server, and then the server forwards the reference message and the text message to the butted message receiving client; and sending and displaying the reference message and the text message on an interface of the corresponding client.
Furthermore, the reference message can enable the page where the reference message is located to jump to the page where the corresponding target message is located when the user corresponding to the client touches and clicks; and further help the user quickly find out the related context information, thereby helping the user to know the detailed content and context of the current chat.
It should be noted that not only the display of the reference message and the viewing of the corresponding target message can be performed on the message receiving client. After the message sending client sends out the new message, the sent reference message and the corresponding target message can be displayed on the interface of the message sending client, so that a message sender can be helped to check whether the situation position of the referenced target message can effectively explain the content which is required to be expressed or communicated; therefore, the method can help the user to check the correctness and validity of the content of the reference message.
According to the application diagram in the actual scene, the description is given in conjunction with fig. 7(a) and 7 (b):
in a session message interface, a user can trigger a message reference logic by long-pressing a message bubble where a target message is located;
after the reference message is sent, by clicking the reference part of the message bubble (for example, "yakeli: a PPT needs to be prepared again and the expiration date is friday" shown in fig. 7 (a)), the message position of the reference original text can be jumped to, and the message original text is highlighted (for example, "yakeli: a PPT needs to be prepared again and the expiration date is friday" shown in fig. 7 (b)), so that the reading by the user is facilitated.
Fig. 7(a) is a reference message bubble style, which includes an application to plain text, and a reference to a file. And (b) is shown as figure 7 for the highlighted style expression after the reference message jumps to the original text.
The message processing method provided by the embodiment can intuitively and simply display the quote message, can support quote of various message types, and can jump to the position of the quote message to view the original text in a concise operation and high-efficiency processing manner, so that a user can quickly and effectively understand the context in a chat scene.
The instant messaging message processing method provided by the embodiment specifically relates to the interaction of information of a first client (a message sending client), a server and a second client (a message receiving client); in detail, as shown in fig. 8, the method may include:
s602, a first client acquires a reference instruction corresponding to a target message;
specifically, the first client (message sending client) can, when detecting that the touch operation of the user on the target message conforms to the preset operation parameter, pop up a reference menu on the target message interface, where the reference menu includes reference indication information (reference key); further, when it is detected that the user selects the reference indication information through touch operation, the first client obtains a corresponding reference instruction.
S604, the first client displays the target message in an area corresponding to an edit box according to the reference instruction;
specifically, after the first client acquires the reference instruction, the message content (referred message content) of the target message is displayed in an area where an edit box corresponding to a current interface of the first client is located; that is, the message content of the target message and the edit box of the information to be input are in the same fixed area; when sliding the historical conversation message on the first client, the message content of the target message is fixed as the edit box, and does not scroll along with the scrolling of the historical conversation message.
And the message content of the target message is located at a position outside the edit box. The message content of the targeted message is typically presented above the edit box, typically in accordance with the user's usage and visual habits, and to facilitate the user's viewing of historical messages on the interface.
It should be noted that, when the message content is displayed above the edit box, the user identifier of the client is simultaneously acquired and displayed together. The user identifier of the client is, for example, an account name, a user nickname or an avatar of a sender under the client who previously sent the target message.
And, while the message content is displayed above the edit box, deletion instruction information (such as an identification of an "x" generated at a right position of the message content) is generated at the same time.
The message content of the target message displayed above the edit box must be presented as an integral content, and the user can delete the integral message content to quickly replace the target message or adjust the target message without using a reference function. In the embodiment, the overall deletion operation of the message content of the target message is efficient and simple, and the experience of the user is improved.
It is further noted that, if the message content is a long message, the client displays only one line of content of the message content on the interface when the message content of the target message is displayed at the position above the edit box. I.e. only a part of the information of the beginning of the message content is presented above the edit box and an ellipsis (…) is used at the end of the display text to give a prompt for content omission. The content amount of a line of content that can be displayed above the edit box is calculated according to the set text display parameters (such as font size and font style).
If the message content is a picture, when the message content of the target message is displayed at a position above the edit box, the client displays the referenced picture above the edit box according to a set picture display parameter (such as a scaled size).
S606, when the first client detects that the text message input in the edit box sends out an instruction, expanding the data structure of the target message to obtain a reference message;
specifically, a user of the first client inputs a text message in the edit box, and sends the text message by clicking sending indication information corresponding to the edit box; since the content of the reference message outside the edit box is in the same fixed area as the edit box and can receive the same issuing instruction, the content of the reference message is issued together when the text message is issued.
Correspondingly, when the client acquires the sending instruction of the text message and the sending instruction of the message content of the target message, the client expands the data structure of the target message to acquire the attribute information for recording the position of the target message, so that the message content of the target message displayed after sending becomes the reference message. When the reference message is touched and operated, the reference message can be quickly and directly jumped to the position of the target message according to the recorded attribute information corresponding to the position of the target message; therefore, the user can effectively view the context message and know the communication situation of the internal personnel.
It should be noted that, since the present invention is based on the expansion operation performed on the data structure of the target message, the message content of the target message may support any type of message, specifically, may include text, pictures, links, and the like, and may also include a merged message obtained through the merging function.
Specifically, expanding the data structure of the target message to obtain the reference message may include:
the first client acquires an identification field for identifying the target message from a server;
the first client adds attribute information for recording and quoting the target message in a data structure of the target message to obtain the quoting message; the attribute information may include a message object of the target message itself, and the identification field.
The first client adds attribute information for recording and quoting the target message to a data structure of the target message to obtain the quoting message; the reference message can realize skipping for searching the corresponding target message. Wherein, because of the extension based on the data structure, the reference of any type of message can be realized in the present embodiment.
In detail, the attribute information includes a Message object (Message object) of the target Message itself and the identification field (ID information). The Message object can directly acquire the type and content of an original Message (target Message), and the Message content of the original Message can be conveniently displayed in a sent new Message (including a reference Message and a text Message). The ID information is a unique message identifier acquired from a server when the message is sent and is used for searching the original message; so that when the quote message is clicked, the current position can jump directly to the position of the original message.
S608, the first client sends the reference message and the corresponding text message to a server;
s610, the server forwards the reference message and the text message to a second client;
and S612, the second client displays and outputs the reference message and the text message.
Specifically, when the first client (messaging client) sends the reference message and the corresponding text message on an interface, the first client sends the reference message and the text message to a server on the bottom layer; and then forwarding the reference message and the corresponding text message to a second client (message receiving client) through the server, so that the reference message and the corresponding text message are displayed and output at the second client.
It should be noted that the interaction roles of the first client and the second client may be interchanged; that is, the second client may also serve as a message sending client to implement the functions implemented by the first client in the foregoing embodiments, and correspondingly, the first client may also serve as a message receiving client to implement the functions implemented by the second client in the foregoing embodiments.
In a specific embodiment, the displaying and outputting, by the second client, the reference message and the text message in step S612, as shown in fig. 9, may include:
s802, the second client side obtains a first display parameter;
s804, according to the first display parameter, the second client displays and outputs the reference message and the client information which sends out the corresponding message content.
In detail, when the reference message and the text message are displayed and output, on a display interface, the message content of the reference message and the account information of the client side which previously sent the corresponding message content are displayed and output according to the set first display parameter.
Wherein, the message content and the account information can be displayed and output in the form of a first display parameter; the data can also be displayed by the background of the message content and the account information in the form of the first display parameter; or different display parameters are respectively set for the self content and the background to display and output.
If display parameters are set for the message content and the corresponding account information, and if the message content and the corresponding account information contain characters, the display parameters of the characters can comprise colors, sizes, fonts and the like; if the picture is included, the display parameters of the picture may include color, size, and the like. Wherein if display parameters are set for the background of the message content and the account information, the display parameters may include color, etc. For example, the color of the text may be set to "green", the size of the text may be set to "small", the font may be set to "song style", and the background color may be set to "yellow", etc.; the embodiment can help the user to identify and operate the content more efficiently and obviously by setting different display parameters according to the needs of the user.
Preferably, in order to distinguish whether the sent message contains the reference message or not more quickly and to distinguish the content of the reference message and the content of the body message more effectively, the background of the message content and the account information is generally selected and output in the form of the first display parameter.
Taking enterprise WeChat as an example, in a message bubble sent by the reference message and the text message together, if a first display parameter of background display of the reference message (corresponding message content and account information) in the new message is set to be gray, the reference message and the text message can be effectively distinguished through a background (such as transparent) with a primary color where the text message is located on the gray background of the reference message; and further enabling the corresponding client user to link the current page to the page where the corresponding target message is located through touch operation, and checking the context message.
In one possible embodiment, as shown in fig. 10, the method further comprises:
s614, the second client acquires a touch instruction corresponding to the reference message;
s616, according to the touch instruction, the second client jumps the position of the reference message to the position of the target message.
In detail, when the new message (including the reference message and the corresponding text message) is displayed on the client interface, for a second client user, the reference message can be clicked through touch control, and the position of the reference message is jumped to the position of the corresponding target message according to the attribute information in the reference message data structure.
It should be noted that, the portion for setting the display parameters in this specification may generate a control that the user can select at the "setting" position of the corresponding client, so that the user can adjust the display parameters according to his own needs or personal visual conditions.
It is further explained that the whole process of the embodiment includes a process of initiating a reference and a process of viewing a target message;
as shown in fig. 11, the process of initiating the reference may include:
the first client detects a long-press operation on the target message, and initiates reference indication information (a reference key is output on an interface) when the long-press operation reaches a preset operation parameter;
when detecting a reference instruction corresponding to the reference indication information, the first client displays the message content of the target message in the same area of the edit box and above the edit box;
the first client acquires ID information for inquiring the position of a corresponding target message (original message) from a server when the first client detects the message content and the sending instruction of the text content in the corresponding edit box;
the first client sets the Message object of the target Message and the acquired ID information into attribute information of the target Message, and constructs a reference Message;
meanwhile, the first client sends the reference message and the corresponding text message to a server;
the server forwards the reference message and the corresponding text message to the second client;
the second client analyzes the reference message and the corresponding text message; analyzing the Message object added in the reference Message to obtain the type (text, picture, file and the like) and specific content of the target Message;
and the second client nestedly displays the reference message in a message bubble sent together with the body message according to the type and the specific content of the target message by using the specific display parameter.
As shown in fig. 12, the process of viewing the target message (the second client jumps to the position of the target message from the position of the quote message) includes:
the second client acquires a touch instruction (namely an instruction for clicking and viewing the original text of the reference message) for operating the reference message by the user;
the second client analyzes the data structure of the reference message to obtain attribute information used for recording the target message in the reference message; specifically, the attribute information includes a message object (the type and content of the target message and the account number for sending the target message) and an identification field for indicating the location of the target message (i.e. ID information of the target message);
when the message content of the target message is displayed on the edit box through touch operation (such as long-time pressing), the local client records the currently cited message content in the memory, and can query the target message according to the information stored by the client; so, this may then include:
inquiring whether the target message exists in a local message library or not according to the attribute information; specifically, by matching the message object, when the type and content of the target message and the account number for sending the target message are successfully matched, an identification field for indicating the position of the target message is further acquired, and the page is skipped.
That is, if the target message exists (the type and the content of the target message and the account for sending the target message are all successfully matched), whether the target message is located in the cache of the current session message flow is judged; if the current conversation message flow is in the cache, directly jumping to the position of the target message according to the position information in the cache; if the current conversation message flow is not in the cache of the current conversation message flow, loading the previous conversation message into the cache in a batch mode or in a paging mode until the target message is loaded; at the moment, jumping to the position of the target message according to the found path position of the target message in the cache;
if the target message does not exist, the target message is indicated to be possibly deleted or withdrawn, and a prompt message of 'target message does not exist' is output on a corresponding interface.
It should be noted that the session message before batch loading or paging loading is sequentially loaded and judged from the time of sending the referral message, according to the session time at intervals, from the page closest in time to the page farther in time; the loading process can be judging the loading page by page, or can be judging the loading and judging the multiple pages.
It should be noted that, in this embodiment, after sending the new message, the first client (message sending client) is also displayed on the corresponding client interface, and at this time, the first client can also perform touch operation on the reference message to realize viewing and information verification of the corresponding target message.
In one embodiment, the jumping the location of the reference message to the location of the target message by the second client in step S616 may include, as shown in fig. 13:
s618, the second client acquires a second display parameter;
and S620, according to the second display parameter, the second client dynamically displays the background area of the target message.
Specifically, after the second client jumps to the position of the target message from the position of the quote message, the target message can be dynamically displayed based on the set second display parameter. Specifically, the second display parameter may include a display color and a corresponding change frequency of the display color, where the display color may be one color or a plurality of colors; when the display color is a color, the display color can be changed by flashing between a color and no color through changing frequency; when the display color is a plurality of colors, the display color may be changed by blinking between the plurality of colors by changing the frequency. By means of the dynamic display mode, the user is helped to efficiently judge the corresponding target message and know the corresponding context information.
Moreover, if a plurality of messages with the same message content as the target message exist on the page where the target message is located, the present embodiment can also help the current user to accurately know the correct target message and the corresponding originator information.
It should be noted that, on the basis that a new message (a first new message) is corresponding to a reference message (a first reference message) sent for the first time, where the first new message includes the first reference message and a first body message, if the reference function is used again, the corresponding message processing method includes:
S1A: the message sending client acquires a reference instruction corresponding to the first new message;
S2A: the message sending client acquires a first text message corresponding to the first new message according to the reference instruction;
S3A: the message sending client displays the message content of the first text message in the area where the corresponding edit box is located and above the edit box; causing the first text message and the edit box to be fixed together, the first text message and the content entered in the edit box to be sent together;
S4A: the message sending client acquires a second text message input in the edit box;
S5A: when the sending instructions of the second text message and the first text message are obtained, the message sending client expands the data structure of the first text message to obtain a second reference message; the process of obtaining the second reference message by expanding the data structure of the first text message is the same as the process of obtaining the reference message by expanding the data structure of the target message.
S6A: the message sending client sends the second reference message and the second text message to a server;
S7A: and the server forwards the second reference message and the second text message to the message receiving client.
As can be seen, on the basis of a new message obtained based on a previously sent reference message (a first reference message), if the reference function is used again, the content of the message referred to this time is the previous text message, that is, the nested reference only refers to the text part; therefore, the embodiment can clearly distinguish and know the quoted content, and the problem that the message reading is inconvenient because the previous quoted original text is still quoted when the quoted content is nested again is solved.
The invention can obviously present and distinguish the reference message and the text message, thereby helping a user to visually check the message content and quickly understand the message context. In addition, the reference message sent by the invention has attribute information (including an identification field for recording the position of the corresponding target message, the message type and the content) for recording and referencing the target message, and the page of the current reference message can be jumped to the page of the corresponding target message from the page of the current reference message through the attribute information under the condition that the reference message is sent by the touch of a user; therefore, in the link of the sent reference message, the corresponding target message is associated with the context message thereof; when jumping to the target message page, the user can further check more detailed message content and context, and communication efficiency of the same client is improved. Moreover, the invention can support any type of message based on the expansion of the data structure of the message, and enlarges the use scene of the reference message; the user experience and the user viscosity of the client are improved.
An embodiment of the present specification provides an instant messaging message processing apparatus, as shown in fig. 14, the apparatus includes:
a reference instruction obtaining module 202, configured to obtain a reference instruction corresponding to the target message;
a target message display module 204, configured to display the target message in an area corresponding to the edit box according to the reference instruction;
a reference message obtaining module 206, configured to, when an instruction for sending a text message in the edit box is detected, expand a data structure of the target message to obtain a reference message;
and a message sending module 208, configured to send the reference message and the corresponding text message, so that the reference message and the text message are forwarded, displayed and output.
In a specific embodiment, the reference message obtaining module 206, as shown in fig. 15, includes:
an identification field obtaining unit 402, configured to obtain an identification field for identifying the target message;
an attribute information adding unit 404, configured to add, in a data structure of the target message, attribute information for recording and referring to the target message, so as to obtain the reference message; the attribute information includes a message object of the target message itself, and the identification field.
The message object corresponds to the type information and the content information of the target message, and the identification field corresponds to the field information for searching the position of the target message.
An embodiment of the present specification provides an instant messaging message processing apparatus, as shown in fig. 16, the apparatus includes:
a reference instruction obtaining module 602, configured to enable a first client to obtain a reference instruction corresponding to a target message;
a target message display module 604, configured to enable the first client to display the target message in an area corresponding to the edit box according to the reference instruction;
a reference message obtaining module 606, configured to, when the first client detects that a text message sending instruction input in the edit box is issued, expand a data structure of the target message to obtain a reference message;
a message sending module 608, configured to enable the first client to send the reference message and the corresponding text message to a server;
a message forwarding module 610, configured to enable the server to forward the reference message and the text message to a second client;
a message output module 612, configured to enable the second client to display and output the reference message and the text message.
In a possible implementation, the referral message obtaining module 606 includes:
an identification field obtaining unit, configured to enable the first client to obtain an identification field for identifying the target message;
a reference message obtaining unit, configured to add, by the first client, attribute information for recording reference to the target message in a data structure of the target message, so as to obtain the reference message; the attribute information includes a message object of the target message itself, and the identification field.
In one possible embodiment, as shown in fig. 17, the apparatus further includes an information location jump module 614, and the location jump module includes:
a touch instruction obtaining unit 802, configured to enable the second client to obtain a touch instruction corresponding to the reference message;
an information location jumping unit 804, configured to, according to the touch instruction, make the second client jump the location where the reference message is located to the location where the target message is located.
Further, in a possible implementation manner, as shown in fig. 18, the apparatus further includes a message background dynamic display module 616, where the message background dynamic display module includes:
a second display parameter obtaining unit 1002, configured to enable the second client to obtain a second display parameter;
a message background dynamic display unit 1004, configured to enable the second client to dynamically display a background area of the target message according to the second display parameter.
In a specific embodiment, the message output module 612 includes:
a first display parameter obtaining unit, configured to enable the second client to obtain a first display parameter;
and the message output unit is used for enabling the second client to display and output the reference message and the client information which sends out the corresponding message content according to the first display parameter.
It should be noted that the device embodiment has the same inventive concept as the method embodiment.
An embodiment of the present specification further provides a schematic structural diagram of an instant messaging message processing apparatus, as shown in fig. 19, the apparatus may be configured to implement the message processing method provided in the foregoing method embodiment. Specifically, the method comprises the following steps:
the device may include RF (Radio Frequency) circuitry 2010, memory 2020 including one or more computer readable storage media, an input unit 2030, a display unit 2040, a sensor 2050, audio circuitry 2060, a WiFi (wireless fidelity) module 2070, a processor 2080 including one or more processing cores, and a power supply 2090. Those skilled in the art will appreciate that the configuration of the device shown in fig. 19 does not constitute a limitation of the device and may include more or fewer components than those shown, or some components may be combined, or a different arrangement of components. Wherein:
RF circuit 2010 may be configured to receive and transmit signals during a message transmission or call, and in particular, receive downlink messages from a base station and then send the received downlink messages to one or more processors 2080 for processing; in addition, data relating to uplink is transmitted to the base station. In general, RF circuitry 2010 includes, but is not limited to, an antenna, at least one amplifier, a tuner, one or more oscillators, a Subscriber Identity Module (SIM) card, a transceiver, a coupler, an LNA (low noise amplifier), a duplexer, and the like. In addition, RF circuit 2010 may also communicate with networks and other devices via wireless communications. The wireless communication may use any communication standard or protocol, including but not limited to GSM (Global System for mobile communications), GPRS (General Packet Radio Service), CDMA (Code Division multiple access), WCDMA (Wideband Code Division multiple access), LTE (Long Term Evolution), email, SMS (Short Messaging Service), etc.
The memory 2020 may be used for storing software programs and modules, and the processor 2080 executes various functional applications and data processing by operating the software programs and modules stored in the memory 2020. The memory 2020 may mainly include a program storage area and a data storage area, wherein the program storage area may store an operating system, application programs required for functions, and the like; the storage data area may store data created according to use of the apparatus, and the like. Further, the memory 2020 may include high-speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 2020 may also include a memory controller to provide access to the memory 2020 by the processor 2080 and the input unit 2030.
The input unit 2030 may be used to receive input numeric or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user setting and function control. In particular, the input unit 2030 may include a touch-sensitive surface 2031 and other input devices 2032. The touch-sensitive surface 2031, also referred to as a touch-sensitive display screen or touch pad, may collect touch operations by a user (e.g., operations by a user on or near the touch-sensitive surface 2031 using a finger, a stylus, or any other suitable object or attachment) on or near the touch-sensitive surface 2031 and drive the corresponding connection means according to a predetermined program. Alternatively, the touch-sensitive surface 2031 may comprise two parts, a touch detection device and a touch controller. The touch detection device detects the touch direction of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch sensing device, converts the touch information into touch point coordinates, sends the touch point coordinates to the processor 2080, and can receive and execute commands sent by the processor 2080. Additionally, the touch-sensitive surface 2031 can be implemented using a variety of types, such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 2030 may include other input devices 2032 in addition to the touch-sensitive surface 2031. In particular, other input devices 2032 may include, but are not limited to, one or more of a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and the like.
The display unit 2040 may be used to display information input by or provided to the user as well as various graphical user interfaces of the device, which may be made up of graphics, text, icons, video, and any combination thereof. The Display unit 2040 may include a Display panel 2041, and optionally, the Display panel 2041 may be configured in the form of an LCD (Liquid Crystal Display), an OLED (Organic Light-Emitting Diode), or the like. Further, the touch-sensitive surface 2031 may overlay the display panel 2041 and, upon detection of a touch operation on or near the touch-sensitive surface 2031, communicate to the processor 2080 to determine the type of touch event, and the processor 2080 then provides a corresponding visual output on the display panel 2041 based on the type of touch event. Where the touch-sensitive surface 2031 and the display panel 2041 may be two separate components for input and output functions, in some embodiments the touch-sensitive surface 2031 may be integrated with the display panel 2041 for input and output functions.
The device can also include at least one sensor 2050, such as a light sensor, motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that adjusts the brightness of the display panel 2041 according to the brightness of ambient light, and a proximity sensor that turns off the display panel 2041 and/or backlight when the device is moved to the ear. As one of the motion sensors, the gravity acceleration sensor can detect the magnitude of acceleration in each direction (generally, three axes), detect the magnitude and direction of gravity when the device is stationary, and can be used for applications of recognizing the device posture (such as horizontal and vertical screen switching, related games, magnetometer posture calibration), vibration recognition related functions (such as pedometer and tapping), and the like; as for other sensors such as a gyroscope, a barometer, a hygrometer, a thermometer, and an infrared sensor, which can be configured to the device, detailed description is omitted here.
The audio circuitry 2060, speaker 2061, microphone 2062 may provide an audio interface between a user and the device. The audio circuit 2060 may transmit the electrical signal converted from the received audio data to the speaker 2061, and convert the electrical signal into a sound signal for output by the speaker 2061; on the other hand, the microphone 2062 converts collected sound signals into electrical signals, which are received by the audio circuit 2060 and converted into audio data, which are then processed by the audio data output processor 2080, and then transmitted to, for example, another device via the RF circuit 2010, or output to the memory 2020 for further processing. The audio circuit 2060 may also include an earbud jack to provide communication of peripheral headphones with the device.
WiFi belongs to a short-distance wireless transmission technology, and the device can help a user send and receive e-mails, browse webpages, access streaming media, and the like through the WiFi module 2070, and provides wireless broadband internet access for the user. Although fig. 19 shows the WiFi module 2070, it is understood that it does not belong to the essential constitution of the device, and may be omitted entirely as needed within the scope not changing the essence of the invention.
The processor 2080 is the control center for the device, interfaces and connections for the various parts of the overall device, and performs the overall monitoring of the device by running or executing software programs and/or modules stored in the memory 2020, as well as by invoking data stored in the memory 2020 to perform various functions on the device and process the data. Optionally, the processor 2080 may include one or more processing cores; preferably, the processor 2080 may integrate an application processor, which handles primarily the operating system, user interface, and applications, etc., and a modem processor, which handles primarily wireless communications. It will be appreciated that the modem processor described above may not be integrated into the processor 2080.
The device also includes a power supply 2090 (e.g., a battery) to power the various components, which may preferably be logically coupled to the processor 2080 via a power management system to manage charging, discharging, and power consumption management via the power management system. The power supply 2090 may include one or more dc or ac power sources, a recharging system, a power failure detection circuit, a power converter or inverter, a power status indicator, and any other components.
Although not shown, the device may further include a camera, a bluetooth module, etc., which will not be described herein. Specifically, in this embodiment, the display unit of the apparatus is a touch screen display, the apparatus further includes a memory, and one or more programs, where the one or more programs are stored in the memory and configured to be executed by the one or more processors according to the instructions of the method embodiments of the present invention.
The present specification embodiments provide a computer readable storage medium having stored therein at least one instruction, at least one program, code set, or set of instructions, which is loaded and executed by a processor to implement a message processing method according to any one of the above method embodiments.
Optionally, in this embodiment, the storage medium may be located in at least one network device of a plurality of network devices of a computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk, which can store program codes.
It should be noted that: the sequence of the embodiments in this specification is merely for description, and does not represent the advantages or disadvantages of the embodiments. And specific embodiments thereof have been described above. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, as for the device and server embodiments, since they are substantially similar to the method embodiments, the description is simple, and the relevant points can be referred to the partial description of the method embodiments.
It will be understood by those skilled in the art that all or part of the steps for implementing the above embodiments may be implemented by hardware, or may be implemented by a program instructing relevant hardware, where the program may be stored in a computer-readable storage medium, and the above-mentioned storage medium may be a read-only memory, a magnetic disk or an optical disk, etc.
The above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (10)

1. An instant messaging message processing method, the method comprising:
acquiring a reference instruction corresponding to a target message;
displaying the target message in an area corresponding to an edit box according to the reference instruction; the target message and the edit box are in the same fixed area, and the target message is positioned outside the edit box;
when an instruction for sending the text message in the edit box is detected, expanding the data structure of the target message to obtain a reference message;
sending the reference message and the corresponding text message to enable the reference message and the text message to be forwarded, displayed and output;
the expanding the data structure of the target message to obtain a reference message includes:
acquiring an identification field for identifying the target message;
adding attribute information for recording and quoting the target message in a data structure of the target message to obtain the quoting message; the attribute information comprises a message object of the target message and the identification field; the message object corresponds to the type information and the content information of the target message, and the identification field corresponds to the field information for searching the position of the target message.
2. An instant messaging message processing method, the method comprising:
a first client acquires a reference instruction corresponding to a target message;
the first client displays the target message in an area corresponding to the edit box according to the reference instruction; the target message and the edit box are in the same fixed area, and the target message is positioned outside the edit box;
when the first client detects an instruction for sending a text message input in the edit box, expanding a data structure of the target message to obtain a reference message;
the first client sends the reference message and the corresponding text message to a server;
the server forwards the reference message and the text message to a second client;
the second client displays and outputs the reference message and the text message;
the expanding the data structure of the target message to obtain a reference message includes:
the first client acquires an identification field for identifying the target message;
the first client adds attribute information for recording and quoting the target message in a data structure of the target message to obtain the quoting message; the attribute information comprises a message object of the target message and the identification field; the message object corresponds to the type information and the content information of the target message, and the identification field corresponds to the field information for searching the position of the target message.
3. The message processing method of claim 2, wherein the method further comprises:
the second client acquires a touch instruction corresponding to the reference message;
and according to the touch instruction, the second client jumps the position of the reference message to the position of the target message.
4. The message processing method according to claim 3, wherein the second client jumps the reference message to the target message, and thereafter comprises:
the second client acquires a second display parameter;
and dynamically displaying the background area of the target message by the second client according to the second display parameter.
5. The message processing method of claim 2, wherein the second client outputs the quote message and the text message display, and comprises:
the second client side obtains a first display parameter;
and according to the first display parameter, the second client displays and outputs the reference message and the client information which sends out the corresponding message content.
6. An instant messaging message processing apparatus, the apparatus comprising:
the reference instruction acquisition module is used for acquiring a reference instruction corresponding to the target message;
the target message display module is used for displaying the target message in an area corresponding to the edit box according to the reference instruction; the target message and the edit box are in the same fixed area, and the target message is positioned outside the edit box;
a reference message obtaining module, configured to, when an instruction for sending a text message in the edit box is detected, expand a data structure of the target message to obtain a reference message;
the message sending module is used for sending the reference message and the corresponding text message, so that the reference message and the text message are forwarded, displayed and output;
the quote message obtaining module includes:
an identification field acquiring unit, configured to acquire an identification field for identifying the target message;
an attribute information adding unit, configured to add, in a data structure of the target message, attribute information for recording and referencing the target message, to obtain the reference message; the attribute information comprises a message object of the target message and the identification field; the message object corresponds to the type information and the content information of the target message, and the identification field corresponds to the field information for searching the position of the target message.
7. An instant messaging message processing apparatus, the apparatus comprising:
the reference instruction acquisition module is used for enabling the first client to acquire a reference instruction corresponding to the target message;
the target message display module is used for enabling the first client to display the target message in an area corresponding to the edit box according to the reference instruction; the target message and the edit box are in the same fixed area, and the target message is positioned outside the edit box;
a reference message obtaining module, configured to, when the first client detects that a text message input in the edit box issues an instruction, expand a data structure of the target message to obtain a reference message;
a message sending module, configured to enable the first client to send the reference message and a corresponding text message to a server;
the message forwarding module is used for enabling the server to forward the reference message and the text message to a second client side;
the message output module is used for enabling the second client to display and output the reference message and the text message;
the quote message obtaining module includes:
an identification field obtaining unit, configured to enable the first client to obtain an identification field for identifying the target message;
a reference message obtaining unit, configured to add, by the first client, attribute information for recording reference to the target message in a data structure of the target message, so as to obtain the reference message; the attribute information comprises a message object of the target message and the identification field; the message object corresponds to the type information and the content information of the target message, and the identification field corresponds to the field information for searching the position of the target message.
8. The instant messaging message processing apparatus of claim 7, wherein the apparatus further comprises a message context dynamic display module, the message context dynamic display module comprising:
a second display parameter obtaining unit, configured to enable the second client to obtain a second display parameter;
and the message background dynamic display unit is used for enabling the second client to dynamically display the background area of the target message according to the second display parameter.
9. An apparatus comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the message processing method of claim 1 or the message processing method of any of claims 2 to 5.
10. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the message processing method of claim 1 or the message processing method of any of claims 2 to 5.
CN201810897719.8A 2018-08-08 2018-08-08 Instant communication message processing method, device, equipment and storage medium Active CN109361592B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810897719.8A CN109361592B (en) 2018-08-08 2018-08-08 Instant communication message processing method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810897719.8A CN109361592B (en) 2018-08-08 2018-08-08 Instant communication message processing method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN109361592A CN109361592A (en) 2019-02-19
CN109361592B true CN109361592B (en) 2021-04-20

Family

ID=65349821

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810897719.8A Active CN109361592B (en) 2018-08-08 2018-08-08 Instant communication message processing method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN109361592B (en)

Families Citing this family (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109939445B (en) * 2019-04-12 2023-04-07 网易(杭州)网络有限公司 Information processing method and device, electronic equipment and storage medium
CN112311650B (en) * 2019-07-23 2022-04-19 腾讯科技(深圳)有限公司 Session information loading method, device and storage medium
CN111131002B (en) * 2019-12-30 2022-06-03 论客科技(广州)有限公司 Method, system and storage medium for tracing chat records
CN111130818A (en) * 2019-12-30 2020-05-08 论客科技(广州)有限公司 Group message reply method, device and storage medium
CN111782829A (en) * 2020-05-21 2020-10-16 香港乐蜜有限公司 Instant messaging session message processing method and device and electronic equipment
CN112448884A (en) * 2020-11-11 2021-03-05 维沃移动通信(杭州)有限公司 Content saving method and device
CN112462987A (en) * 2020-11-24 2021-03-09 维沃移动通信(杭州)有限公司 Input box display method and device and electronic equipment
CN113407710A (en) * 2021-06-07 2021-09-17 维沃移动通信有限公司 Information display method and device, electronic equipment and readable storage medium
CN113472631B (en) * 2021-06-24 2023-07-11 北京达佳互联信息技术有限公司 Reminding information processing method and device, electronic equipment and storage medium
CN114422461A (en) * 2022-01-04 2022-04-29 维沃移动通信有限公司 Message reference method and device

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996959A (en) * 2005-12-31 2007-07-11 腾讯科技(深圳)有限公司 Instant communication terminal and message reference method for instant communication
CN103269303A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Group exchange message distribution method and system
CN104052655A (en) * 2014-06-27 2014-09-17 上海梦荻网络科技有限公司 Group chatting method and instant messaging client-side
CN104572883A (en) * 2014-12-22 2015-04-29 东软集团股份有限公司 Method and device for implementing quick replies and clues between comments
CN106020595A (en) * 2016-05-12 2016-10-12 腾讯科技(深圳)有限公司 Message reply method and apparatus

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20150033148A1 (en) * 2013-07-23 2015-01-29 Salesforce.Com, Inc. Private screen sharing functionality in an information networking environment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1996959A (en) * 2005-12-31 2007-07-11 腾讯科技(深圳)有限公司 Instant communication terminal and message reference method for instant communication
CN103269303A (en) * 2012-12-18 2013-08-28 北京奇虎科技有限公司 Group exchange message distribution method and system
CN104052655A (en) * 2014-06-27 2014-09-17 上海梦荻网络科技有限公司 Group chatting method and instant messaging client-side
CN104572883A (en) * 2014-12-22 2015-04-29 东软集团股份有限公司 Method and device for implementing quick replies and clues between comments
CN106020595A (en) * 2016-05-12 2016-10-12 腾讯科技(深圳)有限公司 Message reply method and apparatus

Also Published As

Publication number Publication date
CN109361592A (en) 2019-02-19

Similar Documents

Publication Publication Date Title
CN109361592B (en) Instant communication message processing method, device, equipment and storage medium
US11044219B2 (en) Message forwarding method and electronic device
US10275295B2 (en) Method and apparatus for presenting clipboard contents on a mobile terminal
CN106059894B (en) Message processing method and device
CN108021316B (en) Message display method and device
US20150211866A1 (en) Place of interest recommendation
CN106375179B (en) Method and device for displaying instant communication message
CN112637039B (en) Information processing method, device and storage medium
CN110278141B (en) Instant messaging information processing method and device and storage medium
WO2015039523A1 (en) Multimedia file processing method and apparatus and terminal device
CN109309696B (en) Folder transmission method, sender, receiver, and storage medium
CN106293738B (en) Expression image updating method and device
CN106775194B (en) Application interface switching method and device
CN106250122B (en) Information prompting method and device
US9961177B2 (en) Method and device for adding contact information
US20140379824A1 (en) Apparatuses and methods for web page sharing
US10678427B2 (en) Media file processing method and terminal
WO2014194688A1 (en) Webpage processing method and terminal device
WO2014206037A1 (en) Apparatuses and methods for web page sharing
WO2015032284A1 (en) Method, terminal device, and system for instant messaging
CN110300047B (en) Animation playing method and device and storage medium
CN105095161B (en) Method and device for displaying rich text information
WO2015124060A1 (en) Login interface displaying method and apparatus
CN112333337A (en) Message checking method, device, equipment and storage medium
CN106850413B (en) Instant messaging information processing method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant