CN114844663A - Desktop sharing method, system, storage medium and equipment - Google Patents

Desktop sharing method, system, storage medium and equipment Download PDF

Info

Publication number
CN114844663A
CN114844663A CN202210200145.0A CN202210200145A CN114844663A CN 114844663 A CN114844663 A CN 114844663A CN 202210200145 A CN202210200145 A CN 202210200145A CN 114844663 A CN114844663 A CN 114844663A
Authority
CN
China
Prior art keywords
cloud desktop
desktop
client
server
cloud
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
CN202210200145.0A
Other languages
Chinese (zh)
Other versions
CN114844663B (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.)
Alibaba China Co Ltd
Original Assignee
Alibaba China Co 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 Alibaba China Co Ltd filed Critical Alibaba China Co Ltd
Priority to CN202210200145.0A priority Critical patent/CN114844663B/en
Publication of CN114844663A publication Critical patent/CN114844663A/en
Application granted granted Critical
Publication of CN114844663B publication Critical patent/CN114844663B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/083Network architectures or network communication protocols for network security for authentication of entities using passwords
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0807Network architectures or network communication protocols for network security for authentication of entities using tickets, e.g. Kerberos
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/10Network architectures or network communication protocols for network security for controlling access to devices or network resources
    • H04L63/108Network architectures or network communication protocols for network security for controlling access to devices or network resources when the policy decisions are valid for a limited amount of time
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/08Protocols specially adapted for terminal emulation, e.g. Telnet
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

In the method, a target cloud desktop client sends a sharing request to a cloud desktop server after successfully logging in a cloud desktop, so that the cloud desktop server can authenticate the cloud desktop server, and when authentication is successful, a connection based on a specified protocol is established between the target cloud desktop client and the cloud desktop server, and a cloud desktop instance distributed by the cloud desktop server is obtained, so that desktop sharing is realized. Therefore, the designated protocol and the cloud desktop account system are communicated, the whole process does not need complicated setting, and the method is more convenient and faster and has higher safety.

Description

Desktop sharing method, system, storage medium and equipment
Technical Field
The present disclosure relates to the field of cloud computing technologies, and in particular, to a desktop sharing method, system, storage medium, and device.
Background
With the rapid development of the internet technology, the application of the cloud desktop technology is more and more extensive. The cloud desktop is also called desktop virtualization and cloud computer, and is a new mode for replacing the traditional computer. In a usage scenario of a cloud desktop, a user generally implements a shared desktop through third-party software. However, the third-party software cannot be guaranteed in terms of convenience and safety in use.
Disclosure of Invention
According to a first aspect of embodiments of the present specification, there is provided a desktop sharing method applied to a target cloud desktop client, the method including: after successfully logging in a cloud desktop, sending a sharing request to the cloud desktop server, so that the cloud desktop server authenticates the sharing request; establishing connection based on a specified protocol with the cloud desktop server; and acquiring a cloud desktop instance distributed by the cloud desktop server, and transmitting desktop data to the cloud desktop instance through the connection so that the cloud desktop server distributes the desktop data to other cloud desktop clients.
In some embodiments, the sharing request carries a credential for authentication, where the credential is issued by the cloud desktop server to the target cloud desktop client when the target cloud desktop client successfully logs in the cloud desktop; the voucher has timeliness; the method further comprises the following steps: and when the certificate meets a preset failure condition, requesting a new certificate from the cloud desktop server.
In some embodiments, after obtaining the cloud desktop instance allocated by the cloud desktop server, the method further includes: and sending a control instruction to the cloud desktop server, wherein the control instruction is used for controlling the running state of the cloud desktop instance.
In some embodiments, the management and control instruction includes an instruction for controlling an input source of the cloud desktop instance, where the input source includes: an input source provided by the target cloud desktop client; and an input source provided by other cloud desktop clients connected to the cloud desktop instance except the target cloud desktop client.
In some embodiments, the above method further comprises: and transmitting the desktop data to the cloud desktop client in the same local area network with the target cloud desktop client in a multicast mode.
In some embodiments, the above specified protocol is used to: and transferring the desktop data from the target cloud desktop client to other cloud desktop clients connected to the cloud desktop instance except the target cloud desktop client.
According to a second aspect of the embodiments of the present specification, there is provided a desktop sharing method applied to a cloud desktop server, the method including: after a target cloud desktop client successfully logs in a cloud desktop, when a sharing request sent by the target cloud desktop client is received, authenticating the sharing request; establishing a connection based on a specified protocol with the target cloud desktop client; and distributing a cloud desktop instance to the target cloud desktop client, and distributing the desktop data to other cloud desktop clients when the target cloud desktop client transmits the desktop data to the cloud desktop instance through the connection.
According to a third aspect of embodiments of the present specification, there is provided a desktop sharing system, including a cloud desktop server and a cloud desktop client; the cloud desktop server is used for receiving a sharing request sent by a target cloud desktop client and authenticating the sharing request after the target cloud desktop client successfully logs in a cloud desktop; establishing a connection based on a specified protocol with the target cloud desktop client; distributing a cloud desktop instance to the target cloud desktop client, and distributing desktop data to other cloud desktop clients when the target cloud desktop client transmits the desktop data to the cloud desktop instance through the connection; the target cloud desktop client in the cloud desktop clients is used for sending a sharing request to the cloud desktop server and transmitting the desktop data of the current equipment to the cloud desktop instance distributed by the cloud desktop server; and other cloud desktop clients except the target cloud desktop client in the cloud desktop clients are used for acquiring the desktop data through the cloud desktop instance.
According to a fourth aspect of embodiments of the present specification, there is provided a computer readable storage medium having stored thereon a computer program which, when executed by a processor, performs any one of the methods of the embodiments of the specification.
According to a fifth aspect of the embodiments of the present specification, there is provided a computer program comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor implements any one of the methods of the embodiments of the specification when executing the program.
The technical scheme provided by the embodiment of the specification can have the following beneficial effects:
in the method, a target cloud desktop client sends a sharing request to a cloud desktop server after successfully logging in a cloud desktop, so that the cloud desktop server performs authentication, and when the authentication is successful, a connection based on a specified protocol is established between the target cloud desktop client and the cloud desktop server, and a cloud desktop instance distributed by the cloud desktop server is obtained, so that desktop sharing is realized. Therefore, the designated protocol and the cloud desktop account system are communicated, the whole process does not need complicated setting, and the method is more convenient and faster and has higher safety.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the specification.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
FIG. 1 is a flow diagram illustrating a desktop sharing method according to an exemplary embodiment of the present description;
FIG. 2 is a flow diagram illustrating another desktop sharing method in accordance with an exemplary embodiment of the present specification;
FIG. 3 is a schematic diagram of a desktop sharing system shown in accordance with an exemplary embodiment of the present specification;
FIG. 4 is a schematic diagram of an interaction process of the desktop sharing system shown in the present specification according to an exemplary embodiment;
FIG. 5 is a block diagram of a desktop sharing device shown in accordance with an exemplary embodiment of the present specification;
FIG. 6 is a block diagram of another desktop sharing device shown in accordance with an exemplary embodiment of the present specification;
FIG. 7 is a diagram illustrating a computing device hardware architecture according to an example embodiment.
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 specification. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the specification, as detailed in the appended claims.
The terminology used in the description herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the description. As used in this specification and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used herein to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present description. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
Cloud desktops, also known as desktop virtualization and cloud computers, are typical applications in the cloud computing era. The cloud desktop utilizes virtualization technology to perform virtualization Processing on various physical devices, so that the utilization rate of resources is effectively improved, and in practice, after the cloud desktop is adopted, components such as a Central Processing Unit (CPU), a memory, a hard disk and the like included in a host can be virtualized out in a server at the back end. In a usage scenario of a cloud desktop, a user generally implements a shared desktop through third-party software. However, the third-party software cannot be guaranteed in terms of convenience and safety in use.
The following provides a detailed description of examples of the present specification.
As shown in fig. 1, fig. 1 is a flowchart illustrating a desktop sharing method according to an exemplary embodiment, where the method is applied to a target cloud desktop client, and the method includes:
step 101, after successfully logging in a cloud desktop, sending a sharing request to a cloud desktop server, so that the cloud desktop server authenticates the sharing request;
the architecture of the cloud desktop generally comprises components such as a cloud desktop server, a cloud desktop client and the like, wherein the cloud desktop server is deployed on a server, and an administrator can configure and manage cloud desktop services through the cloud desktop server; the cloud desktop client is a client program connected with the cloud desktop, is deployed on user equipment, and can access a virtual machine host on a server through the cloud desktop client to realize interactive operation.
The target cloud desktop client in this embodiment is a cloud desktop client corresponding to an initiator of desktop sharing, and a device where the cloud desktop client is located may be any one of a PC (Personal Computer), a thin terminal, and the like. After the cloud desktop client is installed, the device can log in the cloud desktop through the cloud desktop client, specifically, a user can input information such as an account number and a password in a login interface displayed by the cloud desktop client, and if the input information is legal, the user can successfully log in the cloud desktop to enter a cloud desktop system for use. The legal information may be information acquired when the user registers, and the information may be information that the user stores in the cloud desktop client in advance, so that the cloud desktop client can automatically log in the cloud desktop by using the information after being started.
When a user initiates a sharing desktop, the target cloud desktop client can send a sharing request to the cloud desktop server, and the cloud desktop server can authenticate the sharing request, so that whether the sharing request is sent by a legal user is determined. In some examples, the target cloud desktop client may obtain a credential for authentication issued by the cloud desktop server when successfully logging in the cloud desktop. The credential may be a Token (Token) for identifying the target cloud desktop client in the desktop sharing process. The credential may be a string of randomly generated character strings by the cloud desktop server, or may be generated by the cloud desktop server according to at least one item of information of an account number, an equipment Mac address, login time, and the like of the cloud desktop client. The specific credential generation manner may also be selected according to the requirements of a specific service scenario, and this description is not repeated herein. Therefore, the credential can be carried in the sharing request sent by the target cloud desktop client, so that the cloud desktop server can authenticate the sharing request according to the credential.
In order to reduce the probability that the credential is cracked by an illegal user, in some examples, the credential has timeliness, that is, the credential has a certain life cycle, that is, an effective time within which a target cloud desktop client can use the credential to send a request related to a desktop sharing service to a cloud desktop server, and if the effective time is exceeded, the credential fails. Accordingly, the target cloud desktop client of the embodiment can request a new credential from the cloud desktop server when the credential meets the preset failure condition, so as to dynamically refresh the credential. Whether the certificate meets the preset failure condition can be judged according to the remaining effective time of the certificate, for example, the preset failure condition can be that the ratio of the remaining effective time of the certificate to the total effective time is less than or equal to a preset ratio, taking the effective time of the certificate as 1 hour as an example, if the preset ratio is 25%, when the remaining effective time of the certificate is less than or equal to 15 minutes, the certificate is considered to meet the preset failure condition; or, the preset invalidation condition may be that the remaining valid time of the credential is less than or equal to the preset remaining time, and similarly, taking the valid time of the credential as 1 hour as an example, if the preset remaining time is 20 minutes, when the remaining valid time of the credential is less than or equal to 20 minutes, the credential is considered to satisfy the preset invalidation condition. Of course, in other embodiments, the preset failure condition may also be set according to the requirements of a specific scenario, which is not limited in this specification. Therefore, each certificate is only kept effective within a certain time, so that the cracking difficulty of an illegal user is increased, the information safety is improved to a certain extent, and for a legal user, before the certificate is invalid, the cloud desktop client can acquire a new certificate in time, so that the usability of the certificate is ensured, and the normal use is not influenced.
In addition, on the side of the cloud desktop server, after issuing the credential, the cloud desktop server may store the information of the credential to a designated location, such as a designated list, so that when receiving the sharing request of the target cloud desktop client, the cloud desktop server may match the credential carried in the sharing request with the information recorded in the designated list, and if the matching is successful, it is determined that the authentication is successful. Of course, in the case that the credential is time-efficient, the cloud desktop server may delete the information of the expired credential from the specified list.
102, establishing a connection based on a specified protocol with the cloud desktop server;
because the target cloud desktop client is a sharing request sent to the cloud desktop server under the condition of successfully logging in the cloud desktop, when the cloud desktop server receives the sharing request, the user corresponding to the target cloud desktop client can be determined to belong to a legal user, and therefore the authentication is determined to be successful.
In this embodiment, when the authentication is successful, the target cloud desktop client may establish a connection with the cloud desktop server using a specific protocol, where the specific protocol may be a specific cloud desktop protocol, and is a set of rules for specifying how "control information" and "data information" are exchanged between the cloud desktop server and the cloud desktop client. That is to say, after the connection based on the specified protocol is established, the cloud desktop client may transmit the desktop data to the cloud desktop server based on the specified protocol, and the cloud desktop server may also transmit the desktop data to the cloud desktop client based on the specified protocol. Accordingly, the connection may be considered a specific connection dedicated to transferring desktop data and other related information. Because the connection based on the specified protocol can be realized on the basis of successful authentication, and the successful authentication needs to meet the condition that the cloud desktop client successfully logs in the cloud desktop, the scheme of the embodiment actually makes the cloud desktop protocol and the account system of the public cloud open, and further realizes the rapid and convenient sharing of the cloud desktop.
Step 103, obtaining a cloud desktop instance distributed by the cloud desktop server, and transmitting desktop data to the cloud desktop instance through the connection, so that the cloud desktop server distributes the desktop data to other cloud desktop clients.
The cloud desktop instance mentioned in this step may be a storage resource allocated by the cloud desktop server according to the sharing request of the cloud desktop client, and the storage resource may be obtained by performing abstract display on a storage hardware resource on the server. The cloud desktop instance runs on the server and provides a virtual cloud desktop session, and each cloud desktop client connected to the cloud desktop instance is actually connected to the same virtual cloud desktop session, that is, desktop data can be transmitted between the cloud desktop server and each cloud desktop client connected to the cloud desktop instance through the cloud desktop instance, and the desktop data can include at least one of document, video, audio, image, keyboard and mouse input, other peripheral input and the like. Specifically, after the target cloud desktop client acquires the cloud desktop instance, the target cloud desktop client may transmit the desktop data to the cloud desktop instance, so that the cloud desktop server may distribute the desktop data to other cloud desktop clients connected to the cloud desktop instance except the target cloud desktop client through the cloud desktop instance. It should be noted that the manner of adding other cloud desktop clients to the virtual cloud desktop session may be to accept an invitation from the target cloud desktop client, or may be to select from a cloud desktop instance list provided by the cloud desktop server, or may also be to search for a session number corresponding to the cloud desktop instance, and so on. The specific adding mode may be adjusted according to the requirements of the service scenario, which is not limited in this specification.
According to the scheme of the embodiment, after the target cloud desktop client successfully logs in the cloud desktop, the target cloud desktop client sends the sharing request to the cloud desktop server so that the cloud desktop server can conveniently perform authentication, when the authentication is successful, the target cloud desktop client and the cloud desktop server establish connection based on a specified protocol, and a cloud desktop instance distributed by the cloud desktop server is obtained, so that desktop sharing is achieved. Therefore, the designated protocol and the cloud desktop account system are communicated, the whole process does not need complicated setting, and the method is more convenient and faster and has higher safety.
In some embodiments, after obtaining the cloud desktop instance allocated by the cloud desktop server, the target cloud desktop client may further include: and sending a control instruction to the cloud desktop server, wherein the control instruction is used for controlling the running state of the cloud desktop instance. Specifically, the cloud desktop server may include an assembly for managing and controlling the cloud desktop instance, and the assembly may execute a corresponding control operation according to a management and control instruction sent by the target cloud desktop client. The running state of the cloud desktop instance may include states of the cloud desktop instance, such as start, suspend, and stop, and may also include a user state connected to the cloud desktop instance, or may also include a related state of desktop data in the cloud desktop instance, and the like. That is, the cloud desktop client that initiates the sharing request, that is, the sharer, may have a control right for the cloud desktop instance, for example, before starting sharing, the sharer may invite a specified user to connect to the cloud desktop instance, so that the specified user becomes a sharee; after the desktop data is ready, the sharer can control to start sharing, so that the sharee can acquire the desktop data of the sharer; at the end, the sharer can control to close the sharing, so that the sharee cannot continuously acquire the desktop data of the sharer. Therefore, the initiator sharing the desktop can have certain leading power, and the use convenience is better ensured.
Further, in some embodiments, the aforementioned governing instruction may include an instruction to control an input source of the cloud desktop instance, the input source including an input source provided by the target cloud desktop client and an input source provided by another cloud desktop client connected to the cloud desktop instance other than the target cloud desktop client. Specifically, the sharer may selectively turn on whether to allow the sharee to provide an input source according to the setting of the sharee, where the input source may include at least one of various peripherals such as a keyboard, a mouse, a headset, and the like. For example, in a conference, a conference host may share desktop data to other users logged into the same virtual cloud desktop conference as a sharer, and during the conference, the sharer may control to turn on a designated one of the other users to provide keyboard and mouse inputs to select and/or edit the shared desktop data by the designated user. Therefore, richer application scenes can be realized, and under an ideal state, the participants sharing the desktop can have experience feeling like being in front of the same computer.
In addition, in some scenarios, the number of participants sharing the desktop is large, and resources required to be consumed by the cloud desktop server when the traffic forwarding is realized are correspondingly large. Accordingly, some embodiments of the present description provide the following improvements: the cloud desktop client connected to the cloud desktop instance comprises a first cloud desktop client, and after receiving the desktop data distributed by the cloud desktop server, the first cloud desktop client can transmit the desktop data to a second cloud desktop client in the same local area network with the first cloud desktop client in a multicast mode. The first cloud desktop client here may include a target cloud desktop client, that is, for a scene where the sharer and a part of the sharee are in the same local area network, the part of the sharee may directly receive the desktop data delivered by the sharer in a multicast form without being pulled from the server; the first cloud desktop client may also include other cloud desktop clients, that is, for a scenario in which at least two sharees are in the same local area network, one of the sharees may pull the desktop data from the server, and the sharee may transfer the desktop data to the remaining sharees under the local area network in a multicast manner. Therefore, the transmission of desktop data is realized by multicast of a two-layer network, and the traffic of a public network is saved.
Further, in some examples, the aforementioned specified protocol may be used to communicate desktop data from a target cloud desktop client to other cloud desktop clients connected to the cloud desktop instance other than the target cloud desktop client. That is to say, after the cloud desktop client initiating the sharing request transmits the desktop data to the cloud desktop server through the specified protocol, the cloud desktop server may also transmit the desktop data to other cloud desktop clients through the specified protocol. Accordingly, the connection between the cloud desktop server and other cloud desktop clients based on the specified protocol may be established if the other cloud desktop clients are successfully authenticated. Because the whole sharing process is realized based on the specified protocol, the shared person can not directly touch the data of the shared person, thereby ensuring the information security of the shared person.
As shown in fig. 2, fig. 2 is a flowchart illustrating another desktop sharing method according to an exemplary embodiment, where the method is applied to a cloud desktop server, and the method includes:
step 201, after a target cloud desktop client successfully logs in a cloud desktop, receiving a sharing request sent by the target cloud desktop client, and authenticating the sharing request;
step 202, establishing a connection based on a specified protocol with the target cloud desktop client;
step 203, distributing a cloud desktop instance to the target cloud desktop client, and distributing the desktop data to other cloud desktop clients when the target cloud desktop client transmits the desktop data to the cloud desktop instance through the connection.
As shown in fig. 3, fig. 3 is a schematic diagram of a desktop sharing system shown in the present specification according to an exemplary embodiment, the system includes a cloud desktop server 31 and a cloud desktop client 32; in this embodiment, the cloud desktop client 321 is a target cloud desktop client, and the cloud desktop client 322 is another cloud desktop client except for the target cloud desktop client; wherein:
the cloud desktop server 31 is configured to receive a sharing request sent by the cloud desktop client 321 after the cloud desktop client 321 successfully logs in the cloud desktop, and authenticate the sharing request; establishing a connection based on a specified protocol with the cloud desktop client 321; distributing a cloud desktop instance to the cloud desktop client 321, and distributing the desktop data to the cloud desktop client 322 when the cloud desktop client 321 transmits the desktop data to the cloud desktop instance through the connection;
the cloud desktop client 321 is configured to send a sharing request to the cloud desktop server 31, and transmit desktop data of a current device to a cloud desktop instance allocated by the cloud desktop server 31; the cloud desktop client 322 is configured to obtain the desktop data through the cloud desktop instance.
The embodiments shown in fig. 2 and fig. 3 correspond to the embodiment shown in fig. 1, and therefore, the implementation process of each step in the embodiment of fig. 2 and the implementation process of the function and action of each unit in the embodiment of fig. 3 may refer to the implementation process of the corresponding step in the embodiment of fig. 1, and this description is not repeated herein.
To explain the desktop sharing scheme in more detail, an embodiment is described as follows:
in this embodiment, the desktop sharing system includes a cloud desktop server and a plurality of cloud desktop clients, and the desktop sharing system is applied to a conference training scenario, and the cloud desktop clients are client programs installed on respective devices of conference participants. As shown in fig. 4, fig. 4 is a schematic diagram of an interaction process of the desktop sharing system shown in this embodiment, where a user corresponding to the cloud desktop client 41 is a conference host, the cloud desktop client 41 and the cloud desktop client 42 are both located in a client lan 47, and the cloud desktop client 43 is located in a client lan 48. The interaction process comprises the following steps:
s401, the cloud desktop client 41 sends a sharing request to the cloud desktop server 44;
specifically, the sharing request carries a credential of the cloud desktop client 41, where the credential is generated by the cloud desktop server 44 and issued to the cloud desktop client 41 when the user corresponding to the cloud desktop client 41 successfully logs in the cloud desktop through the account and the password; the cloud desktop server 44 includes a cloud desktop management and control 45, the cloud desktop management and control 45 is a component for managing and controlling desktop sharing services, and the sharing request sent by the cloud desktop client 41 and the subsequently sent management and control instruction may both be sent to the cloud desktop management and control 45;
s402, the cloud desktop server 44 authenticates the sharing request, and when the authentication is successful, the cloud desktop instance 46 is distributed to the cloud desktop client;
specifically, the cloud desktop server 44 authenticates the sharing request according to the credential carried in the sharing request, establishes a connection based on a specified protocol with the cloud desktop client 41 when the authentication is successful, and simultaneously creates a cloud desktop instance 46 and distributes the cloud desktop instance to the cloud desktop client 41;
s403, the cloud desktop client 41 transmits the desktop data to the cloud desktop instance 46;
specifically, the cloud desktop client 41 transmits desktop data such as documents, videos, keyboard and mouse input, other peripheral input and the like on the local device to the cloud desktop instance 45; the cloud desktop client 41 has administrative rights to the cloud desktop instance 46, i.e., the conference moderator may control the sharing to be turned on or off, and the conference moderator may selectively turn on whether the other conference participants are allowed to provide input for a keyboard, mouse, and/or other input sources, depending on the settings of the other conference participants; for example, the conference host may control to open a file that allows the cloud desktop client 43 to provide keyboard and mouse inputs, so that a user corresponding to the cloud desktop client 43 inputs in current desktop data, and displays input content to each conference participant along with the desktop data;
s404, the cloud desktop server 44 distributes the desktop data to the cloud desktop client 41 and the cloud desktop client 43 which are connected to the cloud desktop instance 46;
specifically, the cloud desktop client 43 may send a request for joining a virtual cloud desktop session to the cloud desktop server 44, where the request carries a credential of the cloud desktop client 43, and the cloud desktop server 44 authenticates the request, establishes a connection based on a specified protocol with the cloud desktop client 43 after the authentication is successful, and further implements transfer of desktop data through the specified protocol; the transferred data can be called session data, and in practical application, when the conference host is started to allow other conference participants to provide input sources, the session data comprises desktop data and input data of the input sources of the other conference participants;
s405, the cloud desktop client 41 transmits the desktop data to the cloud desktop client 42 in a multicast mode.
The scheme of the embodiment has at least the following advantages: based on the account system of the cloud desktop, the desktop is quickly and conveniently shared; when the desktop is shared, the local area network of the client is utilized, and the public network flow is saved. It should be noted that the solution of the present embodiment can be applied not only to meeting training scenarios, but also to various scenarios requiring desktop sharing, such as online classrooms, media distribution meetings, and the like.
Corresponding to the embodiment of the method, the description also provides an embodiment of a desktop sharing device and a terminal applied to the desktop sharing device.
As shown in fig. 5, fig. 5 is a block diagram of a desktop sharing apparatus according to an exemplary embodiment, the apparatus is applied to a target cloud desktop client, and the apparatus includes:
the sending module 51 is configured to send a sharing request to the cloud desktop server after successfully logging in the cloud desktop, so that the cloud desktop server authenticates the sharing request;
the connection module 52 is configured to establish a connection based on a specified protocol with the cloud desktop server;
and the sharing module 53 is configured to obtain a cloud desktop instance allocated by the cloud desktop server, and transmit desktop data to the cloud desktop instance through the connection, so that the cloud desktop server distributes the desktop data to other cloud desktop clients.
As shown in fig. 6, fig. 6 is a block diagram of another desktop sharing apparatus shown in this specification according to an exemplary embodiment, where the apparatus is applied to a cloud desktop server, and the apparatus includes:
the authentication module 61 is configured to receive a sharing request sent by a target cloud desktop client after the target cloud desktop client successfully logs in a cloud desktop, and authenticate the sharing request;
the establishing module 62 is configured to establish a connection based on a specified protocol with the target cloud desktop client;
and the allocating module 63 is configured to allocate a cloud desktop instance to the target cloud desktop client, and when the target cloud desktop client transmits desktop data to the cloud desktop instance through the connection, distribute the desktop data to other cloud desktop clients.
The implementation process of the functions and actions of each module in the above device is specifically described in the implementation process of the corresponding step in the above method, and is not described herein again.
For the device embodiments, since they substantially correspond to the method embodiments, reference may be made to the partial description of the method embodiments for relevant points. The above-described embodiments of the apparatus are merely illustrative, wherein the modules described as separate parts may or may not be physically separate, and the parts displayed as modules may or may not be physical modules, may be located in one place, or may be distributed on a plurality of network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in the specification. One of ordinary skill in the art can understand and implement it without inventive effort.
Embodiments of the present specification also provide a computer device, which at least includes a memory, a processor and a computer program stored in the memory and executable on the processor, wherein the processor implements the method of any of the foregoing embodiments when executing the program.
Fig. 7 is a more specific hardware structure diagram of a computing device provided in an embodiment of the present specification, where the device may include: a processor 701, a memory 702, an input/output interface 703, a communication interface 704, and a bus 705. Wherein the processor 701, the memory 702, the input/output interface 703 and the communication interface 704 are communicatively connected to each other within the device via a bus 705.
The processor 701 may be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an Application Specific Integrated Circuit (ASIC), or one or more Integrated circuits, and is configured to execute related programs to implement the technical solutions provided in the embodiments of the present specification. The processor 701 may further include a graphics card, which may be an Nvidia titan X graphics card or a 1080Ti graphics card, etc.
The Memory 702 may be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, or the like. The memory 702 may store an operating system and other application programs, and when the technical solution provided by the embodiments of the present specification is implemented by software or firmware, the relevant program codes are stored in the memory 702 and called to be executed by the processor 701.
The input/output interface 703 is used for connecting an input/output module to realize information input and output. The i/o module may be configured as a component in a device (not shown) or may be external to the device to provide a corresponding function. The input devices may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output devices may include a display, a speaker, a vibrator, an indicator light, etc.
The communication interface 704 is used for connecting a communication module (not shown in the figure) to realize communication interaction between the device and other devices. The communication module can realize communication in a wired mode (such as USB, network cable and the like) and also can realize communication in a wireless mode (such as mobile network, WIFI, Bluetooth and the like).
Bus 705 includes a pathway for communicating information between various components of the device, such as processor 701, memory 702, input/output interface 703, and communication interface 704.
It should be noted that although the above-mentioned device only shows the processor 701, the memory 702, the input/output interface 703, the communication interface 704 and the bus 705, in a specific implementation, the device may also include other components necessary for normal operation. In addition, those skilled in the art will appreciate that the above-described apparatus may also include only those components necessary to implement the embodiments of the present description, and not necessarily all of the components shown in the figures.
The embodiments of the present disclosure also provide a computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the method of any of the foregoing embodiments.
Computer-readable media, including both non-transitory and non-transitory, removable and non-removable media, may implement information storage by any method or technology. The information may be computer readable instructions, data structures, modules of a program, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), Static Random Access Memory (SRAM), Dynamic Random Access Memory (DRAM), other types of Random Access Memory (RAM), Read Only Memory (ROM), Electrically Erasable Programmable Read Only Memory (EEPROM), flash memory or other memory technology, compact disc read only memory (CD-ROM), Digital Versatile Discs (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission medium that can be used to store information that can be accessed by a computing device. As defined herein, a computer readable medium does not include a transitory computer readable medium such as a modulated data signal and a carrier wave.
From the above description of the embodiments, it is clear to those skilled in the art that the embodiments of the present disclosure can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the embodiments of the present specification may be essentially or partially implemented in the form of a software product, which may be stored in a storage medium, such as a ROM/RAM, a magnetic disk, an optical disk, etc., and includes several instructions for enabling a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the methods described in the embodiments or some parts of the embodiments of the present specification.
The systems, devices, modules or units illustrated in the above embodiments may be implemented by a computer chip or an entity, or by a product with certain functions. A typical implementation device is a computer, which may take the form of a personal computer, laptop computer, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email messaging device, game console, tablet computer, wearable device, or a combination of any of these devices.
The foregoing description has been directed to specific embodiments of this disclosure. Other embodiments are within the scope of the following claims. In some cases, the actions or steps recited in the claims may be performed in a different order than in the embodiments and still achieve desirable results. In addition, the processes depicted in the accompanying figures do not necessarily require the particular order shown, or sequential order, to achieve desirable results. In some embodiments, multitasking and parallel processing may also be possible or may be advantageous.
Other embodiments of the present description will be apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. This specification is intended to cover any variations, uses, or adaptations of the specification following, in general, the principles of the specification and including such departures from the present disclosure as come within known or customary practice within the art to which the specification pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the specification being indicated by the following claims.
It will be understood that the present description is not limited to the precise arrangements described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the description is limited only by the appended claims.
The above description is only a preferred embodiment of the present disclosure, and should not be taken as limiting the present disclosure, and any modifications, equivalents, improvements, etc. made within the spirit and principle of the present disclosure should be included in the scope of the present disclosure.

Claims (10)

1. A desktop sharing method is applied to a target cloud desktop client, and comprises the following steps:
after successfully logging in a cloud desktop, sending a sharing request to the cloud desktop server, so that the cloud desktop server authenticates the sharing request;
establishing connection based on a specified protocol with the cloud desktop server;
and acquiring a cloud desktop instance distributed by the cloud desktop server, and transmitting desktop data to the cloud desktop instance through the connection so that the cloud desktop server distributes the desktop data to other cloud desktop clients.
2. The method of claim 1, wherein the sharing request carries a credential for authentication, and the credential is issued by the cloud desktop server to the target cloud desktop client when the target cloud desktop client successfully logs in a cloud desktop; the voucher has timeliness; the method further comprises the following steps:
and when the certificate meets a preset failure condition, requesting a new certificate from the cloud desktop server.
3. The method of claim 1, after obtaining the cloud desktop instance allocated by the cloud desktop server, further comprising:
and sending a control instruction to the cloud desktop server, wherein the control instruction is used for controlling the running state of the cloud desktop instance.
4. The method of claim 3, the governing instruction comprising an instruction to control an input source of the cloud desktop instance, the input source comprising:
an input source provided by the target cloud desktop client; and
and the input sources are provided by other cloud desktop clients connected to the cloud desktop instance except the target cloud desktop client.
5. The method of claim 1, further comprising:
and transmitting the desktop data to the cloud desktop client in the same local area network with the target cloud desktop client in a multicast mode.
6. The method of claim 1, the specified protocol to:
and transferring the desktop data from the target cloud desktop client to other cloud desktop clients connected to the cloud desktop instance except the target cloud desktop client.
7. A desktop sharing method is applied to a cloud desktop server side and comprises the following steps:
after a target cloud desktop client successfully logs in a cloud desktop, receiving a sharing request sent by the target cloud desktop client, and authenticating the sharing request;
establishing a connection based on a specified protocol with the target cloud desktop client;
and distributing a cloud desktop instance to the target cloud desktop client, and distributing the desktop data to other cloud desktop clients when the target cloud desktop client transmits the desktop data to the cloud desktop instance through the connection.
8. A desktop sharing system comprises a cloud desktop server and a cloud desktop client;
the cloud desktop server is used for receiving a sharing request sent by a target cloud desktop client and authenticating the sharing request after the target cloud desktop client successfully logs in a cloud desktop; establishing a connection based on a specified protocol with the target cloud desktop client; distributing a cloud desktop instance to the target cloud desktop client, and distributing desktop data to other cloud desktop clients when the target cloud desktop client transmits the desktop data to the cloud desktop instance through the connection;
the target cloud desktop client in the cloud desktop clients is used for sending a sharing request to the cloud desktop server and transmitting the desktop data of the current equipment to the cloud desktop instance distributed by the cloud desktop server; and other cloud desktop clients except the target cloud desktop client in the cloud desktop clients are used for acquiring the desktop data through the cloud desktop instance.
9. A computer device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, wherein the processor when executing the program implements the method of any one of claims 1 to 7.
10. A computer-readable storage medium, on which a computer program is stored which, when executed by a processor, carries out the method of any one of claims 1 to 7.
CN202210200145.0A 2022-03-02 2022-03-02 Desktop sharing method, system, storage medium and equipment Active CN114844663B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210200145.0A CN114844663B (en) 2022-03-02 2022-03-02 Desktop sharing method, system, storage medium and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210200145.0A CN114844663B (en) 2022-03-02 2022-03-02 Desktop sharing method, system, storage medium and equipment

Publications (2)

Publication Number Publication Date
CN114844663A true CN114844663A (en) 2022-08-02
CN114844663B CN114844663B (en) 2024-03-01

Family

ID=82562529

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210200145.0A Active CN114844663B (en) 2022-03-02 2022-03-02 Desktop sharing method, system, storage medium and equipment

Country Status (1)

Country Link
CN (1) CN114844663B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550353A (en) * 2022-11-30 2022-12-30 北京志翔科技股份有限公司 Data channel establishing method and device, electronic equipment and storage medium

Citations (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2685697A1 (en) * 2012-07-13 2014-01-15 CloudFounders NV A method to obtain a virtual desktop stored in a cloud storage system, a corresponding cloud broker and cloud desktop agent
US20140304779A1 (en) * 2013-04-03 2014-10-09 Hon Hai Precision Industry Co., Ltd. Desktop sharing system and method
US20170054765A1 (en) * 2015-08-17 2017-02-23 Five9, Inc. Systems and methods for establishing a control channel between a virtualization server and a client device
CN108123925A (en) * 2016-11-30 2018-06-05 中兴通讯股份有限公司 The method, apparatus and system of resource-sharing
CN111597546A (en) * 2020-07-24 2020-08-28 北京志翔科技股份有限公司 Cloud desktop sharing method, device and system and storage medium
CN112291269A (en) * 2020-11-30 2021-01-29 南方电网科学研究院有限责任公司 Cloud desktop authentication method and device, electronic equipment and readable storage medium
CN112311855A (en) * 2020-09-30 2021-02-02 新华三大数据技术有限公司 Data transmission method and device
CN112672094A (en) * 2020-12-23 2021-04-16 迈普通信技术股份有限公司 Cloud desktop conference sharing method and device, electronic equipment and storage medium
CN112988317A (en) * 2021-05-20 2021-06-18 浙江华网俊业科技有限公司 Multi-mode cloud desktop management and control method and device
CN113206821A (en) * 2021-03-11 2021-08-03 新华三大数据技术有限公司 Cloud desktop single sign-on method, network equipment and storage medium
CN113452711A (en) * 2021-06-29 2021-09-28 新华三大数据技术有限公司 Single sign-on method of cloud desktop and network equipment
CN113489805A (en) * 2021-07-21 2021-10-08 深圳市创凯智能股份有限公司 Docking method, device, equipment and storage medium of cloud desktop system
CN113849271A (en) * 2021-09-22 2021-12-28 北京百度网讯科技有限公司 Cloud desktop display method, device, equipment, system and storage medium

Patent Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP2685697A1 (en) * 2012-07-13 2014-01-15 CloudFounders NV A method to obtain a virtual desktop stored in a cloud storage system, a corresponding cloud broker and cloud desktop agent
US20140304779A1 (en) * 2013-04-03 2014-10-09 Hon Hai Precision Industry Co., Ltd. Desktop sharing system and method
US20170054765A1 (en) * 2015-08-17 2017-02-23 Five9, Inc. Systems and methods for establishing a control channel between a virtualization server and a client device
CN108123925A (en) * 2016-11-30 2018-06-05 中兴通讯股份有限公司 The method, apparatus and system of resource-sharing
EP3550784A1 (en) * 2016-11-30 2019-10-09 ZTE Corporation Resource sharing method, device and system
CN111597546A (en) * 2020-07-24 2020-08-28 北京志翔科技股份有限公司 Cloud desktop sharing method, device and system and storage medium
CN112311855A (en) * 2020-09-30 2021-02-02 新华三大数据技术有限公司 Data transmission method and device
CN112291269A (en) * 2020-11-30 2021-01-29 南方电网科学研究院有限责任公司 Cloud desktop authentication method and device, electronic equipment and readable storage medium
CN112672094A (en) * 2020-12-23 2021-04-16 迈普通信技术股份有限公司 Cloud desktop conference sharing method and device, electronic equipment and storage medium
CN113206821A (en) * 2021-03-11 2021-08-03 新华三大数据技术有限公司 Cloud desktop single sign-on method, network equipment and storage medium
CN112988317A (en) * 2021-05-20 2021-06-18 浙江华网俊业科技有限公司 Multi-mode cloud desktop management and control method and device
CN113452711A (en) * 2021-06-29 2021-09-28 新华三大数据技术有限公司 Single sign-on method of cloud desktop and network equipment
CN113489805A (en) * 2021-07-21 2021-10-08 深圳市创凯智能股份有限公司 Docking method, device, equipment and storage medium of cloud desktop system
CN113849271A (en) * 2021-09-22 2021-12-28 北京百度网讯科技有限公司 Cloud desktop display method, device, equipment, system and storage medium

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115550353A (en) * 2022-11-30 2022-12-30 北京志翔科技股份有限公司 Data channel establishing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN114844663B (en) 2024-03-01

Similar Documents

Publication Publication Date Title
US10992512B2 (en) File sharing method, apparatus, and storage medium
US20220191188A1 (en) Single sign-on enabled oauth token
CN109314661B (en) Communication system
US11108825B2 (en) Managed real-time communications between user devices
US9332039B2 (en) Method, apparatus, and system for establishing voice communication
US8762544B2 (en) Selectively communicating data of a peripheral device to plural sending computers
US10963869B2 (en) System and method of cryptographically provable zero knowledge social networking
TW201621741A (en) Sharing content
KR20170049513A (en) Shared session techniques
CN107708099B (en) Bluetooth device sharing request and control method and device, and readable storage medium
JP2017538986A (en) Lending target device resources to the host device computing environment
CN111643907A (en) Game login method and device, storage medium and electronic equipment
AU2017286888A1 (en) Technologies for managing application configurations and associated credentials
CN112494934A (en) Cloud game data processing method, device, equipment and storage medium
WO2016191376A1 (en) Initial provisioning through shared proofs of knowledge and crowdsourced identification
JP6335978B2 (en) System and method for providing a virtual communication session for some participants on a communication session
US10602359B1 (en) Short-range cross-device authorization
CN114844663B (en) Desktop sharing method, system, storage medium and equipment
TWI585699B (en) Establishing a communication event
CN112601046B (en) Interactive method, terminal, server, interactive system and non-transitory storage medium
TW202137788A (en) Method and apparatus for providing chat service
KR102615305B1 (en) Method And Apparatus for Sharing Virtual Mobile Infrastructure Screen
WO2020139729A1 (en) Scoping the lifetime of personal devices connected to communal computing devices
CN105474591A (en) Content distribution using social relationships
CN114534260A (en) Mirror account creating method, device, equipment and storage medium

Legal Events

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