Content sharing operation processing method and device and electronic equipment

By enforcing sharing permissions and using custom clipboards and encryption, the method and device control content sharing within authorized domains, addressing the risk of information leakage in office applications and enhancing data security.

CN119089503APending Publication Date: 2024-12-06BEIJING ZITIAO NETWORK TECH CO LTD
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411237877.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-04
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

Existing content sharing operations in office applications pose a risk of information leakage, as users can easily share sensitive information outside the intended scope, compromising data security within user groups.

Method used

Implementing a method and device that determine and enforce sharing operation permissions based on user authority and operation scope, using custom clipboards and encryption to control content sharing within authorized domains, thereby preventing unauthorized sharing.

Benefits of technology

This approach effectively prevents the unauthorized sharing of content outside permitted scopes, enhancing information security by restricting sharing operations to authorized applications and encrypting data transfer, thus safeguarding user group information.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119089503A_ABST
    Figure CN119089503A_ABST
Patent Text Reader

Abstract

Embodiments of the invention provide a content sharing operation processing method and apparatus, and an electronic device. The method comprises the steps of receiving a sharing operation of a first user on a target content in a first application; determining a sharing operation authority of the first user; and determining an execution result of the sharing operation based on the sharing operation authority and the target action range of the sharing operation. By setting the content sharing permission in the application for the user, when the user executes the sharing operation on the content in the application, the execution result of the sharing operation is determined according to the content sharing permission in the application of the user and the action range of the sharing operation; the content in the application can be prohibited from being shared outside the action domain indicated by the content sharing permission, information leakage of a user group in the application can be avoided, and information safety can be improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present disclosure relate to the field of computer and Internet technology, and more particularly to a method, device and electronic device for processing content sharing operations. Background Art

[0002] Users in the user group can use office applications to work, for example, they can use office applications to edit documents, hold online meetings and generate meeting records to exchange information with other users, etc.

[0003] The documents generated by the above document editing, meeting minutes and information interaction content with other users may belong to the internal content of the user group.

[0004] In some application scenarios, users have the need to share content, for example, to send content in office applications to other collaborators. Therefore, how to improve data security while meeting users' sharing needs is an urgent problem to be solved. Summary of the invention

[0005] The embodiments of the present disclosure provide a method, device and electronic device for processing a content sharing operation.

[0006] In a first aspect, an embodiment of the present disclosure provides a method for processing a content sharing operation, comprising: receiving a sharing operation of a first user on a target content in a first application; determining the sharing operation authority of the first user; and determining an execution result of the sharing operation based on the sharing operation authority and a target scope of the sharing operation.

[0007] In a second aspect, an embodiment of the present disclosure provides a processing device for content sharing operations, including: a receiving unit, used to receive a sharing operation of a first user on a target content in a first application; a first determination unit, used to determine the sharing operation authority of the first user; and a second determination unit, used to determine the execution result of the sharing operation based on the sharing operation authority and the target scope of the sharing operation.

[0008] In a third aspect, an embodiment of the present disclosure provides an electronic device, including: a processor and a memory;

[0009] The memory stores computer-executable instructions;

[0010] The processor executes the computer-executable instructions stored in the memory, so that the at least one processor executes the method described in the first aspect and various possible designs of the first aspect.

[0011] In a fourth aspect, an embodiment of the present disclosure provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer execution instructions. When a processor executes the computer execution instructions, the method described in the first aspect and various possible designs of the first aspect are implemented.

[0012] In a fifth aspect, an embodiment of the present disclosure provides a computer program product, including a computer program, which, when executed by a processor, implements the method described in the first aspect and various possible designs of the first aspect.

[0013] The content sharing operation processing method, device and electronic device provided in this embodiment set sharing operation permissions for users on content in an application. When the user performs a sharing operation on content in an application, the execution result of the sharing operation is determined according to the user's sharing operation permissions and the target scope of the sharing operation. This can prevent the content in the application from being shared outside the scope matched by the content sharing permissions, avoid information leakage, and improve information security. BRIEF DESCRIPTION OF THE DRAWINGS

[0014] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative labor.

[0015] Figure 1 A flowchart of a method for processing content sharing operations provided in an embodiment of the present disclosure Figure 1 ;

[0016] Figure 2 A flowchart of a method for processing content sharing operations provided in an embodiment of the present disclosure Figure 2 ;

[0017] Figure 3 This is a schematic diagram of an application scenario;

[0018] Figure 4 This is a schematic diagram of an application scenario;

[0019] Figure 5 A flowchart of a method for processing content sharing operations provided in an embodiment of the present disclosure Figure 3 ;

[0020] Figure 6 This is a schematic diagram of an application scenario;

[0021] Figure 7 A schematic structural diagram of a content sharing operation processing device provided in an embodiment of the present disclosure;

[0022] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present disclosure. DETAILED DESCRIPTION

[0023] In order to make the purpose, technical solution and advantages of the embodiments of the present disclosure clearer, the technical solution in the embodiments of the present disclosure will be clearly and completely described below in conjunction with the drawings in the embodiments of the present disclosure. Obviously, the described embodiments are part of the embodiments of the present disclosure, not all of the embodiments. Based on the embodiments in the present disclosure, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present disclosure.

[0024] It is understandable that before using the technical solutions disclosed in the embodiments of the present disclosure, the types, scope of use, usage scenarios, etc. of the personal information involved in the present disclosure should be informed to the user and the user's authorization should be obtained in an appropriate manner in accordance with relevant laws and regulations.

[0025] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly prompt the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can autonomously choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0026] As an optional but non-limiting implementation, in response to receiving an active request from the user, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0027] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet the relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0028] It is understandable that the data involved in this technical solution (including but not limited to the data itself, the acquisition or use of the data) shall comply with the requirements of relevant laws, regulations and relevant provisions.

[0029] Users in a user group can use preset office applications to perform office work, such as writing documents, initiating video conferences, generating meeting minutes, exchanging information with other users, and browsing the user group's knowledge base. Documents generated using office applications, video conferences and meeting minutes, interactive content for information exchange with other users, and knowledge bases are information assets of the user group.

[0030] In some application scenarios, users share information assets of a user group through content sharing operations in the above-mentioned office applications, such as sharing them to other applications, which may easily cause leakage of user group information and thus cause information security issues.

[0031] The solution provided by the embodiment of the present disclosure sets sharing operation permissions for users in the first application. When the first user shares content in the first application, the sharing operation is restricted according to the user's sharing operation permissions and the scope of the sharing operation, thereby avoiding leakage of user group information and protecting the security of user group information.

[0032] refer to Figure 1 , Figure 1 A flowchart of a method for processing content sharing operations provided in an embodiment of the present disclosure Figure 1 The method of this embodiment can be applied in a terminal device, and the content sharing operation processing method includes:

[0033] S101: Receive a sharing operation of a first user on target content in a first application.

[0034] The execution subject (eg, user terminal device) of the content sharing operation processing method receives a sharing operation of a first user on target content in a first application. The first user here may be any user who logs into the first application.

[0035] The first user may be a member of a user group, and the first application may be an application for information exchange within the user group. The first application also provides various office functions, such as conducting multimedia conferences, editing documents, browsing knowledge base content, and the like.

[0036] The target content may be any content displayed in the first application, and the target content may include document content, conversation message content, images, videos, etc.

[0037] The above-mentioned sharing operations include but are not limited to: copy and paste operations, screenshot operations, and screen recording operations.

[0038] S102: Determine the sharing operation authority of the first user.

[0039] The sharing operation permission here represents the sharing permission of the first user. The sharing operation permission of the first user can be set by the server or by a preset user of the user group. The above-mentioned sharing operation permission includes whether the first user can share the content in the first application and in what scope the content can be shared.

[0040] Illustratively, the sharing operation authority of the first user is: content sharing in the first application, or content sharing in all applications, or no authority to share content.

[0041] S103: Determine the execution result of the sharing operation based on the sharing operation permission and the target scope of the sharing operation.

[0042] The target scope here can be the scope indicated by the sharing operation or the default scope of the sharing operation.

[0043] Illustratively, if the sharing operation is a copy and paste operation, the application receiving the paste operation can be regarded as the target scope of the copy and paste operation; for a screenshot operation, the default scope of the screenshot operation is multiple applications.

[0044] The execution result of the above-mentioned sharing operation includes a first execution result and a second execution result; wherein the first execution result indicates that the target content is shared in the target scope; and the second execution result indicates that the target content is protected. The second execution result includes one of the following: the sharing cannot be completed, the encrypted target content is shared, the covered content is shared, and the reset target content is shared.

[0045] The above step S103 may include:

[0046] If the sharing operation permission matches the target scope, the execution result of the sharing operation is determined to be the first execution result; if the sharing operation permission does not match the target scope, the execution result of the sharing operation is determined to be the second execution result.

[0047] The sharing operation permission of the above-mentioned first user matches the target scope of the sharing operation, including: the shareable domain indicated by the above-mentioned sharing operation permission includes the target scope, then the sharing operation permission matches the target scope; or the sharing operation permission indicates sharing within the first application, and the target scope is the first application, then the sharing permission of the first user matches the target scope of the sharing operation.

[0048] If the shareable domain indicated by the sharing operation permission does not include the target scope, the sharing operation permission does not match the target scope; or if the sharing operation permission indicates that content sharing is prohibited, the target scope of the sharing operation is any scope, and the sharing operation permission does not match the target scope of the sharing operation.

[0049] When the sharing operation permission of the first user matches the target scope of the sharing operation performed by the first user, the execution result of the sharing operation is determined to be the first execution result. For example, if the sharing operation permission of the first user indicates to share content in the first application, and the target scope is the first application, the execution result is the first execution result.

[0050] For another example, if the first user's sharing operation permission is all applications and the target scope is the second application, the determined execution result is to share the target content to the second application.

[0051] When the sharing operation permission of the first user does not match the target scope of the sharing operation performed by the first user, the execution result of the sharing operation is determined to be the second execution result.

[0052] When the sharing operation permission does not match the target scope, the above execution result is determined to be the second execution result.

[0053] For example, the sharing permission of the first user is the first application, and the target scope of the sharing operation is the second application, then the determined execution result is the second execution result of protecting the target content.

[0054] In this embodiment, by setting content sharing operation permissions in the application for the user, when the user performs a sharing operation on the content in the application, the execution result of the sharing operation is determined based on the content sharing operation permissions in the user's application and the scope of the sharing operation. This can prevent the content in the application from being shared outside the scope indicated by the content sharing operation permissions, avoid leakage of user group information in the application, and improve information security.

[0055] In some application scenarios, the above step S102 includes the following sub-steps:

[0056] First, the sharing permission configuration information of the first user is obtained, wherein the sharing permission configuration information is set by the server of the first application or a preset user.

[0057] Secondly, the sharing operation authority of the first user is determined according to the sharing authority configuration information.

[0058] In some application scenarios, the sharing permission configuration information of the first user is configured by the server of the first application. For example, the sharing permission configuration information of the first user can be obtained by the above-mentioned server performing default sharing permission configuration on the first user. Indicatively, the default sharing permission configuration here can include configuring the sharing domain corresponding to the sharing operation to the entire domain, or prohibiting sharing in the entire domain, or sharing only within the first application.

[0059] In some application scenarios, the sharing permission configuration information of the first user is configured by a preset user.

[0060] The sharing authority configuration information of the first user is obtained by configuring the sharing authority of multiple user group members by a preset user in the first application client used by the preset user.

[0061] In these application scenarios, the preset user can configure sharing permissions for multiple users including the first user. Further, the preset user can be a user with preset permissions in the user group to which the first user belongs, such as an administrator. The first user belongs to multiple user group members of the user group. The sharing permission configuration information configured by the preset user can include whether to control content sharing, and for example, it can include configuring the sharing domain corresponding to the content sharing operation to the entire domain, with only the first application; for example, it can include or prohibit sharing in the entire domain, etc.

[0062] When a preset user configures sharing permissions for multiple user group members, the preset user's terminal may send the sharing permission configuration information of multiple users to the server for storage, and the server sends the sharing permission configuration information of each user to the first application client of each user group member.

[0063] The sharing permission configuration information of the first user may be obtained from the server, and then the sharing permission of the first user may be determined according to the sharing permission configuration information.

[0064] Provide permission management function for preset users in the user group. Administrators can configure sharing permissions in detail according to the user group structure. After configuring the user's sharing permissions, user group members can be restricted from sharing information in the first application to other applications outside the first application. When the first user's sharing operation permission indicates sharing content in the first application, user group members can copy the content of the first application, but sharing is only allowed within the first application. For example, copy and paste the content of a document in the first application into another document in the first application, or paste it into a conversation with other user group members in the first application. However, it cannot be copied and pasted into other applications outside the first application.

[0065] In the first application client of the preset user, a user group member sharing operation permission configuration interface can be displayed, and the sharing operation permission configuration interface can include sharing operation permission configuration items corresponding to different clients. The different clients include mobile terminals, desktop terminals and web clients.

[0066] The sharing operation permission configuration items may include a sharing operation restriction on control and a sharing operation restriction off control corresponding to different clients. You may also select or enter the ID of a user group member on the configuration details page. After selecting or entering the ID of one or more user group members, you may trigger the sharing operation restriction on control to start the sharing operation permission configuration for one or more user group members. You may also trigger the off control to release the sharing operation permission configuration for one or more user group members.

[0067] By having a preset user set sharing permission configuration information for user group members, the preset user can refine the sharing permission configuration of the user group to individual user group members, and the sharing permissions of each user group member can be configured differently on the basis of preventing information leakage.

[0068] In these embodiments, the user's sharing permission configuration information is set by the server or by a preset user, so that the user's sharing permission configuration information can be set through different ways, which can better avoid information security issues.

[0069] Please refer to Figure 2 , Figure 2 A flowchart of a content sharing operation processing method provided in an embodiment of the present disclosure Figure 2 The method of this embodiment can be applied in a terminal device. The content sharing operation processing method includes the following steps:

[0070] S201: Receive a sharing operation of a first user on target content in a first application, where the sharing operation is a copy and paste operation.

[0071] S202: Determine the sharing operation authority of the first user.

[0072] The specific implementation of the above steps S201 to S202 can refer to Figure 1 The relevant parts of the illustrated embodiment are not described in detail here.

[0073] S203: If the sharing operation is a copy and paste operation, and the first user's sharing operation permission indicates that the first user is only allowed to copy and paste the target content within the first application, it is determined whether the target scope of the copy and paste operation indication is the first application.

[0074] The copy and paste operation may include a copy operation and a paste operation, and the copy operation in the present disclosure may include a cut operation. The copy operation usually selects at least part of the source data for copying or cutting, then opens the shared object, and pastes at least part of the copied or cut data source into the shared object.

[0075] The sharing object here is any object that can receive input content, such as a session, document, calendar, etc.

[0076] The target scope of the copy and paste operation can be determined based on the shared object opened by the first user. Taking the shared object as a conversation with a contact as an example, the application identifier in the conversation can be obtained, and the shared object can be determined based on the application identifier in the conversation whether it belongs to the conversation of the first application or to another application. If the conversation belongs to the first application, the target scope of the sharing operation is the first application; if the conversation belongs to a second application other than the first application, the target scope of the sharing operation is the second application.

[0077] Taking the sharing object as the first document as an example, the file format, extension, content and source of the first document can be obtained, and whether the first document is a document in the first application can be determined based on the file format, extension, content and source of the first document. If the first document is a document belonging to the first application, the target scope of the sharing operation is the first application. If the first document is a document belonging to a third application other than the first application, the target scope of the sharing operation is the third application.

[0078] S204: If the target scope is the first application, determine that the execution result of the copy-paste operation is a first execution result indicating pasting of the target content.

[0079] That is, if the first user has the permission to copy and paste the content in the first application, the first user is allowed to copy and paste the content in the first application, that is, the first user is allowed to transfer the content in the first application of the user group in the first application.

[0080] S205: Sharing the target content to the sharing object in the first application according to the sharing operation instruction.

[0081] When it is determined in step S204 that the execution result is to paste the target content in the first application, the target content may be pasted to the sharing object.

[0082] In some implementations, the above step S205 includes the following sub-steps:

[0083] First, according to the copy operation in the copy and paste operation, the target content is written into a custom clipboard corresponding to the first user in the first application; wherein the first custom clipboard in the first application is isolated from other applications.

[0084] Secondly, according to the paste operation in the copy and paste operation, the target content in the first custom clipboard is pasted to the designated position of the sharing object.

[0085] In these implementations, when the first user logs in to the first application using the terminal device, a custom clipboard corresponding to the first user in the first application can be created in the terminal device. The custom clipboard in the first application is isolated from other applications and the system clipboard.

[0086] When the first user initiates a copy operation on the target content in the first application, the target content can be written to the custom clipboard. Since the custom clipboard is isolated from other applications and the system clipboard, neither other applications nor the system (the system here refers to the operating system) can obtain content from the custom clipboard, which can prevent other applications or the system from obtaining the copied content from the custom clipboard.

[0087] When the copy and paste operation permission of the first user matches the target scope, according to the sharing operation of the first user, the custom clipboard can be accessed, and the content in the clipboard can be pasted to the specified location in the sharing object indicated by the sharing operation. The above-mentioned sharing object includes documents, sessions, etc. in the first application, and the above-mentioned specified location can be a default location or a location indicated by the sharing operation. The above-mentioned specified location can include, for example, an information input box of a session. For another example, the above-mentioned specified location can include the end of the document indicated by the sharing operation.

[0088] In the above implementation, the first application can be run in the mobile terminal. In some application scenarios, the above copy and paste operation can be implemented through an application programming interface (Application Programming Interface, API). In these application scenarios, when calling the application programming interface, the API interface can be redirected to an interface corresponding to a custom copy and paste function. The custom copy and paste operation implementation logic can be set in the custom copy and paste function.

[0089] In some application scenarios, the above copy-paste operation can trigger the copy-paste control to call the copy-paste method. In these application scenarios, when calling the copy-paste method, the copy-paste method provided by the called operating system can be replaced with a custom copy-paste method. The custom copy-paste operation implementation logic can be set in the custom copy-paste method.

[0090] The above-mentioned custom copy and paste operation implementation logic may include: if the copy and paste operation permission control corresponding to the first user is in the enabled state, the copied content is written to the custom clipboard and the system clipboard is cleared; when pasting, if the system clipboard is empty, the content in the custom clipboard is pasted. If the paste permission control is not enabled, the copied content is written to the system clipboard and the custom clipboard is cleared. When pasting, the content in the system clipboard is pasted.

[0091] In some application scenarios, the first application runs in a mobile terminal, and the above copy and paste operation calls the system's ClipboardManager interface for managing and operating the clipboard. In these application scenarios, first, create a custom ClipboardManager class that inherits from the ClipboardManager of the operating system, and write the custom copy and paste implementation logic in the custom ClipboardManager class. Use reflection and dynamic proxy to replace the system ClipboardManager instance with the custom ClipboardManager class. The custom copy and paste logic written in the above custom ClipboardManager class includes: if the paste permission control is enabled for the first user, write the content copied in the first application to the custom clipboard and clear the system clipboard; when pasting, obtain the content of the system clipboard and the content of the custom clipboard. If the system clipboard is empty and the custom clipboard is not empty, paste the content in the custom clipboard. If the system clipboard is not empty, paste the content in the system clipboard. If the paste permission control is not enabled, write the content copied in the first application to the system clipboard and clear the custom clipboard. When pasting, paste the content in the system clipboard.

[0092] In some implementations, the above step S205 includes the following sub-steps: first, according to the copy operation in the copy-paste operation, writing the target content into the custom clipboard proxy corresponding to the first user;

[0093] Second, encrypt the target content written to the custom clipboard proxy;

[0094] Third, send the encrypted target content to the system clipboard;

[0095] Fourth, in response to receiving a paste operation of the first user in the first application, decrypting the encrypted target content;

[0096] Fifth, paste the decrypted target content to the specified location of the sharing object.

[0097] In these embodiments, the first user logs in to the first application using a fixed terminal such as a computer or a web client. A clipboard proxy may be set between the first application and the system clipboard. A custom copy and paste logic may be set in the clipboard proxy. The custom copy and paste logic includes: intercepting the target content copied by the first user in the first application, writing the target content into the clipboard proxy; encrypting the target content written into the custom clipboard proxy; sending the encrypted target content to the system clipboard; if a paste operation of the first user in the first application is received, sending a decryption key to the system clipboard so that the system clipboard decrypts the encrypted target content.

[0098] When the first user pastes in the first application or in other applications other than the first application, the first user may call the content in the system clipboard to paste.

[0099] According to the above implementation logic, when the first user pastes the target content to the sharing object in the first application, the system clipboard decrypts the encrypted target content according to the key and pastes the decrypted target content to the specified position of the sharing object.

[0100] If the first user pastes the target content to a sharing object in the second application, the system clipboard pastes the encrypted target content to a designated position of the sharing object.

[0101] In these implementations, the target content is encrypted by setting the copy and paste logic in the custom clipboard agent. If the target content is shared in the first application, the encrypted target content is decrypted and then shared; if the target content is shared to other applications outside the first application, the encrypted target content is shared, thereby achieving flow control of the content of the first application and improving information security.

[0102] In some implementations, after the above step S203, the method further includes the following steps:

[0103] If the target scope is the second application, it is determined that the execution result of the copy-paste operation is a second execution result indicating that the sharing cannot be completed.

[0104] If the target scope is the second application, after the first user performs a copy operation on the target content in the first application, and then performs a paste operation in the second application, the first user's copy and paste operation permissions do not match the target scope. In the case of a mismatch, according to the paste operation performed in the second application, the system clipboard is called, and since the target content does not exist in the system clipboard, the target content cannot be pasted into the second application. This prevents the information in the first application from being transferred to the second application, which helps improve information security within the user group.

[0105] In some embodiments, the method further includes: in response to receiving the copy operation, displaying first prompt information, the first prompt information being used to prompt that pasting outside the first application is not supported.

[0106] The first prompt information may indicate that copying and pasting the content in the first application to outside the first application is not supported. The first prompt information may be displayed when the user performs a copy operation on the target content, and may also be displayed when the target content is pasted to the second application. Through the first prompt information, the first user may be prompted that the paste permission has been restricted, thereby preventing the first user from performing an operation that cannot be performed, and improving the efficiency of user operation execution.

[0107] Please refer to Figure 3 and Figure 4 , Figure 3 is a schematic diagram of an application scenario. Figure 3 As shown, after user U1 (belonging to user group A) logs in to the first application (application A) on the mobile terminal he uses, he opens the online document W1 and displays the document display interface 31. User U1 can select a text content "This is a document" in W1 to copy. After receiving the copy operation, the above text content is cut or copied to the clipboard. User U1 can have a conversation interface 32 with user U2, a member of user group A, in application A, and an input box 33 can be displayed in the conversation interface 32. User U1 can perform a trigger operation in the above input box to call up the paste option. User U1 performs a selection operation on the paste option and can paste the content "This is a document" in the clipboard into the input box 33.

[0108] A first prompt message may be displayed. The first prompt message indicates that paste protection has been enabled, and the copied content can only be pasted into the first application, and cannot be pasted outside the first application.

[0109] Please refer to Figure 4 , Figure 4 A schematic diagram of an application scenario is shown in FIG. Figure 4 As shown, after user U1 (belonging to user group A) logs in to the first application (application A) on the mobile terminal used by him, he opens the online document W1 and displays the document display interface 31. User U1 can select a text content "This is a document" in W1 to copy. After receiving the copy operation, the above text content is cut or copied to the clipboard. User U1 can exit application A and enter application B, and open a conversation interface 41 with contact user 3 in application B. An input box 42 is displayed in the above conversation interface 41. In the above conversation interface, the paste option cannot be called to paste the content in the clipboard into the above input box 42.

[0110] In some application scenarios, the first prompt information may be displayed when the user copies the text content "This is a document". In some application scenarios, the first prompt information may be displayed when the user performs a paste operation on a shared object.

[0111] In some embodiments, if the first user copies the target content and then exits the first application in the target terminal, and logs in to the first application in the target terminal using the identity of the second user, and creates a custom clipboard corresponding to the second user in the first application, the second user does not have access to the first user's custom clipboard.

[0112] In these implementations, corresponding custom clipboards are created for different user identities that log in using the same terminal device. The custom clipboards corresponding to different user identities are isolated from each other, which can prevent data from being copied and pasted between different users, and can further improve information security.

[0113] In this embodiment, for the copy and paste operation of the content of the first application, if the copy and paste operation permission of the user matches the scope of the copy and paste operation, the content is pasted, otherwise the content cannot be pasted. The copy and paste operation of the content of the first application is restricted, which prevents the leakage of the content in the first application to a certain extent, and helps to improve information security.

[0114] Please refer to Figure 5 , Figure 5 A flowchart of a content sharing operation processing method provided in an embodiment of the present disclosure Figure 3 The method of this embodiment can be applied in a terminal device. The content sharing operation processing method includes the following steps:

[0115] S501: Receive a sharing operation of a first user on target content in a first application, where the sharing operation is a screenshot operation.

[0116] S502: Determine the sharing operation authority of the first user.

[0117] The specific implementation of the above steps S501 to S502 can refer to Figure 1 The relevant parts of the illustrated embodiment are not described in detail here.

[0118] S503: If the screenshot operation permission indicates that screenshots of target content are only allowed in the first application, determine whether the target scope of the screenshot operation instruction is the first application.

[0119] S504: If the target scope is the first application, determine that the execution result of the screenshot operation is a first execution result indicating that a screenshot of the target content is taken.

[0120] The above-mentioned screenshot operation may include a screenshot operation and a screen recording operation. The screenshot operation may capture an image of the displayed content in the first application. The screen recording operation may record the displayed content in the first application to obtain a screen recording video, and the screen recording video may include one or more frames of images. The above-mentioned one or more frames of images include the target content of the first application.

[0121] If the preset user sets the permission for the first user to only take screenshots in the first application, the first user has the permission to take screenshots of the displayed content of the first application, but the first user is only allowed to store and circulate the images or videos obtained from the screenshots in the first application.

[0122] If the preset user does not restrict the first user's screenshot permission, the first user can take a screenshot or record the content displayed in the first application, and can also forward the screenshot image and the recorded video.

[0123] S505: Storing the captured screen to obtain an image or video; or, sharing the image or video with the shared user in the first application according to the sharing operation instruction.

[0124] After taking screenshots and recording the displayed content in the first application in step 504, the screenshot image or the recorded video can be stored, for example, locally. The screenshot image or the recorded video can also be forwarded to the shared user. The shared user here can be the user who uses the first application.

[0125] S506: If the first user's screenshot operation permission indicates that screenshot of the target content is not allowed in the first application, and the target scope includes the first application or all applications, determining that the execution result of the screenshot operation is a second execution result, and the second execution result indicates that the target content is protected.

[0126] That is, when the first user's screenshot operation permission does not allow screenshots of the target content in the first application, no matter the scope of the sharing operation is in the first application or in all applications, the execution result of the screenshot operation is determined to be the second execution result.

[0127] S507: Block the target content and / or display a second prompt message; the second prompt message is used to prompt that screen capture is not allowed.

[0128] In some application scenarios, for a screenshot operation, the obstructed content may be displayed on top of the displayed content of the first application, and the screenshot operation captures the obstructed content.

[0129] In some application scenarios, when a screenshot operation is received, a second prompt message may be displayed to prompt that the screenshot is not allowed.

[0130] In some application scenarios, for a screen recording operation, the obstructed content may be displayed on top of the displayed content of the first application, and the video content recorded during the screen recording is the obstructed content.

[0131] Please refer to Figure 6 , Figure 6 is a schematic diagram of an application scenario. Figure 6 As shown, after user U1 (belonging to user group A) logs in to the first application (application A) on the mobile terminal used by him, he opens the online document W1 and displays the document display interface 61. User U1 can trigger the display of the function list 62 through the function list display operation in the document display interface. The function list 62 can display a screen recording option 621 and a screenshot option 622. The user can select the screenshot option 622 to take a screenshot of the document display interface 61. After the first application receives the above-mentioned screenshot operation, it can display the blocked content 63 on the document display interface 61. Thus, the blocked content 63 is obtained after the screenshot operation. The same is true for screen recording. In practice, the screenshot and screen recording events can be perceived by detecting system notifications, and the blocked content and / or the second prompt information can be displayed on the plane.

[0132] In some application scenarios, the screenshot and screen recording protection function can be configured in advance for the first application. For example, a security flag is set for each window of the first application page. When receiving a screenshot or screen recording operation from the first user, since each window of the first application page has a security flag set, the blocked content can be displayed in the window corresponding to the screenshot or screen recording according to the screenshot and screen recording protection function.

[0133] In this embodiment, for the screenshot operation, if the user's screenshot operation permission only allows screenshots of the target content in the first application, and the target scope of the user's screenshot operation is the first application, the screenshot operation of the target content is completed to share the target content. If the user's screenshot operation permission indicates that screenshots of the target content are not allowed in the first application, the display content of the first application is blocked, which can limit the user group members from leaking the content in the first application outside the first application after screenshots, which can prevent information leakage and improve information security.

[0134] Corresponding to the above Figure 1 to Figure 3 The content sharing operation processing method of the embodiment, Figure 7 A schematic structural block diagram of a processing device for content sharing operation provided by an embodiment of the present disclosure. For ease of explanation, only the parts related to the embodiment of the present disclosure are shown. Figure 7 The device 70 includes: a receiving unit 701, a first determining unit 702 and a third determining unit 703.

[0135] The receiving unit 701 is configured to receive a sharing operation of a first user on target content in a first application;

[0136] A first determining unit 702, configured to determine the sharing operation authority of the first user;

[0137] The second determining unit 703 is used to determine the execution result of the sharing operation based on the sharing operation permission and the target scope of the sharing operation.

[0138] In some embodiments, the first determining unit 702 is further configured to:

[0139] Acquire sharing permission configuration information of the first user, wherein the sharing permission configuration information is set by a server of the first application or a preset user;

[0140] The sharing operation authority of the first user is determined according to the sharing authority configuration information.

[0141] In some embodiments, the sharing permission configuration information is obtained by a preset user setting permissions for multiple user group members on a first application client used by the user;

[0142] The preset user is a user with preset permissions in the user group, and the first user belongs to multiple user group members.

[0143] In some embodiments, the second determining unit 703 is further used to: if the sharing operation permission matches the target scope, determine that the execution result of the sharing operation is a first execution result, and the first execution result indicates that the sharing operation is performed on the target content;

[0144] If the sharing operation permission does not match the target scope, the execution result of the sharing operation is determined to be a second execution result, and the second execution result indicates that the target content is protected. The second execution result includes at least one of the following: inability to complete sharing, sharing encrypted target content, sharing covered content, and sharing reset target content.

[0145] In some embodiments, the sharing operation is a copy and paste operation, and the sharing operation permission of the first user indicates that only the first user is allowed to copy and paste the target content in the first application; the device 70 further includes a first sharing unit (not shown in the figure), wherein the second determining unit 703 is further used to:

[0146] Determine whether the target scope of the copy and paste operation instruction is the first application;

[0147] If the target scope is the first application, determining that the execution result of the copy-paste operation is a first execution result indicating pasting the target content;

[0148] The first sharing unit is used to share the target content with the sharing object according to the sharing object in the first application indicated by the sharing operation.

[0149] In some embodiments, the first sharing unit is further used to: write the target content into a custom clipboard corresponding to the first user in the first application according to the copy operation in the copy and paste operation; wherein the custom clipboard in the first application is isolated from other applications;

[0150] According to the paste operation in the copy and paste operation, the target content in the first custom clipboard is pasted to the specified position of the sharing object.

[0151] In some embodiments, the second determining unit 703 is further configured to:

[0152] If the target scope is the second application, it is determined that the execution result of the copy-paste operation is a second execution result indicating that the sharing cannot be completed.

[0153] In some embodiments, the first sharing unit is further used to: write the target content into a custom clipboard proxy corresponding to the first user according to the copy operation in the copy and paste operation; encrypt the target content written into the custom clipboard proxy;

[0154] sending the encrypted target content to the system clipboard; in response to receiving a paste operation of the first user in the first application, decrypting the encrypted target content;

[0155] Paste the decrypted target content to the specified location of the sharing object.

[0156] In some embodiments, the device 70 further includes a first display unit (not shown in the figure), and the first display unit is used to:

[0157] In response to receiving the copy operation, a first prompt message is displayed, where the first prompt message is used to prompt that copying and pasting outside the first application is not supported.

[0158] In some embodiments, the device 70 also includes a creation unit (not shown in the figure), which is used to: if the first user copies the target content and then exits the first application in the target terminal, and logs in to the first application using the identity of the second user, a custom clipboard corresponding to the second user in the first application is created, and the second user does not have access to the first user's custom clipboard.

[0159] In some embodiments, the sharing operation is a screen capture operation, the device further includes a sharing unit, and the second determining unit 703 is further configured to:

[0160] If the screenshot operation permission indicates that screenshots of the target content are only allowed in the first application, determining whether the target scope of the screenshot operation instruction is the first application;

[0161] If the target scope is the first application, determining that the execution result of the screen capture operation is a first execution result indicating that a screen capture of the target content is performed;

[0162] The sharing unit is used to: store the captured screen to obtain the image or video; or share the image or video with the shared user in the first application according to the sharing operation instruction.

[0163] In some embodiments, the device 70 further includes a second display unit (not shown in the figure); the second determination unit 703 is further configured to:

[0164] If the screenshot operation permission indicates that screenshot of the target content is not allowed in the first application, and the target scope includes the first application or all applications, determining that the execution result of the screenshot operation is a second execution result, and the second execution result indicates that the target content is protected;

[0165] The second display unit is used to block the target content and / or display a second prompt message; the second prompt message is used to prompt that screen capture is not allowed.

[0166] In order to implement the above embodiment, the embodiment of the present disclosure also provides an electronic device.

[0167] refer to Figure 8 , which shows a schematic diagram of the structure of an electronic device 600 suitable for implementing the embodiment of the present disclosure, and the electronic device 800 may be a terminal device or a server. The terminal device may include but is not limited to mobile terminals such as mobile phones, notebook computers, digital broadcast receivers, personal digital assistants (PDAs), tablet computers, portable multimedia players (PMPs), vehicle terminals (such as vehicle navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 8 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.

[0168] like Figure 8As shown, the electronic device 800 may include a processing device (e.g., a central processing unit, a graphics processing unit, etc.) 801, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 802 or a program loaded from a storage device 808 to a random access memory (RAM) 803. Various programs and data required for the operation of the electronic device 800 are also stored in the RAM 803. The processing device 801, the ROM 802, and the RAM 803 are connected to each other via a bus 804. An input / output (I / O) interface 805 is also connected to the bus 804.

[0169] Typically, the following devices may be connected to the I / O interface 805: input devices 806 including, for example, a touch screen, a touch pad, a keyboard, a mouse, a camera, a microphone, an accelerometer, a gyroscope, etc.; output devices 807 including, for example, a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices 808 including, for example, a magnetic tape, a hard disk, etc.; and communication devices 809. The communication device 809 may allow the electronic device 800 to communicate with other devices wirelessly or by wire to exchange data. Although Figure 8 The electronic device 800 is shown with various devices, but it should be understood that it is not required to implement or possess all the devices shown. More or fewer devices may be implemented or possessed instead.

[0170] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network through a communication device 809, or installed from a storage device 808, or installed from a ROM 802. When the computer program is executed by the processing device 801, the above-mentioned functions defined in the method of the embodiment of the present disclosure are executed.

[0171] It should be noted that the computer-readable medium disclosed above may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, but not limited to, an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, device or device. In the present disclosure, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, in which a computer-readable program code is carried. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The program code contained on the computer readable medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (radio frequency), etc., or any suitable combination of the above.

[0172] The computer-readable medium may be included in the electronic device, or may exist independently without being incorporated into the electronic device.

[0173] The computer-readable medium carries one or more programs (computer-executable instructions). When the one or more programs are executed by the electronic device, the electronic device executes the method shown in the above embodiment.

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

[0175] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present disclosure. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.

[0176] The units involved in the embodiments described in the present disclosure may be implemented by software or hardware. The name of a unit does not limit the unit itself in some cases. For example, the first acquisition unit may also be described as a "unit for acquiring at least two Internet Protocol addresses".

[0177] The functions described above herein may be performed at least in part by one or more hardware logic components. For example, without limitation, exemplary types of hardware logic components that may be used include: field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), and the like.

[0178] In the context of the present disclosure, a machine-readable medium may be a tangible medium that may contain or store a program for use by or in conjunction with an instruction execution system, device, or equipment. A machine-readable medium may be a machine-readable signal medium or a machine-readable storage medium. A machine-readable medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or equipment, or any suitable combination of the foregoing. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.

[0179] The above description is only a preferred embodiment of the present disclosure and an explanation of the technical principles used. Those skilled in the art should understand that the scope of disclosure involved in the present disclosure is not limited to the technical solutions formed by a specific combination of the above technical features, but should also cover other technical solutions formed by any combination of the above technical features or their equivalent features without departing from the above disclosed concept. For example, the above features are replaced with the technical features with similar functions disclosed in the present disclosure (but not limited to) by each other to form a technical solution.

[0180] In addition, although each operation is described in a specific order, this should not be understood as requiring these operations to be performed in the specific order shown or in a sequential order. Under certain circumstances, multitasking and parallel processing may be advantageous. Similarly, although some specific implementation details are included in the above discussion, these should not be interpreted as limiting the scope of the present disclosure. Some features described in the context of a separate embodiment can also be implemented in a single embodiment in combination. On the contrary, the various features described in the context of a single embodiment can also be implemented in multiple embodiments individually or in any suitable sub-combination mode.

[0181] Although the subject matter has been described in language specific to structural features and / or methodological logical actions, it should be understood that the subject matter defined in the appended claims is not necessarily limited to the specific features or actions described above. On the contrary, the specific features and actions described above are merely example forms of implementing the claims.

Claims

1. A content sharing operation processing method, characterized in that: include: Receiving a sharing operation of a first user on target content in a first application; Determine the sharing operation authority of the first user; An execution result of the sharing operation is determined based on the sharing operation permission and the target scope of the sharing operation.

2. The method according to claim 1, characterized in that The determining the sharing operation authority of the first user includes: Acquire sharing permission configuration information of the first user, wherein the sharing permission configuration information is set by a server of the first application or a preset user; The sharing operation authority of the first user is determined according to the sharing authority configuration information.

3. The method according to claim 2, characterized in that The sharing permission configuration information is obtained by the preset user setting permissions for multiple user group members in the first application client used by the preset user; The preset user is a user with preset permissions in a user group, and the first user belongs to the multiple user group members.

4. The method according to claim 1, characterized in that: The determining, based on the sharing operation permission and the target scope of the sharing operation, the execution result of the sharing operation includes: If the sharing operation permission matches the target scope, determining that the execution result of the sharing operation is a first execution result, the first execution result indicates that the sharing operation is performed on the target content; If the sharing operation permission does not match the target scope, the execution result of the sharing operation is determined to be a second execution result, and the second execution result indicates that the target content is protected. The second execution result includes at least one of the following: inability to complete sharing, sharing of encrypted target content, sharing of covered content, and sharing of reset target content.

5. The method according to claim 1, characterized in that The sharing operation is a copy and paste operation, and the sharing operation permission of the first user indicates that the first user is only allowed to copy and paste the target content within the first application, then determining the execution result of the sharing operation based on the sharing operation permission and the target scope of the sharing operation includes: Determining whether the target scope of the copy-paste operation indication is the first application; If the target scope is the first application, determining that the execution result of the copy-paste operation is a first execution result indicating pasting the target content; And the method further comprises: According to the sharing object in the first application indicated by the sharing operation, the target content is shared with the sharing object.

6. The method according to claim 5, characterized in that The step of sharing the target content with the sharing object in the first application according to the sharing operation instruction includes: According to the copy operation in the copy-paste operation, writing the target content into a custom clipboard corresponding to the first user in the first application; wherein the custom clipboard in the first application is isolated from other applications; According to the paste operation in the copy and paste operation, the target content in the first custom clipboard is pasted to the designated position of the sharing object.

7. The method according to claim 5, characterized in that The determining the execution result of the sharing operation based on the sharing operation permission and the target scope of the sharing operation further includes: If the target scope is the second application, it is determined that the execution result of the copy-paste operation is a second execution result indicating that the sharing cannot be completed.

8. The method according to claim 5, characterized in that The step of sharing the target content with the sharing object in the first application according to the sharing operation instruction includes: According to the copy operation in the copy and paste operation, writing the target content into a custom clipboard proxy corresponding to the first user; Encrypting the target content written into the custom clipboard proxy; sending the encrypted target content to a system clipboard; in response to receiving a paste operation of the first user in the first application, decrypting the encrypted target content; Paste the decrypted target content to the specified location of the sharing object.

9. The method according to any one of claims 5 to 8, characterized in that: The method further comprises: In response to receiving the copy operation, a first prompt message is displayed, where the first prompt message is used to prompt that pasting outside the first application is not supported.

10. The method according to any one of claims 5 to 8, characterized in that: If the first user copies the target content and then exits the first application in the target terminal, and logs in to the first application in the target terminal using the identity of the second user, and creates a custom clipboard corresponding to the second user in the first application, the second user does not have access to the custom clipboard of the first user.

11. The method according to claim 1, characterized in that: The sharing operation is a screen capture operation. The determining, based on the sharing operation permission and the target scope of the sharing operation, the execution result of the sharing operation includes: If the screenshot operation permission indicates that screenshots of the target content are only allowed in the first application, determining whether the target scope of the screenshot operation instruction is the first application; If the target scope is the first application, determining that the execution result of the screenshot operation is a first execution result indicating that a screenshot of the target content is taken; And the method further comprises: Store the captured screen image or video; or, According to the shared user in the first application indicated by the sharing operation, the image or video is shared with the shared user.

12. The method according to claim 11, characterized in that The determining, based on the sharing operation permission and the target scope of the sharing operation, the execution result of the sharing operation includes: If the screenshot operation permission indicates that screenshot of the target content is not allowed in the first application, and the target scope includes the first application or all applications, determining that the execution result of the screenshot operation is a second execution result, and the second execution result indicates that the target content is protected; The method further includes: shielding the target content and / or displaying second prompt information; the second prompt information is used to prompt that screen capture is not allowed.

13. A content sharing operation processing device, characterized in that: include: A receiving unit, configured to receive a sharing operation of a first user on target content in a first application; A first determining unit, used to determine the sharing operation authority of the first user; The second determining unit is used to determine the execution result of the sharing operation based on the sharing operation permission and the target scope of the sharing operation.

14. An electronic device, characterized in that: include: Processor and memory; The memory stores computer-executable instructions; The processor executes the computer-executable instructions stored in the memory, so that the processor performs the method according to any one of claims 1 to 12.

15. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and when a processor executes the computer-executable instructions, the method according to any one of claims 1 to 12 is implemented.

16. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the method according to any one of claims 1 to 12 is implemented.

Citation Information

Patent Citations

  • Processing method and device and electronic equipment

    CN112100041A

  • Content sharing method and system

    CN114640674A

  • Document content protection method and device

    CN116361828A

  • Webpage screen recording method, webpage screen recording device, equipment and storage medium

    CN117119246A

  • Content management method and device, equipment and storage medium

    CN117724631A