Message sending method, device and electronic device

By replacing the target user's identity information in the instant messaging software, the problem of user identity information leakage is solved and privacy protection is achieved.

CN116095034BActive Publication Date: 2025-09-26VIVO MOBILE COMM CO LTD
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202310070587.2
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-01-31
Publication Date
2025-09-26
Estimated Expiration
2043-01-31

AI Technical Summary

Technical Problem

In instant messaging software, user identity information is easily leaked when forwarding conversation messages, leading to privacy risks.

Method used

By receiving the forwarding operation of the user, the identity information of the target user is replaced, a conversation message without real identity information is generated, and it is sent to the receiving user.

Benefits of technology

It effectively avoids the leakage of target users' identity information and protects user privacy.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116095034B_ABST
    Figure CN116095034B_ABST
Patent Text Reader

Abstract

This application discloses a message sending method, apparatus, and electronic device, belonging to the technical field of electronic devices. The message sending method comprises: receiving a forwarding operation of a first conversation message from a first user; in response to the forwarding operation, replacing the identity information of a target user to obtain a second conversation message, wherein the target user includes at least some users associated with the first conversation message; and sending the second conversation message to a second user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the technical field of electronic equipment, and specifically relates to a message sending method, device and electronic equipment. Background Art

[0002] With the rise of mobile internet devices, instant messaging software has become widely used. Many users need to forward received and / or sent conversation messages to others. However, forwarding conversation messages also discloses user profile pictures, names, and other identifying information (e.g., the sender of the conversation message, users mentioned in the conversation message, etc.), which can easily lead to the leakage of these users' identity information. Summary of the Invention

[0003] The purpose of the embodiments of the present application is to provide a message sending method, device and electronic device that can solve the problem of user identity information leakage.

[0004] In a first aspect, an embodiment of the present application provides a message sending method, including:

[0005] receiving a forwarding operation of the first conversation message from the first user;

[0006] In response to the forwarding operation, the identity information of the target user is replaced to obtain a second conversation message, wherein the target user includes at least part of the users associated with the first conversation message;

[0007] Sending a second conversation message to the second user.

[0008] In a second aspect, an embodiment of the present application provides a message sending device, including:

[0009] A receiving module, configured to receive a forwarding operation of the first conversation message from the first user;

[0010] a replacement module, configured to replace the identity information of a target user in response to the forwarding operation to obtain a second conversation message, wherein the target user includes at least part of the users associated with the first conversation message;

[0011] The sending module is used to send the second conversation message to the second user.

[0012] In a third aspect, an embodiment of the present application provides an electronic device comprising a processor and a memory, wherein the memory stores programs or instructions that can be run on the processor, and when the programs or instructions are executed by the processor, the steps of the method described in the first aspect are implemented.

[0013] In a fourth aspect, an embodiment of the present application provides a readable storage medium, which stores a program or instruction. When the program or instruction is executed by a processor, the steps of the method described in the first aspect are implemented.

[0014] In a fifth aspect, an embodiment of the present application provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the steps of the method described in the first aspect.

[0015] In a sixth aspect, an embodiment of the present application provides a computer program product, which is stored in a storage medium and is executed by at least one processor to implement the method described in the first aspect.

[0016] In an embodiment of the present application, an electronic device receives a forwarding operation of a first conversation message from a first user; in response to the forwarding operation, replaces the identity information of the target user to obtain a second conversation message, where the target user includes at least some of the users associated with the first conversation message; and then sends the second conversation message to a second user. Because the identity information of the target user is replaced, the second user cannot obtain the identity information of the target user from the received second conversation message, thereby preventing the disclosure of the target user's identity information. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 This is a flow chart of a message sending method provided in an embodiment of the present application;

[0018] Figure 2 2 is a comparative diagram of the identity information before and after replacement provided in the embodiment of the present application;

[0019] Figure 3 This is a schematic diagram of the structure of the message sending device provided in an embodiment of the present application;

[0020] Figure 4 is a structural diagram of an electronic device provided in an embodiment of the present application;

[0021] Figure 5 Schematic diagram of the hardware structure of the electronic device implementing the embodiment of the present application. DETAILED DESCRIPTION

[0022] The following will be combined with the accompanying drawings in the embodiments of the present application to clearly describe the technical solutions in the embodiments of the present application. Obviously, the embodiments described are part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field are within the scope of protection of this application.

[0023] The terms "first," "second," and the like in the specification and claims of this application are used to distinguish similar objects, and are not used to describe a specific order or precedence. It should be understood that the terms used in this manner are interchangeable where appropriate, so that the embodiments of this application can be implemented in an order other than that illustrated or described herein, and that the objects distinguished by "first," "second," and the like are generally of the same type, and do not limit the number of objects; for example, the first object can be one or more. In addition, the term "and / or" in the specification and claims refers to at least one of the connected objects, and the character " / " generally indicates that the objects connected are in an "or" relationship.

[0024] The message sending method, apparatus, device and medium provided in the embodiments of the present application are described in detail below with reference to the accompanying drawings through specific embodiments and their application scenarios.

[0025] Figure 1 This is a flow chart of the message sending method provided by the embodiment of the present application. Figure 1 As shown, the message sending method may include:

[0026] Step 101: Receive a forwarding operation of a first conversation message from a first user;

[0027] Step 102: In response to the forwarding operation, the identity information of the target user is replaced to obtain a second conversation message, wherein the target user includes at least part of the users associated with the first conversation message;

[0028] Step 103: Send the second conversation message to the second user.

[0029] The specific implementation of each of the above steps will be described in detail below.

[0030] In some possible implementations of the present application, the target user in the present application may include all or some of the users associated with the first conversation message, where all users associated with the first conversation message include the sender of the first conversation message and all users mentioned in the message content of the first conversation message. The target user may be a specified user among all users mentioned in the message content of the first conversation message. In practical applications, the user is typically specified using the character "@".

[0031] In some possible implementations of the embodiments of the present application, the identity information in the embodiments of the present application refers to information that can indicate the identity of the user, including but not limited to: user avatar, user name, user email address, etc.

[0032] In some possible implementations of the embodiments of the present application, the first user can first select the conversation message to be forwarded (i.e., the first conversation message), then click the "Forward" control, and then select the recipient of the message (i.e., the second user) to forward the conversation message. When forwarding the conversation message, the identity information of the target user is replaced.

[0033] In some possible implementations of the embodiments of the present application, when replacing the identity information of the target user, the user avatar of the target user can be replaced with a picture containing text or a preset picture, such as a landscape picture, an emoticon picture, etc.; the user name of the target user can be replaced with a single letter, a social category name (for example, family, friends, colleagues, riders, etc.), etc.

[0034] For example, Figure 2 As shown, Figure 2 3 is a comparative diagram before and after identity information replacement provided in an embodiment of the present application.

[0035] exist Figure 2 middle, Figure 2 The middle left figure shows a conversation message before identity information is replaced (i.e., a first conversation message). The first conversation message includes "Zhang San's profile picture," "Li Si's profile picture," "Wang Wu's profile picture," a conversation message from user Zhang San, "@Wang Wu @Li Si, let's go play together tomorrow," a conversation message from user Li Si, "OK, OK," and a conversation message from user Wang Wu, "Where to go, let's plan it." From the first conversation message, the user can learn the identity information of users Zhang San, Li Si, and Wang Wu associated with the first conversation message. Figure 2 The middle right figure shows a conversation message after identity information is replaced (i.e., the second conversation message), wherein the second conversation message includes "Friend A", "Friend C", "Friend B", the conversation message sent by Friend A "@Friend C@Friend B Let's go play together tomorrow", the conversation message sent by Friend B "OK, OK", and the conversation message sent by Friend C "Where to go, let's plan it". The user cannot learn the identity information of users Zhang San, Li Si, and Wang Wu associated with the first conversation message from the second conversation message. It is understandable that in Figure 2 In the first conversation message, the "Zhang San avatar" is replaced by a picture including the text "Friend A", the "Li Si avatar" is replaced by a picture including the text "Friend C", and the "Wang Wu avatar" is replaced by a picture including the text "Friend B". In the message content of the first conversation message, "Zhang San", "Li Si" and "Wang Wu" are replaced by "Friend A", "Friend C" and "Friend B" respectively.

[0036] In an embodiment of the present application, an electronic device receives a forwarding operation of a first conversation message from a first user; in response to the forwarding operation, replaces the identity information of the target user to obtain a second conversation message, where the target user includes at least some of the users associated with the first conversation message; and then sends the second conversation message to a second user. Because the identity information of the target user is replaced, the second user cannot obtain the identity information of the target user from the received second conversation message, thereby preventing the disclosure of the target user's identity information.

[0037] In some possible implementations of the embodiment of the present application, step 102 in the embodiment of the present application may include: replacing the identity information of the target user when a target condition is met, where the target condition includes at least one of the following:

[0038] The target user's identity information is hidden;

[0039] The target user and the second user have a friend relationship.

[0040] In some possible implementations of the embodiments of the present application, the first user can set the target user's identity information to be hidden, and the target user can also set the target user's identity information to be hidden. The first user can set the target user's identity information to be hidden in advance, and can also set the target user's identity information to be hidden when forwarding the first conversation message. The target user can also set the target user's identity information to be hidden through other electronic devices.

[0041] For example, when user A receives a conversation message from user B and intends to forward the message to user C, user A has pre-configured the message to hide the identity of the message sender during message forwarding. The conversation message from user B received by user A is then a first conversation message, with user B as the destination user, user A as the first user, and user C as the second user. User A then replaces user B's identity associated with the first conversation message, and sends the conversation message with the replaced identity information (i.e., the second conversation message) to user C. User C cannot learn user B's identity information from the received second conversation message.

[0042] As another example, when user A receives a conversation message from user B and wants to forward the conversation message to user C, user A chooses to replace user B's identity information. Then, the conversation message from user B received by user A is a first conversation message, the target user is user B, the first user is user A, and the second user is user C. The identity information of user B in the first conversation message is replaced, and the conversation message with the identity information replaced (i.e., the second conversation message) is sent to user C. User C cannot obtain user B's identity information from the received second conversation message.

[0043] As another example, a user proactively sets to hide their identity information. For example, if the user sets to hide their identity information when a conversation message associated with them is forwarded, then the user's identity information will be replaced when the conversation message associated with them is forwarded. For example, if user B sets to hide their identity information when a conversation message associated with them is forwarded, when user A receives a conversation message from user B and wants to forward the conversation message to user C, since user B has set to hide their identity information when the conversation message associated with them is forwarded, the identity information of user B (i.e., the target user) associated with the conversation message received by user A (i.e., the first conversation message) will be replaced. The conversation message with the replaced identity information (i.e., the second conversation message) will be sent to user C (i.e., the second user). User C will not be able to learn user B's identity information from the received second conversation message.

[0044] For another example, when user A receives a conversation message from user B and intends to forward the conversation message to user C, assuming that user B and user C are friends, the conversation message from user B received by user A is a first conversation message, with user B as the target user, user A as the first user, and user C as the second user. User B's identity information associated with the first conversation message is replaced, and the conversation message with the replaced identity information (i.e., the second conversation message) is sent to user C. User C cannot learn user B's identity information from the received second conversation message. Assuming that user B and user C are not friends, the conversation message is sent directly to user C. Although user C can learn the identity information from the received conversation message, since user B and user C are not friends, user C cannot know which user the identity information specifically refers to.

[0045] For another example, assume that the first user has pre-set settings to replace the target user's identity information when the first conversation message associated with the target user is forwarded and the recipient of the first conversation message (i.e., the second user) has a friend relationship with the target user. For example, user A has pre-set settings to replace user B's identity information when the conversation message associated with user B is forwarded and the recipient has a friend relationship with user B, and also to replace user D's identity information when the conversation message associated with user D is forwarded and the recipient has a friend relationship with user D. User A receives a conversation message sent by user D, which also mentions user B. When user A wants to forward the conversation message to user C, assuming that user B and user C are friends, but user D and user C are not friends, the conversation message of user D received by user A is the first conversation message, the target users are users B and D, the first user is user A, and the second user is user C. The identity information of user B associated with the first conversation message is replaced, but the identity information of user D associated with the first conversation message is not replaced. The conversation message with user B's identity information replaced (i.e., the second conversation message) is sent to user C. User C cannot obtain user B's identity information from the received second conversation message.

[0046] In an embodiment of the present application, the target user's identity information is only replaced when the target user is set to hide his or her identity information and / or the target user and the second user have a friend relationship. The target user's identity information is not replaced in all cases, which can reduce unnecessary identity information replacement.

[0047] In some possible implementations of the embodiments of the present application, if at least one of the multiple users associated with a first conversation message has configured their identity information to be hidden when the associated conversation message is forwarded, the identity information of the multiple users corresponding to the first conversation message may be replaced when the first conversation message is forwarded. For example, if the first conversation message is associated with user A and user B, and user B has configured their identity information to be hidden when the associated conversation message is forwarded, the identity information of both user A and user B will be replaced when the first conversation message is forwarded.

[0048] In some possible implementations of the embodiments of the present application, when at least one of the multiple users associated with a first conversation message has set a setting to hide their identity information when the conversation message associated with them is forwarded, when the first conversation message is forwarded, only the identity information of the users associated with the first conversation message who have set a setting to hide their identity information when the conversation message associated with them is forwarded may be replaced. For example, if the first conversation message is associated with user A and user B, and user B has set a setting to hide their identity information when the conversation message associated with them is forwarded, when the first conversation message is forwarded, user B's identity information is replaced, while user A's identity information is not replaced.

[0049] In the actual application of instant messaging software, users usually group the contacts in their address book, for example, colleagues, family, classmates, friends, etc. Based on this, in some possible implementations of the embodiments of the present application, step 102 in the embodiments of the present application may include: replacing the identity information of the target user according to the first target group information corresponding to the target user, where the first target group information is information about the group to which the target user belongs.

[0050] For example, when user A receives a conversation message from user B and intends to forward the conversation message to user C, the conversation message from user B received by user A is a first conversation message, in which the target user is user B, the first user is user A, and the second user is user C. User B belongs to a "friend group" among multiple groups. Based on the friend group information, user B's identity information is replaced, for example, with "friend". The conversation message with the replaced identity information (i.e., the second conversation message) is sent to user C. User C cannot learn user B's identity information from the received second conversation message.

[0051] As another example, assume that the users associated with the conversation message that user A wants to forward include user B, user C, user D, user E, and user F, where user B and user D belong to user A's friend group, user C and user F belong to user A's colleague group, and user E belongs to user A's family group. The conversation message that user A wants to forward is a first conversation message, and the target users include user B, user C, user D, user E, and user F. When user A (i.e., the first user) forwards the first conversation message, it replaces the identity information of users B, user C, user D, user E, and user F associated with the first conversation message with: friend 1, colleague 1, friend 2, family, colleague 2, and sends the conversation message with the replaced identity information (i.e., the second conversation message) to the second user. The second user cannot obtain the identity information of users B, user C, user D, user E, and user F from the received second conversation message.

[0052] In the embodiment of the present application, the identity information of the target user can be replaced based on the information of the group to which the target user belongs, thereby hiding the identity information of the target user.

[0053] In the actual application of instant messaging software, there may be multiple users associated with the first conversation message, that is, the target user may include multiple users. Multiple users may correspond to different groups. Based on this, in some possible implementations of the embodiments of the present application, step 102 in the embodiments of the present application may include: determining multiple groups corresponding to the multiple users; determining second target group information from the multiple groups based on the target input of the first user; and replacing the identity information of the target user based on the second target group information.

[0054] For example, assume that the users associated with the conversation message that user A wants to forward include user B, user C, user D, user E, and user F, where user B and user D belong to user A's friend group, user C and user F belong to user A's colleague group, and user E belongs to user A's family group. The conversation message that user A wants to forward is a first conversation message, and the target users include user B, user C, user D, user E, and user F. When forwarding the first conversation message, user A (i.e., the first user) selects a friend group and replaces the identity information of users B, user C, user D, user E, and user F associated with the first conversation message based on the friend group information. For example, the identity information of users B, user C, user D, user E, and user F in the first conversation message is replaced with friend 1, friend 2, friend 3, friend 4, and friend 5, respectively.

[0055] It should be noted that when the target user includes multiple users and multiple users correspond to the same group, the target user's identity information can be directly replaced based on the group information of the same group corresponding to multiple users, without the user having to select the group information. For example, the users associated with the conversation message that user A wants to forward include user B, user C, user D, user E, and user F, where user B, user C, user D, user E, and user F all belong to user A's friend group. The conversation message that user A wants to forward is the first conversation message, and the target users include user B, user C, user D, user E, and user F. When user A forwards the first conversation message, the identity information of users B, user C, user D, user E, and user F associated with the first conversation message is replaced with friend 1, friend 2, friend 3, friend 4, and friend 5, respectively.

[0056] In the embodiment of the present application, the identity information of the target user can be replaced based on the group information determined based on the user's target input, thereby hiding the identity information of the target user.

[0057] In the actual application of instant messaging software, there may be multiple users associated with the first conversation message, that is, the target user may include multiple users. Multiple users may correspond to different groups. Based on this, in some possible implementations of the embodiments of the present application, step 102 in the embodiments of the present application may include: determining multiple group information corresponding to the multiple users; determining third target group information from the multiple group information based on the number of users corresponding to each group information; and replacing the identity information of the target user based on the third target group information.

[0058] In some possible implementations of the embodiments of the present application, when determining the third target group information from multiple group information based on the number of users corresponding to each group information, the group information corresponding to the largest number of users may be determined as the third target group information. When there are multiple group information corresponding to the largest number of users, a group information may be randomly selected from the multiple group information corresponding to the largest number of users as the third target group information.

[0059] For example, assume that the users associated with the conversation message that user A wants to forward include user B, user C, user D, user E, and user F, wherein user B, user D, and user E belong to user A's friend group, and user C and user F belong to user A's colleague group. The conversation message that user A wants to forward is a first conversation message, and the target users include user B, user C, user D, user E, and user F. The friend group has more users than the colleague group. When user A (i.e., the first user) forwards the first conversation message, the identity information of user B, user C, user D, user E, and user F associated with the first conversation message is replaced based on the friend group information. For example, the identity information of user B, user C, user D, user E, and user F associated with the first conversation message is replaced with friend 1, friend 2, friend 3, friend 4, and friend 5, respectively.

[0060] In the embodiment of the present application, the identity information of the target user can be replaced based on the group information determined based on the number of users corresponding to each group information, thereby hiding the identity information of the target user.

[0061] In some possible implementations of the present application, the first user can customize the identity information of the user associated with the first conversation message, that is, the first user can edit and modify the identity information of the user associated with the first conversation message. Based on this, step 102 in the present application may include replacing the identity information of the target user with the identity information customized by the first user.

[0062] Exemplarily, the first user customizes and replaces the identity information of N users associated with the forwarded first conversation message with letters A to N in sequence.

[0063] In some possible implementations of the embodiments of the present application, the second conversation message may be sent to a server, which then forwards the second conversation message to the second user.

[0064] In an embodiment of the present application, the second conversation message sent to the server does not include the identity information of the target user, that is, the identity information of the target user is not sent to the server, which can avoid leaking the user's identity information when there is a security risk on the server.

[0065] In some possible implementations of the embodiment of the present application, step 102 in the embodiment of the present application may include: replacing the identity information of the target user according to the dialog message related to the first dialog message.

[0066] In some possible implementations of the embodiments of the present application, the conversation messages related to the first conversation message in the embodiments of the present application include but are not limited to: the context conversation message of the first conversation message, the conversation message referenced by the first conversation message, and the like.

[0067] For example, assume that the users associated with the first conversation message that user A wants to forward include user B, user C, user D, user E, and user F. The conversation message that user A wants to forward is the first conversation message, and the target users include user B, user C, user D, user E, and user F, with user A being the first user. The preceding message of the first conversation message associates user B and user F, and the following message of the first conversation message associates user C and user E. When user A forwards the first conversation message, the identity information of users B, user C, user E, and user F associated with the first conversation message is replaced, while the identity information of user D associated with the first conversation message is not replaced.

[0068] As another example, assume that the users associated with the first conversation message that user A intends to forward include user B and user C. The conversation message that user A intends to forward is the first conversation message, the target users include user B and user C, and the first user is user A. The identities of user B and user C, such as family members or colleagues, can be inferred from the context of the first conversation message. When user A forwards the first conversation message, the identity information of user B and user C associated with the first conversation message is replaced based on the inferred identities.

[0069] In an embodiment of the present application, the identity information of the target user can be replaced based on the conversation message related to the first conversation message, thereby hiding the identity information of the target user.

[0070] It should be noted that the message sending method provided in the embodiment of the present application can be executed by a message sending device. In the embodiment of the present application, the message sending device executing the message sending method is taken as an example to illustrate the message sending device provided in the embodiment of the present application.

[0071] Figure 3 This is a schematic diagram of the structure of the message sending device provided in the embodiment of the present application. Figure 3 As shown, the message sending device 300 may include:

[0072] Receiving module 301, configured to receive a forwarding operation of a first conversation message from a first user;

[0073] a replacement module 302 configured to replace the identity information of a target user in response to the forwarding operation to obtain a second conversation message, wherein the target user includes at least some users associated with the first conversation message;

[0074] The sending module 303 is configured to send the second conversation message to the second user.

[0075] In this embodiment of the present application, a first user forwards a first conversation message; in response to the forwarding operation, the target user's identity information is replaced to obtain a second conversation message, where the target user includes at least some of the users associated with the first conversation message; and the second conversation message is sent to a second user. Because the target user's identity information is replaced, the second user cannot obtain the target user's identity information from the received second conversation message, thereby preventing the disclosure of the target user's identity information.

[0076] In some possible implementations of the embodiment of the present application, the replacement module 302 may be specifically used to:

[0077] If the target condition is met, the identity information of the target user is replaced, where the target condition includes at least one of the following:

[0078] The target user's identity information is hidden;

[0079] The target user and the second user have a friend relationship.

[0080] In an embodiment of the present application, the target user's identity information is only replaced when the target user is set to hide his or her identity information and / or the target user and the second user have a friend relationship. The target user's identity information is not replaced in all cases, which can reduce unnecessary identity information replacement.

[0081] In some possible implementations of the embodiment of the present application, the replacement module 302 may be specifically used to:

[0082] The identity information of the target user is replaced according to the first target group information corresponding to the target user, wherein the first target group information is information about the group to which the target user belongs.

[0083] In the embodiment of the present application, the identity information of the target user can be replaced based on the information of the group to which the target user belongs, thereby hiding the identity information of the target user.

[0084] In some possible implementations of the embodiment of the present application, the target user includes multiple users; the replacement module 302 may include:

[0085] A first determining submodule, configured to determine a plurality of grouping information corresponding to a plurality of users;

[0086] A second determining submodule is configured to determine second target group information from the plurality of group information according to the target input of the first user;

[0087] The first replacement submodule is configured to replace the identity information of the target user according to the second target group information.

[0088] In the embodiment of the present application, the identity information of the target user can be replaced based on the group information determined by the user's input, thereby hiding the identity information of the target user.

[0089] In some possible implementations of the embodiment of the present application, the replacement module 302 may be specifically used to:

[0090] The identity information of the target user is replaced according to the dialog message related to the first dialog message.

[0091] In an embodiment of the present application, the identity information of the target user can be replaced based on the conversation message related to the first conversation message, thereby hiding the identity information of the target user.

[0092] In some possible implementations of the embodiment of the present application, the target user includes multiple users; the replacement module 302 may be specifically configured to:

[0093] A third determining submodule is used to determine multiple grouping information corresponding to multiple users;

[0094] a fourth determining submodule, configured to determine third target group information from the plurality of group information according to the number of users corresponding to each group information;

[0095] The second replacement submodule is configured to replace the target user's identity information according to the third target group information.

[0096] In the embodiment of the present application, the identity information of the target user can be replaced based on the group information determined based on the number of users corresponding to each group information, thereby hiding the identity information of the target user.

[0097] The message sending device in the embodiment of the present application can be an electronic device, or a component in the electronic device, such as an integrated circuit or a chip. The electronic device can be a terminal, or a device other than a terminal. For example, the electronic device can be a mobile phone, a tablet computer, a laptop computer, a PDA, an in-vehicle electronic device, a mobile Internet device (MID), an augmented reality (AR) / virtual reality (VR) device, a robot, a wearable device, an ultra-mobile personal computer (UMPC), a netbook or a personal digital assistant (PDA), etc. It can also be a server, a network attached storage (NAS), a personal computer (PC), a television (TV), a teller machine or a self-service machine, etc., and the embodiment of the present application does not specifically limit it.

[0098] The message sending device in the embodiment of the present application may be a device having an operating system. The operating system may be an Android operating system, an iOS operating system, or other possible operating systems, which are not specifically limited in the embodiment of the present application.

[0099] The message sending device provided in the embodiment of the present application can achieve Figures 1 to 2 To avoid repetition, the various processes in the message sending method embodiment are not described here.

[0100] Alternatively, as Figure 4 As shown, an embodiment of the present application also provides an electronic device 400, which includes a processor 401 and a memory 402. The memory 402 stores a program or instruction that can be run on the processor 401. When the program or instruction is executed by the processor 401, the various steps of the above-mentioned message sending method embodiment are implemented, and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0101] In some possible implementations of the embodiments of the present application, the processor 401 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiments of the present application.

[0102] In some possible implementations of the embodiments of the present application, the memory 402 may include a read-only memory (ROM), a random access memory (RAM), a magnetic disk storage medium device, an optical storage medium device, a flash memory device, an electrical, optical or other physical / tangible memory storage device. Therefore, typically, the memory 402 includes one or more tangible (non-transitory) computer-readable storage media (e.g., a memory device) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors), it is operable to perform the operations described with reference to the message sending method according to the embodiments of the present application.

[0103] Figure 5 It is a schematic diagram of the hardware structure of the electronic device implementing the embodiment of the present application.

[0104] The electronic device 500 includes but is not limited to components such as a radio frequency unit 501 , a network module 502 , an audio output unit 503 , an input unit 504 , a sensor 505 , a display unit 506 , a user input unit 507 , an interface unit 508 , a memory 509 , and a processor 510 .

[0105] Those skilled in the art will understand that the electronic device 500 may also include a power source (such as a battery) to power each component, and the power source may be logically connected to the processor 510 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system. Figure 5 The electronic device structure shown in the figure does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown in the figure, or combine certain components, or arrange the components differently, which will not be repeated here.

[0106] Among them, the processor 510 is used to: receive a forwarding operation of the first user on the first conversation message; in response to the forwarding operation, replace the identity information of the target user to obtain a second conversation message, wherein the target user includes at least part of the users associated with the first conversation message; and send the second conversation message to the second user.

[0107] In this embodiment of the present application, a first user forwards a first conversation message; in response to the forwarding operation, the target user's identity information is replaced to obtain a second conversation message, where the target user includes at least some of the users associated with the first conversation message; and the second conversation message is sent to a second user. Because the target user's identity information has been replaced, the second user cannot obtain the target user's identity information from the received second conversation message, thereby preventing the disclosure of the target user's identity information.

[0108] In some possible implementations of the embodiments of the present application, the processor 510 may be specifically configured to:

[0109] If the target condition is met, the identity information of the target user is replaced, where the target condition includes at least one of the following:

[0110] The target user's identity information is hidden;

[0111] The target user and the second user have a friend relationship.

[0112] In an embodiment of the present application, the target user's identity information is only replaced when the target user is set to hide his or her identity information and / or the target user and the second user have a friend relationship. The target user's identity information is not replaced in all cases, which can reduce unnecessary identity information replacement.

[0113] In some possible implementations of the embodiments of the present application, the processor 510 may be specifically configured to:

[0114] The identity information of the target user is replaced according to the first target group information corresponding to the target user, wherein the first target group information is information about the group to which the target user belongs.

[0115] In the embodiment of the present application, the identity information of the target user can be replaced based on the information of the group to which the target user belongs, thereby hiding the identity information of the target user.

[0116] In some possible implementations of the embodiments of the present application, the target user includes multiple users; the processor 510 may be specifically configured to:

[0117] Determine a plurality of group information corresponding to a plurality of users; determine a second target group information from the plurality of group information according to a target input of a first user; and replace the identity information of the target user according to the second target group information.

[0118] In the embodiment of the present application, the identity information of the target user can be replaced based on the group information determined by the user's input, thereby hiding the identity information of the target user.

[0119] In some possible implementations of the embodiments of the present application, the processor 510 may be specifically configured to:

[0120] The identity information of the target user is replaced according to the dialog message related to the first dialog message.

[0121] In an embodiment of the present application, the identity information of the target user can be replaced based on the conversation message related to the first conversation message, thereby hiding the identity information of the target user.

[0122] In some possible implementations of the embodiments of the present application, the target user includes multiple users; the processor 510 may be specifically configured to:

[0123] Determine multiple group information corresponding to multiple users; determine third target group information from the multiple group information according to the number of users corresponding to each group information; and replace the identity information of the target user according to the third target group information.

[0124] In the embodiment of the present application, the identity information of the target user can be replaced based on the group information determined based on the number of users corresponding to each group information, thereby hiding the identity information of the target user.

[0125] It should be understood that in an embodiment of the present application, the input unit 504 may include a graphics processing unit (GPU) 5041 and a microphone 5042, and the graphics processor 5041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode. The display unit 506 may include a display panel 5061, and the display panel 5061 may be configured in the form of a liquid crystal display, an organic light emitting diode, etc. The user input unit 507 includes a touch panel 5071 and at least one of other input devices 5072. The touch panel 5071 is also called a touch screen. The touch panel 5071 may include two parts: a touch detection device and a touch controller. Other input devices 5072 may include, but are not limited to, a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and an operating stick, which will not be repeated here.

[0126] The memory 509 can be used to store software programs and various data. The memory 509 may mainly include a first storage area for storing programs or instructions and a second storage area for storing data, wherein the first storage area may store an operating system, applications or instructions required for at least one function (such as a sound playback function, an image playback function, etc.). In addition, the memory 509 may include a volatile memory or a non-volatile memory, or the memory 509 may include both volatile and non-volatile memories. Among them, the non-volatile memory may be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory may be a random access memory (RAM), a static random access memory (SRAM), a dynamic random access memory (DRAM), a synchronous dynamic random access memory (SDRAM), a double data rate synchronous dynamic random access memory (DDRSDRAM), an enhanced synchronous dynamic random access memory (ESDRAM), a synchronous link dynamic random access memory (SLDRAM), and a direct memory bus random access memory (DRRAM). The memory 509 in the embodiment of the present application includes but is not limited to these and any other suitable types of memory.

[0127] Processor 510 may include one or more processing units. Optionally, processor 510 integrates an application processor and a modem processor. The application processor primarily handles operations related to the operating system, user interface, and application programs, while the modem processor primarily processes wireless communication signals, such as a baseband processor. It is understood that the modem processor may not be integrated into processor 510.

[0128] An embodiment of the present application also provides a readable storage medium, which stores a program or instruction. When the program or instruction is executed by the processor, the various processes of the above-mentioned message sending method embodiment are implemented and the same technical effect can be achieved. To avoid repetition, it will not be repeated here.

[0129] The processor is the processor in the electronic device in the above embodiment. The readable storage medium includes a computer-readable storage medium, and examples of the computer-readable storage medium include non-transitory computer-readable storage media, such as ROM, RAM, magnetic disk or optical disk.

[0130] An embodiment of the present application also provides a chip, which includes a processor and a communication interface, the communication interface and the processor are coupled, and the processor is used to run programs or instructions to implement the various processes of the above-mentioned message sending method embodiment, and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0131] It should be understood that the chip mentioned in the embodiments of the present application can also be called a system-level chip, a system chip, a chip system or a system-on-chip chip, etc.

[0132] An embodiment of the present application also provides a computer program product, which is stored in a storage medium. The computer program product is executed by at least one processor to implement the various processes of the above-mentioned message sending method embodiment and can achieve the same technical effect. To avoid repetition, it will not be repeated here.

[0133] It should be noted that, in this article, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device comprising the element. In addition, it should be noted 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 the opposite order according to the functions involved. For example, the described method may be performed in an order different from that described, and various steps may also be added, omitted, or combined. In addition, the features described with reference to certain examples may be combined in other examples.

[0134] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus the necessary general hardware platform, and of course can also be implemented by hardware, but in many cases the former is a better implementation method. Based on this understanding, the technical solution of the present application, or the part that contributes to the relevant technology, can be embodied in the form of a computer software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk), and includes a number of instructions for enabling a terminal (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0135] The embodiments of the present application are described above in conjunction with the accompanying drawings, but the present application is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the guidance of this application, ordinary technicians in this field can also make many forms without departing from the purpose of this application and the scope of protection of the claims, all of which are within the protection of this application.

Claims

1. A message sending method, characterized in that: The method comprises: receiving a forwarding operation of the first conversation message from the first user; In response to the forwarding operation, the identity information of the target user is replaced to obtain a second dialogue message, wherein the target user includes at least part of the users associated with the first dialogue message; sending the second conversation message to the second user; The identity information of the target user to be replaced includes: Replace the target user's identity information based on a conversation message related to the first conversation message; wherein the conversation message related to the first conversation message includes at least one of the following: The context dialog message of the first dialog message and the dialog message referenced by the first dialog message.

2. The method according to claim 1, characterized in that The identity information of the target user to be replaced includes: If a target condition is met, the identity information of the target user is replaced, wherein the target condition includes at least one of the following: The target user is set to hide identity information; The target user and the second user have a friend relationship.

3. The method according to claim 1, characterized in that The identity information of the target user to be replaced includes: The identity information of the target user is replaced according to the first target group information corresponding to the target user, wherein the first target group information is information about the group to which the target user belongs.

4. The method according to claim 1, wherein The target users include multiple users; The identity information of the target user to be replaced includes: Determining multiple group information corresponding to the multiple users; Determining second target group information from the plurality of group information according to the target input of the first user; The identity information of the target user is replaced according to the second target group information.

5. A message sending device, characterized in that: The device comprises: A receiving module, configured to receive a forwarding operation of the first conversation message from the first user; a replacement module, configured to replace the identity information of a target user in response to the forwarding operation to obtain a second dialogue message, wherein the target user includes at least some users associated with the first dialogue message; A sending module, configured to send the second conversation message to the second user; The replacement module is specifically used to: Replace the target user's identity information based on a conversation message related to the first conversation message; wherein the conversation message related to the first conversation message includes at least one of the following: The context dialog message of the first dialog message and the dialog message referenced by the first dialog message.

6. The device according to claim 5, characterized in that The replacement module is specifically configured to replace the identity information of the target user when a target condition is met, wherein the target condition includes at least one of the following: The target user is set to hide identity information; The target user and the second user have a friend relationship.

7. The device according to claim 5, characterized in that The replacement module is specifically configured to replace the identity information of the target user according to first target group information corresponding to the target user, wherein the first target group information is information about the group to which the target user belongs.

8. The device according to claim 5, characterized in that The target users include multiple users; The replacement module includes: A first determining submodule, configured to determine a plurality of grouping information corresponding to the plurality of users; A second determining submodule, configured to determine second target group information from the plurality of group information according to the target input of the first user; The first replacement submodule is configured to replace the identity information of the target user according to the second target group information.

9. An electronic device, characterized in that: The electronic device includes: a processor and a memory, the memory storing programs or instructions that can be run on the processor, and the program or instructions, when executed by the processor, implements the steps of the message sending method according to any one of claims 1 to 4.

Citation Information

Patent Citations

  • Customer service message processing system and method based on third-party public platform

    CN111865764A