CN113923253A - Virtual machine image transmission method, electronic equipment and storage medium - Google Patents

Virtual machine image transmission method, electronic equipment and storage medium Download PDF

Info

Publication number
CN113923253A
CN113923253A CN202111185230.6A CN202111185230A CN113923253A CN 113923253 A CN113923253 A CN 113923253A CN 202111185230 A CN202111185230 A CN 202111185230A CN 113923253 A CN113923253 A CN 113923253A
Authority
CN
China
Prior art keywords
virtual machine
information
server
image transmission
cloud server
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111185230.6A
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 CN202111185230.6A priority Critical patent/CN113923253A/en
Publication of CN113923253A publication Critical patent/CN113923253A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/44Arrangements for executing specific programs
    • G06F9/451Execution arrangements for user interfaces
    • G06F9/452Remote windowing, e.g. X-Window System, desktop virtualisation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network

Abstract

The embodiment of the disclosure relates to a virtual machine image transmission method, electronic equipment and a storage medium. The method comprises the following steps: a first virtual machine initiates an image transmission request to a second virtual machine and acquires server information of the second virtual machine; the first virtual machine receives server information of the second virtual machine, and judges the position relation between the second virtual machine and the first virtual machine according to the server information of the second virtual machine; the first virtual machine determines an image transmission method according to the position relation between the second virtual machine and the first virtual machine; and the first virtual machine transmits the image to the second virtual machine according to the determined image transmission method. According to the image transmission method for the virtual machines, the optimal transmission scheme can be selected according to the position relation between the two virtual machines in the scene of image transmission between the two virtual machines, so that network resources are saved, and the transmission efficiency is greatly improved.

Description

Virtual machine image transmission method, electronic equipment and storage medium
Technical Field
The embodiment of the disclosure relates to the technical field of image transmission, and in particular relates to a virtual machine image transmission method, electronic equipment and a storage medium.
Background
The basic structure of the existing cloud desktop system can be referred to fig. 1. As shown in fig. 1, the cloud desktop system is based on a ten-thousand-image VGTP image transfer protocol (VGTP is a real-time image compression transmission protocol, is completely independent and autonomous and controllable, has core technologies such as multiple encoders, progressive encoding, visual lossless image transfer, network bandwidth adaptation, QoS, and the like, and supports audio transmission and a reverse control channel), 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 desktop, transmitting local mouse and keyboard information to the cloud end in a reverse direction, and injecting the information into a cloud desktop corresponding to the current R end by the cloud end, wherein the cloud desktop is generated by virtual machines/physical machines (VM/PM) distributed to a current zero terminal by a cloud server; the S end is an image acquisition and coding module running in the cloud virtual OS and is responsible for performing an injection function of user input data. The cloud server is generally based on an IAAS (Infrastructure as a Service) architecture, and is a server with a strong virtual host, which may provide management functions of multiple virtual machines through hypervisor (a middle layer software running between a physical server and an operating system, which may allow multiple operating systems and applications to share a set of basic physical hardware), and provide a running hardware environment for a virtual machine/a physical machine VM/PM.
The cloud desktop system has been widely used in fields such as offices, games, and the like. In some scenarios, one virtual machine user needs to send the whole desktop image or a certain application window of the user to another virtual machine user, for example, one game user pushes the game picture of the user to another game user, so as to jointly complete a multi-player battle game. In the prior art, a sending end virtual machine generally sends an image to a receiving end virtual machine through a network aiming at the scene, but in a real scene, the position relations of the virtual machines at the two sending and receiving ends are various, and the virtual machines are transmitted through the network, so that not only can the waste of resources be caused, but also the transmission efficiency can be reduced, and the technical improvement is needed.
Accordingly, there is a need to ameliorate one or more of the problems with the related art solutions described above.
It is to be noted that the information disclosed in the above background section is only for enhancement of understanding of the background of the present disclosure, and thus may include information that does not constitute prior art known to those of ordinary skill in the art.
Disclosure of Invention
An object of the embodiments of the present disclosure is to provide a virtual machine image transmission method, an electronic device, and a storage medium, which overcome one or more of the problems due to the limitations and disadvantages of the related art, at least to some extent.
According to a first aspect of the embodiments of the present disclosure, there is provided a virtual machine image transmission method, including:
a first virtual machine initiates an image transmission request to a second virtual machine and acquires server information of the second virtual machine;
the first virtual machine receives server information of the second virtual machine, and judges the position relation between the second virtual machine and the first virtual machine according to the server information of the second virtual machine;
the first virtual machine determines an image transmission method according to the position relation between the second virtual machine and the first virtual machine;
and the first virtual machine transmits the image to the second virtual machine according to the determined image transmission method.
In an exemplary embodiment of the present disclosure, the initiating, by the first virtual machine, an image transmission request to the second virtual machine, and acquiring server information of the second virtual machine includes:
the first virtual machine stores identification information of a cloud server where the first virtual machine is located;
the first virtual machine stores identification information of other cloud servers in a cluster where the cloud server where the first virtual machine is located.
In an exemplary embodiment of the present disclosure, the receiving, by the first virtual machine, server information of the second virtual machine, and determining a position relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine includes:
if the identification information of the cloud server where the second virtual machine is located is the same as the identification information of the cloud server where the first virtual machine is located;
and judging that the second virtual machine and the first virtual machine are located in the same cloud server.
In an exemplary embodiment of the present disclosure, the receiving, by the first virtual machine, server information of the second virtual machine, and determining a position relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine includes:
if the identification information of the cloud server where the second virtual machine is located is different from the identification information of the cloud server where the first virtual machine is located, but the identification information of the cloud server where the second virtual machine is located is the same as the identification information of other cloud servers in the cluster where the cloud server where the first virtual machine is located;
and judging that the second virtual machine and the first virtual machine are respectively located in different cloud servers in the same cluster.
In an exemplary embodiment of the present disclosure, the receiving, by the first virtual machine, server information of the second virtual machine, and determining a position relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine includes:
if the identification information of the cloud server where the second virtual machine is located is different from the identification information of all cloud servers in the cluster where the cloud server where the first virtual machine is located;
and judging that the second virtual machine and the first virtual machine are located in different clusters on the cloud server.
In an exemplary embodiment of the present disclosure, the image transmission from the first virtual machine to the second virtual machine according to the determined image transmission method includes:
and opening an intercommunication channel between the first virtual machine and the second virtual machine, and directly carrying out image transmission between the first virtual machine and the second virtual machine.
In an exemplary embodiment of the present disclosure, the image transmission from the first virtual machine to the second virtual machine according to the determined image transmission method includes:
the first virtual machine sends image information to the switch;
the switch receives and sends the image information to a cloud server where the second virtual machine is located;
searching the second virtual machine in a cluster where a cloud server where the second virtual machine is located;
and sending the image information to the second virtual machine.
In an exemplary embodiment of the present disclosure, the image transmission from the first virtual machine to the second virtual machine according to the determined image transmission method includes:
and the first virtual machine transmits images to the second virtual machine through a network.
According to a second aspect of the embodiments of the present disclosure, there is provided an electronic apparatus including:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to execute the steps of the virtual machine image transmission method according to any one of the above embodiments via executing the executable instructions.
According to a third aspect of the embodiments of the present disclosure, there is provided a computer-readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the virtual machine image transmission method described in any one of the above embodiments.
The technical scheme provided by the embodiment of the disclosure can have the following beneficial effects:
in the embodiment of the disclosure, by the virtual machine image transmission method, in a scene in which image transmission is performed between two virtual machines, an optimal transmission scheme can be selected according to the position relationship between the two virtual machines, so that network resources are saved, and transmission efficiency is greatly improved.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the disclosure.
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. It is to be understood that the drawings in the following description are merely exemplary of the disclosure, and that other drawings may be derived from those drawings by one of ordinary skill in the art without the exercise of inventive faculty.
FIG. 1 illustrates a schematic diagram of a cloud desktop system in the prior art;
FIG. 2 is a schematic diagram illustrating a positional relationship between a first virtual machine and a second virtual machine in an exemplary embodiment of the disclosure;
FIG. 3 illustrates a flow chart of a virtual machine image transfer method in an exemplary embodiment of the present disclosure;
fig. 4 is a flowchart illustrating a first virtual machine initiating an image transmission request to a second virtual machine and acquiring server information of the second virtual machine in an exemplary embodiment of the present disclosure;
fig. 5 is a flowchart illustrating that the first virtual machine receives server information of the second virtual machine, and determines a location relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine in an exemplary embodiment of the disclosure;
fig. 6 is a flowchart illustrating the first virtual machine receiving server information of the second virtual machine and determining a location relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine in another exemplary embodiment of the disclosure;
fig. 7 is a flowchart illustrating that the first virtual machine receives server information of the second virtual machine, and determines a location relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine in an exemplary embodiment of the disclosure;
FIG. 8 illustrates a flow chart of the first virtual machine performing image transfer to the second virtual machine according to the determined image transfer method in an exemplary embodiment of the present disclosure;
FIG. 9 illustrates a flow chart of the first virtual machine performing an image transfer to the second virtual machine according to the determined image transfer method in yet another exemplary embodiment of the present disclosure;
FIG. 10 illustrates a flow chart of the first virtual machine performing an image transfer to the second virtual machine according to the determined image transfer method in yet another exemplary embodiment of the present disclosure;
FIG. 11 shows a schematic structural diagram of an electronic device in an exemplary embodiment of the present disclosure;
fig. 12 is a schematic structural diagram of a program product for implementing a virtual machine image transmission method in an exemplary embodiment of the present disclosure.
Detailed Description
Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many different forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete, and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus their repetitive description will be omitted. Some of the block diagrams shown in the figures are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities may be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and/or processor devices and/or microcontroller devices.
First, in this exemplary embodiment, a virtual machine image transmission method is provided, and as shown in fig. 3, the method may include the following steps:
step S101, a first virtual machine initiates an image transmission request to a second virtual machine and obtains server information of the second virtual machine;
step S102, the first virtual machine receives server information of the second virtual machine, and judges the position relation between the second virtual machine and the first virtual machine according to the server information of the second virtual machine;
step S103, the first virtual machine determines an image transmission method according to the position relation between the second virtual machine and the first virtual machine;
and step S104, the first virtual machine transmits the image to the second virtual machine according to the determined image transmission method.
By the method, when the first virtual machine sends the image to the second virtual machine, the server information of the second virtual machine needs to be acquired, and after the server information of the second virtual machine is acquired, the position relationship between the two virtual machines is judged according to the information, wherein different position relationships correspond to different image transmission methods. By the virtual machine image transmission method, the optimal transmission scheme can be selected according to the position relation between the two virtual machines in the scene of image transmission between the two virtual machines, so that network resources are saved, and the transmission efficiency is greatly improved.
Hereinafter, the respective steps of the above-described method in the present exemplary embodiment will be described in more detail with reference to fig. 2 to 10.
In step S101, the first virtual machine is located on a first cloud server, the second virtual machine is located on a second cloud server, the server information of the second virtual machine is the identification information of the second cloud server, and the first virtual machine also has its own server information, which is the identification information of the first cloud server. Each virtual machine has its own server information, and is the identification information of its corresponding cloud server, which is used to distinguish the virtual machines. The identification information may be, for example, an IP address, a MAC address, etc., but is not limited thereto.
In some embodiments, referring to fig. 4, the step S101 further includes the following steps:
step S201, the first virtual machine stores identification information of a first cloud server where the first virtual machine is located. Specifically, for example, the cluster 1 may include a plurality of servers (11, 12 · 1n), and the cluster 2 also includes a plurality of servers (21, 22 · 2n), where the first virtual machine is in the cluster 1, and the first virtual machine needs to store the identification information of its own server, and may store the identification information to the local or cloud.
Step S202, the first virtual machine stores identification information of other cloud servers in the cluster where the first cloud server is located. Specifically, as described in the foregoing steps, the first virtual machine stores identification information of cloud servers corresponding to other virtual machines in the cluster 1 except the first virtual machine, so as to serve as a basis in subsequent determination of the location relationship.
The position relationship between the first virtual machine and the second virtual machine generally includes the following three cases:
case 1, in some embodiments, referring to fig. 5, the step S102 may include the following steps:
in step S301, if the identification information of the cloud server where the second virtual machine is located is the same as the identification information of the cloud server where the first virtual machine is located.
Step S302, it is determined that the second virtual machine and the first virtual machine are located on the same cloud server.
In case 2, in some embodiments, please refer to fig. 6, the step S102 may further include the following steps:
step S401, if the identification information of the cloud server where the second virtual machine is located is different from the identification information of the cloud server where the first virtual machine is located, but the identification information of the cloud server where the second virtual machine is located is the same as the identification information of the other cloud servers in the cluster where the cloud server where the first virtual machine is located;
step S402, determining that the second virtual machine and the first virtual machine are respectively located in different cloud servers in the same cluster.
In some embodiments, referring to fig. 7, the step S102 may further include the following steps:
in case 3, in step S501, if the identification information of the cloud server where the second virtual machine is located is different from the identification information of all cloud servers in the cluster where the cloud server where the first virtual machine is located;
step S502, determining that the second virtual machine and the first virtual machine are located in different clusters on the cloud server.
For the three position relationships, the method correspondingly comprises the following three image transmission modes:
in the method 1, when the position relationship between the first virtual machine and the second virtual machine is the case 1, in some embodiments, referring to fig. 8, the step S104 may include the following steps:
step S601, opening an intercommunication channel between the first virtual machine and the second virtual machine, and directly performing image transmission between the first virtual machine and the second virtual machine. Image transmission among the virtual machines is not needed through the network, and network resources are saved.
In mode 2, when the position relationship between the first virtual machine and the second virtual machine is case 2, in some embodiments, referring to fig. 9, the step S104 may further include the following steps:
step S701, the first virtual machine sends image information to a switch;
step S702, the switch receives and sends the image information to a cloud server where the second virtual machine is located;
step S703, searching for the second virtual machine in a cluster in which a cloud server in which the second virtual machine is located;
step S704, sending the image information to the second virtual machine.
In manner 3, when the position relationship between the first virtual machine and the second virtual machine is case 3, in some embodiments, referring to fig. 10, the step S104 may further include the following steps:
step S801, the first virtual machine performs image transmission to the second virtual machine through a network.
In any of the above embodiments, the image transmitted from the first virtual machine to the second virtual machine may be divided into two cases: firstly, the first virtual machine sends the whole picture of the desktop of the first virtual machine to the second virtual machine, and a receiving end of the second virtual machine can carry out any operation on the whole first virtual machine and has all execution authorities; secondly, the first virtual machine sends a picture of a certain software window in the first virtual machine to the second virtual machine, and a receiving end of the second virtual machine can perform any operation in the window, and has all execution authorities for the operation in the window, such as a game window, a video window, a design software window, and the like.
And the second virtual machine receives and decodes the image information sent by the first virtual machine, and displays the image. Specifically, in some embodiments, after the first virtual machine transmits the image information to the second virtual machine in the determined image transmission manner, the second virtual machine first decodes the image information and then performs rendering display. For the second virtual machine, not only the image sent by the first virtual machine can be directly viewed, but also the image sent by the first virtual machine can be reversely controlled.
With regard to the apparatus in the above-described embodiment, the specific manner in which each module performs the operation has been described in detail in the embodiment related to the method, and will not be elaborated here.
It should be noted that although several modules of the system for action execution are mentioned in the above detailed description, such division is not mandatory. Indeed, the features and functionality of two or more of the modules described above may be embodied in one module according to embodiments of the invention. Conversely, the features and functions of one module described above may be further divided into embodiments by a plurality of modules. The components shown as modules may or may not be physical units, i.e. may be located in one place or may be distributed over a plurality of network units. Some or all of the modules can be selected according to actual needs to achieve the purpose of the scheme of the invention. One of ordinary skill in the art can understand and implement it without inventive effort.
Referring to fig. 11, an embodiment of the present invention further provides an electronic device 300, where the electronic device 300 includes at least one memory 310, at least one processor 320, and a bus 330 connecting different platform systems.
The memory 310 may include readable media in the form of volatile memory, such as Random Access Memory (RAM)211 and/or cache memory 312, and may further include Read Only Memory (ROM) 313.
The memory 310 further stores a computer program, and the computer program can be executed by the processor 320, so that the processor 320 executes the steps of the virtual machine image transmission method in any embodiment of the present invention, and a specific implementation manner of the method is consistent with the implementation manner and the achieved technical effect described in the foregoing embodiments of the virtual machine image transmission method, and details of some of the contents are not repeated.
The memory 310 may also include a utility 314 having at least one program module 315, such program modules 315 including, but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which, or some combination thereof, may comprise an implementation of a network environment.
Accordingly, the processor 320 may execute the computer programs described above, and may execute the utility 314.
Bus 330 may represent one or more of any of several types of bus structures, including a memory bus or memory controller, a peripheral bus, an accelerated graphics port, a processor, or a local bus using any of a variety of bus architectures.
The electronic device 300 may also communicate with one or more external devices 340, such as a keyboard, pointing device, bluetooth device, etc., and may also communicate with one or more devices capable of interacting with the electronic device 300, and/or with any devices (e.g., routers, modems, etc.) that enable the electronic device 300 to communicate with one or more other computing devices. Such communication may be through input-output interface 350. Also, the electronic device 300 may communicate with one or more networks (e.g., a Local Area Network (LAN), a Wide Area Network (WAN), and/or a public network, such as the internet) via the network adapter 360. Network adapter 360 may communicate with other modules of electronic device 300 via bus 330. It should be appreciated that although not shown in the figures, other hardware and/or software modules may be used in conjunction with electronic device 300, including but not limited to: microcode, device drivers, redundant processors, external disk drive arrays, RAID systems, tape drives, and data backup storage platforms, to name a few.
The embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium is used for storing a computer program, and when the computer program is executed, the steps of the virtual machine image transmission method in the embodiment of the present invention are implemented, and a specific implementation manner of the steps is consistent with the implementation manner and the achieved technical effect described in the embodiment of the virtual machine image transmission method, and some contents are not described again.
Fig. 12 shows a program product 400 provided by the present embodiment for implementing the virtual machine image transmission method, which may employ a portable compact disc read only memory (CD-ROM) and include program codes, and may be run on a terminal device, such as a personal computer. However, the program product 400 of the present invention is not limited in this respect, and in the present invention, a readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device. Program product 400 may employ any combination of one or more readable media. The readable medium may be a readable signal medium or a readable storage medium. A readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination of the foregoing. More specific examples (a non-exhaustive list) of the readable storage medium include: an electrical connection having one or more wires, a portable disk, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
A computer readable storage medium may include a propagated data signal with readable program code embodied therein, for example, in baseband or as part of a carrier wave. Such a propagated data signal may take many forms, including, but not limited to, electro-magnetic, optical, or any suitable combination thereof. A readable storage medium may also be any readable medium that can communicate, propagate, or transport the program for use by or in connection with the instruction execution system, apparatus, or device. Program code embodied on a readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wireline, optical fiber cable, RF, etc., or any suitable combination of the foregoing. Program code for carrying out operations for aspects of the present invention may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C + + or the like and conventional procedural programming languages, such as the C language or similar programming languages. The program code may execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's computing device and partly on a remote computing device, or entirely on the remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any kind of network, including a Local Area Network (LAN) or a Wide Area Network (WAN), or may be connected to an external computing device (e.g., through the internet using an internet service provider).
While the present invention has been described with reference to the embodiments shown in the drawings, the present invention is not limited to the embodiments, which are illustrative and not restrictive, and it will be apparent to those skilled in the art that various changes and modifications can be made therein without departing from the spirit and scope of the invention as defined in the appended claims.

Claims (10)

1. A virtual machine image transmission method is characterized by comprising the following steps:
a first virtual machine initiates an image transmission request to a second virtual machine and acquires server information of the second virtual machine;
the first virtual machine receives server information of the second virtual machine, and judges the position relation between the second virtual machine and the first virtual machine according to the server information of the second virtual machine;
the first virtual machine determines an image transmission method according to the position relation between the second virtual machine and the first virtual machine;
and the first virtual machine transmits the image to the second virtual machine according to the determined image transmission method.
2. The method according to claim 1, wherein the first virtual machine initiates an image transmission request to a second virtual machine and obtains server information of the second virtual machine, including:
the first virtual machine stores identification information of a cloud server where the first virtual machine is located;
the first virtual machine stores identification information of other cloud servers in a cluster where the cloud server where the first virtual machine is located.
3. The method according to claim 1, wherein the receiving, by the first virtual machine, the server information of the second virtual machine, and determining the position relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine, includes:
if the identification information of the cloud server where the second virtual machine is located is the same as the identification information of the cloud server where the first virtual machine is located;
and judging that the second virtual machine and the first virtual machine are located in the same cloud server.
4. The method according to claim 1, wherein the receiving, by the first virtual machine, the server information of the second virtual machine, and determining the position relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine, includes:
if the identification information of the cloud server where the second virtual machine is located is different from the identification information of the cloud server where the first virtual machine is located, but the identification information of the cloud server where the second virtual machine is located is the same as the identification information of other cloud servers in the cluster where the cloud server where the first virtual machine is located;
and judging that the second virtual machine and the first virtual machine are respectively located in different cloud servers in the same cluster.
5. The method according to claim 1, wherein the receiving, by the first virtual machine, the server information of the second virtual machine, and determining the position relationship between the second virtual machine and the first virtual machine according to the server information of the second virtual machine, includes:
if the identification information of the cloud server where the second virtual machine is located is different from the identification information of all cloud servers in the cluster where the cloud server where the first virtual machine is located;
and judging that the second virtual machine and the first virtual machine are located in different clusters on the cloud server.
6. The method of claim 3, wherein the first virtual machine performs image transfer to the second virtual machine according to the determined image transfer method, comprising:
and opening an intercommunication channel between the first virtual machine and the second virtual machine, and directly carrying out image transmission between the first virtual machine and the second virtual machine.
7. The method of claim 4, wherein the first virtual machine performs image transfer to the second virtual machine according to the determined image transfer method, comprising:
the first virtual machine sends image information to the switch;
the switch receives and sends the image information to a cloud server where the second virtual machine is located;
searching the second virtual machine in a cluster where a cloud server where the second virtual machine is located;
and sending the image information to the second virtual machine.
8. The method of claim 5, wherein the first virtual machine performs image transfer to the second virtual machine according to the determined image transfer method, comprising:
and the first virtual machine transmits images to the second virtual machine through a network.
9. An electronic device, comprising:
a processor; and
a memory for storing executable instructions of the processor;
wherein the processor is configured to perform the steps of the virtual machine image transmission method of any one of claims 1 to 8 via execution of the executable instructions.
10. A computer-readable storage medium, on which a computer program is stored, which, when being executed by a processor, carries out the steps of the virtual machine image transmission method according to any one of claims 1 to 8.
CN202111185230.6A 2021-10-12 2021-10-12 Virtual machine image transmission method, electronic equipment and storage medium Pending CN113923253A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111185230.6A CN113923253A (en) 2021-10-12 2021-10-12 Virtual machine image transmission method, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111185230.6A CN113923253A (en) 2021-10-12 2021-10-12 Virtual machine image transmission method, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN113923253A true CN113923253A (en) 2022-01-11

Family

ID=79239448

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111185230.6A Pending CN113923253A (en) 2021-10-12 2021-10-12 Virtual machine image transmission method, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN113923253A (en)

Citations (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307246A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Protection system and method for secure communication among virtual machines based on cloud computing
US20120102190A1 (en) * 2010-10-26 2012-04-26 International Business Machines Corporation Inter-virtual machine communication
CN102724277A (en) * 2012-05-04 2012-10-10 华为技术有限公司 Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system
CN103930873A (en) * 2011-11-10 2014-07-16 思科技术公司 Dynamic policy based interface configuration for virtualized environments
CN105657081A (en) * 2016-04-07 2016-06-08 华为技术有限公司 DHCP (dynamic host configuration protocol) service providing method, device and system
US20180060109A1 (en) * 2015-12-21 2018-03-01 International Business Machines Corporation Software-defined computing system remote support
US20180063234A1 (en) * 2013-09-20 2018-03-01 Ca, Inc. Assigning client virtual machines based on location
CN108287723A (en) * 2016-12-30 2018-07-17 华为技术有限公司 A kind of application exchange method, device, physical machine and system
CN109091861A (en) * 2018-06-22 2018-12-28 网易(杭州)网络有限公司 Interaction control method, electronic equipment and storage medium in game
CN109587243A (en) * 2018-12-05 2019-04-05 郑州云海信息技术有限公司 A kind of cloud platform and dispositions method comprising distributed storage
CN111213348A (en) * 2017-10-11 2020-05-29 华为技术有限公司 Method, device and system for domain name resolution in data center system
CN111870962A (en) * 2020-06-15 2020-11-03 西安万像电子科技有限公司 Cloud game data processing method and system
CN112929197A (en) * 2019-12-06 2021-06-08 中兴通讯股份有限公司 Network communication method, device, equipment and storage medium
US20210306216A1 (en) * 2020-03-25 2021-09-30 Fujitsu Limited Network configuration diagram generate method and recording medium

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307246A (en) * 2010-09-25 2012-01-04 广东电子工业研究院有限公司 Protection system and method for secure communication among virtual machines based on cloud computing
US20120102190A1 (en) * 2010-10-26 2012-04-26 International Business Machines Corporation Inter-virtual machine communication
CN102457517A (en) * 2010-10-26 2012-05-16 国际商业机器公司 Inter-virtual machine communication
CN103930873A (en) * 2011-11-10 2014-07-16 思科技术公司 Dynamic policy based interface configuration for virtualized environments
CN102724277A (en) * 2012-05-04 2012-10-10 华为技术有限公司 Virtual machine thermomigration method, virtual machine arrangement method, server and cluster system
US20180063234A1 (en) * 2013-09-20 2018-03-01 Ca, Inc. Assigning client virtual machines based on location
US20180060109A1 (en) * 2015-12-21 2018-03-01 International Business Machines Corporation Software-defined computing system remote support
CN105657081A (en) * 2016-04-07 2016-06-08 华为技术有限公司 DHCP (dynamic host configuration protocol) service providing method, device and system
CN108287723A (en) * 2016-12-30 2018-07-17 华为技术有限公司 A kind of application exchange method, device, physical machine and system
CN111213348A (en) * 2017-10-11 2020-05-29 华为技术有限公司 Method, device and system for domain name resolution in data center system
CN109091861A (en) * 2018-06-22 2018-12-28 网易(杭州)网络有限公司 Interaction control method, electronic equipment and storage medium in game
CN109587243A (en) * 2018-12-05 2019-04-05 郑州云海信息技术有限公司 A kind of cloud platform and dispositions method comprising distributed storage
CN112929197A (en) * 2019-12-06 2021-06-08 中兴通讯股份有限公司 Network communication method, device, equipment and storage medium
US20210306216A1 (en) * 2020-03-25 2021-09-30 Fujitsu Limited Network configuration diagram generate method and recording medium
CN111870962A (en) * 2020-06-15 2020-11-03 西安万像电子科技有限公司 Cloud game data processing method and system

Similar Documents

Publication Publication Date Title
US20220053068A1 (en) Methods, apparatuses and computer storage media for applet state synchronization
US11201836B2 (en) Method and device for managing stateful application on server
US20190173960A1 (en) Method, device and computer program product for protocol selection
CN109634912B (en) Data migration method and system
US20220245005A1 (en) Methods, devices and computer storage media for inter-mini program platform discovery
CN110389711B (en) Method, device, and non-transitory computer-readable medium for assisting endpoint device in implementing SR-IOV functionality
CN111124299A (en) Data storage management method, device, equipment, system and storage medium
CN115981845A (en) Cloud multi-person collaboration and AR real-time collaboration method, device, medium and equipment
CN114201317B (en) Data transmission method and device, storage medium and electronic equipment
US9258365B2 (en) Remote direct memory access acceleration via hardware context in non-native applciations
CN114296953A (en) Multi-cloud heterogeneous system and task processing method
CN113923253A (en) Virtual machine image transmission method, electronic equipment and storage medium
CN113660123B (en) Virtual switch upgrading method, device, electronic equipment and storage medium
CN114281451A (en) Method and device for self-adapting screens with different resolutions by application interface and electronic equipment
CN114726657A (en) Method and device for interrupt management and data receiving and sending management and intelligent network card
CN115328609A (en) Cloud desktop data processing method and system
CN102480522B (en) Memory device, application server and method thereof
CN112714274A (en) Video conference method and video conference resource management method
CN114035904A (en) Using method, device, equipment and storage medium of shear plates in multi-virtual machine
CN113328874B (en) Data acceleration method, device and system applied to NFV system
WO2024045914A1 (en) Space-air-ground network service migration method and apparatus, and related device
CN114301789B (en) Data transmission method and device, storage medium and electronic equipment
CN114244819A (en) Method for decoding video stream through router, storage medium and electronic equipment
CN113572809B (en) Single request source multi-target source data communication method, computer equipment and storage medium
CN116680072A (en) VDI-based business scene processing method, storage medium and electronic equipment

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