WO2016061945A1 - 一种数据交换方法及系统 - Google Patents

一种数据交换方法及系统 Download PDF

Info

Publication number
WO2016061945A1
WO2016061945A1 PCT/CN2015/072324 CN2015072324W WO2016061945A1 WO 2016061945 A1 WO2016061945 A1 WO 2016061945A1 CN 2015072324 W CN2015072324 W CN 2015072324W WO 2016061945 A1 WO2016061945 A1 WO 2016061945A1
Authority
WO
WIPO (PCT)
Prior art keywords
management control
network management
data exchange
control information
data
Prior art date
Application number
PCT/CN2015/072324
Other languages
English (en)
French (fr)
Inventor
赵恒正
王璐璐
Original Assignee
深圳市中兴微电子技术有限公司
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 深圳市中兴微电子技术有限公司 filed Critical 深圳市中兴微电子技术有限公司
Publication of WO2016061945A1 publication Critical patent/WO2016061945A1/zh

Links

Images

Definitions

  • the present invention relates to data processing technologies, and in particular, to a data exchange method and system.
  • system virtualization technology uses virtualization software to virtualize one or more virtual machines (VMs) on a physical machine.
  • VMs virtual machines
  • the so-called virtual machine refers to running in an isolated environment using system virtualization technology.
  • system virtualization technology is widely used in servers in computer networks because of its advantages of improving server resource utilization and improving system reliability.
  • the server adopts system virtualization technology to configure multiple virtual machines.
  • Virtual machines need to communicate through a network with data exchange function.
  • the network interfaces of the virtual machines are virtual, they cannot directly pass data exchange.
  • Functional hardware entities are interconnected.
  • Method 1 Referring to the implementation manner of the virtual machine, the hardware entity device with the data exchange function is also virtualized, that is, the virtual switch is configured in the server, so that the virtual machine network interface may not be required when the virtual machine communicates with each other.
  • the virtual switch is interconnected directly inside the server. As shown in FIG. 1, the communication between the virtual machine 11 and the virtual machine 12 is directly completed by the virtual switch 13 configured in the server.
  • EVB Error Virtual Bridging
  • the basic idea of EVB technology is: all from Virtual machine traffic will be transferred It is sent to the neighboring physical access switch 23, even if the traffic between the virtual machines in the same server, such as the traffic between the virtual machine 21 and the virtual machine 22, is handed over to the physical access switch 23 for table lookup processing, and then U-turn back to the server 20, the traffic made a 180-degree turn, forming a so-called "issue bend" mode.
  • the physical access switch 23 realizes the sensing, control, and data exchange targeting the virtual machine, and can support the automated operation of the large-scale virtual computing service.
  • Manner 1 The virtual switch is used to exchange data between virtual machines, which blurs the host and network management boundaries, occupies the processor and memory resources of the server, and the scalability of network scale management is low;
  • Edge data devices are used to implement data exchange between virtual machines. Since network traffic is introduced from the server to the external network, as the size of the virtual machine on the server grows, the network traffic that the edge network device needs to process will become The increase in the number of times has put a lot of pressure on the switching capacity of the edge network devices and the capacity of the lookup table.
  • the user cannot control and manage the virtual machine network in the server.
  • embodiments of the present invention are expected to provide a data exchange method and system, which can not only control and manage data exchange in real time and dynamically, but also meet data exchange performance requirements in a large-scale virtual machine network.
  • the embodiment of the invention provides a data exchange method, and the network management control information is configured in real time according to user requirements; the method further includes:
  • the data exchange hardware subsystem performs data transmission.
  • the network management control information is configured in real time according to user requirements, including:
  • the data transmission is performed according to the acquired address information and the network management control information via a data exchange hardware subsystem preset in the server, including:
  • the data is directly transmitted to the target host inside the server via a preset data exchange hardware subsystem in the server;
  • the data is transmitted to the target host outside the server via the data exchange hardware subsystem and the adjacent bridge preset in the server.
  • the network management control information includes a data exchange mode and a network management parameter of the virtual machine.
  • the embodiment of the present invention further provides a data exchange system, where the system includes: a management control subsystem and a data exchange hardware subsystem;
  • the management control subsystem is configured to configure network management control information in real time according to user requirements, and obtain address information of the target host when determining that the source host needs to transmit data;
  • the data exchange hardware subsystem is configured to perform data transmission according to the acquired address information and the network management control information.
  • the management control subsystem is configured to:
  • the data exchange hardware subsystem is configured as:
  • the data is directly transmitted to the target host inside the server according to the obtained address information and the network management control information;
  • the data is transmitted to the target host outside the server by the adjacent bridge according to the address information and the network management control information.
  • the network management control information includes a data exchange mode and a network management parameter of the virtual machine.
  • the data exchange hardware subsystem is a hardware entity device with data exchange function.
  • the data exchange subsystem is a field programmable gate array (FPGA) or a complex programmable logic device (CPLD).
  • FPGA field programmable gate array
  • CPLD complex programmable logic device
  • the embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for performing the data exchange method according to the embodiment of the invention.
  • the embodiment of the present invention configures network management control information in real time according to user requirements, and can control and manage data exchange in real time and dynamically, thereby improving user flexibility;
  • the embodiment of the present invention implements data exchange by using a hardware entity device with data exchange function, can limit network traffic to a server, is convenient for user control and management, and can meet data exchange performance requirements in a large-scale virtual machine network.
  • FIG. 1 is a schematic structural diagram of a server implemented by adopting mode 1 in the prior art
  • FIG. 2 is a schematic structural diagram of a server implemented by adopting mode 2 in the prior art
  • FIG. 3 is a schematic structural diagram of a structure of a data exchange system according to an embodiment of the present invention.
  • FIG. 4 is a schematic flowchart of an implementation process of a data exchange method according to an embodiment of the present invention.
  • FIG. 5 is a schematic structural diagram of a server in a first embodiment of the present invention.
  • the data exchange system provided by the embodiment of the present invention is applied to a server.
  • the server is usually configured with multiple virtual machines, and each VM can be run as a real host. All the virtual machines configured in the server are on the same hardware platform. Using or sharing the same hardware platform resource, thereby improving resource utilization of the server; the server may use the data exchange system as an auxiliary platform to control data transmission between virtual machines in the server or in the server Data transfer between the virtual machine and the external network.
  • FIG. 3 is a schematic structural diagram of a data exchange system according to an embodiment of the present invention. As shown in FIG. 3, the system includes: a management control subsystem 300, and a data exchange hardware subsystem 301;
  • the management control subsystem 300 is configured to configure network management control information in real time according to user requirements, and obtain address information of the target host when determining that the source host needs to transmit data;
  • the data packet sent by the source host may carry the address information of the destination host, and correspondingly, the address information of the acquiring target host may be obtained from the data packet sent by the source host.
  • the data exchange hardware subsystem 301 is configured to perform data transmission according to the acquired address information and the network management control information.
  • the source host is a virtual machine in a server; the destination host may be a virtual machine on the same hardware platform as the source host, or may be a real host or virtual machine on a different hardware platform from the source host. .
  • the management control subsystem 300 is equivalent to an interpreter in a server;
  • the data exchange hardware subsystem 301 is implemented by a hardware entity device having a data exchange function, for example, a Field Programmable Gate array. Array, FPGA), complex A hardware entity device such as a Programmable Logic Device (CPLD) or a Programmable Logic Device (PLD) is implemented.
  • the data exchange hardware subsystem may be an FPGA or a CPLD. achieve.
  • the management control subsystem 300 first acquires network management control information input by the user according to requirements through a preset application, converts the network management control information into machine executable code, and obtains converted network management control information; When the host needs to transmit data, the address information of the target host is obtained; the data exchange hardware subsystem 301 determines whether the source host and the target host are on the same hardware platform according to the obtained address information; and determines that the address information is obtained according to the obtained hardware platform.
  • the network management control information directly transmitting data to a target host inside the server; determining that, when in different hardware platforms, transmitting data to the server through the neighboring bridge 302 according to the address information and the network management control information External target host; thus, real-time and dynamic control and management of data exchange in the server, thereby improving user flexibility; in addition, data exchange using hardware entity devices with data exchange function can Network traffic restrictions in service Device, a user-friendly control and management, and the ability to meet large-scale virtual machine data exchange network performance requirements.
  • the data exchange process provided by the embodiment of the present invention includes:
  • Step S400 Configure network management control information in real time according to user requirements
  • the application is preset, so that the user can perform traffic management and data exchange control on the virtual machine network in real time and dynamically through the preset application, and obtain the network management control information input by the user according to the requirement through the preset application;
  • the network management control information is then converted to machine executable code to obtain converted network management control information equivalent to the operations performed by the interpreter for converting the high level programming code into machine executable code.
  • the user can dynamically select a data exchange mode of the virtual machine according to the network size and/or the type of the vendor, for example, a data exchange mode carried by the whole software, all hardware or part of the hardware; the user can also set the network management parameters according to requirements, for example, The traffic management parameter, the load balancing parameter, the security level parameter, and the like. Therefore, the network management control information may include information such as a data exchange mode and a network management parameter of the virtual machine.
  • Step S401 When it is determined that the source host needs to transmit data, obtain address information of the target host.
  • the data packet sent by the source host carries the address information of the target host. Therefore, the address information of the target host corresponding to the source host can be obtained from the data packet sent by the source host.
  • the source host is a virtual machine in the server; the destination host may be a virtual machine on the same hardware platform as the source host, or may be a real host on a different hardware platform from the source host.
  • Step S402 Perform data transmission according to the acquired data exchange hardware subsystem according to the obtained address information and the network management control information.
  • the data exchange hardware subsystem preset in the server is a hardware entity device having a data exchange function
  • the target host may be a virtual machine on the same hardware platform as the source host, or may be the same as the source
  • the host is a real host on a different hardware platform
  • the data is directly transmitted to the target host inside the server via a preset data exchange hardware subsystem in the server;
  • data is transmitted through a data exchange hardware subsystem and a neighboring bridge preset in the server. Enter the target host outside the server.
  • the data exchange table includes: a target host address and a network segment to which it belongs; how to query a preset data exchange table according to the address information, and determining whether the source host and the target host are on the same hardware platform belongs to the prior art. The repetitions are not repeated here.
  • the data exchange system of this embodiment is applied to a server 500.
  • the management control subsystem 501 in the data exchange system configures network management control information in real time according to user requirements; two servers are configured in the server 500.
  • a virtual machine a virtual machine VM1 and a virtual machine VM2, wherein a real host 504 is configured in an external network of the server 500;
  • the management control subsystem 501 obtains the address information of the VM2 from the data packet sent by the VM1, and queries the preset data exchange table according to the address information of the VM2 to determine that the VM1 and the VM2 are on the same hardware platform.
  • the data exchange hardware subsystem 502 directly transmits data to the VM2 according to the acquired address information of the VM2 and the network management control information;
  • the management control subsystem 501 obtains the address information of the real host 504 from the data packet sent by the VM1, and queries the preset data according to the address information of the real host 504.
  • the exchange table determines that the VM1 and the real host 504 are on different hardware platforms; the data exchange hardware subsystem 502 transmits the data to the real by the neighboring bridge 503 according to the acquired address information of the real host 504 and the network management control information. Host 504.
  • the embodiment of the invention further provides a computer storage medium, the storage medium comprising a set of computer executable instructions for performing the data exchange method according to the embodiment of the invention.

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

一种数据交换方法,根据用户需求实时配置网络管理控制信息(S400),该方法还包括:确定源主机需要传输数据时,获取目标主机的地址信息(S401);根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统进行数据传输(S402)。同时还公开了一种数据交换系统。

Description

一种数据交换方法及系统 技术领域
本发明涉及数据处理技术,尤其涉及一种数据交换方法及系统。
背景技术
系统虚拟化技术的核心思想是使用虚拟化软件在一台物理机上虚拟出一台或多台虚拟机(Virtual Machine,VM),所谓虚拟机是指使用系统虚拟化技术运行在一个隔离环境中,且具有完整硬件功能的逻辑计算机系统;系统虚拟化技术因具有提高服务器的资源利用率、且提高系统的可靠性的优势,被广泛应用于计算机网络中的服务器。
目前,服务器采用系统虚拟化技术能够配置多个虚拟机,虚拟机之间需要通过具有数据交换功能的网络进行通信,但由于各个虚拟机的网络接口是虚拟的,因此,不能直接通过具有数据交换功能的硬件实体设备进行互联。
现有服务器中的虚拟机之间进行数据交换,通常采用如下两种方式实现:
方式一、参考虚拟机的实现方式,将具有数据交换功能的硬件实体设备也虚拟化,即:在服务器中配置虚拟交换机,这样,虚拟机之间进行通信时,虚拟机的网络接口可以不需要经过硬件实体设备,直接在服务器内部通过虚拟交换机进行互联,如图1所示,虚拟机11和虚拟机12之间的通信就直接通过服务器中配置的虚拟交换机13完成。
方式二、电气和电子工程师协会(Institute of Electrical and Electronics Engineers,IEEE)提出了一种新的技术标准(Edge Virtual Bridging,EVB),如图2所示,EVB技术的基本思路是:所有来自于虚拟机的流量都会被转 发到邻近的物理接入交换机23,即使同一服务器内各个虚拟机之间的流量,如虚拟机21和虚拟机22之间的流量,也要交给物理接入交换机23查表处理,之后再掉头返回给服务器20,流量做了一个180度的转向,形成了所谓的“发卡弯”模式。这种方式通过物理接入交换机23实现以虚拟机为目标的感知、控制和数据交换,可以支持大规模虚拟计算服务的自动化运营。
发明人在实现本发明的过程中,发现现有虚拟机之间的数据交换方案至少存在以下缺陷:
方式一、采用虚拟交换机实现虚拟机之间的数据交换,模糊了主机和网络管理界限,占用了服务器的处理器和内存资源,网络规模管理的可扩展性较低;
方式二、采用边缘网络设备实现虚拟机之间的数据交换,由于网络流量被从服务器上引入到外部网络,因此,随着服务器上虚拟机规模的增长,边缘网络设备需要处理的网络流量会成倍的增加,对边缘网络设备的交换能力和查找表容量造成很大的压力。
另外,上述方式一与方式二中,用户均无法对服务器中的虚拟机网络进行控制与管理。
发明内容
有鉴于此,本发明实施例期望提供一种数据交换方法及系统,不仅能对数据交换进行实时且动态地控制与管理,还能满足大规模虚拟机网络中的数据交换性能需求。
为达到上述目的,本发明实施例的技术方案是这样实现的:
本发明实施例提供了一种数据交换方法,根据用户需求实时配置网络管理控制信息;该方法还包括:
确定源主机需要传输数据时,获取目标主机的地址信息;
根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的 数据交换硬件子系统进行数据传输。
上述方案中,所述根据用户需求实时配置网络管理控制信息,包括:
通过预设的应用获取用户根据需求输入的网络管理控制信息;
将所述网络管理控制信息转换为机器可执行代码,得到转换后的网络管理控制信息。
上述方案中,所述根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统进行数据传输,包括:
根据获取的地址信息确定源主机与目标主机是否处于相同硬件平台;
确定处于相同硬件平台时,根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统直接将数据传输到服务器内部的目标主机;
确定处于不同硬件平台时,根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统和邻接网桥将数据传输到服务器外部的目标主机。
上述方案中,所述网络管理控制信息包括虚拟机的数据交换方式、网络管理参数。
基于上述方法,本发明实施例还提供了一种数据交换系统,该系统包括:管理控制子系统、数据交换硬件子系统;其中,
所述管理控制子系统,配置为根据用户需求实时配置网络管理控制信息,并在确定源主机需要传输数据时,获取目标主机的地址信息;
所述数据交换硬件子系统,配置为根据获取的地址信息及所述网络管理控制信息,进行数据传输。
上述方案中,所述管理控制子系统配置为:
通过预设的应用获取用户根据需求输入的网络管理控制信息;
将所述网络管理控制信息转换为机器可执行代码,得到转换后的网络管理控制信息。
上述方案中,所述数据交换硬件子系统配置为:
根据获取的地址信息确定源主机与目标主机是否处于相同硬件平台;
确定处于相同硬件平台时,根据获取的地址信息及所述网络管理控制信息,直接将数据传输到服务器内部的目标主机;
确定处于不同硬件平台时,根据所述地址信息及所述网络管理控制信息,并通过邻接网桥将数据传输到服务器外部的目标主机。
上述方案中,所述网络管理控制信息包括虚拟机的数据交换方式、网络管理参数。
上述方案中,所述数据交换硬件子系统为具备数据交换功能的硬件实体设备。
上述方案中,所述数据交换子系统为现场可编程门阵列(FPGA)或复杂可编程逻辑器件(CPLD)。
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行本发明实施例所述的数据交换方法。
本发明实施例所提供的数据交换方法及系统,与现有技术相比,取得了如下进步:
1)本发明实施例根据用户需求实时配置网络管理控制信息,能够对数据交换进行实时且动态地控制与管理,从而提高用户使用的灵活性;
2)本发明实施例采用具备数据交换功能的硬件实体设备实现数据交换,能够将网络流量限制在服务器中,方便用户控制与管理,并能够满足大规模虚拟机网络中的数据交换性能需求。
附图说明
图1为现有技术中采用方式一实现的服务器的组成结构示意图;
图2为现有技术中采用方式二实现的服务器的组成结构示意图;
图3为本发明实施例数据交换系统的组成结构示意图;
图4为本发明实施例数据交换方法实现流程示意图;
图5为本发明实施例一中的服务器的组成结构示意图。
具体实施方式
本发明实施例提供的数据交换系统应用于服务器中,所述服务器通常配置多个虚拟机,每个VM可以如真实主机一般运行,所述服务器中配置的所有虚拟机均处于同一硬件平台,可以使用或共享同一硬件平台资源,从而提高所述服务器的资源利用率;所述服务器可以采用所述数据交换系统作为辅助平台,控制所述服务器中虚拟机之间进行数据传输或所述服务器中的虚拟机与外部网络之间进行数据传输。
下面结合附图对本发明的具体实施方式进行说明。
图3为本发明实施例中提供的数据交换系统的组成结构示意图,如图3所示,该系统包括:管理控制子系统300、数据交换硬件子系统301;其中,
所述管理控制子系统300,配置为根据用户需求实时配置网络管理控制信息,并在确定源主机需要传输数据时,获取目标主机的地址信息;
这里,所述源主机发送的数据报文中可以携带目的主机的地址信息,相应的,所述获取目标主机的地址信息可以从源主机发送的数据报文中获取;
所述数据交换硬件子系统301,配置为根据获取的地址信息及所述网络管理控制信息进行数据传输。
这里,所述源主机为服务器中的虚拟机;所述目的主机可以为与所述源主机处于相同硬件平台的虚拟机,也可以为与所述源主机处于不同硬件平台的真实主机或虚拟机。
在实际应用中,所述管理控制子系统300相当于服务器中的解释器;所述数据交换硬件子系统301由具备数据交换功能的硬件实体设备实现,例如,现场可编程门阵列(Field Programmable Gate Array,FPGA)、复杂 可编程逻辑器件(Complex Programmable Logic Device,CPLD)、可编程逻辑器件(Programmable Logic Device,PLD)等硬件实体设备实现;在本发明具体实施例中,所述数据交换硬件子系统可采用FPGA或CPLD实现。
基于上述系统架构,本发明实施例提供的数据交换过程如下所述:
所述管理控制子系统300先通过预设的应用获取用户根据需求输入的网络管理控制信息,将所述网络管理控制信息转换为机器可执行代码,得到转换后的网络管理控制信息;在确定源主机需要传输数据时,获取目标主机的地址信息;所述数据交换硬件子系统301根据获取的地址信息确定源主机与目标主机是否处于相同硬件平台;确定处于相同硬件平台时,根据获取的地址信息及所述网络管理控制信息,直接将数据传输到服务器内部的目标主机;确定处于不同硬件平台时,根据所述地址信息及所述网络管理控制信息,并通过邻接网桥302将数据传输到服务器外部的目标主机;如此,能对所述服务器中的数据交换进行实时且动态地控制与管理,从而提高用户使用的灵活性;另外,采用具备数据交换功能的硬件实体设备实现数据交换,能够将网络流量限制在服务器中,方便用户控制与管理,并能够满足大规模虚拟机网络中的数据交换性能需求。
这里,如何将所述网络管理控制信息转换为机器可执行代码属于现有技术,重复之处不再赘述。
如图4所示,本发明实施例提供的数据交换流程,实现步骤包括:
步骤S400、根据用户需求实时配置网络管理控制信息;
首先预设应用,以方便用户能够通过预设的应用实时且动态地对虚拟机网络进行流量管理及数据交换控制,通过预设的应用获取用户根据需求输入的网络管理控制信息;
然后,将所述网络管理控制信息转换为机器可执行代码,得到转换后的网络管理控制信息,上述操作相当于用于将高级编程代码转换为机器可执行代码的解释器所做的操作。
这里,用户可以按照网络规模和/或厂商类型动态地选择虚拟机的数据交换方式,例如,全软件、全硬件或部分硬件承载的数据交换方式;用户还可以按照需求设置网络管理参数,例如,流量监控参数、负载均衡参数、安全等级参数等,因此,所述网络管理控制信息可以包括虚拟机的数据交换方式、网络管理参数等信息。
步骤S401、确定源主机需要传输数据时,获取目标主机的地址信息。
这里,源主机发送的数据报文中携带有目标主机的地址信息,因此,可以从源主机发送的数据报文中获取所述源主机对应的目标主机的地址信息。
这里,所述源主机为服务器中的虚拟机;所述目的主机可以为与所述源主机处于相同硬件平台的虚拟机,也可以为与所述源主机处于不同硬件平台的真实主机。
步骤S402、根据获取的所述地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统进行数据传输。
这里,所述服务器中预设的数据交换硬件子系统为具备数据交换功能的硬件实体设备;所述目标主机可以是与所述源主机处于相同硬件平台的虚拟机,也可以是与所述源主机处于不同硬件平台的真实主机;
相应的,根据获取的所述地址信息及所述网络管理控制信息,进行数据传输的具体实现方式如下:
根据获取的所述地址信息查询预设的数据交换表,确定源主机与目标主机是否处于相同硬件平台;
确定处于相同硬件平台时,根据获取的所述地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统直接将数据传输到服务器内部的目标主机;
确定处于不同硬件平台时,根据获取的所述地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统和邻接网桥将数据传 输到服务器外部的目标主机。
这里,所述数据交换表中包括:目标主机地址及所属的网段;具体如何根据所述地址信息查询预设的数据交换表,确定源主机与目标主机是否处于相同硬件平台属于现有技术,重复之处不再赘述。
为了更清楚地对本发明实施例进行说明,下面以具体实施例对本发明实施例中的数据交换流程进行详细描述。
实施例一
如图5所示,本实施例的数据交换系统应用于服务器500中,所述数据交换系统中的管理控制子系统501根据用户需求实时配置网络管理控制信息;在所述服务器500中配置有两个虚拟机:虚拟机VM1及虚拟机VM2,在所述服务器500的外部网络中配置一个真实主机504;
当VM1需要与VM2进行通信时,所述管理控制子系统501从VM1发送的数据报文中获取VM2的地址信息,根据VM2的地址信息查询预设的数据交换表确定VM1与VM2处于相同硬件平台;所述数据交换硬件子系统502根据获取的VM2的地址信息及所述网络管理控制信息直接将数据传输到VM2;
当VM1需要与外部网络中的真实主机504进行通信时,所述管理控制子系统501从VM1发送的数据报文中获取真实主机504的地址信息,根据真实主机504的地址信息查询预设的数据交换表,确定VM1与真实主机504处于不同硬件平台;所述数据交换硬件子系统502根据获取的真实主机504的地址信息及所述网络管理控制信息,并通过邻接网桥503将数据传输到真实主机504。
本发明实施例还提供了一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行本发明实施例所述的数据交换方法。
本发明所述的方法并不限于具体实施方式中所述的实施例,本领域技术人员根据本发明的技术方案得出其它的实施方式,同样属于本发明的技 术创新范围。
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。

Claims (11)

  1. 一种数据交换方法,根据用户需求实时配置网络管理控制信息;所述方法还包括:
    确定源主机需要传输数据时,获取目标主机的地址信息;
    根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统进行数据传输。
  2. 根据权利要求1所述的方法,其中,所述根据用户需求实时配置网络管理控制信息,包括:
    通过预设的应用获取用户根据需求输入的网络管理控制信息;
    将所述网络管理控制信息转换为机器可执行代码,得到转换后的网络管理控制信息。
  3. 根据权利要求1所述的方法,其中,所述根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统进行数据传输,包括:
    根据获取的地址信息确定源主机与目标主机是否处于相同硬件平台;
    确定处于相同硬件平台时,根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统直接将数据传输到服务器内部的目标主机;
    确定处于不同硬件平台时,根据获取的地址信息及所述网络管理控制信息,经由服务器中预设的数据交换硬件子系统和邻接网桥将数据传输到服务器外部的目标主机。
  4. 根据权利要求1至3任一项所述的方法,其中,所述网络管理控制信息包括虚拟机的数据交换方式、网络管理参数。
  5. 一种数据交换系统,所述系统包括:管理控制子系统、数据交换硬件子系统;其中,
    所述管理控制子系统,配置为根据用户需求实时配置网络管理控制信息,并在确定源主机需要传输数据时,获取目标主机的地址信息;
    所述数据交换硬件子系统,配置为根据获取的地址信息及所述网络管理控制信息,进行数据传输。
  6. 根据权利要求5所述的系统,其中,所述管理控制子系统配置为:
    通过预设的应用获取用户根据需求输入的网络管理控制信息;
    将所述网络管理控制信息转换为机器可执行代码,得到转换后的网络管理控制信息。
  7. 根据权利要求5所述的系统,其中,所述数据交换硬件子系统配置为:
    根据获取的地址信息确定源主机与目标主机是否处于相同硬件平台;
    确定处于相同硬件平台时,根据获取的地址信息及所述网络管理控制信息,直接将数据传输到服务器内部的目标主机;
    确定处于不同硬件平台时,根据所述地址信息及所述网络管理控制信息,并通过邻接网桥将数据传输到服务器外部的目标主机。
  8. 根据权利要求5至7任一项所述的系统,其中,所述网络管理控制信息包括虚拟机的数据交换方式、网络管理参数。
  9. 根据权利要求5至7任一项所述的系统,其中,所述数据交换硬件子系统为具备数据交换功能的硬件实体设备。
  10. 根据权利要求9所述的系统,其中,所述数据交换子系统为现场可编程门阵列FPGA或复杂可编程逻辑器件CPLD。
  11. 一种计算机存储介质,所述存储介质包括一组计算机可执行指令,所述指令用于执行权利要求1-4任一项所述的数据交换方法。
PCT/CN2015/072324 2014-10-22 2015-02-05 一种数据交换方法及系统 WO2016061945A1 (zh)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201410566386.2A CN105530112A (zh) 2014-10-22 2014-10-22 一种数据交换方法及系统
CN201410566386.2 2014-10-22

Publications (1)

Publication Number Publication Date
WO2016061945A1 true WO2016061945A1 (zh) 2016-04-28

Family

ID=55760134

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2015/072324 WO2016061945A1 (zh) 2014-10-22 2015-02-05 一种数据交换方法及系统

Country Status (2)

Country Link
CN (1) CN105530112A (zh)
WO (1) WO2016061945A1 (zh)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112148651B (zh) * 2020-10-10 2022-05-03 中国人民解放军国防科技大学 一种增强型rapidio互联装置及设备

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120027018A1 (en) * 2010-07-30 2012-02-02 Broadcom Corporation Distributed Switch Domain of Heterogeneous Components
US20120127581A1 (en) * 2010-11-23 2012-05-24 National Taipei University Of Technology Method for compensating aberration of variable focus liquid lens
CN102594707A (zh) * 2012-03-21 2012-07-18 北京天地云箱科技有限公司 网络控制系统及网络交换适配器
CN103905309A (zh) * 2012-12-28 2014-07-02 中国电信股份有限公司 虚拟机之间的数据交换方法和系统

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101800781B (zh) * 2009-02-11 2013-07-03 中国科学院计算机网络信息中心 一种穿越nat的隧道过渡方法及系统
CN101834737B (zh) * 2010-03-04 2012-07-11 杭州华三通信技术有限公司 一种ip电话的发现方法和设备

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120027018A1 (en) * 2010-07-30 2012-02-02 Broadcom Corporation Distributed Switch Domain of Heterogeneous Components
US20120127581A1 (en) * 2010-11-23 2012-05-24 National Taipei University Of Technology Method for compensating aberration of variable focus liquid lens
CN102594707A (zh) * 2012-03-21 2012-07-18 北京天地云箱科技有限公司 网络控制系统及网络交换适配器
CN103905309A (zh) * 2012-12-28 2014-07-02 中国电信股份有限公司 虚拟机之间的数据交换方法和系统

Also Published As

Publication number Publication date
CN105530112A (zh) 2016-04-27

Similar Documents

Publication Publication Date Title
US11372802B2 (en) Virtual RDMA switching for containerized applications
US11416275B2 (en) Techniques for migration paths
US10979504B2 (en) Distributed storage resource management in a hyper converged infrastructure
CN107534579B (zh) 资源管理的系统和方法
CN108780410B (zh) 计算系统中的容器的网络虚拟化
CN110770708B (zh) 用于硬件虚拟化的方法和装置
WO2018112709A1 (zh) 一种数据包处理方法、主机和系统
EP2835953B1 (en) System for live migration of virtual machine
US11940933B2 (en) Cross address-space bridging
US10467179B2 (en) Method and device for sharing PCIe I/O device, and interconnection system
US20160239337A1 (en) Method and Computing Device for Selecting Protocol Stack
TW201331763A (zh) 設置隔離虛擬空間的方法與裝置
CN103942087A (zh) 虚拟机热迁移方法及相关装置和集群系统
CN109995552A (zh) Vnf服务实例化方法及装置
US10200311B2 (en) Computer network control for application instantiation
US20190026154A1 (en) Flexible automated provisioning of single-root input/output virtualization (sr-iov) devices
WO2018045926A1 (zh) 用于访问容器的方法和装置
CN108351802B (zh) 计算机数据处理系统和用于虚拟机通信的基于通信流量的优化的方法
WO2016061945A1 (zh) 一种数据交换方法及系统
US10754676B2 (en) Sharing ownership of an input/output device using a device driver partition

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 15853602

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 15853602

Country of ref document: EP

Kind code of ref document: A1