CN115086219B - Virtual router determining method, device and computer readable storage medium - Google Patents

Virtual router determining method, device and computer readable storage medium Download PDF

Info

Publication number
CN115086219B
CN115086219B CN202210612785.2A CN202210612785A CN115086219B CN 115086219 B CN115086219 B CN 115086219B CN 202210612785 A CN202210612785 A CN 202210612785A CN 115086219 B CN115086219 B CN 115086219B
Authority
CN
China
Prior art keywords
virtual router
virtual
determining
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.)
Active
Application number
CN202210612785.2A
Other languages
Chinese (zh)
Other versions
CN115086219A (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

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 virtual router determining method, 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 type network port used for sending configuration information and a second type network port used 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 a plurality of network ports; data is transmitted through the target primary virtual router. The embodiment of the application also discloses a virtual router determining device, equipment and a computer readable storage medium.

Description

Virtual router determining method, device and computer readable storage medium
Technical Field
The present disclosure relates to the field of communications technologies, and in particular, to a method and apparatus for determining a virtual router, and a computer readable storage medium.
Background
The virtual router redundancy protocol (Virtual Router Redundancy Protocol, VRRP) is a protocol for realizing high availability of virtual routers, and forms a virtual router group by a plurality of virtual routers providing the same function, wherein the virtual router group comprises a main virtual router and a standby virtual router; and under the condition that the network port running state of the master virtual router is abnormal, the master virtual router is redetermined according to the priority of the VRRP, so that the high availability of the virtual router is realized. In the related art, the high availability of the virtual router is generally realized by monitoring management ports of a plurality of virtual routers in the virtual router group; however, there is a problem that the monitored network port is single, and normal data transmission cannot be guaranteed.
Disclosure of Invention
In order to solve the technical problems, it is desirable in the embodiments of the present application to provide a method, an apparatus, and a computer readable storage medium for determining a virtual router, which can solve the problem that a monitored network port is single and normal data transmission cannot be guaranteed in a virtual router monitored in a related technology, and improve continuity and reliability of data information transmission of 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 used for sending configuration information and a second network port used 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 network ports;
and transmitting the data through the target master virtual router.
In the above solution, the determining the running states of the plurality of ports of each of the plurality of virtual routers to be monitored includes:
Determining a network port list to be monitored; the network port list to be monitored comprises identifiers of the plurality of virtual routers to be monitored and identifiers of a plurality of network ports of each virtual router;
monitoring the network ports based on the identifiers of the virtual routers to be monitored and the identifiers of the network ports to obtain the running states of the network ports.
In the above solution, the determining, based on the running states of the multiple network ports, the target master virtual router from the multiple virtual routers to be monitored includes:
determining that a main virtual router is the target main virtual router under the condition that the running state of a first type network port of the main 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 network port of the master virtual router is abnormal, determining the current priority of the master virtual router, and determining the target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router.
In the above solution, the determining the current priority of the primary virtual router, and determining the target primary virtual router from the multiple virtual routers to be monitored based on the current priority of the primary virtual router includes:
Determining the current priority of the master 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 the standby virtual routers except the main virtual router in the plurality of virtual routers to be monitored based on the target priority.
In the above solution, the determining, based on the target priority, the target primary virtual router from the backup virtual routers other than the primary virtual router among the plurality of virtual routers to be monitored includes:
determining abnormal time of the second type network port of the master virtual router;
and determining the target main virtual router from the standby virtual routers based on the target priority and the abnormal time.
In the above solution, the determining the current priority of the primary virtual router, and determining the target primary virtual router from the multiple virtual routers to be monitored based on the current priority of the primary virtual router includes:
determining the current priority of the master virtual router and the current priority of the standby virtual router;
And determining the target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router and the current priority of the standby virtual router.
In the above solution, the determining the current priority of the primary virtual router and the current priority of the backup virtual router includes:
determining the initial priority of the master virtual router and the initial priority of the standby virtual router;
determining the abnormal attribute of an abnormal network port existing in the second class network port of the main virtual router and the second class network port of the standby virtual router;
determining 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 network port corresponding to the master 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 network port corresponding to the standby virtual router.
In the above scheme, the determining that the abnormal network port has the abnormal attribute of the abnormal network port in the second class network port of the main virtual router and the second class 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 class network ports of the main virtual router and the second class network ports of the standby virtual router.
In the above solution, the determining the current priority of the primary virtual router, and determining the target primary virtual router from the multiple virtual routers to be monitored based on the current priority of the primary virtual router, further includes:
and under the condition that the running state of the second type network port of the master virtual router is monitored to be normal, setting the current priority of the master virtual router as the initial priority of the master 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 configured to execute the information query program stored in the memory, so as to implement the steps of the virtual router determining method.
A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the virtual router determination method described above.
In the case of transmitting data through the virtual router, the method, the device and the computer readable storage medium for determining the virtual router determine the running states of a plurality of network ports of each virtual router in the plurality of virtual routers to be monitored, wherein the plurality of network ports at least comprise a first network port used for sending configuration information and a second network port used for transmitting data information, and then determine 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, and then transmit data through the target main 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 used for transmitting data information are considered when the target main virtual router is determined, so that the problem of single network port of the virtual router monitored in the related technology is solved, and the continuity and reliability of the data information transmission of the virtual router are improved.
Drawings
Fig. 1 is a flow chart of a virtual router determining method according to an embodiment of the present application;
fig. 2 is a flow chart of another virtual router determining method according to an embodiment of the present application;
Fig. 3 is a flowchart of another virtual router determining method according to an embodiment of the present application;
fig. 4 is an interface schematic diagram of setting an operation position of a virtual router to be monitored in the method for determining a virtual router according to the embodiment of the present application;
fig. 5 is a schematic information interaction diagram of a master virtual router, a standby virtual router and a management plane in a virtual router determining method according to an embodiment of the present application;
fig. 6 is a schematic diagram of determining a network port list to be monitored in a virtual router determining 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 of data transmission between a terminal a and a terminal B through a target host router according to a virtual router determination method provided in an embodiment of the present application;
fig. 9 is a schematic structural diagram of a virtual router determining 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 for purposes of illustration only and are not intended to limit the present application.
The embodiment of the application provides a virtual router determining method, which can be applied to virtual router determining equipment, and is shown with reference to fig. 1, and the method comprises the following steps:
step 101, 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 that data are transmitted through the virtual router.
The network ports at least comprise a first network port used for sending configuration information and a second network port used for transmitting data information.
In the embodiment of the application, the plurality of virtual routers to be monitored may include a main virtual router and a standby virtual router; of course, the plurality of virtual routers to be monitored may also include one master virtual router and a plurality of standby virtual routers.
In the embodiment of the present application, the running state may be a parameter representing the working state of the network port. The virtual router determining device monitors the running states of the network ports of the main virtual router and the running states of the network ports of each of the standby virtual routers so as to determine the target main virtual router through the running states of the network ports of the main virtual router and the running states of the network ports of each of the standby virtual routers.
In one possible implementation, 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; the data communication port may also be referred to as a virtual extensible local area network (Virtual eXtensible Local Area Network, VXLAN) port.
And 102, determining a target master virtual router from a plurality of virtual routers to be monitored based on the running states of the network ports.
In the embodiment of the application, the target master virtual router is a virtual router for transmitting data information. The primary virtual router in the plurality of virtual routers to be monitored can be determined as a target primary virtual router, and the standby virtual router in the plurality of virtual routers to be monitored can also be determined as the target primary virtual router.
In the embodiment of the application, the operation states of the first type network port and the second type network port of the main virtual router in the plurality of virtual routers to be monitored and the operation states of the first type network port and the second type network port of each standby virtual router are determined, and then the target main virtual router is determined from the plurality of virtual routers to be monitored according to different conditions of the operation states of the main virtual router and the first type network port and the second type network port of each standby router.
And step 103, transmitting data through the target master virtual router.
In the embodiment of the application, the data transmission between the terminals, or between the terminals and the server, or between the server and the server can be realized through the target master virtual router.
According to the virtual router determining method provided by the embodiment of the application, the target main virtual router can be determined according to the running states of the multiple network ports of each virtual router to be monitored, and the network ports used for transmitting data information are considered when the target main virtual router is determined, so that the problem of single network port of the virtual router monitored in the related technology is solved, and the continuity and reliability of the data information transmission of the virtual router are improved.
Based on the foregoing embodiments, the embodiments of the present application provide a virtual router determining method, referring to fig. 2, including the following steps:
step 201, the virtual router determining device determines a network port list to be monitored.
The network port list to be monitored comprises identifiers of a plurality of virtual routers to be monitored and 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 of the plurality of network ports has a unique network port identifier; in a possible implementation manner, the identifier of the to-be-monitored virtual router may refer to the name of the physical host corresponding to the to-be-monitored virtual router, for example, the identifier of a certain virtual router in the to-be-monitored virtual router may be the physical host 1.
In the embodiment of the present application, the virtual router determining device may set the to-be-monitored network port list according to the number of the monitored network ports.
In one possible implementation, the network port includes a management port, a data communication port and a service port, where 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, and where the list of network ports to be monitored may be represented by [ eth0, eth1, eth2]. It should be noted that, in the embodiment of the present application, only the network port to be monitored includes the management port, the data communication port and the service port as an example is described, and of course, the network port to be monitored may also include other network ports, and the network port list may be specifically set according to the actual situation, which is not limited specifically herein.
In the embodiment of the application, the setting of the network port list to be monitored can be realized through the following codes:
step 202, the virtual router determining device monitors a 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 running states of the plurality of network ports.
In the embodiment of the application, through the identification of the virtual router to be monitored, only one virtual router can be determined, and then the specific network port of the virtual router can be determined through the identification of the network port, so that the running state of the network port can be obtained.
Step 203, under the condition that the running states of the network ports of the main virtual routers of the plurality of virtual routers to be monitored are abnormal, the virtual router determining device determines which type of network port of the main virtual router is abnormal.
In the embodiment of the application, the main virtual router can be determined from a plurality of virtual routers to be monitored through the identification of each virtual router, after the main virtual router is determined, which type of network port is the network port with abnormal running state can be determined through the identification of each network port of the main virtual router, and different strategies are adopted for determining the target main virtual router according to the abnormal running states of different types of network ports.
It should be noted that, step 204 or step 205 may be performed after step 203.
Step 204, under the condition that the running states of the first type network ports of the master virtual router in the plurality of virtual routers to be monitored are abnormal, the virtual router determining device determines that the master virtual router is the target master virtual router.
In the embodiment of the present application, in the case that the first type of network port is a management port, since the management port of the primary virtual router is used to send configuration information, when an abnormal operation state of the management port of the primary virtual router is monitored, only sending of the configuration information is affected, and the primary virtual router can still continue to transmit data information, so that a new primary virtual router does not need to be reselected, and the original primary virtual router is set as the target primary virtual router. Therefore, only under the condition that the running state of the management port of the master virtual router is abnormal, the master virtual router does not need to be determined again, and the condition of network jitter is avoided.
Step 205, under the condition that the running state of the second type network port of the master virtual router is abnormal, the virtual router determining device determines the current priority of the master virtual router, and determines the target master virtual router from a plurality of virtual routers to be monitored based on the current priority of the master virtual router.
The current priority of the master virtual router refers to the priority of the master virtual router at the moment.
In the embodiment of the application, the virtual router determining device may determine the current priority of the master virtual router as the target priority, and determine the target master virtual router from a plurality of to-be-monitored virtual routers based on the target priority of the master virtual router; the current priority of the master virtual router and the current priority of each standby virtual router may be ranked after the current priority of the master virtual router is determined, and the target master virtual router is determined from the plurality of virtual routers to be monitored based on the ranking result.
Step 205 may be implemented by steps 205a1 to 205a2 or steps 205a3 to 205a 4:
in step 205a1, the virtual router determining device determines that the current priority of the master virtual router is the target priority.
The target priority is lower than the priority of the standby virtual router except the main virtual router in the plurality of virtual routers to be monitored.
In the embodiment of the present application, the level of the target priority may be predetermined; and, the target priority may be determined based on the priority of the historical virtual router.
In the embodiment of the present application, when the operation state of the data communication port or the service port of the primary virtual router is abnormal in the case where the second type network port is the data communication port and/or the service port, the virtual router determining device sets the priority level of the primary virtual router to be lower than the priority level of the backup 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.
In step 205a2, the virtual router determining device determines, based on the target priority, a target primary virtual router from the backup virtual routers other than the primary virtual router among the plurality of virtual routers to be monitored.
In one possible implementation, in the case that the plurality of virtual routers to be monitored include one primary virtual router and one standby virtual router, after setting the current priority of the primary virtual router to be the target priority, the standby virtual router is directly determined to be the target primary virtual router, and the primary virtual router is determined to be the standby virtual router; therefore, the target master virtual router can be rapidly determined without negotiating the master virtual router with the standby virtual router.
In another possible implementation, in a case where the plurality of virtual routers to be monitored includes one primary virtual router and a plurality of backup virtual routers, one backup virtual router may be randomly selected from the plurality of backup virtual routers, and the backup virtual router may be determined as the target primary virtual router.
Step 205a3, the virtual router determination device determines the current priority of the primary virtual router and the current priority of the backup virtual router.
In the embodiment of the application, the virtual router determining 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 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 that the target main virtual router is determined from a 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.
In step 205a4, the virtual router determining 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 backup virtual router.
In the embodiment of the application, the virtual router determining device sorts the current priority of the master virtual router and the current priority of each of the plurality of standby virtual routers together to obtain a sorting result of the current priority, and then determines the virtual router with the first current priority as the target master virtual router.
It should be noted that, the virtual router with the highest priority at present may be a master virtual router of the multiple virtual routers to be monitored, or may be one of multiple standby virtual routers of 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, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, and are not repeated here.
According to the virtual router determining method provided by the embodiment of the application, the target main virtual router can be determined according to the running states of the multiple network ports of each virtual router to be monitored, and the network ports used for transmitting data information are considered when the target main virtual router is determined, so that the problem of single network port of the virtual router monitored in the related technology is solved, and the continuity and reliability of the data information transmission of the virtual router are improved.
Based on the foregoing embodiments, an embodiment of the present application provides a virtual router determining method, referring to fig. 3, including the following steps:
step 301, the virtual router determining device determines a network port list to be monitored.
The network port list to be monitored comprises identifiers of a plurality of virtual routers to be monitored and identifiers of a plurality of network ports of each virtual router.
Step 302, the virtual router determining device monitors a 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 running states of the plurality of network ports.
Step 303, under the condition that the running states of the network ports of the main virtual routers of the plurality of virtual routers to be monitored are abnormal, the virtual router determining device determines which type of network port of the main virtual router is abnormal.
It should be noted that, step 304, or steps 305 to 307, or steps 308 to 312 may be performed after step 303.
Step 304, under the condition that the running states of the first type network ports of the master virtual router in the plurality of virtual routers to be monitored are abnormal, the virtual router determining device determines that the master virtual router is a target master virtual router.
Step 305, in the case that the operation state of the second type network port of the master virtual router is abnormal, the virtual router determining device determines that the current priority of the master virtual router is the target priority.
The target priority is lower than the priority of the standby virtual router except the main virtual router in the plurality of virtual routers to be monitored.
Step 306, the virtual router determining device determines an abnormal time of the second type of network port of the master virtual router.
In this embodiment of the present application, the abnormal time is a time when the second type network port of the master virtual router is in an abnormal state.
In this embodiment of the present application, the master virtual router may use a target period to periodically send heartbeat information to the virtual router determining device through the second type network port, so that the virtual router determining device knows the running state of the second type network port of the master virtual router.
Step 307, the virtual router determining device determines a target master virtual router from the slave virtual routers based on the target priority and the abnormal time.
In the embodiment of the application, when the target priority of the primary virtual router is lower than the priority of the standby virtual router and the abnormal time of the second type network port is greater than the target time, the virtual router determining device determines the target primary virtual router from the standby virtual router. 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 application, the setting of the target period and the target time may be achieved 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 possible implementation manner, when a plurality of virtual routers to be monitored include a main virtual router and a virtual standby router, when the operation state of a second type network port of the main virtual router is abnormal, setting the target priority of the main virtual router to be 1 and setting the target time to be 3 seconds, and when the abnormal time of the operation state of the second type network port of the main virtual router is greater than 3 seconds, determining that the standby virtual router is automatically determined as the target main virtual router by the virtual router determining device; therefore, under the condition that the running states of the first network ports of the main virtual routers in the plurality of virtual routers to be monitored are abnormal, the target main virtual router can be rapidly determined, sensitive erroneous judgment can be avoided, and the continuity and reliability of data information transmission of the virtual routers are improved.
In another possible implementation manner, in the case that the plurality of virtual routers to be monitored include one master virtual router and a plurality of standby virtual routers, when the operation state of the second type network port of the master virtual router is abnormal, setting the target priority of the master virtual router to be 1 and setting the target time to be 3 seconds, and when the abnormal time of the operation state of the second type network port of the master virtual router is greater than 3 seconds, the virtual router determining device randomly selects one standby virtual router from the plurality of standby virtual routers to determine the standby virtual router as the target master virtual router.
In the embodiment of the application, under the condition that the running state of the second type network port of the main virtual router is monitored to be normal, the current priority of the main virtual router needs to be readjusted to the initial priority of the main virtual router, so that the main virtual router can be ensured to normally participate in the determination of the target main virtual router when the target main 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 anomaly 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 the case that the operation state of the second type network port of the master virtual router is abnormal, the virtual router determining device determines the initial priority of the master virtual router and the initial priority of the standby virtual router.
In the embodiment of the present application, an initial priority may be preset, where the initial priority represents a priority at the beginning of the virtual router. It should be noted that, in practical application, the initial priority of the primary 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 an abnormal attribute of an abnormal network port exists in the second class network port of the master virtual router and the second class network port of the standby virtual router.
The abnormal attribute may include a weight of an abnormal portal and the number of abnormal portals.
In the embodiment of the present application, the weight of the abnormal network port refers to the weight of the abnormal network port in the virtual router with the abnormal network port, and the weight of the abnormal network port may be preset; the number of abnormal network ports refers to the number of network ports in an abnormal state among the plurality of network ports of the virtual router.
It should be noted that, step 309 of determining an abnormal attribute of an abnormal port in the second class port of the master virtual router and the second class port of the standby virtual router may be implemented by step 309 a:
step 309a, the virtual router determining device determines the weight of the abnormal network port and the number of the abnormal network ports in the second class network port of the master virtual router and the second class network port of the standby virtual router.
In the embodiment of the application, the virtual router determining device may determine the weight of the abnormal network port and the number of the abnormal network ports in the second type network ports of the master virtual router; meanwhile, the weight of the abnormal network ports and the number of the abnormal network ports in the second type of network ports of the standby virtual router 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 abnormal network ports refers to the number of network ports in an abnormal state in a plurality of network ports of each virtual router, where the number of abnormal network ports is determined according to the actual running state of the second type network port of each virtual router in the plurality of virtual routers to be monitored.
Step 310, the virtual router determining device determines the current priority of the primary virtual router based on the initial priority of the primary virtual router and the abnormal attribute of the abnormal portal corresponding to the primary virtual router.
In this embodiment of the present application, if the step 309 is implemented by the step 309a, the virtual router determining device may determine the current priority of the primary virtual router based on the initial priority of the primary virtual router, the weight of the abnormal ports corresponding to the primary virtual router, and the number of the abnormal ports.
In the embodiment of the 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 ports 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 may be determined by performing a certain operation according to the following operation formula (1):
Current priority = initial priority-weight of abnormal portal × number of abnormal portals (1)
The current priority of the master virtual router is obtained by substituting the initial priority of the master virtual router, the weight of the abnormal network ports corresponding to the master virtual router, and the number of the abnormal network ports into the operation formula (1).
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 port corresponding to the standby virtual router.
In this embodiment of the present application, if the step 309 is implemented by the step 309a, the virtual router determining device may determine the current priority of the backup virtual router based on the initial priority of the backup virtual router, the weight of the abnormal network port corresponding to the backup virtual router, and the number of the abnormal network ports.
In the embodiment of the application, the virtual router determining device may perform a certain operation on the initial priority of the backup virtual router, the weight of the abnormal network port corresponding to the backup virtual router, and the number of the abnormal network ports to determine the current priority of the backup 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 primary virtual router, which is not described herein.
Step 312, the virtual router determining 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 backup virtual router.
In the embodiment of the present application, when the running states of the second type network ports of the multiple virtual routers to be monitored are all in an abnormal state, the target primary virtual router may still be determined from the multiple virtual routers to be monitored. In the scheme of 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 and the current priority of the standby virtual router, the primary virtual router of the plurality of virtual routers to be monitored may be determined as the target primary virtual router, and 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 performed after each of step 304, step 307, and step 312.
Step 313, the virtual router determination device transmits data through the target master virtual router.
In other embodiments of the present application, the operation positions of a plurality of virtual routers to be monitored may be set according to actual needs, and the current operation position of each of the plurality of virtual routers to be monitored is displayed on a User Interface (UI) as shown in fig. 4; referring to fig. 4, after a physical host corresponding to a current operation position of a certain virtual router among a plurality of virtual routers to be monitored fails, a new operation position of the virtual router may be reselected by: (1) Automatically selecting a physical host with better performance as a new running position; (2) The physical host is designated as a new operation position, namely the new operation position can be selected according to the current priorities of the virtual routers to be monitored; in addition, the UI interface also displays the following information: portal, static routing, address translation, policy routing, access control, dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) and domain name system (Domain Name System, DNS).
In this embodiment of the present application, 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, where 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 operates in a Management Plane (MP) and transmits configuration information to a primary virtual router and a backup virtual router; in addition, the main virtual router and the standby virtual router can also perform data information interaction through the data communication ports of the main virtual router and the standby virtual router.
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 port (such as a management port) in the plurality of virtual routers to be monitored, for example, configuring an initial priority, a list of network ports to be monitored, and determining a policy of a target host virtual router; the management Plane can also receive the running state of the network port reported by the Data Plane (DP); the method comprises the steps that a priority updating module and a network port running state determining module are arranged on a data surface of a physical host, 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 backup virtual router, and virtual router determination means; the first type of network ports are management ports, and the second type of network ports are data communication ports and service ports; referring to fig. 7, in order to obtain a target primary virtual router, an operation position of the primary virtual router may be configured as a physical host 1, an operation position of the backup virtual router may be configured as a physical host 2, management ports of the primary virtual router and the backup virtual router may be configured to operate on a management plane of the physical host, and data communication ports and service ports of the primary virtual router and the backup virtual router may be configured to operate on a 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 backup virtual router, such as configuring an initial priority, a list of ports to be monitored, determining a policy of the target primary virtual router, and receiving primary and backup information of the two virtual routers to be monitored sent by the data plane, and running states of each port, so as to assist the data plane to determine the target primary virtual router. After receiving the configuration information of the plurality of virtual routers to be monitored sent by the management plane, the data plane monitors the running states of the management port of the main virtual router and the running states of the management port of the standby virtual router, and monitors the running states of the data communication port and the 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 running states of the management ports of the main virtual router and the standby virtual router are abnormal, the original main virtual router is determined to be a target main virtual router; and under the condition that the operation state of the data communication port and/or the service port 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 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, taking the terminal a to transmit the target data to the terminal B through the virtual router, including three virtual routers, and the initial master virtual router is illustrated as the virtual router 1: referring to fig. 8, when terminal a transmits target data to terminal B through a virtual router, terminal a may first transmit the target data to a virtual router determination apparatus; when determining that the service port in the second type network port of the virtual router 1 fails, the virtual router determining device may compare the current priority of the virtual router 2 with the current priority of the virtual router 3, and in the case that the current priority of the virtual router 2 is greater than the current priority of the virtual router 3, the virtual router determining device sends the target data to the virtual router 2 (i.e. sets the virtual router 2 as the target primary virtual router), and transmits the target data to the terminal B via the virtual router 2, thereby implementing the transmission of the target data between the terminal a and the terminal B.
It should be noted that, in this embodiment, the descriptions of the same steps and the same content as those in other embodiments may refer to the descriptions in other embodiments, which are not repeated here.
According to the virtual router determining method provided by the embodiment of the application, the target main virtual router can be determined according to the running states of the multiple network ports of each virtual router to be monitored, and the network ports used for transmitting data information are considered when the target main virtual router is determined, so that the problem of single network port of the virtual router monitored in the related technology is solved, and the continuity and reliability of the data information transmission of the virtual router are improved.
Based on the foregoing embodiments, the embodiments of the present application provide 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 referring to fig. 9, the apparatus 4 may include: a first determination unit 41, a second determination unit 42, and a transmission unit 43, wherein:
a first determining unit 41, configured to determine an operation state of a plurality of ports of each of a plurality of virtual routers to be monitored in a case where data is transmitted through the virtual router; the network ports at least comprise a first type network port used for sending configuration information and a second type network port used for transmitting data information;
a second determining unit 42, configured to determine a target master virtual router from a plurality of virtual routers to be monitored based on the operation states of the plurality of network ports;
A transmission unit 43 for transmitting data through the target primary virtual router.
In the embodiment of the present application, the first determining unit 41 is further configured to perform the following steps:
determining a network port list to be monitored; the network port list to be monitored comprises identifiers of a plurality of virtual routers to be monitored and identifiers of a plurality of network ports of each virtual router;
monitoring a 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:
under the condition that the running states of the first type network ports of the main virtual router in the plurality of virtual routers to be monitored are abnormal, determining the main virtual router as a target main virtual router;
and under the condition that the running state of the second type network port 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 plurality of 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 master virtual router as a target priority; the target priority is lower than the priority of a standby virtual router except a main virtual router in the plurality of virtual routers to be monitored;
And determining a target master virtual router from the standby virtual routers except the master 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 abnormal time of a second type network port of the main virtual router;
and determining a target master virtual router from the slave 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 the main virtual router and the current priority of the standby virtual router;
the target master virtual router is determined from the plurality of virtual routers to be monitored based on the current priority of the master virtual router and the current priority of the backup 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 an abnormal network port existing in the second class network port of the main virtual router and the second class network port 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 network port 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 class network ports of the main virtual router and the second class 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 network port of the main virtual router is monitored 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, the specific implementation process of the steps executed by each unit in this embodiment may refer to the implementation process in the virtual router determination method provided in the embodiment corresponding to fig. 1 to 3, which is not described herein again.
According to the virtual router determining device provided by the embodiment of the application, the target main virtual router can be determined according to the running states of the multiple network ports of each virtual router to be monitored, and the network ports used for transmitting data information are considered when the target main virtual router is determined, so that the problem of single network port of the virtual router monitored in the related technology is solved, and the continuity and reliability of the data information transmission of the virtual router are improved.
Based on the foregoing embodiments, embodiments of the present application provide a virtual router determination apparatus, which may be applied to the virtual router determination methods provided in the corresponding embodiments of fig. 1 to 3, and referring to fig. 10, the apparatus 5 may include: a processor 51, a memory 52 and a communication bus 53;
a communication bus 53 for enabling communication connection between the processor 51 and the memory 52;
the processor 51 is configured to execute a 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 type network port used for sending configuration information and a second type network port used 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 a plurality of network ports;
data is transmitted through the target primary virtual router.
In other embodiments of the present application, the processor 51 is configured to execute the operation states of the plurality of interfaces of each of the plurality of virtual routers to be monitored in the virtual router determination program stored in the memory 52, so as to implement the following steps:
Determining a network port list to be monitored; the network port list to be monitored comprises identifiers of a plurality of virtual routers to be monitored and identifiers of a plurality of network ports of each virtual router;
monitoring a 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 the running state of the virtual router determining program stored in the memory 52, where the running state is based on a plurality of ports, and determine the target host virtual router from a plurality of virtual routers to be monitored, so as to implement the following steps:
under the condition that the running states of the first type network ports of the main virtual router in the plurality of virtual routers to be monitored are abnormal, determining the main virtual router as a target main virtual router;
and under the condition that the running state of the second type network port 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 plurality of 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 the current priority of the primary virtual router, and determine the target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router, so as to implement the following steps:
Determining the current priority of the master virtual router as a target priority; the target priority is lower than the priority of a standby virtual router except a main virtual router in the plurality of virtual routers to be monitored;
and determining a target master virtual router from the standby virtual routers except the master 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 the target priority based virtual router determining program stored in the memory 52 to determine a target primary virtual router from the backup virtual routers other than the primary virtual router among the plurality of virtual routers to be monitored, so as to implement the following steps:
determining abnormal time of a second type network port of the main virtual router;
and determining a target master virtual router from the slave 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 the current priority of the primary virtual router, and determine the target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router, so as to implement the following steps:
Determining the current priority of the main virtual router and the current priority of the standby virtual router;
the target master virtual router is determined from the plurality of virtual routers to be monitored based on the current priority of the master virtual router and the current priority of the backup virtual router.
In other embodiments of the present application, the processor 51 is configured to execute a virtual router determination program stored in the memory 52 to determine a current priority of the primary virtual router and a current priority of the backup 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 an abnormal network port existing in the second class network port of the main virtual router and the second class network port 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 network port 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 port exists in the second class port of the main virtual router and in the second class 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 class network ports of the main virtual router and the second class 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 the current priority of the primary virtual router, and determine the target primary virtual router from the plurality of virtual routers to be monitored based on the current priority of the primary virtual router, so as to implement the following steps:
and under the condition that the running state of the second type network port of the main virtual router is monitored 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 specific implementation process of the steps executed by the processor in this embodiment, the implementation process in the virtual router determination method provided in the corresponding embodiment of fig. 1 to 3 may be referred to, and will not be described herein again.
According to the virtual router determining device provided by the embodiment of the application, the target main virtual router can be determined according to the running states of the multiple network ports of each virtual router to be monitored, and the network ports used for transmitting data information are considered when the target main virtual router is determined, so that the problem of single network port of the virtual router monitored in the related technology is solved, and the continuity and reliability of the data information transmission of the virtual router are improved.
Based on the foregoing embodiments, the present embodiments provide a computer-readable storage medium storing one or more programs executable by one or more processors to implement steps in the virtual router determination method provided by the corresponding embodiments of fig. 1 to 3.
The computer readable storage medium may be a Read Only Memory (ROM), a programmable Read Only Memory (Programmable Read-Only Memory, PROM), an erasable programmable Read Only Memory (Erasable Programmable Read-Only Memory, EPROM), an electrically erasable programmable Read Only Memory (Electrically Erasable Programmable Read-Only Memory, EEPROM), a magnetic random access Memory (Ferromagnetic Random Access Memory, FRAM), a Flash Memory (Flash Memory), a magnetic surface Memory, an optical disk, or a compact disk Read Only Memory (Compact Disc Read-Only Memory, CD-ROM), or the like; but may be various electronic devices such as mobile phones, computers, tablet devices, personal digital assistants, etc., that include 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 one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.
The foregoing embodiment numbers of the present application are merely for describing, and do not represent advantages or disadvantages of the embodiments.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment method may be implemented by means of software plus a necessary general hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk), comprising several instructions for causing a terminal device (which may be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to perform 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 flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
The foregoing description is only of the preferred embodiments of the present application, and is not intended to limit the scope of the claims, and all equivalent structures or equivalent processes using the descriptions and drawings of the present application, or direct or indirect application in other related technical fields are included in the scope of the claims of the present application.

Claims (10)

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 used for sending configuration information and a second network port used 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 network ports;
transmitting the data through the target master virtual router;
the determining, based on the running states of the network ports, a target master virtual router from the plurality of virtual routers to be monitored includes:
determining that a main virtual router is the target main virtual router under the condition that the running state of a first type network port of the main 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 network port of the master virtual router is abnormal, determining the current priority of the master virtual router, and determining the target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router.
2. The method of claim 1, wherein determining the operational status of the plurality of portals of each of the plurality of virtual routers to be monitored comprises:
determining a network port list to be monitored; the network port list to be monitored comprises identifiers of the plurality of virtual routers to be monitored and identifiers of a plurality of network ports of each virtual router;
monitoring the network ports based on the identifiers of the virtual routers to be monitored and the identifiers of the network ports to obtain the running states of the network ports.
3. The method of claim 1, wherein the 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 master 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 the standby virtual routers except the main virtual router in the plurality of virtual routers to be monitored based on the target priority.
4. The method of claim 3, wherein the determining the target primary virtual router from among the backup virtual routers other than the primary virtual router among the plurality of virtual routers to be monitored based on the target priority comprises:
determining abnormal time of the second type network port of the master virtual router;
and determining the target main virtual router from the standby virtual routers based on the target priority and the abnormal time.
5. The method of claim 1, wherein the 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 master virtual router and the current priority of the standby virtual router;
and determining the target master virtual router from the plurality of virtual routers to be monitored based on the current priority of the master virtual router and the current priority of the standby virtual router.
6. The method of claim 5, wherein the determining the current priority of the primary virtual router and the current priority of the backup virtual router comprises:
Determining the initial priority of the master virtual router and the initial priority of the standby virtual router;
determining the abnormal attribute of an abnormal network port existing in the second class network port of the main virtual router and the second class network port of the standby virtual router;
determining 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 network port corresponding to the master 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 network port corresponding to the standby virtual router.
7. The method of claim 6, wherein determining that an abnormal attribute of an abnormal port exists in the second class port of the primary virtual router and in the second class port of the backup virtual router comprises:
and determining the weight of the abnormal network ports and the number of the abnormal network ports in the second class network ports of the main virtual router and the second class network ports of the standby virtual router.
8. A method according to claim 3, characterized in that the method further comprises:
And under the condition that the running state of the second type network port of the master virtual router is monitored to be normal, setting the current priority of the master virtual router as the initial priority of the master virtual router.
9. 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 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 8.
10. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the virtual router determination method of any of claims 1-8.
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 CN115086219A (en) 2022-09-20
CN115086219B true 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 (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106572047A (en) * 2015-10-09 2017-04-19 东软集团股份有限公司 Physical network safety device and control method thereof
CN106797351A (en) * 2014-07-21 2017-05-31 大交换机网络股份有限公司 Use the system and method for controller execution logic forwarded
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

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP3956685B2 (en) * 2001-05-31 2007-08-08 古河電気工業株式会社 Network connection method, virtual network connection device, and network connection system using the device
US8776050B2 (en) * 2003-08-20 2014-07-08 Oracle International Corporation Distributed virtual machine monitor for managing multiple virtual resources across multiple physical nodes
US7936666B2 (en) * 2007-11-20 2011-05-03 Foundry Networks, Llc Virtual router with a priority value per port
US9537756B2 (en) * 2013-06-10 2017-01-03 Check Point Software Technologies Ltd Method for synchronized BGP and VRRP failover of a network device in a network
US11283907B2 (en) * 2015-08-31 2022-03-22 Red Hat, Inc. Determining state of virtual router instance
CN105337858B (en) * 2015-11-20 2019-10-18 北京百度网讯科技有限公司 Virtual router cluster, data forwarding method and device
US11121946B2 (en) * 2016-12-09 2021-09-14 Nicira, Inc. Capturing packets in a virtual switch

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106797351A (en) * 2014-07-21 2017-05-31 大交换机网络股份有限公司 Use the system and method for controller execution logic forwarded
CN106572047A (en) * 2015-10-09 2017-04-19 东软集团股份有限公司 Physical network safety device and control method thereof
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
VRRP路由协议介绍及配置;王轶群;;赤峰学院学报(自然科学版)(06);全文 *
基于能耗的虚拟路由器转发实例动态迁移机制研究;李同标;张晓哲;高先明;邓文平;马世聪;;计算机应用与软件(08);全文 *

Also Published As

Publication number Publication date
CN115086219A (en) 2022-09-20

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
CN109344014B (en) Main/standby switching method and device and communication equipment
EP1697843B1 (en) System and method for managing protocol network failures in a cluster system
US9898377B2 (en) Switch provided failover
EP3316555B1 (en) Mac address synchronization method, device and system
CN103763121A (en) Method and device for quickly issuing network configuration information
US11398976B2 (en) Method, device, and system for implementing MUX machine
CN111835685B (en) Method and server for monitoring running state of Nginx network isolation space
CN107948063B (en) Method for establishing aggregation link and access equipment
US11258666B2 (en) Method, device, and system for implementing MUX machine
CN109889411B (en) Data transmission method and device
CN110535947B (en) Storage device cluster configuration node switching method, device and equipment
CN107453888B (en) High-availability virtual machine cluster management method and device
CN112737844A (en) Method and device for switching between main and standby in redundant system
RU2693903C1 (en) Method, apparatus and processing system for expanded port
CN115086219B (en) Virtual router determining method, device and computer readable storage medium
CN110324202B (en) Method and device for detecting line quality
KR20210119162A (en) Vehicle and controlling method of vehicle
CN115665035A (en) Information processing method and device, first node and storage medium
CN115152192B (en) PCE controlled network reliability
CN111835544B (en) Monitoring method and system of virtual router based on user mode protocol stack
EP3627766B1 (en) Method and system for switching between active bng and standby bng
US20170048128A1 (en) Locating traffic origin in a network
CN111934909A (en) Method and device for switching IP (Internet protocol) resources of host and standby machine, computer equipment 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