Enabling bulk release of multiple logins for server device
By generating and processing batch release messages in network devices, the problem of losing a large number of logout release messages in the DHCP architecture is solved, achieving efficient release of resources and saving of hardware resources.
Patent Information
- Application Number
- CN202310614652.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Priority Date
- 2023-03-24
- Filing Date
- 2023-05-29
- Publication Date
- 2024-09-24
AI Technical Summary
When the current client-server architecture used for DHCP handles a large number of login requests, a large number of logout release messages are generated, which are easily lost by DDOS defense mechanisms or CPS attacks, resulting in excessive consumption of network device hardware resources and inability to effectively release server devices. resource.
By implementing the generation and processing of bulk release messages in the network device, including the identifier and address of the network device or the group identifier of the endpoint device, determining component restart based on this, and providing the bulk release message to the server device to perform multiple logins. Single logout, reducing the number of logout release messages.
It effectively reduces the logout release messages flooding in the network, saves computing resources and network resources, and avoids the consumption of hardware processing resources due to lost messages.
Smart Images

Figure CN118694807A
Abstract
Description
Background Art
[0001] Dynamic Host Configuration Protocol (DHCP) is a network management protocol used on Internet Protocol (IP) networks to automatically assign IP addresses and other communication parameters to devices connected to the network using a client-server architecture. Summary of the invention
[0002] Some implementations described herein relate to a method. The method may include receiving multiple login requests for a server device from multiple endpoint devices, and establishing multiple logins with the server device based on the multiple login requests. The method may include generating a discovery message with a bulk release message, the bulk release message indicating that the network device supports bulk release and including an identifier of the network device in the bulk release message. The method may include determining whether an address of the network device is shared across interfaces of the network device with multiple endpoint devices. The method may include selectively: including the address of the network device in the bulk release message based on the address of the network device not being shared across interfaces of the network device, or including a group identifier for multiple endpoint devices in the bulk release message based on the address of the network device being shared across interfaces of the network device. The method may include determining that a restart of one or more components of the network device is to occur, and providing a bulk release message to the server device based on determining that a restart of one or more components of the network device is to occur.
[0003] Some implementations described herein relate to a network device. The network device may include one or more memories and one or more processors. The one or more processors may be configured to receive multiple login requests for a server device from multiple endpoint devices, and to establish multiple logins with the server device based on the multiple login requests. The one or more processors may be configured to include an identifier of the network device in a batch release message, the batch release message indicating that the network device supports batch release, and to determine whether the address of the network device is shared across interfaces of the network device and multiple endpoint devices. The one or more processors may be configured to selectively: include the address of the network device in a batch release message based on the address of the network device not being shared across interfaces of the network device, or include a group identifier for multiple endpoint devices in a batch release message based on the address of the network device being shared across interfaces of the network device. The one or more processors may be configured to determine that a restart of one or more components of the network device is to occur, and to provide a batch release message to the server device based on the determination that a restart of one or more components of the network device is to occur.
[0004] Some implementations described herein relate to a non-transitory computer-readable medium storing a set of instructions. The set of instructions, when executed by one or more processors of a network device, may cause the network device to receive multiple login requests for a server device from multiple endpoint devices, and to establish multiple logins with the server device based on the multiple login requests. The set of instructions, when executed by one or more processors of the network device, may cause the network device to generate a discovery message with a batch release message, the batch release message indicating that the network device supports batch release, and including an identifier of the network device in the batch release message. The set of instructions, when executed by one or more processors of the network device, may cause the network device to selectively: include the address of the network device in the batch release message based on the address of the network device not being shared across interfaces of the network device, or include a group identifier for multiple endpoint devices in the batch release message based on the address of the network device being shared across interfaces of the network device. The set of instructions, when executed by one or more processors of the network device, may cause the network device to provide a batch release message to the server device based on determining that a restart of one or more components of the network device is to occur, and perform a single logout for multiple logins based on the batch release message and based on the server device supporting batch release. BRIEF DESCRIPTION OF THE DRAWINGS
[0005] Figure 1A-1E is an illustration of an example associated with enabling batch release of multiple logins to a server device.
[0006] Figure 2 is an illustration of an example environment in which the systems and / or methods described herein may be implemented.
[0007] Figure 3 and Figure 4 yes Figure 2 An illustration of example components of one or more devices.
[0008] Figure 5 is a flow chart of an example process for enabling batch release of multiple logins to a server device. DETAILED DESCRIPTION
[0009] The following detailed description of example implementations refers to the accompanying drawings.The same reference numbers in different drawings may identify the same or similar elements.
[0010] The current client-server architecture for the Dynamic Host Configuration Protocol (DHCP) provides a network device (e.g., a broadband network gateway or a DHCP relay) between an endpoint device (e.g., a client) and a server device (e.g., a DHCP server). For example, the network device can support a large number (e.g., thousands) of endpoint devices and can receive a large number (e.g., thousands) of corresponding login requests from the endpoint devices. The network device can establish a large number (e.g., thousands) of corresponding logins with the server device based on the login requests so that the endpoint device can communicate with the server device. When one or more components of the network device (e.g., line cards, flexible physical interface card (PIC) concentrators, etc.) are restarted or power cycled, the network device may generate a large number (e.g., thousands) of logout release messages. The network device may attempt to provide a logout release message to the server device, but the logout release message may be discarded due to a distributed denial of service (DDOS) prevention mechanism, a cyber-physical system (CPS) attack prevention mechanism, etc.
[0011] Therefore, the current technology for providing a client-server architecture for DHCP consumes computing resources (e.g., processing resources, memory resources, communication resources, etc.), networking resources, etc., which are associated with the hardware processing resource consumption of the network device due to the generation of a large number of logout release messages, the loss of a large number of logout release messages due to a DDOS prevention mechanism or a CPS attack mechanism, the inability to release the resources of the server device due to the loss of a large number of logout release messages, etc.
[0012] Some implementations described herein relate to a network device that enables batch release of multiple logins for a server device. For example, the network device may receive multiple login requests for a server device from multiple endpoint devices, and may establish multiple logins with the server device based on the multiple login requests. The network device may generate a discovery message with a batch release message, the batch release message indicating that the network device supports batch release, and an identifier of the network device may be included in the batch release message. The network device may selectively include the address of the network device in the batch release message based on the address of the shared network device not being shared across the interfaces of the network device, or may include a group identifier for multiple endpoint devices in the batch release message based on the address of the network device being shared across the interfaces of the network device. The network device may provide a batch release message to the server device based on determining that a restart of one or more components of the network device is to occur, and may perform a single logout for multiple logins based on the batch release message and based on the server device supporting batch release.
[0013] In this way, the network device enables batch release of multiple logins for server devices. For example, by enabling batch release of multiple logins for server devices, the network device can reduce the number of logout release messages (e.g., DHCP logout release messages) flooded in the network. The network device can enable batch release of multiple logins of endpoint devices and server devices using the address and identifier of the network device, or a group identifier for the endpoint device and the identifier of the network device (e.g., instead of using individual identifiers of the endpoint devices). Therefore, the network device saves computing resources and network resources consumed by consuming hardware processing resources of the network device due to the generation of a large number of logout release messages, the loss of a large number of logout release messages due to a DDOS prevention mechanism or a CPS attack mechanism, the inability to release resources of the server device due to the loss of a large number of logout release messages, etc.
[0014] Figure 1A-1E is a schematic diagram of an example 100 associated with enabling batch release of multiple logins to a server device. Figure 1A-1E As shown, example 100 includes multiple endpoint devices, a server device, and a network with multiple network devices. In some implementations, the endpoint device may correspond to a DHCP client, the network device may correspond to a DHCP relay (e.g., a broadband network gateway), and the server device may correspond to a DHCP server. More details of the endpoint devices, server devices, networks, and network devices are provided elsewhere herein.
[0015] like Figure 1A As shown, and by reference numeral 105, a network device may receive multiple login requests for a server device from multiple endpoint devices. For example, users of the multiple endpoint devices may wish to communicate with the server device via the multiple endpoint devices to receive one or more services from the server device. In order to access the one or more services of the server device, the multiple endpoint devices may generate multiple login requests for logging into the server device. The multiple endpoint devices may provide the multiple login requests to the network, and the network device may receive the multiple login requests from the multiple endpoint devices. In some implementations, each of the multiple login requests may include an identifier of the server device, a request to log into the server device, an identifier of a service requested by the endpoint device, and the like. In some implementations, each of the multiple login requests is a DHCP discover, offer, request, and acknowledgement (DORA) request.
[0016] like Figure 1AAs further shown in the figure and by reference numeral 110, the network device can establish multiple logins with the server device based on the multiple login requests. For example, the network device can provide the multiple login requests to the server device, and the network device and the server device can establish the multiple logins based on the multiple login requests. In some implementations, the server device can receive the multiple login requests, and can approve the multiple login requests to establish the multiple logins between the multiple endpoint devices and the server device. The multiple logins can enable the multiple endpoint devices to communicate with the server device via the network (e.g., the network device) and receive one or more services from the server device.
[0017] like Figure 1A As further shown in the figure, and by reference numeral 115, the network device may generate a discovery message having a batch release flag (e.g., a message) indicating that the network device supports batch release. For example, the network device may generate a discovery message (e.g., an initial boot request message) having a batch release message, which indicates that the network device supports batch release of multiple logins with a server device. In some implementations, the batch release message may be a batch release flag. In some implementations, the batch release message may include a relay agent information option (e.g., referred to as "option 82"), which includes a first sub-option indicating that the network device supports batch release (e.g., and the server device supports processing batch release), and an identifier of the network device and an address of the network device or an identifier of the network device and a second sub-option of a group identifier of multiple endpoint devices. In some implementations, when generating the batch release message, the network device may generate the batch release message based on receiving multiple login requests for the server device.
[0018] like Figure 1A As further shown in FIG. 1 and by reference numeral 120, the network device may include an identifier of the network device in the batch release flag. For example, the network device may include the identifier of the network device in a second sub-option of the relay agent information option (e.g., batch release flag). In some implementations, the identifier of the network device may include a unique identifier of the network device, such as a serial number of the network device, a unique numeric or alphanumeric code of the network device, a model number of the network device, etc.
[0019] like Figure 1BAs shown, and by reference numeral 125, the network device may determine whether an address of the network device is shared across an interface of the network device with an endpoint device. For example, the network device may include multiple interfaces for communicating with multiple endpoint devices. The network device may determine whether an address of the network device is shared with multiple endpoint devices across two or more interfaces of the network device. In some implementations, the address of the network device may include a gateway Internet Protocol (IP) address of the network device. In some implementations, the network device may determine that the address of the network device is shared with multiple endpoint devices across an interface of the network device. Alternatively, the network device may determine that the address of the network device is not shared with multiple endpoint devices across an interface of the network device.
[0020] like Figure 1B As further shown in and by reference numeral 130, the network device may include the address of the network device in the batch release flag based on not sharing the address across interfaces. For example, when the network device determines not to share the address of the network device with multiple endpoint devices across the interface of the network device, the network device may include the address of the network device in the batch release flag. In some implementations, the network device may include the address of the network device in a second sub-option of the relay agent information option (e.g., batch release flag).
[0021] like Figure 1C As shown, and by reference numeral 135, the network device may include a group identifier for the plurality of endpoint devices in the bulk release flag based on sharing addresses across interfaces. For example, when the network device determines that an address of the network device is shared with the plurality of endpoint devices across interfaces of the network device, the network device may include the group identifier of the plurality of endpoint devices in the bulk release flag. In some implementations, the network device may include the group identifier of the plurality of endpoint devices in a second sub-option of a relay agent information option (e.g., bulk release flag). In some implementations, the group identifier of the plurality of endpoint devices may include a security gateway redundancy protocol (SGRP) identifier.
[0022] like Figure 1C As further shown in and by reference numeral 140, the network device may determine that a restart of one or more components of the network device is to occur. For example, the network device may determine whether a restart (or power cycle) of one or more components of the network device is to occur. In some implementations, one or more components of the network device may be scheduled to periodically restart (or power cycle) after a predetermined time period, may be scheduled to restart based on a command received by the network device, etc. In such implementations, the network device may determine that a restart of one or more components of the network device is to occur based on scheduling, receiving a command, etc. In some implementations, the one or more components of the network device may include one or more line cards of the network device, one or more flexible PIC concentrators of the network device, etc.
[0023] like Figure 1C As further shown in FIG. 1 and by reference numeral 145, the network device may provide a batch release flag to the server device. For example, the network device may attempt to perform a batch release based on determining that a restart of one or more components of the network device is about to occur. In some implementations, the network device may provide a batch release flag to the server device based on determining that a restart of one or more components of the network device is about to occur. The server device may receive the batch release flag from the network device.
[0024] like Figure 1C As further shown in and by reference numeral 150, the network device may perform a single logout for multiple logins based on a batch release flag and based on the server device supporting batch release. For example, the server device may provide a batch release flag response to the network device indicating that the server device supports batch release. In some implementations, the network device may perform a single logout for multiple logins based on a batch release flag and based on the server device supporting batch release. In some implementations, when an identifier and an address of the network device are provided to the server device via the batch release flag, the single logout may cause the server device to release multiple endpoint devices associated with the identifier of the network device and the address of the network device. Alternatively, when an identifier and a group identifier of the network device are provided to the server device via the batch release flag, the single logout may cause the server device to release multiple endpoint devices associated with the identifier of the network device and the group identifier of the multiple endpoint devices.
[0025] like Figure 1D As shown, and by reference numeral 155, the network device may perform multiple logouts for multiple logins based on the server device being unable to batch release. For example, the server device may provide a batch release flag response to the network device indicating that the server device does not support batch release. In some implementations, when the server device does not support batch release, the network device may perform multiple logouts for multiple logins. In such an implementation, the network device may utilize the addresses of multiple endpoint devices to perform multiple logouts for multiple logins.
[0026] Figure 1E It is a call flow diagram that describes the interaction between multiple endpoint devices, network devices, and server devices. Figure 1EAs shown in step 1, multiple endpoint devices can generate multiple login requests and can provide the multiple login requests to the network device. The network device can receive the multiple login requests. As shown in step 2, the network device can establish multiple logins with the server device based on the multiple login requests. As shown in step 3, the network device can determine that a restart of one or more components of the network device is to occur. As shown in step 4, the network device can perform a single logout for multiple logins based on a batch release flag (e.g., an address and identifier of the network device or a group identifier and identifier of the network device) and based on the server device supporting batch release.
[0027] In this way, the network device enables batch release of multiple logins for server devices. For example, by enabling batch release of multiple logins for server devices, the network device can reduce the number of logout release messages (e.g., DHCP logout release messages) flooded in the network. The network device can use the address and identifier of the network device, or the group identifier of the endpoint device and the identifier of the network device, to enable batch release of multiple logins of the endpoint device and the server device (e.g., instead of using individual identifiers of the endpoint devices). Therefore, the network device saves computing resources and network resources consumed by the hardware processing resources of the network device due to the generation of a large number of logout release messages, the loss of a large number of logout release messages due to a DDOS prevention mechanism or a CPS attack mechanism, the inability to release the resources of the server device due to the loss of a large number of logout release messages, etc.
[0028] As mentioned above, providing Figure 1A-1E As an example. Other examples may differ from the reference Figure 1A-1E As described. Figure 1A-1E The number and arrangement of devices shown in are provided as examples. Figure 1A-1E There may be more devices, fewer devices, different devices, or differently arranged devices than those shown in FIG. Figure 1A-1E Two or more of the devices shown in may be implemented in a single device, or Figure 1A-1E The single device shown in can be implemented as multiple distributed devices. Additionally or alternatively, Figure 1A-1E The device collection (e.g., one or more devices) shown in FIG. 1 may perform the operations described by Figure 1A-1E One or more functions performed by another set of devices shown in .
[0029] Figure 2 2 is an illustration of an example environment 200 in which the systems and / or methods described herein may be implemented. Figure 2As shown, environment 200 may include endpoint device 210, a set of network devices 220 (shown as network device 220-1 through network device 220-N), server device 230, and network 240. The devices of environment 200 may be interconnected via wired connections, wireless connections, or a combination of wired and wireless connections.
[0030] Endpoint device 210 includes one or more devices capable of receiving, generating, storing, processing, and / or providing information, such as the information described herein. For example, endpoint device 210 may include a mobile phone (e.g., a smartphone or wireless phone), a set-top box, a laptop computer, a tablet computer, a desktop computer, a handheld computer, a gaming device, a wearable communication device (e.g., a smart watch, smart glasses, a heart rate monitor, a fitness tracker, smart clothing, smart jewelry, or a head-mounted display), a network device (e.g., a router, a residential gateway, etc.), or a similar type of device. In some implementations, endpoint device 210 may receive network traffic from server device 230 via network 240 (e.g., by using network device 220 as an intermediary to route packets) and / or may provide network traffic to server device 230.
[0031] The network device 220 includes one or more devices capable of receiving, processing, storing, routing and / or providing services (e.g., packets or other information or metadata) in a manner described herein. For example, the network device 220 may include a router, such as a label switching router (LSR), a label edge router (LER), an ingress router, an egress router, a provider router (e.g., a provider edge router or a provider core router), a virtual router, a route reflector, a regional border router, or another type of router. Additionally or alternatively, the network device 220 may include a gateway, a switch, a firewall, a hub, a bridge, a reverse proxy, a server (e.g., a proxy server, a cloud server, or a data center server), a load balancer, and / or similar devices. In some implementations, the network device 220 may be a physical device implemented in a housing, such as a chassis. In some implementations, the network device 220 may be a virtual device implemented by one or more computer devices in a cloud computing environment or a data center. In some implementations, a group of network devices 220 may be a group of data center nodes for routing traffic flows through the network 240.
[0032] Server device 230 may include one or more devices capable of receiving, generating, storing, processing, providing and / or routing information, as described elsewhere herein. Server device 230 may include a communication device and / or a computing device. For example, server device 230 may include a server, such as an application server, a client server, a web server, a database server, a host server, a proxy server, a virtual server (e.g., executed on computing hardware) or a server in a cloud computing system. In some implementations, server device 230 may include computing hardware used in a cloud computing environment.
[0033] The network 240 includes one or more wired and / or wireless networks. For example, the network 240 may include a packet-switched network, a cellular network (e.g., a fifth generation (5G) network, a fourth generation (4G) network such as a long term evolution (LTE) network, and / or a third generation (3G) network), a code division multiple access (CDMA) network, a public land mobile network (PLMN), a local area network (LAN), a wide area network (WAN), a metropolitan area network (MAN), a telephone network (e.g., a public switched telephone network (PSTN)), a private network, an ad hoc network, an intranet, the Internet, a fiber-optic-based network, a cloud computing network, etc., and / or a combination of these or other types of networks.
[0034] Figure 2 The number and arrangement of devices and networks shown in are provided as examples. Figure 2 There may be additional devices and / or networks, fewer devices and / or networks, different devices and / or networks, or differently arranged devices and / or networks than those shown in . Figure 2 Two or more of the devices shown in may be implemented in a single device, or Figure 2 The single device shown in FIG. 200 may be implemented as multiple distributed devices. Additionally or alternatively, a set of devices (eg, one or more devices) of environment 200 may perform one or more functions described as being performed by another set of devices of environment 200.
[0035] Figure 3 yes Figure 2 300. The example components may be included in device 300, which may correspond to endpoint device 210, network device 220, and / or server device 230. In some implementations, endpoint device 210, network device 220, and / or server device 230 may include one or more devices 300 and / or one or more components of device 300. Figure 3 As shown, device 300 may include a bus 310 , a processor 320 , a memory 330 , an input component 340 , an output component 350 , and a communication interface 360 .
[0036] The bus 310 includes one or more components that enable wired and / or wireless communications between components of the device 300. The bus 310 may be coupled to the device 300 via an operational coupling, a communicative coupling, an electronic coupling, and / or an electrical coupling. Figure 3 Two or more components of are coupled together. Processor 320 includes a central processing unit (CPU), a graphics processing unit (GPU), a microprocessor, a controller, a microcontroller, a digital signal processor (DSP), a field programmable gate array (FPGA), an application specific integrated circuit (ASIC), and / or another type of processing component. Processor 320 is implemented in hardware, firmware, or a combination of hardware and software. In some implementations, processor 320 includes one or more processors that can be programmed to perform one or more operations or processes described elsewhere herein.
[0037] Memory 330 includes volatile and / or non-volatile memory. For example, memory 330 may include random access memory (RAM), read-only memory (ROM), a hard drive, and / or another type of memory (e.g., flash memory, magnetic memory, and / or optical memory). Memory 330 may include internal memory (e.g., RAM, ROM, or hard drive) and / or removable memory (e.g., removable via a universal serial bus connection). Memory 330 may be a non-transient computer-readable medium. Memory 330 stores information, instructions, and / or software (e.g., one or more software applications) related to the operation of device 300. In some implementations, memory 330 includes one or more memories such as coupled to one or more processors (e.g., processor 320) via bus 310.
[0038] Input component 340 enables device 300 to receive input, such as user input and / or sensory input. For example, input component 340 may include a touch screen, a keyboard, a keypad, a mouse, a button, a microphone, a switch, a sensor, a global positioning system sensor, an accelerometer, a gyroscope, and / or an actuator. Output component 350 enables device 300 to provide output, such as via a display, a speaker, and / or a light emitting diode. Communication interface 360 enables device 300 to communicate with other devices via wired connection and / or wireless connection. For example, communication interface 360 may include a receiver, a transmitter, a transceiver, a modem, a network interface card, and / or an antenna.
[0039] Device 300 can perform one or more operations or processes described herein. For example, a non-transient computer-readable medium (e.g., memory 330) can store an instruction set (e.g., one or more instructions or codes) for execution by processor 320. Processor 320 can execute the instruction set to perform one or more operations or processes described herein. In some implementations, execution of the instruction set by one or more processors 320 causes one or more processors 320 and / or device 300 to perform one or more operations or processes described herein. In some implementations, hard-wired circuits can be used to replace or combine instructions to perform one or more operations or processes described herein. Additionally or alternatively, processor 320 can be configured to perform one or more operations or processes described herein. Therefore, the implementation described herein is not limited to any particular combination of hardware circuits and software.
[0040] Figure 3 The number and arrangement of components shown are provided as examples. Figure 3 Device 300 may include additional components, fewer components, different components, or differently arranged components than those shown in . Additionally or alternatively, a set of components (e.g., one or more components) of device 300 may perform one or more functions described as being performed by another set of components of device 300.
[0041] Figure 4 yes Figure 2 4. The example components may be included in device 400. Device 400 may correspond to network device 220. In some implementations, network device 220 may include one or more devices 400 and / or one or more components of device 400. Figure 4 As shown, the device 400 may include one or more input components 410-1 to 410-B (B≥1) (hereinafter collectively referred to as input component 410, and individually referred to as input component 410), a switching component 420, one or more output components 430-1 to 430-C (C≥1) (hereinafter collectively referred to as output component 430, and individually referred to as output component 430), and a controller 440.
[0042] The input component 410 may be one or more attachment points for a physical link and may be one or more entry points for incoming traffic such as packets. The input component 410 may process incoming traffic such as by performing data link layer encapsulation or decapsulation. In some implementations, the input component 410 may send and / or receive packets. In some implementations, the input component 410 may include an input line card that includes one or more packet processing components (e.g., in the form of an integrated circuit), such as one or more interface cards (IFCs), a packet forwarding component, a line card controller component, an input port, a processor, a memory, and / or an input queue. In some implementations, the device 400 may include one or more input components 410.
[0043] The switching component 420 can interconnect the input component 410 with the output component 430. In some implementations, the switching component 420 can be implemented via one or more crossbar switches, via a bus, and / or using a shared memory. The shared memory can be used as a temporary buffer to store packets from the input component 410 before they are ultimately scheduled to be delivered to the output component 430. In some implementations, the switching component 420 can enable the input component 410, the output component 430, and / or the controller 440 to communicate with each other.
[0044] Output component 430 can store packets and can schedule packets for transmission on an output physical link. Output component 430 can support data link layer encapsulation or decapsulation, and / or various higher-level protocols. In some implementations, output component 430 can send packets and / or receive packets. In some implementations, output component 430 may include an output line card, which includes one or more packet processing components (e.g., in the form of an integrated circuit), such as one or more IFCs, packet forwarding components, line card controller components, output ports, processors, memories, and / or output queues. In some implementations, device 400 may include one or more output components 430. In some implementations, input component 410 and output component 430 may be implemented by the same component set (e.g., an input / output component may be a combination of input component 410 and output component 430).
[0045] The controller 440 includes a processor in the form of a CPU, a GPU, an accelerated processing unit (APU), a microprocessor, a microcontroller, a DSP, an FPGA, an ASIC, and / or another type of processor. The processor is implemented in hardware, firmware, or a combination of hardware and software. In some implementations, the controller 440 may include one or more processors that can be programmed to perform functions.
[0046] In some implementations, the controller 440 may include RAM, ROM, and / or another type of dynamic or static storage device (eg, flash memory, magnetic memory, optical memory, etc.) that stores information and / or instructions for use by the controller 440 .
[0047] In some implementations, the controller 440 can communicate with other devices, networks, and / or systems connected to the device 400 to exchange information about the network topology. The controller 440 can create a routing table based on the network topology information, can create a forwarding table based on the routing table, and can forward the forwarding table to the input component 410 and / or the output component 430. The input component 410 and / or the output component 430 can use the forwarding table to perform a route lookup for incoming and / or outgoing packets.
[0048] The controller 440 may perform one or more processes described herein. The controller 440 may perform these processes in response to executing software instructions stored by a non-transient computer readable medium. A computer readable medium is defined herein as a non-transient storage device. A memory device includes memory space within a single physical storage device or memory space distributed on multiple physical storage devices.
[0049] The software instructions may be read from another computer-readable medium or from another device via a communication interface into a memory and / or storage component associated with the controller 440. When executed, the software instructions stored in the memory and / or storage component associated with the controller 440 may cause the controller 440 to perform one or more processes described herein. Additionally or alternatively, hardwired circuitry may be used instead of or in combination with software instructions to perform one or more processes described herein. Therefore, the implementations described herein are not limited to any specific combination of hardware circuitry and software.
[0050] Figure 4 The number and arrangement of components shown are provided as examples. Figure 4 Device 400 may include additional components, fewer components, different components, or differently arranged components than those shown in . Additionally or alternatively, a set of components (e.g., one or more components) of device 400 may perform one or more functions described as being performed by another set of components of device 400.
[0051] Figure 5 is a flow chart of an example process 500 for allowing batch release of multiple logins to a server device. In some implementations, Figure 5 One or more process blocks of may be performed by a network device (e.g., network device 220). In some implementations, Figure 5One or more process blocks of may be performed by another device or group of devices separate from or including the network device, such as an endpoint device (e.g., endpoint device 210) and / or a server device (e.g., server device 230). Additionally or alternatively, Figure 5 One or more process blocks of may be performed by one or more components of device 300, such as processor 320, memory 330, input component 340, output component 350, and / or communication interface 360. Additionally or alternatively, Figure 5 One or more process blocks of may be performed by one or more components of device 400 , such as input component 410 , switching component 420 , output component 430 , and / or controller 440 .
[0052] like Figure 5 As shown, process 500 may include receiving multiple login requests for a server device from multiple endpoint devices (block 510). For example, as described above, a network device may receive multiple login requests for a server device from multiple endpoint devices. In some implementations, each of the multiple login requests is a DHCP DORA request. In some implementations, the network device is a broadband network gateway. In some implementations, the network device is a DHCP relay and the server device is a DHCP server.
[0053] like Figure 5 As further shown, process 500 may include establishing multiple logins with the server device based on the multiple login requests (block 520). For example, as described above, the network device may establish multiple logins with the server device based on the multiple login requests.
[0054] like Figure 5 As further shown, process 500 may include generating a discovery message (box 530) having a batch release message indicating that the network device supports batch release. For example, the network device may generate a batch release message indicating that the network device supports batch release, as described above. In some implementations, the batch release message is a batch release flag. In some implementations, the batch release message is a relay agent information option, which includes a first sub-option indicating that the network device supports batch release, and an identifier of the network device and an address of the network device or an identifier of the network device and a second sub-option of a group identifier of multiple endpoint devices. In some implementations, generating the batch release message includes generating the batch release message based on receiving multiple login requests for the server device.
[0055] like Figure 5 As further shown, process 500 may include including an identifier of the network device in the batch release message (block 540). For example, as described above, the network device may include an identifier of the network device in the batch release message.
[0056] like Figure 5 As further shown, process 500 may include determining whether an address of the network device is shared across interfaces of the network device with multiple endpoint devices (block 550). For example, the network device may determine whether an address of the network device is shared across interfaces of the network device with multiple endpoint devices, as described above. In some implementations, the address of the network device is a gateway IP address of the network device.
[0057] like Figure 5 As further shown, process 500 may include selectively including the address of the network device in the batch release message based on the address of the network device not being shared across interfaces of the network device, or including the group identifier of the plurality of endpoint devices in the batch release message based on the address of the network device being shared across interfaces of the network device (block 560). For example, the network device may selectively include the address of the network device in the batch release message based on the address of the network device not being shared across interfaces of the network device, or include the group identifier of the plurality of endpoint devices in the batch release message based on the address of the shared network device being shared across interfaces of the network device, as described above. In some implementations, the group identifier of the plurality of endpoint devices is an SGRP identifier.
[0058] like Figure 5 As further shown, process 500 may include determining that a restart of one or more components of the network device is to occur (block 570). For example, the network device may determine that a restart of one or more components of the network device is to occur, as described above. In some implementations, the one or more components of the network device include one or more of a line card of the network device or a flexible PIC concentrator of the network device.
[0059] like Figure 5 As further shown, process 500 may include providing a batch release message to the server device based on determining that a restart of one or more components of the network device is to occur (block 580). For example, the network device may provide a batch release message to the server device based on determining that a restart of one or more components of the network device is to occur, as described above.
[0060] In some implementations, process 500 includes performing a single logout for multiple logins based on the batch release message and based on the server device supporting the batch release. In some implementations, the single logout causes the server device to release multiple endpoint devices associated with an identifier of the network device and an address of the network device, or to release multiple endpoint devices associated with an identifier of the network device and a group identifier of the multiple endpoint devices. In some implementations, process 500 includes performing multiple logouts for multiple logins based on the server device not supporting the batch release.
[0061] although Figure 5An example block diagram of process 500 is shown, but in some implementations, process 500 may include Figure 5 Additional blocks, fewer blocks, different blocks, or blocks arranged in a different manner than those depicted in the process 500. Additionally or alternatively, two or more blocks of the process 500 can be performed in parallel.
[0062] The foregoing disclosure provides illustration and description, but is not intended to be exhaustive or to limit implementations to the precise forms disclosed. Modifications may be made in light of the above disclosure or may be acquired from practice of implementations.
[0063] As used herein, the term "component" is intended to be broadly interpreted as hardware, firmware, or a combination of hardware and software. Obviously, the systems and / or methods described herein can be implemented in different forms of hardware, firmware, and / or a combination of hardware and software. The actual dedicated control hardware or software code used to implement these systems and / or methods is not a limitation of the implementation. Therefore, the operation and behavior of the systems and / or methods are described herein without reference to specific software code-it should be understood that based on the description herein, the systems and / or methods can be implemented using software and hardware.
[0064] Although particular combinations of features are recited in the claims and / or disclosed in the specification, these combinations are not intended to limit the disclosure of the various implementations. In fact, many of these features may be combined in ways not specifically recited in the claims and / or disclosed in the specification. Although each dependent claim listed below may only directly depend on one claim, the disclosure of the various implementations includes each dependent claim in combination with every other claim in the claim set.
[0065] Unless explicitly described, any element, behavior or instruction used in this article should not be interpreted as critical or necessary. In addition, as used herein, the articles "one" and "an" are intended to include one or more projects, and can be used interchangeably with "one or more". In addition, as used herein, the article "the" is intended to include one or more projects quoted in conjunction with the article "the", and can be used interchangeably with "the one or more". In addition, as used herein, the term "set" is intended to include one or more projects (e.g., related projects, unrelated projects, combinations of related and unrelated projects, etc.), and can be used interchangeably with "one or more". If only one project is intended, the phrase "only one" or similar language is used. In addition, as used herein, the terms "have", "have", "contain", etc. are intended to be open terms. In addition, the phrase "based on" is intended to mean "based at least in part", unless otherwise clearly stated. In addition, as used herein, when used in a series, the term "or" is intended to be inclusive, and can be used interchangeably with "and / or", unless otherwise clearly stated (e.g., if used in combination with "any one" or "only one").
[0066] In the foregoing description, various exemplary embodiments have been described with reference to the accompanying drawings. However, it will be apparent that various modifications and changes may be made thereto, and additional embodiments may be implemented, without departing from the broader scope of the invention as set forth in the appended claims. Accordingly, the description and drawings should be regarded in an illustrative rather than a restrictive sense.
Claims
1. A method comprising: Receiving, by the network device, a plurality of login requests for the server device from a plurality of endpoint devices; The network device establishes multiple logins with the server device based on the multiple login requests; Generating, by the network device, a discovery message having a batch release message indicating that the network device supports batch release; The network device includes an identifier of the network device in the batch release message; determining, by the network device, whether an address of the network device is shared across interfaces of the network device and the plurality of endpoint devices; Optionally: The network device includes the address of the network device in the batch release message based on that the address of the network device is not shared across the interfaces of the network device; or including, by the network device, a group identifier for the plurality of endpoint devices in the bulk release message based on the address of the network device being shared across the interface of the network device; determining, by the network device, that a restart of one or more components of the network device is to occur; as well as The batch release message is provided, by the network device, to the server device based on determining that the restart of the one or more components of the network device is to occur.
2. The method according to claim 1, further comprising: Based on the batch release message and based on the server device supporting batch release, a single logout for the multiple logins is performed.
3. The method of claim 2, wherein the single logout causes the server device to release the plurality of endpoint devices associated with the identifier of the network device and the address of the network device, or to release the plurality of endpoint devices associated with the identifier of the network device and the group identifier for the plurality of endpoint devices.
4. The method according to claim 1, further comprising: Based on the server device being unable to be released in batch, multiple logouts are performed for the multiple logins.
5. The method of claim 1, wherein each of the plurality of login requests is a dynamic host configuration protocol discovery, proposal, request, and confirmation request. The method of claim 1 , wherein the address of the network device is a gateway Internet Protocol address of the network device.
7. The method of claim 1, wherein the group identifier for the plurality of endpoint devices is a Security Gateway Redundancy Protocol identifier.
8. A network device comprising: one or more memories; as well as One or more processors configured to: receiving a plurality of login requests for the server device from a plurality of endpoint devices; establishing a plurality of logins with the server device based on the plurality of login requests; including an identifier of the network device in a batch release message indicating that the network device supports batch release; determining whether an address of the network device is shared across interfaces of the network device and the plurality of endpoint devices; Optionally: Based on the address of the network device not being shared across the interfaces of the network device, including the address of the network device in the batch release message; or including a group identifier for the plurality of endpoint devices in the bulk release message based on the address of the network device being shared across the interfaces of the network device; determining that a restart of one or more components of the network device is to occur; as well as The batch release message is provided to the server device based on determining that the restart of the one or more components of the network device is to occur.
9. The network device according to claim 8, wherein the batch release message is a batch release flag.
10. The network device according to claim 8, wherein the batch release message is a relay agent information option, the relay agent information option includes a first sub-option and a second sub-option, the first sub-option indicating that the network device supports batch release, and the second sub-option identifying the identifier of the network device and the address of the network device or identifying the identifier of the network device and the group identifier for the multiple endpoint devices.
11. The network device of claim 8, wherein the one or more components of the network device include one or more of: a line card of the network device or a flexible physical interface card concentrator of the network device.
12. The network device of claim 8, wherein the network device is a broadband network gateway.
13. The network device of claim 8, wherein the network device is a Dynamic Host Configuration Protocol (DHCP) relay, and the server device is a DHCP server.
14. The network device of claim 8, wherein the one or more processors are further configured to: The batch release message is generated based on receiving the plurality of login requests for the server device.
15. A non-transitory computer-readable medium storing a set of instructions, the set of instructions comprising: One or more instructions, when executed by one or more processors of a network device, cause the network device to: receiving a plurality of login requests for the server device from a plurality of endpoint devices; establishing a plurality of logins with the server device based on the plurality of login requests; generating a discovery message having a batch release message indicating that the network device supports batch release; Including an identifier of the network device in the batch release message; Optionally: Based on the fact that the address of the network device is not shared across interfaces of the network device, including the address of the network device in the batch release message; or including a group identifier for the plurality of endpoint devices in the bulk release message based on the address of the network device being shared across the interfaces of the network device; providing the batch release message to the server device based on determining that a restart of one or more components of the network device is to occur; as well as Based on the batch release message and based on the server device supporting batch release, a single logout for the multiple logins is performed.
16. The non-transitory computer-readable medium of claim 15, wherein the single logout causes the server device to release the plurality of endpoint devices associated with the identifier of the network device and the address of the network device, or to release the plurality of endpoint devices associated with the identifier of the network device and the group identifier for the plurality of endpoint devices.
17. The non-transitory computer readable medium of claim 15, wherein each of the plurality of login requests is a dynamic host configuration protocol discovery, proposal, request, and confirmation request.
18. The non-transitory computer-readable medium of claim 15, wherein the batch release message is a relay agent information option, the relay agent information option comprising a first sub-option indicating that the network device supports batch release, and a second sub-option identifying the identifier of the network device and the address of the network device or a second sub-option identifying the identifier of the network device and the group identifier for the plurality of endpoint devices.
19. The non-transitory computer-readable medium of claim 15, wherein the network device is a Dynamic Host Configuration Protocol (DHCP) relay and the server device is a DHCP server.
20. The non-transitory computer-readable medium of claim 15, wherein the one or more instructions that cause the network device to generate the batch release message cause the network device to: The batch release message is generated based on receiving the plurality of login requests for the server device.
Citation Information
Patent Citations
Batch logout method and device based on single sign-on
CN110365680A
Systems and methods for bulk release of resources associated with node failure
US20100037085A1
Efficient session management
US20220217814A1
