Message processing method, server, client and message processing system

By storing the reading status information of each client in the group on the server and clearing the corresponding information after the target client reads the message, the problem of point-to-point group messages being burned after reading them in the prior art is solved, and the secure deletion of messages and efficient security guarantees are achieved.

CN119966938AActive Publication Date: 2025-05-09JD DIGITS HAIYI INFORMATION TECHNOLOGY CO LTD
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202311490054.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-11-09
Publication Date
2025-05-09
Estimated Expiration
2043-11-09

AI Technical Summary

Technical Problem

The prior art cannot effectively realize the point-to-group messages burning after reading.

Method used

By storing the reading status information of each client in the group on the server, and clearing the corresponding reading status information and message content after the target client reads the message, the message will be burned after reading.

Benefits of technology

It realizes the target message after reading, which improves the security of point-to-group messages.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119966938A_ABST
    Figure CN119966938A_ABST
Patent Text Reader

Abstract

The invention provides a message processing method, a server side, a client side and a message processing system, and relates to the technical field of information processing, and the message processing method comprises the steps: reading a target message from a target client side in a plurality of second client sides in response to a group, and when the reading state information of the target message corresponding to the target client is queried from the preset position, obtaining the message content of the target message based on the message information of the target message stored at the preset position, and sending the message content to the target client, so that the target client displays the message content. After the display duration of the message content reaches a first preset duration, stopping displaying and clearing the message content; and clearing the reading state information corresponding to the target client stored in the preset position, and clearing the message information stored in the preset position after clearing the reading state information corresponding to all the second clients stored in the preset position. Therefore, the point-to-group message burning after reading is effectively realized.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of information processing technology, and in particular to a message processing method, a server, a client, and a message processing system. Background Art

[0002] With the development of Internet technology, users can send messages to other users anytime and anywhere through instant messaging applications, where the messages may include text, images, videos, audio and other content.

[0003] At present, in order to protect the privacy of messages sent by users, the secondary dissemination of messages can be limited by the method of self-destruction after reading. Self-destruction after reading means that the message is deleted and destroyed immediately or within a period of time after being read once. However, the relevant technology can only realize the self-destruction after reading of point-to-point messages sent by one user to another user, and it is impossible to realize effective self-destruction after reading for point-to-group messages sent by a user in a group. Summary of the invention

[0004] The present application aims to solve one of the technical problems in the related art at least to some extent.

[0005] The present application proposes a message processing method to solve the technical problem that the related technology cannot effectively realize the point-to-group message self-destruction.

[0006] The first aspect of the present application proposes a message processing method, which is applied to a first server, and the method includes: in response to a target client among multiple second clients included in a group reading a target message, querying the reading status information of the target message corresponding to the target client from a preset position, wherein the target message is a message sent by the first client in the group; when the reading status information is queried, based on the message information of the target message stored in the preset position, obtaining the message content of the target message, and sending the message content to the target client, so that the target client displays the message content, and after the display time of the message content reaches a first preset time, stops displaying and clears the message content; clears the reading status information corresponding to the target client stored in the preset position, and after clearing the reading status information corresponding to all second clients stored in the preset position, clears the message information stored in the preset position.

[0007] The second aspect embodiment of the present application proposes a message processing method, which is applied to a client, including: receiving the message content of a target message sent by a first server using the message processing method described in the first aspect embodiment; displaying the message content; after the display time of the message content reaches a first preset time, stopping the display and clearing the message content.

[0008] The third aspect of the present application proposes a server, comprising: a query module, for querying the reading status information of the target message corresponding to the target client from a preset position in response to a target client among multiple second clients included in a group reading a target message, wherein the target message is a message sent by the first client in the group; a first acquisition module, for acquiring the message content of the target message based on the message information of the target message stored in the preset position when the reading status information is queried; a sending module, for sending the message content to the target client, so that the target client displays the message content, and stops displaying and clears the message content after the display time of the message content reaches a first preset time; a clearing module, for clearing the reading status information corresponding to the target client stored in the preset position, and clearing the message information stored in the preset position after clearing the reading status information corresponding to all second clients respectively stored in the preset position.

[0009] The fourth aspect embodiment of the present application proposes a client, including: a second receiving module, used to receive the message content of the target message sent by the first server end using the message processing method described in the first aspect embodiment; a display module, used to display the message content; a processing module, used to stop displaying and clear the message content after the display time of the message content reaches a first preset time.

[0010] The fifth aspect embodiment of the present application proposes a message processing system, including: a first client for sending a target message in a group; a first server for executing the message processing method described in the first aspect embodiment of the present application; and a second client for executing the message processing method described in the second aspect embodiment of the present application.

[0011] The sixth aspect embodiment of the present application proposes an electronic device, comprising: 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, and the instructions are executed by the at least one processor so that the at least one processor can execute the method proposed in the first aspect embodiment or the second aspect embodiment of the present application.

[0012] The seventh aspect embodiment of the present application proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute the method proposed in the first aspect embodiment or the second aspect embodiment of the present application.

[0013] The eighth aspect embodiment of the present application proposes a computer program product, including a computer program, which, when executed by a processor, implements the method proposed in the first aspect embodiment or the second aspect embodiment of the present application.

[0014] The technical solution provided by the present application stores the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group in a preset position. In response to the target client in the second client reading the target message and querying the reading status information corresponding to the target client from the preset position, the message content of the target message is obtained based on the message information stored in the preset position, the message content of the target message is sent to the target client, and the reading status information corresponding to the target client stored in the preset position is cleared, so that the target client in the second client of the group cannot read the target message again after reading it once, and the message content is displayed by the target client, and the display of the message content is stopped and the message content is cleared after the display time reaches a first preset time, so that the target message is read and burned in the client that reads the message, and by clearing the message information stored in the preset position after clearing the reading status information corresponding to all the second clients stored in the preset position, it is realized that the message information of the target message is deleted and destroyed after all the second clients in the group read the target message, thereby effectively realizing the read and burn of point-to-group messages and improving the security of point-to-group messages.

[0015] Additional aspects and advantages of the present application will be given in part in the description below, and in part will become apparent from the description below, or will be learned through the practice of the present application. BRIEF DESCRIPTION OF THE DRAWINGS

[0016] The above and / or additional aspects and advantages of the present application will become apparent and easily understood from the following description of the embodiments in conjunction with the accompanying drawings, in which:

[0017] Figure 1 A flowchart of a message processing method provided in an embodiment of the present application;

[0018] Figure 2 A flowchart of another message processing method provided in an embodiment of the present application;

[0019] Figure 3 A flowchart of another message processing method provided in an embodiment of the present application;

[0020] Figure 4 A flowchart of another message processing method provided in an embodiment of the present application;

[0021] Figure 5 An interaction diagram of the message processing method provided in an embodiment of the present application;

[0022] Figure 6 Another interaction diagram of the message processing method provided in an embodiment of the present application;

[0023] Figure 7 A schematic diagram of the structure of the server provided in the embodiment of the present application;

[0024] Figure 8 A schematic diagram of the structure of the client provided in the embodiment of the present application;

[0025] Fig. 9 A block diagram of an exemplary electronic device suitable for implementing the embodiments of the present application is shown. DETAILED DESCRIPTION

[0026] The embodiments of the present application are described in detail below, and examples of the embodiments are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are intended to be used to explain the present application, and should not be construed as limiting the present application.

[0027] In response to the technical problem that related technologies cannot effectively realize the read-and-destroy function of point-to-point group chat messages, the present application proposes a message processing method, a server, a client, a message processing system, an electronic device, a storage medium, and a computer program product. By storing the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group in a preset position, in response to the target client in the second client reading the target message and querying the reading status information corresponding to the target client from the preset position, the message content of the target message is obtained based on the message information stored in the preset position, the message content of the target message is sent to the target client, and then the reading status information corresponding to the target client stored in the preset position is cleared, so that the target client in the second client of the group cannot read the target message again after reading it once, and the message content is displayed by the target client, and after the display time of the message content reaches a first preset time, the display is stopped and the message content is cleared, so that the target message is read and burned in the client that reads the message, and by clearing the message information stored in the preset position after clearing the reading status information corresponding to all the second clients stored in the preset position, it is achieved that the message information of the target message is deleted and destroyed after all the second clients in the group read the target message, thereby effectively realizing the read and burn of point-to-group messages and improving the security of point-to-group messages.

[0028] The following describes the message processing method, server, client, message processing system, electronic device, storage medium and computer program product of the embodiments of the present application with reference to the accompanying drawings.

[0029] The message processing method provided by the embodiment of the present application is first described below. The message processing method provided by the embodiment of the present application can be configured to be executed in the first server. The first server can be configured in the server to provide message services.

[0030] Figure 1 A flowchart of a message processing method provided in an embodiment of the present application.

[0031] like Figure 1 As shown, the message processing method may include the following steps 101-103.

[0032] Step 101, in response to a target client among a plurality of second clients included in a group reading a target message, querying reading status information of a target message corresponding to the target client from a preset location, wherein the target message is a message sent by a first client in the group.

[0033] The first client and the second client belong to the same group. In the embodiment of the present application, the client that sends the message in the group is referred to as the first client, and the other clients in the group are referred to as the second clients. The target client is any client that triggers the action of reading the message among the multiple second clients included in the group. The target message is a message that needs to be burned after reading.

[0034] The preset location is a preset storage location, such as a database or a storage space in the data layer. The database can be a KV database (Key-value database, a database that stores data in key-value pairs) or a relational database, and this application does not limit this.

[0035] The reading status information of the target message corresponding to the target client may indicate the reading status of the target message by the target client. For example, when the reading status information of the target message corresponding to the target client exists at the preset position, it indicates that the reading status of the target message by the target client is unread; when the reading status information of the target message corresponding to the target client does not exist at the preset position, it indicates that the reading status of the target message by the target client is read.

[0036] In one embodiment, after the first client sends a target message in the group, the first server may store the reading status information of the target message corresponding to each second client at a preset location, and clear the reading status information corresponding to any second client after the second client reads the target message.

[0037] Then, when the target client triggers the action of reading the target message among multiple second clients, that is, when the target client reads the target message, in response to the target client reading the target message, the first server can query the reading status information corresponding to the target client from the preset location, so as to determine whether the reading status of the target message by the target client is unread or read according to whether the reading status information corresponding to the target client is queried.

[0038] Step 102, when the reading status information is queried, the message content of the target message is obtained based on the message information of the target message stored in the preset location, and the message content is sent to the target client so that the target client displays the message content, and after the display time of the message content reaches a first preset time, the display is stopped and the message content is cleared.

[0039] The message information of the target message is any information related to the target message, such as the message identifier of the target message, the message content, the sending time of the target message, the identifier of the client sending the target message, the identifier of the group, and other information.

[0040] In one embodiment, after the first client sends the target message in the group, the first server may obtain message information of the target message and store the message information of the target message in a preset location.

[0041] In one embodiment, when the first server queries the reading status information corresponding to the target client at the preset location, it can be determined that the reading status of the target message by the target client is unread, and then the message content of the target message can be obtained based on the message information of the target message stored at the preset location, and the message content can be sent to the target client.

[0042] Among them, when the second client triggers the action of reading the target message, it can trigger a target message reading request, and the target message reading request can include the message identifier of the target message, so that the first server can obtain the message information of the target message according to the message identifier of the target message, and then obtain the message content of the target message based on the message information.

[0043] Then, the target client can display the message content, and at the same time, the target client starts a countdown with a first preset duration. When the countdown reaches zero, that is, after the display duration of the message content reaches the first preset duration, the message content is stopped from being displayed and the message content is cleared. Among them, the first preset duration can be set as needed, and there is no restriction here. Among them, the first preset duration can be a fixed duration set in the target client, or it can be a duration sent by the first server to the target client, and this application does not impose any restrictions on this. And the first preset durations corresponding to different messages can be the same or different. For example, the first server can send the first preset duration to the target client while sending the message content of the target message to the target client.

[0044] In this way, the target message can be destroyed after being read in the target client.

[0045] Step 103, clearing the reading status information corresponding to the target client stored in the preset location, and after clearing the reading status information corresponding to all second clients stored in the preset location, clearing the message information stored in the preset location.

[0046] In one embodiment, after the first server sends the message content of the target message to the target client, it can be considered that the target client's reading status of the target message is already read, so that the reading status information corresponding to the target client stored in the preset position can be cleared. Therefore, when the target client triggers the action of reading the target message again, since the first server cannot query the reading status information of the target message corresponding to the target client in the preset position, the first server will no longer obtain the message content of the target message based on the message information of the target message stored in the preset position, and send the message content of the target message to the target client, so that the target client cannot read the target message again.

[0047] Furthermore, after all second clients in the group have read the target message, that is, after the first server clears the reading status information corresponding to all second clients stored in the preset location, the message information of the target message stored in the preset location can be cleared. Thus, after all second clients in the group have read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read-and-destroy of point-to-group messages and improving the security of point-to-group messages.

[0048] It should be noted that, in some embodiments, there is a situation where one or more second clients never read the target message. For example, a group includes clients A, B, C and D, where client A is the first client that sends the target message, and B, C and D are the second clients. In actual applications, when clients B and C trigger the action of reading the target message, the first server can obtain the message content of the target message and send it to clients B and C, while client D may not trigger the action of reading the target message due to reasons such as never logging in or never receiving the target message. In this case, the first server may not be able to clear the reading status information corresponding to client D stored in the preset location for a long time.

[0049] In the above case, in order to protect the privacy of the target message, the following methods can be used:

[0050] Get the creation time of the target message;

[0051] Determine the storage duration of the target message based on the creation time and the current time;

[0052] When the storage time exceeds the second preset time length, the message information stored in the preset location and the reading status information corresponding to each second client are cleared.

[0053] Among them, the second preset duration can be set as needed, and this application does not impose any restrictions on this.

[0054] The difference between the creation time of the target message and the current time is the storage duration of the target message.

[0055] In some embodiments, the time when the message information of the target message or the reading status information corresponding to each second client is stored in a preset location can be used as the creation time of the target message, or the time when the first client sends the target message in the group can be used as the creation time of the target message. This application does not impose any restrictions on this.

[0056] Specifically, the creation time of the target message can be stored in a preset location, and the first server can periodically query the creation time of the target message, and determine the storage duration of the target message based on the creation time and the current time, and then determine whether the storage duration exceeds the second preset duration. If it exceeds, the message information of the target message stored in the preset location and the reading status information corresponding to each second client are cleared. Therefore, regardless of whether all second clients in the group have completed reading the target message, when the storage duration of the target message exceeds the preset duration, the message information of the target message stored in the preset location and the reading status information corresponding to each second client are cleared, thereby improving the security of point-to-point group messages.

[0057] The message processing method provided by the present application stores the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group in a preset position, and in response to the target client in the second client reading the target message and querying the reading status information corresponding to the target client from the preset position, obtains the message content of the target message based on the message information stored in the preset position, sends the message content of the target message to the target client, so that the target client displays the message content, and stops displaying and clears the message content after the display time of the message content reaches a first preset time, and then clears the reading status information corresponding to the target client stored in the preset position, so that the target client in the second client of the group cannot read the target message again after reading the target message once, and by clearing the message information stored in the preset position after clearing the reading status information corresponding to all the second clients stored in the preset position, it is achieved that after all the second clients in the group read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read-and-burn of point-to-group messages, and improving the security of point-to-group messages.

[0058] In some embodiments, in order to protect the privacy of the target message, the message content of the target message in the message information of the target message stored in the preset location, the message content sent by the first client to the group, and the message content sent by the first server to the target client can all be encrypted message content. Figure 2 , the message processing method in the embodiment of the present application is further explained.

[0059] Figure 2 FIG. 1 is a flow chart of another message processing method provided in an embodiment of the present application. Figure 2 As shown, the message processing method includes the following steps 201-207.

[0060] Step 201 , in response to a target client among a plurality of second clients included in a group reading a target message, querying reading status information of a target message corresponding to the target client from a preset location, wherein the target message is a message sent by a first client in the group.

[0061] The specific implementation process and principle of step 201 may refer to the description of other embodiments and will not be repeated here.

[0062] Step 202, when the reading status information is queried, obtain a first encrypted message from the message information stored in a preset location, wherein the first encrypted message is obtained by encrypting the message content of the target message based on the first public key of the first client for the target message.

[0063] In some embodiments, different clients may have different key information for the message content of the same message, and encrypt and decrypt the same message content through different key information, thereby avoiding the problem of message content leakage due to key leakage when different clients use the same key information to encrypt and decrypt message content, thereby improving the security of the message content.

[0064] In some embodiments, when the first client sends a target message to a group, it can encrypt the message content of the target message based on the first public key of the first client for the target message to obtain a first encrypted message, or encrypt the message content and message identifier of the target message to obtain a first encrypted message, and send the first encrypted message to the first server, so that the first server can store the first encrypted message and other information of the target message as message information of the target message in a preset location.

[0065] The first client can send the first encrypted message to the second server, and the second server verifies the target message based on the first encrypted message, and after the verification is passed, the first encrypted message can be sent to the first server. The second server is another server configured in the server, which is used to provide other services besides the message service, such as authentication service.

[0066] When the target client triggers an action of reading the target message among the multiple second clients, in response to the target client reading the target message, the first server can query the reading status information corresponding to the target client from the preset location. When the first server queries the reading status information corresponding to the target client at the preset location, it can be determined that the reading status of the target message by the target client is unread, and then the first encrypted message can be obtained from the message information stored at the preset location.

[0067] Step 203: Obtain a first private key of the first client for the target message, and decrypt the first encrypted message based on the first private key to obtain the decrypted message content.

[0068] In some embodiments, the preset location can store the first private key of the first client for the target message, so that the first server can obtain the first private key from the preset location according to the identifier of the first client and the identifier of the target message, and decrypt the first encrypted message based on the first private key to obtain the decrypted message content.

[0069] Step 204: Obtain the second public key and the second private key of the target client for the target message from the reading status information corresponding to the target client.

[0070] In some embodiments, the reading status information corresponding to the target client stored at the preset location may include the target client's second public key and second private key for the target message, so that the first server can obtain the target client's second public key and second private key for the target message from the reading status information corresponding to the target client stored at the preset location.

[0071] Step 205: encrypt the decrypted message content based on the second private key to obtain the encrypted message content.

[0072] In some embodiments, the first server may encrypt the decrypted message content based on the second private key to obtain encrypted message content.

[0073] Step 206, sending the encrypted message content and the second public key to the target client, so that the target client decrypts the encrypted message content based on the second public key, and enables the target client to display the message content, and after the display time of the message content reaches a first preset time, stop displaying and clear the message content.

[0074] In some embodiments, the first server can send the encrypted message content and the second public key to the target client. Then the target client can decrypt the encrypted message content based on the second public key, obtain the message content of the target message, and display the message content. At the same time, after the display time of the message content of the target client reaches the first preset time, the message content is stopped from being displayed and the message content is cleared. In this way, the target message can be read and burned in the target client.

[0075] Step 207, clearing the reading status information corresponding to the target client stored in the preset location, and after clearing the reading status information corresponding to all second clients stored in the preset location, clearing the message information stored in the preset location.

[0076] The specific implementation process and principle of step 207 may refer to the description of the above embodiment and will not be repeated here.

[0077] In summary, through the message processing method provided by the present application, the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group are stored in a preset position, in response to the target client in the second client reading the target message, when the reading status information corresponding to the target client is queried from the preset position, the first encrypted message is obtained from the message information stored in the preset position, the first private key of the first client for the target message is obtained, and the first encrypted message is decrypted based on the first private key to obtain the decrypted message content, the second public key and the second private key of the target client for the target message are obtained from the reading status information corresponding to the target client, the decrypted message content is encrypting based on the second private key to obtain the encrypted message content, and the encrypted message content and the second public key are sent to the target client, so that the target client can read the target message based on the second private key. The public key decrypts the encrypted message content, and enables the target client to display the message content, and after the display time of the message content reaches a first preset time, stops displaying and clears the message content, and then clears the reading status information corresponding to the target client stored in the preset position, so that different clients can use different key information to encrypt and decrypt the message content of the target message, thereby improving the security of the message content, and makes it impossible for the second client in the group to read the target message again after reading it once, and by clearing the reading status information corresponding to all the second clients stored in the preset position, clearing the message information stored in the preset position, it is achieved that after all the second clients in the group read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read-and-burn of point-to-group messages, thereby improving the security of point-to-group messages.

[0078] Through the above analysis, it can be known that the first server can store the message information of the target message and the reading status information of the target message corresponding to each second client in a preset location. Figure 3 , further explains the process in which the first server obtains and stores the message information of the target message and the reading status information of the target message corresponding to each second client in the message processing method in the embodiment of the present application.

[0079] Figure 3 FIG. 1 is a flow chart of another message processing method provided in an embodiment of the present application. Figure 3 As shown, the message processing method includes the following steps 301-308.

[0080] Step 301: In response to a first client sending a target message in a group, message information is acquired.

[0081] In some embodiments, the message information may include: a message identifier of the target message, and a second encrypted message obtained by encrypting the message identifier based on the first public key of the first client for the target message. It should be noted that the second encrypted message can be obtained by encrypting the message identifier of the target message based on the first public key, or by encrypting the message identifier and message content of the target message based on the first public key, and this application does not limit this.

[0082] Correspondingly, step 301 can be implemented in the following manner: receiving message information sent by the second server, wherein the message information is the message information sent by the first client received by the second server, and verifying the target message in the following manner and sending it after the verification is passed: based on the message identifier, obtaining the first private key of the first client for the target message, and decrypting the second encrypted message based on the first private key to obtain the decrypted message identifier; comparing the decrypted message identifier with the message identifier, and determining that the verification is passed when the comparison result is consistent.

[0083] The second server is another server configured in the server, and is used to provide other services besides the message service, such as authentication service.

[0084] Specifically, when the first client sends a target message to the group, it can encrypt the message identifier of the target message based on the first public key to obtain a second encrypted message, or encrypt the message identifier and message content of the target message based on the first public key to obtain a second encrypted message, and send the second encrypted message and the message identifier of the target message in plain text as message information to the second server. The message information may also include other information such as the identifier of the first client in plain text, which is not limited here.

[0085] After the second server receives the message information sent by the first client, it can obtain the first private key of the first client for the panel message based on the message identifier, and use the first private key to decrypt the second encrypted message to obtain the decrypted message identifier, and then compare the decrypted message identifier with the message identifier in plain text, and determine that the verification is successful when the comparison result is consistent. After the verification is successful, the second server can send the message information of the target message to the first server. Therefore, the second server uses the above method to verify the target message, and sends the message information of the target message to the first server after the verification is successful, which prevents the first client from tampering with the information such as the message identifier in plain text, thereby improving the security of the target message.

[0086] Step 302: Generate reading status information corresponding to each second client according to the message information.

[0087] In some embodiments, the message information may include an identifier of the group and a message identifier of the target message.

[0088] The message identifier of the target message may be carried in the message information of the target message sent by the first client to the second server, and sent by the second server to the first server; the group identifier may be carried in the message sending request sent by the first client to the second server, and stored by the second server to a preset location, so that the first server can obtain the group identifier from the preset location. Before sending a self-destructing message, the first client may send a message sending request to the second server, and the request is used to apply to the second server to send a self-destructing message.

[0089] Accordingly, step 302 may be implemented in the following manner: based on the group identifier, obtaining identifiers of multiple second clients included in the group; and for each second client, generating corresponding reading status information including the second client identifier and the message identifier.

[0090] Specifically, the first server may obtain the identifiers of all second clients included in the group based on the identifier of the group, and then generate corresponding reading status information including the identifier of the second client and the message identifier for each second client.

[0091] In some embodiments, in addition to the group identifier and the message identifier of the target message, the message information may also include a first encrypted message obtained by encrypting the message content based on the first public key, or a first encrypted message obtained by encrypting the message identifier and the message content based on the first public key. For each second client, the generated reading status information may include, in addition to the corresponding second client identifier and message identifier, the public key and private key of the corresponding second client, so that when the message content is sent to the second client, the message content is encrypted according to the private key of the corresponding second client.

[0092] Step 303: store the message information and each reading status information in a preset location.

[0093] Step 304: Receive the message identifier of the target message and the identifier of the target client sent by the second server.

[0094] Among them, the message identifier and the target client identifier are sent when the second server receives the message identifier, the group identifier and the target client identifier sent by the target client, and authenticates the group and the target client based on the group identifier and the target client identifier and passes the authentication.

[0095] In some embodiments, the first server can push a reminder message to each second client to remind the second client that a message in the group has been received. The reminder message displayed by the second client can be an encrypted icon or text reminder, which is not limited in this application.

[0096] After the user corresponding to the target client in each second client clicks the reminder message, the action of reading the target message can be triggered on the target client. Correspondingly, the target client can send the message identifier, group identifier and target client identifier of the target message to be read to the second server. Among them, the message identifier and group identifier of the target message can be sent to the target client by the first server when pushing the reminder message, or by the second server when the target client requests to receive the message from the second server. This application does not limit this.

[0097] After the second server receives the message identifier, the group identifier and the target client identifier sent by the target client, it can authenticate the group and the target client according to the group identifier and the target client identifier, and send the message identifier of the target message and the target client identifier to the first server if the authentication is successful. The authentication of the group and the target client according to the group identifier and the target client identifier may include, for example, verifying whether the group actually exists, whether the target client is indeed the target client and not impersonated by another client, and whether the target client is indeed in the group. The authentication process may refer to the relevant technology and will not be described here.

[0098] Step 305: Based on the message identifier and the identifier of the target client, determine that the target client reads the target message.

[0099] In some embodiments, after the first server receives the message identifier of the target message and the identifier of the target client sent by the second server, it can determine that the target client has triggered an action to read the target message, that is, the target client has read the target message.

[0100] Step 306 , in response to a target client among the plurality of second clients included in the group reading a target message, querying reading status information of a target message corresponding to the target client from a preset location, wherein the target message is a message sent by the first client in the group.

[0101] Step 307, when the reading status information is queried, the message content of the target message is obtained based on the message information of the target message stored in the preset location, and the message content is sent to the target client so that the target client displays the message content, and after the display time of the message content reaches a first preset time, the display is stopped and the message content is cleared.

[0102] Step 308, clearing the reading status information corresponding to the target client stored in the preset location, and after clearing the reading status information corresponding to all second clients stored in the preset location, clearing the message information stored in the preset location.

[0103] The specific implementation process and principle of steps 306-308 may refer to the description of other embodiments and will not be repeated here.

[0104] In summary, the message processing method provided by the present application obtains message information in response to a first client sending a target message in a group, generates reading status information corresponding to each second client according to the message information, and stores the message information and the reading status information in a preset location, so that the first server stores the message information of the target message and the reading status information corresponding to each second client in a preset location, receives the message identifier of the target message sent by the second server and the identifier of the target client, determines based on the message identifier and the identifier of the target client that the target client reads the target message, and in response to the target client among multiple second clients included in the group reading the target message, queries the reading status information of the target message corresponding to the target client from the preset location, wherein the target message is a message sent by the first client in the group, and after the reading status information is queried, In the case of information, based on the message information of the target message stored in the preset position, the message content of the target message is obtained, and the message content is sent to the target client, so that the target client displays the message content, and after the display time of the message content reaches a first preset time, the display is stopped and the message content is cleared, and the reading status information corresponding to the target client stored in the preset position is cleared, so that after the target client in the second client of the group has read the target message once, it cannot read the target message again, and by clearing the reading status information corresponding to all the second clients stored in the preset position respectively, the message information stored in the preset position is cleared, so that after all the second clients in the group read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read-and-destroy of point-to-group messages, and improving the security of point-to-group messages.

[0105] The message processing method performed by the client side provided in the embodiment of the present application is described below. The message processing method provided in the embodiment of the present application is configured to be performed in the client. The client may be the target client in the above embodiment.

[0106] Figure 4 A flowchart of another message processing method provided in an embodiment of the present application.

[0107] like Figure 4 As shown, the message processing method may include the following steps 401-403.

[0108] Step 401: Receive the message content of the target message sent by the first server.

[0109] Among them, the message content of the target message is obtained by the first server using the message processing method of the first embodiment mentioned above and sent to the client.

[0110] Step 402: Display the message content.

[0111] Step 403: After the display duration of the message content reaches a first preset duration, stop displaying and clear the message content.

[0112] The first preset duration can be set as needed and is not limited here. The first preset duration can be a fixed duration set in the client or a duration sent from the first server to the client, which is not limited in this application. The first preset durations corresponding to different messages can be the same or different.

[0113] In some embodiments, after the client receives the message content of the target message, it can display the message content and simultaneously start a countdown on the client for a first preset duration. When the countdown reaches zero, that is, after the display duration of the message content reaches the first preset duration, the message content is stopped from being displayed and the message content is cleared.

[0114] In some embodiments, the message content received by the client may be encrypted message content encrypted based on the private key of the client for the target message.

[0115] Correspondingly, before step 402, the method may further include: receiving a public key of the client for the target message sent by the first server; and decrypting the encrypted message content based on the public key. Then, the client may display the decrypted message content.

[0116] In some embodiments, in order to avoid leakage of target information, the client may also prohibit operations such as taking screenshots of the screen.

[0117] The message processing method provided in the embodiment of the present application receives the message content of the target message sent by the first server through the client, displays the message content, and stops displaying and clears the message content after the display time of the message content reaches a first preset time, thereby realizing that the target message is read and burned in the client that reads the message.

[0118] Combine the following Figure 5 , Figure 6 The interaction diagram of the message processing method shown illustrates the message processing method provided in the embodiment of the present application.

[0119] Figure 5 This is an interaction diagram of the message processing method provided in the embodiment of the present application. Figure 6Another interactive diagram of the message processing method provided in the embodiment of the present application. The message processing method provided in the embodiment of the present application is executed by the first server, the second server, the first client, and the target client of the second client.

[0120] Step 501: A first client sends a message sending request to a second server, where the message sending request includes an identifier of a group and an identifier of the first client.

[0121] In some embodiments, a button with a self-destructing function for triggering a message may be provided in the chat window interface of the group. The first client may touch the button before sending a self-destructing message, thereby triggering a message sending request to the second server, where the request is used to apply to the second server to send a self-destructing message. It should be noted that in some embodiments, the messages sent after the first client sends a message sending request to the second server are all messages that need to be destroyed after reading. When the first client needs to cancel the self-destructing function, it can touch the above button again.

[0122] Step 502: The second server performs identity authentication on the group and the first client based on the group identifier and the first client identifier.

[0123] In some embodiments, after receiving the message sending request sent by the first client, the second server may authenticate the group and the first client based on the group identifier and the first client identifier included in the message sending request.

[0124] Among them, based on the identifier of the group and the identifier of the first client, the identities of the group and the first client are authenticated, for example, it may include verifying whether the group actually exists, the first client is indeed the first client and not impersonated by other clients, and the first client is indeed in the group. The verification process can refer to relevant technologies and will not be repeated here.

[0125] Step 503: after the verification is passed, the second server generates a message identifier of the target message based on the group identifier, and generates a first public key and a first private key of the first client for the target message.

[0126] The message identifier of the target message is the message identifier of the first message sent after the first client sends a message sending request to the second server.

[0127] Step 504: The second server stores the message identifier of the target message, the group identifier, and the first private key in a preset location, and sends the message identifier and the first public key to the first client.

[0128] In some embodiments, the second server may also store the first client's identifier, the first public key, and the corresponding storage time in a preset location, wherein the storage time is the time when the second server stores each message in the preset location, and the storage time may be used as the creation time of the target message.

[0129] Step 505, the first client sends message information of the target message to the second server, the message information including: a message identifier of the target message, a first encrypted message obtained by encrypting the message content of the target message based on the first public key, and a second encrypted message obtained by encrypting the message identifier based on the first public key.

[0130] Step 506: The second server obtains the first private key based on the message identifier.

[0131] Step 507: The second server decrypts the second encrypted message based on the first private key to obtain a decrypted message identifier.

[0132] In some embodiments, since the message identifier of the target message, the group identifier, and the first private key are stored in a preset location respectively, the second server can obtain the first private key of the first client for the target message based on the message identifier, and then decrypt the second encrypted message based on the first private key to obtain the decrypted message identifier.

[0133] In step 508, the second server compares the decrypted message identifier with the message identifier, and determines that the verification is successful when the comparison result is consistent.

[0134] Step 509: The second server sends message information to the first server.

[0135] Step 510: The first server obtains the identifier of the group.

[0136] Step 511: The first server obtains the identifiers of multiple second clients included in the group based on the identifier of the group.

[0137] In some embodiments, the first server may obtain the identifier of the group from a preset location.

[0138] Step 512: The first server generates corresponding reading status information including the identifier of the second client, the message identifier, and the public key and private key of the second client for the target message for each second client.

[0139] Step 513: The first server stores the message information and the reading status information corresponding to each second client in a preset location.

[0140] Step 514: a target client among the plurality of second clients sends a message identifier of a target message, an identifier of a group, and an identifier of the target client to the second server.

[0141] Step 515: The second server performs identity authentication on the group and the target client according to the group identifier and the target client identifier.

[0142] Step 516: When the verification is successful, the second server sends the message identifier and the identifier of the target client to the first server.

[0143] Step 517: The first server determines that the target client reads the target message based on the message identifier and the identifier of the target client.

[0144] Step 518 : In response to the target client reading the target message, the first server queries the target client from a preset location for reading status information of the target message.

[0145] Step 519: When the first server finds out the reading status information, it obtains the first encrypted message from the message information stored in the preset location.

[0146] Step 520: The first server obtains the first private key.

[0147] Step 521: The first server decrypts the first encrypted message based on the first private key to obtain the decrypted message content.

[0148] Step 522: The first server reads the message corresponding to the target client and obtains the second public key and the second private key of the target client for the target message.

[0149] Step 523: The first server encrypts the decrypted message content based on the second private key to obtain the encrypted message content.

[0150] Step 524: The first server sends the encrypted message content and the second public key to the target client.

[0151] Step 525: The target client decrypts the encrypted message content based on the second public key to obtain the message content.

[0152] Step 526: The target client displays the message content, and after the display duration of the message content reaches a first preset duration, stops displaying and deletes the message content.

[0153] Step 527: the first server clears the reading status information corresponding to the target client stored in the preset location, and after clearing the reading status information corresponding to all second clients stored in the preset location, clears the message information stored in the preset location.

[0154] Therefore, by storing the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group in a preset position, in response to the target client in the second client reading the target message and querying the reading status information corresponding to the target client from the preset position, the message content of the target message is obtained based on the message information stored in the preset position, the message content of the target message is sent to the target client, and then the reading status information corresponding to the target client stored in the preset position is cleared, so that after the target client in the second client of the group has read the target message once, it cannot read the target message again, and the message content is displayed by the target client, and after the display time of the message content reaches the first preset time, the display is stopped and the message content is cleared, so that the target message is read and burned in the client that reads the message, and by clearing the message information stored in the preset position after clearing the reading status information corresponding to all the second clients stored in the preset position, it is realized that after all the second clients in the group read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read and burned of point-to-group messages, and improving the security of point-to-group messages.

[0155] In some embodiments, the first server may also periodically query the creation time of the target message, and determine the storage duration of the target message based on the creation time and the current time, and then determine whether the storage duration exceeds the second preset duration. If it exceeds, the message information of the target message stored in the preset location and the reading status information corresponding to each second client are cleared. Thus, regardless of whether all second clients in the group have completed reading the target message, when the storage duration of the target message exceeds the preset duration, the message information of the target message stored in the preset location and the reading status information corresponding to each second client are cleared, thereby improving the security of point-to-point group messages.

[0156] Figure 7 The schematic diagram of the structure of the server provided in the embodiment of the present application. The server can execute the message processing method described in the first embodiment. The server can be the first server in the embodiment.

[0157] like Figure 7 As shown, the server 700 may include: a query module 710 , a first acquisition module 720 , a sending module 730 and a clearing module 740 .

[0158] The query module 710 is used to query the reading status information of the target message corresponding to the target client from the preset position in response to the target client among the plurality of second clients included in the group reading the target message, wherein the target message is a message sent by the first client in the group;

[0159] The first acquisition module 720 is used to acquire the message content of the target message based on the message information of the target message stored in a preset position when the reading status information is queried;

[0160] The sending module 730 is used to send the message content to the target client so that the target client displays the message content, and stops displaying and clears the message content after the display time of the message content reaches a first preset time;

[0161] The clearing module 740 is used to clear the reading status information corresponding to the target client stored in the preset location, and after clearing the reading status information corresponding to all second clients stored in the preset location, clear the message information stored in the preset location.

[0162] Furthermore, in a possible implementation of the embodiment of the present application, the first acquisition module 720 is specifically configured to:

[0163] Obtaining a first encrypted message from the message information stored in a preset location, wherein the first encrypted message is obtained by encrypting the message content of the target message based on the first public key of the first client for the target message;

[0164] Obtaining a first private key of the first client for the target message, and decrypting the first encrypted message based on the first private key to obtain the decrypted message content;

[0165] Obtaining a second public key and a second private key of the target client for the target message from the reading status information corresponding to the target client;

[0166] Encrypt the decrypted message content based on the second private key to obtain encrypted message content;

[0167] The sending module is specifically used to: send the encrypted message content and the second public key to the target client, so that the target client decrypts the encrypted message content based on the second public key.

[0168] Furthermore, in a possible implementation of the embodiment of the present application, the server 700 further includes:

[0169] A second acquisition module, configured to acquire message information in response to the first client sending a target message in the group;

[0170] A generating module, used for generating reading status information corresponding to each second client according to the message information;

[0171] The storage module is used to store the message information and each reading status information in a preset location.

[0172] Further, in a possible implementation manner of the embodiment of the present application, the message information includes: a message identifier of the target message, and a second encrypted message obtained by encrypting the message identifier based on the first public key of the first client for the target message; the second acquisition module is specifically used to:

[0173] Receive the message information sent by the second server, wherein the message information is the message information sent by the first client received by the second server, and the target message is verified and sent after passing the verification in the following manner:

[0174] Based on the message identifier, obtain a first private key of the first client for the target message, and decrypt the second encrypted message based on the first private key to obtain a decrypted message identifier;

[0175] The decrypted message identifier is compared with the message identifier, and the verification is determined to be successful when the comparison results are consistent.

[0176] Furthermore, in a possible implementation manner of the embodiment of the present application, the message information includes an identifier of the group and a message identifier of the target message; accordingly, the generating module is specifically configured to:

[0177] Based on the identifier of the group, obtaining identifiers of multiple second clients included in the group;

[0178] For each second client, corresponding reading status information including the identifier of the second client and the message identifier is generated.

[0179] Furthermore, in a possible implementation of the embodiment of the present application, the server 700 further includes:

[0180] The first receiving module is used to receive the message identifier of the target message and the identifier of the target client sent by the second server, wherein the message identifier and the identifier of the target client are sent when the second server receives the message identifier, the identifier of the group and the identifier of the target client sent by the target client, and performs identity authentication on the group and the target client according to the identifier of the group and the identifier of the target client and passes the authentication;

[0181] The first determination module is used to determine that a target client reads a target message based on a message identifier and an identifier of a target client.

[0182] Furthermore, in a possible implementation of the embodiment of the present application, the server 700 further includes:

[0183] The third acquisition module is used to obtain the creation time of the target message;

[0184] A second determination module, used to determine the storage duration of the target message based on the creation time and the current time;

[0185] The clearing module is further used to clear the message information stored in the preset location and the reading status information corresponding to each second client terminal when the storage time exceeds the second preset time length.

[0186] It should be noted that the explanations in the aforementioned message processing method embodiment executed by the first server side are also applicable to the server side of this embodiment and will not be repeated here.

[0187] The server of the embodiment of the present application stores the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group in a preset position, and in response to the target client in the second client reading the target message and querying the reading status information corresponding to the target client from the preset position, obtains the message content of the target message based on the message information stored in the preset position, sends the message content of the target message to the target client, so that the target client displays the message content, and stops displaying and clears the message content after the display time of the message content reaches a first preset time, and then clears the reading status information corresponding to the target client stored in the preset position, so that the target client in the second client of the group cannot read the target message again after reading the target message once, and by clearing the message information stored in the preset position after clearing the reading status information corresponding to all the second clients stored in the preset position, it is achieved that after all the second clients in the group read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read-and-burn of point-to-group messages, and improving the security of point-to-group messages.

[0188] In order to implement the above embodiment, the embodiment of the present application also provides a client.

[0189] Figure 8 This is a schematic diagram of the structure of the client provided in the embodiment of the present application. The client can execute the message processing method described in the embodiment of the second aspect above.

[0190] like Figure 8 As shown, the client 800 may include: a second receiving module 810 , a display module 820 and a processing module 830 .

[0191] The second receiving module 810 is used to receive the message content of the target message sent by the first server using the message processing method of the first embodiment;

[0192] A display module 820, used to display message content;

[0193] The processing module 830 is used to stop displaying and clear the message content after the display duration of the message content reaches a first preset duration.

[0194] Further, in a possible implementation of the embodiment of the present application, the message content is the encrypted message content encrypted based on the private key of the client for the target message;

[0195] The client 800 further includes:

[0196] A third receiving module, used to receive the public key of the client for the target message sent by the first server;

[0197] The decryption module is used to decrypt the encrypted message content based on the public key.

[0198] It should be noted that the explanations in the aforementioned message processing method embodiment performed by the target client side are also applicable to the client of this embodiment and will not be repeated here.

[0199] The client of the embodiment of the present application receives the message content of the target message sent by the first server, displays the message content, and stops displaying and clears the message content after the display time of the message content reaches a first preset time, thereby realizing that the target message is read and burned in the client that reads the message.

[0200] In order to implement the above embodiment, the present application also proposes a message processing system, including a first client, a second client and a first server.

[0201] Wherein, the first client is used to send a target message in the group;

[0202] A first server, used to execute the message processing method of the first aspect embodiment;

[0203] The second client is used to execute the message processing method of the aforementioned second aspect embodiment.

[0204] It should be noted that the description of the message processing method embodiment in the above embodiment is also applicable to the first client, the second client and the first server in the message processing system in the embodiment of the present application, and will not be repeated here.

[0205] Furthermore, in a possible implementation of the embodiment of the present application, the message processing system may further include a second server, wherein the second server is another server configured in the server, and is used to provide other services besides the message service, such as an authentication service.

[0206] The second server is used for:

[0207] receiving a message sending request sent by a first client, where the message sending request includes an identifier of the group and an identifier of the first client;

[0208] Based on the identifier of the group and the identifier of the first client, the group and the first client are authenticated.

[0209] In a possible implementation manner of the embodiment of the present application, the second server is further configured to:

[0210] Based on the group identifier, generate a message identifier of the target message;

[0211] Generate a public key and a private key of the first client for the target message;

[0212] The message identifier, group identifier, and private key of the target message are correspondingly stored in a preset location, and the message identifier and public key are sent to the first client.

[0213] In a possible implementation manner of the embodiment of the present application, the second server is further configured to:

[0214] Receive message information of a target message sent by a first client, the message information including: a message identifier of the target message, and an encrypted message obtained by encrypting the message identifier based on a first public key of the first client for the target message;

[0215] Based on the message identifier, obtain a first private key of the first client for the target message, and decrypt the encrypted message based on the first private key to obtain a decrypted message identifier;

[0216] The decrypted message identifier is compared with the message identifier, and when the comparison result is consistent, it is determined that the verification is successful, and the message information is sent to the first server.

[0217] In a possible implementation manner of the embodiment of the present application, the second server is further configured to:

[0218] Receive a message identifier of a target message sent by a second client, an identifier of a group, and an identifier of the second client;

[0219] authenticating the group and the second client according to the group identifier and the second client identifier;

[0220] If the verification is successful, the message identifier and the identifier of the second client are sent to the first server.

[0221] The message processing system provided by the embodiment of the present application stores the message information of the target message sent by the first client in the group and the reading status information corresponding to each second client in the group to a preset position through the first server. In response to the target client in the second client reading the target message and querying the reading status information corresponding to the target client from the preset position, the message content of the target message is obtained based on the message information stored in the preset position, the message content of the target message is sent to the target client, and the reading status information corresponding to the target client stored in the preset position is cleared, so that the target client in the second client of the group cannot read the target message again after reading it once, and the message content is displayed by the target client, and after the display time of the message content reaches a first preset time, the display is stopped and the message content is cleared, so that the target message is read and burned in the client that reads the message, and by clearing the message information stored in the preset position after clearing the reading status information corresponding to all the second clients stored in the preset position, it is realized that after all the second clients in the group read the target message, the message information of the target message is deleted and destroyed, thereby effectively realizing the read and burned of point-to-group messages and improving the security of point-to-group messages.

[0222] In order to implement the above-mentioned embodiments, the present application also proposes an electronic device, comprising: 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, and the instructions are executed by the at least one processor so that the at least one processor can execute the message processing method proposed in any of the aforementioned embodiments of the present application.

[0223] In order to implement the above embodiments, the present application also proposes a non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to enable the computer to execute a message processing method as proposed in any of the aforementioned embodiments of the present application.

[0224] In order to implement the above embodiments, the present application also proposes a computer program product, including a computer program, which, when executed by a processor, implements the message processing method proposed in any of the above embodiments of the present application.

[0225] Fig. 9 A block diagram of an exemplary electronic device suitable for implementing the embodiments of the present application is shown. Fig. 9 The electronic device 900 shown is only an example and should not bring any limitation to the functions and application scope of the embodiments of the present application. The electronic device may be a server or a terminal device.

[0226] like Fig. 9As shown, the electronic device 900 is in the form of a general-purpose computing device. The components of the electronic device 900 may include, but are not limited to: one or more processors or processing units 16, a system memory 28, and a bus 18 connecting different system components (including the system memory 28 and the processing unit 16).

[0227] The bus 18 represents one or more of several types of bus structures, including a memory bus or memory controller, a peripheral bus, a graphics acceleration port, a processor or a local bus using any of a variety of bus structures. For example, these architectures include but are not limited to Industry Standard Architecture (ISA) bus, Micro Channel Architecture (MAC) bus, Enhanced ISA bus, Video Electronics Standards Association (VESA) local bus and Peripheral Component Interconnection (PCI) bus.

[0228] The electronic device 1600 typically includes a variety of computer system readable media. These media can be any available media that can be accessed by the electronic device 900, including volatile and non-volatile media, removable and non-removable media.

[0229] The memory 28 may include computer system readable media in the form of volatile memory, such as random access memory (RAM) 30 and / or cache memory 32. The electronic device 1600 may further include other removable / non-removable, volatile / non-volatile computer system storage media. By way of example only, the storage system 34 may be used to read and write non-removable, non-volatile magnetic media ( Fig. 9 not shown, usually called a "hard drive"). Although Fig. 9Not shown, a disk drive for reading and writing a removable non-volatile disk (e.g., a "floppy disk"), and an optical disk drive for reading and writing a removable non-volatile optical disk (e.g., a compact disc read only memory (CD-ROM), a digital versatile disc read only memory (DVD-ROM), or other optical media) may be provided. In these cases, each drive may be connected to the bus 18 via one or more data medium interfaces. The memory 28 may include at least one program product having a set (e.g., at least one) of program modules that are configured to perform the functions of the various embodiments of the present application.

[0230] A program / utility 40 having a set (at least one) of program modules 42 may be stored, for example, in the memory 28, such program modules 42 including, but not limited to, an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment. The program modules 42 generally perform the functions and / or methods of the embodiments described herein.

[0231] The electronic device 900 may also communicate with one or more external devices 14 (e.g., keyboards, pointing devices, displays 24, etc.), one or more devices that enable a user to interact with the electronic device 900, and / or any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., a network card, a modem, etc.). Such communication may be performed through an input / output (I / O) interface 22. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., a local area network (LAN), a wide area network (WAN), and / or a public network, such as the Internet) through a network adapter 20. As shown, the network adapter 20 communicates with other modules of the electronic device 900 through a bus 18. It should be understood that although Fig. 9 Not shown, other hardware and / or software modules may be used in conjunction with electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems.

[0232] The processing unit 16 executes various functional applications and data processing by running programs stored in the system memory 28, such as implementing the methods mentioned in the above embodiments.

[0233] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present application. In this specification, the schematic representations of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner. In addition, those skilled in the art may combine and combine the different embodiments or examples described in this specification and the features of the different embodiments or examples, without contradiction.

[0234] In addition, the terms "first" and "second" are used for descriptive purposes only and should not be understood as indicating or implying relative importance or implicitly indicating the number of the indicated technical features. Therefore, the features defined as "first" and "second" may explicitly or implicitly include at least one of the features. In the description of this application, the meaning of "plurality" is at least two, such as two, three, etc., unless otherwise clearly and specifically defined.

[0235] Any process or method description in a flowchart or otherwise described herein may be understood to represent a module, fragment or portion of code comprising one or more executable instructions for implementing the steps of a custom logical function or process, and the scope of the preferred embodiments of the present application includes alternative implementations in which functions may not be performed in the order shown or discussed, including performing functions in a substantially simultaneous manner or in the reverse order depending on the functions involved, which should be understood by technicians in the technical field to which the embodiments of the present application belong.

[0236] The logic and / or steps represented in the flowchart or otherwise described herein, for example, can be considered as an ordered list of executable instructions for implementing logical functions, and can be embodied in any computer-readable medium for use by an instruction execution system, device or apparatus (such as a computer-based system, a system including a processor, or other system that can fetch instructions from an instruction execution system, device or apparatus and execute the instructions), or in combination with these instruction execution systems, devices or apparatuses. For the purpose of this specification, "computer-readable medium" can be any device that can contain, store, communicate, propagate or transmit a program for use by an instruction execution system, device or apparatus, or in combination with these instruction execution systems, devices or apparatuses. More specific examples of computer-readable media (a non-exhaustive list) include the following: an electrical connection with one or more wires (electronic device), a portable computer disk box (magnetic device), a random access memory (RAM), a read-only memory (ROM), an erasable and programmable read-only memory (EPROM or flash memory), a fiber optic device, and a portable compact disk read-only memory (CDROM). In addition, the computer-readable medium may even be paper or other suitable medium on which the program is printed, since the program may be obtained electronically, for example, by optically scanning the paper or other medium and then editing, interpreting or processing in other suitable ways if necessary, and then stored in a computer memory.

[0237] It should be understood that the various parts of the present application can be implemented by hardware, software, firmware or a combination thereof. In the above-mentioned embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, it can be implemented by any one of the following technologies known in the art or their combination: a discrete logic circuit having a logic gate circuit for implementing a logic function for a data signal, a dedicated integrated circuit having a suitable combination of logic gate circuits, a programmable gate array (PGA), a field programmable gate array (FPGA), etc.

[0238] A person skilled in the art may understand that all or part of the steps in the method for implementing the above-mentioned embodiment may be completed by instructing related hardware through a program, and the program may be stored in a computer-readable storage medium, which, when executed, includes one or a combination of the steps of the method embodiment.

[0239] In addition, each functional unit in each embodiment of the present application may be integrated into a processing module, or each unit may exist physically separately, or two or more units may be integrated into one module. The above-mentioned integrated module may be implemented in the form of hardware or in the form of a software functional module. If the integrated module is implemented in the form of a software functional module and sold or used as an independent product, it may also be stored in a computer-readable storage medium.

[0240] The storage medium mentioned above may be a read-only memory, a magnetic disk or an optical disk, etc. Although the embodiments of the present application have been shown and described above, it can be understood that the above embodiments are exemplary and cannot be understood as limiting the present application. A person of ordinary skill in the art may change, modify, replace and modify the above embodiments within the scope of the present application.

Claims

1. A message processing method, characterized in that: Applied to the first server, the method includes: In response to a target client among the plurality of second clients included in the group reading a target message, querying reading status information of the target message corresponding to the target client from a preset location, wherein the target message is a message sent by the first client in the group; In the case where the reading status information is queried, based on the message information of the target message stored in the preset position, the message content of the target message is obtained, and the message content is sent to the target client, so that the target client displays the message content, and after the display time of the message content reaches a first preset time, the display is stopped and the message content is cleared; The reading status information corresponding to the target client stored in the preset location is cleared, and after the reading status information corresponding to all second clients stored in the preset location is cleared, the message information stored in the preset location is cleared.

2. The method according to claim 1, characterized in that: The acquiring the message content of the target message based on the message information of the target message stored in the preset location, and sending the message content to the target client includes: Acquire a first encrypted message from the message information stored in the preset location, wherein the first encrypted message is obtained by encrypting the message content of the target message based on the first public key of the first client for the target message; Obtaining a first private key of the first client for the target message, and decrypting the first encrypted message based on the first private key to obtain decrypted message content; Acquire a second public key and a second private key of the target client for the target message from the reading status information corresponding to the target client; The decrypted message content is encrypted based on the second private key to obtain the encrypted message content, and the encrypted message content and the second public key are sent to the target client, so that the target client decrypts the encrypted message content based on the second public key.

3. The method according to claim 1, characterized in that The method further comprises: In response to the first client sending the target message in the group, acquiring the message information; Generating reading status information corresponding to each second client according to the message information; The message information and each of the reading status information are stored in the preset location.

4. The method according to claim 3, characterized in that The message information includes: a message identifier of the target message, and a second encrypted message obtained by encrypting the message identifier based on a first public key of the first client for the target message; The acquiring the message information in response to the first client sending the target message in the group includes: Receive the message information sent by the second server, wherein the message information is sent after the second server receives the message information sent by the first client and verifies the target message in the following manner: Based on the message identifier, obtaining a first private key of the first client for the target message, and decrypting the second encrypted message based on the first private key to obtain a decrypted message identifier; The decrypted message identifier is compared with the message identifier, and the verification is determined to be successful when the comparison results are consistent.

5. The method according to claim 3, characterized in that: The message information includes the identifier of the group and the message identifier of the target message; Generating reading status information corresponding to each second client according to the message information includes: Based on the identifier of the group, obtaining identifiers of a plurality of second clients included in the group; For each second client, corresponding reading status information including the identifier of the second client and the message identifier is generated.

6. The method according to any one of claims 1 to 5, characterized in that Before the target client reads the target message in response to the plurality of second clients included in the group, the method further includes: receiving a message identifier of the target message and an identifier of the target client sent by the second server, wherein the message identifier and the identifier of the target client are sent when the second server receives the message identifier, the identifier of the group, and the identifier of the target client sent by the target client, and performs identity authentication on the group and the target client according to the identifier of the group and the identifier of the target client and passes the authentication; Based on the message identifier and the identifier of the target client, it is determined that the target client reads the target message.

7. The method according to any one of claims 1 to 5, characterized in that The method further comprises: Obtaining the creation time of the target message; Determining the storage duration of the target message based on the creation time and the current time; When the storage time exceeds a second preset time period, the message information stored in the preset location and the reading status information corresponding to each second client terminal are cleared.

8. A message processing method, characterized in that: Applied to a client, the method comprises: Receiving the message content of the target message sent by the first server using the message processing method described in any one of claims 1 to 7; Displaying the message content; After the display duration of the message content reaches a first preset duration, the display is stopped and the message content is cleared.

9. The method according to claim 8, characterized in that The message content is the encrypted message content encrypted based on the private key of the client for the target message; Before displaying the message content, the method further includes: Receiving a public key of the client for the target message sent by the first server; The encrypted message content is decrypted based on the public key.

10. A server, characterized in that: include: A query module, configured to query, in response to a target client among a plurality of second clients included in the group reading a target message, reading status information of the target message corresponding to the target client from a preset position, wherein the target message is a message sent by the first client in the group; A first acquisition module, configured to acquire the message content of the target message based on the message information of the target message stored in the preset position when the reading status information is queried; A sending module, used for sending the message content to the target client so that the target client displays the message content, and after the display time of the message content reaches a first preset time, stops displaying and clears the message content; The clearing module is used to clear the reading status information corresponding to the target client stored in the preset location, and after clearing the reading status information corresponding to all second clients stored in the preset location, clear the message information stored in the preset location.

11. A client, characterized in that: include: A second receiving module, configured to receive the message content of a target message sent by the first server using the message processing method according to any one of claims 1 to 7; A display module, used to display the message content; The processing module is used to stop displaying and clear the message content after the display time of the message content reaches a first preset time.

12. A message processing system, characterized in that: include: A first client for sending a target message in a group; A first server for executing the message processing method according to any one of claims 1 to 7; A second client for executing the message processing method according to claim 8 or 9.

13. The message processing system according to claim 12, characterized in that: Also included is a second server, configured to: receiving a message sending request sent by the first client, wherein the message sending request includes an identifier of a group and an identifier of the first client; Based on the identifier of the group and the identifier of the first client, the identities of the group and the first client are authenticated.

14. The message processing system according to claim 13, characterized in that: The second server is further used for: Based on the identifier of the group, generating a message identifier of the target message; Generate a public key and a private key of the first client for the target message; The message identifier of the target message, the identifier of the group, and the private key are correspondingly stored in a preset location, and the message identifier and the public key are sent to the first client.

15. The message processing system according to claim 13, characterized in that: The second server is further used for: Receive message information of the target message sent by the first client, the message information including: a message identifier of the target message, and an encrypted message obtained by encrypting the message identifier based on a first public key of the first client for the target message; Based on the message identifier, obtaining a first private key of the first client for the target message, and decrypting the encrypted message based on the first private key to obtain a decrypted message identifier; The decrypted message identifier is compared with the message identifier, and when the comparison result is consistent, it is determined that the verification is passed, and the message information is sent to the first server.

16. The message processing system according to claim 13, characterized in that: The second server is further used for: receiving a message identifier of the target message, an identifier of the group, and an identifier of the second client sent by the second client; authenticating the group and the second client according to the identifier of the group and the identifier of the second client; If the verification is successful, the message identifier and the identifier of the second client are sent to the first server.

17. An electronic device, characterized in that: include: at least one processor; as well as a memory communicatively connected to the at least one processor; wherein, The memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to perform the method of any one of claims 1 to 7, or the method of claim 8 or 9.

18. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to cause the computer to execute the method according to any one of claims 1 to 7, or the method according to claim 8 or 9.

Citation Information

Patent Citations

  • Group message reading feedback method, and server and client side device thereof

    CN105323147A

  • Reading state display method of group messages, instant messaging client, and server

    CN108400924A

  • Information prompting method, device and equipment and storage medium

    CN112291134A

  • Group message forwarding method, electronic equipment and readable storage medium

    CN116938591A

  • Device and method for expressing status of terminal using character

    US20140015839A1