CN112312497B - Method and device for rapidly switching services - Google Patents

Method and device for rapidly switching services Download PDF

Info

Publication number
CN112312497B
CN112312497B CN202011147286.8A CN202011147286A CN112312497B CN 112312497 B CN112312497 B CN 112312497B CN 202011147286 A CN202011147286 A CN 202011147286A CN 112312497 B CN112312497 B CN 112312497B
Authority
CN
China
Prior art keywords
port
linkage
uplink
switch
determining
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
CN202011147286.8A
Other languages
Chinese (zh)
Other versions
CN112312497A (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.)
New H3C Security Technologies Co Ltd
Original Assignee
New H3C Security 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 New H3C Security Technologies Co Ltd filed Critical New H3C Security Technologies Co Ltd
Priority to CN202011147286.8A priority Critical patent/CN112312497B/en
Publication of CN112312497A publication Critical patent/CN112312497A/en
Application granted granted Critical
Publication of CN112312497B publication Critical patent/CN112312497B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/0005Control or signalling for completing the hand-off
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W36/00Hand-off or reselection arrangements
    • H04W36/24Reselection being triggered by specific parameters
    • H04W36/30Reselection being triggered by specific parameters by measured or perceived connection quality data
    • H04W36/305Handover due to radio link failure

Abstract

The application provides a method and a device for rapidly switching services. The service fast switching method is used for an access switch connected with an access point device in a wireless network. The method comprises the following steps: the access switch determining that each uplink connected to the core switch failed; the access switch identifies a linked downlink port of a failed uplink; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment; the access switch sets the linkage downlink port to be closed down, and stops Ethernet power supply through the linkage downlink port, so that users accessed by the wireless access point equipment connected with the linkage downlink port are switched to other wireless access points.

Description

Method and device for rapidly switching services
Technical Field
The present application relates to communication technology, and in particular, to a method and an apparatus for fast service switching
Background
With the development of network technology, more and more networks are deployed in a wireless manner, a PoE (Power over Ethernet) type switch is generally used in an Access layer to connect to an Access Point (AP), a PoE function is started by a switch port to directly supply Power to the AP, but when an upstream link to an internet network or a network fails to Access the internet, a downstream AP cannot quickly sense the failure, and a user establishing wireless connection with the AP still acquires a strong Wi-fi (wireless fidelity) signal but cannot Access the network, so that the user terminal cannot be quickly switched to other effective APs to Access the network, and therefore, the solution of the problem becomes very important.
In one of the conventional wireless networking scenarios shown in fig. 1, a core switch is connected to a DHCP (Dynamic Host Configuration Protocol) server (not shown) and a wireless AC (Access Controller) device (not shown).
The user can dynamically apply for an IP address to access an IP network by adopting a wireless DHCP. All access switches adopt the same gateway IP address configuration, and appoint the same three-layer gateway MAC address, start ARP/ND local proxy function. When roaming, the gateway IP address and the local IP address are not changed, and the user does not sense the roaming. The access switch guarantees network communication through double uplinks, and when the uplinks of the access switch and one aggregation switch fail to reach the core switch, the AP can still reach the core switch through the uplinks of the access switch and the other aggregation switch to perform communication. However, when both uplinks of the access switch fail, the downstream AP cannot quickly sense, and the user who establishes wireless connection with the AP still acquires a strong Wi-Fi signal but cannot access the network, so that the user terminal cannot quickly switch to another effective AP to access the network.
Although the AP periodically sends Echo request messages to the AC, if the AP does not receive Echo response messages replied by the AC within a certain time, the AP cuts off the control tunnel; and if the AC does not receive the Echo request message from the AP within a certain time, the AC disconnects the control tunnel. However, the time for detecting the link failure by the keep-alive mechanism is in the order of seconds, and the requirement of the user for the imperceptible fast switching cannot be met.
Disclosure of Invention
The application aims to provide a method and a device for rapidly switching services, which are used for stopping power supply for a linkage downlink AP of a failed dual uplink and switching a user needing to access a core switch through the failed dual uplink to other APs.
In order to achieve the above object, the present application provides a method for fast service switching, including: the access switch determining that each uplink connected to the core switch failed; the access switch identifies a linked downlink port of a failed uplink; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment; and the access switch sets the linkage downlink port to be closed down and stops the Ethernet power supply through the linkage downlink port so as to switch the user accessed by the wireless access point equipment connected with the linkage downlink port to other wireless access points.
In order to achieve the above object, the present application further provides a device for fast switching services, including: a link monitoring module to determine that each uplink connected to the core switch is down; the linkage port identification module is used for identifying a linkage downlink port and respectively informing the linkage port control module and the Ethernet power supply module of the identified linkage downlink port; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment; the linkage port control module is used for setting the linkage downlink port to be closed, and the Ethernet power supply module is used for stopping Ethernet power supply through the linkage downlink port so as to switch users accessed by the wireless access point equipment connected with the linkage downlink port to other wireless access points.
The access switch applying the method and the device has the advantages that after all faults of the uplink connected with the core switch are detected, the Ethernet power supply of the AP which needs to be accessed to the core switch through the fault uplink is closed, linkage of the uplink and the downlink is realized on the access switch, and a user can be quickly switched to other APs from the AP without receiving wireless signals any more.
Drawings
FIG. 1 is a diagram illustrating a wireless networking architecture;
fig. 2 is a flowchart illustrating an embodiment of a method for fast service switching according to the present application;
fig. 3 is a flowchart illustrating another embodiment of a method for fast service handover provided by the present application;
fig. 4 is a schematic diagram illustrating an embodiment of a fast service switching apparatus according to the present application.
Detailed Description
A detailed description will be given of a number of examples shown in a number of figures. In the following detailed description, numerous specific details are set forth in order to provide a thorough understanding of the present application. Well-known methods, procedures, components and circuits have not been described in detail so as not to obscure the examples.
The term "including" as that term is used is meant to include, but is not limited to; the term "comprising" means including but not limited to; the terms "above," "within," and "below" include the instant numbers; the terms "greater than" and "less than" mean that the number is not included. The term "based on" means based on at least a portion thereof.
Fig. 2 shows that the embodiment of the service fast switching method provided by the present application can be applied to an access switch of the wireless network shown in fig. 1; the method comprises the following steps:
step 201, determining that each uplink connected to a core switch is failed;
in the network architecture shown in fig. 1, an access switch detects that physical ports of two uplinks connected to a convergence switch are both in an open (up) state, and sends a bidirectional forwarding detection BFD packet to a core switch through each uplink in each BFD detection period. And when the access switch does not receive BFD response messages from the core switch on two uplink links in any BFD detection period, determining that all the uplink links are in fault according to the generated BFD detection fault (down) event.
Or in the network architecture shown in fig. 1, the access switch reads the state of the physical port of each uplink connection; and when the access switch reads that the states of the physical ports of the uplinks are faults (down), generating a port fault (down) event, and determining that all the uplinks are in fault according to the generated port fault event.
Step 202, identifying a linkage downlink port of a fault uplink; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment.
And step 203, setting the linkage downlink port to be closed.
And step 204, stopping power over Ethernet through the linkage downlink port.
The access switch applying the method and the device has the advantages that after all faults of the uplink connected with the core switch are detected, the Ethernet power supply of the AP which needs to be accessed to the core switch through the fault uplink is closed, linkage of the uplink and the downlink is realized on the access switch, and a user can be quickly switched to other APs from the AP without receiving wireless signals any more.
Fig. 3 is a flowchart illustrating another embodiment of a method for fast service handover provided by the present application;
in step 301, the recovery of at least one of the uplinks is determined.
In the network architecture shown in fig. 1, the access switch reads that one of the failed physical ports is restored to a normal (UP) state, generates a port normal (UP) event, and starts the restoration processing of the linked downlink port.
Or, in the network architecture shown in fig. 1, when the access switch detects that the physical ports of the two uplinks connected to the aggregation switch are both in an open (UP) state or one of the two uplinks is in an UP state, the access switch sends a BFD message through the uplink connected to the UP-state physical port and receives a BFD response message from the core switch in any BFD detection period, and then starts the recovery processing of the linked downlink port according to the generated BFD detection normal (UP) event.
Step 302, the interlocked downstream port of the recovered uplink is identified.
Step 303, the linked downlink port is set to open.
Step 304, judging whether to delay power supply to the linkage downlink port; if yes, go to step 305; if not, go to step 306.
And 305, after waiting for a preset delay power supply time, performing power over ethernet on the linkage downlink port.
And step 306, immediately supplying power to the linkage downlink port.
Fig. 4 is a schematic diagram of an embodiment of a fast service switching apparatus 400 provided in the present application, where the apparatus 400 may be used in an access switch in the wireless networking in fig. 1. The apparatus 400 comprises: the device comprises a link monitoring module 401, a linkage port identification module 402, a linkage port control module 403, a power over ethernet module 404, a BFD module 405 and a port detection module 406.
A link monitoring module 401 for determining that each uplink connected to the core switch has failed; a linkage port identification module 402, configured to identify a linkage downlink port, and notify the identified linkage downlink port to the linkage port control module and the ethernet power supply module, respectively; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment; a linkage port control module 403, configured to set the linkage downstream port to be closed; an ethernet power supply module 404, configured to stop ethernet power supply through the linked downlink port, so that a user accessed by a wireless access point device connected to the linked downlink port is switched to another wireless access pointDevice
A link monitoring module 401, further configured to recover at least one uplink; a linkage port identification module 402, configured to identify a linkage downlink port of the recovered uplink, and notify the linkage downlink port to the linkage port control module and the ethernet power supply module, respectively; the linkage port control module 403 is further configured to set the linkage downlink port to be opened; the ethernet power supply module 404 is further configured to determine whether to delay power supply to the linked downlink port; if yes, carrying out Ethernet power supply on the linkage downlink port after waiting for preset power supply delay time; and if not, immediately supplying power to the linkage downlink port.
A BFD detection module 405, configured to send a bidirectional forwarding detection BFD packet to the core switch through each uplink in each detection period; determining each uplink notification link monitoring module which does not receive the BFD response message from the core switch in the current period; and receiving the BFD response message from the core switch through one of the uplinks in another detection period, and notifying the link monitoring module of the one of the uplinks receiving the BFD response message. A link monitoring module 401, configured to determine that each uplink has a failure in the current period according to that each uplink does not receive a BFD response packet in the current period; and determining at least one uplink recovery according to the uplink of the BFD response message received in the other detection period.
A port detection module 406, configured to detect a physical port failure of each uplink connection; and detecting that the physical port of one of the uplink connections is back open. A link monitoring module 401, further configured to determine that each uplink has a failure due to a failure of a physical port of each uplink connection; and determining at least one of the uplink connection restoration according to the detected physical port opened for restoration.
A linkage port identification module 402, configured to determine a port index according to a port identifier of a physical port connected to any failed uplink; searching in the linkage port relation according to the determined port index; determining a linkage downlink port according to the searched linkage port index; determining a port index according to the port identification of the recovered physical port connected with the uplink; searching in the linkage port relation according to the determined port index; and determining a linkage downlink port according to the searched linkage port index.
The present invention is not intended to be limited to the particular embodiments shown and described, but is to be accorded the widest scope consistent with the principles and novel features herein disclosed.

Claims (10)

1. A method for fast switching service, the method comprising:
the access switch determining that each uplink connected to the core switch failed;
the access switch identifies a linked downlink port of a failed uplink; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment;
and the access switch sets the linkage downlink port to be closed down and stops the Ethernet power supply through the linkage downlink port so as to switch the user accessed by the wireless access point equipment connected with the linkage downlink port to other wireless access point equipment.
2. The method of claim 1, further comprising:
the access switch determining a restoration of at least one of the uplinks;
the access switch identifies the linkage downlink port of the recovered uplink and sets the linkage downlink port to be open;
the access switch judges whether to delay power supply to the linkage downlink port;
if so, the access switch performs Ethernet power supply on the linkage downlink port after waiting for a preset delay power supply time;
and if not, the access switch immediately supplies power to the linkage downlink port.
3. The method according to claim 1 or 2,
the access switch determining that each uplink connected to a core switch failed comprises: the access switch sends Bidirectional Forwarding Detection (BFD) messages to a core switch through each uplink link in each detection period; determining that each uplink which does not receive a BFD response message from the core switch in the current period has a fault;
the access switch determining that the restoration of at least one of the uplinks comprises: and the access switch receives the BFD response message from the core switch through one uplink in another detection period, and determines that one uplink in the received BFD response message is recovered.
4. The method according to claim 1 or 2,
the access switch determining that each uplink connected to a core switch failed comprises: the access switch detecting a physical port failure for each of the uplink connections;
the access switch determining at least one of the uplinks connected to the core switch to resume refers to: the access switch detects a physical port restoration of one of the uplink connections.
5. The method of claim 1, wherein the access switch identifying the ganged downstream port of the failed uplink comprises: determining a port index according to the port identification of the physical port connected with each fault uplink; searching in the linkage port relation according to the determined port index; determining the linkage downlink port according to the searched linkage port index;
the access switch identifying the interlocked downstream port of the recovered uplink comprises: determining a port index according to the port identification of the recovered physical port connected with the uplink; searching in the linkage port relation according to the determined port index; and determining the linkage downlink port according to the searched linkage port index.
6. A fast service switching device, characterized in that, an access device is applied, the device includes:
a link monitoring module to determine that each uplink connected to the core switch is down;
the linkage port identification module is used for identifying a linkage downlink port and respectively informing the linkage port control module and the Ethernet power supply module of the identified linkage downlink port; the linkage downlink port is an Ethernet power supply port connected with the wireless access point equipment;
the linkage port control module is used for setting the linkage downlink port to be closed;
and the Ethernet power supply module is used for stopping Ethernet power supply through the linkage downlink port so as to switch a user accessed by the wireless access point equipment connected with the linkage downlink port to other wireless access point equipment.
7. The apparatus of claim 6,
the link monitoring module is further configured to determine recovery of at least one of the uplinks;
the linkage port identification module is further configured to identify the linkage downlink port of the recovered uplink, and notify the linkage downlink port to the linkage port control module and the ethernet power supply module, respectively;
the linkage port control module is also used for setting the linkage downlink port to be opened;
the Ethernet power supply module is also used for judging whether the linkage downlink port is delayed to supply power; if yes, carrying out Ethernet power supply on the linkage downlink port after waiting for preset delay power supply time; and if not, immediately supplying power to the linkage downlink port.
8. The apparatus of claim 6 or 7, further comprising:
the BFD detection module is used for sending bidirectional forwarding detection BFD messages to the core switch through each uplink link in each detection period; determining that each uplink notification of the BFD response packet from the core switch is not received in the current period to notify the link monitoring module; and receiving a BFD response message from the core switch through one of the uplinks in another detection period, and notifying one of the uplinks receiving the BFD response message to the link monitoring module;
the link monitoring module is used for determining that each uplink fails in the current period according to the fact that each uplink does not receive the BFD response message in the current period; and determining at least one of the uplinks to be recovered according to the uplink of the received BFD response message in the other detection period.
9. The apparatus of claim 6 or 7, further comprising:
a port detection module for detecting a physical port failure of each of the uplink connections; and detecting that a physical port of one of the uplink connections is back open;
the link monitoring module is further configured to determine that each uplink has a failure due to a failure of a physical port of each uplink connection; and determining at least one of the uplink connection restoration according to the detected physical port opened for restoration.
10. The apparatus of claim 6,
the linkage port identification module is used for determining a port index according to the port identification of the physical port connected with any fault uplink; searching in the linkage port relation according to the determined port index; determining the linkage downlink port according to the searched linkage port index; determining a port index according to the port identification of the recovered physical port connected with the uplink; searching the linkage port relation according to the determined port index; and determining the linkage downlink port according to the searched linkage port index.
CN202011147286.8A 2020-10-23 2020-10-23 Method and device for rapidly switching services Active CN112312497B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011147286.8A CN112312497B (en) 2020-10-23 2020-10-23 Method and device for rapidly switching services

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011147286.8A CN112312497B (en) 2020-10-23 2020-10-23 Method and device for rapidly switching services

Publications (2)

Publication Number Publication Date
CN112312497A CN112312497A (en) 2021-02-02
CN112312497B true CN112312497B (en) 2022-02-22

Family

ID=74327464

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011147286.8A Active CN112312497B (en) 2020-10-23 2020-10-23 Method and device for rapidly switching services

Country Status (1)

Country Link
CN (1) CN112312497B (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826983A (en) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 Dual-homing protection switching method, device and system
CN105450519A (en) * 2015-11-11 2016-03-30 中国联合网络通信集团有限公司 Message sending method and core switch
CN105450422A (en) * 2015-12-02 2016-03-30 杭州敦崇科技股份有限公司 Wireless access point fault remote automatic recovery system based on access controller and POE switch
CN106789110A (en) * 2016-12-20 2017-05-31 深圳市菲菱科思通信技术股份有限公司 A kind of long-range PoE controls and fault recovery method and system based on cloud method

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8868946B2 (en) * 2010-09-08 2014-10-21 Texas Instruments Incorporated Maintaining power to a powered device during a low power mode of the powered device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101826983A (en) * 2010-04-02 2010-09-08 中兴通讯股份有限公司 Dual-homing protection switching method, device and system
CN105450519A (en) * 2015-11-11 2016-03-30 中国联合网络通信集团有限公司 Message sending method and core switch
CN105450422A (en) * 2015-12-02 2016-03-30 杭州敦崇科技股份有限公司 Wireless access point fault remote automatic recovery system based on access controller and POE switch
CN106789110A (en) * 2016-12-20 2017-05-31 深圳市菲菱科思通信技术股份有限公司 A kind of long-range PoE controls and fault recovery method and system based on cloud method

Also Published As

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

Similar Documents

Publication Publication Date Title
KR101591102B1 (en) Method for router of virtual router redundancy protocol and communication system therefor
US7924702B2 (en) Method for reconfiguring a communication network
EP2733979B1 (en) Method and apparatus for controlling switching of active/standby pseudo wires
US8593944B2 (en) Method, apparatus and communication system for protecting signaling transmission
US10567216B2 (en) Fault detection method, gateway, user equipment, and communications system
CN100553213C (en) A kind of method and apparatus of WLAN abnormal quick restoring
WO2011157145A2 (en) Main/backup switching method between communication device, communication device, system and service request device
WO2007073649A1 (en) A method and system for obtaining path maximum transfer unit in network
US20140143413A1 (en) Method, local gateway, and system for local voice survivability
WO2017143968A1 (en) Basic service set identifier (bssid) updating
CN101729426A (en) Method and system for quickly switching between master device and standby device of virtual router redundancy protocol (VRRP)
WO2010000158A1 (en) Route state detection method, device and system
WO2011157146A2 (en) Main/backup switching method between communication devices, communication device, system and service request device
WO2011094971A1 (en) Method and equipment for preventing repeated refreshing of ethernet ring node address table
CN113645312A (en) Method and device for protecting sub-ring network link based on ERPS protocol
CN112312497B (en) Method and device for rapidly switching services
CN107872822B (en) Service bearing method and device
CN108337118B (en) Message forwarding method and device
CN112714060B (en) Link detection method and device
WO2014090194A1 (en) Dialing method of terminal device, and access device
CN103684831A (en) Method, device and system for protecting L2TP network
CN112231154A (en) Dual-computer hot standby switching method and device
KR102402355B1 (en) Method of Service Recovery Upon Occurrence of a Failure on a Data Packet Processing Device
WO2020124576A1 (en) Notification method for system information, base station device, and computer storage device
CN115529221B (en) Method and device for fast switching between wired network and cellular network

Legal Events

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