CN112511892A - Screen sharing method, device, server and storage medium - Google Patents

Screen sharing method, device, server and storage medium Download PDF

Info

Publication number
CN112511892A
CN112511892A CN202011258993.4A CN202011258993A CN112511892A CN 112511892 A CN112511892 A CN 112511892A CN 202011258993 A CN202011258993 A CN 202011258993A CN 112511892 A CN112511892 A CN 112511892A
Authority
CN
China
Prior art keywords
screen sharing
terminal
terminals
information
server
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.)
Granted
Application number
CN202011258993.4A
Other languages
Chinese (zh)
Other versions
CN112511892B (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 CN202011258993.4A priority Critical patent/CN112511892B/en
Publication of CN112511892A publication Critical patent/CN112511892A/en
Application granted granted Critical
Publication of CN112511892B publication Critical patent/CN112511892B/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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/436Interfacing a local distribution network, e.g. communicating with another STB or one or more peripheral devices inside the home
    • 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
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/04Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks
    • H04L63/0428Network architectures or network communication protocols for network security for providing a confidential data exchange among entities communicating through data packet networks wherein the data content is protected, e.g. by encrypting or encapsulating the payload
    • 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/43Processing of content or additional data, e.g. demultiplexing additional data from a digital video stream; Elementary client operations, e.g. monitoring of home network or synchronising decoder's clock; Client middleware
    • H04N21/44Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs
    • H04N21/4402Processing of video elementary streams, e.g. splicing a video clip retrieved from local storage with an incoming video stream, rendering scenes according to MPEG-4 scene graphs involving reformatting operations of video signals for household redistribution, storage or real-time display

Abstract

The application discloses a screen sharing method, a screen sharing device, a server and a storage medium, and belongs to the technical field of video communication. The method is performed by a server, the method comprising: receiving a screen sharing request sent by a target terminal, acquiring connection information and indication marks of other terminals by a server according to the screen sharing request, and encrypting channel parameters by the server according to encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information and generate the target link, so that the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing establishment safety is improved.

Description

Screen sharing method, device, server and storage medium
Technical Field
The embodiment of the application relates to the technical field of video communication, in particular to a screen sharing method, a screen sharing device, a screen sharing server and a storage medium.
Background
With the progress of science and technology, the frequency of using the terminal by people in daily life is higher and higher, wherein, the screen sharing can be realized among different terminals for the convenience of using the terminal by people.
Currently, screen sharing can be realized through the same application program in different terminals. For example, a first application program may be installed in the first terminal, a first application program may also be installed in the second terminal, users of the two terminals may respectively register account information in the first application program, the two terminals requiring screen sharing may log in the first application program through the account information respectively logged in the first application program, and a screen sharing function is realized through the first application program. In the process, a unified verification code can be generated by the first application program, and after the verification code is input by the first terminal and the second terminal, the screen sharing connection can be established for the two terminals, so that the screen sharing of the two terminals is realized.
In the scheme for realizing the screen sharing, because the verification code is generated by the application program and is sent to the terminal through other communication tools, if the verification code is intercepted by other terminals in the sending process, other terminals can also join in the screen sharing, and the problem of low security of establishing the screen sharing is caused.
Disclosure of Invention
The embodiment of the application provides a screen sharing method, a screen sharing device, a terminal and a storage medium, which can improve the security of channel connection for establishing screen sharing for the terminal. The technical scheme is as follows:
in one aspect, an embodiment of the present application provides a screen sharing method, where the method is performed by a server, and the method includes:
receiving a screen sharing request sent by a target terminal, wherein the screen sharing request is used for requesting screen sharing with other terminals, and the screen sharing request carries indication marks of the other terminals;
acquiring connection information and indication marks of other terminals according to the screen sharing request, wherein the connection information comprises channel parameters and encryption information, the channel parameters are used for indicating channels adopted by the target terminal and the other terminals for screen sharing, and the encryption information is used for indicating information adopted by the server for encrypting the channel parameters;
encrypting the channel parameters according to the encryption information in the connection information;
generating a target link according to the encrypted channel parameters, wherein the target link is used for establishing screen sharing between the target terminal and the other terminals;
and sending the target link to the other terminals according to the indication marks of the other terminals.
In one aspect, an embodiment of the present application provides a screen sharing method, where the method is executed by a target terminal, and the method includes:
receiving a target link sent by a server; the target link is used for establishing screen sharing of the target terminal and the other terminals;
responding to the trigger operation of the target link, and sending a decryption request to the server, wherein the decryption request is used for instructing the server to decrypt the encrypted channel parameters in the target link, and the channel parameters are used for instructing the target terminal to share the channel adopted by the screen with other terminals;
receiving the channel parameters returned by the server;
and establishing screen sharing with the other terminals according to the channel parameters.
In another aspect, an embodiment of the present application provides a screen sharing apparatus, where the apparatus is used in a server, and the apparatus includes:
the device comprises a request receiving module, a screen sharing module and a display module, wherein the request receiving module is used for receiving a screen sharing request sent by a target terminal, the screen sharing request is used for requesting screen sharing with other terminals, and the screen sharing request carries indication marks of the other terminals;
a first obtaining module, configured to obtain connection information and an indication identifier of the other terminal according to the screen sharing request, where the connection information includes a channel parameter and encryption information, the channel parameter is used to indicate a channel used for screen sharing between the target terminal and the other terminal, and the encryption information is used to indicate information used for encrypting the channel parameter by the server;
the first encryption module is used for encrypting the channel parameters according to the encryption information in the connection information;
the link generation module is used for generating a target link according to the encrypted channel parameters, wherein the target link is used for establishing screen sharing between the target terminal and other terminals;
and the link sending module is used for sending the target link to the other terminals according to the indication marks of the other terminals.
On the other hand, an embodiment of the present application provides a screen sharing apparatus, where the apparatus is used in a target terminal, and the apparatus includes:
the link receiving module is used for receiving the target link sent by the server; the target link is used for establishing screen sharing of the target terminal and the other terminals;
a request sending module, configured to send, in response to a trigger operation on the target link, a decryption request to the server, where the decryption request is used to instruct the server to decrypt a channel parameter encrypted in the target link, and the channel parameter is used to instruct the target terminal to perform a channel used for screen sharing with another terminal;
the parameter receiving module is used for receiving the channel parameters returned by the server;
and the screen sharing module is used for establishing screen sharing with the other terminals according to the channel parameters.
In another aspect, an embodiment of the present application provides a server, which includes a processor and a memory, where the memory stores at least one instruction, at least one program, a set of codes, or a set of instructions, and the at least one instruction, the at least one program, the set of codes, or the set of instructions is loaded and executed by the processor to implement the screen sharing method according to the above aspect.
In another aspect, an embodiment of the present application provides a terminal, where the terminal includes a processor and a memory, where the memory stores at least one instruction, at least one program, a code set, or a set of instructions, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by the processor to implement the screen sharing method according to the above aspect.
In another aspect, the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the screen sharing method according to the above aspect.
In another aspect, the present application provides a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the screen sharing method according to the above aspect.
The technical scheme provided by the embodiment of the application can at least comprise the following beneficial effects:
the method comprises the steps that a screen sharing request sent by a target terminal is received through a server, the server obtains connection information and indication marks of other terminals according to the screen sharing request, the connection information comprises channel parameters and encryption information, the channel parameters are used for indicating channels adopted by the target terminal and the other terminals for screen sharing, and the encryption information is used for indicating information adopted by the server for encrypting the channel parameters; the server encrypts the channel parameters according to the encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information, generate a target link and send the target link to other terminals, so that the encrypted channel parameters need to be decrypted when the other terminals establish screen sharing with the target terminal, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
Drawings
FIG. 1 is a scene diagram of a screen sharing scene provided by an exemplary embodiment of the present application;
FIG. 2 is a flow chart illustrating a screen sharing process according to an exemplary embodiment of the present application;
FIG. 3 is a flowchart of a method for screen sharing according to an exemplary embodiment of the present application;
FIG. 4 is a flowchart of a method for screen sharing according to an exemplary embodiment of the present application;
FIG. 5 is a flow chart of a method of screen sharing according to an exemplary embodiment of the present application;
FIG. 6 is an interface schematic of a target application interface according to an exemplary embodiment of the present application;
FIG. 7 is an interface schematic diagram of another target application interface related to FIG. 6 in an exemplary embodiment of the present application;
FIG. 8 is an interface schematic diagram of an encryption selection interface of FIG. 7 according to an exemplary embodiment of the present application;
FIG. 9 is a flowchart of a method of screen sharing according to an exemplary embodiment of the present application;
FIG. 10 is a flow chart of a method of screen sharing in accordance with an exemplary embodiment of the present application;
FIG. 11 is an interface schematic of an information gathering interface according to an exemplary embodiment of the present application;
FIG. 12 is an interface schematic of another information gathering interface according to an exemplary embodiment of the present application;
FIG. 13 is an interface schematic of a screen sharing interface according to an exemplary embodiment of the present application;
FIG. 14 is a flowchart of a method for screen sharing according to an exemplary embodiment of the present application;
FIG. 15 is an interface diagram of a screen sharing application provided by an exemplary embodiment of the present application;
FIG. 16 is an interface schematic diagram of a target application interface provided by an exemplary embodiment of the present application;
FIG. 17 is an interface schematic of a wait-for interface provided by an exemplary embodiment of the present application;
FIG. 18 is an interface diagram of a SMS interface according to an exemplary embodiment of the present application;
FIG. 19 is an interface schematic diagram of a receive screen sharing interface according to an exemplary embodiment of the present application;
FIG. 20 is a diagram illustrating a screen sharing interface of a target terminal according to an exemplary embodiment of the present application;
FIG. 21 is an interface schematic diagram of a data interface relating to FIG. 20 in an exemplary embodiment of the present application;
FIG. 22 is a diagram illustrating a screen sharing interface of another terminal according to an exemplary embodiment of the present application;
FIG. 23 is a block diagram of a screen sharing apparatus according to an exemplary embodiment of the present application;
FIG. 24 is a block diagram of a screen sharing apparatus according to an exemplary embodiment of the present application;
FIG. 25 is a block diagram of a server according to an exemplary embodiment of the present application;
fig. 26 is a schematic structural diagram of a terminal according to an exemplary embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
Reference herein to "a plurality" means two or more. "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.
The scheme provided by the application can be used in a real scene in which an application program runs in a terminal when people use the terminal in daily life, and for convenience of understanding, some terms and application scenes related to the embodiment of the application are first briefly introduced below.
Screen sharing: the terminal comprises a plurality of terminals, wherein at least one terminal shares the picture displayed in the screen with other terminals through a channel, so that the other terminals can see the picture displayed in the screen of the terminal.
Asymmetric encryption: asymmetric encryption algorithms require two keys: public key (public) and private key (Privatekey). The public key and the private key are a pair, and if the public key is used for encrypting data, only the corresponding private key can be used for decrypting the data; if the data is encrypted with a private key, it can only be decrypted with the corresponding public key.
With the development of scientific technology, various terminals have appeared in daily life of people, and people can work, entertain, study, and the like through the terminals. The screen (also referred to as a display screen) is common hardware in the terminal, and for the terminal with the screen, people can realize functions of video call, video playing, interface display, screen sharing and the like in the terminal.
Referring to fig. 1, a scene diagram of a screen sharing scene provided in an exemplary embodiment of the present application is shown. As shown in fig. 1, several terminals 110 and servers 120 are included in the screen sharing scenario.
Among them, the terminal 110 is a terminal in which an application of a screen sharing function is installed. For example, the terminal may be a mobile phone, a tablet computer, an e-book reader, smart glasses, a smart watch, an MP4(Moving Picture Experts Group Audio Layer IV) player, a notebook computer, a laptop portable computer, a desktop computer, and the like.
The server 120 is a server, or a plurality of servers, or a virtualization platform, or a cloud computing service center. Alternatively, the server 120 may be a server corresponding to an application having a screen sharing function in the terminal 110, or may be a server of a manufacturer of the terminal 110.
Optionally, the terminal 110 and the server 120 are connected through a communication network. Optionally, the communication network is a wired network or a wireless network.
Optionally, the wireless network or wired network described above uses standard communication techniques and/or protocols. The Network is typically the Internet, but may be any Network including, but not limited to, a Local Area Network (LAN), a Metropolitan Area Network (MAN), a Wide Area Network (WAN), a mobile, wireline or wireless Network, a private Network, or any combination of virtual private networks. In some embodiments, data exchanged over a network is represented using techniques and/or formats including Hypertext Mark-up Language (HTML), Extensible Markup Language (XML), and the like. All or some of the links may also be encrypted using conventional encryption techniques such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec). In other embodiments, custom and/or dedicated data communication techniques may also be used in place of, or in addition to, the data communication techniques described above.
In a possible implementation manner, for example, two terminals (a first terminal and a second terminal) in the plurality of terminals are used, the first terminal and the second terminal may implement screen sharing between the two terminals through an installed application having a screen sharing function, so that the first terminal or the second terminal sees a picture displayed in a screen of the other terminal.
Referring to fig. 2, a flow chart of a screen sharing process according to an exemplary embodiment of the present application is shown. As shown in fig. 2, the screen sharing process may include several steps as follows.
Step 201, a first terminal logs in a target application, and the target application has a screen sharing function.
The first terminal can be installed with a target application, and a user of the first terminal can register account information in the target application and log in the target application through the account information.
Step 202, the first terminal initiates screen sharing through the target application.
The first terminal can initiate screen sharing through the target application and request the server corresponding to the target application to establish a screen sharing room, so that the screen of the first terminal can be shared through the screen sharing room.
In step 203, the target application generates a plaintext validation code.
Alternatively, the server of the target application may create a screen sharing room and generate a plaintext verification code, and the plaintext verification code is returned to the first terminal through the target application, and the first terminal may enter the screen sharing room through the plaintext verification code.
And step 204, the first terminal sends the plaintext verification code to the second terminal through other communication tools.
The other communication tool may be any communication tool that realizes information transmission. And the first terminal sends the plaintext verification code to the second terminal through other communication tools.
In step 205, the second terminal receives the plaintext verification code sent by the first terminal through other communication tools.
Correspondingly, the second terminal can also receive the plaintext verification code sent by the first terminal through other communication tools.
And step 206, the second terminal logs in the target application.
The second terminal may also have a target application installed therein, and a user of the second terminal may also register account information in the target application and log in the target application through the account information.
And step 207, the first terminal and the second terminal respectively input a plaintext verification code in the target application.
The first terminal and the second terminal respectively input the same plaintext verification code in the target application and enter a screen sharing room created by the target application, so that the first terminal can share the picture displayed by the screen of the first terminal to the second terminal.
And step 208, the second terminal displays the screen of the first terminal.
The second terminal can display the picture sent by the first terminal in the screen of the second terminal.
At present, each terminal can implement screen sharing through the above-mentioned manner, so that each terminal is required to register account information in a target application, and each terminal required to implement screen sharing logs in the account information in the target application, which causes a problem of more preconditions when each terminal implements screen sharing. In addition, in the screen sharing process, the plaintext verification code used by the first terminal needs to be sent to another party (the second terminal) through another communication tool, and if the plaintext verification code is acquired by the third terminal, the third terminal can also enter a screen sharing room by using the plaintext verification code and watch a picture shared by the first terminal or the second terminal, so that the problem of low security of screen sharing is caused. Moreover, before the first terminal and the second terminal establish the screen sharing, the transmitted information is only the plaintext verification code, and other information required for the connection process of establishing the screen sharing cannot be transmitted (for example, the screen resolution of the first terminal, the effective time of accessing the screen sharing, and the like).
In order to avoid the problems in the technical scheme and improve the safety of screen sharing established between terminals, the application provides a screen sharing method, which avoids the problem that screen sharing can be realized by acquiring a plaintext verification code in the related technology, so that the safety of screen sharing established between terminals is higher. Referring to fig. 3, a flowchart of a method for sharing a screen according to an exemplary embodiment of the present application is shown. The method can be used in the application scenario shown in fig. 1, and executed by a server in the scenario, as shown in fig. 3, the screen sharing method can include the following steps.
Step 301, receiving a screen sharing request sent by a target terminal, where the screen sharing request is used to request screen sharing with other terminals, and the screen sharing request carries indication identifiers of the other terminals.
The target terminal is provided with a screen sharing application, and the server is a server of the screen sharing application. The server can receive screen sharing requests sent by the target terminal and other terminals provided with the screen sharing application, so that screen sharing is achieved for the terminals.
The screen sharing request sent by the target terminal is used for requesting the server to establish screen sharing with other terminals, wherein the target terminal can carry the indication marks of the other terminals in the screen sharing request, so that the server knows which terminal the target terminal wants to realize screen sharing with. Alternatively, the indication identifier may be a unique number indicating other terminals.
Step 302, acquiring connection information and indication marks of other terminals according to the screen sharing request.
The connection information comprises channel parameters and encryption information, the channel parameters are used for indicating channels adopted by the target terminal for screen sharing with other terminals, and the encryption information is used for indicating information adopted by the server for encrypting the channel parameters.
Optionally, the channel parameter may further include parameters such as a channel number, a channel effective duration, and a channel transmission rate. The encryption information may be an encryption password.
Step 303, encrypting the channel parameters according to the encryption information in the connection information.
That is, the server encrypts the channel parameter according to the encryption information in the connection information, and acquires the encrypted channel parameter.
And 304, generating a target link according to the encrypted channel parameters, wherein the target link is used for establishing screen sharing of the target terminal and other terminals.
The server can package the encrypted channel parameters to generate a target link, so that other terminals can establish screen sharing with the target terminal through the target link.
And 305, sending the target link to other terminals according to the indication marks of other terminals.
And the server sends the generated target link to other terminals according to the obtained indication marks of other terminals.
In summary, a screen sharing request sent by a target terminal is received by a server, the server obtains connection information and indication identifiers of other terminals according to the screen sharing request, the connection information includes a channel parameter and encryption information, the channel parameter is used for indicating a channel used by the target terminal to perform screen sharing with the other terminals, and the encryption information is used for indicating information used by the server to encrypt the channel parameter; the server encrypts the channel parameters according to the encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information, generate a target link and send the target link to other terminals, so that the encrypted channel parameters need to be decrypted when the other terminals establish screen sharing with the target terminal, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
In order to avoid the problems in the technical scheme and improve the safety of establishing screen sharing between terminals, the application also provides a screen sharing method, which avoids the problem that screen sharing can be realized by acquiring a plaintext verification code in the related technology, so that the safety of establishing screen sharing between terminals is higher. Referring to fig. 4, a flowchart of a method for sharing a screen according to an exemplary embodiment of the present application is shown. The method can be used in the application scenario shown in fig. 1, and executed by the terminal in the scenario, as shown in fig. 4, the screen sharing method can include the following steps.
Step 401, receiving a target link sent by a server; the target link is used for establishing screen sharing of the target terminal and other terminals.
In fig. 1, when another terminal wants to establish screen sharing with the target terminal, the other terminal may send the screen sharing request to the server, and accordingly, the server may obtain a target link according to the process shown in fig. 3 and send the target link to the target terminal.
Step 402, responding to the trigger operation of the target link, sending a decryption request to the server, where the decryption request is used to instruct the server to decrypt the encrypted channel parameter in the target link, and the channel parameter is used to instruct the target terminal to share the channel used by the screen with other terminals.
After the target link is triggered in the target terminal, the target terminal may send a decryption request to the server, so that the server decrypts the encrypted channel parameter in the target link, thereby obtaining the channel parameter. Optionally, the channel parameter may further include parameters such as a channel number, a channel effective duration, and a channel transmission rate.
And step 403, receiving the channel parameters returned by the server.
That is, the server responds to the decryption request sent by the target terminal, and returns the channel parameters obtained after decryption to the target terminal, and the target terminal directly receives the channel parameters sent by the server.
And step 404, establishing screen sharing with other terminals according to the channel parameters.
And the target terminal accesses the channel indicated by the channel parameter according to the received channel parameter, thereby realizing screen sharing with other terminals.
In summary, after receiving a target link sent by a server and used for establishing screen sharing between the target terminal and other terminals, the target terminal sends a decryption request to the server by responding to a trigger operation on the target link, where the decryption request is used to instruct the server to decrypt an encrypted channel parameter in the target link, and the channel parameter is used to instruct the target terminal to share a channel used for screen sharing with other terminals; and according to the channel parameters returned by the server, screen sharing is established with other terminals. When the target terminal needs to establish screen sharing with other terminals, the target terminal needs to decrypt the channel parameters through the request server to acquire the channel parameters shared by the screens, so that screen sharing is achieved, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
The embodiments shown in fig. 3 and 4 are described below by way of example with respect to interaction between a target terminal and a server.
In a possible implementation manner, when the target terminal is used as an initiator for establishing screen sharing this time, the screen sharing method provided by the present application may be as follows. Referring to fig. 5, a method flow diagram of a screen sharing method according to an exemplary embodiment of the present application is shown. The method can be used in the application scenario shown in fig. 1, and is executed by the terminal and the server in the scenario, as shown in fig. 5, the screen sharing method can include the following steps.
Step 501, the target terminal responds to the sending operation of the screen sharing request, and acquires the connection information and the indication identification of other terminals.
The screen sharing request is used for requesting screen sharing with other terminals, and the connection information comprises channel parameters and encryption information; the encryption information is used to indicate information by which the server encrypts the channel parameters.
In a possible implementation manner, after a screen sharing application installed in a target terminal is opened, the target terminal may send a screen sharing request through a control in a target application interface by displaying the target application interface. The target application interface comprises an input box for sending control and indication marks of other terminals, and the sending control is used for sending a screen sharing request to the server. And the target terminal acquires the connection information and the indication marks of other terminals by triggering the sending operation of sending the screen sharing request in the application interface.
Referring to fig. 6, an interface diagram of a target application interface according to an exemplary embodiment of the present application is shown. As shown in fig. 6, a target application interface 600 displayed by the target terminal includes an identification input box 601 and a sending control 602. The user may input an indication identifier of another terminal in the identifier input box 601, and trigger the sending control 602 to send a screen sharing request to the server. Optionally, the indication identifier of the other terminal is a Subscriber Identity Module (SIM) number of the other terminal or a device number of the other terminal.
Optionally, the target terminal may obtain, in response to the triggering operation on the sending control, the content included in the input box as the indication identifier of the other terminal. For example, in fig. 6, if the user inputs the indication identifier "123 × 432" of the other terminal in the identification input box in the target application interface, after the user triggers the sending control 602, the target terminal may obtain "123 × 432" contained in the identification input box as the indication identifier of the other terminal.
Optionally, the target terminal may further respond to the trigger operation on the sending control, and select one channel from currently idle channels as a channel used by the target terminal to perform screen sharing with other terminals; acquiring channel parameters of a channel adopted by a target terminal for screen sharing with other terminals; acquiring an encryption mode set in a target terminal; acquiring encryption information according to the encryption mode of the target terminal; and using the channel parameter and the encryption information as connection information.
That is, in the embodiment of the present application, when acquiring the connection information, the target terminal selects one free channel as a channel for transmitting screen shared data from among the channels on which the communication connection can be currently established by itself, and acquires the channel parameter of this channel. For example, the target terminal knows that the channel one is currently in an idle state through communication with the base station, and the target terminal may share the channel one as a screen and acquire a channel parameter of the channel one. Optionally, the channel parameter may be a channel ID of the channel, an effective duration of the channel, a transmission rate of the channel, and the like.
Optionally, after the channel parameters are obtained, the target terminal may further obtain an encryption mode preset in the target terminal. For example, a developer of the target terminal may set an encryption method for encrypting the connection information in advance in the target terminal, and after the target terminal acquires the connection information, encrypt the connection information according to the encryption method. In this embodiment of the present application, the preset encryption mode in the target terminal may be asymmetric encryption, that is, the target terminal side encrypts with a uniform public key, and the other side receiving the connection information decrypts with a corresponding private key.
In a possible implementation manner, the target application interface shown in fig. 6 further includes a selection control of an encryption manner, and the target terminal may further obtain the selected encryption manner as the encryption manner set in the target terminal in response to a trigger operation on the selection control. Referring to FIG. 7, an interface diagram of another target application interface related to FIG. 6 according to an exemplary embodiment of the present application is shown. As shown in fig. 7, a target application interface 700 displayed by the target terminal includes an identification input box 701, a sending control 702, and a selection control 703. The user may input an indication identifier of another terminal in the identifier input box 601, trigger the sending control 602 to send a screen sharing request to the server, and also trigger the selecting control 703 to select an encryption mode in the target terminal. Referring to fig. 8, an interface diagram of an encryption selection interface related to fig. 7 according to an exemplary embodiment of the present application is shown. As shown in fig. 8, a target application interface 800 displayed by a target terminal includes an encryption selection interface 801 and an encryption mode 802. After the user triggers the selection control 703 in fig. 7, the encryption selection interface 801 shown in fig. 8 may be displayed, the user may select a corresponding encryption manner, and accordingly, the target terminal may use the encryption manner selected by the user as the encryption manner set in the target terminal.
Optionally, after obtaining the encryption mode, the target terminal may use an encryption password used by the encryption mode as encryption information, and finally use the obtained encryption information and the channel parameter as connection information to obtain the connection information. The default encryption scheme shown in fig. 8 is asymmetric encryption, and the encryption password used in the default encryption scheme is a public key held by the target terminal. The fingerprint encryption method shown in fig. 8 is to encrypt the fingerprint information stored in another terminal, and the encryption password used in the encryption method is the fingerprint information stored in another terminal. The image encryption method shown in fig. 8 is to encrypt image information stored in another terminal, and the encryption password used in the encryption method is image information stored in another terminal. Optionally, the image information and the fingerprint information may be searched by the server and obtained and returned to the target terminal.
Step 502, the target terminal encrypts the connection information in an asymmetric encryption manner.
The preset encryption mode in the target terminal is asymmetric encryption, and after the target terminal acquires the connection information through the steps, the acquired connection information can be encrypted according to the asymmetric encryption mode.
In step 503, the target terminal carries the encrypted connection information and the indication identifier of the other terminal in the screen sharing request, and sends the screen sharing request to the server.
That is, when the target terminal sends the screen sharing request to the server, the target terminal carries the encrypted connection information and the obtained indication identifiers of the other terminals in the screen sharing request, so that the server can obtain the indication identifiers of the connection information and the other terminals through the screen sharing request.
In step 504, the server receives a screen sharing request sent by the target terminal.
The target terminal is provided with a screen sharing application, and the server is a server of the screen sharing application. After the target terminal sends the screen sharing request, correspondingly, the server can receive the screen sharing request from the target terminal, so that the fact that the target terminal needs to share the screen with other terminals is known.
And 505, the server acquires the connection information and the indication identifiers of other terminals according to the screen sharing request.
In this embodiment, because the screen sharing request received by the server carries the connection information and the indication identifiers of the other terminals, the server may parse the received screen sharing request to obtain the connection information and the indication identifiers of the other terminals carried in the screen sharing request. For example, the indication mark of the other terminal in fig. 6 is "123 × 432", and in this step, after the server parses the screen sharing request, the encrypted connection information of the target terminal and the indication mark "123 × 432" may be obtained.
Step 506, the channel parameters are encrypted according to the encryption information in the connection information.
Optionally, because the asymmetric encryption mode is set in advance by the screen sharing application and the server, the target terminal may encrypt the connection information through a public key, and the server may decrypt the connection information through a private key, the server may decrypt the encrypted connection information according to the corresponding private key to obtain the channel parameter and the encrypted information in the connection information, and encrypt the channel parameter according to the encrypted information in the connection information to obtain the encrypted channel parameter. For example, the encrypted information is an asymmetric encrypted public key, and the server may re-encrypt the channel parameter in the connection information by using the public key to obtain the encrypted channel parameter.
And 507, the server generates a target link according to the encrypted channel parameters, wherein the target link is used for establishing screen sharing between the target terminal and other terminals.
The server can package the encrypted channel parameters to generate a target link, so that other terminals can establish screen sharing with the target terminal through the target link.
In a possible implementation manner, in order to save the steps of the server, the server may also directly encapsulate the obtained connection information as the target link without re-encrypting the channel parameters and encapsulating the channel parameters as the target link.
And step 508, the server sends the target link to other terminals according to the indication marks of other terminals.
Namely, the server sends the generated target link to other terminals according to the obtained indication marks of other terminals.
In a possible implementation manner, before sending the target link to the other terminal, the server may further obtain state information of the other terminal according to the indication identifier of the other terminal, determine a sending manner of the target link to the other terminal according to the state information of the other terminal, and send the target link to the other terminal according to the determined sending manner of the target link. The state information is used for indicating that other terminals are logged in or not logged in the server. For example, the server may perform authentication through the indication identifier of the other terminal and the login interface of the server, if the terminal corresponding to the indication identifier of the other terminal logs in the server through the login interface of the server, the server may determine that the state information of the terminal is in a login state, and if the terminal corresponding to the indication identifier of the other terminal does not log in the server through the login interface of the server, the server may determine that the state information of the terminal is in an unregistered state. That is, the login state may indicate that the other terminal is logged in the server, and the unregistered state may indicate that the other terminal is not logged in the server.
Optionally, the server responds to the state information of the other terminal to indicate that the other terminal is not logged in (unregistered state) in the server, and the server sends the target link to the other terminal in a short message manner according to the indication identifier of the other terminal.
Optionally, when the indication identifier of the other terminal is the SIM number of the other terminal, the server may directly invoke the short message application of the target terminal, and send the short message to the other terminal through the target terminal. When the indication marks of other terminals are the equipment numbers of other terminals, the server can also inquire a number list in the server through the equipment numbers, wherein the number list comprises the corresponding relation between the equipment numbers and the SIM numbers, the server acquires the SIM numbers of other terminals according to the number list, and then calls the short message application of the target terminal, and sends the short message to other terminals through the target terminal.
Optionally, if the channel parameter includes three parameters, namely, a channel number, a channel effective duration and a channel transmission rate, when the server sends the target link to the other terminal in the form of a short message, the server may further edit the channel effective duration and the channel transmission rate in the channel parameter into the short message, and prompt the other terminal in a text form, so that the other terminal establishes screen sharing with the target terminal in time.
Optionally, the server responds to the state information of the other terminal to indicate that the other terminal logs in (login state) in the server, and the server sends the target link to the other terminal in a system information manner according to the indication identifier of the other terminal.
Optionally, when the other terminal is in a login state in the server, the server may send the target link to the other terminal in a manner of sending system information to the account information of the other terminal in the server by using the account information of the target terminal in the server, so that the other terminal receives the target link, and screen sharing is achieved through the target link.
In summary, a screen sharing request sent by a target terminal is received by a server, the server obtains connection information and indication identifiers of other terminals according to the screen sharing request, the connection information includes a channel parameter and encryption information, the channel parameter is used for indicating a channel used by the target terminal to perform screen sharing with the other terminals, and the encryption information is used for indicating information used by the server to encrypt the channel parameter; the server encrypts the channel parameters according to the encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information, generate a target link and send the target link to other terminals, so that the encrypted channel parameters need to be decrypted when the other terminals establish screen sharing with the target terminal, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
In addition, when the state information of other terminals is not logged in, the target link is sent to the other terminals in a short message mode, so that the condition that account information of both sides can receive screen sharing under the condition of logging in the related technology is avoided, and the flexibility of screen sharing establishment is improved.
In addition, the target link is sent to other terminals in a short message mode, and the short message can also carry other more information, such as the effective duration of the channel, and indicates that the target link is effective within the effective duration of the channel at this time by other terminals, so that the information transmission amount in the screen sharing establishing process is increased, and the accuracy of screen sharing establishing is improved.
In a possible implementation manner, the step of the target terminal selecting one channel from currently idle channels as a channel used by the target terminal for screen sharing with other terminals, and acquiring the channel parameters of the channel used by the target terminal for screen sharing with other terminals may also be performed by the server, and the encryption of the channel parameters may be specified by the target terminal.
Referring to fig. 9, a method flow diagram of a screen sharing method according to an exemplary embodiment of the present application is shown. The method can be used in the application scenario shown in fig. 1, and is executed by the terminal and the server in the scenario, as shown in fig. 9, the screen sharing method can include the following steps.
In step 901, the target terminal responds to the sending operation of the screen sharing request, and acquires the encrypted information and the indication identifiers of other terminals.
Optionally, the process of obtaining the encrypted information and the indication identifiers of the other terminals in this step may refer to the process of obtaining the encrypted information in the process of obtaining the connection information in step 501, and the process of obtaining the indication identifiers of the other terminals, which is not described herein again.
And step 902, the target terminal carries the encrypted information and the indication identifiers of other terminals in the screen sharing request and sends the screen sharing request to the server.
That is, when the target terminal sends the screen sharing request to the server, the target terminal carries the obtained indication identifiers of the encrypted information and the other terminals in the screen sharing request, so that the server can obtain the indication identifiers of the encrypted information and the other terminals through the screen sharing request.
Step 903, the server receives a screen sharing request sent by the target terminal.
The target terminal is provided with a screen sharing application, and the server is a server of the screen sharing application. After the target terminal sends the screen sharing request, correspondingly, the server can receive the screen sharing request from the target terminal, so that the fact that the target terminal needs to share the screen with other terminals is known.
And step 904, the server acquires the encrypted information and the indication marks of other terminals according to the screen sharing request.
In this embodiment, since the screen sharing request received by the server carries the encrypted information and the indication identifiers of the other terminals, the server may parse the received screen sharing request to obtain the encrypted information and the indication identifiers of the other terminals carried in the screen sharing request.
Step 905, the server selects one channel from the currently idle channels as a channel used by the target terminal to perform screen sharing with other terminals.
Step 906, the server obtains channel parameters of a channel used by the target terminal for screen sharing with other terminals.
That is, after receiving the screen sharing request, the server may allocate an idle channel to the target terminal as a channel for the target terminal to perform screen sharing with other terminals, and optionally, the manner in which the server acquires the idle channel may also refer to the manner in which the terminal acquires the idle channel in step 501, which is not described herein again.
In step 907, the server encrypts the channel parameters according to the encryption information in the connection information.
Optionally, when the encrypted information is fingerprint information stored in other terminals; the server needs to inquire fingerprint information stored in other terminals from the server; and encrypting the channel parameters according to the fingerprint information stored in other terminals. When the encrypted information is the fingerprint information stored in other terminals, the server can acquire the fingerprint information of the terminal from the prestored corresponding relation table containing the indication identifier of each terminal and the fingerprint information stored in each terminal through the indication identifiers of the other terminals, so that the channel parameters are encrypted by using the fingerprint information.
Optionally, when the encrypted information is image information stored in other terminals; inquiring image information stored in other terminals from the server; and encrypting the channel parameters according to the image information stored in other terminals. Similarly, the server may also previously establish a correspondence table corresponding to the indication identifier of each terminal and the image information stored in each terminal, and when the encrypted information is the image information stored in other terminals, the server may obtain the image information of the terminal from the correspondence table containing the indication identifier of each terminal and the image information stored in each terminal, which is stored in advance, through the indication identifiers of other terminals, so as to encrypt the channel parameter using the image information.
Step 908, the server generates a target link according to the encrypted channel parameters, and the target link is used for establishing screen sharing between the target terminal and other terminals.
In step 909, the server sends the target link to the other terminal according to the indication identifier of the other terminal.
Optionally, the implementation manners of step 908 to step 909 may also refer to the descriptions in step 507 to step 508, which are not described herein again.
In summary, a screen sharing request sent by a target terminal is received by a server, the server obtains connection information and indication identifiers of other terminals according to the screen sharing request, the connection information includes a channel parameter and encryption information, the channel parameter is used for indicating a channel used by the target terminal to perform screen sharing with the other terminals, and the encryption information is used for indicating information used by the server to encrypt the channel parameter; the server encrypts the channel parameters according to the encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information, generate a target link and send the target link to other terminals, so that the encrypted channel parameters need to be decrypted when the other terminals establish screen sharing with the target terminal, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
In a possible implementation manner, when the target terminal is the receiving side (corresponding to the target terminal being another terminal) for establishing the screen sharing this time, the screen sharing method provided by the present application may be as follows. Referring to fig. 10, a method flow diagram of a screen sharing method according to an exemplary embodiment of the present application is shown. The method can be used in the application scenario shown in fig. 1, and is executed by the terminal and the server in the scenario, as shown in fig. 10, the screen sharing method can include the following steps.
1001, a target terminal receives a target link sent by a server; the target link is used for establishing screen sharing of the target terminal and other terminals.
Optionally, corresponding to the two sending modes of the server, the target terminal may correspondingly receive the target link sent by the server in the system information mode, or the target terminal may also receive the target link sent by the server in the short message mode.
In step 1002, the target terminal sends a decryption request to the server in response to a trigger operation on the target link, where the decryption request is used to instruct the server to decrypt the encrypted channel parameters in the target link.
The channel parameter is used for indicating a channel adopted by the target terminal for screen sharing with other terminals.
Alternatively, the trigger operation of the target link may be a click operation of the user. After a user clicks a target link received in a target terminal, the target terminal can be triggered to pull up a screen sharing application installed in the target terminal, a decryption request is sent to a server through the screen sharing application, and the server is requested to decrypt encrypted channel parameters in the target link.
In a possible implementation manner, the target terminal can also respond to the trigger operation of the target link and display an information acquisition interface; acquiring information acquired by a target terminal through an information acquisition interface as decryption information; and carries the decryption information in the decryption request. This approach corresponds to the scheme described above in fig. 9, in which the encrypted information is determined by the initiator of the screen sharing, and how the recipient performs decryption.
Optionally, please refer to fig. 11, which illustrates an interface schematic diagram of an information collecting interface according to an exemplary embodiment of the present application. As shown in fig. 11, an information collecting area 1101 is included in a target terminal 1100, in which a user can input fingerprint information, and the target terminal acquires the collected fingerprint information as decryption information and carries the decryption information in a decryption request. The decryption information may be obtained in a manner corresponding to the fingerprint information stored in the target terminal.
Optionally, please refer to fig. 12, which shows an interface schematic diagram of another information collecting interface according to an exemplary embodiment of the present application. As shown in fig. 12, an information acquisition area 1201 is included in the target terminal 1200, in which the user can input face information, and the target terminal acquires the acquired face information as decryption information and carries it in a decryption request. The decryption information may be obtained in a manner corresponding to the encrypted information being image information stored in the target terminal.
In step 1003, the server receives a decryption request sent by the target terminal.
And step 1004, the server decrypts the encrypted channel parameters according to the encryption information according to the decryption request to acquire the channel parameters.
After receiving the decryption request, the server knows that the encrypted channel parameters in the target link need to be decrypted, and in the above asymmetric encryption mode, the server also uses the private key held by the server to decrypt when decrypting, so as to obtain the channel parameters. In the above encryption method selected by the user, the server may receive decryption information sent by the receiver shared by the screen during decryption, and may decrypt the decryption information sent by the receiver to obtain the channel parameter.
Corresponding to the above encryption mode selected by the user, the target terminal can carry the decryption information in the decryption request and send the decryption request to the server, and the server can analyze the decryption request according to the decryption request to obtain the decryption information: and decrypting the encrypted channel parameters according to the decryption information to obtain the channel parameters. For example, the decryption information is fingerprint information of the target terminal, when the target terminal sends the decryption request, the target terminal carries the acquired fingerprint information in the decryption request, the decryption request carrying the decryption information is sent to the server, the server analyzes the decryption request, obtains the fingerprint information in the decryption request, and decrypts the encrypted channel parameters by using the fingerprint information. If the fingerprint information is the same as the fingerprint information encrypted before, the server can acquire the channel parameters and return the channel parameters to the target terminal. If the fingerprint information is different from the fingerprint information that was encrypted before, the server may not be able to obtain the channel parameters.
Step 1005, the server sends the channel parameter to the target terminal.
Optionally, if the server acquires the channel parameter, the server sends the acquired channel parameter to the target terminal. If the server does not acquire the channel parameters, the server can return error information to the target terminal to prompt the target terminal to resend the decryption request.
Step 1006, the target terminal receives the channel parameters returned by the server.
Step 1007, the target terminal establishes screen sharing with other terminals according to the channel parameters.
After obtaining the channel number in the channel parameter, the target terminal can actively access to the channel with the channel number, receive the screen sharing data sent by the opposite side or send the screen sharing data of the target terminal, and realize screen sharing with other terminals.
And step 1008, the target terminal displays a screen sharing interface, and the screen sharing interface is used for displaying display interfaces of other terminals or display interfaces of the target terminal.
After the target terminal and other terminals establish screen sharing, the target terminal can display a screen sharing interface, and display interfaces of other terminals or own display interfaces are displayed in the screen sharing interface. If the screen sharing interface shows the display interfaces of other terminals, the target terminal receives the screen sharing data sent by other terminals and shows the screen sharing data in the screen of the target terminal. If the screen sharing interface shows the own display interface, the target terminal is the own screen data sent to other terminals at the moment. The embodiment of the present application does not limit the display of the screen sharing interface.
In a possible implementation manner, the number of the indication marks of the other terminals is at least two, and the target terminal can display the display interfaces of the other terminals in a split-screen display manner. For example, three terminals establish screen sharing, wherein the screen sharing includes a target terminal and two other terminals, and when the target terminal wants to display screen data of the two other terminals in its own screen, display interfaces of the other terminals can be displayed in a split screen manner. Referring to fig. 13, an interface diagram of a screen sharing interface according to an exemplary embodiment of the present application is shown. As shown in fig. 13, the target terminal 1300 includes a first interface 1301 and a second interface 1302. The first interface 1301 is displayed when the target terminal receives the screen data sent by the first terminal, and the second interface 1302 is displayed when the target terminal receives the screen data sent by the second terminal.
In summary, after receiving a target link sent by a server and used for establishing screen sharing between the target terminal and other terminals, the target terminal sends a decryption request to the server by responding to a trigger operation on the target link, where the decryption request is used to instruct the server to decrypt an encrypted channel parameter in the target link, and the channel parameter is used to instruct the target terminal to share a channel used for screen sharing with other terminals; and according to the channel parameters returned by the server, screen sharing is established with other terminals. When the target terminal needs to establish screen sharing with other terminals, the target terminal needs to decrypt the channel parameters through the request server to acquire the channel parameters shared by the screens, so that screen sharing is achieved, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
Next, the embodiments of fig. 3, fig. 4, fig. 5, fig. 9, and fig. 10 are described as examples, where the target terminal and the other terminals are mobile phones, and the indication identifiers of the other terminals are SIM numbers (also mobile phone numbers) of the other terminals. Referring to fig. 14, a flowchart of a method of screen sharing according to an exemplary embodiment of the present application is shown. The method can be used in the application scenario shown in fig. 1, and is executed by the terminal and the server in the scenario, as shown in fig. 14, the screen sharing method can include the following steps.
In step 1401, the target terminal opens the screen sharing application.
Referring to fig. 15, an interface diagram of a screen sharing application according to an exemplary embodiment of the present application is shown. As shown in fig. 15, an initiate sharing control 1501 is included in the screen sharing application interface 1500, and the user can trigger the initiate sharing control 1501 to start executing the screen sharing process.
And 1402, inputting the SIM numbers of other terminals into the target application interface by the target terminal.
Referring to fig. 16, an interface diagram of a target application interface provided in an exemplary embodiment of the present application is shown. As shown in fig. 16, a SIM number entry box 1601, an invitation control 1602 is included in the target application interface 1600. Optionally, the user may enter the target application interface shown in fig. 16 by triggering the initiating sharing control 1501 in fig. 15, and the user may input the SIM number of the other terminal in the SIM number input box 1601.
In step 1403, the target terminal acquires the connection information and the SIM numbers of the other terminals in response to the transmission operation of the transmission screen sharing request.
In fig. 16, the user may trigger the target terminal to generate and send a screen sharing request to the server by triggering the invitation control 1602. The target terminal needs to carry the connection information and the SIM numbers of the other terminals in the screen sharing request, and therefore needs to acquire the connection information and the SIM numbers of the other terminals. The implementation manner of this step may refer to the corresponding content in the above embodiments, and is not described herein again.
In step 1404, the target terminal encrypts the connection information in an asymmetric encryption manner.
Step 1405, the target terminal carries the connection information and the SIM number of the other terminal in the screen sharing request, and sends the screen sharing request to the server.
Referring to fig. 17, an interface diagram of a wait interface according to an exemplary embodiment of the present application is shown. As shown in fig. 17, a hang-up control 1701 is included in the wait interface 1700, indicating information 1702. After the target terminal sends a screen sharing request to the server, the target terminal may enter the interface shown in fig. 17 to wait for the other party to access. The user may also interrupt this screen sharing by triggering the hang-up control 1701.
In step 1406, the server receives the screen sharing request sent by the target terminal.
Step 1407, the server obtains the connection information and the SIM number of the other terminal according to the screen sharing request.
Step 1408, the server encapsulates the connection information to generate the target link.
Step 1409, the server sends the short message to other terminals according to the SIM numbers of other terminals, and the short message includes the target link.
Step 1410, other terminals receive the short message.
Please refer to fig. 18, which shows an interface diagram of a short message interface according to an exemplary embodiment of the present application. As shown in fig. 18, each short message entry 1801 is included in the terminal interface 1800, and each short message includes a target link.
In step 1411, the other terminals trigger the target link and send a decryption request to the server.
The users of other terminals can send decryption requests to the server by triggering the target link in the short message.
In step 1412, the server receives the decryption request sent by the other terminal.
Step 1413, the server decrypts the connection information by its own private key to obtain the channel parameter.
In step 1414, the server returns the channel parameters to the other terminal.
In step 1415, the other terminal receives the channel parameters returned by the server.
Referring to fig. 19, an interface diagram of a receiving screen sharing interface according to an exemplary embodiment of the present application is shown. As shown in fig. 19, the terminal interface 1900 includes source information 1901, a hang-up control 1902, and a listen control 1903. The users of other terminals access the channel corresponding to the channel parameter by triggering the listening control 1903, and establish screen sharing with the target terminal.
After the screen sharing is established, the target terminal and other terminals can display corresponding screen sharing interfaces. Referring to fig. 20, a schematic diagram of a screen sharing interface of a target terminal according to an exemplary embodiment of the present application is shown. As shown in fig. 20, the screen sharing interface 2000 includes an indication control 2001, and the indication control 2001 may prompt the user that the current screen is being shared with other terminals. The user may also trigger the indication control 2001 to enter the data interface. Referring to fig. 21, an interface diagram of a data interface related to fig. 20 according to an exemplary embodiment of the present application is shown. As shown in fig. 21, a hang-up control 2101 and a data conversion control 2102 are included in the data interface 2100. The user can stop the screen sharing by triggering the hang-up control 2101, and can also switch from currently sending the own screen data to receiving the screen data of the other side by triggering the data conversion control 2102.
Referring to fig. 22, a schematic diagram of a screen sharing interface of another terminal according to an exemplary embodiment of the present application is shown. As shown in fig. 22, the screen sharing interface 2200 includes a switch control 2201, a minimization control 2202, a data conversion control 2203, and a microphone control 2204. The user may trigger the switch control 2201 to stop the screen sharing, may trigger the minimization control 2202 to view the screen of the user, or may trigger the data conversion control 2102 to switch from currently receiving the screen data of the target terminal to sending the screen data of the user. The user may trigger the microphone control 2204 to select whether to transmit audio data.
In summary, a screen sharing request sent by a target terminal is received by a server, the server obtains connection information and indication identifiers of other terminals according to the screen sharing request, the connection information includes a channel parameter and encryption information, the channel parameter is used for indicating a channel used by the target terminal to perform screen sharing with the other terminals, and the encryption information is used for indicating information used by the server to encrypt the channel parameter; the server encrypts the channel parameters according to the encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information, generate a target link and send the target link to other terminals, so that the encrypted channel parameters need to be decrypted when the other terminals establish screen sharing with the target terminal, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
The following are embodiments of the apparatus of the present application that may be used to perform embodiments of the method of the present application. For details which are not disclosed in the embodiments of the apparatus of the present application, reference is made to the embodiments of the method of the present application.
Referring to fig. 23, a block diagram of a screen sharing apparatus according to an exemplary embodiment of the present application is shown. The screen sharing device can be used in a server to execute all or part of the steps executed by the server in the method provided by the embodiment shown in fig. 3, 5, 9, 10 or 14. The screen sharing device can comprise the following modules:
a request receiving module 2301, configured to receive a screen sharing request sent by a target terminal, where the screen sharing request is used to request screen sharing with another terminal, and the screen sharing request carries an indication identifier of the other terminal;
a first obtaining module 2302, configured to obtain connection information and an indication identifier of the other terminal according to the screen sharing request, where the connection information includes a channel parameter and encryption information, the channel parameter is used to indicate a channel used by the target terminal to perform screen sharing with the other terminal, and the encryption information is used to indicate the server to encrypt the channel parameter;
a first encryption module 2303, configured to encrypt the channel parameter according to the encryption information in the connection information;
a link generating module 2304, configured to generate a target link according to the encrypted channel parameter, where the target link is used to establish screen sharing between the target terminal and the other terminals;
a link sending module 2305, configured to send the target link to the other terminal according to the indication identifier of the other terminal.
Optionally, the screen sharing request further carries the connection information, the connection information is encrypted in an asymmetric encryption manner, and the first obtaining module 2302 is configured to analyze the screen sharing request and obtain the connection information carried in the screen sharing request and the indication identifiers of the other terminals.
Optionally, the screen sharing request further carries the encryption information, and the first obtaining module 2302 is configured to,
acquiring the encrypted information and the indication marks of the other terminals according to the screen sharing request;
selecting one channel from the current idle channels as a channel adopted by the target terminal to perform screen sharing with the other terminals;
and acquiring channel parameters of a channel adopted by the target terminal and the other terminals for screen sharing.
Optionally, the encrypted information is fingerprint information stored in the other terminal;
the encrypting the channel parameters according to the encryption information in the connection information includes:
inquiring fingerprint information stored in the other terminals from the server;
and encrypting the channel parameters according to the fingerprint information stored in the other terminals.
Optionally, the encrypted information is image information stored in the other terminal;
the encrypting the channel parameters according to the encryption information in the connection information includes:
inquiring image information stored in the other terminal from the server;
and encrypting the channel parameters according to the image information stored in the other terminals.
Optionally, the apparatus further comprises:
a decryption request receiving module, configured to receive a decryption request sent by the other terminal after the link sending module 2305 sends the target link to the other terminal according to the indication identifier of the other terminal, where the decryption request is used to instruct the server to decrypt the channel parameter encrypted in the target link;
a channel parameter obtaining module, configured to decrypt the encrypted channel parameter according to the decryption request and the encryption information to obtain the channel parameter;
and the channel parameter sending module is used for sending the channel parameters to the other terminals.
Optionally, the decryption request further carries decryption information, and the channel parameter obtaining module is configured to obtain, according to the decryption request, the decryption information:
and decrypting the encrypted channel parameters according to the decryption information to obtain the channel parameters.
Optionally, the apparatus further comprises:
a status information obtaining module, configured to obtain status information of the other terminal according to the indication identifier of the other terminal before the link sending module 2305 sends the target link to the other terminal according to the indication identifier of the other terminal, where the status information is used to indicate that the other terminal logs in or does not log in the server;
the sending the target link to the other terminal according to the indication identifier of the other terminal includes:
responding to the state information of the other terminals to indicate that the other terminals are not logged in the server, and sending the target links to the other terminals in a short message mode according to the indication marks of the other terminals; alternatively, the first and second electrodes may be,
responding to the state information of the other terminals to indicate the other terminals to log in the server, and sending the target links to the other terminals in a system information mode according to the indication marks of the other terminals.
Optionally, the indication identifier of the other terminal is a SIM number of the client identity module of the other terminal or a device number of the other terminal.
In summary, a screen sharing request sent by a target terminal is received by a server, the server obtains connection information and indication identifiers of other terminals according to the screen sharing request, the connection information includes a channel parameter and encryption information, the channel parameter is used for indicating a channel used by the target terminal to perform screen sharing with the other terminals, and the encryption information is used for indicating information used by the server to encrypt the channel parameter; the server encrypts the channel parameters according to the encryption information in the connection information; generating a target link according to the encrypted channel parameters; and sending the target link to other terminals according to the indication marks of other terminals. When the target terminal needs to establish screen sharing with other terminals, the server can encrypt the channel parameters through the encryption information contained in the connection information, generate a target link and send the target link to other terminals, so that the encrypted channel parameters need to be decrypted when the other terminals establish screen sharing with the target terminal, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
Referring to fig. 24, a block diagram of a screen sharing apparatus according to an exemplary embodiment of the present application is shown. The screen sharing apparatus may be used in a server to perform all or part of the steps performed by a target terminal in the methods provided by the embodiments shown in fig. 4, 5, 9, 10 or 14. The screen sharing device can comprise the following modules:
a link receiving module 2401, configured to receive a target link sent by a server; the target link is used for establishing screen sharing of the target terminal and the other terminals;
a request sending module 2402, configured to send, in response to a trigger operation on the target link, a decryption request to the server, where the decryption request is used to instruct the server to decrypt an encrypted channel parameter in the target link, and the channel parameter is used to instruct the target terminal to perform a channel used for screen sharing with another terminal;
a parameter receiving module 2403, configured to receive the channel parameter returned by the server;
a screen sharing module 2404, configured to establish screen sharing with the other terminals according to the channel parameter.
Optionally, the apparatus further comprises:
an acquisition interface display module, configured to display an information acquisition interface in response to a trigger operation on the target link before the request sending module 2402 sends a decryption request to the server in response to the trigger operation on the target link;
the decryption information acquisition module is used for acquiring the information acquired by the target terminal through the information acquisition interface as decryption information;
and the decryption information carrying module is used for carrying the decryption information in the decryption request.
Optionally, the apparatus further comprises:
a shared interface display module, configured to display a screen shared interface after the screen sharing module 2404 establishes screen sharing with the other terminal according to the channel parameter, where the screen shared interface is used to display a display interface of the other terminal or a display interface of the target terminal.
Optionally, the number of the indication identifiers of the other terminals is at least two;
and the shared interface display module is used for displaying the display interfaces of the other terminals in a split screen display mode.
Optionally, the apparatus further comprises:
a second obtaining module, configured to obtain connection information and an indication identifier of the other terminal in response to a sending operation of sending a screen sharing request, where the screen sharing request is used to request screen sharing with the other terminal, and the connection information includes a channel parameter and encryption information; the encryption information is used for indicating the server to encrypt the channel parameters;
the second encryption module is used for encrypting the connection information in an asymmetric encryption mode;
and the sharing request sending module is used for carrying the encrypted connection information and the indication identifiers of the other terminals in the screen sharing request and sending the screen sharing request to the server.
Optionally, the apparatus further comprises:
an application interface display module, configured to display a target application interface before the second obtaining module obtains connection information and the indication identifiers of the other terminals in response to a sending operation of sending a screen sharing request, where the target application interface includes a sending control and an input box of the indication identifiers of the other terminals, and the sending control is used to send the screen sharing request to the server;
the second obtaining module is further configured to:
responding to the trigger operation of the sending control, and acquiring the content contained in the input box as the indication identification of the other terminal;
selecting one channel from the current idle channels as a channel adopted by the target terminal to perform screen sharing with the other terminals;
acquiring channel parameters of a channel adopted by the target terminal and the other terminals for screen sharing;
acquiring an encryption mode set in the target terminal;
acquiring the encryption information according to the encryption mode of the target terminal;
and using the channel parameters and the encryption information as the connection information.
Optionally, the target application interface further includes a selection control of an encryption mode, and the acquiring the encryption mode set in the target terminal includes:
and responding to the triggering operation of the selection control, and acquiring the selected encryption mode as the encryption mode set in the target terminal.
Optionally, the encrypted information is fingerprint information or image information stored in the other terminal.
Optionally, the indication identifier of the other terminal is a SIM number of the client identity module of the other terminal or a device number of the other terminal.
In summary, after receiving a target link sent by a server and used for establishing screen sharing between the target terminal and other terminals, the target terminal sends a decryption request to the server by responding to a trigger operation on the target link, where the decryption request is used to instruct the server to decrypt an encrypted channel parameter in the target link, and the channel parameter is used to instruct the target terminal to share a channel used for screen sharing with other terminals; and according to the channel parameters returned by the server, screen sharing is established with other terminals. When the target terminal needs to establish screen sharing with other terminals, the target terminal needs to decrypt the channel parameters through the request server to acquire the channel parameters shared by the screens, so that screen sharing is achieved, the terminal intercepting the target link is prevented from directly acquiring the channel parameters, the transmission safety of the channel parameters is improved, and the screen sharing safety is improved.
Fig. 25 is a schematic structural diagram of a server according to an exemplary embodiment of the present application. As shown in fig. 25, the server 2500 includes a Central Processing Unit (CPU) 2501, a system Memory 2504 including a Random Access Memory (RAM) 2502 and a Read Only Memory (ROM) 2503, and a system bus 2505 connecting the system Memory 2504 and the CPU 2501. The computer device 2500 also includes a basic Input/Output System (I/O System) 2508, which facilitates the transfer of information between various devices within the computer, and a mass storage device 2507 for storing an operating System 2512, application programs 2513, and other program modules 2514.
The basic input/output system 2506 includes a display 2508 for displaying information and an input device 2509, such as a mouse, keyboard, etc., for user input of information. Wherein the display 2508 and input device 2509 are connected to the central processing unit 2501 through an input output controller 2510 coupled to the system bus 2505. The basic input/output system 2506 may also include an input/output controller 2510 for receiving and processing input from a number of other devices, such as a keyboard, mouse, or electronic stylus. Similarly, the input-output controller 2510 also provides output to a display screen, a printer, or other type of output device.
The mass storage device 2507 is connected to the central processing unit 2501 through a mass storage controller (not shown) connected to the system bus 2505. The mass storage device 2507 and its associated computer-readable media provide non-volatile storage for the computer device 2500. That is, the mass storage device 2507 may include a computer-readable medium (not shown) such as a hard disk or a CD-ROM (Compact disk Read-Only Memory) drive.
The computer readable media may include computer storage media and communication media. Computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data. Computer storage media includes RAM, ROM, EPROM (Erasable Programmable Read-Only Memory), EEPROM (Electrically Erasable Programmable Read-Only Memory), flash Memory or other solid state Memory technology, CD-ROM, DVD (Digital Video Disc) or other optical, magnetic, tape, magnetic disk storage or other magnetic storage devices. Of course, those skilled in the art will appreciate that the computer storage media is not limited to the foregoing. The system memory 2504 and mass storage device 2507 described above may be collectively referred to as memory.
The computer device 2500 may be connected to the internet or other network devices through the network interface unit 2511 connected to the system bus 2505.
The memory further includes one or more programs, the one or more programs are stored in the memory, and the central processing unit 2501 implements all or part of the steps performed by the server in the methods provided by the above embodiments of the present application by executing the one or more programs.
Referring to fig. 26, which shows a schematic structural diagram of a terminal provided in an exemplary embodiment of the present application, as shown in fig. 26, the terminal includes a processor 2610, a memory 2620, a display component 2630, and a sensor component 2640, where the display component 2630 is configured to display an interface of a program running in a foreground of the terminal, and the sensor component 2640 is configured to collect respective sensor data. The memory 2620 stores at least one instruction, and the instruction is loaded and executed by the processor 2610 to implement part or all of the steps performed by the terminal in the method for adjusting the brightness of the display screen according to the above embodiments.
The present embodiments also provide a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the screen sharing method according to the above embodiments.
The present embodiments also provide a computer-readable storage medium, in which at least one instruction, at least one program, a code set, or a set of instructions is stored, and the at least one instruction, the at least one program, the code set, or the set of instructions is loaded and executed by a processor to implement the screen sharing method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the screen sharing method according to the above embodiments.
The embodiment of the present application further provides a computer program product, where at least one instruction is stored, and the at least one instruction is loaded and executed by the processor to implement the screen sharing method according to the above embodiments.
It should be noted that: in the screen sharing method provided in the foregoing embodiments, the steps executed by the server and the terminal are only illustrated in the foregoing embodiments, and in practical applications, the above functions may be distributed by different functional modules according to needs, that is, the internal structure of the device is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided by the above embodiments belong to the same concept, and specific implementation processes thereof are described in the method embodiments for details, which are not described herein again.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in the embodiments of the present application may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable storage medium. Computer-readable storage media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above description is only exemplary of the present application and should not be taken as limiting, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the protection scope of the present application.

Claims (24)

1. A screen sharing method, the method being performed by a server, the method comprising:
receiving a screen sharing request sent by a target terminal, wherein the screen sharing request is used for requesting screen sharing with other terminals, and the screen sharing request carries indication marks of the other terminals;
acquiring connection information and indication marks of other terminals according to the screen sharing request, wherein the connection information comprises channel parameters and encryption information, the channel parameters are used for indicating channels adopted by the target terminal and the other terminals for screen sharing, and the encryption information is used for indicating information adopted by the server for encrypting the channel parameters;
encrypting the channel parameters according to the encryption information in the connection information;
generating a target link according to the encrypted channel parameters, wherein the target link is used for establishing screen sharing between the target terminal and the other terminals;
and sending the target link to the other terminals according to the indication marks of the other terminals.
2. The method according to claim 1, wherein the screen sharing request further carries the connection information, the connection information is encrypted in an asymmetric encryption manner, and the obtaining of the connection information and the indication identifier of the other terminal according to the screen sharing request includes:
and analyzing the screen sharing request to acquire the connection information carried in the screen sharing request and the indication marks of the other terminals.
3. The method according to claim 1, wherein the screen sharing request further carries the encrypted information, and the obtaining of the connection information and the indication identifier of the other terminal according to the screen sharing request includes:
acquiring the encrypted information and the indication marks of the other terminals according to the screen sharing request;
selecting one channel from the current idle channels as a channel adopted by the target terminal to perform screen sharing with the other terminals;
and acquiring channel parameters of a channel adopted by the target terminal and the other terminals for screen sharing.
4. The method according to claim 3, wherein the encryption information is fingerprint information stored in the other terminal;
the encrypting the channel parameters according to the encryption information in the connection information includes:
inquiring fingerprint information stored in the other terminals from the server;
and encrypting the channel parameters according to the fingerprint information stored in the other terminals.
5. The method according to claim 3, wherein the encryption information is image information stored in the other terminal;
the encrypting the channel parameters according to the encryption information in the connection information includes:
inquiring image information stored in the other terminal from the server;
and encrypting the channel parameters according to the image information stored in the other terminals.
6. The method according to claim 3, further comprising, after the sending the target link to the other terminal according to the indication identifier of the other terminal:
receiving a decryption request sent by the other terminal, wherein the decryption request is used for instructing the server to decrypt the channel parameters encrypted in the target link;
decrypting the encrypted channel parameters according to the encryption information according to the decryption request to obtain the channel parameters;
and sending the channel parameters to the other terminals.
7. The method according to claim 6, wherein the decryption request further carries decryption information, and the decrypting the encrypted channel parameter according to the encryption information according to the decryption request to obtain the channel parameter includes:
according to the decryption request, acquiring the decryption information:
and decrypting the encrypted channel parameters according to the decryption information to obtain the channel parameters.
8. The method according to claim 1, wherein before the sending the target link to the other terminal according to the indication identifier of the other terminal, further comprising:
acquiring state information of the other terminals according to the indication marks of the other terminals, wherein the state information is used for indicating the other terminals to log in or not log in the server;
the sending the target link to the other terminal according to the indication identifier of the other terminal includes:
responding to the state information of the other terminals to indicate that the other terminals are not logged in the server, and sending the target links to the other terminals in a short message mode according to the indication marks of the other terminals; alternatively, the first and second electrodes may be,
responding to the state information of the other terminals to indicate the other terminals to log in the server, and sending the target links to the other terminals in a system information mode according to the indication marks of the other terminals.
9. Method according to any of claims 1-8, wherein the indication of the other terminal is a subscriber identity module, SIM, number of the other terminal or a device number of the other terminal.
10. A screen sharing method, wherein the method is performed by a target terminal, the method comprising:
receiving a target link sent by a server; the target link is used for establishing screen sharing of the target terminal and other terminals;
responding to the trigger operation of the target link, and sending a decryption request to the server, wherein the decryption request is used for instructing the server to decrypt the encrypted channel parameters in the target link, and the channel parameters are used for instructing the target terminal to share the channel adopted by the screen with the other terminals;
receiving the channel parameters returned by the server;
and establishing screen sharing with the other terminals according to the channel parameters.
11. The method according to claim 10, before said sending a decryption request to the server in response to the triggering operation on the target link, further comprising:
responding to the trigger operation of the target link, and displaying an information acquisition interface;
acquiring information acquired by the target terminal through the information acquisition interface as decryption information;
and carrying the decryption information in the decryption request.
12. The method according to claim 11, further comprising, after the establishing screen sharing with the other terminal according to the channel parameter:
and displaying a screen sharing interface, wherein the screen sharing interface is used for displaying the display interfaces of the other terminals or the display interface of the target terminal.
13. The method according to claim 12, wherein the number of the other terminals is at least two;
the display screen sharing interface comprises:
and displaying the display interfaces of the other terminals in a split screen display mode.
14. The method of claim 10, further comprising:
responding to a sending operation of sending a screen sharing request, and acquiring connection information and indication marks of other terminals, wherein the screen sharing request is used for requesting screen sharing with the other terminals, and the connection information comprises channel parameters and encryption information; the encryption information is used for indicating the server to encrypt the channel parameters;
encrypting the connection information in an asymmetric encryption mode;
and carrying the encrypted connection information and the indication marks of the other terminals in the screen sharing request, and sending the screen sharing request to the server.
15. The method according to claim 14, wherein before the acquiring the connection information and the indication identifier of the other terminal in response to the transmission operation of the transmission screen sharing request, further comprising:
displaying a target application interface, wherein the target application interface comprises a sending control and an input box of the indication identification of the other terminal, and the sending control is used for sending a screen sharing request to the server;
the acquiring of the connection information and the indication marks of other terminals in response to the sending operation of the screen sharing request includes:
responding to the trigger operation of the sending control, and acquiring the content contained in the input box as the indication identification of the other terminal;
selecting one channel from the current idle channels as a channel adopted by the target terminal to perform screen sharing with the other terminals;
acquiring channel parameters of a channel adopted by the target terminal and the other terminals for screen sharing;
acquiring an encryption mode set in the target terminal;
acquiring the encryption information according to the encryption mode of the target terminal;
and using the channel parameters and the encryption information as the connection information.
16. The method according to claim 15, wherein the target application interface further includes a selection control of an encryption mode, and the acquiring the encryption mode set in the target terminal includes:
and responding to the triggering operation of the selection control, and acquiring the selected encryption mode as the encryption mode set in the target terminal.
17. The method according to claim 16, wherein the encryption information is fingerprint information or image information stored in the other terminal.
18. A method according to any of claims 10-17, characterized in that said other terminal's indication is the subscriber identity module, SIM, number of said other terminal or the device number of said other terminal.
19. A screen sharing apparatus, the apparatus being used in a server, the apparatus comprising:
the device comprises a request receiving module, a screen sharing module and a display module, wherein the request receiving module is used for receiving a screen sharing request sent by a target terminal, the screen sharing request is used for requesting screen sharing with other terminals, and the screen sharing request carries indication marks of the other terminals;
a first obtaining module, configured to obtain connection information and an indication identifier of the other terminal according to the screen sharing request, where the connection information includes a channel parameter and encryption information, the channel parameter is used to indicate a channel used for screen sharing between the target terminal and the other terminal, and the encryption information is used to indicate information used for encrypting the channel parameter by the server;
the first encryption module is used for encrypting the channel parameters according to the encryption information in the connection information;
the link generation module is used for generating a target link according to the encrypted channel parameters, wherein the target link is used for establishing screen sharing between the target terminal and other terminals;
and the link sending module is used for sending the target link to the other terminals according to the indication marks of the other terminals.
20. A screen sharing apparatus, the apparatus being used in a target terminal, the apparatus comprising:
the link receiving module is used for receiving the target link sent by the server; the target link is used for establishing screen sharing of the target terminal and the other terminals;
a request sending module, configured to send, in response to a trigger operation on the target link, a decryption request to the server, where the decryption request is used to instruct the server to decrypt a channel parameter encrypted in the target link, and the channel parameter is used to instruct the target terminal to perform a channel used for screen sharing with another terminal;
the parameter receiving module is used for receiving the channel parameters returned by the server;
and the screen sharing module is used for establishing screen sharing with the other terminals according to the channel parameters.
21. A server, comprising a processor and a memory, wherein the memory has stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by the processor to implement the screen sharing method according to any one of claims 1 to 9.
22. A terminal comprising a processor and a memory, the memory having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, the at least one instruction, the at least one program, the set of codes, or the set of instructions being loaded and executed by the processor to implement the screen sharing method according to any one of claims 10 to 18.
23. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the screen sharing method of any one of claims 1 to 9.
24. A computer readable storage medium having stored therein at least one instruction, at least one program, a set of codes, or a set of instructions, which is loaded and executed by a processor to implement the screen sharing method of any one of claims 10 to 18.
CN202011258993.4A 2020-11-12 2020-11-12 Screen sharing method, device, server and storage medium Active CN112511892B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011258993.4A CN112511892B (en) 2020-11-12 2020-11-12 Screen sharing method, device, server and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011258993.4A CN112511892B (en) 2020-11-12 2020-11-12 Screen sharing method, device, server and storage medium

Publications (2)

Publication Number Publication Date
CN112511892A true CN112511892A (en) 2021-03-16
CN112511892B CN112511892B (en) 2023-04-07

Family

ID=74957209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011258993.4A Active CN112511892B (en) 2020-11-12 2020-11-12 Screen sharing method, device, server and storage medium

Country Status (1)

Country Link
CN (1) CN112511892B (en)

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113825004A (en) * 2021-08-26 2021-12-21 青岛海尔科技有限公司 Multi-screen sharing method and device for display content, storage medium and electronic device
CN114884939A (en) * 2022-05-07 2022-08-09 中国银行股份有限公司 Screen sharing method, device and system

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020053030A1 (en) * 2000-10-27 2002-05-02 Weng Chien Sen Method and system for data encryption/decryption in a client-server architecture
CN102142961A (en) * 2010-06-30 2011-08-03 华为技术有限公司 Method, device and system for authenticating gateway, node and server
US20120042252A1 (en) * 2010-08-10 2012-02-16 Microsoft Corporation Cloning Or Extending A Computer Desktop On A Wireless Display Surface
CN106161571A (en) * 2015-04-27 2016-11-23 Tcl集团股份有限公司 The remote operation method of a kind of sing on web RTC and system
CN106603667A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Screen information sharing method and device
US10116637B1 (en) * 2016-04-14 2018-10-30 Wickr Inc. Secure telecommunications
CN109639697A (en) * 2018-12-24 2019-04-16 广州微算互联信息技术有限公司 Cloud mobile phone safe throws method, mobile terminal and the server of screen

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020053030A1 (en) * 2000-10-27 2002-05-02 Weng Chien Sen Method and system for data encryption/decryption in a client-server architecture
CN102142961A (en) * 2010-06-30 2011-08-03 华为技术有限公司 Method, device and system for authenticating gateway, node and server
US20120042252A1 (en) * 2010-08-10 2012-02-16 Microsoft Corporation Cloning Or Extending A Computer Desktop On A Wireless Display Surface
CN106161571A (en) * 2015-04-27 2016-11-23 Tcl集团股份有限公司 The remote operation method of a kind of sing on web RTC and system
US10116637B1 (en) * 2016-04-14 2018-10-30 Wickr Inc. Secure telecommunications
CN106603667A (en) * 2016-12-16 2017-04-26 北京小米移动软件有限公司 Screen information sharing method and device
CN109639697A (en) * 2018-12-24 2019-04-16 广州微算互联信息技术有限公司 Cloud mobile phone safe throws method, mobile terminal and the server of screen

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113825004A (en) * 2021-08-26 2021-12-21 青岛海尔科技有限公司 Multi-screen sharing method and device for display content, storage medium and electronic device
CN113825004B (en) * 2021-08-26 2024-03-22 青岛海尔科技有限公司 Multi-screen sharing method and device for display content, storage medium and electronic device
CN114884939A (en) * 2022-05-07 2022-08-09 中国银行股份有限公司 Screen sharing method, device and system

Also Published As

Publication number Publication date
CN112511892B (en) 2023-04-07

Similar Documents

Publication Publication Date Title
WO2022206349A1 (en) Information verification method, related apparatus, device, and storage medium
US7877794B2 (en) Relay apparatus, relay method and program therefor
TW201929482A (en) Identity authentication method and system, and computing device
CN105027107A (en) Secure virtual machine migration
CN111428225A (en) Data interaction method and device, computer equipment and storage medium
CN108449357B (en) Authorized login method and device, intelligent device and storage medium
CN112511892B (en) Screen sharing method, device, server and storage medium
CN112003881B (en) Safety cloud mobile phone system based on private cloud
CN112436936B (en) Cloud storage method and system with quantum encryption function
CN115065487B (en) Privacy protection cloud computing method and cloud computing method for protecting financial privacy data
US11182464B2 (en) Mobile key via mobile device audio channel
CN106339623B (en) Login method and device
CN113852681A (en) Gateway authentication method and device and security gateway equipment
CN112565236A (en) Information authentication method, device, computer equipment and storage medium
CN115242779B (en) File transmission method and system based on applet and electronic equipment
CN110968882A (en) IC card remote operation system and method
CN111934995B (en) Internet of things gateway system
CN109450887B (en) Data transmission method, device and system
CN113506090A (en) Audit data processing method and device, storage medium and electronic equipment
CN110719309B (en) Virtual desktop connection method, proxy device, system, equipment and storage medium
CN115442061A (en) Security authentication method, readable medium, and electronic device
CN114095496A (en) Terminal application processing method, edge cloud application server, system and medium
CN112002084A (en) Method and system for upgrading mPOS terminal
KR101657893B1 (en) Encryption method for cloud service and cloud system providing encryption based on user equipment
CN111181831A (en) Communication data processing method and device, storage medium and electronic device

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