Group message forwarding method, electronic device, and readable storage medium

By using server-side encryption and feedback mechanisms to process group messages, the problem of poor privacy in group message communication is solved, ensuring that the designated recipient can read the message while other members cannot, thus improving the privacy and security of communication.

CN116938591BActive Publication Date: 2026-08-04INNER MONGOLIA MOBILE +1
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
INNER MONGOLIA MOBILE
Filing Date
2023-08-29
Publication Date
2026-08-04

AI Technical Summary

Technical Problem

In group messaging scenarios, messages sent by the sender may be read by other members of the group besides the designated recipient, resulting in poor privacy.

Method used

The server checks whether the content to be forwarded by the message sender meets the privacy forwarding conditions. If the conditions are met, the content is encrypted, an encrypted message to be forwarded is generated, and it is sent only to the designated message recipient. The server also sends the message forwarding result back to the message sender.

Benefits of technology

This feature enables only designated recipients to read messages in group messaging, enhancing the privacy of group messaging, preventing other members from reading messages, and ensuring the security and privacy of message sending.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116938591B_ABST
    Figure CN116938591B_ABST
Patent Text Reader

Abstract

The application discloses a group message forwarding method, an electronic device and a readable storage medium, and is used for a server. The server is used for forwarding a message for a target group. The target group includes a message sender, a message receiver and at least one group member. The group message forwarding method comprises the following steps: when it is detected that to-be-forwarded content sent by the message sender meets a privacy forwarding condition, the to-be-forwarded content is encrypted to obtain to-be-forwarded encrypted messages; the to-be-forwarded encrypted messages are sent to the message receiver, so that the message receiver sends message feedback information to the server by decrypting the to-be-forwarded encrypted messages; and the message forwarding result corresponding to the message feedback information is sent to the message sender, so that the message sender determines whether the message receiver receives the to-be-forwarded content according to the message forwarding result. The application solves the technical problem of poor privacy in group message communication.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of communication technology, and in particular to a group message forwarding method, an electronic device, and a readable storage medium. Background Technology

[0002] With the continuous development of the mobile Internet, instant messaging software plays an increasingly important role in people's daily lives. At the same time, the group communication function in instant messaging software is also being used more and more widely, and group messaging scenarios such as work groups and interest groups are commonplace.

[0003] Currently, in group messaging scenarios, the message sent by the message sender may need to be sent to a specific message receiver. However, since multicast communication sends the message sent by the message sender to all group members, the message may be read by other members in the group. Therefore, the privacy of current group messaging is poor. Summary of the Invention

[0004] The main objective of this application is to provide a group message forwarding method, an electronic device, and a readable storage medium, aiming to solve the technical problem of poor privacy in existing group message communication.

[0005] To achieve the above objectives, this application provides a group message forwarding method applied to a server. The server is used to forward messages to a target group, which includes a message sender, a message receiver, and at least one group member. The group message forwarding method includes:

[0006] When it is detected that the content to be forwarded sent by the message sender meets the privacy forwarding conditions, the content to be forwarded is encrypted to obtain the encrypted message to be forwarded;

[0007] The encrypted message to be forwarded is sent to the message recipient, so that the message recipient can decrypt the encrypted message to be forwarded and send message feedback information to the server;

[0008] The message forwarding result corresponding to the message feedback information is sent to the message sender, so that the message sender can determine whether the message receiver has received the content to be forwarded based on the message forwarding result.

[0009] To achieve the above objectives, this application also provides a group message forwarding device applied to a server, the server being used to forward messages to a target group, the target group including a message sender, a message receiver, and at least one group member, the group message forwarding device comprising:

[0010] The detection module is used to encrypt the content to be forwarded when it is detected that the content to be forwarded sent by the message sender meets the privacy forwarding conditions, so as to obtain the encrypted message to be forwarded.

[0011] The first sending module is used to send the encrypted message to be forwarded to the message receiver, so that the message receiver can send message feedback information to the server by decrypting the encrypted message to be forwarded;

[0012] The second sending module is used to send the message forwarding result corresponding to the message feedback information to the message sender, so that the message sender can determine whether the message receiver receives the content to be forwarded based on the message forwarding result.

[0013] This application also provides an electronic device comprising: at least one processor and a memory communicatively connected to the at least one processor, the memory storing instructions executable by the at least one processor, the instructions being executed by the at least one processor to enable the at least one processor to perform the steps of the group message forwarding method described above.

[0014] This application also provides a computer-readable storage medium storing a program implementing a group message forwarding method, wherein when the program is executed by a processor, it implements the steps of the group message forwarding method as described above.

[0015] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the group message forwarding method described above.

[0016] In this application, when forwarding group messages, the server first checks whether the content to be forwarded sent by the message sender meets the privacy forwarding conditions. If the content to be forwarded meets the privacy forwarding conditions, the server encrypts the content to be forwarded to obtain an encrypted message to be forwarded. The encrypted message to be forwarded is then sent to the message recipient. After receiving the encrypted message to be forwarded, the message recipient decrypts the encrypted content to be forwarded and sends a message feedback information to the server. Finally, the server generates the forwarding result of the encrypted message to be forwarded based on the message feedback information. This achieves the purpose of forwarding the content to be forwarded from the message sender to the message recipient in the target group through the server.

[0017] Because the encrypted message to be forwarded, obtained by encrypting the content sent by the message sender, can be decrypted by the recipient, the server acts as a message forwarding medium. It encrypts the messages transmitted between the message sender and the message recipient, enabling the designated message recipient to read the content to be forwarded. At the same time, the server acts as a message feedback medium, providing feedback on the message forwarding result through the message feedback information sent by the message recipient. This allows the message sender to confirm the sending result of the content to be forwarded. Thus, the server completes the sending and reading of the content to be forwarded by the message sender to the message recipient in a group message communication scenario. Therefore, it achieves the goal that other group members in the target group cannot read the content to be forwarded while the message sender sends the content to be forwarded to the message recipient through the server.

[0018] Based on this, this application uses a server to encrypt and forward the content sent by the message sender, thereby enabling the sending and reading of messages in group messaging scenarios. This achieves the goal of sending the content to be forwarded to the designated message receiver, rather than the message sender directly sending the content to all members of the target group. Therefore, it overcomes the technical drawback of multicast communication, which sends the message sent by the message sender to all group members, potentially leading to the message being read by other members of the group. This improves the privacy of group messaging communication. Attached Figure Description

[0019] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application.

[0020] To more clearly illustrate the technical solutions in the embodiments of this application or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, for those skilled in the art, other drawings can be obtained based on these drawings without creative effort.

[0021] Figure 1 A flowchart illustrating the group message forwarding method provided in Embodiment 1 of this application;

[0022] Figure 2 This is a schematic diagram of a group message forwarding scenario for the group message forwarding method provided in Embodiment 1 of this application;

[0023] Figure 3 This is a flowchart illustrating the group message forwarding method provided in Embodiment 2 of this application;

[0024] Figure 4This is a schematic diagram of the group message forwarding device provided in Embodiment 3 of this application;

[0025] Figure 5 This is a schematic diagram of the structure of the electronic device provided in Embodiment 5 of this application.

[0026] The purpose, features, and advantages of this application will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0027] To make the above-mentioned objects, features, and advantages of the present invention more apparent and understandable, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.

[0028] Example 1

[0029] As the application scenarios of group communication functions in instant messaging software become increasingly diverse, the message sending needs of message senders are also becoming more varied. For example, assuming there are 100 group members, if message sender A wants to send content to message recipients B, C, D, and E, then after the message sender sends the message in the group, the other 95 group members can also see the message. Therefore, the privacy of current group message communication is poor. At the same time, if the "private sending" function is to be implemented within the group, it usually involves complex processing, which leads to message redundancy on the server, increases the size of the message, and has a certain impact on the network during communication, thus reducing the overall message processing efficiency. Therefore, there is an urgent need for a method to improve the privacy of group message communication.

[0030] This application provides a group message forwarding method applied to a server. The server is used to forward messages to a target group, which includes a message sender, a message receiver, and at least one group member. In Embodiment 1 of the group message forwarding method of this application, refer to... Figure 1 The group message forwarding method includes:

[0031] Step S10: When it is detected that the content to be forwarded sent by the message sender meets the privacy forwarding conditions, the content to be forwarded is encrypted to obtain the encrypted message to be forwarded.

[0032] Step S20: The encrypted message to be forwarded is sent to the message receiver so that the message receiver can decrypt the encrypted message to be forwarded and send message feedback information to the server.

[0033] Step S30: Send the message forwarding result corresponding to the message feedback information to the message sender, so that the message sender can determine whether the message receiver has received the content to be forwarded based on the message forwarding result.

[0034] In this embodiment, it should be noted that, although Figure 1 The logical order is shown, but in some cases, the steps shown or described may be performed in a different order than that shown here. The group message forwarding method is applied to a server, which can be a computer or personal PC, etc. The server is used to forward messages to a target group. The target group refers to a group in instant messaging software that has message privacy transmission requirements. Message privacy transmission requirements refer to the message transmission requirements between the message sender and the designated message receiver. The target group includes a message sender and a message receiver, where each message sender and message receiver can be one or more. The specific form of the message is not specifically limited in this embodiment. Group members refer to group members in the target group who do not participate in sending and receiving the content to be forwarded. The content to be forwarded is used to represent the content waiting for the server to forward, and can specifically consist of group identification information, communication information, and receiver identity information. The communication information can specifically be text, images, or symbols, etc. The group identification information can specifically be the group name or group ID of the target group. Documents (identity verification documents), etc. The recipient's identity information can specifically be the recipient's name or recipient's ID. The message sender refers to the initiator of the group message communication, and the message receiver refers to the recipient of the group message communication. Both the message sender and the message receiver can be computers, personal PCs, or mobile phones, etc. When group messages are transmitted between the message sender, the server, and the message receiver, each of the three parties will perform steps in the group message communication that are different from existing technologies. For example, in one feasible method, before executing the group message forwarding method, the message sender will first obtain the message receiver's ID and send the message receiver's ID and the actual content to be sent to the message receiver to the server so that the server can execute the group message forwarding method. The message receiver can decrypt the message relayed by the server and then send message feedback information to the server. The server then transmits the message feedback information to the message sender, thereby completing the sending and reading of the content to be forwarded.

[0035] Additionally, it should be noted that message feedback information is used to indicate the reception status of the encrypted message to be forwarded, specifically whether the encrypted message was received successfully or failed to be received. The message forwarding result is used to characterize the message forwarding status, specifically whether the message forwarding was successful or failed. Successful reception of the encrypted message corresponds to successful message forwarding, and failure to receive the encrypted message corresponds to failed message forwarding. The encrypted message to be forwarded represents the encrypted content to be forwarded. The encryption and decryption process between the server and the message receiver relies on a key pair. For example, in one feasible approach, the server obtains... Upon receiving the content to be forwarded, the system first identifies the message recipient based on the recipient ID carried in the content. Then, a pre-defined key generation algorithm generates a corresponding key pair, consisting of a private key and a public key. The public key is then sent to the message recipient via the communication channel between the server and the recipient. The private key is used to encrypt the content to be forwarded. After receiving the encrypted message, the server sends it to the recipient. Finally, the recipient decrypts the encrypted message using the public key to read the content. Specifically, the encrypted message and the generated private key obtained through server encryption can be represented as follows:

[0036] G s0 =(E0·M0, IDqz, sign)

[0037] E0=(BIDα)·M0

[0038] Among them, G s0 For the encrypted message to be forwarded, E0 is the generated key, M0 is the public key received by the server, IDqz is the ID of the target group, sign is the ID of the message sender, BID is the ID of the message receiver, and α is a random number, which can be between 0.05 and 0.005.

[0039] Additionally, it's important to note that in group messaging scenarios, to ensure timely transmission of group messages, the message sender, server, and receiver all adhere to the timeliness principle. This means that different processing operations must be completed within their respective timeframes to prevent interference from other intercepting information during transmission. For example, when the server encrypts the message after it meets privacy forwarding conditions, a first time period can be pre-set. The time taken for the server to generate the key using a pre-defined key generation algorithm must be less than or equal to this first time period. This timeliness principle is particularly crucial when there are multiple message senders and receivers. It ensures that multiple users simultaneously rely on the server for message uploads / downloads, preventing attackers from immediately identifying the sender and receiver, thus achieving message security. The effect of covert communication is further enhanced by the following: For the message sender, the time it takes for the content to be forwarded to be sent to the server must be less than or equal to the second time period; for the message receiver, the time it takes to download the encrypted message to be forwarded from the server must be less than or equal to the third time period, and the time it takes for the message receiver to decrypt the encrypted message to be forwarded must be less than or equal to the fourth time period. After the message receiver obtains the encrypted message to be forwarded from the server actively or passively, the order of obtaining and decrypting the encrypted message to be forwarded can be the same or different. For example, in one feasible approach, the message receiver can download the encrypted message to be forwarded to its local machine and then decrypt it using the public key, rather than decrypting the message to be forwarded that was just downloaded from the server, thereby improving the message reading efficiency for users with actual message reading needs among the message receivers.

[0040] Additionally, it should be noted that privacy forwarding conditions are used to characterize the conditions for forwarding messages that require privacy transmission. Whether the privacy forwarding conditions are met can be determined based on the content type identifier carried in the content to be forwarded. For example, in one feasible approach, it is assumed that a content type identifier of 1 indicates that the privacy forwarding conditions are met, and a content type identifier of 0 indicates that the privacy forwarding conditions are not met. Specifically, the content type identifier can be generated synchronously by the message sender when generating the content to be forwarded. That is, in a group message communication scenario, when the message sender's user enters the communication content to be sent on the client, they can select a specific message sending method in the communication method interaction item. If the user selects the normal mode message sending, the server will forward the message normally and mark the content type as "0". Thus, the message sent by the message sender can be received and parsed by all members in the target group. If the user selects the anonymous mode message sending, the server will execute the group message forwarding method, which requires encryption and sending of the message so that specific users in the target group can parse the content in the information. Therefore, after the server receives the content to be forwarded sent by the message sender, it will determine whether the content to be forwarded meets the privacy forwarding conditions.

[0041] As an example, steps S10 to S30 include: receiving content to be forwarded sent by a message sender; obtaining a message type identifier carried in the content to be forwarded; determining whether the content to be forwarded meets the privacy forwarding conditions based on the message type identifier; when the content to be forwarded meets the privacy forwarding conditions, encrypting the content to be forwarded within a first time period based on the recipient's identity information, sender's identity information, group identifier information, and the received public key carried in the content to be forwarded, to obtain an encrypted message to be forwarded; sending the encrypted message to be forwarded to the message receiver for the message receiver to download the encrypted message to be forwarded within a third time period, and decrypting the encrypted message to be forwarded within a fourth time period to obtain the message feedback information sent by the server; and sending the message forwarding result corresponding to the message feedback information to the message sender, so that the message sender can determine whether the message receiver has received the content to be forwarded based on the message forwarding result.

[0042] In one feasible approach, the terminal performing the encryption processing of the content to be forwarded can also be the message sender, see reference... Figure 2 , Figure 2This diagram illustrates a group message forwarding scenario. In this scenario, 11 represents the message sender, 12 the server, 13 the message receiver, and 14 a group member. Within a specified time period T1, the message sender encrypts the content to be forwarded using a logic algorithm generated from the message receiver's ID and a pre-set key. Specifically, the message sender obtains the communication content and message sending method input by the user. When the message sender detects that the sending method is a privacy-sensitive method, it encrypts the communication content using the pre-set key generation logic algorithm, obtaining the encrypted message to be forwarded and sending it to the server. The server directly receives the encrypted message to be forwarded from the message sender and forwards it to the message receiver. The message receiver then decrypts the encrypted message and sends a message feedback message to the server. Finally, the server sends the message forwarding result corresponding to the message feedback message back to the message sender, allowing the message sender to determine whether to accept the forwarded content. A prerequisite for the message sender to perform encryption is that the message sender and message receiver are friends and both belong to the target group.

[0043] This application embodiment encrypts and forwards the content sent by the message sender through a server, thereby enabling the sending and reading of messages in a group message communication scenario. This achieves the goal of sending the content to be forwarded to the designated message receiver. Simultaneously, by setting message processing time periods for the message sender, server, and receiver, this application embodiment prevents attackers from accurately identifying the message sender and receiver during group message communication, thus ensuring the security of group message communication. Furthermore, the encryption of the content to be forwarded allows group messages to be read only by the message sender, receiver, and server, or only by the message sender and receiver, thus enhancing the privacy of group message communication.

[0044] The step of encrypting the content to be forwarded to obtain the encrypted message to be forwarded includes:

[0045] Step A10: Obtain the identity information of the message recipient from the content to be forwarded;

[0046] Step A20: Generate a message forwarding private key based on the identity information and the number of group members corresponding to the target group;

[0047] Step A30: Encrypt the content to be forwarded using the message forwarding private key to obtain the encrypted message to be forwarded.

[0048] In this embodiment, it should be noted that when encrypting the content to be forwarded sent by the message sender, a conventional key generation algorithm is used. Although this can ensure message security to a certain extent, conventionally generated keys are easily cracked. Therefore, this application proposes a key generation algorithm that differs from conventional encryption logic. The prerequisite for generating a private key between the data receiver and the server remains that the message sender and receiver are friends and in the same group. The group member count information is used to represent the number of members in the target group, specifically 100, 150, or 200, etc. The message forwarding private key is used to represent the private key for forwarding the message. For example, in one implementable method, the server's message forwarding private key is as follows:

[0049] E1=(BIDα,f -γ )

[0050] Where E1 is the server's message forwarding private key, α is a random positive integer, f is the number of members in the target group, γ is another random positive integer, and BID is the message receiver's ID.

[0051] As an example, steps A10 to A30 include: obtaining the ID of the message recipient from the content to be forwarded; constructing a message forwarding private key based on the ID of the message recipient and the number of members in the target group; and encrypting the content to be forwarded using the message forwarding private key to obtain the encrypted message to be forwarded.

[0052] In one feasible approach, the terminal performing the above encryption process can also be the message sender. That is, the message sender selects a designated message receiver to send the content to be forwarded, encrypts the content to be forwarded within a certain time period, and obtains the encrypted message to be forwarded. Finally, the server forwards the encrypted message to be forwarded to the message receiver. After the message receiver decrypts the content to be forwarded, the message receiver can know the identity of the message sender who sent the content to be forwarded.

[0053] The step of generating a message forwarding private key based on the identity information and the number of group members corresponding to the target group includes:

[0054] Step B10: Detect whether the size of the content to be forwarded is greater than a preset content size threshold;

[0055] Step B20: If yes, then the content to be forwarded is divided into at least one sub-content to be sent;

[0056] Step B30: For any of the sub-contents to be sent, generate a message forwarding private key based on the identity information and the number of group members corresponding to the target group;

[0057] Step B40: If not, generate a message forwarding private key based on the identity information and the number of group members corresponding to the target group.

[0058] In this embodiment, it should be noted that during the process of sending messages to the message receiver, the size of the content to be forwarded sent by different message senders to the same message receiver or different message receivers may vary. The content to be forwarded sent by the same message sender at different time periods may also be different. That is, in the group message communication scenario, the size of the message relayed by the server is dynamically changing. To ensure the security of message transmission, the size of the message sent by the message sender at one time can be limited to avoid sending too much information content, which could lead to message leakage and security problems. Since the message forwarding private key is randomly generated based on random numbers, for the content to be forwarded of different sizes, the content to be forwarded can be segmented according to the pre-set segmentation rules and message forwarding private keys can be generated separately. Thus, while limiting the size of the content to be forwarded, the sub-content to be forwarded is encrypted with different private keys to further improve the security of message transmission.

[0059] As an example, steps B10 to B40 include: obtaining the content byte length of the content to be forwarded; detecting whether the content size of the content to be forwarded is greater than a preset content size threshold based on the content byte length; if the content size of the content to be forwarded is detected to be greater than the preset content size threshold, then dividing the content to be forwarded into at least one sub-content to be sent, wherein each sub-content to be sent is less than or equal to the preset content size threshold; for any sub-content to be sent, generating a sub-private key for each sub-content to be sent based on the identity information and the number of groups in the target group, and forwarding a message forwarding private key for each sub-private key; if the content size of the content to be forwarded is detected to be less than or equal to the preset content size threshold, then generating a message forwarding private key based on the identity information and the number of group members corresponding to the target group.

[0060] The step of generating the message forwarding private key corresponding to the content to be forwarded based on the identity information and the number of group members corresponding to the target group includes:

[0061] Step C10: Obtain friend association information, message record information, and message intimacy between the message sender and the message receiver, wherein the message record information includes hidden message record information;

[0062] Step C20: Generate a hidden message coefficient between the message sender and the message receiver based on the message record information, the hidden message record information, and the message intimacy.

[0063] Step C30: Generate the message forwarding private key based on the concealed message coefficient, the identity information, the group member count information, and the friend association information.

[0064] In this embodiment, it should be noted that during the process of the message sender relaying the content to be forwarded to the message receiver through the server, the message sender needs to ensure that the message receiver cannot know its own identity information. That is, when the message sender sends the content to be forwarded to the message receiver, the message receiver cannot know the identity of the message sender when decrypting the encrypted message to be forwarded. The message concealment coefficient is used to ensure the degree of concealment of the message. The message concealment coefficient is positively correlated with the concealment of the content to be forwarded. Furthermore, for the server, the message record information is used to record the number of communication messages between the message sender and the message receiver, specifically the number of information items between the message sender and the message receiver. The friend association information is used to characterize the friend association relationship between the message sender and the message receiver, specifically the number of mutual friends. Alternatively, the number of shared interests can be considered. After becoming friends, the sender and receiver experience changes in their friend intimacy level, which can be represented by message intimacy, such as 70%, 80%, or 90%. Different levels of friend intimacy also affect message anonymity. The value corresponding to friend association information is positively correlated with the friend intimacy level. Anonymous message records are used to record the amount of anonymized information communicated between the sender and receiver, specifically the number of anonymized messages sent by the sender to the receiver. To achieve the above objectives, different message encryption methods are needed to encrypt the content to be forwarded. For example, in one feasible approach, the logic for generating the private key for anonymizing the content to be forwarded is as follows:

[0065] E2=(BIDα,kw*ei+bw)·M2

[0066] G s2 =(i, E2·M2, IDqz, sign)

[0067] Among them, E2 is the private key for forwarding messages to conceal the content to be forwarded, and G... s2 For the encrypted message to be forwarded that needs to be sent anonymously, kw is the number of members in the target group, ei is the number of mutual friends between the message sender and the message receiver, and bw = (Yr - Yi) * log a Xn (a>1), bw is the concealment coefficient, Yr is the total number of messages sent from the message sender to the message receiver, Yi is the number of concealed messages sent from the message sender to the user receiver, Xn is the friend intimacy between the message sender and the message receiver, M2 is the public key sent by the message sender when concealing the message, and i is the size of the content to be forwarded in bytes.

[0068] As an example, steps C10 to C30 include: obtaining the number of mutual friends between the message sender and the message receiver, the total number of messages sent by the message sender to the message receiver, and the number of secret messages sent by the message sender to the message receiver; generating a hidden message coefficient between the message sender and the message receiver based on the total number of messages sent by the message sender to the message receiver, the number of secret messages sent by the message sender to the message receiver, and the message intimacy; and generating the message forwarding key by using the hidden message coefficient, the identity information of the message receiver, the number of members in the target group, and the number of mutual friends between the message sender and the message receiver.

[0069] The step of sending the encrypted message to be forwarded to the message recipient includes:

[0070] Step D10: Obtain the forwarding volume of the encrypted message to be forwarded within a preset time period;

[0071] Step D20: Adjust the preset forwarding protocol according to the forwarding volume to obtain the forwarding adjustment protocol;

[0072] Step D30: Encapsulate the encrypted message to be forwarded using the forwarding adjustment protocol, and send the encapsulated encrypted message to the message receiver.

[0073] In this embodiment, it should be noted that conventional message sending protocols are all built for normal message sending. In terms of security and adaptability, they cannot well adapt to the above-mentioned message encryption processing and message sending methods, resulting in low efficiency of the server in the message relay process. Therefore, this application proposes a new message sending protocol, the specific framework of which can be in the following order: UDP (User Datagram Protocol) header, custom protocol, payload, and padding. The custom protocol can include a 1-byte Type field. The Type field is used to distinguish between redundant messages and valid messages. Before sending the encrypted message to be forwarded to the receiver, the server determines whether the encrypted message to be forwarded is marked as a redundant message or a valid message by the forwarding volume of the encrypted message to be forwarded within a preset time period. For example, in one feasible way, assuming the forwarding volume is not 0, the Type field is marked as 1. When the Type field is 1, it means that the encrypted message to be forwarded is a redundant message. assuming the forwarding volume is 0, the Type field is marked as 0. When the Type field is 0, it means that the encrypted message to be forwarded is a valid message.

[0074] As an example, steps D10 to D30 include: obtaining the forwarding volume of the encrypted message to be forwarded within a preset time period; detecting whether the forwarding volume is zero; if the forwarding volume is not zero, adjusting the preset forwarding protocol through a first preset adjustment method to obtain a forwarding adjustment protocol; if the forwarding volume is zero, adjusting the preset forwarding protocol through a second preset adjustment method to obtain the forwarding adjustment protocol; encapsulating the encrypted message to be forwarded with the forwarding adjustment protocol to obtain the encapsulated encrypted message to be forwarded, and sending the encapsulated encrypted message to be forwarded to the message receiver.

[0075] In this embodiment of the application, when forwarding group messages, the server first checks whether the content to be forwarded sent by the message sender meets the privacy forwarding conditions. If the content to be forwarded meets the privacy forwarding conditions, the server encrypts the content to be forwarded to obtain an encrypted message to be forwarded. The encrypted message to be forwarded is then sent to the message receiver. After receiving the encrypted message to be forwarded, the message receiver decrypts the encrypted content to be forwarded and sends a message feedback information to the server. Finally, the server generates a forwarding result of the encrypted message to be forwarded based on the message feedback information. This achieves the purpose of forwarding the content to be forwarded from the message sender to the message receiver in the target group through the server.

[0076] Because the encrypted message to be forwarded, obtained by encrypting the content sent by the message sender, can be decrypted by the recipient, the server acts as a message forwarding medium. It encrypts the messages transmitted between the message sender and the message recipient, enabling the designated message recipient to read the content to be forwarded. At the same time, the server acts as a message feedback medium, providing feedback on the message forwarding result through the message feedback information sent by the message recipient. This allows the message sender to confirm the sending result of the content to be forwarded. Thus, the server completes the sending and reading of the content to be forwarded by the message sender to the message recipient in a group message communication scenario. Therefore, it achieves the goal that other group members in the target group cannot read the content to be forwarded while the message sender sends the content to be forwarded to the message recipient through the server.

[0077] Based on this, this application uses a server to encrypt and forward the content sent by the message sender, thereby enabling the sending and reading of messages in group messaging scenarios. This achieves the goal of sending the content to be forwarded to the designated message receiver, rather than the message sender directly sending the content to all members of the target group. Therefore, it overcomes the technical drawback of multicast communication, which sends the message sent by the message sender to all group members, potentially leading to the message being read by other members of the group. This improves the privacy of group messaging communication.

[0078] Example 2

[0079] Furthermore, referring to Figure 3 In another embodiment of this application, content that is the same as or similar to that in Embodiment 1 described above can be referred to the above description and will not be repeated hereafter. Based on this, the step of adjusting the preset forwarding protocol according to the forwarding volume to obtain the forwarding adjustment protocol includes:

[0080] Step E10: Obtain the message size of the encrypted message to be forwarded;

[0081] Step E20: Adjust the redundancy identifier field of the preset forwarding protocol using the forwarding volume to obtain the adjusted intermediate protocol;

[0082] Step E30: Adjust the intermediate protocol according to the message size to obtain the forwarding adjustment protocol.

[0083] In this embodiment, it should be noted that during the process of the server forwarding the encrypted message to the message receiver, since the message size of the encrypted message to be forwarded is dynamically changing, a field can be set in the self-defined protocol to determine whether the encrypted message to be forwarded is fragmented. The basis for fragmentation can be the message size, which can be characterized by the byte length of the encrypted message to be forwarded. The redundancy flag field is used to identify whether the encrypted message to be forwarded is redundant, and the intermediate protocol adjustment is used to characterize the preset forwarding protocol after adjusting the redundancy flag field.

[0084] As an example, steps E10 to E30 include: obtaining the message size of the encrypted message to be forwarded; adjusting the redundancy identifier field of the preset forwarding protocol through the forwarding amount to obtain the adjustment intermediate field; and adjusting the adjustment intermediate protocol according to the message size to obtain the forwarding adjustment protocol.

[0085] The step of adjusting the intermediate protocol according to the message size to obtain the forwarding adjustment protocol includes:

[0086] Step F10: If the message size is greater than a preset message size threshold, then according to the preset message identifier, the encrypted message to be forwarded is fragmented into at least one encrypted sub-message to be forwarded, wherein the preset message identifier includes a preset message location identifier and a preset message fragment identifier.

[0087] Step F20: Based on the preset message location identifier, the preset message fragment identifier, and the byte length of each encrypted sub-message to be forwarded, the intermediate adjustment protocol is iteratively adjusted until the forwarding adjustment protocol is obtained.

[0088] In this embodiment, it should be noted that when determining whether to fragment the encrypted message to be forwarded, the determination can be made based on the relationship between the message size and a preset message volume threshold. That is, when the message size is greater than the preset message volume threshold, the fragmentation identifier field in the self-defined protocol is marked as 1, and preset message position identifiers and message fragmentation identifiers are preset for different fragments. The preset message fragmentation identifier is used to identify the fragmentation sequence number of the encrypted sub-message to be forwarded, and the preset message position identifier is used to identify the specific position of the encrypted sub-message to be forwarded within the encrypted message to be forwarded. The preset message fragmentation identifier can be Last... The message location identifier can be represented by the Offset field. Additionally, the custom protocol includes Len and Last fields. The Len field represents the total length of the original data packet, with a theoretical maximum value of 1480. The Len field can be adjusted adaptively when the encrypted message to be forwarded changes. The Last field represents the number of fragments in the encrypted message to be forwarded. During front-end maintenance, this field is incremented by 1 each time a fragment occurs; its default value is 0. By configuring these settings on the server side, the message receiver can handle different types of encrypted messages when downloading and parsing them. The server processes encrypted messages to be forwarded. For example, in one feasible approach, the message sender's message sending is relatively simple. Therefore, during the upload of the content to be forwarded or the encrypted message to be forwarded, it only needs to record the value of the flag generated by a cyclic fragment counter, and set the values ​​of each field of each type of data packet according to the semantics of the self-defined protocol. As for the message receiver, it needs to receive and process the message according to the following steps: 1) After the message sender encrypts the content to be forwarded into an encrypted message to be forwarded, the server forwards the encrypted message to the message receiver. The receiver first determines whether the Type field of the message is zero. If it is zero, it confirms that the encrypted message to be forwarded is a redundant message and further identifies the junk packets in the message. If it is not zero, it confirms that the encrypted message to be forwarded is a valid message and executes step 2). 2) Further, it checks whether the flag field in the protocol is zero. If it is not zero, it jumps to execute step 3). If it is zero, it determines that the encrypted message to be forwarded is not fragmented and obtains the valid message field identified by the Len field in the protocol to restore the encrypted message to be forwarded. Thus, the message receiver can read the content to be forwarded by decryption.3) If the flag field is not zero, it is confirmed that the encrypted message to be forwarded is a fragmented message. Therefore, message reassembly is required to obtain the content to be forwarded sent by the message sender. This involves querying the buffer corresponding to the partition based on the flag field and determining if the buffer is null. If null, a new buffer needs to be allocated. If not null, the last field is further checked for zero. If non-zero, the first (len field - offset field) bytes are marked as valid message fields, and the process jumps to step 5). If the last field is zero, the process jumps to step 4. 4) When the last field is zero, it is confirmed that all data fields are valid message fields. The valid message fields are copied to the corresponding positions in the buffer based on the offset. 5) It is determined whether the total length of the buffer is equal to the length of bytes indicated by the len field. If so, the content to be forwarded is confirmed to be restored, and the message receiver can read the message content by decryption.

[0089] As an example, steps F10 to F20 include: obtaining the message size of the encrypted message to be forwarded; adjusting the redundancy identifier field of the preset forwarding protocol through the forwarding amount to obtain an adjusted intermediate protocol; and adjusting the fragment identifier field of the adjusted intermediate protocol according to the message field to obtain the forwarding adjustment protocol.

[0090] The step of encapsulating the encrypted message to be forwarded using the forwarding adjustment protocol and sending the encapsulated encrypted message to the message receiver includes:

[0091] Step G10: Obtain the pseudo-sent content sent by each of the group members;

[0092] Step G20: Encrypt the pseudo-sent content to obtain encrypted pseudo-information to be forwarded;

[0093] Step G30: The encrypted pseudo-information to be forwarded and the encrypted message to be forwarded are jointly encapsulated using the forwarding adjustment protocol to obtain the encapsulated encrypted message to be forwarded.

[0094] Step G40: Send the encapsulated encrypted message to be forwarded to the message recipient.

[0095] In this embodiment, it should be noted that, to reduce the possibility of encrypted messages being cracked during group message communication, all group members of the target group can send messages. For group members without communication needs, they can be treated as "fake message senders," that is, fake content is sent to the server. The specific fake content can be set in advance by the group members according to their needs. At the same time, during the transmission of the content to be forwarded, the fake content performs encryption processing and forwarding operations synchronously with the content to be forwarded, thereby confusing the attacker's vision. Due to the large number of messages, the attacker cannot distinguish which messages are sent by users with genuine communication needs and which are fake messages sent by users without communication needs in a short period of time.

[0096] As an example, steps G10 to G40 include: obtaining the pseudo-sending content sent by each of the group members; encrypting the pseudo-sending content to obtain encrypted pseudo-information to be forwarded; encapsulating the encrypted pseudo-information to be forwarded and the encrypted message to be forwarded together through the forwarding adjustment protocol to obtain the encapsulated encrypted message to be forwarded; and sending the encapsulated encrypted message to be forwarded to the message receiver.

[0097] This application provides a forwarding protocol adjustment method. First, the forwarding volume of the encrypted message to be forwarded within a preset time period is obtained. Then, based on the forwarding volume, a preset forwarding protocol is adjusted to obtain a forwarding adjustment protocol. Finally, the encrypted message to be forwarded is encapsulated using the forwarding adjustment protocol, and the encapsulated encrypted message is sent to the message receiver. This achieves the goal of enabling the message receiver to accurately identify whether the encrypted message to be forwarded is valid or redundant communication information during group message communication by adjusting the forwarding protocol. Instead of the message receiver decrypting the message upon receiving it, the communication efficiency between the message sender and the message receiver is improved while ensuring the privacy of group message communication.

[0098] Example 3

[0099] This application also provides a group message forwarding device, as described in the embodiments of this application. Figure 4 An application is made to a server, which forwards messages to a target group, the target group including a message sender, a message receiver, and at least one group member. The group message forwarding device includes:

[0100] The detection module 101 is used to encrypt the content to be forwarded when it is detected that the content to be forwarded sent by the message sender meets the privacy forwarding conditions, so as to obtain the encrypted message to be forwarded.

[0101] The first sending module 102 is used to send the encrypted message to be forwarded to the message receiver, so that the message receiver can send message feedback information to the server by decrypting the encrypted message to be forwarded.

[0102] The second sending module 103 is used to send the message forwarding result corresponding to the message feedback information to the message sender, so that the message sender can determine whether the message receiver receives the content to be forwarded based on the message forwarding result.

[0103] Optionally, the detection module 101 is further configured to:

[0104] Obtain the identity information of the message recipient from the content to be forwarded;

[0105] Generate a message forwarding private key based on the identity information and the number of group members corresponding to the target group;

[0106] The content to be forwarded is encrypted using the message forwarding private key to obtain the encrypted message to be forwarded.

[0107] Optionally, the detection module 101 is further configured to:

[0108] Detect whether the size of the content to be forwarded is greater than a preset content size threshold;

[0109] If so, the content to be forwarded is divided into at least one sub-content to be sent;

[0110] For any of the sub-contents to be sent, a message forwarding private key is generated based on the identity information and the number of group members corresponding to the target group;

[0111] If not, then a message forwarding private key is generated based on the identity information and the number of members corresponding to the target group.

[0112] Optionally, the detection module 101 is further configured to:

[0113] Obtain friend association information, message record information, and message intimacy between the message sender and the message receiver, wherein the message record information includes hidden message record information;

[0114] Based on the message record information, the hidden message record information, and the message intimacy, a hidden message coefficient is generated between the message sender and the message receiver;

[0115] The message forwarding private key is generated based on the concealed message coefficient, the identity information, the group member count information, and the friend association information.

[0116] Optionally, the first sending module 102 is further configured to:

[0117] Obtain the number of times the encrypted message to be forwarded has been forwarded within a preset time period;

[0118] Based on the forwarding volume, the preset forwarding protocol is adjusted to obtain the forwarding adjustment protocol;

[0119] The encrypted message to be forwarded is encapsulated using the forwarding adjustment protocol, and the encapsulated encrypted message to be forwarded is sent to the message receiver.

[0120] Optionally, the first sending module 102 is further configured to:

[0121] Obtain the message size of the encrypted message to be forwarded;

[0122] The redundant identifier field of the preset forwarding protocol is adjusted by the forwarding volume to obtain the adjusted intermediate protocol;

[0123] The intermediate adjustment protocol is adjusted according to the message size to obtain the forwarding adjustment protocol.

[0124] Optionally, the first sending module 102 is further configured to:

[0125] If the message size is greater than a preset message size threshold, the encrypted message to be forwarded is fragmented into at least one encrypted sub-message to be forwarded according to a preset message identifier, wherein the preset message identifier includes a preset message location identifier and a preset message fragment identifier;

[0126] Based on the preset message location identifier, the preset message fragment identifier, and the byte length of each encrypted sub-message to be forwarded, the intermediate adjustment protocol is iteratively adjusted until the forwarding adjustment protocol is obtained.

[0127] Optionally, the first sending module 102 is further configured to:

[0128] Obtain the pseudo-sent content sent by each of the aforementioned group members;

[0129] The false content to be sent is encrypted to obtain encrypted false information to be forwarded;

[0130] The forwarding adjustment protocol is used to encapsulate the encrypted pseudo-information to be forwarded and the encrypted message to be forwarded together to obtain the encapsulated encrypted message to be forwarded.

[0131] The encapsulated encrypted message to be forwarded is sent to the message recipient.

[0132] The group message forwarding device provided by this invention, employing the group message forwarding method in Embodiment 1 above, solves the technical problem of poor privacy in group message communication. Compared with the prior art, the beneficial effects of the group message forwarding device provided by this invention are the same as those of the group message forwarding method provided in the above embodiments, and other technical features in this group message forwarding device are the same as those disclosed in the method of the above embodiments, and will not be repeated here.

[0133] Example 4

[0134] This invention provides an electronic device, which includes: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, which are executed by the at least one processor to enable the at least one processor to perform the group message forwarding method in Embodiment 1 above.

[0135] The following is for reference. Figure 5 The diagram illustrates a structural schematic of an electronic device suitable for implementing embodiments of the present disclosure. The electronic devices in the embodiments of the present disclosure may include, but are not limited to, mobile terminals such as mobile phones, laptops, digital broadcast receivers, PDAs (personal digital assistants), PADs (tablet computers), PMPs (portable multimedia players), in-vehicle terminals (e.g., in-vehicle navigation terminals), and fixed terminals such as digital TVs and desktop computers. Figure 5 The electronic device shown is merely an example and should not be construed as limiting the functionality and scope of the embodiments disclosed herein.

[0136] like Figure 5 As shown, the electronic device may include a processing unit 1001 (e.g., a central processing unit, a graphics processor, etc.) that can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access memory (RAM) 1004. The RAM 1004 also stores various programs and data required for the operation of the electronic device. The processing unit 1001, ROM 1002, and RAM 1004 are interconnected via a bus 1005. An input / output (I / O) interface 1006 is also connected to the bus.

[0137] Typically, the following systems can be connected to I / O interface 1006: input devices 1007 including, for example, touchscreens, touchpads, keyboards, mice, image sensors, microphones, accelerometers, gyroscopes, etc.; output devices 1008 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; storage devices 1003 including, for example, magnetic tapes, hard disks, etc.; and communication devices 1009. The communication devices allow electronic devices to communicate wirelessly or wiredly with other devices to exchange data. Although electronic devices with various systems are shown in the figures, it should be understood that it is not required to implement or possess all the systems shown. More or fewer systems may be implemented alternatively.

[0138] In particular, according to embodiments of this disclosure, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this disclosure include a computer program product comprising a computer program carried on a computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via communication device 1009, or installed from storage device 1003, or installed from ROM 1002. When the computer program is executed by processing device 1001, it performs the functions defined in the methods of embodiments of this disclosure.

[0139] The electronic device provided by this invention, employing the group message forwarding method in the above embodiments, solves the technical problem of poor privacy in group message communication. Compared with the prior art, the beneficial effects of the electronic device provided by this invention are the same as those of the group message forwarding method provided in the above embodiments, and other technical features of this electronic device are the same as those disclosed in the methods of the above embodiments, and will not be repeated here.

[0140] It should be understood that various parts of this disclosure can be implemented using hardware, software, firmware, or a combination thereof. In the description of the above embodiments, specific features, structures, materials, or characteristics may be combined in any suitable manner in one or more embodiments or examples.

[0141] The above description is merely a specific embodiment of the present invention, but the scope of protection of the present invention is not limited thereto. Any variations or substitutions that can be easily conceived by those skilled in the art within the technical scope disclosed in the present invention should be included within the scope of protection of the present invention. Therefore, the scope of protection of the present invention should be determined by the scope of the claims.

[0142] Example 5

[0143] This embodiment provides a computer-readable storage medium having computer-readable program instructions stored thereon, which are used to execute the group message forwarding method in the above embodiment.

[0144] The computer-readable storage medium provided in this embodiment of the invention may be, for example, a USB flash drive, but is not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or any combination thereof. More specific examples of a computer-readable storage medium may include, but are not limited to: an electrical connection having one or more wires, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fiber, portable compact disk read-only memory (CD-ROM), optical storage device, magnetic storage device, or any suitable combination thereof. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the computer-readable storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination thereof.

[0145] The aforementioned computer-readable storage medium may be included in an electronic device or may exist independently without being assembled into an electronic device.

[0146] The aforementioned computer-readable storage medium carries one or more programs that, when executed by an electronic device, cause the electronic device to perform the following: when it detects that the content to be forwarded sent by the message sender meets the privacy forwarding conditions, encrypt the content to be forwarded to obtain an encrypted message to be forwarded; send the encrypted message to be forwarded to the message receiver so that the message receiver can decrypt the encrypted message to be forwarded and send message feedback information to the server; and send the message forwarding result corresponding to the message feedback information to the message sender so that the message sender can determine whether the message receiver has received the content to be forwarded based on the message forwarding result.

[0147] Computer program code for performing the operations of this disclosure can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, and conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0148] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, can be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0149] The modules described in the embodiments of this disclosure can be implemented in software or hardware. The names of the modules do not necessarily limit the functionality of the unit itself.

[0150] The computer-readable storage medium provided by this invention stores computer-readable program instructions for executing the above-described group message forwarding method, thus solving the technical problem of poor privacy in group message communication. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the embodiments of this invention are the same as the beneficial effects of the group message forwarding method provided in the above-described embodiments, and will not be repeated here.

[0151] Example 6

[0152] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the group message forwarding method described above.

[0153] The computer program product provided in this application solves the technical problem of poor privacy in group message communication. Compared with the prior art, the beneficial effects of the computer program product provided in the embodiments of this invention are the same as the beneficial effects of the group message forwarding method provided in the above embodiments, and will not be repeated here.

[0154] The above are merely preferred embodiments of this application and do not limit the patent scope of this application. Any equivalent structural or procedural transformations made using the content of this application's specification and drawings, or direct or indirect applications in other related technical fields, are similarly included within the patent scope of this application.

Claims

1. A group message forwarding method, characterized in that, The method for forwarding group messages is applied to a server, which forwards messages to a target group, the target group including a message sender, a message receiver, and at least one group member. When it is detected that the content to be forwarded sent by the message sender meets the privacy forwarding conditions, the content to be forwarded is encrypted to obtain the encrypted message to be forwarded; The encrypted message to be forwarded is sent to the message recipient, so that the message recipient can decrypt the encrypted message to be forwarded and send message feedback information to the server; Send the message forwarding result corresponding to the message feedback information to the message sender, so that the message sender can determine whether the message receiver has received the content to be forwarded based on the message forwarding result; The step of encrypting the content to be forwarded to obtain the encrypted message to be forwarded includes: Obtain the identity information of the message recipient from the content to be forwarded; Generate a message forwarding private key based on the identity information and the number of group members corresponding to the target group; The content to be forwarded is encrypted using the message forwarding private key to obtain the encrypted message to be forwarded; The step of generating the message forwarding private key corresponding to the content to be forwarded based on the identity information and the number of group members corresponding to the target group includes: Obtain friend association information, message record information, and message intimacy between the message sender and the message receiver, wherein the message record information includes hidden message record information; Based on the message record information, the hidden message record information, and the message intimacy, a hidden message coefficient is generated between the message sender and the message receiver; wherein, the hidden message coefficient is used to ensure the degree of message concealment, and the hidden message coefficient is positively correlated with the concealment of the content to be forwarded; The message forwarding private key is generated based on the concealed message coefficient, the identity information, the group member count information, and the friend association information.

2. The group message forwarding method as described in claim 1, characterized in that, The step of generating a message forwarding private key based on the identity information and the number of members corresponding to the target group includes: Detect whether the size of the content to be forwarded is greater than a preset content size threshold; If so, the content to be forwarded is divided into at least one sub-content to be sent; For any of the sub-contents to be sent, a message forwarding private key is generated based on the identity information and the number of group members corresponding to the target group; If not, then a message forwarding private key is generated based on the identity information and the number of members corresponding to the target group.

3. The group message forwarding method as described in claim 1, characterized in that, The step of sending the encrypted message to be forwarded to the message recipient includes: Obtain the number of times the encrypted message to be forwarded has been forwarded within a preset time period; Based on the forwarding volume, the preset forwarding protocol is adjusted to obtain the forwarding adjustment protocol; The encrypted message to be forwarded is encapsulated using the forwarding adjustment protocol, and the encapsulated encrypted message to be forwarded is sent to the message receiver.

4. The group message forwarding method as described in claim 1, characterized in that, The step of adjusting the preset forwarding protocol based on the forwarding volume to obtain the forwarding adjustment protocol includes: Obtain the message size of the encrypted message to be forwarded; The redundant identifier field of the preset forwarding protocol is adjusted by the forwarding volume to obtain the adjusted intermediate protocol; The intermediate adjustment protocol is adjusted according to the message size to obtain the forwarding adjustment protocol.

5. The group message forwarding method as described in claim 4, characterized in that, The step of adjusting the intermediate protocol according to the message size to obtain the forwarding adjustment protocol includes: If the message size is greater than a preset message size threshold, the encrypted message to be forwarded is fragmented into at least one encrypted sub-message to be forwarded according to a preset message identifier, wherein the preset message identifier includes a preset message location identifier and a preset message fragment identifier; Based on the preset message location identifier, the preset message fragment identifier, and the byte length of each encrypted sub-message to be forwarded, the intermediate adjustment protocol is iteratively adjusted until the forwarding adjustment protocol is obtained.

6. The group message forwarding method as described in claim 1, characterized in that, The step of encapsulating the encrypted message to be forwarded using the forwarding adjustment protocol and sending the encapsulated encrypted message to the message receiver includes: Obtain the pseudo-sent content sent by each of the aforementioned group members; The false content to be sent is encrypted to obtain encrypted false information to be forwarded; The forwarding adjustment protocol is used to encapsulate the encrypted pseudo-information to be forwarded and the encrypted message to be forwarded together to obtain the encapsulated encrypted message to be forwarded. The encapsulated encrypted message to be forwarded is sent to the message recipient.

7. An electronic device, characterized in that, The electronic device includes: At least one processor; A memory that is communicatively connected to the at least one processor; The memory stores instructions executable by the at least one processor, which, when executed by the at least one processor, enables the at least one processor to perform the steps of the group message forwarding method according to any one of claims 1 to 6.

8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a program implementing a group message forwarding method, which is executed by a processor to implement the steps of the group message forwarding method as described in any one of claims 1 to 6.