Method, terminal and storage medium for limiting screen sharing
By presetting screen sharing restrictions on terminal devices and determining the acquisition area, the problem of insufficient privacy and security in screen sharing is solved, and a higher privacy protection effect is achieved.
Patent Information
- Application Number
- CN202111177169.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-09
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2041-10-09
AI Technical Summary
The lack of privacy and security protection of existing screen sharing technologies when passing screen data, which may lead to user privacy leakage.
By presetting screen sharing restrictions on the terminal device, the screen area that can be collected is determined, and the corresponding screen data is collected and sent after receiving the screen sharing request is received, ensuring that only authorized areas and data are shared.
Effectively improve the privacy and security of screen sharing and prevent unauthorized leakage of user privacy information.
Smart Images

Figure CN115952565B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of mobile communication technology, and in particular to a method, a terminal and a storage medium for limiting screen sharing. Background Art
[0002] With the continuous development of information technology, video calls using mobile phones and other terminals have become a common way of communication in people's daily lives. Screen sharing allows communication to not only stay at the voice and video level, but also to annotate and explain the screen. With the help of the screen sharing function, children can remotely guide their elderly parents to use mobile phones, young parents can guide their children to do homework, and supervisors can remotely guide their subordinates to make work arrangements. This visual "hand, eye, and mouth" method greatly improves the interactive experience and communication efficiency. However, the current screen sharing service presents the mobile phone to the other party without reservation, which will bring privacy and security risks. Summary of the invention
[0003] Based on this, the embodiments of the present application provide a method, a terminal, and a storage medium for limiting screen sharing, which can effectively improve the privacy and security of screen sharing.
[0004] In a first aspect, the present application provides a method for limiting screen sharing, the method comprising:
[0005] The first terminal establishes a video call with the second terminal;
[0006] According to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, the first terminal performs corresponding operations and / or determines a screen area that can be captured;
[0007] Collecting screen data of the first terminal according to a screen area after the first terminal performs a corresponding operation and / or a screen area that can be collected;
[0008] The first terminal sends the screen data to the second terminal, so that the second terminal displays according to the screen data.
[0009] In a second aspect, the present application provides a terminal, comprising a communication circuit, a memory, and a processor, wherein the communication circuit is used for communication; the memory is used to store a computer program; and the processor is used to execute the computer program and implement the method of limiting screen sharing as described above when executing the computer program.
[0010] In a third aspect, the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method for limiting screen sharing as described above.
[0011] The embodiment of the present application provides a method, terminal and storage medium for limiting screen sharing, wherein a first terminal establishes a video call with a second terminal; according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, the first terminal performs a corresponding operation and / or determines the screen area that can be collected; according to the screen area after the first terminal performs the corresponding operation and / or the screen area that can be collected, the screen data of the first terminal is collected; the first terminal sends the screen data to the second terminal so that the second terminal displays according to the screen data. Since the screen sharing restriction requirement is preset, when the screen sharing request of the second terminal is received, combined with the pre-set screen sharing restriction requirement, the first terminal performs the corresponding operation and / or determines the screen area that can be collected, and then collects the screen data of the first terminal and sends it to the second terminal. In this way, the first terminal can be prevented from being presented to the second terminal without reservation, and the privacy security of the first terminal when sharing the screen can be effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0012] Figure 1 This is a flowchart of an embodiment of a method for limiting screen sharing of the present application;
[0013] Figure 2 It is a structural diagram of an embodiment of a first terminal in a method for limiting screen sharing of the present application;
[0014] Figure 3 is a flowchart of another embodiment of the method for limiting screen sharing of the present application;
[0015] Figure 4 It is a schematic diagram of an embodiment of closing the notification function of an application in the method for limiting screen sharing of the present application;
[0016] Figure 5 It is a structural diagram of an embodiment of a terminal of the present application. DETAILED DESCRIPTION
[0017] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0018] The flowcharts shown in the accompanying drawings are only examples and do not necessarily include all the contents and operations / steps, nor must they be executed in the order described. For example, some operations / steps may also be decomposed, combined or partially merged, so the actual execution order may change according to actual conditions.
[0019] In the subsequent description, the suffixes such as "module", "component" or "unit" used to represent elements are only used to facilitate the description of the present application, and have no special meanings. Therefore, "module", "component" or "unit" can be used in a mixed manner.
[0020] See also Figure 1 , Figure 1 1 is a flow chart of an embodiment of a method for limiting screen sharing of the present application. The method comprises step S11, step S12, step S13 and step S14.
[0021] Step S11: The first terminal establishes a video call with the second terminal.
[0022] When the first terminal passively receives a video call request from the second terminal, or when the first terminal actively sends a video call request to the second terminal, the first terminal establishes a video call with the second terminal.
[0023] Step S12: According to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, the first terminal performs corresponding operations and / or determines a screen area that can be captured.
[0024] Screen sharing is a common function in video conferencing, online classes, game live streaming, etc. Screen sharing can be real-time sharing of the screen image.
[0025] The screen sharing request may be sent together with the video call request when the second terminal sends the video call request to the first terminal, or may be sent to the first terminal during the video call.
[0026] The preset screen sharing restriction requirements may refer to the restrictive requirements for screen sharing pre-set by the first terminal, including but not limited to: areas that can be shared during screen sharing, areas that cannot be shared during screen sharing, applications that can be shared during screen sharing, applications that cannot be shared during screen sharing, applications that need to be hidden during screen sharing, applications that need to turn off notification functions during screen sharing, applications that are prohibited from remote access during screen sharing, and the like.
[0027] The screen sharing restriction requirement may be a combination of two or more of the above-mentioned restriction requirements. For example, the screen sharing restriction requirement includes the area that can be shared during screen sharing and the applications that can be shared during screen sharing. Another example, the screen sharing restriction requirement includes the applications that need to be hidden during screen sharing and the applications that need to turn off the notification function during screen sharing. Another example, the screen sharing restriction requirement includes the area that can be shared during screen sharing, the applications that need to turn off the notification function during screen sharing, and the applications that are prohibited from remote access during screen sharing.
[0028] The screen sharing restriction requirements can be flexibly set according to the needs of the user, or can be automatically set by the system, or the user can add settings based on the automatic settings of the system according to his own needs.
[0029] When receiving a screen sharing request from the second terminal, in combination with the screen sharing restriction requirements pre-set by the first terminal, the first terminal performs corresponding operations to meet the screen sharing restriction requirements, and / or the first terminal determines the screen area that can be collected to meet the screen sharing restriction requirements. In this way, the first terminal can be prevented from being presented to the second terminal without reservation, and the privacy security of the first terminal when sharing the screen can be effectively improved.
[0030] Step S13: collecting screen data of the first terminal according to the screen area after the first terminal performs a corresponding operation and / or the screen area that can be collected.
[0031] Step S14: the first terminal sends the screen data to the second terminal, so that the second terminal displays according to the screen data.
[0032] Screen capture (i.e. screen recording) is the basis for screen sharing. Generally speaking, when sharing a screen in real time, the sharing initiator captures the screen of the specified source at a fixed sampling frequency, and after video encoding and compression, distributes it on the real-time network at a corresponding frame rate.
[0033] In the embodiment of the present application, a first terminal establishes a video call with a second terminal; according to the screen sharing request of the second terminal and the screen sharing restriction requirements preset by the first terminal, the first terminal performs corresponding operations and / or determines the screen area that can be collected; according to the screen area after the first terminal performs the corresponding operation and / or the screen area that can be collected, the screen data of the first terminal is collected; the first terminal sends the screen data to the second terminal, so that the second terminal displays according to the screen data. Since the screen sharing restriction requirements are preset, when the screen sharing request of the second terminal is received, combined with the pre-set screen sharing restriction requirements, the first terminal performs the corresponding operations and / or determines the screen area that can be collected, and then collects the screen data of the first terminal and sends it to the second terminal. In this way, it can avoid the first terminal from being presented to the second terminal without reservation, and can effectively improve the privacy security of the first terminal when sharing the screen.
[0034] The screen sharing restriction requirements and the details of step S12 and step S13 are described in detail below.
[0035] In one embodiment, the screen sharing restriction requirement includes a preset limited area that can be shared during screen sharing.
[0036] At this time, step S12, according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, the first terminal performs a corresponding operation and / or determines the screen area that can be collected, which may include: determining the screen area that can be collected according to the screen sharing request and the preset limited area that can be shared during screen sharing; step S13, according to the screen area after the first terminal performs the corresponding operation and / or the screen area that can be collected, collecting the screen data of the first terminal, may include: collecting the screen data within the preset limited area on the first terminal.
[0037] In one embodiment, the screen sharing restriction requirement includes a first preset application that can be shared during screen sharing. The number of the first preset application can be one or more.
[0038] At this time, step S12, the first terminal performing corresponding operations and / or determining the screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, may include:
[0039] According to the screen sharing request and a first preset application that can be shared during screen sharing, it is determined whether the foreground application belongs to the first preset application.
[0040] If the foreground application is an application in the first preset application, it is determined that the screen area that can be captured is all areas.
[0041] If the foreground application does not belong to the first preset application, the screen area that can be captured is determined to be an area outside the display window of the foreground application.
[0042] Step S13, collecting screen data of the first terminal according to the screen area after the first terminal performs the corresponding operation and / or the screen area that can be collected, may include:
[0043] If the foreground application is an application in the first preset application, screen data of all areas on the first terminal are collected.
[0044] If the foreground application does not belong to the first preset application, screen data of the area outside the display window of the foreground application on the first terminal is collected.
[0045] The foreground application belongs to the application in the first preset application, which means that the foreground application can be shared during screen sharing, so the screen area that can be captured is the entire area; the foreground application does not belong to the application in the first preset application, which means that the foreground application cannot be shared during screen sharing, so the screen area that can be captured is the area outside the display window of the foreground application.
[0046] In one embodiment, the screen sharing restriction requirement includes a second preset application that needs to be hidden during screen sharing. The number of the second preset application can be one or more.
[0047] At this time, step S12, the first terminal performing corresponding operations and / or determining the screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, may include: according to the screen sharing request and the second preset application that needs to be hidden during screen sharing, the first terminal hiding the second preset application;
[0048] Step S13, collecting screen data of the first terminal according to the screen area after the first terminal performs the corresponding operation and / or the screen area that can be collected, may include: collecting screen data of all areas on the first terminal after the first terminal hides the second preset application.
[0049] After the first terminal hides the second preset application, the second preset application will not be displayed on the screen, so all areas on the first terminal can be collected.
[0050] In one embodiment, the screen sharing restriction requirement includes a third preset application program that needs to turn off a notification function during screen sharing. The number of the third preset application programs may be one or more.
[0051] At this time, step S12, the first terminal performing corresponding operations and / or determining the screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, may include: according to the screen sharing request and a third preset application whose notification function needs to be turned off during screen sharing, the first terminal turning off the notification function of the third preset application;
[0052] Step S13, collecting screen data of the first terminal according to the screen area after the first terminal performs the corresponding operation and / or the screen area that can be collected, includes: after the first terminal turns off the notification function of the third preset application, collecting screen data of all areas on the first terminal.
[0053] The notification function of the third preset application needs to be turned off during screen sharing. Therefore, after the first terminal turns off the notification function of the third preset application, the notification function of the third preset application is disabled during screen sharing, and all areas on the first terminal can be collected.
[0054] In one embodiment, the screen sharing restriction requirement includes a fourth preset application program that is prohibited from being remotely accessed during screen sharing. The number of the fourth preset application programs may be one or more.
[0055] At this time, step S12, the first terminal performing corresponding operations and / or determining the screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, may include:
[0056] According to the screen sharing request, the received instruction for starting the designated application and a fourth preset application that is prohibited from remote access during screen sharing, it is determined whether the designated application is an application in the fourth preset application.
[0057] If the designated application is an application in the fourth preset application, the first terminal discards the instruction.
[0058] If the designated application does not belong to the fourth preset application, the first terminal starts the designated application.
[0059] Step S13, collecting screen data of the first terminal according to the screen area after the first terminal executes the corresponding operation and / or the screen area that can be collected, may include: collecting screen data of all areas on the first terminal after the first terminal discards the instruction or starts the specified application.
[0060] In this embodiment, the screen sharing restriction requirement includes a fourth preset application that is prohibited from remote access during screen sharing. When the screen sharing request includes an instruction for starting a specified application, it is necessary to determine whether the specified application belongs to the fourth preset application that is prohibited from remote access. If it does, the second terminal needs to be prohibited from accessing it, so the instruction is discarded and not executed; if it does not belong, the instruction can be executed, and the first terminal starts the specified application. After the first terminal discards the instruction or starts the specified application, all areas on the first terminal can be collected.
[0061] The method of the embodiment of the present application can be used in combination with a dedicated video call application, or it can be directly used in combination with the video call function of the terminal. If used in combination with a dedicated video call application, the user needs to download and install the corresponding application, and the video call function of the terminal is basically a standard configuration of each terminal. Therefore, in one embodiment, the method of this embodiment is directly combined with the video call function of the terminal, and the user does not need to download and install a special application to effectively improve the privacy security during screen sharing. In actual applications, the first terminal can display a "screen sharing privacy protection" switch in the settings menu and call interface. Turning on the switch indicates that the method of this embodiment needs to be implemented to achieve screen sharing privacy protection.
[0062] The video call channel usually transmits limited data types, such as audio and video, and cannot transmit data types such as pictures and data links. Therefore, when the method of this embodiment is used in conjunction with the video call function of the terminal, a data channel is established, and the collected screen data is transmitted through the data channel, so that more data types can be transmitted.
[0063] In one embodiment, step S12, before the first terminal performs a corresponding operation and / or determines a screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, may also include: step S15.
[0064] Step S15: According to the data channel establishment request of the second terminal, the first terminal establishes a data channel.
[0065] At this time, step S14, the first terminal sending the screen data to the second terminal may include: the first terminal sending the screen data to the second terminal through the data channel.
[0066] As an enhanced form of call service based on the IP Multimedia Subsystem (IMS) data channel architecture, the 5G new call solution has high-definition, visual, and interactive features, which will effectively improve the user call experience in the 5G era. The 5G new call solution has realized business scenarios such as multimedia caller ID, visual menus, screen sharing, and AR tagging, which not only upgrades the call experience of individual users, but also brings new capabilities that fit industry communication scenarios to industry users. In one embodiment, the data channel establishment request is carried in the video call request; at this time, step S15, the first terminal establishes a data channel according to the data channel establishment request of the second terminal, which may include: monitoring the Session Initiation Protocol (SIP) signaling of the second terminal, parsing the dcmap field in the Session Description Protocol (SDP) offer message in the Session Initiation Protocol signaling, and the first terminal establishes a data channel.
[0067] According to the 3GPP TS 26.114 specification, the dcmap field indicates that a data channel needs to be established. The data channel can be a Bootstrap data channel, which is a data channel with a Stream ID less than 1000, and is used by the terminal to obtain a Hyper Text Markup Language (HTML) web page from the network side, i.e., a data channel application defined in the 3GPP TS26.114 specification. The application generally includes HTML, JavaScript scripts, Cascading Style Sheets (CSS), etc. The data channel can also be a non-Bootstrap data channel, which is used to transmit data information required by the data channel application.
[0068] The first terminal sends a SIP UPDATE signaling carrying a dcmap field to the network side, and then establishes a data channel with a data server on the network side or a remote second terminal.
[0069] The complete process of the method in the embodiment of the present application in practical application is described in detail below.
[0070] The first terminal of this embodiment includes a call module 101, a monitoring module 102, a data channel management module 103, a setting module 104, a collection module 105, a sending module 106, a whitelist management module 107, a desktop management module 108, and a receiving module 109. Figure 2 shown.
[0071] The call module 101 is used to establish, maintain, and hang up a call. The monitoring module 102 is used to monitor whether a data channel establishment request is received, whether a "screen sharing" request is received, etc. The data channel management module 103 is used to establish, maintain, and release a data channel. The setting module 104 is used to limit the area of the first terminal screen sharing, limit the application of the first terminal screen sharing, hide unnecessary applications, disable the notification function of unnecessary applications, limit the application of remote access, etc. The acquisition module 105 is used to collect the screen data of the first terminal. The sending module 106 is used to send the screen data of the first terminal to the second terminal. The whitelist management module 107 is used to manage the list of applications that can be screen shared by the first terminal, the list of applications that need to be hidden when screen sharing, the list of applications that need to turn off the notification function when screen sharing, and the list of applications that are prohibited from remote access when screen sharing. The desktop management module 108 is used to manage the display, hiding, and startup of the first terminal application. The receiving module 109 is used to receive instructions from the data channel of the screen sharing service.
[0072] [Example 1] This embodiment limits the screen sharing area during screen sharing. Figure 3 As shown, the specific process is:
[0073] Step S101: The call module 101 receives a VoNR video call.
[0074] Step S102: monitoring whether the module 102 receives a data channel establishment request.
[0075] Judgment C101: Received?
[0076] If yes, continue to execute step S103; if no, execute step S102.
[0077] Step S103: the data channel management module 103 establishes a data channel.
[0078] Step S104: monitoring whether the module 102 receives a “screen sharing” request.
[0079] Judgment C102: Received?
[0080] If yes, continue to execute step S105; if no, execute step S104.
[0081] Step S105: The user accepts the “screen sharing” request.
[0082] Step S106: the data channel management module 103 establishes a data channel for the screen sharing service.
[0083] Step S107: the setting module 104 determines whether to limit the area of the screen sharing of the first terminal (ie, the preset limited area that can be shared during screen sharing).
[0084] Judgment C103: Is it limited?
[0085] If yes, continue to execute step S108; if no, execute step S109.
[0086] Step S108: the acquisition module 105 acquires the screen data within the limited area (ie, the screen data within the preset limited area). Then, the process continues with step S110.
[0087] Step S109: the acquisition module 105 acquires screen data in all areas.
[0088] Step S110: the sending module 106 sends the screen data collected in real time by the collecting module 105 to the second terminal through the data channel.
[0089] Step S111: This session ends.
[0090] The calls involved in this embodiment include, but are not limited to, IMS-type calls such as voice calls based on new wireless (VoNR, Voice over New Radio), voice calls based on LTE (VoLTE, Voice over LTE), and voice calls based on WiFi (VoWiFi, Voice over WiFi).
[0091] [Example 2] This embodiment limits the applications that can be shared during screen sharing. The specific process is as follows:
[0092] Step S201: The call module 101 receives a VoNR video call.
[0093] Step S202: monitoring whether the module 102 receives a data channel establishment request.
[0094] Judgment C201: Received?
[0095] If yes, continue to execute step S203; if no, execute step S202.
[0096] Step S203: the data channel management module 103 establishes a data channel.
[0097] Step S204: monitoring whether the module 102 receives a “screen sharing” request.
[0098] Judgment C202: Received?
[0099] If yes, continue to execute step S205; if no, execute step S204.
[0100] Step S205: The user accepts the “screen sharing” request.
[0101] Step S206: the data channel management module 103 establishes a data channel for the screen sharing service.
[0102] Step S207: the setting module 104 queries whether to limit the applications that can be shared when the first terminal screen is shared.
[0103] Judgment C203: Is it limited?
[0104] If yes, continue to execute step S208; if no, execute step S209.
[0105] Step S208: the whitelist management module 107 queries whether the foreground application is in the whitelist of applications that can be shared during screen sharing.
[0106] Judge C204: Is it in the whitelist?
[0107] If yes, continue to execute step S209; if no, execute step S210.
[0108] Step S209: the acquisition module 105 acquires screen data in all areas. Then, the process continues with step S211.
[0109] Step S210: the acquisition module 105 acquires screen data of the area outside the display window of the foreground application.
[0110] Step S211: the sending module 106 sends the screen data collected in real time by the collecting module 105 to the second terminal through the data channel.
[0111] Step S212: This session ends.
[0112] [Example 3] This embodiment requires hiding pre-set applications during screen sharing. The specific process is as follows:
[0113] Step S301: The call module 101 receives a VoNR video call.
[0114] Step S302: monitoring whether the module 102 receives a data channel establishment request.
[0115] Judgment C301: Have you received it?
[0116] If yes, continue to execute step S303; if no, execute step S302.
[0117] Step S303: the data channel management module 103 establishes a data channel.
[0118] Step S304: monitoring whether the module 102 receives a “screen sharing” request.
[0119] Judgment C302: Received?
[0120] If yes, continue to execute step S305; if no, execute step S304.
[0121] Step S305: The user accepts the “screen sharing” request.
[0122] Step S306: the data channel management module 103 establishes a data channel for the screen sharing service.
[0123] Step S307: the setting module 104 queries whether an application that needs to be hidden by the first terminal during screen sharing is set.
[0124] Judgment C303: Is it set?
[0125] If yes, continue to execute step S308; if no, execute step S310.
[0126] Step S308: the whitelist management module 107 queries the list of applications that the first terminal needs to hide during screen sharing.
[0127] Step S309: the desktop management module 108 hides the application programs found by the whitelist management module 107 .
[0128] Step S310: the acquisition module 105 acquires screen data in all areas.
[0129] Step S311: the sending module 106 sends the screen data collected in real time by the collecting module 105 to the second terminal through the data channel.
[0130] Step S312: This session ends.
[0131] [Example 4] This embodiment requires disabling unnecessary notification functions of applications during screen sharing. The specific process is as follows:
[0132] Step S401: The call module 101 receives a VoNR video call.
[0133] Step S402: monitoring whether the module 102 receives a data channel establishment request.
[0134] Judgment C401: Have you received it?
[0135] If yes, continue to execute step S403; if no, execute step S402.
[0136] Step S403: the data channel management module 103 establishes a data channel.
[0137] Step S404: the monitoring module 102 monitors whether a “screen sharing” request is received.
[0138] Judgment C402: Have you received it?
[0139] If yes, continue to execute step S405; if no, execute step S404.
[0140] Step S405: The user accepts the “screen sharing” request.
[0141] Step S406: the data channel management module 103 establishes a data channel for the screen sharing service.
[0142] Step S407: the setting module 104 queries whether the first terminal needs to disable unnecessary notification functions of the application when screen sharing is set.
[0143] Judgment C403: Is it set?
[0144] If yes, continue to execute step S408; if no, execute step S410.
[0145] Step S408: the whitelist management module 107 queries a list of applications whose notification function needs to be disabled when the first terminal shares the screen.
[0146] Step S409: The desktop management module 108 turns off the notification function of the application found by the whitelist management module 107. Figure 4 shown.
[0147] Step S410: the acquisition module 105 acquires screen data in all areas.
[0148] Step S411: the sending module 106 sends the screen data collected in real time by the collecting module 105 to the second terminal through the data channel.
[0149] Step S412: This session ends.
[0150] [Example 5] This embodiment requires prohibiting remote access to pre-set applications during screen sharing. The specific process is as follows:
[0151] Step S501: The call module 101 receives a VoNR video call.
[0152] Step S502: monitoring whether the module 102 receives a data channel establishment request.
[0153] Judgment C501: Received?
[0154] If yes, continue to execute step S503; if no, execute step S502.
[0155] Step S503: the data channel management module 103 establishes a data channel.
[0156] Step S504: monitoring whether the module 102 receives a “screen sharing” request.
[0157] Judgment C502: Received?
[0158] If yes, continue to execute step S505; if no, execute step S504.
[0159] Step S505: The user accepts the “screen sharing” request.
[0160] Step S506: the data channel management module 103 establishes a data channel for the screen sharing service.
[0161] Step S507: the receiving module 109 receives an instruction from the data channel of the screen sharing service.
[0162] Decision C503: Is this instruction used to start the specified application?
[0163] If yes, continue to execute step S508; if no, execute step S507.
[0164] Step S508: the setting module 104 queries whether an application program is set to prohibit remote access during screen sharing.
[0165] Judgment C504: Is it set?
[0166] If yes, continue to execute step S509; if no, execute step S511.
[0167] Step S509: the whitelist management module 107 queries a list of applications that are prohibited from remote access during screen sharing.
[0168] Decision C505: Is the specified application in the list of applications prohibited from remote access?
[0169] If yes, continue to execute step S510; if no, execute step S511.
[0170] Step S510: The desktop management module 108 discards the instruction to start the specified application program. Then, step S512 is executed.
[0171] Step S511: The desktop management module 108 starts a specified application.
[0172] Step S512: the acquisition module 105 acquires screen data in all areas.
[0173] Step S513: the sending module 106 sends the screen data collected in real time by the collecting module 105 to the second terminal through the data channel.
[0174] Step S514: This session ends.
[0175] See also Figure 5 , Figure 5 It is a structural diagram of an embodiment of a terminal of the present application. It should be noted that the terminal of this embodiment can implement the above-mentioned method of limiting screen sharing. For detailed description of the relevant content, please refer to the above-mentioned method part, which will not be repeated here.
[0176] The terminal 100 includes a communication circuit 3, a memory 1 and a processor 2, wherein the communication circuit 3 is used for communication; the memory 1 is used for storing computer programs; the processor 2 is used for executing the computer program and implementing any of the above methods for limiting screen sharing when executing the computer program.
[0177] The processor 2 may be a microcontroller unit, a central processing unit or a digital signal processor, etc. The memory 1 may be a Flash chip, a read-only memory, a disk, an optical disk, a USB disk or a mobile hard disk, etc.
[0178] The present application also provides a computer-readable storage medium, wherein the computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements any of the above methods for limiting screen sharing.
[0179] The computer-readable storage medium may be an internal storage unit of the terminal, such as a hard disk or a memory. The computer-readable storage medium may also be an external storage device of the terminal, such as a plug-in hard disk, a smart memory card, a secure digital card, a flash memory card, etc.
[0180] Those skilled in the art will appreciate that all or some of the steps in the methods disclosed above, and the functional modules / units in the systems and devices may be implemented as software, firmware, hardware, or a suitable combination thereof.
[0181] In hardware implementation, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component may have multiple functions, or a function or step may be performed by several physical components in cooperation. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or non-transitory medium) and a communication medium (or temporary medium). As known to those of ordinary skill in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.
[0182] The preferred embodiments of the present application are described above with reference to the accompanying drawings, but the scope of the present application is not limited thereby. Any modification, equivalent substitution and improvement made by a person skilled in the art without departing from the scope and essence of the present application shall be within the scope of the present application.
Claims
1. A method for limiting screen sharing, characterized in that: The method is used for the video call function of the terminal standard configuration, and the method includes: The first terminal receives a session initiation protocol signaling for requesting a video call from the second terminal, wherein the session initiation protocol signaling includes a dcmap field based on the IP multimedia subsystem for indicating a request for the first terminal to establish a data channel; In response to the session initiation protocol signaling of the second terminal, the first terminal establishes a video call with the second terminal, and the first terminal sends a session initiation protocol update signaling carrying the dcmap field to the network side to establish a data channel with the second terminal, where the data channel is used to transfer screen data collected in the video call established between the first terminal and the second terminal; According to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, the first terminal performs a corresponding operation for closing notifications of the application and determines a screen area that can be captured, wherein the screen sharing restriction requirement is used to disable notifications of the application on the first terminal; Collecting screen data of the first terminal according to the screen area after the first terminal closes the notification of the application and the screen area that can be collected, wherein the screen data of the first terminal does not include the notification of the application closed by the first terminal; The first terminal sends the screen data to the second terminal through the data channel, so that the second terminal displays the screen area of the first terminal according to the screen data and does not display the notification of the application closed by the first terminal.
2. The method according to claim 1, characterized in that The screen sharing restriction requirement includes a preset limited area that can be shared during screen sharing. The first terminal performing a corresponding operation for closing a notification of an application and determining a screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, comprises: Determining a screen area that can be captured according to the screen sharing request and a preset limited area that can be shared during screen sharing; The collecting screen data of the first terminal according to the screen area after the first terminal closes the notification of the application and the screen area that can be collected includes: Collect screen data within the preset limited area on the first terminal.
3. The method according to claim 1, characterized in that The screen sharing restriction requirement includes a first preset application that can be shared during screen sharing. The first terminal performing a corresponding operation for closing a notification of an application and determining a screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, comprises: Determine, according to the screen sharing request and a first preset application that can be shared during screen sharing, whether the foreground application belongs to an application in the first preset application; If the foreground application belongs to the first preset application, determining that the screen area that can be captured is all areas; If the foreground application does not belong to the first preset application, the screen area that can be captured is determined to be an area outside the display window of the foreground application.
4. The method according to claim 1, characterized in that: The screen sharing restriction requirement includes a second preset application that needs to be hidden during screen sharing. The first terminal performing a corresponding operation for closing a notification of an application and determining a screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, comprises: According to the screen sharing request and the second preset application that needs to be hidden during screen sharing, the first terminal hides the second preset application; The collecting screen data of the first terminal according to the screen area after the first terminal executes the notification of closing the application and the screen area that can be collected, comprises: After the first terminal hides the second preset application, screen data of all areas on the first terminal are collected.
5. The method according to claim 1, characterized in that The screen sharing restriction requirement includes a third preset application that needs to turn off a notification function during screen sharing to disable notifications of the application on the first terminal, The first terminal performing a corresponding operation for closing a notification of an application and determining a screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, comprises: According to the screen sharing request and a third preset application whose notification function needs to be disabled during screen sharing, the first terminal disables the notification function of the third preset application; The collecting screen data of the first terminal according to the screen area after the first terminal executes the notification of closing the application and the screen area that can be collected, comprises: After the first terminal turns off the notification function of the third preset application, screen data of all areas on the first terminal are collected.
6. The method according to claim 1, characterized in that The screen sharing restriction requirement includes a fourth preset application program that is prohibited from remote access during screen sharing, and the screen sharing request includes an instruction for starting a specified application program. The first terminal performing a corresponding operation for closing a notification of an application and determining a screen area that can be captured according to the screen sharing request of the second terminal and the screen sharing restriction requirement preset by the first terminal, comprises: determining whether the designated application belongs to the fourth preset application according to the screen sharing request, the received instruction for starting the designated application, and the fourth preset application that is prohibited from remote access during screen sharing; If the designated application belongs to the fourth preset application, the first terminal discards the instruction; If the designated application does not belong to the fourth preset application, the first terminal starts the designated application; The collecting screen data of the first terminal according to the screen area after the first terminal executes the notification of closing the application and the screen area that can be collected, comprises: After the first terminal discards the instruction or starts the designated application, screen data of all areas on the first terminal are collected.
7. A terminal, characterized in that: The terminal includes a communication circuit, a memory and a processor, the communication circuit is used for communication; the memory is used to store a computer program; the processor is used to execute the computer program and implement the method for limiting screen sharing as described in any one of claims 1-6 when executing the computer program.
8. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the processor implements the method for limiting screen sharing according to any one of claims 1 to 6.
Citation Information
Patent Citations
Screen sharing method, mobile terminal and computer readable storage medium
CN110069229A
Shared screen control method, terminal and device and readable storage medium
CN110798652A
Content sharing method and electronic equipment
CN111049991A
Navigation assistance from a trusted device
US10244031B1