WO2023078301A1 - 聊天信息的发送方法及装置 - Google Patents

聊天信息的发送方法及装置 Download PDF

Info

Publication number
WO2023078301A1
WO2023078301A1 PCT/CN2022/129278 CN2022129278W WO2023078301A1 WO 2023078301 A1 WO2023078301 A1 WO 2023078301A1 CN 2022129278 W CN2022129278 W CN 2022129278W WO 2023078301 A1 WO2023078301 A1 WO 2023078301A1
Authority
WO
WIPO (PCT)
Prior art keywords
target
identifier
user
chat information
message
Prior art date
Application number
PCT/CN2022/129278
Other languages
English (en)
French (fr)
Inventor
郝奕清
Original Assignee
维沃移动通信有限公司
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 维沃移动通信有限公司 filed Critical 维沃移动通信有限公司
Publication of WO2023078301A1 publication Critical patent/WO2023078301A1/zh

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]
    • H04L51/046Interoperability with other network applications or services
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/02Details
    • H04L12/16Arrangements for providing special services to substations
    • H04L12/18Arrangements for providing special services to substations for broadcast or conference, e.g. multicast
    • H04L12/1813Arrangements for providing special services to substations for broadcast or conference, e.g. multicast for computer conferences, e.g. chat rooms
    • 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/07User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail characterised by the inclusion of specific contents
    • H04L51/18Commands or executable codes

Definitions

  • the present application belongs to the Internet field, and in particular relates to a method and device for sending chat information.
  • a user During the use of a mobile terminal (such as a mobile phone, etc.), a user often involves forwarding interested chat information to a friend.
  • a mobile terminal such as a mobile phone, etc.
  • this forwarding method in the related art needs to manually search for all the messages associated with the point of interest from the chat information one by one, After the message is found, it is forwarded, which will lead to low forwarding efficiency.
  • Embodiments of the present application provide a method and device for sending chat information, which can improve the forwarding efficiency of chat information.
  • the embodiment of the present application provides a method for sending chat information, the method including:
  • M first identifiers are displayed, and P user identifiers are displayed, and M and P are both positive integers;
  • the embodiment of the present application provides a device for sending chat information, the device includes:
  • a receiving module configured to receive the user's first input to the target conversation message in the chat information
  • a display module configured to display M first identifiers and P user identifiers according to the first input, where M and P are both positive integers;
  • the receiving module is further configured to receive a second input from a user, and the second input is used to correlate the first target identifier among the M first identifiers with the second target identifier among the P user identifiers couplet;
  • a sending module configured to, in response to the second input, send the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier.
  • an embodiment of the present application provides an electronic device, the electronic device includes a processor, a memory, and a program or instruction stored in the memory and operable on the processor, and the program or instruction is The processor implements the steps of the method described in the first aspect when executed.
  • an embodiment of the present application provides a readable storage medium, on which a program or an instruction is stored, and when the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented .
  • the embodiment of the present application provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions, so as to implement the first aspect the method described.
  • the user's first input on the target conversation message in the chat information is received; according to the first input, M first identifiers are displayed, and P user identifiers are displayed, and M and P are both positive integers ; receiving a second input from the user, the second input is used to associate the first target identifier among the M first identifiers with the second target identifier among the P user identifiers; in response to the first Two input, sending the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier.
  • all conversation messages corresponding to the first target identifier (corresponding to the point of interest) in the chat information can be uniformly forwarded to the second target identifier (corresponding to the point of interest).
  • the user corresponding to the target identifier does not need to manually search for all the messages associated with the first target identifier from the chat information one by one, thereby improving the forwarding efficiency of the chat information.
  • FIG. 1 is a schematic flowchart of a method for sending chat information provided by an embodiment of the present application
  • FIG. 2 is a schematic diagram of a screen corresponding to the current chat interface in a method for sending chat information provided by an embodiment of the present application;
  • FIG. 3 is a schematic diagram of a screen corresponding to the current chat interface in another method for sending chat information provided by an embodiment of the present application;
  • FIG. 4 is a schematic diagram of a screen corresponding to the current chat interface in another method for sending chat information provided by an embodiment of the present application;
  • FIG. 5 is a schematic diagram of a screen corresponding to the current chat interface in another method for sending chat information provided by an embodiment of the present application;
  • FIG. 6 is a schematic diagram of a screen corresponding to the current chat interface in another method for sending chat information provided by an embodiment of the present application;
  • FIG. 7 is a schematic diagram of a screen corresponding to the current chat interface in another method for sending chat information provided by an embodiment of the present application;
  • FIG. 8 is a schematic diagram of a screen corresponding to the current chat interface in another method for sending chat information provided by an embodiment of the present application;
  • FIG. 9 is a schematic structural diagram of a device for sending chat information provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of an electronic device provided by an embodiment of the present application.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
  • FIG. 1 is a schematic flowchart of a method for sending chat information provided by an embodiment of the present application.
  • the method for sending chat information may include:
  • Step 110 receiving the user's first input on the target conversation message in the chat information
  • Step 120 According to the first input, display M first identifiers, and display P user identifiers, where M and P are both positive integers;
  • Step 130 receiving a second input from the user, the second input being used to associate the first target identifier among the M first identifiers with the second target identifier among the P user identifiers;
  • Step 140 In response to the second input, send the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier.
  • the chat information may include one or more conversation messages in the chat interface displayed by the current chat application program.
  • the chat information may be one-to-one chat information or group chat information, which is not specifically limited in this application.
  • the target conversation message may be one conversation message in the chat information, or multiple conversation messages in the chat information, which is not specifically limited in this application.
  • the first input may be the user's selection operation, confirmation operation, click operation or other operations on the target conversation message in the chat information, which is not specifically limited in this application.
  • the first input may be an operation by the user on the target conversation message in the chat information, or a series of operations by the user on the target conversation message in the chat information, which is not specifically limited in this application.
  • the following example illustrates.
  • the first input may be a user's selection operation on a target conversation message in the chat information.
  • M first identifiers are displayed, and P user identifiers are displayed.
  • the first input may be the user's long press operation and click operation on the target conversation message in the chat information.
  • the "message associated forwarding" option is displayed; in response to the user's click operation on the "message associated forwarding" option, M first ID, and display P user IDs.
  • both M and P are positive integers.
  • Each of the M first identifiers may be a type of identifier associated with the target conversation message.
  • each of the M first identifiers may be an identifier extracted from the target conversation message.
  • other types of identifications may also be used, which are not specifically limited in this application.
  • each of the P user IDs may be an ID of any contact in the contact list of the current chat application program, which is not specifically limited in this application.
  • M first identifiers and P user identifiers may be displayed simultaneously.
  • the M first identifiers may be displayed at one end of the target conversation message
  • the P user identifiers may be displayed at the other end of the target conversation message.
  • M first identifiers are displayed at the lower left of the target conversation message
  • P user identifiers are displayed at the lower right of the target conversation message.
  • the P user IDs can be displayed in a fixed-sized target display area at the other end of the target conversation message, and P can be displayed in the target display area according to a sliding operation in the target display area. user ID.
  • the second input is used to associate a first target identifier among the M first identifiers with a second target identifier among the P user identifiers.
  • the first target identifier may be one identifier or multiple identifiers; the second target identifier may be one identifier or multiple identifiers; this application does not make specific limitations.
  • the second input may be an association operation by the user on the first target identifier among the M first identifiers and the second target identifier among the P user identifiers.
  • the associated operation may be a confirmation operation, a click operation, a drag operation or other operations, which are not specifically limited in this application.
  • the second input may be one operation or a series of operations, which is not specifically limited in this application. The following example illustrates.
  • the second input may be a click operation on a first target identifier among the M first identifiers and a click operation on a second target identifier among the P user identifiers.
  • the first target mark and the second target mark may be clicked simultaneously, or the first target mark and the second target mark may be clicked successively within a certain period of time.
  • the corresponding The user in response to the click operation on the first target identifier among the M first identifiers and the click operation on the second target identifier among the P user identifiers, the corresponding The user sends a conversation message corresponding to the first target identifier in the chat information.
  • the second input may be a drag operation of dragging the first target identifier among the M first identifiers to the second target identifier among the P user identifiers (as shown by the arrow in FIG. 2 ).
  • the user corresponding to the second target identifier Sending a conversation message corresponding to the first target identifier in the chat information.
  • the conversation message corresponding to the first target ID in the chat information is substantially a type of conversation message corresponding to the first target ID, and the conversation message corresponding to the first target ID may be a A session message, or multiple session messages.
  • a class of conversational messages in the chat information corresponding to the first target identifier can be uniformly forwarded to the user corresponding to the second target identifier, realizing uniformly forwarding of a class of conversational messages in the chat information according to the type of the conversation message, and improving the Improve the forwarding efficiency of chat information.
  • the user's first input on the target conversation message in the chat information is received; according to the first input, M first identifiers are displayed, and P user identifiers are displayed, and M and P are both positive integers ; receiving a second input from the user, the second input is used to associate the first target identifier among the M first identifiers with the second target identifier among the P user identifiers; in response to the first Two input, sending the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier.
  • all conversation messages corresponding to the first target identifier (corresponding to the point of interest) in the chat information can be uniformly forwarded to the second target identifier (corresponding to the point of interest).
  • the user corresponding to the target identifier does not need to manually search for all the messages associated with the first target identifier from the chat information one by one, thereby improving the forwarding efficiency of the chat information.
  • the above describes that a class of conversation messages corresponding to the first target identifier in the chat information is uniformly forwarded to the user corresponding to the second target identifier, wherein the first target identifier belongs to at least one of the M first identifiers, and M
  • the first identifiers may include different types of identifiers, and the first identifier may be an identifier determined based on the target session message.
  • the first identifier includes at least one of the following: an identifier of the sender of the target conversation message; an identifier of a user involved in the target conversation message; an identifier of a topic involved in the target conversation message; .
  • conversational messages with specific conditions can be regarded as a class of conversational messages to ensure that a class of conversational messages have greater relevance in each dimension, so that the associated The session messages of the session are uniformly forwarded and processed as a class of session messages.
  • the first target identifier may be one identifier among the M first identifiers, or may be multiple identifiers among the M first identifiers, and the two cases will be specifically described below as examples.
  • the chat The conversation message corresponding to the first target identifier in the information may be the first conversation message.
  • the first conversation message includes a conversation message sent by the sender of the target conversation message in the chat information.
  • step 140 send the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier, specifically including:
  • the first conversation message includes the The session message sent by the sender of the target session message.
  • all the conversation messages corresponding to the first target identifier (corresponding to the sender of the target conversation message) in the chat information can be The message is uniformly forwarded to the user corresponding to the second target identifier.
  • all the conversation messages sent by the sender in the chat information can be uniformly forwarded to the user corresponding to the second target identifier.
  • the target conversation message is a message sent by Wang Wu, and the text of the message is "Two days ago, @ ⁇ , @ ⁇ , watching the XXX movie you discussed in the group these two days is very good , many of your opinions are very good, and I’m going to take a look tonight.”
  • the first target ID is Wang Wu’s ID
  • the conversation message corresponding to the first target ID in the chat information is: All conversation messages sent by Wang Wu.
  • the user corresponding to the second target ID is Zhao Liu, and in response to the operation of associating Wang Wu's ID with Zhao Liu's ID, all conversation messages sent by Wang Wu in the chat information can be sent to Zhao Liu.
  • the conversation message corresponding to the first target identifier in the chat information may be the second conversation message.
  • the second conversation message includes a conversation message of a target user in the chat information, and the target user is a user involved in the target conversation message.
  • step 140 send the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier, specifically including:
  • the first target identifier is the identifier of the user involved in the target conversation message
  • the chat information can be associated with the first target identifier (corresponding to the user involved in the target conversation message) All session messages of are uniformly forwarded to the user corresponding to the second target identifier.
  • all the conversation messages of the user involved in the target conversation message may be uniformly forwarded to the user corresponding to the second target identifier.
  • the users involved in the target conversation message may include directly involved users and indirectly involved users.
  • the directly involved user may be the user corresponding to the user name extracted from the text of the target conversation message. For example, if "@ ⁇ " is mentioned in the text of the target conversation message, " ⁇ " may be the directly involved user.
  • FIG. 3 uses FIG. 3 as an example to describe in detail.
  • the target conversation message is a message sent by Wang Wu, and the text of the message is "Two days ago, @ ⁇ , @ ⁇ , watching the XXX movie you discussed in the group these two days is very good, and you have a lot of opinions That’s very good, and I’m going to have a look tonight.”
  • the first target ID is Zhang San’s ID and Li Si’s ID
  • the conversation message corresponding to the first target ID in the chat information is the second conversation
  • the message, that is, the second conversation message is all the conversation messages of Zhang San and Li Si in the chat information.
  • the user corresponding to the second target ID is Zhao Liu, and in response to the operation of associating Zhang San's ID and Li Si's ID with Zhao Liu's ID, send the IDs of Zhang San and Li Si in the chat information to Zhao Liu. All conversation messages.
  • the indirectly involved users may be implicitly mentioned users in the target conversation message. For example, if the text of the target conversation message mentions that "the person who spoke the most is treating guests today", the application can statistically identify the user corresponding to "the person who spoke the most” and use it as an indirectly involved user.
  • indirectly involved users may also be users involved in other conversation messages having the same topic as the target conversation message.
  • FIG. 4 uses FIG. 4 as an example to describe in detail.
  • the target conversation message is a message sent by Wang Wu, and the text of the message is "Two days ago, @ ⁇ , @ ⁇ , watching the XXX movie you discussed in the group these two days is very good, and you have a lot of opinions That’s very good, I’m going to check it out tonight.” It can be seen that the users directly involved in the text of the target conversation message include Zhang San and Li Si. The topic of the target conversation message is "Movie”.
  • the first target identifier is the identifier of the user involved in the target conversation message
  • the first target identifier may include: the identifier of Zhang San, the identifier of Li Si, and the identifier of Qian Qi.
  • the conversation message corresponding to the first target identifier in the chat information is: the text of the conversation message in the chat information involves all the conversation messages of Zhang San, Li Si or Qian Qi.
  • the user corresponding to the second target ID can be Zhao Liu, and then can send the chat information to Zhao Liu in response to the operation of associating Zhang San's ID, Li Si's ID, or Qian Qi's ID with the "Zhao Liu" ID
  • the middle conversation message relates to all the conversation news of Zhang San, Li Si or Qian Qi.
  • the conversation message corresponding to the first target identifier in the chat information may be a third conversation message, where the third conversation message includes a conversation message in which the topic exists in the chat information.
  • the topics involved in the target conversation message may be studies, exams, shopping, securities, commodities, movies, etc., which are not specifically limited in this application.
  • step 140 send the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier, specifically including:
  • the first target identifier is the identifier of the topic involved in the target conversation message
  • all the conversation messages corresponding to the first target identifier (corresponding to the topic of the target conversation message) in the chat information can be forwarded to the second target in a unified manner. Identify the corresponding user.
  • the third conversational message is a plurality of conversational messages
  • all the conversational messages of the topic involved in the text of the target conversational message involved in the chat information can be uniformly forwarded to the user corresponding to the second target identifier .
  • the target conversation message is a message sent by Wang Wu, and the text of the message is "Two days ago, @ ⁇ , @ ⁇ , watching the XXX movie you discussed in the group these two days is very good , many of your opinions are very good, and I am going to have a look tonight.”
  • the first target ID is "movie”
  • the conversation message corresponding to the first target ID in the chat information is: Topic in the chat information All session messages for "Movie”.
  • the user corresponding to the second target identifier can be Zhao Liu, and in response to the operation of associating the "movie” identifier with the "Zhao Liu” identifier, all conversation messages with the topic "movie” in the chat information can be sent to Zhao Liu .
  • the first target identifier may also be multiple identifiers in the M first identifiers.
  • the first target identifier may also be a combination of at least two identifiers of different types, so that the conversation message in the chat information can be forwarded according to the combination type.
  • the following example illustrates.
  • the first target identifier includes a first designated identifier and a second designated identifier; wherein, the first designated identifier may include at least one of the following: the identifier of the sender of the target session message, the The identifier of the user involved in the target conversation message, and the identifier of the topic involved in the target conversation message.
  • the second specified identifier may include at least one of the following: an identifier of a sender of the target conversation message, an identifier of a user involved in the target conversation message, and an identifier of a topic involved in the target conversation message.
  • the first specified identifier may be different from the second specified identifier, or the first specified identifier may be the same as the second specified identifier.
  • step 140 the sending the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier includes:
  • the specified conversation messages may be all conversation messages satisfying a specific condition, and the specific condition is a condition associated with the first specified identifier and the second specified identifier.
  • the specified session message includes any of the following:
  • a conversation message related to the first specified identifier in the chat information and a conversation message related to the second specified identifier;
  • the conversation message related to the second designated identifier is involved.
  • the target conversation message is a message sent by Wang Wu, and the message
  • the text reads, "Two days ago, @ ⁇ , @ ⁇ , the XXX movie you guys discussed in the group these two days was very good. Many of your opinions are very good. I plan to watch it tonight.”
  • the first designated identifier may be the identifier of "Zhang San”
  • the second designated identifier may be the identifier of "Movie”.
  • the conversation message corresponding to the first target identifier in the chat information is: the conversation message involving both "Zhang San” and "Movie” in the chat information.
  • the user corresponding to the second target ID can be Zhao Liu, and in response to the operation of associating the ID of "Zhang San” and the ID of "Movie” with the ID of "Zhao Liu", send the simultaneous message in the chat message to Zhao Liu. All conversations related to "Zhang San” and "Movie”.
  • the conversation message involving both the identification of "Zhang San” and the identification of "movie” in the chat information may be a conversation message about movies sent by Zhang San, or it may be that Zhang San and the movie are mentioned in the conversation message. conversation messages.
  • the conversation message corresponding to the first target identifier is: a conversation message involving "Zhang San” in the chat information and a conversation message about "Movie” in the chat information.
  • the user corresponding to the second target identifier may be Zhao Liu, and then send all conversation messages related to "Zhang San” and all conversation messages related to "movie” in the chat information to Zhao Liu.
  • the target session message is a message sent by Wang Wu
  • the text of the message reads, "Two days ago, @ ⁇ , @ ⁇ , watching the XXX movie you discussed in the group these two days is very good. Many of your opinions are very good. I am going to watch it tonight.”
  • the first designated identifier may be the identifier of "Wang Wu”
  • the second designated identifier may be the identifier of "Movie”.
  • the conversation messages corresponding to the first target identifier in the chat information are: all the conversation messages sent by "Wang Wu” in the chat information, and all the conversation messages with the "movie” logo in the chat information.
  • the user corresponding to the second target ID can be Zhao Liu, and in response to the operation of associating the ID of "Wang Wu” and the ID of "Movie” with the ID of "Zhao Liu", send the "Zhao Liu” in the chat information to Zhao Liu. All the conversation messages of "Movie” are involved in the conversation messages sent by "Wang Wu”.
  • the second target identifier belongs to at least one identifier among the P user identifiers.
  • the P user identities may be different types of identities, specifically, the P user identities may be a type of identities satisfying a specific condition.
  • the P user identifiers may include at least one of the following:
  • P user identities with specific conditions can be displayed as a class of user identities to ensure that the P user identities have greater relevance in each dimension.
  • priority Displaying P user identifiers that are more likely to be selected by the user facilitates quick selection of the second target identifier and improves the efficiency of determining the second target identifier.
  • the second target identifier includes the identifiers corresponding to the users involved in the target conversation message.
  • the target ID and the second target ID correspond to the special case of the same user. At this time, all the conversation messages related to the user in the chat information can be uniformly forwarded to the user.
  • the following example illustrates.
  • the first target ID and the second target ID may correspond to the same user.
  • the conversation message corresponding to the first target identifier in the chat information may be a fourth conversation message, wherein the fourth conversation message is a conversation message in which content associated with the user corresponding to the second target identifier exists in the chat information.
  • step 140 in response to the second input, sending the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier, specifically including:
  • a fourth conversation message is sent to the user corresponding to the second target identifier, where the fourth conversation message is that there is a chat message associated with the user corresponding to the second target identifier in the chat information.
  • the content of the session message is sent to the user corresponding to the second target identifier, where the fourth conversation message is that there is a chat message associated with the user corresponding to the second target identifier in the chat information.
  • the chat information can be associated with the first target ID (corresponding to the user corresponding to the second target ID). All session messages of are uniformly forwarded to the user corresponding to the second target identifier.
  • the fourth conversational message is a plurality of conversational messages
  • all the conversational messages with content associated with the user corresponding to the second target identifier in the chat information can be uniformly forwarded to the user corresponding to the second target identifier .
  • the target conversation message is a message sent by Wang Wu, and the text of the message is "Two days ago, @ ⁇ , the XXX movie you talked about in the group these two days is very good, tonight I I’m also going to take a look.”
  • the first target ID and the second target ID can correspond to the same user “Zhang San”, and the conversation message corresponding to the first target ID in the chat information is: there is an account related to Zhang San in the chat information. All conversation messages with linked content.
  • the user corresponding to the second target identifier may be Zhang San, and in response to the operation of associating the identifier of the content associated with "Zhang San” with the "Zhang San” identifier, send a message to Zhang San that exists in the chat information. All conversation messages of content related to Zhang San. It is understandable that the content related to Zhang San here may be sent by other people.
  • the present application can also realize one-time forwarding of multiple session messages without forwarding multiple session messages one by one, which improves the forwarding efficiency of session messages.
  • the chat information is chat information in a chat group.
  • the user identifier may be a user in the chat group, or an identifier of a user outside the chat group.
  • the user identifier includes at least one of a user avatar and a user name.
  • the session message corresponding to the first target identifier includes a plurality of session messages.
  • the conversation messages corresponding to the first target identifier in the chat information can be multiple conversation messages, multiple conversation messages can be forwarded to the user corresponding to the second target identifier at one time, without forwarding a plurality of conversation messages one by one, thereby improving chat information. forwarding efficiency.
  • the chat information sending method provided by the embodiment of the present application may be executed by the chat information sending device, or a control module in the chat information sending device for executing the chat information sending method.
  • the method for sending chat information performed by the chat information sending device is taken as an example to illustrate the chat information sending device provided in the embodiment of the present application.
  • Fig. 9 is a schematic structural diagram of an apparatus for sending chat information provided by an embodiment of the present application.
  • the embodiment of the present application provides a device 900 for sending chat information, which may include:
  • a receiving module 901 configured to receive a user's first input to a target conversation message in chat information
  • the display module 902 is configured to display M first identifiers and P user identifiers according to the first input, where M and P are both positive integers;
  • the receiving module 901 is further configured to receive a second input from the user, and the second input is used to associate the first target identifier among the M first identifiers with the second target identifier among the P user identifiers Associated;
  • the sending module 903 is configured to, in response to the second input, send the conversation message corresponding to the first target identifier in the chat information to the user corresponding to the second target identifier.
  • the device for sending chat information may include a receiving module, configured to receive a user's first input on the target conversation message in the chat information; a display module, configured to display the Mth messages according to the first input One logo, and display P user logos, M and P are both positive integers; the receiving module is also used to receive the second input of the user, and the second input is used to use the M first logos
  • the first target identifier is associated with the second target identifier among the P user identifiers; the sending module is configured to send the chat message to the user corresponding to the second target identifier in response to the second input.
  • the session message corresponding to the first target identifier may include a receiving module, configured to receive a user's first input on the target conversation message in the chat information; a display module, configured to display the Mth messages according to the first input One logo, and display P user logos, M and P are both positive integers; the receiving module is also used to receive the second input of the user, and the second input is used to use the M
  • all conversation messages corresponding to the first target identifier (corresponding to the point of interest) in the chat information can be uniformly forwarded to the second target identifier (corresponding to the point of interest).
  • the user corresponding to the target identifier does not need to manually search for all the messages associated with the first target identifier from the chat information one by one, thereby improving the forwarding efficiency of the chat information.
  • the first identifier is an identifier determined based on the target conversation message
  • the first identification includes at least one of the following:
  • An identifier of a topic involved in the target conversation message is an identifier of a topic involved in the target conversation message.
  • a class of conversation messages with specific conditions can be highly correlated in each dimension, so that all related conversation messages can be uniformly forwarded as a class of conversation messages.
  • the number of the first target identifier is 1.
  • the sending module is specifically configured to: send a first session message to a user corresponding to the second target ID when the first target ID is the ID of the sender of the target session message, and the first The conversation message includes the conversation message sent by the sender in the chat information;
  • all the conversation messages corresponding to the first target identifier (corresponding to the sender of the target conversation message) in the chat information can be The message is uniformly forwarded to the user corresponding to the second target identifier.
  • the sending module is specifically used for:
  • the first target identifier is the identifier of the user involved in the target conversation message
  • the chat information can be associated with the first target identifier (corresponding to the user involved in the target conversation message) All session messages of are uniformly forwarded to the user corresponding to the second target identifier.
  • the sending module is specifically used for:
  • the first target identifier is the identifier of the topic involved in the target conversation message
  • all the conversation messages corresponding to the first target identifier (corresponding to the topic of the target conversation message) in the chat information can be forwarded to the second target in a unified manner. Identify the corresponding user.
  • the first target identifier includes a first specified identifier and a second specified identifier
  • the sending module is used for:
  • the specified session message includes any of the following:
  • Conversation messages of the first specified identifier and the second specified identifier exist in the chat information at the same time;
  • the session message with the second specified identifier exists in the session message sent by the user corresponding to the first specified identifier.
  • the first target identifier is a combination of at least two identifiers of different types, unified forwarding of one type of conversation messages in the chat information according to the combination type can be realized.
  • the user identifier includes at least one of the following:
  • P user identities with specific conditions can be displayed as a class of user identities to ensure that the P user identities have greater relevance in each dimension.
  • priority Displaying P user identifiers that are more likely to be selected by the user facilitates quick selection of the second target identifier and improves the efficiency of determining the second target identifier.
  • the device for sending chat information in the embodiment of the present application may be a device, or a component, an integrated circuit, or a chip in a terminal.
  • the device may be a mobile electronic device or a non-mobile electronic device.
  • the mobile electronic device may be a mobile phone, a tablet computer, a notebook computer, a handheld computer, a vehicle electronic device, a wearable device, an ultra-mobile personal computer (ultra-mobile personal computer, UMPC), a netbook or a personal digital assistant (personal digital assistant).
  • non-mobile electronic devices can be servers, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (television, TV), teller machine or self-service machine, etc., this application Examples are not specifically limited.
  • Network Attached Storage NAS
  • personal computer personal computer, PC
  • television television
  • teller machine or self-service machine etc.
  • the device for sending chat information in the embodiment of the present application may be a device with an operating system.
  • the operating system may be an Android (Android) operating system, an ios operating system, or other possible operating systems, which are not specifically limited in this embodiment of the present application.
  • the device for sending chat information provided by the embodiment of the present application can realize various processes realized by the method embodiments in FIG. 1 to FIG. 8 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 1000, including a processor 1001, a memory 1002, and programs or instructions stored in the memory 1002 and operable on the processor 1001,
  • the program or instruction is executed by the processor 1001
  • the various processes of the above-mentioned method for sending chat information can be realized, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
  • the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
  • FIG. 11 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 1100 includes, but is not limited to: a radio frequency unit 1101, a network module 1102, an audio output unit 1103, an input unit 1104, a sensor 1105, a display unit 1106, a user input unit 1107, an interface unit 1108, a memory 1109, and a processor 1110, etc. part.
  • the electronic device 1100 can also include a power supply (such as a battery) for supplying power to various components, and the power supply can be logically connected to the processor 1110 through the power management system, so that the management of charging, discharging, and function can be realized through the power management system. Consumption management and other functions.
  • a power supply such as a battery
  • the structure of the electronic device shown in FIG. 11 does not constitute a limitation to the electronic device.
  • the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, and details will not be repeated here. .
  • the user input unit 1107 is configured to receive the user's first input to the target conversation message in the chat information
  • a display unit 1106, configured to display M first identifiers and P user identifiers according to the first input, where M and P are both positive integers;
  • the user input unit 1107 is further configured to receive a second input from the user, where the second input is used to correlate the first target identifier among the M first identifiers with the second target identifier among the P user identifiers couplet;
  • the radio frequency unit 1101 is configured to, in response to the second input, send a conversation message corresponding to the first target identifier in the chat information to a user corresponding to the second target identifier.
  • the electronic device may include a user input unit 1107, configured to receive a user's first input on the target conversation message in the chat information; a display unit 1106, configured to display the Mth One identifier, and display P user identifiers, M and P are both positive integers; the user input unit 1107 is also used to receive a second input from the user, and the second input is used to use the M first identifiers
  • the first target identifier is associated with the second target identifier among the P user identifiers;
  • the radio frequency unit 1101 is configured to send the chat information to the user corresponding to the second target identifier in response to the second input A session message corresponding to the first target identifier.
  • all conversation messages corresponding to the first target identifier (corresponding to the point of interest) in the chat information can be uniformly forwarded to the second target identifier (corresponding to the point of interest).
  • the user corresponding to the target identifier does not need to manually search for all the messages associated with the first target identifier from the chat information one by one, thereby improving the forwarding efficiency of the chat information.
  • the first identifier is an identifier determined based on the target conversation message
  • the first identification includes at least one of the following:
  • An identifier of a topic involved in the target conversation message is an identifier of a topic involved in the target conversation message.
  • a class of conversation messages with specific conditions can be highly correlated in each dimension, so that all related conversation messages can be uniformly forwarded as a class of conversation messages.
  • the number of the first target identifier is 1.
  • the radio frequency unit 1101 is specifically configured to: when the first target ID is the ID of the sender of the target session message, send the first session message to the user corresponding to the second target ID, the second target ID A conversation message includes a conversation message sent by the sender in the chat information;
  • all the conversation messages corresponding to the first target identifier (corresponding to the sender of the target conversation message) in the chat information can be The message is uniformly forwarded to the user corresponding to the second target identifier.
  • radio frequency unit 1101 is specifically used for:
  • the first target identifier is the identifier of the user involved in the target conversation message
  • the chat information can be associated with the first target identifier (corresponding to the user involved in the target conversation message) All session messages of are uniformly forwarded to the user corresponding to the second target identifier.
  • radio frequency unit 1101 is specifically used for:
  • the first target identifier is the identifier of the topic involved in the target conversation message
  • all the conversation messages corresponding to the first target identifier (corresponding to the topic of the target conversation message) in the chat information can be forwarded to the second target in a unified manner. Identify the corresponding user.
  • the first target identifier includes a first specified identifier and a second specified identifier
  • the radio frequency unit 1101 is configured to:
  • the specified session message includes any of the following:
  • Conversation messages of the first specified identifier and the second specified identifier exist in the chat information at the same time;
  • the session message with the second specified identifier exists in the session message sent by the user corresponding to the first specified identifier.
  • the first target identifier is a combination of at least two identifiers of different types, unified forwarding of one type of conversation messages in the chat information according to the combination type can be realized.
  • the user identification includes at least one of the following:
  • P user identities with specific conditions can be displayed as a class of user identities to ensure that the P user identities have greater relevance in each dimension.
  • priority Displaying P user identifiers that are more likely to be selected by the user facilitates quick selection of the second target identifier and improves the efficiency of determining the second target identifier.
  • the input unit 1104 may include a graphics processor (Graphics Processing Unit, GPU) 11041 and a microphone 11042, and the graphics processor 11041 is used for the image capture device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 1106 may include a display panel 11061, and the display panel 11061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 1107 includes a touch panel 11071 and other input devices 11072 . Touch panel 11071, also called touch screen.
  • the touch panel 11071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 11072 may include, but are not limited to, physical keyboards, function keys (such as volume control keys, switch keys, etc.), trackballs, mice, and joysticks, which will not be repeated here.
  • Memory 1109 can be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • Processor 1110 may integrate an application processor and a modem processor, wherein the application processor mainly processes operating systems, user interfaces, and application programs, and the modem processor mainly processes wireless communications. It can be understood that the foregoing modem processor may not be integrated into the processor 1110 .
  • the embodiment of the present application also provides a readable storage medium, the readable storage medium stores a program or an instruction, and when the program or instruction is executed by the processor, the various processes of the above-mentioned chat information sending method embodiment are realized, and can To achieve the same technical effect, in order to avoid repetition, no more details are given here.
  • the processor is the processor in the electronic device described in the above embodiments.
  • the readable storage medium includes computer readable storage medium, such as computer read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
  • the embodiment of the present application further provides a chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, and the processor is used to run programs or instructions to implement the method for sending chat information above Each process of the example, and can achieve the same technical effect, in order to avoid repetition, will not repeat them here.
  • chips mentioned in the embodiments of the present application may also be called system-on-chip, system-on-chip, system-on-a-chip, or system-on-a-chip.
  • the term “comprising”, “comprising” or any other variation thereof is intended to cover a non-exclusive inclusion such that a process, method, article or apparatus comprising a set of elements includes not only those elements, It also includes other elements not expressly listed, or elements inherent in the process, method, article, or device. Without further limitations, an element defined by the phrase “comprising a " does not preclude the presence of additional identical elements in the process, method, article, or apparatus comprising that element.
  • the scope of the methods and devices in the embodiments of the present application is not limited to performing functions in the order shown or discussed, and may also include performing functions in a substantially simultaneous manner or in reverse order according to the functions involved. Functions are performed, for example, the described methods may be performed in an order different from that described, and various steps may also be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

Landscapes

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

Abstract

本申请公开了一种聊天信息的发送方法及装置,属于互联网领域。聊天信息的发送方法包括:接收用户对聊天信息中的目标会话消息的第一输入;根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。

Description

聊天信息的发送方法及装置
相关申请的交叉引用
本申请要求在2021年11月02日提交的中国专利申请第202111287503.8号的优先权,该中国专利申请的全部内容通过引用包含于此。
技术领域
本申请属于互联网领域,具体涉及一种聊天信息的发送方法及装置。
背景技术
在移动终端(例如手机等)的使用过程中,用户经常会涉及到将感兴趣的聊天信息转发给朋友。
相关技术在转发聊天信息的过程中,往往需要先长按一条消息以选中这条消息,此时会出现转发选项,用户在选择转发选项之后进入用户选择界面,此时用户可在用户选择界面选择这条消息发送到的目标用户,选择之后即可将这条消息发送给选择的目标用户。
但是,当用户需要转发聊天信息中与某一关注点相关联的所有消息的情况下,相关技术中的这种转发方式需要手动地从聊天信息中逐条查找与此关注点相关联的所有消息,查找到消息之后再进行转发,这样会导致转发效率较低。
发明内容
本申请实施例提供一种聊天信息的发送方法及装置,能够提高聊天信息的转发效率。
第一方面,本申请实施例提供了一种聊天信息的发送方法,该方法包括:
接收用户对聊天信息中的目标会话消息的第一输入;
根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P 均为正整数;
接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
第二方面,本申请实施例提供了一种聊天信息的发送的装置,该装置包括:
接收模块,用于接收用户对聊天信息中的目标会话消息的第一输入;
显示模块,用于根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;
所述接收模块,还用于接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
发送模块,用于响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如第一方面所述的方法的步骤。
第四方面,本申请实施例提供了一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如第一方面所述的方法的步骤。
第五方面,本申请实施例提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如第一方面所述的方法。
在本申请实施例中,接收用户对聊天信息中的目标会话消息的第一输入;根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;接收用户的第二输入,所述第二输入用于将所述M个第一标识中的 第一目标标识与所述P个用户标识中的第二目标标识相关联;响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。这样,在用户需要转发聊天信息中与某一关注点相关联的所有消息的情况下,可以将聊天信息中与第一目标标识(对应于关注点)对应的所有会话消息统一地转发至第二目标标识对应的用户,而无需手动地从聊天信息中逐条查找与第一目标标识相关联的所有消息,提高了聊天信息的转发效率。
附图说明
图1为本申请实施例提供的一种聊天信息的发送方法的示意性流程图;
图2为本申请实施例提供的一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图3为本申请实施例提供的另一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图4为本申请实施例提供的另一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图5为本申请实施例提供的另一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图6为本申请实施例提供的另一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图7为本申请实施例提供的另一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图8为本申请实施例提供的另一种聊天信息的发送方法中当前聊天界面对应的画面的示意图;
图9是本申请实施例提供的一种聊天信息的发送装置的示意性结构图;
图10是本申请实施例提供的一种电子设备的示意性结构图;
图11为本申请实施例的一种电子设备的硬件结构示意图。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员获得的所有其他实施例,都属于本申请保护的范围。
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施,且“第一”、“第二”等所区分的对象通常为一类,并不限定对象的个数,例如第一对象可以是一个,也可以是多个。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的聊天信息的发送方法进行详细地说明。
图1为本申请实施例提供的一种聊天信息的发送方法的示意性流程图。
如图1所示,本申请实施例提供的聊天信息的发送方法,可包括:
步骤110:接收用户对聊天信息中的目标会话消息的第一输入;
步骤120:根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;
步骤130:接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
步骤140:响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
在步骤110中,聊天信息可以包括当前聊天应用程序显示的聊天界面中的一条或多条会话消息。聊天信息可以是一对一聊天信息,也可以是群聊信息,本申请不作具体限制。
在步骤110中,目标会话消息可以是聊天信息中的一条会话消息,也可以是聊天信息中的多条会话消息,本申请不作具体限制。
在步骤110中,第一输入可以是用户对聊天信息中的目标会话消息的选择操作、确认操作、点击操作或者其他操作,本申请不作具体限制。第一输入可以是用户对聊天信息中的目标会话消息的一次操作,也可以是用户对聊天信息中的目标会话消息的一串操作,本申请不作具体限制。下面举例说明。
例如,第一输入可以是用户对聊天信息中的目标会话消息的选择操作。进而,在步骤120中,响应于用户对聊天信息中的目标会话消息的选择操作,显示M个第一标识,并显示P个用户标识。
又例如,第一输入可以是用户对聊天信息中的目标会话消息的长按操作和点击操作。进而,在步骤120中,响应于用户对聊天信息中的目标会话消息的长按操作,显示“消息关联转发”选项;响应于用户对“消息关联转发”选项的点击操作,显示M个第一标识,并显示P个用户标识。
在步骤120中,M、P均为正整数。M个第一标识中的每一个第一标识可以是与目标会话消息相关联的一类标识。例如,M个第一标识中的每一个第一标识可以是从目标会话消息中提取出的标识。当然,还可以是其他类型的标识,本申请不作具体限制。
在步骤120中,P个用户标识中的每一个用户标识可以是当前聊天应用程序的联系人列表中的任意一个联系人的标识,本申请不作具体限制。
在步骤120中,M个第一标识和P个用户标识可以同时显示。其中,M个第一标识可以显示在目标会话消息的一端,P个用户标识可以显示在目标会话消息的另一端。举例而言,如图2所示,M个第一标识显示在目标会话消息的左下方,P个用户标识显示在目标会话消息的右下方。
其中,若P个用户标识的标识数量较多,可将P个用户标识显示在目标会话消息的另一端的固定大小的目标显示区域,根据在目标显示区域的滑动操作,在目标显示区域显示P个用户标识。
在步骤130中,第二输入用于将M个第一标识中的第一目标标识与P个 用户标识中的第二目标标识相关联。其中,第一目标标识可以是一个标识,也可以是多个标识;第二目标标识可以是一个标识,也可以是多个标识;本申请不作具体限制。
在步骤130中,第二输入可以是用户对M个第一标识中的第一目标标识与P个用户标识中的第二目标标识的关联操作。其中,所述关联操作可以是确认操作、点击操作、拖动操作或者其他操作,本申请不作具体限制。第二输入可以是一次操作,也可以是一串操作,本申请不作具体限制。下面举例说明。
例如,第二输入可以是对M个第一标识中的第一目标标识的点击操作和对P个用户标识中的第二目标标识的点击操作。可以理解的,可以是对第一目标标识和第二目标标识同时点击,或者,可以是一定时间内先后对第一目标标识和第二目标标识的点击。基于此,在步骤140中,响应于对M个第一标识中的第一目标标识的点击操作和对P个用户标识中的第二目标标识的点击操作,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
又例如,第二输入可以是将M个第一标识中的第一目标标识拖动至P个用户标识中的第二目标标识上的拖动操作(如图2中箭头所示)。基于此,在步骤140中,响应于用户将M个第一标识中的第一目标标识拖动至P个用户标识中的第二目标标识上的操作,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
在步骤140中,所述聊天信息中与所述第一目标标识对应的会话消息实质上是与第一目标标识对应的一类会话消息,与所述第一目标标识对应的会话消息可以是一条会话消息,也可以是多条会话消息。这样,可以将聊天信息中与第一目标标识对应的一类会话消息统一地转发至第二目标标识对应的用户,实现了按会话消息的类型统一地转发聊天信息中的一类会话消息,提高了聊天信息的转发效率。
在本申请实施例中,接收用户对聊天信息中的目标会话消息的第一输入; 根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。这样,在用户需要转发聊天信息中与某一关注点相关联的所有消息的情况下,可以将聊天信息中与第一目标标识(对应于关注点)对应的所有会话消息统一地转发至第二目标标识对应的用户,而无需手动地从聊天信息中逐条查找与第一目标标识相关联的所有消息,提高了聊天信息的转发效率。
上文描述了将聊天信息中与第一目标标识对应的一类会话消息统一地转发至第二目标标识对应的用户,其中,第一目标标识属于M个第一标识中的至少一个标识,M个第一标识可以包括不同类型的标识,第一标识可以为基于所述目标会话消息而确定的标识。
例如,第一标识包括以下至少一项:所述目标会话消息的发送方的标识;所述目标会话消息中涉及到的用户的标识;所述目标会话消息中涉及到的话题的标识;等等。
这样,可以将具有特定条件的会话消息(即聊天信息中与第一目标标识对应的会话消息)作为一类会话消息,保证一类会话消息在各个维度具有较大的关联性,从而将相关联的会话消息作为一类会话消息进行统一转发处理。
并且,第一目标标识可以是M个第一标识中的一个标识,也可以是M个第一标识中的多个标识,下文对这两种情况分别进行具体举例描述。
在第一目标标识的数目为1的情况下,基于不同类型的第一目标标识对本申请的方案进行举例描述。
在一个具体的实施例中,以第一目标标识为所述目标会话消息的发送方的标识为例,在第一目标标识为所述目标会话消息的发送方的标识的情况下,所述聊天信息中与所述第一目标标识对应的会话消息可以为第一会话消息。 第一会话消息包括所述聊天信息中所述目标会话消息的发送方发送的会话消息。
基于此,在步骤140中,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息,具体包括:
在所述第一目标标识为所述目标会话消息的发送方的标识的情况下,向所述第二目标标识对应的用户发送第一会话消息,第一会话消息包括所述聊天信息中所述目标会话消息的发送方发送的会话消息。
这样,在用户需要转发聊天信息中所述目标会话消息的发送方发送的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息的发送方)对应的所有会话消息统一地转发至第二目标标识对应的用户。
特别是对于该目标会话消息的发送方在聊天信息中存在多条会话消息的情况,可以将聊天信息中该发送方发送的全部会话消息统一地转发至第二目标标识对应的用户。
举例而言,如图2所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,@李四,看你们这两天在群里讨论的XXX电影很不错,你们很多看法说的很好,今晚我也准备去看看。”可以看出,第一目标标识为王五的标识,聊天信息中与第一目标标识对应的会话消息为:聊天信息中由王五发送的全部会话消息。第二目标标识对应的用户为赵六,进而可响应于将王五的标识与赵六的标识相关联的操作,向赵六发送所述聊天信息中由王五发送的全部会话消息。
在另一个具体的实施例中,以第一目标标识为所述目标会话消息中涉及到的用户的标识为例,在第一目标标识为所述目标会话消息中涉及到的用户的标识的情况下,所述聊天信息中与所述第一目标标识对应的会话消息可以为第二会话消息。其中,第二会话消息包括所述聊天信息中目标用户的会话消息,所述目标用户为所述目标会话消息中涉及到的用户。
基于此,在步骤140中,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息,具体包括:
在第一目标标识为所述目标会话消息中涉及到的用户的标识的情况下,向所述第二目标标识对应的用户发送第二会话消息,其中,第二会话消息包括所述聊天信息中目标用户的会话消息,所述目标用户为所述目标会话消息中涉及到的用户。
这样,在用户需要转发聊天信息中与目标会话消息中涉及到的用户相关的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息中涉及到的用户)对应的所有会话消息统一地转发至第二目标标识对应的用户。
特别是对于第二会话消息为多条会话消息的情况,可以将所述目标会话消息中涉及到的用户的全部会话消息统一地转发至第二目标标识对应的用户。
其中,目标会话消息中涉及到的用户可以包括直接涉及的用户和间接涉及的用户。
其中,直接涉及的用户可以是从目标会话消息的正文中提取到的用户名称对应的用户。例如,目标会话消息的正文提到了“@张三”,“张三”可以是直接涉及的用户。下面以图3为例进行具体描述。
如图3所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,@李四,看你们这两天在群里讨论的XXX电影很不错,你们很多看法说的很好,今晚我也准备去看看。”可以看出,第一目标标识为张三的标识和李四的标识,聊天信息中与第一目标标识对应的会话消息为第二会话消息,即第二会话消息为聊天信息中张三和李四的全部会话消息。第二目标标识对应的用户为赵六,进而可响应于将张三的标识和李四的标识与赵六的标识相关联的操作,向赵六发送所述聊天信息中张三和李四的全部会话消息。
其中,间接涉及的用户可以是目标会话消息中隐含提到的用户。例如,目标会话消息的正文提到了“发言最多的人今天请客”,则应用程序可以统计识别出“发言最多的人”对应的用户,并将其作为间接涉及的用户。
当然,间接涉及的用户还可以是与目标会话消息具有同一话题的其他会话消息中涉及到的用户。下面以图4为例进行具体描述。
如图4所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,@李四,看你们这两天在群里讨论的XXX电影很不错,你们很多看法说的很好,今晚我也准备去看看。”可以看出,目标会话消息的正文中直接涉及到的用户包括张三和李四。目标会话消息的话题是“电影”。
同时,如图4所示,若聊天信息中除目标会话消息之外的另一条会话消息(与目标会话消息具有同一话题“电影”)是王五发送的消息,消息正文为“@钱七,听说你在群里团购拼单XXX电影的电影票,加我一个。”可以看出,间接涉及到的用户包括“钱七”。由此,在第一目标标识为目标会话消息中涉及到的用户的标识的情况下,第一目标标识可包括:张三的标识、李四的标识和钱七的标识。聊天信息中与第一目标标识对应的会话消息为:聊天信息中会话消息正文涉及到张三、李四或钱七的全部会话消息。第二目标标识对应的用户可为赵六,进而可响应于将张三的标识、李四的标识或钱七的标识与“赵六”标识相关联的操作,向赵六发送所述聊天信息中会话消息涉及到张三、李四或钱七的全部会话消息。
在另一个具体的实施例中,以第一目标标识为所述目标会话消息中涉及到的话题的标识为例,在第一目标标识为所述目标会话消息中涉及到的话题的标识的情况下,所述聊天信息中与所述第一目标标识对应的会话消息可以为第三会话消息,其中,第三会话消息包括所述聊天信息中存在所述话题的会话消息。
其中,目标会话消息中涉及到的话题可以是学习、考试、购物,证券、商品、电影等等,本申请不作具体限制。
基于此,在步骤140中,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息,具体包括:
在所述第一目标标识为所述目标会话消息中涉及到的话题的标识的情况下,向所述第二目标标识对应的用户发送第三会话消息,其中,第三会话消息包括所述聊天信息中涉及到所述话题的会话消息。
这样,在用户需要转发聊天信息中的所有第三会话消息的情况下,可以 将聊天信息中与第一目标标识(对应于目标会话消息的话题)对应的所有会话消息统一地转发至第二目标标识对应的用户。
特别是对于第三会话消息为多条会话消息的情况,可以将聊天信息中涉及到的所述目标会话消息的正文中涉及到的话题的全部会话消息统一地转发至第二目标标识对应的用户。
举例而言,如图5所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,@李四,看你们这两天在群里讨论的XXX电影很不错,你们很多看法说的很好,今晚我也准备去看看。”可以看出,第一目标标识为“电影”,聊天信息中与第一目标标识对应的会话消息为:聊天信息中话题为“电影”的全部会话消息。第二目标标识对应的用户可为赵六,进而可响应于将“电影”标识与“赵六”标识相关联的操作,向赵六发送所述聊天信息中话题为“电影”的全部会话消息。
此外,第一目标标识还可以是M个第一标识中的多个标识。具体地,第一目标标识还可以是不同类型的至少两个标识的组合,由此可以实现按组合类型转发聊天信息中的会话消息。下面举例说明。
在一个具体的实施例中,所述第一目标标识包括第一指定标识以及第二指定标识;其中,第一指定标识可以包括以下至少一项:所述目标会话消息的发送方的标识、所述目标会话消息中涉及到的用户的标识、所述目标会话消息中涉及到的话题的标识。第二指定标识可以包括以下至少一项:所述目标会话消息的发送方的标识、所述目标会话消息中涉及到的用户的标识、所述目标会话消息中涉及到的话题的标识。其中,第一指定标识可以与第二指定标识不同,第一指定标识也可以与第二指定标识相同。
基于此,在步骤140中,所述向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息包括:
向所述第二目标标识对应的用户发送所述聊天信息中的指定会话消息。
其中,指定会话消息可为满足特定条件的所有会话消息,特定条件为与第一指定标识和第二指定标识相关联的条件。
这样,可以将聊天信息中与第一指定标识和第二指定标识相关联的全部会话消息统一地转发至第二目标标识对应的用户。
举例而言,所述指定会话消息包括以下任一项:
所述聊天信息中同时涉及到所述第一指定标识与所述第二指定标识的会话消息;
所述聊天信息中涉及到所述第一指定标识的会话消息,以及涉及到所述第二指定标识的会话消息;
所述第一指定标识对应的用户发出的会话消息中涉及到所述第二指定标识的会话消息。
具体地,以指定会话消息为聊天信息中同时涉及到所述第一指定标识与所述第二指定标识的会话消息为例,如图6所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,@李四,看你们这两天在群里讨论的XXX电影很不错,你们很多看法说的很好,今晚我也准备去看看。”其中,第一指定标识可以是“张三”的标识,第二指定标识可以是“电影”的标识。聊天信息中与第一目标标识对应的会话消息为:聊天信息中同时涉及到“张三”和“电影”的会话消息。第二目标标识对应的用户可为赵六,进而可响应于将“张三”的标识和“电影”的标识与“赵六”标识相关联的操作,向赵六发送所述聊天信息中同时涉及到“张三”和“电影”的全部会话消息。
可以理解的,聊天信息中同时涉及到“张三”的标识和“电影”的标识的会话消息可以是张三发送的关于电影的会话消息,也可以是会话消息中提及到张三和电影的会话消息。
具体地,以指定会话消息为所述聊天信息中涉及到所述第一指定标识的会话消息,以及涉及到所述第二指定标识的会话消息为例,如上述图6所示,聊天信息中与第一目标标识对应的会话消息为:聊天信息中涉及到“张三”和聊天信息中涉及到“电影”的会话消息。第二目标标识对应的用户可为赵六,进而向赵六发送所述聊天信息中涉及到“张三”的全部会话消息以及涉及到“电影”的全部会话消息。
具体地,以指定会话消息为第一指定标识对应的用户发出的会话消息中涉及到所述第二指定标识的会话消息为例,如图7所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,@李四,看你们这两天在群里讨论的XXX电影很不错,你们很多看法说的很好,今晚我也准备去看看。”其中,第一指定标识可以是“王五”的标识,第二指定标识可以是“电影”的标识。聊天信息中与第一目标标识对应的会话消息为:聊天信息中“王五”发出的全部会话消息,以及聊天信息存在“电影”标识的全部会话消息。第二目标标识对应的用户可为赵六,进而可响应于将“王五”的标识和“电影”的标识与“赵六”标识相关联的操作,向赵六发送所述聊天信息中“王五”发出的会话消息中涉及到“电影”的全部会话消息。
此外,在本申请实施例中,第二目标标识属于P个用户标识中的至少一个标识。而P个用户标识可以是不同类型的标识,具体地,P个用户标识可以为满足特定条件的一类标识。
例如,P个用户标识可以包括以下至少一项:
所述目标会话消息中涉及到的用户对应的标识;
所述用户在离当前时间的指定时长内联系过的联系人对应的标识;
所述用户在单位周期内联系频率排在前N名的联系人对应的标识,N为正整数。
这样,可以将具有特定条件的P个用户标识作为一类用户标识进行显示,保证P个用户标识在各个维度具有较大的关联性,在P个用户标识的显示区域面积有限的情况下,优先显示用户选择的可能性较大的P个用户标识,从而便于快速选择出第二目标标识,提高了确定第二目标标识的效率。
以P个用户标识包括目标会话消息中涉及到的用户对应的标识为例进行说明,在一个具体的实施例中,第二目标标识包括目标会话消息中涉及到的用户对应的标识,存在第一目标标识和第二目标标识对应于同一用户的特殊情况。此时,可将聊天信息中与这一用户相关的全部会话消息统一地转发给这一用户。下面举例说明。
在第一目标标识为用户类型的标识(例如,目标会话消息的发送方的标识或者目标会话消息中涉及到的用户的标识)的情况下,第一目标标识和第二目标标识可以对应于同一用户。所述聊天信息中与第一目标标识对应的会话消息可以为第四会话消息,其中,第四会话消息为聊天信息中存在与所述第二目标标识对应的用户相关联的内容的会话消息。
基于此,在步骤140中,响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息,具体包括:
响应于所述第二输入,向所述第二目标标识对应的用户发送第四会话消息,其中,第四会话消息为所述聊天信息中存在与所述第二目标标识对应的用户相关联的内容的会话消息。
这样,在用户需要转发与某个用户(第二目标标识对应的用户)有关的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于第二目标标识对应的用户)对应的所有会话消息统一地转发至第二目标标识对应的用户。
特别是对于第四会话消息为多条会话消息的情况,可以将聊天信息中存在与所述第二目标标识对应的用户相关联的内容的全部会话消息统一地转发至第二目标标识对应的用户。
举例而言,如图8所示,目标会话消息是王五发送的消息,消息正文为“前两天,@张三,看你这两天在群里说的XXX电影很不错,今晚我也准备去看看。”其中,第一目标标识和第二目标标识可对应于同一用户“张三”,聊天信息中与第一目标标识对应的会话消息为:聊天信息中存在与张三相关联的内容的全部会话消息。第二目标标识对应的用户可为张三,进而可响应于将与“张三”相关联的内容的标识与“张三”标识相关联的操作,向张三发送所述聊天信息中存在与张三相关联的内容的全部会话消息。可以理解的,这里的张三相关联的内容可以是其他人发送的。
此外,在一个具体的实施例中,本申请还可实现一次性转发多条会话消 息,无需逐条转发多条会话消息,提高了会话消息的转发效率。举例而言,在步骤110中,所述聊天信息为聊天群中的聊天信息。
在步骤120中,所述用户标识可以是聊天群内的用户,也可以是所述聊天群外的用户的标识。其中,所述用户标识包括用户头像、用户名称中的至少一种。
在步骤140中,与所述第一目标标识对应的会话消息包括多条会话消息。这样,由于聊天信息中与第一目标标识对应的会话消息可以是多条会话消息,能够一次性向第二目标标识对应的用户转发多条会话消息,无需逐条转发多条会话消息,提高了聊天信息的转发效率。
需要说明的是,本申请实施例提供的聊天信息的发送方法,执行主体可以为聊天信息的发送装置,或者该聊天信息的发送装置中的用于执行聊天信息的发送方法的控制模块。本申请实施例中以聊天信息的发送装置执行聊天信息的发送方法为例,说明本申请实施例提供的聊天信息的发送装置。
图9是本申请实施例提供的一种聊天信息的发送装置的示意性结构图。
如图9所示,本申请实施例提供一种聊天信息的发送装置900,可包括:
接收模块901,用于接收用户对聊天信息中的目标会话消息的第一输入;
显示模块902,用于根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;
所述接收模块901,还用于接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
发送模块903,用于响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
本申请实施例提供的聊天信息的发送装置,可包括接收模块,用于接收用户对聊天信息中的目标会话消息的第一输入;显示模块,用于根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;所述接收模块,还用于接收用户的第二输入,所述第二输入用于将所述M个 第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;发送模块,用于响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。这样,在用户需要转发聊天信息中与某一关注点相关联的所有消息的情况下,可以将聊天信息中与第一目标标识(对应于关注点)对应的所有会话消息统一地转发至第二目标标识对应的用户,而无需手动地从聊天信息中逐条查找与第一目标标识相关联的所有消息,提高了聊天信息的转发效率。
可选地,在本申请实施例提供的聊天信息的发送装置中,所述第一标识为基于所述目标会话消息而确定的标识;
所述第一标识包括以下至少一项:
所述目标会话消息的发送方的标识;
所述目标会话消息中涉及到的用户的标识;
所述目标会话消息中涉及到的话题的标识。
这样,可以将具有特定条件的一类会话消息在各个维度具有较大的关联性,从而将相关的所有会话消息作为一类会话消息进行统一转发处理。
可选地,在本申请实施例提供的聊天信息的发送装置中,所述第一目标标识的数目为1。
所述发送模块具体用于:在所述第一目标标识为所述目标会话消息的发送方的标识的情况下,向所述第二目标标识对应的用户发送第一会话消息,所述第一会话消息包括所述聊天信息中所述发送方发送的会话消息;
这样,在用户需要转发聊天信息中所述目标会话消息的发送方发送的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息的发送方)对应的所有会话消息统一地转发至第二目标标识对应的用户。
或者,所述发送模块具体用于:
在所述第一目标标识为所述目标会话消息中涉及到的用户的标识的情况下,向所述第二目标标识对应的用户发送第二会话消息,所述第二会话消息包括所述聊天信息中存在目标用户的会话消息,所述目标用户为所述目标会 话消息中涉及到的用户;
这样,在用户需要转发聊天信息中与目标会话消息中涉及到的用户相关的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息中涉及到的用户)对应的所有会话消息统一地转发至第二目标标识对应的用户。
或者,所述发送模块具体用于:
在所述第一目标标识为所述目标会话消息中涉及到的话题的标识的情况下,向所述第二目标标识对应的用户发送第三会话消息,所述第三会话消息包括所述聊天信息中存在所述话题的会话消息。
这样,在用户需要转发聊天信息中的所有第三会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息的话题)对应的所有会话消息统一地转发至第二目标标识对应的用户。
可选地,在本申请实施例提供的聊天信息的发送装置中,所述第一目标标识包括第一指定标识以及第二指定标识;
所述发送模块,用于:
向所述第二目标标识对应的用户发送所述聊天信息中的指定会话消息;
其中,所述指定会话消息包括以下任一项:
所述聊天信息中同时存在所述第一指定标识与所述第二指定标识的会话消息;
所述聊天信息中存在所述第一指定标识的会话消息,以及存在所述第二指定标识的会话消息;
所述第一指定标识对应的用户发出的会话消息中存在所述第二指定标识的会话消息。
这样,在第一目标标识是不同类型的至少两个标识的组合的情况下,能够实现按组合类型统一转发聊天信息中的一类会话消息。
可选地,在本申请实施例提供的聊天信息的发送装置中,所述用户标识包括以下至少一项:
所述目标会话消息中涉及到的用户对应的标识;
所述用户在离当前时间的指定时长内联系过的联系人对应的标识;
所述用户在单位周期内联系频率排在前N名的联系人对应的标识,N为正整数。
这样,可以将具有特定条件的P个用户标识作为一类用户标识进行显示,保证P个用户标识在各个维度具有较大的关联性,在P个用户标识的显示区域面积有限的情况下,优先显示用户选择的可能性较大的P个用户标识,从而便于快速选择出第二目标标识,提高了确定第二目标标识的效率。
本申请实施例中的聊天信息的发送装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(Network Attached Storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。
本申请实施例中的聊天信息的发送装置可以为具有操作***的装置。该操作***可以为安卓(Android)操作***,可以为ios操作***,还可以为其他可能的操作***,本申请实施例不作具体限定。
本申请实施例提供的聊天信息的发送装置能够实现图1至图8的方法实施例实现的各个过程,为避免重复,这里不再赘述。
可选地,如图10所示,本申请实施例还提供一种电子设备1000,包括处理器1001,存储器1002,存储在存储器1002上并可在所述处理器1001上运行的程序或指令,该程序或指令被处理器1001执行时实现上述聊天信息的发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
需要说明的是,本申请实施例中的电子设备包括上述所述的移动电子设 备和非移动电子设备。
图11为实现本申请实施例的一种电子设备的硬件结构示意图。
该电子设备1100包括但不限于:射频单元1101、网络模块1102、音频输出单元1103、输入单元1104、传感器1105、显示单元1106、用户输入单元1107、接口单元1108、存储器1109、以及处理器1110等部件。
本领域技术人员可以理解,电子设备1100还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理***与处理器1110逻辑相连,从而通过电源管理***实现管理充电、放电、以及功耗管理等功能。图11中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。
其中,用户输入单元1107,用于接收用户对聊天信息中的目标会话消息的第一输入;
显示单元1106,用于根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;
用户输入单元1107,还用于接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
射频单元1101,用于响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
本申请实施例提供的电子设备,可包括用户输入单元1107,用于接收用户对聊天信息中的目标会话消息的第一输入;显示单元1106,用于根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;用户输入单元1107,还用于接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;射频单元1101,用于响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。这样,在用户需要转发聊天信息中与某一关注点相关联的所有消息的情况下,可以将 聊天信息中与第一目标标识(对应于关注点)对应的所有会话消息统一地转发至第二目标标识对应的用户,而无需手动地从聊天信息中逐条查找与第一目标标识相关联的所有消息,提高了聊天信息的转发效率。
可选地,在本申请实施例提供的电子设备中,所述第一标识为基于所述目标会话消息而确定的标识;
所述第一标识包括以下至少一项:
所述目标会话消息的发送方的标识;
所述目标会话消息中涉及到的用户的标识;
所述目标会话消息中涉及到的话题的标识。
这样,可以将具有特定条件的一类会话消息在各个维度具有较大的关联性,从而将相关的所有会话消息作为一类会话消息进行统一转发处理。
可选地,在本申请实施例提供的电子设备中,所述第一目标标识的数目为1。
所述射频单元1101具体用于:在所述第一目标标识为所述目标会话消息的发送方的标识的情况下,向所述第二目标标识对应的用户发送第一会话消息,所述第一会话消息包括所述聊天信息中所述发送方发送的会话消息;
这样,在用户需要转发聊天信息中所述目标会话消息的发送方发送的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息的发送方)对应的所有会话消息统一地转发至第二目标标识对应的用户。
或者,所述射频单元1101具体用于:
在所述第一目标标识为所述目标会话消息中涉及到的用户的标识的情况下,向所述第二目标标识对应的用户发送第二会话消息,所述第二会话消息包括所述聊天信息中存在目标用户的会话消息,所述目标用户为所述目标会话消息中涉及到的用户;
这样,在用户需要转发聊天信息中与目标会话消息中涉及到的用户相关的所有会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息中涉及到的用户)对应的所有会话消息统一地转发至第二目标标识 对应的用户。
或者,所述射频单元1101具体用于:
在所述第一目标标识为所述目标会话消息中涉及到的话题的标识的情况下,向所述第二目标标识对应的用户发送第三会话消息,所述第三会话消息包括所述聊天信息中存在所述话题的会话消息。
这样,在用户需要转发聊天信息中的所有第三会话消息的情况下,可以将聊天信息中与第一目标标识(对应于目标会话消息的话题)对应的所有会话消息统一地转发至第二目标标识对应的用户。
可选地,在本申请实施例提供的电子设备中,所述第一目标标识包括第一指定标识以及第二指定标识;
所述射频单元1101,用于:
向所述第二目标标识对应的用户发送所述聊天信息中的指定会话消息;
其中,所述指定会话消息包括以下任一项:
所述聊天信息中同时存在所述第一指定标识与所述第二指定标识的会话消息;
所述聊天信息中存在所述第一指定标识的会话消息,以及存在所述第二指定标识的会话消息;
所述第一指定标识对应的用户发出的会话消息中存在所述第二指定标识的会话消息。
这样,在第一目标标识是不同类型的至少两个标识的组合的情况下,能够实现按组合类型统一转发聊天信息中的一类会话消息。
可选地,在本申请实施例提供的电子设备中,所述用户标识包括以下至少一项:
所述目标会话消息中涉及到的用户对应的标识;
所述用户在离当前时间的指定时长内联系过的联系人对应的标识;
所述用户在单位周期内联系频率排在前N名的联系人对应的标识,N为正整数。
这样,可以将具有特定条件的P个用户标识作为一类用户标识进行显示,保证P个用户标识在各个维度具有较大的关联性,在P个用户标识的显示区域面积有限的情况下,优先显示用户选择的可能性较大的P个用户标识,从而便于快速选择出第二目标标识,提高了确定第二目标标识的效率。
应理解的是,本申请实施例中,输入单元1104可以包括图形处理器(Graphics Processing Unit,GPU)11041和麦克风11042,图形处理器11041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元1106可包括显示面板11061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板11061。用户输入单元1107包括触控面板11071以及其他输入设备11072。触控面板11071,也称为触摸屏。触控面板11071可包括触摸检测装置和触摸控制器两个部分。其他输入设备11072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器1109可用于存储软件程序以及各种数据,包括但不限于应用程序和操作***。处理器1110可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作***、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器1110中。
本申请实施例还提供一种可读存储介质,所述可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述聊天信息的发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
其中,所述处理器为上述实施例中所述的电子设备中的处理器。所述可读存储介质,包括计算机可读存储介质,如计算机只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等。
本申请实施例另提供了一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现上述聊天信息的发送方法实施例的各个过程,且能达到相同的技术效果,为避免 重复,这里不再赘述。
应理解,本申请实施例提到的芯片还可以称为***级芯片、***芯片、芯片***或片上***芯片等。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以计算机软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例所述的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。

Claims (15)

  1. 一种聊天信息的发送方法,所述方法包括:
    接收用户对聊天信息中的目标会话消息的第一输入;
    根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;
    接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
    响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
  2. 根据权利要求1所述的方法,其中,所述第一标识为基于所述目标会话消息而确定的标识;
    所述第一标识包括以下至少一项:
    所述目标会话消息的发送方的标识;
    所述目标会话消息中涉及到的用户的标识;
    所述目标会话消息中涉及到的话题的标识。
  3. 根据权利要求2所述的方法,其中,所述第一目标标识的数目为1,所述向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息包括:
    在所述第一目标标识为所述目标会话消息的发送方的标识的情况下,向所述第二目标标识对应的用户发送第一会话消息,所述第一会话消息包括所述聊天信息中所述发送方发送的会话消息;
    或者,在所述第一目标标识为所述目标会话消息中涉及到的用户的标识的情况下,向所述第二目标标识对应的用户发送第二会话消息,所述第二会话消息包括所述聊天信息中目标用户的会话消息,所述目标用户为所述目标会话消息中涉及到的用户;
    或者,在所述第一目标标识为所述目标会话消息中涉及到的话题的标识的情况下,向所述第二目标标识对应的用户发送第三会话消息,所述第三会 话消息包括所述聊天信息中涉及到所述话题的会话消息。
  4. 根据权利要求1所述的方法,其中,所述第一目标标识包括第一指定标识以及第二指定标识;
    所述向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息包括:
    向所述第二目标标识对应的用户发送所述聊天信息中的指定会话消息;
    其中,所述指定会话消息包括以下任一项:
    所述聊天信息中同时涉及到所述第一指定标识与所述第二指定标识的会话消息;
    所述聊天信息中涉及到所述第一指定标识的会话消息,以及涉及到所述第二指定标识的会话消息;
    所述第一指定标识对应的用户发出的会话消息中涉及到所述第二指定标识的会话消息。
  5. 根据权利要求1所述的方法,其中,所述用户标识包括以下至少一项:
    所述目标会话消息中涉及到的用户对应的标识;
    所述用户在离当前时间的指定时长内联系过的联系人对应的标识;
    所述用户在单位周期内联系频率排在前N名的联系人对应的标识,N为正整数。
  6. 一种聊天信息的发送装置,所述装置包括:
    接收模块,用于接收用户对聊天信息中的目标会话消息的第一输入;
    显示模块,用于根据所述第一输入,显示M个第一标识,并显示P个用户标识,M、P均为正整数;
    所述接收模块,还用于接收用户的第二输入,所述第二输入用于将所述M个第一标识中的第一目标标识与所述P个用户标识中的第二目标标识相关联;
    发送模块,用于响应于所述第二输入,向所述第二目标标识对应的用户发送所述聊天信息中与所述第一目标标识对应的会话消息。
  7. 根据权利要求6所述的装置,其中,所述第一标识为基于所述目标会话消息而确定的标识;
    所述第一标识包括以下至少一项:
    所述目标会话消息的发送方的标识;
    所述目标会话消息中涉及到的用户的标识;
    所述目标会话消息中涉及到的话题的标识。
  8. 根据权利要求7所述的装置,其中,所述第一目标标识的数目为1,所述发送模块具体用于:
    在所述第一目标标识为所述目标会话消息的发送方的标识的情况下,向所述第二目标标识对应的用户发送第一会话消息,所述第一会话消息包括所述聊天信息中所述发送方发送的会话消息;
    或者,在所述第一目标标识为所述目标会话消息中涉及到的用户的标识的情况下,向所述第二目标标识对应的用户发送第二会话消息,所述第二会话消息包括所述聊天信息中目标用户的会话消息,所述目标用户为所述目标会话消息中涉及到的用户;
    或者,在所述第一目标标识为所述目标会话消息中涉及到的话题的标识的情况下,向所述第二目标标识对应的用户发送第三会话消息,所述第三会话消息包括所述聊天信息中涉及到所述话题的会话消息。
  9. 根据权利要求6所述的装置,其中,所述第一目标标识包括第一指定标识以及第二指定标识;
    所述发送模块,用于:
    向所述第二目标标识对应的用户发送所述聊天信息中的指定会话消息;
    其中,所述指定会话消息包括以下任一项:
    所述聊天信息中同时涉及到所述第一指定标识与所述第二指定标识的会话消息;
    所述聊天信息中涉及到所述第一指定标识的会话消息,以及涉及到所述第二指定标识的会话消息;
    所述第一指定标识对应的用户发出的会话消息中涉及到所述第二指定标识的会话消息。
  10. 根据权利要求6所述的装置,其中,所述用户标识包括以下至少一项:
    所述目标会话消息中涉及到的用户对应的标识;
    所述用户在离当前时间的指定时长内联系过的联系人对应的标识;
    所述用户在单位周期内联系频率排在前N名的联系人对应的标识,N为正整数。
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5任一项所述的聊天信息的发送方法的步骤。
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5任一项所述的聊天信息的发送方法的步骤。
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5任一项所述的聊天信息的发送方法的步骤。
  14. 一种计算机程序产品,所述计算机程序产品被至少一个处理器执行以实现如权利要求1-5任一项所述的聊天信息的发送方法的步骤。
  15. 一种电子设备,所述电子设备被配置成用于执行如权利要求1-5任一项所述的聊天信息的发送方法的步骤。
PCT/CN2022/129278 2021-11-02 2022-11-02 聊天信息的发送方法及装置 WO2023078301A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202111287503.8A CN114124874B (zh) 2021-11-02 2021-11-02 聊天信息的发送方法及装置
CN202111287503.8 2021-11-02

Publications (1)

Publication Number Publication Date
WO2023078301A1 true WO2023078301A1 (zh) 2023-05-11

Family

ID=80379944

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/129278 WO2023078301A1 (zh) 2021-11-02 2022-11-02 聊天信息的发送方法及装置

Country Status (2)

Country Link
CN (1) CN114124874B (zh)
WO (1) WO2023078301A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114124874B (zh) * 2021-11-02 2023-05-26 维沃移动通信有限公司 聊天信息的发送方法及装置

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10187486B1 (en) * 2016-03-17 2019-01-22 Google Llc Systems and methods for automatic extension of information from a first network to a second network
CN110888707A (zh) * 2019-11-19 2020-03-17 维沃移动通信有限公司 一种消息发送方法及电子设备
CN112748844A (zh) * 2020-12-31 2021-05-04 维沃移动通信有限公司 消息处理方法、装置及电子设备
CN114124874A (zh) * 2021-11-02 2022-03-01 维沃移动通信有限公司 聊天信息的发送方法及装置

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8676155B2 (en) * 2010-09-24 2014-03-18 At&T Intellectual Property I, L.P. Conditional message forwarding functions
CN105049317A (zh) * 2015-05-21 2015-11-11 腾讯科技(深圳)有限公司 消息转发方法及装置
CN106899483A (zh) * 2015-12-18 2017-06-27 北京奇虎科技有限公司 一种即时通讯中会话信息的批量操作方法和装置
CN106059894B (zh) * 2016-05-24 2020-05-19 腾讯科技(深圳)有限公司 一种消息处理方法和装置
CN107426080A (zh) * 2017-03-20 2017-12-01 宇龙计算机通信科技(深圳)有限公司 信息转发方法及装置、电子设备
CN109842544B (zh) * 2017-11-29 2021-08-27 腾讯科技(深圳)有限公司 一种信息处理的方法及相关设备
CN110830363B (zh) * 2019-10-31 2022-04-01 维沃移动通信有限公司 一种信息分享方法及电子设备
CN111010332A (zh) * 2019-11-11 2020-04-14 维沃移动通信有限公司 一种群聊方法及电子设备
CN111562865B (zh) * 2020-04-30 2022-04-29 维沃移动通信有限公司 信息分享方法、装置、电子设备及存储介质
CN112702258B (zh) * 2020-12-21 2022-08-30 维沃移动通信(杭州)有限公司 聊天消息的分享方法、装置和电子设备
CN112612391B (zh) * 2020-12-28 2022-06-10 维沃移动通信有限公司 消息处理方法、装置和电子设备
CN113259221B (zh) * 2021-04-01 2022-09-02 维沃移动通信(杭州)有限公司 消息显示方法、装置及电子设备
CN113360238A (zh) * 2021-06-29 2021-09-07 维沃移动通信有限公司 消息处理方法、装置、电子设备和存储介质

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10187486B1 (en) * 2016-03-17 2019-01-22 Google Llc Systems and methods for automatic extension of information from a first network to a second network
CN110888707A (zh) * 2019-11-19 2020-03-17 维沃移动通信有限公司 一种消息发送方法及电子设备
CN112748844A (zh) * 2020-12-31 2021-05-04 维沃移动通信有限公司 消息处理方法、装置及电子设备
CN114124874A (zh) * 2021-11-02 2022-03-01 维沃移动通信有限公司 聊天信息的发送方法及装置

Also Published As

Publication number Publication date
CN114124874A (zh) 2022-03-01
CN114124874B (zh) 2023-05-26

Similar Documents

Publication Publication Date Title
US9559992B2 (en) System and method for updating information in an instant messaging application
CN113037924B (zh) 语音发送方法、装置、电子设备和可读存储介质
WO2022247864A1 (zh) 消息提醒方法、装置及电子设备
CN113676589B (zh) 未读消息显示方法、装置及电子设备
WO2023040741A1 (zh) 消息处理方法、装置和电子设备
WO2022161431A1 (zh) 显示方法、装置及电子设备
WO2022206698A1 (zh) 消息显示方法、装置及电子设备
WO2023011483A1 (zh) 消息发送方法、装置及电子设备
CN113141294B (zh) 消息提示方法、装置及电子设备
CN113285866B (zh) 信息发送方法、装置和电子设备
WO2023030130A1 (zh) 会话处理方法、装置及电子设备
WO2022127766A1 (zh) 信息的发送方法及装置、电子设备和可读存储介质
WO2022242745A1 (zh) 显示方法、显示装置、相关设备及可读存储介质
CN111857504A (zh) 信息显示方法、装置、电子设备和存储介质
WO2023024970A1 (zh) 信息处理方法、相关设备及可读存储介质
WO2023078301A1 (zh) 聊天信息的发送方法及装置
US20240089223A1 (en) Information display method and apparatus, and electronic device
CN112235412B (zh) 消息处理方法和装置
WO2023071932A1 (zh) 消息发送方法和电子设备
WO2023109831A1 (zh) 消息处理方法、装置和电子设备
WO2023046105A1 (zh) 消息发送方法、装置和电子设备
CN113364665B (zh) 信息播报方法和电子设备
WO2022199614A1 (zh) 界面输入源切换方法、装置和电子设备
WO2022222821A1 (zh) 信息显示方法、装置
WO2022156674A1 (zh) 聊天内容处理方法、装置及电子设备

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22889323

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2022889323

Country of ref document: EP

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2022889323

Country of ref document: EP

Effective date: 20240603