CN112702255A - Instant messaging message processing method and device and electronic equipment - Google Patents

Instant messaging message processing method and device and electronic equipment Download PDF

Info

Publication number
CN112702255A
CN112702255A CN201911013775.1A CN201911013775A CN112702255A CN 112702255 A CN112702255 A CN 112702255A CN 201911013775 A CN201911013775 A CN 201911013775A CN 112702255 A CN112702255 A CN 112702255A
Authority
CN
China
Prior art keywords
message
instant messaging
selection
interface
list
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.)
Pending
Application number
CN201911013775.1A
Other languages
Chinese (zh)
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 CN201911013775.1A priority Critical patent/CN112702255A/en
Publication of CN112702255A publication Critical patent/CN112702255A/en
Pending legal-status Critical Current

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/21Monitoring or handling of messages
    • H04L51/214Monitoring or handling of messages using selective forwarding
    • 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/52User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail for supporting social networking services

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computing Systems (AREA)
  • User Interface Of Digital Computer (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application provides a method, a device, a medium and an electronic device for processing an instant messaging message. The processing method of the instant communication message comprises the following steps: if a message selection instruction aiming at an instant communication group is received, displaying a message selection interface corresponding to the instant communication group; determining a message starting position and a message ending position in a message list of the instant messaging group according to message selection operation triggered by a user on the message selection interface; and determining the selected instant messaging message in the message list according to the message starting position and the message ending position so as to process the selected instant messaging message. According to the technical scheme, the selection efficiency of the plurality of messages is improved, the time and the operation cost in the message selection process are reduced, missed selection of the messages can be avoided, and the forwarding efficiency of the plurality of messages is improved.

Description

Instant messaging message processing method and device and electronic equipment
Technical Field
The present application relates to the field of computer and communication technologies, and in particular, to a method, an apparatus, a medium, and an electronic device for processing an instant messaging message.
Background
The instant messaging software is software for realizing online chatting and communication through an instant messaging technology, and the instant messaging software is usually integrated with a forwarding function, wherein the forwarding function is to forward a certain instant messaging message to other contacts. However, when a large amount of messages need to be forwarded, how to improve the efficiency of message forwarding is an urgent technical problem to be solved.
Disclosure of Invention
Embodiments of the present application provide a method, an apparatus, a medium, and an electronic device for processing an instant messaging message, so that efficiency of message selection and forwarding can be improved at least to a certain extent, and time and operation cost in a message selection and forwarding process can be reduced.
Other features and advantages of the present application will be apparent from the following detailed description, or may be learned by practice of the application.
According to an aspect of an embodiment of the present application, there is provided a method for processing an instant messaging message, including: if a message selection instruction aiming at an instant communication group is received, displaying a message selection interface corresponding to the instant communication group; determining a message starting position and a message ending position in a message list of the instant messaging group according to message selection operation triggered by a user on the message selection interface; and determining the selected instant messaging message in the message list according to the message starting position and the message ending position so as to process the selected instant messaging message.
According to an aspect of an embodiment of the present application, there is provided an instant messaging message processing apparatus, including: the first display unit is used for displaying a message selection interface corresponding to the instant messaging group when receiving a message selection instruction aiming at the instant messaging group; the first processing unit is used for determining a message starting position and a message ending position in a message list of the instant messaging group according to message selection operation triggered by a user on the message selection interface; and the second processing unit is used for determining the selected instant messaging message in the message list according to the message starting position and the message ending position so as to process the selected instant messaging message.
In some embodiments of the present application, based on the foregoing solution, the first processing unit is configured to: determining the message initial position selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface; and mapping to obtain the message termination position based on the set position on the message selection interface.
In some embodiments of the present application, based on the foregoing scheme, the set position includes a bottom position of the message selection interface; the first processing unit is configured to: and taking the position of the message which is above the bottom position of the message selection interface and is most adjacent to the bottom position as the message termination position.
In some embodiments of the present application, based on the foregoing solution, the first processing unit is configured to: and determining the message starting position and the message ending position which are respectively selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface.
In some embodiments of the present application, based on the foregoing scheme, a quick selection tab is displayed on the message selection interface; the first processing unit is configured to: detecting the moving operation of a user on the shortcut selection label, and taking the final position of the shortcut selection label as the message termination position; or detecting the moving operation of the user on the shortcut selection label, and taking the final position of the shortcut selection label as the initial position of the message; or detecting the moving operation of the user on the two shortcut selection labels, and respectively taking the final positions of the two shortcut selection labels as the message starting position and the message ending position.
In some embodiments of the present application, based on the foregoing solution, the instant messaging message processing apparatus further includes: and the third processing unit is used for updating the display state of the selected message in the current display interface of the terminal equipment into the selected state according to the selected instant communication message in the message list.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: acquiring the last instant communication message in the current display interface of the terminal equipment; determining a message area to be selected according to the positions of the last instant messaging message and the selected first instant messaging message in the message list; and updating the display state of the instant messaging message in the message area to be the selected state.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: obtaining a cell drawn in the message list; normalizing the position coordinates of the cells drawn in the message list and the position coordinates of the status bar in the current display interface into a specified coordinate system, and deleting the cells shielded by the status bar to obtain processed cells; and taking the message corresponding to the last cell in the processed cells as the last instant messaging message.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: if the selected first instant messaging message is positioned in front of the last instant messaging message in the message list, taking a message area between the selected first instant messaging message and the last instant messaging message as the message area to be selected; and if the last instant messaging message is positioned in front of the selected first instant messaging message in the message list, taking a message area between the selected first instant messaging message and the selected last instant messaging message as the message area to be selected.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: traversing the message model of the instant messaging message in the message area according to the linked list structure of the message model; if the message model contains a session content message model, updating the display state of the instant messaging message belonging to the session content message model into a selected state; and if the message model comprises a message submodel, updating the display state of the instant messaging message corresponding to the parent model of the message submodel into a selected state.
In some embodiments of the present application, based on the foregoing solution, the instant messaging message processing apparatus further includes: the second display unit is used for displaying a setting option in an instant messaging window when a trigger instruction of a first message in the instant messaging window is received, wherein the setting option is used for triggering an independent session window to be created with a sender of the first message; the creating unit is used for creating an individual session window with the sender when the triggering operation of the setting option is detected; and the sending unit is used for acquiring a reply message aiming at the first message and input by a user and sending the reply message to the individual session window.
In some embodiments of the present application, based on the foregoing, the second display unit is configured to: and displaying an interface menu in the instant messaging window, wherein the interface menu comprises the setting options.
In some embodiments of the application, based on the foregoing solution, the second display unit is further configured to adjust a display position of the setting option in the interface menu according to a display interface size of a terminal device or a model of the terminal device, so that the setting option is displayed on a home page of the interface menu.
In some embodiments of the present application, based on the foregoing scheme, the sending unit is configured to: generating a composite message according to the reply message and the first message; sending the composite message into the separate session window.
In some embodiments of the present application, based on the foregoing solution, the instant messaging message processing apparatus further includes: the third display unit is used for displaying prompt information aiming at a second message on a current display interface when the second message sent by any contact person is received and an independent conversation window between the current display interface and the contact person is not displayed, wherein the second message is generated according to a third message sent by the contact person, and the third message is a reply message aiming at a specified message sent by the contact person by triggering the setting option in an instant messaging window; and when the trigger operation of the prompt message is received, presenting a separate conversation window between the current display interface and the contact person.
According to an aspect of the embodiments of the present application, there is provided a computer readable medium, on which a computer program is stored, which when executed by a processor, implements the method for processing an instant messaging message as described in the above embodiments.
According to an aspect of an embodiment of the present application, there is provided an electronic device including: one or more processors; a storage device for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to implement the method of processing instant messaging messages as described in the embodiments above.
In the technical solutions provided in some embodiments of the present application, a message start position and a message end position are determined in a message list of an instant messaging group by a message selection operation triggered on a message selection interface by a user, and then a selected instant messaging message in the message list is determined according to the message start position and the message end position, so that each message does not need to be selected one by one when a plurality of messages are selected, and a plurality of messages can be selected at one time only by determining the message start position and the message end position, which not only improves the selection efficiency of a plurality of messages, reduces the time and operation cost in the message selection process, but also can avoid missing selection of messages, and further is beneficial to improving the forwarding efficiency of the plurality of messages.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and together with the description, serve to explain the principles of the application. It is obvious that the drawings in the following description are only some embodiments of the application, and that for a person skilled in the art, other drawings can be derived from them without inventive effort. In the drawings:
FIG. 1 shows a schematic diagram of an exemplary system architecture to which aspects of embodiments of the present application may be applied;
FIG. 2 illustrates a flow diagram of a method of processing an instant messaging message according to one embodiment of the present application;
FIG. 3 illustrates a flow diagram for updating the presentation status of selected messages according to one embodiment of the present application;
fig. 4 shows a flowchart for obtaining the last instant messaging message in the current display interface of the terminal device according to an embodiment of the present application;
FIG. 5 shows a flow diagram of a method of processing an instant messaging message according to another embodiment of the present application;
fig. 6 to 12 are schematic diagrams illustrating terminal interfaces of an instant messaging message in a forwarding process according to an embodiment of the present application;
FIG. 13 illustrates a classification diagram of an AIO message model according to one embodiment of the present application;
FIG. 14 illustrates a flow diagram for finding a message region in a message list that should be selected according to one embodiment of the present application;
FIG. 15 illustrates a flow diagram for screening the pickable message models in the pickable message region according to one embodiment of the present application;
FIGS. 16-23 show terminal interface diagrams of a separate reply process according to one embodiment of the present application;
FIG. 24 illustrates a flow diagram for individual reply to an instant messaging message, according to one embodiment of the present application;
FIG. 25 shows a block diagram of an instant messaging message processing device, according to an embodiment of the present application;
FIG. 26 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art.
Furthermore, the described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments. In the following description, numerous specific details are provided to give a thorough understanding of embodiments of the application. One skilled in the relevant art will recognize, however, that the subject matter of the present application can be practiced without one or more of the specific details, or with other methods, components, devices, steps, and so forth. In other instances, well-known methods, devices, implementations, or operations have not been shown or described in detail to avoid obscuring aspects of the application.
The block diagrams shown in the figures are functional entities only and do not necessarily correspond to physically separate entities. I.e. these functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor means and/or microcontroller means.
The flow charts shown in the drawings are merely illustrative and do not necessarily include all of the contents and operations/steps, nor do they necessarily have to be performed in the order described. For example, some operations/steps may be decomposed, and some operations/steps may be combined or partially combined, so that the actual execution sequence may be changed according to the actual situation.
Fig. 1 shows a schematic diagram of an exemplary system architecture to which the technical solution of the embodiments of the present application can be applied.
As shown in fig. 1, the system architecture 100 may include an instant messaging server 101 and clients (e.g., client 102a, client 102b, and client 102c shown in fig. 1, wherein the client may be a smart phone, a tablet, a portable computer, a desktop computer, etc.). The clients can communicate with each other through the instant messaging server 101, for example: voice calls, video messaging, text messaging, and the like. It should be understood that the number of instant messaging servers 101 and clients shown in fig. 1 is merely illustrative. There may be any number of instant messaging servers 101 and clients, as desired for the implementation.
Since the architecture of the embodiment of the present application is clear, in the following description, for the purpose of brief description, the instant messaging server 101 involved in the interaction process between the user terminals will be omitted without affecting understanding. For example: the process of sending the instant messaging message from the user terminal 102a to the user terminal 102b is implemented by the instant messaging server 101, that is, the user terminal 102a needs to send the instant messaging message to the instant messaging server 101 first, and then the instant messaging server 101 forwards the instant messaging message to the user terminal 102 b. In the description of the present application, the description of "the user terminal 102a sends an instant messaging message to the user terminal 102 b" is substantially implemented by the instant messaging server 101 without affecting understanding, and it can be understood that this brief description is the same as the full description.
It should be further noted that, when the procedure of a specific embodiment is not considered, there is no essential difference between the ue in the present application, and each ue can execute the scheme provided in the present application. For example, in an embodiment of the present application, the user terminal 102a may display a message window of the instant messaging group, and when a message selection instruction in the message window is received, may display a message selection interface, and then determine a message start position and a message end position in a message list of the instant messaging group according to a message selection operation triggered by a user on the message selection interface (for example, the user selects the message start position and the message end position in the message list), and further determine a selected instant messaging message in the message list according to the message start position and the message end position. After determining the selected instant message in the message list, the selected instant message may be forwarded to the user terminal 102b or 102 c.
Therefore, in the embodiment of the application, when a plurality of instant messaging messages need to be forwarded, the plurality of messages can be selected at one time only by determining the message starting position and the message ending position, so that the selection efficiency of the plurality of messages is improved, the time and the operation cost in the message selection process are reduced, the messages can be prevented from being missed, and the forwarding efficiency of the plurality of messages is further improved.
It should be noted that the processing method of the instant messaging message provided in the embodiments of the present application is generally executed by the user side, and accordingly, the sending device of the multimedia file is generally disposed in the user side.
The implementation details of the technical solution of the embodiment of the present application are set forth in detail below:
fig. 2 is a flowchart illustrating a method for processing an instant messenger message according to an embodiment of the present application, where the method for processing the instant messenger message may be performed by a terminal device, which may be the user terminal shown in fig. 1. Referring to fig. 2, the method for processing the instant messaging message at least includes steps S210 to S230, which are described in detail as follows:
in step S210, if a message selection instruction for an instant messaging group is received, a message selection interface corresponding to the instant messaging group is displayed.
In one embodiment of the present invention, the instant messaging group includes two or more members, and the instant messaging message sent by each member is synchronized among the members and displayed in the instant messaging session window of the terminal.
In an embodiment of the present application, the message selection instruction for the instant messaging group may be a touch operation (e.g., an operation of pressing a message for a long time) in a conversation window of the instant messaging group, a designated sliding operation, or the like. The message selection instruction can also be triggered by triggering the menu bar in a set triggering mode (such as long pressing a certain message) and then clicking the corresponding message selection control in the menu bar.
In an embodiment of the present application, the message selection interface corresponding to the instant messaging group may be an interface including each instant messaging message and a selection frame corresponding to each instant messaging message.
In step S220, according to the message selection operation triggered by the user on the message selection interface, the message start position and the message end position are determined in the message list of the instant messaging group.
In an embodiment of the present application, the message start position is the position of the first selected message, and the message end position is the position of the last selected message.
In one embodiment of the present application, a certain set position on the message selection interface may be used as the message ending position, in which case, the user only needs to select the message starting position on the message selection interface to determine the message starting position and the message ending position in the message list. For example, the bottom position of the message selection interface is used as the set position, the position of the message located above the bottom position of the message selection interface and closest to the bottom position may be used as the message termination position, that is, the position of the last message on the message selection interface is used as the message termination position. For another example, if the middle position of the message selection interface is set as the setting position, the position of the message located above the middle position of the message selection interface and closest to the middle position may be set as the message ending position. The setting position may be defined by the user.
In an embodiment of the present application, a certain set position on the message selection interface may also be used as the message start position, in which case, the user only needs to select the message end position on the message selection interface to determine the message start position and the message end position in the message list. For example, the top position of the message selection interface is used as the set position, the position of the message located below the top position of the message selection interface and closest to the top position may be used as the message start position, that is, the position of the first message on the message selection interface is used as the message start position. Similarly, in this embodiment, the middle position of the message selection interface may also be used as the setting position, and then the position of the message located below the middle position of the message selection interface and closest to the middle position may be used as the message starting position. Of course, the setting position may be freely defined by the user.
In an embodiment of the present application, a message start position and a message end position respectively selected by a user in a message list may be determined according to a message selection operation triggered by the user on a message selection interface. If the user selects two messages in the message list, the two messages can be used as the message start position and the message end position respectively.
For example, a shortcut selection tab for selecting a message ending location may be displayed on the message selection interface, and then a user's movement operation of the shortcut selection tab may be detected, and then a final location of the shortcut selection tab may be used as the message ending location. Or, the shortcut selection tab displayed on the message selection interface may also be used to select a message start position, so that a moving operation of the shortcut selection tab by the user may be detected, and then a final position of the shortcut selection tab is used as the message start position. In an embodiment, two shortcut selection tabs may be further displayed on the message selection interface, in which case, the user's moving operation on the two shortcut selection tabs may be detected, and then the final positions of the two shortcut selection tabs are respectively used as the message start position and the message end position.
Continuing to refer to fig. 2, in step S230, a selected instant messaging message in the message list is determined according to the message start position and the message end position, so as to process the selected instant messaging message.
In one embodiment of the present application, all messages between the message start location and the message end location may be taken as selected instant messaging messages; or a message of a predetermined message type (e.g., a session content type message) between the message start location and the message end location may be the selected instant messenger message.
In one embodiment of the present application, processing the selected instant messaging message may include forwarding the selected instant messaging message, deleting the selected instant messaging message, and the like.
In an embodiment of the application, the display state of the selected message in the current display interface of the terminal device can be updated to the selected state according to the selected instant messaging message in the message list, so that the currently selected message can be conveniently presented to the user.
For example, in one embodiment, if the user selects 2 instant messaging messages on the current display interface, and there are 3 instant messaging messages between the 2 instant messaging messages, the 5 instant messaging messages may be taken as the selected instant messaging messages, and the display status of the 5 instant messaging messages is adjusted to the selected status.
In an embodiment of the present application, the process flow shown in fig. 3 may be used to update the display state of the selected message in the current display interface of the terminal device to the selected state, and specifically includes the following steps S310 to S330, which are described as follows:
in step S310, the last instant messaging message in the current display interface of the terminal device is obtained.
In one embodiment of the present application, the last instant messaging message in the current display interface is the bottom-most instant messaging message in the current display interface. Specifically, a process of obtaining a last instant messaging message in a current display interface of a terminal device may be as shown in fig. 4, and includes the following steps:
step S410, obtaining the drawn cell in the message list.
In an embodiment of the present application, the cells drawn in the message list are drawn in advance in the message list, and each cell is used to store the content of the message list, for example, one message may occupy one cell, or one message may occupy multiple cells.
Step S420, normalizing the position coordinates of the cells drawn in the message list and the position coordinates of the status bar in the current display interface into a specified coordinate system, and deleting the cells shielded by the status bar to obtain the processed cells.
In one embodiment of the present application, the position coordinates of the cell drawn in the message list and the position coordinates of the status bar in the current display interface may be normalized to be under the key window coordinate. Status bars in the display interface may include an interface top status bar and an interface bottom navigation bar. And deleting the cells blocked by the status bar to obtain the cells positioned in the current display interface, and further finding the last instant messaging message in the current display interface from the cells.
And step S430, taking the message corresponding to the last cell in the processed cells as the last instant messaging message in the current display interface.
In an embodiment of the application, a message model is bound to a cell drawn in a message list, and the message model corresponds to an instant messaging message, so that a message corresponding to a last cell in the processed cells can be used as a last instant messaging message in a current display interface.
The technical solution of the embodiment shown in fig. 4 enables to find the last instant messaging message in the current display interface by processing the cell drawn in the message list.
Continuing to refer to fig. 3, in step S320, a message area to be selected is determined according to the position of the last instant messaging message in the current display interface and the position of the selected first instant messaging message in the message list.
In one embodiment of the present application, the last instant messaging message in the current display interface and the selected first instant messaging message are both in the message list. In one example, if the selected first instant messaging message is located before the last instant messaging message in the message list in the current display interface, the selected first instant messaging message is indicated to be located in the current display interface, and therefore, the message area from the selected first instant messaging message to the last instant messaging message in the current display interface can be taken as the message area to be selected.
And if the last instant messaging message in the current display interface is positioned in front of the selected first instant messaging message in the message list, indicating that the selected first instant messaging message is positioned below the current display interface, so that the message area between the selected first instant messaging message and the selected last instant messaging message can be taken as the message area to be selected.
Continuing to refer to fig. 3, in step S330, the display status of the instant messaging message in the message area to be selected is updated to the selected status.
In an embodiment of the present application, since the message area to be selected may include instant messaging messages with multiple message models, for example, a session-specific tagged message model, and the selection of the session-specific tagged message model has no great significance, the message model can be omitted and only some message models in the message area to be selected are focused. Specifically, the message model of the instant messaging message in the message area to be selected can be traversed according to the linked list structure of the message model, and if the message model contains a session content message model (such as a text message model, a file message model and the like), the display state of the instant messaging message belonging to the session content message model can be updated to be the selected state; if the message submodel (such as a text message submodel, a multimedia message submodel and the like) is contained, the display state of the instant messaging message corresponding to the parent model of the message submodel is updated to be the selected state.
As shown in fig. 5, a method for processing an instant messaging message according to another embodiment of the present application may include the following steps S510 to S530, which are described in detail as follows:
in step S510, if a trigger instruction for a first message in the instant messaging window is received, a setting option for triggering creation of an individual session window with a sender of the first message is displayed in the instant messaging window.
In one embodiment of the present application, the trigger instruction for the first message in the instant messaging window may be an operation instruction for long-pressing the first message. The instant messaging window is a session window of instant messaging software, and can be a group chat window.
In an embodiment of the present application, an interface menu may be displayed in the instant messaging window, and then the setting options are displayed in the interface menu. In order to ensure that the user can conveniently trigger the setting option, the setting option may be displayed on a home page of the interface menu, for example, a display position of the setting option in the interface menu may be adjusted according to a display interface size (e.g., a width of the display interface) of the terminal device, so as to display the setting option on the home page of the interface menu; or the display position of the setting option in the interface menu can be adjusted according to the model of the terminal equipment, so that the setting option is displayed on the home page of the interface menu.
In step S520, upon detecting a trigger operation to the setting option, a separate session window with the sender is created.
In one embodiment of the present application, the trigger operation for the setting option may be a click operation, a slide operation, or other setting operation. Creating a separate session window with the sender is to create a session window that only contains the sender and the current user.
In step S530, a reply message for the first message input by the user is obtained, and the reply message is sent to the individual session window.
In one embodiment of the present application, when sending the reply message to the sender in a separate session window, a composite message may be generated from the reply message and the aforementioned first message, for example, the first message is nested in the reply message, and then the composite message is sent to the separate session window, so that the user can visually check which message the message is a reply to.
In an embodiment of the application, if the terminal device receives a second message sent by any contact person and an individual conversation window with the contact person is not displayed on a current display interface, a prompt message for the second message is displayed on the current display interface, the second message is generated according to a third message sent by the contact person, and the third message is a reply message sent by the contact person through a trigger setting option in an instant messaging window and aiming at a specified message. And when a trigger operation for the prompt message is received, presenting a separate conversation window between the current display interface and the contact person.
Specifically, assuming that the contact a performs a triggering operation on a specified message sent by the contact B in the instant messaging window, a setting option may be displayed in the instant messaging window on the client of the contact a as described in the foregoing embodiment, an individual session window with the contact B may be established after the contact a triggers the setting option, then a reply message for the specified message may be input in the individual session window, and the client of the contact a may generate a composite message (i.e., the second message in the foregoing embodiment) according to the specified message and the reply message, and send the composite message to the individual session window with the contact B. After the client of the contact B receives the composite message, if the client of the contact B does not currently display the separate session window with the contact a, the prompt information may be displayed in the client of the contact B, for example, if the client of the contact B currently displays a group session window, the prompt information may be displayed on the group session window, so as to prompt the contact B that the separately replied information is currently received. If the contact B triggers the prompt message, a conversation window with the contact A can be displayed in the client of the contact B, so that the contact B can conveniently check the message replied by the contact A independently and chat with the contact A independently.
The following describes details of implementation of the technical solution of the embodiment of the present application in detail with reference to fig. 6 to 24:
as shown in fig. 6, which is a chat interface (i.e., a session interface) in instant messaging software, a user may trigger a display interface menu 601 by pressing a message for a long time, where the interface menu 601 includes an option control "multiple selection", and after the user triggers the "multiple selection" control, a message selection interface is displayed as shown in fig. 7, in the message selection interface, the user may select a corresponding message by triggering a selection box 602 corresponding to the message, and a convenient selection tab 603 may be further displayed in the message selection interface, where the convenient selection tab 603 is used to determine an end position of the selected message. For example, the convenient selection tab 603 may be disposed at the bottom of the message selection interface, after the user selects one message in the message selection interface, the message between the message and the convenient selection tab 603 may be used as the selected message, as shown in fig. 8 in particular, and the currently selected number of messages may be displayed on the convenient selection tab 603.
In an embodiment of the present application, as shown in fig. 9, the user may also determine the selected message range by dragging the shortcut selection tab 603, for example, the user may drag the shortcut selection tab 603 for a long time, which may flexibly adjust the message range to be selected. For example, as shown in fig. 10, after the quick selection tab 603 is dragged, a message between a selected one of the messages and the convenient selection tab 603 may be taken as a selected message.
In an embodiment of the present application, as shown in fig. 11, the user may also directly select a selection box 602 corresponding to the message to select the message at the starting position and the message at the ending position, and further, as shown in fig. 12, all messages between the message at the starting position and the message at the ending position may be used as the selected messages.
In addition to the embodiments shown in fig. 6 to fig. 12, another technical scheme for quickly selecting a message is proposed in the present application, and the scheme mainly includes two processes: 1, finding a message area to be selected in a message list; and 2, screening selectable message models in the message region to be selected. The following are separately set forth:
process 1, find the message area to be selected in the message list:
in One embodiment of the present application, as shown In fig. 13, an AIO (All In One, referred to as a common chat window component) message model mainly includes a message model and a message sub-model. Wherein the message model comprises a conversation content message model and a conversation special mark message model. The conversation content message model comprises a text message model, a file message model and a structure message model; the conversation-specific tagged message model includes a time-tagged message model (for tagging message transmission time) and a small gray bar-tagged message model (for tagging display position of transmitted messages). The message submodel includes a text message submodel and a multimedia message submodel.
In the message model of AIO, the session content message model is an optional message model that needs to be processed in the embodiment of the present application, and this type of model is a basic unit that can be operated (such as deleted, forwarded, etc.) after multiple selections.
As shown in fig. 14, in an embodiment of the present application, the process of finding the message area to be selected in the message list may include the following steps:
in step S1401, the start point and end point of the message are selected.
In an embodiment of the present application, the manner in which the user selects the start point and the end point of the message may refer to the technical solution of the foregoing embodiment, and is not described in detail again.
Step S1402, obtaining all cells drawn in the message list through the system interface.
In one embodiment of the application, all cells drawn in the message list are acquired through the system interface, wherein the cells include a part blocked by status bars (namely Bar) at the top and the bottom of the page, so that the acquired cells are not all really visible.
In step S1403, the blocked cells are removed according to the positions of the cells and the interface up-down status bar with respect to the key window.
In an embodiment of the application, the positions of the obtained cells and the upper and lower status bars of the interface can be unified to a key window coordinate system, and then the cells blocked by the status bars at the top and the bottom of the page are removed, so that the obtained cells are the cells in the current page.
In step S1404, in the whole model array, the selected first message model and the message model bound to the last cell acquired in step S1403 are searched.
In one embodiment of the present application, the entire model array is a list of message models (including the list of messages within the conversation window) maintained by the AIO page in order. The position of the selected first message model and the message model bound to the last cell acquired in S1403 can be found in the message model list. Since some mobile devices may cause a reconstruction of the message model when rotated, the same message model is determined during the lookup process based on whether the message content models within the message model (which are used to identify the message model) are consistent.
In an embodiment of the present application, when searching is performed in the whole model array in sequence, if the message model bound to the last cell acquired in S1403 is found first, it represents that the selected first message model is below the display interface; if the selected first message model is found, the selected first message model is represented to be in the display interface or above the display interface.
In one embodiment of the application, if the selected first message model is below the display interface, the region from the selected first message model to the selected last message model is taken as a message region to be selected; if the selected first message model is in or above the display interface, the region between the selected first model and the message model bound to the last cell acquired in S1403 is taken as the message region to be selected.
And 2, screening selectable message models in the message region to be selected:
as shown in fig. 15, the process 2 may include the steps of:
step S1501, finding the message model in the message area to be selected in the complete message model array.
In one embodiment of the present application, if the device rotates to cause the message model to be reconstructed, the message model in the message region to be selected needs to be found again in the complete message model array.
Step S1502, traversing the message model in the message region to be selected according to the linked list structure of the message model.
Step S1503, the selected state of the message model is checked, and the selected state is updated.
In one embodiment of the present application, since various message models in fig. 13 may exist in the message region to be selected, it is necessary to check whether each message model in the message region to be selected supports multiple selection. Session-specific tagged message models that do not support multiple-choice will be excluded here; if the message sub-model is included in the message region to be selected, whether the father model of the message sub-model is selected needs to be checked, and if the father model is selected, the message sub-model is selected at the same time; if the message area to be selected contains the session content message model, directly checking whether the session content message model is selected or not, and if not, changing the state into the selected state; if the message sub-model is included in the message area to be selected, the parent model is changed into the selected state.
The embodiment of the present application further provides a technical scheme for performing an individual reply in a group chat, specifically as shown in fig. 16, a user may trigger and display an interface menu 1601 by long-pressing a message of a certain contact, where the interface menu 1601 includes an option control "individual reply", and after the user triggers the "individual reply" control, an individual session window with the contact is displayed as shown in fig. 17, so that the user inputs reply information in an input box, and the input box may further include information to which the individual reply is directed. After the user inputs reply information in the input box and transmits it, as shown in fig. 18, the transmitted reply information 1603, which includes the referenced information, is displayed in the individual session window. It should be noted that the reference information included in the reply information may be text information as shown in fig. 18, video information as shown in fig. 19, picture information as shown in fig. 20, or document information as shown in fig. 21.
In one embodiment of the present application, as shown in fig. 22, if a separate reply message sent by a certain contact is received and the current display interface of the terminal is not a separate session interface with the contact, a prompt window 1604 may be displayed in any session interface.
It should be noted that the arbitrary session interface is a session interface other than a separate session interface with the contact. For example, the contact a and the contact B are in the same group chat 1, the contact B triggers a separate reply function for a message a sent by the contact a in the group chat 1, and the contact B sends a reply message (denoted as a message B) for the message a, so that after the terminal of the contact a receives the message B, if a session interface of the group chat 2 is displayed on the terminal interface of the contact a, or a separate session interface with the contact C is displayed on the terminal interface of the contact a, a prompt window is displayed on the terminal interface of the contact a. In other words, if the terminal interface of contact a is not a separate session interface with contact B, the prompt window may be displayed on the terminal interface of contact a regardless of whether the terminal interface of contact a displays a group chat session interface or a separate session interface with other contacts.
In one embodiment of the present application, after the user triggers the prompt window 1604, the user directly jumps to a separate conversation window with the contact as shown in fig. 23 and displays the reply message sent by the contact.
It should be noted that, in the technical solution for performing individual reply in group chat, which is provided in the embodiment of the present application, the supported session type and message type need to be defined in advance. For example, the supported session types include group chat, discussion group, and the like, i.e., the individual reply function may be triggered in the group chat or the discussion group. The message types supported include: audio video call messages, emoticon messages, voice messages, receipt messages, red envelope messages, transfer messages, group receipt messages, poster fonts, video messages, graffiti messages, business cards, group check-in messages, group announcement messages, group voting messages, group activity messages, merge forwarding messages, new people joining a group, and the like.
After determining the supported session type and message type, a long-press menu (such as one implemented based on uimenucoroller) entry may be provided in the area where a group message in the group chat is located, after the user triggers the entry, a menu containing an "individual reply" option may be displayed, and after the user clicks the "individual reply" option, an AIO input box (such as one implemented based on UITextView) may present a summary of the group message to refer to the summary when the user replies (or may also refer to the group message as a reference in its entirety). After the user inputs the reply content and clicks to confirm the sending, the client copies the group message and the reply content to the message sending queue, and quickly forwards the original group message and the reply content to the group member associated with the group message according to the instant messaging account number of the group member associated with the group message (the group member associated with the group message is the group member sending the group message), namely forwards the original group message and the reply content to a 1-to-1 session window between the group members associated with the group message. After the message is successfully sent, the client receives the notification sent by the message background, and refreshes the 1-to-1 session window of the group member associated with the group message to the top of the session list, and the digest of the original group message is updated to the session, which is equivalent to forwarding the original group message to the session window, and since the forwarding operation does not need user confirmation, all the above processes are also completed in a moment under a general network environment, and the whole flow is as shown in fig. 24, and includes the following steps:
step S2401, detects a user long press group message.
Step S2402, judging whether the type of the group message pressed by the user for a long time is a set type, if so, executing step S2403; otherwise, returning. The types of settings may be various types as listed in the foregoing embodiments.
Step S2403, popping up an interface menu, wherein the interface menu comprises an independent reply option.
Step S2404, adjusting the display position of the 'individual reply' option in the interface menu, so that the 'individual reply' option is displayed on the home page of the interface menu.
In one embodiment of the present application, since the number of menus that can be displayed by a single page of the interface menu is different in machines with different screen widths, the developer is required to adapt to different models. The adaptation scheme can be as follows: the scheme 1 is characterized in that various types of models are exhausted, and the display position of the 'single reply' option is determined according to different types of models; and 2, acquiring the screen width of the current equipment, and determining the specific sequence of each menu according to the range of the screen width value. Scheme 2 may be preferentially adopted because of its higher scalability and lower development cost.
Step S2405, judging whether the 'single reply' option is triggered, if so, executing step S2406; otherwise, returning.
Step S2406, controlling the input box to display the abstract of the original message, and popping up a keyboard for a user to input reply content.
Step S2407, judging whether a sending confirmation instruction triggered by a user is received, if so, executing step S2408; otherwise, returning.
Step S2408, copy an original message, and embed in a message model based on the reply content.
In one embodiment of the present application, the "reply-alone" function may forward both the contents of the reply and the message body of the replied message. The following two schemes exist in the concrete implementation: the method comprises the following steps that 1, a reply content and a message body of a replied message are divided into two messages to be sent, a certain mark is marked on the two messages, and a message receiver receives the two messages and assembles a reply message pattern through the mark; in the scheme 2, the replied original message is nested in the replied content, so that the original message can be treated as a common message, if the content is completely forwarded, the original message becomes a composite message containing two messages, and the treatment logic of the method is simple and easy to realize.
Step S2409, storing the data structure of the whole nested message into a message database, putting the message database into a sending queue after the message database succeeds, and taking the account number of the forwarded person as a destination.
Step S2410, sending the whole nested message to the forwarded person through the network.
According to the technical scheme of the embodiment of the application, the user can take the message to automatically enter the independent conversation window of the group member by clicking the independent reply according to the information sent by the group member in the group chat, the operation is convenient and fast, and the error touch is avoided. Meanwhile, the user can quickly select a plurality of messages to be forwarded, time and operation cost in the message selection process are reduced, missed selection of the messages can be avoided, and the forwarding efficiency of the plurality of messages is improved.
Embodiments of the apparatus of the present application are described below, which may be used to perform the method for processing the instant messaging message in the above embodiments of the present application. For details that are not disclosed in the embodiments of the apparatus of the present application, please refer to the embodiments of the method for processing an instant messaging message described above.
Fig. 25 shows a block diagram of an instant messaging message processing apparatus according to an embodiment of the present application, which may be provided in a terminal device.
Referring to fig. 25, an instant messenger message processing apparatus 2500 according to an embodiment of the present application includes: a first display unit 2502, a first processing unit 2504, and a second processing unit 2506.
The first display unit 2502 is configured to display a message selection interface corresponding to an instant messaging group when receiving a message selection instruction for the instant messaging group; the first processing unit 2504 is configured to determine a message start position and a message end position in a message list of the instant messaging group according to a message selection operation triggered by a user on the message selection interface; the second processing unit 2506 is configured to determine a selected instant messaging message in the message list according to the message start location and the message end location, so as to process the selected instant messaging message.
In some embodiments of the present application, based on the foregoing, the first processing unit 2504 is configured to: determining the message initial position selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface; and mapping to obtain the message termination position based on the set position on the message selection interface.
In some embodiments of the present application, based on the foregoing scheme, the set position includes a bottom position of the message selection interface; the first processing unit 2504 is configured to: and taking the position of the message which is above the bottom position of the message selection interface and is most adjacent to the bottom position as the message termination position.
In some embodiments of the present application, based on the foregoing, the first processing unit 2504 is configured to: and determining the message starting position and the message ending position which are respectively selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface.
In some embodiments of the present application, based on the foregoing scheme, a quick selection tab is displayed on the message selection interface; the first processing unit 2504 is configured to: detecting the moving operation of a user on the shortcut selection label, and taking the final position of the shortcut selection label as the message termination position; or detecting the moving operation of the user on the shortcut selection label, and taking the final position of the shortcut selection label as the initial position of the message; or detecting the moving operation of the user on the two shortcut selection labels, and respectively taking the final positions of the two shortcut selection labels as the message starting position and the message ending position.
In some embodiments of the present application, based on the foregoing solution, the instant messaging message processing apparatus 2500 further includes: and the third processing unit is used for updating the display state of the selected message in the current display interface of the terminal equipment into the selected state according to the selected instant communication message in the message list.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: acquiring the last instant communication message in the current display interface of the terminal equipment; determining a message area to be selected according to the positions of the last instant messaging message and the selected first instant messaging message in the message list; and updating the display state of the instant messaging message in the message area to be the selected state.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: obtaining a cell drawn in the message list; normalizing the position coordinates of the cells drawn in the message list and the position coordinates of the status bar in the current display interface into a specified coordinate system, and deleting the cells shielded by the status bar to obtain processed cells; and taking the message corresponding to the last cell in the processed cells as the last instant messaging message.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: if the selected first instant messaging message is positioned in front of the last instant messaging message in the message list, taking a message area between the selected first instant messaging message and the last instant messaging message as the message area to be selected; and if the last instant messaging message is positioned in front of the selected first instant messaging message in the message list, taking a message area between the selected first instant messaging message and the selected last instant messaging message as the message area to be selected.
In some embodiments of the present application, based on the foregoing solution, the third processing unit is configured to: traversing the message model of the instant messaging message in the message area according to the linked list structure of the message model; if the message model contains a session content message model, updating the display state of the instant messaging message belonging to the session content message model into a selected state; and if the message model comprises a message submodel, updating the display state of the instant messaging message corresponding to the parent model of the message submodel into a selected state.
In some embodiments of the present application, based on the foregoing solution, the instant messaging message processing apparatus 2500 further includes: the second display unit is used for displaying a setting option in an instant messaging window when a trigger instruction of a first message in the instant messaging window is received, wherein the setting option is used for triggering an independent session window to be created with a sender of the first message; the creating unit is used for creating an individual session window with the sender when the triggering operation of the setting option is detected; and the sending unit is used for acquiring a reply message aiming at the first message and input by a user and sending the reply message to the individual session window.
In some embodiments of the present application, based on the foregoing, the second display unit is configured to: and displaying an interface menu in the instant messaging window, wherein the interface menu comprises the setting options.
In some embodiments of the application, based on the foregoing solution, the second display unit is further configured to adjust a display position of the setting option in the interface menu according to a display interface size of a terminal device or a model of the terminal device, so that the setting option is displayed on a home page of the interface menu.
In some embodiments of the present application, based on the foregoing scheme, the sending unit is configured to: generating a composite message according to the reply message and the first message; sending the composite message into the separate session window.
In some embodiments of the present application, based on the foregoing solution, the instant messaging message processing apparatus 2500 further includes: the third display unit is used for displaying prompt information aiming at a second message on a current display interface when the second message sent by any contact person is received and an independent conversation window between the current display interface and the contact person is not displayed, wherein the second message is generated according to a third message sent by the contact person, and the third message is a reply message aiming at a specified message sent by the contact person by triggering the setting option in an instant messaging window; and when the trigger operation of the prompt message is received, presenting a separate conversation window between the current display interface and the contact person.
FIG. 26 illustrates a schematic structural diagram of a computer system suitable for use in implementing the electronic device of an embodiment of the present application.
It should be noted that the computer system 2600 of the electronic device shown in fig. 26 is only an example, and should not bring any limitation to the functions and the scope of use of the embodiments of the present application.
As shown in fig. 26, computer system 2600 includes a Central Processing Unit (CPU)2601, which can perform various appropriate actions and processes, such as performing the methods described in the above embodiments, according to a program stored in a Read-Only Memory (ROM) 2602 or a program loaded from a storage portion 2608 into a Random Access Memory (RAM) 2603. The RAM 2603 also stores various programs and data necessary for system operation. The CPU 2601, ROM 2602, and RAM 2603 are connected to each other via a bus 2604. An Input/Output (I/O) interface 2605 is also connected to bus 2604.
The following components are connected to the I/O interface 2605: an input portion 2606 including a keyboard, a mouse, and the like; an output portion 2607 including a Cathode Ray Tube (CRT), a Liquid Crystal Display (LCD), and a speaker; a storage portion 2608 including a hard disk and the like; and a communication section 2609 including a Network interface card such as a LAN (Local Area Network) card, a modem, or the like. The communication section 2609 performs communication processing via a network such as the internet. A drive 2610 is also connected to the I/O interface 2605 as necessary. A removable medium 2611 such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, or the like is mounted on the drive 2610 as necessary, so that a computer program read therefrom is mounted on the storage portion 2608 as necessary.
In particular, according to embodiments of the application, the processes described above with reference to the flow diagrams may be implemented as computer software programs. For example, embodiments of the present application include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising a computer program for performing the method illustrated by the flow chart. In such embodiments, the computer program may be downloaded and installed from a network via the communication portion 2609 and/or installed from the removable media 2611. When the computer program is executed by a Central Processing Unit (CPU)2601, various functions defined in the system of the present application are executed.
It should be noted that the computer readable medium shown in the embodiments of the present application may be a computer readable signal medium or a computer readable storage medium or any combination of the two. A computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples of the computer readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a Read-Only Memory (ROM), an Erasable Programmable Read-Only Memory (EPROM), a flash Memory, an optical fiber, a portable Compact Disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. In this application, however, a computer readable signal medium may include a propagated data signal with a computer program embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A computer readable signal medium may also be any computer readable medium that is not a computer readable storage medium and that can communicate, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. The computer program embodied on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the foregoing.
The flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. Each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams or flowchart illustration, and combinations of blocks in the block diagrams or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The units described in the embodiments of the present application may be implemented by software, or may be implemented by hardware, and the described units may also be disposed in a processor. Wherein the names of the elements do not in some way constitute a limitation on the elements themselves.
As another aspect, the present application also provides a computer-readable medium, which may be contained in the electronic device described in the above embodiments; or may exist separately without being assembled into the electronic device. The computer readable medium carries one or more programs which, when executed by an electronic device, cause the electronic device to implement the method described in the above embodiments.
It should be noted that although in the above detailed description several modules or units of the device for action execution are mentioned, such a division is not mandatory. Indeed, the features and functionality of two or more modules or units described above may be embodied in one module or unit, according to embodiments of the application. Conversely, the features and functions of one module or unit described above may be further divided into embodiments by a plurality of modules or units.
Through the above description of the embodiments, those skilled in the art will readily understand that the exemplary embodiments described herein may be implemented by software, or by software in combination with necessary hardware. Therefore, the technical solution according to the embodiments of the present application can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a usb disk, a removable hard disk, etc.) or on a network, and includes several instructions to enable a computing device (which can be a personal computer, a server, a touch terminal, or a network device, etc.) to execute the method according to the embodiments of the present application.
Other embodiments of the present application will be apparent to those skilled in the art from consideration of the specification and practice of the embodiments disclosed herein. This application is intended to cover any variations, uses, or adaptations of the invention following, in general, the principles of the application and including such departures from the present disclosure as come within known or customary practice within the art to which the invention pertains.
It will be understood that the present application is not limited to the precise arrangements described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the application is limited only by the appended claims.

Claims (15)

1. A method for processing instant messaging messages, comprising:
if a message selection instruction aiming at an instant communication group is received, displaying a message selection interface corresponding to the instant communication group;
determining a message starting position and a message ending position in a message list of the instant messaging group according to message selection operation triggered by a user on the message selection interface;
and determining the selected instant messaging message in the message list according to the message starting position and the message ending position so as to process the selected instant messaging message.
2. The processing method of claim 1, wherein determining a message start position and a message end position in the message list of the instant messaging group according to a message selection operation triggered by a user on the message selection interface comprises:
determining the message initial position selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface;
and mapping to obtain the message termination position based on the set position on the message selection interface.
3. The process of claim 2, wherein the set position comprises a bottom position of the message selection interface;
based on the set position on the message selection interface, the message termination position is mapped, and the method comprises the following steps: and taking the position of the message which is above the bottom position of the message selection interface and is most adjacent to the bottom position as the message termination position.
4. The processing method of claim 1, wherein determining a message start position and a message end position in the message list of the instant messaging group according to a message selection operation triggered by a user on the message selection interface comprises:
and determining the message starting position and the message ending position which are respectively selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface.
5. The processing method according to claim 4, wherein a shortcut selection tab is displayed on the message selection interface;
determining the message starting position and the message ending position respectively selected by the user in the message list according to the message selection operation triggered by the user on the message selection interface, including:
detecting the moving operation of a user on the shortcut selection label, and taking the final position of the shortcut selection label as the message termination position; or
Detecting the moving operation of a user on the shortcut selection label, and taking the final position of the shortcut selection label as the initial position of the message; or
And detecting the moving operation of the user on the two shortcut selection labels, and respectively taking the final positions of the two shortcut selection labels as the message starting position and the message ending position.
6. The processing method of claim 1, further comprising:
and updating the display state of the selected message in the current display interface of the terminal equipment to the selected state according to the selected instant communication message in the message list.
7. The processing method according to claim 6, wherein updating the display state of the selected message in the current display interface of the terminal device to the selected state according to the selected instant messaging message in the message list comprises:
acquiring the last instant communication message in the current display interface of the terminal equipment;
determining a message area to be selected according to the positions of the last instant messaging message and the selected first instant messaging message in the message list;
and updating the display state of the instant messaging message in the message area to be the selected state.
8. The processing method according to claim 7, wherein obtaining the last instant messaging message in the current display interface of the terminal device comprises:
obtaining a cell drawn in the message list;
normalizing the position coordinates of the cells drawn in the message list and the position coordinates of the status bar in the current display interface into a specified coordinate system, and deleting the cells shielded by the status bar to obtain processed cells;
and taking the message corresponding to the last cell in the processed cells as the last instant messaging message.
9. The processing method according to claim 7, wherein determining the message area to be selected according to the position of the last instant messaging message and the selected first instant messaging message in the message list comprises:
if the selected first instant messaging message is positioned in front of the last instant messaging message in the message list, taking a message area between the selected first instant messaging message and the last instant messaging message as the message area to be selected;
and if the last instant messaging message is positioned in front of the selected first instant messaging message in the message list, taking a message area between the selected first instant messaging message and the selected last instant messaging message as the message area to be selected.
10. The processing method according to claim 7, wherein updating the presentation status of the instant messaging message in the message area to the selected status comprises:
traversing the message model of the instant messaging message in the message area according to the linked list structure of the message model;
if the message model contains a session content message model, updating the display state of the instant messaging message belonging to the session content message model into a selected state;
and if the message model comprises a message submodel, updating the display state of the instant messaging message corresponding to the parent model of the message submodel into a selected state.
11. The processing method according to any one of claims 1 to 10, further comprising:
if a trigger instruction of a first message in an instant messaging window is received, displaying a setting option in the instant messaging window, wherein the setting option is used for triggering an independent session window to be established with a sender of the first message;
when the trigger operation of the setting option is detected, an independent session window between the sender and the server is created;
and acquiring a reply message aiming at the first message and input by a user, and sending the reply message into the individual session window.
12. The process of claim 11, wherein sending the reply message into the separate session window comprises:
generating a composite message according to the reply message and the first message;
sending the composite message into the separate session window.
13. The processing method of claim 11, further comprising:
if a second message sent by any contact person is received and an independent conversation window between the contact person and the current display interface is not displayed, displaying prompt information aiming at the second message on the current display interface, wherein the second message is generated according to a third message sent by the contact person, and the third message is a reply message aiming at a specified message sent by the contact person through triggering the setting option in an instant messaging window;
and if the trigger operation of the prompt message is received, presenting an independent session window between the current display interface and the contact person.
14. An apparatus for processing instant messaging messages, comprising:
the first display unit is used for displaying a message selection interface corresponding to the instant messaging group when receiving a message selection instruction aiming at the instant messaging group;
the first processing unit is used for determining a message starting position and a message ending position in a message list of the instant messaging group according to message selection operation triggered by a user on the message selection interface;
and the second processing unit is used for determining the selected instant messaging message in the message list according to the message starting position and the message ending position so as to process the selected instant messaging message.
15. An electronic device, comprising:
one or more processors;
storage means for storing one or more programs which, when executed by the one or more processors, cause the one or more processors to carry out a method of processing an instant messaging message according to any one of claims 1 to 13.
CN201911013775.1A 2019-10-23 2019-10-23 Instant messaging message processing method and device and electronic equipment Pending CN112702255A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201911013775.1A CN112702255A (en) 2019-10-23 2019-10-23 Instant messaging message processing method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201911013775.1A CN112702255A (en) 2019-10-23 2019-10-23 Instant messaging message processing method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN112702255A true CN112702255A (en) 2021-04-23

Family

ID=75505265

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201911013775.1A Pending CN112702255A (en) 2019-10-23 2019-10-23 Instant messaging message processing method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN112702255A (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285866A (en) * 2021-04-26 2021-08-20 维沃移动通信(杭州)有限公司 Information sending method and device and electronic equipment
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium
CN114461101A (en) * 2021-07-14 2022-05-10 北京字跳网络技术有限公司 Message selection method, device and equipment
CN115987927A (en) * 2022-12-07 2023-04-18 上海掌门科技有限公司 Information processing method, equipment and machine-readable storage medium
CN116248535A (en) * 2023-02-01 2023-06-09 永中软件股份有限公司 Context display method, computer device and computer readable medium for communication

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799568A (en) * 2011-05-26 2012-11-28 腾讯科技(深圳)有限公司 Method and system for selecting and copying read-only text
CN102866827A (en) * 2012-08-21 2013-01-09 刘炳林 Document editing method and device for man-machine interaction equipment
CN103135901A (en) * 2013-02-04 2013-06-05 广东欧珀移动通信有限公司 Method for accurately selecting textual words in mobile terminal and mobile terminal
CN103136180A (en) * 2013-02-25 2013-06-05 北京极兴莱博信息科技有限公司 Text segment copying and pasting method and device and terminal for implementing same
CN103236968A (en) * 2013-05-16 2013-08-07 百度在线网络技术(北京)有限公司 Session management method, device and system for mass texting messages
CN104378513A (en) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 Message forwarding method, message communication client and mobile terminal
CN104965665A (en) * 2015-06-01 2015-10-07 努比亚技术有限公司 Information processing method and device and terminal
CN105049317A (en) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 Message forwarding method and apparatus
CN106020627A (en) * 2016-05-20 2016-10-12 乐视控股(北京)有限公司 Method and device for carrying out multi-selection on list items
CN106484246A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of system of selection of list object and mobile terminal
CN106557237A (en) * 2016-10-12 2017-04-05 深圳市金立通信设备有限公司 A kind of method and terminal for selecting to replicate text message
US20170155521A1 (en) * 2015-03-23 2017-06-01 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing group chat message
CN108052256A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Message display method, mobile terminal and computer readable storage medium
CN110032324A (en) * 2018-01-11 2019-07-19 华为终端有限公司 A kind of text chooses method and terminal
CN110038305A (en) * 2019-04-12 2019-07-23 网易(杭州)网络有限公司 Information processing method and device, electronic equipment, storage medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102799568A (en) * 2011-05-26 2012-11-28 腾讯科技(深圳)有限公司 Method and system for selecting and copying read-only text
CN102866827A (en) * 2012-08-21 2013-01-09 刘炳林 Document editing method and device for man-machine interaction equipment
CN103135901A (en) * 2013-02-04 2013-06-05 广东欧珀移动通信有限公司 Method for accurately selecting textual words in mobile terminal and mobile terminal
CN103136180A (en) * 2013-02-25 2013-06-05 北京极兴莱博信息科技有限公司 Text segment copying and pasting method and device and terminal for implementing same
CN103236968A (en) * 2013-05-16 2013-08-07 百度在线网络技术(北京)有限公司 Session management method, device and system for mass texting messages
CN104378513A (en) * 2014-12-16 2015-02-25 北京奇虎科技有限公司 Message forwarding method, message communication client and mobile terminal
US20170155521A1 (en) * 2015-03-23 2017-06-01 Tencent Technology (Shenzhen) Company Limited Method and apparatus for processing group chat message
CN105049317A (en) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 Message forwarding method and apparatus
CN104965665A (en) * 2015-06-01 2015-10-07 努比亚技术有限公司 Information processing method and device and terminal
CN106020627A (en) * 2016-05-20 2016-10-12 乐视控股(北京)有限公司 Method and device for carrying out multi-selection on list items
CN106557237A (en) * 2016-10-12 2017-04-05 深圳市金立通信设备有限公司 A kind of method and terminal for selecting to replicate text message
CN106484246A (en) * 2016-10-31 2017-03-08 维沃移动通信有限公司 A kind of system of selection of list object and mobile terminal
CN108052256A (en) * 2017-11-29 2018-05-18 努比亚技术有限公司 Message display method, mobile terminal and computer readable storage medium
CN110032324A (en) * 2018-01-11 2019-07-19 华为终端有限公司 A kind of text chooses method and terminal
CN110038305A (en) * 2019-04-12 2019-07-23 网易(杭州)网络有限公司 Information processing method and device, electronic equipment, storage medium

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113285866A (en) * 2021-04-26 2021-08-20 维沃移动通信(杭州)有限公司 Information sending method and device and electronic equipment
CN113285866B (en) * 2021-04-26 2022-05-24 维沃移动通信(杭州)有限公司 Information sending method and device and electronic equipment
CN113360238A (en) * 2021-06-29 2021-09-07 维沃移动通信有限公司 Message processing method and device, electronic equipment and storage medium
WO2023274144A1 (en) * 2021-06-29 2023-01-05 维沃移动通信有限公司 Message processing method and apparatus, electronic device, and storage medium
CN114461101A (en) * 2021-07-14 2022-05-10 北京字跳网络技术有限公司 Message selection method, device and equipment
WO2023284674A1 (en) * 2021-07-14 2023-01-19 北京字跳网络技术有限公司 Message selection method and apparatus, and device
CN115987927A (en) * 2022-12-07 2023-04-18 上海掌门科技有限公司 Information processing method, equipment and machine-readable storage medium
CN116248535A (en) * 2023-02-01 2023-06-09 永中软件股份有限公司 Context display method, computer device and computer readable medium for communication

Similar Documents

Publication Publication Date Title
CN112702255A (en) Instant messaging message processing method and device and electronic equipment
CN106020595B (en) Message reply method and device
CN110113252B (en) Method and device for processing applet notification message and computer storage medium
CN111756917B (en) Information interaction method, electronic device and computer readable medium
CN105871690B (en) Method and device for realizing instant messaging
CN103460723A (en) Push notifications for updating multiple dynamic icon panels
CN102937999A (en) Dynamic browser icon
WO2020214705A1 (en) Method and device for displaying reply message
CN109947408B (en) Message pushing method and device, storage medium and electronic equipment
CN111917843A (en) Message pushing method, computer equipment and storage medium
WO2016127882A1 (en) Message reply method and device
CN112433788A (en) Applet running method and device, electronic equipment and storage medium
CN110427134B (en) Data processing method, device and equipment for instant messaging and readable storage medium
CN109582317B (en) Method and apparatus for debugging hosted applications
US11928485B2 (en) Data transmission method and apparatus, terminal, and storage medium
CN110109594B (en) Drawing data sharing method and device, storage medium and equipment
CN113346973B (en) Event prompting method and device, electronic equipment and computer readable storage medium
CN112054951B (en) Resource transmission method, device, terminal and medium
CN113014404B (en) Message transmission method and device, server and second client
CN112947918A (en) Data display method and device
CN110221746B (en) Information interaction method, device, medium and computing equipment
CN109150696B (en) Information processing method, server, client, and computer-readable storage medium
CN112346615A (en) Information processing method and device
CN112925521A (en) Interface generation method and device
CN106844502B (en) Data consistency processing method and equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
REG Reference to a national code

Ref country code: HK

Ref legal event code: DE

Ref document number: 40041557

Country of ref document: HK

SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination