CN112311669B - Network service switching method, device, system and storage medium - Google Patents

Network service switching method, device, system and storage medium Download PDF

Info

Publication number
CN112311669B
CN112311669B CN201910710345.9A CN201910710345A CN112311669B CN 112311669 B CN112311669 B CN 112311669B CN 201910710345 A CN201910710345 A CN 201910710345A CN 112311669 B CN112311669 B CN 112311669B
Authority
CN
China
Prior art keywords
new
path
network
interface
identification
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
CN201910710345.9A
Other languages
Chinese (zh)
Other versions
CN112311669A (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.)
China Telecom Corp Ltd
Original Assignee
China Telecom Corp 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 China Telecom Corp Ltd filed Critical China Telecom Corp Ltd
Priority to CN201910710345.9A priority Critical patent/CN112311669B/en
Publication of CN112311669A publication Critical patent/CN112311669A/en
Application granted granted Critical
Publication of CN112311669B publication Critical patent/CN112311669B/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/22Alternate 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/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/02Topology update or discovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/28Routing or path finding of packets in data switching networks using route fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/141Setup of application sessions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/14Session management
    • H04L67/146Markers for unambiguous identification of a particular session, e.g. session cookie or URL-encoding

Abstract

The invention discloses a network service switching method, a device, a system and a storage medium, and relates to the technical field of computers. The network service switching method comprises the following steps: responding to the change of the network service path, creating a new interface for the virtual network element, wherein the flow of the network service before the change is sent out from the original interface of the virtual network element and transmitted along the original forwarding path; the information of the new interface is issued to the public network, so that the virtual network element determines a new forwarding path according to the information of the new interface, configures the original forwarding path as a main path and configures the new forwarding path as a standby path; and responding to the network service switching, triggering the virtual network element to update the path information so that the virtual network element sequentially sets the main path as a new forwarding path, releases the original interface and then converges the forwarding path into the new forwarding path. Therefore, the traffic can be smoothly switched to the new forwarding path, and the switching process can be realized quickly and with high quality.

Description

Network service switching method, device, system and storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a system, and a storage medium for switching network services.
Background
In a Network Function Virtualization (NFV) scenario, a service change often occurs. For example, when adding a Virtual firewall (vFW), a Virtual Load Balance (vLB), an application accelerator, a Depth Packet Inspection (DPI), or a legal Interception (Lawful Interception, LI), a Network Address Translation (NAT), and other value-added services to an output port of a Virtual user terminal device (vCPE), the service forwarding path often needs to be changed. Currently, the overall idea of the switching process is as follows: and utilizing the idle interface as a new service interface, configuring the service under the new service interface, and establishing the connection between the network elements related to the new service. When a new forwarding path is ready, the original path is removed, and then the traffic is switched to the new forwarding path.
Disclosure of Invention
The inventor has analyzed that the solutions of the related art have a large impact on the service. Taking the NFV network as an example that a new firewall and other devices providing value-added services are required to be added, in the process of connecting the firewall to the original forwarding path in series, the duration of service interruption or packet loss is often in the order of minutes or hours. With the automation of Service deployment, Service changes in the NFV cloud network will become more frequent, and packet loss caused by the Service changes may reduce user experience, thereby causing customer complaints about Service-Level Agreement (SLA) of the Service. Therefore, the network service switching process in the related art may cause problems of long switching time and poor network quality.
The embodiment of the invention aims to solve the technical problem that: how to reduce the switching time in the network service switching process and improve the network quality.
According to a first aspect of some embodiments of the present invention, there is provided a network service switching method, including: responding to the change of the network service path, creating a new interface for the virtual network element, wherein the flow of the network service before the change is sent out from the original interface of the virtual network element and transmitted along the original forwarding path; the information of the new interface is issued to the public network, so that the virtual network element determines a new forwarding path according to the information of the new interface, configures the original forwarding path as a main path and configures the new forwarding path as a standby path; and responding to the network service switching, triggering the virtual network element to update the path information so that the virtual network element sequentially sets the main path as a new forwarding path, releases the original interface and then converges the forwarding path into the new forwarding path.
In some embodiments, creating a new interface for the virtual network element comprises: creating a new network and a new server, and acquiring an identifier of the new network and an identifier of the new server; determining the identifier of the corresponding new interface based on the identifier of the new server; creating a new port based on the identification of the new network; binding the new interface to the new port based on the new network identification, the new port identification, and the new interface identification.
In some embodiments, the network service component creates a new network, obtains an identification of the new network; the virtual machine management component creates a new server and obtains the identification of the new server; the virtual machine management component determines the corresponding identifier of the new interface based on the identifier of the new server; the network service component creates a new port based on the identification of the new network; the network service component binds the new interface to the new port based on the identification of the new network, the identification of the new port, and the identification of the new interface.
In some embodiments, the network traffic path change comprises: adding network nodes, deleting network nodes or changing network nodes on the network service path.
In some embodiments, the path information is routing information or label information.
According to a second aspect of some embodiments of the present invention, there is provided a traffic path switching method, including: the virtual network element determines a new forwarding path according to information of a new interface created by the cloud management platform for the virtual network element in response to the change of the network service path, wherein the flow of the network service before the change is sent out from an original interface of the virtual network element and transmitted along the original forwarding path; the virtual network element configures the original forwarding path as a main path and configures the new forwarding path as a standby path; in response to the network service switching, the virtual network element sets the main path as a new forwarding path, releases the original interface, and then converges the forwarding path into a new forwarding path in sequence.
According to a third aspect of some embodiments of the present invention, there is provided a traffic path switching apparatus, including: the interface creating module is configured to respond to the change of the network service path and create a new interface for the virtual network element, wherein the flow of the network service before the change is sent out from the original interface of the virtual network element and transmitted along the original forwarding path; the information publishing module is configured to publish the information of the new interface to the public network so that the virtual network element determines a new forwarding path according to the information of the new interface, configures the original forwarding path as a main path and configures the new forwarding path as a standby path; and the change triggering module is configured to trigger the virtual network element to update the path information in response to the network service switching, so that the virtual network element sequentially sets the main path as a new forwarding path, releases the original interface and then converges the forwarding path into the new forwarding path.
In some embodiments, the interface creation module is further configured to: creating a new network and a new server, and acquiring an identifier of the new network and an identifier of the new server; determining the identifier of the corresponding new interface based on the identifier of the new server; creating a new port based on the identification of the new network; binding the new interface to the new port based on the new network identification, the new port identification, and the new interface identification.
In some embodiments, the interface creation module includes a network services component and a virtual machine management component; the network service component is configured to create a new network, obtain an identification of the new network; creating a new port based on the identification of the new network; binding the new interface to the new port based on the identification of the new network, the identification of the new port and the identification of the new interface created by the virtual machine management component; the virtual machine management component is configured to create a new server and obtain the identification of the new server; based on the identity of the new server, the identity of the corresponding new interface is determined.
In some embodiments, the network traffic path change comprises: adding network nodes, deleting network nodes or changing network nodes on the network service path.
In some embodiments, the path information is routing information or label information.
In some embodiments, the traffic path switching device is located on a cloud management platform.
According to a fourth aspect of some embodiments of the present invention, there is provided a traffic path switching apparatus, including: a memory; and a processor coupled to the memory, the processor configured to perform any of the foregoing traffic path switching methods based on instructions stored in the memory.
According to a fifth aspect of some embodiments of the present invention, there is provided a traffic path switching system, including: any one of the foregoing service path switching devices; the virtual network element is configured to determine a new forwarding path according to information of a new interface created by the cloud management platform for the virtual network element in response to the change of the network service path, wherein the flow of the network service before the change is sent out from an original interface of the virtual network element and transmitted along the original forwarding path; configuring an original forwarding path into a primary path and configuring a new forwarding path into a standby path; and responding to the network service switching, sequentially setting the main path as a new forwarding path, releasing the original interface, and converging the forwarding path into the new forwarding path.
According to a sixth aspect of some embodiments of the present invention, there is provided a computer-readable storage medium having a computer program stored thereon, wherein the program, when executed by a processor, implements any one of the traffic path switching methods described above.
Some embodiments of the above invention have the following advantages or benefits: by the embodiment of the invention, an interface can be dynamically created when the network topology in the NFV scene changes, and a new forwarding path and an original forwarding path are used to form a forwarding path 1:1, main and standby protection. Because the network service switching process is realized by updating the path information, the flow can be smoothly switched to a new forwarding path, and the switching process can be realized quickly and with high quality. And the original interface is released after the switching is finished, so that the network resources are not additionally occupied.
Other features of the present invention and advantages thereof will become apparent from the following detailed description of exemplary embodiments thereof, which proceeds with reference to the accompanying drawings.
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 only some embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to these drawings without creative efforts.
Fig. 1 is a flow diagram of a network traffic switching method according to some embodiments of the invention.
Fig. 2 is a schematic view of a scenario of adding a new network node according to some embodiments of the present invention.
FIG. 3 is a flow diagram of a method of interface creation according to some embodiments of the invention.
Fig. 4 is a flow diagram illustrating an interface creation method according to further embodiments of the invention.
Fig. 5 is a schematic structural diagram of a traffic path switching apparatus according to some embodiments of the invention.
Fig. 6 is a schematic structural diagram of a traffic path switching system according to some embodiments of the present invention.
Fig. 7 is a schematic structural diagram of a traffic path switching apparatus according to another embodiment of the present invention.
Fig. 8 is a schematic structural diagram of a traffic path switching apparatus according to still further embodiments of the present invention.
Detailed Description
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 only a part of the embodiments of the present invention, and not all of the embodiments. The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the invention, its application, or uses. 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 relative arrangement of the components and steps, the numerical expressions and numerical values set forth in these embodiments do not limit the scope of the present invention unless specifically stated otherwise.
Meanwhile, it should be understood that the sizes of the respective portions shown in the drawings are not drawn in an actual proportional relationship for the convenience of description.
Techniques, methods, and apparatus known to those of ordinary skill in the relevant art may not be discussed in detail but are intended to be part of the specification where appropriate.
In all examples shown and discussed herein, any particular value should be construed as merely illustrative, and not limiting. Thus, other examples of the exemplary embodiments may have different values.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, further discussion thereof is not required in subsequent figures.
Fig. 1 is a flow diagram of a network traffic switching method according to some embodiments of the invention. As shown in fig. 1, the network service switching method of this embodiment includes steps S102 to S110.
In step S102, in response to a change of a network service path, a new interface is created for the virtual network element, where a traffic of the network service before the change is sent from an original interface of the virtual network element and transmitted along an original forwarding path.
The new interface may be created by the cloud management platform. The cloud management platform can support the capability of dynamically creating and deleting a virtual interface, the capability of dynamically creating and deleting a port, the capability of binding a port and an interface and the capability of binding and unbinding the port and a physical network card. After the creation is completed, the cloud management platform may configure an IP address for the new interface, enabling three-layer forwarding.
In some embodiments, the network traffic path change comprises: adding network nodes, deleting network nodes or changing network nodes on the network service path.
In step S104, the information of the new interface is published to the public network.
In step S106, the virtual network element determines a new forwarding path according to the information of the new interface, and configures the original forwarding path as a main path and the new forwarding path as a standby path. Therefore, the new forwarding path and the original forwarding path form 1:1 active/standby protection. In the process, the new interface of the virtual network element establishes connection with the network element related to the changed network service, so that intercommunication can be performed.
The primary path may be, for example, a first piece of information in the path information, and the backup path may be, for example, a non-first piece of information in the path information. As needed, those skilled in the art may also use other ways to identify the primary path and the backup path, which are not described herein again.
In step S108, in response to the network service switching, the virtual network element is triggered to update the path information.
In step S110, the virtual network element sets the main path as a new forwarding path, releases the original interface, and then converges the forwarding path into a new forwarding path. Thus, after the handover is completed, the network traffic may be transmitted along the new forwarding path.
The path information may be routing information or label information, which may include information of an outgoing interface of the virtual network element.
The process of switching the path by the virtual network element may be as follows: 1) configuring an original forwarding path into a primary path and configuring a new forwarding path into a standby path; 2) when the service is switched, the main path is set as a new forwarding path, and the content in the standby path is also the new forwarding path; 3) releasing the original interface and related resources; 4) the path re-converges to a single outgoing interface, which is the new interface. The switching mode utilizes the idea of fast rerouting, so that smooth network service switching can be realized.
By the method of the above embodiment, an interface can be dynamically created when the network topology in the NFV scenario changes, and a new forwarding path and an original forwarding path are used to form a forwarding path 1:1, main and standby protection. Because the network service switching process is realized by updating the path information, the flow can be smoothly switched to a new forwarding path, and the switching process can be realized quickly and with high quality. And the original interface is released after the switching is finished, so that the network resources are not additionally occupied.
An embodiment of the network service switching method according to the present invention in the case of adding a new network node is described below with reference to fig. 2.
Fig. 2 is a schematic view of a scenario of adding a new network node according to some embodiments of the present invention. The Network shown in fig. 2 is a part of a VxLAN (Virtual Extensible Local Area Network) private line of a user. The vcpes 21 and vGW22 are network services running in virtual machines created by a cloud management platform such as OpenStack. The traffic of the users enters from the interface Gi1/0/0 of the vCPE21, flows out from the interface Gi1/0/1 and reaches the gateway device vGW 22. After VxLAN termination, traffic flows out vGW22 and accesses internet 23. At this time, the egress interface of the routing table of the vCPE21 is only Gi 1/0/1.
When a tenant wants to add firewall services to allow only traffic at a given IP address to access the internet 23. At this point, the traffic needs to be filtered by concatenating the vfws 24 in the network. OpenStack creates a new interface Gi1/0/2 for vCPE21 and configures it with an IP address, enables routing protocols, and then issues routes into the network. Through the interactive process of each network element in the network, the routing reachability between the vCPE21, the vFW24 and vGW22 is realized. At this time, there are two paths for the user to access the extranet: the original forwarding path is vCPE21- > vGW22- > Internet 23; the new forwarding path is vCPE21- > vFW24- > vGW22- > Internet 23. These two paths form a 1 in the routing table of vCPE 21: 1 protection. At this time, the routing table of the vCPE21 has two outgoing interfaces, the primary outgoing interface is Gi1/0/1 and corresponds to the original forwarding path, and the backup outgoing interface is Gi1/0/2 and corresponds to the new forwarding path.
When network service is switched, the vCPE21 switches routes, and both the main outgoing interface and the standby outgoing interface in the routing table are Gi 1/0/2. When the interface resources of Gi1/0/1 are released, the route reconverges to a single egress interface Gi 1/0/2.
Thus, the forwarding path completes a smooth handoff and the vFW24 successfully accesses the traffic path. And the process of handover can theoretically achieve 0 packet loss. After the switching is completed, no extra resource is occupied.
An embodiment of the interface creation method of the present invention is described below with reference to fig. 3.
FIG. 3 is a flow diagram of a method of interface creation according to some embodiments of the invention. As shown in fig. 3, the interface creation method of this embodiment includes steps S302 to S308.
In step S302, a new network and a new server are created, and the identification of the new network and the identification of the new server are obtained.
In step S304, based on the identity of the new server, the identity of the corresponding new interface is determined.
In step S306, a new port is created based on the identification of the new network.
In step S308, the new interface is bound to the new port based on the identification of the new network, the identification of the new port, and the identification of the new interface.
Therefore, the interface can be created by utilizing the dynamic creating, deleting and binding capabilities of the cloud management platform.
In some embodiments, the creation and binding process of the interface may be performed by a network service component (e.g., Neutron Server) and a virtual machine management component (Nova Server) in the cloud management platform in cooperation. The process of creating a new server new interface may be performed by the virtual machine management component and the process of creating a new network, new port, and binding may be performed by the network service component. Another embodiment of the interface creation method of the present invention is described below with reference to fig. 4.
Fig. 4 is a flow diagram illustrating an interface creation method according to further embodiments of the invention. As shown in fig. 4, the interface creation method of this embodiment includes steps S402 to S420.
In step S402, a Client (Client) sends a create network request to the Neutron Server.
In some embodiments, the create network request may include a tenant identification.
In step S404, Neutron Server returns the UUID "10 abe" of the new network to the Client.
In step S406, the Client transmits a create Server request to the Nova Server.
In step S408, the Nova Server returns the UUID "2 ase 00" of the new Server to the Client.
In step S410, the Client sends a request to the Nova Server to acquire a new interface of the new Server "2 ase 00".
In step S412, Nova Server returns the UUID "12 eef" of the new interface to the Client.
In step S414, the Client sends a request to create a new port in the network "10 abe" to the Neutron Server.
In step S416, Neutron Server returns UUID "100 de 1" of the new port to the Client.
In step S418, the Client sends a request to the Neutron Server to bind the port "100 de 1" in the network "10 abe" with the interface "12 eef".
In step S420, the Neutron Server returns a notification of successful binding to the Client after the binding is completed.
By the method of the embodiment, the creation and binding of the interface resources can be realized by means of the network management function of the Neutron Server and the logical interface management function of the Nova Server.
Fig. 5 is a schematic structural diagram of a traffic path switching apparatus according to some embodiments of the invention. As shown in fig. 5, the traffic path switching apparatus 500 of this embodiment includes: the interface creating module 5100 is configured to create a new interface for the virtual network element in response to a change of a network service path, where a traffic of the network service before the change is sent from an original interface of the virtual network element and transmitted along an original forwarding path; the information publishing module 5200 is configured to publish the information of the new interface to the public network, so that the virtual network element determines a new forwarding path according to the information of the new interface, and configures the original forwarding path as a primary path and configures the new forwarding path as a standby path; the change triggering module 5300 is configured to, in response to the network service switching, trigger the virtual network element to update the path information, so that the virtual network element sequentially sets the main path as a new forwarding path, releases the original interface, and then converges the forwarding path into the new forwarding path.
In some embodiments, the interface creation module 5100 block is further configured to: creating a new network and a new server, and acquiring an identifier of the new network and an identifier of the new server; determining the identifier of the corresponding new interface based on the identifier of the new server; creating a new port based on the identification of the new network; binding the new interface to the new port based on the new network identification, the new port identification, and the new interface identification.
In some embodiments, the interface creation module 5100 includes a network services component and a virtual machine management component; the network service component is configured to create a new network, obtain an identification of the new network; creating a new port based on the identification of the new network; binding the new interface to the new port based on the identification of the new network, the identification of the new port and the identification of the new interface created by the virtual machine management component; the virtual machine management component is configured to create a new server and obtain the identification of the new server; based on the identity of the new server, the identity of the corresponding new interface is determined.
In some embodiments, the network traffic path change comprises: adding network nodes, deleting network nodes or changing network nodes on the network service path.
In some embodiments, the path information is routing information or label information.
In some embodiments, the traffic path switching apparatus 500 is located in a cloud management platform, for example, in OpenStack.
An embodiment of the traffic path switching system of the present invention is described below with reference to fig. 6.
Fig. 6 is a schematic structural diagram of a traffic path switching system according to some embodiments of the present invention. As shown in fig. 6, the traffic path switching system 60 of this embodiment includes a traffic path switching device 610 and a virtual network element 620. The virtual network element 620 is configured to determine a new forwarding path according to information of a new interface created by the cloud management platform for the virtual network element in response to a change of a network service path, where a traffic of the network service before the change is sent from an original interface of the virtual network element and transmitted along the original forwarding path; configuring an original forwarding path into a primary path and configuring a new forwarding path into a standby path; and responding to the network service switching, sequentially setting the main path as a new forwarding path, releasing the original interface, and converging the forwarding path into the new forwarding path.
Fig. 7 is a schematic structural diagram of a traffic path switching apparatus according to another embodiment of the present invention. As shown in fig. 7, the traffic path switching apparatus 70 of this embodiment includes: a memory 710 and a processor 720 coupled to the memory 710, the processor 720 being configured to execute the traffic path switching method in any of the foregoing embodiments based on instructions stored in the memory 710.
Memory 710 may include, for example, system memory, fixed non-volatile storage media, and the like. The system memory stores, for example, an operating system, an application program, a Boot Loader (Boot Loader), and other programs.
Fig. 8 is a schematic structural diagram of a traffic path switching apparatus according to still further embodiments of the present invention. As shown in fig. 8, the traffic path switching apparatus 80 of this embodiment includes: the memory 810 and the processor 820 may further include an input/output interface 830, a network interface 840, a storage interface 850, and the like. These interfaces 830, 840, 850 and the memory 810 and the processor 820 may be connected, for example, by a bus 860. The input/output interface 830 provides a connection interface for input/output devices such as a display, a mouse, a keyboard, and a touch screen. The network interface 840 provides a connection interface for various networking devices. The storage interface 850 provides a connection interface for external storage devices such as an SD card and a usb disk.
An embodiment of the present invention further provides a computer-readable storage medium, on which a computer program is stored, where the computer program is executed by a processor to implement any one of the foregoing traffic path switching methods.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable non-transitory storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams 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.
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 above description is only for the purpose of illustrating the preferred embodiments of the present invention and is not to be construed as limiting the invention, and any modifications, equivalents, improvements and the like that fall within the spirit and principle of the present invention are intended to be included therein.

Claims (15)

1. A network service switching method comprises the following steps:
responding to the change of a network service path, and creating a new interface for a virtual network element, wherein the flow of the network service before the change is sent out from an original interface of the virtual network element and transmitted along an original forwarding path;
the information of the new interface is issued to a public network, so that a virtual network element determines a new forwarding path according to the information of the new interface, configures the original forwarding path as a main path and configures the new forwarding path as a standby path;
and responding to the network service switching, triggering the virtual network element to update the path information so that the virtual network element sequentially sets the main path as a new forwarding path, releases the original interface and then converges the forwarding path into the new forwarding path.
2. The network service switching method of claim 1, wherein the creating a new interface for the virtual network element comprises:
creating a new network and a new server, and acquiring an identifier of the new network and an identifier of the new server;
determining the identification of the corresponding new interface based on the identification of the new server;
creating a new port based on the identification of the new network;
binding the new interface to the new port based on the identification of the new network, the identification of the new port, and the identification of the new interface.
3. The network traffic switching method of claim 2,
the network service component creates a new network and obtains the identification of the new network;
the virtual machine management component creates a new server and obtains the identification of the new server;
the virtual machine management component determines the corresponding identifier of the new interface based on the identifier of the new server;
the network service component creates a new port based on the identification of the new network;
the network service component binds the new interface to the new port based on the identification of the new network, the identification of the new port, and the identification of the new interface.
4. The network traffic switching method of claim 1, wherein the network traffic path change comprises:
adding network nodes, deleting network nodes or changing network nodes on the network service path.
5. The network traffic switching method according to claim 1, wherein the path information is routing information or label information.
6. A network service switching method comprises the following steps:
the virtual network element determines a new forwarding path according to information of a new interface created by the cloud management platform for the virtual network element in response to the change of the network service path, wherein the flow of the network service before the change is sent out from an original interface of the virtual network element and transmitted along the original forwarding path;
the virtual network element configures the original forwarding path as a main path and configures the new forwarding path as a standby path;
in response to the network service switching, the virtual network element sets the main path as a new forwarding path, releases the original interface, and then converges the forwarding path into a new forwarding path in sequence.
7. A traffic path switching apparatus, comprising:
the interface creating module is configured to respond to the change of a network service path and create a new interface for the virtual network element, wherein the flow of the network service before the change is sent out from the original interface of the virtual network element and transmitted along the original forwarding path;
the information publishing module is configured to publish the information of the new interface to a public network so that a virtual network element determines a new forwarding path according to the information of the new interface, configures an original forwarding path as a main path, and configures the new forwarding path as a standby path;
and the change triggering module is configured to trigger the virtual network element to update the path information in response to the network service switching, so that the virtual network element sequentially sets the main path as a new forwarding path, releases the original interface and then converges the forwarding path into the new forwarding path.
8. The traffic path switching apparatus of claim 7, wherein the interface creation module is further configured to: creating a new network and a new server, and acquiring an identifier of the new network and an identifier of the new server; determining the identification of the corresponding new interface based on the identification of the new server; creating a new port based on the identification of the new network; binding the new interface to the new port based on the identification of the new network, the identification of the new port, and the identification of the new interface.
9. The traffic path switching apparatus according to claim 8, wherein the interface creation module includes a network service component and a virtual machine management component;
the network service component is configured to create a new network, obtain an identification of the new network; creating a new port based on the identification of the new network; binding the new interface to the new port based on the identification of the new network, the identification of the new port, and the identification of the new interface created by the virtual machine management component;
the virtual machine management component is configured to create a new server, obtain an identification of the new server; and determining the identification of the corresponding new interface based on the identification of the new server.
10. The traffic path switching apparatus of claim 7, wherein the network traffic path change comprises: adding network nodes, deleting network nodes or changing network nodes on the network service path.
11. The traffic path switching apparatus according to claim 7, wherein the path information is routing information or label information.
12. The traffic path switching apparatus according to claim 7, wherein the traffic path switching apparatus is located on a cloud management platform.
13. A traffic path switching apparatus, comprising:
a memory; and
a processor coupled to the memory, the processor configured to perform the traffic path switching method of any of claims 1-5 based on instructions stored in the memory.
14. A traffic path switching system, comprising:
the traffic path switching apparatus of any of claims 7 to 13; and
the virtual network element is configured to determine a new forwarding path according to information of a new interface created by the cloud management platform for the virtual network element in response to a change of a network service path, wherein the traffic of the network service before the change is sent from an original interface of the virtual network element and transmitted along the original forwarding path; configuring an original forwarding path into a primary path and configuring a new forwarding path into a standby path; and responding to the network service switching, sequentially setting the main path as a new forwarding path, releasing the original interface, and converging the forwarding path into the new forwarding path.
15. A computer-readable storage medium, on which a computer program is stored, which when executed by a processor implements the traffic path switching method of any of claims 1-5.
CN201910710345.9A 2019-08-02 2019-08-02 Network service switching method, device, system and storage medium Active CN112311669B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910710345.9A CN112311669B (en) 2019-08-02 2019-08-02 Network service switching method, device, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910710345.9A CN112311669B (en) 2019-08-02 2019-08-02 Network service switching method, device, system and storage medium

Publications (2)

Publication Number Publication Date
CN112311669A CN112311669A (en) 2021-02-02
CN112311669B true CN112311669B (en) 2022-02-01

Family

ID=74485825

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910710345.9A Active CN112311669B (en) 2019-08-02 2019-08-02 Network service switching method, device, system and storage medium

Country Status (1)

Country Link
CN (1) CN112311669B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112953832B (en) * 2021-02-20 2023-06-23 中国联合网络通信集团有限公司 Processing method and device for MAC address table entry
CN115550245A (en) * 2021-06-29 2022-12-30 中兴通讯股份有限公司 Path switching method, controller, node, and storage medium
CN115292061A (en) * 2022-07-22 2022-11-04 武汉烽火技术服务有限公司 Method and device for dynamically switching services

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664788A (en) * 2012-04-05 2012-09-12 中兴通讯股份有限公司 CE dual-homed link protection method in MPLS L3VPN and system thereof
CN104410672A (en) * 2014-11-12 2015-03-11 华为技术有限公司 Method of upgrading network function virtualization application as well as method and device for forwarding business
CN104780099A (en) * 2014-01-10 2015-07-15 瞻博网络公司 Dynamic end-to-end network path setup across multiple network layers with network service chaining
CN105791392A (en) * 2016-02-16 2016-07-20 中国科学院信息工程研究所 Mobile network based edge service communication method and system
CN109656679A (en) * 2018-11-06 2019-04-19 新华三云计算技术有限公司 A kind of the storage access method and device of virtual machine

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104601592B (en) * 2015-01-31 2017-10-17 华为技术有限公司 A kind of method and access device for accessing cloud service

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102664788A (en) * 2012-04-05 2012-09-12 中兴通讯股份有限公司 CE dual-homed link protection method in MPLS L3VPN and system thereof
CN104780099A (en) * 2014-01-10 2015-07-15 瞻博网络公司 Dynamic end-to-end network path setup across multiple network layers with network service chaining
CN104410672A (en) * 2014-11-12 2015-03-11 华为技术有限公司 Method of upgrading network function virtualization application as well as method and device for forwarding business
CN105791392A (en) * 2016-02-16 2016-07-20 中国科学院信息工程研究所 Mobile network based edge service communication method and system
CN109656679A (en) * 2018-11-06 2019-04-19 新华三云计算技术有限公司 A kind of the storage access method and device of virtual machine

Also Published As

Publication number Publication date
CN112311669A (en) 2021-02-02

Similar Documents

Publication Publication Date Title
US11258667B2 (en) Network management method and related device
US10452422B2 (en) Method and apparatus for deploying virtual machine instance, and device
CN110113441B (en) Computer equipment, system and method for realizing load balance
CN112311669B (en) Network service switching method, device, system and storage medium
US9251040B2 (en) Remote debugging in a cloud computing environment
CN107342895B (en) Multi-tenant network optimization method, system, computing device and storage medium
WO2016155394A1 (en) Method and device for establishing link between virtual network functions
CN112470436A (en) Multi-cloud connectivity using SRV6 and BGP
CN106664216B (en) VNF switching method and device
WO2016119631A1 (en) Method for accessing cloud service and access device
CN108702316B (en) VNF resource allocation method and device
CN107222324B (en) Service configuration method and device of network service
WO2015147850A1 (en) Controlled node configuration
WO2019127418A1 (en) Network service management method, related device and system
JP2019534643A (en) Network slice management method, management unit, and system
US9590855B2 (en) Configuration of transparent interconnection of lots of links (TRILL) protocol enabled device ports in edge virtual bridging (EVB) networks
EP3833084B1 (en) Openflow instance configuration
CN105095023A (en) Cloud host establishing device and method and calculating equipment
CN109936505B (en) Method and apparatus in data-centric software-defined networks
CN105791073A (en) Service deployment method and device in virtual network
CN114025000B (en) Method, device, equipment and storage medium for establishing network access relationship
WO2016177180A1 (en) Method and device for reporting openflow switch capability
US20240097973A1 (en) Secure bi-directional network connectivity system between private networks
US8856342B2 (en) Efficiently relating adjacent management applications managing a shared infrastructure
WO2020252921A1 (en) Multi-active load balancing application expansion method, application, device, and storage medium

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