CN113726852A - Data transmission method and system, zero terminal and cloud server - Google Patents

Data transmission method and system, zero terminal and cloud server Download PDF

Info

Publication number
CN113726852A
CN113726852A CN202110842715.1A CN202110842715A CN113726852A CN 113726852 A CN113726852 A CN 113726852A CN 202110842715 A CN202110842715 A CN 202110842715A CN 113726852 A CN113726852 A CN 113726852A
Authority
CN
China
Prior art keywords
virtual machine
data
current virtual
synchronization information
zero terminal
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.)
Pending
Application number
CN202110842715.1A
Other languages
Chinese (zh)
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.)
Xian Wanxiang Electronics Technology Co Ltd
Original Assignee
Xian Wanxiang Electronics Technology 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 Xian Wanxiang Electronics Technology Co Ltd filed Critical Xian Wanxiang Electronics Technology Co Ltd
Priority to CN202110842715.1A priority Critical patent/CN113726852A/en
Publication of CN113726852A publication Critical patent/CN113726852A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • 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
    • 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/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • 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
    • H04L67/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • H04L67/1078Resource delivery mechanisms
    • 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
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Abstract

The disclosure provides a data transmission method and system, a zero terminal and a cloud server. The method comprises the steps that a cloud server monitors whether data are written in a shear plate of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copying function; if data are written in the shear plate of the current virtual machine, the cloud server generates data synchronization information according to the written data and transmits the data synchronization information to a zero terminal corresponding to the current virtual machine; the zero terminal corresponding to the current virtual machine writes the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine; and the cloud server pastes the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction. The data transmission method provided by the disclosure can conveniently and quickly realize data transmission among a plurality of virtual machines based on a data copy mode.

Description

Data transmission method and system, zero terminal and cloud server
Technical Field
The disclosure relates to the technical field of data transmission, in particular to a data transmission method and system, a zero terminal and a cloud server.
Background
The basic structure of the existing cloud office system can be referred to fig. 1. As shown in fig. 1, the cloud office system is based on a ten-thousand-image VGTP image transfer protocol, and mainly includes a zero terminal (a built-in VGTP-R terminal, referred to as an R terminal for short) and a cloud server terminal (a built-in VGTP-S terminal, referred to as an S terminal for short). The R end is used for receiving an image from a cloud end desktop, transmitting local mouse and keyboard information to the cloud end in a reverse mode, and injecting the information into a cloud end desktop corresponding to the current R end through the cloud end, wherein the cloud end desktop is generated by a virtual machine distributed by a cloud end server for a current zero terminal; and the S end is an image acquisition and coding module running in the cloud virtual OS and is responsible for performing the function of injecting data input by a user. The cloud server is generally based on an IAAS architecture, is a server with a strong virtual host, and can provide management functions of a plurality of virtual machines through hypervisor to provide a running hardware environment for the virtual machines.
In some special scenarios, a user can connect to and operate multiple virtual machines through one zero terminal. In this case, the user is likely to need to transfer the same file between multiple virtual machines. In the face of this need, existing solutions can only resort to shared disks and usb disks, which are cumbersome for the user.
Disclosure of Invention
The purpose of the present disclosure is to overcome the defects in the prior art, and provide a data transmission method and system, a zero terminal and a cloud server, where the data transmission method can conveniently and quickly implement data transmission among multiple virtual machines based on a data copy mode.
According to a first aspect of the embodiments of the present disclosure, there is provided a data transmission method, including:
the method comprises the steps that a cloud server monitors whether data are written in a shear plate of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copying function;
if data are written in the shear plate of the current virtual machine, the cloud server generates data synchronization information according to the written data and transmits the data synchronization information to a zero terminal corresponding to the current virtual machine;
the zero terminal corresponding to the current virtual machine writes the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine;
and the cloud server pastes the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction.
In one embodiment, the data synchronization information includes a user name, data to be copied, and a current virtual machine identification.
In one embodiment, the writing, by the zero terminal corresponding to the current virtual machine, the data synchronization information into the clipboards of the remaining virtual machines associated with the current virtual machine includes:
a zero terminal corresponding to the current virtual machine determines the current virtual machine in a plurality of virtual machines connected with the zero terminal according to the current virtual machine identifier;
and the zero terminal corresponding to the current virtual machine writes the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine.
In one embodiment, the method includes, at least in part,
if the data to be copied is a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is source data;
the cloud server pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction comprises the following steps:
and the cloud server pastes the source data to target positions of other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the method comprises:
if the data to be copied is not a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is data acquisition position information;
the cloud server pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction comprises the following steps:
the cloud server sends data acquisition request information to a zero terminal corresponding to the current virtual machine according to the data acquisition position information, wherein the data acquisition request information is used for indicating the source of shared data;
receiving the data acquisition request information by a zero terminal corresponding to the current virtual machine, and sending the data acquisition request information to the current virtual machine;
and the cloud server receives the data acquisition request information and sends the data to be copied at the corresponding position to other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the method comprises:
the cloud server receives the data acquisition request information and sends the data to be copied at the corresponding position to a zero terminal corresponding to the current virtual machine;
and the zero terminal corresponding to the current virtual machine receives the data to be copied and sends the data to be copied to the other virtual machines related to the current virtual machine.
According to a second aspect of the embodiments of the present disclosure, there is provided a data transmission method applied to a cloud server, the method including:
monitoring whether data are written in a clipboard of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copy function;
if data are written in the shear plate of the current virtual machine, generating data synchronization information according to the written data, and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine;
instructing a zero terminal corresponding to the current virtual machine to write the data synchronization information into clipboards of other virtual machines related to the current virtual machine;
and pasting the data synchronization information to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the data synchronization information includes a user name, data to be copied, and a current virtual machine identification.
In one embodiment, the instructing the zero terminal corresponding to the current virtual machine to write the data synchronization information into the clipboards of the remaining virtual machines associated with the current virtual machine includes:
indicating a zero terminal corresponding to the current virtual machine to determine the current virtual machine in a plurality of virtual machines connected with the zero terminal according to the current virtual machine identifier;
and indicating the zero terminal corresponding to the current virtual machine to write the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine.
In one embodiment, the method comprises:
if the data to be copied is a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is source data;
pasting the data synchronization information to target positions of the other virtual machines related to the current virtual machine according to a user operation instruction comprises:
and pasting the source data to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the method comprises:
if the data to be copied is not a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is data acquisition position information;
pasting the data synchronization information to target positions of the other virtual machines related to the current virtual machine according to a user operation instruction comprises:
sending data acquisition request information to a zero terminal corresponding to the current virtual machine according to the data acquisition position information, wherein the data acquisition request information is used for indicating the source of shared data;
indicating a zero terminal corresponding to the current virtual machine to receive the data acquisition request information and sending the data acquisition request information to the current virtual machine;
and receiving the data acquisition request information, and sending the data to be copied at the corresponding position to other virtual machines related to the current virtual machine according to user operation instructions.
In one embodiment, the method comprises:
receiving the data acquisition request information, and sending the data to be copied at the corresponding position to a zero terminal corresponding to the current virtual machine;
and indicating the zero terminal corresponding to the current virtual machine to receive the data to be copied, and sending the data to be copied to the other virtual machines related to the current virtual machine.
According to a third aspect of the embodiments of the present disclosure, a data transmission method is provided, which is applied to a zero terminal, where the zero terminal corresponds to a current virtual machine, and the method includes:
acquiring data synchronization information generated by a cloud server according to data written in a shear plate of a current virtual machine;
and writing the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine.
According to a fourth aspect of the embodiments of the present disclosure, there is provided a cloud server, including:
the system comprises a monitoring unit, a copying unit and a copying unit, wherein the monitoring unit is used for monitoring whether data is written in a clipboard of a current virtual machine, and the current virtual machine is a virtual machine with a shared copying function;
the generating unit is used for generating data synchronization information according to the written data and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine if the data is written into the clipboard of the current virtual machine;
the indicating unit is used for indicating the zero terminal corresponding to the current virtual machine to write the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine;
and the pasting unit is used for pasting the data synchronization information to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction.
According to a fifth aspect of the embodiments of the present disclosure, there is provided a zero terminal, where the zero terminal is provided with a shared processing module, and the shared processing module includes:
the acquisition unit acquires data synchronization information generated by the cloud server according to data written in a shear plate of the current virtual machine;
and the writing unit is used for writing the data synchronization information into clipboards of other virtual machines related to the current virtual machine.
According to a sixth aspect of the embodiments of the present disclosure, a data transmission system is provided, where the data transmission system includes a cloud server and a zero terminal, where the cloud server runs with multiple virtual machines, and the zero terminal is connected to at least one of the virtual machines;
the cloud server is used for monitoring whether data are written in a shear plate of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copying function;
if data are written in the shear plate of the current virtual machine, the cloud server is used for generating data synchronization information according to the written data and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine;
the zero terminal corresponding to the current virtual machine is used for writing the data synchronization information into clipboards of other virtual machines related to the current virtual machine;
and the cloud server pastes the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction.
In one embodiment, the zero terminal corresponding to the current virtual machine is further configured to:
determining a current virtual machine in a plurality of virtual machines connected with a zero terminal according to the current virtual machine identifier; and sending the data synchronization information to the remaining virtual machines associated with the current virtual machine.
After a zero terminal is connected with a plurality of virtual machines, if a certain virtual machine starts a shared copy function, the virtual machine monitors a local clipboard, if data are written in the clipboard, the data copy operation is performed by a user at the moment, the virtual machine generates data synchronization information according to the current data to be copied, and sends the data synchronization information to a shared processing module in the zero terminal; and the sharing processing module distributes the data to be copied to each virtual machine associated with the current zero terminal, so that a user can copy the data by executing paste operation on an operation interface of each virtual machine.
Therefore, the data transmission method provided by the embodiment of the disclosure can conveniently and quickly realize data transmission among a plurality of virtual machines based on a data copy mode.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and together with the description, serve to explain the principles of the disclosure.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present disclosure.
Fig. 2 is a flowchart of a data transmission method according to an embodiment of the present disclosure.
Fig. 3 is a flowchart of a data transmission method according to an embodiment of the present disclosure.
Fig. 4 is a flowchart of a data transmission method according to an embodiment of the present disclosure.
Fig. 5 is an architecture diagram of a cloud server according to an embodiment of the present disclosure.
Fig. 6 is an architecture diagram of a zero terminal according to an embodiment of the present disclosure.
Fig. 7 is an architecture diagram of a data transmission device according to an embodiment of the present disclosure.
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 implementations described in the exemplary embodiments below are not intended to represent all implementations consistent with the present disclosure. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present disclosure, as detailed in the appended claims.
VDI, in brief, virtualizes your desktop by running a Windows system on the cluster servers of the data center. Users are connected with a virtual desktop (generally, a virtual machine) through a client computing protocol from a client device (zero terminal), the users can access the desktops of the users through the zero terminal just like accessing a traditional locally installed desktop, the users can be connected to the desktops which the users want to be connected at any time and any place as long as a network exists, IT personnel can manage desktop users and data more easily, and the data of the users are safer because all the data are in a service provider. Thereby obtaining the desktop image and controlling the obtained virtual desktop in a reverse control mode.
When one R end is connected with a plurality of virtual machines at the same time, the R end controls the multi-path connection at the same time, the connection picture is displayed by switching of split screens, double screens or single screens, and the state of the virtual machines is managed by the R end through user control.
Fig. 1 is a flowchart of a data transmission method according to an embodiment of the present disclosure. As shown in fig. 1, the method includes:
step 101, a cloud server monitors whether data are written in a shear plate of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copying function;
in this step, the zero terminal is simultaneously connected with multiple virtual machine pictures, such as a virtual machine a and a virtual machine B; at the moment, the user can start the shared copy function in a specific mode;
specifically, the user may start the shared copy function by setting a shortcut key or a corresponding configuration item, for example. Of course, the user may also turn off the shared copy function in a particular manner.
Step 102, if data are written in a shear plate of the current virtual machine, the cloud server generates data synchronization information according to the written data, and transmits the data synchronization information to a zero terminal corresponding to the current virtual machine;
in this step, when a user starts a shared copy function and data is written in a clipboard of a current virtual machine (virtual machine a), the virtual machine generates data synchronization information according to the written data and transmits the data synchronization information to a zero terminal corresponding to the data synchronization information;
specifically, the virtual machine monitors the data writing condition in the local clipboard, and synchronizes data synchronization information to a zero terminal, specifically a shared processing module in the zero terminal, once it is determined that data is written in the current clipboard;
it should be noted that, the data synchronization information may be { user: 'user a'; clipbrd: 'data'; flag: 'virtual machine a', where user information and tag information are bound based on security considerations.
The meaning of the parameters is as follows:
a user: a user name; clipbrd: shearing the contents of the plate; flag: the virtual machine tag can be a virtual machine name and is to be unique.
In one embodiment, the data synchronization information includes a user name, data to be copied, and a current virtual machine identification.
103, writing the data synchronization information into clipboards of other virtual machines related to the current virtual machine by a zero terminal corresponding to the current virtual machine;
in this step, after the zero terminal acquires the data synchronization information, the data to be copied (the content in the clipbrd) in the data synchronization information is written into the clipboard of each virtual machine associated with the current virtual machine.
In one embodiment, as shown in fig. 2, the writing, by the zero terminal corresponding to the current virtual machine, the data synchronization information to the clipboards of the remaining virtual machines associated with the current virtual machine includes:
step 201, a zero terminal corresponding to a current virtual machine determines the current virtual machine in a plurality of virtual machines connected with the zero terminal according to the current virtual machine identifier;
step 202, the zero terminal corresponding to the current virtual machine writes the data synchronization information into clipboards of other virtual machines associated with the current virtual machine.
Specifically, after the zero terminal establishes connection with each virtual machine, the information of each virtual machine connected with the zero terminal is locally recorded; therefore, when the zero terminal receives the data synchronization information sent by one virtual machine, the information of the current virtual machine is determined from the data synchronization information, and the data synchronization information is sent to other virtual machines except the current virtual machine; each associated virtual machine then writes the received data to the local clipboard memory.
And step 104, the cloud server pastes the data synchronization information to target positions of other virtual machines related to the current virtual machine according to the user operation instruction.
It should be noted that, in the embodiment of the present disclosure, the associated virtual machine refers to a virtual machine connected to the same zero terminal, and in actual implementation, when the zero terminal initiates a connection to the virtual machine, information of the current zero terminal needs to be reported, so that the user connection management platform in the cloud server records a current connection state.
In an embodiment, if the data to be copied is a file, the data written into the clipboards of the other virtual machines associated with the current virtual machine is source data;
the cloud server pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction comprises the following steps:
and the cloud server pastes the source data to target positions of other virtual machines related to the current virtual machine according to the user operation instruction.
In an embodiment, if the data to be copied is not a file, the data written in the clipboards of the other virtual machines associated with the current virtual machine is data acquisition location information;
the cloud server pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction comprises the following steps:
the cloud server sends data acquisition request information to a zero terminal corresponding to the current virtual machine according to the data acquisition position information, wherein the data acquisition request information is used for indicating the source of shared data;
receiving the data acquisition request information by a zero terminal corresponding to the current virtual machine, and sending the data acquisition request information to the current virtual machine;
and the cloud server receives the data acquisition request information and sends the data to be copied at the corresponding position to other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the cloud server receives the data acquisition request information, and sends the data to be copied at the corresponding position to a zero terminal corresponding to the current virtual machine;
and the zero terminal corresponding to the current virtual machine receives the data to be copied and sends the data to be copied to the other virtual machines related to the current virtual machine.
Illustratively, when the user performs a paste operation on the virtual machine B, there are two cases: (1) when the data in the clipbrd is the data such as text, picture, excel and the like, the source data is stored in the clipboard, so that the clipboard can be directly pasted; (2) when the data in the clipbrd is a file, the virtual machine B adds data acquisition position information in the synchronized information, then the virtual machine B requests the zero terminal to acquire the data according to the data acquisition position information, after receiving the information, the zero terminal requests the corresponding virtual machine (virtual machine A) for data to be copied at a corresponding position, sends the acquired data to the virtual machine B, and the virtual machine B copies the data to a specified position;
it should be noted that, in the embodiment of the present disclosure, the "data obtaining information" is described above to tell the zero terminal which virtual machine, such as virtual machine a, the current shared data originates from.
Specifically, the zero terminal acquires data from the virtual machine A, the virtual machine A searches for relevant files according to file positions in a self clipboard, then the files are directly transmitted to the virtual machine B through a transmission protocol or transmitted to the virtual machine B through the zero terminal, and after the virtual machine B takes the files, the files are controlled to be stored in a specified position.
Fig. 3 is a flowchart of a data transmission method according to an embodiment of the present disclosure. As shown in fig. 3, the data transmission method is applied to a cloud server, and includes:
step 301, monitoring whether data is written in a clipboard of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copy function;
step 302, if data are written in the clipboard of the current virtual machine, generating data synchronization information according to the written data, and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine;
step 303, instructing a zero terminal corresponding to the current virtual machine to write the data synchronization information into clipboards of other virtual machines associated with the current virtual machine;
and step 304, pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction.
In one embodiment, the data synchronization information includes a user name, data to be copied, and a current virtual machine identification.
In one embodiment, the instructing the zero terminal corresponding to the current virtual machine to write the data synchronization information into the clipboards of the remaining virtual machines associated with the current virtual machine includes:
indicating a zero terminal corresponding to the current virtual machine to determine the current virtual machine in a plurality of virtual machines connected with the zero terminal according to the current virtual machine identifier;
and indicating the zero terminal corresponding to the current virtual machine to write the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine.
In one embodiment, the method comprises:
if the data to be copied is a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is source data;
the pasting the data synchronization information to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction comprises:
and pasting the source data to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the method comprises:
if the data to be copied is not a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is data acquisition position information;
the pasting the data synchronization information to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction comprises:
sending data acquisition request information to a zero terminal corresponding to the current virtual machine according to the data acquisition position information, wherein the data acquisition request information is used for indicating the source of shared data;
indicating a zero terminal corresponding to the current virtual machine to receive the data acquisition request information and sending the data acquisition request information to the current virtual machine;
and the data acquisition request information sends the data to be copied at the corresponding position to other virtual machines related to the current virtual machine according to the user operation instruction.
In one embodiment, the method comprises:
receiving the data acquisition request information, and sending the data to be copied at the corresponding position to a zero terminal corresponding to the current virtual machine;
and indicating the zero terminal corresponding to the current virtual machine to receive the data to be copied, and sending the data to be copied to the other virtual machines related to the current virtual machine.
Fig. 4 is a flowchart of a data transmission method according to an embodiment of the present disclosure. The data transmission method is applied to a zero terminal, which corresponds to a current virtual machine, and as shown in fig. 4, the method includes:
step 401, acquiring data synchronization information generated by a cloud server according to data written in a clipboard of a current virtual machine;
step 402, writing the data synchronization information into clipboards of other virtual machines associated with the current virtual machine.
Fig. 5 is an architecture diagram of a cloud server according to an embodiment of the present disclosure. As shown in fig. 5, the cloud server includes: a monitoring unit 501, a generating unit 502, an indicating unit 503, and a pasting unit 504; the monitoring unit 501 is configured to monitor whether data is written in a clipboard of a current virtual machine, where the current virtual machine is a virtual machine with a shared copy function; the generating unit 502 is configured to write data into the clipboard of the current virtual machine, generate data synchronization information according to the written data, and transmit the data synchronization information to a zero terminal corresponding to the current virtual machine; the indicating unit 503 is configured to instruct a zero terminal corresponding to the current virtual machine to write the data synchronization information into clipboards of other virtual machines associated with the current virtual machine; the pasting unit 504 is configured to paste the data synchronization information to target locations of the remaining virtual machines associated with the current virtual machine according to a user operation instruction.
Fig. 6 is an architecture diagram of a data transmission device according to an embodiment of the present disclosure. As shown in fig. 6, a sharing processing module is arranged on the zero terminal, and the sharing processing module includes an obtaining unit 601 and a writing unit 602, where the obtaining unit 601 is configured to obtain data synchronization information generated by the cloud server according to data written in the clipboard of the current virtual machine; the writing unit 602 is configured to write the data synchronization information into clipboards of the remaining virtual machines associated with the current virtual machine.
Fig. 7 is a schematic diagram of a data transmission system according to an embodiment of the present disclosure. As shown in fig. 7, the system includes: the data transmission system comprises a cloud server 701 and a zero terminal 702, wherein a plurality of virtual machines 7011 run on the cloud server 701, and the zero terminal 702 is connected with at least one virtual machine 7011;
the cloud server 701 is configured to monitor whether data is written in a clipboard of a current virtual machine 7011, where the current virtual machine 7011 is a virtual machine with a shared copy function;
if data is written into the clipboard of the current virtual machine 7011, the cloud server 701 is configured to generate data synchronization information according to the written data, and transmit the data synchronization information to the zero terminal 702 corresponding to the current virtual machine;
the zero terminal 702 corresponding to the current virtual machine is configured to write the data synchronization information into the clipboards of the other virtual machines 7011 associated with the current virtual machine;
the remaining virtual machines 7011 associated with the current virtual machine are configured to paste the data synchronization information to the target location according to a user operation instruction.
It should be noted that, the zero terminal 702 is provided with a shared processing module 7021, and the shared processing module 7021 performs specific operations.
In one embodiment, the zero terminal corresponding to the current virtual machine is further configured to:
determining a current virtual machine in a plurality of virtual machines connected with a zero terminal according to the current virtual machine identifier; sending the data synchronization information to other virtual machines related to the current virtual machine;
and the other virtual machines related to the current virtual machine are also used for writing the data to be copied into the corresponding clipboards according to the user operation instruction.
After a zero terminal is connected with a plurality of virtual machines, if a certain virtual machine starts a shared copy function, the virtual machine monitors a local clipboard, if data are written in the clipboard, the data copy operation is performed by a user at the moment, the virtual machine generates data synchronization information according to the current data to be copied, and sends the data synchronization information to a shared processing module in the zero terminal; and the sharing processing module distributes the data to be copied to each virtual machine associated with the current zero terminal, so that a user can copy the data by executing paste operation on an operation interface of each virtual machine.
Therefore, the data transmission method provided by the embodiment of the disclosure can conveniently and quickly realize data transmission among a plurality of virtual machines based on a data copy mode.
Those of ordinary skill in the art will understand that: all or a portion of the steps of implementing the above-described method embodiments may be performed by hardware associated with program instructions. The aforementioned program may be preset in a computer-readable storage medium. When executed, the program performs steps comprising the method embodiments described above; and the aforementioned storage medium includes: various media that can store program codes, such as ROM, RAM, magnetic or optical disks.
Other embodiments of the disclosure will be apparent to those skilled in the art from consideration of the specification and practice of the disclosure disclosed herein. This disclosure is intended to cover any variations, uses, or adaptations of the disclosure following, in general, the principles of the disclosure and including such departures from the present disclosure as come within known or customary practice within the art to which the disclosure pertains. It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
It will be understood that the present disclosure 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 present disclosure is limited only by the appended claims.

Claims (10)

1. A method of data transmission, the method comprising:
the method comprises the steps that a cloud server monitors whether data are written in a shear plate of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copying function;
if data are written in the shear plate of the current virtual machine, the cloud server generates data synchronization information according to the written data and transmits the data synchronization information to a zero terminal corresponding to the current virtual machine; the data synchronization information comprises a user name, data to be copied and a current virtual machine identifier;
the zero terminal corresponding to the current virtual machine writes the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine;
and the cloud server pastes the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction.
2. The method of claim 1, wherein the writing of the data synchronization information by the zero terminal corresponding to the current virtual machine to the clipboards of the remaining virtual machines associated with the current virtual machine comprises:
a zero terminal corresponding to the current virtual machine determines the current virtual machine in a plurality of virtual machines connected with the zero terminal according to the current virtual machine identifier;
and the zero terminal corresponding to the current virtual machine writes the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine.
3. The method of claim 2, wherein the method comprises:
if the data to be copied is a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is source data;
the cloud server pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction comprises the following steps:
and the cloud server pastes the source data to target positions of other virtual machines related to the current virtual machine according to the user operation instruction.
4. The method of claim 2, wherein the method comprises:
if the data to be copied is not a file, the data written into the shear plates of the other virtual machines related to the current virtual machine is data acquisition position information;
the cloud server pasting the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction comprises the following steps:
the cloud server sends data acquisition request information to a zero terminal corresponding to the current virtual machine according to the data acquisition position information, wherein the data acquisition request information is used for indicating the source of shared data;
receiving the data acquisition request information by a zero terminal corresponding to the current virtual machine, and sending the data acquisition request information to the current virtual machine;
and the cloud server receives the data acquisition request information and sends the data to be copied at the corresponding position to other virtual machines related to the current virtual machine according to the user operation instruction.
5. The method of claim 4, wherein the method comprises:
the cloud server receives the data acquisition request information and sends the data to be copied at the corresponding position to a zero terminal corresponding to the current virtual machine;
and the zero terminal corresponding to the current virtual machine receives the data to be copied and sends the data to be copied to the other virtual machines related to the current virtual machine.
6. A data transmission method is applied to a cloud server, and is characterized by comprising the following steps:
monitoring whether data are written in a clipboard of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copy function;
if data are written in the shear plate of the current virtual machine, generating data synchronization information according to the written data, and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine;
instructing a zero terminal corresponding to the current virtual machine to write the data synchronization information into clipboards of other virtual machines related to the current virtual machine;
and pasting the data synchronization information to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction.
7. A data transmission method is applied to a zero terminal, wherein the zero terminal corresponds to a current virtual machine, and the method is characterized by comprising the following steps:
acquiring data synchronization information generated by a cloud server according to data written in a shear plate of a current virtual machine;
and writing the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine.
8. A cloud server, the cloud server comprising:
the system comprises a monitoring unit, a copying unit and a copying unit, wherein the monitoring unit is used for monitoring whether data is written in a clipboard of a current virtual machine, and the current virtual machine is a virtual machine with a shared copying function;
the generating unit is used for generating data synchronization information according to the written data and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine if the data is written into the clipboard of the current virtual machine;
the indicating unit is used for indicating the zero terminal corresponding to the current virtual machine to write the data synchronization information into the clipboards of the other virtual machines related to the current virtual machine;
and the pasting unit is used for pasting the data synchronization information to the target positions of the other virtual machines related to the current virtual machine according to the user operation instruction.
9. The zero terminal is characterized in that a sharing processing module is arranged on the zero terminal, and the sharing processing module comprises:
the acquisition unit acquires data synchronization information generated by the cloud server according to data written in a shear plate of the current virtual machine;
and the writing unit is used for writing the data synchronization information into clipboards of other virtual machines related to the current virtual machine.
10. The data transmission system is characterized by comprising a cloud server and a zero terminal, wherein a plurality of virtual machines run on the cloud server, and the zero terminal is connected with at least one virtual machine;
the cloud server is used for monitoring whether data are written in a shear plate of a current virtual machine, wherein the current virtual machine is a virtual machine with a shared copying function;
if data are written in the shear plate of the current virtual machine, the cloud server is used for generating data synchronization information according to the written data and transmitting the data synchronization information to a zero terminal corresponding to the current virtual machine;
the zero terminal corresponding to the current virtual machine is used for writing the data synchronization information into clipboards of other virtual machines related to the current virtual machine;
and the cloud server pastes the data synchronization information to target positions of other virtual machines related to the current virtual machine according to a user operation instruction.
CN202110842715.1A 2021-07-26 2021-07-26 Data transmission method and system, zero terminal and cloud server Pending CN113726852A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110842715.1A CN113726852A (en) 2021-07-26 2021-07-26 Data transmission method and system, zero terminal and cloud server

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110842715.1A CN113726852A (en) 2021-07-26 2021-07-26 Data transmission method and system, zero terminal and cloud server

Publications (1)

Publication Number Publication Date
CN113726852A true CN113726852A (en) 2021-11-30

Family

ID=78673971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110842715.1A Pending CN113726852A (en) 2021-07-26 2021-07-26 Data transmission method and system, zero terminal and cloud server

Country Status (1)

Country Link
CN (1) CN113726852A (en)

Similar Documents

Publication Publication Date Title
US10356194B2 (en) Method, system and client for uploading image, network server and computer storage medium
JP6397113B2 (en) Opening unsupported file formats through remoting sessions
US9092252B2 (en) Information processing apparatus, client management system, and client management method
JP4242819B2 (en) Computer system having a terminal capable of working offline
US20080115144A1 (en) Method and Apparatus for Web Based Storage on Demand
CN109918359B (en) Database service persistence method and system based on sweep
US10324744B2 (en) Triggering application attachment based on service login
CN106790713B (en) Across data center virtual machine migration method under cloud computing environment
CN108093015B (en) File transmission system
CN105338048A (en) File transmission method and system under virtual desktop infrastructure
CN111045781B (en) Method, device and storage medium for creating mirror image by cloud platform
US10474491B2 (en) Method and apparatus for managing cloud server in cloud environment
KR20050114047A (en) Method and server for servicing remote clients
KR20130011130A (en) Memo synchronization system, mobile system and memo synchronization method for synchronizing memo data
WO2019233088A1 (en) Inter-bmc file transmission method, device and apparatus, and storage medium
WO2024082857A1 (en) Data migration method and system, and related apparatus
CN111225003A (en) NFS node configuration method and device
JP2013003691A (en) Computing system and disk sharing method in computing system
EP3893465A1 (en) Method, device, and system for disk redirection
CN113726852A (en) Data transmission method and system, zero terminal and cloud server
JP5491934B2 (en) Server apparatus, information processing system control method, and program
EP3695312B1 (en) System and method for creating virtual disk images for use with remote computer
CN113360297A (en) Data sharing method and device
CN113676517A (en) Data transmission method, device and system
KR101618992B1 (en) System for providing virtual desktop service, control method thereof, recording medium for recording program for executing the control method, application saved in the recording medium for executing the control method being combined with hardware

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication