Message sending method and device, electronic equipment and storage medium

CN116743688BActive Publication Date: 2026-08-18VIVO MOBILE COMM CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310954138.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-07-31
Publication Date
2026-08-18
Estimated Expiration
2043-07-31

AI Technical Summary

Technical Problem

[0003]然而,在发送上述消息过程中,若用户误将消息发送到群聊中,例如,上述消息中可能包含有隐私信息,而且用户本意并不想将该消息发送至群聊中,如此,可能会造成消息误发,并在该消息包含隐私信息时,还会造成隐私信息的泄露

Benefits of technology

[0011] In this embodiment, the electronic device can receive a first input to a message to be sent, which includes a first sub-message and a second sub-message. The first input is used to send the message to be sent. In response to the first input, the first sub-message is sent, and after a preset time, a second sub-message is sent, which includes the first sub-message. In this solution, when sending a message to be sent, the electronic device can send the first and second sub-messages in the message to be sent sequentially. That is, the electronic device can split the message to be sent and then send it, thus avoiding the leakage of information in the message to be sent and improving the security of privacy protection of the electronic device.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116743688B_ABST
    Figure CN116743688B_ABST
Patent Text Reader

Abstract

The application discloses a message sending method and device, electronic equipment and storage medium, and belongs to the technical field of electronics. The method comprises the following steps: receiving a first input of a to-be-sent message, the to-be-sent message comprising a first sub-message and a second sub-message, and the first input being used for sending the to-be-sent message; in response to the first input, sending the first sub-message, and after a preset time length, sending the second sub-message, the second sub-message comprising the first sub-message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application belongs to the field of electronic technology, and specifically relates to a message sending method, apparatus, electronic device and storage medium. Background Technology

[0002] Currently, when users send messages to other users through electronic devices, they can generally do so through instant messaging applications. For example, electronic devices can send images or videos to other users through instant messaging applications.

[0003] However, if a user accidentally sends the message to a group chat during the process of sending the above message, for example, if the message contains private information and the user did not intend to send the message to the group chat, this may result in the message being sent by mistake, and if the message contains private information, it may also lead to the leakage of private information. Summary of the Invention

[0004] The purpose of this application is to provide a message sending method, apparatus, electronic device, and storage medium that can improve the security of electronic device privacy protection while reducing the probability of message missending.

[0005] In a first aspect, embodiments of this application provide a message sending method, the message sending method comprising: receiving a first input to a message to be sent, the message to be sent including a first sub-message and a second sub-message, the first input being used to send the message to be sent; responding to the first input, sending the first sub-message, and after a preset time period, sending the second sub-message, the second sub-message including the first sub-message.

[0006] Secondly, embodiments of this application provide a message sending device, which includes a receiving module and a sending module. The receiving module is used to receive a first input to a message to be sent, the message to be sent including a first sub-message and a second sub-message, the first input being used to send the message to be sent, the message to be sent containing privacy information; the sending module is used to respond to the first input received by the receiving module, send the first sub-message, and after a preset time period, send the second sub-message, the second sub-message containing the first sub-message.

[0007] Thirdly, embodiments of this application provide an electronic device including a processor and a memory, wherein the memory stores programs or instructions executable on the processor, and the programs or instructions, when executed by the processor, implement the steps of the method described in the first aspect.

[0008] Fourthly, embodiments of this application provide a readable storage medium on which a program or instructions are stored, which, when executed by a processor, implement the steps of the method described in the first aspect.

[0009] Fifthly, embodiments of this application provide a chip, the chip including a processor and a communication interface, the communication interface being coupled to the processor, the processor being used to run programs or instructions to implement the method as described in the first aspect.

[0010] In a sixth aspect, embodiments of this application provide a computer program product stored in a storage medium, which is executed by at least one processor to implement the method described in the first aspect.

[0011] In this embodiment, the electronic device can receive a first input to a message to be sent, which includes a first sub-message and a second sub-message. The first input is used to send the message to be sent. In response to the first input, the first sub-message is sent, and after a preset time, a second sub-message is sent, which includes the first sub-message. In this solution, when sending a message to be sent, the electronic device can send the first and second sub-messages in the message to be sent sequentially. That is, the electronic device can split the message to be sent and then send it, thus avoiding the leakage of information in the message to be sent and improving the security of privacy protection of the electronic device. Attached Figure Description

[0012] Figure 1 This is one of the flowcharts of a message sending method provided in the embodiments of this application;

[0013] Figure 2 This is one example diagram of a message display interface to be sent provided in an embodiment of this application;

[0014] Figure 3 This is a second example diagram of a message display interface to be sent provided in an embodiment of this application;

[0015] Figure 4 This is a second flowchart of a message sending method provided in an embodiment of this application;

[0016] Figure 5A This is one example diagram of a message sending interface provided in an embodiment of this application;

[0017] Figure 5B This is a second example diagram of a message sending interface provided in an embodiment of this application;

[0018] Figure 6A This is one example diagram of a message recall interface provided in an embodiment of this application;

[0019] Figure 6B This is a second example diagram of a message recall interface provided in an embodiment of this application;

[0020] Figure 7 This is an interactive flowchart of a message sending method provided in an embodiment of this application;

[0021] Figure 8A This is one example diagram of a message display interface provided in an embodiment of this application;

[0022] Figure 8B This is a second example diagram of a message display interface provided in an embodiment of this application;

[0023] Figure 9 This is a schematic diagram of the structure of a message sending device provided in an embodiment of this application;

[0024] Figure 10 This is one of the hardware structure diagrams of an electronic device provided in the embodiments of this application;

[0025] Figure 11 This is a second schematic diagram of the hardware structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0026] The technical solutions of the embodiments of this application will be clearly described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of this application. All other embodiments obtained by those skilled in the art based on the embodiments of this application are within the scope of protection of this application.

[0027] The terms "first," "second," etc., used in the specification and claims of this application are used to distinguish similar objects and not to describe a specific order or sequence. It should be understood that such terms can be used interchangeably where appropriate so that embodiments of this application can be implemented in orders other than those illustrated or described herein, and the objects distinguished by "first," "second," etc., are generally of the same class and the number of objects is not limited; for example, a first object can be one or more. Furthermore, in the specification and claims, "and / or" indicates at least one of the connected objects, and the character " / " generally indicates that the preceding and following objects are in an "or" relationship.

[0028] It should be noted that the terms "at least one," "at least one of," etc., in the specification and claims of this application refer to any one, any two, or a combination of two or more of the included items. For example, at least one of a, b, and c can mean: "a," "b," "c," "a and b," "a and c," "b and c," and "a, b, and c," where a, b, and c can be single or multiple. Similarly, "at least two" refers to two or more, and its meaning is similar to that of "at least one."

[0029] The message display method, apparatus, electronic device, and storage medium method provided in this application will be described in detail below with reference to the accompanying drawings and through specific embodiments and application scenarios.

[0030] The technical solutions provided in this application can be applied to communication scenarios, such as group chat scenarios or private chat scenarios.

[0031] Currently, when User 1 needs to send a chat message to User 2 while using Electronic Device 1, User 1 can do so through an instant messaging application on Electronic Device 1. Typically, User 1 can send chat messages to User 2 via private chat or group chat. For example, chat messages can include text, images, voice, and video.

[0032] For example, suppose user 1 wants to send image 1 to user 2 in a chat interface. After selecting image 1, user 1 clicks the message sending control, allowing user 1's electronic device 1 to send image 1 to user 2's electronic device 2, and display image 1 in the chat interface. Furthermore, if image 1 contains private information, in related technologies, if the sending time of image 1 does not exceed a preset time, user 1 can recall image 1 to ensure that user 1's privacy is not leaked. However, if the sending time of image 1 exceeds the preset time, electronic device 1 cannot recall image 1, leading to a leak of user privacy.

[0033] In the message sending method, apparatus, electronic device, and storage medium provided in this application embodiment, the electronic device can receive a first input to a message to be sent, the message to be sent including a first sub-message and a second sub-message, the first input being used to send the message to be sent; in response to the first input, the first sub-message is sent, and after a preset time period, a second sub-message is sent, the second sub-message containing the first sub-message. In this solution, when sending a message to be sent, the electronic device can send the first and second sub-messages of the message to be sent sequentially, that is, the electronic device can split the message to be sent before sending it, thus avoiding the leakage of information in the message to be sent and improving the security of privacy protection of the electronic device.

[0034] The message sending method provided in this application can be executed by a message sending device, which can be an electronic device or a functional module within an electronic device. The following description uses an electronic device as an example to illustrate the technical solution provided in this application.

[0035] This application provides a message sending method. Figure 1 A flowchart of a message sending method provided in an embodiment of this application is shown. Figure 1 As shown, the message display method provided in this application embodiment may include the following steps 201 and 202.

[0036] Step 201: The electronic device receives the first input of the message to be sent.

[0037] In this embodiment of the application, the message to be sent includes a first sub-message and a second sub-message, and the first input is used to send the message to be sent.

[0038] For example, the first input is used to send the message to be sent to the second electronic device.

[0039] For example, the number of the aforementioned second electronic devices can be one or more.

[0040] Optionally, in this embodiment of the application, the message to be sent may include at least one of the following: image, video, and text.

[0041] Optionally, in this embodiment of the application, the content of the message to be sent may be edited by the user; or stored in the first electronic device; or obtained by the user through a browser application in the electronic device.

[0042] Optionally, in this embodiment of the application, the aforementioned privacy information may include at least one of the following: the user's name information, the user's address information, the user's place of household registration information, the user's birth date information, and the user's ID card number information, etc.

[0043] Optionally, in this embodiment of the application, the first sub-message may not contain privacy information, while the second sub-message may contain the privacy information; or, the first sub-message may contain a portion of privacy information, while the second sub-message may contain another portion of privacy information.

[0044] Optionally, in this embodiment of the application, the aforementioned message to be sent can be one or more.

[0045] In one scenario, where there is only one message to be sent, the first sub-message and the second sub-message are obtained by the electronic device dividing the content of the message to be sent.

[0046] For example, such as Figure 2 As shown, assuming the message to be sent is a text message, Figure 2 The text message, represented by 10, reads: "I am XXX, I live in XXXX, and I went shopping today." The electronic device can then divide the text message according to its privacy level to obtain a first sub-message and a second sub-message. The first sub-message contains the message: "I went shopping today," and the second sub-message contains the message: "I am XXX, and I live in XXXX."

[0047] In another scenario, where there are multiple messages to be sent, the first and second sub-messages can be obtained by the electronic device dividing the content of each message among the multiple messages to be sent.

[0048] For example, such as Figure 3 As shown, assuming the messages to be sent are two text messages, Figure 3 The number 11 indicates that the multiple text messages read: "I am XXX, I live in XXXX, I went shopping today. Today was so much fun at XX mall, it'll be very late by the time I get back to the XXX area, let's talk tomorrow."

[0049] At this time, the electronic device can divide the above text message according to the privacy level to obtain a first sub-message and a second sub-message. The content of the first sub-message is: "I went shopping today; I had a lot of fun at XX mall today; let's talk tomorrow." The content of the second sub-message is: "I am XXX, I live in XXXX; it will be very late when I get back to the vicinity of XXX."

[0050] It should be noted that the first sub-message mentioned above is not limited to one; there can be multiple sub-messages, and the same applies to the second sub-message.

[0051] Optionally, in this embodiment, the first input can be a user's click input, long press input, swipe input, or preset trajectory input for the message to be sent. The specific input can be determined according to actual usage needs, and this embodiment does not impose any limitations.

[0052] Optionally, in this embodiment of the application, the electronic device can send the first sub-message and the second sub-message to other users' electronic devices in sequence in the chat interface according to the user's first input of the message to be sent.

[0053] For example, the chat interface described above can be a private chat interface or a group chat interface.

[0054] Optionally, in this embodiment of the application, the electronic device can enable message splitting mode in the settings application, so that when the electronic device sends a message to be sent, the first electronic device can split the message to be sent to obtain at least the first sub-message and the second sub-message.

[0055] For example, when displaying a settings application interface, the settings application interface may display a chat message splitting control, and the electronic device may enable message splitting mode based on the user's click input on the chat message splitting control.

[0056] For example, after the electronic device enables message splitting mode, the first electronic device can display a prompt message in the chat interface to inform the user that the message to be sent will be split and sent to other electronic devices.

[0057] For example, electronic devices can display prompts to users in a pop-up window within a chat interface.

[0058] It is understandable that when the message splitting mode is not enabled on an electronic device, the electronic device directly sends the entire message to other users' electronic devices when sending a message to be sent.

[0059] Step 202: In response to the first input, the electronic device sends the first sub-message and, after a preset time, sends the second sub-message.

[0060] In this embodiment of the application, the second sub-message includes the first sub-message.

[0061] Optionally, in this embodiment of the application, the electronic device can send the first sub-message and the second sub-message to one or more contacts in sequence, that is, to private chat and group chat respectively.

[0062] Optionally, in this embodiment of the application, the preset duration can be preset by the electronic device; or determined by the user.

[0063] For example, the electronic device may send a second sub-message 1 second after sending the first sub-message.

[0064] It is understandable that after sending the first sub-message, the electronic device can provide the user with some free time so that the user can check whether the first sub-message contains private information. If the first sub-message contains private information, since the message to be sent has not yet been completed, the electronic device can withdraw the first sub-message based on the user's input.

[0065] Optionally, in this embodiment of the application, when the electronic device sends the message to be sent to one or more contacts, the electronic device may determine the message content corresponding to the privacy information in the message to be sent as the message content of the second sub-message, and determine the message content corresponding to the non-privacy information in the message to be sent as the message content of the first sub-message. Then, the first sub-message is sent, and the second sub-message is sent after a preset time.

[0066] Optionally, in this embodiment of the application, when an electronic device sends a message to one or more contacts, if the message to be sent does not contain privacy information, the electronic device may randomly assign the message content of the first message and the message content of the second sub-message.

[0067] In other words, the message content corresponding to the first and second sub-messages mentioned above can be randomly assigned; or, the electronic device can assign it based on privacy information.

[0068] In the message sending method provided in this application embodiment, the electronic device can receive a first input to a message to be sent, which includes a first sub-message and a second sub-message. The first input is used to send the message to be sent. In response to the first input, the first sub-message is sent, and after a preset time, a second sub-message is sent, which includes the first sub-message. In this solution, when sending a message to be sent, the electronic device can send the first and second sub-messages in the message to be sent sequentially. That is, the electronic device can split the message to be sent and then send it, thus avoiding the leakage of information in the message to be sent and improving the security of privacy protection of the electronic device.

[0069] Optionally, in the embodiments of this application, combined with Figure 1 ,like Figure 4 As shown, the message to be sent includes multiple message contents; before "the electronic device sends the first sub-message" in step 202, the message sending method provided in this application embodiment further includes the following step 401.

[0070] Step 401: The electronic device divides the message content of the message to be sent into a first sub-message and a second sub-message according to the privacy level corresponding to each message content in the message to be sent.

[0071] In this embodiment of the application, the privacy level corresponding to the second sub-message is greater than the privacy level corresponding to the first sub-message.

[0072] Optionally, in this embodiment of the application, the aforementioned privacy level can be preset by the electronic device; or, the electronic device can determine it based on user input.

[0073] For example, an electronic device can display at least one privacy level control corresponding to at least one message content in a settings application, i.e., one privacy level control for one message content; then, the electronic device can adjust the privacy level of one message content corresponding to the target privacy level control based on the user's input to the target privacy level control among the at least one privacy level controls.

[0074] Optionally, in this embodiment of the application, the electronic device may determine the sending order of the first sub-message and the second sub-message based on the privacy level.

[0075] For example, the higher the privacy level, the later the first sub-message corresponding to that privacy level is sent.

[0076] For example, the privacy level corresponding to the above privacy information is the highest.

[0077] For example, the aforementioned privacy information may include at least one of the following: user avatar, user name, and user location information.

[0078] Optionally, in this embodiment of the application, if the message to be sent contains privacy information, the electronic device can divide the message to be sent according to the privacy level to obtain a first sub-message and a second sub-message.

[0079] Optionally, in this embodiment of the application, the electronic device may divide the message to be sent according to the following first rule to obtain a first sub-message and a second sub-message.

[0080] Optionally, in this embodiment of the application, if the message to be sent does not contain privacy information, the electronic device may divide the message to be sent according to the following first rule to obtain a first sub-message and a second sub-message.

[0081] For example, the first rule mentioned above includes at least one of the following (i.e., at least one of rule 1, rule 2, and rule 3 below):

[0082] Rule 1: When the above message to be sent contains an image, the electronic device may divide the image content according to the display size of the image, the size of the storage space occupied by the image, or the image elements in the image, thereby obtaining the first sub-message and the second sub-message.

[0083] For example, assuming an image is 1000*1000 pixels in size, an electronic device can divide the image into 200*200 pixels to obtain 5 sub-messages.

[0084] For example, assuming an image occupies 5MB of storage space, an electronic device can divide an image into 1MB segments to obtain 5 sub-messages.

[0085] For example, suppose an image includes elements such as people, scenery, and objects. The electronic device can divide the image according to different element types. First, the scenery and objects in the image are divided, and finally the people in the image are divided, thus obtaining three sub-messages.

[0086] Rule 2: When the first message mentioned above contains text, the electronic device may divide the message content to be sent according to the user information or special symbols in the text message.

[0087] For example, an electronic device can use a target algorithm to analyze the semantics of the text content corresponding to the text message, and then divide the text content according to the semantics to obtain the first sub-message and the second sub-message mentioned above.

[0088] For example, an electronic device can use the aforementioned target algorithm to obtain punctuation marks in the aforementioned text content, and then divide the text content using the punctuation marks to obtain the aforementioned first sub-message and second sub-message.

[0089] For example, the target algorithm described above can be an artificial intelligence algorithm or a neural network algorithm.

[0090] Rule 3: When the message to be sent contains video, the electronic device may divide the message content to be sent according to the duration of the video.

[0091] For example, assuming a video is 10 minutes long, an electronic device can divide the video into 5 sub-messages every 2 minutes.

[0092] Optionally, in this embodiment of the application, when the electronic device divides the video content corresponding to the video message, the electronic device may divide it according to the time sequence of the video to obtain the first sub-message and the second sub-message; or, the electronic device may randomly select video segments from the video and then divide them to obtain the first sub-message and the second sub-message.

[0093] Optionally, in this embodiment of the application, when the electronic device obtains the first sub-message and the second sub-message, the electronic device may obtain the position of the message content of the first sub-message and the second sub-message in the message content to be sent.

[0094] For example, after determining the message to be sent, the electronic device can divide the message to be sent in the manner described above to obtain a first sub-message and a second sub-message. During the division, the electronic device records the position of the message content corresponding to each sub-message in the message content corresponding to the message to be sent, so as to obtain the position information of the message content corresponding to each sub-message in the message content corresponding to the message to be sent.

[0095] Optionally, in this embodiment of the application, after the electronic device obtains the position information of the message content corresponding to each sub-message in the message content corresponding to the message to be sent, it can store the position information of the message content corresponding to each sub-message in the message content corresponding to the message to be sent in the following two ways.

[0096] Method 1: The electronic device can carry the location information corresponding to the message content of the first sub-message in the first sub-message, and carry the location information corresponding to the message content of the second sub-message in the second sub-message.

[0097] Method 2: The electronic device can store the location information corresponding to the message content of the first sub-message and the location information corresponding to the message content of the second sub-message in the server, and establish the association between the location information corresponding to the message content of the first sub-message and the first sub-message, and the association between the location information corresponding to the message content of the second sub-message and the second sub-message in the server.

[0098] In this embodiment, the electronic device can divide the message content of the message to be sent into a first sub-message and a second sub-message based on the privacy level corresponding to the message content. Thus, when sending a message, the electronic device can send the first and second sub-messages separately, avoiding the leakage of user privacy caused by directly sending the complete message to other users when the message contains private information.

[0099] Optionally, in this embodiment of the application, the first input is used to send the message to be sent to at least two contacts in the first group; after the "electronic device sends the first sub-message" in step 202, the message sending method provided in this embodiment of the application further includes the following step 501.

[0100] Step 501: The electronic device sends the aforementioned first sub-message to the first contact person.

[0101] In this embodiment of the application, the first contact person is all or some of the contacts among at least two contacts.

[0102] For example, the first group mentioned above is a group chat group.

[0103] Optionally, in this embodiment of the application, when the electronic device sends a message to be sent in the first group, it does not send the first sub-message and the second sub-message to everyone in the first group at once, but rather pushes the message to the group based on the following preset rules.

[0104] In this embodiment of the application, the aforementioned first contact person satisfies at least one of the following (i.e., at least one of A, B, and C below):

[0105] A) The number of communications between the first contact and the sender of the first sub-message is greater than or equal to the first threshold;

[0106] For example, regarding A) above, the electronic device can identify the user as the first contact if the user's chat frequency with at least two contacts in the first group is greater than a preset threshold, and prioritize push notifications to the first contact when sending the first sub-message.

[0107] It is understandable that since the first contact chats with the user more frequently, the electronic device can determine that the user and the first contact are relatively familiar with each other. Therefore, the electronic device can prioritize pushing the content of the first sub-message to the first contact. In this way, when the first contact realizes that the content of the first sub-message contains private information, the first contact can promptly notify the user to withdraw the first sub-message.

[0108] B) The activity level of the first contact person in the first group meets the first condition;

[0109] For example, regarding B) above, the electronic device can identify the first contact as the first contact based on the contact whose activity level in the first group is greater than a preset threshold, and prioritize push notifications to the first contact when sending the first sub-message.

[0110] It's understandable that more active contacts will frequently view the messages in the first group; thus, when a user sends the first sub-message, more active contacts can promptly see the corresponding message content. If the message content of the first sub-message contains private information, the user can be notified in time to retract the first message.

[0111] C) The first contact person is related to the content of the message to be sent.

[0112] It should be noted that the above-mentioned association is preset by the electronic device.

[0113] For example, regarding C) above, the electronic device can determine the first contact person based on the correlation between the message element type in the message content corresponding to the first sub-message and the tag notes of the contact person in the first group, and prioritize message push to the first contact person when sending the first message content.

[0114] For example, the message element types mentioned above may include at least one of the following: scenery, medical, electronics, internet technology (IT), and economy.

[0115] For example, assuming the message content in the first sub-message is related to professional knowledge, including professional information involving sensitive information, the electronic device can prioritize pushing this first sub-message to contacts who match this professional information tag, such as those in economics, IT, or healthcare.

[0116] It should be noted that the above example can prevent private information from being sent directly to all contacts. Electronic devices can reduce the message receiving range to a minimum. In addition, the information received by the above-mentioned contacts is displayed in the group chat, but the above message content in the group chat cannot be seen by contacts not within the push range.

[0117] For example, an electronic device can update the association between the first contact and the message content corresponding to the first sub-message in the settings application.

[0118] Optionally, in this embodiment of the application, after sending the first sub-message, the electronic device may send a second sub-message to a third contact.

[0119] For example, the above-mentioned at least two contacts include a third contact, the number of which is greater than the number of the first contacts, and the third contacts include the first contacts.

[0120] Optionally, in this embodiment of the application, when the electronic device sends a message to be sent in the first group, the electronic device may send the first sub-message of the message to be sent to the first contact; then, after a preset time, it continues to send the second sub-message of the message to be sent to the third contact; until the complete message to be sent is sent to all contacts in the first group.

[0121] For example, such as Figure 5A As shown, taking the first message content as an image as an example, the electronic device can divide the group chat into corresponding numbers based on the number of times the image is divided. For example, if there are 20 people in the group chat, and the image needs to be loaded in five parts, then the image is also sent to the contacts in the group chat in five parts, four people each time. As the image content increases, the range of people to be sent also increases. For example, the image content is first displayed in one-fifth... Figure 5A The first image content is shown in the image and sent to four contacts in the group chat. Figure 5A The numbers 1, 2, 3, and 4 are used to represent them, such as... Figure 5B As shown, two-fifths of the image content is displayed. Figure 5B The second image content indicates that the message was sent to eight contacts in the group chat, including the previous four contacts. Figure 5B The numbers 1, 2, 3, 4, 5, 6, 7, 8 are used to represent the numbers, and so on, until the complete image is sent to everyone in the group chat.

[0122] In this embodiment of the application, when an electronic device sends a first sub-message in a first group, it can select some contacts in the first group for priority push. In this way, when the message to be sent contains private information, the scope of privacy information reception can be reduced to a minimum to ensure the security of user privacy.

[0123] Optionally, in this embodiment of the application, before "the electronic device sends the second sub-message" in step 202 above, the message sending method provided in this embodiment of the application further includes the following step 601.

[0124] Step 601: If a second message is received from the second contact, the electronic device cancels sending the second sub-message and withdraws the first sub-message.

[0125] In this embodiment of the application, the second contact person is the recipient of the first sub-message; the second message indicates that the first sub-message contains privacy information.

[0126] For example, the second message mentioned above is a negative or derogatory response.

[0127] For example, the negative or deniable responses mentioned above are messages sent by other contacts that contain preset characters, such as "withdraw" or "delete".

[0128] For example, after receiving the first sub-message, if the second contact perceives that the first sub-message contains the user's private information, the second contact can send a second message to the user, the content of which is a retraction. At this time, after receiving the second message from the second contact, the electronic device can obtain the semantic information of the message content of the second message based on a target algorithm. If this semantic information matches preset characters, the electronic device considers that the first sub-message contains the user's private information. In this case, the electronic device cancels sending the second sub-message and retracts the first sub-message.

[0129] For example, the target algorithm described above can be either an artificial intelligence (AI) algorithm or a neural network algorithm.

[0130] Optionally, in this embodiment of the application, the negative or negative reply may be a reply message in the first group; or, the negative or negative reply may be a reply message sent privately to the user by a contact in the first group.

[0131] For example, such as Figure 6A In the first group, if other contacts quote the information or screenshot the message and send it to the group chat, and reply with words such as "retract", "delete", or "security leak", or if the electronic device determines that the reply is a negative response to the message, such as mentioning a user, it can be considered related to the information. All of these will trigger the message protection recall mechanism. At this time, the electronic device will stop sending the message and recall the sent message.

[0132] For example, such as Figure 6B In a personal chat, if colleague A quotes the information or screenshots the message and then sends it to the user, and replies with messages containing words such as "recall," "delete," or "security leak," the message protection recall mechanism will be triggered. At this time, the electronic device will stop sending messages and recall the sent messages.

[0133] Optionally, in this embodiment of the application, when the number of sub-messages in the message to be sent exceeds the first threshold and the number of people pushed to exceeds the second threshold, if no negative or passive reply is received in the electronic device, the electronic device determines that the message to be sent is safe, and at this time the message to be sent can be fully displayed and pushed to all people.

[0134] Optionally, in this embodiment of the application, after the electronic device has completely sent the message to be sent to all contacts in the first group, if the user notices that there is private information in the message content, and the sending time of the complete message is less than or equal to the preset time, the user can recall the sent message content through the recall method in the related technology.

[0135] In some embodiments of this application, the electronic device may display the message to all group members only after a certain period of time has elapsed and no negative information has been received, i.e., a message from a group member reminding the sender that the message was sent incorrectly. This can reduce the problem of privacy leaks caused by users accidentally sending information to group chats.

[0136] The message sending method provided in this application will be explained interactively through specific examples below. For example... Figure 7 As shown, this can be achieved through steps 20 to 24 below. Taking the electronic device as an example, which includes a first electronic device and a second electronic device, the above steps 20 to 24 will be explained in detail.

[0137] Step 20: The first electronic device receives the first input of the message to be sent.

[0138] In this embodiment of the application, the message to be sent includes a first sub-message and a second sub-message.

[0139] Step 21: In response to the first input, the first electronic device sends a first sub-message to the second electronic device, and after a preset time, sends a second sub-message to the second electronic device.

[0140] Step 22: The second electronic device receives the first sub-message sent by the first electronic device and displays the first sub-message; it also receives the second sub-message sent by the first electronic device and displays the second sub-message.

[0141] Optionally, in this embodiment of the application, the second electronic device displays the first sub-message and the second sub-message in the display area corresponding to the message to be sent. That is, the message content corresponding to the first sub-message and the second sub-message is displayed in the same message area, i.e., the first sub-message and the second sub-message correspond to the same sender and the same display area.

[0142] For example, the second electronic device may display only one message area in the chat interface, which includes the message content corresponding to the first and second sub-messages mentioned above.

[0143] In one example, the second electronic device can sequentially display the first sub-message and the second sub-message in the chat interface. That is, once the first electronic device finishes sending a sub-message, the second electronic device can display the message content corresponding to the first sub-message in the chat interface.

[0144] For example, taking the first image as the message to be sent, the first sub-message is the content of the first image, and the second sub-message is the content of the second image. The content of the first image includes a portion of the content of the first image, and the content of the second image includes the content of the first image and image content in the first image other than the content of the first image. The second electronic device can display the content of the first image in the display area corresponding to the first image in the chat interface. Furthermore, after the first electronic device has sent the content of the second image, the second electronic device can overlay the content of the second image in the display area corresponding to the first image in the chat interface.

[0145] In another example, the second electronic device can determine how to display the message content corresponding to the first sub-message and the message content corresponding to the second sub-message after receiving the message to be sent.

[0146] For example, such as Figure 8A As shown, taking the display of an image by a second electronic device as an example, assuming that the image contains human and landscape elements, when displaying the image, the electronic device can prioritize loading and displaying the local screen element 12 corresponding to the human element, such as... Figure 8B As shown, the electronic device can then load the partial image elements corresponding to the landscape elements and the partial image elements corresponding to the character elements, and display the partial image elements corresponding to the landscape elements and the partial image elements corresponding to the character elements 13.

[0147] It should be noted that since the content of the second image includes the content of the first image, the content of the second image displayed in the display area corresponding to the message to be sent will cover the content of the first image.

[0148] Optionally, in this embodiment of the application, the electronic device displays the first sub-message and the second sub-message using a conventional display method; that is, each sub-message corresponding to the message to be sent can correspond to a display area. In other words, the display area corresponding to the first sub-message is different from the display area corresponding to the second sub-message.

[0149] Optionally, in this embodiment of the application, after the first sub-message is sent, the second electronic device may display the message content corresponding to the first sub-message at the first position of the message to be sent.

[0150] For example, the first position mentioned above is determined based on the position of each sub-message content contained in the message content to be sent. That is, the second electronic device can display each sub-message content at the corresponding display position in the message to be sent, based on the original display position of each sub-message content in the message content to be sent.

[0151] For example, the second electronic device may determine the first position through at least two of the following possible implementations:

[0152] In one alternative implementation, the second electronic device may carry a first position in the first sub-message, so that the second electronic device can directly parse the display position of the message content corresponding to the first sub-message in the message to be sent.

[0153] In another alternative implementation, after receiving the first sub-message, the second electronic device can obtain the display position corresponding to the message content of the first sub-message from the server, and display the message content of the first sub-message at the first position in the display area corresponding to the message to be sent, and the second sub-message is handled in the same way.

[0154] Thus, the second electronic device can determine the display position of the first sub-message in the display area corresponding to the first sub-message within the message to be sent, based on the position of the first sub-message's content within the message to be sent; and similarly, it can determine the display position of the second sub-message's content within the display area corresponding to the second sub-message within the message to be sent. Furthermore, when displaying the two sub-messages, the second electronic device can ensure that the display positions of the first and second sub-messages' corresponding content are consistent with their positions within the message to be sent, thereby guaranteeing the accuracy of the position information of the first and second sub-messages displayed by the electronic device.

[0155] Optionally, in the embodiments of this application, the message sending method provided in the embodiments of this application may further include the following steps 23 and 24.

[0156] Step 23: The second electronic device sends a second message to the first electronic device.

[0157] Step 24: The first electronic device receives the second message sent by the second electronic device, cancels the sending of the second sub-message, and withdraws the message content corresponding to the first sub-message.

[0158] In the message sending method provided in this application embodiment, when an electronic device sends a message to be sent, it can send the first sub-message and the second sub-message in the message to be sent in sequence. That is, the electronic device can split the message to be sent and then send it. In this way, the information in the message to be sent can be avoided, and the security of privacy protection of the electronic device can be improved.

[0159] It should be noted that the message sending method provided in this application embodiment can be executed by a message sending device, an electronic device, or a functional module or entity within an electronic device. This application embodiment uses a message sending device executing the message sending method as an example to illustrate the message sending device provided in this application embodiment.

[0160] Figure 9 A schematic diagram of a possible structure of the message sending device involved in an embodiment of this application is shown. For example... Figure 9 As shown, the message sending device 70 may include a receiving module 71 and a sending module 72.

[0161] The receiving module 71 is used to receive a first input to a message to be sent, which includes a first sub-message and a second sub-message. The first input is used to send the message to be sent. The sending module is used to respond to the first input received by the receiving module 71, send the first sub-message, and send the second sub-message after a preset time, which includes the first sub-message.

[0162] In one possible implementation, the message to be sent includes multiple message contents; the message sending device 70 further includes: a division module; the division module is used to divide the message contents of the message to be sent according to the privacy level corresponding to each message content in the message to be sent before the sending module sends the first sub-message, to obtain a first sub-message and a second sub-message, wherein the privacy level corresponding to the second sub-message is greater than the privacy level corresponding to the first sub-message.

[0163] In one possible implementation, the first input is used to send a message to be sent to at least two contacts in a first group; the sending module is specifically used to send a first sub-message to the first contact; wherein, the first contact is all or some of the contacts among the at least two contacts; the first contact satisfies at least one of the following: the number of communications between the first contact and the sender of the first sub-message is greater than or equal to a first threshold; the activity level of the first contact in the first group satisfies a first condition; the first contact has a correlation with the content of the message to be sent.

[0164] In one possible implementation, the message sending device 70 further includes a processing module. The processing module is configured to, before the sending module 72 sends the second sub-message, if it receives a first message sent by a second contact, cancel sending the second sub-message and withdraw the first sub-message; wherein the second contact is the recipient of the first sub-message; and the first message indicates that the first sub-message contains privacy information.

[0165] This application provides a message sending device. When sending a message to be sent, the message sending device can sequentially send the first sub-message and the second sub-message in the message to be sent. In other words, the message sending device can split the message to be sent before sending it. This can avoid the leakage of information in the message to be sent and improve the security of privacy protection of the message sending device.

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

[0167] The message sending device in this application embodiment can be a device with an operating system. This operating system can be Android, iOS, or other possible operating systems; this application embodiment does not specifically limit the specific operating system.

[0168] The message sending device provided in this application embodiment can implement the various processes implemented in the above method embodiments, and will not be described again here to avoid repetition.

[0169] Optionally, such as Figure 10 As shown, this application embodiment also provides an electronic device 90, including a processor 91 and a memory 92. The memory 92 stores a program or instructions that can run on the processor 91. When the program or instructions are executed by the processor 91, they implement the various steps of the above-described message display method embodiment and can achieve the same technical effect. To avoid repetition, they will not be described again here.

[0170] It should be noted that the electronic devices in the embodiments of this application include the mobile electronic devices and non-mobile electronic devices described above.

[0171] Figure 11 A schematic diagram of the hardware structure of an electronic device to implement an embodiment of this application.

[0172] The electronic device 100 includes, but is not limited to, components such as: radio frequency unit 101, network module 102, audio output unit 103, input unit 104, sensor 105, display unit 106, user input unit 107, interface unit 108, memory 109, and processor 110.

[0173] Those skilled in the art will understand that the electronic device 100 may also include a power supply (such as a battery) for supplying power to various components. The power supply may be logically connected to the processor 110 through a power management system, thereby enabling functions such as managing charging, discharging, and power consumption through the power management system. Figure 11 The electronic device structure shown does not constitute a limitation on the electronic device. The electronic device may include more or fewer components than shown, or combine certain components, or have different component arrangements, which will not be elaborated here.

[0174] The user input unit 107 is configured to receive a first input to a message to be sent, which includes a first sub-message and a second sub-message. The first input is used to send the message to be sent. The processor 110 is configured to respond to the first input, send the first sub-message, and after a preset time, send the second sub-message, which includes the first sub-message.

[0175] This application provides an electronic device that, when sending a message to be sent, can sequentially send the first sub-message and the second sub-message of the message to be sent. In other words, the electronic device can split the message to be sent and then send it, thereby avoiding the leakage of information in the message to be sent and improving the security of privacy protection of the electronic device.

[0176] Optionally, in this embodiment of the application, the message to be sent includes multiple message contents; the processor 110 is further configured to, before sending the first sub-message, divide the message contents of the message to be sent according to the privacy level corresponding to each message content in the message to be sent, to obtain a first sub-message and a second sub-message, wherein the privacy level corresponding to the second sub-message is greater than the privacy level corresponding to the first sub-message.

[0177] Optionally, in this embodiment of the application, the first input is used to send a message to be sent to at least two contacts in the first group; the processor 110 is specifically used to send a first sub-message to the first contact; wherein, the first contact is all or some of the contacts among the at least two contacts; the first contact satisfies at least one of the following: the number of communications between the first contact and the sender of the first sub-message is greater than or equal to a first threshold; the activity level of the first contact in the first group satisfies a first condition; the first contact has an association with the content of the message to be sent.

[0178] Optionally, in this embodiment of the application, the processor 110 is further configured to, before sending the second sub-message, if a second message sent by a second contact is received, cancel sending the second sub-message and withdraw the first sub-message; wherein, the second contact is the recipient of the first sub-message; the second message indicates that the first sub-message contains privacy information.

[0179] The electronic device provided in this application embodiment can implement the various processes executed by the second electronic device in the above method embodiment and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0180] The beneficial effects of the various implementation methods in this embodiment can be found in the beneficial effects of the corresponding implementation methods in the above method embodiments. To avoid repetition, they will not be repeated here.

[0181] It should be understood that, in this embodiment, the input unit 104 may include a graphics processing unit (GPU) 1041 and a microphone 1042. The GPU 1041 processes image data of still images or videos obtained by an image capture device (such as a camera) in video capture mode or image capture mode. The display unit 106 may include a display panel 1061, which may be configured in the form of a liquid crystal display, an organic light-emitting diode, or the like. The user input unit 107 includes at least one of a touch panel 1071 and other input devices 1072. The touch panel 1071 is also called a touch screen. The touch panel 1071 may include a touch detection device and a touch controller. Other input devices 1072 may include, but are not limited to, physical keyboards, function keys (such as volume control buttons, power buttons, etc.), trackballs, mice, and joysticks, which will not be described in detail here.

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

[0183] Processor 110 may include one or more processing units; optionally, processor 110 integrates an application processor and a modem processor, wherein the application processor mainly handles operations involving the operating system, user interface, and applications, and the modem processor mainly handles wireless communication signals, such as a baseband processor. It is understood that the aforementioned modem processor may also not be integrated into processor 110.

[0184] This application also provides a readable storage medium storing a program or instructions. When the program or instructions are executed by a processor, they implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, they will not be described again here.

[0185] The processor is the processor in the electronic device described in the above embodiments. The readable storage medium includes computer-readable storage media, such as computer read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.

[0186] This application embodiment also provides a chip, which includes a processor and a communication interface. The communication interface is coupled to the processor. The processor is used to run programs or instructions to implement the various processes of the above method embodiments and achieve the same technical effect. To avoid repetition, it will not be described again here.

[0187] It should be understood that the chip mentioned in the embodiments of this application may also be referred to as a system-on-a-chip, system chip, chip system, or system-on-a-chip, etc.

[0188] This application provides a computer program product that is stored in a storage medium and executed by at least one processor to implement the various processes of the message display method embodiment described above, and can achieve the same technical effect. To avoid repetition, it will not be described again here.

[0189] It should be noted that, in this document, the terms "comprising," "including," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements includes not only those elements but also other elements not expressly listed, or elements inherent to such a process, method, article, or apparatus. Without further limitations, an element defined by the phrase "comprising one..." does not exclude the presence of other identical elements in the process, method, article, or apparatus that includes that element. Furthermore, it should be noted that the scope of the methods and apparatuses in the embodiments of this application is not limited to performing functions in the order shown or discussed, but may also include performing functions substantially simultaneously or in the reverse order, depending on the functions involved. For example, the described methods may be performed in a different order than described, and various steps may be added, omitted, or combined. Additionally, features described with reference to certain examples may be combined in other examples.

[0190] Through the above description of the embodiments, those skilled in the art can clearly understand that the methods of the above embodiments can be implemented by means of software plus necessary general-purpose hardware platforms. Of course, they 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 this application, in essence, or the part that contributes to the prior art, can be embodied in the form of a computer software product. This computer software product is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) and includes several instructions to cause a terminal (which may be a mobile phone, computer, server, or network device, etc.) to execute the methods described in the various embodiments of this application.

[0191] The embodiments of this application have been described above with reference to the accompanying drawings. However, this application is not limited to the specific embodiments described above. The specific embodiments described above are merely illustrative and not restrictive. Those skilled in the art can make many other forms under the guidance of this application without departing from the spirit and scope of the claims, and all of these forms are within the protection scope of this application.

Claims

1. A message sending method, characterized in that, The method includes: Receive a first input to a message to be sent, the first input being used to send the message to be sent; In response to the first input, the message content in the message to be sent is divided into a first sub-message and a second sub-message according to the privacy level corresponding to each message content in the message to be sent. The first sub-message is sent, and after a preset time, the second sub-message is sent. The second sub-message contains the first sub-message, and the privacy level corresponding to the second sub-message is greater than the privacy level corresponding to the first sub-message. The first input is used to send the message to be sent to at least two contacts in the first group; Sending the first sub-message includes: Send the first sub-message to the first contact; Wherein, the first contact person is all or some of the at least two contacts; The first contact person satisfies at least one of the following: The number of communications between the first contact and the sender of the first sub-message is greater than or equal to the first threshold. The activity level of the first contact in the first group meets the first condition; The first contact person is associated with the content of the message to be sent.

2. The method according to claim 1, characterized in that, Before sending the second sub-message, the method further includes: If a second message is received from a second contact, the sending of the second sub-message is cancelled, and the first sub-message is withdrawn; The second contact person is the recipient of the first sub-message; The second message indicates that the first sub-message contains privacy information.

3. A message sending device, characterized in that, The message sending device includes: a receiving module, a sending module, and a dividing module; The receiving module is used to receive a first input to the message to be sent, and the first input is used to send the message to be sent. The segmentation module is used to respond to the first input received by the receiving module, and to segment the message content of the message to be sent according to the privacy level corresponding to each message content in the message to be sent, to obtain a first sub-message and a second sub-message, wherein the privacy level corresponding to the second sub-message is greater than the privacy level corresponding to the first sub-message. The sending module is used to send the first sub-message and, after a preset time, send the second sub-message, wherein the second sub-message contains the first sub-message; The first input is used to send the message to be sent to at least two contacts in the first group; the sending module is specifically used to send the first sub-message to the first contact. Wherein, the first contact person is all or some of the at least two contacts; The first contact person satisfies at least one of the following: The number of communications between the first contact and the sender of the first sub-message is greater than or equal to the first threshold. The activity level of the first contact in the first group meets the first condition; The first contact person is associated with the content of the message to be sent.

4. The apparatus according to claim 3, characterized in that, The message sending device further includes: a processing module; The processing module is configured to, before the sending module sends the second sub-message, if it receives a first message sent by the second contact, cancel sending the second sub-message and withdraw the first sub-message; The second contact person is the recipient of the first sub-message; The first message indicates that the first sub-message contains privacy information.

5. An electronic device, characterized in that, It includes a processor and a memory, the memory storing a program or instructions that can run on the processor, the program or instructions being executed by the processor to implement the steps of the message sending method as described in any one of claims 1 to 2.

6. A readable storage medium, characterized in that, The readable storage medium stores a program or instructions that, when executed by a processor, implement the steps of the message sending method as described in any one of claims 1 to 2.

Citation Information

Patent Citations

  • Methods and Systems for Exchanging Private Messages

    US20150373021A1

  • Policy-based delayed dispatch of e-mail messages

    US20160182429A1