Movatterモバイル変換


[0]ホーム

URL:


CN109656674B - Computer equipment, virtualization chip and data transmission method - Google Patents

Computer equipment, virtualization chip and data transmission method
Download PDF

Info

Publication number
CN109656674B
CN109656674BCN201710943591.XACN201710943591ACN109656674BCN 109656674 BCN109656674 BCN 109656674BCN 201710943591 ACN201710943591 ACN 201710943591ACN 109656674 BCN109656674 BCN 109656674B
Authority
CN
China
Prior art keywords
physical machine
data
chip
processing
virtualization
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201710943591.XA
Other languages
Chinese (zh)
Other versions
CN109656674A (en
Inventor
张献涛
杨航
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Alibaba Cloud Computing Ltd
Original Assignee
Alibaba Group Holding Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Alibaba Group Holding LtdfiledCriticalAlibaba Group Holding Ltd
Priority to CN201710943591.XApriorityCriticalpatent/CN109656674B/en
Publication of CN109656674ApublicationCriticalpatent/CN109656674A/en
Application grantedgrantedCritical
Publication of CN109656674BpublicationCriticalpatent/CN109656674B/en
Activelegal-statusCriticalCurrent
Anticipated expirationlegal-statusCritical

Links

Classifications

Landscapes

Abstract

The application provides a computer device, a virtualization chip and a data transmission method, wherein the computer device comprises a physical machine and a virtualization chip, and the virtualization chip is connected with the physical machine through a high-speed serial bus; wherein: and the virtualization chip is used for processing according to the data interacted by the physical machine and the target equipment. According to the technical scheme, the performance and high isolation of the physical machine can be ensured, and the elastic cloud deployment of the virtual machine is kept, so that the physical machine has the elasticity of the virtual machine, and the rapid deployment, the rapid migration, the cloud disk starting, the cloud disk hanging and the automatic operation and maintenance of the physical machine can be supported.

Description

Computer equipment, virtualization chip and data transmission method
Technical Field
The present application relates to the field of internet technologies, and in particular, to a computer device, a virtualization chip, and a data transmission method.
Background
In the aspects of operation and maintenance, data reliability, resource elasticity and the like, a physical Machine cannot meet the requirements of cloud deployment, so that a Virtual Machine (Virtual Machine) is rapidly developed, the Virtual Machine is a complete computer system which is simulated by software and has complete hardware system functions and operates in a complete isolation environment, all operations are performed in the Virtual Machine, running software can be independently installed, data can be stored, and an independent desktop is provided.
However, after a plurality of virtual machines are created on the physical machine, the plurality of virtual machines share the CPU (Central Processing Unit ) resources, memory resources, storage resources and the like of the physical machine, and the virtual machines have problems such as performance loss, resource contention and the like, for example, the virtual machines can only use part of the CPU resources, memory resources and storage resources of the physical machine, and each virtual machine contends for the CPU resources, the memory resources and the storage resources.
Disclosure of Invention
The present application provides a computer device comprising:
a physical machine;
the virtualization chip is connected with the physical machine through a high-speed serial bus; a hypervisor module for implementing a hypervisor service and comprising a hypervisor module for implementing the hypervisor service;
and the management program module is used for processing according to the data interacted by the physical machine and the target equipment.
The application provides a virtualization chip, which is connected with a physical machine through a high-speed serial bus; a hypervisor module for implementing a hypervisor service and comprising a hypervisor module for implementing the hypervisor service;
the management program module is used for processing according to the data interacted by the physical machine and the target equipment.
The application provides a data transmission method, which comprises the following steps: if the virtualization chip receives first type data sent by the target equipment, processing is carried out according to the first type data;
if the virtualization chip receives second type data sent by the physical machine connected with the virtualization chip through the high-speed serial bus between the virtualization chip and the physical machine, the second type data is sent to target equipment corresponding to the second type data, so that the target equipment processes according to the second type data.
Based on the technical scheme, in the embodiment of the application, the physical machine and the Hypervisor service (such as network virtualization service, storage virtualization service, physical machine management service and the like) can be separated by deploying the physical machine and the virtualization chip, so that the performance and high isolation of the physical machine can be ensured, and the elastic cloud deployment of the virtual machine is kept, so that the physical machine has the elasticity of the virtual machine, and the rapid deployment, the rapid migration, the cloud disk starting, the cloud disk hooking and the automatic operation and maintenance of the physical machine can be supported. In the above manner, the plurality of virtual machines are not created on the physical machine, but only the physical machine is deployed, so that the plurality of virtual machines do not share the CPU resources, the memory resources, and the storage resources of the physical machine, and the problems of performance loss, resource contention, and the like are avoided.
Drawings
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the following description will briefly describe the drawings required to be used in the embodiments of the present application or the description in the prior art, and it is obvious that the drawings in the following description are only some embodiments described in the present application, and other drawings may be obtained according to these drawings of the embodiments of the present application for a person having ordinary skill in the art.
FIGS. 1A-1D are hardware configuration diagrams of a computer device in one embodiment of the application;
FIG. 2 is a flow chart of a data transmission method in one embodiment of the application;
FIG. 3A is a schematic diagram of an application scenario for a network virtualization service in one embodiment of the present application;
fig. 3B is a flowchart of a data transmission method according to another embodiment of the present application.
Detailed Description
The terminology used in the embodiments of the application is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this specification and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to any or all possible combinations including one or more of the associated listed items.
It should be understood that although the terms first, second, third, etc. may be used in embodiments of the present application to describe various information, these information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the application. Depending on the context, furthermore, the word "if" is used may be interpreted as "at … …", or "when … …", or "in response to a determination".
Embodiments of the present application provide a computer device, where the computer device may include, but is not limited to, a physical machine and a virtualization chip, where the virtualization chip is connected to the physical machine through a high-speed serial bus.
The physical machine may include, but is not limited to, a first processor (i.e. CPU), a memory, a motherboard, and an operating system running on the physical machine. The physical machine may not include storage resources such as a hard disk, but may include storage resources such as a local disk, which is not limited thereto. In one example, the following description will take the example that the physical machine may not include a storage resource such as a hard disk.
In the conventional manner, a plurality of virtual machines are created on a physical machine, and the plurality of virtual machines share CPU resources, memory resources, storage resources and the like of the physical machine, so that the virtual machines have problems of performance loss, resource contention and the like.
Unlike the traditional physical machine, the physical machine in the embodiment of the application may have no local storage resource, that is, no storage resource such as a hard disk is deployed locally for the physical machine, but a cloud storage device is used to provide storage resources for the physical machine, where the cloud storage device may include, but is not limited to, yun Pan, NAS (Network Attached Storage: network attached storage) device, and the like, and the type of the cloud storage device is not limited.
Therefore, all data read-write operations of the physical machine can be realized by accessing the cloud storage device, namely, when the data is written, the data is written into the cloud storage device, and when the data is read, the data is read from the cloud storage device. In summary, in the physical machine according to the embodiment of the present application, if storage resources such as a local hard disk are not deployed, the physical machine is a stateless physical machine, that is, the physical machine itself does not store related data, and all the data are stored in the cloud storage device. Therefore, when the physical machine fails, the physical machine can be migrated to another physical machine to continue serving the tenant, but the data of the tenant is not required to be migrated, so that the physical machine can be quickly migrated, the migration process is not perceived by the tenant, the migration advantage of the virtual machine can be realized, and the service experience of the virtual machine is maintained.
In the embodiment of the application, hypervisor (Hypervisor) services (such as network virtualization services, storage virtualization services and physical machine management services) can be transferred to a virtualization chip for implementation, namely, the Hypervisor services can be implemented on the virtualization chip instead of the physical machine, and the Hypervisor services and the physical machine are separated, so that the physical machine does not implement the Hypervisor services, and data related to the Hypervisor services does not need to be stored locally. When the physical machine fails, data related to the Hypervisor service cannot be lost, when the data related to the Hypervisor service in the virtualized chip is migrated to another physical machine, the data related to the Hypervisor service in the virtualized chip can be migrated to the virtualized chip of the other physical machine, the Hypervisor service is realized by the migrated virtualized chip, the rapid migration of the Hypervisor service is realized, the migration advantage of the virtual machine can be provided, the service experience of the virtual machine is maintained, and the elasticity of the virtual machine is provided.
The Hypervisor service is an intermediate software layer running between a physical machine and an operating system, and can allow a plurality of operating systems and applications to share a set of basic physical hardware, so that the Hypervisor service can also be regarded as a 'meta' operating system in a virtual environment, and is the core of all virtualization technologies.
In one example, the virtualization chip may include, but is not limited to: an FPGA (Field Programmable Gate Array ) chip and a second processor; alternatively, an ASIC (Application Specific Integrated Circuit ) chip and a second processor; alternatively, SOC (System on Chip). For convenience of distinction, the processor in the physical machine may be referred to as a first processor, and the processor in the virtualized chip may be referred to as a second processor. Of course, the above three implementations are just a few examples of implementing the virtualization chip, and the implementation of the virtualization chip is not limited, as long as the above Hypervisor service can be implemented in the virtualization chip and can be interconnected with the physical machine.
If the virtualization chip is composed of an FPGA chip and a second processor, the FPGA chip is used for completing interconnection between the physical machine and the second processor, and the second processor is used for implementing the above-mentioned Hypervisor service (such as a network virtualization service, a storage virtualization service, and a physical machine management service). If the virtualized chip is composed of an ASIC chip and a second processor, the ASIC chip is used for completing interconnection between the physical machine and the second processor, and the second processor is used for realizing the above Hypervisor service. If the virtualized chip is composed of an SOC, the SOC is used for being interconnected with a physical machine, and the SOC is used for realizing the Hypervisor service.
In one example, the connection manner between the virtualized chip and the physical machine may be: the virtualized chip is connected to the physical machine through a high-speed serial bus, however, the virtualized chip may be connected to the physical machine through other manners, which is not limited thereto. The high-speed serial bus may include, but is not limited to: PCIE (Peripheral Component Interconnect Express peripheral component interconnect express standard) bus. The high-speed serial bus may also be other types of serial buses, such as a fiber-optic-based high-speed serial bus, without limitation.
In summary, since the physical machine realized by the above manner can independently use the CPU resource (i.e., the resource provided by the first processor) and the memory resource (i.e., the resource provided by the memory), there is no problem that a plurality of physical machines share the resource, so that the physical machine has performance and high isolation, and the physical machine can also be quickly migrated, so that the migration advantage of the virtual machine is provided, and the elastic cloud deployment value of the virtual machine is maintained. Therefore, the computer equipment formed by the physical machine and the virtualization chip is called an elastic physical machine, and the elastic physical machine can support the advantages of quick delivery, compatibility with virtual machine mirror images, cloud storage equipment starting, cloud storage equipment hanging, migration recovery of physical machine faults, automatic operation and maintenance and the like, and has high application value.
In one example, a virtualization chip for implementing a Hypervisor service (i.e., hypervisor service) and including a Hypervisor module for implementing the Hypervisor service; and the management program module is used for processing according to the data interacted by the physical machine and the target equipment.
In one example, the hypervisor service may include, but is not limited to, one or any combination of the following: network virtualization services, storage virtualization services, and physical machine management services. Moreover, the hypervisor module can include, but is not limited to, one or any combination of the following: the system comprises a network virtualization module for realizing the network virtualization service, a storage virtualization module for realizing the storage virtualization service and a physical machine management module for realizing the physical machine management service.
In one example, a hypervisor module of the virtualization chip is configured to process according to data interacted by the physical machine with the target device; specifically, the management program module can receive first-class data sent by the target device and process the first-class data in the process of processing the data interacted with the target device according to the physical machine; and receiving second-class data sent by the physical machine, and sending the second-class data to target equipment corresponding to the second-class data so that the target equipment processes according to the second-class data.
If the target device is a host in a VPC (Virtual Private Cloud ) network; then: the network virtualization module is used for receiving first network data sent to the physical machine by the host and sending the first network data to the physical machine so that the physical machine can process according to the first network data; and receiving second network data sent to the host by the physical machine, and sending the second network data to the host so that the host processes according to the second network data.
If the target device is a management device, then: and the physical machine management module is used for receiving management data sent by the management equipment and carrying out specific type of processing on the physical machine according to the management data. The particular type of processing includes, but is not limited to, one or any combination of the following: boot processing, shutdown processing, restart processing, lifecycle management, migration processing, version upgrade processing, and application management.
If the target device is a cloud storage device, then: the storage virtualization module is used for receiving an IO operation request sent to the cloud storage device by the physical machine and sending the IO operation request to the cloud storage device so that the cloud storage device can process according to the IO operation request; the IO operation request is used for enabling the cloud storage device to conduct data reading processing or data writing processing.
Referring to fig. 1A, as shown in a hardware structure diagram of a computer device, a physical machine includes a first processor, a memory, a motherboard, and an operating system, and a virtualization chip includes a network virtualization module for implementing a network virtualization service, a storage virtualization module for implementing a storage virtualization service, and a physical machine management module for implementing a physical machine management service. Of course, the above is described by taking the example that the Hypervisor service includes the network virtualization service, the storage virtualization service and the physical machine management service, and when the Hypervisor service includes other services, the virtualization chip may also include a module matched with the other services, which is not limited.
Referring to fig. 1B, when the virtualization chip is composed of an FPGA chip and a second processor, the second processor includes a network virtualization module, a storage virtualization module, and a physical machine management module. Referring to fig. 1C, when the virtualization chip is composed of an ASIC chip and a second processor, the second processor includes a network virtualization module, a storage virtualization module, and a physical machine management module. Referring to fig. 1D, when the virtualized chip is composed of an SOC, the SOC includes a network virtualization module, a storage virtualization module, and a physical machine management module.
Based on the same application conception as the computer equipment, the embodiment of the application also provides a virtualization chip, wherein the virtualization chip is connected with a physical machine through a high-speed serial bus; the virtualization chip is used for realizing the hypervisor service and comprises a hypervisor module for realizing the hypervisor service; the management program module is used for processing according to the data interacted by the physical machine and the target equipment.
Wherein the virtualized chip may include, but is not limited to: an FPGA chip and a second processor; alternatively, an ASIC chip and a second processor; or, SOC.
Based on the same application concept as the computer device, a data transmission method is further provided in the embodiment of the present application, and referring to fig. 2, a flowchart of the data transmission method in the embodiment of the present application is shown, where the method may be applied to a computer device, and the computer device includes a physical machine and a virtualization chip, and the method may include:
step 201, if the virtualized chip receives the first type data sent by the target device, processing is performed according to the first type data. For convenience of distinction, the data transmitted by the target device may be referred to as first type data.
Step 202, if the virtualized chip receives second class data sent by a physical machine connected with the virtualized chip through a high-speed serial bus between the virtualized chip and the physical machine, the second class data is sent to a target device corresponding to the second class data, so that the target device processes according to the second class data. For convenience of distinction, the data transmitted by the physical machine to the target device may be referred to as second-class data.
In one example, the above execution sequence is only given for convenience of description, and in practical application, the execution sequence between steps may be changed, which is not limited. Moreover, in other embodiments, the steps of the corresponding methods need not be performed in the order shown and described herein, and the methods may include more or less steps than described herein. Furthermore, individual steps described in this specification, in other embodiments, may be described as being split into multiple steps; various steps described in this specification, in other embodiments, may be combined into a single step.
The following describes the above technical solution in detail in connection with several specific application scenarios.
The application scenario 1, the network virtualization service is implemented through the virtualization chip, for example, the virtualization chip may implement the network virtualization service through the network virtualization module. In this application scenario, the target device is a host in the VPC network, the first type of data may be network data sent by the host in the VPC network to the physical machine, and the second type of data may be network data sent by the physical machine to the host in the VPC network.
Wherein, in step 201, the process for "the virtualized chip processes according to the first type of data" may include, but is not limited to: the virtualized chip can analyze a destination address (such as a destination IP address) from the first type of data, and can send the first type of data to the physical machine according to the destination address, so that the physical machine processes the first type of data, and the processing mode of the physical machine is not limited.
In one example, for the "resolve destination address from this first type of data" process, this may include, but is not limited to: if the first type of data is network data packaged through a designated tunnel, the virtualized chip uses a designated tunnel to unpack the first type of data to obtain unpacked first type of data; then, the destination address, namely the destination IP address, is resolved from the first type of data after the decapsulation.
In one example, for the "send the first type of data to physical machine according to the destination address" process, it may include, but is not limited to: the virtualized chip can query a forwarding table through the destination address to obtain an output interface corresponding to the destination address; then, the first type data can be sent to a physical machine through the output interface; the forwarding table is used for recording the corresponding relation between the destination address and the outgoing interface.
Wherein, in step 202, the process of "transmitting the second class of data to the target device by the virtualized chip" may include, but is not limited to: the virtualized chip may parse a destination address (i.e., a destination IP address) from the second type data, and may send the second type data to a target device in the VPC network according to the destination address, so that the target device processes according to the second type data.
In one example, for the "send the second class of data to target device within the VPC network according to the destination address" procedure, it may include, but is not limited to: the virtualized chip can determine a designated tunnel corresponding to the destination address, and the second class data is packaged in a packaging mode of the designated tunnel to obtain packaged second class data; and then, the virtualized chip can send the packaged second-class data to target equipment (i.e. a host) in the VPC network through an outlet interface corresponding to the designated tunnel.
In the above-described embodiments, designating a tunnel may include, but is not limited to: VXLAN (Virtual Extensible Local Area Network virtual extended local area network) tunnels, no restrictions are placed on this designated tunnel.
Referring to fig. 3A, an application scenario diagram for a network virtualization service is illustrated by taking a VXLAN tunnel as an example, and referring to fig. 3B, a flowchart of the above data transmission method is illustrated.
In step 301, the host 1 sends network data 1 to the physical machine, where the source IP address of the network data 1 is IP address 1 of the host 1, and the destination IP address of the network data 1 is IP address 2 of the physical machine.
Step 302, after receiving the network data 1, the VTEP device determines a VXLAN tunnel a corresponding to the network data 1, encapsulates the VXLAN tunnel header for the network data 1 through the VXLAN tunnel a to obtain the network data 2, and sends the network data 2 to the virtualization chip through an interface C corresponding to the VXLAN tunnel a.
Before this step 302, a VXLAN tunnel a may be established between the VTEP (VXLAN Tunnel End Point ) device and the virtualization chip, and the manner of establishing the VXLAN tunnel a is not limited in detail, and the VXLAN identifier of the VXLAN tunnel a may be VXLAN1000.
In one example, on the VTEP device, the source IP address of the VXLAN tunnel a is the IP address 3 of the VTEP device, the source MAC (Media Access Control ) address is the MAC address 1 of the VTEP device, the destination IP address is the IP address 4 of the virtualized chip, the destination MAC address is the MAC address 2 of the virtualized chip, and the outgoing interface corresponding to the VXLAN tunnel a is the interface C. On the virtualized chip, the source IP address of the VXLAN tunnel A is the IP address 4 of the virtualized chip, the source MAC address is the MAC address 2 of the virtualized chip, the destination IP address is the IP address 3 of the VTEP equipment, the destination MAC address is the MAC address 1 of the VTEP equipment, and the output interface corresponding to the VXLAN tunnel A is the interface B.
For each interface of the VTEP device, a VLAN (Virtual Local Area Network ) identifier may be configured, and a correspondence between the VLAN identifier and the VXLAN identifier may be configured, for example, the VLAN identifier of interface D is VLAN1, and a correspondence between VLAN1 and VXLAN1000 may be configured.
Based on this, after receiving the network data 1 through the interface D, the VTEP device may determine that the VLAN identifier corresponding to the interface D is VLAN1, and query the correspondence between the VLAN identifier and the VXLAN identifier through the VLAN1, to obtain the VXLAN identifier corresponding to the VLAN1 as VXLAN1000, and the VXLAN tunnel a corresponding to the VXLAN1000, that is, the VXLAN tunnel corresponding to the network data 1.
In the process of encapsulating the VXLAN tunnel header into the network data 1 through the VXLAN tunnel a to obtain the network data 2, the network data 2 includes the VXLAN tunnel header, the VXLAN identifier carried by the VXLAN tunnel header is VXLAN1000, the source IP address is the IP address 3 of the VTEP device, the source MAC address is the MAC address 1 of the VTEP device, the destination IP address is the IP address 4 of the virtualized chip, and the destination MAC address is the MAC address 2 of the virtualized chip, which is not limited.
In step 303, after receiving the network data 2, the virtualization chip decapsulates the network data 2 (e.g. removes the VXLAN tunneling header of the network data 2) to obtain the decapsulated network data 1.
In step 304, the virtualization chip resolves the destination IP address, that is, the IP address 2 of the physical machine from the network data 1, and may send the network data 1 to the physical machine according to the IP address 2 of the physical machine.
Before this step 304, the virtualization chip may generate a forwarding table, and the generation manner of this forwarding table is not limited. For example, the physical machine may send a gratuitous ARP (Address Resolution Protocol ) message, where the gratuitous ARP message may carry an IP address 2 and an MAC address 3 of the physical machine, and after the virtualized chip receives the gratuitous ARP message through the interface a, a forwarding table entry may be added to the forwarding table, where the forwarding table entry may record a correspondence between the IP address 2, the MAC address 3 and the interface a.
Based on this, the process for "the virtualized chip sends the network data 1 to the physical machine according to the IP address 2 of the physical machine" may include: the virtualized chip queries the forwarding table through the IP address 2, and the output interface corresponding to the IP address 2 is an interface A, so that the network data 1 is sent to the physical machine through the interface A.
In step 305, the physical machine performs processing according to the network data 1, and the processing mode is not limited.
In step 306, the physical machine sends network data 3 to the host 1, where the source IP address of the network data 3 is IP address 2 of the physical machine, and the destination IP address of the network data 3 is IP address 1 of the host 1.
Step 307, after receiving the network data 3, the virtualization chip determines a VXLAN tunnel a corresponding to the network data 3, encapsulates the VXLAN tunnel header for the network data 3 through the VXLAN tunnel a to obtain the network data 4, and sends the network data 4 to the VTEP device through an interface B corresponding to the VXLAN tunnel a.
In one example, the virtualization chip may record the correspondence between the IP address of the host and the VXLAN identifier of the VXLAN tunnel to which the host belongs, and the obtaining manner of the correspondence is not limited. For example, when receiving the network data 1, the virtualization chip may record the correspondence between the source IP address of the network data 1 (i.e., the IP address 1 of the host 1) and the VXLAN1000 carried by the VXLAN tunnel header.
Based on this, the virtualized chip, after receiving the network data 3, can resolve the destination IP address, i.e., IP address 1 of the host 1, from the network data 3. Then, the virtualization chip can determine that the VXLAN identification corresponding to the IP address 1 is VXLAN1000 and VXLAN tunnel a corresponding to VXLAN1000, that is, VXLAN tunnel corresponding to the IP address 1. Further, on the virtualized chip, the source IP address of the VXLAN tunnel a is the IP address 4 of the virtualized chip, the source MAC address is the MAC address 2 of the virtualized chip, the destination IP address is the IP address 3 of the VTEP device, the destination MAC address is the MAC address 1 of the VTEP device, and the outgoing interface corresponding to the VXLAN tunnel a may be the interface B.
In the process of encapsulating VXLAN tunnel header into network data 3 through VXLAN tunnel a to obtain network data 4, the network data 4 includes VXLAN tunnel header, VXLAN carried by VXLAN tunnel header is VXLAN1000, source IP address is IP address 4 of the virtualized chip, source MAC address is MAC address 2 of the virtualized chip, destination IP address is IP address 3 of the VTEP device, destination MAC address is MAC address 1 of the VTEP device, and the VXLAN tunnel header is not limited.
In step 308, after receiving the network data 4, the VTEP device decapsulates the network data 4 (e.g. removes the VXLAN tunneling header of the network data 4) to obtain the decapsulated network data 3.
In step 309, the VTEP device parses the destination IP address, i.e. IP address 1 of the host 1, from the network data 3, and sends the network data 3 to the host 1 according to the IP address 1 of the host 1.
In step 310, the host 1 performs processing according to the network data 3, and the processing method is not limited.
So far, the transmission of the network data between the host 1 and the physical machine is successfully completed and the processing is performed.
The application scenario 2 implements a storage virtualization service through a virtualization chip, for example, the virtualization chip may implement the storage virtualization service through a storage virtualization module. In this application scenario, the target device is a cloud storage device, and the second type of data may be an IO operation request sent by the physical machine to the cloud storage device, where the IO operation request is used to make the cloud storage device perform data reading processing (i.e. the physical machine reads data from the cloud storage device), or the IO operation request is used to make the cloud storage device perform data writing processing (i.e. the physical machine writes data in the cloud storage device).
Wherein, in step 202, the process of "transmitting the second class of data to the target device by the virtualized chip" may include, but is not limited to: and the virtualization chip sends the second type of data to the cloud storage device so that the cloud storage device processes the second type of data according to the operation type of the second type of data. Further, the operation type of the second type of data may be a read operation or a write operation, and if the operation type is a read operation, the second type of data is used for enabling the cloud storage device to perform data read processing; and if the operation type is a write operation, the second type of data is used for enabling the cloud storage device to conduct data write processing.
Specifically, when the physical machine needs to write the data a into the cloud storage device, the IO operation request 1 may be sent, where the operation type carried in the IO operation request 1 is a write operation, and the IO operation request 1 carries the data a and the storage address a of the data a. After receiving the IO operation request 1, the virtualization chip determines that the target device is a cloud storage device because the operation type of the IO operation request 1 is a write operation, and sends the IO operation request 1 to the cloud storage device. After receiving the IO operation request 1, the cloud storage device writes the data a carried in the IO operation request 1 into the storage space corresponding to the storage address a because the operation type of the IO operation request 1 is a write operation.
In addition, when the physical machine needs to read the data B from the cloud storage device, the IO operation request 2 may be sent, where the operation type carried in the IO operation request 2 is a read operation, and the IO operation request 2 carries a storage address B corresponding to the data B. After receiving the IO operation request 2, the virtualization chip determines that the target device is a cloud storage device because the operation type of the IO operation request 2 is a read operation, and sends the IO operation request 2 to the cloud storage device. After receiving the IO operation request 2, the cloud storage device reads the data B from the storage space corresponding to the storage address B because the operation type of the IO operation request 2 is a read operation, and returns the data B to the physical machine through the virtualization chip.
So far, the physical machine successfully writes data in the cloud storage device or reads the data.
And 3, the application scenario is that the physical machine management service is realized through the virtualization chip, for example, the virtualization chip can realize the physical machine management service through the physical machine management module. In this application scenario, the target device is a management device, the first type of data may be management data sent by the management device to the virtual machine chip, where the management data is used to implement management of the physical machine, and the virtual machine may manage the physical machine according to the management data.
Wherein, in step 201, the process for "the virtualized chip processes according to the first type of data" may include, but is not limited to: and the virtualization chip performs specific type processing on the physical machine according to the first type of data. Specific types of processing include, but are not limited to, one or any combination of the following: boot processing, shutdown processing, restart processing, lifecycle management, migration processing, version upgrade processing, and application management. Of course, the above procedure is given as a few examples of a particular type of processing, and is not limited to this particular type of processing.
For example, when the first type of data is used for indicating the virtualized chip to perform the boot processing on the physical machine, the virtualized chip may perform the boot processing on the physical machine according to the first type of data, which is not limited in the boot processing mode. Or when the first type of data is used for indicating the virtualized chip to perform shutdown processing on the physical machine, the virtualized chip can perform shutdown processing on the physical machine according to the first type of data, and the shutdown processing mode is not limited. Or when the first type of data is used for indicating the virtual chip to restart the physical machine, the virtual chip can restart the physical machine according to the first type of data, and the restarting processing mode is not limited. Or when the first type of data is used for indicating the virtualization chip to perform life cycle management on the physical machine, the virtualization chip can perform life cycle management on the physical machine according to the first type of data, and the life cycle management mode is not limited. Or when the first type of data is used for indicating the virtualized chip to perform migration processing on the physical machine, the virtualized chip can perform migration processing on the physical machine according to the first type of data, and the migration processing mode is not limited. Or when the first type of data is used for indicating the virtualization chip to perform version upgrading processing on the physical machine, the virtualization chip can perform version upgrading processing on the physical machine according to the first type of data, and the version upgrading processing mode is not limited. Or when the first type of data is used for indicating the virtualized chip to manage the application program of the physical machine, the virtualized chip can manage the application program of the physical machine according to the first type of data, and the application program management mode is not limited.
Based on the technical scheme, in the embodiment of the application, the physical machine and the Hypervisor service (such as network virtualization service, storage virtualization service, physical machine management service and the like) can be separated by deploying the physical machine and the virtualization chip, so that the performance and high isolation of the physical machine can be ensured, and the elastic cloud deployment of the virtual machine is kept, so that the physical machine has the elasticity of the virtual machine, and the rapid deployment, the rapid migration, the cloud disk starting, the cloud disk hooking and the automatic operation and maintenance of the physical machine can be supported. In the above manner, the plurality of virtual machines are not created on the physical machine, but only the physical machine is deployed, so that the plurality of virtual machines do not share the CPU resources, the memory resources, and the storage resources of the physical machine, and the problems of performance loss, resource contention, and the like are avoided.
Based on the same application concept as the above method, the embodiment of the present application further provides a machine-readable storage medium, where a number of computer instructions are stored, and when executed, the computer instructions perform the following processes: if first type data sent by target equipment are received, processing is carried out according to the first type data; and if the second type data sent by the physical machine connected with the virtualized chip is received through the high-speed serial bus between the virtualized chip and the physical machine, the second type data is sent to target equipment corresponding to the second type data, so that the target equipment processes according to the second type data.
The system, apparatus, module or unit set forth in the above embodiments may be implemented in particular by a computer chip or entity, or by a product having a certain function. A typical implementation device is a computer, which may be in the form of a server, personal computer, laptop, cellular telephone, camera phone, smart phone, personal digital assistant, media player, navigation device, email device, game console, tablet computer, wearable device, or any combination of these devices.
For convenience of description, the above devices are described as being functionally divided into various units, respectively. Of course, the functions of each element may be implemented in the same piece or pieces of software and/or hardware when implementing the present application.
It will be appreciated by those skilled in the art that embodiments of the present application may be provided as a method, system, or computer program product. Accordingly, the present application may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, embodiments of the application may take the form of a computer program product on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, etc.) having computer-usable program code embodied therein.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
Moreover, these computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing is merely exemplary of the present application and is not intended to limit the present application. Various modifications and variations of the present application will be apparent to those skilled in the art. Any modification, equivalent replacement, improvement, etc. which come within the spirit and principles of the application are to be included in the scope of the claims of the present application.

Claims (16)

CN201710943591.XA2017-10-112017-10-11Computer equipment, virtualization chip and data transmission methodActiveCN109656674B (en)

Priority Applications (1)

Application NumberPriority DateFiling DateTitle
CN201710943591.XACN109656674B (en)2017-10-112017-10-11Computer equipment, virtualization chip and data transmission method

Applications Claiming Priority (1)

Application NumberPriority DateFiling DateTitle
CN201710943591.XACN109656674B (en)2017-10-112017-10-11Computer equipment, virtualization chip and data transmission method

Publications (2)

Publication NumberPublication Date
CN109656674A CN109656674A (en)2019-04-19
CN109656674Btrue CN109656674B (en)2023-09-12

Family

ID=66109699

Family Applications (1)

Application NumberTitlePriority DateFiling Date
CN201710943591.XAActiveCN109656674B (en)2017-10-112017-10-11Computer equipment, virtualization chip and data transmission method

Country Status (1)

CountryLink
CN (1)CN109656674B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN112216333B (en)*2020-09-302024-02-06深圳市宏旺微电子有限公司Chip testing method and device
CN112765084B (en)*2021-04-062021-09-14阿里云计算有限公司Computer device, virtualization acceleration device, data transmission method, and storage medium

Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101290594A (en)*2007-04-192008-10-22国际商业机器公司Method and system for establishing physical track from dummy track
CN201765585U (en)*2010-07-262011-03-16四川九洲电器集团有限责任公司Dynamic loading system for processor application program
US8027354B1 (en)*2009-04-292011-09-27Cisco Technology, Inc.Network consolidation for virtualized servers
CN102821158A (en)*2012-08-202012-12-12广州杰赛科技股份有限公司Method and cloud system for realizing virtual machine migration
CN105389199A (en)*2015-10-212016-03-09同济大学Xen-based FPGA accelerator virtualization platform and application

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
US9396012B2 (en)*2013-03-142016-07-19Qualcomm IncorporatedSystems and methods of using a hypervisor with guest operating systems and virtual processors
US20150325078A1 (en)*2014-05-082015-11-12Bruce AlsipGaming machine, apparatus and methods
CN104298559B (en)*2014-09-302018-03-02深信服科技股份有限公司The method and device of physical host system virtualization

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication numberPriority datePublication dateAssigneeTitle
CN101290594A (en)*2007-04-192008-10-22国际商业机器公司Method and system for establishing physical track from dummy track
US8027354B1 (en)*2009-04-292011-09-27Cisco Technology, Inc.Network consolidation for virtualized servers
CN201765585U (en)*2010-07-262011-03-16四川九洲电器集团有限责任公司Dynamic loading system for processor application program
CN102821158A (en)*2012-08-202012-12-12广州杰赛科技股份有限公司Method and cloud system for realizing virtual machine migration
CN105389199A (en)*2015-10-212016-03-09同济大学Xen-based FPGA accelerator virtualization platform and application

Also Published As

Publication numberPublication date
CN109656674A (en)2019-04-19

Similar Documents

PublicationPublication DateTitle
US20210232528A1 (en)Configurable device interface
CN107506258B (en)Method and apparatus for data backup
CN109739618B (en) Virtual machine migration method and device
US10686755B2 (en)Assigning IP addresses and configuration parameters in hyper-converged infrastructure
CN108874506A (en)Virtual machine leads directly to the thermomigration process and device of equipment
US10684880B2 (en)Allocating and initializing I/O devices at virtual
US10621124B2 (en)Method, device and computer program product for enabling SR-IOV functions in endpoint device
US9910687B2 (en)Data flow affinity for heterogenous virtual machines
CN110673941B (en)Migration method of micro-services in multiple computer rooms, electronic equipment and storage medium
CN106873970B (en)Installation method and device of operating system
CN111124286A (en)Libcloud-based multi-cloud management implementation method
CN108073423B (en) An accelerator loading method, system and accelerator loading device
US12321301B1 (en)Low-latency packet processing for network device
US9858096B2 (en)Communication device migration method of extension function and communication system
CN106648462B (en) Data storage method and device
CN115858103B (en)Method, device and medium for virtual machine hot migration of open stack architecture
WO2017032112A1 (en)Method for communicating with board having no central processing unit and communication device
CN109656646B (en)Remote desktop control method, device, equipment and virtualization chip
CN111092828B (en)Network operation method, device, equipment and storage medium
CN111600833B (en)Network operating system and message forwarding method
CN110990110A (en)Virtual machine creation method and device based on Sriov network card
CN109656674B (en)Computer equipment, virtualization chip and data transmission method
CN111813459B (en) Accelerator loading method, system and accelerator loading device
US20250077207A1 (en)System deployment method, electronic device, and storage medium
CN108847975B (en)Communication method, device, computer equipment and medium based on NFV (network function virtualization) architecture

Legal Events

DateCodeTitleDescription
PB01Publication
PB01Publication
SE01Entry into force of request for substantive examination
SE01Entry into force of request for substantive examination
GR01Patent grant
GR01Patent grant
TR01Transfer of patent right
TR01Transfer of patent right

Effective date of registration:20240514

Address after:Room 1-2-A06, Yungu Park, No. 1008 Dengcai Street, Sandun Town, Xihu District, Hangzhou City, Zhejiang Province

Patentee after:Aliyun Computing Co.,Ltd.

Country or region after:China

Address before:A four-storey 847 mailbox in Grand Cayman Capital Building, British Cayman Islands

Patentee before:ALIBABA GROUP HOLDING Ltd.

Country or region before:Britain


[8]ページ先頭

©2009-2025 Movatter.jp