CN115086219A - Virtual router determination method, equipment and computer readable storage medium - Google Patents

Virtual router determination method, equipment and computer readable storage medium Download PDF

Info

Publication number
CN115086219A
CN115086219A CN202210612785.2A CN202210612785A CN115086219A CN 115086219 A CN115086219 A CN 115086219A CN 202210612785 A CN202210612785 A CN 202210612785A CN 115086219 A CN115086219 A CN 115086219A
Authority
CN
China
Prior art keywords
virtual router
determining
virtual
monitored
target
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
CN202210612785.2A
Other languages
Chinese (zh)
Other versions
CN115086219B (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.)
Sangfor Technologies Co Ltd
Original Assignee
Sangfor Technologies 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 Sangfor Technologies Co Ltd filed Critical Sangfor Technologies Co Ltd
Priority to CN202210612785.2A priority Critical patent/CN115086219B/en
Publication of CN115086219A publication Critical patent/CN115086219A/en
Application granted granted Critical
Publication of CN115086219B publication Critical patent/CN115086219B/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
    • H04L45/00Routing or path finding of packets in data switching networks
    • H04L45/58Association of routers
    • H04L45/586Association of routers of virtual routers

Abstract

The embodiment of the application discloses a method for determining a virtual router, which comprises the following steps: determining the running states of a plurality of network ports of each virtual router in a plurality of virtual routers to be monitored under the condition of transmitting data through the virtual router; the network ports at least comprise a first network port for sending configuration information and a second network port for transmitting data information; determining a target main virtual router from a plurality of virtual routers to be monitored based on the running states of the plurality of network ports; data is transmitted through the target master virtual router. The embodiment of the application also discloses a virtual router determination device, equipment and a computer readable storage medium.

Description

Virtual router determination method, equipment and computer readable storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a method and an apparatus for determining a virtual router, and a computer-readable storage medium.
Background
A Virtual Router Redundancy Protocol (VRRP) is a Protocol for realizing high availability of Virtual routers, and a plurality of Virtual routers providing the same function form a Virtual Router group, and the Virtual Router group includes a main Virtual Router and a standby Virtual Router; and under the condition that the running state of the network port of the main virtual router is abnormal, re-determining the main virtual router according to the priority of the VRRP, thereby realizing the high availability of the virtual router. In the related art, high availability of a virtual router is generally realized by monitoring management ports of a plurality of virtual routers in a virtual router group; however, the problem that the monitored network port is single and normal data transmission cannot be guaranteed exists.
Disclosure of Invention
In order to solve the foregoing technical problems, embodiments of the present application are expected to provide a method, a device, and a computer-readable storage medium for determining a virtual router, which can solve the problems that a monitored network port is single and normal data transmission cannot be guaranteed in a virtual router monitored in the related art, and improve the continuity and reliability of data information transmission by the virtual router.
The technical scheme of the application is realized as follows:
a virtual router determination method, the method comprising:
determining the running states of a plurality of network ports of each virtual router in a plurality of virtual routers to be monitored under the condition of transmitting data through the virtual router; the network ports at least comprise a first network port for sending configuration information and a second network port for transmitting data information;
determining a target main virtual router from the plurality of virtual routers to be monitored based on the running states of the plurality of network ports;
transmitting the data through the target master virtual router.
In the foregoing solution, the determining the operating states of the multiple network ports of each of the multiple virtual routers to be monitored includes:
determining a list of network ports to be monitored; the list of the network ports to be monitored comprises the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports of each virtual router;
monitoring the plurality of network ports based on the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports to obtain the running states of the plurality of network ports.
In the foregoing solution, the determining a target master virtual router from the multiple virtual routers to be monitored based on the operating states of the multiple network ports includes:
determining a master virtual router as the target master virtual router when the running state of a first type of network port of the master virtual router in the plurality of virtual routers to be monitored is abnormal;
and under the condition that the running state of the second type of network ports of the main virtual router is abnormal, determining the current priority of the main virtual router, and determining the target main virtual router from the virtual routers to be monitored based on the current priority of the main virtual router.
In the foregoing solution, the determining the current priority of the master virtual router, and determining the target master virtual router from the virtual routers to be monitored based on the current priority of the master virtual router includes:
determining the current priority of the main virtual router as a target priority; the target priority is lower than the priority of a standby virtual router except the main virtual router in the plurality of virtual routers to be monitored;
and determining the target main virtual router from standby virtual routers except the main virtual router in the plurality of virtual routers to be monitored based on the target priority.
In the foregoing solution, the determining, based on the target priority, the target master virtual router from the standby virtual routers except the master virtual router in the multiple virtual routers to be monitored includes:
determining the abnormal time of the second type of network port of the main virtual router;
and determining the target main virtual router from the standby virtual router based on the target priority and the abnormal time.
In the foregoing solution, the determining the current priority of the master virtual router, and determining the target master virtual router from the virtual routers to be monitored based on the current priority of the master virtual router includes:
determining the current priority of the main virtual router and the current priority of the standby virtual router;
and determining the target main virtual router from the virtual routers to be monitored based on the current priority of the main virtual router and the current priority of the standby virtual router.
In the foregoing solution, the determining the current priority of the primary virtual router and the current priority of the standby virtual router includes:
determining the initial priority of the main virtual router and the initial priority of the standby virtual router;
determining the abnormal attribute of the abnormal net mouth existing in the second kind net mouth of the main virtual router and the second kind net mouth of the standby virtual router;
determining the current priority of the main virtual router based on the initial priority of the main virtual router and the abnormal attribute of the abnormal internet access corresponding to the main virtual router;
and determining the current priority of the standby virtual router based on the initial priority of the standby virtual router and the abnormal attribute of the abnormal internet access corresponding to the standby virtual router.
In the foregoing solution, the determining that the abnormal attribute of the abnormal network port that is abnormal exists in the second type of network port of the primary virtual router and the second type of network port of the standby virtual router includes:
and determining the weight of the abnormal network ports and the number of the abnormal network ports in the second type of network ports of the main virtual router and the second type of network ports of the standby virtual router.
In the foregoing solution, the determining the current priority of the master virtual router, and determining the target master virtual router from the virtual routers to be monitored based on the current priority of the master virtual router, further includes:
and under the condition that the running state of the second type of network ports of the main virtual router is monitored to be recovered to be normal, setting the current priority of the main virtual router as the initial priority of the main virtual router.
A virtual router determination apparatus, the apparatus comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is used for executing the information inquiry program stored in the memory so as to realize the steps of the virtual router determination method.
A computer readable storage medium storing one or more programs, the one or more programs being executable by one or more processors to implement the steps of the above virtual router determination method.
In the virtual router determining method, device, and computer-readable storage medium provided in the embodiments of the present application, in a case where data is transmitted through a virtual router, determining operating states of a plurality of network ports of each virtual router in a plurality of virtual routers to be monitored, where the plurality of network ports at least include a first type of network port for sending configuration information and a second type of network port for transmitting data information, determining a target master virtual router from the plurality of virtual routers to be monitored based on the operating states of the plurality of network ports, and transmitting the data through the target master virtual router; therefore, the target main virtual router can be determined according to the running states of the network ports of each virtual router to be monitored, and the network ports for transmitting the data information are considered when the target main virtual router is determined, so that the problem that the network ports of the virtual routers monitored in the related technology are single is solved, and the continuity and the reliability of the virtual routers for transmitting the data information are improved.
Drawings
Fig. 1 is a schematic flowchart of a virtual router determining method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another virtual router determining method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another virtual router determining method according to an embodiment of the present application;
fig. 4 is an interface schematic diagram illustrating that the virtual router to be monitored is set in the virtual router determination method according to the embodiment of the present application;
fig. 5 is a schematic diagram of information interaction between a master virtual router, a standby virtual router, and a management plane in a virtual router determination method according to an embodiment of the present application;
fig. 6 is a schematic diagram illustrating a determination of a to-be-monitored portal list in a virtual router determination method according to an embodiment of the present application;
fig. 7 is a schematic diagram of a system architecture corresponding to a virtual router determining method according to an embodiment of the present application;
fig. 8 is a schematic diagram illustrating that a terminal a and a terminal B corresponding to a virtual router determination method according to an embodiment of the present application transmit data through a target master router;
fig. 9 is a schematic structural diagram of a virtual router determination apparatus according to an embodiment of the present application;
fig. 10 is a schematic structural diagram of a virtual router determining device according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application.
It should be understood that the specific embodiments described herein are merely illustrative of the present application and are not intended to limit the present application.
An embodiment of the present application provides a method for determining a virtual router, where the method may be applied to a virtual router determination device, and as shown in fig. 1, the method includes the following steps:
step 101, determining the operation states of a plurality of network ports of each virtual router in a plurality of virtual routers to be monitored under the condition of transmitting data through the virtual router.
The plurality of network ports at least comprise a first network port for sending configuration information and a second network port for transmitting data information.
In the embodiment of the present application, the plurality of virtual routers to be monitored may include a primary virtual router and a standby virtual router; of course, the plurality of virtual routers to be monitored may also include a main virtual router and a plurality of standby virtual routers.
In the embodiment of the present application, the operation state may be a parameter representing an operation state of the internet access. The virtual router determining device monitors the running states of the network ports of the main virtual router and the network ports of each standby virtual router in the standby virtual routers, so that the target main virtual router is determined through the running states of the network ports of the main virtual router and the running states of the network ports of each standby virtual router in the standby virtual routers.
In a possible implementation manner, the first type of network port may be a management port, and the second type of network port may be a data communication port and/or a service port; it should be noted that the data communication port may also be referred to as a Virtual eXtensible Local Area Network (VXLAN) port.
And 102, determining a target main virtual router from the virtual routers to be monitored based on the running states of the network ports.
In the embodiment of the present application, the target master virtual router is a virtual router for transmitting data information. The master virtual router in the multiple virtual routers to be monitored can be determined as a target master virtual router, and the standby virtual router in the multiple virtual routers to be monitored can also be determined as a target master virtual router.
In the embodiment of the application, a target main virtual router is determined from a plurality of virtual routers to be monitored by determining the operating states of a first network port and a second network port of a main virtual router in the plurality of virtual routers to be monitored and the operating states of the first network port and the second network port of each standby virtual router and according to different conditions of the operating states of the first network port and the second network port of the main virtual router and each standby router.
And 103, transmitting data through the target main virtual router.
In the embodiment of the application, data transmission between terminals, or between a terminal and a server, or between a server and a server can be realized through a target master virtual router.
The virtual router determining method provided by the embodiment of the application can determine the target main virtual router according to the operating states of the network ports of each virtual router to be monitored, and considers the network ports for transmitting data information when determining the target main virtual router, thereby solving the problem that the network ports of the virtual routers monitored in the related art are single, and improving the continuity and reliability of the virtual routers for transmitting the data information.
Based on the foregoing embodiments, an embodiment of the present application provides a virtual router determining method, which is shown in fig. 2 and includes the following steps:
step 201, the virtual router determines that the device determines a list of network ports to be monitored.
The list of the network ports to be monitored comprises the identifiers of a plurality of virtual routers to be monitored and the identifiers of a plurality of network ports of each virtual router.
In the embodiment of the application, the identifier in the plurality of virtual routers to be monitored can uniquely identify each virtual router; each network port in the plurality of network ports has a unique network port identification; in a possible implementation manner, the identifier of the virtual router to be monitored may refer to a name of a physical host corresponding to the virtual router to be monitored, for example, the identifier of a certain virtual router in the virtual router to be monitored may be the physical host 1.
In this embodiment of the present application, the virtual router determination device may set a to-be-monitored portal list according to the number of monitored portals.
In a possible implementation manner, when the network ports include a management port, a data communication port and a service port, the management port may be represented by eth0, the data communication port may be represented by eth1, and the service port may be represented by eth2, the list of the network ports to be monitored may be represented as [ eth0, eth1, eth2 ]. It should be noted that, in this embodiment, only the network ports to be monitored include the management port, the data communication port, and the service port are taken as an example for description, and certainly, the network ports to be monitored may also include other network ports, and specifically, the network port list may be set according to an actual situation, which is not limited specifically herein.
In the embodiment of the present application, the setting of the portal list to be monitored can be realized by the following codes:
Figure BDA0003672445990000071
Figure BDA0003672445990000081
step 202, the virtual router determining device monitors the plurality of network ports based on the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports, and obtains the operating states of the plurality of network ports.
In the embodiment of the application, only one virtual router can be determined through the identifier of the virtual router to be monitored, and then the specific network port of the virtual router can be determined through the identifier of the network port, so that the running state of the network port is obtained.
Step 203, in the case that the running state of the network port of the main virtual router of the plurality of virtual routers to be monitored is determined to be abnormal, the virtual router determination device determines which type of network port of the main virtual router has abnormal running state.
In the embodiment of the application, a master virtual router can be determined from a plurality of virtual routers to be monitored through the identifier of each virtual router, after the master virtual router is determined, which type of network port the network port with abnormal operation state is, can be determined through the identifier of each network port of the master virtual router, and different strategies are adopted for the abnormal operation states of different types of network ports to determine the target master virtual router.
It should be noted that step 204 or step 205 may be executed after step 203.
Step 204, under the condition that the running state of the first class of network ports of the main virtual router in the virtual routers to be monitored is abnormal, the virtual router determining device determines that the main virtual router is the target main virtual router.
In this embodiment, when the first-type portal is a management port, since the management port of the master virtual router is used to send configuration information, when the operating state of the management port of the master virtual router is monitored to be abnormal, only sending of the configuration information is affected, and the master virtual router can still continue to transmit data information, so that it is not necessary to reselect a new master virtual router, but rather, the original master virtual router is set as a target master virtual router. Therefore, the main virtual router does not need to be determined again only under the condition that the running state of the management port of the main virtual router is abnormal, and the condition of network jitter is avoided.
Step 205, in case that the running state of the second type of network port of the master virtual router is abnormal, the virtual router determination device determines the current priority of the master virtual router, and determines a target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router.
Wherein, the current priority of the main virtual router refers to the priority of the main virtual router at the moment.
In this embodiment of the present application, the virtual router determination device may determine a current priority of the master virtual router as a target priority, and determine a target master virtual router from the plurality of virtual routers to be monitored based on the target priority of the master virtual router; or after determining the current priority of the primary virtual router, sorting the current priority of the primary virtual router and the current priority of each standby virtual router, and determining a target primary virtual router from the plurality of virtual routers to be monitored based on the sorting result.
It should be noted that the step 205 can be realized through steps 205a 1-205 a2 or steps 205a 3-205 a 4:
step 205a1, the virtual router determination device determines the current priority of the master virtual router to be the target priority.
And the target priority is lower than the priority of standby virtual routers except the main virtual router in the virtual routers to be monitored.
In the embodiment of the present application, the level of the target priority may be predetermined; also, the target priority may be determined based on the priority of the historical virtual router.
In this embodiment, in a case where the second-type network port is a data communication port and/or a service port, when an operation state of the data communication port or the service port of the master virtual router is abnormal, the virtual router determination device sets a priority level of the master virtual router to be lower than a priority level of the standby virtual router.
In one possible implementation, the target priority may be set to 1; of course, the target priority may be set to other numbers as long as the target priority is lower than the priority of the standby virtual router.
Step 205a2, the virtual router determination device determines a target primary virtual router from the standby virtual routers except the primary virtual router in the plurality of virtual routers to be monitored based on the target priority.
In a feasible implementation manner, under the condition that a plurality of virtual routers to be monitored comprise a main virtual router and a standby virtual router, after the current priority of the main virtual router is set as the target priority, the standby virtual router is directly determined as the target main virtual router, and the main virtual router is determined as the standby virtual router; therefore, the target main virtual router can be quickly determined without negotiation between the main virtual router and the standby virtual router.
In another possible implementation manner, in a case that the plurality of virtual routers to be monitored include a primary virtual router and a plurality of standby virtual routers, one standby virtual router may be randomly selected from the plurality of standby virtual routers, and the standby virtual router may be determined as the target primary virtual router.
Step 205a3, the virtual router determination device determines the current priority of the master virtual router and the current priority of the standby virtual router.
In this embodiment of the present application, the virtual router determination device may determine the current priority of the master virtual router based on the abnormal attribute of the abnormal portal corresponding to the master virtual router; and meanwhile, determining the current priority of the standby virtual router based on the abnormal attribute of the corresponding abnormal network port of the standby virtual router so as to determine a target main virtual router from the plurality of virtual routers to be monitored through the current priority of the main virtual router and the current priority of the standby virtual router.
Step 205a4, the virtual router determination device determines a target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router and the current priority of the standby virtual router.
In this embodiment of the present application, the virtual router determining device puts the current priority of the master virtual router and the current priority of each standby virtual router in the plurality of standby virtual routers together for sorting, obtains a sorting result of the current priority, and then determines the virtual router with the first sorted current priority as the target master virtual router.
It should be noted that the virtual router with the highest priority may be a master virtual router in the multiple virtual routers to be monitored, or may be one of multiple standby virtual routers in the multiple virtual routers to be monitored.
Wherein step 206 may be performed after both step 204 and step 205.
Step 206, the virtual router determines that the device transmits data through the target master virtual router.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The virtual router determining method provided by the embodiment of the application can determine the target main virtual router according to the operating states of the network ports of each virtual router to be monitored, and considers the network ports for transmitting data information when determining the target main virtual router, thereby solving the problem that the network ports of the virtual routers monitored in the related art are single, and improving the continuity and reliability of the virtual routers for transmitting the data information.
Based on the foregoing embodiments, an embodiment of the present application provides a virtual router determining method, which is shown in fig. 3 and includes the following steps:
step 301, the virtual router determines that the device determines a list of network ports to be monitored.
The list of the network ports to be monitored comprises the identifiers of a plurality of virtual routers to be monitored and the identifiers of a plurality of network ports of each virtual router.
Step 302, the virtual router determining device monitors the plurality of network ports based on the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports to obtain the operating states of the plurality of network ports.
Step 303, in the case that it is determined that the running states of the network ports of the main virtual router of the virtual routers to be monitored are abnormal, the virtual router determination device determines which type of network ports of the main virtual router have abnormal running states.
It should be noted that step 304, or step 305 and step 307, or step 308 and step 312 can be performed after step 303.
Step 304, in case that the running state of the first kind of network ports of the master virtual router in the multiple virtual routers to be monitored is abnormal, the virtual router determination device determines that the master virtual router is the target master virtual router.
Step 305, under the condition that the running state of the second type of network ports of the main virtual router is abnormal, the virtual router determining device determines that the current priority of the main virtual router is the target priority.
The target priority is lower than the priority of standby virtual routers except the main virtual router in the virtual routers to be monitored.
Step 306, the virtual router determining device determines the abnormal time of the second type of network port of the main virtual router.
In this embodiment of the present application, the abnormal time is the time when the second-type portal of the master virtual router is in an abnormal state.
In this embodiment of the present application, the master virtual router may periodically send heartbeat information to the virtual router determination device through the second type of network port by using the target period, so that the virtual router determination device knows the operating state of the second type of network port of the master virtual router.
And 307, the virtual router determination device determines a target main virtual router from the standby virtual routers based on the target priority and the abnormal time.
In this embodiment of the present application, when the target priority of the master virtual router is lower than the priority of the standby virtual router, and the abnormal time of the second-type portal is greater than the target time, the virtual router determination device determines the target master virtual router from the standby virtual routers. It should be noted that the target time may be determined based on the target period; in one possible implementation, if the target period is set to 1 second, then the target time may be set to 3 seconds; of course, the target time may be set to other times.
In the embodiment of the present application, the setting of the target period and the target time may be implemented by the following codes:
host-5853c045laab(config-vrouter)#do show common-global
common global syn enable:θ
common global debug to logs:1
common global jumbo frame:1
common global dpdk log level:7
common global interrupt enable:1
common global dpdk burst timeout time(us):θ
common global flowprobe debug:θ
common global flowprobe arp profile:θ
common global flowprobe icmp6na profile:θ
scheduling number of virtual device packet:5
vtep cache:enable
common global bfd:disable
common global vrrp advertisement interval:1s
common global vrrp advertisement count:3
common giobal session statistics enable:θ
common global replication mode 3
common global vxlan neighbor suppression enable 1
in a feasible implementation manner, under the condition that a plurality of virtual routers to be monitored comprise a main virtual router and a virtual standby router, when the running state of a second type network port of the main virtual router is abnormal, the target priority of the main virtual router is set to be 1, and the target time is set to be 3 seconds, at this time, when the abnormal time of the running state of the second type network port of the main virtual router is more than 3 seconds, the virtual router determination device automatically determines the standby virtual router as the target main virtual router; therefore, under the condition that the running state of the first-class network port of the main virtual router in the virtual routers to be monitored is abnormal, the target main virtual router can be quickly determined, sensitive misjudgment can be avoided, and the continuity and reliability of data information transmission of the virtual routers are improved.
In another feasible implementation manner, when the plurality of virtual routers to be monitored include a main virtual router and a plurality of standby virtual routers, when the running state of the second type of network port of the main virtual router is abnormal, the target priority of the main virtual router is set to 1, and the target time is set to 3 seconds, at this time, when the abnormal running state time of the second type of network port of the main virtual router is greater than 3 seconds, the virtual router determination device randomly selects one standby virtual router from the plurality of standby virtual routers to determine as the target main virtual router.
In this embodiment of the present application, when it is monitored that the operating state of the second-type portal of the master virtual router is recovered to normal, the current priority of the master virtual router needs to be readjusted to the initial priority of the master virtual router, so that it can be ensured that the master virtual router can normally participate in the determination of the target master virtual router when the target master virtual router is determined next time.
It should be noted that, when determining the target primary virtual router based on the target priority and the abnormal time, the target primary virtual router can only be determined from the standby virtual routers in the plurality of virtual routers to be monitored.
Step 308, in case of abnormal operation status of the second type of network port of the primary virtual router, the virtual router determining device determines the initial priority of the primary virtual router and the initial priority of the standby virtual router.
In the embodiment of the present application, an initial priority may be set in advance, where the initial priority represents the priority of the virtual router at the beginning. It should be noted that, in practical applications, the initial priority of the master virtual router may be set to be the same as the initial priority of the standby virtual router.
Step 309, the virtual router determining device determines that the abnormal attribute of the abnormal network port exists in the second type network port of the main virtual router and the second type network port of the standby virtual router.
The exception attribute may include a weight of the exception portal and a number of the exception portals.
In this embodiment of the present application, the weight of the abnormal network port refers to the weight of the network port with abnormality in the virtual router with the abnormal network port, and the weight of the abnormal network port may be preset; the number of the abnormal ports refers to the number of ports in an abnormal state among the plurality of ports of the virtual router.
It should be noted that, in step 309, it is determined that the abnormal attribute of the abnormal portal exists in the second type portal of the master virtual router and the second type portal of the standby virtual router, and the step 309a may be implemented:
step 309a, the virtual router determining device determines the weight of the abnormal network ports and the number of the abnormal network ports in the second type network ports of the main virtual router and the second type network ports of the standby virtual router.
In this embodiment of the present application, the virtual router determination device may determine the weight of the abnormal network ports and the number of the abnormal network ports in the second type of network ports of the main virtual router; meanwhile, the weight of the abnormal network ports in the second type of network ports of the standby virtual router and the number of the abnormal network ports can be determined; it should be noted that the weight of the abnormal port of the master virtual router may be set to be the same as the weight of the abnormal port of the standby virtual router.
In this embodiment of the present application, the number of the abnormal network ports refers to the number of network ports in an abnormal state in the plurality of network ports of each virtual router, and the number of the abnormal network ports is determined according to an actual operating state condition of the second type network port of each virtual router in the plurality of virtual routers to be monitored.
Step 310, the virtual router determination device determines the current priority of the master virtual router based on the initial priority of the master virtual router and the abnormal attribute of the abnormal port corresponding to the master virtual router.
In this embodiment, if the step 309 is implemented by the step 309a, the virtual router determining device may determine the current priority of the master virtual router based on the initial priority of the master virtual router, the weight of the abnormal port corresponding to the master virtual router, and the number of the abnormal ports.
In this embodiment of the present application, the virtual router determining device may perform a certain operation on the initial priority of the master virtual router, the weight of the abnormal network port corresponding to the master virtual router, and the number of the abnormal network ports to determine the current priority of the master virtual router; in one possible implementation, the current priority of the primary virtual router can be determined by performing a certain operation according to the following operation formula (1):
current priority-initial priority-weight of abnormal net mouth-number of abnormal net mouth (1)
The initial priority of the master virtual router, the weight of the abnormal port corresponding to the master virtual router, and the number of the abnormal ports are substituted into the above-mentioned operation formula (1), so as to obtain the current priority of the master virtual router.
Step 311, the virtual router determining device determines the current priority of the standby virtual router based on the initial priority of the standby virtual router and the abnormal attribute of the abnormal internet access corresponding to the standby virtual router.
In this embodiment of the application, if the step 309 is implemented by the step 309a, the virtual router determining device may determine the current priority of the standby virtual router based on the initial priority of the standby virtual router, the weight of the abnormal network port corresponding to the standby virtual router, and the number of the abnormal network ports.
In this embodiment of the present application, the virtual router determining device may perform a certain operation on the initial priority of the standby virtual router, the weight of the abnormal network port corresponding to the standby virtual router, and the number of the abnormal network ports to determine the current priority of the standby virtual router; it should be noted that the operation formula for performing the operation when determining the current priority of the standby virtual router is the same as the operation formula (1) for determining the current priority of the main virtual router; it should be noted that, the specific operation process for determining the current priority of the standby virtual router may refer to the operation process for determining the current priority of the main virtual router, which is not described herein again.
Step 312, the virtual router determination device determines a target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router and the current priority of the standby virtual router.
In the embodiment of the present application, when the operating states of the second-type network ports of the multiple virtual routers to be monitored are all in an abnormal state, the target master virtual router may still be determined from the multiple virtual routers to be monitored. It should be noted that, in a scheme of determining a target primary virtual router from a plurality of virtual routers to be monitored based on a current priority of a primary virtual router and a current priority of a standby virtual router, a primary virtual router of the plurality of virtual routers to be monitored may be determined as the target primary virtual router, or one standby virtual router of the plurality of virtual routers to be monitored may be determined as the target primary virtual router.
It should be noted that step 313 may be executed after step 304, step 307 and step 312.
Step 313, the virtual router determines that the device transmits data through the target master virtual router.
In other embodiments of the present application, the operating positions of a plurality of virtual routers to be monitored may be set according to actual needs, and the current operating position of each virtual router in the plurality of virtual routers to be monitored is displayed on a User Interface (UI) as shown in fig. 4; referring to fig. 4, when a physical host at a current operating position corresponding to a virtual router in a plurality of virtual routers to be monitored fails, a new operating position of the virtual router may be reselected in the following manner: (1) automatically selecting a physical host with better performance as a new operation position; (2) appointing a physical host as a new operation position, namely selecting the new operation position according to the current priority of a plurality of virtual routers to be monitored; in addition, the following information is also displayed in the UI interface: portal, static routing, address translation, policy routing, access control, Dynamic Host Configuration Protocol (DHCP), and Domain Name System (DNS).
In this embodiment, a description is given by taking an example that a plurality of virtual routers to be monitored include a main virtual router and a standby virtual router, a network port of the main virtual router includes a management port, a data communication port and a service port, and a network port of the standby virtual router includes a management port, a data communication port and a service port: referring to fig. 5, a Management port runs in a Management Plane (MP) and sends configuration information to a master virtual router and a standby virtual router; in addition, the main virtual router and the standby virtual router can also carry out data information interaction through own data communication ports.
In other embodiments of the present application, referring to fig. 6, a management plane of a physical host may send configuration information of a plurality of virtual routers to be monitored through a first type of network ports (e.g., management ports) in the plurality of virtual routers to be monitored, such as configuring an initial priority, a list of network ports to be monitored, and a policy for determining a target host virtual router; the management Plane can also receive the running state of the internet access reported by a Data Plane (DP); the data plane of the physical host is provided with a priority updating module and a network port running state determining module, wherein the network port running state determining module comprises a normal network port running state and an abnormal network port running state.
In other embodiments of the present application, the virtual router determination method may be applied to the system shown in fig. 7; the system may include a primary virtual router, a standby virtual router, and virtual router determination equipment; the first type of network port is a management port, and the second type of network port is a data communication port and a service port; referring to fig. 7, in order to obtain a target primary virtual router, the operation location of the primary virtual router may be configured as a physical host 1, the operation location of the standby virtual router may be configured as a physical host 2, the management ports of the primary virtual router and the standby virtual router may be configured to operate on the management plane of the physical host, and the data communication ports and the service ports of the primary virtual router and the standby virtual router may be configured to operate on the data plane of the physical host; the management port running on the management plane of the physical host may send configuration information of the primary virtual router and the standby virtual router, such as configuration initial priority, a list of the network ports to be monitored, and a policy for determining a target primary virtual router, and receive the primary and standby information of the two virtual routers to be monitored sent by the data plane, and an operating state of each network port, so as to assist the data plane in determining the target primary virtual router. After receiving configuration information of a plurality of virtual routers to be monitored, which is sent by a management plane, a data plane monitors the running state of a management port of a main virtual router and the running state of a management port of a standby virtual router, and also monitors the running states of a data communication port and a service port of the main virtual router and the running states of the data communication port and the service port of the standby virtual router; then, under the condition that the operation states of the management ports of the main virtual router and the standby virtual router are determined to be abnormal, the original main virtual router is determined as a target main virtual router; and under the condition that the running state of the data communication port and/or the service port of the main virtual router is determined to be abnormal, determining the current priority of the main virtual router, and determining a target main virtual router from the main virtual router and the standby virtual router based on the current priority of the main virtual router.
In other embodiments of the present application, a case where the terminal a transmits target data to the terminal B through a virtual router, where the target data includes three virtual routers, and an initial primary virtual router is a virtual router 1 is taken as an example to describe: referring to fig. 8, when a terminal a transmits target data to a terminal B through a virtual router, the terminal a may first transmit the target data to a virtual router determination device; when the virtual router determination device determines that a service port in the second type of network port of the virtual router 1 is failed, the virtual router determination device may compare the current priority of the virtual router 2 with the current priority of the virtual router 3, and in a case that the current priority of the virtual router 2 is greater than the current priority of the virtual router 3, the virtual router determination device sends the target data to the virtual router 2 (i.e., sets the virtual router 2 as a target main virtual router), and transmits the target data to the terminal B via the virtual router 2, thereby implementing transmission of the target data between the terminal a and the terminal B.
It should be noted that, for the descriptions of the same steps and the same contents in this embodiment as those in other embodiments, reference may be made to the descriptions in other embodiments, which are not described herein again.
The virtual router determining method provided by the embodiment of the application can determine the target main virtual router according to the running states of the network ports of each virtual router to be monitored, and considers the network ports used for transmitting data information when determining the target main virtual router, thereby solving the problem that the network ports of the virtual routers monitored in the related technology are single, and improving the continuity and reliability of the virtual routers for transmitting the data information.
Based on the foregoing embodiments, an embodiment of the present application provides a virtual router determining apparatus, which may be applied to the virtual router determining method provided in the embodiments corresponding to fig. 1 to 3, and as shown in fig. 9, the apparatus 4 may include: a first determining unit 41, a second determining unit 42 and a transmitting unit 43, wherein:
a first determining unit 41, configured to determine, in a case where data is transmitted through a virtual router, operation states of a plurality of network ports of each of a plurality of virtual routers to be monitored; the network ports at least comprise a first network port for sending configuration information and a second network port for transmitting data information;
a second determining unit 42, configured to determine, based on the operation states of the multiple network ports, a target master virtual router from the multiple virtual routers to be monitored;
a transmission unit 43, configured to transmit data through the target master virtual router.
In the embodiment of the present application, the first determining unit 41 is further configured to perform the following steps:
determining a list of network ports to be monitored; the network port list to be monitored comprises the identifiers of a plurality of virtual routers to be monitored and the identifiers of a plurality of network ports of each virtual router;
monitoring the plurality of network ports based on the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports to obtain the running states of the plurality of network ports.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
determining a main virtual router as a target main virtual router under the condition that the running state of a first type of network port of the main virtual router in the virtual routers to be monitored is abnormal;
and under the condition that the running state of the second type of network ports of the main virtual router is abnormal, determining the current priority of the main virtual router, and determining a target main virtual router from the virtual routers to be monitored based on the current priority of the main virtual router.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
determining the current priority of the main virtual router as a target priority; the target priority is lower than the priority of standby virtual routers except the main virtual router in the virtual routers to be monitored;
and determining a target main virtual router from standby virtual routers except the main virtual router in the plurality of virtual routers to be monitored based on the target priority.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
determining the abnormal time of the second type of network ports of the main virtual router;
and determining a target main virtual router from the standby virtual routers based on the target priority and the abnormal time.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
determining the current priority of a main virtual router and the current priority of a standby virtual router;
and determining a target main virtual router from the plurality of virtual routers to be monitored based on the current priority of the main virtual router and the current priority of the standby virtual router.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
determining the initial priority of a main virtual router and the initial priority of a standby virtual router;
determining the abnormal attribute of the abnormal net mouth with abnormality in the second net mouth of the main virtual router and the second net mouth of the standby virtual router;
determining the current priority of the main virtual router based on the initial priority of the main virtual router and the abnormal attribute of the abnormal network port corresponding to the main virtual router;
and determining the current priority of the standby virtual router based on the initial priority of the standby virtual router and the abnormal attribute of the abnormal internet access corresponding to the standby virtual router.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
and determining the weight of the abnormal network ports and the number of the abnormal network ports in the second type of network ports of the main virtual router and the second type of network ports of the standby virtual router.
In the embodiment of the present application, the second determining unit 42 is further configured to perform the following steps:
and under the condition that the running state of the second type of network ports of the main virtual router is monitored to be recovered to be normal, setting the current priority of the main virtual router as the initial priority of the main virtual router.
It should be noted that, in the embodiment, specific implementation processes of steps executed by each unit may refer to implementation processes in the virtual router determination method provided in the embodiments corresponding to fig. 1 to 3, and details are not described here.
The virtual router determining apparatus provided in the embodiment of the present application may determine the target master virtual router according to the operating states of the multiple network ports of each to-be-monitored virtual router, and a network port for transmitting data information is considered when determining the target master virtual router, so as to solve the problem that the network port of the monitored virtual router in the related art is single, and improve the continuity and reliability of data information transmission by the virtual router.
Based on the foregoing embodiments, an embodiment of the present application provides a virtual router determining device, which may be applied to the virtual router determining method provided in the embodiments corresponding to fig. 1 to 3, and as shown in fig. 10, the device 5 may include: a processor 51, a memory 52 and a communication bus 53;
the communication bus 53 is used for realizing communication connection between the processor 51 and the memory 52;
the processor 51 is configured to execute the virtual router determination program stored in the memory 52 to implement the steps of:
determining the running states of a plurality of network ports of each virtual router in a plurality of virtual routers to be monitored under the condition of transmitting data through the virtual router; the network ports at least comprise a first network port for sending configuration information and a second network port for transmitting data information;
determining a target main virtual router from a plurality of virtual routers to be monitored based on the running states of the plurality of network ports;
data is transmitted through the target master virtual router.
In other embodiments of the present application, the processor 51 is configured to execute the operation status of the plurality of network ports of each of the plurality of virtual routers to be monitored, determined in the virtual router determination program stored in the memory 52, to implement the following steps:
determining a list of network ports to be monitored; the network port list to be monitored comprises the identifiers of a plurality of virtual routers to be monitored and the identifiers of a plurality of network ports of each virtual router;
and monitoring the plurality of network ports based on the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports to obtain the running states of the plurality of network ports.
In other embodiments of the present application, the processor 51 is configured to execute a running state of the virtual router determination program stored in the memory 52 based on a plurality of network ports, and determine a target master virtual router from a plurality of virtual routers to be monitored, so as to implement the following steps:
determining a main virtual router as a target main virtual router under the condition that the running state of a first type of network port of the main virtual router in the virtual routers to be monitored is abnormal;
and under the condition that the running state of the second type of network ports of the main virtual router is abnormal, determining the current priority of the main virtual router, and determining a target main virtual router from the virtual routers to be monitored based on the current priority of the main virtual router.
In other embodiments of the present application, the processor 51 is configured to execute the virtual router determination program stored in the memory 52 to determine a current priority of the master virtual router, and determine a target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router, so as to implement the following steps:
determining the current priority of the main virtual router as a target priority; the target priority is lower than the priority of a standby virtual router except the main virtual router in the virtual routers to be monitored;
and determining a target main virtual router from standby virtual routers except the main virtual router in the plurality of virtual routers to be monitored based on the target priority.
In other embodiments of the present application, the processor 51 is configured to execute a target priority-based virtual router determination program stored in the memory 52 to determine a target primary virtual router from standby virtual routers other than the primary virtual router in the plurality of virtual routers to be monitored, so as to implement the following steps:
determining the abnormal time of the second type of network ports of the main virtual router;
and determining a target main virtual router from the standby virtual routers based on the target priority and the abnormal time.
In other embodiments of the present application, the processor 51 is configured to execute the virtual router determination program stored in the memory 52 to determine a current priority of the master virtual router, and determine a target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router, so as to implement the following steps:
determining the current priority of a main virtual router and the current priority of a standby virtual router;
and determining a target main virtual router from the plurality of virtual routers to be monitored based on the current priority of the main virtual router and the current priority of the standby virtual router.
In other embodiments of the present application, the processor 51 is configured to execute the virtual router determination program stored in the memory 52 to determine the current priority of the master virtual router and the current priority of the standby virtual router, so as to implement the following steps:
determining the initial priority of a main virtual router and the initial priority of a standby virtual router;
determining the abnormal attribute of the abnormal net mouth with abnormality in the second net mouth of the main virtual router and the second net mouth of the standby virtual router;
determining the current priority of the main virtual router based on the initial priority of the main virtual router and the abnormal attribute of the abnormal network port corresponding to the main virtual router;
and determining the current priority of the standby virtual router based on the initial priority of the standby virtual router and the abnormal attribute of the abnormal internet access corresponding to the standby virtual router.
In other embodiments of the present application, the processor 51 is configured to execute the virtual router determination program stored in the memory 52 to determine that an abnormal attribute of an abnormal network port exists in the second type network port of the primary virtual router and the second type network port of the standby virtual router, so as to implement the following steps:
and determining the weight of the abnormal network ports and the number of the abnormal network ports in the second type of network ports of the main virtual router and the second type of network ports of the standby virtual router.
In other embodiments of the present application, the processor 51 is configured to execute the virtual router determination program stored in the memory 52 to determine a current priority of the master virtual router, and determine a target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router, so as to implement the following steps:
and under the condition that the running state of the second type of network ports of the main virtual router is monitored to be recovered to be normal, setting the current priority of the main virtual router as the initial priority of the main virtual router.
It should be noted that, for a specific implementation process of the steps executed by the processor in this embodiment, reference may be made to the implementation process in the virtual router determination method provided in the embodiments corresponding to fig. 1 to 3, and details are not described here.
The virtual router determining device provided by the embodiment of the application can determine the target main virtual router according to the operating states of the network ports of each virtual router to be monitored, and considers the network ports for transmitting data information when determining the target main virtual router, thereby solving the problem that the network ports of the virtual routers monitored in the related art are single, and improving the continuity and reliability of the virtual routers for transmitting the data information.
Based on the foregoing embodiments, an embodiment of the present application provides a computer-readable storage medium, where one or more programs are stored, and the one or more programs are executable by one or more processors to implement the steps in the virtual router determination method provided in the embodiment corresponding to fig. 1 to 3.
The computer-readable storage medium may be a Read Only Memory (ROM), a Programmable Read Only Memory (PROM), an Erasable Programmable Read Only Memory (EPROM), an Electrically Erasable Programmable Read Only Memory (EEPROM), a magnetic Random Access Memory (FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical Disc, or a Compact Disc Read-Only Memory (CD-ROM); and may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., including one or any combination of the above-mentioned memories.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The above-mentioned serial numbers of the embodiments of the present application are merely for description and do not represent the merits of the embodiments.
Through the above description of the embodiments, those skilled in the art will clearly understand that the method of the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but in many cases, the former is a better implementation manner. Based on such understanding, the technical solutions of the present application may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a server, an air conditioner, or a network device) to execute the method described in the embodiments of the present application.
The present application is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the application. It will be understood that each flow and/or block of the 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 a preferred embodiment of the present application, and not intended to limit the scope of the present application, and all modifications of equivalent structures and equivalent processes, which are made by the contents of the specification and the drawings of the present application, or which are directly or indirectly applied to other related technical fields, are included in the scope of the present application.

Claims (11)

1. A method for virtual router determination, the method comprising:
determining the running states of a plurality of network ports of each virtual router in a plurality of virtual routers to be monitored under the condition of transmitting data through the virtual router; the network ports at least comprise a first network port for sending configuration information and a second network port for transmitting data information;
determining a target main virtual router from the plurality of virtual routers to be monitored based on the running states of the plurality of network ports;
transmitting the data through the target master virtual router.
2. The method of claim 1, wherein determining the operation status of the plurality of ports of each of the plurality of virtual routers to be monitored comprises:
determining a list of network ports to be monitored; the list of the network ports to be monitored comprises the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports of each virtual router;
monitoring the plurality of network ports based on the identifiers of the plurality of virtual routers to be monitored and the identifiers of the plurality of network ports to obtain the running states of the plurality of network ports.
3. The method according to claim 1, wherein the determining a target master virtual router from the plurality of virtual routers to be monitored based on the operation status of the plurality of network ports comprises:
determining a master virtual router as the target master virtual router when the running state of a first type of network port of the master virtual router in the plurality of virtual routers to be monitored is abnormal;
and under the condition that the running state of the second type of network ports of the main virtual router is abnormal, determining the current priority of the main virtual router, and determining the target main virtual router from the virtual routers to be monitored based on the current priority of the main virtual router.
4. The method of claim 3, wherein determining the current priority of the primary virtual router and determining the target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router comprises:
determining the current priority of the main virtual router as a target priority; wherein the target priority is lower than the priority of a standby virtual router except the main virtual router in the plurality of virtual routers to be monitored;
and determining the target main virtual router from standby virtual routers except the main virtual router in the plurality of virtual routers to be monitored based on the target priority.
5. The method of claim 4, wherein the determining the target primary virtual router from the standby virtual routers of the plurality of virtual routers to be monitored other than the primary virtual router based on the target priority comprises:
determining the abnormal time of the second type of network port of the main virtual router;
and determining the target main virtual router from the standby virtual router based on the target priority and the abnormal time.
6. The method of claim 3, wherein determining the current priority of the primary virtual router and determining the target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router comprises:
determining the current priority of the main virtual router and the current priority of the standby virtual router;
and determining the target main virtual router from the virtual routers to be monitored based on the current priority of the main virtual router and the current priority of the standby virtual router.
7. The method of claim 6, wherein determining the current priority of the primary virtual router and the current priority of the standby virtual router comprises:
determining the initial priority of the main virtual router and the initial priority of the standby virtual router;
determining that the second type of network ports of the main virtual router and the second type of network ports of the standby virtual router have abnormal attributes of abnormal network ports;
determining the current priority of the main virtual router based on the initial priority of the main virtual router and the abnormal attribute of the abnormal internet access corresponding to the main virtual router;
and determining the current priority of the standby virtual router based on the initial priority of the standby virtual router and the abnormal attribute of the abnormal internet access corresponding to the standby virtual router.
8. The method according to claim 7, wherein the determining that the abnormal attribute of the abnormal port exists in the second type of ports of the primary virtual router and the second type of ports of the standby virtual router comprises:
and determining the weight of the abnormal network ports and the number of the abnormal network ports in the second type of network ports of the main virtual router and the second type of network ports of the standby virtual router.
9. The method of claim 4, further comprising:
and under the condition that the running state of the second type of network ports of the main virtual router is monitored to be recovered to be normal, setting the current priority of the main virtual router as the initial priority of the main virtual router.
10. A virtual router determination device, the device comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing communication connection between the processor and the memory;
the processor is configured to execute a virtual router determination program stored in the memory to implement the steps of the virtual router determination method according to any one of claims 1 to 9.
11. A computer readable storage medium, storing one or more programs, which are executable by one or more processors, for performing the steps of the virtual router determination method according to any one of claims 1 to 9.
CN202210612785.2A 2022-05-31 2022-05-31 Virtual router determining method, device and computer readable storage medium Active CN115086219B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210612785.2A CN115086219B (en) 2022-05-31 2022-05-31 Virtual router determining method, device and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210612785.2A CN115086219B (en) 2022-05-31 2022-05-31 Virtual router determining method, device and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN115086219A true CN115086219A (en) 2022-09-20
CN115086219B CN115086219B (en) 2024-04-09

Family

ID=83249856

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210612785.2A Active CN115086219B (en) 2022-05-31 2022-05-31 Virtual router determining method, device and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN115086219B (en)

Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184387A1 (en) * 2001-05-31 2002-12-05 The Furukawa Electric Co., Ltd. Method for connecting between networks, virtual router, and system for connecting between networks by using this virtual router
US20050120160A1 (en) * 2003-08-20 2005-06-02 Jerry Plouffe System and method for managing virtual servers
US20100149980A1 (en) * 2007-11-20 2010-06-17 David Cheung Virtual router with a priority value per port
US20140362681A1 (en) * 2013-06-10 2014-12-11 Check Point Software Technologies Ltd. Method for synchronized bgp and vrrp failover of a network device in a network
US20170063731A1 (en) * 2015-08-31 2017-03-02 Red Hat, Inc. Determining state of virtual router instance
CN106572047A (en) * 2015-10-09 2017-04-19 东软集团股份有限公司 Physical network safety device and control method thereof
US20170149648A1 (en) * 2015-11-20 2017-05-25 Beijing Baidu Netcom Science And Technology Co., Ltd. Virtual router cluster, data forwarding method and apparatus
CN106797351A (en) * 2014-07-21 2017-05-31 大交换机网络股份有限公司 Use the system and method for controller execution logic forwarded
US20180167287A1 (en) * 2016-12-09 2018-06-14 Nicira, Inc. Capturing packets in a virtual switch
CN109450701A (en) * 2018-12-07 2019-03-08 北京金山云网络技术有限公司 A kind of virtual switch switching method, device, host and storage medium
CN114285795A (en) * 2021-12-02 2022-04-05 中国银联股份有限公司 State control method, device, equipment and storage medium of virtual equipment
CN114546604A (en) * 2022-04-26 2022-05-27 赛芯半导体技术(北京)有限公司 Thermal migration method and device for virtual machine

Patent Citations (12)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020184387A1 (en) * 2001-05-31 2002-12-05 The Furukawa Electric Co., Ltd. Method for connecting between networks, virtual router, and system for connecting between networks by using this virtual router
US20050120160A1 (en) * 2003-08-20 2005-06-02 Jerry Plouffe System and method for managing virtual servers
US20100149980A1 (en) * 2007-11-20 2010-06-17 David Cheung Virtual router with a priority value per port
US20140362681A1 (en) * 2013-06-10 2014-12-11 Check Point Software Technologies Ltd. Method for synchronized bgp and vrrp failover of a network device in a network
CN106797351A (en) * 2014-07-21 2017-05-31 大交换机网络股份有限公司 Use the system and method for controller execution logic forwarded
US20170063731A1 (en) * 2015-08-31 2017-03-02 Red Hat, Inc. Determining state of virtual router instance
CN106572047A (en) * 2015-10-09 2017-04-19 东软集团股份有限公司 Physical network safety device and control method thereof
US20170149648A1 (en) * 2015-11-20 2017-05-25 Beijing Baidu Netcom Science And Technology Co., Ltd. Virtual router cluster, data forwarding method and apparatus
US20180167287A1 (en) * 2016-12-09 2018-06-14 Nicira, Inc. Capturing packets in a virtual switch
CN109450701A (en) * 2018-12-07 2019-03-08 北京金山云网络技术有限公司 A kind of virtual switch switching method, device, host and storage medium
CN114285795A (en) * 2021-12-02 2022-04-05 中国银联股份有限公司 State control method, device, equipment and storage medium of virtual equipment
CN114546604A (en) * 2022-04-26 2022-05-27 赛芯半导体技术(北京)有限公司 Thermal migration method and device for virtual machine

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
李同标;张晓哲;高先明;邓文平;马世聪;: "基于能耗的虚拟路由器转发实例动态迁移机制研究", 计算机应用与软件, no. 08 *
王轶群;: "VRRP路由协议介绍及配置", 赤峰学院学报(自然科学版), no. 06 *

Also Published As

Publication number Publication date
CN115086219B (en) 2024-04-09

Similar Documents

Publication Publication Date Title
US10938710B2 (en) Protection switching method and system, and network device
CN103621027B (en) Communication route control system and communication route control method
CN108322467B (en) OVS-based virtual firewall configuration method, electronic equipment and storage medium
EP1697843B1 (en) System and method for managing protocol network failures in a cluster system
CN108370368B (en) Security policy deployment method and device
CN103763121A (en) Method and device for quickly issuing network configuration information
EP3316555B1 (en) Mac address synchronization method, device and system
CN109088818B (en) Equipment linkage switching method and device
CN110891018B (en) Network traffic recovery method and device, SDN controller and storage medium
CN110011941B (en) Message forwarding method and device
CN108471372B (en) State control method, device and message transmission method
CN107948063B (en) Method for establishing aggregation link and access equipment
CN105939254B (en) The method and device of VRRP backup group state switching
CN105939215B (en) The method and device of VRRP backup group state switching
CN116566752B (en) Safety drainage system, cloud host and safety drainage method
EP3633931A1 (en) Method, device, and system for implementing mux machine
KR20210119162A (en) Vehicle and controlling method of vehicle
RU2693903C1 (en) Method, apparatus and processing system for expanded port
CN115665035A (en) Information processing method and device, first node and storage medium
CN113992685B (en) Service controller determining method, system and device
CN115086219B (en) Virtual router determining method, device and computer readable storage medium
US20200287784A1 (en) Priority based selection of time services
EP3627766B1 (en) Method and system for switching between active bng and standby bng
CN111835544B (en) Monitoring method and system of virtual router based on user mode protocol stack
CN113973101A (en) Method and device for processing table item information

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