Screen control authority sharing method, device, terminal and storage medium
By sending control permission sharing instructions during the screen sharing process, the problem that the receiving terminal cannot directly control the screen of the sending terminal is solved, simultaneous control is achieved and steps are simplified, and the convenience of screen sharing is improved.
Patent Information
- Application Number
- CN202011488235.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2020-12-16
- Publication Date
- 2024-09-06
- Estimated Expiration
- 2040-12-16
AI Technical Summary
During the screen sharing process, the receiving terminal cannot directly control the screen of the sending terminal and needs to send a screen control permission sharing request, which results in complicated control steps and increased waiting time, affecting convenience.
By sending control permission sharing instructions between the sending terminal and the receiving terminal, the receiving terminal can directly control the screen of the sending terminal based on the received screen control instructions, thereby achieving simultaneous control and reducing control steps and waiting time.
The screen sharing control process is simplified and convenience is improved, allowing the sending terminal and receiving terminal to control the screen at the same time without waiting for confirmation, reducing control steps.
Smart Images

Figure CN112506460B
Abstract
Description
Technical Field
[0001] 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
[0002] 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
[0003] 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:
[0004] 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:
[0005] 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;
[0006] receiving a screen control instruction for the first screen sent by the receiving terminal;
[0007] The screen control instruction is written into the system so that the receiving terminal controls the first screen based on the screen control instruction.
[0008] In a second aspect, an embodiment of the present application provides a screen control authority sharing device, the method device comprising:
[0009] 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;
[0010] An instruction receiving unit, configured to receive a screen control instruction for the first screen sent by the receiving terminal;
[0011] 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.
[0012] 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:
[0013] 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;
[0014] Acquire a screen control instruction for the first screen;
[0015] 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.
[0016] 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.
[0017] 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.
[0018] 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.
[0019] The beneficial effects brought about by the technical solutions provided by some embodiments of the present application include at least:
[0020] 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
[0021] 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 creative work.
[0022] Figure 1 A system architecture diagram showing a screen control authority sharing method applied to an embodiment of the present application;
[0023] Figure 2 A schematic diagram showing a flow chart of a screen control authority sharing method according to an embodiment of the present application;
[0024] Figure 3 A schematic diagram showing a flow chart of a screen control authority sharing method according to an embodiment of the present application;
[0025] Figure 4 An example schematic diagram showing a terminal interface according to an embodiment of the present application;
[0026] Figure 5 An example schematic diagram showing a terminal interface according to an embodiment of the present application;
[0027] Figure 6 An interactive schematic diagram showing a method for sharing screen control permissions according to an embodiment of the present application;
[0028] Figure 7 An example schematic diagram showing a terminal interface according to an embodiment of the present application;
[0029] Figure 8 A schematic diagram showing a flow chart of a screen control authority sharing method according to an embodiment of the present application;
[0030] Fig. 9 An example schematic diagram showing a terminal interface according to an embodiment of the present application;
[0031] Fig.10 A schematic diagram showing a flow chart of a screen control authority sharing method according to an embodiment of the present application;
[0032] Fig.11 A schematic diagram showing the structure of a screen control authority sharing device according to an embodiment of the present application;
[0033] Fig.12 A schematic diagram showing a flow chart of a screen control authority sharing method according to an embodiment of the present application;
[0034] Fig.13 An example schematic diagram showing a terminal interface according to an embodiment of the present application;
[0035] Fig.14 A schematic diagram showing a flow chart of a screen control authority sharing method according to an embodiment of the present application;
[0036] Fig.15 A schematic diagram showing the structure of a screen control authority sharing device according to an embodiment of the present application;
[0037] Fig.16 A schematic diagram showing the structure of a terminal according to an embodiment of the present application is shown. DETAILED DESCRIPTION
[0038] 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.
[0039] 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.
[0040] Figure 1 The system architecture diagram of the shared screen switching method applied to the embodiment of the present application is shown. Figure 1 As shown, the terminals for sharing screens include but are not limited to personal computers, mobile devices, etc. When performing screen sharing, the sending terminal for sharing the screen can send a screen sharing initiation instruction to the receiving terminal for sharing the 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 of the sending terminal to the receiving terminal, and the receiving terminal can display the screen of the sending terminal on the display screen of the receiving terminal.
[0041] 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.
[0042] The present application is described in detail below with reference to specific embodiments.
[0043] In one embodiment, Figure 2 As shown, 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.
[0044] 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.
[0045] Specifically, the screen control authority sharing method includes:
[0046] 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.
[0047] 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.
[0048] 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.
[0049] 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.
[0050] 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.
[0051] 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 screen a, the first screen 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.
[0052] Step S102: receiving a screen control instruction for a first screen sent by a receiving terminal.
[0053] 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.
[0054] 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.
[0055] 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.
[0056] 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.
[0057] 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.
[0058] 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.
[0059] 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.
[0060] 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.
[0061] See also Figure 3 , which is a flowchart of a method for sharing screen control permissions provided by an embodiment of the present application. Figure 3 As shown, the method of the embodiment of the present application may include the following steps S201-S205.
[0062] Step S201: when performing screen sharing with a receiving terminal, receiving a control authority sharing operation signal input for a first screen of a sending terminal.
[0063] 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.
[0064] 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 their screens, the screen images of terminal A and terminal B can be displayed as follows: Figure 4As shown. 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 screen of the first screen a on the second screen b of terminal B. At this time, the display of the screens of terminal A and terminal B can be as shown. Figure 5 shown.
[0065] According to some embodiments, Figure 6 An interactive schematic diagram of a screen control authority sharing method of an embodiment of the present application is shown. When a sending terminal and a 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.
[0066] 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.
[0067] 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.
[0068] 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.
[0069] 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.
[0070] It is easy to understand that Figure 7 FIG. 1 is a schematic diagram showing an example of a terminal interface according to an embodiment of the present application. Figure 7 As shown, when the A terminal receives a click control authority sharing operation signal input to the a screen of the A terminal, the A terminal can obtain the first specified format corresponding to the click control authority sharing operation signal. The first specified format obtained by the A terminal can be, for example, a Q specified format. The A terminal 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 the B terminal.
[0071] According to some embodiments, see Figure 8 , which is a flow chart of a method for switching a shared screen according to an embodiment of the present application. Figure 8 As shown, 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.
[0072] 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.
[0073] Optionally, when the A terminal receives a click control authority sharing operation signal inputted to the first screen a of the A terminal, the A terminal may display a prompt message. Fig. 9As shown. The prompt information is used to prompt that a click control authority sharing operation signal input for the first screen a screen has been received. When the A terminal receives a confirmation instruction for the prompt information, the A terminal can convert the control authority sharing operation signal into a click control authority sharing instruction in the format specified by Q, and send the click control authority sharing instruction to the B terminal.
[0074] Step S203: receiving a screen control instruction for the first screen sent by the receiving terminal.
[0075] The specific process is as described above and will not be repeated here.
[0076] 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".
[0077] Step S204, parsing the screen control instruction and converting the screen control instruction into a touch event.
[0078] According to some embodiments, a touch event refers to a touch event corresponding to a screen control instruction received by a receiving terminal and obtained 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.
[0079] 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.
[0080] 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.
[0081] According to some embodiments, see Fig.10 , which is a flow chart of a method for switching a shared screen according to an embodiment of the present application. Fig.10As shown, 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, parsing the screen control instruction, obtaining the second size information of the second screen, the second screen being the screen of the receiving terminal; step S402, obtaining the first size information of the first screen, and converting the screen control instruction into a touch event based on the first size information and the second size information.
[0082] 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.
[0083] 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, which can improve the accuracy of the receiving terminal controlling the first screen.
[0084] 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.
[0085] Step S205: writing the touch event into the system so that the receiving terminal controls the first screen based on the touch event.
[0086] 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.
[0087] 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.
[0088] 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.
[0089] 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.
[0090] 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.
[0091] The following will be combined with the attached Fig.11 , the screen control authority sharing device provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Fig.11 The screen control permission sharing device shown is used to execute this application Figure 2-Figure 10 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 present application. Figure 2-Figure 10 The embodiment shown.
[0092] See also Fig.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:
[0093] 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;
[0094] The first instruction receiving unit 1102 is used to receive a screen control instruction for the first screen sent by the receiving terminal;
[0095] 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.
[0096] 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:
[0097] Receiving a control authority sharing operation signal inputted to a first screen of a sending terminal;
[0098] 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.
[0099] According to some embodiments, after the first instruction sending unit 1101 is configured to receive a control authority sharing operation signal input for the first screen of the sending terminal, it is further specifically configured to:
[0100] 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;
[0101] 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:
[0102] 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.
[0103] 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:
[0104] Parse screen control instructions and convert them into touch events;
[0105] The touch event is written into the system so that the receiving terminal controls the first screen based on the touch event.
[0106] 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:
[0107] 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;
[0108] 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.
[0109] 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.
[0110] See also Fig.12 , which is a flowchart of a method for sharing screen control permissions provided by an embodiment of the present application. Fig.12 As shown, the method in the embodiment of the present application may include the following steps S501-S503.
[0111] Specifically, the shared screen switching method includes:
[0112] 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.
[0113] 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.
[0114] 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.
[0115] 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 as follows: Fig.13 When the receiving terminal receives the confirmation instruction for the control authority sharing instruction, the receiving terminal may monitor whether there is a screen control instruction for the first screen.
[0116] Step 502: Obtain screen control instructions for the first screen.
[0117] 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.
[0118] 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.
[0119] 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.
[0120] According to some embodiments, see Fig.14 , which is a flow chart of a method for switching a shared screen according to an embodiment of the present application. Fig.14 As shown, the method of the embodiment of the present application may include the following steps S601-S602 when acquiring the 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.
[0121] 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.
[0122] 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 may 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 may change with the change of the receiving terminal, and may 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.
[0123] 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.
[0124] 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.
[0125] 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.
[0126] 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.
[0127] 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.
[0128] The following will be combined with the attached Fig.15 , the screen control authority sharing device provided in the embodiment of the present application is introduced in detail. It should be noted that the attached Fig.15 The screen control permission sharing device shown is used to execute this application Figure 12-14 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 present application. Figure 12-14 The embodiment shown.
[0129] See also Fig.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:
[0130] 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;
[0131] The instruction acquisition unit 1502 is used to acquire a screen control instruction for the first screen;
[0132] 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.
[0133] According to some embodiments, the instruction acquisition unit 1502 is used to acquire the screen control instruction for the first screen, specifically to:
[0134] 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;
[0135] The touch event is converted into a screen control instruction in a second specified format.
[0136] 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.
[0137] See also Fig.16 , is a schematic diagram of the structure of a terminal provided in an embodiment of the present application. Fig.16As shown, 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 .
[0138] The communication bus 1602 is used to realize the connection and communication between these components.
[0139] 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.
[0140] The network interface 1604 may optionally include a standard wired interface or a wireless interface (such as a WI-FI interface).
[0141] 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.
[0142] Among them, the memory 1605 may include a random access memory (Random Access Memory, RAM) and may also include 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 method embodiments, etc.; the data storage area may store data involved in the above-mentioned method embodiments, etc. The memory 1605 may also be optionally at least one storage device located away from the aforementioned processor 1601. As Fig.16 As shown, 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 authority.
[0143] exist Fig.16 In the terminal 1600 shown, the user interface 1603 is mainly used to provide an input interface for the user and obtain the 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:
[0144] 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;
[0145] receiving a screen control instruction for the first screen sent by the receiving terminal;
[0146] The screen control instruction is written into the system so that the receiving terminal controls the first screen based on the screen control instruction.
[0147] 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:
[0148] Receiving a control authority sharing operation signal inputted to a first screen of a sending terminal;
[0149] 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.
[0150] 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:
[0151] 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;
[0152] 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:
[0153] 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.
[0154] 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:
[0155] Parse screen control instructions and convert them into touch events;
[0156] The touch event is written into the system so that the receiving terminal controls the first screen based on the touch event.
[0157] 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:
[0158] 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;
[0159] 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.
[0160] 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;
[0161] Obtaining screen control instructions for the first screen;
[0162] 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.
[0163] 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:
[0164] 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;
[0165] The touch event is converted into a screen control instruction in a second specified format.
[0166] 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 permission, thereby improving the convenience of screen sharing.
[0167] 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.
[0168] 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.
[0169] 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.
[0170] 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.
[0171] 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.
[0172] In the several embodiments provided in the present application, it should be understood that the disclosed devices 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.
[0173] 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.
[0174] 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.
[0175] 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 is essentially 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, and the computer software product is stored in a memory, including a number of instructions to enable a computer device (which can be a personal computer, server or 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 and other media that can store program code.
[0176] 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 the relevant 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.
[0177] 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
1. A screen control authority sharing method, characterized in that: Applied to a sending terminal, the method comprises: 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; 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. The method according to claim 1, characterized in that: The sending a control authority sharing instruction for the first screen of the sending terminal to the receiving terminal includes: 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. The method according to claim 2, characterized in that: After receiving the control authority sharing operation signal inputted to the first screen of the sending terminal, the method further 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. 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. A screen sharing method, characterized in that: Applied to a receiving terminal, 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 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.
6. The method according to claim 5, characterized in that The acquiring of the screen control instruction for the first screen includes: 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. A terminal comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the method of any one of claims 1 to 3 or 5 to 6 is implemented.
8. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the program is executed by a processor, the method of any one of claims 1-3 or 5-6 is implemented.
