WO2024152607A1 - 路由mac地址的管理方法、装置、电子设备及存储介质 - Google Patents
路由mac地址的管理方法、装置、电子设备及存储介质 Download PDFInfo
- Publication number
- WO2024152607A1 WO2024152607A1 PCT/CN2023/121774 CN2023121774W WO2024152607A1 WO 2024152607 A1 WO2024152607 A1 WO 2024152607A1 CN 2023121774 W CN2023121774 W CN 2023121774W WO 2024152607 A1 WO2024152607 A1 WO 2024152607A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- routing
- mac address
- interface
- message
- management table
- 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.)
- Ceased
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L63/00—Network architectures or network communication protocols for network security
- H04L63/10—Network architectures or network communication protocols for network security for controlling access to devices or network resources
- H04L63/101—Access control lists [ACL]
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/54—Organization of routing tables
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L45/00—Routing or path finding of packets in data switching networks
- H04L45/66—Layer 2 routing, e.g. in Ethernet based MAN's
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L49/00—Packet switching elements
- H04L49/10—Packet switching elements characterised by the switching fabric construction
- H04L49/111—Switch interfaces, e.g. port details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L61/00—Network arrangements, protocols or services for addressing or naming
Definitions
- the embodiments of the present application relate to the field of Internet technology, and in particular to a method for managing a routing MAC address, a device for managing a routing MAC address, an electronic device, and a computer non-volatile readable storage medium.
- the switching chips used in the current mainstream white-box switch solutions all have a routing MAC management table, which is at the starting node of the chip's three-layer forwarding process and is used to determine whether a message is a legal three-layer forwarding message.
- a routing MAC management table which is at the starting node of the chip's three-layer forwarding process and is used to determine whether a message is a legal three-layer forwarding message.
- white-box switches there are two types of routing interfaces, one is the physical port of the device, and the other is a virtual three-layer routing port.
- the existing technical solutions manage the MAC addresses of the two types of routing interfaces by sending the chip routing MAC management table one by one, so that the routing interface corresponds to the chip routing MAC address management table one by one.
- the switching chips used in the current mainstream white box switch solutions have routing MAC address management table specifications of around 2,000, but users' demand for the number of routing interfaces has reached about 4,000.
- hardware resources have limited the number of routing interfaces, resulting in failure to meet user configuration requirements.
- the embodiments of the present application provide a method, device, electronic device and computer non-volatile readable storage medium for managing routing MAC addresses, so as to solve or partially solve the problem in the prior art that the hardware resources of the routing MAC address management table of the switch limit the number of routing interfaces, resulting in the inability to meet the user's configuration requirements.
- the embodiment of the present application discloses a method for managing a routing MAC address, which is applied to a switch.
- the switch includes a routing MAC address management table, and the routing MAC address management table includes hardware table entry resources.
- the switch is provided with an ACL module. The method includes:
- the chip routing MAC address management table is added
- routing interface is increased according to the ACL module.
- adding routing interfaces according to the ACL module includes:
- the interface type of the routing interface includes a physical routing interface, and a routing interface of a corresponding interface type is added according to the interface type, including:
- the interface type of the routing interface is a physical routing interface
- use the ACL module to add a routing interface whose interface type is a physical routing interface.
- the interface type of the routing interface includes a virtual routing interface.
- a routing interface of a corresponding interface type is added according to the interface type, including:
- the interface type of the routing interface is a virtual routing interface
- the switch is used to forward the message, and the forwarding types of the message include layer 2 forwarding and layer 3 forwarding.
- the routing MAC address management table on the switch is used to determine whether the message is a legal layer-3 forwarding message.
- routing MAC address management table includes routing MAC addresses, and the method further includes:
- the forwarding type of the message is determined to forward the message accordingly.
- judging the forwarding type of the message according to the relationship between the routing MAC address and the message destination MAC address corresponding to the message to be forwarded so as to forward the message accordingly includes:
- the switch forwards the message at Layer 3.
- the switch forwards the message at Layer 2.
- the switch includes an inbound port number
- the method further includes:
- the relationship between the port number on the switch and the destination MAC address of the message corresponding to the message to be forwarded is determined to determine the forwarding type of the message.
- a routing interface whose interface type is a physical routing interface is added through the ACL module, a relationship between a port number on the switch and a destination MAC address of a message corresponding to a message to be forwarded is determined, and a forwarding type of the message is determined, including:
- the switch forwards the message at Layer 3.
- the switch forwards the message at Layer 2.
- the method further comprises:
- the relationship between the message VLAN corresponding to the message to be forwarded and the message destination MAC address is determined to determine the forwarding type of the message.
- the switch forwards the packet at Layer 3.
- the switch forwards the message.
- the document is forwarded at Layer 2.
- the switch includes software, and the software is used to control hardware in the switch.
- the method further includes:
- the software When adding a routing interface, the software sends the routing MAC address management table to the hardware;
- an ACL table for the ACL module is created by software and sent to the hardware, and a soft link table is created.
- a soft link list is used to manage the ACL table.
- the method further comprises:
- the routing interface is processed, including:
- routing MAC address of the routing interface to be deleted is stored in the ACL table, delete the soft link table corresponding to the ACL table;
- routing MAC address of the routing interface to be deleted is searched from the routing MAC address management table to delete the routing MAC address of the routing interface.
- the method further comprises:
- the header of the soft link table corresponding to the ACL table is transferred to the MAC address management table.
- the routing interface is an index in the routing MAC address management table, and the routing interface corresponds one-to-one to the chip routing MAC address management table.
- the embodiment of the present application further discloses a management device for a routing MAC address, which is applied to a switch.
- the switch includes a routing MAC address management table, and the routing MAC address management table includes hardware table entry resources.
- the switch is provided with an ACL module.
- the device includes:
- a hardware entry resource quantity determination module used to determine whether the hardware entry resources of the routing MAC address management table meet the preset quantity of the routing interface in response to the operation of configuring the routing interface;
- a chip routing MAC address management table adding module is used to add a chip routing MAC address management table if the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces;
- the routing interface adding module is used to add routing interfaces according to the ACL module if the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces.
- routing interface adding module is specifically used for:
- the interface type of the routing interface includes a physical routing interface
- the device further includes:
- the interface type of the routing interface is a physical routing interface
- use the ACL module to add a routing interface whose interface type is a physical routing interface.
- the interface type of the routing interface includes a virtual routing interface
- the device further includes:
- the interface type of the routing interface is a virtual routing interface
- routing MAC address management table includes routing MAC addresses
- the device further includes:
- the message According to the relationship between the routing MAC address and the destination MAC address of the message to be forwarded, the message The forwarding type of the message is used to forward the message accordingly.
- the device further comprises:
- the switch forwards the message at Layer 3.
- the switch forwards the message at Layer 2.
- the switch includes an inbound port number
- the device further includes:
- the relationship between the port number on the switch and the destination MAC address of the message corresponding to the message to be forwarded is determined to determine the forwarding type of the message.
- the device further comprises:
- the switch forwards the message at Layer 3.
- the switch forwards the message at Layer 2.
- the device further comprises:
- the relationship between the message VLAN corresponding to the message to be forwarded and the message destination MAC address is determined to determine the forwarding type of the message.
- the device further comprises:
- the switch forwards the packet at Layer 3.
- the switch includes software, the software is used to control hardware in the switch, and the device further includes:
- the software When adding a routing interface, the software sends the routing MAC address management table to the hardware;
- an ACL table for the ACL module is created by software and sent to the hardware, and a soft link table is created.
- the device further comprises:
- the device further comprises:
- routing MAC address of the routing interface to be deleted is stored in the ACL table, delete the soft link table corresponding to the ACL table;
- routing MAC address of the routing interface to be deleted is searched from the routing MAC address management table to delete the routing MAC address of the routing interface.
- the device further comprises:
- the header of the soft link table corresponding to the ACL table is transferred to the MAC address management table.
- the embodiment of the present application also discloses an electronic device, including a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other via the communication bus;
- Memory used to store computer programs
- the embodiment of the present application also discloses a computer non-volatile readable storage medium having instructions stored thereon, which, when executed by one or more processors, enables the processors to execute the method as in the embodiment of the present application.
- the switch is applied to a switch, the switch includes a routing MAC address management table, the routing MAC address management table includes hardware table entry resources, wherein the switch is provided with an ACL module, and in response to the operation of configuring the routing interface, determines whether the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, if the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, then add a chip routing MAC address management table, if the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, then add a routing interface according to the ACL module.
- the routing interface when configuring the routing interface, by adding a chip routing MAC address management table and adding a routing interface according to the ACL module, that is, by using a forwarding chip of existing specifications, by combining the use of the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's use requirements for the three-layer routing interface of the switch are met to the maximum extent.
- FIG1 is a flowchart of a method for managing a routing MAC address provided in an embodiment of the present application
- FIG2 is a schematic diagram of a flow chart of management of a routing MAC address provided in an embodiment of the present application
- FIG. 3 is a schematic diagram of a process of adjusting a routing MAC address management table and an ACL table provided in an embodiment of the present application;
- FIG. 4 is a structural block diagram of a routing MAC address management device provided in an embodiment of the present application.
- FIG5 is a schematic diagram of the structure of a computer non-volatile readable storage medium provided in an embodiment of the present application.
- FIG. 6 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present application.
- ACL Access Control Lists
- ACL Access Control Lists
- ACL Access Control Lists
- switches can control various behaviors of messages and plays an important role in the message processing pipeline of switching chips. Specifically, it is an access control technology based on packet filtering. It can filter data packets on the interface according to the set conditions, allowing them to pass or discard them.
- Access control lists are widely used in routers and three-layer switches. With the help of access control lists, users' access to the network can be effectively controlled, thereby maximizing network security.
- VLAN Virtual Local Area Network
- VLAN Virtual Local Area Network
- one of the core application points of the present application is to apply it to a switch, wherein the switch includes a routing MAC address management table, and the routing MAC address management table includes hardware table entry resources, wherein the switch is provided with an ACL module, and in response to the operation of configuring the routing interface, determines whether the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, and if the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, then the chip routing MAC address management table is added, and if the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, then the routing interface is added according to the ACL module.
- the routing interface when configuring the routing interface, by adding the chip routing MAC address management table and adding the routing interface according to the ACL module, that is, by using the forwarding chip of the existing specifications, by combining the use of the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's use requirements for the three-layer routing interface of the switch are met to the maximum extent.
- a flowchart of a method for managing a routing MAC address provided in an embodiment of the present application is shown, which is applied to a switch, wherein the switch includes a routing MAC address management table, the routing MAC address management table includes hardware table entry resources, wherein the switch is provided with an ACL module, and specifically may include the following steps:
- Step 101 in response to the operation of configuring the routing interface, determining whether the hardware table entry resources of the routing MAC address management table meet the preset number of the routing interface;
- the switch in the embodiment of the present application, it mainly adopts a three-layer switch, which can support routing function, and can be used to forward messages.
- the forwarding type of the message can include two-layer forwarding and three-layer forwarding, that is, the three-layer switch can be used to perform two-layer forwarding and three-layer forwarding on the message; among them, when the routing MAC address is consistent with the message destination MAC address corresponding to the message to be forwarded, the switch performs three-layer forwarding on the message, and when the routing MAC address is inconsistent with the message destination MAC address corresponding to the message to be forwarded, the switch performs two-layer forwarding on the message.
- the message is a data unit exchanged and transmitted in the network, that is, a data block to be sent by a site at one time.
- the message contains the complete data information to be sent, and its length is very inconsistent. The length is unlimited and variable. It can be understood that it can be data sent by a device connected to a switch to another device through the switch.
- the MAC address is the unique network identifier of the device.
- the MAC address can be bound to the router to limit the devices that log in to the router.
- the routing MAC address is the MAC address in the three-layer switch. There are multiple ports in the three-layer switch, and each port can correspond to a port MAC address. Therefore, the routing MAC address can include the port MAC address.
- the routing MAC address management table is a software table item on the switch software used to control the chip routing MAC address management table, which can be used to determine whether a message is a legal three-layer forwarding message.
- the routing MAC address management table includes hardware table item resources.
- the hardware entry resources are entry resources for the chip in the switch, and the hardware entry resources can correspond to the routing MAC address; for the ACL module, it can also be called the access control list module, which can control the forwarding of messages and can support three-layer forwarding of three-layer switches.
- the access control list can filter the data packets on the interface according to the set conditions, allowing them to pass or discard them. It is widely used in routers and three-layer switches. With the help of the access control list, users' access to the network can be effectively controlled, thereby maximizing network security.
- the routing interface can be understood as an index in the routing MAC address management table, wherein the routing interface corresponds one-to-one to the chip routing MAC address management table. Specifically, each routing interface can correspond to a table entry resource in the chip routing MAC address management table.
- the preset number is the number of routing interfaces that are manually set, and those skilled in the art may set it according to actual conditions, and the embodiments of the present application do not limit this.
- the switch includes a routing MAC address management table, which includes hardware table entry resources.
- the switch is provided with an ACL module, which determines whether the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces in response to the operation of configuring the routing interface, so that the routing MAC address can be managed according to the matching result.
- Step 102 if the hardware entry resources of the routing MAC address management table meet the preset number of routing interfaces, then add the chip routing MAC address management table;
- the chip routing MAC address management table is a hardware table entry resource in the switching chip of the switch, which can correspond to the routing interface one by one.
- each routing interface can correspond to an entry resource in the chip routing MAC address management table.
- the routing interface in response to the operation of configuring the routing interface, it is determined whether the hardware table entry resources of the routing MAC address management table meet the preset number of the routing interface. If the hardware table entry resources of the routing MAC address management table meet the preset number of the routing interface, the chip routing MAC address management table is added.
- Step 103 If the hardware entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, then add routing interfaces according to the ACL module.
- routing interfaces in response to the operation of configuring the routing interface, it is determined whether the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces. If the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, routing interfaces are added according to the ACL module, thereby expanding the number of routing interfaces supported by the device for the switch, and maximally satisfying the user's use requirements for the three-layer routing interface of the switch.
- the switch is applied to a switch, the switch includes a routing MAC address management table, the routing MAC address management table includes hardware table entry resources, wherein the switch is provided with an ACL module, and in response to the operation of configuring the routing interface, determines whether the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, if the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, then add a chip routing MAC address management table, if the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, then add a routing interface according to the ACL module.
- the routing interface when configuring the routing interface, by adding a chip routing MAC address management table and adding a routing interface according to the ACL module, that is, by using a forwarding chip of existing specifications, by combining the use of the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's use requirements for the three-layer routing interface of the switch are met to the maximum extent.
- step 103 if the hardware entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, adding routing interfaces according to the ACL module includes:
- the MAC address is the unique network identifier of the device.
- the MAC address can be bound to the router to limit the devices that log in to the router.
- the routing MAC address is the MAC address in the three-layer switch. There are multiple ports in the three-layer switch, and each port can correspond to a port MAC address. Therefore, the routing MAC address can include Containing port MAC address; for the routing MAC address management table, it is a software table item on the switch software used to control the chip routing MAC address management table, which can be used to determine whether the message is a legal three-layer forwarding message, wherein the routing MAC address management table contains hardware table item resources.
- the hardware entry resources are entry resources for the chip in the switch, and the hardware entry resources can correspond to the routing MAC address; for the ACL module, it can also be called the access control list module, which can control the forwarding of messages and can support three-layer forwarding of three-layer switches.
- the access control list can filter the data packets on the interface according to the set conditions, allowing them to pass or discard them. It is widely used in routers and three-layer switches. With the help of the access control list, users' access to the network can be effectively controlled, thereby maximizing network security.
- the routing interface can be understood as an index in the routing MAC address management table, wherein the routing interface corresponds one-to-one to the chip routing MAC address management table. Specifically, each routing interface can correspond to a table entry resource in the chip routing MAC address management table.
- the preset number is the number of routing interfaces that are manually set, and those skilled in the art may set it according to actual conditions, and the embodiments of the present application do not limit this.
- the interface type there are mainly two types of routing interfaces in the switch, which mainly include physical routing interfaces and virtual routing interfaces. Specifically, one is the physical port of the device, and the other is the virtual three-layer routing port. Among them, the MAC addresses of the two types of routing interfaces are mainly managed.
- FIG2 a schematic diagram of a process flow of managing a routing MAC address provided in an embodiment of the present application is shown.
- a user configures a routing interface of a switch, first determine whether the hardware table entry resources of the routing MAC address management table can meet the preset number of routing interfaces set by the user. If the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces, then add a chip routing MAC address management table. If the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces, then determine the interface type of the routing interface. When the interface type of the routing interface is a physical routing interface, add a routing interface with an interface type of a physical routing interface through the ACL module.
- the interface type of the routing interface is a virtual routing interface
- the routing interface by adding a chip routing MAC address management table and adding a routing interface according to the ACL module, that is, by using a forwarding chip of existing specifications, by combining the use of the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's use requirements for the three-layer routing interface of the switch are met to the maximum extent.
- the routing MAC address management table can support a routing interface specification of 2000. After adding the ACL module, it can support a virtual routing interface of 40,000 and 30 physical routing interfaces. Specifically, when the user creates 4000 virtual routing interfaces, the device uses the routing MAC address management table (2000) with full specifications. At the same time, 2000 virtual routing interfaces can be created through the ACL module, and the user's three-layer service forwarding function can be supported. In another example, it is assumed that the user has created 2000 virtual routing interfaces and 20 physical routing interfaces. The device uses the routing MAC address management table (2000) with full specifications. At the same time, 20 physical routing interfaces can be created through the ACL module, and the user's three-layer service forwarding function can be supported.
- routing interface When configuring the routing interface, by adding the chip routing MAC address management table and adding routing interfaces according to the ACL module, that is, by using the existing specifications of the forwarding chip, by combining the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's needs are met to the maximum extent.
- the requirements for using the Layer 3 routing interface of the switch are met to the maximum extent.
- the relationship between the port number on the switch and the destination MAC address of the message corresponding to the message to be forwarded is determined to determine the forwarding type of the message, wherein when the port number on the switch is consistent with the destination MAC address of the message corresponding to the message to be forwarded, the switch performs layer 3 forwarding on the message, and when the port number on the switch is inconsistent with the destination MAC address of the message corresponding to the message to be forwarded, the switch performs layer 2 forwarding on the message.
- the rule for configuring the routing interface of the ACL is to match the port number on the switch with the destination MAC address of the message corresponding to the message to be forwarded.
- the relationship between the message VLAN (Virtual Local Area Network) corresponding to the message to be forwarded and the message destination MAC address is determined to determine the forwarding type of the message, wherein, when the message VLAN corresponding to the message to be forwarded and the message destination MAC address are consistent, the switch forwards the message at Layer 3, and when the message VLAN corresponding to the message to be forwarded and the message destination MAC address are inconsistent, the switch forwards the message at Layer 2.
- VLAN Virtual Local Area Network
- the interface type of the routing interface is a virtual routing interface
- the routing interface by adding a chip routing MAC address management table and adding a routing interface according to the ACL module, that is, by using a forwarding chip of existing specifications, by combining the use of the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's use requirements for the three-layer routing interface of the switch are met to the maximum extent.
- the routing MAC address management table includes the routing MAC address, and the method further includes:
- the forwarding type of the message is determined to forward the message accordingly.
- the forwarding type can include secondary forwarding and tertiary forwarding, that is, the three-layer switch can be used for layer 2 forwarding and layer 3 forwarding of messages; among them, when the routing MAC address is consistent with the message destination MAC address corresponding to the message to be forwarded, the switch forwards the message at layer 3, and when the routing MAC address is inconsistent with the message destination MAC address corresponding to the message to be forwarded, the switch forwards the message at layer 2. It should be noted that this is the forwarding of messages when the ACL module is not added.
- the message is a data unit exchanged and transmitted in the network, that is, a data block to be sent by a site at one time.
- the message contains the complete data information to be sent, and its length is very inconsistent. The length is unlimited and variable. It can be understood that it can be data sent by a device connected to a switch to another device through the switch.
- the MAC address is the unique network identifier of the device.
- the MAC address can be bound to the router to limit the devices that log in to the router.
- the routing MAC address is the MAC address in the three-layer switch. There are multiple ports in the three-layer switch, and each port can correspond to a port MAC address. Therefore, the routing MAC address can include the port MAC address.
- the relationship between the port number on the switch and the message destination MAC address corresponding to the message to be forwarded is determined to determine the forwarding type of the message, wherein when the port number on the switch is consistent with the message destination MAC address corresponding to the message to be forwarded, the switch performs layer 3 forwarding on the message, and when the port number on the switch is inconsistent with the message destination MAC address corresponding to the message to be forwarded, the switch performs layer 2 forwarding on the message.
- the rule for configuring the routing interface of the ACL is to match the port number on the switch with the message destination MAC address corresponding to the message to be forwarded, and for the configuration operation of the ACL, it can change the message forwarding to layer 3 forwarding.
- the switch forwards the message at layer 3
- the switch forwards the message at layer 2.
- the switch includes software, the software is used to control hardware in the switch, and the method further includes:
- the software When adding a routing interface, the software sends the routing MAC address management table to the hardware;
- an ACL table for the ACL module is created by software and sent to the hardware, and a soft link table is created.
- the ACL table can be used to store routing MAC addresses; and the soft link table can be used to manage the ACL table.
- FIG3 a schematic diagram of a process for adjusting the routing MAC address management table and the ACL table provided in an embodiment of the present application is shown.
- the upper-layer software in the switch sends a limited routing MAC address management table to the hardware.
- the routing MAC address management table is full, that is, when the hardware table entry resources in the routing MAC address management table are used up, the software creates an ACL table entry and sends it to the hardware, and at the same time creates a soft link table, which is used to manage the ACL table entry.
- the soft link table In the process of deleting a routing port, you first need to search the soft link table to confirm that the MAC address of the routing interface to be deleted is If the MAC address of the routing interface to be deleted is not in the ACL table, the soft link table corresponding to the ACL table is deleted to release the resources in the ACL table. If the MAC address of the routing interface to be deleted is not in the ACL table, the MAC address of the routing interface to be deleted is searched from the routing MAC address management table for deletion. At the same time, the link head in the ACL table is moved to the routing MAC address management table, so as to realize the dynamic adjustment of the resources in the routing MAC address management table and the ACL table, and effectively manage the routing MAC address.
- the routing interface when configuring the routing interface, by adding a chip routing MAC address management table and adding a routing interface according to the ACL module, that is, by using a forwarding chip of existing specifications, by combining the use of the chip ACL function, the number of routing interfaces supported by the device for the switch is expanded, and the user's use requirements for the three-layer routing interface of the switch are met to the maximum extent.
- FIG. 4 a block diagram of a management device for a routing MAC address provided in an embodiment of the present application is shown, which is applied to a switch, wherein the switch includes a routing MAC address management table, and the routing MAC address management table includes hardware table entry resources, wherein the switch is provided with an ACL module, which may specifically include the following modules:
- the chip routing MAC address management table adding module 402 is used to add the chip routing MAC address management table if the hardware table entry resources of the routing MAC address management table meet the preset number of routing interfaces;
- the routing interface adding module 403 is used to add routing interfaces according to the ACL module if the hardware table entry resources of the routing MAC address management table do not meet the preset number of routing interfaces.
- the interface type of the routing interface includes a physical routing interface
- the device further includes:
- the interface type of the routing interface is a physical routing interface
- use the ACL module to add a routing interface whose interface type is a physical routing interface.
- the interface type of the routing interface includes a virtual routing interface
- the device further includes:
- the interface type of the routing interface is a virtual routing interface
- routing MAC address management table includes routing MAC addresses
- the device further includes:
- the message is judged.
- the forwarding type is used to forward the message accordingly.
- the device further comprises:
- the switch forwards the message at Layer 3.
- the switch forwards the message at Layer 2.
- the switch includes an inbound port number
- the device further includes:
- the relationship between the port number on the switch and the destination MAC address of the message corresponding to the message to be forwarded is determined to determine the forwarding type of the message.
- the device further comprises:
- the switch forwards the message at Layer 3.
- the switch forwards the message at Layer 2.
- the device further comprises:
- the relationship between the message VLAN corresponding to the message to be forwarded and the message destination MAC address is determined to determine the forwarding type of the message.
- the device further comprises:
- the switch forwards the packet at Layer 3.
- the switch forwards the message at Layer 2.
- the switch includes software, the software is used to control hardware in the switch, and the device further includes:
- the software When adding a routing interface, the software sends the routing MAC address management table to the hardware;
- an ACL table for the ACL module is created by software and sent to the hardware, and a soft link table is created.
- the device further comprises:
- routing MAC address of the routing interface to be deleted is stored in the ACL table, delete the soft link table corresponding to the ACL table;
- routing MAC address of the routing interface to be deleted is searched from the routing MAC address management table to delete the routing MAC address of the routing interface.
- the device further comprises:
- the header of the soft link table corresponding to the ACL table is transferred to the MAC address management table.
- the description is relatively simple. Please refer to the partial description of the method embodiment.
- an embodiment of the present application also provides an electronic device, including: a processor, a memory, and a computer program stored in the memory and executable on the processor.
- a computer program stored in the memory and executable on the processor.
- FIG5 is a schematic diagram of the structure of a computer non-volatile readable storage medium provided in an embodiment of the present application.
- the embodiment of the present application also provides a computer non-volatile readable storage medium 501, on which a computer program is stored.
- a computer program is executed by a processor, each process of the above-mentioned method for managing a routing MAC address is implemented, and the same technical effect can be achieved. To avoid repetition, it is not repeated here.
- the computer non-volatile readable storage medium 501 is such as a read-only memory (ROM), a random access memory (RAM), a disk or an optical disk, etc.
- FIG6 is a schematic diagram of the hardware structure of an electronic device implementing various embodiments of the present application.
- the electronic device 600 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611.
- a radio frequency unit 601 includes but is not limited to: a radio frequency unit 601, a network module 602, an audio output unit 603, an input unit 604, a sensor 605, a display unit 606, a user input unit 607, an interface unit 608, a memory 609, a processor 610, and a power supply 611.
- the electronic device structure shown in FIG. 6 does not constitute a limitation on the electronic device, and the electronic device may include more or fewer components than shown, or combine certain components, or arrange the components differently.
- the electronic device includes but is not limited to a mobile phone, a tablet computer, a laptop computer, a PDA, a vehicle-mounted terminal, a wearable device, and
- the radio frequency unit 601 can be used for receiving and sending signals during information transmission or calls. Specifically, after receiving downlink data from the base station, it is sent to the processor 610 for processing; in addition, uplink data is sent to the base station.
- the radio frequency unit 601 includes but is not limited to an antenna, at least one amplifier, a transceiver, a coupler, a low noise amplifier, a duplexer, etc.
- the radio frequency unit 601 can also communicate with the network and other devices through a wireless communication system.
- the electronic device provides users with wireless broadband Internet access through the network module 602, such as helping users to send and receive emails, browse web pages, and access streaming media.
- the audio output unit 603 can convert the audio data received by the RF unit 601 or the network module 602 or stored in the memory 609 into an audio signal and output it as sound. Moreover, the audio output unit 603 can also provide audio output related to a specific function performed by the electronic device 600 (for example, a call signal reception sound, a message reception sound, etc.).
- the audio output unit 603 includes a speaker, a buzzer, a receiver, etc.
- the input unit 604 is used to receive audio or video signals.
- the input unit 604 may include a graphics processor (GPU) 6041 and a microphone 6042, and the graphics processor 6041 processes the image data of a static picture or video obtained by an image capture device (such as a camera) in a video capture mode or an image capture mode.
- the processed image frame can be displayed on the display unit 606.
- the image frame processed by the graphics processor 6041 can be stored in the memory 609 (or other storage medium) or sent via the radio frequency unit 601 or the network module 602.
- the microphone 6042 can receive sound and can process such sound into audio data.
- the processed audio data can be converted into a format output that can be sent to a mobile communication base station via the radio frequency unit 601 in the case of a telephone call mode.
- the electronic device 600 also includes at least one sensor 605, such as a light sensor, a motion sensor, and other sensors.
- the light sensor includes an ambient light sensor and a proximity sensor.
- the ambient light sensor can adjust the brightness of the display panel 6061 according to the brightness of the ambient light
- the proximity sensor can turn off the display panel 6061 and/or the backlight when the electronic device 600 is moved to the ear.
- the accelerometer sensor can detect the movement of the display panel 6061 in various directions (generally three directions).
- the sensor 605 can also include fingerprint sensors, pressure sensors, iris sensors, molecular sensors, gyroscopes, barometers, hygrometers, thermometers, infrared sensors, etc., which will not be described in detail here.
- the display unit 606 is used to display information input by the user or information provided to the user.
- the display unit 606 may include a display panel 6061, which may be configured in the form of a liquid crystal display (LCD), an organic light-emitting diode (OLED), or the like.
- LCD liquid crystal display
- OLED organic light-emitting diode
- the user input unit 607 can be used to receive input digital or character information, and to generate key signal input related to user settings and function control of the electronic device.
- the user input unit 607 includes a touch panel 6071 and other input devices 6072.
- the touch panel 6071 also known as a touch screen, can collect the user's touch operation on or near it (such as the user's operation on the touch panel 6071 or near the touch panel 6071 using any suitable object or accessory such as a finger, stylus, etc.).
- the touch panel 6071 may include two parts: a touch detection device and a touch controller.
- the touch detection device detects the user's touch orientation, detects the signal brought by the touch operation, and transmits the signal to the touch controller; the touch controller receives the touch information from the touch detection device, converts it into contact point coordinates, and then sends it to the processor 610, receives the command sent by the processor 610 and executes it.
- the touch panel 6071 can be implemented using multiple types such as resistive, capacitive, infrared and surface acoustic waves.
- the user input unit 607 may also include other input devices 6072.
- other input devices 6072 may include but are not limited to a physical keyboard, function keys (such as volume control keys, switch keys, etc.), a trackball, a mouse, and a joystick, which will not be described in detail here.
- the touch panel 6071 may be covered on the display panel 6061.
- the touch panel 6071 detects a touch operation on or near it, it is transmitted to the processor 610 to determine the type of the touch event, and then the processor 610 provides a corresponding visual output on the display panel 6061 according to the type of the touch event.
- the touch panel 6071 and the display panel 6061 are used as two independent components to implement the input and output functions of the electronic device, in some embodiments, the touch panel 6071 and the display panel 6061 may be integrated to implement the input and output functions of the electronic device, which is not limited to the specifics herein.
- the interface unit 608 is an interface for connecting an external device to the electronic device 600.
- the external device may include a wired or wireless headset port, an external power supply (or battery charger) port, a wired or wireless data port, a memory card port, a port for connecting a device with an identification module, an audio input/output (I/O) port, a video I/O port, a headphone port, etc.
- the interface unit 608 may be used to receive input (e.g., data information, power, etc.) from an external device and transmit the received input to one or more elements within the electronic device 600 or may be used to transmit data between the electronic device 600 and an external device.
- the memory 609 can be used to store software programs and various data.
- the memory 609 can mainly include a program storage area and a data storage area, wherein the program storage area can store an operating system, an application required for at least one function (such as a sound playback function, an image playback function, etc.), etc.; the data storage area can store data created according to the use of the mobile phone (such as audio data, a phone book, etc.), etc.
- the memory 609 can include a high-speed random access memory, and can also include a non-volatile memory, such as at least one disk storage device, a flash memory device, or other volatile solid-state storage devices.
- the processor 610 is the control center of the electronic device. It uses various interfaces and lines to connect various parts of the entire electronic device. It executes various functions of the electronic device and processes data by running or executing software programs and/or modules stored in the memory 609 and calling data stored in the memory 609, thereby monitoring the electronic device as a whole.
- the processor 610 may include one or more processing units; preferably, the processor 610 may integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface, and application programs, and the modem processor mainly processes wireless It is understandable that the above-mentioned modem processor may not be integrated into the processor 610.
- the electronic device 600 may also include a power supply 611 (such as a battery) for supplying power to each component.
- a power supply 611 such as a battery
- the power supply 611 may be logically connected to the processor 610 through a power management system, thereby implementing functions such as charging, discharging, and power consumption management through the power management system.
- the electronic device 600 includes some functional modules not shown, which will not be described in detail here.
- the technical solution of the present application can be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, a disk, or an optical disk), and includes a number of instructions for a terminal (which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.) to execute the methods of each embodiment of the present application.
- a storage medium such as ROM/RAM, a disk, or an optical disk
- a terminal which can be a mobile phone, a computer, a server, an air conditioner, or a network device, etc.
- the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
- the function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a Computer non-volatile readable storage medium.
- the technical solution of the present application or the part that contributes to the prior art, or the part of the technical solution, can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for enabling a computer device (which can be a personal computer, server, or network device, etc.) to perform all or part of the steps of the various embodiments of the present application.
- the aforementioned storage medium includes: various media that can store program codes, such as USB flash drives, mobile hard disks, ROM, RAM, magnetic disks, or optical disks.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Hardware Design (AREA)
- Computer Security & Cryptography (AREA)
- Computing Systems (AREA)
- General Engineering & Computer Science (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
本申请实施例提供了一种路由MAC地址的管理方法、装置、电子设备及非易失性可读存储介质,涉及互联网技术领域,所述方法包括:响应于配置路由接口的操作,确定所述路由MAC地址管理表的硬件表项资源是否满足所述路由接口的预设数量;若所述路由MAC地址管理表的硬件表项资源满足所述路由接口的预设数量,则添加芯片路由MAC地址管理表;若所述路由MAC地址管理表的硬件表项资源不满足所述路由接口的预设数量,则根据所述ACL模块增加路由接口。通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
Description
相关申请的交叉引用
本申请要求于2023年01月20日提交中国专利局,申请号为202310073627.9,申请名称为“路由MAC地址的管理方法、装置、电子设备及存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
本申请实施例涉及互联网技术领域,特别是涉及一种路由MAC地址的管理方法、一种路由MAC地址的管理装置、一种电子设备以及一种计算机非易失性可读存储介质。
现有三层交换机设备,在支持三层转发特性时,需根据端口MAC地址与报文目的MAC地址(Media Access Control Address媒体访问控制地址)是否一致来确认报文转发为二层转发与三层转发,随着设备端口数量的增多,所需存储管理的路由MAC地址数量也逐步增多,但是芯片的硬件表项资源是有限的,这也就造成了用户需求与芯片资源之间的矛盾。
当前主流白盒交换机解决方案所使用的交换芯片,均存在路由MAC管理表,该表在芯片三层转发流程的开始节点,用于判断报文是否为合法的三层转发报文;在白盒交换机中,存在两种类型的路由接口,一种为设备物理端口,一种为虚拟的三层路由端口,现有技术方案对于两种类型的路由接口的MAC地址管理,均采用逐一下发芯片路由MAC管理表,使得路由接口与芯片路由MAC地址管理表一一对应。
其中,当前主流白盒交换机解决方案所使用的交换芯片,路由MAC地址管理表规格均在两千上下,但是用户对于路由接口的数量需求已达到四千左右,按照传统的路由接口与芯片路由MAC表一一对应的方式进行管理,硬件资源已经限制了路由接口数量,导致不能满足用户的配置需求。
发明内容
本申请实施例是提供一种路由MAC地址的管理方法、装置、电子设备以及计算机非易失性可读存储介质,以解决或部分解决现有技术中交换机的路由MAC地址管理表的硬件资源限制路由接口数量,导致不能满足用户的配置需求的问题。
本申请实施例公开了一种路由MAC地址的管理方法,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,方法包括:
响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量;
若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表;
若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。
可选地,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口,包括:
判断路由接口的接口类型;
根据接口类型增加对应的接口类型的路由接口。
可选地,路由接口的接口类型包括物理路由接口,根据接口类型增加对应的接口类型的路由接口,包括:
当路由接口的接口类型为物理路由接口时,通过ACL模块以增加接口类型为物理路由接口的路由接口。
可选地,路由接口的接口类型包括虚拟路由接口,根据接口类型增加对应的接口类型的路由接口,包括:
当路由接口的接口类型为虚拟路由接口时,根据接口类型以增加接口类型为虚拟路由接口的路由接口。
可选地,交换机用于进行报文的转发,报文的转发类型包括二层转发和三层转发。
可选地,交换机上的路由MAC地址管理表用于判断报文是否为合法的三层转发报文。
可选地,路由MAC地址管理表包含路由MAC地址,方法还包括:
根据路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型以对报文进行相应转发。
可选地,根据路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型以对报文进行相应转发,包括:
当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发;
当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
可选地,交换机包含入端口号,方法还包括:
当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型。
可选地,当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型,包括:
当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发;
当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
可选地,方法还包括:
当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断报文的转发类型。
可选地,当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断报文的转发类型,包括:
当需要进行转发的报文对应的报文VLAN和报文目的MAC地址一致时,交换机对报文进行三层转发;
当需要进行转发的报文对应的报文VLAN和报文目的MAC地址不一致时,交换机对报
文进行二层转发。
可选地,交换机中包含软件,软件用于控制交换机中的硬件,方法还包括:
在增加路由接口时,软件向硬件下发路由MAC地址管理表;
当路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量时,通过软件创建针对ACL模块的ACL表下发到硬件,并创建软链表。
可选地,软链表用于管理ACL表。
可选地,方法还包括:
当删除路由接口时,根据软链表确认需要删除的路由接口的路由MAC地址是否存储于ACL表,得到匹配结果;
根据匹配结果,对路由接口进行处理。
可选地,根据匹配结果,对路由接口进行处理,包括:
若需要删除的路由接口的路由MAC地址存储于ACL表,删除ACL表对应的软链表;
若需要删除的路由接口的路由MAC地址不存储于ACL表,则从路由MAC地址管理表中查找需要删除的路由接口的路由MAC地址以删除路由接口的路由MAC地址。
可选地,方法还包括:
当删除路由接口的路由MAC地址时,将ACL表对应的软链表的表头转移至MAC地址管理表。
可选地,路由接口为路由MAC地址管理表中的索引,路由接口与芯片路由MAC地址管理表一一对应。
本申请实施例还公开了一种路由MAC地址的管理装置,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,装置包括:
硬件表项资源数量确定模块,用于响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量;
芯片路由MAC地址管理表添加模块,用于若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表;
路由接口增加模块,用于若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。
可选地,路由接口增加模块具体用于:
判断路由接口的接口类型;
根据接口类型增加对应的接口类型的路由接口。
可选地,路由接口的接口类型包括物理路由接口,装置还包括:
当路由接口的接口类型为物理路由接口时,通过ACL模块以增加接口类型为物理路由接口的路由接口。
可选地,路由接口的接口类型包括虚拟路由接口,装置还包括:
当路由接口的接口类型为虚拟路由接口时,根据接口类型以增加接口类型为虚拟路由接口的路由接口。
可选地,路由MAC地址管理表包含路由MAC地址,装置还包括:
根据路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断报
文的转发类型以对报文进行相应转发。
可选地,装置还包括:
当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发;
当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
可选地,交换机包含入端口号,装置还包括:
当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型。
可选地,装置还包括:
当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发;
当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
可选地,装置还包括:
当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断报文的转发类型。
可选地,装置还包括:
当需要进行转发的报文对应的报文VLAN和报文目的MAC地址一致时,交换机对报文进行三层转发;
当需要进行转发的报文对应的报文VLAN和报文目的MAC地址不一致时,交换机对报文进行二层转发。
可选地,交换机中包含软件,软件用于控制交换机中的硬件,装置还包括:
在增加路由接口时,软件向硬件下发路由MAC地址管理表;
当路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量时,通过软件创建针对ACL模块的ACL表下发到硬件,并创建软链表。
可选地,装置还包括:
当删除路由接口时,根据软链表确认需要删除的路由接口的路由MAC地址是否存储于ACL表,得到匹配结果;
根据匹配结果,对路由接口进行处理。
可选地,装置还包括:
若需要删除的路由接口的路由MAC地址存储于ACL表,删除ACL表对应的软链表;
若需要删除的路由接口的路由MAC地址不存储于ACL表,则从路由MAC地址管理表中查找需要删除的路由接口的路由MAC地址以删除路由接口的路由MAC地址。
可选地,装置还包括:
当删除路由接口的路由MAC地址时,将ACL表对应的软链表的表头转移至MAC地址管理表。
本申请实施例还公开了一种电子设备,包括处理器、通信接口、存储器和通信总线,其中,处理器、通信接口以及存储器通过通信总线完成相互间的通信;
存储器,用于存放计算机程序;
处理器,用于执行存储器上所存放的程序时,实现如本申请实施例的方法。
本申请实施例还公开了一种计算机非易失性可读存储介质,其上存储有指令,当由一个或多个处理器执行时,使得处理器执行如本申请实施例的方法。
本申请实施例包括以下优点:
在本申请实施例中,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。在本申请实施例中,在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
图1是本申请实施例中提供的一种路由MAC地址的管理方法的步骤流程图;
图2是本申请实施例中提供的一种路由MAC地址的管理的流程示意图;
图3是本申请实施例中提供的一种调整路由MAC地址管理表和ACL表的流程示意图;
图4是本申请实施例中提供的一种路由MAC地址的管理装置的结构框图;
图5是本申请实施例中提供的一种计算机非易失性可读存储介质的结构示意图;
图6是实现本申请各个实施例的一种电子设备的硬件结构示意图。
为使本申请的上述目的、特征和优点能够更加明显易懂,下面结合附图和具体实施方式对本申请作进一步详细的说明。
为了使本领域技术人员更好地理解本申请实施例的技术方案,下面对本申请实施例中涉及的部分技术特征进行解释、说明:
ACL(Access Control Lists访问控制列表),其为交换机常用的一种功能,可以控制报文的各种行为,在交换芯片的报文处理流水线上有很重要的地位,具体地,其为一种基于包过滤的访问控制技术,其可以根据设定的条件对接口上的数据包进行过滤,允许其通过或丢弃,访问控制列表被广泛地应用于路由器和三层交换机,借助于访问控制列表,可以有效地控制用户对网络的访问,从而最大程度地保障网络安全。
VLAN(Virtual Local Area Network虚拟局域网),其为一组逻辑上的设备和用户,这些设和用备户并不受物理位置的限制,可以根据功能、部门及应用等因素将它们组织起来,相互之间的通信好比在同一个网段中一样,其可以为信息业务和子业务、以及信息业务间提供一个相符合业务结构的虚拟网络拓扑架构并实现访问控制功能,与传统的局域网技术相比较,VLAN技术更加灵活。
作为一种示例,在管理交换机的路由MAC地址时,现有技术方案对于两种类型的路由接口的MAC地址管理,均采用逐一下发芯片路由MAC管理表,使得路由接口与芯片路由
MAC地址管理表一一对应;其中,当前主流白盒交换机解决方案所使用的交换芯片,路由MAC地址管理表规格均在两千上下,但是用户对于路由接口的数量需求已达到四千左右,按照传统的路由接口与芯片路由MAC表一一对应的方式进行管理,硬件资源已经限制了路由接口数量,导致不能满足用户的配置需求。
对此,本申请的核心申请点之一在于应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。在本申请实施例中,在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
参照图1,示出了本申请实施例中提供的一种路由MAC地址的管理方法的步骤流程图,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,具体可以包括如下步骤:
步骤101,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量;
其中,对于交换机,在本申请实施例中,其主要为采用三层交换机,其可以支持路由功能,其可以用于进行报文的转发,在三层交换机中,报文的转发类型可以包括二层转发和三层转发,即三层交换机可以用于对报文进行二层转发和三层转发;其中,当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发,当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
其中,对于报文,其为网络中交换与传输的数据单元,即站点一次性要发送的数据块,报文包含了将要发送的完整的数据信息,其长短很不一致,长度不限且可变,可以理解的是,其可以为交换机连接的设备通过交换机向另一设备发送的数据。
对于MAC地址,其为设备唯一的网络标识,可以在路由器中绑定MAC地址来限制登录路由器的设备;其中,路由MAC地址为三层交换机中的MAC地址,在三层交换机中存在多个端口,每个端口都可以对应存在一个端口MAC地址,因此,路由MAC地址可以包含端口MAC地址。
对于路由MAC地址管理表,其为交换机的软件上用于控制芯片路由MAC地址管理表的软件表项,其可以用于判断报文是否为合法的三层转发报文,其中,路由MAC地址管理表包含硬件表项资源。
对于硬件表项资源,其为针对交换机中芯片的表项资源,硬件表项资源可以和路由MAC地址相对应;对于ACL模块,亦可称之为访问控制列表模块,其可以控制报文进行转发,能够支持三层交换机进行三层转发,其中,访问控制列表可以根据设定的条件对接口上的数据包进行过滤,允许其通过或丢弃,其被广泛地应用于路由器和三层交换机,借助于访问控制列表,可以有效地控制用户对网络的访问,从而最大程度地保障网络安全。
对于路由接口,其可以理解为路由MAC地址管理表中的索引,其中,路由接口与芯片路由MAC地址管理表一一对应,具体地,每一个路由接口可以和芯片路由MAC地址管理表中的一条表项资源相对应。
对于预设数量,其为人工进行设置的路由接口的数量,本领域技术人员可以根据实际情况进行设置,本申请实施例对此不作限制。
在本申请实施例中,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,从而可以根据匹配的结果对路由MAC地址进行管理。
步骤102,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表;
其中,对于芯片路由MAC地址管理表,其为交换机的交换芯片中的硬件表项资源,其可以与路由接口一一对应,具体地,每一个路由接口可以和芯片路由MAC地址管理表中的一条表项资源相对应。
在本申请实施例中,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表。
步骤103,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。
在具体实现中,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
在本申请实施例中,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。在本申请实施例中,在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
在一种可选实施例中,步骤103、若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口,包括:
判断路由接口的接口类型;
根据接口类型增加对应的接口类型的路由接口。
其中,对于MAC地址,其为设备唯一的网络标识,可以在路由器中绑定MAC地址来限制登录路由器的设备;其中,路由MAC地址为三层交换机中的MAC地址,在三层交换机中存在多个端口,每个端口都可以对应存在一个端口MAC地址,因此,路由MAC地址可以包
含端口MAC地址;对于路由MAC地址管理表,其为交换机的软件上用于控制芯片路由MAC地址管理表的软件表项,其可以用于判断报文是否为合法的三层转发报文,其中,路由MAC地址管理表包含硬件表项资源。
对于硬件表项资源,其为针对交换机中芯片的表项资源,硬件表项资源可以和路由MAC地址相对应;对于ACL模块,亦可称之为访问控制列表模块,其可以控制报文进行转发,能够支持三层交换机进行三层转发,其中,访问控制列表可以根据设定的条件对接口上的数据包进行过滤,允许其通过或丢弃,其被广泛地应用于路由器和三层交换机,借助于访问控制列表,可以有效地控制用户对网络的访问,从而最大程度地保障网络安全。
对于路由接口,其可以理解为路由MAC地址管理表中的索引,其中,路由接口与芯片路由MAC地址管理表一一对应,具体地,每一个路由接口可以和芯片路由MAC地址管理表中的一条表项资源相对应。
对于预设数量,其为人工进行设置的路由接口的数量,本领域技术人员可以根据实际情况进行设置,本申请实施例对此不作限制。
对于接口类型,其主要为交换机中存的两种类型的路由接口,主要包含物理路由接口和虚拟路由接口两种,具体地,一种为设备物理端口,一种为虚拟的三层路由端口,其中,主要针对于两种类型的路由接口的MAC地址进行管理。
可选地,当路由接口的接口类型为物理路由接口时,通过ACL模块以增加接口类型为物理路由接口的路由接口,当路由接口的接口类型为虚拟路由接口时,根据接口类型以增加接口类型为虚拟路由接口的路由接口。
参照图2,示出了本申请实施例中提供的一种路由MAC地址的管理的流程示意图,如图2中所示,当用户配置交换机的路由接口时,首先先判断路由MAC地址管理表的硬件表项资源是否可以满足用户设置的路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则判断路由接口的接口类型,当路由接口的接口类型为物理路由接口时,通过ACL模块以增加接口类型为物理路由接口的路由接口,当路由接口的接口类型为虚拟路由接口时,根据接口类型以增加接口类型为虚拟路由接口的路由接口。在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
在一种示例中,假设路由MAC地址管理表可以支持到2000的路由接口规格,当添加ACL模块之后,其可以支持到40000规格的虚拟路由接口和30个物理路由接口,具体地,当用户创建4000虚拟路由接口,设备使用了满规格的路由MAC地址管理表(2000),同时可以通过ACL模块创建2000个虚拟路由接口,并且可以支持用户三层业务转发功能;在另一种示例中,假设用户创建了2000个虚拟路由接口和20个物理路由接口,设备使用了满规格的路由MAC地址管理表(2000),同时可以通过ACL模块创建20个物理路由接口,并且可以支持用户三层业务转发功能。在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对
于交换机的三层路由接口的使用需求。
可选地,当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型,其中,当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发,当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。可以理解的是,在ACL模块增加接口类型为物理路由接口的路由接口时,ACL的配置路由接口的规则为通过交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址进行匹配。
可选地,当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN(Virtual Local Area Network虚拟局域网)和报文目的MAC地址的关系,判断报文的转发类型,其中,当需要进行转发的报文对应的报文VLAN和报文目的MAC地址一致时,交换机对报文进行三层转发,当需要进行转发的报文对应的报文VLAN和报文目的MAC地址不一致时,交换机对报文进行二层转发。可以理解的是,在ACL模块增加接口类型为虚拟路由接口的路由接口时,ACL的配置路由接口的规则为通过需要进行转发的报文对应的报文VLAN和报文目的MAC地址进行匹配。
在本申请实施例中,当用户配置交换机的路由接口时,首先先判断路由MAC地址管理表的硬件表项资源是否可以满足用户设置的路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则判断路由接口的接口类型,当路由接口的接口类型为物理路由接口时,通过ACL模块以增加接口类型为物理路由接口的路由接口,当路由接口的接口类型为虚拟路由接口时,根据接口类型以增加接口类型为虚拟路由接口的路由接口。在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
在一种可选实施例中,路由MAC地址管理表包含路由MAC地址,方法还包括:
根据路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型以对报文进行相应转发。
可选地,当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发,当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
其中,对于转发类型,其可以包括二次转发和三次转发,即三层交换机可以用于对报文进行二层转发和三层转发;其中,当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发,当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发,需要说明的是,这是在没有增加ACL模块时对报文进行的转发。
其中,对于报文,其为网络中交换与传输的数据单元,即站点一次性要发送的数据块,报文包含了将要发送的完整的数据信息,其长短很不一致,长度不限且可变,可以理解的是,其可以为交换机连接的设备通过交换机向另一设备发送的数据。
对于MAC地址,其为设备唯一的网络标识,可以在路由器中绑定MAC地址来限制登录路由器的设备;其中,路由MAC地址为三层交换机中的MAC地址,在三层交换机中存在多个端口,每个端口都可以对应存在一个端口MAC地址,因此,路由MAC地址可以包含端口MAC地址。
对于路由MAC地址管理表,其为交换机的软件上用于控制芯片路由MAC地址管理表的软件表项,其可以用于判断报文是否为合法的三层转发报文,其中,路由MAC地址管理表包含硬件表项资源。
可选地,可选地,当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型,其中,当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发,当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。可以理解的是,在ACL模块增加接口类型为物理路由接口的路由接口时,ACL的配置路由接口的规则为通过交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址进行匹配,对于ACL的配置操作,其可以更改报文转发为三层转发。
可选地,当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断报文的转发类型,其中,当需要进行转发的报文对应的报文VLAN和报文目的MAC地址一致时,交换机对报文进行三层转发,当需要进行转发的报文对应的报文VLAN和报文目的MAC地址不一致时,交换机对报文进行二层转发。可以理解的是,在ACL模块增加接口类型为虚拟路由接口的路由接口时,ACL的配置路由接口的规则为通过需要进行转发的报文对应的报文VLAN和报文目的MAC地址进行匹配,对于ACL的配置操作,其可以更改报文转发为三层转发。
在一种可选实施例中,交换机中包含软件,软件用于控制交换机中的硬件,方法还包括:
在增加路由接口时,软件向硬件下发路由MAC地址管理表;
当路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量时,通过软件创建针对ACL模块的ACL表下发到硬件,并创建软链表。
其中,对于ACL表,其可以用于存储路由MAC地址;对于软链表,其可以用于管理ACL表。
可选地,当需要删除路由接口时,可以根据软链表确认需要删除的路由接口的路由MAC地址是否存储于ACL表,若需要删除的路由接口的路由MAC地址存储于ACL表,则可以删除ACL表对应的软链表;若需要删除的路由接口的路由MAC地址不存储于ACL表,则从路由MAC地址管理表中查找需要删除的路由接口的路由MAC地址以删除路由接口的路由MAC地址,同时,将ACL表对应的软链表的表头转移至MAC地址管理表。
参照图3,示出了本申请实施例中提供的一种调整路由MAC地址管理表和ACL表的流程示意图,如图3中所示,在用户添加路由口过程中,由交换机中的上层软件向硬件下发有限的路由MAC地址管理表,当路由MAC地址管理表满时,即路由MAC地址管理表中的硬件表项资源用完时,软件创建ACL表项下发到硬件,同时创建软链表,软链表用于管理ACL表项。在删除路由口的过程中,首先需要查找软链表,确认要删除的路由接口的MAC地址是
否下发在ACL表中,若要删除的路由接口的MAC地址在下发的ACL表中,则删除ACL表对应的软链表,释放ACL表中的资源,若要删除的路由接口的MAC地址不在下发的ACL表中,则从路由MAC地址管理表查找需删除的路由接口的MAC地址以进行删除,同时将ACL表中的链表头搬移至路由MAC地址管理表中,实现了动态调整路由MAC地址管理表和ACL表中的资源,并对路由MAC地址进行有效管理。
在本申请实施例中,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量,若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表,若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。在本申请实施例中,在配置路由接口时,通过添加芯片路由MAC地址管理表和根据ACL模块增加路由接口的方法,即通过使用现有规格的转发芯片的条件下,通过结合芯片ACL的功能使用,扩大了设备对于交换机的路由接口的支持数量,最大限度的满足了用户对于交换机的三层路由接口的使用需求。
需要说明的是,对于方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请实施例并不受所描述的动作顺序的限制,因为依据本申请实施例,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例属于优选实施例,所涉及的动作并不一定是本申请实施例所必须的。
参照图4,示出了本申请实施例中提供的一种路由MAC地址的管理装置的结构框图,应用于交换机,交换机包含路由MAC地址管理表,路由MAC地址管理表包含硬件表项资源,其中,交换机设置有ACL模块,具体可以包括如下模块:
硬件表项资源数量确定模块401,用于响应于配置路由接口的操作,确定路由MAC地址管理表的硬件表项资源是否满足路由接口的预设数量;
芯片路由MAC地址管理表添加模块402,用于若路由MAC地址管理表的硬件表项资源满足路由接口的预设数量,则添加芯片路由MAC地址管理表;
路由接口增加模块403,用于若路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量,则根据ACL模块增加路由接口。
在一种可选实施例中,路由接口增加模块403具体用于:
判断路由接口的接口类型;
根据接口类型增加对应的接口类型的路由接口。
在一种可选实施例中,路由接口的接口类型包括物理路由接口,装置还包括:
当路由接口的接口类型为物理路由接口时,通过ACL模块以增加接口类型为物理路由接口的路由接口。
在一种可选实施例中,路由接口的接口类型包括虚拟路由接口,装置还包括:
当路由接口的接口类型为虚拟路由接口时,根据接口类型以增加接口类型为虚拟路由接口的路由接口。
在一种可选实施例中,路由MAC地址管理表包含路由MAC地址,装置还包括:
根据路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断报文
的转发类型以对报文进行相应转发。
在一种可选实施例中,装置还包括:
当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发;
当路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
在一种可选实施例中,交换机包含入端口号,装置还包括:
当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断报文的转发类型。
在一种可选实施例中,装置还包括:
当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址一致时,交换机对报文进行三层转发;
当交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址不一致时,交换机对报文进行二层转发。
在一种可选实施例中,装置还包括:
当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断报文的转发类型。
在一种可选实施例中,装置还包括:
当需要进行转发的报文对应的报文VLAN和报文目的MAC地址一致时,交换机对报文进行三层转发;
当需要进行转发的报文对应的报文VLAN和报文目的MAC地址不一致时,交换机对报文进行二层转发。
在一种可选实施例中,交换机中包含软件,软件用于控制交换机中的硬件,装置还包括:
在增加路由接口时,软件向硬件下发路由MAC地址管理表;
当路由MAC地址管理表的硬件表项资源不满足路由接口的预设数量时,通过软件创建针对ACL模块的ACL表下发到硬件,并创建软链表。
在一种可选实施例中,装置还包括:
当删除路由接口时,根据软链表确认需要删除的路由接口的路由MAC地址是否存储于ACL表,得到匹配结果;
根据匹配结果,对路由接口进行处理。
在一种可选实施例中,装置还包括:
若需要删除的路由接口的路由MAC地址存储于ACL表,删除ACL表对应的软链表;
若需要删除的路由接口的路由MAC地址不存储于ACL表,则从路由MAC地址管理表中查找需要删除的路由接口的路由MAC地址以删除路由接口的路由MAC地址。
在一种可选实施例中,装置还包括:
当删除路由接口的路由MAC地址时,将ACL表对应的软链表的表头转移至MAC地址管理表。
对于装置实施例而言,由于其与方法实施例基本相似,所以描述的比较简单,相关之处
参见方法实施例的部分说明即可。
另外,本申请实施例还提供了一种电子设备,包括:处理器,存储器,存储在存储器上并可在处理器上运行的计算机程序,该计算机程序被处理器执行时实现上述路由MAC地址的管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。
图5是本申请实施例中提供的一种计算机非易失性可读存储介质的结构示意图。
本申请实施例还提供了一种计算机非易失性可读存储介质501,计算机非易失性可读存储介质501上存储有计算机程序,计算机程序被处理器执行时实现上述路由MAC地址的管理方法实施例的各个过程,且能达到相同的技术效果,为避免重复,这里不再赘述。其中,计算机非易失性可读存储介质501,如只读存储器(Read-Only Memory,简称ROM)、随机存取存储器(Random Access Memory,简称RAM)、磁碟或者光盘等。
图6为实现本申请各个实施例的一种电子设备的硬件结构示意图。
该电子设备600包括但不限于:射频单元601、网络模块602、音频输出单元603、输入单元604、传感器605、显示单元606、用户输入单元607、接口单元608、存储器609、处理器610、以及电源611等部件。本领域技术人员可以理解,图6中示出的电子设备结构并不构成对电子设备的限定,电子设备可以包括比图示更多或更少的部件,或者组合某些部件,或者不同的部件布置。在本申请实施例中,电子设备包括但不限于手机、平板电脑、笔记本电脑、掌上电脑、车载终端、可穿戴设备、以及计步器等。
应理解的是,本申请实施例中,射频单元601可用于收发信息或通话过程中,信号的接收和发送,具体的,将来自基站的下行数据接收后,给处理器610处理;另外,将上行的数据发送给基站。通常,射频单元601包括但不限于天线、至少一个放大器、收发信机、耦合器、低噪声放大器、双工器等。此外,射频单元601还可以通过无线通信系统与网络和其他设备通信。
电子设备通过网络模块602为用户提供了无线的宽带互联网访问,如帮助用户收发电子邮件、浏览网页和访问流式媒体等。
音频输出单元603可以将射频单元601或网络模块602接收的或者在存储器609中存储的音频数据转换成音频信号并且输出为声音。而且,音频输出单元603还可以提供与电子设备600执行的特定功能相关的音频输出(例如,呼叫信号接收声音、消息接收声音等等)。音频输出单元603包括扬声器、蜂鸣器以及受话器等。
输入单元604用于接收音频或视频信号。输入单元604可以包括图形处理器(Graphics Processing Unit,GPU)6041和麦克风6042,图形处理器6041对在视频捕获模式或图像捕获模式中由图像捕获装置(如摄像头)获得的静态图片或视频的图像数据进行处理。处理后的图像帧可以显示在显示单元606上。经图形处理器6041处理后的图像帧可以存储在存储器609(或其它存储介质)中或者经由射频单元601或网络模块602进行发送。麦克风6042可以接收声音,并且能够将这样的声音处理为音频数据。处理后的音频数据可以在电话通话模式的情况下转换为可经由射频单元601发送到移动通信基站的格式输出。
电子设备600还包括至少一种传感器605,比如光传感器、运动传感器以及其他传感器。具体地,光传感器包括环境光传感器及接近传感器,其中,环境光传感器可根据环境光线的明暗来调节显示面板6061的亮度,接近传感器可在电子设备600移动到耳边时,关闭显示面板6061和/或背光。作为运动传感器的一种,加速计传感器可检测各个方向上(一般为三
轴)加速度的大小,静止时可检测出重力的大小及方向,可用于识别电子设备姿态(比如横竖屏切换、相关游戏、磁力计姿态校准)、振动识别相关功能(比如计步器、敲击)等;传感器605还可以包括指纹传感器、压力传感器、虹膜传感器、分子传感器、陀螺仪、气压计、湿度计、温度计、红外线传感器等,在此不再赘述。
显示单元606用于显示由用户输入的信息或提供给用户的信息。显示单元606可包括显示面板6061,可以采用液晶显示器(Liquid Crystal Display,LCD)、有机发光二极管(Organic Light-Emitting Diode,OLED)等形式来配置显示面板6061。
用户输入单元607可用于接收输入的数字或字符信息,以及产生与电子设备的用户设置以及功能控制有关的键信号输入。具体地,用户输入单元607包括触控面板6071以及其他输入设备6072。触控面板6071,也称为触摸屏,可收集用户在其上或附近的触摸操作(比如用户使用手指、触笔等任何适合的物体或附件在触控面板6071上或在触控面板6071附近的操作)。触控面板6071可包括触摸检测装置和触摸控制器两个部分。其中,触摸检测装置检测用户的触摸方位,并检测触摸操作带来的信号,将信号传送给触摸控制器;触摸控制器从触摸检测装置上接收触摸信息,并将它转换成触点坐标,再送给处理器610,接收处理器610发来的命令并加以执行。此外,可以采用电阻式、电容式、红外线以及表面声波等多种类型实现触控面板6071。除了触控面板6071,用户输入单元607还可以包括其他输入设备6072。具体地,其他输入设备6072可以包括但不限于物理键盘、功能键(比如音量控制按键、开关按键等)、轨迹球、鼠标、操作杆,在此不再赘述。
进一步的,触控面板6071可覆盖在显示面板6061上,当触控面板6071检测到在其上或附近的触摸操作后,传送给处理器610以确定触摸事件的类型,随后处理器610根据触摸事件的类型在显示面板6061上提供相应的视觉输出。虽然在图6中,触控面板6071与显示面板6061是作为两个独立的部件来实现电子设备的输入和输出功能,但是在某些实施例中,可以将触控面板6071与显示面板6061集成而实现电子设备的输入和输出功能,具体此处不做限定。
接口单元608为外部装置与电子设备600连接的接口。例如,外部装置可以包括有线或无线头戴式耳机端口、外部电源(或电池充电器)端口、有线或无线数据端口、存储卡端口、用于连接具有识别模块的装置的端口、音频输入/输出(I/O)端口、视频I/O端口、耳机端口等等。接口单元608可以用于接收来自外部装置的输入(例如,数据信息、电力等等)并且将接收到的输入传输到电子设备600内的一个或多个元件或者可以用于在电子设备600和外部装置之间传输数据。
存储器609可用于存储软件程序以及各种数据。存储器609可主要包括存储程序区和存储数据区,其中,存储程序区可存储操作系统、至少一个功能所需的应用程序(比如声音播放功能、图像播放功能等)等;存储数据区可存储根据手机的使用所创建的数据(比如音频数据、电话本等)等。此外,存储器609可以包括高速随机存取存储器,还可以包括非易失性存储器,例如至少一个磁盘存储器件、闪存器件、或其他易失性固态存储器件。
处理器610是电子设备的控制中心,利用各种接口和线路连接整个电子设备的各个部分,通过运行或执行存储在存储器609内的软件程序和/或模块,以及调用存储在存储器609内的数据,执行电子设备的各种功能和处理数据,从而对电子设备进行整体监控。处理器610可包括一个或多个处理单元;优选的,处理器610可集成应用处理器和调制解调处理器,其中,应用处理器主要处理操作系统、用户界面和应用程序等,调制解调处理器主要处理无
线通信。可以理解的是,上述调制解调处理器也可以不集成到处理器610中。
电子设备600还可以包括给各个部件供电的电源611(比如电池),优选的,电源611可以通过电源管理系统与处理器610逻辑相连,从而通过电源管理系统实现管理充电、放电、以及功耗管理等功能。
另外,电子设备600包括一些未示出的功能模块,在此不再赘述。
需要说明的是,在本文中,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者装置不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者装置所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括该要素的过程、方法、物品或者装置中还存在另外的相同要素。
通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到上述实施例方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端(可以是手机,计算机,服务器,空调器,或者网络设备等)执行本申请各个实施例的方法。
上面结合附图对本申请的实施例进行了描述,但是本申请并不局限于上述的具体实施方式,上述的具体实施方式仅仅是示意性的,而不是限制性的,本领域的普通技术人员在本申请的启示下,在不脱离本申请宗旨和权利要求所保护的范围情况下,还可做出很多形式,均属于本申请的保护之内。
本领域普通技术人员可以意识到,结合本申请实施例中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的实施例中,应该理解到,所揭露的装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个
计算机非易失性可读存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、ROM、RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以权利要求的保护范围为准。
Claims (21)
- 一种路由MAC地址的管理方法,其特征在于,应用于交换机,所述交换机包含路由MAC地址管理表,所述路由MAC地址管理表包含硬件表项资源,其中,所述交换机设置有ACL模块,所述方法包括:响应于配置路由接口的操作,确定所述路由MAC地址管理表的硬件表项资源是否满足所述路由接口的预设数量;若所述路由MAC地址管理表的硬件表项资源满足所述路由接口的预设数量,则添加芯片路由MAC地址管理表;若所述路由MAC地址管理表的硬件表项资源不满足所述路由接口的预设数量,则根据所述ACL模块增加路由接口。
- 根据权利要求1所述的方法,其特征在于,所述若所述路由MAC地址管理表的硬件表项资源不满足所述路由接口的预设数量,则根据所述ACL模块增加路由接口,包括:判断所述路由接口的接口类型;根据所述接口类型增加对应的所述接口类型的路由接口。
- 根据权利要求2所述的方法,其特征在于,所述路由接口的接口类型包括物理路由接口,所述根据所述接口类型增加对应的所述接口类型的路由接口,包括:当所述路由接口的接口类型为所述物理路由接口时,通过所述ACL模块以增加接口类型为所述物理路由接口的路由接口。
- 根据权利要求2所述的方法,其特征在于,所述路由接口的接口类型包括虚拟路由接口,所述根据所述接口类型增加对应的所述接口类型的路由接口,包括:当所述路由接口的接口类型为所述虚拟路由接口时,根据所述接口类型以增加接口类型为所述虚拟路由接口的路由接口。
- 根据权利要求1所述的方法,其特征在于,所述交换机用于进行报文的转发,所述报文的转发类型包括二层转发和三层转发。
- 根据权利要求5所述的方法,其特征在于,所述交换机上的所述路由MAC地址管理表用于判断所述报文是否为合法的三层转发报文。
- 根据权利要求6所述的方法,其特征在于,所述路由MAC地址管理表包含路由MAC地址,所述方法还包括:根据所述路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断所述报文的转发类型以对所述报文进行相应转发。
- 根据权利要求7所述的方法,其特征在于,所述根据所述路由MAC地址与需要进行转发的报文对应的报文目的MAC地址的关系,判断所述报文的转发类型以对所述报文进行相应转发,包括:当所述路由MAC地址与需要进行转发的报文对应的报文目的MAC地址一致时,所述交换机对所述报文进行三层转发;当所述路由MAC地址与需要进行转发的报文对应的报文目的MAC地址不一致时,所述交换机对所述报文进行二层转发。
- 根据权利要求2-8任一项所述的方法,其特征在于,所述交换机包含入端口号, 所述方法还包括:当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断所述报文的转发类型。
- 根据权利要求9所述的方法,其特征在于,所述当通过ACL模块增加接口类型为物理路由接口的路由接口时,判断交换机上的端口号和需要进行转发的报文对应的报文目的MAC地址的关系,判断所述报文的转发类型,包括:当所述交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址一致时,所述交换机对所述报文进行三层转发;当所述交换机上的端口号与需要进行转发的报文对应的报文目的MAC地址不一致时,所述交换机对所述报文进行二层转发。
- 根据权利要求2-8任一项所述的方法,其特征在于,所述方法还包括:当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断所述报文的转发类型。
- 根据权利要求11所述的方法,其特征在于,所述当通过ACL模块增加接口类型为虚拟路由接口的路由接口时,判断需要进行转发的报文对应的报文VLAN和报文目的MAC地址的关系,判断所述报文的转发类型,包括:当需要进行转发的报文对应的报文VLAN和报文目的MAC地址一致时,所述交换机对所述报文进行三层转发;当需要进行转发的报文对应的报文VLAN和报文目的MAC地址不一致时,所述交换机对所述报文进行二层转发。
- 根据权利要求1所述的方法,其特征在于,所述交换机中包含软件,所述软件用于控制交换机中的硬件,所述方法还包括:在增加路由接口时,所述软件向所述硬件下发路由MAC地址管理表;当所述路由MAC地址管理表的硬件表项资源不满足所述路由接口的预设数量时,通过所述软件创建针对所述ACL模块的ACL表下发到所述硬件,并创建软链表。
- 根据权利要求13所述的方法,其特征在于,所述软链表用于管理所述ACL表。
- 根据权利要求13所述的方法,其特征在于,所述方法还包括:当删除所述路由接口时,根据所述软链表确认需要删除的所述路由接口的路由MAC地址是否存储于所述ACL表,得到匹配结果;根据所述匹配结果,对所述路由接口进行处理。
- 根据权利要求15所述的方法,其特征在于,所述根据所述匹配结果,对所述路由接口进行处理,包括:若需要删除的所述路由接口的路由MAC地址存储于所述ACL表,删除所述ACL表对应的软链表;若需要删除的所述路由接口的路由MAC地址不存储于所述ACL表,则从所述路由MAC地址管理表中查找需要删除的所述路由接口的路由MAC地址以删除所述路由接口的路由MAC地址。
- 根据权利要求16所述的方法,其特征在于,所述方法还包括:当删除所述路由接口的路由MAC地址时,将所述ACL表对应的软链表的表头转移 至所述MAC地址管理表。
- 根据权利要求1所述的方法,其特征在于,所述路由接口为所述路由MAC地址管理表中的索引,所述路由接口与所述芯片路由MAC地址管理表一一对应。
- 一种路由MAC地址的管理装置,其特征在于,应用于交换机,所述交换机包含路由MAC地址管理表,所述路由MAC地址管理表包含硬件表项资源,其中,所述交换机设置有ACL模块,所述装置包括:硬件表项资源数量确定模块,用于响应于配置路由接口的操作,确定所述路由MAC地址管理表的硬件表项资源是否满足所述路由接口的预设数量;芯片路由MAC地址管理表添加模块,用于若所述路由MAC地址管理表的硬件表项资源满足所述路由接口的预设数量,则添加芯片路由MAC地址管理表;路由接口增加模块,用于若所述路由MAC地址管理表的硬件表项资源不满足所述路由接口的预设数量,则根据所述ACL模块增加路由接口。
- 一种电子设备,其特征在于,包括处理器、通信接口、存储器和通信总线,其中,所述处理器、所述通信接口以及所述存储器通过所述通信总线完成相互间的通信;所述存储器,用于存放计算机程序;所述处理器,用于执行存储器上所存放的程序时,实现如权利要求1-18任一项所述的方法。
- 一种计算机非易失性可读存储介质,其特征在于,其上存储有指令,当由一个或多个处理器执行时,使得所述处理器执行如权利要求1-18任一项所述的方法。
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| US19/148,340 US20260113325A1 (en) | 2023-01-20 | 2023-09-26 | Routing mac address management method and apparatus, electronic device, and storage medium |
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN202310073627.9A CN115801709B (zh) | 2023-01-20 | 2023-01-20 | 路由mac地址的管理方法、装置、电子设备及存储介质 |
| CN202310073627.9 | 2023-01-20 |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2024152607A1 true WO2024152607A1 (zh) | 2024-07-25 |
Family
ID=85430269
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2023/121774 Ceased WO2024152607A1 (zh) | 2023-01-20 | 2023-09-26 | 路由mac地址的管理方法、装置、电子设备及存储介质 |
Country Status (3)
| Country | Link |
|---|---|
| US (1) | US20260113325A1 (zh) |
| CN (1) | CN115801709B (zh) |
| WO (1) | WO2024152607A1 (zh) |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119342086A (zh) * | 2024-12-18 | 2025-01-21 | 浙江大华技术股份有限公司 | 设备的连接方法和装置、存储介质及电子设备 |
Families Citing this family (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN115801709B (zh) * | 2023-01-20 | 2023-05-23 | 苏州浪潮智能科技有限公司 | 路由mac地址的管理方法、装置、电子设备及存储介质 |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103607479A (zh) * | 2013-10-31 | 2014-02-26 | 杭州华三通信技术有限公司 | 一种mac地址学习方法及pe设备 |
| US20200236041A1 (en) * | 2019-01-22 | 2020-07-23 | Vmware, Inc. | Host router in a virtual computing instance |
| CN112838993A (zh) * | 2019-11-22 | 2021-05-25 | 武汉神州数码云科网络技术有限公司 | 一种实现mac vlan动态下发的方法 |
| CN113709067A (zh) * | 2021-08-30 | 2021-11-26 | 苏州浪潮智能科技有限公司 | 一种多交换机的mac地址同步学习方法及相关装置 |
| CN115801709A (zh) * | 2023-01-20 | 2023-03-14 | 苏州浪潮智能科技有限公司 | 路由mac地址的管理方法、装置、电子设备及存储介质 |
Family Cites Families (7)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1103523C (zh) * | 2000-11-22 | 2003-03-19 | 华为技术有限公司 | 一体化的接入、业务、路由装置 |
| CN100544315C (zh) * | 2005-08-10 | 2009-09-23 | 中兴通讯股份有限公司 | 三层交换环境防止组播源侧流扩散的方法及其装置 |
| CN105072038B (zh) * | 2015-08-28 | 2018-12-21 | 华讯方舟科技有限公司 | 一种数据报文转发方法及装置 |
| CN108512779B (zh) * | 2017-02-24 | 2020-11-27 | 华为技术有限公司 | 控制信息传递方法、服务器和系统 |
| CN206533387U (zh) * | 2017-03-15 | 2017-09-29 | 北京华锐信通技术有限公司 | 一种具有扩展接口的交换机 |
| CN107294989B (zh) * | 2017-07-04 | 2020-02-11 | 杭州迪普科技股份有限公司 | 一种防arp网关欺骗的方法及装置 |
| CN216673008U (zh) * | 2021-12-29 | 2022-06-03 | 武汉三江中电科技有限责任公司 | 一种带高带宽电力载波通讯方式的数据汇聚系统 |
-
2023
- 2023-01-20 CN CN202310073627.9A patent/CN115801709B/zh active Active
- 2023-09-26 US US19/148,340 patent/US20260113325A1/en active Pending
- 2023-09-26 WO PCT/CN2023/121774 patent/WO2024152607A1/zh not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN103607479A (zh) * | 2013-10-31 | 2014-02-26 | 杭州华三通信技术有限公司 | 一种mac地址学习方法及pe设备 |
| US20200236041A1 (en) * | 2019-01-22 | 2020-07-23 | Vmware, Inc. | Host router in a virtual computing instance |
| CN112838993A (zh) * | 2019-11-22 | 2021-05-25 | 武汉神州数码云科网络技术有限公司 | 一种实现mac vlan动态下发的方法 |
| CN113709067A (zh) * | 2021-08-30 | 2021-11-26 | 苏州浪潮智能科技有限公司 | 一种多交换机的mac地址同步学习方法及相关装置 |
| CN115801709A (zh) * | 2023-01-20 | 2023-03-14 | 苏州浪潮智能科技有限公司 | 路由mac地址的管理方法、装置、电子设备及存储介质 |
Cited By (1)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN119342086A (zh) * | 2024-12-18 | 2025-01-21 | 浙江大华技术股份有限公司 | 设备的连接方法和装置、存储介质及电子设备 |
Also Published As
| Publication number | Publication date |
|---|---|
| US20260113325A1 (en) | 2026-04-23 |
| CN115801709B (zh) | 2023-05-23 |
| CN115801709A (zh) | 2023-03-14 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN102917326B (zh) | 双卡双通终端的通信方法、装置及双卡双通终端 | |
| CN108282759B (zh) | 一种业务处理方法及移动通信终端 | |
| WO2024152607A1 (zh) | 路由mac地址的管理方法、装置、电子设备及存储介质 | |
| WO2021136106A1 (zh) | 群组创建方法、电子设备及服务器 | |
| CN106502826A (zh) | 数据备份及传输方法及移动终端 | |
| CN111182580B (zh) | 业务传输方法、终端和网络侧设备 | |
| WO2021208815A1 (zh) | 业务处理方法、用户设备及计算机可读存储介质 | |
| CN106569910A (zh) | 数据备份及传输方法及移动终端 | |
| CN110138525A (zh) | 解调参考信号的配置方法、传输方法、终端及网络侧设备 | |
| CN106484326A (zh) | 一种数据传输处理方法及移动终端 | |
| CN106445743A (zh) | 数据备份传输方法及移动终端 | |
| JP7252259B2 (ja) | アクセス制御方法、メッセージ放送方法及び関連装置 | |
| CN114025215A (zh) | 文件处理方法、移动终端及存储介质 | |
| CN107145572A (zh) | 数据处理方法、装置、计算机设备及存储介质 | |
| CN106572163A (zh) | 一种数据迁移的方法及终端 | |
| CN106453571A (zh) | 一种数据迁移的方法及终端 | |
| JP7332688B2 (ja) | 受信方法、送信方法、端末及びネットワーク側機器 | |
| CN111343618A (zh) | 一种显示方法及电子设备 | |
| WO2024193076A1 (zh) | 跨集群访问虚拟ip地址方法、装置、电子设备及存储介质 | |
| WO2024139279A1 (zh) | 访问控制列表规则配置方法、装置、电子设备及存储介质 | |
| CN109495643B (zh) | 一对象多聊天框设置方法及终端 | |
| CN108319409B (zh) | 一种应用程序的控制方法及移动终端 | |
| WO2017076279A1 (zh) | 一种更新路由表项的方法、装置及系统 | |
| CN114272595B (zh) | 一种连招触控异常处理方法、设备及计算机可读存储介质 | |
| CN114302344B (zh) | 一种价签网络控制方法、系统、设备及存储介质 |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 23917075 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 23917075 Country of ref document: EP Kind code of ref document: A1 |