CN116095034A - Message sending method and device and electronic equipment - Google Patents

Message sending method and device and electronic equipment Download PDF

Info

Publication number
CN116095034A
CN116095034A CN202310070587.2A CN202310070587A CN116095034A CN 116095034 A CN116095034 A CN 116095034A CN 202310070587 A CN202310070587 A CN 202310070587A CN 116095034 A CN116095034 A CN 116095034A
Authority
CN
China
Prior art keywords
user
target
identity information
message
target user
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310070587.2A
Other languages
Chinese (zh)
Inventor
彩云鹏
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Vivo Mobile Communication Co Ltd
Original Assignee
Vivo Mobile Communication Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Vivo Mobile Communication Co Ltd filed Critical Vivo Mobile Communication Co Ltd
Priority to CN202310070587.2A priority Critical patent/CN116095034A/en
Publication of CN116095034A publication Critical patent/CN116095034A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L51/00User-to-user messaging in packet-switching networks, transmitted according to store-and-forward or real-time protocols, e.g. e-mail
    • H04L51/04Real-time or near real-time messaging, e.g. instant messaging [IM]

Landscapes

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

Abstract

The application discloses a message sending method and device and electronic equipment, and belongs to the technical field of electronic equipment. The message sending method comprises the following steps: receiving a forwarding operation of a first user on a first dialogue message; responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message; and sending a second dialogue message to the second user.

Description

Message sending method and device and electronic equipment
Technical Field
The application belongs to the technical field of electronic equipment, and particularly relates to a message sending method and device and electronic equipment.
Background
With the rise of mobile internet devices, instant messaging software is widely used. Many users have a need to forward received and/or transmitted conversation messages to others. However, when forwarding the dialogue message, information that can indicate the identity of the user such as the header, the name, etc. of some users (e.g., the sender of the dialogue message, the users mentioned in the dialogue message, etc.) is disclosed at the same time, which easily causes the identity information of these users to be revealed.
Disclosure of Invention
The embodiment of the application aims to provide a message sending method, a message sending device and electronic equipment, which can solve the problem of user identity information leakage.
In a first aspect, an embodiment of the present application provides a method for sending a message, including:
receiving a forwarding operation of a first user on a first dialogue message;
responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message;
and sending a second dialogue message to the second user.
In a second aspect, an embodiment of the present application provides a message sending apparatus, including:
the receiving module is used for receiving the forwarding operation of the first user on the first dialogue message;
the replacing module is used for responding to the forwarding operation and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message;
and the sending module is used for sending the second dialogue message to the second user.
In a third aspect, embodiments of the present application provide an electronic device comprising a processor and a memory storing a program or instructions executable on the processor, the program or instructions implementing the steps of the method as described in the first aspect when executed by the processor.
In a fourth aspect, embodiments of the present application provide a readable storage medium having stored thereon a program or instructions which, when executed by a processor, implement the steps of the method according to the first aspect.
In a fifth aspect, embodiments of the present application provide a chip comprising a processor and a communication interface, the communication interface and the processor being coupled, the processor being configured to execute programs or instructions for implementing the steps of the method according to the first aspect.
In a sixth aspect, embodiments of the present application provide a computer program product stored in a storage medium, the computer program product being executable by at least one processor to implement the method according to the first aspect.
In the embodiment of the application, the electronic equipment receives the forwarding operation of the first user on the first dialogue message; responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message; and sending a second dialogue message to the second user. Because the identity information of the target user is replaced, the second user cannot acquire the identity information of the target user from the received second dialogue message, and the identity information of the target user is prevented from being revealed.
Drawings
Fig. 1 is a schematic flow chart of a message sending method provided in an embodiment of the present application;
FIG. 2 is a schematic diagram of comparison between identity information provided in an embodiment of the present application before and after replacement;
fig. 3 is a schematic structural diagram of a message sending device provided in an embodiment of the present application;
fig. 4 is a schematic structural diagram of an electronic device according to an embodiment of the present application;
fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
Detailed Description
Technical solutions in the embodiments of the present application will be clearly described below with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application are within the scope of the protection of the present application.
The terms first, second and the like in the description and in the claims, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged, as appropriate, such that embodiments of the present application may be implemented in sequences other than those illustrated or described herein, and that the objects identified by "first," "second," etc. are generally of a type and not limited to the number of objects, e.g., the first object may be one or more. Furthermore, in the description and claims, "and/or" means at least one of the connected objects, and the character "/", generally means that the associated object is an "or" relationship.
The method, the device, the equipment and the medium for sending the message provided by the embodiment of the application are described in detail below through specific embodiments and application scenes thereof with reference to the accompanying drawings.
Fig. 1 is a flow chart of a message sending method provided in an embodiment of the present application. As shown in fig. 1, the message transmission method may include:
step 101: receiving a forwarding operation of a first user on a first dialogue message;
step 102: responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message;
step 103: and sending a second dialogue message to the second user.
The specific implementation of each of the above steps will be described in detail below.
In some possible implementations of embodiments of the present application, the target users in embodiments of the present application may include all or a portion of the users associated with the first conversation message, where all of the users associated with the first conversation message include the sender of the first conversation message and all of the users mentioned in the message content of the first conversation message. The target user may be the user specified among all users mentioned in the message content of the first dialog message, and in actual application the user is typically specified with the character "@".
In some possible implementations of embodiments of the present application, identity information in embodiments of the present application refers to information that can indicate a user's identity, including, but not limited to: user avatar, user name, user mailbox, etc.
In some possible implementations of the embodiments of the present application, a first user may first select a session message to be forwarded (i.e., a first session message), then click on a "forward" control, and then select a recipient of the message (i.e., a second user) to forward the session message, and when forwarding the session message, replace the identity information of the target user.
In some possible implementations of the embodiments of the present application, when the identity information of the target user is replaced, the user avatar of the target user may be replaced with a picture including text or a preset picture, for example, a landscape picture, an expression picture, and so on; the user name of the target user is replaced with a single letter, social classification name (e.g., family, friends, colleagues, car friends, etc.), and so forth.
Exemplary, as shown in fig. 2, fig. 2 is a schematic diagram comparing before and after identity information replacement according to an embodiment of the present application.
In fig. 2, the left diagram in fig. 2 shows a conversation message before the replacement of the identity information (i.e., a first conversation message), wherein the first conversation message includes "Zhang Sanzhu," "Liwu tui," "Wang Wu tui," a conversation message sent by a user Zhang Sanzhi "@ Wang Wu @ Lifour Ming Suo together to play a bar," a conversation message sent by a user Lifour, "good," and a conversation message sent by a user Wang Wu "where to go, plan to be," from which the user can learn the identity information of the user Zhang Sanhe, lifour and Wang five associated with the first conversation message; the right diagram in fig. 2 shows a conversation message (i.e., a second conversation message) after the identity information is replaced, where the second conversation message includes "friend a", "friend C", "friend B", a conversation message sent by friend a "@ friend C@, friend B, playing a bar together in the open, a conversation message sent by friend B" good, good ", and a conversation message sent by friend C" where to go, plan to go ". The user cannot learn the identity information of the third party, the fourth party and the fifth party of the user associated with the first dialogue message from the second dialogue message. It will be appreciated that in fig. 2, the "Zhang Sanzhu" in the first dialogue message is replaced with a picture including the word "friend a", the "Liu Wu Zhu" is replaced with a picture including the word "friend C", the "Wang Wu Zhu" is replaced with a picture including the word "friend B", and the "Zhang Sanj", "Lifour", "Wang Wu" in the message content of the first dialogue message is replaced with "friend a", "friend C" and "friend B", respectively.
In the embodiment of the application, the electronic equipment receives the forwarding operation of the first user on the first dialogue message; responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message; and sending a second dialogue message to the second user. Because the identity information of the target user is replaced, the second user cannot acquire the identity information of the target user from the received second dialogue message, and the identity information of the target user is prevented from being revealed.
In some possible implementations of embodiments of the present application, step 102 in embodiments of the present application may include: and replacing the identity information of the target user in the case that the target condition is met, wherein the target condition comprises at least one of the following:
the target user is set to hide the identity information;
the target user and the second user have a friend relationship.
In some possible implementations of the embodiments of the present application, the first user may set to hide the identity information of the target user, and the target user may set to hide the identity information of the target user. The first user can preset the identity information of the hidden target user, and can also set the identity information of the hidden target user when forwarding the first dialogue message; the target user may hide his identity information through other electronic device settings.
Illustratively, when user a receives a dialogue message from user B, and user a wants to forward the dialogue message to user C, user a presets the identity information of the sender of the hidden dialogue message in the case of forwarding the dialogue message. The dialogue message of the user B received by the user A is a first dialogue message, the target user is the user B, the first user is the user A, the second user is the user C, the identity information of the user B associated with the first dialogue message is replaced, the dialogue message (namely the second dialogue message) with the replaced identity information is sent to the user C, and the user C cannot acquire the identity information of the user B from the received second dialogue message.
In another example, when the user a receives a session message of the user B, and the user a wants to forward the session message to the user C, the user a selects to replace the identity information of the user B, and the session message of the user B received by the user a is a first session message, the target user is the user B, the first user is the user a, the second user is the user C, the identity information of the user B in the first session message is replaced, the session message (i.e. the second session message) after the identity information replacement is sent to the user C, and the user C cannot learn the identity information of the user B from the received second session message.
Still further exemplary, the user actively sets to hide his identity information, e.g., the user sets to hide his identity information in association with when his conversation message is forwarded, and replaces the user's identity information when his conversation message is forwarded. For example, when the user a receives the dialogue message of the user B and the user a wants to forward the dialogue message to the user C, the user B sets that the dialogue message of the user B (i.e. the first dialogue message) is associated with the identity information of the user B (i.e. the target user) and is hidden when the dialogue message of the user B is forwarded, so that the identity information of the user B (i.e. the target user) is replaced, the dialogue message (i.e. the second dialogue message) after the identity information replacement is sent to the user C (i.e. the second user), and the user C cannot learn the identity information of the user B from the received second dialogue message.
As another example, when the user a receives the dialogue message of the user B, and the user a wants to forward the dialogue message to the user C, if the user B and the user C have a friend relationship, the dialogue message of the user B received by the user a is a first dialogue message, the target user is the user B, the first user is the user a, the second user is the user C, the identity information of the user B associated with the first dialogue message is replaced, the dialogue message (i.e. the second dialogue message) after the identity information replacement is sent to the user C, and the user C cannot learn the identity information of the user B from the received second dialogue message. If the user B and the user C do not have a friend relationship, the dialogue message is directly sent to the user C, and the user C can know the identity information from the received dialogue message, but the user C cannot know which user the identity information specifically points to because the user B and the user C do not have a friend relationship.
Further exemplary, assume that the first user has previously set the identity information of the target user to be replaced when the first conversation message associated with the target user is forwarded and the first conversation message recipient (i.e., the second user) has a friend relationship with the target user. For example, user a has previously set the identity information of user B to be replaced when the conversation message of associated user B is forwarded and the message recipient has a friend relationship with user B, and has set the identity information of user D to be replaced when the conversation message of associated user D is forwarded and the message recipient has a friend relationship with user D. When the user A wants to forward the dialogue message to the user C, the dialogue message received by the user A is a first dialogue message, the target user is the users B and D, the first user is the user A, the second user is the user C, the identity information of the user B associated with the first dialogue message is replaced, the identity information of the user D associated with the first dialogue message is not replaced, the dialogue message (namely the second dialogue message) after the identity information of the user B is replaced is sent to the user C, and the user C cannot learn the identity information of the user B from the received second dialogue message.
In the embodiment of the application, the identity information of the target user is replaced only when the target user is set to hide the identity information and/or the target user and the second user have a friend relationship, and the identity information of the target user is not replaced under all conditions, so that unnecessary identity information replacement can be reduced.
In some possible implementations of the embodiments of the present application, when at least one user of the plurality of users associated with the first session message sets that the session message associated with the user is forwarded, the identity information of the plurality of users corresponding to the first session message may be replaced when the first session message is forwarded. For example, the first dialogue message is associated with the user a and the user B, wherein the user B sets that the dialogue message associated with the user B is hidden from the identity information when the dialogue message is forwarded, and when the first dialogue message is forwarded, the identity information of the user a and the identity information of the user B are replaced.
In some possible implementations of the embodiments of the present application, when at least one user of the plurality of users associated with the first dialogue message sets that the dialogue message associated with the user is forwarded, the identity information of the user, when forwarding the first dialogue message, with which the dialogue message associated with the user is set to be forwarded, may be replaced with the identity information of the user, with which the user is set to be hidden, of the plurality of users associated with the first dialogue message. For example, the first dialogue message is associated with the user a and the user B, wherein the user B sets that the dialogue message associated with the user B is hidden from the identity information when the dialogue message is forwarded, and when the first dialogue message is forwarded, the identity information of the user B is replaced, but not the identity information of the user a.
In the practical application of instant messaging software, users typically group contacts in their address book, such as a colleague group, a family group, a colleague group, a friend group, and so on. Based on this, in some possible implementations of embodiments of the present application, step 102 in embodiments of the present application may include: and replacing the identity information of the target user according to the first target grouping information corresponding to the target user, wherein the first target grouping information is the grouping information of the target user.
For example, when the user a receives the dialogue message of the user B, and the user a wants to forward the dialogue message to the user C, the dialogue message of the user B received by the user a is a first dialogue message, the target user is the user B, the first user is the user a, and the second user is the user C. The user B belongs to a "friend group" in the multiple groups, and replaces the identity information of the user B according to the friend group information, for example, the identity information of the user B is replaced by a "friend", the conversation message (i.e., the second conversation message) with the replaced identity information is sent to the user C, and the user C cannot learn the identity information of the user B from the received second conversation message.
As another example, assume that the user associated with the dialogue message to be forwarded by the user a includes a user B, a user C, a user D, a user E, and a user F, where the user B and the user D belong to a friend group of the user a, the user C and the user F belong to a colleague group of the user a, and the user E belongs to a family group of the user a. The dialogue message to be forwarded by the user A is a first dialogue message, and the target user comprises a user B, a user C, a user D, a user E and a user F. When forwarding the first dialogue message, the user a (i.e. the first user) sequentially replaces the identity information of the user B, the user C, the user D, the user E and the user F associated with the first dialogue message with: friend 1, colleague 1, friend 2, family, colleague 2, send the dialogue message after the identity information replacement (i.e. the second dialogue message) to the second user, and the second user cannot know the identity information of user B, user C, user D, user E, user F from the received second dialogue message.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouped information of the target user, so that the identity information of the target user is hidden.
In the practical application of the instant messaging software, there may be a plurality of users associated with the first dialogue message, that is, the target user may include a plurality of users. Multiple users may correspond to different groupings. Based on this, in some possible implementations of embodiments of the present application, step 102 in embodiments of the present application may include: determining a plurality of grouping information corresponding to a plurality of users; determining second target grouping information from the plurality of grouping information according to the target input of the first user; and replacing the identity information of the target user according to the second target grouping information.
For example, assume that the user associated with the dialogue message to be forwarded by the user a includes a user B, a user C, a user D, a user E, and a user F, wherein the user B and the user D belong to a friend group of the user a, the user C and the user F belong to a colleague group of the user a, and the user E belongs to a family group of the user a. The dialogue message to be forwarded by the user A is a first dialogue message, and the target user comprises a user B, a user C, a user D, a user E and a user F. When forwarding the first dialogue message, the user a (i.e. the first user) selects a friend group, and replaces the identity information of the user B, the user C, the user D, the user E and the user F associated with the first dialogue message according to the friend group information, for example, the identity information of the user B, the user C, the user D, the user E and the user F in the first dialogue message is replaced with the friend 1, the friend 2, the friend 3, the friend 4 and the friend 5 in sequence.
It should be noted that, when the target user includes a plurality of users and the plurality of users correspond to the same group, the identity information of the target user may be replaced directly according to the group information of the same group corresponding to the plurality of users, without selecting the group information by the user. For example, the users associated with the dialogue message to be forwarded by the user a include a user B, a user C, a user D, a user E, and a user F, where the user B, the user C, the user D, the user E, and the user F all belong to the friend group of the user a. The dialogue message to be forwarded by the user A is a first dialogue message, and the target user comprises a user B, a user C, a user D, a user E and a user F. When forwarding the first dialogue message, the user a replaces the identity information of the user B, the user C, the user D, the user E and the user F associated with the first dialogue message with the friend 1, the friend 2, the friend 3, the friend 4 and the friend 5 in sequence.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouping information determined by the target input of the user, so that the identity information of the target user is hidden.
In the practical application of the instant messaging software, there may be a plurality of users associated with the first dialogue message, that is, the target user may include a plurality of users. Multiple users may correspond to different groupings. Based on this, in some possible implementations of embodiments of the present application, step 102 in embodiments of the present application may include: determining a plurality of grouping information corresponding to a plurality of users; determining third target grouping information in the plurality of grouping information according to the number of users corresponding to each grouping information; and replacing the identity information of the target user according to the third target grouping information.
In some possible implementations of the embodiments of the present application, when determining the third target packet information among the plurality of packet information according to the number of users corresponding to each packet information, the packet information with the largest number of corresponding users may be determined as the third target packet information. When there are a plurality of packet information corresponding to the largest number of users, one packet information may be randomly selected from the plurality of packet information corresponding to the largest number of users as the third target packet information.
Illustratively, assume that the user associated with the dialogue message to be forwarded by user a includes user B, user C, user D, user E, user F, where user B, user D, and user E belong to the friend group of user a, and user C and user F belong to the colleague group of user a. The dialogue message to be forwarded by the user A is a first dialogue message, and the target user comprises a user B, a user C, a user D, a user E and a user F. When forwarding the first dialogue message, the user a (i.e., the first user) replaces the identity information of the user B, the user C, the user D, the user E, and the user F associated with the first dialogue message according to the friend group information, for example, replaces the identity information of the user B, the user C, the user D, the user E, and the user F associated with the first dialogue message with the friend 1, the friend 2, the friend 3, the friend 4, and the friend 5 in sequence.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouping information determined by the number of users corresponding to each grouping information, so that the identity information of the target user is hidden.
In some possible implementations of the embodiments of the present application, the first user may customize the identity information of the user associated with the first session message, that is, the first user may edit and modify the identity information of the user associated with the first session message. Based on this, step 102 in the embodiment of the present application may include: and replacing the identity information of the target user with the identity information customized by the first user.
Illustratively, the first user-defined replaces the identity information of the N users associated with the forwarded first conversation message with letters a through N in sequence.
In some possible implementations of embodiments of the present application, the second dialog message may be sent to a server, which in turn forwards the second dialog message to the second user.
In the embodiment of the application, the second dialogue message sent to the server does not include the identity information of the target user, namely the identity information of the target user is not sent to the server, so that the identity information of the user can be prevented from being revealed when the server has security risks.
In some possible implementations of embodiments of the present application, step 102 in embodiments of the present application may include: and replacing the identity information of the target user according to the dialogue message related to the first dialogue message.
In some possible implementations of the embodiments of the present application, the session message related to the first session message in the embodiments of the present application includes, but is not limited to: contextual dialog messages of the first dialog message, dialog messages referenced by the first dialog message, and so forth.
Illustratively, assume that the user associated with the first conversation message to be forwarded by user a includes user B, user C, user D, user E, and user F. The dialogue message to be forwarded by the user A is a first dialogue message, the target user comprises a user B, a user C, a user D, a user E and a user F, and the first user is the user A. And when the user A forwards the first dialogue message, the identity information of the user B, the user C, the user E and the user F associated with the first dialogue message is replaced, but the identity information of the user D associated with the first dialogue message is not replaced.
Further exemplary, assume that the user associated with the first conversation message to be forwarded by user a includes user B and user C. The dialogue message to be forwarded by the user A is a first dialogue message, the target user comprises a user B and a user C, and the first user is the user A. The identities of the user B and the user C, such as family members, colleagues, etc., may be inferred from the context message of the first session message, and when the user a forwards the first session message, the identity information of the user B and the user C associated with the first session message is replaced according to the inferred identities.
In the embodiment of the application, the identity information of the target user can be replaced based on the dialogue message related to the first dialogue message, so that the identity information of the target user is hidden.
It should be noted that, in the message sending method provided in the embodiment of the present application, the execution body may be a message sending device. In the embodiment of the present application, a message sending device executes a message sending method as an example, and a message sending device provided in the embodiment of the present application is described.
Fig. 3 is a schematic structural diagram of a message sending device provided in an embodiment of the present application. As shown in fig. 3, the message transmitting apparatus 300 may include:
A receiving module 301, configured to receive a forwarding operation of a first user on a first dialogue message;
a replacing module 302, configured to replace identity information of a target user in response to the forwarding operation, to obtain a second session message, where the target user includes at least part of users associated with the first session message;
and a sending module 303, configured to send the second dialogue message to the second user.
In the embodiment of the application, the forwarding operation of the first user on the first dialogue message is received; responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message; and sending a second dialogue message to the second user. Because the identity information of the target user is replaced, the second user cannot acquire the identity information of the target user from the received second dialogue message, and the identity information of the target user is prevented from being revealed.
In some possible implementations of embodiments of the present application, the replacement module 302 may be specifically configured to:
and replacing the identity information of the target user in the case that the target condition is met, wherein the target condition comprises at least one of the following:
The target user is set to hide the identity information;
the target user and the second user have a friend relationship.
In the embodiment of the application, the identity information of the target user is replaced only when the target user is set to hide the identity information and/or the target user and the second user have a friend relationship, and the identity information of the target user is not replaced under all conditions, so that unnecessary identity information replacement can be reduced.
In some possible implementations of embodiments of the present application, the replacement module 302 may be specifically configured to:
and replacing the identity information of the target user according to the first target grouping information corresponding to the target user, wherein the first target grouping information is the grouping information of the target user.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouped information of the target user, so that the identity information of the target user is hidden.
In some possible implementations of embodiments of the present application, the target user includes a plurality of users; the replacement module 302 may include:
the first determining submodule is used for determining a plurality of grouping information corresponding to a plurality of users;
a second determining sub-module for determining second target grouping information among the plurality of grouping information according to the target input of the first user;
And the first replacing sub-module is used for replacing the identity information of the target user according to the second target grouping information.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouping information determined by the input of the user, so that the identity information of the target user is hidden.
In some possible implementations of embodiments of the present application, the replacement module 302 may be specifically configured to:
and replacing the identity information of the target user according to the dialogue message related to the first dialogue message.
In the embodiment of the application, the identity information of the target user can be replaced based on the dialogue message related to the first dialogue message, so that the identity information of the target user is hidden.
In some possible implementations of embodiments of the present application, the target user includes a plurality of users; the replacement module 302 may be specifically configured to:
a third determining sub-module, configured to determine a plurality of grouping information corresponding to a plurality of users;
a fourth determining sub-module, configured to determine third target packet information from the plurality of packet information according to the number of users corresponding to each packet information;
and the second replacing sub-module is used for replacing the identity information of the target user according to the third target grouping information.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouping information determined by the number of users corresponding to each grouping information, so that the identity information of the target user is hidden.
The message sending device in the embodiment of the application may be an electronic device, or may be a component in the electronic device, for example, an integrated circuit, or a chip. The electronic device may be a terminal, or may be other devices than a terminal. By way of example, the electronic device may be a mobile phone, tablet computer, notebook computer, palm computer, vehicle-mounted electronic device, mobile internet appliance (Mobile Internet Device, MID), augmented reality (augmented reality, AR)/Virtual Reality (VR) device, robot, wearable device, ultra-mobile personal computer, UMPC, netbook or personal digital assistant (personal digital assistant, PDA), etc., but may also be a server, network attached storage (Network Attached Storage, NAS), personal computer (personal computer, PC), television (TV), teller machine or self-service machine, etc., and the embodiments of the present application are not limited in particular.
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 embodiments of the present application.
The message sending device provided in the embodiment of the present application can implement each process in the embodiment of the message sending method in fig. 1 to 2, and in order to avoid repetition, a detailed description is omitted here.
Optionally, as shown in fig. 4, the embodiment of the present application further provides an electronic device 400, where the electronic device 400 includes a processor 401 and a memory 402, and the memory 402 stores a program or an instruction that can be executed on the processor 401, where the program or the instruction implements each step of the foregoing embodiment of the message sending method when executed by the processor 401, and the steps achieve the same technical effects, and are not repeated herein.
In some possible implementations of embodiments of the present application, the processor 401 may include a Central Processing Unit (CPU), or an application specific integrated circuit (Application Specific Integrated Circuit, ASIC), or may be configured to implement one or more integrated circuits of embodiments of the present application.
In some possible implementations of embodiments of the present application, memory 402 may include Read-Only Memory (ROM), random-access Memory (Random Access Memory, RAM), magnetic disk storage media devices, optical storage media devices, flash Memory devices, electrical, optical, or other physical/tangible Memory storage devices. Thus, in general, memory 402 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software comprising 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 messaging methods in accordance with embodiments of the present application.
Fig. 5 is a schematic diagram of a hardware structure of an electronic device implementing an embodiment of the present application.
The electronic device 500 includes, but is not limited to: radio frequency unit 501, network module 502, audio output unit 503, input unit 504, sensor 505, display unit 506, user input unit 507, interface unit 508, memory 509, and processor 510.
Those skilled in the art will appreciate that the electronic device 500 may further include a power source (e.g., a battery) for powering the various components, and that the power source may be logically coupled to the processor 510 via a power management system to perform functions such as managing charging, discharging, and power consumption via the power management system. The electronic device structure shown in fig. 5 does not constitute a limitation of the electronic device, and the electronic device may include more or less components than shown, or may combine certain components, or may be arranged in different components, which are not described in detail herein.
Wherein the processor 510 is configured to: receiving a forwarding operation of a first user on a first dialogue message; responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message; and sending a second dialogue message to the second user.
In the embodiment of the application, the forwarding operation of the first user on the first dialogue message is received; responding to the forwarding operation, and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message; and sending a second dialogue message to the second user. Because the identity information of the target user is replaced, the second user cannot acquire the identity information of the target user from the received second dialogue message, and the identity information of the target user is prevented from being revealed.
In some possible implementations of embodiments of the present application, processor 510 may be specifically configured to:
and replacing the identity information of the target user in the case that the target condition is met, wherein the target condition comprises at least one of the following:
the target user is set to hide the identity information;
The target user and the second user have a friend relationship.
In the embodiment of the application, the identity information of the target user is replaced only when the target user is set to hide the identity information and/or the target user and the second user have a friend relationship, and the identity information of the target user is not replaced under all conditions, so that unnecessary identity information replacement can be reduced.
In some possible implementations of embodiments of the present application, processor 510 may be specifically configured to:
and replacing the identity information of the target user according to the first target grouping information corresponding to the target user, wherein the first target grouping information is the grouping information of the target user.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouped information of the target user, so that the identity information of the target user is hidden.
In some possible implementations of embodiments of the present application, the target user includes a plurality of users; the processor 510 may be specifically configured to:
determining a plurality of grouping information corresponding to a plurality of users; determining second target grouping information from the plurality of grouping information according to the target input of the first user; and replacing the identity information of the target user according to the second target grouping information.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouping information determined by the input of the user, so that the identity information of the target user is hidden.
In some possible implementations of embodiments of the present application, processor 510 may be specifically configured to:
and replacing the identity information of the target user according to the dialogue message related to the first dialogue message.
In the embodiment of the application, the identity information of the target user can be replaced based on the dialogue message related to the first dialogue message, so that the identity information of the target user is hidden.
In some possible implementations of embodiments of the present application, the target user includes a plurality of users; the processor 510 may be specifically configured to:
determining a plurality of grouping information corresponding to a plurality of users; determining third target grouping information in the plurality of grouping information according to the number of users corresponding to each grouping information; and replacing the identity information of the target user according to the third target grouping information.
In the embodiment of the application, the identity information of the target user can be replaced based on the grouping information determined by the number of users corresponding to each grouping information, so that the identity information of the target user is hidden.
It should be appreciated that in embodiments of the present application, the input unit 504 may include a graphics processor (Graphics Processing Unit, GPU) 5041 and a microphone 5042, with the graphics processor 5041 processing image data of still pictures or video obtained by an image capturing device (e.g., a camera) in a video capturing mode or an image capturing 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, or the like. The user input unit 507 includes at least one of a touch panel 5071 and other input devices 5072. Touch panel 5071, also referred to as a touch screen. 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 (e.g., volume control keys, switch keys, etc.), a trackball, a mouse, a joystick, and so forth, which are not described in detail herein.
The memory 509 may be used to store software programs as well as various data. The memory 509 may mainly include a first storage area storing programs or instructions and a second storage area storing data, wherein the first storage area may store an operating system, application programs or instructions (such as a sound playing function, an image playing function, etc.) required for at least one function, and the like. Further, the memory 509 may include volatile memory or nonvolatile memory, or the memory 509 may include both volatile and nonvolatile memory. The nonvolatile Memory may be a Read-Only Memory (ROM), a Programmable ROM (PROM), an Erasable PROM (EPROM), an Electrically Erasable EPROM (EEPROM), or a flash Memory. The volatile memory may be random access memory (Random Access Memory, RAM), static RAM (SRAM), dynamic RAM (DRAM), synchronous DRAM (SDRAM), double Data Rate SDRAM (ddr SDRAM), enhanced SDRAM (Enhanced SDRAM), synchronous DRAM (SLDRAM), and Direct RAM (DRRAM). Memory 509 in embodiments of the present application includes, but is not limited to, these and any other suitable types of memory.
Processor 510 may include one or more processing units; optionally, the processor 510 integrates an application processor that primarily processes operations involving an operating system, user interface, application programs, etc., and a modem processor that primarily processes wireless communication signals, such as a baseband processor. It will be appreciated that the modem processor described above may not be integrated into the processor 510.
The embodiment of the present application further provides a readable storage medium, where a program or an instruction is stored, where the program or the instruction realizes each process of the above embodiment of the message sending method when executed by a processor, and the same technical effects can be achieved, so that repetition is avoided, and no further description is given here.
The processor is a 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 a non-transitory computer readable storage medium such as ROM, RAM, magnetic disk, or optical disk.
The embodiment of the application also provides a chip, which comprises a processor and a communication interface, wherein the communication interface is coupled with the processor, and the processor is used for running programs or instructions to realize the processes of the embodiment of the message sending method and achieve the same technical effects, so that repetition is avoided, and the description is omitted here.
It should be understood that the chips referred to in the embodiments of the present application may also be referred to as system-on-chip chips, chip systems, or system-on-chip chips, etc.
Embodiments of the present application also provide a computer program product stored in a storage medium, where the computer program product is executed by at least one processor to implement the respective processes of the foregoing messaging method embodiments, and achieve the same technical effects, and are not described herein in detail to avoid repetition.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element. Furthermore, it should be noted that the scope of the methods and apparatus in the embodiments of the present application is not limited to performing the functions in the order shown or discussed, but may also include performing the functions in a substantially simultaneous manner or in an opposite order depending on the functions involved, e.g., 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.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the related art in the form of a computer software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), including several instructions for causing a terminal (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method described in the embodiments of the present application.
The embodiments of the present application have been described above with reference to the accompanying drawings, but the present application is not limited to the above-described embodiments, which are merely illustrative and not restrictive, and many forms may be made by those of ordinary skill in the art without departing from the spirit of the present application and the scope of the claims, which are also within the protection of the present application.

Claims (11)

1. A method of messaging, the method comprising:
receiving a forwarding operation of a first user on a first dialogue message;
responding to the forwarding operation, and replacing the identity information of a target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message;
and sending the second dialogue message to a second user.
2. The method of claim 1, wherein the replacing the identity information of the target user comprises:
and replacing the identity information of the target user in the condition that the target condition is met, wherein the target condition comprises 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 of claim 1, wherein the replacing the identity information of the target user comprises:
and replacing the identity information of the target user according to first target grouping information corresponding to the target user, wherein the first target grouping information is the grouping information of the target user.
4. The method of claim 1, wherein the target user comprises a plurality of users; the identity information of the replacement target user comprises:
Determining a plurality of grouping information corresponding to the plurality of users;
determining second target grouping information from the plurality of grouping information according to the target input of the first user;
and replacing the identity information of the target user according to the second target grouping information.
5. The method of claim 1, wherein the replacing the identity information of the target user comprises:
and replacing the identity information of the target user according to the dialogue message related to the first dialogue message.
6. A message transmission apparatus, the apparatus comprising:
the receiving module is used for receiving the forwarding operation of the first user on the first dialogue message;
the replacing module is used for responding to the forwarding operation and replacing the identity information of the target user to obtain a second dialogue message, wherein the target user comprises at least part of users associated with the first dialogue message;
and the sending module is used for sending the second dialogue message to a second user.
7. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the replacing module is specifically configured to: and replacing the identity information of the target user in the condition that the target condition is met, wherein the target condition comprises 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.
8. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the replacing module is specifically configured to: and replacing the identity information of the target user according to first target grouping information corresponding to the target user, wherein the first target grouping information is the grouping information of the target user.
9. The apparatus of claim 6, wherein the target user comprises a plurality of users; the replacement module includes:
a first determining submodule, configured to determine a plurality of packet information corresponding to the plurality of users;
a second determining sub-module for determining second target grouping information among the plurality of grouping information according to the target input of the first user;
and the first replacing sub-module is used for replacing the identity information of the target user according to the second target grouping information.
10. The apparatus of claim 6, wherein the device comprises a plurality of sensors,
the replacing module is specifically configured to: and replacing the identity information of the target user according to the dialogue message related to the first dialogue message.
11. An electronic device, the electronic device comprising: a processor and a memory storing a program or instructions executable on the processor, which when executed by the processor, implement the steps of the messaging method of any of claims 1 to 5.
CN202310070587.2A 2023-01-31 2023-01-31 Message sending method and device and electronic equipment Pending CN116095034A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310070587.2A CN116095034A (en) 2023-01-31 2023-01-31 Message sending method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310070587.2A CN116095034A (en) 2023-01-31 2023-01-31 Message sending method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN116095034A true CN116095034A (en) 2023-05-09

Family

ID=86213629

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310070587.2A Pending CN116095034A (en) 2023-01-31 2023-01-31 Message sending method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN116095034A (en)

Similar Documents

Publication Publication Date Title
US8577338B2 (en) Messaging with media integration
JP6501919B2 (en) Voice chat mode self-adaptation method and apparatus
US20050201290A1 (en) Method and system for finding a friend in a social network
US20100087169A1 (en) Threading together messages with multiple common participants
JP2017526074A (en) System and method for generating a user facial expression library for messaging and social networking applications
KR20110076903A (en) Inter-threading indications of different types of communication
CN111857500A (en) Message display method and device, electronic equipment and storage medium
CN113676589B (en) Unread message display method and device and electronic equipment
CN113364668B (en) Message reminding method and device and electronic equipment
CN114500432A (en) Session message transceiving method and device, electronic equipment and readable storage medium
WO2023011483A1 (en) Message sending method and apparatus, and electronic device
CN108039998B (en) Mail processing method, receiving side terminal, sending side terminal and mail system
CN113993092A (en) Emergency call method, device, mobile terminal and network side equipment
CN113676395A (en) Information processing method, related device and readable storage medium
WO2023078301A1 (en) Chat information sending method and apparatus
CN107423139A (en) A kind of method and device shared
WO2016149312A1 (en) Information sharing control
CN116095034A (en) Message sending method and device and electronic equipment
CN114051009B (en) Message sending method and electronic equipment
CN113141296B (en) Message display method and device and electronic equipment
CN113364665B (en) Information broadcasting method and electronic equipment
CN113726584A (en) Message sending method and device and electronic equipment
CN114401281B (en) Communication management method, device, electronic equipment and readable storage medium
CN116610410B (en) Long screenshot method and device, storage medium and electronic equipment
CN115412524B (en) Message processing method, device, electronic equipment and medium

Legal Events

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