CN114531414A - Terminal migration acceleration method and device - Google Patents

Terminal migration acceleration method and device Download PDF

Info

Publication number
CN114531414A
CN114531414A CN202210016592.0A CN202210016592A CN114531414A CN 114531414 A CN114531414 A CN 114531414A CN 202210016592 A CN202210016592 A CN 202210016592A CN 114531414 A CN114531414 A CN 114531414A
Authority
CN
China
Prior art keywords
terminal
mac
arp
authentication module
address
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.)
Pending
Application number
CN202210016592.0A
Other languages
Chinese (zh)
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.)
Ruijie Networks Co Ltd
Original Assignee
Ruijie Networks 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 Ruijie Networks Co Ltd filed Critical Ruijie Networks Co Ltd
Priority to CN202210016592.0A priority Critical patent/CN114531414A/en
Publication of CN114531414A publication Critical patent/CN114531414A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L61/00Network arrangements, protocols or services for addressing or naming
    • H04L61/09Mapping addresses
    • H04L61/10Mapping addresses of different types
    • H04L61/103Mapping addresses of different types across network layers, e.g. resolution of network layer into physical layer addresses or address resolution protocol [ARP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L63/00Network architectures or network communication protocols for network security
    • H04L63/08Network architectures or network communication protocols for network security for authentication of entities
    • H04L63/0876Network architectures or network communication protocols for network security for authentication of entities based on the identity of the terminal or configuration, e.g. MAC address, hardware or software configuration or device fingerprint

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Power Engineering (AREA)
  • Computer Hardware Design (AREA)
  • Computer Security & Cryptography (AREA)
  • Computing Systems (AREA)
  • General Engineering & Computer Science (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method and a device for accelerating terminal migration, wherein the method is applied to a switching device and comprises the following steps: after the Media Access Control (MAC) authentication when the terminal accesses the switching equipment for the first time passes, storing an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal into a chip as a global user table entry; and the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table items. The embodiment of the invention can solve the problem of overlong current breaking time caused by overlong terminal migration time in the prior art.

Description

Terminal migration acceleration method and device
Technical Field
The present invention relates to the field of data communications, and in particular, to a method and an apparatus for accelerating terminal migration.
Background
Media Access Control (MAC) address authentication is used in a terminal Access scenario, a network can be accessed only after the terminal performs MAC address authentication, a user table entry including an Internet Protocol (IP) address of the terminal, an MAC and PORT information of an Access PORT is set in a hardware chip of a switching device after the authentication is passed, only a terminal user conforming to the user table entry information is allowed to Access the network, and the traffic of the user can be released in the switching device, otherwise the traffic is not passed.
When the MAC authentication of the terminal passes, the interface of the switching equipment accessed by the terminal changes or the terminal is accessed to new switching equipment again, and the interface of the switching equipment accessed by the terminal or the change of the new switching equipment accessed by the terminal is collectively called terminal migration; especially in the case of a downlink wireless WIFI network, terminal migration occurs frequently as the user moves continuously.
The terminal can cut off the flow during the migration, and the user wants the cut-off time to be as short as possible so as to meet the non-stop flow requirement in the frequent migration scene. Therefore, how to increase the migration speed to the maximum and reduce the flow-off time becomes a problem to be solved urgently.
Disclosure of Invention
The embodiment of the invention provides a method and a device for accelerating terminal migration, which are used for solving the problem of overlong current breaking time caused by overlong terminal migration time in the prior art.
According to an embodiment of the present invention, a method for accelerating terminal migration is provided, where the method is applied to a switching device, and includes:
after the Media Access Control (MAC) authentication when the terminal accesses the switching equipment for the first time passes, storing an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal into a chip as a global user table entry; and
and the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table items.
Optionally, the MAC authentication of the terminal includes:
after learning the MAC address of the terminal, the chip sends a quick MAC address notice to an MAC authentication module of the switching equipment;
the MAC authentication module initiates MAC authentication.
Optionally, the method further comprises:
when the PORT of the terminal changes, the MAC violation event of the chip is triggered to send a migration notice to the MAC authentication module of the switching equipment;
and the MAC authentication module sends an ARP detection message to the terminal to learn ARP table items after receiving the migration notice.
Optionally, the sending, by the MAC authentication module, an ARP detection packet to the terminal to learn an ARP entry includes:
the MAC authentication module sends an ARP detection message to the terminal;
and receiving an ARP response message returned by the terminal according to the ARP detection message to learn the ARP table items.
An embodiment of the present invention further provides an acceleration apparatus for terminal migration, where the apparatus is applied to a switching device, and includes: the system comprises a global user table generation module and an MAC authentication module; wherein,
the global user table generation module is used for storing an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal into a chip as global user tables after the MAC authentication when the terminal is accessed into the switching equipment for the first time is passed;
and the MAC authentication module is used for sending an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table entries after the MAC authentication when the terminal is accessed into the switching equipment for the first time passes.
Optionally, the apparatus further comprises: the first sending module is used for sending a quick MAC address notice to the MAC authentication module of the switching equipment after the chip learns the MAC address of the terminal;
the MAC authentication module is further configured to initiate MAC authentication after receiving the fast MAC address advertisement.
Optionally, the apparatus further comprises: a triggering module, configured to trigger the MAC violation event of the chip to send a migration notification to the MAC authentication module of the switching device when the PORT of the terminal changes;
and the MAC authentication module is also used for sending an ARP detection message to the terminal to learn ARP table items after receiving the migration notice.
Optionally, the MAC authentication module is configured to send an ARP detection packet to the terminal to learn an ARP entry, and is specifically configured to: sending an ARP detection message to the terminal; and receiving an ARP response message returned by the terminal according to the ARP detection message to learn the ARP table entries.
According to the embodiment of the invention, the electronic equipment comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory complete mutual communication through the communication bus;
a memory for storing a computer program;
a processor for implementing the above method steps when executing the program stored in the memory.
According to an embodiment of the present invention, there is also provided a computer-readable storage medium having stored therein a computer program, which when executed by a processor, performs the above-mentioned method steps.
The invention has the following beneficial effects:
according to the method and the device for accelerating the terminal migration, provided by the embodiment of the invention, after the MAC authentication when the terminal is accessed into the switching equipment for the first time is passed, the Internet protocol address (IP) and the media access control address (MAC) of the terminal are stored into a chip as a global user table entry; and the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table items. When the terminal accesses the network, the correct forwarding of the message does not depend on the PORT information of the access PORT, therefore, when the terminal accesses the switching equipment for the first time, the switching equipment only stores IP and MAC as the information of the global user table entry into the chip, and only needs to match the global user table entry when the message is forwarded subsequently, so when the terminal migrates in the same switching equipment, because the global user table entry does not store PORT information, the adding and deleting operation of the table entry of the hardware chip is avoided, and the migration time is reduced; and when the switching equipment determines that a new terminal is accessed, after the MAC address authentication of the terminal is passed, the switching equipment actively sends the ARP detection message to the terminal to learn the ARP table entry.
Drawings
Fig. 1 is a flowchart of an acceleration method for terminal migration according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of an acceleration apparatus for terminal migration in an embodiment of the present invention;
fig. 3 is a schematic structural diagram of an electronic device shown in the present application.
Detailed Description
Generally, device migration includes two situations, i.e., intra-device migration and inter-device migration, and the specific process is as follows:
1. migration in the equipment: the switching equipment accessed by the terminal is not changed, only the interface of the accessed switching equipment is changed, at the moment, the accessed switching equipment firstly kicks the original online user off the line and simultaneously deletes the user table items in the chip, then newly adds the user table items on the line again, and updates an MAC (media access control) table and an Address Resolution Protocol (ARP) table.
2. Migration between devices: when the switching equipment accessed by the terminal changes, the new switching equipment firstly learns the MAC address, then adds a new user table entry after passing the MAC authentication, and updates the new user table entry to the MAC table and the ARP table.
No matter the migration in the device or the migration between devices, the normal forwarding of the message for starting the MAC authentication needs to rely on an MAC Address table and an Address Resolution Protocol (ARP) table in addition to the user table entry of the hardware chip, and the establishment duration of the table entries also affects the flow break time after the migration, so that the problem of the flow break time process caused by the overlong terminal migration process time in the prior art can be improved by accelerating the establishment of various forwarding table entries after the migration; the embodiment of the present invention provides a method for accelerating terminal migration, which is applied to a switching device, and the method implements a fast establishment of a forwarding table entry by setting a user table entry as a global user table entry, and when the switching device determines that a new terminal is added, actively initiating learning of an ARP table entry, instead of passively waiting for initiation of the terminal, as shown in fig. 1, and the specific process includes the following steps:
step 101, after the MAC authentication when the terminal accesses the switching device for the first time passes, storing an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal into a chip as a global user table entry;
specifically, when the switching device forwards the user, the switching device does not rely on PORT information, therefore, in the embodiment of the invention, the switching device only stores IP and MAC of the terminal as information of a global user table entry into the chip, and subsequently, when forwarding the message, the message forwarding can also be completed by only matching the IP and MAC in the global user table entry.
And step 102, the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table entries.
After the MAC address of the terminal passes the authentication, the MAC authentication module actively sends an ARP detection message to the terminal to learn the ARP table items.
It should be understood that step 101 and step 102 do not have a strict sequential execution order, and may be executed in parallel.
The MAC authentication of the terminal comprises the following steps:
after learning the MAC address of the terminal, the chip sends a quick MAC address notice to an MAC authentication module of the switching equipment;
the MAC authentication module initiates MAC authentication; here, after receiving the fast MAC address notification, the MAC authentication module may directly obtain the MAC address from the fast MAC address notification and perform MAC authentication, and compared with the case where the chip notifies the MAC address management module, such as a bridge module, and then notifies the MAC address management module to the MAC authentication module, the MAC authentication module reduces the processing flow of other modules in the middle, and can complete device migration more quickly.
Optionally, the method further comprises:
when the PORT of the terminal changes, the MAC violation event of the chip is triggered to send a migration notice to the MAC authentication module of the switching equipment; here, the MAC violation event refers to an event triggered by a change of the terminal PORT, and when the MAC violation event is triggered, a migration notification is sent to notify the MAC authentication module that the ARP entry needs to be learned again.
And the MAC authentication module sends an ARP detection message to the terminal to learn ARP table items after receiving the migration notice.
Optionally, the sending, by the MAC authentication module, an ARP detection packet to the terminal to learn an ARP entry includes:
the MAC authentication module sends an ARP detection message to the terminal;
and receiving an ARP response message returned by the terminal according to the ARP detection message to learn the ARP table items.
According to the acceleration method for terminal migration provided by the embodiment of the invention, after MAC authentication when a terminal is accessed to the switching equipment for the first time passes, an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal are stored in a chip as a global user table entry; and the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table items. When the terminal accesses the network, the correct forwarding of the message does not depend on the PORT information of the access PORT, therefore, when the terminal accesses the switching equipment for the first time, the switching equipment only stores IP and MAC as the information of the global user table entry into the chip, and only needs to match the global user table entry when the message is forwarded subsequently, so when the terminal migrates in the same switching equipment, because the global user table entry does not store PORT information, the adding and deleting operation of the table entry of the hardware chip is avoided, and the migration time is reduced; and when the switching equipment determines that a new terminal is accessed, after the MAC address authentication of the terminal is passed, the switching equipment actively sends the ARP detection message to the terminal to learn the ARP table entry.
Based on the same inventive concept, an embodiment of the present invention provides an acceleration apparatus for terminal migration, which may be applied to a switching device, and has a structure as shown in fig. 2, where the acceleration apparatus includes: a global user table generation module 21 and an MAC authentication module 22; wherein,
the global user table generation module 21 is configured to store an internet protocol address IP and a media access control address MAC of the terminal as global user tables in a chip after the MAC authentication when the terminal first accesses the switching device passes; specifically, when the switching device forwards the user, the switching device does not rely on PORT information, therefore, in the embodiment of the present invention, the switching device only stores the IP and the MAC of the terminal as the information of the global user table entry into the chip, and subsequently, when forwarding the message, the message forwarding can be completed by only matching the IP and the MAC of the global user table entry, therefore, the global user table entry in the embodiment of the present invention does not need to set the PORT information.
The MAC authentication module 22 is configured to send an ARP detection message to the terminal to learn an ARP entry after the MAC authentication when the terminal first accesses the switching device is passed. After the MAC address of the terminal passes the authentication, the MAC authentication module actively sends an ARP detection message to the terminal to learn the ARP table items.
Optionally, the apparatus further comprises: the first sending module is used for sending a quick MAC address notice to the MAC authentication module of the switching equipment after the chip learns the MAC address of the terminal;
the MAC authentication module is further configured to initiate MAC authentication after receiving the fast MAC address advertisement. Here, after receiving the fast MAC address notification, the MAC authentication module may directly obtain the MAC address from the fast MAC address notification and perform MAC authentication, and compared with the case where the chip notifies the MAC address management module, such as a bridge module, and then notifies the MAC address management module to the MAC authentication module, the MAC authentication module reduces the processing flow of other modules in the middle, and can complete device migration more quickly.
Optionally, the apparatus further comprises: a triggering module, configured to trigger the MAC violation event of the chip to send a migration notification to the MAC authentication module of the switching device when the PORT of the terminal changes; here, the MAC violation event refers to an event triggered by a change of the terminal PORT, and when the MAC violation event is triggered, a migration notification is sent to notify the MAC authentication module that the ARP entry needs to be learned again.
And the MAC authentication module is also used for sending an ARP detection message to the terminal to learn ARP table items after receiving the migration notice.
Optionally, the MAC authentication module is configured to send an ARP detection packet to the terminal to perform ARP entry learning, and is specifically configured to: sending an ARP detection message to the terminal; and receiving an ARP response message returned by the terminal according to the ARP detection message to learn the ARP table items.
It should be understood that the implementation principle and the process of the acceleration apparatus for terminal migration according to the embodiment of the present invention are similar to those of the above-described embodiment shown in fig. 1, and are not described herein again.
According to the method and the device for accelerating the terminal migration, provided by the embodiment of the invention, after the MAC authentication when the terminal is accessed into the switching equipment for the first time is passed, the Internet protocol address (IP) and the media access control address (MAC) of the terminal are stored into a chip as a global user table entry; and the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table items. When the terminal accesses the network, the correct forwarding of the message does not depend on the PORT information of the access PORT, therefore, when the terminal accesses the switching equipment for the first time, the switching equipment only stores IP and MAC as the information of the global user table entry into the chip, and only needs to match the global user table entry when the message is forwarded subsequently, so when the terminal migrates in the same switching equipment, because the global user table entry does not store PORT information, the adding and deleting operation of the table entry of the hardware chip is avoided, and the migration time is reduced; and when the switching equipment determines that a new terminal is accessed, after the MAC address authentication of the terminal is passed, the switching equipment actively sends the ARP detection message to the terminal to learn the ARP table entry.
An electronic device is further provided in the embodiment of the present application, please refer to fig. 3, which includes a processor 510, a communication interface 520, a memory 530 and a communication bus 540, wherein the processor 510, the communication interface 520 and the memory 530 complete communication with each other through the communication bus 540.
A memory 530 for storing a computer program;
the processor 510 is configured to implement the method for accelerating the terminal migration described in any of the above embodiments when executing the program stored in the memory 530.
The communication interface 520 is used for communication between the electronic apparatus and other apparatuses.
The Memory may include a Random Access Memory (RAM) or a Non-Volatile Memory (NVM), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, including a Central Processing Unit (CPU), a Network Processor (NP), and the like; but also Digital Signal Processors (DSPs), Application Specific Integrated Circuits (ASICs), Field Programmable Gate Arrays (FPGAs) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components.
In the scheme, the switching equipment only stores IP and MAC as information of the global user table entry into the chip, and only needs to match the global user table entry when the message is forwarded subsequently, so that when the terminal is migrated in the same switching equipment, as the global user table entry does not store PORT information, the adding and deleting operation of the table entry of the hardware chip is avoided, and the migration time is reduced; and when the switching equipment determines that a new terminal is accessed, after the MAC address authentication of the terminal is passed, the switching equipment actively sends the ARP detection message to the terminal to learn the ARP table entry.
Accordingly, an embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when the instructions are executed on a computer, the computer is caused to execute the method for accelerating the terminal migration in any of the foregoing embodiments.
In the scheme, the switching equipment only stores IP and MAC as information of the global user table entry into the chip, and only needs to match the global user table entry when the message is forwarded subsequently, so that when the terminal is migrated in the same switching equipment, as the global user table entry does not store PORT information, the adding and deleting operation of the table entry of the hardware chip is avoided, and the migration time is reduced; and when the switching equipment determines that a new terminal is accessed, after the MAC address authentication of the terminal is passed, the switching equipment actively sends the ARP detection message to the terminal to learn the ARP table entry.
Those of ordinary skill in the art will understand that: the figures are merely schematic representations of one embodiment, and the blocks or flow diagrams in the figures are not necessarily required to practice the present invention.
From the above description of the embodiments, it is clear to those skilled in the art that the present invention can be implemented by software plus necessary general hardware platform. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which may be stored in a storage medium, such as ROM/RAM, magnetic disk, optical disk, etc., and includes instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method according to the embodiments or some parts of the embodiments.
The embodiments in the present specification are described in a progressive manner, and the same and similar parts among the embodiments are referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for apparatus or system embodiments, since they are substantially similar to method embodiments, they are described in relative terms, as long as they are described in partial descriptions of method embodiments. The above-described embodiments of the apparatus and system are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one position, or may be distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
In addition, in some of the flows described in the above embodiments and the drawings, a plurality of operations are included in a specific order, but it should be clearly understood that the operations may be executed out of the order presented herein or in parallel, and the sequence numbers of the operations, such as 201, 202, 203, etc., are merely used for distinguishing different operations, and the sequence numbers themselves do not represent any execution order. Additionally, the flows may include more or fewer operations, and the operations may be performed sequentially or in parallel. It should be noted that, the descriptions of "first", "second", etc. in this document are used for distinguishing different messages, devices, modules, etc., and do not represent a sequential order, nor limit the types of "first" and "second" to be different.
The above-described embodiments of the apparatus are merely illustrative, and the units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of the present embodiment. One of ordinary skill in the art can understand and implement it without inventive effort.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While alternative embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following appended claims be interpreted as including alternative embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the embodiments of the present invention without departing from the spirit or scope of the embodiments of the invention. Thus, if such modifications and variations of the embodiments of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to encompass such modifications and variations.

Claims (10)

1. A method for accelerating terminal migration is applied to a switching device, and comprises the following steps:
after the Media Access Control (MAC) authentication when the terminal accesses the switching equipment for the first time passes, storing an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal into a chip as a global user table entry; and
and the MAC authentication module of the switching equipment sends an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table items.
2. The method of claim 1, wherein the MAC authentication of the terminal comprises:
after learning the MAC address of the terminal, the chip sends a quick MAC address notice to an MAC authentication module of the switching equipment;
the MAC authentication module initiates MAC authentication.
3. The method of claim 1, further comprising:
when the PORT of the terminal changes, the MAC violation event of the chip is triggered to send a migration notice to the MAC authentication module of the switching equipment;
and the MAC authentication module sends an ARP detection message to the terminal to learn ARP table items after receiving the migration notice.
4. The method according to any one of claims 1 to 3, wherein the MAC authentication module sends an ARP probe message to the terminal for ARP entry learning, including:
the MAC authentication module sends an ARP detection message to the terminal;
and receiving an ARP response message returned by the terminal according to the ARP detection message to learn the ARP table entries.
5. An acceleration apparatus for terminal migration, wherein the apparatus is applied to a switching device, and comprises: the system comprises a global user table generation module and an MAC authentication module; wherein,
the global user table generation module is used for storing an Internet Protocol (IP) address and a Media Access Control (MAC) address of the terminal into a chip as global user tables after the MAC authentication when the terminal is accessed into the switching equipment for the first time is passed;
and the MAC authentication module is used for sending an Address Resolution Protocol (ARP) detection message to the terminal to learn ARP table entries after the MAC authentication when the terminal is accessed into the switching equipment for the first time passes.
6. The apparatus of claim 5, further comprising: the first sending module is used for sending a quick MAC address notice to the MAC authentication module of the switching equipment after the chip learns the MAC address of the terminal;
the MAC authentication module is further configured to initiate MAC authentication after receiving the fast MAC address advertisement.
7. The apparatus of claim 5, further comprising: a triggering module, configured to trigger the MAC violation event of the chip to send a migration notification to the MAC authentication module of the switching device when the PORT of the terminal changes;
and the MAC authentication module is also used for sending an ARP detection message to the terminal to learn ARP table items after receiving the migration notice.
8. The apparatus according to any one of claims 5 to 7, wherein the MAC authentication module is configured to send an ARP detection packet to the terminal to perform ARP entry learning, and is specifically configured to: sending an ARP detection message to the terminal; and receiving an ARP response message returned by the terminal according to the ARP detection message to learn the ARP table items.
9. An electronic device, characterized in that the electronic device comprises a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory are communicated with each other through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1-4 when executing a program stored on a memory.
10. A computer-readable storage medium, characterized in that a computer program is stored in the computer-readable storage medium, which computer program, when being executed by a processor, carries out the method steps of any one of claims 1 to 4.
CN202210016592.0A 2022-01-07 2022-01-07 Terminal migration acceleration method and device Pending CN114531414A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210016592.0A CN114531414A (en) 2022-01-07 2022-01-07 Terminal migration acceleration method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210016592.0A CN114531414A (en) 2022-01-07 2022-01-07 Terminal migration acceleration method and device

Publications (1)

Publication Number Publication Date
CN114531414A true CN114531414A (en) 2022-05-24

Family

ID=81621215

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210016592.0A Pending CN114531414A (en) 2022-01-07 2022-01-07 Terminal migration acceleration method and device

Country Status (1)

Country Link
CN (1) CN114531414A (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938715A (en) * 2012-11-30 2013-02-20 杭州华三通信技术有限公司 Offline detection method and offline detection device based on MAC (Media Access Control) address authentication
CN104333552A (en) * 2014-11-04 2015-02-04 福建星网锐捷网络有限公司 Authentication determination method and accessing equipment
CN105744579A (en) * 2014-12-11 2016-07-06 华为技术有限公司 Method for switching terminal between APs, switching control apparatus, and access apparatus
CN106102122A (en) * 2016-05-16 2016-11-09 杭州华三通信技术有限公司 MAC Address list item update method and device
CN108259644A (en) * 2018-01-18 2018-07-06 新华三技术有限公司 A kind of communication equipment and its ARP entry generation method
CN109413649A (en) * 2018-11-06 2019-03-01 新华三技术有限公司 A kind of access authentication method and device
CN110247851A (en) * 2019-06-28 2019-09-17 北京东土军悦科技有限公司 Information updating method, device, three-tier switch and medium in three-tier switch
CN110839050A (en) * 2018-08-16 2020-02-25 中国电信股份有限公司 Method, system and wireless access point for detecting user offline

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102938715A (en) * 2012-11-30 2013-02-20 杭州华三通信技术有限公司 Offline detection method and offline detection device based on MAC (Media Access Control) address authentication
CN104333552A (en) * 2014-11-04 2015-02-04 福建星网锐捷网络有限公司 Authentication determination method and accessing equipment
CN105744579A (en) * 2014-12-11 2016-07-06 华为技术有限公司 Method for switching terminal between APs, switching control apparatus, and access apparatus
CN106102122A (en) * 2016-05-16 2016-11-09 杭州华三通信技术有限公司 MAC Address list item update method and device
CN108259644A (en) * 2018-01-18 2018-07-06 新华三技术有限公司 A kind of communication equipment and its ARP entry generation method
CN110839050A (en) * 2018-08-16 2020-02-25 中国电信股份有限公司 Method, system and wireless access point for detecting user offline
CN109413649A (en) * 2018-11-06 2019-03-01 新华三技术有限公司 A kind of access authentication method and device
CN110247851A (en) * 2019-06-28 2019-09-17 北京东土军悦科技有限公司 Information updating method, device, three-tier switch and medium in three-tier switch

Similar Documents

Publication Publication Date Title
US11240159B2 (en) Service link selection control method and device
JP5521620B2 (en) Relay device, virtual machine system, and relay method
CN109194559B (en) Multicast method and VTEP device
CN111698164B (en) Network routing method and device of virtual machine and management server
CN111343089B (en) Method and system for solving flooding problem caused by MAC address HASH conflict
CN111654437B (en) Message forwarding method and device based on data center
WO2017215408A1 (en) Session switching control method and apparatus and access point device
CN114640553A (en) Message processing method and device
CN109728932B (en) SDN setting method, controller, switch and computer readable storage medium
CN114531414A (en) Terminal migration acceleration method and device
US10951732B2 (en) Service processing method and device
CN108418863B (en) Management method of controller cluster, SDN controller and storage medium
CN113132506B (en) Message processing method and device based on super virtual local area network
CN111669320B (en) Method for processing message and network equipment
CN112737957B (en) Flow table aging method and device
CN107733695A (en) A kind of VXLAN tunnels optimization method and device during ISSU
CN111865803B (en) Route processing method and device based on EVPN
CN111800337B (en) Data center-based method and device, electronic equipment and storage medium
CN107707480B (en) Message forwarding method and device
CN108616461B (en) Policy switching method and device
US10009252B2 (en) Flow entry delivery method and communication system
CN115002020B (en) OSPF-based data processing method and device
CN113765711B (en) Network equipment keep-alive method and device
CN116886463B (en) Cascade communication method, device, equipment and medium
CN111107006B (en) Routing management method and device

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