CN114979235B - Cloud desktop data sharing-based method and server - Google Patents
Cloud desktop data sharing-based method and server Download PDFInfo
- Publication number
- CN114979235B CN114979235B CN202210430207.7A CN202210430207A CN114979235B CN 114979235 B CN114979235 B CN 114979235B CN 202210430207 A CN202210430207 A CN 202210430207A CN 114979235 B CN114979235 B CN 114979235B
- Authority
- CN
- China
- Prior art keywords
- cloud desktop
- dimensional code
- data
- mobile terminal
- shared
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Active
Links
- 238000000034 method Methods 0.000 title claims abstract description 22
- 238000004891 communication Methods 0.000 claims abstract description 107
- 238000004590 computer program Methods 0.000 claims description 8
- 230000000875 corresponding effect Effects 0.000 abstract description 50
- 230000002596 correlated effect Effects 0.000 abstract description 5
- 230000000694 effects Effects 0.000 description 3
- 230000009286 beneficial effect Effects 0.000 description 2
- 230000005540 biological transmission Effects 0.000 description 2
- 238000010586 diagram Methods 0.000 description 2
- 238000005516 engineering process Methods 0.000 description 2
- 230000006870 function Effects 0.000 description 2
- 238000010408 sweeping Methods 0.000 description 2
- 238000004806 packaging method and process Methods 0.000 description 1
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L67/00—Network arrangements or protocols for supporting network services or applications
- H04L67/14—Session management
- H04L67/141—Setup of application sessions
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/44—Arrangements for executing specific programs
- G06F9/451—Execution arrangements for user interfaces
- G06F9/452—Remote windowing, e.g. X-Window System, desktop virtualisation
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06F—ELECTRIC DIGITAL DATA PROCESSING
- G06F9/00—Arrangements for program control, e.g. control units
- G06F9/06—Arrangements 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/46—Multiprogramming arrangements
- G06F9/54—Interprogram communication
- G06F9/544—Buffers; Shared memory; Pipes
-
- G—PHYSICS
- G06—COMPUTING; CALCULATING OR COUNTING
- G06K—GRAPHICAL DATA READING; PRESENTATION OF DATA; RECORD CARRIERS; HANDLING RECORD CARRIERS
- G06K17/00—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations
- G06K17/0022—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device
- G06K17/0025—Methods or arrangements for effecting co-operative working between equipments covered by two or more of main groups G06K1/00 - G06K15/00, e.g. automatic card files incorporating conveying and reading operations arrangements or provisions for transferring data to distant stations, e.g. from a sensing device the arrangement consisting of a wireless interrogation device in combination with a device for optically marking the record carrier
Landscapes
- Engineering & Computer Science (AREA)
- Theoretical Computer Science (AREA)
- Software Systems (AREA)
- General Engineering & Computer Science (AREA)
- Physics & Mathematics (AREA)
- General Physics & Mathematics (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Human Computer Interaction (AREA)
- Information Transfer Between Computers (AREA)
Abstract
The invention discloses a cloud desktop data sharing-based method and a server, wherein corresponding two-dimensional codes are generated for a cloud desktop according to two-dimensional code request information sent by the cloud desktop, and the two-dimensional codes are returned to the cloud desktop for display, so that a mobile terminal scans the two-dimensional codes of the cloud desktop and establishes a communication connection channel associated with the cloud desktop, and the association relation between a mobile terminal and the cloud desktop is established. And receiving the data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code. Therefore, the mobile terminal and the cloud desktop can be correlated only by code scanning and data are shared into the cloud desktop, and compared with the prior art that the data between the mobile terminal and the cloud desktop are shared through USB or third-party software, the cloud desktop using convenience can be improved.
Description
Technical Field
The invention relates to the technical field of data sharing, in particular to a cloud desktop data sharing-based method and a server.
Background
The cloud desktop is a typical application of virtualization and cloud computing, simply, a virtualization software is installed in a server in a data center machine room through a virtualization technology, a plurality of virtual machines are created through configuration of the software, virtual machines have relatively independent CPU and memory resources, and then an actual server can be divided into a plurality of virtual machines so as to be provided for a plurality of users to use independently, and different users can use different virtual machines without preempting the CPU and the memory resources mutually and conflicting with each other because of operation in the same machine. The user uses the desktop service of the virtual machine, and the experience effect is the same as that of the normal computer use.
The cloud desktop has wide application scenes, taking picture sharing as an example: the mobile terminal and the computer are connected by using a USB data line, and then the pictures are copied to the computer cloud desktop; or by using third party software. However, the above-mentioned picture sharing method is cumbersome for the user to operate, and the convenience brought by the cloud desktop cannot be realized.
Disclosure of Invention
The technical problems to be solved by the invention are as follows: the cloud desktop data sharing method and the server can realize data sharing without depending on third-party software or hardware.
In order to solve the technical problems, the invention adopts the following technical scheme:
a cloud desktop data sharing-based method comprises the following steps:
receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after a mobile terminal scans the two-dimensional code;
and receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code.
In order to solve the technical problems, the invention adopts another technical scheme that:
a server based on cloud desktop data sharing, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing the following steps when executing the computer program:
receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after a mobile terminal scans the two-dimensional code;
and receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code.
The invention has the beneficial effects that: generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information sent by the cloud desktop, and returning the two-dimensional code to the cloud desktop for display, so that the mobile terminal scans the two-dimensional code of the cloud desktop and establishes a communication connection channel associated with the cloud desktop, thereby establishing an association relationship between the mobile terminal and the cloud desktop. And receiving the data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code. Therefore, the mobile terminal and the cloud desktop can be correlated only by code scanning and data are shared into the cloud desktop, and compared with the prior art that the data between the mobile terminal and the cloud desktop are shared through USB or third-party software, the cloud desktop using convenience can be improved.
Drawings
FIG. 1 is a flow chart of a method based on cloud desktop data sharing according to an embodiment of the present invention;
FIG. 2 is a schematic diagram of a server based on cloud desktop data sharing according to an embodiment of the present invention;
FIG. 3 is a flowchart illustrating specific steps of a method for cloud desktop data sharing according to an embodiment of the present invention;
FIG. 4 is a flowchart illustrating steps performed by a cloud desktop according to a first embodiment of the present invention;
fig. 5 is a relationship diagram among a mobile terminal, a cloud desktop and a server according to a first embodiment of the present invention;
description of the reference numerals:
1. cloud desktop data sharing-based server; 2. a memory; 3. a processor.
Detailed Description
In order to describe the technical contents, the achieved objects and effects of the present invention in detail, the following description will be made with reference to the embodiments in conjunction with the accompanying drawings.
Referring to fig. 1, an embodiment of the present invention provides a method for sharing data based on cloud desktop, including the steps of:
receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after a mobile terminal scans the two-dimensional code;
and receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code.
From the above description, the beneficial effects of the invention are as follows: generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information sent by the cloud desktop, and returning the two-dimensional code to the cloud desktop for display, so that the mobile terminal scans the two-dimensional code of the cloud desktop and establishes a communication connection channel associated with the cloud desktop, thereby establishing an association relationship between the mobile terminal and the cloud desktop. And receiving the data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code. Therefore, the mobile terminal and the cloud desktop can be correlated only by code scanning and data are shared into the cloud desktop, and compared with the prior art that the data between the mobile terminal and the cloud desktop are shared through USB or third-party software, the cloud desktop using convenience can be improved.
Further, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop includes:
acquiring communication information of a corresponding cloud desktop according to the two-dimension code request information, and generating a corresponding two-dimension code according to the communication information;
and returning the two-dimensional code to the cloud desktop, wherein the cloud desktop sets the two-dimensional code on the top layer for display.
According to the description, the corresponding two-dimensional codes are generated according to the two-dimensional code request information, and the two-dimensional codes are returned to the cloud desktop, so that the cloud desktop can display the two-dimensional codes on the top layer, specific two-dimensional codes can be generated for each cloud desktop, and the mobile equipment can be conveniently associated with the cloud desktop subsequently.
Further, the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after the mobile terminal scans the two-dimensional code, and the two-dimensional code comprises:
the two-dimensional code is used for acquiring communication information of the cloud desktop based on the data format and the two-dimensional code identification analysis after the mobile terminal invokes the camera to scan the two-dimensional code, and the communication information comprises a communication data protocol and a unique identifier of the cloud desktop;
after the mobile terminal establishes a communication connection channel according to the communication data protocol, the mobile terminal communicates with the mobile terminal through the communication connection channel, and the communication connection channel is associated with a corresponding cloud desktop through the unique identifier of the cloud desktop.
As can be seen from the above description, the mobile terminal analyzes the two-dimensional code based on the data format and the two-dimensional code identification, so as to obtain the communication information of the cloud desktop, and the security of the data can be improved by encrypting and decrypting; because the communication information contains the communication data protocol and the unique identification of the cloud desktop, the mobile terminal creates a communication connection channel for communicating with the server according to the communication data protocol, and the communication connection channel can be associated with the corresponding cloud desktop.
Further, receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code includes:
receiving data to be shared, which are obtained from stored data or real-time input data by the mobile terminal, through the communication connection channel;
and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code according to the unique identifier in the communication connection channel corresponding to the mobile terminal.
As can be seen from the above description, the mobile terminal can share the stored data or the data input in real time, thereby improving the flexibility of data sharing.
Further, sending the data to be shared to the cloud desktop corresponding to the two-dimensional code, further includes:
and storing the data to be shared into a preset catalog of the cloud desktop corresponding to the virtual machine.
According to the description, the data shared by the mobile terminal can be stored in the catalog of the virtual machine corresponding to the cloud desktop, so that the convenience of data sharing is improved.
Referring to fig. 2, another embodiment of the present invention provides a server based on cloud desktop data sharing, including a memory, a processor, and a computer program stored on the memory and executable on the processor, wherein the processor implements the following steps when executing the computer program:
receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after a mobile terminal scans the two-dimensional code;
and receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code.
From the above description, it can be seen that, according to the two-dimensional code request information sent by the cloud desktop, a corresponding two-dimensional code is generated for the cloud desktop, and the two-dimensional code is returned to the cloud desktop for display, so that the mobile terminal scans the two-dimensional code of the cloud desktop and establishes a communication connection channel associated with the cloud desktop, thereby establishing an association relationship between the mobile terminal and the cloud desktop. And receiving the data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code. Therefore, the mobile terminal and the cloud desktop can be correlated only by code scanning and data are shared into the cloud desktop, and compared with the prior art that the data between the mobile terminal and the cloud desktop are shared through USB or third-party software, the cloud desktop using convenience can be improved.
Further, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop includes:
acquiring communication information of a corresponding cloud desktop according to the two-dimension code request information, and generating a corresponding two-dimension code according to the communication information;
and returning the two-dimensional code to the cloud desktop, wherein the cloud desktop sets the two-dimensional code on the top layer for display.
According to the description, the corresponding two-dimensional codes are generated according to the two-dimensional code request information, and the two-dimensional codes are returned to the cloud desktop, so that the cloud desktop can display the two-dimensional codes on the top layer, specific two-dimensional codes can be generated for each cloud desktop, and the mobile equipment can be conveniently associated with the cloud desktop subsequently.
Further, the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after the mobile terminal scans the two-dimensional code, and the two-dimensional code comprises:
the two-dimensional code is used for acquiring communication information of the cloud desktop based on the data format and the two-dimensional code identification analysis after the mobile terminal invokes the camera to scan the two-dimensional code, and the communication information comprises a communication data protocol and a unique identifier of the cloud desktop;
after the mobile terminal establishes a communication connection channel according to the communication data protocol, the mobile terminal communicates with the mobile terminal through the communication connection channel, and the communication connection channel is associated with a corresponding cloud desktop through the unique identifier of the cloud desktop.
As can be seen from the above description, the mobile terminal analyzes the two-dimensional code based on the data format and the two-dimensional code identification, so as to obtain the communication information of the cloud desktop, and the security of the data can be improved by encrypting and decrypting; because the communication information contains the communication data protocol and the unique identification of the cloud desktop, the mobile terminal creates a communication connection channel for communicating with the server according to the communication data protocol, and the communication connection channel can be associated with the corresponding cloud desktop.
Further, receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code includes:
receiving data to be shared, which are obtained from stored data or real-time input data by the mobile terminal, through the communication connection channel;
and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code according to the unique identifier in the communication connection channel corresponding to the mobile terminal.
As can be seen from the above description, the mobile terminal can share the stored data or the data input in real time, thereby improving the flexibility of data sharing.
Further, sending the data to be shared to the cloud desktop corresponding to the two-dimensional code, further includes:
and storing the data to be shared into a preset catalog of the cloud desktop corresponding to the virtual machine.
According to the description, the data shared by the mobile terminal can be stored in the catalog of the virtual machine corresponding to the cloud desktop, so that the convenience of data sharing is improved.
The cloud desktop data sharing method and the server are suitable for data sharing between the cloud desktop and the mobile terminal, and are described in the following specific embodiments:
example 1
Referring to fig. 1, 3 to 5, a cloud desktop data sharing-based method includes the steps of:
s1, receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, returning the two-dimensional code to the cloud desktop, and establishing a communication connection channel associated with the cloud desktop after the two-dimensional code is scanned by a mobile terminal.
And S11, acquiring communication information of the corresponding cloud desktop according to the two-dimension code request information, and generating a corresponding two-dimension code according to the communication information.
Specifically, referring to fig. 4, when the cloud desktop is initialized, two-dimensional code request information sent by the cloud desktop is received, communication information corresponding to the cloud desktop, that is, data such as an access address, a port number, a unique identifier, etc. of the JSON format is obtained based on the two-dimensional code request information, and a two-dimensional code is generated from a string of the JSON format.
S12, returning the two-dimensional code to the cloud desktop, and setting the two-dimensional code on the top layer by the cloud desktop for display.
Specifically, the two-dimensional code is returned to the cloud desktop, and is displayed at the lower right corner of the cloud desktop, so that the two-dimensional code is located at the top layer position of the cloud desktop.
And S13, after the two-dimensional code is used for the mobile terminal to call the camera to scan the two-dimensional code, the two-dimensional code is identified and analyzed based on the data format and the two-dimensional code to obtain communication information of the cloud desktop, and the communication information comprises a communication data protocol and a unique identifier of the cloud desktop.
Specifically, the mobile terminal calls the camera to identify the two-dimensional code to obtain the data of the two-dimensional code, analyzes the two-dimensional code to obtain communication information, and comprises a request address, a port number, a cloud desktop unique identification code and the like.
In this embodiment, the mobile terminal and the server pre-define a data format, that is, JSON format, and analyze the two-dimensional code based on the data format and the two-dimensional code recognition technology.
And S14, after the mobile terminal establishes a communication connection channel according to the communication data protocol, communicating with the mobile terminal through the communication connection channel, wherein the communication connection channel is associated with a corresponding cloud desktop through the unique identifier of the cloud desktop.
Specifically, the mobile terminal creates a communication connection channel for connecting the mobile terminal and the server in a socket mode, and a request address IP and a port number in the two-dimensional code are required to be acquired to establish the channel in the creation process; the communication information comprises a cloud desktop unique identification code which is used as a basis of cloud desktop uniqueness to enable the communication connection channel to be associated with the cloud desktop. The data to be shared of the subsequent mobile terminals are transmitted to the cloud desktop through the communication connection channel. If the server fails to communicate with the mobile terminal through the communication connection channel, the sharing is ended.
In some embodiments, one mobile terminal can scan two-dimension codes of a plurality of cloud desktops, and the mobile terminal establishes associated communication connection channels with the plurality of cloud desktops respectively, so that data of the mobile terminal can be shared to the plurality of cloud desktops simultaneously.
S2, receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code.
S21, receiving data to be shared, which are obtained from stored data or real-time input data by the mobile terminal, through the communication connection channel.
Specifically, taking picture sharing as an example, picture acquisition in the mobile terminal supports selecting pictures in an album, and also supports directly calling a camera to take pictures without opening the album, and the mobile terminal sends the pictures to be shared to the server through a communication connection channel.
S22, according to the unique identifier in the communication connection channel corresponding to the mobile terminal, the data to be shared is sent to the cloud desktop corresponding to the two-dimensional code.
And storing the data to be shared into a preset catalog of the cloud desktop corresponding to the virtual machine.
Specifically, after receiving the picture resource, the server stores the picture resource in a specified directory, such as a desktop, under the virtual machine corresponding to the cloud desktop. Transmitting the display content in the virtual machine to a local terminal for display through a cloud desktop protocol; when the cloud desktop of the computer end refreshes the interface in real time, the newly added picture resources of the mobile end can be seen.
Referring to fig. 5, taking picture sharing as an example, the data sharing method of the present embodiment may specifically be divided into the following steps:
1. the cloud desktop end requests the two-dimensional code content from the server;
2. the server generates a two-dimensional code and sends the two-dimensional code to the cloud desktop end;
3. the mobile terminal scans the two-dimensional code of the cloud desktop;
4. analyzing the two-dimensional code of the cloud desktop;
5. the mobile terminal establishes connection with the server, and the mobile terminal selects pictures to upload to the server;
6. and the server issues the picture resource to the cloud desktop.
Therefore, the camera of the mobile terminal adopts the commonly used sweeping function, and the pictures of the mobile terminal can be easily shared on the cloud desktop in a packaging mode and displayed on the cloud desktop of the computer terminal; a traditional USB data line graph transmission mode or a mode of utilizing third party software graph transmission is replaced; meanwhile, when the method is used, when the data of the two-dimensional code are analyzed, the encryption and decryption modes are adopted, so that the safety of the data on the cloud desktop is protected, the image can be transmitted without any software code scanning, and the safety and privacy of the data are ensured.
Example two
Referring to fig. 2, a server 1 based on cloud desktop data sharing includes a memory 2, a processor 3, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the method based on cloud desktop data sharing according to the first embodiment when executing the computer program.
In summary, according to the cloud desktop data sharing-based method and server provided by the invention, a two-dimensional code is provided on the cloud desktop for each mobile terminal device to sweep codes, and a connecting channel between the mobile terminal and the cloud desktop is automatically created through the code sweeping; and creating a connection mode according to the content of the data protocol obtained by scanning the two-dimensional code. After the connecting channel is opened, the mobile terminal has a function of selecting pictures, after the pictures are selected, the pictures are sent up, and the cloud desktop background receives the items from the mobile terminal; according to the unique identifier of the cloud desktop, placing the picture memory under a certain directory of the appointed cloud desktop; the cloud desktop of the computer end is refreshed in real time, so that the picture resources can be seen in the virtual desktop of the computer end in time; therefore, the overall effect that the mobile terminal scans the code to share the picture to the cloud desktop is achieved. Therefore, the mobile terminal and the cloud desktop can be correlated only by code scanning and data are shared into the cloud desktop, and compared with the prior art that the data between the mobile terminal and the cloud desktop are shared through USB or third-party software, the cloud desktop using convenience can be improved.
The foregoing description is only illustrative of the present invention and is not intended to limit the scope of the invention, and all equivalent changes made by the specification and drawings of the present invention, or direct or indirect application in the relevant art, are included in the scope of the present invention.
Claims (8)
1. The cloud desktop data sharing-based method is characterized by comprising the following steps of:
receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after a mobile terminal scans the two-dimensional code;
receiving data to be shared uploaded by a mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code;
generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop comprises:
acquiring communication information of a corresponding cloud desktop according to the two-dimension code request information, and generating a corresponding two-dimension code according to the communication information;
and returning the two-dimensional code to the cloud desktop, wherein the cloud desktop sets the two-dimensional code on the top layer for display.
2. The cloud desktop data sharing-based method of claim 1, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after the mobile terminal scans the two-dimensional code, and the method comprises the following steps:
the two-dimensional code is used for acquiring communication information of the cloud desktop based on the data format and the two-dimensional code identification analysis after the mobile terminal invokes the camera to scan the two-dimensional code, and the communication information comprises a communication data protocol and a unique identifier of the cloud desktop;
after the mobile terminal establishes a communication connection channel according to the communication data protocol, the mobile terminal communicates with the mobile terminal through the communication connection channel, and the communication connection channel is associated with a corresponding cloud desktop through the unique identifier of the cloud desktop.
3. The method for sharing data based on the cloud desktop according to claim 2, wherein receiving data to be shared uploaded by the mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code includes:
receiving data to be shared, which are obtained from stored data or real-time input data by the mobile terminal, through the communication connection channel;
and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code according to the unique identifier in the communication connection channel corresponding to the mobile terminal.
4. The cloud desktop data sharing method according to claim 1, wherein the sending the data to be shared to the cloud desktop corresponding to the two-dimensional code further comprises:
and storing the data to be shared into a preset catalog of the cloud desktop corresponding to the virtual machine.
5. A server based on cloud desktop data sharing, comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the following steps when executing the computer program:
receiving two-dimensional code request information of a cloud desktop, generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after a mobile terminal scans the two-dimensional code;
receiving data to be shared uploaded by a mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code;
generating a corresponding two-dimensional code for the cloud desktop according to the two-dimensional code request information, and returning the two-dimensional code to the cloud desktop comprises:
acquiring communication information of a corresponding cloud desktop according to the two-dimension code request information, and generating a corresponding two-dimension code according to the communication information;
and returning the two-dimensional code to the cloud desktop, wherein the cloud desktop sets the two-dimensional code on the top layer for display.
6. The cloud desktop data sharing-based server according to claim 5, wherein the two-dimensional code is used for establishing a communication connection channel associated with the cloud desktop after the mobile terminal scans the two-dimensional code, and the communication connection channel comprises:
the two-dimensional code is used for acquiring communication information of the cloud desktop based on the data format and the two-dimensional code identification analysis after the mobile terminal invokes the camera to scan the two-dimensional code, and the communication information comprises a communication data protocol and a unique identifier of the cloud desktop;
after the mobile terminal establishes a communication connection channel according to the communication data protocol, the mobile terminal communicates with the mobile terminal through the communication connection channel, and the communication connection channel is associated with a corresponding cloud desktop through the unique identifier of the cloud desktop.
7. The server based on cloud desktop data sharing according to claim 6, wherein receiving data to be shared uploaded by a mobile terminal through the communication connection channel, and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code comprises:
receiving data to be shared, which are obtained from stored data or real-time input data by the mobile terminal, through the communication connection channel;
and sending the data to be shared to the cloud desktop corresponding to the two-dimensional code according to the unique identifier in the communication connection channel corresponding to the mobile terminal.
8. The cloud desktop data sharing-based server according to claim 5, wherein the sending the data to be shared to the cloud desktop corresponding to the two-dimensional code further comprises:
and storing the data to be shared into a preset catalog of the cloud desktop corresponding to the virtual machine.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210430207.7A CN114979235B (en) | 2022-04-22 | 2022-04-22 | Cloud desktop data sharing-based method and server |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202210430207.7A CN114979235B (en) | 2022-04-22 | 2022-04-22 | Cloud desktop data sharing-based method and server |
Publications (2)
Publication Number | Publication Date |
---|---|
CN114979235A CN114979235A (en) | 2022-08-30 |
CN114979235B true CN114979235B (en) | 2024-01-30 |
Family
ID=82979241
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202210430207.7A Active CN114979235B (en) | 2022-04-22 | 2022-04-22 | Cloud desktop data sharing-based method and server |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN114979235B (en) |
Citations (7)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872020A (en) * | 2016-03-23 | 2016-08-17 | 北京小米移动软件有限公司 | Access method of virtual desktop and mobile terminal |
WO2017186005A1 (en) * | 2016-04-29 | 2017-11-02 | 中兴通讯股份有限公司 | Method, server, and terminal for cloud desktop authentication |
WO2020140407A1 (en) * | 2019-01-02 | 2020-07-09 | 平安科技(深圳)有限公司 | Cloud security-based cloud desktop login method, device, equipment and storage medium |
CN111586164A (en) * | 2020-05-06 | 2020-08-25 | 上海达龙信息科技有限公司 | Sharing method and succession method of remote cloud desktop, information processing method and electronic equipment |
CN112261011A (en) * | 2020-09-30 | 2021-01-22 | 北京联众国际通信有限公司 | Cloud desktop authentication method based on two-dimensional code recognition |
CN113360866A (en) * | 2021-06-17 | 2021-09-07 | 广州禹龙信息科技有限公司 | Sharing method and device suitable for cloud computing computer terminal and electronic equipment |
CN113515737A (en) * | 2020-04-10 | 2021-10-19 | 南方电网科学研究院有限责任公司 | Soft certificate authentication method and system based on domestic cryptographic technology |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN108123925B (en) * | 2016-11-30 | 2021-07-30 | 中兴通讯股份有限公司 | Resource sharing method, device and system |
-
2022
- 2022-04-22 CN CN202210430207.7A patent/CN114979235B/en active Active
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN105872020A (en) * | 2016-03-23 | 2016-08-17 | 北京小米移动软件有限公司 | Access method of virtual desktop and mobile terminal |
EP3223147A2 (en) * | 2016-03-23 | 2017-09-27 | Beijing Xiaomi Mobile Software Co., Ltd. | Method for accessing virtual desktop and mobile terminal |
WO2017186005A1 (en) * | 2016-04-29 | 2017-11-02 | 中兴通讯股份有限公司 | Method, server, and terminal for cloud desktop authentication |
CN107332808A (en) * | 2016-04-29 | 2017-11-07 | 中兴通讯股份有限公司 | A kind of method, server and the terminal of the certification of cloud desktop |
WO2020140407A1 (en) * | 2019-01-02 | 2020-07-09 | 平安科技(深圳)有限公司 | Cloud security-based cloud desktop login method, device, equipment and storage medium |
CN113515737A (en) * | 2020-04-10 | 2021-10-19 | 南方电网科学研究院有限责任公司 | Soft certificate authentication method and system based on domestic cryptographic technology |
CN111586164A (en) * | 2020-05-06 | 2020-08-25 | 上海达龙信息科技有限公司 | Sharing method and succession method of remote cloud desktop, information processing method and electronic equipment |
CN112261011A (en) * | 2020-09-30 | 2021-01-22 | 北京联众国际通信有限公司 | Cloud desktop authentication method based on two-dimensional code recognition |
CN113360866A (en) * | 2021-06-17 | 2021-09-07 | 广州禹龙信息科技有限公司 | Sharing method and device suitable for cloud computing computer terminal and electronic equipment |
Also Published As
Publication number | Publication date |
---|---|
CN114979235A (en) | 2022-08-30 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
US10623954B2 (en) | AP connection method, terminal, and server | |
CN110113250B (en) | Method for sharing wireless access point through instant messaging software | |
WO2018049759A1 (en) | File transmission method and system | |
US9723261B2 (en) | Information processing device, conference system and storage medium | |
TWI586159B (en) | Terminal-to-terminal image sharing method, terminal device and communication system | |
CN104253845A (en) | Method and terminal for remotely controlling application | |
TW201929498A (en) | Information transmission method and device | |
CN103475636A (en) | Electronic account login method, intelligent terminal and mobile terminal | |
WO2019134595A1 (en) | Configuration system, client device, embedded device configuration method, and storage medium | |
CN112003881B (en) | Safety cloud mobile phone system based on private cloud | |
KR20130026609A (en) | Apparatus and method for providing multimedia cloud service associated with social network service in multimedia cloud system | |
CN109871189A (en) | A kind of multiple terminals screen sharing method and device based on Network File System | |
CN114979235B (en) | Cloud desktop data sharing-based method and server | |
CN112511892B (en) | Screen sharing method, device, server and storage medium | |
CN109104774B (en) | Data transmission method and system | |
US20150186095A1 (en) | Inter-terminal image sharing method, terminal device, and communications system | |
JP2015537262A (en) | System and method for sharing image data | |
US20230325143A1 (en) | Method for Displaying Conference Shared Screen Content, Apparatus, and System | |
CN112422667A (en) | Multi-screen display data transmission method, device, equipment and storage medium | |
CN112217840A (en) | Distributed network resource safety access management system and user port | |
CN111542033A (en) | Near-field data transmission method and device and computer readable storage medium | |
CN108601064B (en) | Method for providing and acquiring related information of wireless access point | |
WO2018223907A1 (en) | Method and device for wireless connection | |
CN114339282A (en) | Method and device for transmitting anchor image picture in live broadcast interaction | |
CN109561113B (en) | Transmission relation establishing method and system, equipment, server and storage medium thereof |
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 |