Shared content control method and device, electronic equipment and storage medium

By detecting the description information to be matched during the screen sharing process and matching it with the preset target information, the screen sharing process is terminated, which solves the problem of application information leakage during screen sharing and improves information security.

CN118484116APending Publication Date: 2024-08-13TENCENT TECHNOLOGY (SHENZHEN) CO LTD
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
CN202310151791.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-10
Publication Date
2024-08-13

AI Technical Summary

Technical Problem

When sharing the screen, application-related information is easily leaked, leading to information security risks.

Method used

By detecting the screen sharing process, the description information to be matched is obtained and matched with the preset target description information. If the matching degree is greater than the preset value, the screen sharing process is terminated and the sharing of applications is restricted.

Benefits of technology

It effectively reduces the leakage of information related to the target application when sharing the screen and improves information security.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118484116A_ABST
    Figure CN118484116A_ABST
Patent Text Reader

Abstract

The invention relates to the technical field of computers, and provides a shared content control method and device, electronic equipment and a storage medium. According to the method, to-be-matched description information generated on the basis of identifiers of application programs in a current running state is matched with target description information in a target description information set generated on the basis of identifiers of preset target application programs shared during screen sharing; whether the target application program limited to be shared when the screen is shared is started or not is judged by judging whether the target application program limited to be shared when the screen is shared, the target application program can be limited to be shared when the screen is shared, and leakage of related information of the target application program caused by screen sharing can be reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of computer technology, and in particular to a method, device, electronic device and storage medium for controlling shared content. Background Art

[0002] At present, screen sharing technology is widely used in application scenarios such as document display, operation display, and collaborative office. Although screen sharing can make information sharing more convenient, there are information security risks. For example, opening a chat software during an online meeting will cause chat information to be leaked. Another example is that opening a resource software during a live broadcast will cause resource leakage, that is, when the screen is shared, the relevant information of the application will be leaked. Summary of the invention

[0003] In order to solve the problem that application-related information is leaked when sharing the screen, the present application provides a method, device, electronic device and storage medium for controlling shared content:

[0004] According to a first aspect of the present application, a method for controlling shared content is provided, comprising:

[0005] When it is detected that the shared screen process is in a sharing state, multiple description information to be matched is obtained; each description information to be matched is information generated based on the identifier of the application currently in the running state; each description information to be matched is matched with the target description information in the target description information set to obtain the target matching degree corresponding to each description information to be matched; the target description information is information generated based on the identifier of the target application, and the target application is a preset application that is restricted from sharing when sharing the screen;

[0006] If there is at least one description information to be matched among the multiple description information to be matched whose target matching degree is greater than the preset matching degree, the screen sharing process is terminated.

[0007] According to a second aspect of the present application, a shared content control device is provided, including:

[0008] An acquisition module, used for acquiring a plurality of description information to be matched when it is detected that the screen sharing process is in a preset state; each description information to be matched is information generated based on an identifier of an application currently in operation;

[0009] A matching module, used to match each description information to be matched with the target description information in the target description information set, and obtain the target matching degree corresponding to each description information to be matched; the target description information is information generated based on the identifier of the target application, and the target application is a preset application that is restricted from sharing when sharing the screen;

[0010] The control module is used to terminate the screen sharing process if there is at least one description information to be matched among the multiple description information to be matched whose target matching degree is greater than a preset matching degree.

[0011] On the other hand, the shared content control device further comprises:

[0012] A first generating module, used to display an instant messaging management interface, the instant messaging management interface including an application adding control and an information input area;

[0013] In response to an add instruction for adding a control to an application, receiving identification information of a target application input in an information input area;

[0014] Based on the identification information of the target application, a target description information set is generated.

[0015] On the other hand, the shared content control device further includes:

[0016] A second generating module is used to display an instant messaging management interface, wherein the instant messaging management interface includes an application adding control;

[0017] In response to an add instruction for adding a control to an application, a candidate description information set is displayed on an instant messaging management interface; each candidate description information in the candidate description information set is information generated based on an identifier of an installed application;

[0018] In response to a selection instruction for at least one candidate description information in the candidate description information set, a target description information set is generated based on the selected at least one candidate description information.

[0019] On the other hand, the shared content control device further includes: an updating module;

[0020] Update modules, including:

[0021] The first response submodule is used to respond to a deletion instruction for any target description information and display deletion prompt information; the deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction;

[0022] A verification submodule, for verifying the deletion instruction and obtaining a verification result if a confirmation deletion instruction triggered by the deletion prompt information is received after the display time of the deletion prompt information meets the preset time;

[0023] The deletion submodule is used to delete the target description information indicated by the deletion instruction if the verification result indicates that the verification is passed, so as to obtain an updated target description information set.

[0024] On the other hand, the verification submodule is used to send a verification information acquisition request to the server;

[0025] Receive reference verification information sent by the server; the reference verification information is generated by the server based on the verification information acquisition request;

[0026] Send a verification request to the server; the verification request carries the information to be verified, and the server is used to match and verify the reference verification information and the information to be verified to obtain the verification result;

[0027] Receive the verification result sent by the server.

[0028] On the other hand, an acquisition module is used to display an instant messaging interface; the instant messaging interface includes a sharing screen control;

[0029] A trigger instruction for a screen sharing control is received to obtain a plurality of description information to be matched; the trigger instruction is used to control the screen sharing process to be in a sharing state.

[0030] On the other hand, the acquisition module is used to acquire multiple description information to be matched based on a preset period when the screen sharing process is in a sharing state.

[0031] On the other hand, the matching module is used to perform character segmentation processing on each description information to be matched to obtain a first character sequence to be matched corresponding to each description information to be matched;

[0032] Performing character segmentation processing on each target description information in the target description information set to obtain a second to-be-matched character sequence corresponding to each target description information;

[0033] The first to-be-matched character sequence corresponding to each to-be-matched description information is matched with the second to-be-matched character sequence corresponding to each target description information in the target description information set to obtain the target matching degree corresponding to each to-be-matched description information.

[0034] According to a third aspect of the present application, a method for controlling shared content is provided, comprising:

[0035] Display the instant messaging interface; the instant messaging interface includes a screen sharing control;

[0036] In response to a trigger instruction based on the sharing screen control, displaying the content to be shared in the sharing area;

[0037] When it is detected that the area to be displayed of the target application is a sharing area, shielding processing is performed to switch the area to be displayed of the target application to a non-sharing area; the target application is a preset application that is restricted from sharing when sharing the screen.

[0038] According to a fourth aspect of the present application, a shared content control device is provided, including:

[0039] A first display module is used to display an instant messaging interface; the instant messaging interface includes a shared screen control;

[0040] A second display module, configured to display the content to be shared in the sharing area in response to a trigger instruction based on the sharing screen control;

[0041] The switching module is used to perform shielding processing and switch the target application's to-be-displayed area to a non-sharing area when detecting that the target application's to-be-displayed area is a sharing area; the target application is a preset application that is restricted from sharing when sharing the screen.

[0042] On the other hand, the switching module is used to switch the to-be-displayed area of ​​the target application to the status bar area or the background.

[0043] According to a fifth aspect of the present application, a method for controlling shared content is provided, comprising:

[0044] Display the instant messaging management interface; the instant messaging management interface includes application adding controls and information input area;

[0045] In response to an add instruction based on adding a control based on an application, and in response to an input operation based on an information input area, displaying identification information of a target application corresponding to the input operation in the information input area; the target application is a preset application that is restricted from sharing when sharing a screen;

[0046] In response to the target description information set generation instruction, the target description information set is displayed; the target description information set is generated based on the identification information of the target application.

[0047] According to a sixth aspect of the present application, a shared content control device is provided, including:

[0048] The third display module is used to display the instant messaging management interface; the instant messaging management interface includes an application adding control and an information input area;

[0049] A fourth display module, for displaying identification information of a target application corresponding to the input operation in the information input area in response to an add instruction based on the application adding control and in response to an input operation based on the information input area; the target application is a preset application that is restricted from sharing when sharing the screen;

[0050] The fifth display module is used to display the target description information set in response to the target description information set generation instruction; the target description information set is generated based on the identification information of the target application.

[0051] On the other hand, the instant messaging management interface also includes application deletion controls;

[0052] The device also includes:

[0053] a sixth display module, configured to display a target description information set in response to a deletion instruction based on an application program deletion control;

[0054] A seventh display module is used to display deletion prompt information in response to a deletion instruction based on any target description information in the target description information set; the deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction;

[0055] In response to a confirmed deletion instruction triggered based on the deletion prompt information, an updated target description information set is displayed.

[0056] According to the seventh aspect of the present application, an electronic device is provided, the electronic device including a processor and a memory, the memory storing at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by the processor to implement the shared content control method of the first aspect of the present application; or, loaded and executed to implement the shared content control method of the third aspect of the present application; or, loaded and executed to implement the shared content control method of the fifth aspect of the present application.

[0057] According to an eighth aspect of the present application, a computer storage medium is provided, in which at least one instruction or at least one program is stored, and the at least one instruction or at least one program is loaded and executed by a processor to implement the shared content control method of the first aspect of the present application; or, loaded and executed to implement the shared content control method of the third aspect of the present application; or, loaded and executed to implement the shared content control method of the fifth aspect of the present application.

[0058] According to the ninth aspect of the present application, a computer program product is provided, the computer program product comprising at least one instruction or at least one program, the at least one instruction or at least one program being loaded and executed by a processor to implement the shared content control method of the first aspect of the present application; or, loaded and executed to implement the shared content control method of the third aspect of the present application; or, loaded and executed to implement the shared content control method of the fifth aspect of the present application.

[0059] The embodiments of the present application provide a method, device, electronic device, and storage medium for controlling shared content, which have the following technical effects:

[0060] When it is detected that the shared screen process is in a sharing state, multiple description information to be matched is obtained; each description information to be matched is information generated based on the identifier of the application currently in operation; each description information to be matched is matched with the target description information in the target description information set to obtain the target matching degree corresponding to each description information to be matched; the target description information is information generated based on the identifier of the target application, and the target application is a preset application restricted from sharing when the screen is shared; if there is at least one description information to be matched in the multiple description information to be matched and the target matching degree corresponding to the description information is greater than the preset matching degree, the shared screen process is terminated. Based on the embodiment of the present application, by matching each description information to be matched generated based on the identifier of each application currently in operation with the target description information in the target description information set generated based on the preset identifier of the target application restricted from sharing when the screen is shared, it is determined whether the target application restricted from sharing when the screen is shared is turned on when the screen is shared, the target application can be restricted from sharing when the screen is shared, and the leakage of relevant information of the target application caused by sharing the screen can be reduced. BRIEF DESCRIPTION OF THE DRAWINGS

[0061] In order to more clearly illustrate the technical solutions and advantages in the embodiments of the present application or the prior art, the drawings required for use in the embodiments or the prior art descriptions are briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0062] Figure 1 is a schematic diagram of an application environment provided by an embodiment of the present application;

[0063] Figure 2 It is a flowchart of a method for controlling shared content provided in an embodiment of the present application;

[0064] Figure 3 This is a schematic diagram of an interface display for generating a target description information set provided by an embodiment of the present application;

[0065] Figure 4 This is a schematic diagram of an interface display for obtaining description information to be matched provided in an embodiment of the present application;

[0066] Figure 5 This is a schematic diagram of an interface display for updating a target description information set provided by an embodiment of the present application;

[0067] Figure 6 This is a schematic diagram of an interface display for verifying a deletion instruction provided in an embodiment of the present application;

[0068] Figure 7The timing of terminating the screen sharing process provided by the embodiment of the present application is Figure 1 ;

[0069] Figure 8 The timing of terminating the screen sharing process provided by the embodiment of the present application is Figure 2 ;

[0070] Fig. 9 The timing of terminating the screen sharing process provided by the embodiment of the present application is Figure 3 ;

[0071] Fig.10 This is an interface display diagram of terminating the screen sharing process provided in an embodiment of the present application. Figure 1 ;

[0072] Fig.11 This is an interface display diagram of terminating the screen sharing process provided in an embodiment of the present application. Figure 2 ;

[0073] Fig.12 This is an interface display diagram of terminating the screen sharing process provided by the embodiment of the present application. Figure 3 ;

[0074] Fig.13 is a flowchart of another method for controlling shared content provided in an embodiment of the present application;

[0075] Fig.14 It is a flowchart of a method for controlling shared content provided in an embodiment of the present application;

[0076] Fig.15 This is a schematic diagram of a sharing area and a non-sharing area when sharing a screen provided in an embodiment of the present application;

[0077] Fig.16 It is a flowchart of a method for controlling shared content provided in an embodiment of the present application;

[0078] Fig.17 is a structural diagram of a shared content control device provided in an embodiment of the present application;

[0079] Fig.18 is a structural diagram of a shared content control device provided in an embodiment of the present application;

[0080] Fig.19 is a structural diagram of a shared content control device provided in an embodiment of the present application;

[0081] Fig. 20 It is a hardware structure diagram of an electronic device provided in an embodiment of the present application for implementing the shared content control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0082] In order to make the purpose, technical scheme and advantages of the present application clearer, the embodiments of the present application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiment is only one embodiment of the present application, not all embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.

[0083] "Embodiment" as referred to herein refers to a specific feature, structure or characteristic that may be included in at least one implementation of the present application. In the description of the embodiments of the present application, it should be understood that the terms "first", "second" and "third" etc. are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first", "second" and "third" etc. may include one or more of the features explicitly or implicitly. Moreover, the terms "first", "second" and "third" etc. are used to distinguish similar objects, and do not have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described here can be implemented in an order other than illustrated or described here. In addition, the terms "including", "having" and "for" and any of their variations are intended to cover non-exclusive inclusions.

[0084] It is understandable that in the specific implementation of this application, related data such as descriptive information is involved. When the above embodiments of this application are applied to specific products or technologies, user permission or consent is required, and the collection, use and processing of relevant data need to comply with relevant laws, regulations and standards of relevant countries and regions.

[0085] The embodiments of the present invention can be applied to various scenarios, including but not limited to artificial intelligence, cloud technology, big data, etc.

[0086] Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results. In other words, artificial intelligence is a comprehensive technology in computer science. It attempts to understand the essence of intelligence and produce a new intelligent machine that can respond in a similar way to human intelligence. Artificial intelligence is to study the design principles and implementation methods of various intelligent machines so that machines have the functions of perception, reasoning and decision-making. Artificial intelligence technology is a comprehensive discipline that covers a wide range of fields, including both hardware-level technology and software-level technology. Basic artificial intelligence technologies generally include technologies such as sensors, dedicated artificial intelligence chips, cloud computing, distributed storage, big data processing technology, operation / interaction systems, and mechatronics. Artificial intelligence software technology mainly includes computer vision technology, speech processing technology, natural language processing technology, and machine learning / deep learning.

[0087] Cloud technology refers to a hosting technology that unifies hardware, software, network and other resources in a wide area network or local area network to achieve data computing, storage, processing and sharing. Cloud technology is a general term for network technology, information technology, integration technology, management platform technology, application technology, etc. based on the cloud computing business model. It can form a resource pool, which is used on demand and flexible and convenient. Cloud computing technology will become an important support. The background services of the technical network system require a large amount of computing and storage resources, such as video websites, picture websites and more portal websites. With the high development and application of the Internet industry, each item may have its own identification mark in the future, and all need to be transmitted to the background system for logical processing. Data of different levels will be processed separately. All kinds of industry data require strong system backing support, which can only be achieved through cloud computing.

[0088] Before further describing the embodiments of the present application in detail, the nouns and terms involved in the embodiments of the present application are explained. The nouns and terms involved in the embodiments of the present application are subject to the following explanations.

[0089] Screen sharing: Also known as desktop sharing, it is to share screen content with another device or between multiple devices.

[0090] Target application: Preset application that is restricted from sharing when sharing the screen. In one scenario, it can be an application that is restricted from sharing all information, such as banking software, stock software, fund software and other resource-related sensitive software that is restricted from starting and sharing all information, or video viewing software and live broadcast viewing software that are allowed to start and restrict sharing of all information. In another scenario, it can be an application that is restricted from sharing part of the information, such as chat software such as QQ and WeChat, photo viewers, e-book viewers and other information storage software.

[0091] See also Figure 1 , Figure 1 1 is a schematic diagram of an application environment provided by an embodiment of the present application, and the application environment may include a terminal 10 and a server 20. The terminal 10 and the server 20 may be directly or indirectly connected via wired or wireless communication.

[0092] In some possible implementations, when it is detected that the screen sharing process is in a sharing state, multiple description information to be matched generated based on the identifiers of each application currently in operation is obtained, and each description information to be matched is matched with the target description information in the target description information set generated based on the identifier of the preset target application to limit sharing when sharing the screen, to obtain the target matching degree corresponding to each description information to be matched. If there is at least one description information to be matched among the multiple description information to be matched, and the target matching degree corresponding to the description information to be matched is greater than the preset matching degree, the screen sharing process can be terminated.

[0093] The terminal 10 may be a smart phone, a tablet computer, a laptop computer, a desktop computer, etc., but is not limited thereto. The terminal 10 may be installed with client software such as an application (Application, referred to as App) that provides a human-computer interaction function. The application may be an independent application or a subprogram in the application. The user of the terminal 10 may log in to the application through the pre-registered user account information, which may include an account number and a password.

[0094] The server 20 may be an independent physical server, or a service cluster or distributed system composed of multiple physical servers, or a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (CDNs), and big data and artificial intelligence platforms. The server may include a network communication unit, a processor, a memory, and the like.

[0095] In some possible implementations, the terminal 10 and the server 20 can both be node devices in the blockchain system, and can share the acquired and generated information with other node devices in the blockchain system to achieve information sharing between multiple node devices. Multiple node devices in the blockchain system can be configured with the same blockchain, which is composed of multiple blocks, and the adjacent blocks have an association relationship, so that when the data in any block is tampered, it can be detected by the next block, thereby preventing the data in the blockchain from being tampered with, and ensuring the security and reliability of the data in the blockchain.

[0096] The following describes a specific embodiment of a shared content control method of the present application. Figure 2 It is a flowchart of a method for controlling shared content provided by an embodiment of the present application. This specification provides method operation steps as shown in the embodiment or flowchart, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiment is only one of many execution orders and does not represent the only execution order. In actual execution, the method sequence shown in the embodiment or the accompanying drawings may be executed or executed in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0097] Specific as Figure 2 As shown, the shared content control method may include:

[0098] S201: When it is detected that the screen sharing process is in a sharing state, a plurality of description information to be matched is obtained.

[0099] In an embodiment of the present application, before detecting the status of the shared screen process, a target description information set may be generated first. Each target description information in the target description information set may be information generated based on the identification of the target application, and the target application may be a preset application that is restricted from sharing when the screen is shared. For example, it may be preset to restrict the launch of sensitive resource-related software such as banking software, stock software, and fund software when the screen is shared. It may also be preset to restrict the sharing of account information and password information of chat software such as QQ and WeChat when the screen is shared. It may also be preset to restrict the sharing of unselected information of information storage software such as photo viewers and e-book viewers when the screen is shared. Therefore, the sensitive software, chat software, and information storage software mentioned above may all be preset target applications.

[0100] Figure 3 1 is a schematic diagram of an interface display for generating a target description information set provided by an embodiment of the present application. Figure 3As shown, in some possible implementations, an instant messaging management interface may be displayed, which may include an application adding control and an information input area. The user may trigger the application adding control on the instant messaging management interface by touching, clicking, etc. When it is detected that the application adding control is triggered, it may respond to the adding instruction for the application adding control, and receive the identification information of the target application entered in the information input area. Then, in response to the saving instruction for the identification information, the floating layer may display that the saving is successful, and it will automatically disappear after 3 seconds. Then, a target description information set may be generated based on the identification information of the target application. By presetting the application to be shared when sharing the screen in the instant messaging management interface, it is not limited to selecting the application to be shared from the applications installed by the client, so that the scope of the application to be shared can be expanded and the flexibility of setting the target application can be improved.

[0101] In some possible implementations, an instant messaging management interface may be displayed, and the instant messaging management interface may include an application adding control. The user may trigger the application adding control on the instant messaging management interface by touching, clicking, etc. When it is detected that the application adding control is triggered, it may respond to the adding instruction for the application adding control, and display the candidate description information set on the instant messaging management interface, and each candidate description information in the candidate description information set may be information generated based on the identifier of an installed application. When a selection instruction for at least one candidate description information in the candidate description information set is detected, it may respond to the selection instruction for at least one candidate description information in the candidate description information set, and generate a target description information set based on the selected at least one candidate description information. By scanning all applications installed by the client and allowing the user to select which applications are restricted from sharing when sharing the screen, the scope of applications restricted from sharing can be narrowed, and the setting of the target application can be more targeted.

[0102] In the embodiment of the present application, each piece of description information to be matched among the multiple pieces of description information to be matched may be information generated based on an identifier of an application currently in operation.

[0103] In the embodiment of the present application, the process state can reflect the changes in the process execution process, and these states are converted as the process is executed and the external conditions change. The process state may include a ready state, a running state, and a terminated state. Optionally, the shared screen process being in a shared state can be understood as the shared screen process being in a ready state or the shared screen process being in a running state.

[0104] Figure 4It is a schematic diagram of an interface display for obtaining description information to be matched provided by an embodiment of the present application. When an application is started, the operating system will create a process corresponding to the application, and will generate description information to be matched for the application based on the identifier of the application, that is, the process name corresponding to the application. Therefore, the description information to be matched corresponding to the application currently in operation can be obtained by obtaining the process name of the operating system. Since the operating system ensures the real-time and accuracy of the full process refresh, the instant messaging system can also ensure the real-time and accuracy of obtaining the application currently in operation.

[0105] Running the target application while sharing the screen may cause the target application's related information to be leaked. That is, screen sharing is the main scenario that causes the target application's related information to be leaked. Specifically, the target application can be detected in the following scenarios:

[0106] Scenario 1: Open instant messaging → Open the target application → Open the shared screen

[0107] Since opening the target application precedes opening the shared screen, the target application can be detected when opening the shared screen.

[0108] Scenario 2: Open instant messaging → Open screen sharing → Open target application

[0109] Since the target application is opened after the shared screen is opened, the target application cannot be detected when the shared screen is opened. The only way is to periodically detect the description information to be matched corresponding to the currently running application after the shared screen is opened to determine whether the target application has been opened.

[0110] Scenario 3: Open the target application → Open instant messaging → Open screen sharing

[0111] Since opening the target application precedes opening the shared screen, the target application can be detected when opening the shared screen.

[0112] Based on the above scenarios, it is necessary to establish two scenarios for detecting the target application, namely, instant detection when the shared screen is opened and periodic detection after the shared screen is opened.

[0113] In some possible implementations, an instant messaging interface may be displayed, and the instant messaging interface may include a screen sharing control. If a trigger instruction for the screen sharing control is received, multiple description information to be matched may be obtained. The trigger instruction is used to control the screen sharing process in the instant messaging to be in a sharing state.

[0114] In some possible implementations, when the screen sharing process in the instant messaging is in a sharing state, a plurality of description information to be matched may be obtained based on a preset period.

[0115] S203: Match each description information to be matched with the target description information in the target description information set to obtain the target matching degree corresponding to each description information to be matched.

[0116] In an embodiment of the present application, each description information to be matched can be matched with the target description information in the target description information set directly based on the target description information set generated before the status of the shared screen process in the instant communication is detected, and the target matching degree corresponding to each description information to be matched can be obtained. The target description information set generated before the status of the shared screen process in the instant communication can also be updated to obtain an updated target description information set, and based on the updated target description information set, each description information to be matched can be matched with the target description information in the target description information set to obtain the target matching degree corresponding to each description information to be matched. By matching each description information to be matched with the target description information in the target description information set one by one, the accuracy of the target matching degree can be improved.

[0117] Since the target description information set is the key to reducing the leakage of relevant information of the target application when sharing the screen, a lenient entry and strict exit approach can be adopted when updating the target description information set, which is mainly reflected in: not doing too much verification when adding target description information; when deleting target description information, the deletion prompt information is forced to be displayed for a preset display time, during which the deletion prompt information cannot be closed; and the deletion instruction is verified, and the deletion operation is performed after passing the verification. Figure 5 The present application provides an interface display schematic diagram for updating a target description information set in an embodiment. In a specific implementation of updating a target description information set, an instant messaging management interface may be displayed, and the instant messaging management interface may also include an application deletion control and a verification information input area. The user may trigger the application deletion control on the instant messaging management interface by touching, clicking, or the like. When it is detected that the application deletion control is triggered, it may respond to a deletion instruction for any target description information in the target description information set and display deletion prompt information, which may be used to prompt the associated consequences corresponding to the deletion instruction. Furthermore, after the display duration of the deletion prompt information meets the preset duration, if a confirmed deletion instruction triggered based on the deletion prompt information is received, the deletion instruction may be verified to obtain a verification result. If the verification result indicates that the verification is passed, the target description information indicated by the deletion instruction may be deleted to obtain an updated target description information set.

[0118] In actual application, in response to a deletion instruction for any target description information in the target description information set, a deletion prompt message "After deleting the target description information, the relevant information of the target application cannot be guaranteed to be leaked when sharing the screen in instant messaging, which may cause resource loss. Please do not delete it easily!" can be displayed. In addition, during the display of the deletion prompt information, a confirmation deletion instruction based on the deletion prompt information cannot be triggered, and the confirmation deletion instruction based on the deletion prompt information can be triggered only after 10 seconds.

[0119] In some possible implementations, after receiving a confirmation deletion instruction triggered by deletion prompt information, a verification information acquisition request may be sent to the server, and reference verification information sent by the server may be received. The reference verification information may be generated by the server based on the verification information acquisition request. Then, a verification request may be sent to the server, and the verification request may carry information to be verified. The server may match and verify the reference verification information and the information to be verified to obtain a verification result, and send it to the client. The client may receive the verification result sent by the server.

[0120] Figure 6 It is a schematic diagram of an interface display for verifying a deletion instruction provided in an embodiment of the present application. In a specific implementation method for verifying a deletion instruction, a six-digit verification code can be sent to the server, and in response to a verification request triggered by a verification code entered in the verification information input area of ​​the instant messaging management interface, the input verification code is sent to the server. If the server determines that the input verification code is consistent with the generated verification code, a verification result indicating that the verification passed can be sent to the client. If the server determines that the input verification code is inconsistent with the generated verification code, a verification result indicating that the verification failed can be sent to the client. After receiving the verification result indicating that the verification passed, a floating prompt indicating that the target description information has been successfully deleted can be displayed, and it will automatically disappear after 3 seconds.

[0121] In an embodiment of the present application, character segmentation processing can be performed on each description information to be matched to obtain a first character sequence to be matched corresponding to each description information to be matched, and character segmentation processing can be performed on each target description information in the target description information set to obtain a second character sequence to be matched corresponding to each target description information. Then, the first character sequence to be matched corresponding to each description information to be matched can be matched with the second character sequence to be matched corresponding to each target description information in the target description information set to obtain the target matching degree corresponding to each description information to be matched. By matching each description information to be matched with the target description information in the target description information set one by one, the accuracy of the target matching degree can be improved.

[0122] S205: If there is at least one description information to be matched among the multiple description information to be matched whose target matching degree is greater than a preset matching degree, the screen sharing process is terminated.

[0123] In an embodiment of the present application, if there is at least one description information to be matched among multiple description information to be matched and the target matching degree corresponding to it is greater than the preset matching degree, while terminating the screen sharing process, a process termination prompt message can be displayed. The process termination prompt message can be used to prompt the termination of the running process of the application corresponding to the at least one description information to be matched. The process termination prompt message can also be the same as prompting that part or all of the content of the application corresponding to the at least one description information to be matched is not shared.

[0124] In the embodiment of the present application, terminating the screen sharing process may include controlling the audio stream to stop transmitting and controlling the video stream to stop transmitting. Figure 7 The timing of terminating the screen sharing process provided by the embodiment of the present application is Figure 1 ,like Figure 7 As shown, before the target application is opened, that is, at time t0-t1, video frames 1-8 are transmitted, and the audio stream is transmitted (the audio stream is represented by a series of square grids at the bottom of the figure, and each square grid represents the audio data of a segment of the audio stream); in the process of opening the target application, that is, at time t1-t2, no video frame is transmitted, and no audio stream is transmitted, so that the other terminal of the shared screen has a black screen and no sound; after closing the target application, that is, after time t2, the latter frames of video frame 8, that is, video frames 9-15, continue to be transmitted. Specifically, when the user receives a network access call while sharing online teaching materials on the online teaching screen, the termination of the shared screen process can be manifested as the other terminal of the shared screen can neither see the online teaching materials nor the network caller display content, and at the same time, can not hear the teaching content and the network call content. Terminating the shared screen process can also include controlling the audio stream to continue to transmit, while controlling the video stream to stop transmitting. Figure 8 The timing of terminating the screen sharing process provided by the embodiment of the present application is Figure 2 ,like Figure 8As shown, before the target application is opened, that is, at time t0-t1, video frames 1-8 are transmitted, and the audio stream is transmitted; in the process of opening the target application, that is, at time t1-t2, no video frames are transmitted, but the audio stream is transmitted, so that the other terminal of the shared screen has a black screen but has sound; after closing the target application, that is, after time t2, the latter frames of video frame 8, that is, video frames 9-15, continue to be transmitted. Specifically, when the user receives a WeChat message while sharing online teaching materials during online teaching screen, the termination of the shared screen process can be manifested as the other terminal of the shared screen can hear the teaching content, but cannot see the online teaching materials or the WeChat message. Terminating the shared screen process can also include controlling the audio stream to continue to transmit, while controlling the current frame of the video stream to be repeatedly transmitted. Fig. 9 The timing of terminating the screen sharing process provided by the embodiment of the present application is Figure 3 ,like Fig. 9 As shown, before the target application is opened, that is, at time t0-t1, video frames 1-8 are transmitted, and audio streams are transmitted; in the process of opening the target application, that is, at time t1-t2, video frames 4-8 are repeatedly transmitted, and audio streams are transmitted, so that the other terminal of the shared screen repeatedly displays the content of video frames 4-8, and the audio stream is transmitted normally; in another embodiment, in the process of opening the target application, that is, at time t1-t2, a video frame, such as video frame 8, is repeatedly transmitted, and the audio stream is transmitted normally, so that the other terminal of the shared screen repeatedly displays the content of video frame 8; after closing the target application, that is, after time t2, the latter frames of video frame 8, that is, video frames 9-15, are continuously transmitted. Specifically, when a user receives a WeChat message while sharing online teaching materials on the online teaching screen, the termination of the shared screen process can be manifested as the terminal sharing the screen can hear the teacher's audio teaching content and can see the currently shared online teaching materials, but cannot see the WeChat message. Specifically, the hook function can be used to call the current frame of the video stream. Terminating the shared screen process may also include calling a new audio stream to cover the current audio stream, and calling a new video stream to cover the transmission of the current video stream. For example, when a user receives a WeChat message while sharing online teaching materials during online teaching, terminating the shared screen process may be manifested as the terminal playing music software on the shared screen and displaying the music lyrics interface. Specifically, the hook function may be used to call the current frame of the video stream. Specifically, the hook function may be used to call the video stream and audio stream of the music software. In actual applications, the control method of the video stream and the audio stream is not limited to the examples listed above, and may also be adjusted according to actual conditions, and the embodiments of the present application are not specifically limited thereto.

[0125] Fig.10 This is an interface display diagram of terminating the screen sharing process provided in an embodiment of the present application. Figure 1. If the target application related to resources, such as banking software, stock software, fund software, etc., which is restricted from starting and sharing all information, is in a running state, when screen sharing is triggered at this time, the screen cannot be shared. You need to close the target application and then start sharing the screen. At the same time, the termination process prompt message "The target application is detected to be in a running state. If the screen is shared, the relevant information of the target application may be leaked, resulting in resource loss. Please terminate the target application process before sharing the screen" can be displayed on the instant messaging interface. If the screen sharing process is in a sharing state in instant messaging, when the operation of the target application related to resources, such as banking software, stock software, fund software, etc., which is restricted from starting and sharing all information, is triggered, the shared screen will be forcibly closed, and the termination process prompt message will be prompted. The termination process prompt message is used to prompt the termination of the running process of the target application, that is, to close the target application.

[0126] Fig.11 This is an interface display diagram of terminating the screen sharing process provided in an embodiment of the present application. Figure 2 If the screen sharing process in instant messaging is in the sharing state, and the target application of the video viewing software or live broadcast viewing software that allows and restricts the sharing of all information is triggered, the current shared content can be pinned, or the video stream of the application that can be shared can be called using the hook function, that is, the playback content of the video viewing software or live broadcast viewing software is not shared. It is also possible to only display the target application icon without displaying its specific content.

[0127] Fig.12 This is an interface display diagram of terminating the screen sharing process provided by the embodiment of the present application. Figure 3 . If the screen sharing process in instant messaging is in the sharing state, and the target application such as QQ, WeChat and other chat software that allows and restricts the sharing of partial information, photo viewer, e-book viewer and other information storage software is triggered, a cover window can pop up to cover part of the content of the target application, such as covering the chat software account information, password information and other sensitive information. It is also possible to share part of the content of the target application on the interface after the target application triggers the release instruction, such as viewing and starting the photo viewer until receiving the instruction to select a photo and then sharing the selected photo on the interface.

[0128] By adopting the shared content control method provided in the embodiment of the present application, by matching each to-be-matched description information generated based on the identifier of each application currently in running state with the target description information set generated based on the identifier of the preset target application restricted to run when sharing the screen, it is determined whether the target application restricted to run when sharing the screen is turned on when sharing the screen. The display of the target application can be limited when sharing the screen, which can reduce the leakage of relevant information of the target application caused by sharing the screen.

[0129] For ease of understanding, a specific example is given below to illustrate the above-mentioned shared content control method. Fig.13 FIG. 1 is a flow chart of another method for controlling shared content provided in an embodiment of the present application. Fig.13 As shown, in the specific implementation process, instant messaging can be an online meeting. The user can add a target application in the online meeting, and the online meeting will directly save its corresponding target description information to the target description information set. The pop-up reminder will be saved successfully and will automatically disappear after 3 seconds. The user can also delete the target application in the online meeting. The online meeting will pop up a window to remind the deletion prompt information. The pop-up window is forced to display for 10 seconds and cannot be clicked to close halfway. After the deletion prompt information is forced to display for 10 seconds, the user can click Cancel or click OK. After the user clicks OK, the server can issue a verification code. If the user enters the correct verification code, the target application can be deleted from the target description information set, and a pop-up prompt will be displayed to indicate that the deletion is successful, and it will automatically disappear after 3 seconds. If the user enters an incorrect verification code, the target description information corresponding to the target application will not be deleted. When the user clicks screen sharing, the online meeting checks whether the target application exists in the operating system, that is, obtains the description information to be matched. If the description information to be matched matches any target description information in the target description information set, the screen sharing will not be started, and a pop-up reminder will be popped up. The pop-up window will be closed after the user clicks OK. If the description information to be matched does not match the target description information in the target description information set, the screen sharing is enabled. After the screen sharing is enabled, the operating system is periodically checked to see if the target application exists, that is, the description information to be matched is obtained. If the description information to be matched matches any target description information in the target description information set, the screen sharing is not enabled, and a pop-up window is displayed to remind the user. The pop-up window is closed after the user clicks to confirm. If the description information to be matched does not match the target description information in the target description information set, the screen sharing is enabled.

[0130] The following describes a specific embodiment of a shared content control method of the present application. Fig.14It is a flowchart of a method for controlling shared content provided by an embodiment of the present application. This specification provides method operation steps as shown in the embodiment or flowchart, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiment is only one of many execution orders and does not represent the only execution order. In actual execution, the method sequence shown in the embodiment or the accompanying drawings may be executed or executed in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0131] Specific as Fig.14 As shown, the shared content control method can be applied to a user terminal, and the shared content control method may include:

[0132] S1401: Displaying the instant messaging interface.

[0133] In the embodiment of the present application, the instant messaging interface includes a screen sharing control. The user can trigger the screen sharing control on the instant messaging interface by touching, clicking, etc.

[0134] S1403: In response to a trigger instruction based on the sharing screen control, display the content to be shared in the sharing area.

[0135] In the embodiment of the present application, when it is detected that the screen sharing control is triggered, the content to be shared can be displayed in the sharing area of ​​the display screen. For example, when sharing the screen for online teaching, online teaching materials can be shared on the desktop, i.e., the sharing area. For example, when live broadcasting, product information can be shared on the desktop, i.e., the sharing area.

[0136] S1405: When it is detected that the area to be displayed of the target application is a shared area, a shielding process is performed to switch the area to be displayed of the target application to a non-shared area.

[0137] In an embodiment of the present application, the target application may be a preset application that is restricted from sharing when the screen is shared. If the preset target application that is restricted from sharing when the screen is shared is triggered when the screen is shared, and the area to be displayed of the target application is a sharing area, such as the entire desktop, the area corresponding to the shared screen window on the desktop, the area corresponding to the desktop except the status bar area, and the sharing area obtained by dividing the desktop and presetting it, that is, when the target application is pre-displayed in the sharing area, the target application may be shielded so that its related content is displayed in the status bar area or in the background. At this time, the status bar or the background in this embodiment belongs to a non-sharing area, that is, the application will not be displayed in the sharing area, or the program may be directly closed, so that the other terminal sharing the screen cannot view the related content of the target application.

[0138] Fig.15This is a schematic diagram of a sharing area and a non-sharing area when sharing a screen provided by an embodiment of the present application, wherein the area indicated by the solid-line box 1501 can be a sharing area, and the area indicated by the dotted-line box 1503 can be a non-sharing area. In actual operation, at least one of the dotted-line boxes 1503 can be selected as the area to be displayed for the target application. For example, when opening a target application, a non-sharing area located on the left side of the sharing area can be selected to display the target application. When opening two target applications, two non-sharing areas located on the left and right sides of the sharing area can be selected to display the target applications respectively. The selection of at least one of the dotted-line boxes as the area to be displayed for the target application described above is only an example listed in the present application.

[0139] In actual applications, the relative position between the sharing area and the non-sharing area may also include other forms, for example, the display screen is divided into two left and right areas, the left area can be set as the sharing area, the right area can be set as the non-sharing area, the display screen is divided into two upper and lower areas, the upper area can be set as the sharing area, and the lower area can be set as the non-sharing area. Other forms of the relative position between the sharing area and the non-sharing area are not specifically limited in the embodiments of the present application.

[0140] By adopting the shared content control method provided in the embodiment of the present application, by matching each to-be-matched description information generated based on the identifier of each application currently in running state with the target description information set generated based on the identifier of the preset target application restricted to be shared when sharing the screen, it is determined whether the target application restricted to be shared when sharing the screen is turned on when sharing the screen. The shared target application can be restricted when sharing the screen, and the leakage of relevant information of the target application caused by sharing the screen can be reduced.

[0141] The following describes a specific embodiment of a shared content control method of the present application. Fig.16 It is a flowchart of a method for controlling shared content provided by an embodiment of the present application. This specification provides method operation steps as shown in the embodiment or flowchart, but more or fewer operation steps may be included based on conventional or non-creative labor. The order of steps listed in the embodiment is only one of many execution orders and does not represent the only execution order. In actual execution, the method sequence shown in the embodiment or the accompanying drawings may be executed or executed in parallel (for example, in a parallel processor or multi-threaded processing environment).

[0142] Specific as Fig.16 As shown, the shared content control method can be applied to the management end, and the shared content control method may include:

[0143] S1601: Display the instant messaging management interface.

[0144] In the embodiment of the present application, the instant messaging management interface includes an application adding control and an information input area. The user can trigger the application adding control on the instant messaging management interface by touching, clicking, etc.

[0145] S1603: In response to an add instruction based on adding an application control, and in response to an input operation based on the information input area, display identification information of a target application corresponding to the input operation in the information input area; the target application is a preset application that is restricted from sharing when sharing the screen.

[0146] S1605: In response to the target description information set generation instruction, display the target description information set; the target description information set is generated based on the identification information of the target application.

[0147] In the embodiment of the present application, the instant messaging management interface also includes an application deletion control; the user can trigger the application deletion control on the instant messaging management interface by touching, clicking, etc.

[0148] In some optional implementations, it is possible to preset restrictions on launching sensitive software related to resources, such as banking software, stock software, and fund software, when sharing the screen. It is also possible to preset restrictions on sharing account information and password information of chat software such as QQ and WeChat when sharing the screen. It is also possible to preset restrictions on sharing unselected information of information storage software such as photo viewers and e-book viewers when sharing the screen. Therefore, the sensitive software, chat software, and information storage software mentioned above can all be preset target applications.

[0149] The above method may further include:

[0150] In response to a delete instruction based on an application program delete control, displaying a target description information set;

[0151] In response to a deletion instruction based on any target description information in the target description information set, displaying deletion prompt information; the deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction;

[0152] In response to a confirmed deletion instruction triggered based on the deletion prompt information, an updated target description information set is displayed.

[0153] By adopting the shared content control method provided in the embodiment of the present application, by matching each to-be-matched description information generated based on the identifier of each application currently in running state with the target description information set generated based on the identifier of the preset target application restricted to be shared when sharing the screen, it is determined whether the target application restricted to be shared when sharing the screen is turned on when sharing the screen. The shared target application can be restricted when sharing the screen, and the leakage of relevant information of the target application caused by sharing the screen can be reduced.

[0154] The embodiment of the present application also provides a shared content control device, Fig.17 is a schematic diagram of a structure of a shared content control device provided in an embodiment of the present application, such as Fig.17 As shown, the shared content control device may include:

[0155] The acquisition module 1701 is used to acquire a plurality of description information to be matched when it is detected that the screen sharing process is in a preset state; each description information to be matched is information generated based on the identifier of the application currently in the running state;

[0156] The matching module 1703 is used to match each description information to be matched with the target description information in the target description information set to obtain the target matching degree corresponding to each description information to be matched; the target description information is information generated based on the identifier of the target application, and the target application is a preset application that is restricted from running when sharing the screen;

[0157] The control module 1705 is configured to terminate the screen sharing process if a target matching degree corresponding to at least one of the plurality of description information to be matched is greater than a preset matching degree.

[0158] In some possible implementations, the shared content control device further includes:

[0159] A first generating module, used to display an instant messaging management interface, the instant messaging management interface including an application adding control and an information input area;

[0160] In response to an add instruction for adding a control to an application, receiving identification information of a target application input in an information input area;

[0161] Based on the identification information of the target application, a target description information set is generated.

[0162] In some possible implementations, the shared content control device further includes:

[0163] A second generating module is used to display an instant messaging management interface, wherein the instant messaging management interface includes an application adding control;

[0164] In response to an add instruction for adding a control to an application, a candidate description information set is displayed on an instant messaging management interface; each candidate description information in the candidate description information set is information generated based on an identifier of an installed application;

[0165] In response to a selection instruction for at least one candidate description information in the candidate description information set, a target description information set is generated based on the selected at least one candidate description information.

[0166] In some possible implementations, the shared content control device further includes: an updating module;

[0167] Update modules, including:

[0168] The first response submodule is used to respond to a deletion instruction for any target description information and display deletion prompt information; the deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction;

[0169] A verification submodule, for verifying the deletion instruction and obtaining a verification result if a confirmation deletion instruction triggered by the deletion prompt information is received after the display time of the deletion prompt information meets the preset time;

[0170] The deletion submodule is used to delete the target description information indicated by the deletion instruction if the verification result indicates that the verification is passed, so as to obtain an updated target description information set.

[0171] In some possible implementations, the verification submodule is used to send a verification information acquisition request to the server;

[0172] Receive reference verification information sent by the server; the reference verification information is generated by the server based on the verification information acquisition request;

[0173] A verification request is sent to the server; the verification request carries the information to be verified, and the server is used to match and verify the reference verification information and the information to be verified to obtain the verification result.

[0174] Receive the verification result sent by the server.

[0175] In some possible implementations, the acquisition module is used to display an instant messaging interface; the instant messaging interface includes a shared screen control;

[0176] A trigger instruction for a screen sharing control is received to obtain a plurality of description information to be matched; the trigger instruction is used to control the screen sharing process to be in a sharing state.

[0177] In some possible implementations, the acquisition module is used to acquire a plurality of description information to be matched based on a preset period when the screen sharing process is in a sharing state.

[0178] In some possible implementations, the matching module is used to perform character segmentation processing on each description information to be matched, so as to obtain a first character sequence to be matched corresponding to each description information to be matched;

[0179] Performing character segmentation processing on each target description information in the target description information set to obtain a second to-be-matched character sequence corresponding to each target description information;

[0180] The first to-be-matched character sequence corresponding to each to-be-matched description information is matched with the second to-be-matched character sequence corresponding to each target description information in the target description information set to obtain the target matching degree corresponding to each to-be-matched description information.

[0181] The device and method embodiments in the embodiments of the present application are based on the same application concept.

[0182] The embodiment of the present application also provides a shared content control device, Fig.18 is a schematic diagram of a structure of a shared content control device provided in an embodiment of the present application, such as Fig.18 As shown, the shared content control device may include:

[0183] The first display module 1801 is used to display the instant messaging interface; the instant messaging interface includes a shared screen control;

[0184] The second display module 1803 is used to display the content to be shared in the sharing area in response to a trigger instruction based on the sharing screen control;

[0185] The switching module 1805 is used to perform shielding processing and switch the target application's to-be-displayed area to a non-sharing area when detecting that the target application's to-be-displayed area is a sharing area; the target application is a preset application that is restricted from sharing when sharing the screen.

[0186] In some possible implementations, the switching module 1805 is used to switch the to-be-displayed area of ​​the target application to the status bar area or the background.

[0187] The device and method embodiments in the embodiments of the present application are based on the same application concept.

[0188] The embodiment of the present application also provides a shared content control device, Fig.19 is a schematic diagram of a structure of a shared content control device provided in an embodiment of the present application, such as Fig.19 As shown, the shared content control device may include:

[0189] The third display module 1901 is used to display the instant messaging management interface; the instant messaging management interface includes an application adding control and an information input area;

[0190] The fourth display module 1902 is used to respond to the adding instruction based on the application adding control and the input operation based on the information input area, and display the identification information of the target application corresponding to the input operation in the information input area; the target application is a preset application that is restricted from sharing when sharing the screen;

[0191] The fifth display module 1903 is used to display the target description information set in response to the target description information set generation instruction; the target description information set is generated based on the identification information of the target application.

[0192] In some optional implementations, the instant messaging management interface further includes an application deletion control; and the device further includes:

[0193] a sixth display module, configured to display a target description information set in response to a deletion instruction based on an application program deletion control;

[0194] A seventh display module is used to display deletion prompt information in response to a deletion instruction based on any target description information in the target description information set; the deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction;

[0195] In response to a confirmed deletion instruction triggered based on the deletion prompt information, an updated target description information set is displayed.

[0196] The device and method embodiments in the embodiments of the present application are based on the same application concept.

[0197] An embodiment of the present application provides an electronic device, which includes a processor and a memory, wherein the memory stores at least one instruction or at least one program, and the at least one instruction or the at least one program is loaded and executed by the processor to implement the shared content control method provided in the above method embodiment.

[0198] Fig. 20 1 is a hardware structure diagram of an electronic device provided in an embodiment of the present application for implementing the shared content control method provided in an embodiment of the present application. The electronic device may participate in forming or include the shared content control device provided in an embodiment of the present application. Fig. 20As shown, the electronic device may include one or more (shown by 2001a, 2001b in the figure) processors 2001 (the processor 2001 may include but is not limited to a microprocessor 2001 MCU or a programmable logic device FPGA and other processing devices), a memory 2003 for storing data, and a transmission device 2005 for communication functions. In addition, it may also include: a display, an input / output interface (I / O interface), a universal serial bus (USB) port (which may be included as one of the ports of the I / O interface), a network interface and / or a power supply. It can be understood by those skilled in the art that Fig. 20 The structure shown is only for illustration and does not limit the structure of the above electronic device. Fig. 20 More or fewer components as shown, or with Fig. 20 Different configurations are shown.

[0199] It should be noted that the above-mentioned one or more processors 2001 and / or other data processing circuits may generally be referred to as "data processing circuits" in this application. The data processing circuit may be embodied in whole or in part as software, hardware, firmware, or any other combination thereof. In addition, the data processing circuit may be a single independent processing module, or may be fully or partially integrated into any of the other components in the electronic device (or mobile device). As involved in the embodiments of the present application, the data processing circuit is controlled as a processor 2001 (e.g., the selection of a variable resistor terminal path connected to an interface).

[0200] The memory 2003 can be used to store software programs and modules of application software, such as the program instructions / data storage device corresponding to the shared content control method in the embodiment of the present application. The processor 2001 implements the above-mentioned shared content control method by running the software programs and modules stored in the memory 2003 without executing various functional applications and data processing. The memory 2003 may include a high-speed random access memory, and may also include a non-volatile random access memory 2003, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory 2003. In some possible embodiments, the memory 2003 may further include a memory 2003 remotely arranged relative to the processing, and these remote memories 2003 can be connected to the electronic device through a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof.

[0201] The transmission device 2005 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the electronic device. In one example, the transmission device 2005 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 2005 can be a radio frequency (Radio Frequency, RF) module, which is used to communicate with the Internet wirelessly.

[0202] The display may be, for example, a touch screen type liquid crystal display (LED) that enables a user to interact with a user interface of the electronic device (or mobile device).

[0203] An embodiment of the present application provides a computer-readable storage medium, which can be set in an electronic device to store at least one instruction or at least one program related to implementing a shared content control method in a method embodiment. The at least one instruction or the at least one program is loaded and executed by the processor to implement the shared content control method provided in the above method embodiment.

[0204] Optionally, in this embodiment, the storage medium may be located in at least one of the multiple network servers of the computer network. Optionally, in this embodiment, the storage medium may include, but is not limited to, various media that can store program codes, such as a USB flash drive, a read-only memory (ROM), a random access memory (RAM), a mobile hard disk, a magnetic disk, or an optical disk.

[0205] It should be noted that the order of the above embodiments of the present application is only for description and does not represent the advantages and disadvantages of the embodiments. The above description describes specific embodiments, and other embodiments are also within the scope of the attached claims. In some cases, the actions or steps recorded in the claims can be performed in the order of different embodiments and can achieve the expected results. In addition, the processes depicted in the drawings do not necessarily require a specific order or connection order to achieve the desired results. In some embodiments, multi-task parallel processing is also possible or may be advantageous.

[0206] Each embodiment in this specification is described in a progressive manner, and the same or similar parts between the embodiments can be referred to each other, and each embodiment focuses on the differences from other embodiments. In particular, for the embodiments of the device and the electronic device, since they are based on similar methods, the description is relatively simple, and the relevant parts can be referred to the partial description of the method embodiment.

[0207] The above is a preferred embodiment of the present invention. It should be pointed out that a person skilled in the art can make several improvements and modifications without departing from the principle of the present invention. These improvements and modifications are also considered to be within the scope of protection of the present invention.

Claims

1. A method for controlling shared content, characterized in that: include: When it is detected that the screen sharing process is in a sharing state, multiple description information to be matched is obtained; Each of the description information to be matched is information generated based on the identifier of the application currently in operation; Match each of the description information to be matched with the target description information in the target description information set to obtain the target matching degree corresponding to each of the description information to be matched; the target description information is information generated based on the identifier of the target application, and the target application is a preset application that is restricted from sharing when sharing the screen; If there is at least one description information to be matched among the plurality of description information to be matched whose target matching degree is greater than a preset matching degree, the screen sharing process is terminated.

2. The method according to claim 1, characterized in that: The method further comprises the step of generating the target description information set: Displaying an instant messaging management interface, wherein the instant messaging management interface includes an application adding control and an information input area; In response to an adding instruction for adding a control to the application, receiving identification information of a target application input in the information input area; The target description information set is generated based on the identification information of the target application.

3. The method according to claim 1, characterized in that: The method further comprises the step of generating the target description information set: Displaying an instant messaging management interface, wherein the instant messaging management interface includes an application adding control; In response to an adding instruction for adding a control to the application, displaying a candidate description information set on the instant messaging management interface; Each candidate description information in the candidate description information set is information generated based on the identifier of the installed application; In response to a selection instruction for at least one candidate description information in the candidate description information set, the target description information set is generated based on the selected at least one candidate description information.

4. The method according to claim 1, characterized in that: The method further comprises the step of updating the target description information set: In response to a deletion instruction for any target description information, displaying deletion prompt information; The deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction; After the display time of the deletion prompt information meets the preset time, if a confirmed deletion instruction triggered by the deletion prompt information is received, the deletion instruction is verified to obtain a verification result; If the verification result indicates that the verification is passed, the target description information indicated by the deletion instruction is deleted to obtain an updated target description information set.

5. The method according to claim 4, characterized in that The verifying the deletion instruction includes: Send a request to the server to obtain verification information; Receiving reference verification information sent by the server; the reference verification information is generated by the server based on the verification information acquisition request; Sending a verification request to the server; the verification request carries the information to be verified, and the server is used to match and verify the reference verification information and the information to be verified to obtain the verification result; Receive the verification result sent by the server.

6. The method according to claim 1, characterized in that When it is detected that the screen sharing process is in a sharing state, a plurality of description information to be matched is obtained, including: Displaying an instant messaging interface; the instant messaging interface including a shared screen control; A trigger instruction for the screen sharing control is received to obtain a plurality of description information to be matched; the trigger instruction is used to control the screen sharing process to be in the sharing state.

7. The method according to claim 1, characterized in that When it is detected that the screen sharing process is in a sharing state, a plurality of description information to be matched is obtained, including: When the screen sharing process is in the sharing state, a plurality of description information to be matched is obtained based on a preset period.

8. The method according to claim 1, characterized in that The step of matching each of the description information to be matched with the target description information in the target description information set to obtain the target matching degree corresponding to each of the description information to be matched includes: Performing character segmentation processing on each of the description information to be matched to obtain a first character sequence to be matched corresponding to each of the description information to be matched; Performing character segmentation processing on each target description information in the target description information set to obtain a second to-be-matched character sequence corresponding to each target description information; The first character sequence to be matched corresponding to each of the description information to be matched is matched with the second character sequence to be matched corresponding to each of the target description information in the target description information set to obtain the target matching degree corresponding to each of the description information to be matched.

9. A method for controlling shared content, characterized in that: include: Display the instant messaging interface; The instant messaging interface includes a shared screen control; In response to a trigger instruction based on the sharing screen control, displaying the content to be shared in the sharing area; When it is detected that the area to be displayed of the target application is the sharing area, shielding processing is performed to switch the area to be displayed of the target application to a non-sharing area; the target application is a preset application that is restricted from sharing when sharing the screen.

10. The method according to claim 9, characterized in that The step of switching the to-be-displayed area of ​​the target application to a non-sharing area includes: The area to be displayed of the target application is switched to the status bar area or the background.

11. A method for controlling shared content, characterized in that: include: Display the instant messaging management interface; The instant messaging management interface includes an application adding control and an information input area; In response to an adding instruction based on the application to add a control, and in response to an input operation based on the information input area, displaying identification information of a target application corresponding to the input operation in the information input area; the target application is a preset application that is restricted from sharing when sharing the screen; In response to the target description information set generation instruction, a target description information set is displayed; the target description information set includes identification information of the target application.

12. The method according to claim 11, characterized in that The instant messaging management interface also includes an application deletion control; The method further comprises: In response to a deletion instruction based on the application deletion control, displaying the target description information set; In response to a deletion instruction based on any target description information in the target description information set, displaying deletion prompt information; the deletion prompt information is used to prompt the associated consequences corresponding to the deletion instruction; In response to a confirmed deletion instruction triggered based on the deletion prompt information, an updated target description information set is displayed.

13. A shared content control device, characterized in that: include: An acquisition module, used for acquiring a plurality of description information to be matched when it is detected that the screen sharing process is in a preset state; Each of the description information to be matched is information generated based on the identifier of the application currently in operation; A matching module, used to match each of the description information to be matched with the target description information in the target description information set, and obtain the target matching degree corresponding to each of the description information to be matched; the target description information is information generated based on the identifier of the target application, and the target application is a preset application that is restricted from sharing when sharing the screen; The control module is used to terminate the screen sharing process if there is at least one description information to be matched among the plurality of description information to be matched whose target matching degree is greater than a preset matching degree.

14. A shared content control device, characterized in that: include: The first display module is used to display the instant messaging interface; The instant messaging interface includes a shared screen control; A second display module, configured to display the content to be shared in the sharing area in response to a trigger instruction based on the sharing screen control; The switching module is used to perform shielding processing and switch the target application's to-be-displayed area to a non-sharing area when detecting that the target application's to-be-displayed area is the sharing area; the target application is a preset application that is restricted from sharing when sharing the screen.

15. A shared content control device, characterized in that: include: The third display module is used to display the instant messaging management interface; The instant messaging management interface includes an application adding control and an information input area; a fourth display module, configured to respond to an adding instruction based on the application to add a control, and respond to an input operation based on the information input area, and display identification information of a target application corresponding to the input operation in the information input area; the target application is a preset application that is restricted from sharing when sharing a screen; a fifth display module, configured to display the target description information set in response to the target description information set generation instruction; The target description information set is generated based on the identification information of the target application.

Citation Information

Patent Citations

  • Electronic device and protective method of application program thereof when screen sharing is conducted

    CN103092510A

  • Screen sharing method, terminal and computer readable storage medium

    CN107580105A

  • Output control method and electronic equipment

    CN114610434A

  • Sharing of Multimedia Content

    US20170249120A1