Remote control interface display method, system, device and storage medium

By detecting and blocking the area to be blocked in the display interface of the second device in the remote control scenario, the problem of information leakage is solved and information security is improved.

CN113642053BActive Publication Date: 2024-09-17SHENZHEN ZOLON TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202110824759.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-07-21
Publication Date
2024-09-17
Estimated Expiration
2041-07-21

AI Technical Summary

Technical Problem

In a remote control scenario, the information in the private area of ​​the display interface of the first device to the second device is easily leaked, leading to information security issues.

Method used

By detecting the operation instructions in the first device and determining the information of the area to be blocked, a blocking instruction is sent to the second device to block the corresponding area, thereby avoiding information leakage.

Benefits of technology

It effectively blocks sensitive information in the display interface of the second device, prevents information leakage, and improves information security during remote control.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113642053B
    Figure CN113642053B
Patent Text Reader

Abstract

The present application provides a method, system, device and storage medium for remote control interface display, and relates to the field of terminal technology. The method includes: based on a first display window displayed in the first device, detecting a first operation, the first display window displays the display interface of the second device, the first operation is an operation for instructing the second device to block the area to be blocked in the display interface of the second device; based on the first operation, determining the area information of the area; based on the area information, sending a blocking instruction to the second device, the blocking instruction is used to instruct the second device to block the area based on the area information. Through the solution provided by the present application, it is possible to avoid information leakage of the privacy area in the display interface of the controlled device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application belongs to the field of terminal technology, and in particular, relates to a method, system, device and storage medium for remote control interface display. Background Art

[0002] At present, in order to smoothly carry out work tasks, data interaction between the first device and the second device is often required. For example, the first device remotely assists the second device to control the second device, obtain control over the display interface of the second device, and perform corresponding assistance activities.

[0003] However, currently when the first device remotely assists the second device, some privacy areas such as account login and password input will be directly displayed on the display interface of the second device, thereby being seen by the user of the second device, causing information leakage. Summary of the invention

[0004] Embodiments of the present application provide a method, system, device, and storage medium for remotely controlling interface display to solve the problem of information leakage in a privacy area of ​​a display interface of a controlled device.

[0005] In a first aspect, an embodiment of the present application provides a method for remotely controlling interface display, which is applied to a first device, wherein the first device establishes a remote control connection with a second device, and the first device controls the second device, and the method includes:

[0006] Detecting a first operation based on a first display window displayed in the first device, where the first display window displays a display interface of the second device, and the first operation is an operation for instructing the second device to block an area to be blocked in the display interface of the second device;

[0007] Based on the first operation, determining area information of the area;

[0008] Based on the area information, an occlusion instruction is sent to the second device, where the occlusion instruction is used to instruct the second device to perform occlusion processing on the area based on the area information.

[0009] The display method provided in the embodiment of the present application is based on the first display window displayed in the first device. The first device detects whether there is a first operation on the display interface of the second device displayed in the first display window. If the first operation is detected, the area information of the area to be blocked in the display interface of the second device is determined based on the first operation, and based on the area information, a blocking instruction is sent to the second device, so that the second device blocks the area based on the area information, so as to prevent the user of the second device from seeing the information corresponding to the area, resulting in information leakage.

[0010] In a second aspect, an embodiment of the present application provides a method for remotely controlling interface display, which is applied to a second device, wherein the second device establishes a remote control connection with a first device, and the first device controls the second device, and the method includes:

[0011] receiving a blocking instruction sent by the first device, wherein the blocking instruction carries area information of an area to be blocked in the display interface of the second device, the blocking instruction is an instruction sent to the second device after the first device detects a first operation for instructing the first device to control the second device to block the area based on a first display window displayed in the first device, and determines the area information based on the first operation, and the display interface of the second device is displayed in the first display window;

[0012] The region is subjected to occlusion processing according to the region information.

[0013] In a third aspect, an embodiment of the present application provides a system for remote control interface display, the system comprising a first device and a second device, the first device and the second device establish a remote control connection, and the first device controls the second device;

[0014] The first device is used to detect a first operation based on a first display window displayed in the first device, where the first display window displays a display interface of the second device, and the first operation is an operation for instructing the second device to block an area to be blocked in the display interface of the second device;

[0015] The first device is used to determine the area information of the area based on the first operation;

[0016] The first device is configured to send a blocking instruction to the second device based on the area information, wherein the blocking instruction carries area information of an area to be blocked in a display interface of the second device;

[0017] The second device is used to perform occlusion processing on the area according to the area information.

[0018] In a fourth aspect, an embodiment of the present application provides an electronic device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in the first aspect is implemented, or the method described in the second aspect is implemented.

[0019] In a fifth aspect, an embodiment of 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 method described in the first aspect is implemented, or the method described in the second aspect is implemented.

[0020] In a sixth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on an electronic device, the electronic device executes any one of the methods in the first or second aspect above.

[0021] It can be understood that the beneficial effects of the second to sixth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

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

[0023] Figure 1 is a schematic diagram of a system for remote control interface display provided by an embodiment of the present application;

[0024] Figure 2 is a schematic diagram of information interaction between a first device and a second device provided in an embodiment of the present application;

[0025] Figure 3 is a schematic diagram of a display interface of a first device provided in an embodiment of the present application;

[0026] Figure 4 is a schematic diagram of an area to be blocked in a display interface of a second device provided in an embodiment of the present application before and after being blocked;

[0027] Figure 5 It is a flowchart of a method for displaying a remote control interface provided by an embodiment of the present application;

[0028] Figure 6 is a flowchart of a method for remote control interface display provided by another embodiment of the present application;

[0029] Figure 7 is a flowchart of a method for remote control interface display provided by another embodiment of the present application;

[0030] Figure 8 is a flowchart of a method for remote control interface display provided by another embodiment of the present application;

[0031] Fig. 9 It is a schematic diagram of the structure of an electronic device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0032] In the following description, specific details such as specific system structures and technologies are provided for illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application can also be implemented in other embodiments without these specific details.

[0033] As used in the specification and appended claims of this application, the term "if" can be interpreted as "when" or "uponce" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrase "if it is determined" or "if [described condition or event] is detected" can be interpreted as meaning "uponce it is determined" or "in response to determining" or "uponce [described condition or event] is detected" or "in response to detecting [described condition or event]", depending on the context.

[0034] In addition, in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and cannot be understood as indicating or implying relative importance.

[0035] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0036] In order to illustrate the technical solution described in this application, a specific embodiment is provided below for illustration.

[0037] See also Figure 1 , Figure 11 is a schematic diagram of a remote control interface display system provided in an embodiment of the present application. In this embodiment, the remote control interface display system includes a first device and a second device, the first device and the second device have a remote control connection, and the first device controls the second device.

[0038] It is understandable that when the first device and the second device establish a remote control connection, the first device and the second device may directly establish a control connection, or the first device may be connected to a server, and the server may be connected to the second device, so that a control connection is established between the first device and the second device through the server. Among them, when the first device and the second device establish a remote control connection based on the server, the first device and the second device exchange information through the server. Exemplarily, after the first device sends information to the server, the server parses the received information according to a preset communication protocol, and according to the communication protocol between the server and the second device, generates information corresponding to the communication protocol between the server and the second device for the parsed information and sends it to the second device, and the second device parses the received information and performs operations corresponding to the information.

[0039] In some embodiments, the server uses the Netty framework to build a Websocket communication protocol service, so that the first device and the second device respectively interact with the server based on the Websocket communication protocol, thereby realizing information interaction between the first device and the second device based on the server.

[0040] Combination Figure 1 and Figure 2 In the remote control interface display system provided in the embodiment of the present application, the specific implementation process of information interaction between the first device and the second device is as follows:

[0041] S11: The first device sends a remote control request to the second device.

[0042] In this embodiment, in order to enable the first device to control the second device, the first device sends a remote control request to the second device so that the second device verifies the remote control request, and after the verification is passed, the first device can remotely control the second device.

[0043] The timing for the first device to send a remote control request to the second device may include but is not limited to the following two scenarios:

[0044] Scenario 1: When a certain area in the display desktop of the second device needs to be blocked, the first device sends a remote control request to the second device.

[0045] Scenario 2: When the first device needs to remotely assist the second device, the first device sends a remote control request to the second device.

[0046] In one embodiment, when the second device is an unattended device, the remote control request can be automatically verified through a verification program pre-set in the second device, so that after the verification is passed, a control response is automatically returned to the first device.

[0047] In another embodiment, when the second device is an attended device, after the first device sends a remote control request to the second device, the user of the second device can manually verify the remote control request. For example, when the second device receives an input confirmation request, it indicates that the remote control request verification is successful.

[0048] In another embodiment, when the second device is an attended device, the remote control request can be automatically verified through a verification program pre-set in the second device, so that after the verification is passed, a control response is automatically returned to the first device.

[0049] S12: The second device obtains the mirror image of the current display interface and generates a remote control response.

[0050] In this embodiment, the mirror image is a screenshot of the current display desktop of the second device. Figure 4 A mirror image of the current display interface of the second device in Figure A.

[0051] It can be understood that after the second device receives the remote control request sent by the first device, if the remote control request is verified, it obtains the mirror image of the current display interface of the second device, and generates a remote control response to the remote control request based on the mirror image, so that after the first device receives the remote control response, it can parse the mirror image in the remote control response and display the mirror image in the first display window of the first device, thereby facilitating the user of the first device to view the desktop of the second device and then more conveniently control the second device.

[0052] S13: The second device returns a remote control response to the first device.

[0053] In this embodiment, in order to facilitate the first device to remotely control the second device, the second device returns a remote control response to the first device after verifying the remote control request of the first device.

[0054] S14: The first device displays the mirror image in the first display window.

[0055] In this embodiment, in order to facilitate the first device to better control the second device, after the first device receives the remote control response returned by the second device in response to the remote control request, the mirror image of the display interface of the second device included in the remote control response is displayed in the first display window, so that the desktop status of the second device can be understood through the mirror image, thereby facilitating the first device to control the second device.

[0056] For example, in a specific scenario, the first device is a personal computer and the second device is a mobile phone. After the personal computer receives the remote control response returned by the mobile phone, the mirror image of the display interface of the mobile phone included in the remote control response is displayed in the first display window of the personal computer, so that the user of the personal computer can view the interface of the mobile phone through the mirror image. Figure 4 The display interface of the second device in Figure A is displayed in the first display window of the personal computer, and the following is obtained: Figure 3 The display interface of a personal computer is shown.

[0057] In an application, when the first device controls the second device, based on the operation of the first device on the mirror image displayed in the first display window, the corresponding position information when the first device operates the mirror image can be returned to the second device to indicate the control information of the first device on the second device. For example, based on the click operation of the mouse of the first device in the mirror image and the coordinates corresponding to the operation, a click instruction is generated, and the click instruction is returned to the second device, so that the second device can understand the control information of the first device based on the click instruction, for example, the second device can select a folder based on the click instruction.

[0058] It can be understood that the above steps S11 to S14 can be executed before step S15, and step S15 and each step after step S15 can be triggered to execute at a certain time after the remote control connection is established between the first device and the second device, that is to say, step S15 and the steps after step S15 are not necessarily executed immediately after the remote control connection is established.

[0059] S15: The first device determines, based on the first operation, area information of an area to be blocked in the display interface of the second device.

[0060] In this embodiment, the first operation refers to an operation performed on the mirror image in the first display window, that is, the remote control information of the first device on the second device is described through the first operation. For example, in order to block a part of the display interface of the second device, the first operation is used to instruct the first device to control the second device to block the area to be blocked in the display interface of the second device.

[0061] It can be understood that in one scenario, when the first operation is detected, it means that the first device is to control the second device to block the area to be blocked in its display interface, so as to prevent the information of a part of the area in the display interface of the second device from being seen by the user of the second device, thereby causing information leakage. Therefore, the first device determines the area information of the area to be blocked in the display interface of the second device according to the first operation, so as to determine the area to be blocked in the display interface of the second device based on the area information.

[0062] In the application, in order to better determine the area information and quickly control the second device to perform an operation of blocking the area to be blocked, the following two situations may be included when determining the area information based on the first operation:

[0063] The first situation: during the execution of the first operation, the position corresponding to the first operation for locating the area to be blocked is obtained in real time. Each time a position is determined, partial area information for describing a partial area of ​​the area to be blocked is determined in real time. Similarly, multiple partial area information can be determined during the execution of the first operation, and the multiple partial area information constitute the area information of the area to be blocked.

[0064] The second scenario: starting from the first operation, determining each position corresponding to the first operation for locating the area to be blocked, and based on each determined position, after the first operation is completed, determining area information for describing the area to be blocked based on each determined position.

[0065] In some embodiments, the first operation is a mouse drag operation.

[0066] After the first device obtains the mouse dragging trajectory information corresponding to the mouse dragging operation, it determines the mouse dragging trajectory information as the area information of the area to be blocked.

[0067] In this embodiment, the mouse dragging trajectory information includes a plurality of position information.

[0068] It can be understood that in order to instruct the second device to block the area to be blocked in its display interface, an area range can be determined based on multiple position information corresponding to the mouse dragging trajectory information, and blocking processing can be performed within the area range, such as drawing a mask image that is consistent with the size of the area range to block the area to be blocked through the mask image.

[0069] It should be noted that when the mouse is dragged through each position, partial area information for describing a partial area of ​​the area to be blocked can be determined in real time according to each position at the same time, and by analogy, multiple partial area information can be determined during the mouse dragging process, and the multiple partial area information can constitute the area information of the area to be blocked. Alternatively, after the mouse dragging ends, the area information for describing the area to be blocked can be determined for each position corresponding to the mouse track.

[0070] In some embodiments, when the first device detects a preset event, it starts to detect whether there is a first operation, and if the first operation is detected, determines the area information based on the first operation. The preset event is used to indicate the start of recording the first operation on the display interface of the second device in the first display window.

[0071] For example, a pop-up window for selecting an operation for operating the display interface of the second device is displayed in the first display window, and two options of selecting to draw a rectangular box and selecting to draw a circular box are displayed in the pop-up window for selecting an operation. For example, when the first device receives an operation for selecting to draw a rectangular box, it means that a preset event is detected, and then it starts to detect whether there is an operation of dragging a mouse to draw a rectangular box. If an operation of dragging a mouse to draw a rectangular box is detected, the operation of dragging a mouse to draw a rectangular box is recorded, so as to determine the area information according to the operation of dragging a mouse to draw a rectangular box.

[0072] S16: The first device sends a blocking instruction to the second device based on the area information.

[0073] In this embodiment, the blocking instruction is used to instruct the second device to perform a blocking operation on the region based on the region information.

[0074] When the first device sends a blocking instruction to the second device based on the area information, the following two situations may be included:

[0075] The first situation: when a position for locating the area to be blocked is determined based on the first operation, partial area information of the area to be blocked is determined once, and a blocking instruction is sent to the second device based on the partial area information, and so on, the first device sends multiple blocking instructions to the second device.

[0076] For example, in order to instruct the second device to perform a masking operation on the area to be masked in its displayed desktop, the user controls the mouse movement of the first device through an external device. In the process of drawing a rectangular frame that can cover the area to be masked in the mirror image area of ​​the first display window, when the mouse passes a position, partial area information of the area to be masked is determined once, and a masking instruction is sent to the second device based on the partial area information. Similarly, when a rectangular frame is drawn, the first device sends multiple masking instructions to the second device, so that the second device can mask the area to be masked synchronously every time it receives a masking instruction.

[0077] The second situation: when all positions for locating the area to be blocked are determined based on the first operation, the area information is determined once according to the positions for locating the area to be blocked, and a blocking instruction is sent to the second device based on the area information, that is, the first device only sends one blocking instruction to the second device.

[0078] For example, in order to instruct the second device to block the area to be blocked in its displayed desktop, the user drags the mouse of the first device to draw a rectangular frame that can cover the area to be blocked in the mirror image area in the first display window. After drawing the rectangular frame, the area information is determined according to the position of each point corresponding to the rectangular frame, and a blocking instruction is sent to the second device according to the area information.

[0079] S17: The second device performs occlusion processing on the area according to the area information included in the occlusion instruction.

[0080] In this embodiment, after receiving the occlusion instruction, the second device parses the occlusion instruction to obtain the region information of the region, and then performs occlusion processing on the region according to the occlusion information obtained by the occlusion. For example, according to the region information, an occlusion layer is drawn at the region to occlude the region through the occlusion layer.

[0081] For example, see Figure 4 The second device performs the following operations according to the area information for blocking the icon 4 included in the blocking instruction: Figure 4 The icon 4 in Figure A is occluded to obtain the occluded Figure 4 Figure B in .

[0082] When the second device performs occlusion processing on the region according to the region information, the following two situations may be included:

[0083] The first scenario: the first device detects the first operation based on the first display window displayed in the first device, and the first device sequentially sends multiple blocking instructions to the second device according to the first operation, so as to describe the area to be blocked respectively through the area information carried in each blocking instruction. The second device gradually blocks the area to be blocked according to the area information carried in each blocking instruction received, so that when the first operation in the first device ends, the blocking operation on the area to be blocked in the second device also ends synchronously.

[0084] The second scenario: after the first device detects the completion of the first operation based on the first display window displayed in the first device, the first device sends a blocking instruction describing the detected first operation to the second device, and describes the area to be blocked as a whole through the area information carried in the blocking instruction. The second device blocks the area to be blocked according to the blocking instruction.

[0085] In some embodiments, after the second device parses the blocking instruction to obtain the area information, it obtains the display desktop of the second device, and uses the blocking processing software to set corresponding parameters according to the area information to draw a mask layer, which is displayed in the area to be blocked, so as to block the area to be blocked in the display desktop.

[0086] In some embodiments, since the area information described in the occlusion instruction corresponds to the area information in the mirror image in the first display window of the first device, the corresponding position information may be different from the position coordinates of the area to be occluded in the display interface of the second device. Therefore, the position conversion relationship between the first device and the second device is determined in advance. The position conversion relationship is used to describe the transformation relationship between the coordinates of the pixel points in the first display window of the first device and the coordinates of the pixel points in the display interface of the second device.

[0087] The second device determines the target area information in the display interface of the second device according to the area information and the position conversion relationship included in the blocking instruction, and performs blocking processing on the area to be blocked according to the target area information.

[0088] For example, for a vertex in a mirror image of the display interface of the second device, the coordinates of the vertex in the second device are (0, 0). When the mirror image is displayed in the first display window of the first device, the coordinates corresponding to the vertex are (200, 300), which means that the difference between the horizontal coordinate of a point in the second device and the horizontal coordinate of the coordinate of the point in the first device is 200, and the difference between the vertical coordinates is 300, and then the difference when the horizontal coordinate is transformed and the difference when the vertical coordinate is transformed are used as the position conversion relationship.

[0089] In some embodiments, after the second device blocks the area to be blocked according to the area information included in the blocking instruction, in order to facilitate the user of the first device to view the content corresponding to the area to be blocked, the second device obtains text information of the blocked area, and the text information is used to describe the content of the blocked area in the display interface of the second device.

[0090] At the same time, the second device sends the text information to the first device, and then the first device generates a floating window based on the received text information, and displays the floating window at a specified position of the first display window of the first device.

[0091] In some embodiments, after the second device blocks the area according to the area information included in the blocking instruction, in order to facilitate the user of the first device to better control the second device through the first device, the second device returns the first mirror image of the displayed desktop after the blocking processing to the first device, so that the first device can display the first mirror image in the first display window.

[0092] It is understandable that when the second device obtains the mirror image of its displayed desktop, it can perform a screenshot operation on its displayed desktop based on a third-party screenshot software, and use the desktop screenshot obtained by the screenshot operation as the mirror image.

[0093] It can be understood that step S18 and steps subsequent to step S18 may be triggered for execution at a certain moment after the second device performs occlusion processing on the area according to the area information included in the occlusion instruction.

[0094] S18: The first device sends a cancel instruction to the second device based on the second operation.

[0095] In this embodiment, the first device detects whether a second operation exists based on the first display window displayed in the first device. If a second operation instructing to control the second device to cancel blocking of the area is detected, a cancellation instruction is sent to the second device based on the second operation.

[0096] It is understandable that the timing when the first device sends the cancellation instruction to the second device may include but is not limited to the following scenarios:

[0097] Scenario 1: Since the operation on the area to be blocked has been completed and there is no need to continue blocking the area, the first device sends a cancellation instruction to the second device based on the second operation.

[0098] Scenario 2: When determining that an occlusion error occurs, the first device sends a cancellation instruction to the second device based on the second operation.

[0099] S19: The second device eliminates the occlusion of the area according to the cancellation instruction.

[0100] In this embodiment, when the second device receives the cancel instruction sent by the first device, it determines the obstructed area; based on the location information of the obstructed area, it performs an elimination operation on the area so that the display interface of the second device is displayed unobstructed in the first display window, so as to facilitate better control of the second device through the first device, or the user of the second device uses the second device.

[0101] See also Figure 5 , Figure 5 A schematic flow chart of a method for remote control interface display provided by the present application is shown. As an example but not a limitation, the method is performed by a first device, the first device establishes a remote control connection with a second device, and the first device controls the second device.

[0102] like Figure 5 As shown, the method for remote control interface display provided by the present application may include:

[0103] S101: Detect a first operation based on a first display window displayed in a first device, where the first display window displays a display interface of a second device, and the first operation is an operation for instructing the second device to block an area to be blocked in the display interface of the second device.

[0104] In step S101, the first display window is a part or the whole of a display screen of a first device.

[0105] In this embodiment, in order to facilitate the first device to better control the second device, the first device displays a mirror image of the display interface of the second device in the first display window, so that the desktop status of the second device can be understood through the mirror image, thereby facilitating the first device to control the second device.

[0106] Specifically, based on the first display window displayed in the first device, a first operation is detected so as to perform an operation on the display interface in the first display window, and a region of the display interface is selected through the first operation to determine the selected region as the region to be blocked. Figure 3 The rectangular frame surrounded by dotted lines in the display interface of the second device is the area determined by the first operation that needs to control the second device to block the area to be blocked in the display interface of the second device.

[0107] In some embodiments, the first device uses a preset script to perform a first operation on the display interface in the first display window.

[0108] S102: Based on the first operation, determine area information of the area.

[0109] In this embodiment, in order to prevent the information of a partial area in the display interface of the second device from being seen by the user of the device, thereby causing information leakage, it is necessary to control the second device through the first device, that is, to detect the mirror image of the first display window displayed in the first device, so as to understand the area blocked by the second device through the first device through the detection of the first operation, and determine the area information of the area, so that the first device can control the second device to block the area based on the area information.

[0110] S103: Based on the region information, a blocking instruction is sent to the second device, where the blocking instruction is used to instruct the second device to perform blocking processing on the region based on the region information.

[0111] In this embodiment, the blocking instruction is used to instruct the second device to perform a blocking operation on a region based on the region.

[0112] When the first device sends a blocking instruction to the second device based on the area information, the following two situations may be included:

[0113] The first scenario: when a position for locating the area to be blocked is determined based on the first operation, the area information of the area to be blocked is determined once, and a blocking instruction is sent to the second device based on the area information, and so on, the first device sends multiple blocking instructions to the second device.

[0114] For example, the first device is connected to the server, the server is connected to the second device, and then a remote control connection is established between the first device and the second device through the server. When it is necessary to block the password input box in the display interface of the second device, if the first device detects the first operation on the display interface in the first display window through the operation detection software, the position coordinates corresponding to the first operation are captured through the operation detection software, and the position coordinates corresponding to the first operation are processed in data format according to the communication protocol format between the first device and the server, and the position coordinates processed in data format are sent to the server as a blocking instruction. Then, the server parses the blocking instruction according to the communication protocol format to obtain the position coordinates corresponding to the first operation, and continues to process the position coordinates corresponding to the first operation obtained by parsing the data format based on the communication protocol format between the server and the second device, and sends the position coordinates processed in data format as a blocking instruction to the second device, so that the second device parses the received blocking instruction according to the communication protocol format between the server and the second device to obtain the position coordinates corresponding to the first operation. Finally, the second device first obtains the window manager object, that is, obtains the display interface of the second device, and then draws a mask layer according to the position coordinates corresponding to the received first operation, so that the mask layer covers the password input box in the display interface of the second device.

[0115] In some embodiments, the communication type of the mask instruction is predefined so that when the second device receives the mask instruction, it can perform mask processing on the area based on the communication type and the area-based information contained in the mask instruction.

[0116] For example, the mask instruction includes a byte of 0x07 representing turning on the remote mask function, so that after the first device sends the mask instruction to the second device, the second device turns on the mask function accordingly to mask the area based on the area information contained in the mask instruction.

[0117] The method for displaying a remote control interface provided in an embodiment of the present application is based on a first display window displayed in a first device. The first device detects whether there is a first operation on the display interface of a second device displayed in the first display window. If the first operation is detected, the area information of the area to be blocked in the display interface of the second device is determined based on the first operation, and based on the area information, a blocking instruction is sent to the second device so that the second device blocks the area based on the area information to prevent the user of the second device from seeing the information corresponding to the area, resulting in information leakage.

[0118] In one embodiment of the present application, the first operation is a mouse dragging operation.

[0119] According to the first operation, a specific implementation method of determining the area information of the area includes:

[0120] Get the mouse dragging track information corresponding to the mouse dragging operation.

[0121] The mouse dragging trajectory information is determined as the area information of the area.

[0122] In this embodiment, the mouse dragging operation describes the dragging operation performed by the mouse in the first device on the display interface of the first display window, and in order to describe the area information of the area, the mouse dragging track information includes multiple position information. Figure 3 In the , drag the mouse to draw a rectangular box surrounded by dotted lines.

[0123] It can be understood that in order to instruct the second device to block the area to be blocked in its display interface, an area range can be determined based on multiple position information corresponding to the mouse dragging trajectory information, so that the second device can block the area within its display interface.

[0124] In some embodiments, when a preset event is detected, mouse dragging track information corresponding to the mouse dragging operation is acquired, and the mouse dragging track information is determined as the region information of the region.

[0125] Combination Figure 6In one embodiment of the present application, after sending the blocking instruction to the second device based on the area information, the method further includes:

[0126] S201: Acquire text information sent by a second device, where the text information is used to describe the content of a blocked area in a display interface of the second device.

[0127] In step S201, after the second device blocks the area to be blocked according to the blocking instruction, in order for the user of the first device to better control the second device, the text information sent by the second device is obtained, so as to understand the content of the blocked area in the display interface of the second device through the text information.

[0128] For example, the blocked area in the display interface of the second device is a password input box. In order to facilitate the user of the first device to determine whether the content entered into the password input box is incorrect, the text information sent by the second device is obtained so that the input content can be understood through the text information.

[0129] S202: Generate a floating window according to the text information.

[0130] In step S202, the floating window refers to a window floating on the display interface of the first device, and the content of the blocked area in the display interface of the second device is recorded in the window.

[0131] S203: Displaying a floating window at a designated position of the first display window.

[0132] In this embodiment, the designated position is a position set as required, for example, the designated position is the middle position, the upper left corner position or the lower right corner position of the first display window.

[0133] It is understandable that when the floating window is placed at a specified position, it will not affect the user's viewing of the second device based on the display interface displayed in the first display window, and then controlling the second device through the first device.

[0134] In some embodiments, the floating window is adjusted from a specified position to a target position according to a floating window dragging instruction.

[0135] In an embodiment of the present application, after sending the blocking instruction to the second device based on the area information, the method further includes:

[0136] Based on the first display window displayed in the first device, a second operation is detected, where the second operation is an operation for instructing to control the second device to cancel blocking of the area.

[0137] In this embodiment, when there is no necessity to block the area, based on the first display window displayed in the first device, it is detected whether there is a second operation. If the second operation instructing control of the second device to cancel the blocking of the area is detected, it is determined that it is necessary to instruct control of the second device to cancel the blocking of the area.

[0138] Based on the second operation, a cancellation instruction is sent to the second device, where the cancellation instruction is used to instruct the second device to eliminate obstruction of the area.

[0139] In this embodiment, in order to eliminate the obstruction of the area so that the user of the second device can better use the second device, or the user of the first device can better control the second device through the first device, a cancel instruction is sent to the second device in the second operation.

[0140] In an embodiment of the present application, based on the first display window displayed in the first device, before detecting the first operation, the method further includes:

[0141] A remote control request is sent to the second device.

[0142] In this embodiment, the remote control request is used to describe the control requirement of the first device on the second device.

[0143] A remote control response returned by the second device in response to the remote control request is received, where the remote control response includes a mirror image of a display interface of the second device.

[0144] The mirror image is displayed in the first display window.

[0145] In this embodiment, in order to facilitate the control of the second device through the first device, after receiving the remote control response returned by the second device to the remote control request, the mirror image included in the remote control response is displayed in the first display window, thereby facilitating the user of the first device to view the desktop of the second device and further control the second device more conveniently.

[0146] See also Figure 7 , Figure 7 A schematic flow chart of a method for remote control interface display provided by the present application is shown. As an example but not a limitation, the method is performed by a second device, a first device and the second device establish a remote control connection, and the first device controls the second device.

[0147] like Figure 7 As shown, the method for remote control interface display provided by the present application may include:

[0148] S301: Receive a blocking instruction sent by the first device, where the blocking instruction carries area information of an area to be blocked in the display interface of the second device. The blocking instruction is an instruction sent to the second device after the first device detects a first operation for instructing the first device to control the second device to block an area based on a first display window displayed in the first device, and determines the area information based on the first operation. The display interface of the second device is displayed in the first display window.

[0149] In step S301, after receiving the shielding instruction, the second device parses the shielding instruction to obtain the region information of the region, and then learns the region that needs to be shielded according to the analyzed region information. For example, according to the region information, it is learned that the region that needs to be shielded is a password input box.

[0150] S302: performing occlusion processing on the region according to the region information.

[0151] In step S302, in order to prevent the information in some areas of the display interface of the second device from being seen by the user of the second device, the second device parses the occlusion instruction after receiving it to obtain the area information of the area, and then performs occlusion processing on the area according to the occlusion information obtained by the occlusion. For example, according to the area information, a occlusion layer is drawn at the area to occlude the area through the occlusion layer.

[0152] Combination Figure 8 In one embodiment of the present application, after performing occlusion processing on the region according to the region information, the method further includes:

[0153] S401: Acquire text information of the blocked area, where the text information is used to describe the content of the blocked area in the display interface of the second device.

[0154] In this embodiment, since the content of the area to be blocked cannot be seen by the user of the first device after the area to be blocked is blocked, in order to facilitate the user of the first device to better control the second device through the first device, text information of the blocked area is obtained, and the text information is used to describe the content of the blocked area in the display interface of the second device.

[0155] S402: Send the text information to the first device, where the text information is used by the first device to generate a floating window and display the floating window at a specified position of the first display window.

[0156] In this embodiment, in order to facilitate the first device to view the content described in the text information, the second device sends the text information to the first device, so that the first device generates a floating window according to the text information and displays the floating window at a specified position of the first display window.

[0157] In an embodiment of the present application, after performing occlusion processing on the region according to the region information, the method further includes:

[0158] If a cancellation instruction is received from the first device, the obstruction of the area is eliminated according to the cancellation instruction. The cancellation instruction is an instruction sent by the first device to the second device after detecting the second operation based on the first display window displayed in the first device. The second operation is an operation for instructing the second device to cancel the obstruction of the area.

[0159] In one embodiment of the present application, the first operation is a mouse dragging operation, and the region information includes mouse dragging trajectory information corresponding to the mouse dragging operation.

[0160] According to the regional information, the specific implementation methods of occluding the region include:

[0161] Determine the area based on the mouse dragging trajectory information.

[0162] Generate a mask layer and display the mask layer in the area to be masked.

[0163] In an embodiment, in order to prevent the user of the second device from seeing the content corresponding to the area, after determining the area to be blocked according to the mouse dragging trajectory information, a mask layer is generated and displayed on the area to be blocked, so as to achieve the purpose of blocking the area to be blocked.

[0164] It is understandable that, since the mouse dragging trajectory information describes the operation of detecting the need to perform masking processing on the area to be masked in the display interface of the second device based on the first display window displayed in the first device, it is possible to determine the area according to the mouse dragging trajectory information, and generate a mask layer for masking the area according to the mouse dragging trajectory information.

[0165] In an embodiment of the present application, before receiving the blocking instruction sent by the first device, the method further includes:

[0166] A remote control request sent by a first device is received.

[0167] Get the mirror image of the current display interface.

[0168] In response to the remote control request, a remote control response is returned to the first device, wherein the remote control response includes the mirror image.

[0169] In this embodiment, after the second device receives the sent remote control request, it understands the need of the first device to control the second device through the remote control request. Therefore, in order to facilitate the user of the first device to better control the second device, the mirror image of the current display interface is obtained, and in response to the remote control request, a remote control response including the mirror image is returned to the first device, so that the first device can display the mirror image in the remote control response in the first display window.

[0170] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0171] Corresponding to the method for remote control interface display in the above embodiment, the structural block diagram of the device for remote control interface display provided in one embodiment of the present application only shows the part related to the embodiment of the present application for the convenience of explanation.

[0172] The device includes:

[0173] A detection module is used to detect a first operation based on a first display window displayed in a first device, wherein the first display window displays a display interface of a second device, and the first operation is an operation for instructing the second device to block an area to be blocked in the display interface of the second device.

[0174] The determination module is used to determine the area information of the area based on the first operation.

[0175] The sending module is used to send a blocking instruction to the second device based on the area information, where the blocking instruction is used to instruct the second device to perform blocking processing on the area based on the area information.

[0176] In one embodiment, the first operation is a mouse dragging operation.

[0177] The determination module is further used to obtain the mouse dragging track information corresponding to the mouse dragging operation; and determine the mouse dragging track information as the area information of the area.

[0178] In one embodiment, the device further includes a pop-up window module.

[0179] A pop-up window module is used to obtain text information sent by the second device, where the text information is used to describe the content of the blocked area in the display interface of the second device; generate a floating window based on the text information; and display the floating window at a specified position of the first display window.

[0180] In one embodiment, the device further includes a cancellation module.

[0181] The cancellation module is used to send a blocking instruction to the second device based on the area information, and also includes: based on the first display window displayed in the first device, detecting a second operation, the second operation is an operation for instructing the second device to cancel the blocking of the area; based on the second operation, sending a cancellation instruction to the second device, the cancellation instruction is used to instruct the second device to eliminate the blocking of the area.

[0182] In one embodiment, the device further comprises a connection module.

[0183] The connection module is used to send a remote control request to the second device; receive a remote control response returned by the second device to the remote control request, wherein the remote control response includes a mirror image of the display interface of the second device; and display the mirror image in the first display window.

[0184] Corresponding to the method for displaying a remote control interface in the above embodiment, a structural block diagram of a device for displaying a remote control interface provided in another embodiment of the present application only shows the part related to the embodiment of the present application for the sake of convenience.

[0185] The device includes:

[0186] a receiving module, configured to receive a blocking instruction sent by the first device, wherein the blocking instruction carries area information of an area to be blocked in a display interface of the second device, and the blocking instruction is an instruction sent to the second device after the first device detects a first operation for instructing the first device to control the second device to block an area based on a first display window displayed in the first device, and determines the area information based on the first operation, and the display interface of the second device is displayed in the first display window;

[0187] The occlusion module is used to perform occlusion processing on the region according to the region information.

[0188] In one embodiment, the device further includes a sending module.

[0189] A sending module is used to obtain text information of the obscured area, where the text information is used to describe the content of the obscured area in the display interface of the second device; the text information is sent to the first device, where the text information is used by the first device to generate a floating window, and the floating window is displayed at a specified position of the first display window.

[0190] In one embodiment, the receiving module is also used to, after blocking the area according to the area information, further include: if a cancellation instruction sent by the first device is received, then eliminating the blocking of the area according to the cancellation instruction, the cancellation instruction is an instruction sent by the first device to the second device after detecting the second operation based on the first display window displayed in the first device, and the second operation is an operation for instructing the second device to cancel the blocking of the area.

[0191] In one embodiment, the first operation is a mouse dragging operation, and the region information includes mouse dragging track information corresponding to the mouse dragging operation.

[0192] The device also includes a shielding module.

[0193] The masking module is used to determine the area according to the mouse dragging trajectory information; generate a mask layer, and display the mask layer in the area to be masked.

[0194] In one embodiment, the receiving module is further used to receive a remote control request sent by the first device; obtain a mirror image of the current display interface; and return a remote control response to the first device in response to the remote control request, wherein the remote control response includes the mirror image.

[0195] Fig. 9 This is a schematic diagram of the structure of an electronic device provided by an embodiment of the present application. Fig. 9 As shown, the electronic device 9 of this embodiment includes: at least one processor 90 ( Fig. 9 Only one processor is shown in the figure), a memory 91, and a computer program 92 stored in the memory 91 and executable on at least one processor 90, wherein the processor 90 implements the steps of any of the above-mentioned method embodiments when executing the computer program 92.

[0196] The electronic device 9 may be a computing device such as a desktop computer, a notebook, a PDA, or a cloud server. The electronic device may include, but is not limited to, a processor 90 and a memory 91. Those skilled in the art will appreciate that Fig. 9 It is only an example of the electronic device 9 and does not constitute a limitation on the electronic device 9. It may include more or fewer components than shown in the figure, or a combination of certain components, or different components. For example, it may also include input and output devices, network access devices, etc.

[0197] The processor 90 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. A general-purpose processor may be a microprocessor or any conventional processor, etc.

[0198] In some embodiments, the memory 91 may be an internal storage unit of the electronic device 9, such as a hard disk or memory of the electronic device 9. In other embodiments, the memory 91 may also be an external storage device of the electronic device 9, such as a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card, etc. equipped on the electronic device 9. Further, the memory 91 may also include both an internal storage unit of the electronic device 9 and an external storage device. The memory 91 is used to store an operating system, an application program, a boot loader (BootLoader), data, and other programs, such as program codes of a computer program. The memory 91 may also be used to temporarily store data that has been output or is to be output.

[0199] It should be noted that the information interaction, execution process, etc. between the above-mentioned devices / units are based on the same concept as the method embodiment of the present application. Their specific functions and technical effects can be found in the method embodiment part and will not be repeated here.

[0200] The technicians in the relevant field can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example for illustration. In practical applications, the above-mentioned function allocation can be completed by different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiment can be integrated in a processing unit, or each unit can exist physically separately, or two or more units can be integrated in one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units. In addition, the specific names of the functional units and modules are only for the convenience of distinguishing each other, and are not used to limit the scope of protection of this application. The specific working process of the units and modules in the above-mentioned system can refer to the corresponding process in the aforementioned method embodiment, which will not be repeated here.

[0201] An embodiment of the present application also provides an electronic device, which includes: at least one processor, a memory, and a computer program stored in the memory and executable on at least one processor, wherein when the processor executes the computer program, the steps in any of the above-mentioned method embodiments are implemented.

[0202] The embodiment of the present application further provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by a processor, the steps in the above-mentioned method embodiments can be implemented.

[0203] An embodiment of the present application provides a computer program product. When the computer program product runs on an electronic device, the electronic device can implement the steps in the above-mentioned method embodiments when executing the computer program product.

[0204] If the integrated unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, which can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. Among them, the computer program includes computer program code, and the computer program code can be in source code form, object code form, executable file or some intermediate form. The computer-readable medium may at least include: any entity or device that can carry the computer program code to the device / electronic device, a recording medium, a computer memory, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk or an optical disk. In some jurisdictions, according to legislation and patent practice, computer-readable media cannot be electric carrier signals and telecommunication signals.

[0205] In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described or recorded in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

[0206] Those of ordinary skill in the art will appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, or a combination of computer software and electronic hardware. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professional and technical personnel can use different methods to implement the described functions for each specific application, but such implementation should not be considered to be beyond the scope of this application.

[0207] In the embodiments provided in the present application, it should be understood that the disclosed devices / electronic devices and methods can be implemented in other ways. For example, the device / electronic device embodiments described above are merely schematic. For example, the division of modules or units is only a logical function division. There may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be an indirect coupling or communication connection through some interfaces, devices or units, which can be electrical, mechanical or other forms.

[0208] The units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0209] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.

Claims

1. A method for remote control interface display, applied to a first device, wherein the first device and a second device have established a remote control connection, and the first device controls the second device, characterized in that: The method comprises: Detecting a first operation based on a first display window displayed in the first device, where the first display window displays a display interface of the second device, and the first operation is an operation for instructing the second device to block an area to be blocked in the display interface of the second device; Determining area information of the area based on the first operation, where the first operation is a mouse dragging operation; Based on the area information, an occlusion instruction is sent to the second device, where the occlusion instruction is used to instruct the second device to perform occlusion processing on the area based on the area information.

2. The method according to claim 1, characterized in that The determining, based on the first operation, the area information of the area includes: Obtaining mouse dragging trajectory information corresponding to the mouse dragging operation; The mouse dragging trajectory information is determined as the area information of the area.

3. The method according to claim 1, characterized in that After sending the blocking instruction to the second device based on the area information, the method further includes: Acquire text information sent by the second device, where the text information is used to describe the content of the blocked area in the display interface of the second device; Generate a floating window according to the text information; The floating window is displayed at a designated position of the first display window.

4. The method according to claim 1, characterized in that After sending the blocking instruction to the second device based on the area information, the method further includes: Based on the first display window displayed in the first device, detecting a second operation, where the second operation is an operation for instructing to control the second device to cancel blocking of the area; Based on the second operation, a cancellation instruction is sent to the second device, where the cancellation instruction is used to instruct the second device to eliminate blocking of the area.

5. The method according to any one of claims 1 to 4, characterized in that Before detecting the first operation based on the first display window displayed in the first device, the method further includes: Sending a remote control request to the second device; receiving a remote control response returned by the second device in response to the remote control request, wherein the remote control response includes a mirror image of a display interface of the second device; The mirror image is displayed in the first display window.

6. A method for remote control interface display, applied to a second device, wherein the second device has a remote control connection with a first device, and the first device controls the second device, characterized in that: The method comprises: receiving a blocking instruction sent by the first device, wherein the blocking instruction carries area information of an area to be blocked in the display interface of the second device, the blocking instruction is an instruction sent to the second device after the first device detects a first operation for instructing the first device to control the second device to block the area based on a first display window displayed in the first device, and determines the area information based on the first operation, the display interface of the second device is displayed in the first display window, and the first operation is a mouse drag operation; The region is subjected to occlusion processing according to the region information.

7. The method according to claim 6, characterized in that After performing the occlusion processing on the region according to the region information, the method further includes: Acquire text information of the blocked area, where the text information is used to describe the content of the blocked area in the display interface of the second device; The text information is sent to the first device, and the text information is used by the first device to generate a floating window, and the floating window is displayed at a specified position of the first display window.

8. The method according to claim 6, characterized in that After performing the occlusion processing on the region according to the region information, the method further includes: If a cancellation instruction sent by the first device is received, the obstruction of the area is eliminated according to the cancellation instruction. The cancellation instruction is an instruction sent by the first device to the second device after detecting a second operation based on the first display window displayed in the first device. The second operation is an operation for instructing the second device to cancel the obstruction of the area.

9. The method according to claim 6, characterized in that The area information includes mouse dragging track information corresponding to the mouse dragging operation; The step of performing occlusion processing on the region according to the region information includes: Determining the area according to the mouse dragging trajectory information; A mask layer is generated, and the mask layer is displayed in the area.

10. The method according to any one of claims 6 to 9, characterized in that: Before receiving the blocking instruction sent by the first device, the method further includes: receiving a remote control request sent by a first device; Get the mirror image of the current display interface; In response to the remote control request, a remote control response is returned to the first device, wherein the remote control response includes the mirror image.

11. A system for remote control interface display, characterized in that: The system includes a first device and a second device, the first device and the second device have a remote control connection established, and the first device controls the second device; The first device is used to detect a first operation based on a first display window displayed in the first device, where the first display window displays a display interface of the second device, and the first operation is an operation for instructing the second device to block an area to be blocked in the display interface of the second device; The first device is used to determine the area information of the area based on the first operation, where the first operation is a mouse dragging operation; The first device is configured to send a blocking instruction to the second device based on the area information, wherein the blocking instruction carries area information of an area to be blocked in a display interface of the second device; The second device is used to perform occlusion processing on the area according to the area information.

12. An electronic device, characterized in that: The method comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the method according to any one of claims 1 to 5 when executing the computer program, or implements the method according to any one of claims 6 to 9.

13. 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 method according to any one of claims 1 to 5 is implemented, or the method according to any one of claims 6 to 9 is implemented.