Method for processing session information and related devices

The method and apparatus for processing session information in multiple-person interactive scenarios protect message content by setting a session type to block propagation operations, effectively addressing the challenge of message protection.

JP2025519617AActive Publication Date: 2025-06-26BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
JP2024572694
Authority / Receiving Office
JP · JP
Patent Type
Applications
Current Assignee / Owner
Priority Date
2022-12-23
Filing Date
2023-12-08
Publication Date
2025-06-26
Estimated Expiration
2043-12-08

AI Technical Summary

Technical Problem

In multiple-person interactive scenarios, users face challenges in protecting message content within a session from being propagated outside the session.

Method used

A method and apparatus for processing session information that sets a session as a specific type to block operations such as copying, forwarding, downloading, screenshotting, and screen recording, thereby preventing message content from being shared outside the session.

Benefits of technology

Effectively protects message content within a session by preventing its propagation outside the session, ensuring the security and privacy of the message content.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure 2025519617000001_ABST
    Figure 2025519617000001_ABST
Patent Text Reader

Abstract

The present disclosure provides a method for processing session information and related devices. The method includes receiving a first operation on a first session, where the first operation is used to propagate the content in the first session outside the first session, the first session is set as a first type of session, and for the first operation, executing a second operation to block the first operation.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] [Cross - reference to Related Applications] This application is based on and claims priority to a Chinese patent application with Chinese application number 202211672362.6 and a filing date of December 23, 2022. The disclosure content of this Chinese patent application is incorporated into this application in its entirety.

[0002] [Technical Field] This disclosure relates to the field of computer technology, and particularly to a method for processing session information and related devices.

Background Art

[0003] Currently, in multiple - person interactive scenarios, users can perform operations such as copying, forwarding, downloading, taking screenshots, and screen recording on the message content in a session, thereby easily sharing the messages in the session outside the session.

[0004] However, in some cases, users hope that the message content in the session is protected and do not want the message content in the session to be spread.

Summary of the Invention

[0005] Therefore, an object of this disclosure is to provide a method for processing session information and related devices.

[0006] To achieve the above object, a first aspect of this disclosure provides a method for processing session information, the method includes: receiving a first operation on a first session, the first operation being used to propagate the content in the first session outside the first session, and the first session being set as a first - type session; executing a second operation to block the first operation in response to the first operation.

[0007] In some embodiments, the method further includes setting the first session as a first type of session in response to receiving a first setting operation for a member of the first type of the first session.

[0008] In some embodiments, the first setting operation includes one or more of an operation that does not permit copying of a message, an operation that does not permit forwarding of a message, an operation that does not permit downloading of a file, an operation that does not permit taking a screenshot, and an operation that does not permit screen recording.

[0009] In some embodiments, the method further includes sending a first system message visible to all members in the first session in response to receiving the first setting operation, where the first system message is for presenting that the first session is set as a first type of session.

[0010] In some embodiments, the method further includes sending a second system message visible only to the new member in the first session in response to a new member joining the first session, where the second system message is for presenting that the first session is set as a first type of session.

[0011] In some embodiments, performing a second operation that blocks the first operation with respect to the first operation includes, in response to receiving the first operation for the first session, responding to the first operation Generating a third system message based on the operation information of the first operation and the member information for executing the first operation, and sending the third system message to other members of the first session.

[0012] In some embodiments, performing a second operation to block the first operation with respect to the first operation includes, in response to receiving a first operation command for the first operation in the first session, blocking the execution of the first operation command. The first operation command is generated by a shortcut key or third-party software.

[0013] In some embodiments, performing a second operation to block the first operation with respect to the first operation includes, in response to receiving a second operation command for performing the first operation on the first session, shielding or blurring the first session and executing the second operation command. The second operation command is generated by a shortcut key or third-party software.

[0014] In some embodiments, performing a second operation to block the first operation with respect to the first operation includes obtaining a first control for performing the first operation in the first session and setting the first control to a non-operable state.

[0015] In some embodiments, the method further includes displaying first prompt information at a first preset position in the first session, where the first prompt information is used to prompt the non-executability of the first operation on the first session. The first preset position is adjacent to the position of the first control in the first session.

[0016] In some embodiments, the method further includes displaying the first message in a first list in response to receiving a third operation on the first message in the first session. Performing the second operation to block the first operation with respect to the first operation includes obtaining a second control for performing the first operation on the first message in the first list and setting the second control to a non-operable state.

[0017] In some embodiments, the method further includes displaying a picture management window in response to receiving a trigger operation on a picture file in the first session. Performing the second operation to block the first operation with respect to the first operation includes obtaining a third control for performing the first operation on the picture file in the picture management window and setting the third control to a non-operable state.

[0018] In some embodiments, the method further includes setting the first session as a first type of session in response to a second setting operation on a member of the first type of the first session with respect to the first session, and in the first session, further includes responding to the first operation in response to receiving the first operation on the member of the first type with respect to the first session.

[0019] In some embodiments, before receiving the first operation on the first session, the method further includes displaying a first window above the first session, and in response to receiving the first operation on the first window, further includes responding to the first operation on the first window and performing the second operation to block the first operation on the first session.

[0020] In some embodiments, the first operation includes at least one of copy, transfer, download, screenshot, and screen recording.

[0021] A second aspect of the present disclosure provides an apparatus for processing session information, the apparatus including: a receiving module configured to receive a first operation for a first session, where the first operation is used to propagate the content in the first session outside the first session, and the first session is set as a first type of session; and an execution module configured to execute a second operation to block the first operation in response to the first operation.

[0022] A third aspect of the present disclosure provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, where when the processor executes the program, the method according to the first aspect is implemented.

[0023] A fourth aspect of the present disclosure provides a non-transitory computer-readable storage medium storing computer instructions, where the computer instructions are used to cause the computer to execute the method according to the first aspect.

[0024] A fifth aspect of the present disclosure provides a computer program product including computer program instructions, where when the computer program instructions are executed on a computer, the computer is caused to execute the method according to the first aspect.

Brief Description of the Drawings

[0025] To more clearly illustrate the technical solutions in the present disclosure or related technologies, the drawings required for use in the following embodiments or descriptions of related technologies are briefly introduced below. Obviously, the drawings described below are only embodiments of the present disclosure, and those skilled in the art can obtain other drawings based on these drawings without creative labor.

[0026]

Figure 1

Figure 2

Figure 3A

Figure 3B

Figure 3C

Figure 3D

Figure 3E

Figure 3F

Figure 3G

Figure 3H

Figure 3I

Figure 4

Figure 5

DETAILED DESCRIPTION OF THE INVENTION

[0027] In order to make the objectives, technical solutions and advantages of the present disclosure more clear, the present disclosure will be described in further detail below in conjunction with specific embodiments and with reference to the accompanying drawings.

[0028] Unless otherwise defined, technical terms or scientific terms used in the embodiments of the present disclosure shall have the ordinary meanings understood by those skilled in the art to which the present disclosure pertains. The terms "first", "second" and similar terms used in the embodiments of the present disclosure do not represent any order, number or importance, but are merely used to distinguish different components. Similar terms such as "comprising" or "including" mean that the elements or objects appearing before this term cover the elements or objects enumerated after this term and their equivalents without excluding other elements or objects. Similar terms such as "connected" or "linked" are not limited to physical or mechanical connections, and can include electrical connections, whether direct or indirect. Terms such as "above", "below", "left" and "right" are merely for representing relative positional relationships, and when the absolute position of the object being described changes, this relative positional relationship may also change accordingly.

[0029] As described in the background art, in multiple-person interactive scenarios such as instant sessions, live relays, and video conferences, users can send messages that can include one or a combination of text messages, pictures, videos, and files within a single-target chat or group chat session to achieve interactivity.

[0030] For the convenience of users, in the above-mentioned multiple-person interactive scenarios, usually, functions such as copy, transfer, download, screenshot, and screen recording are provided so that users can locally save the messages of single-target chats or group chats or share them with other pages or users.

[0031] However, in some scenarios, users do not want the message content within the session to be propagated outside the session and hope to protect the messages within the session.

[0032] Therefore, an embodiment of the present disclosure provides a method for processing session information that can protect a session in order to avoid the propagation of messages in the session.

[0033] FIG. 1 is a flowchart of an exemplary method provided by an embodiment of the present disclosure.

[0034] As shown in FIG. 1, an embodiment of the present disclosure provides a method for processing session information, including the following steps.

[0035] In step S101, a first operation on a first session is received. The first operation is used to propagate the content in the first session outside the first session, and the first session is set as a first type of session.

[0036] In this embodiment, the first session may be a session related to the first user account of user A in a communication system, and the session interface of the first session is the session interface of the first session that user A browses and uses through the first user account. The communication group corresponding to the first session may include, in addition to the first user account of user A, other user accounts of other users, and the other user accounts may be one or more. When there is only one other user account, the communication group corresponding to the first session is a single-target chat session, and when there are multiple other user accounts, the communication group corresponding to the first session is a group chat session.

[0037] Both the first user account and other user accounts can send messages to the communication group corresponding to the first session to realize communication between each user. When the first user account or other user accounts send messages to the communication group, the messages can be displayed on the session interface of the first session. Then, user A can view the messages on the session interface of the first session.

[0038] In this embodiment, first, the first session may be set as a first type of session. Here, the first type of session refers to a session that meets the requirement that the content within the session cannot be propagated outside the session. That is, when the first session is set as the first type of session, it is necessary to conceal the information within the first session. That is, the first session is set as a secret group.

[0039] Here, the first operation can include at least one of copy, transfer, download, screenshot, and screen recording. The content in the first session can be propagated outside the first session by means such as copying, transferring, downloading a message in the first session, or taking a screenshot or screen recording of the first session.

[0040] Generally, for one first message, only one of the operations of copy, transfer, download, screenshot, and screen recording can be executed simultaneously. When the first session includes text messages and emoji messages, copy and transfer operations can be executed on the text messages in the first session. When the first session includes files, such as picture files, video files, or text files, operations such as downloading can be performed on the files in the first session. Also, operations such as taking screenshots and screen recordings can be performed on the entire session interface of the first session, but this embodiment does not limit it thereto.

[0041] When performing a first operation on the first session, based on the first operation, the message content in the first session can be propagated outside the first session. For example, the message in the first session can be sent to another session or system by transfer, and the message in the first session can be locally saved by operations such as copying, downloading, taking a screenshot, and screen recording, and then further transferred to another session or system. This embodiment does not limit it in this regard.

[0042] In step S103, for the first operation, a second operation that blocks the first operation is executed.

[0043] In this embodiment, since the first session has already been set as the first type of session, when receiving the first operation on the first session, a second operation that blocks the first operation is executed for the first operation. Therefore, the first operation cannot be successfully executed on the first session. Thus, the message content in the first session is prevented from being propagated outside the first session, and protection of the message content in the first session is realized.

[0044] In this embodiment, when it is necessary to perform message protection on the message content of the first session, first, the first session can be set as the first type of session. If the first session has already been set as the first type of session, and at this time, when the user executes a first operation for propagating the content of the first session outside the first session on the first session, a second operation that blocks the first operation is executed. As a result, the user cannot successfully execute the first operation on the first session. Thus, the message content in the first session is prevented from being propagated outside the first session, and protection of the message content in the first session is realized.

[0045] In some embodiments, the method further includes setting the first session as a first type of session in response to receiving a first setting operation of a member of the first type of the first session for the first session.

[0046] In this embodiment, the first session can be set as a first type of session by a setting operation of a member of the first type of the first session for the first session. Here, the member of the first type of the first session may be a member having setting authority in the first session, for example, a group master or a group administrator of the first session, etc. Here, the group master or the group administrator of the first session can implement the first setting operation through the setting page of the first session, and thus, based on the first setting operation. Here, the setting page may be, for example, a group management page. Through the setting page, permission settings for the first session can be realized. For example, it can be set which group members can pin messages and group announcements to the top, which group members can speak in this group, etc.

[0047] The setting page includes a setting control for implementing the first setting operation. Based on the first setting operation based on the setting control, the first session is set as a first type of session.

[0048] In some embodiments, the first setting operation includes one or more of an operation that does not permit copying of messages, an operation that does not permit forwarding of messages, an operation that does not permit downloading of files (which can include, for example, picture files, video files, text files, etc.), an operation that does not permit taking screenshots, and an operation that does not permit screen recording. Note that the above-described first setting operations may be implemented together or separately according to the needs of the members, but this embodiment does not limit it in this regard.

[0049] In some other embodiments, when the first setting operation is such that the messages of the first session contain predetermined important content (for example, contain keywords or key information), operations such as copy, transfer, download, screenshot, screen recording, etc. are not permitted. In this way, it is possible to determine whether the keyword exists in the text message in the first session. Alternatively, it is possible to determine whether the text message during the first session has the same meaning as the key information by means of semantic recognition or the like. Or, recognize picture files, video files, and text files during the first session by means of image recognition or the like, and determine whether the keyword exists in the recognition result information, or whether the meaning of the recognition result information is the same as the meaning of the key information. When these keywords or key information are included in the messages of the first session, operations such as copy, transfer, download, screenshot, screen recording, etc. are not permitted for the first session.

[0050] In some embodiments, the method further includes sending a first system message visible to all in the first session in response to receiving the first setting operation, and the first system message is for presenting that the first session is set as a first type of session.

[0051] In this embodiment, when the first session receives the first setting operation performed by the user on the first session, the first session generates a first system message based on the first setting operation, and sends the first system message to the first session or each member in the first session. Thus, each member in the first session can know that the first operation is not permitted for the first session, avoiding misunderstandings of the user. For example, when the group administrator sets the first session so that message transfer is not permitted, the first system message can be "The current group chat does not permit message transfer".

[0052] In some embodiments, the method further includes, in the first session, in response to a new member joining the first session, sending a second system message that is visible only to the new member, where the second system message is for presenting that the first session is set as a first type of session.

[0053] In this embodiment, after the first session is set as a first type of session, if a new member joins the first session, at this time, to avoid misunderstanding by the new member, the first session generates a second system message and sends it to the new member, whereby it can be presented to the new member that the first session has already been set as a first type of session.

[0054] In some embodiments, in step S103, performing the second operation that blocks the first operation with respect to the first operation includes the following steps.

[0055] In step S201, in response to receiving the first operation on the first session, respond to the first operation.

[0056] In step S203, generate a third system message based on the operation information of the first operation and the member information of the member performing the first operation, and send the third system message to other members of the first session.

[0057] In some scenes or platforms, due to technical constraints or user needs, when the first session receives the first operation, it may be unable or difficult to generate a response result in response to the first operation. For example, on platforms such as iOS, it is not possible to prevent operations such as the user's screen shots or screen recordings. In this case, when the first session receives the first operation for this, it can normally respond to the first operation. For example, it can normally perform operations such as copying or forwarding messages, downloading files, taking screen shots or screen recordings, etc. to generate the operation result of the response. Also, based on the operation information of the first operation such as screen shots or screen recordings, and the member information of the member who performs the first operation, a third system message is generated, and this generated third system message is sent to other members of the first session. The other members of the first session may be only the first type of members of the first session, that is, the group master or group administrator, or all members other than the member who performs the first operation, or may be preset designated group members, and this embodiment does not limit it. Thereby, the member information (for example, the group nickname of the member, etc.) and operation information (for example, whether the member performed a screen shot operation, a screen recording operation, or the message content, range, etc. of the screen shot or screen recording) of the member who performs the first operation are sent to other members, thereby realizing the protection of the messages in the first session.

[0058] In some embodiments, in step S103, for the above-mentioned first operation, performing the second operation that blocks the first operation may further include, in response to receiving the first operation instruction for the first operation of the first session, blocking the execution of the first operation instruction, and the first operation instruction is generated by a shortcut key or third-party software.

[0059] In related technologies, the first operation can be realized by shortcut keys or third-party software. For example, operations such as taking a screenshot or recording a screen for the first session can be realized using shortcut keys, or operations such as taking a screenshot or recording a screen can be realized through third-party software such as software having a screenshot or screen recording function outside the software where the first session exists, or an operating system platform providing a screenshot or screen recording function.

[0060] In this case, when the user performs a first operation such as taking a screenshot or recording a screen on the first session via a shortcut key or third-party software, a first operation command for the first operation is generated and sent to the first session. At this time, the first session executes a second operation that blocks the execution of the first operation command. That is, in this embodiment, by blocking the first operation command based on the first operation, the first session cannot respond to the first operation and cannot generate an operation result by the first operation, thereby realizing the protection of the first message in the first session.

[0061] In some embodiments, in step S103, performing the second operation that blocks the first operation with respect to the first operation includes, in response to receiving a second operation command for performing the first operation on the first session, shielding or blurring the first session and executing the second operation command, and the second operation command is generated by a shortcut key or third-party software.

[0062] In this embodiment, when the user performs a first operation such as a screenshot or screen recording on the first session by using a shortcut key or third-party software, a second operation instruction for the first operation is generated and sent to the first session. In this embodiment, first, the first session is shielded by a preset image, or blurred by a predetermined method such as a mosaic, etc., and then the second operation instruction is executed. In this case, since the first session has already been shielded or blurred when the second operation instruction is executed, even if the second operation instruction is executed at this time to generate an operation result, in the image captured by the screen capture or the video obtained by the screen recording, the first session has already been shielded or blurred, so that the message content in the first session will not be propagated outside the first session, thereby realizing the protection of the first message in the first session.

[0063] When shielding the first session with a preset image, for example, by displaying prompt information such as "The message protection mode is on, and the group chat content will be automatically hidden during screenshot / screen recording" on the preset image, the user can easily know that this is due to message protection, thus avoiding the user's misunderstanding.

[0064] In some embodiments, in step S103, performing the second operation of blocking the first operation with respect to the first operation includes obtaining a first control for executing the first operation in the first session and setting the first control to a non-operable state.

[0065] In the related art, in the first session, there is a first control for performing a first operation. When the mouse hovers over a message or touches and clicks on the position where the message is located, a control for transferring the message is displayed. When the message is clicked with the right button of the mouse or touched and clicked on the position where the message is located, a control for copying the message is displayed. When the message is a text file, a control for downloading the file to the file card displayed in the first session is displayed. In the input window of the first session, there are controls for taking screenshots and screen recordings, etc. In the related art, for different interactive scenes or different platforms, there are other first controls for realizing the first operation, and this embodiment does not limit it in this regard.

[0066] In this embodiment, the first control for realizing the above-mentioned first operation can be set to an inoperable state, whereby the first operation cannot be performed on the first session. Here, by setting the first control to an inoperable state, the first control in the inoperable state can still be displayed in the first session. Only when the first control is triggered by a click or touch operation, the first control does not respond. Also, the icon of the first control can be processed to mark that the first control is in an inoperable state, or the first control can be directly hidden during the first session. This embodiment does not limit it in this regard.

[0067] In this embodiment, by setting the first control for realizing operations such as copy, transfer, download, screenshot, and screen recording to a non-operable state, when the user wants to perform operations such as copy, transfer, download, screenshot, and screen recording, since the first control for performing the operations cannot be operated, the above functions cannot be realized, thereby avoiding the propagation of the message content in the first session outside the first session, and protecting the security of the message content in the first session.

[0068] In some embodiments, the method further includes displaying first prompt information at a first preset position in the first session, where the first prompt information is used to prompt the non-executability of the first operation on the first session, and the first preset position is adjacent to the position of the first control in the first session.

[0069] In this embodiment, while setting the first control to a non-operable state, first prompt information can also be displayed at a first preset position in the first session, where the first prompt information is used to prompt the non-executability of the first operation on the first session. For example, when the first control is a control for realizing a transfer operation, the first prompt message may be "The message protection mode is on and message transfer is prohibited". Here, when the first control set to a non-operable state in the first session is displayed, the first prompt information can be displayed synchronously with the first session, or when the user's mouse temporarily hovers over the first control set to a non-operable state, or only when the user tries to trigger the first control set to a non-operable state, the first prompt information is displayed, and this embodiment does not limit this.

[0070] In this embodiment, the first preset position is adjacent to the position of the first control in the first session, whereby the user can easily know that the first prompt information is the prompt information for the first control.

[0071] In some embodiments, the method further includes displaying the first message in a first list in response to receiving a third operation on the first message in the first session, and performing, with respect to the first operation, a second operation that blocks the first operation in step S103 includes obtaining a second control for performing the first operation on the first message in the first list and setting the second control to a non-operable state.

[0072] In the related art, a user performs a third operation on a first message in a first session, and the first message after the third operation is performed is displayed in a first list, and a second control for performing the first operation is still provided in the first list. For example, the third operation may be an operation such as a favorite operation, and the first list may be a favorite list. When the user performs a favorite operation on the first message in the first session, the first message that has been favorited can be displayed in the favorite list, and a control for forwarding the first message is still provided in the favorite list. In this embodiment, in order to prevent the message in the first session from spreading outside the first session, the second control in the favorite list can also be set to a non-operable state, so that even if it is within the first list, the message content in the first session cannot be spread outside the first session, and the security of the message content in the first session is protected.

[0073] In some embodiments, the method further includes displaying a picture management window in response to receiving a trigger operation on a picture file in the first session, and performing, in step S103, the above-mentioned second operation of blocking the first operation with respect to the first operation includes obtaining a third control for performing the first operation on the picture file in the picture management window, and setting the third control to a disabled state.

[0074] In the related art, when there is a picture file during the first session, for example, a picture file of the first session sent by a message, a picture file included in a card message, at this time, when the user performs a trigger operation on the picture file, in the first session, a picture management window for realizing management operations on the picture file, such as zoom in view, zoom out view, download, edit, etc. can be displayed.

[0075] The picture management window is still provided with a third control for performing the first operation, for example, a download control for performing a download operation. In this embodiment, in order to prevent the picture file in the first session from spreading outside the first session, the third control in the picture management window can also be set to a disabled state. In this way, even within the picture management window, the message content in the first session cannot be spread outside the first session, and the security of the message content in the first session is protected.

[0076] In some embodiments, the method further includes setting the first session as a first type of session in response to a second setting operation of a first type of member of the first session with respect to the first session, and, in the first session, responding to the first operation in response to receiving the first operation of the first type of member with respect to the first session.

[0077] In some cases, it is necessary to prohibit other members during the first session from spreading the message content in the first session. However, in special cases, some members during the first session, such as members of the first type like the group master and group administrator, need to perform a first operation on the first session, such as message copying, message forwarding, file downloading, taking screenshots, screen recording, etc. In this case, when members of the first type like the group master and group administrator set the first session as a first-type session, they can be set so as not to be affected by the setting operation. That is, when members of the first type like the group master and group administrator perform a first operation on the first session, the first session generates an operation result in response to the first operation.

[0078] In some embodiments, before receiving the first operation on the first session, it further includes displaying a first window above the first session, and in response to receiving the first operation on the first window, performing a second operation that blocks the first operation on the first session in response to the first operation on the first window.

[0079] In some embodiments, a first window is displayed on top of a first session. The first window may be a window of third - party software, and at least a part of the first session is not blocked by the first window. At this time, when the user performs a first operation such as taking a screenshot or screen recording on the first window, in order to avoid the message content in the first session from also being screenshot or screen recorded, a second operation for blocking the first operation on the first session can be executed. For example, the first session can be blocked or blurred. In this way, the user's normal screenshot and screen recording operations on other windows are not affected, and the security of the message content in the first session is protected.

[0080] FIG. 2 is a schematic diagram of an exemplary 100 provided according to an embodiment of the present disclosure.

[0081] As shown in FIG. 2, the system 100 can include a first terminal 102, a server 104, and a second terminal 106. Here, the first terminal 102 and the second terminal 106 are only for distinguishing different electronic devices and do not represent the number of electronic devices in the application scenario. In actual applications, there can be multiple electronic devices. The first terminal 102 or the second terminal 106 includes, but is not limited to, a desktop computer, a mobile phone, a mobile computer, a tablet computer, a media player, a smart wearable device, a personal digital assistant (PDA), and other electronic devices capable of realizing the above functions.

[0082] In some embodiments, the system 100 can be applied to multiple-person interaction scenarios. For example, it can be applied to instant session scenarios, live scenarios, video conferencing scenarios, etc. Taking the instant communication session scenario as an example, the server 104 is used to provide an instant session service. Here, the first terminal 102 / second terminal 106 is a terminal corresponding to a user who conducts chats and communications in the instant communication session scenario. Both of them are installed with clients for communicating with the second terminal 106 / first terminal 102, and the user can enter a multiple-person interaction scenario such as a multiple-person chat scenario through the client.

[0083] In some embodiments, when the system 100 is applied to a single-target chat scenario, the number of both the first terminal 102 and the second terminal 106 is one. When the system 100 is applied to a group chat scenario, the number of the second terminals 106 may be plural.

[0084] The server 104 may be a single server or multiple servers. In the scenario of multiple servers, a distributed architecture can be adopted among these servers, and a server cluster can be formed.

[0085] The first terminal 102 and the second terminal 106 may be any terminal device. For example, they may be mobile terminals (such as mobile phones, tablet computers (Pads)), or fixed terminals (such as personal computers (Personal Computers, PCs), notebook computers). The first terminal 102 and the second terminal 106 can execute an application program, and the application program can provide corresponding services, such as a chat service, to the user.

[0086] FIG. 3A is a schematic diagram of an exemplary page 300 according to an embodiment of the present disclosure.

[0087] As shown in FIG. 3A, exemplary page 300 includes a session interface for the first session. In a multi-person interaction scenario, for example, in the scenario of an instant communication session, a user can send a message in a communication group corresponding to the first session, and the message is displayed on the session interface of the first session. The user who sent the message and other users in the communication group can view this message.

[0088] The session interface of the first session includes system setting controls. When the terminal receives a trigger operation on the system setting controls by a member of the first type, such as the group master or group administrator of the first session, the setting page of the first session is displayed.

[0089] As shown in FIG. 3B, setting page 301 may be a group management page for the first session. Thus, the group management page can be used to set which group members can pin messages or group announcements to the top, which group members can speak in this group, etc. Also, setting page 301 includes setting controls for implementing a first setting operation. Based on the first setting operation based on the setting controls, the first session can be set as a first type of session. When the first session is a first type of session, the message content in the first session is protected.

[0090] As shown in FIG. 3C, based on the first setting operation, an operation that does not permit copying of messages, an operation that does not permit forwarding of messages, an operation that does not permit downloading of files (which may include, for example, picture files, video files, text files, etc.), an operation that does not permit taking screenshots, an operation that does not permit screen recording, etc., one or more of these can be set. For example, by setting on / off respectively such as "prohibiting copying and forwarding of messages such as text information, pictures, videos, files, etc.", "prohibiting downloading of messages such as pictures, videos, files, etc.", "preventing screenshots, screen recording, etc.", different settings for the protection mode of the first session can be realized, and thereby, the protection needs for different messages in different sessions can be satisfied.

[0091] In some embodiments, those who can set the message protection content are only the first type of members (such as group masters, group administrators, etc.) with preset permissions among the members of the first session.

[0092] When the first session receives the first setting operation performed by the user on the first session, the first session generates and sends a first system message visible to all members based on the first setting operation, whereby the first system message is sent to the first session or each member in the first session, and each member in the first session is made to know that the first operation is not permitted for the first session, thus avoiding misunderstandings by the user. For example, when the group administrator sets the first session so that message forwarding is not permitted, the first system message can be "The current group chat does not permit message forwarding".

[0093] After the first session is set to the first type of session, if a new member joins the first session, at this time, to avoid misunderstanding of the new member, the first session generates a second system message visible only to the new member and sends it to the new member, so that the fact that the first session has already been set as the first type of session can be presented to the new member.

[0094] In some embodiments, when a first type of member such as a group master or a group administrator sets the first session to the first type of session, the first type of member such as a group master or a group administrator can be set not to be affected by the setting operation, that is, when a first type of member such as a group master or a group administrator performs a first operation on the first session, the first session generates an operation result in response to the first operation.

[0095] After setting the first session to the first type of session in this way, when receiving a first operation on the first session for propagating the message content in the first session outside the first session, a second operation for blocking the first operation is executed for the first operation. Therefore, the first operation cannot be successfully executed on the first session, thus avoiding the propagation of the message content in the first session outside the first session, and realizing the protection of the message content in the first session.

[0096] In some embodiments, performing a second operation that blocks the first operation with respect to the first operation may include generating a third system message based on responding to the first operation, the operation information of the first operation, and the member information of the member performing the first operation in response to receiving the first operation for the first session, and sending the third system message to other members of the first session. That is, in this embodiment, when the first session receives the first operation thereon, it can normally respond to the first operation. For example, it can normally perform operations such as copying or forwarding messages, downloading files, taking screenshots or screen recordings to generate operation results of the response. At the same time, based on the operation information of the first operation such as screenshots and screen recordings, and the member information of the member performing the first operation, a third system message is generated, and by sending the generated third system message to other members of the first session, it is possible to protect the messages in the first session.

[0097] In some embodiments, performing a second operation that blocks the first operation with respect to the first operation may include, in response to receiving a first operation instruction for the first operation in the first session, blocking the execution of the first operation instruction, where the first operation instruction is generated by a shortcut key or third-party software. In this embodiment, when the user performs a first operation such as taking a screenshot or screen recording on the first session via a shortcut key or third-party software, a first operation instruction for the first operation is generated and sent to the first session. At this time, the first session performs a second operation that blocks the execution of the first operation instruction. That is, in this embodiment, by blocking the first operation instruction based on the first operation, the first session cannot respond to the first operation and cannot generate an operation result by the first operation, thereby realizing the protection of the first message in the first session.

[0098] In some embodiments, performing a second operation that blocks the first operation with respect to the first operation may be to mask or blur the first session in response to receiving a second operation instruction to perform the first operation with respect to the first session, and then execute the second operation instruction. The second operation instruction is generated by a shortcut key or third-party software. In this embodiment, when a user performs a first operation such as a screenshot or screen recording on the first session by using a shortcut key or third-party software, a second operation instruction for the first operation is generated and sent to the first session. As shown in FIG. 3E, in this embodiment, the first session is masked by a preset image, or blurred by a predetermined method such as a mosaic, and then the second operation instruction is executed. In this case, since the first session has already been masked or blurred when the second operation instruction is executed, even if the second operation instruction is executed at this time to generate an operation result, in the image captured by the screen capture or the video obtained by the screen recording, the first session has already been masked or blurred. Therefore, the message content in the first session will not be propagated outside the first session, thereby realizing the protection of the first message in the first session.

[0099] As shown in FIG. 3E, when masking the first session with a preset image, by displaying prompt information such as "The message protection mode is on, and the group chat content will be automatically hidden during screenshot / screen recording" on the preset image, the user can easily know that this is due to message protection, thus avoiding the user's misunderstanding.

[0100] In some embodiments, for the first operation, executing a second operation to block the first operation may be to obtain a first control for executing the first operation in the first session and set the first control to a non-operable state. In this embodiment, there is a first control for executing the first operation in the first session. For example, as shown in FIG. 3D, in the first session, there is a control for transferring the message, etc. In this embodiment, by setting the first control for realizing operations such as copy, transfer, download, screenshot, screen recording, etc. to a non-operable state, when the user wants to perform operations such as copy, transfer, download, screenshot, screen recording, etc., since the first control for performing the operation cannot be operated, the above functions cannot be realized, thereby avoiding the propagation of the message content in the first session outside the first session and protecting the security of the message content in the first session.

[0101] Actually, at the same time as setting the first control to a non-operable state, first prompt information can also be displayed at a first preset position in the first session, and the first prompt information is used to prompt the non-executability of the first operation on the first session. As shown in FIG. 3D, for example, when the first control is a control for realizing a transfer operation, the first prompt message may be "The message protection mode is on and message transfer is prohibited". Here, the first preset position is adjacent to the position of the first control in the first session, whereby the user can easily know that the first prompt information is the prompt information for the first control.

[0102] In some embodiments, when the user performs a third operation such as a favorite operation on the first message in the first session, the first message after the favorite operation can be displayed in the favorite list, and the second control for performing the first operation is still provided in the favorite list. In this embodiment, as shown in FIG. 3F, in order to prevent the message in the first session from spreading outside the first session, the second control 302 in the favorite list can also be set to an inoperable state. In this way, even if it is within the first list, the message content in the first session cannot be spread outside the first session, and the security of the message content in the first session is protected.

[0103] In some embodiments, as shown in FIG. 3G, when a picture file exists during the first session, if the user performs a trigger operation on the picture file at that time, the image management window 304 can be displayed in the first session. The picture management window 304 still has the third control 305 for performing the first operation, for example, a download control for performing a download operation. In this embodiment, in order to prevent the picture file in the first session from spreading outside the first session, the third control 305 in the picture management window 304 can also be set to an inoperable state. In this way, even if it is within the picture management window 304, the message content in the first session cannot be spread outside the first session, and the security of the message content in the first session is protected.

[0104] In some embodiments, as shown in FIG. 3H, a first window 400 is displayed on top of a first session. The first window 400 may be a window of third-party software, and at least a part of the first session is not blocked by the first window 400. At this time, when the user performs a first operation such as taking a screenshot or screen recording of the first window 400, there is a possibility of taking a screenshot or screen recording of the message content in the first session. Therefore, in this embodiment, as shown in FIG. 3I, when receiving the first operation on the first window 400, in response to the first operation on the first window 400, a second operation for blocking the first operation on the first session is executed. For example, the first session may be blocked or blurred. In this way, the safety of the message content in the first session is protected without affecting the user's normal screenshot and screen recording operations on other windows.

[0105] Note that the method of the embodiments of the present disclosure can be executed by a single device such as a single computer or server. The method of this embodiment is applicable to a distributed scenario and can also be completed by multiple devices cooperating with each other. In such a distributed scenario, one of these multiple devices can execute only one or more steps in the method of the embodiments of the present disclosure, and these multiple devices interact with each other to achieve the method.

[0106] Note that the above describes some embodiments of the present disclosure. Other embodiments are within the scope of the appended claims. In some cases, the operations or steps recited in the claims can be executed in an order different from that of the above embodiments and still achieve the desired results. Note that the processes depicted in the drawings do not necessarily require the specific order or sequential order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0107] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure also provides a message processing apparatus.

[0108] Referring to FIG. 4, the apparatus includes a receiving module 11 configured to receive a first operation for a first session, where the first operation is used to propagate the content in the first session outside the first session, and the first session is set as a first type of session, and an execution module 13 configured to execute a second operation to block the first operation for the first operation.

[0109] In some embodiments, the apparatus is further configured to set the first session as a first type of session in response to receiving a first setting operation for a first type of member of the first session with respect to the first session.

[0110] In some embodiments, the first setting operation includes an operation that does not permit copying of messages, an operation that does not permit forwarding of messages, an operation that does not permit downloading of files, an operation that does not permit taking screenshots, one or more of an operation that does not permit screen recording.

[0111] In some embodiments, the apparatus is further configured to transmit a first system message visible to all in the first session in response to receiving the first setting operation, where the first system message is for presenting that the first session is set as a first type of session.

[0112] In some embodiments, the apparatus is further configured to send, in the first session, a second system message that is visible only to the new member in response to a new member joining the first session, where the second system message is for presenting that the first session is set as a first type of session.

[0113] In some embodiments, the execution module 13 is further configured to, in response to receiving the first operation on the first session, in response to the first operation, generate a third system message based on the operation information of the first operation and the member information of the member who executes the first operation, and is configured to send the third system message to other members of the first session.

[0114] In some embodiments, the execution module 13 is further configured to, in response to receiving a first operation instruction for the first operation in the first session, be configured to block the execution of the first operation instruction, where the first operation instruction is generated by a shortcut key or third-party software.

[0115] In some embodiments, the execution module 13 is further configured to, in response to receiving a second operation instruction for executing the first operation on the first session, mask or blur the first session and be configured to execute the second operation instruction, where the second operation instruction is generated by a shortcut key or third-party software.

[0116] In some embodiments, the execution module 13 is further configured to obtain a first control for executing the first operation in the first session and set the first control to a non-operable state.

[0117] In some embodiments, the apparatus further is configured to display first presentation information at a first preset position of the first session, and the first presentation information is used to indicate that the first operation for the first session cannot be executed. The first preset position is adjacent to the position of the first control in the first session.

[0118] In some embodiments, the apparatus is further configured to display the first message in a first list in response to receiving a third operation on the first message in the first session. The execution module 13 is further configured to obtain a second control for executing the first operation on the first message in the first list, and set the second control to a non-operable state.

[0119] In some embodiments, the apparatus further is configured to display a picture management window in response to receiving a trigger operation on a picture file in the first session. Performing the second operation to block the first operation on the first operation includes obtaining a third control for performing the first operation on the picture file in the picture management window, and setting the third control to a non-operable state.

[0120] In some embodiments, the apparatus further is configured to set the first session as a first type of session in response to a second setting operation on a member of the first type of the first session for the first session. In the first session, in response to receiving the first operation on the member of the first type for the first session, it is configured to respond to the first operation.

[0121] In some embodiments, before accepting the first operation for the first session, the apparatus further displays a first window above the first session, and in response to accepting the first operation for the first window, is configured to execute a second operation that blocks the first operation for the first session in response to the first operation for the first window.

[0122] In some embodiments, the first operation includes at least one of copy, transfer, download, screenshot, and screen recording.

[0123] For the sake of convenience of description, when describing the above apparatus, the functions are divided into various modules and described separately. Of course, when implementing the present disclosure, the functions of each module can be realized by the same or multiple software and / or hardware.

[0124] The apparatus of the above embodiments realizes the corresponding method in any of the above embodiments and has the beneficial effects of the embodiments of the corresponding method, which will not be elaborated here.

[0125] Based on the same inventive structure, corresponding to the method of any of the above embodiments, the present disclosure also provides an electronic device including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, the method described in any of the above embodiments is realized.

[0126] FIG. 5 is a schematic diagram showing a more specific hardware configuration of an electronic device provided by this embodiment. The device can include a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. Here, the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 realize communication connections inside the device with each other via the bus 1050.

[0127] The processor 1010 can be implemented in ways such as a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits. It is used to execute related programs, thereby implementing the technical solutions provided in the embodiments of this specification.

[0128] The memory 1020 can be implemented in forms such as ROM (Read Only Memory), RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 1020 can store an operating system and other application programs. When implementing the technical solutions provided by the embodiments of this specification by software or firmware, the related program code is stored in the memory 1020 and is called and executed by the processor 1010.

[0129] The input / output interface 1030 is used to connect to an input / output module to realize the input and output of information. The input / output module may be set as a component in a device (not shown) or externally attached to the device to provide corresponding functions. Here, the input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator lamp, etc.

[0130] The communication interface 1040 is used to connect to a communication module (not shown), thereby enabling communication and interaction between this device and other devices. Here, the communication module may implement communication by a wired method (such as USB, network cable, etc.) or by a wireless method (such as mobile network, WIFI, Bluetooth (registered trademark), etc.).

[0131] The bus 1050 includes a path for transmitting information between each component of the device (such as the processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040).

[0132] Note that the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040, and the bus 1050. However, in the specific implementation process, the device may also include other components necessary to achieve normal operation. Also, as can be understood by those skilled in the art, the above device may only include the components necessary to implement the solution of the embodiments in this specification, and it is not necessary to include all the components shown in the figure.

[0133] The electronic device of the above embodiment is used to implement the method corresponding to any of the above embodiments, and has the beneficial effects of the corresponding method embodiment, which will not be elaborated here any further.

[0134] As can be seen from the above, according to the method for processing session information and related devices provided in the present disclosure, when message protection for the message content in the first session is required, first, the first session is set as a first type of session. If the first session has already been set as a first type of session, and at this time, when a user executes a first operation for propagating the content of the first session outside the first session on the first session, a second operation for blocking the first operation may be executed. As a result, the user cannot successfully execute the first operation on the first session. Therefore, the message content in the first session is prevented from being propagated outside the first session, and protection for the message content in the first session is realized.

[0135] Based on the same inventive concept, corresponding to the method of any of the above embodiments, the present disclosure further provides a non-transitory computer-readable storage medium storing computer instructions, and the computer instructions are used to cause the computer to execute the method described in any one of the above embodiments.

[0136] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media capable of realizing information storage by any method or technology. The information may be computer-readable instructions, data structures, program modules or other data. Examples of computer storage media include phase-change random access memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD), other optical storage devices, magnetic cassette tapes, magnetic disk storage devices by magnetic tapes or other magnetic storage devices, or any other non-transmission media, but not limited to these, and these can be used to store information accessible by a computing device.

[0137] The computer instructions stored in the storage medium of the above embodiment are used to cause the computer to execute the method described in any one of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be elaborated here any further.

[0138] Based on the same inventive concept, the present disclosure also provides a computer program product including a computer program corresponding to any of the methods of the above embodiments. In some embodiments, the computer program is executable by one or more processors, thereby causing the processors to execute the methods described in the above embodiments.

[0139] The computer program product of the above embodiments is used to cause a processor to execute the method described in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be elaborated herein further.

[0140] As should be understood by those skilled in the art, the consideration of any of the above embodiments is merely illustrative, and does not imply that the scope of the present disclosure (including the scope of the claims) is limited to these examples. Based on the idea of the present disclosure, the technical features among the above embodiments or different embodiments can also be combined, the steps can be realized in any order, and there are many other changes in different aspects of the embodiments of the present disclosure as described above, and they are not provided in detail for the sake of brevity.

[0141] Furthermore, to simplify the description and discussion and not make it difficult to understand the embodiments of the present disclosure, the provided drawings may or may not show known power / ground connections to integrated circuit (IC) chips and other components. Also, to avoid making the embodiments of the present disclosure difficult to understand, the apparatus can be shown in block diagrams, taking into account the fact that the details regarding the embodiments of these block diagram apparatuses highly depend on the platform for implementing the embodiments of the present disclosure (i.e., these details should be completely within the understanding of those skilled in the art). When specific details (e.g., circuits) are described to illustrate exemplary embodiments of the present disclosure, as will be apparent to those skilled in the art, the embodiments of the present disclosure can be implemented in the absence of these specific details or when these specific details change. Therefore, these descriptions should be regarded as illustrative rather than limiting.

[0142] The present disclosure has been described in accordance with specific embodiments of the present disclosure. Based on the above description, many substitutions, modifications, and variations of these embodiments will be apparent to those skilled in the art. For example, other memory architectures (e.g., dynamic RAM (DRAM)) can be used with the embodiments under consideration.

[0143] Embodiments of the present disclosure are intended to cover all such substitutions, modifications, and variations that fall within the broad scope of the appended claims. Accordingly, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and scope of the principles of the embodiments of the present disclosure should all be included within the protection scope of the present disclosure.

Claims

1. A method for processing session information, comprising: receiving a first operation on a first session, the first operation being used to propagate the content in the first session outside the first session, and the first session being set as a first type of session; and performing a second operation to block the first operation in response to the first operation.

2. The method according to claim 1, further comprising setting the first session as a first type of session in response to receiving a first setting operation on a member of the first type of the first session.

3. The first setting operation includes: an operation that does not permit copying of messages; an operation that does not permit forwarding of messages; an operation that does not permit downloading of files; an operation that does not permit taking screenshots; an operation that does not permit screen recording, and includes one or more of them.

4. The method according to claim 2, further comprising sending a first system message visible to all members in the first session in response to receiving the first setting operation, where the first system message is for presenting that the first session is set as a first type of session.

5. The method according to claim 1, further comprising sending a second system message visible only to the new member in the first session in response to a new member joining the first session, where the second system message is for presenting that the first session is set as a first type of session.

6. Performing a second operation to block the first operation in response to the first operation includes: responding to the first operation in response to receiving the first operation on the first session; and generating a third system message based on the operation information of the first operation and the member information of the member performing the first operation, and sending the third system message to other members of the first session.

7. Performing a second operation to block the first operation in response to the first operation is: In response to receiving a first operation instruction for the first operation in the first session, including preventing the execution of the first operation instruction, The first operation instruction is generated by a shortcut key or third-party software, and the method according to claim 3.

8. Executing a second operation to prevent the first operation with respect to the first operation includes: In response to receiving a second operation instruction for executing the first operation with respect to the first session, masking or blurring the first session and executing the second operation instruction. The second operation instruction is generated by a shortcut key or third-party software, and the method according to claim 3.

9. Executing a second operation to prevent the first operation with respect to the first operation includes: Obtaining a first control for executing the first operation in the first session and setting the first control to a non-operable state, and the method according to claim 3.

10. Further including displaying first prompt information at a first preset position of the first session, and the first prompt information is used to prompt the non-executability of the first operation on the first session. The first preset position is adjacent to the position of the first control in the first session, and the method according to claim 9.

11. In response to receiving a third operation for a first message in the first session, further including displaying the first message in a first list. Executing a second operation to prevent the first operation with respect to the first operation includes obtaining a second control for executing the first operation on the first message in the first list and setting the second control to a non-operable state, and the method according to claim 3.

12. In response to receiving a trigger operation for a picture file in the first session, further including displaying a picture management window. Executing a second operation to prevent the first operation with respect to the first operation includes obtaining a third control for executing the first operation on the picture file in the picture management window and setting the third control to a non-operable state, and the method according to claim 3.

13. In response to a second setting operation of a first type of member of the first session with respect to the first session, setting the first session as a first type of session; The method according to claim 1, further comprising, in the first session, in response to receiving the first operation of the first type of member with respect to the first session, responding to the first operation.

14. Before receiving a first operation on a first session, displaying a first window above the first session; The method according to claim 1, further comprising, in response to receiving the first operation on the first window, responding to the first operation on the first window and performing a second operation that blocks the first operation on the first session.

15. The method according to claim 1, wherein the first operation includes at least one of copy, transfer, download, screenshot, and screen recording.

16. A processing device for session information, a receiving module configured to receive a first operation on a first session, wherein the first operation is used to propagate the content in the first session outside the first session, and the first session is set as a first type of session; An apparatus comprising an execution module configured to perform a second operation that blocks the first operation with respect to the first operation.

17. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 15 is realized.

18. A non-transitory computer-readable storage medium storing computer instructions, wherein the computer instructions are used to cause a computer to execute the method according to any one of claims 1 to 15.

19. A computer program product including computer program instructions, wherein when the computer program instructions are executed on a computer, the computer is caused to execute the method according to any one of claims 1 to 15.

Citation Information

Patent Citations

  • Instant communication method, client and electronic device

    CN106713105A

  • Session control system and session control method

    JP2008225847A

  • Information processing system, information processing apparatus, information processing method, and program

    JP2021040273A

  • Method and system for managing chat room operations using automatic response bot

    JP2022048102A