CN112423051B - Shared screen switching method, device, terminal and storage medium - Google Patents

Shared screen switching method, device, terminal and storage medium Download PDF

Info

Publication number
CN112423051B
CN112423051B CN202011211386.2A CN202011211386A CN112423051B CN 112423051 B CN112423051 B CN 112423051B CN 202011211386 A CN202011211386 A CN 202011211386A CN 112423051 B CN112423051 B CN 112423051B
Authority
CN
China
Prior art keywords
terminal
screen
switching
identity
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
CN202011211386.2A
Other languages
Chinese (zh)
Other versions
CN112423051A (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 Ltd filed Critical Guangdong Oppo Mobile Telecommunications Corp Ltd
Priority to CN202011211386.2A priority Critical patent/CN112423051B/en
Publication of CN112423051A publication Critical patent/CN112423051A/en
Application granted granted Critical
Publication of CN112423051B publication Critical patent/CN112423051B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/41Structure of client; Structure of client peripherals
    • H04N21/4104Peripherals receiving signals from specially adapted client devices
    • H04N21/4122Peripherals receiving signals from specially adapted client devices additional display device, e.g. video projector
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/14Digital output to display device ; Cooperation and interconnection of the display device with other functional units
    • G06F3/1454Digital output to display device ; Cooperation and interconnection of the display device with other functional units involving copying of the display data of a local workstation or window to a remote workstation or window so that an actual copy of the data is displayed simultaneously on two or more displays, e.g. teledisplay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/40Client devices specifically adapted for the reception of or interaction with content, e.g. set-top-box [STB]; Operations thereof
    • H04N21/45Management operations performed by the client for facilitating the reception of or the interaction with the content or administrating data related to the end-user or to the client device itself, e.g. learning user preferences for recommending movies, resolving scheduling conflicts
    • H04N21/4508Management of client data or end-user data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N21/00Selective content distribution, e.g. interactive television or video on demand [VOD]
    • H04N21/60Network structure or processes for video distribution between server and client or between remote clients; Control signalling between clients, server and network components; Transmission of management data between server and client, e.g. sending from server to client commands for recording incoming content stream; Communication details between server and client 
    • H04N21/63Control signaling related to video distribution between client, server and network components; Network processes for video distribution between server and clients or between remote clients, e.g. transmitting basic layer and enhancement layers over different transmission paths, setting up a peer-to-peer communication via Internet between remote STB's; Communication protocols; Addressing

Landscapes

  • Engineering & Computer Science (AREA)
  • Multimedia (AREA)
  • Signal Processing (AREA)
  • Theoretical Computer Science (AREA)
  • Databases & Information Systems (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Information Transfer Between Computers (AREA)
  • Two-Way Televisions, Distribution Of Moving Picture Or The Like (AREA)

Abstract

The application belongs to the technical field of communication, and particularly relates to a shared screen switching method, device, terminal and storage medium. The shared screen switching method comprises the following steps: when screen sharing is carried out with a second terminal, a sharing screen switching instruction is obtained; sending the shared screen switching instruction to the second terminal, and switching identities with the second terminal; and after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen of the first terminal, and indicating the second terminal to switch a second screen of the second terminal to the first screen. By adopting the embodiment of the application, the switching efficiency of screen sharing can be improved.

Description

Shared screen switching method, device, terminal and storage medium
Technical Field
The application belongs to the technical field of communication, and particularly relates to a shared screen switching method, device, terminal and storage medium.
Background
With the development of science and technology, more and more functions are supported by the terminal, so that the life of a user is more convenient. For example, the presence of a shared screen may improve the user's convenience of viewing the screen. The screen sharing initiator may initiate screen sharing when screen sharing is performed, and may share a screen picture to a screen of the screen sharing recipient when a confirmation instruction of the screen sharing recipient is received.
Disclosure of Invention
The embodiment of the application provides a method, a device, a terminal and a storage medium for switching a shared screen, which can improve the switching efficiency of screen sharing. The technical scheme of the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a shared screen switching method, which is applied to a first terminal, and the method includes:
when screen sharing is carried out with a second terminal, a sharing screen switching instruction is obtained;
sending the shared screen switching instruction to the second terminal, and switching identities with the second terminal;
and after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen of the first terminal, and indicating the second terminal to switch a second screen of the second terminal to the first screen.
In a second aspect, an embodiment of the present application provides a shared screen switching apparatus, where the apparatus includes:
the instruction acquisition unit is used for acquiring a sharing screen switching instruction when screen sharing is carried out with the second terminal;
the identity switching unit is used for sending the shared screen switching instruction to the second terminal and switching identities with the second terminal;
and the picture display unit is used for displaying a first screen picture of the first terminal and indicating the second terminal to switch a second screen picture of the second terminal into the first screen picture after the identities of the first terminal and the second terminal are successfully switched.
In a third aspect, an embodiment of the present application provides a screen sharing method, which is applied to a second terminal, and the method includes:
receiving a sharing screen switching instruction sent by a first terminal when screen sharing is carried out with the first terminal;
switching identities with the first terminal based on the shared screen switching instruction;
and after the identity switching between the second terminal and the first terminal is successful, switching a second screen picture of the second terminal into a first screen picture of the first terminal, wherein the first screen picture is a screen picture displayed by the first terminal after the identity switching between the second terminal and the first terminal is completed.
In a fourth aspect, a terminal comprises a memory, a processor, and a computer program stored in the memory and executable on the processor, the processor implementing the method of any of the first aspect when executing the computer program.
In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and the computer program is used for implementing any one of the methods described above when executed by a processor.
In a sixth aspect, embodiments of the present application provide a computer program product, where the computer program product includes a non-transitory computer-readable storage medium storing a computer program, where the computer program is operable to cause a computer to perform some or all of the steps as described in the first aspect of embodiments of the present application. The computer program product may be a software installation package.
The beneficial effects brought by the technical scheme provided by some embodiments of the application at least comprise:
in one or more embodiments of the present application, when the first terminal performs screen sharing with the second terminal, the first terminal may obtain the sharing screen switching instruction, so that after the identity switching with the second terminal is successful, the first screen of the first terminal is displayed, and the second terminal is instructed to switch the second screen of the second terminal to the first screen, thereby implementing the screen sharing switching. In the process, the identity switching can be directly completed without the first terminal and the second terminal quitting the screen sharing state, the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can be obtained according to the drawings without creative efforts.
Fig. 1 is a system architecture diagram illustrating a shared screen switching method applied to an embodiment of the present application;
fig. 2 is a schematic flowchart illustrating a shared screen switching method according to an embodiment of the present application;
FIG. 3 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
FIG. 4 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
fig. 5 is a flowchart illustrating a shared screen switching method according to an embodiment of the present application;
FIG. 6 is an interaction diagram illustrating a shared screen switching method according to an embodiment of the present application;
FIG. 7 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the present application;
fig. 8 is a flowchart illustrating a shared screen switching method according to an embodiment of the present application;
fig. 9 is a flowchart illustrating an identity switching process according to an embodiment of the present application;
fig. 10 is a flow chart illustrating an identity switching process according to an embodiment of the present application;
fig. 11 is a schematic flowchart illustrating a shared screen switching method according to an embodiment of the present application;
FIG. 12 is a schematic diagram illustrating an example of a terminal interface according to an embodiment of the application;
fig. 13 is a schematic structural diagram illustrating a shared screen switching apparatus according to an embodiment of the present application;
fig. 14 is a flowchart illustrating a shared screen switching method according to an embodiment of the present application;
fig. 15 is a flowchart illustrating a shared screen switching method according to an embodiment of the present application;
fig. 16 is a schematic structural diagram illustrating a shared screen switching apparatus according to an embodiment of the present application;
fig. 17 is a schematic structural diagram of a terminal according to an embodiment of the present application.
Detailed Description
In order to make the technical solutions better understood by those skilled in the art, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only a part of the embodiments of the present application, and not all embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present application.
In the description of the present application, it is to be understood that the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance. In the description of the present application, it is to be noted that, unless otherwise explicitly specified and limited, the words "comprise" and "have" and any variations thereof are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements listed, but may alternatively include other steps or elements not listed, or inherent to such process, method, article, or apparatus. The specific meaning of the above terms in the present application can be understood in a specific case by those of ordinary skill in the art. Further, in the description of the present application, "a plurality" means two or more unless otherwise specified. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "/" generally indicates that the former and latter associated objects are in an "or" relationship.
Fig. 1 is a system architecture diagram illustrating a shared screen switching method applied to an embodiment of the present application. As shown in fig. 1, terminals sharing a screen include, but are not limited to, personal computers, mobile devices, and the like. When screen sharing is performed, the sending terminal of the shared screen may send a shared screen initiating instruction to the receiving terminal of the shared screen. The receiving terminal may display the instruction on a display screen of the receiving terminal when receiving the instruction. The receiving terminal may send a confirmation instruction to the sending terminal upon receiving the confirmation instruction for the instruction. When the sending terminal receives the confirmation instruction sent by the receiving terminal, the sending terminal can display the screen 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, if the receiving terminal needs to display the screen of the receiving terminal on the display screen of the sending terminal, the sending terminal and the receiving terminal may exit the screen sharing state, and then the receiving terminal initiates screen sharing, so that the receiving terminal may display the screen of the receiving terminal on the display screen of the sending terminal. The screen switching can not be directly performed when the sending terminal and the receiving terminal are in the screen sharing state, and the receiving terminal needs to quit the screen sharing state when displaying the screen picture of the receiving terminal on the display screen of the sending terminal, so that the switching steps of the shared screen are complex, the switching duration of the shared screen is long, and the switching efficiency of the shared screen is low. The embodiment of the application provides a shared screen switching method which can improve the switching efficiency of a shared screen.
The present application will be described in detail with reference to specific examples.
In one embodiment, as shown in fig. 2, a shared screen switching method is specifically proposed, which can be implemented by relying on a computer program and can be run on a terminal with a display screen. The computer program may be integrated into the application or may run as a separate tool-like application.
Wherein, the terminal can be an electronic device with a display screen, and the electronic device includes but is not limited to: wearable devices, handheld devices, personal computers, tablet computers, in-vehicle devices, smart phones, computing devices or other processing devices connected to a wireless modem, and the like. The terminal devices in different networks may be called different names, for example: user equipment, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent or user equipment, cellular telephone, cordless telephone, Personal Digital Assistant (PDA), terminal equipment in a 5G network or future evolution network, and the like.
Specifically, the shared screen switching method includes:
step S101, when the screen sharing is carried out with the second terminal, a sharing screen switching instruction is obtained.
According to some embodiments, the execution subject of the embodiment of the present application is a first terminal, and the first terminal refers to a screen viewer when a screen is shared. The second terminal is a watched party of the screen during screen sharing, that is, pictures displayed by the first screen of the first terminal and the second screen of the second terminal are screen pictures of the second terminal. The first terminal and the second terminal are not specific to a fixed terminal. For example, when the terminal a and the terminal B share a screen, the terminal a is a screen sharing viewer, the terminal a is a first terminal, the terminal B is a screen sharing viewer, and the terminal B is a second terminal. When the terminal A and the terminal B share the screen, the terminal B is a screen sharing watcher, the terminal B is a first terminal, the terminal A is a screen sharing watched party, and the terminal A is a second terminal.
It is easy to understand that the shared screen switching instruction refers to an instruction for instructing the screen sharing terminal to perform identity switching, that is, the shared screen instruction is used for instructing the first terminal and the second terminal to perform identity switching. When the first terminal performs screen sharing with the second terminal, the first terminal may acquire a sharing screen switching instruction. That is, when the first terminal and the second terminal perform screen sharing, the first terminal may listen to whether to share a screen switching instruction. When the first terminal monitors the sharing screen switching instruction, the first terminal may receive the sharing screen switching instruction.
Optionally, for example, when the terminal a and the terminal B perform screen sharing, the terminal a is a screen sharing viewer, the terminal a is a first terminal, the terminal B is a screen sharing viewer, the terminal B is a second terminal, and the terminal a may obtain the sharing screen switching instruction.
Step S102, sending a sharing screen switching instruction to the second terminal, and switching identities with the second terminal.
According to some embodiments, when the first terminal acquires the sharing screen switching instruction, the first terminal may send the sharing screen switching instruction to the second terminal. When the first terminal sends the sharing screen switching instruction to the second terminal, the first terminal and the second terminal can switch identities. The first terminal and the second terminal may switch the identity of the first terminal from the screen sharing viewer to the screen sharing watched party, and the identity of the second terminal from the screen sharing watched party to the screen sharing viewer.
It is easy to understand that, for example, when the a terminal and the B terminal perform screen sharing, the a terminal is a screen sharing viewer, the a terminal is a first terminal, the B terminal is a screen sharing watched party, the B terminal is a second terminal, and the a terminal may obtain the sharing screen switching instruction. When the terminal a obtains the sharing screen switching instruction, the terminal a may send the sharing screen switching instruction to the terminal B, and switch the identity with the terminal B.
Step S103, after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen of the first terminal, and instructing the second terminal to switch a second screen of the second terminal to the first screen.
According to some embodiments, the first screen is a screen displayed on a display screen of the first terminal, and the first screen is a screen displayed after the first terminal and the second terminal switch identities. The first screen does not refer to a fixed screen, and the first screen may change with the change of the first terminal, the first screen may also change with time, and so on. The second screen is a screen displayed on the display screen of the second terminal, and the second screen is not particularly limited to a fixed screen. The second screen may change as the second terminal changes, the second screen may also change over time, and so on.
It is easy to understand that, when the first terminal sends the sharing screen switching instruction to the second terminal and switches the identity with the second terminal, the first terminal may detect whether the identity switching between the first terminal and the second terminal is successful. When the first terminal detects that the identities of the first terminal and the second terminal are successfully switched, the first terminal can display a first screen of the first terminal, that is, the first terminal can switch a second screen of the second terminal displayed by the first terminal into the first screen. When the first terminal displays the first screen, the first terminal may instruct the second terminal to switch the second screen of the second terminal to the first screen.
Optionally, for example, when the terminal a and the terminal B perform screen sharing, the terminal a is a screen sharing watcher, the terminal a is a first terminal, the terminal B is a screen sharing watched party, the terminal B is a second terminal, and screen images displayed by the terminal a and the terminal B are both second screen images of the terminal B. At this time, the screen displayed by the a terminal may be as shown in fig. 3, for example. When the a terminal and the B terminal perform screen sharing, the a terminal may acquire a sharing screen switching instruction. When the terminal a obtains the sharing screen switching instruction, the terminal a may send the sharing screen switching instruction to the terminal B, and switch the identity with the terminal B. After the identity switching between the terminal a and the terminal B is completed, the terminal a may display the first screen of the terminal a, and instruct the terminal B to switch the second screen of the terminal B to the first screen. The screen displayed by the a terminal at this time may be as shown in fig. 4, for example.
In one or more embodiments of the present application, when the first terminal performs screen sharing with the second terminal, the first terminal may display the first screen of the first terminal after the identity of the first terminal is successfully switched with the identity of the second terminal, and instruct the second terminal to switch the second screen of the second terminal to the first screen, thereby implementing the switching of the shared screen. In the process, the identity switching can be directly completed without the first terminal and the second terminal exiting the screen sharing state, the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved.
Referring to fig. 5, a flow chart of a shared screen switching method according to an embodiment of the present application is provided. As shown in fig. 5, the method of the embodiment of the present application may include the following steps S201 to S206.
Step S201, when the screen sharing is carried out with the second terminal, a sharing screen switching instruction is obtained.
The specific process is as described above, and is not described herein again.
According to some embodiments, the sharing screen switching instruction acquired by the terminal includes, but is not limited to, a voice sharing screen switching instruction, a click sharing screen switching instruction, a text sharing screen switching instruction, a timing sharing screen switching instruction, and the like. The sharing screen switching instruction in the present embodiment may be, for example, a click sharing screen switching instruction. Fig. 6 shows an interaction diagram of a shared screen switching method according to an embodiment of the present application. As shown in fig. 6, when the first terminal detects that the user clicks the "switch sharing" control, the first terminal may obtain a sharing screen switching instruction, and at this time, a display interface of the first terminal may be as shown in fig. 7.
Step S202, closing the preset data transmission channel.
According to some embodiments, when the first terminal acquires the sharing screen switching instruction, the first terminal may close the preset data transmission channel. The preset data transmission channel may include all data transmission channels except the identity switching transmission channel, and may also be a preset data transmission channel determined by the terminal based on a channel closing instruction input by the user. The channel closing command includes, but is not limited to, a voice closing command, a click closing command, a text closing command, and the like. Before the first terminal sends the shared screen switching instruction to the second terminal, the first terminal closes the preset data transmission channel, so that the influence of the preset data transmission channel on identity switching can be reduced, the success rate of identity switching can be improved, and the successful switching probability of screen sharing can be further improved.
It is easy to understand that when the first terminal a terminal and the second terminal B terminal perform screen sharing, the a terminal and the B terminal can enter a virtual network room. Because the data transmission when the terminal A and the terminal B switch identities is transmitted through the network, the terminal A closes the preset data transmission channel, and the situation of identity switching failure caused by network reasons can be reduced. For example, the a terminal may turn off all data transmission channels except for the shared screen switching instruction.
According to some embodiments, please refer to fig. 8, which provides a flowchart illustrating a sharing screen switching method according to an embodiment of the present application. As shown in fig. 8, the method of the embodiment of the present application may further include the following steps S301 to S304. Step S301, closing a preset data transmission channel; step S302, when a preset data transmission instruction is received, discarding the data transmission instruction; step S303, when receiving a preset data transmission instruction, waiting for processing the data transmission instruction; step S304, after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen of the first terminal, instructing the second terminal to switch a second screen of the second terminal to the first screen, and executing an operation corresponding to the data transmission instruction.
It is easy to understand that, when the first terminal and the second terminal perform screen sharing, and the first terminal obtains the sharing screen switching instruction, the first terminal may close the preset data channel. If the first terminal closes the preset data and passes through, and the first terminal receives the preset data transmission instruction, the first terminal can discard the data transmission instruction, so that the influence on identity switching when the data transmission instruction is transmitted can be reduced, the success probability of identity switching is improved, and the switching efficiency of screen sharing can be improved.
Optionally, when the first terminal and the second terminal perform screen sharing, and the first terminal obtains the sharing screen switching instruction, the first terminal may close the preset data channel. If the first terminal receives the preset data transmission instruction after the first terminal closes the preset data, the first terminal can wait for the data transmission instruction. The first terminal can execute the operation corresponding to the data transmission instruction after the identity switching between the first terminal and the second terminal is successful, the first screen picture of the first terminal is displayed, the second terminal is instructed to switch the second screen picture of the second terminal to the first screen picture, and the operation corresponding to the data transmission instruction is executed. The waiting processing of the first terminal on the data transmission instruction can reduce the loss of the data transmission instruction, improve the transmission success probability of the data transmission instruction, reduce the influence on the identity switching when the data transmission instruction is transmitted, improve the success probability of the identity switching, and further improve the switching efficiency of screen sharing.
According to some embodiments, when the first terminal receives the data transmission instruction after the first terminal closes the preset data transmission channel, the first terminal may send the prompt information and perform a corresponding operation according to the operation instruction for the prompt information. For example, after the first terminal sends the prompt message, when the first terminal receives the discard instruction for the data transmission instruction, the first terminal may discard the data transmission instruction.
Step S203, sending a sharing screen switching instruction to the second terminal, and switching the first identity of the first terminal to the first temporary identity, where the sharing screen switching instruction is used to instruct the second terminal to switch the second identity of the second terminal to the second temporary identity.
Fig. 9 illustrates a schematic diagram of an identity switching process according to some embodiments of the present application. When the first terminal acquires the sharing screen switching instruction, the first terminal may send the sharing screen switching instruction to the second terminal. When the first terminal acquires the sharing screen switching instruction, the first terminal can switch the first identity of the first terminal to the first temporary identity. The first identity refers to an identity corresponding to the first terminal, which may be, for example, a shared screen viewer. The first temporary identity refers to a temporary identity corresponding to the first identity, and is not specific to a fixed identity. The first temporary identity may be, for example, a sharing screen temporary watched party.
It is easy to understand that, when the first terminal sends the sharing screen switching instruction to the second terminal, and the sharing screen switching instruction is used to instruct the second terminal to switch the second identity of the second terminal to the second temporary identity, and therefore the second terminal receives the sharing screen switching instruction, the second terminal may switch the second identity of the second terminal to the second temporary identity, and send a first confirmation instruction of identity switching to the first terminal. The second identity refers to an identity corresponding to the second terminal, and the second identity may be, for example, a shared screen watched party. The second temporary identity refers to a temporary identity corresponding to the first identity, and is not specific to a fixed identity. The second temporary identity can be, for example, a temporary viewer of the shared screen, so that the condition that two identical identities cause identity switching failure in the identity switching process can be avoided, the success probability of identity switching can be improved, and the success probability of shared screen switching can be improved.
According to some embodiments, when the first terminal a and the second terminal B perform screen sharing, the terminal a is the first terminal, and the terminal B may be the second terminal. The first identity of the a terminal may be a shared screen viewer and the second identity of the B terminal may be a shared screen viewer. When the terminal a acquires the sharing screen switching instruction, the terminal a may switch the sharing screen viewer to the sharing screen temporary viewer. The a terminal may transmit a shared screen switching instruction to the B terminal. When the B terminal receives the instruction, the B terminal may switch the shared screen to the shared screen temporary viewer.
Step S204, when receiving a first confirmation instruction for identity switching by the second terminal, switching the first temporary identity to the second identity, and sending a second confirmation instruction for the first confirmation instruction to the second terminal, where the second confirmation instruction is used to instruct the second terminal to switch the second temporary identity to the first identity.
According to some embodiments, when the first terminal receives a first confirmation instruction of the second terminal for the identity switching, the first terminal may switch the first temporary identity to the second identity. Wherein, the first confirmation instruction includes but is not limited to a voice confirmation instruction, a text confirmation instruction, a click confirmation instruction or a preset confirmation instruction, etc. The preset confirmation instruction may be, for example, a data confirmation instruction or the like.
It is readily understood that when the first terminal switches the first temporary identity to the second identity, the first terminal may send a second confirmation instruction for the first confirmation instruction to the second terminal, the second confirmation instruction being for instructing the second terminal to switch the second temporary identity to the first identity. When the second terminal receives the second confirmation instruction, the second terminal may switch the second temporary identity to the first identity.
According to some embodiments, when the first terminal a and the second terminal B perform screen sharing, the terminal a is the first terminal, and the terminal B may be the second terminal. The first identity of the a terminal may be a shared screen viewer and the second identity of the B terminal may be a shared screen viewer. When the terminal a acquires the sharing screen switching instruction, the terminal a may switch the sharing screen viewer to the sharing screen temporary viewer. The a terminal may transmit a shared screen switching instruction to the B terminal. When the B terminal receives the instruction, the B terminal may switch the shared screen to the shared screen temporary viewer. The B terminal may send a first confirmation instruction of the identity switching to the a terminal. When the terminal a receives the first confirmation instruction, the terminal a may switch the sharing screen to the watched party temporarily, and send a second confirmation instruction for the first confirmation instruction to the terminal B. When the B terminal receives the second confirmation instruction, the B terminal may switch the sharing screen temporary viewer to the sharing screen viewer.
Fig. 10 illustrates a schematic diagram of an identity switching process according to some embodiments of the present application. As shown in fig. 10, when the first terminal and the second terminal perform identity switching, the first terminal may switch the first identity of the first terminal to the first temporary identity when acquiring the sharing screen switching instruction, and send the sharing screen switching instruction to the second terminal. When the second terminal receives the sharing screen switching instruction, the second terminal can switch the second identity of the second terminal to the first identity and send a first confirmation instruction aiming at identity switching to the first terminal. When the first terminal receives the first confirmation instruction, the first terminal can switch the first temporary identity to the second identity, so that the identity switching steps of the first terminal and the second terminal can be reduced, the switching duration of the shared screen is reduced, and the switching efficiency of the shared screen can be improved.
It is easy to understand that when the first terminal a and the second terminal B perform screen sharing, the terminal a is the first terminal, and the terminal B may be the second terminal. The first identity of the a terminal may be a shared screen viewer and the second identity of the B terminal may be a shared screen viewer. When the terminal a acquires the sharing screen switching instruction, the terminal a may switch the sharing screen viewer to the sharing screen temporary viewer. The a terminal may transmit a shared screen switching instruction to the B terminal. When the B terminal receives the instruction, the B terminal may switch the shared screen to the shared screen viewer. The B terminal may send a first confirmation instruction of the identity switching to the a terminal. When the a terminal receives the first confirmation instruction, the a terminal may temporarily switch the shared screen to the watched party.
Step S205, after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen of the first terminal, and instructing the second terminal to switch a second screen of the second terminal to the first screen.
The specific process is as described above, and is not described herein again.
According to some embodiments, please refer to fig. 11, which provides a flowchart of a shared screen switching method according to an embodiment of the present application. As shown in fig. 11, the method according to the embodiment of the present application may include the following steps S401 to S402 when displaying the first screen of the first terminal and instructing the second terminal to switch the second screen of the second terminal to the first screen. Step S401, reestablishing a screen sharing data channel with a second terminal, and displaying a first screen picture of a first terminal; step S402, the first screen is transmitted to the second terminal based on the screen sharing data channel, so that the second terminal switches the second screen to the first screen.
It is easy to understand that, because the first terminal closes the preset data transmission channel before the first terminal sends the sharing screen switching instruction to the second terminal, when the first terminal displays the first screen and instructs the second terminal to switch the second screen of the second terminal to the first screen, the first terminal may display the first screen of the first terminal and reestablish the screen sharing data channel with the second terminal, so that the first terminal may perform screen sharing data transmission with the second terminal. When the first terminal and the second terminal reestablish the screen sharing data channel, the first terminal may transmit the first screen to the second terminal, so that the second terminal switches the second screen to the first screen. That is, when the second terminal receives the first screen sent by the first terminal, the second terminal may switch the second screen to the first screen.
And step S206, when the identity switching between the first terminal and the second terminal fails, the screen sharing with the second terminal is disconnected, and prompt information is sent, wherein the prompt information is used for prompting the identity switching failure between the first terminal and the second terminal.
According to some embodiments, when the first terminal obtains the sharing screen switching instruction, the first terminal may send the sharing screen switching instruction to the second terminal, and perform identity switching with the second terminal. When the first terminal detects that the identity switching between the first terminal and the second terminal fails, the first terminal can disconnect the screen sharing with the second terminal. At this time, the first terminal may display a preset first screen, and may also display a screen before screen sharing with the second terminal. The first terminal can also send out prompt information, and the prompt information is used for prompting that the identity switching between the first terminal and the second terminal fails. The reasons for the failure of identity switching between the first terminal and the second terminal include, but are not limited to, terminal failure, poor network signal, terminal not supporting identity switching, etc.
It is easy to understand that, when the first terminal a and the second terminal B perform screen sharing, the terminal a is the first terminal, and the terminal B may be the second terminal. The first identity of the a terminal may be a shared screen viewer and the second identity of the B terminal may be a shared screen viewer. When the terminal a acquires the shared screen switching instruction, the terminal a may send the shared screen switching instruction to the terminal B. When a first confirmation instruction aiming at identity switching sent by the terminal B is not received within the preset time length, the terminal A can be determined to be capable of being disconnected from the screen sharing of the terminal B when the identity switching between the terminal A and the terminal B fails, and prompt information is sent and used for prompting the identity switching failure between the terminal A and the terminal B. At this time, the a terminal may display a first screen before performing screen sharing with the B terminal. The a terminal may also display a first screen preset by the a terminal, and at this time, the display interface of the a terminal may be as shown in fig. 12, for example.
In one or more embodiments of the present application, when screen sharing is performed with a second terminal and a shared screen switching instruction is obtained, the first terminal may close a preset data transmission channel, so as to reduce the probability of failure in switching the shared screen due to preset data transmission, and improve the success rate of switching the shared screen. Secondly, the first terminal may send a shared screen switching instruction to the second terminal, and switch the first identity of the first terminal to the first temporary identity, where the shared screen switching instruction is used to instruct the second terminal to switch the second identity of the second terminal to the second temporary identity, and when a first confirmation instruction for identity switching by the second terminal is received, the first temporary identity is switched to the second identity, and a second confirmation instruction for the first confirmation instruction is sent to the second terminal, and the second confirmation instruction is used to instruct the second terminal to switch the second temporary identity to the first identity, so that a situation that the shared screen switching fails when the first terminal and the second terminal are in the same identity can be reduced, and a success probability of shared screen switching can be improved. In addition, after the identities of the first terminal and the second terminal are successfully switched, the first terminal can display the first screen picture of the first terminal and instruct the second terminal to switch the second screen picture of the second terminal into the first screen picture, so that the switching of the shared screen is realized. In the process, the identity switching can be directly completed without the first terminal and the second terminal quitting the screen sharing state, the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved. Finally, when the identity switching between the first terminal and the second terminal fails, the screen sharing with the second terminal can be disconnected, and prompt information is sent out, so that a user can obtain the identity switching failure information between the first terminal and the second terminal in time, and the use convenience of the user can be improved.
The shared screen switching device provided by the embodiment of the present application will be described in detail below with reference to fig. 13. It should be noted that the shared screen switching device shown in fig. 13 is used for executing the method of the embodiment shown in fig. 2 to 12 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 2 to 12 of the present application.
Please refer to fig. 13, which illustrates a schematic structural diagram of a shared screen switching device according to an embodiment of the present application. The shared screen switching device 1300 may be implemented by software, hardware, or a combination of both as all or a part of the user terminal. According to some embodiments, the shared screen switching apparatus 1300 includes an instruction obtaining unit 1301, a first identity switching unit 1302, and a screen display unit 1303, and is specifically configured to:
an instruction obtaining unit 1301, configured to obtain a shared screen switching instruction when performing screen sharing with a second terminal;
a first identity switching unit 1302, configured to send a shared screen switching instruction to the second terminal, and switch identities with the second terminal;
and the picture display unit 1303 is configured to display a first screen picture of the first terminal after the identity of the first terminal is successfully switched with the identity of the second terminal, and instruct the second terminal to switch a second screen picture of the second terminal to the first screen picture.
According to some embodiments, the first identity switching unit 1302 is configured to send a shared screen switching instruction to the second terminal, and when the identity is switched with the second terminal, specifically configured to:
sending a sharing screen switching instruction to a second terminal, and switching a first identity of the first terminal to a first temporary identity, wherein the sharing screen switching instruction is used for indicating the second terminal to switch a second identity of the second terminal to a second temporary identity;
when a first confirmation instruction aiming at identity switching of a second terminal is received, switching the first temporary identity to a second identity, and sending a second confirmation instruction aiming at the first confirmation instruction to the second terminal, wherein the second confirmation instruction is used for indicating the second terminal to switch the second temporary identity to the first identity.
According to some embodiments, the shared screen switching apparatus 1300 further includes a channel closing unit 1304, configured to send a shared screen switching instruction to the second terminal, and close a predetermined data transmission channel before switching identities with the second terminal.
According to some embodiments, the shared screen switching apparatus 1300 further includes an instruction processing unit 1305, configured to, after the preset data transmission channel is closed, discard the data transmission instruction when the preset data transmission instruction is received; or
When a preset data transmission instruction is received, waiting for processing the data transmission instruction;
after the identity of the first terminal and the identity of the second terminal are successfully switched, displaying a first screen of the first terminal, and instructing the second terminal to switch a second screen of the second terminal to the first screen, the method further comprises:
and executing the operation corresponding to the data transmission instruction.
According to some embodiments, the image display unit 1303 is configured to, when displaying the first screen image of the first terminal and instructing the second terminal to switch the second screen image of the second terminal to the first screen image, specifically:
reestablishing a screen sharing data channel with the second terminal, and displaying a first screen picture of the first terminal;
and transmitting the first screen picture to the second terminal based on the screen sharing data channel so that the second terminal switches the second screen picture into the first screen picture.
According to some embodiments, the shared screen switching apparatus 1300 includes an information prompting unit 1306, configured to send a shared screen switching instruction to the second terminal, and after switching identities with the second terminal, when the identity switching between the first terminal and the second terminal fails, disconnect the screen sharing with the second terminal, and send a prompting message, where the prompting message is used to prompt that the identity switching between the first terminal and the second terminal fails.
In one or more embodiments of the present application, when screen sharing is performed with a second terminal, an obtained shared screen switching instruction may be used, so that after identity switching with the second terminal is successful, a first screen of a first terminal is displayed, and the second terminal is instructed to switch a second screen of the second terminal to the first screen, thereby implementing shared screen switching. In the process, the identity switching can be directly completed without the first terminal and the second terminal quitting the screen sharing state, the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved.
Referring to fig. 14, a flow chart of a shared screen switching method is provided in the embodiment of the present application. As shown in fig. 14, the method of the embodiment of the present application may include the following steps S501 to S503. The execution subject of the embodiment of the application is the second terminal.
Specifically, the shared screen switching method includes:
step 501, when screen sharing is performed with a first terminal, receiving a sharing screen switching instruction sent by the first terminal.
According to some embodiments, the second terminal refers to a screen sharing watched party. The second terminal is not particularly designated to a fixed terminal, and when the terminal shared by the screen changes, the second terminal also changes correspondingly. The first terminal refers to a screen sharing viewer. The first terminal is not particularly designated to a fixed terminal, and when the terminal shared by the screen changes, the first terminal also changes correspondingly.
According to some embodiments, when the second terminal is performing screen sharing with the first terminal, the first terminal may acquire a sharing screen switching instruction and transmit the sharing screen switching instruction to the second terminal. When the second terminal detects that the first terminal sends the sharing screen switching instruction, the second terminal may receive the sharing screen switching instruction sent by the first terminal.
It is easy to understand that, for example, when the a terminal and the B terminal perform screen sharing, the a terminal is a screen sharing viewer, the a terminal is a first terminal, the B terminal is a screen sharing watched party, and the B terminal is a second terminal. When the terminal B and the terminal a share the screen, the terminal a may obtain a sharing screen switching instruction and send the sharing screen switching instruction to the terminal B. When the terminal B detects that the terminal a sends the sharing screen switching instruction, the terminal B may receive the sharing screen switching instruction sent by the terminal a.
Step 502, switching identities with the first terminal based on the sharing screen switching instruction.
According to some embodiments, when the second terminal can receive the sharing screen switching instruction sent by the first terminal, the second terminal may switch identities with the first terminal based on the sharing screen switching instruction. That is, when the first terminal is the screen sharing viewer, and the second terminal is the screen sharing watched party, and the second terminal receives the sharing screen switching instruction, the second terminal may switch the identity of the second terminal to the screen sharing viewer, and the first terminal may switch the identity of the first terminal to the screen sharing watched party.
Referring to fig. 15, a flow chart of a sharing screen switching method according to some embodiments is provided. As shown in fig. 15, the method according to the embodiment of the present application may include the following steps S601 to S602 when switching identities with a first terminal based on a shared screen switching instruction. Step S601, switching a second identity of a second terminal to a second temporary identity based on a sharing screen switching instruction, and sending a first confirmation instruction aiming at identity switching to the first terminal, wherein the sharing screen switching instruction carries information that the first terminal switches the first identity of the first terminal to the first temporary identity, the first confirmation instruction is used for indicating the first terminal to switch the first temporary identity to the second identity, and sending a second confirmation instruction aiming at the first confirmation instruction to the second terminal; step S602, receiving a second confirmation command, and switching the second temporary identity to the first identity.
According to some embodiments, since the shared screen switching instruction carries information that the first terminal switches the first identity of the first terminal to the first temporary identity, when the second terminal switches identities with the first terminal based on the shared screen switching instruction, the second terminal may acquire information that the first terminal switches the first identity of the first terminal to the first temporary identity based on the shared screen switching instruction, and the second terminal may switch the second identity of the second terminal to the second temporary identity. When the second terminal switches the second identity of the second terminal to the second temporary identity, the second terminal may send a first confirmation instruction for the identity switching to the first terminal.
It is easy to understand that the first confirmation instruction is used to instruct the first terminal to switch the first temporary identity to the second identity, so that when the first terminal receives the first confirmation instruction sent by the second terminal, the first terminal may switch the first temporary identity of the first terminal to the second identity, and send a second confirmation instruction for the first confirmation instruction to the second terminal. When the second terminal receives the second confirmation instruction sent by the first terminal, the second terminal may switch the second temporary identity to the first identity.
According to some embodiments, the a terminal is a first terminal and the B terminal is a second terminal. The first identity of the a terminal may be a shared screen viewer and the second identity of the B terminal may be a shared screen viewer. When the terminal a acquires the sharing screen switching instruction, the terminal a can switch the sharing screen viewer to the sharing screen temporary viewer and send the sharing screen switching instruction to the terminal B. When the B terminal receives the instruction, the B terminal may switch the shared screen to the shared screen temporary viewer. The B terminal may send a first confirmation instruction for identity handover to the a terminal. When the terminal a receives the first confirmation instruction, the terminal a may switch the first sharing screen to the watched party temporarily, and send a second confirmation instruction for the first confirmation instruction to the terminal B. When the B terminal receives the second confirmation instruction, the B terminal may switch the sharing screen temporary viewer to the sharing screen viewer.
Step 503, after the identity of the second terminal and the identity of the first terminal are successfully switched, switching the second screen of the second terminal to the first screen of the first terminal, where the first screen is a screen displayed by the first terminal after the identity of the second terminal and the identity of the first terminal are switched.
According to some embodiments, the first screen is a screen displayed on a display screen of the first terminal, and the screen is a screen displayed after the first terminal and the second terminal switch identities. When the second terminal is successfully switched with the first terminal identity based on the shared screen switching instruction, the first terminal can display the first screen, and the second terminal can switch the second screen of the second terminal to the first screen of the first terminal.
It is easy to understand that, for example, when the a terminal and the B terminal perform screen sharing, the a terminal is a first terminal, and the B terminal is a second terminal. Before the identity is switched, the screen pictures displayed by the first screen of the terminal A and the second screen of the terminal B are the second screen picture of the terminal B. When the terminal B performs screen sharing with the terminal a, the terminal a may acquire a sharing screen switching instruction. When the terminal a obtains the sharing screen switching instruction, the terminal a may send the sharing screen switching instruction to the terminal B, and switch the identity with the terminal B. After the identity switching between the terminal a and the terminal B is completed, the terminal a may display the first screen of the terminal a, and the terminal B may switch the second screen of the terminal B to the first screen.
In one or more embodiments of the present application, a sharing screen switching instruction may be received when screen sharing is performed with a first terminal, so that after identity switching with the first terminal is successful, a second screen of a second terminal may be switched to a first screen, thereby implementing sharing screen switching. In the process, the identity switching can be directly completed without the first terminal and the second terminal quitting the screen sharing state, the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved.
The shared screen switching device provided in the embodiment of the present application will be described in detail below with reference to fig. 16. It should be noted that the shared screen switching device shown in fig. 16 is used for executing the method of the embodiment shown in fig. 14-15 of the present application, and for convenience of description, only the portion related to the embodiment of the present application is shown, and details of the specific technology are not disclosed, please refer to the embodiment shown in fig. 14-15 of the present application.
Please refer to fig. 16, which illustrates a schematic structural diagram of a shared screen switching device according to an embodiment of the present application. The shared screen switching device 1600 may be implemented as all or a part of the user terminal through software, hardware, or a combination of both. According to some embodiments, the shared screen switching apparatus 1600 includes an instruction receiving unit 1601, a second identity switching unit 1602 and a screen switching unit 1603, and is specifically configured to:
an instruction receiving unit 1601 configured to receive a sharing screen switching instruction transmitted by a first terminal when screen sharing is performed with the first terminal;
a second identity switching unit 1602, configured to switch identities with the first terminal based on the shared screen switching instruction;
the image switching unit 1603 is configured to switch the second screen image of the second terminal to the first screen image of the first terminal after the identity switching between the second terminal and the first terminal is successful, where the first screen image is a screen image displayed by the first terminal after the identity switching between the second terminal and the first terminal is completed.
According to some embodiments, the second identity switching unit 1602, configured to, when switching identities with the first terminal based on the shared screen switching instruction, specifically:
switching a second identity of a second terminal to a second temporary identity based on a sharing screen switching instruction, and sending a first confirmation instruction aiming at identity switching to the first terminal, wherein the sharing screen switching instruction carries information that the first terminal switches the first identity of the first terminal to the first temporary identity, the first confirmation instruction is used for instructing the first terminal to switch the first temporary identity to the second identity, and sending a second confirmation instruction aiming at the first confirmation instruction to the second terminal;
and receiving a second confirmation instruction, and switching the second temporary identity to the first identity.
In one or more embodiments of the present application, a shared screen switching instruction may be received when screen sharing is performed with a first terminal, so that after identity switching with the first terminal is successful, a second screen of a second terminal may be switched to a first screen, so as to complete shared screen switching. The shared screen switching device and the first terminal can directly complete identity switching during screen sharing, and a second terminal does not need to quit a screen sharing state and then initiate a screen sharing request to the first terminal, so that the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved.
Please refer to fig. 17, which is a schematic structural diagram of a terminal according to an embodiment of the present application. As shown in fig. 17, the terminal 1700 may include: at least one processor 1701, at least one network interface 1704, a user interface 1703, memory 1705, at least one communication bus 1702.
The communication bus 1702 is used to enable, among other things, connectivity communication between these components.
The user interface 1703 may include a Display screen (Display) and a GPS, and the optional user interface 1703 may include a standard wired interface and a wireless interface.
The network interface 1704 may optionally include a standard wired interface or a wireless interface (e.g., WI-FI interface).
The processor 1701 may include one or more processing cores, among others. The processor 1701 connects various parts throughout the terminal 1700 using various interfaces and lines, and executes various functions of the terminal 1700 and processes data by executing or executing instructions, programs, code sets, or instruction sets stored in the memory 1705 and calling data stored in the memory 1705. Alternatively, the processor 1701 may be implemented in hardware using at least one of Digital Signal Processing (DSP), Field-Programmable Gate Array (FPGA), and Programmable Logic Array (PLA). The processor 1701 may integrate one or a combination of a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), a modem, and the like. The CPU mainly processes an operating system, a user interface, an application program and the like; the GPU is used for rendering and drawing the content required to be displayed by the display screen; the modem is used to handle wireless communications. It is to be understood that the modem may be implemented by a single chip without being integrated into the processor 1701.
The Memory 1705 may include a Random Access Memory (RAM) or a Read-Only Memory (Read-Only Memory). Optionally, the memory 1705 includes a non-transitory computer-readable medium. The memory 1705 may be used to store instructions, programs, code sets, or instruction sets. The memory 1705 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 playing function, an image playing function, etc.), instructions for implementing the various method embodiments described above, and the like; the storage data area may store data and the like referred to in the above respective method embodiments. The memory 1705 may optionally be at least one storage device located remotely from the processor 1701. As shown in fig. 17, a memory 1705, which is a kind of computer storage medium, may include therein an operating system, a network communication module, a user interface module, and an application program for shared screen switching.
In the terminal 1700 shown in fig. 17, the user interface 1703 is mainly used as an interface for providing input for a user, and acquiring data input by the user; the processor 1701 may be configured to call an application program for switching the shared screen stored in the memory 1705, and specifically perform the following operations:
when screen sharing is carried out with a second terminal, a shared screen switching instruction is obtained;
sending a sharing screen switching instruction to the second terminal, and switching identities with the second terminal;
and after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen picture of the first terminal, and indicating the second terminal to switch a second screen picture of the second terminal into the first screen picture.
According to some embodiments, the processor 1101 is configured to execute the following steps when sending the sharing screen switching instruction to the second terminal and switching the identity with the second terminal:
sending a sharing screen switching instruction to a second terminal, and switching a first identity of the first terminal to a first temporary identity, wherein the sharing screen switching instruction is used for indicating the second terminal to switch a second identity of the second terminal to a second temporary identity;
when a first confirmation instruction aiming at identity switching of a second terminal is received, switching the first temporary identity to a second identity, and sending a second confirmation instruction aiming at the first confirmation instruction to the second terminal, wherein the second confirmation instruction is used for indicating the second terminal to switch the second temporary identity to the first identity.
According to some embodiments, before the processor 1101 is configured to send the sharing screen switching instruction to the second terminal and switch the identity with the second terminal, the processor is further configured to perform the following steps:
and closing the preset data transmission channel.
According to some embodiments, after the processor 1101 is configured to close the preset data transmission channel, the processor is further specifically configured to perform the following steps:
when a preset data transmission instruction is received, discarding the data transmission instruction; or
When a preset data transmission instruction is received, waiting for processing the data transmission instruction;
after the identity of the first terminal and the identity of the second terminal are successfully switched, displaying a first screen of the first terminal, and instructing the second terminal to switch a second screen of the second terminal to the first screen, the method further comprises:
and executing the operation corresponding to the data transmission instruction.
According to some embodiments, the processor 1701 is configured to perform the following steps when displaying the first screen of the first terminal and instructing the second terminal to switch the second screen of the second terminal to the first screen:
reestablishing a screen sharing data channel with the second terminal, and displaying a first screen picture of the first terminal;
and transmitting the first screen picture to the second terminal based on the screen sharing data channel so that the second terminal switches the second screen picture into the first screen picture.
According to some embodiments, the processor 1701 is configured to, after sending the sharing screen switching instruction to the second terminal and switching the identity with the second terminal, specifically configured to perform the following steps:
when the identity switching between the first terminal and the second terminal fails, the screen sharing with the second terminal is disconnected, and prompt information is sent out and used for prompting the identity switching failure between the first terminal and the second terminal.
The processor 1701 is further specifically configured to perform the following steps, according to some embodiments:
receiving a sharing screen switching instruction sent by a first terminal when screen sharing is carried out with the first terminal;
switching identities with the first terminal based on the shared screen switching instruction;
and after the identity switching between the second terminal and the first terminal is successful, switching a second screen picture of the second terminal into a first screen picture of the first terminal, wherein the first screen picture is a screen picture displayed by the first terminal after the identity switching between the second terminal and the first terminal is completed.
According to some embodiments, the processor 1701 is configured to, when performing switching of the identity with the first terminal based on the shared screen switching instruction, specifically perform the following steps:
switching a second identity of a second terminal to a second temporary identity based on a sharing screen switching instruction, and sending a first confirmation instruction aiming at identity switching to the first terminal, wherein the sharing screen switching instruction carries information that the first terminal switches the first identity of the first terminal to the first temporary identity, the first confirmation instruction is used for instructing the first terminal to switch the first temporary identity to the second identity, and sending a second confirmation instruction aiming at the first confirmation instruction to the second terminal;
and receiving a second confirmation instruction, and switching the second temporary identity to the first identity.
In one or more embodiments of the present application, when the first terminal performs screen sharing with the second terminal, the first terminal may display the first screen image of the first terminal after the first terminal successfully switches the identity with the second terminal, and instruct the second terminal to switch the second screen image of the second terminal to the first screen image, thereby implementing the screen sharing switching. In the process, the identity switching can be directly completed without the first terminal and the second terminal exiting the screen sharing state, the switching steps of screen sharing can be reduced, the switching duration of screen sharing is reduced, and the switching efficiency of screen sharing can be improved.
The present application also provides a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, carries out the steps of the above-mentioned method. The computer-readable storage medium may include, but is not limited to, any type of disk including floppy disks, optical disks, DVD, CD-ROMs, microdrive, and magneto-optical disks, ROMs, RAMs, EPROMs, EEPROMs, DRAMs, VRAMs, flash memory devices, magnetic or optical cards, nanosystems (including molecular memory ICs), or any type of media or device suitable for storing instructions and/or data.
Embodiments of the present application also provide a computer program product comprising a non-transitory computer readable storage medium storing a computer program operable to cause a computer to perform some or all of the steps of any one of the shared screen switching methods as set forth in the above method embodiments.
It is clear to a person skilled in the art that the solution of the present application can be implemented by means of software and/or hardware. The "unit" and "module" in this specification refer to software and/or hardware that can perform a specific function independently or in cooperation with other components, where the hardware may be, for example, a Field-ProgrammaBLE Gate Array (FPGA), an Integrated Circuit (IC), or the like.
It should be noted that for simplicity of description, the above-mentioned embodiments of the method are described as a series of acts, but those skilled in the art should understand that the present application is not limited by the described order of acts, as some steps may be performed in other orders or simultaneously according to the present application. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required in this application.
In the foregoing embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to the related descriptions of other embodiments.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus may be implemented in other manners. For example, the above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implementing, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection of some service interfaces, devices or units, and may be an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present application may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit. The integrated unit can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a computer readable memory. Based on such understanding, the technical solution of the present application may be substantially implemented or a part of or all or part of the technical solution contributing to the prior art may be embodied in the form of a software product stored in a memory, and including several instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method described in the embodiments of the present application. And the aforementioned memory comprises: various media capable of storing program codes, such as a usb disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic disk, or an optical disk.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program, which is stored in a computer-readable memory, and the memory may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
The above description is merely an exemplary embodiment of the present disclosure, and the scope of the present disclosure is not limited thereto. That is, all equivalent changes and modifications made in accordance with the teachings of the present disclosure are intended to be included within the scope of the present disclosure. Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure herein. This application is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.

Claims (11)

1. A shared screen switching method is applied to a first terminal, and comprises the following steps:
when screen sharing is carried out with a second terminal, a sharing screen switching instruction is obtained;
sending the sharing screen switching instruction to the second terminal, and switching identities with the second terminal;
and after the identities of the first terminal and the second terminal are successfully switched, displaying a first screen picture of the first terminal, and indicating the second terminal to switch a second screen picture of the second terminal to the first screen picture.
2. The method according to claim 1, wherein the sending the shared screen switching instruction to the second terminal and switching identities with the second terminal comprises:
sending a sharing screen switching instruction to the second terminal, and switching the first identity of the first terminal to a first temporary identity, wherein the sharing screen switching instruction is used for instructing the second terminal to switch the second identity of the second terminal to a second temporary identity;
when a first confirmation instruction aiming at the identity switching of the second terminal is received, switching the first temporary identity to the second identity, and sending a second confirmation instruction aiming at the first confirmation instruction to the second terminal, wherein the second confirmation instruction is used for instructing the second terminal to switch the second temporary identity to the first identity.
3. The method according to claim 1, wherein before sending the shared screen switching instruction to the second terminal and switching identities with the second terminal, the method further comprises:
and closing the preset data transmission channel.
4. The method according to claim 3, further comprising, after closing the predetermined data transmission channel:
when a preset data transmission instruction is received, discarding the data transmission instruction; or
When a preset data transmission instruction is received, waiting for processing the data transmission instruction;
after the identity switching between the first terminal and the second terminal is successful, displaying a first screen of the first terminal, and instructing the second terminal to switch a second screen of the second terminal to the first screen, further comprising:
and executing the operation corresponding to the data transmission instruction.
5. The method of claim 1, wherein displaying the first screen of the first terminal and instructing the second terminal to switch the second screen of the second terminal to the first screen comprises:
reestablishing a screen sharing data channel with the second terminal, and displaying a first screen picture of the first terminal;
and transmitting the first screen picture to the second terminal based on the screen sharing data channel so that the second terminal switches the second screen picture into the first screen picture.
6. The method according to claim 1, wherein after sending the shared screen switching instruction to the second terminal and switching identities with the second terminal, the method further comprises:
when the identity switching between the first terminal and the second terminal fails, the first terminal and the second terminal are disconnected from being shared by a screen of the second terminal, and prompt information is sent out and used for prompting the identity switching failure between the first terminal and the second terminal.
7. A shared screen switching apparatus, the apparatus comprising:
the instruction acquisition unit is used for acquiring a shared screen switching instruction when screen sharing is carried out with the second terminal;
the identity switching unit is used for sending the sharing screen switching instruction to the second terminal and switching identities with the second terminal;
and the picture display unit is used for displaying a first screen picture of the first terminal and indicating the second terminal to switch a second screen picture of the second terminal into the first screen picture after the identities of the first terminal and the second terminal are successfully switched.
8. A screen sharing method is applied to a second terminal, and comprises the following steps:
receiving a sharing screen switching instruction sent by a first terminal when screen sharing is carried out with the first terminal;
switching identities with the first terminal based on the shared screen switching instruction;
and after the identity switching between the second terminal and the first terminal is successful, switching a second screen picture of the second terminal into a first screen picture of the first terminal, wherein the first screen picture is a screen picture displayed by the first terminal after the identity switching between the second terminal and the first terminal is completed.
9. The method according to claim 8, wherein the switching the identity with the first terminal based on the shared screen switching instruction comprises:
switching a second identity of the second terminal to a second temporary identity based on the sharing screen switching instruction, and sending a first confirmation instruction for the identity switching to the first terminal, wherein the sharing screen switching instruction carries information that the first terminal switches the first identity of the first terminal to the first temporary identity, and the first confirmation instruction is used for instructing the first terminal to switch the first temporary identity to the second identity, and sending a second confirmation instruction for the first confirmation instruction to the second terminal;
and receiving the second confirmation instruction, and switching the second temporary identity to the first identity.
10. A terminal comprising a memory, a processor and a computer program stored in the memory and executable on the processor, characterized in that the processor implements the method of any of the preceding claims 1-6 or 8-9 when executing the computer program.
11. A computer-readable storage medium, on which a computer program is stored, which program, when being executed by a processor, is adapted to carry out the method of any one of the preceding claims 1-6 or 8-9.
CN202011211386.2A 2020-11-03 2020-11-03 Shared screen switching method, device, terminal and storage medium Active CN112423051B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011211386.2A CN112423051B (en) 2020-11-03 2020-11-03 Shared screen switching method, device, terminal and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011211386.2A CN112423051B (en) 2020-11-03 2020-11-03 Shared screen switching method, device, terminal and storage medium

Publications (2)

Publication Number Publication Date
CN112423051A CN112423051A (en) 2021-02-26
CN112423051B true CN112423051B (en) 2022-09-13

Family

ID=74826951

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011211386.2A Active CN112423051B (en) 2020-11-03 2020-11-03 Shared screen switching method, device, terminal and storage medium

Country Status (1)

Country Link
CN (1) CN112423051B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783834A (en) * 2009-12-31 2010-07-21 华为终端有限公司 Mobile terminal and method for switching screen
CN102594893A (en) * 2012-02-22 2012-07-18 广东步步高电子工业有限公司 Remote compelled method and system for mobile terminal equipment and computer
CN107770186A (en) * 2017-10-31 2018-03-06 广州成达信息科技有限公司 A kind of computer shared system and its method
CN109462897A (en) * 2018-10-31 2019-03-12 大连多维互动数字科技有限公司 A kind of computer sharing means

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10431187B2 (en) * 2015-06-29 2019-10-01 Ricoh Company, Ltd. Terminal apparatus, screen recording method, program, and information processing system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101783834A (en) * 2009-12-31 2010-07-21 华为终端有限公司 Mobile terminal and method for switching screen
CN102594893A (en) * 2012-02-22 2012-07-18 广东步步高电子工业有限公司 Remote compelled method and system for mobile terminal equipment and computer
CN107770186A (en) * 2017-10-31 2018-03-06 广州成达信息科技有限公司 A kind of computer shared system and its method
CN109462897A (en) * 2018-10-31 2019-03-12 大连多维互动数字科技有限公司 A kind of computer sharing means

Also Published As

Publication number Publication date
CN112423051A (en) 2021-02-26

Similar Documents

Publication Publication Date Title
CN111342863B (en) Data transmission method, data transmission device and storage medium
EP4236463A2 (en) Method for supporting both voice service and data service and terminal
CN107360635B (en) Data transmission method, device, terminal and computer readable storage medium
US11895630B2 (en) Method and device for identifying downlink transmissions
CN111052780B (en) SIM card authentication method and terminal
US8503998B2 (en) Wireless communication terminal and wireless communication method
CA2784651C (en) Apparatus and method in a wireless device for reestablishing a call
CN111556439A (en) Terminal connection control method, terminal and computer storage medium
US20140302832A1 (en) Phone connection method, electronic terminal and system
CN114630313A (en) Communication method and device
CN112506460A (en) Screen control authority sharing method and device, terminal and storage medium
CN111328061B (en) Audio resource control method, vehicle-mounted terminal and system
CN105516972A (en) Network connection method and device
CN112423051B (en) Shared screen switching method, device, terminal and storage medium
CN114173319B (en) Method and device for realizing conversation across platforms, cloud platform server and storage medium
US11477591B2 (en) Audio data processing method, terminal device, and storage medium
CN111432502B (en) Random access method, base station and terminal equipment
JP2019068299A (en) Communication device, control method of the same, and program
CN114286425A (en) Long connection establishing system, method and device, electronic equipment and storage medium
US20220007355A1 (en) Control instruction transmission method, base station, terminal and storage medium
CN114615454B (en) Message prompting method, device, terminal and storage medium
CN115103416B (en) Network switching method, device, equipment and storage medium
CN113938850A (en) Data service implementation method and device
JP2015061162A (en) Communication system
CN115580947A (en) Communication processing method and device, and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant