Movatterモバイル変換


[0]ホーム

URL:


CN112506460B - Screen control authority sharing method, device, terminal and storage medium - Google Patents

Screen control authority sharing method, device, terminal and storage medium
Download PDF

Info

Publication number
CN112506460B
CN112506460BCN202011488235.1ACN202011488235ACN112506460BCN 112506460 BCN112506460 BCN 112506460BCN 202011488235 ACN202011488235 ACN 202011488235ACN 112506460 BCN112506460 BCN 112506460B
Authority
CN
China
Prior art keywords
screen
terminal
instruction
control
sharing
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202011488235.1A
Other languages
Chinese (zh)
Other versions
CN112506460A (en
Inventor
杜梅霞
胡心洋
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Guangdong Oppo Mobile Telecommunications Corp Ltd
Original Assignee
Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guangdong Oppo Mobile Telecommunications Corp LtdfiledCriticalGuangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011488235.1ApriorityCriticalpatent/CN112506460B/en
Publication of CN112506460ApublicationCriticalpatent/CN112506460A/en
Application grantedgrantedCritical
Publication of CN112506460BpublicationCriticalpatent/CN112506460B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application belongs to the technical field of communication, and particularly relates to a screen control authority sharing method, a device, a terminal and a storage medium. The screen control authority sharing method is applied to a sending terminal and comprises the following steps: when screen sharing is carried out with a receiving terminal, a control authority sharing instruction aiming at a first screen of the sending terminal is sent to the receiving terminal; receiving a screen control instruction aiming at the first screen and sent by the receiving terminal; and writing the screen control instruction into a system so that the receiving terminal controls the first screen based on the screen control instruction. By adopting the embodiment of the application, the convenience of screen sharing can be improved.

Description

Translated fromChinese
屏幕控制权限共享方法、装置、终端及存储介质Screen control authority sharing method, device, terminal and storage medium

技术领域Technical Field

本申请属于通信技术领域,具体而言,涉及一种屏幕控制权限共享方法、装置、终端及存储介质。The present application belongs to the field of communication technology, and specifically, relates to a screen control authority sharing method, device, terminal and storage medium.

背景技术Background Art

随着科学技术的发展,终端支持的功能也越来越多,使用户的生活更加方便。例如,共享屏幕的出现,可以提高用户观看屏幕的便利性。在屏幕共享时,屏幕共享发起方可以发起屏幕共享,在接收到屏幕共享接收方的确认指令时,屏幕共享发起方可以将屏幕画面共享至屏幕共享接收方的屏幕。屏幕共享发起方可以控制屏幕画面以便可以调节屏幕共享接收方屏幕显示的画面。With the development of science and technology, terminals support more and more functions, making users' lives more convenient. For example, the emergence of screen sharing can improve the convenience of users viewing the screen. When sharing the screen, the screen sharing initiator can initiate screen sharing, and when receiving the confirmation instruction from the screen sharing recipient, the screen sharing initiator can share the screen image to the screen of the screen sharing recipient. The screen sharing initiator can control the screen image so that the image displayed on the screen of the screen sharing recipient can be adjusted.

发明内容Summary of the invention

本申请实施例提供一种屏幕控制权限共享方法、装置、终端及存储介质,可以提高屏幕共享的便利性。本申请实施例的技术方案如下:The embodiment of the present application provides a screen control authority sharing method, device, terminal and storage medium, which can improve the convenience of screen sharing. The technical solution of the embodiment of the present application is as follows:

第一方面,本申请实施例提供一种屏幕控制权限共享方法,应用于发送终端,所述方法包括:In a first aspect, an embodiment of the present application provides a screen control authority sharing method, which is applied to a sending terminal, and the method includes:

在与接收终端进行屏幕共享时,向所述接收终端发送针对所述发送终端的第一屏幕的控制权限共享指令;When performing screen sharing with a receiving terminal, sending a control authority sharing instruction for a first screen of the sending terminal to the receiving terminal;

接收所述接收终端发送的针对所述第一屏幕的屏幕控制指令;receiving a screen control instruction for the first screen sent by the receiving terminal;

将所述屏幕控制指令写入系统中,以使所述接收终端基于所述屏幕控制指令控制所述第一屏幕。The screen control instruction is written into the system so that the receiving terminal controls the first screen based on the screen control instruction.

第二方面,本申请实施例提供一种屏幕控制权限共享装置,所述方法装置包括:In a second aspect, an embodiment of the present application provides a screen control authority sharing device, the method device comprising:

指令发送单元,用于在与接收终端进行屏幕共享时,向所述接收终端发送针对所述发送终端的第一屏幕的控制权限共享指令;An instruction sending unit, configured to send a control authority sharing instruction for a first screen of the sending terminal to the receiving terminal when performing screen sharing with the receiving terminal;

指令接收单元,用于接收所述接收终端发送的针对所述第一屏幕的屏幕控制指令;An instruction receiving unit, configured to receive a screen control instruction for the first screen sent by the receiving terminal;

指令写入单元,用于将所述屏幕控制指令写入系统中,以使所述接收终端基于所述屏幕控制指令控制所述第一屏幕。The instruction writing unit is used to write the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction.

第三方面,本申请实施例提供一种屏幕共享方法,应用于接收终端,所述方法包括:In a third aspect, an embodiment of the present application provides a screen sharing method, which is applied to a receiving terminal, and the method includes:

在与发送终端进行屏幕共享时,接收所述发送终端发送的针对所述发送终端的第一屏幕的控制权限共享指令;When performing screen sharing with a sending terminal, receiving a control authority sharing instruction for a first screen of the sending terminal sent by the sending terminal;

获取针对所述第一屏幕的屏幕控制指令;Acquire a screen control instruction for the first screen;

发送所述屏幕控制指令至所述发送终端,所述屏幕控制指令用于指示所述发送终端将所述屏幕控制指令写入系统中,以使所述接收终端基于所述屏幕控制指令控制所述第一屏幕。The screen control instruction is sent to the sending terminal, where the screen control instruction is used to instruct the sending terminal to write the screen control instruction into a system, so that the receiving terminal controls the first screen based on the screen control instruction.

第四方面,一种终端,包括存储器、处理器以及存储在所述存储器中并可在所述处理器上运行的计算机程序,所述处理器执行所述计算机程序时实现上述第一方面任一项所述的方法。In a fourth aspect, a terminal comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the methods described in the first aspect when executing the computer program.

第五方面,本申请实施例提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述任一项所述的方法。In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, which implements any of the methods described above when the program is executed by a processor.

第六方面,本申请实施例提供一种计算机程序产品,其中,上述计算机程序产品包括存储计算机程序的非瞬时性计算机可读存储介质,上述计算机程序可操作来使计算机执行如本申请实施例第一方面中所描述的部分或全部步骤。该计算机程序产品可以为一个软件安装包。In a sixth aspect, an embodiment of the present application provides a computer program product, wherein the computer program product includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute some or all of the steps described in the first aspect of the embodiment of the present application. The computer program product may be a software installation package.

本申请一些实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:

在本申请一个或多个实施例中,在与接收终端进行屏幕共享时,可以向接收终端发送针对发送终端的第一屏幕的控制权限共享指令,并将接收终端发送的针对第一屏幕的屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕,因此发送终端和接收终端可以同时控制第一屏幕,接收终端不需要发送屏幕控制权限共享请求至发送终端,可以减少共享屏幕控制的步骤,减少发送终端确认共享屏幕控制权限的等待时长,进而可以提高屏幕共享的便利性。In one or more embodiments of the present application, when screen sharing is performed with a receiving terminal, a control permission sharing instruction for the first screen of the sending terminal can be sent to the receiving terminal, and the screen control instruction for the first screen sent by the receiving terminal can be written into the system, so that the receiving terminal controls the first screen based on the screen control instruction. Therefore, the sending terminal and the receiving terminal can control the first screen at the same time, and the receiving terminal does not need to send a screen control permission sharing request to the sending terminal, which can reduce the steps of sharing screen control and the waiting time for the sending terminal to confirm the shared screen control authority, thereby improving the convenience of screen sharing.

附图说明BRIEF DESCRIPTION OF THE DRAWINGS

为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.

图1示出应用于本申请实施例的屏幕控制权限共享方法的系统架构图;FIG1 shows a system architecture diagram of a screen control authority sharing method applied to an embodiment of the present application;

图2示出本申请实施例的一种屏幕控制权限共享方法的流程示意图;FIG2 is a schematic diagram showing a flow chart of a method for sharing screen control authority according to an embodiment of the present application;

图3示出本申请实施例的一种屏幕控制权限共享方法的流程示意图;FIG3 is a schematic diagram showing a flow chart of a method for sharing screen control authority according to an embodiment of the present application;

图4示出本申请实施例的一种终端界面的举例示意图;FIG4 is a schematic diagram showing an example of a terminal interface according to an embodiment of the present application;

图5示出本申请实施例的一种终端界面的举例示意图;FIG5 is a schematic diagram showing an example of a terminal interface according to an embodiment of the present application;

图6示出本申请实施例的一种屏幕控制权限共享方法的交互示意图;FIG6 is a schematic diagram showing an interaction of a method for sharing screen control authority according to an embodiment of the present application;

图7示出本申请实施例的一种终端界面的举例示意图;FIG7 is a schematic diagram showing an example of a terminal interface according to an embodiment of the present application;

图8示出本申请实施例的一种屏幕控制权限共享方法的流程示意图;FIG8 is a schematic diagram showing a flow chart of a method for sharing screen control authority according to an embodiment of the present application;

图9示出本申请实施例的一种终端界面的举例示意图;FIG9 is a schematic diagram showing an example of a terminal interface according to an embodiment of the present application;

图10示出本申请实施例的一种屏幕控制权限共享方法的流程示意图;FIG10 is a schematic diagram showing a flow chart of a method for sharing screen control authority according to an embodiment of the present application;

图11示出本申请实施例的一种屏幕控制权限共享装置的结构示意图;FIG11 is a schematic diagram showing the structure of a screen control authority sharing device according to an embodiment of the present application;

图12示出本申请实施例的一种屏幕控制权限共享方法的流程示意图;FIG12 is a schematic diagram showing a flow chart of a method for sharing screen control authority according to an embodiment of the present application;

图13示出本申请实施例的一种终端界面的举例示意图;FIG13 is a schematic diagram showing an example of a terminal interface according to an embodiment of the present application;

图14示出本申请实施例的一种屏幕控制权限共享方法的流程示意图;FIG14 is a schematic diagram showing a flow chart of a method for sharing screen control authority according to an embodiment of the present application;

图15示出本申请实施例的一种屏幕控制权限共享装置的结构示意图;FIG15 is a schematic diagram showing the structure of a screen control authority sharing device according to an embodiment of the present application;

图16示出本申请实施例的一种终端的结构示意图。FIG16 shows a schematic structural diagram of a terminal according to an embodiment of the present application.

具体实施方式DETAILED DESCRIPTION

为了使本技术领域的人员更好地理解本申请方案,下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅为本申请实施例的一部分,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to enable those skilled in the art to better understand the present application, the technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of them. 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.

在本申请的描述中,需要理解的是,术语“第一”、“第二”等仅用于描述目的,而不能理解为指示或暗示相对重要性。在本申请的描述中,需要说明的是,除非另有明确的规定和限定,“包括”和“具有”以及它们任何变形,意图在于覆盖不排他的包含。例如包含了一系列步骤或单元的过程、方法、系统、产品或设备没有限定于已列出的步骤或单元,而是可选地还包括没有列出的步骤或单元,或可选地还包括对于这些过程、方法、产品或设备固有的其他步骤或单元。对于本领域的普通技术人员而言,可以具体情况理解上述术语在本申请中的具体含义。此外,在本申请的描述中,除非另有说明,“多个”是指两个或两个以上。“和/或”,描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。字符“/”一般表示前后关联对象是一种“或”的关系。In the description of the present application, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In the description of the present application, it should be noted that, unless otherwise clearly specified and limited, "including" and "having" and any of their variations are intended to cover non-exclusive inclusions. For example, a process, method, system, product or device that includes a series of steps or units is not limited to the listed steps or units, but optionally also includes steps or units that are not listed, or optionally also includes other steps or units inherent to these processes, methods, products or devices. For those of ordinary skill in the art, the specific meanings of the above terms in the present application can be understood in specific circumstances. In addition, in the description of the present application, unless otherwise specified, "multiple" refers to two or more. "And/or" describes the association relationship of associated objects, indicating that there can be three relationships, for example, A and/or B, which can represent: A exists alone, A and B exist at the same time, and B exists alone. The character "/" generally indicates that the associated objects before and after are an "or" relationship.

图1示出应用于本申请实施例的共享屏幕切换方法的系统架构图。如图1所示,共享屏幕的终端包括但不限于个人电脑、移动设备等。进行屏幕共享时,共享屏幕的发送终端可以发送共享屏幕发起指令至共享屏幕的接收终端。接收终端在接收到该指令时,可以在接收终端的显示屏上显示该指令。接收终端在接收到针对该指令的确认指令时,可以将该确认指令发送至发送终端。发送终端接收到接收终端发送的确认指令时,发送终端可以将发送终端的屏幕画面发送在至接收终端,接收终端可以将发送终端的屏幕画面显示在接收终端的显示屏上。FIG1 shows a system architecture diagram of a shared screen switching method applied to an embodiment of the present application. As shown in FIG1 , terminals for sharing screens include but are not limited to personal computers, mobile devices, etc. When performing screen sharing, the sending terminal of the shared screen can send a shared screen initiation instruction to the receiving terminal of the shared screen. When the receiving terminal receives the instruction, it can display the instruction on the display screen of the receiving terminal. When the receiving terminal receives a confirmation instruction for the instruction, it can send the confirmation instruction to the sending terminal. When the sending terminal receives the confirmation instruction sent by the receiving terminal, the sending terminal can send the screen image of the sending terminal to the receiving terminal, and the receiving terminal can display the screen image of the sending terminal on the display screen of the receiving terminal.

根据一些实施例,当发送终端与接收终端处于屏幕共享状态时,发送终端可以在发送终端的屏幕上接收针对屏幕画面的控制指令,基于该控制指令,发送终端可以调节接收终端显示的屏幕画面。但在此过程中,接收终端不可以控制屏幕画面,即使用户在接收终端的屏幕上输入控制指令,接收终端并不会有任何响应。此时,接收终端可以发送屏幕控制权限共享请求至发送终端。在接收终端接收到发送终端针对该请求的确认指令时,接收终端可以控制该发送终端的屏幕。但是接收终端需要发送屏幕控制权限共享请求至发送终端,使得共享屏幕的控制步骤复杂,增加接收终端控制共享屏幕的等待时长,使得屏幕共享的操作不便。本申请实施例提供一种屏幕控制权限共享方法,可以提高屏幕共享的便利性。According to some embodiments, when the sending terminal and the receiving terminal are in a screen sharing state, the sending terminal can receive a control instruction for the screen image on the screen of the sending terminal, and based on the control instruction, the sending terminal can adjust the screen image displayed by the receiving terminal. However, in this process, the receiving terminal cannot control the screen image, and even if the user enters a control instruction on the screen of the receiving terminal, the receiving terminal will not have any response. At this time, the receiving terminal can send a screen control authority sharing request to the sending terminal. When the receiving terminal receives a confirmation instruction from the sending terminal for the request, the receiving terminal can control the screen of the sending terminal. However, the receiving terminal needs to send a screen control authority sharing request to the sending terminal, which makes the control steps of the shared screen complicated, increases the waiting time for the receiving terminal to control the shared screen, and makes the operation of screen sharing inconvenient. The embodiment of the present application provides a screen control authority sharing method, which can improve the convenience of screen sharing.

下面结合具体的实施例对本申请进行详细说明。The present application is described in detail below with reference to specific embodiments.

在一个实施例中,如图2所示,特提出了一种屏幕控制权限共享方法,该方法可依赖于计算机程序实现,可运行于具有显示屏的终端上。该计算机程序可集成在应用中,也可作为独立的工具类应用运行。In one embodiment, as shown in FIG2 , a screen control authority sharing method is proposed, which can be implemented by a computer program and can be run on a terminal with a display screen. The computer program can be integrated into an application or run as an independent tool application.

其中,所述终端可以是具有显示屏的电子设备,该电子设备包括但不限于:可穿戴设备、手持设备、个人电脑、平板电脑、车载设备、智能手机、计算设备或连接到无线调制解调器的其它处理设备等。在不同的网络中终端设备可以叫做不同的名称,例如:用户设备、接入终端、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置、蜂窝电话、无绳电话、个人数字处理(personaldigital assistant,PDA)、5G网络或未来演进网络中的终端设备等。The terminal may be an electronic device with a display screen, including but not limited to wearable devices, handheld devices, personal computers, tablet computers, vehicle-mounted devices, smart phones, computing devices or other processing devices connected to a wireless modem, etc. The terminal device may be called by different names in different networks, such as user equipment, access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication device, user agent or user device, cellular phone, cordless phone, personal digital assistant (PDA), terminal device in 5G network or future evolution network, etc.

具体的,该屏幕控制权限共享方法包括:Specifically, the screen control authority sharing method includes:

步骤S101,在与接收终端进行屏幕共享时,向接收终端发送针对发送终端的第一屏幕的控制权限共享指令。Step S101 : when performing screen sharing with a receiving terminal, sending a control authority sharing instruction for a first screen of a sending terminal to the receiving terminal.

根据一些实施例,本实施例的执行主体为发送终端,该发送终端为屏幕共享时屏幕共享被观看方,接收终端为屏幕共享观看方,即发送终端和接收终端进行屏幕共享时,发送终端的屏幕和接收终端的屏幕显示的屏幕画面均为发送终端的屏幕画面。发送终端和接收终端并不特指某一固定终端。例如当A终端和B终端进行屏幕共享时,A终端为屏幕共享观看方,则A终端为接收终端,B终端为屏幕共享被观看方,则B终端为发送终端。当A终端和B终端进行屏幕共享时,B终端为屏幕共享观看方,则B终端为接收终端,A终端为屏幕共享被观看方,则A终端为发送终端。According to some embodiments, the execution subject of this embodiment is a sending terminal, and the sending terminal is the screen sharing viewed party during screen sharing, and the receiving terminal is the screen sharing viewer, that is, when the sending terminal and the receiving terminal perform screen sharing, the screen images displayed on the screen of the sending terminal and the screen of the receiving terminal are both the screen images of the sending terminal. The sending terminal and the receiving terminal do not specifically refer to a certain fixed terminal. For example, when terminal A and terminal B perform screen sharing, terminal A is the screen sharing viewer, then terminal A is the receiving terminal, terminal B is the screen sharing viewed party, and terminal B is the sending terminal. When terminal A and terminal B perform screen sharing, terminal B is the screen sharing viewer, then terminal B is the receiving terminal, terminal A is the screen sharing viewed party, and terminal A is the screen sharing viewed party, then terminal A is the sending terminal.

易于理解的是,第一屏幕是指发送终端的屏幕,第一屏幕并不特指某一固定屏幕,当发送终端变化时,第一屏幕会随着发送终端的变化而变化。例如,当B终端为发送终端时,第一屏幕为B终端的屏幕b屏幕。当A终端为发送终端时,第一屏幕为A终端的屏幕a屏幕。It is easy to understand that the first screen refers to the screen of the sending terminal, and the first screen does not specifically refer to a fixed screen. When the sending terminal changes, the first screen will change with the change of the sending terminal. For example, when terminal B is the sending terminal, the first screen is screen b of terminal B. When terminal A is the sending terminal, the first screen is screen a of terminal A.

根据一些实施例,控制权限是指可以控制第一屏幕的权限。其中控制权限包括但不限于对第一屏幕的语音控制权限、点击控制权限、文字控制权限,以及其他可以实现的控制权限等。本实施例的技术方案不仅适用于对终端中单一应用程序的控制场景,还可以用于对终端整体的控制场景。According to some embodiments, the control permission refers to the permission to control the first screen. The control permission includes but is not limited to the voice control permission, click control permission, text control permission, and other control permissions that can be realized for the first screen. The technical solution of this embodiment is not only applicable to the control scenario of a single application in the terminal, but also can be used for the control scenario of the entire terminal.

易于理解的是,在发送终端与接收终端进行屏幕共享时,发送终端可以获取针对发送终端的第一屏幕的控制权限共享指令。当发送终端获取到针对第一屏幕的控制权限共享指令时,发送终端可以向接收终端发送针对发送终端的第一屏幕的控制权限共享指令。It is easy to understand that when the sending terminal and the receiving terminal share the screen, the sending terminal can obtain the control authority sharing instruction for the first screen of the sending terminal. When the sending terminal obtains the control authority sharing instruction for the first screen, the sending terminal can send the control authority sharing instruction for the first screen of the sending terminal to the receiving terminal.

可选的,A终端例如可以为发送终端,B终端例如可以为接收终端,在A终端与B终端进行屏幕共享时,A终端可以获取针对A终端的第一屏幕a屏幕的控制权限共享指令。当A终端获取到针对a屏幕的控制权限共享指令时,A终端可以向B终端发送针对A终端的a屏幕的控制权限共享指令。Optionally, terminal A may be, for example, a sending terminal, and terminal B may be, for example, a receiving terminal. When terminal A and terminal B perform screen sharing, terminal A may obtain a control authority sharing instruction for the first screen a of terminal A. When terminal A obtains a control authority sharing instruction for screen a, terminal A may send a control authority sharing instruction for screen a of terminal A to terminal B.

步骤S102,接收接收终端发送的针对第一屏幕的屏幕控制指令。Step S102: receiving a screen control instruction for a first screen sent by a receiving terminal.

根据一些实施例,屏幕控制指令是指接收终端接收到的针对第一屏幕的控制指令。该屏幕控制指令可以是接收终端在接收终端的第二屏幕上接收到的针对第一屏幕的控制指令。该屏幕控制指令包括但不限于点击控制指令、语音控制指令、文字控制指令等等。According to some embodiments, the screen control instruction refers to a control instruction for the first screen received by the receiving terminal. The screen control instruction may be a control instruction for the first screen received by the receiving terminal on the second screen of the receiving terminal. The screen control instruction includes but is not limited to a click control instruction, a voice control instruction, a text control instruction, and the like.

易于理解的是,当发送终端向接收终端发送针对发送终端的第一屏幕的控制权限共享指令时,接收终端可以接收该控制权限共享指令。当接收终端接收到该控制权限共享指令时,接收终端可以监听针对第一屏幕的屏幕控制指令。当接收终端监听到针对第一屏幕的屏幕控制指令时,接收终端可以发送该屏幕控制指令至发送终端。当发送终端检测到接收终端发送针对第一屏幕的屏幕控制指令时,发送终端可以接收该接收终端发送的针对第一屏幕的屏幕控制指令。It is easy to understand that when the sending terminal sends a control authority sharing instruction for the first screen of the sending terminal to the receiving terminal, the receiving terminal can receive the control authority sharing instruction. When the receiving terminal receives the control authority sharing instruction, the receiving terminal can monitor the screen control instruction for the first screen. When the receiving terminal monitors the screen control instruction for the first screen, the receiving terminal can send the screen control instruction to the sending terminal. When the sending terminal detects that the receiving terminal sends the screen control instruction for the first screen, the sending terminal can receive the screen control instruction for the first screen sent by the receiving terminal.

可选的,A终端例如可以为发送终端,B终端例如可以为接收终端,当A终端向B终端发送针对A终端的第一屏幕a屏幕的控制权限共享指令时,B终端可以接收该控制权限共享指令。当B终端接收到该控制权限共享指令时,B终端可以监听针对a屏幕的屏幕控制指令。当B终端监听到针对a屏幕的点击屏幕控制指令时,B终端可以发送该点击屏幕控制指令至A终端。当A终端检测到B终端发送针对a屏幕的点击屏幕控制指令时,A终端可以接收B终端发送的针对a屏幕的点击屏幕控制指令。Optionally, terminal A may be, for example, a sending terminal, and terminal B may be, for example, a receiving terminal. When terminal A sends a control authority sharing instruction for the first screen a of terminal A to terminal B, terminal B may receive the control authority sharing instruction. When terminal B receives the control authority sharing instruction, terminal B may monitor screen control instructions for screen a. When terminal B monitors a click screen control instruction for screen a, terminal B may send the click screen control instruction to terminal A. When terminal A detects that terminal B sends a click screen control instruction for screen a, terminal A may receive the click screen control instruction for screen a sent by terminal B.

步骤S103,将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。Step S103: writing the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction.

根据一些实施例,系统是指可以处理屏幕控制指令的系统,该系统可以是发送终端的系统,还可以是发送终端所在的系统等。当该系统为发送终端所在的系统时,该系统可以例如可以包括发送终端、接收终端以及传输线路等等。According to some embodiments, the system refers to a system that can process screen control instructions, and the system may be a system of a sending terminal, or a system where the sending terminal is located, etc. When the system is a system where the sending terminal is located, the system may, for example, include a sending terminal, a receiving terminal, a transmission line, and the like.

易于理解的是,当发送终端接收到接收终端发送的针对第一屏幕的屏幕控制指令时,发送终端可以将该屏幕控制指令写入系统,系统可以处理屏幕控制指令,并基于该控制指令控制发送终端的第一屏幕,以使接收终端基于屏幕控制指令控制第一屏幕。在此过程中,发送终端还可以接收在发送终端的第一屏幕上输入的屏幕控制指令,并将屏幕控制指令写入系统中,以使发送终端控制第一屏幕。It is easy to understand that when the sending terminal receives the screen control instruction for the first screen sent by the receiving terminal, the sending terminal can write the screen control instruction into the system, the system can process the screen control instruction, and control the first screen of the sending terminal based on the control instruction, so that the receiving terminal controls the first screen based on the screen control instruction. In this process, the sending terminal can also receive the screen control instruction input on the first screen of the sending terminal, and write the screen control instruction into the system, so that the sending terminal controls the first screen.

可选的,当A终端检测到B终端发送针对a屏幕的点击屏幕控制指令时,A终端可以接收B终端发送的针对a屏幕的点击屏幕控制指令。当A终端接收到B终端发送的针对a屏幕的点击屏幕控制指令时,A终端可以将点击屏幕控制指令写入系统中,以便B终端可以基于点击屏幕控制指令控制a屏幕。Optionally, when terminal A detects that terminal B sends a click screen control instruction for screen a, terminal A can receive the click screen control instruction for screen a sent by terminal B. When terminal A receives the click screen control instruction for screen a sent by terminal B, terminal A can write the click screen control instruction into the system so that terminal B can control screen a based on the click screen control instruction.

在本申请一个或多个实施例中,在与接收终端进行屏幕共享时,可以向接收终端发送针对发送终端的第一屏幕的控制权限共享指令,并将接收终端发送的针对第一屏幕的屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕,因此发送终端和接收终端可以同时控制第一屏幕,减少在屏幕共享过程中接收终端不能控制第一屏幕的情况,且接收终端不需要发送屏幕控制权限共享请求至发送终端,可以减少共享屏幕的控制步骤,也不需要等待发送终端确认共享屏幕控制权限,进而可以提高屏幕共享的便利性。In one or more embodiments of the present application, when screen sharing is performed with a receiving terminal, a control permission sharing instruction for the first screen of the sending terminal can be sent to the receiving terminal, and the screen control instruction for the first screen sent by the receiving terminal can be written into the system, so that the receiving terminal controls the first screen based on the screen control instruction. Therefore, the sending terminal and the receiving terminal can control the first screen at the same time, reducing the situation where the receiving terminal cannot control the first screen during the screen sharing process. The receiving terminal does not need to send a screen control permission sharing request to the sending terminal, which can reduce the control steps of the shared screen, and there is no need to wait for the sending terminal to confirm the shared screen control permission, thereby improving the convenience of screen sharing.

请参见图3,为本申请实施例提供了一种屏幕控制权限共享方法的流程示意图。如图3所示,本申请实施例的所述方法可以包括以下步骤S201-步骤S205。Please refer to Figure 3, which is a flowchart of a method for sharing screen control permissions provided in an embodiment of the present application. As shown in Figure 3, the method in the embodiment of the present application may include the following steps S201-S205.

步骤S201,在与接收终端进行屏幕共享时,接收针对发送终端的第一屏幕输入的控制权限共享操作信号。Step S201 : receiving a control authority sharing operation signal input for a first screen of a sending terminal when performing screen sharing with a receiving terminal.

根据一些实施例,本实施例的执行主体为发送终端,即本申请实施例的执行主体为屏幕共享观看方。当发送终端与接收终端屏幕共享时,发送终端可以发送屏幕共享请求至接收终端。当接收终端接收到该屏幕共享请求时,接收终端可以接收针对该屏幕共享请求的确认指令时,接收终端可以将该针对该屏幕共享请求的确认指令发送至发送终端。发送终端接收到该针对该屏幕共享请求的确认指令时,发送终端可以和接收终端进行屏幕共享,即发送终端可以将第一屏幕的画面显示在接收终端的第二屏幕上。According to some embodiments, the executor of this embodiment is a sending terminal, that is, the executor of the embodiment of the present application is a screen sharing viewer. When the sending terminal shares the screen with the receiving terminal, the sending terminal can send a screen sharing request to the receiving terminal. When the receiving terminal receives the screen sharing request, the receiving terminal can receive a confirmation instruction for the screen sharing request, and the receiving terminal can send the confirmation instruction for the screen sharing request to the sending terminal. When the sending terminal receives the confirmation instruction for the screen sharing request, the sending terminal can share the screen with the receiving terminal, that is, the sending terminal can display the screen of the first screen on the second screen of the receiving terminal.

易于理解的是,A终端例如可以为发送终端,B终端例如可以是接收终端。当A终端和B终端未进行屏幕共享时,A终端和B终端的屏幕画面的显示可以如图4所示。当A终端可以发送屏幕共享请求至B终端。当B终端接收到该屏幕共享请求时,B终端可以接收针对该屏幕共享请求的确认指令时,B终端可以将该确认指令发送至A终端。A终端接收到该确认指令时,A终端可以和B终端进行屏幕共享,即A终端可以将第一屏幕a屏幕的画面显示在B终端的第二屏幕b屏幕上,此时,A终端和B终端的屏幕画面的显示可以如图5所示。It is easy to understand that terminal A can be, for example, a sending terminal, and terminal B can be, for example, a receiving terminal. When terminal A and terminal B do not share screens, the display of the screen images of terminal A and terminal B can be as shown in FIG4. When terminal A can send a screen sharing request to terminal B. When terminal B receives the screen sharing request, terminal B can receive a confirmation instruction for the screen sharing request, and terminal B can send the confirmation instruction to terminal A. When terminal A receives the confirmation instruction, terminal A can share the screen with terminal B, that is, terminal A can display the image of the first screen a on the second screen b of terminal B. At this time, the display of the screen images of terminal A and terminal B can be as shown in FIG5.

根据一些实施例,图6示出本申请实施例的一种屏幕控制权限共享方法的交互示意图。在发送终端与接收终端进行屏幕共享时,发送终端可以检测针对发送终端的第一屏幕是否输入控制权限共享操作信号。该控制权限共享操作信号包括但不限于语音控制权限共享操作信号、触摸控制权限共享操作信号等等。当发送终端检测到针对第一屏幕输入控制权限共享操作信号时,发送终端可以接收针对发送终端的第一屏幕输入的控制权限共享操作信号。例如,发送终端检测到针对第一屏幕输入的点击控制权限共享操作信号时,发送终端可以接收针对发送终端的第一屏幕输入的点击控制权限共享操作信号。According to some embodiments, Figure 6 shows an interactive schematic diagram of a screen control authority sharing method of an embodiment of the present application. When the sending terminal and the receiving terminal perform screen sharing, the sending terminal can detect whether a control authority sharing operation signal is input for the first screen of the sending terminal. The control authority sharing operation signal includes but is not limited to a voice control authority sharing operation signal, a touch control authority sharing operation signal, and the like. When the sending terminal detects that a control authority sharing operation signal is input for the first screen, the sending terminal can receive the control authority sharing operation signal input for the first screen of the sending terminal. For example, when the sending terminal detects a click control authority sharing operation signal input for the first screen, the sending terminal can receive a click control authority sharing operation signal input for the first screen of the sending terminal.

步骤S202,将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端。Step S202: converting the control authority sharing operation signal into a control authority sharing instruction in a first specified format, and sending the control authority sharing instruction to a receiving terminal.

根据一些实施例,第一指定格式是指与控制权限共享指令对应的格式,该第一指定格式并不特指某一固定格式。例如不同控制权限共享指令可以对应不同的指定格式。例如点击控制权限共享指令可以对应Q指定格式,语音控制权限共享指令可以对应W指定格式。不同的接收终端也可以对应不用的指定格式。According to some embodiments, the first specified format refers to a format corresponding to a control authority sharing instruction, and the first specified format does not specifically refer to a fixed format. For example, different control authority sharing instructions may correspond to different specified formats. For example, a click control authority sharing instruction may correspond to a Q specified format, and a voice control authority sharing instruction may correspond to a W specified format. Different receiving terminals may also correspond to different specified formats.

易于理解的是,在发送终端接收到针对发送终端的第一屏幕输入的控制权限共享操作信号之前,发送终端可以基于用户的格式设置指令设置控制权限共享指令对应的第一指定格式。发送终端还可以在接收到针对发送终端的第一屏幕输入的控制权限共享操作信号时,发出提示信息,并接收到针对所述控制权限共享操作信号对应的格式设置指令时,设置该控制权限共享指令对应的第一指定格式。该控制权限共享指令可以是控制第一屏幕全屏权限的共享指令,还可以是控制第一屏幕预设区域权限的共享指令。It is easy to understand that before the sending terminal receives the control authority sharing operation signal input for the first screen of the sending terminal, the sending terminal can set the first specified format corresponding to the control authority sharing instruction based on the user's format setting instruction. The sending terminal can also issue a prompt message when receiving the control authority sharing operation signal input for the first screen of the sending terminal, and set the first specified format corresponding to the control authority sharing instruction when receiving the format setting instruction corresponding to the control authority sharing operation signal. The control authority sharing instruction can be a sharing instruction for controlling the full screen permission of the first screen, and can also be a sharing instruction for controlling the permission of the preset area of the first screen.

根据一些实施例,当发送终端接收到针对发送终端的第一屏幕输入的控制权限共享操作信号时,发送终端可以获取该控制权限共享操作信号对应的第一指定格式。当发送终端获取到该控制权限共享操作信号对应的第一指定格式时,发送可以将该控制权限共享操作信号转换为第一指定格式的控制权限共享指令,并将控制权限共享指令发送至接收终端。According to some embodiments, when the sending terminal receives a control authority sharing operation signal input to the first screen of the sending terminal, the sending terminal may obtain a first specified format corresponding to the control authority sharing operation signal. When the sending terminal obtains the first specified format corresponding to the control authority sharing operation signal, the sending terminal may convert the control authority sharing operation signal into a control authority sharing instruction in the first specified format, and send the control authority sharing instruction to the receiving terminal.

易于理解的是,图7示出本申请实施例的一种终端界面的举例示意图。如图7所示,当A终端接收到针对A终端的a屏幕输入的点击控制权限共享操作信号时,A终端可以获取该点击控制权限共享操作信号对应的第一指定格式。A终端获取到的第一指定格式例如可以是Q指定格式。A终端可以将该点击控制权限共享操作信号转换为Q指定格式的点击控制权限共享指令,并将点击控制权限共享指令发送至B终端。It is easy to understand that FIG7 shows an example schematic diagram of a terminal interface of an embodiment of the present application. As shown in FIG7, when terminal A receives a click control authority sharing operation signal input to screen a of terminal A, terminal A can obtain the first specified format corresponding to the click control authority sharing operation signal. The first specified format obtained by terminal A can be, for example, a Q specified format. Terminal A can convert the click control authority sharing operation signal into a click control authority sharing instruction in the Q specified format, and send the click control authority sharing instruction to terminal B.

根据一些实施例,请参见图8,为本申请实施例提供了一种共享屏幕切换方法的流程示意图。如图8所示,本申请实施例的所述方法还可以包括以下步骤S301-步骤S302。步骤S301,展示提示信息,提示信息用于提示接收到针对第一屏幕输入的控制权限共享操作信号;步骤S302,接收针对提示信息的确认指令,将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端。According to some embodiments, please refer to Figure 8, which provides a flow chart of a shared screen switching method for an embodiment of the present application. As shown in Figure 8, the method of the embodiment of the present application may also include the following steps S301-S302. Step S301, displaying prompt information, the prompt information is used to prompt that a control authority sharing operation signal input for the first screen is received; step S302, receiving a confirmation instruction for the prompt information, converting the control authority sharing operation signal into a control authority sharing instruction in a first specified format, and sending the control authority sharing instruction to the receiving terminal.

易于理解的是,当发送终端接收到针对发送终端的第一屏幕输入的控制权限共享操作信号时,发送终端可以展示提示信息。该提示信息用于提示接收到针对第一屏幕输入的控制权限共享操作信号。当发送终端接收到针对该提示信息的确认指令时,发送终端可以将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,并将控制权限共享指令发送至接收终端。It is easy to understand that when the sending terminal receives a control authority sharing operation signal input for the first screen of the sending terminal, the sending terminal can display prompt information. The prompt information is used to prompt that the control authority sharing operation signal input for the first screen is received. When the sending terminal receives a confirmation instruction for the prompt information, the sending terminal can convert the control authority sharing operation signal into a control authority sharing instruction in a first specified format, and send the control authority sharing instruction to the receiving terminal.

可选的,当A终端接收到针对A终端的第一屏幕a屏幕输入的点击控制权限共享操作信号时,A终端可以展示提示信息。此时,A终端的界面示意图可以如图9所示。该提示信息用于提示接收到针对第一屏幕a屏幕输入的点击控制权限共享操作信号。当A终端接收到针对该提示信息的确认指令时,A终端可以将控制权限共享操作信号转换为Q指定格式的点击控制权限共享指令,将点击控制权限共享指令发送至B终端。Optionally, when terminal A receives a click control authority sharing operation signal input for the first screen a screen of terminal A, terminal A may display a prompt message. At this time, the interface diagram of terminal A may be shown in FIG9. The prompt message is used to prompt that a click control authority sharing operation signal input for the first screen a screen has been received. When terminal A receives a confirmation instruction for the prompt message, terminal A may convert the control authority sharing operation signal into a click control authority sharing instruction in a format specified by Q, and send the click control authority sharing instruction to terminal B.

步骤S203,接收接收终端发送的针对第一屏幕的屏幕控制指令。Step S203: receiving a screen control instruction for the first screen sent by the receiving terminal.

具体过程如上所述,此处不再赘述。The specific process is as described above and will not be repeated here.

根据一些实施例,发送终端等待接收接收终端发送的针对第一屏幕的屏幕控制指令时,发送终端还可以接收在发送终端的第一屏幕上输入的屏幕控制指令。该屏幕控制指令包括但不限于语音屏幕控制指令、点击屏幕控制指令等等。发送终端接收到屏幕控制指令例如可以是“翻页”。According to some embodiments, when the sending terminal waits to receive the screen control instruction for the first screen sent by the receiving terminal, the sending terminal may also receive the screen control instruction input on the first screen of the sending terminal. The screen control instruction includes but is not limited to a voice screen control instruction, a click screen control instruction, etc. The screen control instruction received by the sending terminal may be, for example, "turn the page".

步骤S204,解析屏幕控制指令,并将屏幕控制指令转换为触摸事件。Step S204, parsing the screen control instruction and converting the screen control instruction into a touch event.

根据一些实施例,触摸事件是指发送终端获取到的与接收终端接收到的屏幕控制指令对应的触摸事件。该触摸事件包括但不限于单指触摸事件、多指触摸事件、点击触摸事件、滑动触摸事件等等。本申请实施例的触摸事件例如可以是双指触摸事件。According to some embodiments, a touch event refers to a touch event corresponding to a screen control instruction received by a receiving terminal and acquired by a sending terminal. The touch event includes but is not limited to a single-finger touch event, a multi-finger touch event, a click touch event, a sliding touch event, etc. The touch event of the embodiment of the present application may be, for example, a two-finger touch event.

易于理解的是,当发送终端接收到接收终端发送的针对第一屏幕的屏幕控制指令时,发送终端可以解析该屏幕控制指令。当发送终端解析屏幕控制指令时,发送终端可以将该屏幕控制指令转换为触摸事件。当发送终端将屏幕控制指令转换为触摸事件时,发送终端可以采用识别算法识别到该触摸事件对应的触摸操作。It is easy to understand that when the sending terminal receives the screen control instruction for the first screen sent by the receiving terminal, the sending terminal can parse the screen control instruction. When the sending terminal parses the screen control instruction, the sending terminal can convert the screen control instruction into a touch event. When the sending terminal converts the screen control instruction into a touch event, the sending terminal can use a recognition algorithm to identify the touch operation corresponding to the touch event.

可选的,当A终端接收到B终端发送的针对第一屏幕a屏幕的双指屏幕控制指令时,A终端可以解析该双指屏幕控制指令。当A终端解析该双指屏幕控制指令时,A终端可以将双指屏幕控制指令转换为双指触摸事件。此时,A终端可以采用识别算法识别到该双指触摸事件对应的触摸操作为放大屏幕操作。Optionally, when terminal A receives a two-finger screen control instruction for the first screen a sent by terminal B, terminal A can parse the two-finger screen control instruction. When terminal A parses the two-finger screen control instruction, terminal A can convert the two-finger screen control instruction into a two-finger touch event. At this time, terminal A can use a recognition algorithm to recognize that the touch operation corresponding to the two-finger touch event is a screen zoom operation.

根据一些实施例,请参见图10,为本申请实施例提供了一种共享屏幕切换方法的流程示意图。如图10所示,本申请实施例的所述方法在解析屏幕控制指令,将屏幕控制指令转换为触摸事件时可以包括以下步骤S401-步骤S402。步骤S401,解析屏幕控制指令,获取第二屏幕的第二尺寸信息,第二屏幕为接收终端的屏幕;步骤S402,获取第一屏幕的第一尺寸信息,并基于第一尺寸信息和第二尺寸信息,将屏幕控制指令转换为触摸事件。According to some embodiments, please refer to FIG. 10, which provides a flow chart of a shared screen switching method for an embodiment of the present application. As shown in FIG. 10, the method of the embodiment of the present application may include the following steps S401-S402 when parsing the screen control instruction and converting the screen control instruction into a touch event. Step S401, parse the screen control instruction, obtain the second size information of the second screen, the second screen is the screen of the receiving terminal; step S402, obtain the first size information of the first screen, and convert the screen control instruction into a touch event based on the first size information and the second size information.

易于理解的是,由于终端屏幕尺寸不同,会存在由于发送终端和接收终端的屏幕尺寸信息不一致导致屏幕控制准确性较低的问题。因此发送终端在接收到针对接收终端发送的针对第一屏幕的屏幕控制指令时,发送终端可以解析该屏幕控制指令,获取到接收终端的第二屏幕的第二尺寸信息。第二屏幕为接收终端的屏幕,但第二屏幕并不特指某一固定屏幕。例如当接收终端发生变化时,第二屏幕也会相应变化。第二尺寸信息是指与第二屏幕对应的尺寸信息。该第二尺寸信息并不特指某一固定尺寸信息。当第二屏幕发生变化时,第二尺寸信息也会相应变化。It is easy to understand that due to the different sizes of terminal screens, there will be a problem of low screen control accuracy due to the inconsistency of screen size information between the sending terminal and the receiving terminal. Therefore, when the sending terminal receives a screen control instruction for the first screen sent to the receiving terminal, the sending terminal can parse the screen control instruction and obtain the second size information of the second screen of the receiving terminal. The second screen is the screen of the receiving terminal, but the second screen does not specifically refer to a fixed screen. For example, when the receiving terminal changes, the second screen will also change accordingly. The second size information refers to the size information corresponding to the second screen. The second size information does not specifically refer to a fixed size information. When the second screen changes, the second size information will also change accordingly.

可选的,当发送终端获取到第二尺寸信息时,发送终端可以获取发送终端的第一屏幕的第一尺寸信息,并基于第一尺寸信息和第二尺寸信息,将接收到的屏幕控制指令转换为触摸事件,可以提高接收终端控制第一屏幕的准确性。Optionally, when the sending terminal obtains the second size information, the sending terminal can obtain the first size information of the first screen of the sending terminal, and based on the first size information and the second size information, convert the received screen control instruction into a touch event, thereby improving the accuracy of the receiving terminal controlling the first screen.

根据一些实施例,A终端解析双指屏幕控制指令时,A终端获取到B终端的第二屏幕b屏幕的第二尺寸信息例如可以是5.0英寸。A终端获取到A终端的第一屏幕a屏幕的第一尺寸信息例如可以是6.5英寸。当A终端获取到第一尺寸信息和第二尺寸信息时,A终端可以将该双指屏幕控制指令转化为与第二尺寸信息对应的双指触摸事件。A终端可以将双指触摸事件写入到系统中,系统可以基于该触摸事件控制控制该双指触摸事件对应的屏幕区域,以使B终端可以基于触摸事件控制屏幕。According to some embodiments, when terminal A parses the two-finger screen control instruction, terminal A obtains the second size information of the second screen b of terminal B, which may be, for example, 5.0 inches. Terminal A obtains the first size information of the first screen a of terminal A, which may be, for example, 6.5 inches. When terminal A obtains the first size information and the second size information, terminal A may convert the two-finger screen control instruction into a two-finger touch event corresponding to the second size information. Terminal A may write the two-finger touch event into the system, and the system may control the screen area corresponding to the two-finger touch event based on the touch event, so that terminal B may control the screen based on the touch event.

步骤S205,将触摸事件写入系统中,以使接收终端基于触摸事件控制第一屏幕。Step S205: writing the touch event into the system so that the receiving terminal controls the first screen based on the touch event.

根据一些实施例,当接收终端接收到第一屏幕的触摸事件时,接收终端可以将该触摸事件转换为第二指定格式的屏幕控制指令,并将该屏幕控制指令发送至发送终端。当发送终端接收到该屏幕控制指令,并将屏幕控制指令转换为触摸事件时,发送终端可以将触摸事件写入到系统中,系统可以基于该触摸事件控制屏幕,以使接收终端可以基于触摸事件控制屏幕。According to some embodiments, when the receiving terminal receives a touch event of the first screen, the receiving terminal may convert the touch event into a screen control instruction in a second specified format and send the screen control instruction to the sending terminal. When the sending terminal receives the screen control instruction and converts the screen control instruction into a touch event, the sending terminal may write the touch event into the system, and the system may control the screen based on the touch event, so that the receiving terminal can control the screen based on the touch event.

易于理解的是,当B终端接收到第一屏幕a屏幕的触摸事件时,B终端可以将该触摸事件转换为第二指定格式的屏幕控制指令,并将该屏幕控制指令发送至A终端。该触摸事件例如可以是双指放大屏幕的触摸事件。当A终端接收到该屏幕控制指令,并将该屏幕控制指令转换为双指触摸事件时,A终端可以将双指触摸事件写入到系统中,系统可以基于该触摸事件控制放大该双指触摸事件对应的屏幕区域,以使B终端可以基于触摸事件控制第一屏幕a屏幕。It is easy to understand that when the B terminal receives a touch event of the first screen a screen, the B terminal can convert the touch event into a screen control instruction in the second specified format and send the screen control instruction to the A terminal. The touch event can be, for example, a touch event of two fingers zooming in on the screen. When the A terminal receives the screen control instruction and converts the screen control instruction into a two-finger touch event, the A terminal can write the two-finger touch event into the system, and the system can control the zooming of the screen area corresponding to the two-finger touch event based on the touch event, so that the B terminal can control the first screen a screen based on the touch event.

根据一些实施例,在发送终端将控制权限共享指令发送至接收终端之后,发送终端还可以发送控制权限停止指令至接收终端,以便接收终端停止控制发送终端的第一屏幕。该控制权限停止指令包括但不限于语音控制权限停止指令、点击控制权限停止指令、定时控制权限停止指令等等。当发送终端发送控制权限停止指令至接收终端之后,发送终端可以和接收终端继续进行屏幕共享,但接收终端不可以控制第一屏幕。According to some embodiments, after the sending terminal sends the control authority sharing instruction to the receiving terminal, the sending terminal may also send a control authority stop instruction to the receiving terminal so that the receiving terminal stops controlling the first screen of the sending terminal. The control authority stop instruction includes but is not limited to a voice control authority stop instruction, a click control authority stop instruction, a timed control authority stop instruction, and the like. After the sending terminal sends the control authority stop instruction to the receiving terminal, the sending terminal can continue to share the screen with the receiving terminal, but the receiving terminal cannot control the first screen.

易于理解的是,当发送终端发送控制权限停止指令至接收终端时,发送终端还可以停止和接收终端继续进行屏幕共享,即发送终端和接收终端可以停止进行屏幕共享。It is easy to understand that when the sending terminal sends the control authority stop instruction to the receiving terminal, the sending terminal can also stop sharing the screen with the receiving terminal, that is, the sending terminal and the receiving terminal can stop sharing the screen.

在本申请一个或多个实施例中,在与接收终端进行屏幕共享时,接收到针对发送终端的第一屏幕输入的控制权限共享操作信号,可以将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端,可以提高接收终端接收指令的便利性,并且可以提高指令传输的安全性。其次,接收到接收终端发送的针对第一屏幕的屏幕控制指令时,可以解析屏幕控制指令,并将屏幕控制指令转换的触摸事件写入系统中,以使接收终端基于触摸事件控制第一屏幕,因此接收终端可以基于控制权限共享指令控制第一屏幕,减少在屏幕共享过程中接收终端不能控制第一屏幕的情况,可以提高屏幕共享的便利性。In one or more embodiments of the present application, when screen sharing is performed with a receiving terminal, a control authority sharing operation signal for the first screen inputted by the sending terminal is received, the control authority sharing operation signal can be converted into a control authority sharing instruction in a first specified format, and the control authority sharing instruction can be sent to the receiving terminal, which can improve the convenience of the receiving terminal in receiving instructions and can improve the security of instruction transmission. Secondly, when a screen control instruction for the first screen sent by the receiving terminal is received, the screen control instruction can be parsed, and the touch event converted from the screen control instruction can be written into the system, so that the receiving terminal controls the first screen based on the touch event. Therefore, the receiving terminal can control the first screen based on the control authority sharing instruction, thereby reducing the situation where the receiving terminal cannot control the first screen during the screen sharing process, and can improve the convenience of screen sharing.

下面将结合附图11,对本申请实施例提供的屏幕控制权限共享装置进行详细介绍。需要说明的是,附图11所示的屏幕控制权限共享装置,用于执行本申请图2-图10所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图2-图10所示的实施例。The following will introduce the screen control authority sharing device provided by the embodiment of the present application in detail in conjunction with Figure 11. It should be noted that the screen control authority sharing device shown in Figure 11 is used to execute the method of the embodiment shown in Figures 2 to 10 of the present application. For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the embodiment shown in Figures 2 to 10 of the present application.

请参见图11,其示出本申请实施例的屏幕控制权限共享装置的结构示意图。该屏幕控制权限共享装置1100可以通过软件、硬件或者两者的结合实现成为用户终端的全部或一部分。根据一些实施例,该屏幕控制权限共享装置1100包括第一指令发送单元1101、第一指令接收单元1102和指令写入单元1103,具体用于:Please refer to Figure 11, which shows a schematic diagram of the structure of the screen control authority sharing device of an embodiment of the present application. The screen control authority sharing device 1100 can be implemented as all or part of the user terminal through software, hardware or a combination of both. According to some embodiments, the screen control authority sharing device 1100 includes a first instruction sending unit 1101, a first instruction receiving unit 1102 and an instruction writing unit 1103, which are specifically used to:

第一指令发送单元1101,用于在与接收终端进行屏幕共享时,向接收终端发送针对发送终端的第一屏幕的控制权限共享指令;The first instruction sending unit 1101 is used to send a control authority sharing instruction for a first screen of a sending terminal to the receiving terminal when performing screen sharing with the receiving terminal;

第一指令接收单元1102,用于接收接收终端发送的针对第一屏幕的屏幕控制指令;A first instruction receiving unit 1102 is configured to receive a screen control instruction for a first screen sent by a receiving terminal;

指令写入单元1103,用于将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。The instruction writing unit 1103 is used to write the screen control instruction into the system, so that the receiving terminal controls the first screen based on the screen control instruction.

根据一些实施例,第一指令发送单元1101,用于向接收终端发送针对发送终端的第一屏幕的控制权限共享指令时,具体用于:According to some embodiments, the first instruction sending unit 1101 is used to send a control authority sharing instruction for a first screen of a sending terminal to a receiving terminal, specifically to:

接收针对发送终端的第一屏幕输入的控制权限共享操作信号;Receiving a control authority sharing operation signal inputted to a first screen of a sending terminal;

将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端。The control authority sharing operation signal is converted into a control authority sharing instruction in a first specified format, and the control authority sharing instruction is sent to a receiving terminal.

根据一些实施例,第一指令发送单元1101,用于接收针对发送终端的第一屏幕输入的控制权限共享操作信号之后,还具体用于:According to some embodiments, the first instruction sending unit 1101 is configured to, after receiving a control authority sharing operation signal input for a first screen of a sending terminal, further specifically be configured to:

展示提示信息,提示信息用于提示接收到针对第一屏幕输入的控制权限共享操作信号;Displaying a prompt message, where the prompt message is used to prompt that a control authority sharing operation signal input for the first screen has been received;

将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端,包括:Converting the control authority sharing operation signal into a control authority sharing instruction in a first specified format, and sending the control authority sharing instruction to a receiving terminal, comprising:

接收针对提示信息的确认指令,将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端。A confirmation instruction for the prompt information is received, a control authority sharing operation signal is converted into a control authority sharing instruction in a first specified format, and the control authority sharing instruction is sent to a receiving terminal.

根据一些实施例,指令写入单元1103,用于将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕时,具体用于:According to some embodiments, the instruction writing unit 1103 is used to write the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction, specifically for:

解析屏幕控制指令,并将屏幕控制指令转换为触摸事件;Parse screen control instructions and convert them into touch events;

将触摸事件写入系统中,以使接收终端基于触摸事件控制第一屏幕。The touch event is written into the system so that the receiving terminal controls the first screen based on the touch event.

根据一些实施例,该屏幕控制权限共享装置1100还包括指令转换单元1104,用于解析屏幕控制指令,将屏幕控制指令转换为触摸事件时,具体用于:According to some embodiments, the screen control authority sharing device 1100 further includes an instruction conversion unit 1104, which is used to parse the screen control instruction and convert the screen control instruction into a touch event, specifically for:

解析屏幕控制指令,获取第二屏幕的第二尺寸信息,第二屏幕为接收终端的屏幕;Parse the screen control instruction to obtain second size information of the second screen, where the second screen is the screen of the receiving terminal;

获取第一屏幕的第一尺寸信息,并基于第一尺寸信息和第二尺寸信息,将屏幕控制指令转换为触摸事件。First size information of the first screen is obtained, and based on the first size information and the second size information, the screen control instruction is converted into a touch event.

在本申请一个或多个实施例中,第一指令发送单元在与接收终端进行屏幕共享时,向接收终端发送针对发送终端的第一屏幕的控制权限共享指令,第二指令接收单元可以在接收到接收终端发送的针对第一屏幕的屏幕控制指令,指令写入单元将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。因此发送终端和接收终端可以同时控制第一屏幕,接收终端不需要发送屏幕控制权限共享请求至发送终端,可以减少共享屏幕控制的步骤,也不需要等待发送终端确认共享屏幕控制权限,进而可以提高屏幕共享的便利性。In one or more embodiments of the present application, when the first instruction sending unit performs screen sharing with the receiving terminal, the first instruction sending unit sends a control authority sharing instruction for the first screen of the sending terminal to the receiving terminal, and the second instruction receiving unit can receive the screen control instruction for the first screen sent by the receiving terminal, and the instruction writing unit writes the screen control instruction into the system, so that the receiving terminal controls the first screen based on the screen control instruction. Therefore, the sending terminal and the receiving terminal can control the first screen at the same time, and the receiving terminal does not need to send a screen control authority sharing request to the sending terminal, which can reduce the steps of sharing screen control, and does not need to wait for the sending terminal to confirm the sharing screen control authority, thereby improving the convenience of screen sharing.

请参见图12,为本申请实施例提供了一种屏幕控制权限共享方法的流程示意图。如图12所示,本申请实施例的所述方法可以包括以下步骤S501-步骤S503。Please refer to Figure 12, which is a flowchart of a method for sharing screen control permissions provided in an embodiment of the present application. As shown in Figure 12, the method in the embodiment of the present application may include the following steps S501-S503.

具体的,该共享屏幕切换方法包括:Specifically, the shared screen switching method includes:

步骤501,在与发送终端进行屏幕共享时,接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令。Step 501: when performing screen sharing with a sending terminal, receiving a control authority sharing instruction for a first screen of the sending terminal sent by the sending terminal.

根据一些实施例,本实施例的执行主体为接收终端,接收终端为屏幕共享观看方。接收终端并不特指某一固定终端,当屏幕共享的终端发生变化时,接收终端也会发生相应变化。发送终端是指屏幕共享被观看方。发送终端并不特指某一固定终端,当屏幕共享的终端发生变化时,发送终端也会发生相应变化。According to some embodiments, the execution subject of this embodiment is a receiving terminal, and the receiving terminal is the screen sharing viewer. The receiving terminal does not specifically refer to a fixed terminal. When the screen sharing terminal changes, the receiving terminal will also change accordingly. The sending terminal refers to the screen sharing viewer. The sending terminal does not specifically refer to a fixed terminal. When the screen sharing terminal changes, the sending terminal will also change accordingly.

易于理解的是,当接收终端与发送终端进行屏幕共享时,发送终端接收到针对第一屏幕的控制权限共享指令时,发送终端可以将该针对第一屏幕的控制权限共享指令发送至接收终端。接收终端检测到发送终端发送该控制权限共享指令时,接收终端可以接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令。It is easy to understand that when the receiving terminal and the sending terminal share the screen, when the sending terminal receives the control authority sharing instruction for the first screen, the sending terminal can send the control authority sharing instruction for the first screen to the receiving terminal. When the receiving terminal detects that the sending terminal sends the control authority sharing instruction, the receiving terminal can receive the control authority sharing instruction for the first screen of the sending terminal sent by the sending terminal.

可选的,当接收终端接收到控制权限共享指令时,接收终端可以直接监听是否存在针对第一屏幕的屏幕控制指令。当接收终端接收到控制权限共享指令时,接收终端还可以发出指令提示信息,该指令提示信息用于提示接收到该控制权限共享指令。此时,接收终端的界面显示可以如图13所示。当接收终端接收到针对该控制权限共享指令的确认指令时,接收终端可以监听是否存在针对第一屏幕的屏幕控制指令。Optionally, when the receiving terminal receives the control authority sharing instruction, the receiving terminal can directly monitor whether there is a screen control instruction for the first screen. When the receiving terminal receives the control authority sharing instruction, the receiving terminal can also issue an instruction prompt information, which is used to prompt that the control authority sharing instruction has been received. At this time, the interface display of the receiving terminal can be shown in Figure 13. When the receiving terminal receives a confirmation instruction for the control authority sharing instruction, the receiving terminal can monitor whether there is a screen control instruction for the first screen.

步骤502,获取针对第一屏幕的屏幕控制指令。Step 502: Obtain screen control instructions for the first screen.

根据一些实施例,在接收终端与发送终端进行屏幕共享时,接收终端可以接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令。当接收终端接收到该控制权限分享指令时,接收终端可以输入针对第一屏幕的控制指令。According to some embodiments, when the receiving terminal and the sending terminal perform screen sharing, the receiving terminal may receive a control authority sharing instruction for the first screen of the sending terminal sent by the sending terminal. When the receiving terminal receives the control authority sharing instruction, the receiving terminal may input a control instruction for the first screen.

易于理解的是,当接收终端接收该控制权限分享指令时,接收终端可以在接收到该控制权限分享指令时监听第二屏幕上是否输入针对第一屏幕的屏幕控制指令。当接收终端监听到第二屏幕上输入针对第一屏幕的屏幕控制指令时,接收终端可以获取针对第一屏幕的屏幕控制指令。It is easy to understand that when the receiving terminal receives the control authority sharing instruction, the receiving terminal can monitor whether the screen control instruction for the first screen is input on the second screen when receiving the control authority sharing instruction. When the receiving terminal monitors the screen control instruction for the first screen being input on the second screen, the receiving terminal can obtain the screen control instruction for the first screen.

可选的,A终端例如可以为发送终端,B终端例如可以是接收终端。当B终端接收到A终端发送的针对A终端的第一屏幕a屏幕的控制权限共享指令时,B终端可以监听第二屏幕b屏幕上是否输入针对第一屏幕a屏幕的屏幕控制指令。当B终端监听到第二屏幕b屏幕上输入针对第一屏幕a屏幕的双指屏幕控制指令时,B终端可以获取针对第一屏幕a屏幕的双指屏幕控制指令。Optionally, terminal A may be, for example, a sending terminal, and terminal B may be, for example, a receiving terminal. When terminal B receives a control authority sharing instruction for the first screen a screen of terminal A sent by terminal A, terminal B may monitor whether a screen control instruction for the first screen a screen is input on the second screen b screen. When terminal B monitors that a two-finger screen control instruction for the first screen a screen is input on the second screen b screen, terminal B may obtain a two-finger screen control instruction for the first screen a screen.

根据一些实施例,请参见图14,为本申请实施例提供了一种共享屏幕切换方法的流程示意图。如图14所示,本申请实施例的所述方法在获取针对第一屏幕的屏幕控制指令时可以包括以下步骤S601-步骤S602。步骤S601,监听在接收终端的第二屏幕上输入的触摸事件,触摸事件为针对第一屏幕的触摸事件;步骤S602,将触摸事件转换为第二指定格式的屏幕控制指令。According to some embodiments, please refer to FIG. 14, which is a flow chart of a method for switching a shared screen provided in an embodiment of the present application. As shown in FIG. 14, the method in an embodiment of the present application may include the following steps S601-S602 when obtaining a screen control instruction for the first screen. Step S601, monitoring a touch event input on the second screen of the receiving terminal, the touch event being a touch event for the first screen; step S602, converting the touch event into a screen control instruction in a second specified format.

易于理解的是,当接收终端获取针对第一屏幕的屏幕控制指令时,接收终端可以在接收到发送终端发送的针对发送终端的第一屏幕的控制权限共享指令。当接收终端接收到该控制权限共享指令时,接收终端可以监听在接收终端的第二屏幕上是否输入的触摸事件。其中,该触摸事件为针对第一屏幕的触摸事件。当接收终端监听到在接收终端的第二屏幕上输入针对第一屏幕的触摸事件时,接收终端可以获取该触摸事件对应的第二指定格式。It is easy to understand that when the receiving terminal obtains the screen control instruction for the first screen, the receiving terminal can receive the control authority sharing instruction for the first screen of the sending terminal sent by the sending terminal. When the receiving terminal receives the control authority sharing instruction, the receiving terminal can monitor whether a touch event is input on the second screen of the receiving terminal. Among them, the touch event is a touch event for the first screen. When the receiving terminal monitors the touch event for the first screen input on the second screen of the receiving terminal, the receiving terminal can obtain the second specified format corresponding to the touch event.

易于理解的是,第二指定格式是指与第二屏幕上针对第一屏幕输入的触摸事件对应的格式,第二指定格式还可以是指与发送终端对应的格式。该第二指令格式并不特指某一固定。第二指定格式可以随着接收终端的变化而变化,也可以随着触摸事件的变化而变化。例如点击触摸事件对应的第二指定格式为E格式,双指触摸事件对应的第二指定格式为R格式。It is easy to understand that the second specified format refers to the format corresponding to the touch event input on the second screen for the first screen, and the second specified format can also refer to the format corresponding to the sending terminal. The second instruction format is not specific to a fixed format. The second specified format can change with the change of the receiving terminal, and can also change with the change of the touch event. For example, the second specified format corresponding to the click touch event is the E format, and the second specified format corresponding to the two-finger touch event is the R format.

可选的,当接收终端接收到该触摸事件对应的第二指定格式时,接收终端可以将该触摸事件转换为第二指定格式的屏幕控制指令。例如B终端在第二屏幕b屏幕上接收到的针对第一屏幕a屏幕的点击触摸事件时,B终端可以获取到点击触摸事件对应的第二指定格式为E格式。B终端可以将该点击触摸事件转换为E格式的点击屏幕控制指令。Optionally, when the receiving terminal receives the second specified format corresponding to the touch event, the receiving terminal may convert the touch event into a screen control instruction in the second specified format. For example, when terminal B receives a click touch event for the first screen a on the second screen b, terminal B may obtain that the second specified format corresponding to the click touch event is format E. Terminal B may convert the click touch event into a click screen control instruction in format E.

步骤503,发送屏幕控制指令至发送终端,屏幕控制指令用于指示发送终端将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。Step 503: Send a screen control instruction to the sending terminal, where the screen control instruction is used to instruct the sending terminal to write the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction.

根据一些实施例,当接收终端获取到针对第一屏幕的屏幕控制指令时,接收终端可以发送该屏幕控制指令至发送终端。屏幕控制指令用于指示发送终端将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕,即发送终端接收到该屏幕控制指令时,发送终端可以将该屏幕控制指令写入到系统中,系统可以基于该屏幕控制指令控制发送终端的第一屏幕,以使接收终端基于屏幕控制指令控制第一屏幕。According to some embodiments, when the receiving terminal obtains the screen control instruction for the first screen, the receiving terminal may send the screen control instruction to the sending terminal. The screen control instruction is used to instruct the sending terminal to write the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction, that is, when the sending terminal receives the screen control instruction, the sending terminal may write the screen control instruction into the system, and the system may control the first screen of the sending terminal based on the screen control instruction, so that the receiving terminal controls the first screen based on the screen control instruction.

易于理解的是,当B终端接收到第一屏幕a屏幕的点击屏幕控制指令时,B终端可以将该点击屏幕控制指令发送至A终端。当A终端接收到该点击屏幕控制指令,A终端可以将点击屏幕控制指令写入到系统中,系统可以基于该点击屏幕控制指令控制第一屏幕a屏幕,以使B终端可以基于点击屏幕控制指令控制第一屏幕。It is easy to understand that when the B terminal receives the click screen control instruction of the first screen a screen, the B terminal can send the click screen control instruction to the A terminal. When the A terminal receives the click screen control instruction, the A terminal can write the click screen control instruction into the system, and the system can control the first screen a screen based on the click screen control instruction, so that the B terminal can control the first screen based on the click screen control instruction.

在本申请一个或多个实施例中,在与发送终端进行屏幕共享时,可以接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令,并将获取到的针对第一屏幕的屏幕控制指令发送至发送终端,以使接收终端基于屏幕控制指令控制第一屏幕。因此发送终端和接收终端可以同时控制第一屏幕,可以减少在屏幕共享过程中接收终端不能控制第一屏幕的情况,且接收终端不需要发送屏幕控制权限共享请求至发送终端,可以减少共享屏幕控制的步骤,也不需要等待发送终端确认共享屏幕控制权限,进而可以提高屏幕共享的便利性。In one or more embodiments of the present application, when screen sharing is performed with a sending terminal, a control permission sharing instruction for the first screen of the sending terminal sent by the sending terminal can be received, and the acquired screen control instruction for the first screen can be sent to the sending terminal, so that the receiving terminal controls the first screen based on the screen control instruction. Therefore, the sending terminal and the receiving terminal can control the first screen at the same time, which can reduce the situation where the receiving terminal cannot control the first screen during the screen sharing process, and the receiving terminal does not need to send a screen control permission sharing request to the sending terminal, which can reduce the steps of sharing screen control, and does not need to wait for the sending terminal to confirm the sharing screen control permission, thereby improving the convenience of screen sharing.

下面将结合附图15,对本申请实施例提供的屏幕控制权限共享装置进行详细介绍。需要说明的是,附图15所示的屏幕控制权限共享装置,用于执行本申请图12-图14所示实施例的方法,为了便于说明,仅示出了与本申请实施例相关的部分,具体技术细节未揭示的,请参照本申请图12-图14所示的实施例。The following will introduce the screen control authority sharing device provided by the embodiment of the present application in detail in conjunction with Figure 15. It should be noted that the screen control authority sharing device shown in Figure 15 is used to execute the method of the embodiment shown in Figures 12 to 14 of the present application. For the convenience of explanation, only the part related to the embodiment of the present application is shown. For the specific technical details not disclosed, please refer to the embodiment shown in Figures 12 to 14 of the present application.

请参见图15,其示出本申请实施例的屏幕控制权限共享装置的结构示意图。该屏幕控制权限共享装置1500可以通过软件、硬件或者两者的结合实现成为用户终端的全部或一部分。根据一些实施例,该屏幕控制权限共享装置1500包括第二指令接收单元1501、指令获取单元1502和第二指令发送单元1503,具体用于:Please refer to Figure 15, which shows a schematic diagram of the structure of the screen control authority sharing device of an embodiment of the present application. The screen control authority sharing device 1500 can be implemented as all or part of the user terminal through software, hardware or a combination of both. According to some embodiments, the screen control authority sharing device 1500 includes a second instruction receiving unit 1501, an instruction acquiring unit 1502 and a second instruction sending unit 1503, which are specifically used to:

第二指令接收单元1501,用于在与发送终端进行屏幕共享时,接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令;The second instruction receiving unit 1501 is used to receive a control authority sharing instruction for a first screen of the sending terminal sent by the sending terminal when performing screen sharing with the sending terminal;

指令获取单元1502,用于获取针对第一屏幕的屏幕控制指令;The instruction acquisition unit 1502 is used to acquire a screen control instruction for the first screen;

第二指令发送单元1503,用于发送屏幕控制指令至发送终端,屏幕控制指令用于指示发送终端将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。The second instruction sending unit 1503 is used to send a screen control instruction to the sending terminal, where the screen control instruction is used to instruct the sending terminal to write the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction.

根据一些实施例,指令获取单元1502,用于获取针对第一屏幕的屏幕控制指令时,具体用于:According to some embodiments, the instruction acquisition unit 1502 is used to acquire the screen control instruction for the first screen, specifically to:

监听在接收终端的第二屏幕上输入的触摸事件,触摸事件为针对第一屏幕的触摸事件;monitoring a touch event input on a second screen of the receiving terminal, where the touch event is a touch event for the first screen;

将触摸事件转换为第二指定格式的屏幕控制指令。The touch event is converted into a screen control instruction in a second specified format.

在本申请一个或多个实施例中,第二指令接收单元在与发送终端进行屏幕共享时,可以接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令,指令获取单元可以获取针对第一屏幕的屏幕控制指令,第二指令发送单元可以发送屏幕控制指令至发送终端,屏幕控制指令用于指示发送终端将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。因此屏幕控制权限共享装置和接收终端可以同时控制第一屏幕,可以减少在屏幕共享过程中接收终端不能控制第一屏幕的情况,且接收终端不需要发送屏幕控制权限共享请求至发送终端,可以减少共享屏幕控制的步骤,也不需要等待发送终端确认共享屏幕控制权限,进而可以提高屏幕共享的便利性。In one or more embodiments of the present application, when the second instruction receiving unit performs screen sharing with the sending terminal, it can receive the control authority sharing instruction for the first screen of the sending terminal sent by the sending terminal, the instruction acquisition unit can acquire the screen control instruction for the first screen, and the second instruction sending unit can send the screen control instruction to the sending terminal, and the screen control instruction is used to instruct the sending terminal to write the screen control instruction into the system so that the receiving terminal controls the first screen based on the screen control instruction. Therefore, the screen control authority sharing device and the receiving terminal can control the first screen at the same time, which can reduce the situation where the receiving terminal cannot control the first screen during the screen sharing process, and the receiving terminal does not need to send a screen control authority sharing request to the sending terminal, which can reduce the steps of sharing screen control, and there is no need to wait for the sending terminal to confirm the sharing screen control authority, thereby improving the convenience of screen sharing.

请参见图16,为本申请实施例提供的一种终端的结构示意图。如图16所示,所述终端1600可以包括:至少一个处理器1601,至少一个网络接口1604,用户接口1603,存储器1605,至少一个通信总线1602。Please refer to Figure 16, which is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. As shown in Figure 16, the terminal 1600 may include: at least one processor 1601, at least one network interface 1604, a user interface 1603, a memory 1605, and at least one communication bus 1602.

其中,通信总线1602用于实现这些组件之间的连接通信。The communication bus 1602 is used to realize the connection and communication between these components.

其中,用户接口1603可以包括显示屏(Display)和GPS,可选用户接口1603还可以包括标准的有线接口、无线接口。The user interface 1603 may include a display screen (Display) and a GPS, and the optional user interface 1603 may also include a standard wired interface and a wireless interface.

其中,网络接口1604可选的可以包括标准的有线接口、无线接口(如WI-FI接口)。The network interface 1604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).

其中,处理器1601可以包括一个或者多个处理核心。处理器1601利用各种借口和线路连接整个终端1600内的各个部分,通过运行或执行存储在存储器1605内的指令、程序、代码集或指令集,以及调用存储在存储器1605内的数据,执行终端1600的各种功能和处理数据。可选的,处理器1601可以采用数字信号处理(Digital Signal Processing,DSP)、现场可编程门阵列(Field-Programmable Gate Array,FPGA)、可编程逻辑阵列(Programmable Logic Array,PLA)中的至少一种硬件形式来实现。处理器1601可集成中央处理器(Central Processing Unit,CPU)、图像处理器(Graphics Processing Unit,GPU)和调制解调器等中的一种或几种的组合。其中,CPU主要处理操作系统、用户界面和应用程序等;GPU用于负责显示屏所需要显示的内容的渲染和绘制;调制解调器用于处理无线通信。可以理解的是,上述调制解调器也可以不集成到处理器1601中,单独通过一块芯片进行实现。Among them, the processor 1601 may include one or more processing cores. The processor 1601 uses various interfaces and lines to connect various parts in the entire terminal 1600, and executes various functions and processes data of the terminal 1600 by running or executing instructions, programs, code sets or instruction sets stored in the memory 1605, and calling data stored in the memory 1605. Optionally, the processor 1601 can be implemented in at least one hardware form of digital signal processing (Digital Signal Processing, DSP), field programmable gate array (Field-Programmable Gate Array, FPGA), and programmable logic array (Programmable Logic Array, PLA). The processor 1601 can integrate one or a combination of a central processing unit (Central Processing Unit, CPU), a graphics processing unit (Graphics Processing Unit, GPU) and a modem. Among them, the CPU mainly processes the operating system, user interface and application programs; the GPU is responsible for rendering and drawing the content to be displayed on the display screen; the modem is used to process wireless communication. It can be understood that the above-mentioned modem may not be integrated into the processor 1601, and it can be implemented separately through a chip.

其中,存储器1605可以包括随机存储器(Random Access Memory,RAM),也可以包括只读存储器(Read-Only Memory)。可选的,该存储器1605包括非瞬时性计算机可读介质(non-transitory computer-readable storage medium)。存储器1605可用于存储指令、程序、代码、代码集或指令集。存储器1605可包括存储程序区和存储数据区,其中,存储程序区可存储用于实现操作系统的指令、用于至少一个功能的指令(比如触控功能、声音播放功能、图像播放功能等)、用于实现上述各个方法实施例的指令等;存储数据区可存储上面各个方法实施例中涉及到的数据等。存储器1605可选的还可以是至少一个位于远离前述处理器1601的存储装置。如图16所示,作为一种计算机存储介质的存储器1605中可以包括操作系统、网络通信模块、用户接口模块以及用于屏幕控制权限共享的应用程序。Among them, the memory 1605 may include a random access memory (RAM) or a read-only memory (Read-Only Memory). Optionally, the memory 1605 includes a non-transitory computer-readable storage medium. The memory 1605 can be used to store instructions, programs, codes, code sets or instruction sets. The memory 1605 may include a program storage area and a data storage area, wherein the program storage area may store instructions for implementing an operating system, instructions for at least one function (such as a touch function, a sound playback function, an image playback function, etc.), instructions for implementing the above-mentioned various method embodiments, etc.; the data storage area may store data involved in the above-mentioned various method embodiments, etc. The memory 1605 may also be at least one storage device located away from the aforementioned processor 1601. As shown in Figure 16, the memory 1605 as a computer storage medium may include an operating system, a network communication module, a user interface module, and an application for sharing screen control permissions.

在图16所示的终端1600中,用户接口1603主要用于为用户提供输入的接口,获取用户输入的数据;而处理器1601可以用于调用存储器1605中存储的屏幕控制权限共享的应用程序,并具体执行以下操作:In the terminal 1600 shown in FIG. 16 , the user interface 1603 is mainly used to provide an input interface for the user and obtain data input by the user; and the processor 1601 can be used to call the screen control authority sharing application stored in the memory 1605 and specifically perform the following operations:

在与接收终端进行屏幕共享时,向接收终端发送针对发送终端的第一屏幕的控制权限共享指令;When performing screen sharing with a receiving terminal, sending a control authority sharing instruction for a first screen of the sending terminal to the receiving terminal;

接收接收终端发送的针对第一屏幕的屏幕控制指令;receiving a screen control instruction for the first screen sent by the receiving terminal;

将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。The screen control instruction is written into the system so that the receiving terminal controls the first screen based on the screen control instruction.

根据一些实施例,处理器1601用于向接收终端发送针对发送终端的第一屏幕的控制权限共享指令时,具体用于执行以下步骤:According to some embodiments, when the processor 1601 is used to send a control authority sharing instruction for a first screen of a sending terminal to a receiving terminal, it is specifically used to perform the following steps:

接收针对发送终端的第一屏幕输入的控制权限共享操作信号;Receiving a control authority sharing operation signal inputted to a first screen of a sending terminal;

将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端。The control authority sharing operation signal is converted into a control authority sharing instruction in a first specified format, and the control authority sharing instruction is sent to a receiving terminal.

根据一些实施例,处理器1601用于接收针对发送终端的第一屏幕输入的控制权限共享操作信号之后,还具体用于执行以下步骤:According to some embodiments, after the processor 1601 is configured to receive a control authority sharing operation signal input for the first screen of the sending terminal, it is further configured to perform the following steps:

展示提示信息,提示信息用于提示接收到针对第一屏幕输入的控制权限共享操作信号;Displaying a prompt message, where the prompt message is used to prompt that a control authority sharing operation signal input for the first screen has been received;

将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端,包括:Converting the control authority sharing operation signal into a control authority sharing instruction in a first specified format, and sending the control authority sharing instruction to a receiving terminal, comprising:

接收针对提示信息的确认指令,将控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将控制权限共享指令发送至接收终端。A confirmation instruction for the prompt information is received, a control authority sharing operation signal is converted into a control authority sharing instruction in a first specified format, and the control authority sharing instruction is sent to a receiving terminal.

根据一些实施例,处理器1601用于将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕时,具体用于执行以下步骤:According to some embodiments, the processor 1601 is used to write the screen control instruction into the system so that when the receiving terminal controls the first screen based on the screen control instruction, it is specifically used to perform the following steps:

解析屏幕控制指令,并将屏幕控制指令转换为触摸事件;Parse screen control instructions and convert them into touch events;

将触摸事件写入系统中,以使接收终端基于触摸事件控制第一屏幕。The touch event is written into the system so that the receiving terminal controls the first screen based on the touch event.

根据一些实施例,处理器1601用于解析屏幕控制指令,将屏幕控制指令转换为触摸事件时,具体用于执行以下步骤:According to some embodiments, the processor 1601 is used to parse the screen control instruction, and when converting the screen control instruction into a touch event, it is specifically used to perform the following steps:

解析屏幕控制指令,获取第二屏幕的第二尺寸信息,第二屏幕为接收终端的屏幕;Parse the screen control instruction to obtain second size information of the second screen, where the second screen is the screen of the receiving terminal;

获取第一屏幕的第一尺寸信息,并基于第一尺寸信息和第二尺寸信息,将屏幕控制指令转换为触摸事件。First size information of the first screen is obtained, and based on the first size information and the second size information, the screen control instruction is converted into a touch event.

根据一些实施例,处理器1601还具体用于执行以下步骤:在与发送终端进行屏幕共享时,接收发送终端发送的针对发送终端的第一屏幕的控制权限共享指令;According to some embodiments, the processor 1601 is further specifically configured to perform the following steps: when performing screen sharing with a sending terminal, receiving a control authority sharing instruction for a first screen of the sending terminal sent by the sending terminal;

获取针对第一屏幕的屏幕控制指令;Obtaining screen control instructions for the first screen;

发送屏幕控制指令至发送终端,屏幕控制指令用于指示发送终端将屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕。A screen control instruction is sent to a sending terminal, where the screen control instruction is used to instruct the sending terminal to write the screen control instruction into a system so that the receiving terminal controls the first screen based on the screen control instruction.

根据一些实施例,处理器1601用于获取针对第一屏幕的屏幕控制指令时,具体用于执行以下步骤:According to some embodiments, when the processor 1601 is used to obtain the screen control instruction for the first screen, it is specifically used to perform the following steps:

监听在接收终端的第二屏幕上输入的触摸事件,触摸事件为针对第一屏幕的触摸事件;monitoring a touch event input on a second screen of the receiving terminal, where the touch event is a touch event for the first screen;

将触摸事件转换为第二指定格式的屏幕控制指令。The touch event is converted into a screen control instruction in a second specified format.

在本申请一个或多个实施例中,在与接收终端进行屏幕共享时,可以向接收终端发送针对发送终端的第一屏幕的控制权限共享指令,并将接收终端发送的针对第一屏幕的屏幕控制指令写入系统中,以使接收终端基于屏幕控制指令控制第一屏幕,因此发送终端和接收终端可以同时控制第一屏幕,减少在屏幕共享过程中接收终端不能控制第一屏幕的情况,且接收终端不需要发送屏幕控制权限共享请求至发送终端,可以减少共享屏幕控制的步骤,也不需要等待发送终端确认共享屏幕控制权限,进而可以提高屏幕共享的便利性。In one or more embodiments of the present application, when screen sharing is performed with a receiving terminal, a control permission sharing instruction for the first screen of the sending terminal can be sent to the receiving terminal, and the screen control instruction for the first screen sent by the receiving terminal can be written into the system, so that the receiving terminal controls the first screen based on the screen control instruction. Therefore, the sending terminal and the receiving terminal can control the first screen at the same time, reducing the situation where the receiving terminal cannot control the first screen during the screen sharing process. The receiving terminal does not need to send a screen control permission sharing request to the sending terminal, which can reduce the steps of sharing screen control and does not need to wait for the sending terminal to confirm the shared screen control authority, thereby improving the convenience of screen sharing.

本申请还提供一种计算机可读存储介质,其上存储有计算机程序,该程序被处理器执行时实现上述方法的步骤。其中,计算机可读存储介质可以包括但不限于任何类型的盘,包括软盘、光盘、DVD、CD-ROM、微型驱动器以及磁光盘、ROM、RAM、EPROM、EEPROM、DRAM、VRAM、闪速存储器设备、磁卡或光卡、纳米系统(包括分子存储器IC),或适合于存储指令和/或数据的任何类型的媒介或设备。The present application also provides a computer-readable storage medium on which a computer program is stored, and when the program is executed by a processor, the steps of the above method are implemented. The computer-readable storage medium may include, but is not limited to, any type of disk, including a floppy disk, an optical disk, a DVD, a CD-ROM, a micro drive, and a magneto-optical disk, a ROM, a RAM, an EPROM, an EEPROM, a DRAM, a VRAM, a flash memory device, a magnetic card or an optical card, a nanosystem (including a molecular memory IC), or any type of medium or device suitable for storing instructions and/or data.

本申请实施例还提供一种计算机程序产品,该计算机程序产品包括存储计算机程序的非瞬时性计算机可读存储介质,该计算机程序可操作来使计算机执行如上述方法实施例中记载的任何一种屏幕控制权限共享方法的部分或全部步骤。An embodiment of the present application also provides a computer program product, which includes a non-transitory computer-readable storage medium storing a computer program, and the computer program is operable to cause a computer to execute part or all of the steps of any screen control authority sharing method recorded in the above method embodiments.

本领域的技术人员可以清楚地了解到本申请的技术方案可借助软件和/或硬件来实现。本说明书中的“单元”和“模块”是指能够独立完成或与其他部件配合完成特定功能的软件和/或硬件,其中硬件例如可以是现场可编程门阵列(Field-ProgrammaBLE GateArray,FPGA)、集成电路(Integrated Circuit,IC)等。Those skilled in the art can clearly understand that the technical solution of the present application can be implemented with the help of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can independently complete or cooperate with other components to complete specific functions, where the hardware can be, for example, a field programmable gate array (FPGA), an integrated circuit (IC), etc.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that, for the aforementioned method embodiments, for the sake of simplicity, they are all expressed as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the described order of actions, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

在上述实施例中,对各个实施例的描述都各有侧重,某个实施例中没有详述的部分,可以参见其他实施例的相关描述。In the above embodiments, the description of each embodiment has its own emphasis. For parts that are not described in detail in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.

在本申请所提供的几个实施例中,应该理解到,所揭露的装置,可通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些服务接口,装置或单元的间接耦合或通信连接,可以是电性或其它的形式。In the several embodiments provided in the present application, it should be understood that the disclosed device can be implemented in other ways. For example, the device embodiments described above are only schematic, such as the division of the units, which 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 through some service interfaces, and the indirect coupling or communication connection of devices or units can be electrical or other forms.

所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。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.

另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。上述集成的单元既可以采用硬件的形式实现,也可以采用软件功能单元的形式实现。In addition, each functional unit in each embodiment of the present application may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of software functional units.

所述集成的单元如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储器中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的全部或部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储器中,包括若干指令用以使得一台计算机设备(可为个人计算机、服务器或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储器包括:U盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、移动硬盘、磁碟或者光盘等各种可以存储程序代码的介质。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 memory. Based on this understanding, the technical solution of the present application, or the part that contributes to the prior art or all or part of the technical solution, can be embodied in the form of a software product, which is stored in a memory and includes several instructions for a computer device (which can be a personal computer, a server or a network device, etc.) to perform all or part of the steps of the method described in each embodiment of the present application. The aforementioned memory includes: U disk, read-only memory (ROM), random access memory (RAM), mobile hard disk, disk or optical disk, etc., and other media that can store program codes.

本领域普通技术人员可以理解上述实施例的各种方法中的全部或部分步骤是可以通进程序来指令相关的硬件来完成,该程序可以存储于一计算机可读存储器中,存储器可以包括:闪存盘、只读存储器(Read-Only Memory,ROM)、随机存取器(Random AccessMemory,RAM)、磁盘或光盘等。A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by entering a program to instruct related hardware. The program may be stored in a computer-readable memory, and the memory may include: a flash drive, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk, etc.

以上所述者,仅为本公开的示例性实施例,不能以此限定本公开的范围。即但凡依本公开教导所作的等效变化与修饰,皆仍属本公开涵盖的范围内。本领域技术人员在考虑说明书及实践这里的公开后,将容易想到本公开的其它实施方案。本申请旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未记载的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的范围和精神由权利要求限定。The above is only an exemplary embodiment of the present disclosure, and the scope of the present disclosure cannot be limited thereto. That is, any equivalent changes and modifications made according to the teachings of the present disclosure are still within the scope of the present disclosure. After considering the specification and practicing the disclosure here, those skilled in the art will easily think of other embodiments of the present disclosure. This application is intended to cover any modification, use or adaptation of the present disclosure, which follows the general principles of the present disclosure and includes common knowledge or customary technical means in the technical field not recorded in the present disclosure. The description and examples are only regarded as exemplary, and the scope and spirit of the present disclosure are defined by the claims.

Claims (8)

Translated fromChinese
1.一种屏幕控制权限共享方法,其特征在于,应用于发送终端,所述方法包括:1. A screen control authority sharing method, characterized in that it is applied to a sending terminal, and the method comprises:在与接收终端进行屏幕共享时,向所述接收终端发送针对所述发送终端的第一屏幕的控制权限共享指令;其中,控制权限为基于不同控制方式控制所述第一屏幕的权限;When screen sharing is performed with a receiving terminal, a control authority sharing instruction for a first screen of the sending terminal is sent to the receiving terminal; wherein the control authority is an authority to control the first screen based on different control modes;接收所述接收终端发送的针对所述第一屏幕的屏幕控制指令;其中,所述屏幕控制指令为所述接收终端基于所述发送终端共享的控制权限发送的;Receiving a screen control instruction for the first screen sent by the receiving terminal; wherein the screen control instruction is sent by the receiving terminal based on the control authority shared by the sending terminal;解析所述屏幕控制指令,获取第二屏幕的第二尺寸信息,所述第二屏幕为所述接收终端的屏幕;获取所述第一屏幕的第一尺寸信息,并基于所述第一尺寸信息和所述第二尺寸信息,将所述屏幕控制指令转换为触摸事件;将所述触摸事件写入系统中,以使所述接收终端基于所述触摸事件控制所述第一屏幕。Parse the screen control instruction to obtain second size information of the second screen, where the second screen is the screen of the receiving terminal; obtain first size information of the first screen, and convert the screen control instruction into a touch event based on the first size information and the second size information; write the touch event into the system so that the receiving terminal controls the first screen based on the touch event.2.根据权利要求 1 所述的方法,其特征在于,所述向所述接收终端发送针对所述发送终端的第一屏幕的控制权限共享指令,包括:2. The method according to claim 1, wherein the step of sending a control permission sharing instruction for the first screen of the sending terminal to the receiving terminal comprises:接收针对所述发送终端的第一屏幕输入的控制权限共享操作信号;Receiving a control authority sharing operation signal inputted to the first screen of the sending terminal;将所述控制权限共享操作信号转换为第一指定格式的控制权限共享指令,converting the control authority sharing operation signal into a control authority sharing instruction in a first specified format,将所述控制权限共享指令发送至所述接收终端。The control authority sharing instruction is sent to the receiving terminal.3.根据权利要求 2 所述的方法,其特征在于,所述接收针对所述发送终端的第一屏幕输入的控制权限共享操作信号之后,还包括:3. The method according to claim 2, characterized in that after receiving the control authority sharing operation signal input for the first screen of the sending terminal, it also includes:展示提示信息,所述提示信息用于提示接收到针对所述第一屏幕输入的所述控制权限共享操作信号;Displaying prompt information, where the prompt information is used to prompt that the control authority sharing operation signal input for the first screen is received;所述将所述控制权限共享操作信号转换为第一指定格式的控制权限共享指令,将所述控制权限共享指令发送至所述接收终端,包括:The converting the control authority sharing operation signal into a control authority sharing instruction in a first specified format, and sending the control authority sharing instruction to the receiving terminal, comprises:接收针对所述提示信息的确认指令,将所述控制权限共享操作信号转换为所述第一指定格式的控制权限共享指令,将所述控制权限共享指令发送至所述接收终端。A confirmation instruction for the prompt information is received, the control authority sharing operation signal is converted into a control authority sharing instruction in the first specified format, and the control authority sharing instruction is sent to the receiving terminal.4.一种屏幕控制权限共享装置,其特征在于,所述装置包括:4. A screen control authority sharing device, characterized in that the device comprises:指令发送单元,用于在与接收终端进行屏幕共享时,向所述接收终端发送针对发送终端的第一屏幕的控制权限共享指令;其中,控制权限为基于不同控制方式控制所述第一屏幕的权限;An instruction sending unit, used for sending a control authority sharing instruction for a first screen of a sending terminal to the receiving terminal when screen sharing is performed with the receiving terminal; wherein the control authority is an authority to control the first screen based on different control modes;指令接收单元,用于接收所述接收终端发送的针对所述第一屏幕的屏幕控制指令;其中,所述屏幕控制指令为所述接收终端基于所述发送终端共享的控制权限发送的;An instruction receiving unit, configured to receive a screen control instruction for the first screen sent by the receiving terminal; wherein the screen control instruction is sent by the receiving terminal based on the control authority shared by the sending terminal;指令写入单元,用于解析所述屏幕控制指令,获取第二屏幕的第二尺寸信息,所述第二屏幕为所述接收终端的屏幕;获取所述第一屏幕的第一尺寸信息,并基于所述第一尺寸信息和所述第二尺寸信息,将所述屏幕控制指令转换为触摸事件;将所述触摸事件写入系统中,以使所述接收终端基于所述触摸事件控制所述第一屏幕。An instruction writing unit is used to parse the screen control instruction, obtain second size information of a second screen, where the second screen is the screen of the receiving terminal; obtain first size information of the first screen, and convert the screen control instruction into a touch event based on the first size information and the second size information; and write the touch event into a system so that the receiving terminal controls the first screen based on the touch event.5.一种屏幕共享方法,其特征在于,应用于接收终端,所述方法包括:5. A screen sharing method, characterized in that it is applied to a receiving terminal, and the method comprises:在与发送终端进行屏幕共享时,接收所述发送终端发送的针对所述发送终端的第一屏幕的控制权限共享指令;其中,控制权限为基于不同控制方式控制所述第一屏幕的权限;When performing screen sharing with a sending terminal, receiving a control authority sharing instruction for a first screen of the sending terminal sent by the sending terminal; wherein the control authority is an authority to control the first screen based on different control modes;获取针对所述第一屏幕的屏幕控制指令;其中,所述屏幕控制指令为所述接收终端基于所述发送终端共享的控制权限发送的;Acquire a screen control instruction for the first screen; wherein the screen control instruction is sent by the receiving terminal based on the control authority shared by the sending terminal;发送所述屏幕控制指令至所述发送终端,所述屏幕控制指令用于指示所述发送终端解析所述屏幕控制指令,获取第二屏幕的第二尺寸信息,所述第二屏幕为所述接收终端的屏幕;获取所述第一屏幕的第一尺寸信息,并基于所述第一尺寸信息和所述第二尺寸信息,将所述屏幕控制指令转换为触摸事件;将所述触摸事件写入系统中,以使所述接收终端基于所述触摸事件控制所述第一屏幕。The screen control instruction is sent to the sending terminal, and the screen control instruction is used to instruct the sending terminal to parse the screen control instruction and obtain second size information of a second screen, where the second screen is the screen of the receiving terminal; obtain first size information of the first screen, and based on the first size information and the second size information, convert the screen control instruction into a touch event; write the touch event into a system so that the receiving terminal controls the first screen based on the touch event.6.根据权利要求5所述的方法,其特征在于,所述获取针对所述第一屏幕的屏幕控制指令,包括:6. The method according to claim 5, wherein obtaining the screen control instruction for the first screen comprises:监听在所述接收终端的第二屏幕上输入的触摸事件,所述触摸事件为针对所述第一屏幕的触摸事件;monitoring a touch event input on a second screen of the receiving terminal, wherein the touch event is a touch event for the first screen;将所述触摸事件转换为第二指定格式的所述屏幕控制指令。The touch event is converted into the screen control instruction in a second specified format.7.一种终端,包括存储器、处理器以及存储在存储器中并可在处理器上运行的计算机程序,其特征在于,处理器执行计算机程序时实现上述权利要求 1-3或 5-6 中任一项方法。7. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements any one of the methods of claims 1-3 or 5-6 when executing the computer program.8.一种计算机可读存储介质,其上存储有计算机程序,其特征在于,该程序被处理器执行时实现上述权利要求 1-3 或 5-6 中任一项方法。8. A computer-readable storage medium having a computer program stored thereon, characterized in that when the program is executed by a processor, it implements any one of the methods in claims 1-3 or 5-6 above.
CN202011488235.1A2020-12-162020-12-16 Screen control authority sharing method, device, terminal and storage mediumActiveCN112506460B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN202011488235.1ACN112506460B (en)2020-12-162020-12-16 Screen control authority sharing method, device, terminal and storage medium

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN202011488235.1ACN112506460B (en)2020-12-162020-12-16 Screen control authority sharing method, device, terminal and storage medium

Publications (2)

Publication NumberPublication Date
CN112506460A CN112506460A (en)2021-03-16
CN112506460Btrue CN112506460B (en)2024-09-06

Family

ID=74972778

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN202011488235.1AActiveCN112506460B (en)2020-12-162020-12-16 Screen control authority sharing method, device, terminal and storage medium

Country Status (1)

CountryLink
CN (1)CN112506460B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN114089891B (en)2021-10-282025-07-04北京字节跳动网络技术有限公司 Display control method, device and electronic device
WO2023216176A1 (en)*2022-05-122023-11-16Citrix Systems, Inc.Application protection for screen sharing

Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109857355A (en)*2018-12-252019-06-07广州维纳斯家居股份有限公司Screen sharing method, device, same table and the storage medium of same table

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN110798652A (en)*2019-10-172020-02-14广州国音智能科技有限公司Control method, terminal, device and readable storage medium for shared screen
CN111770368A (en)*2020-05-152020-10-13广州视源电子科技股份有限公司 Control method, device, storage medium and electronic device for large-screen display device

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN109857355A (en)*2018-12-252019-06-07广州维纳斯家居股份有限公司Screen sharing method, device, same table and the storage medium of same table

Also Published As

Publication numberPublication date
CN112506460A (en)2021-03-16

Similar Documents

PublicationPublication DateTitle
EP4027238B1 (en)Card rendering method and electronic device
US9843667B2 (en)Electronic device and call service providing method thereof
US11743331B2 (en)System, mobile terminal and method for storing data into web storage using wireless LAN
US20170017451A1 (en)Method and system for managing applications running on smart device using a wearable device
CN110704202B (en)Multimedia recording data sharing method and terminal equipment
CN109448709A (en)A kind of terminal throws the control method and terminal of screen
WO2020177698A1 (en)Inter-mini program platform communication method and device, and computer storage medium
CN112506460B (en) Screen control authority sharing method, device, terminal and storage medium
WO2013176510A1 (en)Method and apparatus for multi-playing videos
US20100291913A1 (en)Remote control method between mobile phones
WO2021238404A1 (en)Data card switching method and apparatus, and terminal, and storage medium
CN105100449A (en) A picture sharing method and mobile terminal
CN112464095B (en)Message pushing method, device, terminal and storage medium
CN113079588A (en)Control method, control device, control equipment and storage medium
CN112541141B (en) Control display callback method, device, terminal and storage medium
JP2015162040A (en) Electronics
JP2021517311A (en) Display screen switching method, devices and electronic devices
CN114639392A (en)Audio processing method and device, electronic equipment and storage medium
WO2024255294A1 (en)Mirroring method, terminal device and storage medium
CN115225121B (en)Bluetooth data output method and device, electronic equipment and storage medium
WO2024078172A1 (en)Screen display method and apparatus, device, and readable storage medium
WO2023193598A1 (en)Image processing method, apparatus and device, and storage medium
CN112423051B (en)Shared screen switching method, device, terminal and storage medium
CN118860540A (en) Interactive processing method and electronic device
WO2015096294A1 (en)Video conference terminal and implementation method thereof for supporting third-party application

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant

[8]ページ先頭

©2009-2025 Movatter.jp