CN114785751B - Message transmission method and related device - Google Patents

Message transmission method and related device Download PDF

Info

Publication number
CN114785751B
CN114785751B CN202110013849.2A CN202110013849A CN114785751B CN 114785751 B CN114785751 B CN 114785751B CN 202110013849 A CN202110013849 A CN 202110013849A CN 114785751 B CN114785751 B CN 114785751B
Authority
CN
China
Prior art keywords
user account
session
message
target
privacy
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110013849.2A
Other languages
Chinese (zh)
Other versions
CN114785751A (en
Inventor
黄小刚
向航
赵东
李斌
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202110013849.2A priority Critical patent/CN114785751B/en
Publication of CN114785751A publication Critical patent/CN114785751A/en
Application granted granted Critical
Publication of CN114785751B publication Critical patent/CN114785751B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L9/00Cryptographic mechanisms or cryptographic arrangements for secret or secure communications; Network security protocols
    • H04L9/08Key distribution or management, e.g. generation, sharing or updating, of cryptographic keys or passwords
    • H04L9/0816Key establishment, i.e. cryptographic processes or cryptographic protocols whereby a shared secret becomes available to two or more parties, for subsequent use
    • H04L9/0819Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s)
    • H04L9/083Key transport or distribution, i.e. key establishment techniques where one party creates or otherwise obtains a secret value, and securely transfers it to the other(s) involving central third party, e.g. key distribution center [KDC] or trusted third party [TTP]

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Security & Cryptography (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Telephonic Communication Services (AREA)
  • Information Transfer Between Computers (AREA)

Abstract

The embodiment of the application discloses a message transmission method and a related device, wherein in a social platform, after a first user account initiates a privacy session request aiming at a second user account, a target equipment identifier of the second user account is determined, and the target equipment identifier not only can be used for identifying terminal equipment of the second user account for receiving an encrypted session message sent by the first user account, but also can be used for determining a target encryption key according to the target equipment identifier. If the encrypted session message sent by the first user account to the second user account is obtained, the encrypted session message is forwarded to the second user account according to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the transmitted message is known by a third party is reduced in a message transmission layer. The security of the message transmission layer is realized through the target equipment identification, and the privacy provided by the privacy session scene is further ensured from the message display layer.

Description

Message transmission method and related device
Technical Field
The present application relates to the field of data processing, and in particular, to a message transmission method and related apparatus.
Background
Social software provides social services for users, and users can use the social software to realize various social demands.
In some cases, a user needs a social scenario with high privacy requirements, and the user wants to send and receive messages in the social scenario under the privacy condition to be known only by a plurality of users involved in the scenario.
However, a scheme that can effectively satisfy the user's private social needs is not provided in the related art.
Disclosure of Invention
In order to solve the technical problems, the application provides a message transmission method and a related device, which are used for meeting the privacy social demands of users.
The embodiment of the application discloses the following technical scheme:
In one aspect, the present application provides a message transmission method, the method including:
acquiring a privacy session request of a first user account aiming at a second user account in a social platform;
Determining a target equipment identifier of the second user account;
Returning a target encryption key corresponding to the target equipment identifier to the first user account, wherein the target encryption key is used for encrypting a session message sent by the first user account to the second user account, and the display duration of the session message is preset duration;
And if the encrypted session message sent by the first user account to the second user account is obtained, forwarding the encrypted session message to the second user account according to the target equipment identifier, wherein the encrypted session message is encrypted according to the target encryption key.
In another aspect, the present application provides a message transmission method, including:
sending a privacy session request aiming at a second user account to a social platform through a first user account, wherein the first user account and the second user account are social accounts in the social platform;
acquiring a target encryption key returned by the social platform, wherein the target encryption key is determined according to a target equipment identifier of the second user account;
encrypting a session message sent to the second user account through the target encryption key to obtain an encrypted session message, wherein the display duration of the session message is a preset duration;
And sending the encrypted session message to the second user account through the social platform.
In another aspect, the present application provides a message transmission method, including:
Acquiring an encrypted session message sent by a first user account through a second user account, wherein the first user account and the second user account are social accounts in a social platform, and the encrypted session message is obtained by encrypting the session message by the first user account through a target encryption key;
Decrypting the encrypted session message by a target decryption key corresponding to the target encryption key to obtain the session message;
And viewing the session message within a preset duration.
In another aspect, the present application provides a message transmission method, including:
Sending a target session message to a second user account in a session interface through a first user account, wherein the first user account and the second user account are social accounts in a social platform, and the session interface corresponds to the first user account and the second user account;
Acquiring a message type editing operation of the first user account for the target session message in the session interface, wherein the message type editing operation is used for changing the message type of the target session message into a privacy message type or a conventional message type, and the display duration of the target session message with the privacy message type in the session interface is a target display duration;
and according to the instruction of the message type editing operation, changing the message type of the target session message.
In another aspect, the present application provides a message transmission method, including:
according to the acquired privacy session message, a privacy session prompt is displayed through a second user account, wherein the privacy session prompt is used for identifying that the privacy session message comes from a first user account, and the first user account and the second user account are social accounts in a social platform;
if the triggering operation of the second user account for the privacy session prompt is determined, displaying the privacy session message through a privacy session interface;
and when the privacy session message shows the preset duration in the privacy session interface, canceling display of the privacy session message.
In another aspect, the present application provides a message transmission apparatus, the apparatus comprising:
the acquisition unit is used for acquiring a privacy session request of a first user account aiming at a second user account in the social platform;
the determining unit is used for determining a target equipment identifier of the second user account;
The return unit is configured to return, to the first user account, a target encryption key corresponding to the target device identifier, where the target encryption key is used to encrypt a session message sent by the first user account to the second user account, and a display duration of the session message is a preset duration;
And the sending unit is used for forwarding the encrypted session message to the second user account according to the target equipment identifier if the encrypted session message sent by the first user account to the second user account is obtained, wherein the encrypted session message is encrypted according to the target encryption key.
In another aspect, the present application provides a message transmission apparatus, the apparatus comprising:
the first sending unit is configured to send a privacy session request for a second user account to a social platform through a first user account, where the first user account and the second user account are social accounts in the social platform;
the obtaining unit is used for obtaining a target encryption key returned by the social platform, wherein the target encryption key is determined according to a target equipment identifier of the second user account;
the encrypting unit is used for encrypting the session message sent to the second user account through the target encryption key to obtain an encrypted session message, and the display duration of the session message is a preset duration;
the second sending unit is configured to send the encrypted session message to the second user account through the social platform.
In another aspect, the present application provides a message transmission apparatus, the apparatus comprising:
the acquisition unit is used for acquiring an encrypted session message sent by a first user account through a second user account, wherein the first user account and the second user account are social accounts in a social platform, and the encrypted session message is obtained by encrypting the session message by the first user account through a target encryption key;
the decryption unit is configured to decrypt the encrypted session message by using a target decryption key corresponding to the target encryption key, so as to obtain the session message;
the checking unit is used for checking the session message within a preset duration.
In another aspect, the present application provides a message transmission apparatus, the apparatus comprising:
The sending unit is configured to send a target session message to a second user account through a first user account in a session interface, where the first user account and the second user account are social accounts in a social platform, and the session interface corresponds to the first user account and the second user account;
The obtaining unit is configured to obtain a message type editing operation of the first user account for the target session message in the session interface, where the message type editing operation is used to change a message type of the target session message into a private message type or a regular message type, and a display duration of the target session message with the private message type in the session interface is a target display duration;
And the changing unit is used for changing the message type of the target session message according to the instruction of the message type editing operation.
In another aspect, the present application provides a message transmission apparatus, the apparatus comprising:
the display unit is used for displaying a privacy session prompt through a second user account according to the acquired privacy session message, wherein the privacy session prompt is used for identifying that the privacy session message is from a first user account, and the first user account and the second user account are social accounts in a social platform; if the triggering operation of the second user account for the privacy session prompt is determined, displaying the privacy session message through a privacy session interface;
And the cancellation unit is used for canceling display of the privacy session message when the privacy session message shows the preset duration in the privacy session interface.
In another aspect, the application provides a computer device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
The processor is configured to perform the method of the above aspect according to instructions in the program code.
In another aspect, embodiments of the present application provide a computer-readable storage medium storing a computer program for executing the method described in the above aspect.
In another aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method described in the above aspect.
According to the technical scheme, for the first user account and the second user account in the social platform, after the first user account initiates a privacy session request for the second user account, the target equipment identifier of the second user account is determined, the target equipment identifier not only can be used for identifying the terminal equipment of the second user account for receiving the encrypted session message sent by the first user account, but also can be used for determining a target encryption key according to the target equipment identifier, and the session message encrypted by the first user account according to the target encryption key can only be decrypted by the terminal equipment corresponding to the target equipment identifier. If the encrypted session message sent by the first user account to the second user account is obtained, the encrypted session message is forwarded to the second user account according to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the transmitted message is known by a third party is reduced in a message transmission layer. Only the appointed terminal equipment can receive and display the session message within the preset time length through the target equipment identification, so that the probability that the session message is watched by others in the privacy message session scene is reduced, the possibility that the session message is watched by a second user account in time is improved, the security of a message transmission layer is realized through the target equipment identification, and the privacy provided by the privacy session scene is further ensured from the message display layer.
Drawings
In order to more clearly illustrate the embodiments of the application or the technical solutions in the prior art, the drawings that are required in the embodiments or the description of the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of an application scenario of a message transmission method according to an embodiment of the present application;
Fig. 2 is a signaling interaction diagram of a message transmission system according to an embodiment of the present application;
fig. 3 is a schematic diagram of sending a privacy session request according to an embodiment of the present application;
Fig. 4 is a flowchart of a message transmission method according to an embodiment of the present application;
Fig. 5 is a schematic diagram of sending a privacy session request according to an embodiment of the present application;
FIG. 6a is a schematic diagram of a privacy session hint for an encrypted session message according to an embodiment of the present application;
FIG. 6b is a schematic diagram of a privacy session hint for an encrypted session message according to an embodiment of the present application;
FIG. 6c is a schematic diagram of a privacy session hint for an encrypted session message according to an embodiment of the present application;
FIG. 6d is a schematic diagram of a privacy session hint for an encrypted session message according to an embodiment of the present application;
FIG. 6e is a schematic diagram of a private session message display according to an embodiment of the present application;
FIG. 6f is a schematic diagram of a session message display according to an embodiment of the present application;
FIG. 6g is a schematic diagram of a content recording prevention operation according to an embodiment of the present application;
FIG. 7 is a flowchart of a method for obtaining and updating a public key according to an embodiment of the present application;
fig. 8 is a flowchart of a message transmission method according to an embodiment of the present application;
FIG. 9a is a schematic diagram of a session interface according to an embodiment of the present application;
FIG. 9b is a schematic diagram of a session interface according to an embodiment of the present application;
FIG. 10 is a schematic diagram of a message type editing operation according to an embodiment of the present application;
FIG. 11 is a schematic diagram of a message type editing operation according to an embodiment of the present application;
FIG. 12 is a schematic diagram of a timing method according to an embodiment of the present application;
FIG. 13 is a schematic diagram of a timing method according to an embodiment of the present application;
Fig. 14 is a schematic diagram of a privacy session interface according to an embodiment of the present application;
fig. 15 is a flowchart of a message transmission method according to an embodiment of the present application;
fig. 16 is a schematic diagram of a privacy session interface according to an embodiment of the present application;
fig. 17 is a schematic diagram of a message transmission device according to an embodiment of the present application;
Fig. 18 is a schematic diagram of a message transmission device according to an embodiment of the present application;
fig. 19 is a schematic diagram of a message transmission device according to an embodiment of the present application;
fig. 20 is a schematic diagram of a message transmission device according to an embodiment of the present application;
fig. 21 is a schematic diagram of a message transmission device according to an embodiment of the present application;
Fig. 22 is a schematic structural diagram of a server according to an embodiment of the present application;
Fig. 23 is a schematic structural diagram of a terminal device according to an embodiment of the present application.
Detailed Description
Embodiments of the present application are described below with reference to the accompanying drawings.
In order to ensure the privacy of the message transmitted and received in the privacy social scene, in the related art, a sender encrypts the message through a third party encryption service when sending the message, a server of a social platform forwards the encrypted message to a receiver, the message is stored in the server in a ciphertext mode, and the receiver decrypts the message through the third party encryption service after receiving the message. For some social scenes requiring higher privacy requirements, even though the problem of data leakage of the third-party encryption service is not considered, at least the plaintext of the privacy message is known by other subjects (such as the third-party encryption service) except the messaging party, so that the privacy of the message is difficult to ensure, and the privacy session scene is only represented on the literal aspect.
In order to improve the privacy of a message in a privacy session scene, the embodiment of the application provides a message transmission method and a related device.
The message transmission method provided by the embodiment of the application can be applied to message transmission equipment with data processing capability, such as terminal equipment or a server, and can be independently executed by the terminal equipment, can be independently executed by the server, can also be applied to network scenes in which the terminal equipment and the server communicate, and can be cooperatively executed by the terminal equipment and the server. The terminal equipment can be a mobile phone, a tablet and the like; the server can be understood as an application server or a Web server, and can be an independent server or a cluster server in actual deployment.
In order to facilitate understanding of the technical solution of the present application, the message transmission method provided by the embodiment of the present application is introduced below by using a server and a terminal device as a message transmission device in combination with an actual application scenario.
Referring to fig. 1, fig. 1 is a schematic application scenario diagram of a message transmission method according to an embodiment of the present application. In the application scenario shown in fig. 1, a server 200 comprising a social platform is used for forwarding encrypted session messages etc. sent by the terminal device 100 to the terminal device 300.
The first user account logs in the social platform through the terminal device 100, the second user account logs in the social platform through the terminal device 300, and when the first user account has a privacy session requirement with the second user account, the first user account sends a privacy session request to the server 200 through the terminal device 100.
The embodiment of the application is not particularly limited to the mode of triggering the privacy session request by the first user account. For example, in the scenario shown in fig. 1, a chat interface between the first user account and the second user account is displayed in the terminal device 100, where the chat interface has a privacy session control, and by determining a triggering operation for the privacy session control, the terminal device 100 sends a privacy session request for the second user account to the server 200.
After the server 200 obtains the privacy session request, the target device identifier of the second user account is determined. In the application scenario, a plurality of terminal devices for logging in the second user account are provided, in order to avoid that the encrypted session message may be forwarded to the plurality of terminal devices, the possibility that the encrypted session message is known by a third party is increased, it is required to determine that one terminal device receives the encrypted session message in the plurality of terminal devices, and the determined device identifier corresponding to the terminal device is the target device identifier. In the scenario shown in fig. 1, the designated terminal device is terminal device 300, and the device identifier of terminal device 300 is determined as the target device identifier of the second user account.
The target equipment identifier not only can be used for identifying the terminal equipment of the second user account for receiving the encrypted session message sent by the first user account, but also can determine a target encryption key according to the target equipment identifier, and the session message encrypted by the target encryption key can only be decrypted by the terminal equipment corresponding to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the session message is known by a third party is reduced at a message transmission layer.
The server 200 returns a target encryption key corresponding to the target device identifier to the terminal device 100, and the first user account encrypts the session message sent to the second user account according to the target encryption key, so that only the terminal device 300 can decrypt the encrypted session message.
In this embodiment, the session messages are of two types, namely a session message of a private message type and a session message of a regular message type, wherein the session message of the private session type is generally applied to a session scene with a private session requirement, and is only displayed for a period of time in a session interface, while the session message of the regular message type can be kept displayed in the session interface, and a user can view the session message at any time.
Although the embodiments of fig. 1 to fig. 7 mainly describe encryption and decryption transmission modes of session messages, the present disclosure of session messages at the user interaction level will also be related, so in order to effectively distinguish between the foregoing different types of session messages, in the embodiments of fig. 1 to fig. 7, session messages are referred to as session messages of private message types, and conventional messages are referred to as session messages of conventional message types.
In this embodiment, the session message transmitted by the target encryption key in an encrypted manner is a session message of a private message type, and the session message and the regular message may be displayed in different arrangements, for example, in the scenario shown in fig. 1, the session message and the regular message are mixed and arranged in a session interface corresponding to the first user account and the second user account currently. Conventional message "haha" sent by the first user account and the second user account, respectively, has been presented in the session interface before the privacy session control is not triggered. After triggering the privacy session control, the first user account sends a session message with the privacy session requirement to the second user account "what is the company's quarter profitability? The terminal device 100 encrypts the session message according to the target encryption key at the time of transmission, and transmits the encrypted session message obtained by the encryption to the server 200.
After the server 200 obtains the encrypted session message, forwarding the encrypted session message to the second user account according to the determined target device identifier, where what is the case of the company's quarter profitability? The session message will only be displayed in the session interface for a preset period of time. In the scenario shown in fig. 1, the preset duration is 8 seconds, and when the display time in the session interface reaches 8 seconds, the session message is cancelled from being displayed in the session interface.
Therefore, only the appointed terminal equipment (namely the terminal equipment corresponding to the target equipment identifier) can receive the encrypted session message through the target equipment identifier, only the appointed terminal equipment can decrypt the encrypted session message, and the privacy session message decrypted by the encrypted session message is displayed within the preset duration, so that the probability that the encrypted session message is watched by others in the privacy message session scene is reduced, the probability that the encrypted session message is watched by a second user account in time is also improved, and therefore the universal target equipment identifier not only realizes the security of a message transmission layer, but also further ensures the privacy provided by the privacy session scene from the message display layer.
Referring to fig. 2, fig. 2 is a signaling interaction diagram of a message transmission system according to an embodiment of the present application. As shown in fig. 2, the message transmission system includes a terminal device and a server as the foregoing message transmission system devices, where the terminal device includes a first terminal device and a second terminal device, the terminal device mainly implements encryption of session messages, decryption of encrypted session messages, viewing of session messages, and the like, and the server mainly implements determination of a target device identifier, forwarding of encrypted session messages, and the like, and an interaction procedure between the terminal device and the server is described in detail below.
S201: and sending a privacy session request aiming at the second user account to the social platform through the first user account.
In a social scenario where a social account number in a social platform requires a higher privacy requirement, for example, a user a sends a text message with a higher privacy requirement to a user B through a chat platform, where the text message is a session message in the scenario. For example, the user a sends a mail with high privacy requirement to the user B through the mail platform, and the session message in this scenario is the mail. The following is with two user accounts in the social platform: the first user account and the second user account are used for carrying out chat through social software for describing a scheme.
The method comprises the steps that a first user account logs in a social platform through a first terminal device, a second user account logs in the social platform through a second terminal device, and when the first user account has a privacy session requirement with the second user account, the first user account sends a privacy session request aiming at the second user account to a server through the first terminal device. Through the privacy session request, the first user account may send a session message with privacy requirements to the second user account.
The embodiment of the application is not particularly limited to the mode of sending the privacy session request by the first terminal equipment. For example, in the chat interface of the first user account and the second user account, the related control may be a privacy session control as shown in fig. 1 by triggering the related control for opening the privacy session to send the privacy session request. As another example, input of "open privacy session" in the input box in the chat interface, "%%" and so on Guan Zifu sends a privacy session request, and input of "# #" in the input box 301 sends a privacy session request as shown in fig. 3.
S202: the method comprises the steps that a server obtains a privacy session request of a first user account aiming at a second user account in a social platform.
The method comprises the steps that a server obtains a privacy session request sent by first terminal equipment, wherein the privacy session request is a privacy session request of a first user account aiming at a second user account in a social platform.
S203: the server determines a target device identification for the second user account.
In order to ensure the privacy of the session message in the privacy session process, a mode that only the first user account and the second user account can be checked can be adopted to encrypt the session message in the privacy session process, so that after the session message is encrypted at the first terminal equipment where the first user account is located, only the second terminal equipment where the second user account is located can decrypt the session message. It should be noted that, based on the applicability of the social platform where the user account is located, the terminal device logged in by the user account may cover such intelligent devices as a mobile phone, a desktop, a notebook, and the like.
If the second user account can log in the social platform through a plurality of terminal devices, in order to avoid that the encrypted session message may be forwarded by the server to the plurality of terminal devices of the second user account, the session message with privacy requirements is respectively displayed on the plurality of terminal devices, so that the possibility of disclosure is increased, and the server can determine one terminal device or a part of terminal devices in the plurality of terminal devices as the terminal device for receiving the encrypted session message, so as to reduce the possibility that the encrypted session message is known by a third party. And determining the equipment identification of the designated terminal equipment as the target equipment identification of the second user account. It can be understood that if the second user account has only one terminal device that can log in, the device identifier of the terminal device is the target device identifier of the second user account.
The embodiment of the application is not particularly limited to the manner of determining the target device identifier of the second user account. The target device identification of the second user account may be determined from a plurality of device identifications, for example, based on the screening criteria. The content of the screening conditions is not particularly limited, for example, the screening conditions include one or more combinations of a plurality of device types of device identifiers, device identifiers adopted by the second user account to log on the social platform, and the like, and are described below.
First kind: a plurality of device types identified by the device.
The device identifier may be used to identify a type of the terminal device, for example, a mobile phone, a tablet, a notebook, etc. of the device type of the terminal device. And determining the target equipment identification of the second user account from the plurality of equipment according to the equipment type of the plurality of equipment identifications. For example, the second user account logs in the social platform through the mobile phone and the desktop at the same time, and when the screening condition is the mobile phone, the mobile phone is determined to be the target equipment identifier of the second user account. The privacy degree of the displayed session message is different between different device types, for example, the screen of the mobile phone is generally smaller than that of the desktop computer, the displayed session message is not easily seen by surrounding people through the mobile phone, the number of terminal devices for receiving the encrypted session message is reduced, and the privacy of the session message is improved.
Second kind: and the second user account logs in the equipment identifier adopted by the social platform.
The second user account number can log in a plurality of terminal devices of the social platform, for example, the second user account number logs in the mobile phone A, the mobile phone B, the notebook computer C and the like, and the target device identification of the second user account number can be determined from a plurality of devices through the device identification adopted by the second user account number for logging in the social platform. For example, the second user account logs in the social platform through the mobile phone a, the mobile phone B and the notebook computer C, and the current second user account logs in the social platform through the mobile phone a and the notebook computer C only, so that the device identifications of the mobile phone a and the notebook computer C are determined as target device identifications of the second user account. The device adopted by the second user account logging in the social platform is used as the device for receiving the encrypted session message, so that the second user account can timely check the session message sent by the first user account, and the number of terminal devices for receiving the encrypted session message is reduced.
Third kind: the device types of the plurality of device identifications and the device identifications adopted by the second user account login social platform.
And determining a target device identification of the second user account from the plurality of device identifications according to the device types of the plurality of device identifications and the device identifications adopted by the second user account to log in the social platform. For example, the second user account logs in the social platform through the mobile phone A, the mobile phone B and the notebook computer C, when the screening condition is that the second user account logs in the device identification of the mobile phone used by the social platform, the current second user account logs in the social platform through the mobile phone A and the notebook computer C only, and the device identification of the mobile phone A is determined to be the target device identification of the second user account. Therefore, the number of terminal devices for receiving the encrypted session message is reduced, the probability that the session message is watched by others is reduced, and the probability that the session message is watched by a second user account in time is also improved.
For another example, the screening condition may be a target device identifier for determining the second user account according to the behavior habit of the user. For example, the device identifier of the terminal device adopted by the second user account for logging in the social platform last time is determined as the target device identifier of the second user account, and the second user account is more likely to log in the social platform by using the terminal device. For another example, the second user account often logs in the social platform on the mobile phone, and then the device identifier corresponding to the mobile phone can be determined as the target device identifier of the second user account, so that the second user account is more likely to log in the social platform through the mobile phone next time, and the like. The screening condition is used for designating a small number of terminal devices to receive the encrypted session messages, so that the number of the terminal devices receiving the encrypted session messages can be reduced, the possibility that the encrypted session messages are known by a third party can be reduced, and the terminal devices which possibly log in next time can be designated to receive the encrypted session messages, so that the possibility that the second user account checks the encrypted session messages in time can be improved.
As a possible implementation manner, the encryption key correspondence may be pre-stored in an authentication center, for example, a certificate authority CA (Certificate Authority) authentication center, where the encryption key correspondence is used to identify a correspondence between a user identifier, a device identifier, and an encryption key, so as to obtain a target device identifier, and a target encryption key corresponding to the target device identifier.
For example, after a privacy session request of a first user account for a second user account is obtained, the privacy session request carries a target user identifier of the second user account, and according to a corresponding relationship between the target user identifier of the second user account and an encryption key stored in an authentication center, a target device identifier of the second user account and a target encryption key corresponding to the target device identifier can be determined.
For convenience of explanation, the embodiment will be described by taking the device identifier of the second terminal device as the target device identifier of the second user account.
It will be appreciated that as the time of use of the target encryption key increases, the target encryption key may be updated at intervals to reduce the likelihood of the target encryption key being cracked.
For example, the key validity time of the encryption key is saved in the authentication center, and if the target encryption key is determined to be expired according to the key validity time of the target encryption key, the second user account is instructed to update the target encryption key. Thereby improving the security of the target encryption key and further improving the security of the encrypted session message.
Of course, the terminal device corresponding to the second user account, for example, the second terminal device, may also determine the timing of updating the target encryption key by itself.
S204: and the server returns a target encryption key corresponding to the target equipment identifier to the first user account.
The target equipment identifier has a corresponding relation with the target encryption key, and the server returns the target encryption key corresponding to the target equipment identifier to the first terminal equipment so that the first terminal equipment encrypts the session message according to the target encryption key.
The target device identifier not only can be used for identifying the terminal device of the second user account for receiving the encrypted session message sent by the first user account, but also can be used for determining a target encryption key corresponding to the target device identifier according to the target device identifier, wherein the target encryption key is used for encrypting the session message sent by the first user account to the second user account, so that the encrypted session message obtained by encryption can only be decrypted by the terminal device corresponding to the target device identifier. For example, the target encryption key may be a target public key generated based on a target private key of the second user account. The first terminal equipment encrypts the session message through the target public key, and the second terminal equipment decrypts the encrypted session message according to the target private key. Therefore, the end-to-end message transmission is realized safely in the privacy session scene, and the possibility that the encrypted session message is known by a third party is reduced at the message transmission level.
It should be noted that, in the privacy session scenario, in order that the session message may not be traced back, the session message sent by the first user account to the second user account may only be displayed for a preset duration. For example, in the chat interface between the first user account and the second user account, after the second user account has read the session message for 10 seconds, the session message is not displayed in the chat interface any more, so that the possibility that the session message is viewed by a third party can be reduced, the possibility that the session message is viewed by the second user account in time is improved, and the privacy of the session message is ensured from the message display level.
S205: the first terminal equipment acquires a target encryption key returned by the social platform.
S206: and the first terminal equipment encrypts the session message sent to the second user account through the target encryption key to obtain an encrypted session message.
The session message may be a text message, a picture message, a video message, a file, a mail, etc., which is not particularly limited in the present application.
The first terminal device may encrypt the session message sent to the second user account using a diffie-hellman algorithm based on the target encryption key and the private key of the first terminal device. For example, the first terminal device and the second terminal device each hold a respective private key, and the respective private keys are uniformly stored in a third party storage service, such as a CA authentication center. The target encryption key may be a public key of the second terminal device, and the first terminal device may obtain the public key of the second terminal device from the CA authentication center, and encrypt the session message according to the public key of the second terminal device and the private key of the first terminal device, so as to obtain an encrypted session message.
The application is not particularly limited as to the manner in which the session message is encrypted. For example, a symmetric encryption algorithm, an asymmetric encryption algorithm, a hash algorithm, or the like may be employed.
S207: and the first terminal equipment sends the encrypted session message to the second user account through the social platform.
S208: and if the server acquires the encrypted session message sent by the first user account to the second user account, forwarding the encrypted session message to the second user account according to the target equipment identifier.
After receiving the encrypted session message sent by the first user account, the server of the social platform determines a terminal device, such as a second terminal device, of the second user account for receiving the encrypted session message according to the target device identifier, so as to forward the encrypted session message to the terminal device for viewing by the second user account.
In order to ensure the privacy of the encrypted session message between the first user account and the second user account, the server only forwards the encrypted session message after receiving the encrypted session message sent by the first user account, and the encrypted session message is not stored at the server side when the second user account is logged in during forwarding, so that the problem that the encrypted session message leaks from the server is avoided, and the possibility that the encrypted session message is known by a third party is reduced.
On the premise of ensuring the privacy of the encrypted session message in the transmission process, in order that the second user account can acquire the encrypted session message, after the server acquires the encrypted session message sent by the first user account, whether the second user account logs in the social platform through the terminal device corresponding to the target device identifier can be determined. If so, the server can directly forward the encrypted session message to the second user account according to the target equipment identifier, and if not, the server stores the encrypted session message as an offline message corresponding to the second user account, so that the second user account can acquire the encrypted session message from the offline message stored by the server after logging in the social platform through the terminal equipment corresponding to the target equipment identifier.
In order to ensure the privacy between the first user account and the second user account, after the second user account receives the encrypted session message based on the offline message, the server deletes the stored encrypted session message, thereby reducing the possibility that the encrypted session message is leaked by the server, and further reducing the possibility that the encrypted session message is known by a third party.
S209: and acquiring the encrypted session message sent by the first user account through the second user account.
For example, after the second user account logs in the social platform through the second terminal device, the second terminal device obtains the encrypted session message sent by the first user account and forwarded by the server.
S210: and the second terminal equipment decrypts the encrypted session message through a target decryption key corresponding to the target encryption key to obtain the session message.
Based on the foregoing, the target encryption key is determined according to the device identifier of the second terminal device, and the second terminal device has a target decryption key corresponding to the target encryption key. For example, when the target encryption key is a target public key generated based on a target private key of the second user account, the target decryption key is the target private key.
If the target encryption key is the target public key of the second user account and the target decryption key is the target private key of the second user account, in one possible implementation manner, the first user account may encrypt the session message through the private key of the first user account and the target public key, and correspondingly, when the second user account obtains the encrypted session message, the second user account may decrypt the encrypted session message through the public key of the first user account (which may be obtained through the authentication center) and its own target private key, so as to restore the session message.
S211: and the second terminal equipment checks the session message within the preset duration.
The second terminal device needs to check the session message within the preset time length, and the preset time length can be set according to actual needs, which is not particularly limited in the application. For example, after the session message is displayed in the chat interface of the first user account and the second user account for 30 seconds, the session message is cancelled from being displayed in the session interface corresponding to the first terminal device and the second terminal device, and the session message is deleted in the storage spaces of the first terminal device and the second terminal device. For another example, after the second user account exits the session interface, the session message read by the second user account or all session messages with the privacy session requirement in the session interface may be cancelled from being displayed in the session interface.
According to the technical scheme, for the first user account and the second user account in the social platform, after the first user account initiates a privacy session request for the second user account, the target equipment identifier of the second user account is determined, the target equipment identifier not only can be used for identifying the terminal equipment of the second user account for receiving the encrypted session message sent by the first user account, but also can be used for determining a target encryption key according to the target equipment identifier, and the session message encrypted by the first user account according to the target encryption key can only be decrypted by the terminal equipment corresponding to the target equipment identifier. If the encrypted session message sent by the first user account to the second user account is obtained, the encrypted session message is forwarded to the second user account according to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the transmitted message is known by a third party is reduced in a message transmission layer. Only the appointed terminal equipment can receive and display the session message within the preset time length through the target equipment identification, so that the probability that the session message is watched by others in the privacy message session scene is reduced, the possibility that the session message is watched by a second user account in time is improved, the security of a message transmission layer is realized through the target equipment identification, and the privacy provided by the privacy session scene is further ensured from the message display layer.
In order to better understand the message transmission method provided in the foregoing embodiment, the application scenario of the message transmission method provided in the embodiment of the present application is described below with reference to fig. 4, 5, and 6 a-6 g.
Referring to fig. 4, the flowchart of a message transmission method according to an embodiment of the present application includes the following steps:
s401: the first user account sends a privacy session request for the second user account.
In practical application, as shown in fig. 5, a user may click on chat software in the first terminal device, log on the social platform through a first user account, open a chat interface with a second user account, and select to enter a privacy session, where the first user account sends a privacy session request for the second user account to the social platform.
S402: the public key of the second terminal device is obtained from the CA authentication center.
After acquiring a privacy session request of a first user account for a second user account in a social platform, the server determines a target equipment identifier of the second terminal equipment for the second user account according to the corresponding relation of the encryption key stored in the CA authentication center, and determines a public key of the second terminal equipment as a target encryption key. The server sends the public key of the second terminal device to the first terminal device.
The CA authentication center acquires the public key of the terminal device will be described below with reference to fig. 7. Referring to fig. 7, a flowchart of a method for obtaining and updating a public key according to an embodiment of the present application is shown. In fig. 7, taking the first user account as an example, the method includes the following steps:
s701: and logging in a first user account on the terminal equipment.
S702: the terminal equipment generates a private key and a public key of the first user account, the private key is stored in the local of the terminal equipment, and the public key is uploaded to the CA authentication center.
It should be noted that, even if one user account has a plurality of terminal devices that can log in, the public keys generated by these terminal devices are not the same.
The information held in the CA authentication center may be a user account number, a terminal device identification (e.g., a terminal device ID), a public key, and a public key expiration time.
S703: and periodically indicating the terminal equipment to update the public key, and uploading the updated public key to the CA authentication center.
S403: the encryption key is further generated using the private key of the first terminal device and the public key of the second terminal device.
The further generated encryption key may be used for standby, so that after the subsequent first user account sends the session message to the second user account again, the session message may be directly encrypted by using the encryption key until the public key of the second terminal device changes.
S404: and encrypting the session message by using the further generated encryption key and transmitting the session message to the second user account through the server.
The first terminal device encrypts the session message sent to the second user account by using the further generated encryption key to obtain an encrypted session message, and sends the encrypted session message to the server so that the server can forward the encrypted session message to the second user account.
S405: the server judges whether the second user account logs in the social platform through the second terminal equipment, if not, S406 is executed; if yes, then execution proceeds to S408.
S406: and the server stores the encrypted session message in an offline message queue corresponding to the second user account.
S407: and pulling the encrypted session message from the offline message queue corresponding to the second user account.
And after the second user account logs in the social platform through the second terminal equipment, pulling the encrypted session message sent by the first user account from an offline message queue corresponding to the second user account stored in the server.
S408: and the server forwards the encrypted session message to the second user account according to the target equipment identification.
S409: the second terminal device receives the encrypted session message pushed by the server.
S410: the second user account checks the session message sent by the first user account.
If the second user account only logs in the social platform and is not in the chat interface with the first user account, the chat software displays a privacy session prompt of the encrypted session message sent by the first user account so that the second user account can check.
The embodiment of the application does not particularly limit the privacy session prompt form of the encrypted session message. For example, as shown in fig. 6a, a chat frame corresponding to the first user account in the session homepage of the second user account displays "[ boring message ]" to remind the second user account to view. As another example, as shown in fig. 6b, a chat frame with the first user account is separately displayed in a session homepage of the second user account, and "[ boring message ]" is displayed in the chat frame to remind the second user account to view, so as to distinguish a conventional session message between the second user account and the first user account. As another example, as shown in fig. 6c, a privacy session prompt for encrypting a session message is displayed in an icon in a non-chat box area in the session home page of the second user account.
If the second user account is in the chat interface with the first user account, after the first user account opens the privacy chat, a privacy session prompt is displayed in the chat interface, as shown in fig. 6 d.
It should be noted that, the embodiment of the present application is not particularly limited to the icon form of the privacy session prompt. When the second user account is reminded of the encrypted session message, the number of the encrypted session message can be displayed in the areas such as the icon of the privacy session prompt and the head image of the first user account, or the encrypted session message is not displayed by reminding only by the icon, so that the privacy of the encrypted session message is improved.
The second user account views the session message according to the privacy session prompt. The present application is not particularly limited to the manner in which the session message is presented. For example, as shown in FIG. 1, the conversation messages are arranged in a chat interface of a first user account and a second user account in a mixture with conventional conversation messages. As another example, as shown in fig. 6e, after the second user account triggers the privacy session prompt, a separate chat interface is entered to view the session message sent by the first user account.
After receiving the triggering operation of the chat interface for exiting the session message, for example, after the second user account clicks the exit key shown in the upper right corner of fig. 6e, the second user account exits the chat interface and returns to the normal session message chat interface with the first user account, as shown in fig. 6 f.
For the first user account and the second user account to explicitly view some rules of the session message, the first user account and the second user account may be prompted for related reminders about the privacy session. For example, as shown in the text mode shown in fig. 6e, you have entered a chat with the other party; automatically destroying the messages of both parties after the messages are read, and leaving no trace at each end; the message cannot be copied or forwarded; the name and the head portrait are hidden, screen capturing and recording are prevented, and privacy, safety and the like of the chat are comprehensively guaranteed.
In order to improve the privacy of the session message, for example, the head portraits, nicknames, etc. of the two parties may be hidden in the chat interface with the session message, and as shown in fig. 6e, the head portraits of the first user account and the second user account may be replaced by other pictures, etc. For another example, if the first user account or the second user account is found to have the screen recording or screen capturing operation, the current chat interface is replaced by the content protection image for hiding the content, as shown in fig. 6g, the nickname of the second user account is covered in a mosaic form, and the content protection image reminds the second user account that the screen capturing or screen capturing operation cannot be performed. Further, a screen capturing or recording operation of the second user account may also be sent to the first user account, so that the first user account is known. For another example, the functions of copying session information, forwarding session information, screen capturing and the like are forbidden, taking the functions of preventing screen recording and screen capturing as an example, and when entering a privacy session, if the user detects that the user is recording or screen capturing, the user does not display a privacy session interface; in the privacy session process, starting real-time detection of the screen recording and screen capturing functions, and if the operation of screen recording or screen capturing of the terminal equipment is detected, replacing the current interface with a blank page and the like.
S411: the public key of the first terminal device is obtained from the CA authentication center.
S412: the decryption key is further generated using the private key of the second terminal device and the public key of the first terminal device.
The encryption key of the first terminal device for encrypting the session message is the private key of the first terminal device and the public key of the second terminal device. According to the diffie-hellman algorithm, the second terminal device may obtain the corresponding decryption key according to the public key of the first terminal device and the private key of the second terminal device.
S413: the encrypted session message is decrypted.
Decrypting the encrypted session message according to the further generated decryption key, the decrypted session message may be the first user account sent session message "what is the quarter of the company? ". Similarly, the second user account replies that the conversation message has a business income of 135.19 hundred million yuan, and can be sent to the first user account through the server after being encrypted, and the first user account can be checked after being decrypted, so that the privacy of the message is ensured.
The application does not limit the timing of deleting the encrypted session message by the server, for example, the forwarded encrypted session message may be deleted immediately after it has been read by the second user account. For another example, after the first user account or the second user account exits the session interface, all messages related to the first user account and the second user account in the privacy session process may be deleted.
S414: and deleting the session messages in the first terminal device and the second terminal device after 30 seconds.
The preset duration is 30 seconds, and after 30 seconds, the session message is deleted in the terminal device. The time is displayed in the chat interface in a countdown mode, as shown in fig. 6e, after the second user account reads the session message sent by the first user account, the session message is deleted by the first terminal device and the second terminal device after 20 seconds, so as to realize the effect of burn after reading. The second user account sends the conversation information to the first user account, the first user account is still in an unread state, and after the state of the conversation information is changed to be read, the first terminal device and the second terminal device delete the conversation information after 30 seconds.
Next, a message transmission method provided by the present application will be described by way of embodiments, and the method is mainly clear about technical improvements and effects of the user interaction layer. The target session message mentioned in the method may be a session message of the private message type mentioned in the previous embodiments or a session message of a regular message type. In the following, a description will be given of a further message transmission method provided by an embodiment of the present application, with reference to the accompanying drawings, in which a first terminal device is a terminal device that sends a target session message in a message transmission scenario.
Referring to fig. 8, fig. 8 is a flowchart of a message transmission method according to an embodiment of the present application. As shown in fig. 8, the message transmission method includes the steps of:
S801: and sending the target session message to the second user account in the session interface through the first user account.
In this embodiment, the first user account and the second user account are social accounts in the social platform, the first user account logs in the social platform through the first terminal device, and the second user account logs in the social platform through the second terminal device.
As shown in fig. 5, the first user account may log in the social platform through chat software in the first terminal device, and open a session interface with the second user account. The session interface corresponds to a first user account and a second user account, and in the display interfaces of the first terminal equipment and the second terminal equipment, the interfaces corresponding to the same session message content are session interfaces. The area shown as 901 in fig. 9a and the area shown as 904 in fig. 9b are session interfaces, and contents of session messages between the first user account and the second user account displayed in the session interfaces are the same in the first terminal device and the second terminal device.
With continued reference to fig. 9a, the first user account may enter a target session message in an input box 902 in the session interface, where the target session message may be a text message, a picture message, a video message, a file, a mail, etc., which is not specifically limited by the present application.
After the input of the target session message is completed, the sending control 903 is triggered to realize the operation that the first user account sends the target session message to the second user account. It should be noted that, the target session message may also be automatically sent after the input of the target session message in the input box 902 is detected to stop for a predetermined period of time, and the present application is not limited in particular.
The message types of the target session message can be classified into a regular message type and a private message type according to the difference in the privacy requirement degree of the session message between the first user account and the second user account. Wherein target session messages belonging to the regular message type may remain displayed in the session interface, and target session messages belonging to the private message type identify the privacy of the session messages, which may only be displayed for a period of time in the session interface.
When the message type of the target session message is a private message type, there are two display modes in the first terminal device, and the description is given below with reference to the accompanying drawings.
Mode one: and (3) a mixed arrangement mode.
The target session message and the history session message are mixed and arranged in the session interface. As shown in fig. 1, what is the historical session message "ha" sent by the first user account and the historical session message "ha" sent by the second user account belong to the conventional message types, and what is the target session message "company's quarter profit situation" sent by the first user account? And the three session messages are displayed in a session interface corresponding to the first user account and the second user account. The two types of session messages are displayed in the same session interface in a mixed arrangement mode, so that a user can quickly check the last historical session message belonging to the conventional message type when reading the target session message, and the checking experience of the user is improved.
Mode two: in a separate arrangement.
The target session message is separated from the session message belonging to the conventional message type and is independently displayed on different session interfaces, wherein the session interfaces comprise two types, namely a privacy session interface as shown in fig. 6e and a conventional session interface as shown in fig. 6f, the privacy session interface is used for displaying the session message belonging to the privacy message type, such as the target session message, and the conventional session interface is used for displaying the session message belonging to the conventional message type, such as the history session message. The privacy session interface is utilized to independently display the target session messages belonging to the privacy message types, so that the types of the target session messages can be better distinguished by the user, and the viewing experience of the user is improved.
It should be noted that, when the type of the target session message is the private message type, in the process of transmitting the target session message to the second user account through the server, the target session message needs to be encrypted and decrypted. The embodiment of the present application is not particularly limited to the manner of encrypting and decrypting the target session message, for example, refer to the encryption and decryption manners described in the embodiments corresponding to fig. 1 to 7 in the foregoing embodiments, and are not described in detail herein.
S802: and acquiring a message type editing operation of the first user account aiming at the target session message in the session interface.
After the first user account sends the target session message to the second user account through the session interface, if the message type of the sent target session message is not satisfied, the original message type of the target session message can be changed through a message type editing operation.
The message type editing operation is used for changing the message type of the sent target session message. Specifically, when the message type of the target session message is a private message type, the message type of the target session message can be changed into a conventional message type through a message type editing operation; when the message type of the target session message is a conventional message type, the message type of the target session message may be changed to a private message type through a message type editing operation.
The present application is not particularly limited to the form of the message type editing operation, and will be described below by way of example in two ways.
Mode one: long push session messaging.
The first user account may trigger a message type editing operation by long press target message sessions. As shown in fig. 10, the first user account may be "how do the company's quarter profitability" by long pressing the sent target session message? The control of changing the message type can be triggered to appear in a long-term manner, so that the first user account can change the message type of the target session message, and even the control of changing the message type is not triggered to directly change the message type of the target session message. The message type of the target session message can be simply and conveniently modified in a long-time session message mode, and the operation experience of a user is improved.
Mode two: and a control triggering mode.
The first user account may trigger a message type editing operation through a change message type control, as shown in fig. 11, the first user account triggers a control panel, clicks the change message type control, and then selects a conversation message that needs to change the message type, such as a target conversation message "what is the company's quarter profitability? ". The type of the target session message and the type of the history session message can be changed in a control triggering mode, and the operation of a user is simplified and the operation experience of the user is improved through changing the types of the session messages in batches.
It should be noted that, in order to ensure the privacy of the session message between the first user account and the second user account, the display duration of the target session message with the privacy message type in the session interface is the target display duration. The embodiment of the application does not limit the timing mode of the target display duration, and the two modes are taken as examples for illustration.
Mode one: the timing starts after transmission.
When the target session message sent by the first user account to the second user account in the session interface is of a privacy message type, the first user account starts timing when the target session message is sent by the first user account to the second user account in the session interface. And when the timing duration reaches the target display duration, canceling the display of the target session message in the session interface. In this manner, the target session message sent by the first user account may be very private and not necessarily desirable to ensure that the second user account is viewable. Moreover, by starting timing when sending the target session message (no longer needing to monitor whether the second user account is checked), the following "mode two" is correspondingly adopted: the timing mode of starting timing after checking the opposite terminal is simpler and more direct, so that the system overhead can be effectively reduced, and the efficiency is improved.
As shown in fig. 12, the first user account enters a target session message "what is the quarter of the profit of the company? The message type of the target session message belongs to the privacy message type, when the first user sends the target session message to start timing, for example, the target display duration is 1 minute, and when the timing time reaches one minute, what is the quarter of the profit of the company? "to be canceled from display".
Mode two: the opposite end starts timing after checking.
If the message type of the target session message in the session interface is the privacy message type, if the target session message is checked by the second user account, display timing is started from the checked time. When the timing duration reaches the target display duration, the display of the target session message is canceled in the session interface, so that the privacy provided by the privacy session scene is ensured at the message display level.
As shown in fig. 13, what is the first user account sending the target session message "what is the company's quarter profitability? The message type of the target session message belongs to the privacy message type, the status of the target session message is displayed as an unread status before the second user account is not checked, the timing is started when the second user account checks the target session message, for example, the target display duration is 30 seconds, and after the timing time reaches 30 seconds, what is the target session message "what is the quarter of the profit of the company? "to be canceled from display".
The target display time may be not only empirically set as described above, but also dynamically adjusted according to viewing parameters. The following is a detailed description.
If the message type of the target session message sent to the session interface is determined to be the privacy message type, the viewing parameter of the target session message can be obtained. Wherein the viewing parameter is a parameter for measuring the speed of viewing the target session message by the user. For example, the viewing parameter may be a combination of one or more of a content length of the target session message, a user viewing parameter when viewed, a readability of the target session message, and the like. And determining the target display time length corresponding to the target session message according to the viewing parameters.
For example, when the viewing parameter includes the content length of the target session message, the longer the length of the target session message, the slower the user views the target session message, and the longer the target display duration. For another example, the viewing parameters include a user viewing parameter when viewed, where the user viewing parameter may be a user reading speed, and the faster the user reading speed, the faster the user viewing the target session message, and the shorter the target display duration. For another example, the viewing parameters include the readability of the target session message, and the slower the user views the target session message, the longer the target display duration.
And when the display of the target session message in the session interface reaches the target display duration, canceling the display of the target session message in the session interface. Therefore, the target display duration of the target session message can be dynamically adjusted according to the viewing parameters, the second user account can be ensured to cancel displaying the target session message immediately after the target session message is read, and the privacy of the target session message is improved. It should be noted that, when the message type of the target session message is the privacy message type, after the target display duration is reached, the display may be canceled not only in the session interface as described above, but also only on the device where the second user account receives the target session message. The first user account is a party sending the target session message, and can ensure that the target session message sent by the party is not leaked, so that the first user account can also backtrack the target session message sent to the second user account on the premise of ensuring the privacy of the target session.
S803: and according to the instruction of the message type editing operation, changing the message type of the target session message.
According to the technical scheme, as for the first user account and the second user account in the social platform, the first user account can send the session message to the second user account through the session interface, the message type of the session message can be a privacy message type or a conventional message type, wherein the privacy of the session message is marked by the session message of the privacy message type, so that the session message can be only displayed for a period of time in the session interface, the session message of the conventional message type can be kept to be displayed in the session interface, when the first user account sends the target session message to the second user account through the session interface, if the message type of the sent target session message is unsatisfactory, the original message type of the target session message can be changed through the message type editing operation, the operation cost of various operations such as message withdrawal, re-editing sending and the like caused by the remorse mind after the message sending is effectively reduced, and the operation convenience and the flexibility of the message sending process are improved on the premise of guaranteeing the message.
In order to better understand the message transmission method provided by the above embodiment, an application scenario of the message transmission method provided by the embodiment of the present application is described below with reference to the accompanying drawings.
The first user account may log in the social platform through the first terminal device in the manner shown in fig. 5, where the difference is that after the first user account opens the session interface with the second user account, the privacy session control is not triggered.
What is the quarter of the company's profit? The target session message belongs to a conventional message type at this time, and after the target session message is sent, the first user account is not satisfied with the message type of the sent target session message, and needs to be changed into a private message type. At this time, the first user account does not need to perform operations such as message withdrawal, re-editing and sending on the target session message, and the message type of the target session message can be changed into the privacy message type in a long-push session message manner as shown in fig. 10.
When the session message sent by the first user account is displayed in the aforementioned separate arrangement mode, after the message type of the target session message is changed from the regular message type to the private message type, the target session message is removed from the regular session interface and displayed in the private session interface. For example, after the message type of the target session message is changed from the regular message type to the private message type, the conventional session interface shown in fig. 10 is skipped to the private session interface shown in fig. 14, the timing is started after the target session message is read from the second user account, and when the preset time is reached, the display of the target session message is canceled in the private session interface with continued reference to fig. 14.
Similarly, in the privacy session interface, when the message type of the target session message is changed from the privacy message type to the regular message type, the privacy session interface is jumped to the regular session interface.
Next, a message transmission method provided by the present application will be described by way of embodiments, and the method is mainly clear about technical improvements and effects of the user interaction layer. The privacy session message mentioned in the method is a session message of the type of privacy message mentioned in the previous embodiments. In the following, a further message transmission method provided by the embodiment of the present application will be described with reference to the accompanying drawings, wherein the second terminal device is a terminal device that receives a privacy session message in a message transmission scenario.
Referring to fig. 15, fig. 15 is a flowchart of a message transmission method according to an embodiment of the present application. As shown in fig. 15, the message transmission method includes the steps of:
S1501: and displaying the privacy session prompt through the second user account according to the acquired privacy session message.
In this embodiment, the first user account and the second user account are social accounts in the social platform, the first user account logs in the social platform through the first terminal device, and the second user account logs in the social platform through the second terminal device.
It should be noted that, in the process that the first user account transmits the privacy session message to the second user account through the server, the transmitted session message needs to be encrypted and decrypted. The embodiment of the present application is not particularly limited to the manner of encrypting and decrypting the session message, for example, refer to the encryption and decryption manners described in the embodiments corresponding to fig. 1 to 7 in the foregoing embodiments, and are not described in detail herein.
The privacy session message is a session message with privacy requirements, and only the second terminal device displays the preset duration. When the second user account receives the privacy session message, the second terminal device displays a privacy session prompt through the second user account to prompt the second user account that the privacy session message is from the first user account. The embodiment of the application is not particularly limited to the form of the privacy session prompt, and is described below by taking two modes as examples.
Mode one: shown in a conventional session interface.
Based on the obtained encrypted session message, the privacy session hint is presented in a regular session interface for displaying the regular session message, see fig. 6d. Wherein conventional conversation messages may remain displayed in the conversation interface. Therefore, when the first user account and the second user account transmit the session message in the conventional session interface, after the second user account acquires the privacy session message sent by the first user account, the privacy session message can be directly displayed in the conventional session interface to be directly prompted, so that the second user account can timely view the privacy session message.
Mode two: is shown in the session homepage.
And displaying the privacy session prompt in a session homepage of the second user account according to the acquired privacy session message. See, for example, fig. 6 a-6 c. Therefore, after the second user logs in the social platform, the privacy session prompt related to the privacy session message can be seen, so that the privacy session message can be viewed in time.
S1502: and if the triggering operation of the second user account on the privacy session prompt is determined, displaying the privacy session message through the privacy session interface.
After the second user account triggers the privacy session prompt, entering a privacy session interface, and displaying the privacy session message through the privacy session interface, as shown in fig. 6 e.
In order to improve the privacy of the privacy session message, a content recording operation for the privacy session interface may be detected to prevent the first user account or the second user account from saving the privacy session message displayed in the privacy session interface in the terminal device. The content recording operation is an operation of storing the privacy session message in the privacy session interface in the terminal equipment, such as screen capturing, screen recording and the like.
And after detecting the content recording operation aiming at the privacy session interface, taking the content protection image for hiding the privacy session message as a content recording result of the privacy session interface. Wherein the content protection image is an image unrelated to the privacy session message in the current privacy session interface, as shown in fig. 6 g.
The privacy of the privacy session message can be improved by adopting the mode, and the account identification of the first user account and the second user account in the privacy session interface can be canceled from being displayed. The account identifier is an identifier for representing the user account, such as an avatar for representing the user account, a nickname for representing the user account, and the like.
As shown in fig. 16, in the privacy session interface shown in fig. 16, the head portraits and nicknames of the first user account and the second user account are canceled from being displayed. As another example, the head portraits of the first user account and the second user account are replaced with other pictures or the like, as shown in fig. 6 e. For another example, the head portraits and nicknames of the first user account and the second user account are covered in a mosaic form.
S1503: and when the privacy session message shows the preset duration in the privacy session interface, canceling display of the privacy session message.
In order to ensure the privacy of the privacy session message between the first user account and the second user account, the display duration of the privacy session message in the privacy session interface is a preset duration, after the preset duration is reached, the display of the privacy session message in the privacy session interface is canceled, and the storage content of the privacy session message in the terminal equipment is deleted.
The timing mode, the display mode, etc. of the preset duration are not particularly limited in the embodiment of the present application, and may be referred to the embodiment shown in fig. 1 to 7 or the embodiment shown in fig. 8 to 14.
According to the technical scheme, for the first user account and the second user account in the social platform, after the second user account receives the privacy session message sent by the first user account, the privacy session prompt is displayed through the second user account, so that the user is prompted to acquire the privacy session message different from the conventional session message. If the triggering operation of the second user account on the privacy session prompt is determined, the privacy session interface is utilized to display the privacy session message, and the privacy session message is canceled from being displayed after a certain time period is displayed, so that the probability that the privacy session message is revealed or seen by a third party is reduced, the privacy session scene for solving the user privacy session requirement is realized, and the privacy of the privacy session message in the privacy session process of the first user account and the second user account is ensured.
In order to better understand the message transmission method provided by the above embodiment, an application scenario of the message transmission method provided by the embodiment of the present application is described below with reference to the accompanying drawings.
In the application scenario, after the second user account logs in the social platform through the second terminal device, a privacy session prompt is displayed in the session homepage, and a privacy session message from the first user account is prompted, see fig. 6a.
The second user account enters a conventional session interface with the first user account, in which not only conventional session messages of the first user account and the second user account but also privacy session prompts are displayed, see fig. 6d.
After the second user account triggers the privacy session prompt, entering a privacy session interface, wherein the privacy session interface displays a privacy session message between the first user account and the second user account, see fig. 6e.
When the privacy session message is presented in the privacy session interface for a preset period of time, the encrypted session message is canceled from being displayed, see fig. 14.
In the process of transmitting the privacy session message by the first user account and the second user account, if the content recording operation for the privacy session interface is detected, the current privacy session interface can be replaced by other pictures, see fig. 6g, so as to ensure that the privacy session message is not captured by the content recording operations such as screen recording and screen capturing.
Aiming at the message transmission method provided by the embodiment, the embodiment of the application also provides a message transmission device.
Referring to fig. 17, a schematic diagram of a message transmission device according to an embodiment of the present application is shown. As shown in fig. 17, the message transmission apparatus 1700 includes: an acquisition unit 1701, a determination unit 1702, a return unit 1703, and a transmission unit 1704;
the acquiring unit 1701 is configured to acquire a privacy session request of a first user account for a second user account in the social platform;
The determining unit 1702 is configured to determine a target device identifier of the second user account;
The returning unit 1703 is configured to return, to the first user account, a target encryption key corresponding to the target device identifier, where the target encryption key is used to encrypt a session message sent by the first user account to the second user account, and a display duration of the session message is a preset duration;
The sending unit 1704 is configured to, if an encrypted session message sent by the first user account to the second user account is obtained, forward the encrypted session message to the second user account according to the target device identifier, where the encrypted session message is encrypted according to the target encryption key.
As a possible implementation manner, the second user account has a plurality of corresponding device identifiers, and the determining unit 1702 is configured to:
Determining the target equipment identification of the second user account from the plurality of equipment identifications according to a screening condition;
The screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform.
As a possible implementation manner, if an encrypted session message sent by the first user account to the second user account is obtained, the apparatus 1700 is further configured to:
determining whether the second user account logs in to the social platform through the target device identifier;
if yes, executing the step of forwarding the encrypted session message to the second user account according to the target equipment identifier;
and if not, storing the encrypted session message as an offline message corresponding to the second user account.
As one possible implementation, the target encryption key is a target public key generated based on a target private key of the second user account.
As a possible implementation manner, the apparatus 1700 is further configured to:
storing an encryption key corresponding relation through an authentication center, wherein the encryption key corresponding relation is used for identifying the corresponding relation of a user identifier, a device identifier and an encryption key;
the determining unit 1702 is configured to:
And determining a target equipment identifier of the second user account and a target encryption key corresponding to the target equipment identifier according to the encryption key corresponding relation through the target user identifier of the second user.
As a possible implementation manner, the apparatus 1700 is further configured to:
storing the key effective time of the encryption key through the authentication center;
and if the target encryption key is determined to be outdated according to the key effective time of the target encryption key, the second user account is indicated to update the target encryption key.
As a possible implementation, after the forwarding of the encrypted session message to the second user account according to the target device identification, the apparatus 1700 is further configured to:
deleting the encrypted session message.
According to the message transmission device provided by the embodiment of the application, for the first user account and the second user account in the social platform, after the first user account initiates a privacy session request for the second user account, the target equipment identification of the second user account is determined, the target equipment identification not only can be used for identifying the terminal equipment of the second user account for receiving the encrypted session message sent by the first user account, but also can be used for determining a target encryption key according to the target equipment identification, and the session message encrypted by the first user account according to the target encryption key can only be decrypted by the terminal equipment corresponding to the target equipment identification. If the encrypted session message sent by the first user account to the second user account is obtained, the encrypted session message is forwarded to the second user account according to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the transmitted message is known by a third party is reduced in a message transmission layer. Only the appointed terminal equipment can receive and display the session message within the preset time length through the target equipment identification, so that the probability that the session message is watched by others in the privacy message session scene is reduced, the possibility that the session message is watched by a second user account in time is improved, the security of a message transmission layer is realized through the target equipment identification, and the privacy provided by the privacy session scene is further ensured from the message display layer.
Referring to fig. 18, a schematic diagram of a message transmission apparatus according to an embodiment of the present application is shown. As shown in fig. 18, the message transmission apparatus 1800 includes: a first transmission unit 1801, an acquisition unit 1802, an encryption unit 1803, and a second transmission unit 1804;
The first sending unit 1801 is configured to send, to a social platform through a first user account, a privacy session request for a second user account, where the first user account and the second user account are social accounts in the social platform;
The obtaining unit 1802 is configured to obtain a target encryption key returned by the social platform, where the target encryption key is determined according to a target device identifier of the second user account;
The encryption unit 1803 is configured to encrypt, by using the target encryption key, a session message sent to the second user account to obtain an encrypted session message, where a display duration of the session message is a preset duration;
The second sending unit 1804 is configured to send the encrypted session message to the second user account through the social platform.
As a possible implementation manner, the encryption unit 1803 is configured to:
and encrypting the session message sent to the second user account by the target encryption key and the private key of the first user account to obtain an encrypted session message.
According to the message transmission device provided by the embodiment of the application, for the first user account and the second user account in the social platform, after the first user account initiates a privacy session request for the second user account, the target equipment identification of the second user account is determined, the target equipment identification not only can be used for identifying the terminal equipment of the second user account for receiving the encrypted session message sent by the first user account, but also can be used for determining a target encryption key according to the target equipment identification, and the session message encrypted by the first user account according to the target encryption key can only be decrypted by the terminal equipment corresponding to the target equipment identification. If the encrypted session message sent by the first user account to the second user account is obtained, the encrypted session message is forwarded to the second user account according to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the transmitted message is known by a third party is reduced in a message transmission layer. Only the appointed terminal equipment can receive and display the session message within the preset time length through the target equipment identification, so that the probability that the session message is watched by others in the privacy message session scene is reduced, the possibility that the session message is watched by a second user account in time is improved, the security of a message transmission layer is realized through the target equipment identification, and the privacy provided by the privacy session scene is further ensured from the message display layer.
Referring to fig. 19, a schematic diagram of a message transmission device according to an embodiment of the present application is shown. As shown in fig. 19, the message transmission apparatus 1900 includes: an acquisition unit 1901, a decryption unit 1902, and a viewing unit 1903;
The obtaining unit 1901 is configured to obtain, by using a second user account, an encrypted session message sent by a first user account, where the first user account and the second user account are social accounts in a social platform, and the encrypted session message is obtained by encrypting, by using a target encryption key, the session message by using the first user account;
The decryption unit 1902 is configured to decrypt the encrypted session message by using a target decryption key corresponding to the target encryption key, to obtain the session message;
the viewing unit 1903 is configured to view the session message within a preset duration.
As a possible implementation manner, if the encrypted session message is obtained by encrypting the session message by the first user account through the target encryption key and the private key of the first user account, the message transmission apparatus 1900 is further configured to:
acquiring a public key of the first user account through the social platform;
The step of decrypting the encrypted session message by the target decryption key corresponding to the target encryption key to obtain the session message, including:
and decrypting the encrypted session message according to the public key and the target decryption key to obtain the session message.
According to the message transmission device provided by the embodiment of the application, for the first user account and the second user account in the social platform, after the first user account initiates a privacy session request for the second user account, the target equipment identification of the second user account is determined, the target equipment identification not only can be used for identifying the terminal equipment of the second user account for receiving the encrypted session message sent by the first user account, but also can be used for determining a target encryption key according to the target equipment identification, and the session message encrypted by the first user account according to the target encryption key can only be decrypted by the terminal equipment corresponding to the target equipment identification. If the encrypted session message sent by the first user account to the second user account is obtained, the encrypted session message is forwarded to the second user account according to the target equipment identifier, so that safe end-to-end message transmission in a privacy session scene is realized, and the possibility that the transmitted message is known by a third party is reduced in a message transmission layer. Only the appointed terminal equipment can receive and display the session message within the preset time length through the target equipment identification, so that the probability that the session message is watched by others in the privacy message session scene is reduced, the possibility that the session message is watched by a second user account in time is improved, the security of a message transmission layer is realized through the target equipment identification, and the privacy provided by the privacy session scene is further ensured from the message display layer.
Referring to fig. 20, a schematic diagram of a message transmission apparatus according to an embodiment of the present application is shown. As shown in fig. 20, the message transmission apparatus 2000 includes: a transmission unit 2001, an acquisition unit 2002, and a modification unit 2003;
The sending unit 2001 is configured to send, through a first user account, a target session message to a second user account in a session interface, where the first user account and the second user account are social accounts in a social platform, and the session interface corresponds to the first user account and the second user account;
The obtaining unit 2002 is configured to obtain a message type editing operation of the first user account for the target session message in the session interface, where the message type editing operation is used to change a message type of the target session message to a private message type or a regular message type, and a display duration of the target session message with the private message type in the session interface is a target display duration;
The changing unit 2003 is configured to change the message type of the target session message according to the instruction of the message type editing operation.
As a possible implementation manner, if it is determined that the message type of the target session message sent to the session interface is a private message type, the message transmission apparatus 2000 is further configured to:
obtaining viewing parameters of the target session message, wherein the viewing parameters comprise the content length of the target session message and/or user viewing parameters when viewed;
determining a target display duration corresponding to the target session message according to the viewing parameter;
and canceling display of the target session message in the session interface when the display of the target session message in the session interface reaches the target display duration.
As a possible implementation manner, if the target session message sent to the second user account in the session interface by the first user account is a private message type, the message transmission apparatus 2000 is further configured to:
display timing is performed when a target session message is sent to a second user account in a session interface through a first user account;
and when the timing duration reaches the target display duration, canceling display of the target session message in the session interface.
As a possible implementation manner, if the message type of the target session message in the session interface is a private message type, the message transmission apparatus 2000 is further configured to:
if the target session message is confirmed to be checked through the second user account, starting display timing when the target session message is checked;
and when the timing duration reaches the target display duration, canceling display of the target session message in the session interface.
As a possible implementation manner, the session interface is configured to display a session message with a message type of the regular message type and a session message with a message type of the privacy message type.
As a possible implementation manner, the session interface is a privacy session interface, and the privacy session interface is used for displaying a session message with a message type being the privacy message type.
According to the message transmission device provided by the embodiment of the application, aiming at the first user account and the second user account in the social platform, the first user account can send the session message to the second user account through the session interface, the message type of the session message can be a privacy message type or a conventional message type, wherein the privacy of the session message is marked by the session message of the privacy message type, so that the session message can be only displayed for a period of time in the session interface, the session message of the conventional message type can be kept to be displayed in the session interface, when the first user account sends the target session message to the second user account through the session interface, if the message type of the sent target session message is unsatisfactory, the original message type of the target session message can be changed through the message type editing operation, the operation cost of various operations such as message withdrawal, re-editing sending and the like caused by the remorse mind after the message sending is effectively reduced, and the operation convenience and the flexibility of the message sending process are improved on the premise of guaranteeing the privacy of the message.
Referring to fig. 21, a schematic diagram of a message transmission device according to an embodiment of the present application is shown. As shown in fig. 21, the message transmission apparatus 2100 includes: a display unit 2101 and a cancel unit 2102;
The display unit 2101 is configured to display a privacy session prompt through a second user account according to the acquired privacy session message, where the privacy session prompt is used to identify that the privacy session message is from a first user account, and the first user account and the second user account are social accounts in a social platform; if the triggering operation of the second user account for the privacy session prompt is determined, displaying the privacy session message through a privacy session interface;
The cancellation unit 2102 is configured to cancel display of the privacy session message when the privacy session message shows a preset duration in the privacy session interface.
As a possible implementation manner, the message transmission apparatus 2100 is further configured to:
Detecting a content recording operation for the privacy session interface;
and taking the content protection image for hiding the content as a content recording result of the privacy session interface.
As a possible implementation manner, the display unit 2101 is configured to:
Displaying the privacy session prompt in a conventional session interface according to the acquired privacy session message, wherein the conventional session interface corresponds to the first user account and the second user account; or alternatively
And displaying the privacy session prompt in a session homepage of the second user account according to the acquired privacy session message.
As a possible implementation manner, the account identifiers of the first user account and the second user account are not displayed in the privacy session interface.
According to the message transmission device provided by the embodiment of the application, aiming at the first user account and the second user account in the social platform, after the second user account receives the privacy session message sent by the first user account, the privacy session prompt is displayed through the second user account so as to prompt the user to acquire the privacy session message different from the conventional session message. If the triggering operation of the second user account on the privacy session prompt is determined, the privacy session interface is utilized to display the privacy session message, and the privacy session message is canceled from being displayed after a certain time period is displayed, so that the probability that the privacy session message is revealed or seen by a third party is reduced, the privacy session scene for solving the user privacy session requirement is realized, and the privacy of the privacy session message in the privacy session process of the first user account and the second user account is ensured.
The embodiment of the application also provides computer equipment, and the computer equipment provided by the embodiment of the application is introduced from the aspect of hardware materialization.
Referring to fig. 22, fig. 22 is a schematic diagram of a server structure provided by an embodiment of the present application, where the server 1400 may vary considerably in configuration or performance, and may include one or more central processing units (central processing units, CPU) 1422 (e.g., one or more processors) and memory 1432, one or more storage mediums 1430 (e.g., one or more mass storage devices) that store applications 1442 or data 1444. Wherein the memory 1432 and storage medium 1430 can be transitory or persistent storage. The program stored in the storage medium 1430 may include one or more modules (not shown), each of which may include a series of instruction operations on a server. Further, the central processor 1422 may be provided in communication with a storage medium 1430 to perform a series of instruction operations in the storage medium 1430 on the server 1400.
The server 1400 can also include one or more power supplies 1426, one or more wired or wireless network interfaces 1450, one or more input/output interfaces 1458, and/or one or more operating systems 1441, such as Windows Server, mac OS XTM, unixTM, linuxTM, freeBSDTM, and the like.
The steps performed by the server in the above embodiments may be based on the server structure shown in fig. 22.
Wherein, the CPU 1422 is configured to perform the following steps:
acquiring a privacy session request of a first user account aiming at a second user account in a social platform;
Determining a target equipment identifier of the second user account;
Returning a target encryption key corresponding to the target equipment identifier to the first user account, wherein the target encryption key is used for encrypting a session message sent by the first user account to the second user account, and the display duration of the session message is preset duration;
And if the encrypted session message sent by the first user account to the second user account is obtained, forwarding the encrypted session message to the second user account according to the target equipment identifier, wherein the encrypted session message is encrypted according to the target encryption key.
For the message transmission method described above, the embodiment of the application also provides a terminal device for message transmission, so that the message transmission method is realized and applied in practice.
Referring to fig. 23, fig. 23 is a schematic structural diagram of a terminal device according to an embodiment of the present application. For convenience of explanation, only those portions of the embodiments of the present application that are relevant to the embodiments of the present application are shown, and specific technical details are not disclosed, please refer to the method portions of the embodiments of the present application. The terminal device may be any terminal device including a mobile phone, a tablet computer, a Personal Digital Assistant (PDA) and the like, taking the mobile phone as an example:
Fig. 23 is a block diagram showing a part of the structure of a mobile phone related to a terminal device provided by an embodiment of the present application. Referring to fig. 23, the mobile phone includes: radio Frequency (RF) circuitry 1510, memory 1520, input unit 1530, display unit 1540, sensor 1550, audio circuitry 1560, wireless fidelity (WIRELESS FIDELITY, wiFi) module 1570, processor 1580, and power supply 1590. Those skilled in the art will appreciate that the handset configuration shown in fig. 23 is not limiting of the handset and may include more or fewer components than shown, or may combine certain components, or may be arranged in a different arrangement of components.
The following describes the components of the mobile phone in detail with reference to fig. 23:
The RF circuit 1510 may be used for receiving and transmitting signals during a message or a call, and particularly, after receiving downlink information of a base station, the signal is processed by the processor 1580; in addition, the data of the design uplink is sent to the base station. Generally, RF circuitry 1510 includes, but is not limited to, an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier (Low Noise Amplifier, LNA for short), a duplexer, and the like. In addition, the RF circuitry 1510 may also communicate with networks and other devices through wireless communication. The wireless communication may use any communication standard or protocol, including but not limited to global system for mobile communications (Global System of Mobile communication, GSM), general packet Radio Service (GENERAL PACKET), code division multiple access (Code Division Multiple Access, CDMA), wideband code division multiple access (Wideband Code Division Multiple Access, WCDMA), long term evolution (Long Term Evolution, LTE), email, short message Service (Short MESSAGING SERVICE, SMS), etc.
The memory 1520 may be used to store software programs and modules, and the processor 1580 implements various functional applications and data processing of the handset by running the software programs and modules stored in the memory 1520. The memory 1520 may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function (such as a sound playing function, an image playing function, etc.), and the like; the storage data area may store data (such as audio data, phonebook, etc.) created according to the use of the handset, etc. In addition, memory 1520 may include high speed random access memory, and may also include non-volatile memory, such as at least one magnetic disk storage device, flash memory device, or other volatile solid state storage device.
The input unit 1530 may be used to receive input numerical or character information and generate key signal inputs related to user settings and function control of the handset. In particular, the input unit 1530 may include a touch panel 1531 and other input devices 1532. The touch panel 1531, also referred to as a touch screen, may collect touch operations thereon or thereabout by a user (e.g., operations of the user on the touch panel 1531 or thereabout by using any suitable object or accessory such as a finger, a stylus, etc.), and drive the corresponding connection device according to a predetermined program. Alternatively, the touch panel 1531 may include two parts, a touch detection device and a touch controller. The touch detection device detects the touch azimuth of a user, detects a signal brought by touch operation and transmits the signal to the touch controller; the touch controller receives touch information from the touch detection device, converts it into touch point coordinates, and sends the touch point coordinates to the processor 1580, and can receive and execute commands sent from the processor 1580. In addition, the touch panel 1531 may be implemented in various types such as resistive, capacitive, infrared, and surface acoustic wave. The input unit 1530 may include other input devices 1532 in addition to the touch panel 1531. In particular, other input devices 1532 may include, but are not limited to, one or more of a physical keyboard, function keys (e.g., volume control keys, switch keys, etc.), a trackball, mouse, joystick, etc.
The display unit 1540 may be used to display information input by a user or information provided to the user and various menus of the mobile phone. The display unit 1540 may include a display panel 1541, and optionally, the display panel 1541 may be configured in the form of a Liquid Crystal Display (LCD) CRYSTAL DISPLAY, an Organic Light-Emitting Diode (OLED), or the like. Further, the touch panel 1531 may cover the display panel 1541, and when the touch panel 1531 detects a touch operation thereon or thereabout, the touch operation is transferred to the processor 1580 to determine the type of touch event, and then the processor 1580 provides a corresponding visual output on the display panel 1541 according to the type of touch event. Although in fig. 23, the touch panel 1531 and the display panel 1541 are two separate components for implementing the input and input functions of the mobile phone, in some embodiments, the touch panel 1531 may be integrated with the display panel 1541 to implement the input and output functions of the mobile phone.
The handset may also include at least one sensor 1550, such as a light sensor, a motion sensor, and other sensors. Specifically, the light sensor may include an ambient light sensor that may adjust the brightness of the display panel 1541 according to the brightness of ambient light, and a proximity sensor that may turn off the display panel 1541 and/or the backlight when the phone is moved to the ear. As one of the motion sensors, the accelerometer sensor can detect the acceleration in all directions (generally three axes), and can detect the gravity and direction when stationary, and can be used for applications of recognizing the gesture of a mobile phone (such as horizontal and vertical screen switching, related games, magnetometer gesture calibration), vibration recognition related functions (such as pedometer and knocking), and the like; other sensors such as gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc. that may also be configured with the handset are not described in detail herein.
Audio circuitry 1560, a speaker 1561, and a microphone 1562 may provide an audio interface between a user and a cell phone. The audio circuit 1560 may transmit the received electrical signal converted from audio data to the speaker 1561, and be converted into a sound signal by the speaker 1561 for output; on the other hand, the microphone 1562 converts the collected sound signals into electrical signals, which are received by the audio circuit 1560 for conversion into audio data, which is processed by the audio data output processor 1580 for transmission to, for example, another cellular phone via the RF circuit 1510 or for output to the memory 1520 for further processing.
WiFi belongs to a short-distance wireless transmission technology, and a mobile phone can help a user to send and receive emails, browse webpages, access streaming media and the like through a WiFi module 1570, so that wireless broadband Internet access is provided for the user. Although fig. 23 shows WiFi module 1570, it is understood that it is not a necessary component of a cell phone and may be omitted entirely as desired within the scope of not changing the essence of the invention.
The processor 1580 is a control center of the mobile phone, connects various parts of the entire mobile phone using various interfaces and lines, and performs various functions and processes data of the mobile phone by running or executing software programs and/or modules stored in the memory 1520 and calling data stored in the memory 1520, thereby performing overall monitoring of the mobile phone. In the alternative, processor 1580 may include one or more processing units; preferably, the processor 1580 can integrate an application processor and a modem processor, wherein the application processor primarily processes operating systems, user interfaces, application programs, and the like, and the modem processor primarily processes wireless communications. It is to be appreciated that the modem processor described above may not be integrated into the processor 1580.
The handset further includes a power supply 1590 (e.g., a battery) for powering the various components, which may preferably be logically connected to the processor 1580 via a power management system so as to provide for the management of charging, discharging, and power consumption by the power management system.
Although not shown, the mobile phone may further include a camera, a bluetooth module, etc., which will not be described herein.
In an embodiment of the present application, the memory 1520 included in the mobile phone may store program codes and transmit the program codes to the processor.
The processor 1580 included in the mobile phone may execute the message transmission method provided in the foregoing embodiment according to the instruction in the program code, specifically:
sending a privacy session request aiming at a second user account to a social platform through a first user account, wherein the first user account and the second user account are social accounts in the social platform;
acquiring a target encryption key returned by the social platform, wherein the target encryption key is determined according to a target equipment identifier of the second user account;
encrypting a session message sent to the second user account through the target encryption key to obtain an encrypted session message, wherein the display duration of the session message is a preset duration;
And sending the encrypted session message to the second user account through the social platform.
The processor 1580 may also be configured to perform the steps of:
Acquiring an encrypted session message sent by a first user account through a second user account, wherein the first user account and the second user account are social accounts in a social platform, and the encrypted session message is obtained by encrypting the session message by the first user account through a target encryption key;
Decrypting the encrypted session message by a target decryption key corresponding to the target encryption key to obtain the session message;
And viewing the session message within a preset duration.
The processor 1580 may also be configured to perform the steps of:
Sending a target session message to a second user account in a session interface through a first user account, wherein the first user account and the second user account are social accounts in a social platform, and the session interface corresponds to the first user account and the second user account;
Acquiring a message type editing operation of the first user account for the target session message in the session interface, wherein the message type editing operation is used for changing the message type of the target session message into a privacy message type or a conventional message type, and the display duration of the target session message with the privacy message type in the session interface is a target display duration;
and according to the instruction of the message type editing operation, changing the message type of the target session message.
The processor 1580 may also be configured to perform the steps of:
according to the acquired privacy session message, a privacy session prompt is displayed through a second user account, wherein the privacy session prompt is used for identifying that the privacy session message comes from a first user account, and the first user account and the second user account are social accounts in a social platform;
if the triggering operation of the second user account for the privacy session prompt is determined, displaying the privacy session message through a privacy session interface;
and when the privacy session message shows the preset duration in the privacy session interface, canceling display of the privacy session message.
Optionally, the processor 1580 may further execute method steps of any specific implementation manner of the message transmission method in the embodiment of the present application.
The embodiment of the application also provides a computer readable storage medium for storing a computer program for executing the message transmission method provided in the above embodiment.
Embodiments of the present application also provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium. The processor of the computer device reads the computer instructions from the computer-readable storage medium and executes the computer instructions to cause the computer device to perform the message transmission methods provided in the various alternative implementations of the above aspects.
Those of ordinary skill in the art will appreciate that: all or part of the steps for implementing the above method embodiments may be implemented by hardware related to program instructions, where the above program may be stored in a computer readable storage medium, and when the program is executed, the program performs steps including the above method embodiments; and the aforementioned storage medium may be at least one of the following media: read-only memory (ROM), RAM, magnetic disk or optical disk, etc., which can store program codes.
It should be noted that, in the present specification, each embodiment is described in a progressive manner, and identical and similar parts of each embodiment are all referred to each other, and each embodiment is mainly described in a different point from other embodiments. In particular, for the apparatus and system embodiments, since they are substantially similar to the method embodiments, the description is relatively simple, with reference to the description of the method embodiments in part. The apparatus and system embodiments described above are merely illustrative, in which elements illustrated as separate elements may or may not be physically separate, and elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
The foregoing is only one specific embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions easily contemplated by those skilled in the art within the technical scope of the present application should be included in the scope of the present application. Therefore, the protection scope of the present application should be subject to the protection scope of the claims.

Claims (22)

1. A method of message transmission, the method comprising:
Acquiring a privacy session request of a first user account aiming at a second user account in a social platform; the second user account has a plurality of corresponding device identifications;
the determining the target equipment identifier of the second user account specifically comprises the following steps: determining the target equipment identification of the second user account from the plurality of equipment identifications according to a screening condition; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
Returning a target encryption key corresponding to the target equipment identifier to the first user account, wherein the target encryption key is used for encrypting a session message sent by the first user account to the second user account, and the display duration of the session message is preset duration; the preset duration is determined according to viewing parameters of the session message, the viewing parameters comprise at least one of readability of the session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user;
And if the encrypted session message sent by the first user account to the second user account is obtained, forwarding the encrypted session message to the second user account according to the target equipment identifier, wherein the encrypted session message is encrypted according to the target encryption key.
2. The method of claim 1, wherein if an encrypted session message sent by the first user account to the second user account is obtained, the method further comprises:
determining whether the second user account logs in to the social platform through the target device identifier;
if yes, executing the step of forwarding the encrypted session message to the second user account according to the target equipment identifier;
and if not, storing the encrypted session message as an offline message corresponding to the second user account.
3. The method of any of claims 1-2, wherein the target encryption key is a target public key generated based on a target private key of the second user account.
4. The method according to any one of claims 1-2, wherein the method further comprises:
storing an encryption key corresponding relation through an authentication center, wherein the encryption key corresponding relation is used for identifying the corresponding relation of a user identifier, a device identifier and an encryption key;
The determining the target equipment identifier of the second user account includes:
And determining a target equipment identifier of the second user account and a target encryption key corresponding to the target equipment identifier according to the encryption key corresponding relation through the target user identifier of the second user.
5. The method according to claim 4, wherein the method further comprises:
storing the key effective time of the encryption key through the authentication center;
and if the target encryption key is determined to be outdated according to the key effective time of the target encryption key, the second user account is indicated to update the target encryption key.
6. A method of message transmission, the method comprising:
Sending a privacy session request aiming at a second user account to a social platform through a first user account, wherein the first user account and the second user account are social accounts in the social platform; the second user account has a plurality of corresponding device identifications;
Acquiring a target encryption key returned by the social platform, wherein the target encryption key is determined according to a target equipment identifier of the second user account; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
Encrypting a session message sent to the second user account through the target encryption key to obtain an encrypted session message, wherein the display duration of the session message is a preset duration; the preset duration is determined according to viewing parameters of the session message, the viewing parameters comprise at least one of readability of the session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user;
and sending the encrypted session message to the second user account according to the target equipment identifier through the social platform.
7. A method of message transmission, the method comprising:
Acquiring an encrypted session message sent by a first user account through terminal equipment corresponding to a target equipment identifier of a second user account, wherein the first user account and the second user account are social accounts in a social platform, and the encrypted session message is obtained by encrypting the session message by the first user account through a target encryption key corresponding to the target equipment identifier; the second user account has a plurality of corresponding device identifications; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
Decrypting the encrypted session message by a target decryption key corresponding to the target encryption key to obtain the session message;
viewing the session message within a preset duration; the preset duration is determined according to viewing parameters of the session message, the viewing parameters comprise at least one of readability of the session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user.
8. A method of message transmission, the method comprising:
Sending a target session message to a second user account in a session interface through a first user account, wherein the first user account and the second user account are social accounts in a social platform, and the session interface corresponds to the first user account and the second user account;
Acquiring a message type editing operation of the first user account for the target session message in the session interface, wherein the message type editing operation is used for changing the message type of the target session message into a privacy message type or a conventional message type, and the display duration of the target session message with the privacy message type in the session interface is a target display duration; the target session message with the privacy message type is used for being sent to the terminal equipment corresponding to the target equipment identifier of the second user account; the second user account has a plurality of corresponding device identifications; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
according to the instruction of the message type editing operation, changing the message type of the target session message;
If the message type of the target session message sent to the session interface is determined to be a privacy message type, acquiring viewing parameters of the target session message, wherein the viewing parameters comprise the readability of the target session message and/or user viewing parameters when viewed; the user viewing parameters comprise the reading speed of the user; determining a target display duration corresponding to the target session message according to the viewing parameter; and canceling display of the target session message in the session interface when the display of the target session message in the session interface reaches the target display duration.
9. The method of claim 8, wherein if the target session message sent by the first user account to the second user account in the session interface is a private message type, the method further comprises:
display timing is performed when a target session message is sent to a second user account in a session interface through a first user account;
and when the timing duration reaches the target display duration, canceling display of the target session message in the session interface.
10. The method of claim 8, wherein if the message type of the target session message in the session interface is a private message type, the method further comprises:
if the target session message is confirmed to be checked through the second user account, starting display timing when the target session message is checked;
and when the timing duration reaches the target display duration, canceling display of the target session message in the session interface.
11. The method according to any of claims 8-10, wherein the session interface is configured to display session messages of the regular message type and session messages of the private message type.
12. The method according to any of claims 8-10, wherein the session interface is a privacy session interface for displaying session messages having a message type that is the privacy message type.
13. A method of message transmission, the method comprising:
according to the acquired privacy session message, displaying a privacy session prompt through a terminal device corresponding to a target device identifier of a second user account, wherein the privacy session prompt is used for identifying that the privacy session message is from a first user account, and the first user account and the second user account are social accounts in a social platform; the second user account has a plurality of corresponding device identifications; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
if the triggering operation of the second user account for the privacy session prompt is determined, displaying the privacy session message through a privacy session interface;
when the privacy session message shows a preset duration in the privacy session interface, canceling display of the privacy session message; the preset duration is determined according to viewing parameters of the privacy session message, the viewing parameters comprise at least one of readability of the privacy session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user.
14. The method according to claim 13, wherein the presenting the privacy session prompt through the second user account according to the acquired privacy session message includes:
Displaying the privacy session prompt in a conventional session interface according to the acquired privacy session message, wherein the conventional session interface corresponds to the first user account and the second user account; or alternatively
And displaying the privacy session prompt in a session homepage of the second user account according to the acquired privacy session message.
15. A message transmission apparatus, the apparatus comprising:
The acquisition unit is used for acquiring a privacy session request of a first user account aiming at a second user account in the social platform; the second user account has a plurality of corresponding device identifications;
The determining unit is configured to determine a target device identifier of the second user account, and specifically includes: determining the target equipment identification of the second user account from the plurality of equipment identifications according to a screening condition; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
A return unit, configured to return, to the first user account, a target encryption key corresponding to the target device identifier, where the target encryption key is used to encrypt a session message sent by the first user account to the second user account, and a display duration of the session message is a preset duration; the preset duration is determined according to viewing parameters of the session message, the viewing parameters comprise at least one of readability of the session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user;
and the sending unit is used for forwarding the encrypted session message to the second user account according to the target equipment identifier if the encrypted session message sent by the first user account to the second user account is obtained, wherein the encrypted session message is encrypted according to the target encryption key.
16. A message transmission apparatus, the apparatus comprising:
The system comprises a first sending unit, a second sending unit and a third sending unit, wherein the first sending unit is used for sending a privacy session request aiming at a second user account to a social platform through a first user account, and the first user account and the second user account are social accounts in the social platform; the second user account has a plurality of corresponding device identifications;
The acquisition unit is used for acquiring a target encryption key returned by the social platform, wherein the target encryption key is determined according to a target equipment identifier of the second user account; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
The encryption unit is used for encrypting the session message sent to the second user account through the target encryption key to obtain an encrypted session message, and the display duration of the session message is a preset duration; the preset duration is determined according to viewing parameters of the session message, the viewing parameters comprise at least one of readability of the session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user;
And the second sending unit is used for sending the encrypted session message to the second user account through the social platform according to the target equipment identifier.
17. A message transmission apparatus, the apparatus comprising:
The acquisition unit is used for acquiring an encrypted session message sent by a first user account through terminal equipment corresponding to a target equipment identifier of a second user account, wherein the first user account and the second user account are social accounts in a social platform, and the encrypted session message is obtained by encrypting the session message by the first user account through a target encryption key corresponding to the target equipment identifier; the second user account has a plurality of corresponding device identifications; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
The decryption unit is used for decrypting the encrypted session message through a target decryption key corresponding to the target encryption key to obtain the session message;
The checking unit is used for checking the session message within a preset duration; the preset duration is determined according to viewing parameters of the session message, the viewing parameters comprise at least one of readability of the session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user.
18. A message transmission apparatus, the apparatus comprising:
The sending unit is used for sending a target session message to a second user account in a session interface through a first user account, wherein the first user account and the second user account are social accounts in a social platform, and the session interface corresponds to the first user account and the second user account;
The obtaining unit is used for obtaining a message type editing operation of the first user account for the target session message in the session interface, wherein the message type editing operation is used for changing the message type of the target session message into a privacy message type or a conventional message type, and the display duration of the target session message with the privacy message type in the session interface is a target display duration; the target session message with the privacy message type is used for being sent to the terminal equipment corresponding to the target equipment identifier of the second user account; the second user account has a plurality of corresponding device identifications; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different;
a changing unit, configured to change the message type of the target session message according to the indication of the message type editing operation;
the message transmission device is further configured to, if it is determined that the message type of the target session message sent to the session interface is a private message type, obtain a viewing parameter of the target session message, where the viewing parameter includes readability of the target session message and/or a user viewing parameter when viewed; the user viewing parameters comprise the reading speed of the user; determining a target display duration corresponding to the target session message according to the viewing parameter; and canceling display of the target session message in the session interface when the display of the target session message in the session interface reaches the target display duration.
19. A message transmission apparatus, the apparatus comprising:
The display unit is used for displaying a privacy session prompt through a terminal device corresponding to a target device identifier of a second user account according to the acquired privacy session message, wherein the privacy session prompt is used for identifying that the privacy session message is from a first user account, and the first user account and the second user account are social accounts in a social platform; the second user account has a plurality of corresponding device identifications; the target equipment identifier is determined from the plurality of equipment identifiers according to screening conditions; the screening conditions comprise equipment types of the plurality of equipment identifiers and/or equipment identifiers adopted by the second user account to log in the social platform currently; different device types show that the privacy degree of the session message is different; if the triggering operation of the second user account for the privacy session prompt is determined, displaying the privacy session message through a privacy session interface;
the cancelling unit is used for cancelling display of the privacy session message when the privacy session message shows a preset duration in the privacy session interface; the preset duration is determined according to viewing parameters of the privacy session message, the viewing parameters comprise at least one of readability of the privacy session message and user viewing parameters when viewed, and the user viewing parameters comprise reading speed of a user.
20. A computer device, the device comprising a processor and a memory:
the memory is used for storing program codes and transmitting the program codes to the processor;
The processor is configured to perform the method of any one of claims 1-5, or the method of claim 6, or the method of claim 7, or the method of any one of claims 8-12, or the method of any one of claims 13-14, according to instructions in the program code.
21. A computer readable storage medium for storing a computer program for performing the method of any one of claims 1-5, or for performing the method of claim 6, or for performing the method of claim 7, or for performing the method of any one of claims 8-12, or for performing the method of any one of claims 13-14.
22. A computer program product, the computer program product comprising computer instructions stored in a computer readable storage medium; a processor of a computer device reads the computer instructions from the computer readable storage medium, the processor executing the computer instructions, causing the computer device to perform the method of any one of claims 1-5, or to perform the method of claim 6, or to perform the method of claim 7, or to perform the method of any one of claims 8-12, or to perform the method of any one of claims 13-14.
CN202110013849.2A 2021-01-06 2021-01-06 Message transmission method and related device Active CN114785751B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110013849.2A CN114785751B (en) 2021-01-06 2021-01-06 Message transmission method and related device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110013849.2A CN114785751B (en) 2021-01-06 2021-01-06 Message transmission method and related device

Publications (2)

Publication Number Publication Date
CN114785751A CN114785751A (en) 2022-07-22
CN114785751B true CN114785751B (en) 2024-04-26

Family

ID=82407708

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110013849.2A Active CN114785751B (en) 2021-01-06 2021-01-06 Message transmission method and related device

Country Status (1)

Country Link
CN (1) CN114785751B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105743917A (en) * 2016-04-05 2016-07-06 腾讯科技(深圳)有限公司 Message transmitting method and terminal
CN106535184A (en) * 2016-10-18 2017-03-22 深圳市金立通信设备有限公司 Key management method and system
CN106685907A (en) * 2016-06-29 2017-05-17 腾讯科技(深圳)有限公司 Method and device for generating session key
CN106817377A (en) * 2017-03-27 2017-06-09 努比亚技术有限公司 A kind of data encryption device, decryption device and method
CN107852326A (en) * 2015-07-06 2018-03-27 三星电子株式会社 For monitoring the methods, devices and systems of encrypted communication session
CN109104361A (en) * 2018-09-21 2018-12-28 北京达佳互联信息技术有限公司 Instant communicating method, device, electronic equipment and storage medium
CN110932967A (en) * 2019-12-31 2020-03-27 郑州信大捷安信息技术股份有限公司 Seamless session realization method and system for instant messaging message

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20070143423A1 (en) * 2005-12-21 2007-06-21 Oliver Kieselbach Method and system for allowing a session initiating user to select one or more privacy settings to be applied to an instant messaging session from among multiple possible privacy controls

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107852326A (en) * 2015-07-06 2018-03-27 三星电子株式会社 For monitoring the methods, devices and systems of encrypted communication session
CN105743917A (en) * 2016-04-05 2016-07-06 腾讯科技(深圳)有限公司 Message transmitting method and terminal
CN106685907A (en) * 2016-06-29 2017-05-17 腾讯科技(深圳)有限公司 Method and device for generating session key
CN106535184A (en) * 2016-10-18 2017-03-22 深圳市金立通信设备有限公司 Key management method and system
CN106817377A (en) * 2017-03-27 2017-06-09 努比亚技术有限公司 A kind of data encryption device, decryption device and method
CN109104361A (en) * 2018-09-21 2018-12-28 北京达佳互联信息技术有限公司 Instant communicating method, device, electronic equipment and storage medium
CN110932967A (en) * 2019-12-31 2020-03-27 郑州信大捷安信息技术股份有限公司 Seamless session realization method and system for instant messaging message

Also Published As

Publication number Publication date
CN114785751A (en) 2022-07-22

Similar Documents

Publication Publication Date Title
US10958459B2 (en) Method and apparatus for processing group chat message
JP6511541B2 (en) Message updating method, apparatus and terminal
CN108536783B (en) Data processing method and device, terminal and computer readable storage medium
CN107743086B (en) Message processing method and system, and message sending and receiving device
CN106453052B (en) Message interaction method and device
CN109165074B (en) Game screenshot sharing method, mobile terminal and computer-readable storage medium
CN109542287B (en) Message reminding method and device, mobile terminal and storage medium
CN107145794B (en) Data processing method and device and mobile terminal
CN110188524B (en) Information encryption method, information decryption method and terminal
CN109521918B (en) Information sharing method and device, electronic equipment and storage medium
US10454905B2 (en) Method and apparatus for encrypting and decrypting picture, and device
CN111010663B (en) Information sharing method and device, storage medium and computer equipment
US10904198B2 (en) Information sending method, information display method, terminal, server, system, and storage medium
CN110035183B (en) Information sharing method and terminal
EP3687118B1 (en) Information search method, terminal, network device, and system
CN108012270B (en) Information processing method, equipment and computer readable storage medium
CN111107223B (en) Message processing method and electronic equipment
CN107347114B (en) Voice information receiving and sending control method and terminal
CN112333337B (en) Message checking method, device, equipment and storage medium
CN109922440B (en) Data synchronization method, device, mobile terminal and storage medium
CN114785751B (en) Message transmission method and related device
CN107147778B (en) Data processing method and device and mobile terminal
CN108566476B (en) Information processing method, terminal and computer readable storage medium
CN107678622B (en) Application icon display method, terminal and storage medium
CN108880787B (en) Information key processing method and related equipment

Legal Events

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