A management method and device of a DDC network and a storage medium
By receiving ARP messages and generating information synchronization messages from the local NCP device in the DDC network, and using fabric channels to synchronize ARP table entries and transmission control resources, the problem of message transmission interruption caused by NCC single point failure is solved, and business continuity is achieved under NCC-free conditions.
Patent Information
- Application Number
- CN202211672102.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-26
- Publication Date
- 2025-10-24
- Estimated Expiration
- 2042-12-26
AI Technical Summary
When a single-point failure occurs in the NCC in the existing DDC network, ARP table entries are lost, resulting in the inability to process packet transmission services. In addition, the existing solution cannot maintain service continuity when the NCC is disconnected.
In a DDC network, the local NCP device receives ARP messages, determines ARP entries, allocates transmission control resources, generates information synchronization messages, and sends them to the NCF device to synchronize the ARP entries and transmission control resources of the remote NCP device. The fabric channel is used to preferentially transmit information synchronization messages, avoiding dependence on the NCC.
This achieves ARP table synchronization in the absence of an NCC, ensuring normal message transmission and avoiding service interruption caused by a single point of failure of the NCC.
Smart Images

Figure CN118301108B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The application relates to the technical field of communication, and provides a DDC network management method and device and a storage medium. BACKGROUND
[0002] A Distributed Disaggregate Chassis (DDC) is a network device system based on an Application Specific Integrated Circuit (ASIC) chip design, that is, a management board, a Fabric card and a line card are made into physically independent devices on the basis of an original rack network device (such as a switch or a router), the original rack switch frame is removed, and a logical rack switch is formed by being connected through a cable.
[0003] Referring to Figure 1 As shown in the figure, a Network Cloud Controller (NCC) is used to replace the original management board, a Network Cloud Fabric (NCF) device is used to replace the original Fabric card, and a Network Cloud Packet Forwarder (NCP) is used to replace the original line card. The NCC, the NCP and the NCF are connected through a management network device, and in the current scheme, the NCC, the NCP and the NCF are logically abstracted into a rack device for management.
[0004] Since the NCP1 must know the specific egress of the NCP2 to cross the NCP during forwarding between the NCPs, the NCPs cannot be completely managed as single box devices. There are two software system schemes to realize the above-mentioned architecture scheme: a completely centralized control scheme and a partially centralized control scheme. In the completely centralized control scheme, the control plane and the management plane are deployed on the NCC, and the NCP only deploys a proxy of a part of the control protocol, so that the existing service can be kept uninterrupted after the NCC is lost, but new services cannot be processed. In the partially centralized control scheme, the control plane and the management plane are distributedly deployed on the NCP, so that the route can be generated on one NCP and directly synchronized to other NCPs, and the NCC is responsible for global resource allocation, data synchronization and configuration delivery management. However, after the NCC fails, the ARP table entries dependent on the NCC for synchronization are also lost, so that the message transmission service cannot be processed. SUMMARY
[0005] Embodiments of the present application provide a DDC network management method, device and storage medium, to ensure synchronization of ARP entries without relying on NCC, and further ensure normal transmission of messages.
[0006] The specific technical solutions provided by the present application are as follows:
[0007] In a first aspect, the embodiments of the present application provide a DDC network management method applied to a local network cloud message forwarding NCP device in a DDC network system, the DDC network system further comprising at least one opposite NCP device and at least one network cloud exchange network NCF device, the local NCP device and any one of the opposite NCP devices being connected through at least one NCF device, the method comprising:
[0008] receiving an address resolution protocol (ARP) message sent by a first host through a first receiving port;
[0009] determining an ARP entry corresponding to the first host based on the ARP message, and allocating a transmission control resource to the ARP entry, wherein the transmission control resource is a segment of resources in a first transmission control resource range pre-allocated to the local NCP device;
[0010] generating an information synchronization message based on the ARP message and the transmission control resource;
[0011] sending the information synchronization message to the at least one connected NCF device, so that the at least one NCF device forwards the information synchronization message to the opposite NCP device, and the opposite NCP device determines and stores the ARP entry and the transmission control resource corresponding to the first host based on the information synchronization message.
[0012] Optionally, the method further comprises:
[0013] if a request message sent by the first host is received through the first receiving port, searching for the ARP entry and the transmission control resource corresponding to the first host based on the request message, and sending the request message to a second host connected with the opposite NCP device based on the searched ARP entry and transmission control resource corresponding to the first host.
[0014] Optionally, the method further comprises:
[0015] if a response message sent by the second host is received through the second receiving port, searching for an ARP entry and a transmission control resource corresponding to the second host based on the response message, and sending the response message to the first host connected with the local NCP device based on the searched ARP entry and transmission control resource corresponding to the second host, wherein the response message is generated according to the request message.
[0016] Optionally, the information synchronization message is sent to at least one NCF device connected to the NCP device, including:
[0017] The sending queue of the information synchronization message is determined.
[0018] The sending queue is set as the highest priority, and the information synchronization message is sent to at least one NCF device connected to the NCP device based on the highest priority.
[0019] Optionally, a first fabric channel is set between the NCP device and at least one NCF device, and a second fabric channel is set between the at least one NCF device and the NCP device.
[0020] The information synchronization message is sent to at least one NCF device connected to the NCP device, including:
[0021] The information synchronization message is sent to at least one NCF device through the first fabric channel, so that the at least one NCF device sends the information synchronization message to at least one NCP device connected to the at least one NCF device through the second fabric channel.
[0022] Optionally, the method further comprises:
[0023] The opposite end information synchronization message sent by the opposite end NCP device is received, wherein the opposite end information synchronization message is generated based on the ARP table corresponding to the second host and the transmission control resource allocated for the ARP table corresponding to the second host.
[0024] The opposite end information synchronization message is parsed, and the host identifier, the ARP message and the transmission control resource corresponding to the opposite end information synchronization message are determined based on the parsing result.
[0025] If the host identifier is the same as the identifier corresponding to the second host, the table item corresponding to the ARP message determined based on the parsing result is determined as the ARP table corresponding to the second host, and the transmission control resource determined based on the parsing result is determined as the transmission control resource corresponding to the second host.
[0026] Optionally, after receiving the opposite end information synchronization message sent by the opposite end NCP device, the method further comprises:
[0027] The identifier corresponding to the second host, the ARP table corresponding to the second host and the transmission control resource corresponding to the second host are associated.
[0028] The associated identifier corresponding to the second host, the ARP table corresponding to the second host and the transmission control resource corresponding to the second host are stored in an application specific integrated circuit (ASIC) chip, and the ASIC chip is arranged in the NCP device.
[0029] In a second aspect, the embodiments of the present application provide a management device of a DDC network, comprising:
[0030] a receiving module, configured to receive an address resolution protocol (ARP) packet sent by a first host through a first receiving port;
[0031] a determining module, configured to determine an ARP entry corresponding to the first host based on the ARP packet, and allocate a transmission control resource to the ARP entry, wherein the transmission control resource is a segment of resources in a first transmission control resource range pre-allocated to a local NCP device;
[0032] a generating module, configured to generate an information synchronization packet based on the ARP packet and the transmission control resource;
[0033] a synchronizing module, configured to send the information synchronization packet to at least one NCF device connected thereto, so that the at least one NCF device forwards the information synchronization packet to a peer NCP device, and the peer NCP device determines and stores the ARP entry corresponding to the first host and the transmission control resource based on the information synchronization packet.
[0034] Optionally, the management device further comprises:
[0035] if a request packet sent by the first host is received through the first receiving port, the ARP entry corresponding to the first host and the transmission control resource are found based on the request packet, and the request packet is sent to a second host connected to the peer NCP device based on the found ARP entry corresponding to the first host and the transmission control resource.
[0036] Optionally, the management device further comprises:
[0037] if a response packet sent by the second host is received through the second receiving port, the ARP entry corresponding to the second host and the transmission control resource are found based on the response packet, and the response packet is sent to the first host connected to the local NCP device based on the found ARP entry corresponding to the second host and the transmission control resource, wherein the response packet is generated according to the request packet.
[0038] Optionally, the synchronizing module is configured to:
[0039] determine a packet sending queue in which the information synchronization packet is located;
[0040] set the packet sending queue as a highest priority, and send the information synchronization packet to the at least one NCF device connected thereto based on the highest priority.
[0041] Optionally, a first fabric channel is arranged between the local NCP device and the at least one NCF device, and a second fabric channel is arranged between the at least one NCF device and the remote NCP device.
[0042] The information synchronization message is sent to the at least one NCF device connected thereto, and the synchronization module is configured to:
[0043] The information synchronization message is sent to the at least one NCF device through the first fabric channel, so that the at least one NCF device sends the information synchronization message to the at least one NCP device connected thereto through the second fabric channel.
[0044] Optionally, the method further comprises:
[0045] The remote information synchronization message sent by the remote NCP device is received, wherein the remote information synchronization message is generated based on the ARP table item corresponding to the second host and the transmission control resource allocated for the ARP table item corresponding to the second host;
[0046] The remote information synchronization message is parsed, and the host identifier, the ARP message and the transmission control resource corresponding to the remote information synchronization message are determined based on the parsing result;
[0047] If the host identifier is the same as the identifier corresponding to the second host, the table item corresponding to the ARP message determined based on the parsing result is determined as the ARP table item corresponding to the second host, and the transmission control resource determined based on the parsing result is determined as the transmission control resource corresponding to the second host.
[0048] Optionally, after receiving the remote information synchronization message sent by the remote NCP device, the method further comprises:
[0049] The identifier corresponding to the second host, the ARP table item corresponding to the second host and the transmission control resource corresponding to the second host are associated;
[0050] The associated identifier corresponding to the second host, the ARP table item corresponding to the second host and the transmission control resource corresponding to the second host are stored in an application specific integrated circuit (ASIC) chip, and the ASIC chip is arranged in the local NCP device.
[0051] The memory is configured to store executable instructions;
[0052] The processor is configured to read and execute the executable instructions stored in the memory, so as to implement the method of any one of the first aspect.
[0053] The fourth aspect is a computer readable storage medium, when the instructions in the storage medium are executed by a processor, the processor can execute the method of any one of the first aspect.
[0054] The application has the following advantages:
[0055] To sum up, in the embodiment of the application, a DDC network management method, device and storage medium are provided. The method is applied to a local network cloud message forwarding NCP device in a DDC network system. The DDC network system further includes at least one opposite NCP device and at least one network cloud exchange network NCF device. The local NCP device and any opposite NCP device are connected through at least one NCF device. The method includes: receiving an address resolution protocol ARP message sent by a first host through a first receiving port; determining an ARP entry corresponding to the first host based on the ARP message, and allocating a transmission control resource to the ARP entry, wherein the transmission control resource is a segment of resource in a local first transmission control resource range pre-allocated to the local NCP device; generating an information synchronization message based on the ARP message and the transmission control resource; sending the information synchronization message to the at least one connected NCF device, so that the at least one NCF device forwards the information synchronization message to the opposite NCP device, and the opposite NCP device determines and stores the ARP entry corresponding to the first host and the transmission control resource based on the information synchronization message. In the above scheme, the NCC is removed and is processed by the NCP. The business of synchronizing the ARP entry can be realized without relying on the NCC.
[0056] Other features and advantages of the present application will be set forth in the following description, and in part will become apparent to those skilled in the art from the description, or can be learned by practice of the present application. The objects and other advantages of the present application can be achieved and obtained by means of the structure particularly pointed out in the written description, claims, and drawings. BRIEF DESCRIPTION OF DRAWINGS
[0057] The drawings described herein are intended to provide further understanding of the present application, and form a part of the present application. The illustrative embodiments of the present application and their description serve to explain the present application. They do not constitute an inappropriate limitation on the present application. In the drawings:
[0058] Figure 1 It is a schematic diagram of the architecture of the device composed of the NCC, NCP and NCF in the prior art;
[0059] Figure 2 It is a flowchart of the method for managing a DDC network in the embodiment of the present application;
[0060] Figure 3 It is a flowchart of the method for sending an information synchronization message to an NCF device in the embodiment of the present application;
[0061] Figure 4 It is a schematic diagram of the architecture of the device composed of the NCP and NCF in the embodiment of the present application;
[0062] Figure 5 Fig. 1 is a schematic diagram of a logical architecture of a management device of a DDC network according to an embodiment of the present application;
[0063] Figure 6 Fig. 2 is a schematic diagram of a physical architecture of a local NCP device according to an embodiment of the present application. DETAILED DESCRIPTION
[0064] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described clearly and completely below with reference to the drawings of the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments described in the present application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the scope of protection of the present application.
[0065] The terms "local", "remote" and the like in the specification and claims of the present application and the above drawings are used to distinguish similar objects, and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data thus used can be interchanged under appropriate circumstances, so that the embodiments of the present application described herein can be implemented in an order other than that illustrated or described herein.
[0066] The preferred embodiments of the present application will be described in detail below with reference to the drawings.
[0067] In the embodiments of the present application, a management method of a DDC network is applied to a local NCP device in a DDC network system, the DDC network system further includes at least one remote NCP device and at least one NCF device, and the local NCP device and any remote NCP device are connected through at least one NCF device.
[0068] Unlike the prior art, the DDC network in the present application only includes NCP devices and NCF devices, and generally, any two NCP devices are connected through one NCF device, and messages and the like are connected through a channel between the NCP devices and the NCF device. However, in some cases, the messages and the like may be "fragmented" when passing through the NCF device, and different fragments of the messages are balanced to different NCF devices, and each fragment is recombined after being transferred to the NCP device as the receiving end.
[0069] In the embodiment of the present application, the NCC is removed, and only the NCP and the NCF are reserved. The NCP provides a management configuration interface to the outside and processes information synchronization messages between the NCPs. The ARP table items and the like originally issued by the NCC to each NCP are synchronized by the NCP to generate table items for other NCPs. The information synchronization between the NCPs (such as global table items, NCP device and port information, and the like) originally realized by the management network device and the NCC is changed to directly pass through the fabric channel. The control message for synchronization information passes through a separate high-priority queue to avoid the influence of the forwarding plane message.
[0070] For ease of illustration, two hosts (a first host and a second host) are used to pass through two NCP devices (a local NCP device and a peer NCP device) for specific illustration in the embodiment of the present application.
[0071] Referring to FIG. 1, Figure 2 In the embodiment of the present application, the specific process of the management of the DDC network is as follows:
[0072] Step 201: receiving an ARP message sent by a first host through a first receiving port.
[0073] In the implementation process, when the first host sends an ARP message to the rack device composed of the NCP and the NCF, the local NCP device connected to the first host receives the ARP message through the first receiving port (for example, port 1 / 1), that is, the first host and the local NCP device are connected through the first receiving port.
[0074] Step 202: determining an ARP table item corresponding to the first host based on the ARP message, and allocating a transmission control resource to the ARP table item, wherein the transmission control resource is a segment of resource in a first transmission control resource range pre-allocated to the local NCP device.
[0075] First of all, it should be pointed out that each NCP device can obtain the ARP message of the connected host, and synchronize the ARP table item to other NCP devices after obtaining the ARP table item based on the ARP message.
[0076] In the implementation process, after receiving the ARP message, the ARP message is parsed to determine the first IP address (for example, IP A) of the first host, and at the same time, the first media access control (MAC) address of the first host is determined, and then the first IP address, the first MAC address, and the first receiving port are determined as the ARP table item corresponding to the first host.
[0077] After the ARP entry corresponding to the first host is determined, a transmission control resource is further allocated to the determined ARP entry, i.e., a physical bearing entity is allocated to the virtual ARP entry. In the prior art, the allocation right of the transmission control resource belongs to the NCC device, i.e., the transmission control resource corresponding to each ARP entry is uniformly allocated by the NCC device. In addition, it should be noted that in the embodiment of the present application, the transmission control resource specifically refers to an encapid resource. After the NCC device is removed in the present application, each NCP device is pre-allocated a transmission control resource range, and on this basis, a segment of resource in the transmission control resource range is allocated to the ARP entry received by the NCP device, i.e., the encapid resource corresponding to the ARP entry. Obviously, the scheme of independently allocating the transmission control resource by each NCP device is more flexible.
[0078] Step 203: generating an information synchronization message based on the ARP message and the transmission control resource.
[0079] After the ARP message and the transmission control resource are determined, the ARP message and the transmission control resource are encapsulated into an information synchronization message.
[0080] Step 204: sending the information synchronization message to at least one NCF device connected thereto, so that the at least one NCF device forwards the information synchronization message to a peer NCP device, and the peer NCP device determines and stores the ARP entry and the transmission control resource corresponding to the first host based on the information synchronization message.
[0081] Considering the uncertainty of the routing information of the message related to the service (for example, a control protocol message, a forwarding message, etc.), in the embodiment of the present application, the information synchronization message is further sent to the NCF device connected thereto.
[0082] When there is one NCF device connected to the NCP device in the DDC network where the NCP device is located, the information synchronization message can be sent to the one NCF device connected thereto. On this basis, the one NCF device forwards the information synchronization message to the peer NCP device connected thereto, so that the peer NCP device can determine and store the ARP entry and the transmission control resource corresponding to the first host based on the information synchronization message, thereby laying a foundation for subsequent message transmission and other services.
[0083] When there are more than one NCF devices connected to the NCP device, the information synchronization message needs to be sent to each NCF device connected thereto, and each NCF device forwards the information synchronization message to the peer NCP device connected thereto, so that each peer NCP device can determine and store the ARP entry and the transmission control resource corresponding to the first host based on the information synchronization message, thereby laying a foundation for subsequent message transmission and other services.
[0084] Specifically, the local NCP device includes an ARP module, and the information synchronization message is sent to at least one NCF device connected thereto, including: sending the information synchronization message to at least one NCF device connected thereto through the ARP module.
[0085] That is, the local NCP device is provided with an ARP module, and the ARP module is responsible for sending the information synchronization message. In the implementation process, the information synchronization message is sent to one NCF device or multiple NCF devices connected thereto through the ARP module.
[0086] In addition, in the implementation process, the local NCP device includes a first command line interface (CLI) module, and the first transmission control resource range is pre-allocated to the local NCP device through the first CLI module.
[0087] Taking the local NCP device as an example, the local NCP device is provided with a first CLI module, and the first transmission control resource range is pre-allocated to the local NCP device through the first CLI module. In the DDC network of the present application, each NCP device is also provided with a CLI module, and the CLI module of each NCP device is configured with a local allocatable transmission control range.
[0088] In the implementation process, the information synchronization message is sent to at least one NCF device connected thereto, as shown in Figure 3 , including:
[0089] Step 2041: determining the packet sending queue in which the information synchronization message is located.
[0090] Since the services to be processed by the local NCP device in the DDC network are diverse, for example, when the first host and the second host transmit messages through the local NCP device, the opposite NCP device and one NCF device, the messages processed by the local NCP device at the same time include at least the above-mentioned to-be-transmitted messages and information synchronization messages, and the corresponding packet sending queues also have two types. In view of the fact that the information synchronization message is the basis for the transmission of other messages, in the embodiment of the present application, the packet sending queue in which the information synchronization message is located is determined first.
[0091] Step 2042: setting the packet sending queue as the highest priority, and sending the information synchronization message to at least one NCF device connected thereto based on the highest priority.
[0092] After determining the sending queue where the information synchronization message is located, the priority of the sending queue where the information synchronization message is located is set to the highest priority, so that the information synchronization message can be sent to the at least one NCF device connected thereto in priority according to the highest priority.
[0093] In the implementation process, the NCP device includes an ASIC module, and setting the sending queue to the highest priority includes: setting the sending queue to the highest priority by the ASIC module.
[0094] That is, the NCP device is provided with an ASIC module, and the sending queue is set to the highest priority by the ASIC module, so that the information synchronization message can be sent to the NCF device connected thereto in priority.
[0095] Further, the NCF device is also provided with an ASIC module, and the NCF device sets the sending queue to the highest priority by the built-in ASIC module, so that when the information synchronization message reaches the NCF device from the NCP device, the NCF device can send the information synchronization message to the NCP device at the opposite end in the local time.
[0096] In addition, it should be noted that the first fabric channel is provided between the NCP device and the at least one NCF device, and the second fabric channel is provided between the at least one NCF device and the NCP device at the opposite end.
[0097] In the prior art, the NCC device sends the information synchronization message to each NCP device, so that the NCP device and the NCF device do not need to transmit the information synchronization message. Referring to Figure 4 In the embodiment of the present application, the NCC device is removed, and in order to enable the NCP device to send the information synchronization message to the NCF device, and in order to enable the NCF device to send the information synchronization message to the NCP device, the first fabric channel is provided between the NCP device and the at least one NCF device, and the second fabric channel is provided between the at least one NCF device and the NCP device at the opposite end.
[0098] Based on this, sending the information synchronization message to the at least one NCF device connected thereto includes:
[0099] Sending the information synchronization message to the at least one NCF device through the first fabric channel, so that the at least one NCF device sends the information synchronization message to the at least one NCP device connected thereto through the second fabric channel.
[0100] In the implementation process, after the information synchronization message is sent to one or more NCF devices connected through the first fabric channel, the one or more NCF devices can send the information synchronization message to at least one NCP device connected through the second fabric channel, that is, the NCF device forwards the information synchronization message to the NCP device as the receiving end through the second fabric channel.
[0101] In the embodiment of the application, after the local NCP device and the at least one opposite NCP device synchronously store the ARP table entries, the first host request message is further responded based on the ARP table entries, and the specific method comprises:
[0102] If the request message sent by the first host is received through the first receiving port, the ARP table entry and the transmission control resource corresponding to the first host are searched based on the request message, and the request message is sent to the second host connected with the opposite NCP device based on the searched ARP table entry and transmission control resource corresponding to the first host.
[0103] In the implementation process, the local NCP device is connected with the first host (for example, host A) through the first receiving port (for example, port 1 / 1), so that when the local NCP device receives the request message (for example, request message A) sent by the first host through the port 1 / 1, the local NCP device searches the ARP table entry and the transmission control resource (for example, encapid 1) corresponding to the first host based on the request message A, and then sends the request message A to the NCF device, and the NCF device sends the request message A to the opposite NCP device, and the opposite NCP device sends the request message A to the second host (for example, host B) connected therewith.
[0104] In the embodiment of the application, after the second host receives the request message sent by the first host, the second host generates a response message based on the request message, and sends the response message back to the first host, and the specific method further comprises:
[0105] If the response message sent by the second host is received through the second receiving port, the ARP table entry and the transmission control resource corresponding to the second host are searched based on the response message, and the response message is sent to the first host connected with the local NCP device based on the searched ARP table entry and transmission control resource corresponding to the second host, wherein the response message is generated according to the request message.
[0106] In the implementation process, the peer NCP device generates a response message according to the request message after receiving the request message, further sends the above-mentioned response message to the NCF device, and then the NCF device sends the response message to the local NCP device. Specifically, the local NCP device receives the response message (for example, response message B) through the second receiving port (for example, port 2 / 1), and the local NCP device looks up the ARP entry corresponding to the second host and the transmission control resource (for example, encapid2) based on the response message B, and further sends the response message B to the first host connected to the local NCP device through port 1 / 1.
[0107] In addition, it needs to be pointed out that the ARP entry of the local NCP device is sent to the peer NCP device in the form of an information synchronization message, so that the peer NCP device can synchronously store the ARP entry of the local NCP device. Similarly, considering that there can be multiple peer NCP devices in the DDC network of the present application, the ARP entry of each peer NCP device also needs to be synchronized to the local NCP device accordingly. The specific method further comprises:
[0108] (1) receiving the peer information synchronization message sent by the peer NCP device, wherein the peer information synchronization message is generated based on the ARP entry corresponding to the second host and the transmission control resource allocated for the ARP entry corresponding to the second host.
[0109] In the implementation process, when the second host connected to the peer NCP device sends an ARP message, the peer information synchronization message is further generated according to the ARP entry corresponding to the ARP message and the transmission control resource allocated for the ARP entry, and the peer NCP device sends the peer information synchronization message to the NCF device, the NCF device sends the peer information synchronization message to the local NCP device, and the local NCP device receives the peer information synchronization message sent by the peer NCP device.
[0110] (2) analyzing the peer information synchronization message, and determining the host identifier, ARP message and transmission control resource corresponding to the peer information synchronization message based on the analysis result.
[0111] After the local NCP device receives the peer information synchronization message sent by the peer NCP device, since the number of peer NCP devices in the DDC network can be more than one, in order to determine the host corresponding to the peer information synchronization message, the local NCP device further analyzes the peer information synchronization message, determines the host identifier, ARP message and transmission control resource corresponding to the peer information synchronization message based on the analysis result, that is, determines which NCP device the peer information synchronization message corresponds to through the host identifier.
[0112] (3) if the host identifier is the same as the identifier corresponding to the second host, then the ARP table item corresponding to the ARP message determined based on the analysis result is determined as the ARP table item corresponding to the second host, and the transmission control resource determined based on the analysis result is determined as the transmission control resource corresponding to the second host.
[0113] In the implementation process, if the host identifier analyzed is the same as the identifier corresponding to the second host, it means that the peer information synchronization message is sent by the second host, and accordingly, the ARP message and the transmission control resource analyzed are also corresponding to the second host.
[0114] Considering that there can be multiple peer NCP devices in the DDC network of the application, in order to store the ARP table item of each peer NCP device, after receiving the peer information synchronization message sent by the peer NCP device, the method further comprises:
[0115] (4) associating the identifier corresponding to the second host, the ARP table item corresponding to the second host, and the transmission control resource corresponding to the second host.
[0116] Generally, the identifier corresponding to the second host, the ARP table item corresponding to the second host, and the transmission control resource corresponding to the second host determined above are bound, that is, the association of the second host, the ARP table item, and the corresponding transmission control resource is realized.
[0117] (5) storing the associated identifier corresponding to the second host, the ARP table item corresponding to the second host, and the transmission control resource corresponding to the second host to an Application Specific Integrated Circuit (ASIC) chip, wherein the ASIC chip is arranged in the local NCP device.
[0118] In the implementation process, after the second host, the ARP table item, and the corresponding transmission control resource are associated, the associated identifier corresponding to the second host, the ARP table item corresponding to the second host, and the transmission control resource corresponding to the second host are stored to the ASIC chip. It should be noted that the ASIC chip is arranged in the local NCP device, and the ASIC chip stores the ARP table item and the corresponding transmission control resource of the local NCP device, as well as the ARP table item and the corresponding transmission control resource of each peer NCP device as a storage unit, thereby realizing the synchronous storage of the ARP table items of all NCP devices in the DDC network. Based on the same inventive concept, refer to Figure 5 As shown in the figure, the application embodiment provides a DDC network management device, which comprises:
[0119] The receiving module 501 is configured to receive an address resolution protocol (ARP) message sent by a first host through a first receiving port.
[0120] The determining module 502 is configured to determine an ARP entry corresponding to the first host based on the ARP packet, and allocate a transmission control resource to the ARP entry, wherein the transmission control resource is a segment of resources in a local transmission control resource range pre-allocated to the local NCP device;
[0121] The generating module 503 is configured to generate an information synchronization packet based on the ARP packet and the transmission control resource.
[0122] The synchronizing module 504 is configured to send the information synchronization packet to at least one NCF device connected thereto, so that the at least one NCF device forwards the information synchronization packet to the opposite NCP device, and the opposite NCP device determines and stores the ARP entry and the transmission control resource corresponding to the first host based on the information synchronization packet.
[0123] Optionally, the method further comprises:
[0124] If the request packet sent by the first host is received through the first receiving port, the ARP entry and the transmission control resource corresponding to the first host are searched based on the request packet, and the request packet is sent to the second host connected to the opposite NCP device based on the searched ARP entry and the transmission control resource corresponding to the first host.
[0125] Optionally, the method further comprises:
[0126] If the response packet sent by the second host is received through the second receiving port, the ARP entry and the transmission control resource corresponding to the second host are searched based on the response packet, and the response packet is sent to the first host connected to the local NCP device based on the searched ARP entry and the transmission control resource corresponding to the second host, wherein the response packet is generated according to the request packet.
[0127] Optionally, the information synchronization packet is sent to at least one NCF device connected thereto, and the synchronizing module 504 is configured to:
[0128] Determine a packet sending queue in which the information synchronization packet is located.
[0129] Set the packet sending queue as a highest priority, and send the information synchronization packet to at least one NCF device connected thereto based on the highest priority.
[0130] Optionally, a first fabric channel is arranged between the local NCP device and the at least one NCF device, and a second fabric channel is arranged between the at least one NCF device and the opposite NCP device.
[0131] The information synchronization packet is sent to at least one NCF device connected thereto, and the synchronizing module 504 is configured to:
[0132] sending the information synchronization message to at least one NCF device through the first fabric channel, so that the at least one NCF device sends the information synchronization message to at least one NCP device connected thereto through the second fabric channel.
[0133] Optionally, the method further comprises:
[0134] receiving a peer information synchronization message sent by a peer NCP device, wherein the peer information synchronization message is generated based on an ARP table item corresponding to a second host and a transmission control resource allocated for the ARP table item corresponding to the second host;
[0135] analyzing the peer information synchronization message, and determining a host identifier, an ARP message and a transmission control resource corresponding to the peer information synchronization message based on an analysis result;
[0136] if the host identifier is identical to an identifier corresponding to the second host, determining an ARP table item corresponding to the ARP message based on the analysis result as the ARP table item corresponding to the second host, and determining the transmission control resource based on the analysis result as the transmission control resource corresponding to the second host.
[0137] Optionally, after receiving the peer information synchronization message sent by the peer NCP device, the method further comprises:
[0138] associating the identifier corresponding to the second host, the ARP table item corresponding to the second host and the transmission control resource corresponding to the second host;
[0139] storing the associated identifier corresponding to the second host, the ARP table item corresponding to the second host and the transmission control resource corresponding to the second host into an application specific integrated circuit (ASIC) chip, wherein the ASIC chip is arranged in the local NCP device. Based on the same inventive concept, refer to Figure 6 The embodiment of the present application provides a local NCP device, which comprises a memory 601 configured to store executable instructions, and a processor 602 configured to read and execute the executable instructions stored in the memory and perform any one of the methods of the management method of the DDC network.
[0140] Based on the same inventive concept, the embodiment of the present application provides a computer readable storage medium, when the instructions in the storage medium are executed by a processor, the processor can perform any one of the methods of the management method of the DDC network and the method of the transmission of the response message.
[0141] In summary, in the embodiments of the present application, a DDC network management method, device and storage medium are provided, the method comprising: an NCP device of a local network cloud message forwarding in a DDC network system, the DDC network system further comprising at least one peer NCP device and at least one network cloud exchange network NCF device, the local NCP device and any one of the peer NCP devices being connected through at least one NCF device, comprising: receiving an address resolution protocol ARP message sent by a first host through a first receiving port, determining an ARP entry corresponding to the first host based on the ARP message, and allocating a transmission control resource to the ARP entry, wherein the transmission control resource is a segment of resource in a local transmission control resource range pre-allocated to the local NCP device, generating an information synchronization message based on the ARP message and the transmission control resource, sending the information synchronization message to the at least one connected NCF device, so that the at least one NCF device forwards the information synchronization message to the peer NCP device, and the peer NCP device determines and stores the ARP entry corresponding to the first host and the transmission control resource based on the information synchronization message, in the above scheme, the NCC is removed and replaced by the NCP for processing, and the business of synchronizing the ARP entry can be implemented without relying on the NCC.
[0142] Those skilled in the art will appreciate that embodiments of the present application can be provided as methods, systems, or computer program product systems. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Moreover, the present application can take the form of a computer program product system embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROMs, optical storage, etc.) having computer usable program code embodied thereon.
[0143] The present application is described with reference to flowcharts and / or block diagrams of methods, apparatus (systems), and computer program product systems according to this application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing apparatus produce a means for implementing the functions specified in the flowcharts and / or block diagrams. Figure 1 The means for implementing each flow or multiple flows and / or blocks Figure 1 The means for implementing each flow or multiple flows and / or blocks
[0144] These computer program instructions can also be stored in a computer readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer readable memory produce an article of manufacture including instructions which implement the flow Figure 1 The flow or flows and / or blocks Figure 1 The flow or flows and / or blocks
[0145] These computer program instructions can also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions that execute on the computer or other programmable apparatus provide steps for implementing the flow Figure 1 The flow or flows and / or blocks Figure 1 The flow or flows and / or blocks
[0146] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of the appended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A method of managing a distributed disaggregated chassis (DDC) network, comprising: The method is applied to a local NCP device in a DDC network system, the DDC network system further comprising at least one peer NCP device and at least one network cloud exchange network NCF device, the local NCP device and any one of the peer NCP devices being connected through at least one NCF device, the method comprising: receiving an address resolution protocol ARP packet sent by a first host through a first receiving port; determining an ARP entry corresponding to the first host based on the ARP packet, and allocating a transmission control resource to the ARP entry, wherein the transmission control resource is a segment of resource in a first transmission control resource range pre-allocated to the local NCP device; generating an information synchronization packet based on the ARP packet and the transmission control resource; sending the information synchronization packet to at least one connected NCF device, so that the at least one NCF device forwards the information synchronization packet to a peer NCP device, and the peer NCP device determines and stores the ARP entry corresponding to the first host and the transmission control resource based on the information synchronization packet.
2. The method of claim 1, wherein, The method further comprises: if a request packet sent by the first host is received through the first receiving port, searching for the ARP entry corresponding to the first host and the transmission control resource based on the request packet, and sending the request packet to a second host connected with the peer NCP device based on the searched ARP entry corresponding to the first host and the transmission control resource.
3. The method of claim 2, wherein, The method further comprises: if a response packet sent by the second host is received through the second receiving port, searching for the ARP entry corresponding to the second host and the transmission control resource based on the response packet, and sending the response packet to the first host connected with the local NCP device based on the searched ARP entry corresponding to the second host and the transmission control resource, wherein the response packet is generated according to the request packet.
4. The method of claim 1, wherein, The sending of the information synchronization packet to at least one connected NCF device comprises: determining a packet sending queue where the information synchronization packet is located; setting the packet sending queue as a highest priority, and preferentially sending the information synchronization packet to at least one connected NCF device based on the highest priority.
5. The method of claim 1, wherein, A first fabric channel is provided between the local NCP device and at least one NCF device, and a second fabric channel is provided between the at least one NCF device and the peer NCP device; The sending of the information synchronization packet to at least one connected NCF device comprises: sending the information synchronization packet to the at least one NCF device through the first fabric channel, so that the at least one NCF device sends the information synchronization packet to at least one connected NCP device through the second fabric channel.
6. The method of claim 2, wherein, The method further comprises: receive a peer information synchronization message sent by a peer NCP device, wherein the peer information synchronization message is generated based on an ARP table item corresponding to the second host and a transmission control resource allocated for the ARP table item corresponding to the second host; analyze the peer information synchronization message, and determine a host identifier, an ARP message and a transmission control resource corresponding to the peer information synchronization message based on an analysis result; if the host identifier is identical to an identifier corresponding to the second host, determine the ARP message corresponding to the analysis result as the ARP table item corresponding to the second host, and determine the transmission control resource corresponding to the analysis result as the transmission control resource corresponding to the second host.
7. The method of claim 6, wherein, After the receiving the peer information synchronization message sent by the peer NCP device, the method further includes: associate the identifier corresponding to the second host, the ARP table item corresponding to the second host and the transmission control resource corresponding to the second host; store the associated identifier corresponding to the second host, the ARP table item corresponding to the second host and the transmission control resource corresponding to the second host into an application specific integrated circuit (ASIC) chip, wherein the ASIC chip is arranged in the local NCP device.
8. A management apparatus of a DDC network, characterized by comprising: A local NCP device applied to a DDC network system includes: a receiving module configured to receive an address resolution protocol (ARP) message sent by a first host through a first receiving port; a determining module configured to determine an ARP table item corresponding to the first host based on the ARP message, and allocate a transmission control resource for the ARP table item, wherein the transmission control resource is a segment of resources in a first transmission control resource range pre-allocated for the local NCP device; a generating module configured to generate an information synchronization message based on the ARP message and the transmission control resource; a synchronizing module configured to send the information synchronization message to at least one NCF device connected thereto, so that the at least one NCF device forwards the information synchronization message to a peer NCP device, and the peer NCP device determines and stores the ARP table item corresponding to the first host and the transmission control resource based on the information synchronization message.
9. A far-end NCP device, comprising: include: a memory configured to store executable instructions; a processor configured to read and execute the executable instructions stored in the memory, so as to implement the method according to any one of claims 1-7.
10. A computer-readable storage medium, characterized in that, When the instructions in the storage medium are executed by the processor, the processor can execute the method according to any one of claims 1-7.
Citation Information
Patent Citations
An implementation method for address parsing protocol
CN101267435A
Data communication system and method of establishing communication path
JP1990009247A