WO2023011483A1 - Message sending method and apparatus, and electronic device - Google Patents

Message sending method and apparatus, and electronic device Download PDF

Info

Publication number
WO2023011483A1
WO2023011483A1 PCT/CN2022/109742 CN2022109742W WO2023011483A1 WO 2023011483 A1 WO2023011483 A1 WO 2023011483A1 CN 2022109742 W CN2022109742 W CN 2022109742W WO 2023011483 A1 WO2023011483 A1 WO 2023011483A1
Authority
WO
WIPO (PCT)
Prior art keywords
group
message
conversation
conversation group
sending
Prior art date
Application number
PCT/CN2022/109742
Other languages
French (fr)
Chinese (zh)
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 WO2023011483A1 publication Critical patent/WO2023011483A1/en

Links

Images

Classifications

    • 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/21Monitoring or handling of messages
    • H04L51/216Handling conversation history, e.g. grouping of messages in sessions or threads

Definitions

  • the present application belongs to the technical field of communication, and in particular relates to a message sending method, device and electronic equipment.
  • a user can chat with group members in a conversation group in a social application through an electronic device. If a user wants to share a chat message in a conversation group in the social application to another conversation group, the user needs to first trigger the electronic device to copy the chat message, and then trigger the electronic device to copy the chat message from the conversation group.
  • the conversation interface is switched to the conversation interface of the other conversation group, and finally the electronic device is triggered to paste and send the chat message in the conversation interface of the other conversation group, so that the electronic device forwards the operation of the message in the conversation group More cumbersome and inefficient.
  • the purpose of the embodiment of the present application is to provide a message sending method, device and electronic device, which can solve the problem that the operation of the electronic device to forward the chat information in the conversation group is relatively cumbersome.
  • the embodiment of the present application provides a method for sending a message, the method includes: in the case that the first conversation group receives the first message, determine the second conversation group associated with the first conversation group ; sending a second message in the second conversation group by members of the target group, and the second message is associated with the first message; wherein, both the first conversation group and the second conversation group include the target group Members, the target group members are the group members corresponding to the account logged in on the electronic device.
  • the embodiment of the present application provides a message sending device, and the message sending device includes: a determining module and a sending module.
  • a determining module configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message.
  • a sending module configured to send a second message in the second conversation group determined by the determination module through the target group members, and the second message is associated with the first message; wherein, the first conversation group and the second conversation group
  • Each conversation group includes a target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
  • the 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.
  • the program or instruction is executed by the processor, the The steps of the method in the first aspect above.
  • an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the above 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 to implement the method in the first aspect above.
  • the first conversation group when the first conversation group receives the first message, determine the second conversation group associated with the first conversation group; and through the target group members in the second conversation group The second message is sent, wherein both the first conversation group and the second conversation group include target group members, and the target group members are group members corresponding to accounts logged in on the electronic device.
  • a member automatically sends a message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the conversation interface of the other conversation group Pasting and sending the chat information in the conversation interface of the other conversation group simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the efficiency of forwarding the chat information in the conversation group.
  • FIG. 1 is a schematic diagram of a message sending method provided by an embodiment of the present application
  • FIG. 2 is a schematic structural diagram of a message sending device provided in an embodiment of the present application.
  • FIG. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application.
  • FIG. 4 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
  • words such as “exemplary” or “for example” are used as examples, illustrations or illustrations. Any embodiment or design scheme described as “exemplary” or “for example” in the embodiments of the present application shall not be construed as being more advantageous than other embodiments or design schemes. Rather, the use of words such as “exemplary” or “such as” is intended to present related concepts in a concrete manner.
  • plural means two or more, for example, a plurality of elements refers to two or more elements.
  • the embodiment of the present application provides a message sending method, device and electronic equipment, in the case that the first conversation group receives the first message, determine the second conversation group associated with the first conversation group; and through the target A group member sends a second message in the second conversation group, wherein both the first conversation group and the second conversation group include target group members, and the target group members are corresponding to the account logged in on the electronic device group members.
  • the members automatically send messages associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the conversation of the other conversation group
  • the interface is used to paste and send the chat information in the conversation interface of the other conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the efficiency of forwarding the chat information in the conversation group.
  • this embodiment of the present application provides a method for sending a message, and the method includes the following S101 and S102.
  • the message sending device determines a second conversation group associated with the first conversation group.
  • the first message is a chat message, a short message and other possible messages.
  • the type of the first message may include at least one of the following: text type, voice type, video type, image type, and the like.
  • the first message when the first message is an image type, the first message may be a dynamic image or a static image.
  • the first conversation group includes at least two group members, and the account logged in by the electronic device in the first conversation group is one of the at least two group members.
  • the above-mentioned "the first conversation group receives the first message" in S101 may specifically include two possible situations: one situation, the first message is a group member other than the one group member among at least two group members In another case, the first message is sent by the group member (the user using the electronic device).
  • the first conversation group and the second conversation group may be conversation groups in the same application program, or conversation groups in different application programs.
  • second conversation groups there may be one or more second conversation groups. Specifically, when there are multiple second conversation groups, for the first conversation group and the second conversation group are conversation groups in different applications, specifically the following three possible situations may be included:
  • the first possible situation the first conversation group is a conversation group in the first application program, and the second conversation groups are different conversation groups in the second application program.
  • the second possible situation the first conversation group is a conversation group in the first application, some of the second conversation groups are different conversation groups in the first application, and the second conversation Another part of the conversation groups in the group is a different conversation group in the second application program, that is, some conversation groups in the first conversation group and the second conversation group belong to different application programs.
  • the third possible situation the first conversation group is a conversation group in the first application program, some conversation groups in the second conversation group are different conversation groups in the second application program, and the second conversation group Another part of the conversation groups in the group are different conversation groups in the third application program, that is, the first conversation group and the second conversation group belong to different application programs completely, and the second conversation group can be multiple Conversations in different applications.
  • association identifier may be stored in the electronic device, one association identifier is used to indicate a second conversation group associated with the first conversation group, and the association identifier may be displayed on the identifier of the conversation group.
  • association identifier may be any of the following: symbols, icons, numbers, graphics, colors, and the like.
  • association identifiers are also different, that is, different association identifiers are used to distinguish and determine different conversation groups associated with the first conversation group.
  • association identifiers are displayed as 01, 02, and 03, it is determined that the conversation group 01, the conversation group 02, and the conversation group 03 are all associated with the first conversation group, that is, the second conversation group can be linked by the target group members. Messages are sent to three secondary conversation groups.
  • the message sending method provided by the embodiment of the present application may further include: when the first conversation group and the second conversation group meet preset conditions, the message sending device associates the first conversation group and second conversation.
  • the preset condition includes any of the following: the first input to the first conversation group and the second conversation group is received; the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold; the name of the first conversation group and the name of the second conversation group include the same keyword; the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold; the first conversation group and the second conversation group include the same chat topic.
  • receiving the first input of the first conversation group and the second conversation group may be receiving the first input that the user establishes an association relationship between the first conversation group and the second conversation group. For example, within a short period of time, if a user's long press operation on the first conversation group and the second conversation group is received, the first conversation group and the second conversation group are associated.
  • the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold may be: there are 10 group members in the first conversation group, and the second conversation group When the group has 20 group members, the number of group members included in both the first conversation group and the second conversation group is 6, which is greater than the first preset threshold of 5 people, and further, the value of the first preset threshold It can be determined according to the specific number of people in the group with a smaller number of people in the two conversation groups. For example, if the number of people in the first conversation group is less than 10 people, then the first preset threshold can be set to half of 10 people, that is 5-people.
  • the name of the first conversation group and the name of a second conversation group include the same keyword means: the name of the first conversation group is the first name, and the name of the second conversation group is the second Name, First Name and First Name include the same keyword.
  • the name of the first conversation group is "Basketball Game on August 3rd”
  • the name of the second conversation group is "Team to play basketball”
  • the name of the first conversation group and the name of the second conversation group are both Include the keyword "basketball”.
  • the creation time of the first conversation group is "August 3"
  • the creation time of the second conversation group is "August 5"
  • the second threshold is 2 days, which is the difference between the first time and the first time
  • a time difference of 2 days is equal to the second threshold.
  • including the same chat topic in the first conversation group and the second conversation group means: the first conversation group includes the first chat topic, the second conversation group includes the second chat topic, and the first conversation group includes the same chat topic.
  • the chat topic is the same as the second chat topic.
  • the chat topic of the first conversation group is "the latest movie released"
  • the chat topic of the second conversation group is "the latest movie released”.
  • the first conversation group and the second conversation group when the first conversation group and the second conversation group meet the preset conditions, the first conversation group and the second conversation group can be associated, so that when the electronic device can The group automatically determines another second conversation group associated with the one conversation group, so that the user does not need to spend time searching for other groups associated with the one conversation group one by one. In this way, it not only saves user time, but also improves the efficiency of automation.
  • the message sending device sends a second message in the second conversation group through the members of the target group.
  • Both the first conversation group and the second conversation group include target group members, and the target group members are group members corresponding to accounts logged in on the electronic device.
  • the second message may be a message with the same content or meaning as the first message, or other messages associated with the first message.
  • the second message refer to the specific description in the following embodiments, The embodiment of the present application will not be described in detail here.
  • the electronic device can automatically detect the account logged in in each session group. Assume that the account logged in by the electronic device in the first conversation group is the first account, and the account logged in by the electronic device in the second conversation group is the second account.
  • the description that both the first conversation group and the second conversation group include members of the target group includes the following two possible situations:
  • Both the first conversation group and the second conversation group include members of the target group.
  • the message sending method provided in the embodiment of the present application may further include: the message sending device acquires a group member set included in both the first conversation group and the second conversation group, where , all group members in the group member set have the permission to forward group messages.
  • the above S102 may specifically include: when the target group member is in the group member set, the message sending device sends the second message in the second conversation group through the target group member.
  • the above-mentioned group member set refers to a set composed of group members included in both the first conversation group and the second conversation group and having the authority to forward group messages.
  • the group members in the group member set may be all or part of the group members included in both the first conversation group and the second conversation group.
  • the number of all group members included in both the first conversation group and the second conversation group is M, and M is a positive integer; the number of group member sets is N, and N is a positive integer.
  • the target group after obtaining the group member sets included in both the first conversation group and the second conversation group, since the group members in the group member set all have the authority to forward group messages, the target group When the member is in the group member set, the target group member can send the second message in the second conversation group, so that only the group members belonging to the group member set can send the second message in the second conversation group.
  • Two messages, and other group members who do not belong to the group member set do not have the permission to forward group messages, which can prevent group members who do not have the permission to forward group messages among the common group members of different groups from forwarding between different groups information.
  • the message sending method provided in the embodiment of the present application may further include: the message sending device obtains the first group member who sends the first message.
  • the above S102 may specifically be implemented through the following S102A or the following S102B.
  • the second message is used to remind members of the first group to send a message corresponding to the first message in the second conversation group.
  • the second message is a reminder message.
  • the second message is @the first group member, or the second message is a pat on the first group member.
  • the third message may be any of the following: the same message as the first message, the same message as the first message, the same message as the first message,
  • the first message means a message having the same meaning, and a message including the same keyword as the first message.
  • the second message corresponds to the first message.
  • the second message may be any of the following: a message that is the same as the first message, a message that has the same meaning as the first message, and a message that includes the same keyword as the first message.
  • the first message is "Let's play basketball together tomorrow"
  • the second message is "Let's play basketball tomorrow”.
  • the second message for reminding the members of the first group can be sent in the second conversation group by the members of the target group, so that the members of the first group can send a message in the second conversation group A message associated with the first message; on the other hand, if the first group member is not included in the group members of the second conversation group, the second conversation group member can be directly sent in the second conversation group through the target group member.
  • Two news In this way, according to actual usage scenarios, the second messages for different purposes can be sent through target group members to meet different usage requirements of users.
  • the second message may also include account information of members of the first group.
  • the message sending method may also include the following S103 and S104.
  • the message sending device acquires the first message and account information of the first group member.
  • the account information of the first group members may include at least one of the following: nicknames of the first group members, account avatars of the first group members, account numbers of the first group members, regions of the first group members, The group to which a group of members belongs, etc.
  • the message sending device packages the first message and the account information of the first group member to obtain a second message.
  • the first message and the account information of the first group members may be packaged as a second message, so that the first message in the second message is received
  • the group members in the second conversation group can not only know the message content of the second message, but also know who the sender of the second message is.
  • the message sending device is a mobile phone as an example.
  • conversation group 1 of application 1 includes Zhang San, Li Si and Wang Wu
  • conversation group 2 of application 2 includes Zhang San, Xiao Ming and Xiao Bai
  • conversation group 3 of application 3 includes Xiao Ming, Xiao Bai and little black.
  • the conversation group 1 is associated with the conversation group 2
  • the conversation group 2 is associated with the conversation group 3.
  • the chat message that is, the chat message sent by Wang Wu in the conversation group 1), so that Zhang San, Xiao Ming and Xiao Bai in the conversation group 2 can all receive the chat message sent by Wang Wu in the conversation group 1 .
  • Xiao Hei's mobile phone can determine the conversation group 3 associated with the conversation group 2, and automatically send the chat message to the conversation group 3, so Xiao Ming and Xiao Bai in the conversation group 3 are both
  • the chat message sent by Wang Wu in conversation group 1 also the chat message sent by Zhang San in conversation group 2 can be received.
  • the group members in the conversation group 1, the group members in the conversation group 2 and the group members in the conversation group 3 all know the message content of the chat message sent by the group member Zhang San in the conversation group 1 in time.
  • the embodiment of the present application provides a message sending method. After a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, the conversation group and at least one chat message can be passed.
  • the group members included in the conversation groups automatically send the message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the other conversation group.
  • the conversation interface of a conversation group can paste and send the chat information in the conversation interface of another conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the forwarding of the chat information in the conversation group. efficiency of chat messages.
  • the message sending method may further include the following S105.
  • the message sending device converts the language type of the first message from the first language type to the second language type, so as to obtain the second message.
  • the first language type may be any one of the following: Chinese, English, Korean and other language types.
  • the second language type is a language type different from the first language type.
  • the message sending method provided in the embodiment of the present application may further include the following: the message sending device determines the second language type according to the target information.
  • the target information includes any of the following items: the language type of the historical chat messages in the second conversation group, and the identity information of the group members in the second conversation group.
  • the language type of the historical chat messages may be any one of the following: Spanish, Japanese, German and other language types.
  • the identity information of the group members may be at least one of the following: native language, passport information, nationality information, and the like.
  • the second language type is determined according to the second information, so that the first message can be converted into a message of a language type that is more in line with the needs of group members in the second conversation group, that is, the user's use requirements are met, and Improved user experience.
  • the language of the second conversation group can be determined according to the target information type is a second language type, so that only the language type of the first message is converted from the first language type to the second language type, a second message of a second language type is obtained; if each The language types of the historical chat messages in the second conversation group are different types, then multiple second language types can be determined according to the target information, so that the language type of the first message needs to be converted from the first language type to a different type of second language type.
  • Language type that is, the first message of multiple second language types is obtained.
  • the second message belonging to the second language type is sent in each second conversation group; when the first When the message is converted into second messages of multiple second language types, the second message belonging to one of the multiple second language types is sent in each second conversation group.
  • the message sending device is a mobile phone as an example.
  • the first type is Chinese.
  • a text message i.e. the first message
  • the conversation group 1 of application A since the conversation group 2 and the conversation group 3 associated with the conversation group 1 can be determined, when the conversation group 2
  • this text message can be converted from Chinese to English, so that the second message converted into English can be sent to the conversation group 2 and sent to the conversation group 3 Second message in Chinese type.
  • the first message when the language type of the first message is the first language type, and when the language type corresponding to the second conversation group is the second language type, the first message can be The language type of the message is converted from the first language type to the second language type to obtain the second message, so that the second message belonging to the second language type can be sent in the second conversation group.
  • the group members in the second conversation group can learn the message content of the first message faster, which facilitates smoother communication between group members from different groups and using different languages.
  • the execution subject may be a message sending device (for example, the message sending device is an electronic device or an external device on the electronic device), or the message sending device used in the message sending device A control module that executes the message sending method.
  • the method for sending a message performed by the message sending device is taken as an example to illustrate the message sending device provided in the embodiment of the present application.
  • this embodiment of the present application provides a message sending device 200 , and the message sending device includes a determining module 201 and a sending module 202 .
  • the determining module 201 may be configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message.
  • the sending module 202 may be configured to send a second message in the second conversation group determined by the determination module through members of the target group, and the second message is associated with the first message; wherein, the first conversation group and the The second conversation group all includes the target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
  • the message sending device further includes an acquiring module.
  • the obtaining module can be used to obtain the first group member who sends the first message.
  • the sending module may be specifically configured to send a second message in the second conversation group through the target group member when the group members of the second conversation group include the first group member acquired by the acquisition module, the first The second message is used to remind the first group member to send a message corresponding to the first message in the second conversation group; or, the group members of the second conversation group do not include the first message acquired by the acquisition module
  • a second message is sent in the second conversation group by the target group member, and the second message corresponds to the first message.
  • the message sending device may also include an acquiring module.
  • the obtaining module may be used to obtain a group member set included in both the first conversation group and the second conversation group, wherein the group members in the group member set all have the authority to forward group messages.
  • the sending module may be specifically configured to send the second message in the second conversation group through the target group member when the target group member is in the group member set.
  • the message sending device may further include a processing module.
  • the processing module may be configured to associate the first conversation group with the second conversation group when the first conversation group and the second conversation group meet a preset condition.
  • the preset condition includes any of the following: the first input to the first conversation group and the second conversation group is received; the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold; the name of the first conversation group and the name of the second conversation group include the same keyword; the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold; the first conversation group and the second conversation group include the same chat topic.
  • the language type of the first message is the first language type.
  • the message sending device may also include a processing module.
  • the processing module may be configured to convert the language type of the first message from the first language type to the second language type when the language type corresponding to the second conversation group is the second language type, so as to obtain the second language type. information.
  • the second message further includes account information of the first group member, and the first group member is the group member who triggers sending the first message.
  • the message sending device may also include an acquisition module and a processing module.
  • the obtaining module can be used to obtain the first message and the account information of the first group members.
  • the processing module may be configured to package the first message obtained by the obtaining module and the account information of the first group member to obtain the second message.
  • the determining module can also be used to determine the second language type according to the target information; wherein, the target information includes any of the following: the language type of the historical chat messages in the second conversation group, the language type of the second conversation group The identity information of the group members in the group.
  • An embodiment of the present application provides a message sending device.
  • a conversation group After a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, it can pass the conversation group and at least one The group members included in the conversation groups automatically send the message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the other conversation group.
  • the conversation interface of a conversation group can paste and send the chat information in the conversation interface of another conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the forwarding of the chat information in the conversation group. efficiency of chat messages.
  • the message sending device 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).
  • assistant, PDA 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.
  • the message sending device 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 message sending device provided in the embodiment of the present application can realize various processes realized in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
  • the embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, and programs or instructions stored in the memory 302 and operable on the processor 301,
  • the program or instruction is executed by the processor 301, the various processes of the above-mentioned message sending method embodiment can be achieved, 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. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
  • the electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
  • the electronic device 400 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 410 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. 4 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
  • the processor 410 may be configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message.
  • the radio frequency unit 401 may be configured to send a second message in the second conversation group through members of the target group, and the second message is associated with the first message; wherein, the first conversation group and the second conversation group
  • Each group includes the target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
  • the processor 410 is configured to acquire the first group member who sent the first message.
  • the radio frequency unit 401 is specifically configured to, when the group members of the second conversation group include the first group member, send a second message in the second conversation group through the target group member, and the second message is used for Reminding the first group member to send a message corresponding to the first message in the second conversation group; or, in the case that the first group member is not included in the group members of the second conversation group, through the target A group member sends a second message in the second conversation group, and the second message corresponds to the first message.
  • the group members corresponding to the accounts logged in on the electronic device are the second group members.
  • the processor 410 is configured to obtain a group member set included in both the first conversation group and the second conversation group, wherein all the group members in the group member set have the right to forward group messages.
  • the radio frequency unit 401 is configured to send a second message in the second conversation group through the target group member when the target group member is in the group member set.
  • the processor 410 may also be configured to associate the first conversation group with the second conversation group when the first conversation group and the second conversation group meet a preset condition.
  • the preset condition includes any of the following: the first input to the first conversation group and the second conversation group is received; the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold; the name of the first conversation group and the name of the second conversation group include the same keyword; the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold; the first conversation group and the second conversation group include the same chat topic.
  • the language type of the first message is the first language type.
  • the processor 410 may also be configured to convert the language type of the first message from the first language type to the second language type when the language type corresponding to the second conversation group is the second language type, so as to obtain Second message.
  • the second message further includes account information of the first group member, and the first group member is the group member who triggers sending the first message.
  • the processor 410 may also be configured to obtain the first message and account information of the first group members; and package the first message and the account information of the first group members to obtain the second message.
  • the processor 410 may also be configured to determine the second language type according to the target information; wherein the target information includes any of the following: the language type of the historical chat messages in the second conversation group, the language type of the second conversation group Identity information of group members in the group.
  • An embodiment of the present application provides an electronic device. After a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, the conversation group and at least one conversation group can The group members included in the group automatically send the message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the other
  • the conversation interface of the conversation group can paste and send the chat information in the conversation interface of another conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the efficiency of forwarding the chat information in the conversation group. Efficiency of chat messages.
  • the input unit 404 may include a graphics processing unit (graphics processing unit, GPU) 4041 and a microphone 4042, and the graphics processing unit 4041 is compatible with the image capturing device (such as the image data of the still picture or video obtained by the camera) for processing.
  • the display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like.
  • the user input unit 407 includes a touch panel 4071 and other input devices 4072 .
  • the touch panel 4071 is also called a touch screen.
  • the touch panel 4071 may include two parts, a touch detection device and a touch controller.
  • Other input devices 4072 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 409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems.
  • the processor 410 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 410 .
  • the embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above message sending method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
  • the processor is the processor in the electronic device in the above embodiment.
  • the readable storage medium includes a computer readable storage medium, such as a computer read-only memory (read-only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk or an optical disk, and the like.
  • 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 realize the various processes of the above message sending method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated 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.
  • the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation.
  • the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods in various embodiments of the present application.

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

Disclosed in the present application are a message sending method and apparatus, and an electronic device. The method comprises: when a first session group has received a first message, determining a second session group associated with the first session group; and a target group member sending a second message in the second session group, the second message being associated with the first message, wherein the target group member is comprised in both the first session group and the second session group, and the target group member is a group member corresponding to an account which is logged onto an electronic device.

Description

消息发送方法、装置及电子设备Message sending method, device and electronic equipment
相关申请的交叉引用Cross References to Related Applications
本申请主张在2021年08月05日在中国提交的中国专利申请号202110898482.7的优先权,其全部内容通过引用包含于此。This application claims priority to Chinese Patent Application No. 202110898482.7 filed in China on August 5, 2021, the entire contents of which are hereby incorporated by reference.
技术领域technical field
本申请属于通信技术领域,具体涉及一种消息发送方法、装置及电子设备。The present application belongs to the technical field of communication, and in particular relates to a message sending method, device and electronic equipment.
背景技术Background technique
随着通信技术的发展,电子设备的应用日益广泛,例如,用户可以使用电子设备上的不同社交应用与好友聊天、沟通等。With the development of communication technologies, electronic devices are increasingly used. For example, users can use different social applications on electronic devices to chat and communicate with friends.
通常,用户可以通过电子设备与社交应用中的会话群组中的群成员聊天。如果用户想要将该社交应用中的一个会话群组中的聊天消息分享至另一个会话群组中,那么用户需要先触发电子设备复制该聊天消息,然后触发电子设备从该一个会话群组的会话界面切换至该另一个会话群组的会话界面,最后再触发电子设备在该另一个会话群组的会话界面中粘贴并发送该聊天消息,从而使得电子设备转发会话群组中的消息的操作较为繁琐、且效率低。Generally, a user can chat with group members in a conversation group in a social application through an electronic device. If a user wants to share a chat message in a conversation group in the social application to another conversation group, the user needs to first trigger the electronic device to copy the chat message, and then trigger the electronic device to copy the chat message from the conversation group. The conversation interface is switched to the conversation interface of the other conversation group, and finally the electronic device is triggered to paste and send the chat message in the conversation interface of the other conversation group, so that the electronic device forwards the operation of the message in the conversation group More cumbersome and inefficient.
发明内容Contents of the invention
本申请实施例的目的是提供一种消息发送方法、装置及电子设备,能够解决电子设备转发会话群组中的聊天信息的操作较为繁琐的问题。The purpose of the embodiment of the present application is to provide a message sending method, device and electronic device, which can solve the problem that the operation of the electronic device to forward the chat information in the conversation group is relatively cumbersome.
为了解决上述技术问题,本申请是这样实现的:In order to solve the above-mentioned technical problems, the application is implemented as follows:
第一方面,本申请实施例提供了一种消息发送方法,该方法包括:在第一会话群组接收到第一消息的情况下,确定与该第一会话群组关联的第二会话群组;通过目标群成员在该第二会话群组中发送第二消息,该第二消息与该第一消息相关联;其中,该第一会话群组和该第二会话群组中均包括目标群成员,目标群成员为在电子设备上登录的账户对应的群成员。In the first aspect, the embodiment of the present application provides a method for sending a message, the method includes: in the case that the first conversation group receives the first message, determine the second conversation group associated with the first conversation group ; sending a second message in the second conversation group by members of the target group, and the second message is associated with the first message; wherein, both the first conversation group and the second conversation group include the target group Members, the target group members are the group members corresponding to the account logged in on the electronic device.
第二方面,本申请实施例提供了一种消息发送装置,该消息发送装置包括:确定模块和发送模块。确定模块,用于在第一会话群组接收到第一消息的情况下,确定与该第一会话群组关联的第二会话群组。发送模块,用于通过目标群成员在确定模块确定的该第二会话群组中发送第二消息,该第二消息与该第一消息相关联;其中,该第一会话群组和该第二会话群组中均包括目标群成员,该目标群成员为在电子设备上登录的账户对应的群成员。In a second aspect, the embodiment of the present application provides a message sending device, and the message sending device includes: a determining module and a sending module. A determining module, configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message. A sending module, configured to send a second message in the second conversation group determined by the determination module through the target group members, and the second message is associated with the first message; wherein, the first conversation group and the second conversation group Each conversation group includes a target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
第三方面,本申请实施例提供了一种电子设备,该电子设备包括处理器、存储器及存储在存储器上并可在处理器上运行的程序或指令,程序或指令被处理器执行时实现如上述第一方面中的方法的步骤。In the third aspect, the 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. When the program or instruction is executed by the processor, the The steps of the method in the first aspect above.
第四方面,本申请实施例提供了一种可读存储介质,该可读存储介质上存储程序 或指令,程序或指令被处理器执行时实现如上述第一方面中的方法的步骤。In a fourth aspect, an embodiment of the present application provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, the steps of the method in the above first aspect are implemented.
第五方面,本申请实施例提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现如上述第一方面中的方法。In the fifth aspect, 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 to implement the method in the first aspect above.
在本申请实施例中,在第一会话群组接收到第一消息情况下,确定与该第一会话群组关联的第二会话群组;并通过目标群成员在该第二会话群组中发送第二消息,其中,该第一会话群组和该第二会话群组中均包括目标群成员,目标群成员为在电子设备上登录的账户对应的群成员。通过该方案,在一个会话群组接收到聊天消息之后,由于可以确定与该一个会话群组关联的至少一个会话群组,因此可以通过该一个会话群组和至少一个会话群组均包括的群成员,自动向该至少一个会话群组发送与该聊天消息相关联的消息,从而无需用户频繁触发电子设备从该一个会话群组中复制该聊天消息并切换至该另一个会话群组的会话界面以在该另一个会话群组的会话界面中粘贴并发送该聊天信息,即简化了电子设备转发会话群组中的聊天信息的操作,且提高了转发会话群组中的聊天消息的效率。In the embodiment of the present application, when the first conversation group receives the first message, determine the second conversation group associated with the first conversation group; and through the target group members in the second conversation group The second message is sent, wherein both the first conversation group and the second conversation group include target group members, and the target group members are group members corresponding to accounts logged in on the electronic device. Through this scheme, after a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, it is possible to pass the group information included in the conversation group and the at least one conversation group. A member automatically sends a message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the conversation interface of the other conversation group Pasting and sending the chat information in the conversation interface of the other conversation group simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the efficiency of forwarding the chat information in the conversation group.
附图说明Description of drawings
图1为本申请实施例提供的一种消息发送方法的示意图;FIG. 1 is a schematic diagram of a message sending method provided by an embodiment of the present application;
图2为本申请实施例提供的消息发送装置的结构示意图;FIG. 2 is a schematic structural diagram of a message sending device provided in an embodiment of the present application;
图3为本申请实施例提供的电子设备的结构示意图;FIG. 3 is a schematic structural diagram of an electronic device provided in an embodiment of the present application;
图4为本申请实施例提供的电子设备的硬件示意图。FIG. 4 is a schematic diagram of hardware of an electronic device provided by an embodiment of the present application.
具体实施方式Detailed ways
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present application with reference to the drawings in the embodiments of the present application. Obviously, the described embodiments are part of the embodiments of the present application, not all of them. Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of this application.
本申请的说明书和权利要求书中的术语“第一”、“第二”等是用于区别类似的对象,而不用于描述特定的顺序或先后次序。应该理解这样使用的数据在适当情况下可以互换,以便本申请的实施例能够以除了在这里图示或描述的那些以外的顺序实施。此外,说明书以及权利要求中“和/或”表示所连接对象的至少其中之一,字符“/”,一般表示前后关联对象是一种“或”的关系。The terms "first", "second" and the like in the specification and claims of the present application are used to distinguish similar objects, and are not used to describe a specific sequence or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the application can be practiced in sequences other than those illustrated or described herein. In addition, "and/or" in the specification and claims means at least one of the connected objects, and the character "/" generally means that the related objects are an "or" relationship.
在本申请实施例中,“示例性的”或者“例如”等词用于表示作例子、例证或说明。本申请实施例中被描述为“示例性的”或者“例如”的任何实施例或设计方案不应被解释为比其它实施例或设计方案更具优势。确切而言,使用“示例性的”或者“例如”等词旨在以具体方式呈现相关概念。In the embodiments of the present application, words such as "exemplary" or "for example" are used as examples, illustrations or illustrations. Any embodiment or design scheme described as "exemplary" or "for example" in the embodiments of the present application shall not be construed as being more advantageous than other embodiments or design schemes. Rather, the use of words such as "exemplary" or "such as" is intended to present related concepts in a concrete manner.
在本申请实施例的描述中,除非另有说明,“多个”的含义是指两个或者两个以上,例如,多个元件是指两个或者两个以上的元件等。In the description of the embodiments of the present application, unless otherwise specified, "plurality" means two or more, for example, a plurality of elements refers to two or more elements.
本申请实施例提供一种消息发送方法、装置及电子设备,在第一会话群组接收到第一消息的情况下,确定与该第一会话群组关联的第二会话群组;并通过目标群成员在该第二会话群组中发送第二消息,其中,该第一会话群组和该第二会话群组中均包括目标群成员,目标群成员为在电子设备上登录的账户对应的群成员。通过该方案,在一个会话群组接收 到聊天消息之后,由于可以确定与该一个会话群组关联的至少一个会话群组,因此可以通过该一个会话群组和至少一个会话群组均包括的群成员,自动向该至少一个会话群组发送包括与该聊天消息相关联的消息,从而无需用户频繁触发电子设备从该一个会话群组中复制该聊天消息并切换至该另一个会话群组的会话界面以在该另一个会话群组的会话界面中粘贴并发送该聊天信息,即简化了电子设备转发会话群组中的聊天信息的操作,且提高了转发会话群组中的聊天消息的效率。The embodiment of the present application provides a message sending method, device and electronic equipment, in the case that the first conversation group receives the first message, determine the second conversation group associated with the first conversation group; and through the target A group member sends a second message in the second conversation group, wherein both the first conversation group and the second conversation group include target group members, and the target group members are corresponding to the account logged in on the electronic device group members. Through this scheme, after a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, it is possible to pass the group information included in the conversation group and the at least one conversation group. The members automatically send messages associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the conversation of the other conversation group The interface is used to paste and send the chat information in the conversation interface of the other conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the efficiency of forwarding the chat information in the conversation group.
下面结合附图,通过具体的实施例及其应用场景对本申请实施例提供的消息发送方法、装置及电子设备进行详细地说明。The message sending method, device, and electronic device provided by the embodiments of the present application will be described in detail below through specific embodiments and application scenarios with reference to the accompanying drawings.
如图1所示,本申请实施例提供一种消息发送方法,该方法包括下述S101和S102。As shown in FIG. 1 , this embodiment of the present application provides a method for sending a message, and the method includes the following S101 and S102.
S101、在第一会话群组接收到第一消息情况下,消息发送装置确定与该第一会话群组关联的第二会话群组。S101. In a case that the first conversation group receives the first message, the message sending device determines a second conversation group associated with the first conversation group.
可选的,本申请实施例中,第一消息为聊天消息、短消息等其他可能的消息。进一步地,第一消息的类型可以包括以下至少一项:文本类型、语音类型、视频类型、图像类型等。其中,在第一消息为图像类型的情况下,该第一消息可以为动态图像或静态图像。Optionally, in this embodiment of the present application, the first message is a chat message, a short message and other possible messages. Further, the type of the first message may include at least one of the following: text type, voice type, video type, image type, and the like. Wherein, when the first message is an image type, the first message may be a dynamic image or a static image.
可选的,本申请实施例中,假设第一会话群组中包括至少两个群成员,电子设备在第一会话群组中登录的账户为该至少两个群成员中的一个群成员。上述S101中的“第一会话群组接收到第一消息”具体可以包括两种可能的情况:一种情况,第一消息为至少两个群成员中除该一个群成员之外的其他群成员发送的;另一种情况,第一消息为该一个群成员(使用本电子设备的用户)发送的。Optionally, in this embodiment of the present application, it is assumed that the first conversation group includes at least two group members, and the account logged in by the electronic device in the first conversation group is one of the at least two group members. The above-mentioned "the first conversation group receives the first message" in S101 may specifically include two possible situations: one situation, the first message is a group member other than the one group member among at least two group members In another case, the first message is sent by the group member (the user using the electronic device).
可选的,本申请实施例中,第一会话群组和第二会话群组可以为同一应用程序中的会话群组,或为不同应用程序中的会话群组。Optionally, in this embodiment of the present application, the first conversation group and the second conversation group may be conversation groups in the same application program, or conversation groups in different application programs.
进一步地,第二会话群组的数量可以一个或多个。具体地,当第二会话群组的数量为多个的情况下,对于第一会话群组和第二会话群组为不同应用程序中的会话群组,具体可以包括如下3种可能的情况:Further, there may be one or more second conversation groups. Specifically, when there are multiple second conversation groups, for the first conversation group and the second conversation group are conversation groups in different applications, specifically the following three possible situations may be included:
第一种可能的情况:第一会话群组为第一应用程序中的会话群组,第二会话群组均为第二应用程序中的不同会话群组。The first possible situation: the first conversation group is a conversation group in the first application program, and the second conversation groups are different conversation groups in the second application program.
第二种可能的情况:第一会话群组为第一应用程序中的会话群组,第二会话群组中的一部分会话群组为第一应用程序中的不同会话群组,且第二会话群组中的另一部分会话群组为第二应用程序中的不同会话群组,即第一会话群组和第二会话群组中的部分会话群组属于不同应用程序中。The second possible situation: the first conversation group is a conversation group in the first application, some of the second conversation groups are different conversation groups in the first application, and the second conversation Another part of the conversation groups in the group is a different conversation group in the second application program, that is, some conversation groups in the first conversation group and the second conversation group belong to different application programs.
第三种可能的情况:第一会话群组为第一应用程序中的会话群组,第二会话群组中的一部分会话群组为第二应用程序中的不同会话群组,且第二会话群组中的另一部分会话群组为第三应用程序中的不同会话群组,即第一会话群组和第二会话群组完全属于不同应用程序中,且第二会话群组可以为多个不同应用程序中的会话群组。The third possible situation: the first conversation group is a conversation group in the first application program, some conversation groups in the second conversation group are different conversation groups in the second application program, and the second conversation group Another part of the conversation groups in the group are different conversation groups in the third application program, that is, the first conversation group and the second conversation group belong to different application programs completely, and the second conversation group can be multiple Conversations in different applications.
可选的,电子设备中可以存储至少一个关联标识,一个关联标识用于指示与第一会话群组关联的一个第二会话群组,该关联标识可以显示于会话群组的标识上。其中,该关联标识可以为以下任意一项:符号、图标、数字、图形、颜色等。Optionally, at least one association identifier may be stored in the electronic device, one association identifier is used to indicate a second conversation group associated with the first conversation group, and the association identifier may be displayed on the identifier of the conversation group. Wherein, the association identifier may be any of the following: symbols, icons, numbers, graphics, colors, and the like.
进一步地,对于第一会话群组所关联的不同会话群组,关联标识也不同,即通过不同的关联标识,用于区分并确定第一会话群组所关联的不同会话群组。Further, for different conversation groups associated with the first conversation group, the association identifiers are also different, that is, different association identifiers are used to distinguish and determine different conversation groups associated with the first conversation group.
示例性的,假设有3个会话群组,这3个会话群组分别包括会话群组01、会话群组02和会话群组03,3个关联标识分别为01、02和03。当关联标识为01时,确定与第一会话群组关联的一个第二会话群组为会话群组01;当关联标识为02时,确定与第一会话群组关联的一个第二会话群组为会话群组02;当关联标识为03时,确定与第一会话群组关联的一个第二会话群组为会话群组03。即,在这种情况下,第一会话群组只与第二会话群组中的其中一个群组关联。可以理解的,若关联标识显示为01、02、03,则确定会话群组01、会话群组02、会话群组03均与第一会话群组关联,即,能够通过目标群成员将第二消息发送至三个第二会话群组中去。Exemplarily, it is assumed that there are 3 conversation groups, and these 3 conversation groups respectively include conversation group 01, conversation group 02 and conversation group 03, and the 3 association identifiers are 01, 02 and 03 respectively. When the association identifier is 01, determine that a second conversation group associated with the first conversation group is conversation group 01; when the association identifier is 02, determine a second conversation group associated with the first conversation group is conversation group 02; when the association identifier is 03, determine a second conversation group associated with the first conversation group as conversation group 03. That is, in this case, the first conversation group is only associated with one of the second conversation groups. It can be understood that if the association identifiers are displayed as 01, 02, and 03, it is determined that the conversation group 01, the conversation group 02, and the conversation group 03 are all associated with the first conversation group, that is, the second conversation group can be linked by the target group members. Messages are sent to three secondary conversation groups.
可选的,在上述S101之前,本申请实施例提供的消息发送方法还可以包括:在第一会话群组和第二会话群组满足预设条件的情况下,消息发送装置关联该第一会话群组和第二会话群组。其中,预设条件包括以下任意一项:接收到对第一会话群组和第二会话群组的第一输入;第一会话群组和第二会话群组中均包括的群成员的数量大于或等于第一预设阈值;第一会话群组的名称和第二会话群组的名称包括相同的关键词;第一会话群组的创建时间与第二会话群组的创建时间的时间差小于或等于第二预设阈值;第一会话群组和第二会话群组中包括相同的聊天主题。Optionally, before the above S101, the message sending method provided by the embodiment of the present application may further include: when the first conversation group and the second conversation group meet preset conditions, the message sending device associates the first conversation group and second conversation. Wherein, the preset condition includes any of the following: the first input to the first conversation group and the second conversation group is received; the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold; the name of the first conversation group and the name of the second conversation group include the same keyword; the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold; the first conversation group and the second conversation group include the same chat topic.
可以理解的,接收到对第一会话群组和第二会话群组的第一输入可以是,接收到用户在第一会话群组与第二会话群组建立关联关系的第一输入。例如,在某一较短的时间内,接收到用户对第一会话群组和第二会话群组的长按操作,则将第一会话群组和第二会话群组进行关联。It can be understood that receiving the first input of the first conversation group and the second conversation group may be receiving the first input that the user establishes an association relationship between the first conversation group and the second conversation group. For example, within a short period of time, if a user's long press operation on the first conversation group and the second conversation group is received, the first conversation group and the second conversation group are associated.
可以理解的,第一会话群组和第二会话群组中均包括的群成员的数量大于或等于第一预设阈值可以是:在第一会话群组有10个群成员,第二会话群组有20个群成员的情况下,第一会话群组和第二会话群组中均包含的群成员为6人,大于第一预设阈值5人,进一步的,第一预设阈值的数值可以根据两个会话群组中人数较少的群组的具体人数来确定,例如,第一会话群组的人数较少为10人,则第一预设阈值可以设置为10人的一半,即5人。It can be understood that the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold may be: there are 10 group members in the first conversation group, and the second conversation group When the group has 20 group members, the number of group members included in both the first conversation group and the second conversation group is 6, which is greater than the first preset threshold of 5 people, and further, the value of the first preset threshold It can be determined according to the specific number of people in the group with a smaller number of people in the two conversation groups. For example, if the number of people in the first conversation group is less than 10 people, then the first preset threshold can be set to half of 10 people, that is 5-people.
可以理解的,第一会话群组的名称和一个第二会话群组的名称包括相同的关键词是指:第一会话群组的名称为第一名称,第二会话群组的名称为第二名称,第一名称和第一名称包括相同的关键词。例如,第一会话群组的名称为“8月3号篮球比赛”,第二会话群组的名称为“组队打篮球”,第一会话群组的名称和第二会话群组的名称均包括关键词“篮球”。It can be understood that the name of the first conversation group and the name of a second conversation group include the same keyword means: the name of the first conversation group is the first name, and the name of the second conversation group is the second Name, First Name and First Name include the same keyword. For example, the name of the first conversation group is "Basketball Game on August 3rd", the name of the second conversation group is "Team to play basketball", the name of the first conversation group and the name of the second conversation group are both Include the keyword "basketball".
可以理解的,第一会话群组的创建时间与第二会话群组的创建时间的时间差小于或等于第二预设阈值是指:第一会话群组的创建时间为第一时间,第二会话群组的创建时间为第二时间,第一时间和第一时间的时间差小于或等于第二预设阈值。例如,第一会话群组的创建时间为“8月3号”,第二会话群组的创建时间为“8月5号”,第二阈值为2天,即第一时间和第一时间的时间差为2天等于第二阈值。It can be understood that the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold means: the creation time of the first conversation group is the first time, and the second conversation group The creation time of the group is the second time, and the time difference between the first time and the first time is less than or equal to the second preset threshold. For example, the creation time of the first conversation group is "August 3", the creation time of the second conversation group is "August 5", and the second threshold is 2 days, which is the difference between the first time and the first time A time difference of 2 days is equal to the second threshold.
可以理解的,第一会话群组和第二会话群组中包括相同的聊天主题是指:第一会话群组中包括第一聊天主题,第二会话群组中包括第二聊天主题,第一聊天主题和第二聊天主题相同。例如,第一会话群组的聊天主题为“最新上映的电影”,第二会话群组的聊天主题为“最新上映的电影”。It can be understood that including the same chat topic in the first conversation group and the second conversation group means: the first conversation group includes the first chat topic, the second conversation group includes the second chat topic, and the first conversation group includes the same chat topic. The chat topic is the same as the second chat topic. For example, the chat topic of the first conversation group is "the latest movie released", and the chat topic of the second conversation group is "the latest movie released".
在本申请实施例中,当第一会话群组和第二会话群组满足预设条件时,可以关联该第 一会话群组和该第二会话群组,从而当电子设备就可以根据一个会话群组,自动确定与该一个会话群组关联的另一个第二会话群组,从而无需用户花费时间一一去查找与一个会话群组相关联的其他群组。如此,既节省了用户时间,也提高了自动化使用效率。In the embodiment of this application, when the first conversation group and the second conversation group meet the preset conditions, the first conversation group and the second conversation group can be associated, so that when the electronic device can The group automatically determines another second conversation group associated with the one conversation group, so that the user does not need to spend time searching for other groups associated with the one conversation group one by one. In this way, it not only saves user time, but also improves the efficiency of automation.
S102、消息发送装置通过目标群成员在该第二会话群组中发送第二消息。S102. The message sending device sends a second message in the second conversation group through the members of the target group.
其中,第二消息与第一消息相关联。第一会话群组和第二会话群组中均包括目标群成员,目标群成员为在电子设备上登录的账户对应的群成员。Wherein, the second message is associated with the first message. Both the first conversation group and the second conversation group include target group members, and the target group members are group members corresponding to accounts logged in on the electronic device.
可选的,第二消息可以为与第一消息内容相同或含义相同的消息,或为其他与第一消息相关联的消息,对于第二消息的说明可以参照下述实施例中的具体描述,本申请实施例在此不予赘述。Optionally, the second message may be a message with the same content or meaning as the first message, or other messages associated with the first message. For the description of the second message, refer to the specific description in the following embodiments, The embodiment of the present application will not be described in detail here.
可选的,电子设备可以自动检测在每个会话群组中登录的账户。假设电子设备在第一会话群组中登录的账户为第一账户,在第二会话群组中登录的账户为第二账户。对于第一会话群组和第二会话群组中均包括目标群成员的说明,包括如下2种可能的情况:Optionally, the electronic device can automatically detect the account logged in in each session group. Assume that the account logged in by the electronic device in the first conversation group is the first account, and the account logged in by the electronic device in the second conversation group is the second account. The description that both the first conversation group and the second conversation group include members of the target group includes the following two possible situations:
(1)当第一会话群组和第二会话群组属于同一应用程序时,第一账户和第二账户相同,第一账户和第二账户分别对应相同的群成员,即目标群成员,从而第一会话群组和第二会话群组中均包括目标群成员。(1) When the first conversation group and the second conversation group belong to the same application program, the first account and the second account are the same, and the first account and the second account respectively correspond to the same group members, i.e. target group members, thus Both the first conversation group and the second conversation group include members of the target group.
(2)当第一会话群组和第二会话群组属于不同应用程序时,第一账户和第二账户不同,第一账户和第二账户分别对应一个群成员,即将其分别对应的该一个群成员均称为目标群成员,从而第一会话群组和第二会话群组中均包括目标群成员。(2) When the first conversation group and the second conversation group belong to different applications, the first account and the second account are different, and the first account and the second account respectively correspond to a group member, that is, the corresponding one Group members are called target group members, so both the first conversation group and the second conversation group include the target group members.
可选的,在上述S101之后,上述S102之前,本申请实施例提供的消息发送方法还可以包括:消息发送装置获取第一会话群组与第二会话群组中均包括的群成员集合,其中,该群成员集合中的群成员均具备转发群消息的权限。相应地,上述S102具体可以包括:在目标群成员处于该群成员集合中的情况下,消息发送装置通过该目标群成员在第二会话群组中发送第二消息。Optionally, after the above S101 and before the above S102, the message sending method provided in the embodiment of the present application may further include: the message sending device acquires a group member set included in both the first conversation group and the second conversation group, where , all group members in the group member set have the permission to forward group messages. Correspondingly, the above S102 may specifically include: when the target group member is in the group member set, the message sending device sends the second message in the second conversation group through the target group member.
可选的,上述群成员集合是指第一会话群组与第二会话群组中均包括的、且具备转发群消息的权限的群成员组成的集合。进一步地,该群成员集合中的群成员可以为第一会话群组与第二会话群组中均包括的所有群成员或部分群成员。Optionally, the above-mentioned group member set refers to a set composed of group members included in both the first conversation group and the second conversation group and having the authority to forward group messages. Further, the group members in the group member set may be all or part of the group members included in both the first conversation group and the second conversation group.
需要说明的是,假设第一会话群组与第二会话群组中均包括的所有群成员的数量为M,M为正整数;群成员集合的数量为N,N为正整数。当N=M时,第一会话群组与第二会话群组中均包括的所有群成员都具备转发群消息的权限;当N<M时,仅该群成员集合中的群成员具备转发群消息的权限,而第一会话群组与第二会话群组中均包括的所有群成员中,除该群成员集合中的群成员之外的其他共同群成员不具备转发群消息的权限。It should be noted that it is assumed that the number of all group members included in both the first conversation group and the second conversation group is M, and M is a positive integer; the number of group member sets is N, and N is a positive integer. When N=M, all group members included in the first conversation group and the second conversation group have the authority to forward group messages; when N<M, only the group members in the group member set have the right to forward group messages Among all group members included in both the first conversation group and the second conversation group, other common group members except the group members in the group member set do not have the right to forward group messages.
在本申请实施例中,在获取第一会话群组与第二会话群组中均包括的群成员集合之后,由于该群成员集合中的群成员均具备转发群消息的权限,因此在目标群成员处于该群成员集合中的情况下,可以通过该目标群成员在第二会话群组中发送第二消息,从而只有属于群成员集合中的群成员才可以在第二会话群组中发送第二消息,而其他不属于群成员集合中的群成员没有转发群消息的权限,进而可以防止不同群组的共同群成员中不具备转发群消息的权限的群成员,在不同群组之间转发消息。In the embodiment of this application, after obtaining the group member sets included in both the first conversation group and the second conversation group, since the group members in the group member set all have the authority to forward group messages, the target group When the member is in the group member set, the target group member can send the second message in the second conversation group, so that only the group members belonging to the group member set can send the second message in the second conversation group. Two messages, and other group members who do not belong to the group member set do not have the permission to forward group messages, which can prevent group members who do not have the permission to forward group messages among the common group members of different groups from forwarding between different groups information.
可选的,在上述S101之后,上述S102之前,本申请实施例提供的消息发送方法还可以包括:消息发送装置获取发送第一消息的第一群成员。相应地,上述S102具体可以通 过下述S102A或下述S102B实现。Optionally, after the above S101 and before the above S102, the message sending method provided in the embodiment of the present application may further include: the message sending device obtains the first group member who sends the first message. Correspondingly, the above S102 may specifically be implemented through the following S102A or the following S102B.
S102A、在第二会话群组的群成员中包括第一群成员的情况下,通过目标群成员在该第二会话群组中发送第二消息。S102A. In a case that the group members of the second conversation group include the first group member, send the second message in the second conversation group through the target group member.
其中,第二消息用于提醒第一群成员在第二会话群组中发送与第一消息对应的消息。Wherein, the second message is used to remind members of the first group to send a message corresponding to the first message in the second conversation group.
可选的,第二消息为提醒消息。例如,第二消息为@第一群成员,或者,第二消息为对第一群成员进行拍一拍。Optionally, the second message is a reminder message. For example, the second message is @the first group member, or the second message is a pat on the first group member.
可选的,假设第一群成员在第二会话群组中发送与第一消息对应的消息为第三消息,则该第三消息可以为以下任一项:与第一消息相同的消息、与第一消息的含义相同的消息、与第一消息均包括相同的关键字的消息。Optionally, assuming that the message corresponding to the first message sent by the first group member in the second conversation group is the third message, the third message may be any of the following: the same message as the first message, the same message as the first message, The first message means a message having the same meaning, and a message including the same keyword as the first message.
S102B、在第二会话群组的群成员中不包括该第一群成员的情况下,通过目标群成员在该第二会话群组中发送第二消息。S102B. In a case that the group members of the second conversation group do not include the first group member, send a second message in the second conversation group through the target group member.
其中,第二消息与第一消息对应。Wherein, the second message corresponds to the first message.
可选的,第二消息可以为以下任一项:与第一消息相同的消息、与第一消息的含义相同的消息、与第一消息均包括相同的关键字的消息。Optionally, the second message may be any of the following: a message that is the same as the first message, a message that has the same meaning as the first message, and a message that includes the same keyword as the first message.
示例性的,第一消息为“明天一起去打篮球”,第二消息为“明天打篮球去”。Exemplarily, the first message is "Let's play basketball together tomorrow", and the second message is "Let's play basketball tomorrow".
在本申请实施例中,在获取发送第一消息的第一群成员之后,由于可以判断第二会话群组是否包括该第一群成员,因此一方面,在第二会话群组的群成员中包括第一群成员的情况下,可以通过目标群成员在第二会话群组中发送用于提醒第一群成员的第二消息,从而第一群成员可以在所述第二会话群组中发送与第一消息相关联的消息;另一方面,在第二会话群组的群成员中不包括该第一群成员的情况下,可以通过目标群成员直接在该第二会话群组中发送第二消息。如此,可以根据实际使用场景,通过目标群成员发送不同用途的第二消息,以满足用户的不同使用需求。In the embodiment of the present application, after obtaining the first group member who sent the first message, since it can be judged whether the second conversation group includes the first group member, on the one hand, among the group members of the second conversation group In the case of including members of the first group, the second message for reminding the members of the first group can be sent in the second conversation group by the members of the target group, so that the members of the first group can send a message in the second conversation group A message associated with the first message; on the other hand, if the first group member is not included in the group members of the second conversation group, the second conversation group member can be directly sent in the second conversation group through the target group member. Two news. In this way, according to actual usage scenarios, the second messages for different purposes can be sent through target group members to meet different usage requirements of users.
进一步地,第二消息中还可以包括第一群成员的账户信息。Further, the second message may also include account information of members of the first group.
可选的,在第二消息还可以包括第一群成员的账户信息的情况下,在获取发送第一消息的第一群成员之后,本申请实施例提供的消息发送方法还可以包括下述S103和S104。Optionally, in the case where the second message may also include the account information of the first group member, after obtaining the first group member who sent the first message, the message sending method provided by the embodiment of the present application may also include the following S103 and S104.
S103、消息发送装置获取第一消息和第一群成员的账户信息。S103. The message sending device acquires the first message and account information of the first group member.
可选的,第一群成员的账户信息可以包括以下至少一项:第一群成员的昵称、第一群成员的账户头像、第一群成员的账户号码、第一群成员的所属地区、第一群成员的所属群组等。Optionally, the account information of the first group members may include at least one of the following: nicknames of the first group members, account avatars of the first group members, account numbers of the first group members, regions of the first group members, The group to which a group of members belongs, etc.
S104、消息发送装置打包该第一消息和该第一群成员的账户信息,得到第二消息。S104. The message sending device packages the first message and the account information of the first group member to obtain a second message.
可以理解的,在获取第一消息和第一群成员的账户信息之后,可以打包该第一消息和该第一群成员的账户信息作为第二消息,从而使得接收到该第二消息中的第二会话群组中群成员不仅可以知晓第二消息的消息内容,而且可以知晓该第二消息的发送者是哪个。It can be understood that after acquiring the first message and the account information of the first group members, the first message and the account information of the first group members may be packaged as a second message, so that the first message in the second message is received The group members in the second conversation group can not only know the message content of the second message, but also know who the sender of the second message is.
示例性的,以消息发送装置为手机为例。假设应用1的会话群组1中包括张三、李四和王五,应用2的会话群组2中包括张三、小明和小白,应用3的会话群组3中包括小明、小白和小黑。其中,会话群组1和会话群组2关联,会话群组2和会话群组3关联。当会话群组1中接收到王五发送的一条聊天消息时,由于张三的手机可以确定与该会话群组1关联的会话群组2,因此张三可以自动向该会话群组2中发送该聊天消息(即王五在会话群组1中发送的聊天消息),从而该会话群组2中的张三、小明和小白均可以接收到会话 群组1中王五触发发送的聊天消息。Exemplarily, the message sending device is a mobile phone as an example. Assume that conversation group 1 of application 1 includes Zhang San, Li Si and Wang Wu, conversation group 2 of application 2 includes Zhang San, Xiao Ming and Xiao Bai, and conversation group 3 of application 3 includes Xiao Ming, Xiao Bai and little black. Wherein, the conversation group 1 is associated with the conversation group 2, and the conversation group 2 is associated with the conversation group 3. When conversation group 1 receives a chat message sent by Wang Wu, because Zhang San's mobile phone can determine the conversation group 2 associated with this conversation group 1, Zhang San can automatically send a chat message to this conversation group 2. The chat message (that is, the chat message sent by Wang Wu in the conversation group 1), so that Zhang San, Xiao Ming and Xiao Bai in the conversation group 2 can all receive the chat message sent by Wang Wu in the conversation group 1 .
进一步地,由于小黑的手机可以确定与该会话群组2关联的会话群组3,并自动向该会话群组3中发送该聊天消息,从而该会话群组3中的小明和小白均可以接收到会话群组1中王五发送的聊天消息(同时也是张三在会话群组2中发送的聊天消息)。如此,会话群组1中的群成员、会话群组2中的群成员和会话群组3的群成员都及时得知了会话群组1中群成员张三触发发送的聊天消息的消息内容。Further, because Xiao Hei's mobile phone can determine the conversation group 3 associated with the conversation group 2, and automatically send the chat message to the conversation group 3, so Xiao Ming and Xiao Bai in the conversation group 3 are both The chat message sent by Wang Wu in conversation group 1 (also the chat message sent by Zhang San in conversation group 2) can be received. In this way, the group members in the conversation group 1, the group members in the conversation group 2 and the group members in the conversation group 3 all know the message content of the chat message sent by the group member Zhang San in the conversation group 1 in time.
需要说明的是,不同会话群组之间存在关联关系,那么可以根据关联关系,将一个会话群组中的消息转发到另一个会话群组中,再将该另一个会话群组中接收的消息发送至其他相关联的会话群组,依次类推,直至不再关联到其他可能的会话群组而停止消息转发。It should be noted that there is an association relationship between different conversation groups, so the messages in one conversation group can be forwarded to another conversation group according to the association relationship, and then the messages received in the other conversation group Send to other associated conversation groups, and so on, until it is no longer associated with other possible conversation groups and stops message forwarding.
本申请实施例提供一种消息发送方法,在一个会话群组接收到聊天消息之后,由于可以确定与该一个会话群组关联的至少一个会话群组,因此可以通过该一个会话群组和至少一个会话群组均包括的群成员,自动向该至少一个会话群组发送与该聊天消息相关联的消息,从而无需用户频繁触发电子设备从该一个会话群组中复制该聊天消息并切换至该另一个会话群组的会话界面以在该另一个会话群组的会话界面中粘贴并发送该聊天信息,即简化了电子设备转发会话群组中的聊天信息的操作,且提高了转发会话群组中的聊天消息的效率。The embodiment of the present application provides a message sending method. After a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, the conversation group and at least one chat message can be passed. The group members included in the conversation groups automatically send the message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the other conversation group. The conversation interface of a conversation group can paste and send the chat information in the conversation interface of another conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the forwarding of the chat information in the conversation group. efficiency of chat messages.
可选的,在第一消息的语言类型为第一语言类型的情况下,如果第二会话群组中的群成员使用其他的语言类型的语言,那么需要对该第一消息进行处理。示例性的,在上述S101之后,上述S102之前,本申请实施例提供的消息发送方法还可以包括下述S105。Optionally, if the language type of the first message is the first language type, if the group members in the second conversation group use a language of another language type, then the first message needs to be processed. Exemplarily, after the above S101 and before the above S102, the message sending method provided in the embodiment of the present application may further include the following S105.
S105、在第二会话群组对应的语言类型为第二语言类型的情况下,消息发送装置将第一消息的语言类型从第一语言类型转换为第二语言类型,以得到第二消息。S105. In the case that the language type corresponding to the second conversation group is the second language type, the message sending device converts the language type of the first message from the first language type to the second language type, so as to obtain the second message.
可选的,第一语言类型可以为以下任意一项:中文、英文、韩文等其他的语言类型。进一步地,第二语言类型为第一语言类型不同的语言类型。Optionally, the first language type may be any one of the following: Chinese, English, Korean and other language types. Further, the second language type is a language type different from the first language type.
可选的,在上述S105之前,本申请实施例提供的消息发送方法还可以包括下述:消息发送装置根据目标信息,确定第二语言类型。其中,目标信息包括以下任一项:第二会话群组中的历史聊天消息的语言类型,第二会话群中群成员的身份信息。Optionally, before the above S105, the message sending method provided in the embodiment of the present application may further include the following: the message sending device determines the second language type according to the target information. Wherein, the target information includes any of the following items: the language type of the historical chat messages in the second conversation group, and the identity information of the group members in the second conversation group.
可选的,历史聊天消息的语言类型可以为以下任意一项:西班牙文、日文、德文等其他的语言类型。Optionally, the language type of the historical chat messages may be any one of the following: Spanish, Japanese, German and other language types.
可选的,群成员的身份信息可以为以下至少一项:母语、护照信息、国籍信息等。Optionally, the identity information of the group members may be at least one of the following: native language, passport information, nationality information, and the like.
可以理解的是,根据第二信息确定第二语言类型,使得可以将第一消息转换为更符合第二会话群组中的群成员需求的语言类型的消息,即满足了用户的使用需求,且提高了用户体验感。It can be understood that the second language type is determined according to the second information, so that the first message can be converted into a message of a language type that is more in line with the needs of group members in the second conversation group, that is, the user's use requirements are met, and Improved user experience.
可选的,当第二会话群组的数量为多个时,若每个第二会话群组中的历史聊天消息的语言类型属于同一类型,则可以根据目标信息确定第二会话群组的语言类型为一种第二语言类型,从而只需将第一消息的语言类型从第一语言类型转换为该一种第二语言类型,即得到一种第二语言类型的第二消息;若每个第二会话群组中的历史聊天消息的语言类型不同类型,则可以根据目标信息确定多种第二语言类型,从而需要将第一消息的语言类型从第一语言类型转换为不同种类的第二语言类型,即得到多种第二语言类型的第一消息。Optionally, when there are multiple second conversation groups, if the language types of the historical chat messages in each second conversation group belong to the same type, then the language of the second conversation group can be determined according to the target information type is a second language type, so that only the language type of the first message is converted from the first language type to the second language type, a second message of a second language type is obtained; if each The language types of the historical chat messages in the second conversation group are different types, then multiple second language types can be determined according to the target information, so that the language type of the first message needs to be converted from the first language type to a different type of second language type. Language type, that is, the first message of multiple second language types is obtained.
进一步地,当将第一消息转换为一种第二语言类型的第二消息时,则在每个第二会话 群组中发送属于该一种第二语言类型的第二消息;当将第一消息转换为多种第二语言类型的第二消息时,则在每个第二会话群组中发送属于多种第二语言类型中的一种第二语言类型的第二消息。Further, when the first message is converted into a second message of a second language type, the second message belonging to the second language type is sent in each second conversation group; when the first When the message is converted into second messages of multiple second language types, the second message belonging to one of the multiple second language types is sent in each second conversation group.
示例性的,以消息发送装置为手机为例。假设第一类型为中文。当应用A的会话群组1中接收到一段文字消息(即第一消息)时,由于可以确定与该会话群组1关联的会话群组2和会话群组3,因此当该会话群组2中的历史聊天消息的语言类型为英文时,可以将这段文字消息从中文转换为英文,从而可以将向该会话群组2发送转换为英文类型的第二消息,并向会话群组3发送中文类型的第二消息。Exemplarily, the message sending device is a mobile phone as an example. Assume that the first type is Chinese. When a text message (i.e. the first message) is received in the conversation group 1 of application A, since the conversation group 2 and the conversation group 3 associated with the conversation group 1 can be determined, when the conversation group 2 When the language type of the historical chat messages in is English, this text message can be converted from Chinese to English, so that the second message converted into English can be sent to the conversation group 2 and sent to the conversation group 3 Second message in Chinese type.
本申请实施例提供的消息发送方法,在第一消息的语言类型为第一语言类型的情况下,在第二会话群组对应的语言类型为第二语言类型的情况下,可以将该第一消息的语言类型从第一语言类型转换为第二语言类型,以得到第二消息,从而可以在第二会话群组中发送属于第二语言类型的第二消息。如此,使得第二会话群组中的群成员能够更快地知晓第一消息的消息内容,便于来自于不同群组、使用不同语言的群成员之间更顺畅地交流沟通。In the message sending method provided by the embodiment of the present application, when the language type of the first message is the first language type, and when the language type corresponding to the second conversation group is the second language type, the first message can be The language type of the message is converted from the first language type to the second language type to obtain the second message, so that the second message belonging to the second language type can be sent in the second conversation group. In this way, the group members in the second conversation group can learn the message content of the first message faster, which facilitates smoother communication between group members from different groups and using different languages.
需要说明的是,本申请实施例提供的消息发送方法,执行主体可以为消息发送装置(例如,该消息发送装置为电子设备或电子设备上的外接设备),或者该消息发送装置中的用于执行消息发送方法的控制模块。本申请实施例中以消息发送装置执行消息发送方法为例,说明本申请实施例提供的消息发送装置。It should be noted that, for the message sending method provided in the embodiment of the present application, the execution subject may be a message sending device (for example, the message sending device is an electronic device or an external device on the electronic device), or the message sending device used in the message sending device A control module that executes the message sending method. In the embodiment of the present application, the method for sending a message performed by the message sending device is taken as an example to illustrate the message sending device provided in the embodiment of the present application.
如图2所示,本申请实施例提供一种消息发送装置200,该消息发送装置包括确定模块201和发送模块202。确定模块201,可以用于在第一会话群组接收到第一消息的情况下,确定与该第一会话群组关联的第二会话群组。发送模块202,可以用于通过目标群成员在确定模块确定的该第二会话群组中发送第二消息,该第二消息与该第一消息相关联;其中,该第一会话群组和该第二会话群组中均包括该目标群成员,该目标群成员为在电子设备上登录的账户对应的群成员。As shown in FIG. 2 , this embodiment of the present application provides a message sending device 200 , and the message sending device includes a determining module 201 and a sending module 202 . The determining module 201 may be configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message. The sending module 202 may be configured to send a second message in the second conversation group determined by the determination module through members of the target group, and the second message is associated with the first message; wherein, the first conversation group and the The second conversation group all includes the target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
可选的,消息发送装置还包括获取模块。获取模块,可以用于获取发送第一消息的第一群成员。发送模块,具体可以用于在第二会话群组的群成员中包括获取模块获取的该第一群成员的情况下,通过目标群成员在该第二会话群组中发送第二消息,该第二消息用于提醒该第一群成员在该第二会话群组中发送与该第一消息对应的消息;或者,在该第二会话群组的群成员中不包括获取模块获取的该第一群成员的情况下,通过目标群成员在该第二会话群组中发送第二消息,该第二消息与该第一消息对应。Optionally, the message sending device further includes an acquiring module. The obtaining module can be used to obtain the first group member who sends the first message. The sending module may be specifically configured to send a second message in the second conversation group through the target group member when the group members of the second conversation group include the first group member acquired by the acquisition module, the first The second message is used to remind the first group member to send a message corresponding to the first message in the second conversation group; or, the group members of the second conversation group do not include the first message acquired by the acquisition module In the case of a group member, a second message is sent in the second conversation group by the target group member, and the second message corresponds to the first message.
可选的,消息发送装置还可以包括获取模块。获取模块,可以用于获取第一会话群组与第二会话群组中均包括的群成员集合,其中,该群成员集合中的群成员均具备转发群消息的权限。发送模块,可以具体用于在目标群成员处于该群成员集合中的情况下,通过该目标群成员在该第二会话群组中发送第二消息。Optionally, the message sending device may also include an acquiring module. The obtaining module may be used to obtain a group member set included in both the first conversation group and the second conversation group, wherein the group members in the group member set all have the authority to forward group messages. The sending module may be specifically configured to send the second message in the second conversation group through the target group member when the target group member is in the group member set.
可选的,消息发送装置还可以包括处理模块。处理模块,可以用于在第一会话群组和第二会话群组满足预设条件的情况下,关联该第一会话群组和该一个第二会话群组。其中,预设条件包括以下任意一项:接收到对第一会话群组和第二会话群组的第一输入;第一会话群组和第二会话群组中均包括的群成员的数量大于或等于第一预设阈值;第一会话群组的名称和第二会话群组的名称包括相同的关键词;第一会话群组的创建时间与第二会话群 组的创建时间的时间差小于或等于第二预设阈值;第一会话群组和第二会话群组中包括相同的聊天主题。Optionally, the message sending device may further include a processing module. The processing module may be configured to associate the first conversation group with the second conversation group when the first conversation group and the second conversation group meet a preset condition. Wherein, the preset condition includes any of the following: the first input to the first conversation group and the second conversation group is received; the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold; the name of the first conversation group and the name of the second conversation group include the same keyword; the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold; the first conversation group and the second conversation group include the same chat topic.
可选的,第一消息的语言类型为第一语言类型。消息发送装置还可以包括处理模块。处理模块,可以用于在第二会话群组对应的语言类型为第二语言类型的情况下,将该第一消息的语言类型从该第一语言类型转换为第二语言类型,以得到第二消息。Optionally, the language type of the first message is the first language type. The message sending device may also include a processing module. The processing module may be configured to convert the language type of the first message from the first language type to the second language type when the language type corresponding to the second conversation group is the second language type, so as to obtain the second language type. information.
可选的,第二消息还包括第一群成员的账户信息,该第一群成员为触发发送第一消息的群成员。消息发送装置还可以包括获取模块和处理模块。获取模块,可以用于获取该第一消息和该第一群成员的账户信息。处理模块,可以用于打包获取模块获取的该第一消息和该第一群成员的账户信息,得到该第二消息。Optionally, the second message further includes account information of the first group member, and the first group member is the group member who triggers sending the first message. The message sending device may also include an acquisition module and a processing module. The obtaining module can be used to obtain the first message and the account information of the first group members. The processing module may be configured to package the first message obtained by the obtaining module and the account information of the first group member to obtain the second message.
可选的,确定模块,还可以用于根据目标信息,确定第二语言类型;其中,该目标信息包括以下任一项:第二会话群组中的历史聊天消息的语言类型,第二会话群组中群成员的身份信息。Optionally, the determining module can also be used to determine the second language type according to the target information; wherein, the target information includes any of the following: the language type of the historical chat messages in the second conversation group, the language type of the second conversation group The identity information of the group members in the group.
本申请实施例提供一种消息发送装置,在一个会话群组接收到聊天消息之后,由于可以确定与该一个会话群组关联的至少一个会话群组,因此可以通过该一个会话群组和至少一个会话群组均包括的群成员,自动向该至少一个会话群组发送与该聊天消息相关联的消息,从而无需用户频繁触发电子设备从该一个会话群组中复制该聊天消息并切换至该另一个会话群组的会话界面以在该另一个会话群组的会话界面中粘贴并发送该聊天信息,即简化了电子设备转发会话群组中的聊天信息的操作,且提高了转发会话群组中的聊天消息的效率。An embodiment of the present application provides a message sending device. After a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, it can pass the conversation group and at least one The group members included in the conversation groups automatically send the message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the other conversation group. The conversation interface of a conversation group can paste and send the chat information in the conversation interface of another conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the forwarding of the chat information in the conversation group. efficiency of chat messages.
本申请实施例中的消息发送装置可以是装置,也可以是终端中的部件、集成电路、或芯片。该装置可以是移动电子设备,也可以为非移动电子设备。示例性的,移动电子设备可以为手机、平板电脑、笔记本电脑、掌上电脑、车载电子设备、可穿戴设备、超级移动个人计算机(ultra-mobile personal computer,UMPC)、上网本或者个人数字助理(personal digital assistant,PDA)等,非移动电子设备可以为服务器、网络附属存储器(network attached storage,NAS)、个人计算机(personal computer,PC)、电视机(television,TV)、柜员机或者自助机等,本申请实施例不作具体限定。The message sending device 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. Exemplarily, 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). assistant, PDA), etc., 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.
本申请实施例中的消息发送装置可以为具有操作系统的装置。该操作系统可以为安卓(Android)操作系统,可以为ios操作系统,还可以为其他可能的操作系统,本申请实施例不作具体限定。The message sending device 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.
本申请实施例提供的消息发送装置能够实现图1的方法实施例实现的各个过程,为避免重复,这里不再赘述。The message sending device provided in the embodiment of the present application can realize various processes realized in the method embodiment in FIG. 1 , and details are not repeated here to avoid repetition.
可选的,如图3所示,本申请实施例还提供一种电子设备300,包括处理器301,存储器302,存储在存储器302上并可在所述处理器301上运行的程序或指令,该程序或指令被处理器301执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。Optionally, as shown in FIG. 3 , the embodiment of the present application further provides an electronic device 300, including a processor 301, a memory 302, and programs or instructions stored in the memory 302 and operable on the processor 301, When the program or instruction is executed by the processor 301, the various processes of the above-mentioned message sending method embodiment can be achieved, and the same technical effect can be achieved. To avoid repetition, details are not repeated here.
需要注意的是,本申请实施例中的电子设备包括上述的移动电子设备和非移动电子设备。It should be noted that the electronic devices in the embodiments of the present application include the above-mentioned mobile electronic devices and non-mobile electronic devices.
图4为实现本申请实施例的一种电子设备的硬件结构示意图。FIG. 4 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
该电子设备400包括但不限于:射频单元401、网络模块402、音频输出单元403、输 入单元404、传感器405、显示单元406、用户输入单元407、接口单元408、存储器409、以及处理器410等部件。The electronic device 400 includes but is not limited to: a radio frequency unit 401, a network module 402, an audio output unit 403, an input unit 404, a sensor 405, a display unit 406, a user input unit 407, an interface unit 408, a memory 409, and a processor 410, etc. part.
本领域技术人员可以理解,电子设备400还可以包括给各个部件供电的电源(比如电池),电源可以通过电源管理系统与处理器410逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。图4中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置,在此不再赘述。Those skilled in the art can understand that the electronic device 400 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 410 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. The structure of the electronic device shown in FIG. 4 does not constitute a limitation to the electronic device, and the electronic device may include more or fewer components than shown in the figure, or combine some components, or arrange different components, which will not be repeated here. .
其中,处理器410,可以用于在第一会话群组接收到第一消息的情况下,确定与该第一会话群组关联的第二会话群组。射频单元401,可以用于通过目标群成员在该第二会话群组中发送第二消息,该第二消息与该第一消息相关联;其中,该第一会话群组和该第二会话群组中均包括该目标群成员,该目标群成员为在电子设备上登录的账户对应的群成员。Wherein, the processor 410 may be configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message. The radio frequency unit 401 may be configured to send a second message in the second conversation group through members of the target group, and the second message is associated with the first message; wherein, the first conversation group and the second conversation group Each group includes the target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
可选的,处理器410,用于获取发送第一消息的第一群成员。射频单元401,具体用于在第二会话群组的群成员中包括该第一群成员的情况下,通过目标群成员在该第二会话群组中发送第二消息,该第二消息用于提醒该第一群成员在该第二会话群组中发送与该第一消息对应的消息;或者,在该第二会话群组的群成员中不包括该第一群成员的情况下,通过目标群成员在该第二会话群组中发送第二消息,该第二消息与该第一消息对应。Optionally, the processor 410 is configured to acquire the first group member who sent the first message. The radio frequency unit 401 is specifically configured to, when the group members of the second conversation group include the first group member, send a second message in the second conversation group through the target group member, and the second message is used for Reminding the first group member to send a message corresponding to the first message in the second conversation group; or, in the case that the first group member is not included in the group members of the second conversation group, through the target A group member sends a second message in the second conversation group, and the second message corresponds to the first message.
可选的,电子设备上登录的账户对应的群成员为第二群成员。处理器410,用于获取第一会话群组与该第二会话群组中均包括的群成员集合,其中,该群成员集合中的群成员均具备转发群消息的权限。射频单元401,用于在目标群成员处于该群成员集合中的情况下,通过该目标群成员在该第二会话群组中发送第二消息。Optionally, the group members corresponding to the accounts logged in on the electronic device are the second group members. The processor 410 is configured to obtain a group member set included in both the first conversation group and the second conversation group, wherein all the group members in the group member set have the right to forward group messages. The radio frequency unit 401 is configured to send a second message in the second conversation group through the target group member when the target group member is in the group member set.
可选的,处理器410,还可以用于在第一会话群组和第二会话群组满足预设条件的情况下,关联该第一会话群组和该一个第二会话群组。其中,预设条件包括以下任意一项:接收到对第一会话群组和第二会话群组的第一输入;第一会话群组和第二会话群组中均包括的群成员的数量大于或等于第一预设阈值;第一会话群组的名称和第二会话群组的名称包括相同的关键词;第一会话群组的创建时间与第二会话群组的创建时间的时间差小于或等于第二预设阈值;第一会话群组和第二会话群组中包括相同的聊天主题。Optionally, the processor 410 may also be configured to associate the first conversation group with the second conversation group when the first conversation group and the second conversation group meet a preset condition. Wherein, the preset condition includes any of the following: the first input to the first conversation group and the second conversation group is received; the number of group members included in both the first conversation group and the second conversation group is greater than or equal to the first preset threshold; the name of the first conversation group and the name of the second conversation group include the same keyword; the time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to the second preset threshold; the first conversation group and the second conversation group include the same chat topic.
可选的,第一消息的语言类型为第一语言类型。处理器410,还可以用于在第二会话群组对应的语言类型为第二语言类型的情况下,将该第一消息的语言类型从该第一语言类型转换为第二语言类型,以得到第二消息。Optionally, the language type of the first message is the first language type. The processor 410 may also be configured to convert the language type of the first message from the first language type to the second language type when the language type corresponding to the second conversation group is the second language type, so as to obtain Second message.
可选的,第二消息还包括第一群成员的账户信息,该第一群成员为触发发送第一消息的群成员。处理器410,还可以用于获取该第一消息和该第一群成员的账户信息;并打包该第一消息和该第一群成员的账户信息,得到该第二消息。Optionally, the second message further includes account information of the first group member, and the first group member is the group member who triggers sending the first message. The processor 410 may also be configured to obtain the first message and account information of the first group members; and package the first message and the account information of the first group members to obtain the second message.
可选的,处理器410,还可以用于根据目标信息,确定第二语言类型;其中,该目标信息包括以下任一项:第二会话群组中的历史聊天消息的语言类型,第二会话群组中群成员的身份信息。Optionally, the processor 410 may also be configured to determine the second language type according to the target information; wherein the target information includes any of the following: the language type of the historical chat messages in the second conversation group, the language type of the second conversation group Identity information of group members in the group.
本申请实施例提供一种电子设备,在一个会话群组接收到聊天消息之后,由于可以确定与该一个会话群组关联的至少一个会话群组,因此可以通过该一个会话群组和至少一个会话群组均包括的群成员,自动向该至少一个会话群组发送与该聊天消息相关联的消息, 从而无需用户频繁触发电子设备从该一个会话群组中复制该聊天消息并切换至该另一个会话群组的会话界面以在该另一个会话群组的会话界面中粘贴并发送该聊天信息,即简化了电子设备转发会话群组中的聊天信息的操作,且提高了转发会话群组中的聊天消息的效率。An embodiment of the present application provides an electronic device. After a conversation group receives a chat message, since at least one conversation group associated with the conversation group can be determined, the conversation group and at least one conversation group can The group members included in the group automatically send the message associated with the chat message to the at least one conversation group, so that the user does not need to frequently trigger the electronic device to copy the chat message from the one conversation group and switch to the other The conversation interface of the conversation group can paste and send the chat information in the conversation interface of another conversation group, which simplifies the operation of the electronic device forwarding the chat information in the conversation group, and improves the efficiency of forwarding the chat information in the conversation group. Efficiency of chat messages.
应理解的是,本申请实施例中,输入单元404可以包括图形处理器(graphics processing unit,GPU)4041和麦克风4042,图形处理器4041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。显示单元406可包括显示面板4061,可以采用液晶显示器、有机发光二极管等形式来配置显示面板4061。用户输入单元407包括触控面板4071以及其他输入设备4072。触控面板4071,也称为触摸屏。触控面板4071可包括触摸检测装置和触摸控制器两个部分。其他输入设备4072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。存储器409可用于存储软件程序以及各种数据,包括但不限于应用程序和操作系统。处理器410可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器410中。It should be understood that, in this embodiment of the present application, the input unit 404 may include a graphics processing unit (graphics processing unit, GPU) 4041 and a microphone 4042, and the graphics processing unit 4041 is compatible with the image capturing device ( Such as the image data of the still picture or video obtained by the camera) for processing. The display unit 406 may include a display panel 4061, and the display panel 4061 may be configured in the form of a liquid crystal display, an organic light emitting diode, or the like. The user input unit 407 includes a touch panel 4071 and other input devices 4072 . The touch panel 4071 is also called a touch screen. The touch panel 4071 may include two parts, a touch detection device and a touch controller. Other input devices 4072 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 409 may be used to store software programs as well as various data, including but not limited to application programs and operating systems. The processor 410 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 410 .
本申请实施例还提供一种可读存储介质,该可读存储介质上存储有程序或指令,该程序或指令被处理器执行时实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。The embodiment of the present application also provides a readable storage medium, on which a program or instruction is stored, and when the program or instruction is executed by a processor, each process of the above message sending method embodiment is realized, and the same Technical effects, in order to avoid repetition, will not be repeated here.
其中,处理器为上述实施例中电子设备中的处理器。可读存储介质,包括计算机可读存储介质,如计算机只读存储器(read-only memory,ROM)、随机存取存储器(random access memory,RAM)、磁碟或者光盘等。Wherein, the processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer readable storage medium, such as a computer read-only memory (read-only memory, ROM), a random access memory (random access memory, RAM), a magnetic disk or an optical disk, and the like.
本申请实施例另提供了一种芯片,该芯片包括处理器和通信接口,通信接口和处理器耦合,处理器用于运行程序或指令,实现上述消息发送方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。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 realize the various processes of the above message sending method embodiment, and can achieve the same To avoid repetition, the technical effects will not be repeated here.
应理解,本申请实施例提到的芯片还可以称为系统级芯片、系统芯片、芯片系统或片上系统芯片等。It should be understood that the 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.
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。此外,需要指出的是,本申请实施方式中的方法和装置的范围不限按示出或讨论的顺序来执行功能,还可包括根据所涉及的功能按基本同时的方式或按相反的顺序来执行功能,例如,可以按不同于所描述的次序来执行所描述的方法,并且还可以添加、省去、或组合各种步骤。另外,参照某些示例所描述的特征可在其他示例中被组合。It should be noted that, in this document, 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. In addition, it should be pointed out that 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.
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如 ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例中的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on such an understanding, the technical solution of the present application can be embodied in the form of a software product in essence or the part that contributes to the prior art, and the computer software product is stored in a storage medium (such as ROM/RAM, disk, CD) contains several instructions to make a terminal (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) execute the methods in various embodiments of the present application.
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。The embodiments of the present application have been described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementations. The above-mentioned specific implementations are only illustrative and not restrictive. Those of ordinary skill in the art will Under the inspiration of this application, without departing from the purpose of this application and the scope of protection of the claims, many forms can also be made, all of which belong to the protection of this application.

Claims (15)

  1. 一种消息发送方法,所述方法包括:A message sending method, the method comprising:
    在第一会话群组接收到第一消息的情况下,确定与所述第一会话群组关联的第二会话群组;determining a second conversation group associated with the first conversation group in a case where the first conversation group receives the first message;
    通过目标群成员在所述第二会话群组中发送第二消息,所述第二消息与所述第一消息相关联;sending a second message in the second conversation group by members of the target group, the second message being associated with the first message;
    其中,所述第一会话群组和所述第二会话群组中均包括所述目标群成员,所述目标群成员为在电子设备上登录的账户对应的群成员。Wherein, both the first conversation group and the second conversation group include the target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
  2. 根据权利要求1所述的方法,其中,所述通过目标群成员在所述第二会话群组中发送第二消息之前,所述方法还包括:The method according to claim 1, wherein, before sending the second message in the second conversation group by the members of the target group, the method further comprises:
    获取发送所述第一消息的第一群成员;obtaining the first group member who sent the first message;
    所述通过目标群成员在所述第二会话群组中发送第二消息,包括:The sending the second message in the second conversation group through the members of the target group includes:
    在所述第二会话群组的群成员中包括所述第一群成员的情况下,通过目标群成员在所述第二会话群组中发送第二消息,所述第二消息用于提醒所述第一群成员在所述第二会话群组中发送与所述第一消息对应的消息;In the case that the group members of the second conversation group include the first group member, sending a second message in the second conversation group through the target group member, the second message is used to remind all The first group member sends a message corresponding to the first message in the second conversation group;
    或者,在所述第二会话群组的群成员中不包括所述第一群成员的情况下,通过目标群成员在所述第二会话群组中发送第二消息,所述第二消息与所述第一消息对应。Or, in the case that the group members of the second conversation group do not include the first group member, the second message is sent in the second conversation group through the target group member, and the second message is related to The first message corresponds to.
  3. 根据权利要求1或2所述的方法,其中,所述确定与所述第一会话群组关联的第二会话群组之后,所述在所述第二会话群组中发送第二消息之前,所述方法还包括:The method according to claim 1 or 2, wherein after said determining a second conversation group associated with said first conversation group, before said sending a second message in said second conversation group, The method also includes:
    获取所述第一会话群组与所述第二会话群组中均包括的群成员集合,其中,所述群成员集合中的群成员均具备转发群消息的权限;Obtaining a group member set included in both the first conversation group and the second conversation group, wherein all group members in the group member set have the authority to forward group messages;
    所述通过目标群成员在第二会话群组中发送第二消息,包括:The sending the second message in the second conversation group through the members of the target group includes:
    在所述目标群成员处于所述群成员集合中的情况下,通过所述目标群成员在所述第二会话群组中发送第二消息。If the target group member is in the group member set, sending a second message in the second conversation group by the target group member.
  4. 根据权利要求1所述的方法,其中,所述确定与所述第一会话群组关联的第二会话群组之前,所述方法还包括:The method according to claim 1, wherein, before determining the second conversation group associated with the first conversation group, the method further comprises:
    在所述第一会话群组和所述第二会话群组满足预设条件的情况下,关联所述第一会话群组和所述第二会话群组;When the first conversation group and the second conversation group meet a preset condition, associate the first conversation group with the second conversation group;
    其中,所述预设条件包括以下任意一项:Wherein, the preset conditions include any of the following:
    接收到对所述第一会话群组和所述第二会话群组的第一输入;receiving a first input to the first conversation group and the second conversation group;
    所述第一会话群组和所述第二会话群组中均包括的群成员的数量大于或等于第一预设阈值;The number of group members included in both the first conversation group and the second conversation group is greater than or equal to a first preset threshold;
    所述第一会话群组的名称和所述第二会话群组的名称包括相同的关键词;The name of the first conversation group and the name of the second conversation group include the same keyword;
    所述第一会话群组的创建时间与所述第二会话群组的创建时间的时间差小于或等于第二预设阈值;The time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to a second preset threshold;
    所述第一会话群组和所述第二会话群组中包括相同的聊天主题。The first conversation group and the second conversation group include the same chat topic.
  5. 根据权利要求1所述的方法,其中,所述第一消息的语言类型为第一语言类型;The method according to claim 1, wherein the language type of the first message is a first language type;
    所述通过目标群成员在所述第二会话群组中发送第二消息之前,所述方法还包括:Before sending the second message in the second conversation group by the members of the target group, the method further includes:
    在所述第二会话群组对应的语言类型为第二语言类型的情况下,将所述第一消息的语言类型从所述第一语言类型转换为第二语言类型,以得到第二消息。If the language type corresponding to the second conversation group is the second language type, converting the language type of the first message from the first language type to the second language type to obtain a second message.
  6. 一种消息发送装置,所述消息发送装置包括确定模块和发送模块;A message sending device, the message sending device comprising a determination module and a sending module;
    所述确定模块,用于在第一会话群组接收到第一消息的情况下,确定与所述第一会话群组关联的第二会话群组;The determining module is configured to determine a second conversation group associated with the first conversation group when the first conversation group receives the first message;
    所述发送模块,用于通过目标群成员在所述确定模块确定的所述第二会话群组中发送第二消息,所述第二消息与所述第一消息相关联;The sending module is configured to send a second message in the second conversation group determined by the determining module through target group members, the second message is associated with the first message;
    其中,所述第一会话群组和所述第二会话群组中均包括所述目标群成员,所述目标群成员为在电子设备上登录的账户对应的群成员。Wherein, both the first conversation group and the second conversation group include the target group member, and the target group member is a group member corresponding to an account logged in on the electronic device.
  7. 根据权利要求6所述的装置,其中,所述消息发送装置还包括获取模块;The device according to claim 6, wherein the message sending device further comprises an acquisition module;
    所述获取模块,用于获取发送所述第一消息的第一群成员;The acquiring module is configured to acquire the first group member who sent the first message;
    所述发送模块,具体用于在所述第二会话群组的群成员中包括所述获取模块获取的所述第一群成员的情况下,通过目标群成员在所述第二会话群组中发送第二消息,所述第二消息用于提醒所述第一群成员在所述第二会话群组中发送与所述第一消息对应的消息;The sending module is specifically configured to, when the group members of the second conversation group include the first group member obtained by the acquisition module, through the target group member in the second conversation group sending a second message, the second message is used to remind the members of the first group to send a message corresponding to the first message in the second conversation group;
    或者,在所述第二会话群组的群成员中不包括所述获取模块获取的所述第一群成员的情况下,通过目标群成员在所述第二会话群组中发送第二消息,所述第二消息与所述第一消息对应。Or, when the group members of the second conversation group do not include the first group member acquired by the acquiring module, sending the second message in the second conversation group through the target group member, The second message corresponds to the first message.
  8. 根据权利要求6所述的装置,其中,所述消息发送装置还包括获取模块;The device according to claim 6, wherein the message sending device further comprises an acquisition module;
    所述获取模块,用于获取所述第一会话群组与所述第二会话群组中均包括的群成员集合,其中,所述群成员集合中的群成员均具备转发群消息的权限;The obtaining module is configured to obtain a group member set included in both the first conversation group and the second conversation group, wherein all group members in the group member set have the authority to forward group messages;
    所述发送模块,具体用于在所述目标群成员处于所述群成员集合中的情况下,通过所述目标群成员在所述第二会话群组中发送第二消息。The sending module is specifically configured to send a second message in the second conversation group through the target group member when the target group member is in the group member set.
  9. 根据权利要求6所述的装置,其中,所述消息发送装置还包括处理模块;The device according to claim 6, wherein the message sending device further comprises a processing module;
    所述处理模块,用于在所述第一会话群组和所述第二会话群组满足预设条件的情况下,关联所述第一会话群组和所述第二会话群组;The processing module is configured to associate the first conversation group with the second conversation group when the first conversation group and the second conversation group meet preset conditions;
    其中,所述预设条件包括以下任意一项:Wherein, the preset conditions include any of the following:
    接收到对所述第一会话群组和所述第二会话群组的第一输入;receiving a first input to the first conversation group and the second conversation group;
    所述第一会话群组和所述第二会话群组中均包括的群成员的数量大于或等于第一预设阈值;The number of group members included in both the first conversation group and the second conversation group is greater than or equal to a first preset threshold;
    所述第一会话群组的名称和所述第二会话群组的名称包括相同的关键词;The name of the first conversation group and the name of the second conversation group include the same keyword;
    所述第一会话群组的创建时间与所述第二会话群组的创建时间的时间差小于或等于第二预设阈值;The time difference between the creation time of the first conversation group and the creation time of the second conversation group is less than or equal to a second preset threshold;
    所述第一会话群组和所述第二会话群组中包括相同的聊天主题。The first conversation group and the second conversation group include the same chat topic.
  10. 根据权利要求6所述的装置,其中,所述第一消息的语言类型为第一语言类型;所述消息发送装置还包括处理模块;The device according to claim 6, wherein the language type of the first message is the first language type; the message sending device further includes a processing module;
    所述处理模块,用于在所述第二会话群组对应的语言类型为第二语言类型的情况下,将所述第一消息的语言类型从所述第一语言类型转换为所述第二语言类型,以得到第二消息。The processing module is configured to convert the language type of the first message from the first language type to the second language type when the language type corresponding to the second conversation group is the second language type language type to get the second message.
  11. 一种电子设备,包括处理器,存储器及存储在所述存储器上并可在所述处理器上运行的程序或指令,所述程序或指令被所述处理器执行时实现如权利要求1-5中任一项所述的消息发送方法的步骤。An electronic device, comprising a processor, a memory, and a program or instruction stored on the memory and operable on the processor, when the program or instruction is executed by the processor, claims 1-5 are realized The steps of any one of the message sending methods.
  12. 一种可读存储介质,所述可读存储介质上存储程序或指令,所述程序或指令被处理器执行时实现如权利要求1-5中任一项所述的消息发送方法的步骤。A readable storage medium, storing programs or instructions on the readable storage medium, and implementing the steps of the message sending method according to any one of claims 1-5 when the programs or instructions are executed by a processor.
  13. 一种芯片,所述芯片包括处理器和通信接口,所述通信接口和所述处理器耦合,所述处理器用于运行程序或指令,实现如权利要求1-5中任一项所述的消息发送方法。A chip, the chip includes a processor and a communication interface, the communication interface is coupled to the processor, the processor is used to run programs or instructions, and realize the message as described in any one of claims 1-5 sending method.
  14. 一种计算机程序产品,所述程序产品被至少一个处理器执行以实现如权利要求1-5中任一项所述的消息发送方法。A computer program product, the program product is executed by at least one processor to implement the message sending method according to any one of claims 1-5.
  15. 一种电子设备,包括所述电子设备被配置成用于执行如权利要求1-5中任一项所述的消息发送方法。An electronic device, comprising that the electronic device is configured to execute the message sending method according to any one of claims 1-5.
PCT/CN2022/109742 2021-08-05 2022-08-02 Message sending method and apparatus, and electronic device WO2023011483A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110898482.7A CN113794575A (en) 2021-08-05 2021-08-05 Message sending method and device and electronic equipment
CN202110898482.7 2021-08-05

Publications (1)

Publication Number Publication Date
WO2023011483A1 true WO2023011483A1 (en) 2023-02-09

Family

ID=78877208

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/109742 WO2023011483A1 (en) 2021-08-05 2022-08-02 Message sending method and apparatus, and electronic device

Country Status (2)

Country Link
CN (1) CN113794575A (en)
WO (1) WO2023011483A1 (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113794575A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 Message sending method and device and electronic equipment

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106453066A (en) * 2016-12-09 2017-02-22 腾讯科技(深圳)有限公司 Group session processing method and system, terminal and server
US20190327195A1 (en) * 2016-02-23 2019-10-24 Hyung Chul LIM Message transmission blocking method
CN113014472A (en) * 2021-01-27 2021-06-22 腾讯科技(深圳)有限公司 Information processing method and device based on group alliance and computer equipment
CN113111255A (en) * 2021-03-25 2021-07-13 卓尔智联(武汉)研究院有限公司 User group division method and device, electronic equipment and computer storage medium
CN113794575A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 Message sending method and device and electronic equipment

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102196014B (en) * 2010-03-18 2014-04-09 腾讯科技(深圳)有限公司 Method and system of multi-group operation synchronization
CN106034062B (en) * 2015-03-11 2019-08-06 腾讯科技(深圳)有限公司 Management method, server and the terminal of group message
CN105530165B (en) * 2015-12-08 2019-07-02 小米科技有限责任公司 Method and device for instant chat
US9681099B1 (en) * 2016-06-28 2017-06-13 Facebook, Inc. Multiplex live group communication
CN110582998A (en) * 2017-10-24 2019-12-17 深圳市欢太科技有限公司 Group communication method and device, computer storage medium and computer equipment

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20190327195A1 (en) * 2016-02-23 2019-10-24 Hyung Chul LIM Message transmission blocking method
CN106453066A (en) * 2016-12-09 2017-02-22 腾讯科技(深圳)有限公司 Group session processing method and system, terminal and server
CN113014472A (en) * 2021-01-27 2021-06-22 腾讯科技(深圳)有限公司 Information processing method and device based on group alliance and computer equipment
CN113111255A (en) * 2021-03-25 2021-07-13 卓尔智联(武汉)研究院有限公司 User group division method and device, electronic equipment and computer storage medium
CN113794575A (en) * 2021-08-05 2021-12-14 维沃移动通信有限公司 Message sending method and device and electronic equipment

Also Published As

Publication number Publication date
CN113794575A (en) 2021-12-14

Similar Documents

Publication Publication Date Title
US11025963B2 (en) Data processing method, apparatus, and system for live streaming page
US11044219B2 (en) Message forwarding method and electronic device
CN108306810B (en) Group building method, server and terminal
US10791074B2 (en) Information pushing method, apparatus, and system, and computer storage medium
WO2022089568A1 (en) File sharing method and apparatus, and electronic device
WO2022001898A1 (en) Message sending method, message sending apparatus, and electronic device
WO2021110053A1 (en) File sending method and terminal device
WO2022247864A1 (en) Message reminding method and apparatus, and electronic device
CN112003781B (en) Chat message sending method and device and electronic equipment
CN113037924B (en) Voice transmission method, device, electronic equipment and readable storage medium
WO2022135295A1 (en) Sending method and apparatus, and electronic device
WO2023040845A1 (en) Message transmission method and apparatus, and electronic device
WO2022161431A1 (en) Display method, apparatus, and electronic device
WO2022127766A1 (en) Information sending method and apparatus, electronic device and readable storage medium
WO2022242745A1 (en) Display method, display apparatus, related device, and readable storage medium
WO2022135323A1 (en) Image generation method and apparatus, and electronic device
WO2023030130A1 (en) Session processing method and apparatus, and electronic device
WO2023061343A1 (en) Session creation method and apparatus, and electronic device
WO2023024970A1 (en) Information processing method, related device, and readable storage medium
WO2023072150A1 (en) Recalled message display method and apparatus, electronic device, and storage medium
CN103279272A (en) Method and device for starting application program in electronic device
WO2023011483A1 (en) Message sending method and apparatus, and electronic device
WO2022206651A1 (en) Instant communication method and apparatus, electronic device, and storage medium
WO2022089481A1 (en) Information processing method and apparatus, and electronic device
US20240089223A1 (en) Information display method and apparatus, and electronic device

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: 22852195

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE