[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN111884937A - Device and method for realizing high-speed network in cloud computing system - Google Patents

Device and method for realizing high-speed network in cloud computing system Download PDF

Info

Publication number
CN111884937A
CN111884937A CN202010720279.6A CN202010720279A CN111884937A CN 111884937 A CN111884937 A CN 111884937A CN 202010720279 A CN202010720279 A CN 202010720279A CN 111884937 A CN111884937 A CN 111884937A
Authority
CN
China
Prior art keywords
network
flow
cloud computing
computing system
intelligent switch
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.)
Granted
Application number
CN202010720279.6A
Other languages
Chinese (zh)
Other versions
CN111884937B (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.)
Jiangsu Anchao Cloud Software Co Ltd
Original Assignee
Jiangsu Anchao Cloud Software 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 Jiangsu Anchao Cloud Software Co Ltd filed Critical Jiangsu Anchao Cloud Software Co Ltd
Priority to CN202010720279.6A priority Critical patent/CN111884937B/en
Publication of CN111884937A publication Critical patent/CN111884937A/en
Application granted granted Critical
Publication of CN111884937B publication Critical patent/CN111884937B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/74Address processing for routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • H04L12/4625Single bridge functionality, e.g. connection of two networks over a single bridge
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L49/00Packet switching elements
    • H04L49/70Virtual switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention provides a device and a method for realizing a high-speed network in a cloud computing system, wherein the device comprises: the intelligent switch and the gateway node are used for providing network services for the virtual hosts in the computing nodes, the intelligent switch loads interaction of network data among the computing nodes, and the network nodes and the intelligent switch are jointly responsible for the interaction of the network data among the computing nodes and an external network. Through utilizing the fast advantage of this hardware equipment self flow processing speed of intelligent switch for east-west is to network flow need not pass through the gateway, only be handled in intelligent switch, and north-south is to network flow then need intelligent switch and gateway node to handle jointly, can greatly improve east-west to the treatment effeciency of flow, utilize intelligent switch and gateway node to realize the decoupling zero between routing function and the gateway function, guarantee west-east to the network rapid processing, also guarantee the normal circulation of north-south to the network, the network processing route has effectively been shortened, promote system network performance.

Description

Device and method for realizing high-speed network in cloud computing system
Technical Field
The invention relates to the technical field of data migration, in particular to a device and a method for realizing a high-speed network in a cloud computing system.
Background
With the rapid development of network, virtualization and storage technologies, cloud computing becomes one of the currently attracting attention network technologies, so to say, the network technologies have advanced into the cloud computing era, and various large cloud computing manufacturers or large IT enterprises establish their own data centers to support and develop their own services. Network data in a cloud computing data center are generally divided into two types, one type is an east-west network without accessing an external network, and the network data generally appear in network interconnection among virtual hosts; one is a north-south network accessed by an internal network and an external network, and generally occurs when a virtual host is connected with the external network.
With the continuous development of the cloud computing field, the east-west network data traffic in a data center greatly exceeds the north-south network data traffic, and the traditional network traffic system needs to be processed by a special network node, namely, both interconnection access between virtual hosts and connection access between the virtual hosts and the outside need to be realized by the network node, but due to the rapid increase of the east-west data traffic, the processing scheme depending on the network node reaches the performance bottleneck, the high-speed circulation of the east-west traffic is seriously influenced, the network performance of the whole cloud computing system is further influenced, and the data transmission requirement of the cloud computing system is difficult to adapt.
Disclosure of Invention
In view of this, embodiments of the present invention provide a device and a method for implementing a high-speed network in a cloud computing system, so as to overcome a problem that in the prior art, all network traffic in the cloud computing system depends on network node processing, which seriously affects high-speed flow of east-west traffic.
According to a first aspect, an embodiment of the present invention provides an apparatus for implementing a high-speed network in a cloud computing system, where the cloud computing system includes: the device for realizing the high-speed network in the cloud computing system comprises a plurality of computing nodes and virtual hosts which are arranged in one-to-one correspondence with the computing nodes, wherein the computing nodes are responsible for the operation of the virtual hosts, and the device for realizing the high-speed network in the cloud computing system comprises: the intelligent switch and the gateway node are used for providing network service for the virtual host in each computing node, wherein the intelligent switch is responsible for interaction of network data among the computing nodes; and the network node and the intelligent switch are jointly responsible for the interaction of network data between each computing node and an external network.
According to a second aspect, an embodiment of the present invention provides a method for implementing a high-speed network in a cloud computing system, which is applied to an intelligent switch in an apparatus for implementing a high-speed network in a cloud computing system according to the first aspect, where the method for implementing a high-speed network in a cloud computing system includes: acquiring first network flow of a virtual host sent by a source computing node; and determining a source computing node flow forwarding strategy according to the destination address of the first network flow, and forwarding the first network flow according to the flow forwarding strategy.
Optionally, the determining a traffic forwarding policy according to the destination address of the first network traffic, and forwarding the first network traffic according to the traffic forwarding policy includes: judging whether the destination address of the first network flow is an intranet address or not; when the destination address is an intranet address, judging whether the destination address of the first network flow and the source computing node belong to the same network; and when the destination computing node corresponding to the destination address and the source computing node belong to the same network, forwarding the first network flow to the destination computing node through a corresponding virtual network bridge.
Optionally, when the destination computing node corresponding to the destination address and the source computing node belong to different networks, the first network traffic is forwarded to the corresponding virtual bridge after being routed by the virtual router, and the first network traffic is forwarded to the destination computing node by the virtual bridge.
Optionally, when the destination address is an external network address, the first network traffic is forwarded to a gateway node, so that the gateway node selects a corresponding gateway according to the destination address of the first network traffic to perform traffic processing on the first network traffic and then forwards the first network traffic to the external network corresponding to the destination address.
Optionally, the method for implementing a high-speed network in a cloud computing system further includes: receiving a second network flow forwarded by a gateway node, wherein the second network flow is the network flow obtained after the second network flow for accessing the virtual host sent by the external network is obtained and a corresponding gateway is selected according to a destination address of the second network flow to process the second network flow; and routing according to the destination address of the second network flow, forwarding to a corresponding virtual bridge, and forwarding the second network flow to a computing node corresponding to the virtual host to be accessed through the virtual bridge.
According to a third aspect, an embodiment of the present invention provides a method for implementing a high-speed network in a cloud computing system, which is applied to a gateway node in an apparatus for implementing a high-speed network in a cloud computing system according to the first aspect, and is characterized in that the method for implementing a high-speed network in a cloud computing system includes: receiving first network traffic forwarded by an intelligent switch, wherein the first network traffic is the first network traffic of a virtual host sent by a source computing node and acquired by the intelligent switch, and a destination address of the first network traffic is an external network address; and selecting a corresponding gateway according to the destination address of the first network flow, carrying out flow processing on the first network flow, and forwarding the first network flow to an external network corresponding to the destination address.
Optionally, the method for implementing a high-speed network in a cloud computing system further includes: the method comprises the steps of obtaining second network flow sent by an external network and used for accessing a virtual host, selecting a corresponding gateway according to a destination address of the second network flow to process the second network flow and then forwarding the second network flow to a corresponding virtual router in an intelligent switch, so that the virtual router in the intelligent switch conducts routing according to the destination address and then forwards the second network flow to a corresponding virtual bridge in the intelligent switch, and the second network flow is forwarded to a computing node corresponding to the virtual host to be accessed through the virtual bridge.
According to a fourth aspect, an embodiment of the present invention further provides an electronic device, including: the memory and the processor are communicatively connected to each other, the memory stores computer instructions, and the processor executes the computer instructions to perform the method for implementing a high-speed network in a cloud computing system according to any one of the second aspect and the second optional implementation manner provided by the embodiment of the present invention, or to perform the method for implementing a high-speed network in a cloud computing system according to any one of the third aspect and the third optional implementation manner provided by the embodiment of the present invention.
According to a fifth aspect, an embodiment of the present invention further provides a computer-readable storage medium, where the computer-readable storage medium stores computer instructions, where the computer instructions are configured to enable the computer to execute the method for implementing a high-speed network in a cloud computing system according to the second aspect and any optional implementation manner of the second aspect, or to execute the method for implementing a high-speed network in a cloud computing system according to any optional implementation manner of the third aspect and any optional implementation manner of the third aspect.
The technical scheme of the invention has the following advantages:
the embodiment of the invention provides a device for realizing a high-speed network in a cloud computing system, which is characterized in that a device comprising an intelligent switch and a gateway node is arranged in the cloud computing system, wherein the interaction of network data among computing nodes in the cloud computing system, namely east-west network flow, is only responsible for through the intelligent switch, the interaction of network data among the cloud computing system and an external network, namely south-north network flow, is completed through the intelligent switch and the network node together, because the east-west network flow in the cloud computing system is far greater than the south-north network flow, the advantage of high flow processing speed of the intelligent switch, namely the hardware equipment, is utilized, the east-west network flow with large flow does not pass through the gateway and is only processed in the intelligent switch, and the south-north network flow with small flow needs to be processed by the intelligent switch and the gateway node together, the processing efficiency of east-west flow can be greatly improved, thereby decoupling between the routing function and the gateway function is realized by utilizing the intelligent switch and the gateway node, the rapid processing of east-west network is ensured, the normal circulation of the north-south network is ensured, the network processing path of the cloud computing system is effectively shortened, and the network performance of the system is greatly improved.
The embodiment of the invention provides a method for realizing a high-speed network in a cloud computing system, which is applied to an intelligent switch in a device for realizing the high-speed network in the cloud computing system, and the method comprises the steps of acquiring first network flow of a virtual host sent by a source computing node; and determining a flow forwarding strategy according to the destination address of the first network flow, and forwarding the first network flow according to the flow forwarding strategy. Thereby formulate the flow that corresponds according to the destination address and forward the strategy, utilize the advantage that this hardware equipment of intelligent switch self flow processing speed is fast, make large-traffic east-west to network flow need not pass through the gateway, only be handled in intelligent switch, and little flow south-north to network flow then needs intelligent switch and gateway node to handle jointly, can greatly improve east-west to flow's treatment effeciency, thereby utilize intelligent switch and gateway node to realize the decoupling zero between routing function and the gateway function, both ensured the fast processing of east-west to the network, also guaranteed the normal circulation of south-north to the network simultaneously, and then effectively shorten cloud computing system's network processing route, promote the network performance of system greatly.
The embodiment of the invention provides a method for realizing a high-speed network in a cloud computing system, which is applied to a gateway node in a device for realizing the high-speed network in the cloud computing system provided by another embodiment of the invention, and the method receives first network flow forwarded by an intelligent switch, wherein the first network flow is the first network flow of a virtual host sent by a source computing node and acquired by the intelligent switch, and the destination address of the first network flow is an external network address, and the advantage of high flow processing speed of hardware equipment of the intelligent switch is utilized, so that the east-west network flow with large flow is only processed in the intelligent switch without passing through the gateway, and the south-north network flow with small flow needs to be processed by the intelligent switch and the gateway node together, thereby greatly improving the processing efficiency of the east-west flow, realizing the decoupling between a routing function and a gateway function by utilizing the intelligent switch and the gateway node, the fast processing of the east-west network is guaranteed, the normal circulation of the north-south network is guaranteed, the network processing path of the cloud computing system is effectively shortened, and the network performance of the system is greatly improved.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and other drawings can be obtained by those skilled in the art without creative efforts.
Fig. 1 is a schematic structural diagram of an apparatus for implementing a high-speed network in a cloud computing system according to an embodiment of the present invention;
fig. 2 is a flowchart of a method for implementing a high-speed network in a cloud computing system according to an embodiment of the present invention;
fig. 3 is another flowchart of a method for implementing a high-speed network in a cloud computing system according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device in an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The technical features mentioned in the different embodiments of the invention described below can be combined with each other as long as they do not conflict with each other.
An embodiment of the present invention further provides a device for implementing a high-speed network in a cloud computing system, where the cloud computing system includes a plurality of computing nodes, and each computing node is correspondingly provided with a virtual host in the cloud computing system, as shown in fig. 1, the device for implementing a high-speed network in a cloud computing system is provided in the cloud computing system, and specifically includes: the intelligent switch and the gateway node are used for providing network services for the virtual hosts in the computing nodes, the intelligent switch loads interaction of network data among the computing nodes, and the network nodes and the intelligent switch are jointly responsible for the interaction of the network data among the computing nodes and an external network. The intelligent switch includes a virtual bridge, which is a virtual device for implementing network two-layer switching, and a virtual router, which is a virtual device for implementing three-layer network routing, and the gateway node includes a gateway, which is a virtual device for implementing network interconnection above the network layer.
It should be noted that, the cloud computing system further includes a control node, where the control node manages all computing nodes in the cloud computing system, and manages and controls the intelligent switch and the gateway node, and the intelligent switch may dynamically change network switching and routing information in the intelligent switch by contacting with the control node, for example: the current occupation conditions of the virtual router and the virtual bridge and the like provide network communication service for the virtual host in real time. Similarly, the gateway node may also dynamically change gateway information through contact with the control node, such as: and the current occupation condition of the gateway and the like instantly provide network communication service between the cloud computing system and the external network.
The working principle of the apparatus for implementing a high-speed network in a cloud computing system according to the embodiment of the present invention will be described below with reference to a specific application example.
As shown in fig. 1, each computing node in the cloud computing system carries a virtual host of a user, and the smart switch and the gateway node are responsible for providing network services for the virtual host in the computing node. Network data entering and exiting from a computing node in the system are mainly divided into two types, one type is east-west network flow, and the flow does not need to pass through a flow gateway and comprises flow which does not need to be routed between the same networks (flow which does not need to pass through a virtual bridge of an intelligent switch and a virtual router) and flow which needs to be routed between different networks (flow which needs to pass through the virtual bridge and the virtual router of the intelligent switch and the virtual router). The other type is the south-north network traffic, which is mainly generated by the virtual host accessing the extranet or the extranet accessing the virtual host, and the south-north network traffic needs to pass through the gateway node besides the intelligent switch. With the development of the cloud computing market, the east-west flow in the cloud computing system greatly exceeds the north-south flow, and the traditional network flow system reaches the performance bottleneck through a processing scheme of network nodes, so that the high-speed circulation of the east-west flow is influenced.
In the embodiment of the invention, a strategy of splitting a traditional network node into an intelligent switch and a gateway node is provided, and the flow in the cloud computing system is processed in a differentiated mode, so that the network processing performance of the cloud computing system is improved.
When the network flow of the virtual host flows into the intelligent switch from the flow of the computing node, the intelligent switch selects different forwarding strategies by judging the destination address of the network flow. If the destination is the address of the same network, directly forwarding the flow to the computing node where the destination address is located through the virtual network bridge; if the destination is the address of different networks, the flow can be routed through the virtual router, if the destination network is under the virtual router, the flow is forwarded to the virtual bridge after being routed by the virtual router, the virtual bridge is forwarded to the computing node where the destination address is located, if the destination address is not under the virtual router, the flow is lost to the gateway node, the gateway node can select the corresponding gateway, and the gateway processes the flow and forwards the flow to the external network.
When the external network flow accesses the virtual host, firstly, a proper gateway is found through the gateway node, the gateway processes the flow and then forwards the flow to a corresponding virtual router in the intelligent switch, the virtual router searches a routing table according to the destination address of the flow and then forwards the routing table to a corresponding virtual bridge, and the virtual bridge forwards the flow to a computing node where the destination address is located.
Through the cooperative cooperation of the above components, the device for realizing a high-speed network in a cloud computing system provided by the embodiment of the invention is provided with the device comprising the intelligent switch and the gateway node in the cloud computing system, wherein the interaction of network data among the computing nodes in the cloud computing system, namely the network flow in the east-west direction, is only responsible for through the intelligent switch, and the interaction of network data among the cloud computing system and an external network, namely the network flow in the south-north direction, is completed through the intelligent switch and the network node together, because the network flow in the east-west direction is far greater than the network flow in the south-north direction in the cloud computing system, the advantage of the intelligent switch that the hardware equipment has a high flow processing speed is utilized, the network flow in the east-west direction with large flow is processed only in the intelligent switch without passing through the gateway, and the network flow in the south-north direction with small flow needs to be processed together by the intelligent switch, the processing efficiency of east-west flow can be greatly improved, thereby decoupling between the routing function and the gateway function is realized by utilizing the intelligent switch and the gateway node, the rapid processing of east-west network is ensured, the normal circulation of the north-south network is ensured, the network processing path of the cloud computing system is effectively shortened, and the network performance of the system is greatly improved.
An embodiment of the present invention further provides a method for implementing a high-speed network in a cloud computing system, which is applied to an intelligent switch in a device for implementing a high-speed network in a cloud computing system according to the foregoing embodiment, and as shown in fig. 2, the method for implementing a high-speed network in a cloud computing system specifically includes the following steps:
step S101: the method includes the steps that first network flow of a virtual host sent by a source computing node is obtained. Specifically, in the embodiment of the present invention, the first network traffic includes network traffic for performing network communication between a virtual host carried by one of the computing nodes in the cloud computing system and virtual hosts carried by other computing nodes, and belongs to network traffic inside the cloud computing system, that is, east-west network traffic, and also includes network traffic for accessing an external network by a virtual host carried by one of the computing nodes in the cloud computing system, and belongs to network traffic between the inside of the cloud computing system and the external network, that is, north-south network traffic.
Step S102: and determining a flow forwarding strategy according to the destination address of the first network flow, and forwarding the first network flow according to the flow forwarding strategy. In the embodiment of the invention, the network flow in the east-west direction in the cloud computing system can be processed without a gateway, and the circulation of the network flow in the east-west direction is completed only by the intelligent switch, so that the processing efficiency of the network flow in the east-west direction is greatly improved, the network path in the east-west direction is shortened, and the network processing performance of the whole system is further improved. For the north-south network traffic in the cloud computing system, the traffic needs to be forwarded to the gateway node through the intelligent switch, and the gateway node selects the corresponding gateway to forward the traffic to the external network, so that normal circulation of the north-south traffic is guaranteed.
In practical application, the intelligent switch includes a virtual bridge, which is a virtual device for implementing network two-layer switching, and a virtual router, which is a virtual device for implementing three-layer network routing, and the gateway node includes a gateway, which is a virtual device for implementing network interconnection above the network layer. Therefore, the virtual bridge and the virtual router can be used for realizing the flow of east-west traffic in the cloud computing system without being processed by a gateway.
Specifically, the specific implementation process of step S102 is as follows: judging whether the destination address of the first network flow is an intranet address or not; when the destination address is an intranet address, judging whether the destination address of the first network flow and the source computing node belong to the same network or not; and when the destination computing node corresponding to the destination address and the source computing node belong to the same network, forwarding the first network flow to the destination computing node through the corresponding virtual network bridge. When the destination computing node and the source computing node corresponding to the destination address belong to different networks, the first network flow is forwarded to the corresponding virtual network bridge after being routed through the virtual router, and the first network flow is forwarded to the destination computing node through the virtual network bridge. And when the destination address is an external network address, forwarding the first network flow to the gateway node, so that the gateway node selects a corresponding gateway according to the destination address of the first network flow to perform flow processing on the first network flow and then forwards the first network flow to the external network corresponding to the destination address. Therefore, the circulation of network traffic in the east-west direction in the cloud computing system and the circulation of network traffic in the north-south direction in the cloud computing system accessing the external network are completed.
Specifically, in an embodiment, the method for implementing a high-speed network in a cloud computing system further includes:
step S103: and receiving second network traffic forwarded by the gateway node, wherein the second network traffic is the network traffic which is obtained after second network traffic for accessing the virtual host and sent by the external network is obtained, and selecting a corresponding gateway according to a destination address of the second network traffic to process the second network traffic. Specifically, the second network traffic is network traffic for an external network to access a virtual host carried by a certain computing node in the cloud computing system, and a destination address of the second network traffic is a network address of the virtual host to be accessed to a corresponding computing node. The second network flow is firstly sent to the gateway node by the external network, and then the gateway node selects a corresponding gateway according to the destination address and forwards the gateway to a corresponding virtual router in the intelligent switch.
Step S104: and routing according to the destination address of the second network flow, forwarding to the corresponding virtual bridge, and forwarding the second network flow to the computing node corresponding to the virtual host to be accessed through the virtual bridge. Specifically, after receiving the second network traffic, the virtual router in the intelligent switch searches a routing table according to a destination address of the second network traffic, forwards the second network traffic to the corresponding virtual bridge according to the routing table, and forwards the second network traffic to the computing node corresponding to the virtual host to be accessed by the external network through the virtual bridge, thereby completing the circulation of the network traffic in the north-south direction when the external network of the cloud computing system accesses the cloud computing system.
By executing the above steps S101 to S104, the method for implementing a high-speed network in a cloud computing system according to an embodiment of the present invention is applied to an intelligent switch in an apparatus for implementing a high-speed network in a cloud computing system according to another embodiment of the present invention, and the method includes obtaining a first network traffic of a virtual host sent by a source computing node; and determining a flow forwarding strategy according to the destination address of the first network flow, and forwarding the first network flow according to the flow forwarding strategy. Thereby formulate the flow that corresponds according to the destination address and forward the strategy, utilize the advantage that this hardware equipment of intelligent switch self flow processing speed is fast, make large-traffic east-west to network flow need not pass through the gateway, only be handled in intelligent switch, and little flow south-north to network flow then needs intelligent switch and gateway node to handle jointly, can greatly improve east-west to flow's treatment effeciency, thereby utilize intelligent switch and gateway node to realize the decoupling zero between routing function and the gateway function, both ensured the fast processing of east-west to the network, also guaranteed the normal circulation of south-north to the network simultaneously, and then effectively shorten cloud computing system's network processing route, promote the network performance of system greatly.
An embodiment of the present invention further provides a method for implementing a high-speed network in a cloud computing system, which is applied to a gateway node in a device for implementing a high-speed network in a cloud computing system according to the foregoing embodiment, and as shown in fig. 3, the method for implementing a high-speed network in a cloud computing system specifically includes the following steps:
step S201: and receiving first network flow forwarded by the intelligent switch, wherein the first network flow is the first network flow of the virtual host sent by the source computing node and acquired by the intelligent switch, and the destination address of the first network flow is an external network address. Specifically, the first network traffic is network traffic of a virtual host carried by one of the computing nodes in the cloud computing system accessing the external network, and belongs to network traffic between the inside of the cloud computing system and the external network, that is, network traffic in the north-south direction. When a virtual host carried by a source computing node in a cloud computing system needs to access an external network, the first network traffic is forwarded to a virtual router in the intelligent switch through the source computing node, and then forwarded to a gateway node through the virtual router.
Step S202: and selecting a corresponding gateway according to the destination address of the first network flow, carrying out flow processing on the first network flow, and forwarding the first network flow to an external network corresponding to the destination address. Specifically, after receiving the first network traffic forwarded by the virtual router, the gateway node may select a corresponding gateway according to a destination address of the first network traffic to perform traffic processing, where the traffic processing includes but is not limited to processing traffic that can be identified and processed by an external network, and the like. And then forwarding the processed network traffic to an external network through a gateway. The circulation of the north-south network traffic of the internal access extranet of the cloud computing system is completed.
Specifically, in an embodiment, the method for implementing a high-speed network in a cloud computing system further includes:
step S203: and acquiring second network flow for accessing the virtual host sent by the external network, selecting a corresponding gateway according to a destination address of the second network flow to process the second network flow and then forwarding the second network flow to a corresponding virtual router in the intelligent switch, so that the virtual router in the intelligent switch routes according to the destination address and then forwards the second network flow to a corresponding virtual bridge in the intelligent switch, and the second network flow is forwarded to a computing node corresponding to the virtual host to be accessed through the virtual bridge. Specifically, the second network traffic is network traffic for an external network to access a virtual host carried by a certain computing node in the cloud computing system, and a destination address of the second network traffic is a network address of the virtual host to be accessed to a corresponding computing node. The second network flow is firstly sent to the gateway node by the external network, and then the gateway node selects a corresponding gateway according to the destination address and forwards the gateway to a corresponding virtual router in the intelligent switch. Thus, the circulation of the south-north network traffic of the cloud computing system external network accessing the cloud computing system is completed.
By executing the steps S201 to S203, the method for implementing a high-speed network in a cloud computing system according to an embodiment of the present invention is applied to a gateway node in an apparatus for implementing a high-speed network in a cloud computing system according to another embodiment of the present invention, and the method receives a first network traffic forwarded by an intelligent switch, where the first network traffic is a first network traffic of a virtual host sent by a source computing node and acquired by the intelligent switch, and a destination address of the first network traffic is an external network address, and by using an advantage of a fast traffic processing speed of a hardware device, the intelligent switch, which is a hardware device, enables the large-flow east-west network traffic not to pass through the gateway but to be processed only in the intelligent switch, and the small-flow north-south network traffic needs to be processed by the intelligent switch and the gateway node together, so that the processing efficiency of the east-west traffic can be greatly improved, therefore, decoupling between the routing function and the gateway function is achieved by the intelligent switch and the gateway node, rapid processing of the east-west network is guaranteed, normal circulation of the north-south network is guaranteed, the network processing path of the cloud computing system is effectively shortened, and the network performance of the system is greatly improved.
There is also provided an electronic device according to an embodiment of the present invention, as shown in fig. 4, the electronic device may include a processor 901 and a memory 902, where the processor 901 and the memory 902 may be connected by a bus or in another manner, and fig. 4 takes the example of being connected by a bus as an example.
Processor 901 may be a Central Processing Unit (CPU). The Processor 901 may also be other general purpose processors, Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, or combinations thereof.
The memory 902, which is a non-transitory computer readable storage medium, may be used for storing non-transitory software programs, non-transitory computer executable programs, and modules, such as program instructions/modules corresponding to the methods in the method embodiments of the present invention. The processor 901 executes various functional applications and data processing of the processor by executing non-transitory software programs, instructions and modules stored in the memory 902, that is, implements the methods in the above-described method embodiments.
The memory 902 may include a program storage area and a data storage area, wherein the program storage area may store an operating system, an application program required for at least one function; the storage data area may store data created by the processor 901, and the like. Further, the memory 902 may include high speed random access memory, and may also include non-transitory memory, such as at least one magnetic disk storage device, flash memory device, or other non-transitory solid state storage device. In some embodiments, the memory 902 may optionally include memory located remotely from the processor 901, which may be connected to the processor 901 via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
One or more modules are stored in the memory 902, which when executed by the processor 901 performs the methods in the above-described method embodiments.
The specific details of the electronic device may be understood by referring to the corresponding related descriptions and effects in the above method embodiments, and are not described herein again.
It will be understood by those skilled in the art that all or part of the processes of the methods of the embodiments described above can be implemented by hardware related to instructions of a computer program, and the program can be stored in a computer readable storage medium, and when executed, can include the processes of the embodiments of the methods described above. The storage medium may be a magnetic Disk, an optical Disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a Flash Memory (Flash Memory), a Hard Disk (Hard Disk Drive, abbreviated as HDD), a Solid State Drive (SSD), or the like; the storage medium may also comprise a combination of memories of the kind described above.
Although the embodiments of the present invention have been described in conjunction with the accompanying drawings, those skilled in the art may make various modifications and variations without departing from the spirit and scope of the invention, and such modifications and variations fall within the scope defined by the appended claims.

Claims (10)

1. An apparatus for implementing a high speed network in a cloud computing system, the cloud computing system comprising: a plurality of computing nodes and virtual hosts arranged in one-to-one correspondence with the computing nodes, the computing nodes being responsible for the operation of the virtual hosts,
the device for realizing the high-speed network in the cloud computing system comprises: intelligent switches and gateway nodes for providing network services to virtual hosts in respective computing nodes, wherein,
the intelligent switch is responsible for interaction of network data among the computing nodes;
and the network node and the intelligent switch are jointly responsible for the interaction of network data between each computing node and an external network.
2. A method for implementing a high-speed network in a cloud computing system, applied to the intelligent switch in the apparatus for implementing a high-speed network in a cloud computing system according to claim 1, wherein the method for implementing a high-speed network in a cloud computing system comprises:
acquiring first network flow of a virtual host sent by a source computing node;
and determining a flow forwarding strategy according to the destination address of the first network flow, and forwarding the first network flow according to the flow forwarding strategy.
3. The method for implementing a high-speed network in a cloud computing system according to claim 2, wherein the determining a traffic forwarding policy according to a destination address of the first network traffic and forwarding the first network traffic according to the traffic forwarding policy comprises:
judging whether the destination address of the first network flow is an intranet address or not;
when the destination address is an intranet address, judging whether the destination address of the first network flow and the source computing node belong to the same network;
and when the destination computing node corresponding to the destination address and the source computing node belong to the same network, forwarding the first network flow to the destination computing node through a corresponding virtual network bridge.
4. The method for implementing a high-speed network in a cloud computing system according to claim 3,
and when the destination computing node corresponding to the destination address and the source computing node belong to different networks, routing the first network flow through a virtual router and forwarding the first network flow to a corresponding virtual network bridge, and forwarding the first network flow to the destination computing node through the virtual network bridge.
5. The method for implementing a high-speed network in a cloud computing system according to claim 3,
and when the destination address is an external network address, forwarding the first network traffic to a gateway node, so that the gateway node selects a corresponding gateway according to the destination address of the first network traffic, performs traffic processing on the first network traffic, and forwards the first network traffic to an external network corresponding to the destination address.
6. The method for implementing a high-speed network in a cloud computing system according to claim 2, further comprising:
receiving a second network flow forwarded by a gateway node, wherein the second network flow is the network flow obtained after the second network flow for accessing the virtual host sent by the external network is obtained and a corresponding gateway is selected according to a destination address of the second network flow to process the second network flow;
and routing according to the destination address of the second network flow, forwarding to a corresponding virtual bridge, and forwarding the second network flow to a computing node corresponding to the virtual host to be accessed through the virtual bridge.
7. A method for implementing a high-speed network in a cloud computing system, applied to the gateway node in the apparatus for implementing a high-speed network in a cloud computing system according to claim 1, wherein the method for implementing a high-speed network in a cloud computing system comprises:
receiving first network traffic forwarded by an intelligent switch, wherein the first network traffic is the first network traffic of a virtual host sent by a source computing node and acquired by the intelligent switch, and a destination address of the first network traffic is an external network address;
and selecting a corresponding gateway according to the destination address of the first network flow, carrying out flow processing on the first network flow, and forwarding the first network flow to an external network corresponding to the destination address.
8. The method for implementing a high-speed network in a cloud computing system according to claim 7, further comprising:
the method comprises the steps of obtaining second network flow sent by an external network and used for accessing a virtual host, selecting a corresponding gateway according to a destination address of the second network flow to process the second network flow and then forwarding the second network flow to a corresponding virtual router in an intelligent switch, so that the virtual router in the intelligent switch conducts routing according to the destination address and then forwards the second network flow to a corresponding virtual bridge in the intelligent switch, and the second network flow is forwarded to a computing node corresponding to the virtual host to be accessed through the virtual bridge.
9. An electronic device, comprising:
a memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing therein computer instructions, and the processor executing the computer instructions to perform the method for implementing a high-speed network in a cloud computing system according to any one of claims 2 to 6, or to perform the method for implementing a high-speed network in a cloud computing system according to any one of claims 7 to 8.
10. A computer-readable storage medium storing computer instructions for causing a computer to perform the method for implementing a high-speed network in a cloud computing system according to any one of claims 2 to 6, or the method for implementing a high-speed network in a cloud computing system according to any one of claims 7 to 8.
CN202010720279.6A 2020-07-23 2020-07-23 Device and method for realizing high-speed network in cloud computing system Active CN111884937B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010720279.6A CN111884937B (en) 2020-07-23 2020-07-23 Device and method for realizing high-speed network in cloud computing system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010720279.6A CN111884937B (en) 2020-07-23 2020-07-23 Device and method for realizing high-speed network in cloud computing system

Publications (2)

Publication Number Publication Date
CN111884937A true CN111884937A (en) 2020-11-03
CN111884937B CN111884937B (en) 2022-06-24

Family

ID=73200233

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010720279.6A Active CN111884937B (en) 2020-07-23 2020-07-23 Device and method for realizing high-speed network in cloud computing system

Country Status (1)

Country Link
CN (1) CN111884937B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117014371A (en) * 2023-07-05 2023-11-07 曙光云计算集团有限公司 Network traffic processing method and device, electronic equipment and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7111072B1 (en) * 2000-09-13 2006-09-19 Cosine Communications, Inc. Packet routing system and method
CN102255903A (en) * 2011-07-07 2011-11-23 广州杰赛科技股份有限公司 Safety isolation method for virtual network and physical network of cloud computing
US20140023074A1 (en) * 2012-07-17 2014-01-23 Cisco Technology, Inc. System and method for layer-2 network routing
US8660129B1 (en) * 2012-02-02 2014-02-25 Cisco Technology, Inc. Fully distributed routing over a user-configured on-demand virtual network for infrastructure-as-a-service (IaaS) on hybrid cloud networks
CN204517847U (en) * 2015-04-22 2015-07-29 深圳市高德信通信股份有限公司 A kind of network flow quantity shunting system
CN105227454A (en) * 2014-06-18 2016-01-06 中兴通讯股份有限公司 Virtual flow-line system and method
CN105391771A (en) * 2015-10-16 2016-03-09 张陵 Multi-tenant-oriented cloud network architecture
CN106685835A (en) * 2017-03-06 2017-05-17 无锡华云数据技术服务有限公司 Method for achieving high-speed distributed routing between computational nodes of data center
US20180063036A1 (en) * 2016-08-27 2018-03-01 Ganesan Chandrashekhar Distributed Processing of North-South Traffic for Logical Network in Public Cloud

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7111072B1 (en) * 2000-09-13 2006-09-19 Cosine Communications, Inc. Packet routing system and method
CN102255903A (en) * 2011-07-07 2011-11-23 广州杰赛科技股份有限公司 Safety isolation method for virtual network and physical network of cloud computing
US8660129B1 (en) * 2012-02-02 2014-02-25 Cisco Technology, Inc. Fully distributed routing over a user-configured on-demand virtual network for infrastructure-as-a-service (IaaS) on hybrid cloud networks
US20140023074A1 (en) * 2012-07-17 2014-01-23 Cisco Technology, Inc. System and method for layer-2 network routing
CN105227454A (en) * 2014-06-18 2016-01-06 中兴通讯股份有限公司 Virtual flow-line system and method
CN204517847U (en) * 2015-04-22 2015-07-29 深圳市高德信通信股份有限公司 A kind of network flow quantity shunting system
CN105391771A (en) * 2015-10-16 2016-03-09 张陵 Multi-tenant-oriented cloud network architecture
US20180063036A1 (en) * 2016-08-27 2018-03-01 Ganesan Chandrashekhar Distributed Processing of North-South Traffic for Logical Network in Public Cloud
CN106685835A (en) * 2017-03-06 2017-05-17 无锡华云数据技术服务有限公司 Method for achieving high-speed distributed routing between computational nodes of data center

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ZHANG QINGLI等: "Low latency router design supporting both deterministic routing and adaptive routing", 《JOURNAL OF COMPUTER AIDED DESIGN & COMPUTER GRAPHICS》 *
严立宇等: "云计算网络中多租户虚拟网络隔离的分布式实现研究", 《计算机应用与软件》 *
彭亚发;谢小兰;: "基于交换机防扫描技术网络安全的实现", 《电脑开发与应用》 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117014371A (en) * 2023-07-05 2023-11-07 曙光云计算集团有限公司 Network traffic processing method and device, electronic equipment and storage medium

Also Published As

Publication number Publication date
CN111884937B (en) 2022-06-24

Similar Documents

Publication Publication Date Title
CN112640371B (en) Method and system for performing data operations on a distributed storage environment
US10791065B2 (en) Systems and methods for providing container attributes as part of OAM techniques
US11240155B2 (en) Technologies for network device load balancers for accelerated functions as a service
US9628374B1 (en) Ethernet link aggregation with shared physical ports
US9537798B1 (en) Ethernet link aggregation with shared physical ports
CN110313163A (en) Load balance in distributed computing system
US11836359B2 (en) Block storage with volume locality placement based on performance requirements
EP3588869B1 (en) Technologies for hairpinning network traffic
CN113992569B (en) Multipath service convergence method, device and storage medium in SDN network
WO2017140112A1 (en) Multi-channel packet forwarding method and device
JP2017537404A (en) Memory access method, switch, and multiprocessor system
CN109495596A (en) A kind of method and device for realizing address conversion
CN111694519B (en) Method, system and server for mounting cloud hard disk on bare metal server
US11489810B2 (en) Intelligently routing a response packet along a same connection as a request packet
CN111884937B (en) Device and method for realizing high-speed network in cloud computing system
CN104468855A (en) Method and device for processing ARP message
CN113765801B (en) Message processing method and device applied to data center, electronic equipment and medium
CN104348737A (en) Multicast message transmission method and switches
CN101350772A (en) Method for selecting line of router with multiple WAN interfaces, system and router
CN114490458A (en) Data transmission method, chip, server and storage medium
CN111404705B (en) SDN optimization method and device and computer readable storage medium
CN113709018A (en) Vxlan-based virtualized network access method and system
CN115065730B (en) Data processing method, first container, electronic equipment and storage medium
US20240333643A1 (en) Active Backup Path Management For Multi-Region And Multi-Cloud Applications
CN115174581B (en) Load balancing method and router

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant