Remote multi-chip management method and system based on Ethernet switch chip

By using a remote multi-chip management method based on Ethernet switched chips in a multi-chip environment, the problem that the existing technology cannot achieve decentralized management and remote real-time management is solved, and efficient real-time management of multi-chip is achieved.

CN120200989APending Publication Date: 2025-06-24KUNGAO XINXIN MICROELECTRONICS (JIANGSU) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510370133.6
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-27
Publication Date
2025-06-24

AI Technical Summary

Technical Problem

The existing mainstream multi-chip management methods cannot achieve decentralized management and remote real-time management in a multi-chip working environment.

Method used

A remote multi-chip management method based on Ethernet switching chips is adopted. Each switching chip is configured with a management module, an internal CPU, an external CPU port and a stacking port. Multiple switching chips are connected through the stacking port, and a target chip is judged using a unique identifier to realize the forwarding and processing of request and response packets.

Benefits of technology

It realizes real-time management of the target chip through internal CPU or external CPU in a multi-chip working environment, meets the needs of decentralized management, and processes 200 request management messages in one second.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120200989A_ABST
    Figure CN120200989A_ABST
Patent Text Reader

Abstract

The invention discloses a remote multi-chip management method and system based on Ethernet switch chips, each switch chip is provided with a stacking port, a plurality of switch chips are connected through the stacking ports, and each switch chip is distributed with a unique identifier; when the chip receives a request management message, firstly judging whether the request management message is a target chip or not, and if so, analyzing and processing the message and constructing a response management message; if not, the message is forwarded to other connected switching chips through the stacking port until the message is received by the target chip, and the target chip analyzes and processes the message and constructs a response management message; after the response management message is constructed, judging whether a chip is a target chip or not, and if yes, uploading the response management message to the internal CPU or the external CPU; and if not, forwarding the response management message to other connected switching chips through the stacking port until the response management message is received by the target chip, and uploading the response management message to the internal CPU or the external CPU after the target chip receives the response management message.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of Ethernet switch chips, and particularly to a remote multi-chip management method and system based on an Ethernet switch chip. Background Art

[0002] Existing mainstream multi-chip management methods follow a master-slave control architecture, where a host chip (including a CPU) controls multiple slave chips without a CPU to achieve centralized scheduling. This method cannot meet the decentralized management while remotely and real-time managing target chips in a multi-chip (all with CPUs) working environment. Summary of the Invention

[0003] In view of the above technical problems, the present invention proposes a remote multi-chip management method based on an Ethernet switch chip, which realizes the function of real-time managing target chips through an internal CPU or an external CPU in a multi-chip working environment.

[0004] To achieve the above object, the technical solution of the present invention provides a remote multi-chip management method based on an Ethernet switch chip. Each switch chip is configured with a management module, an internal CPU, an internal CPU port, an external CPU port, and a stacking port. Multiple switch chips are connected through the stacking ports, and each switch chip is assigned a unique identifier. When a certain switch chip receives a request management message from an internal CPU or an external CPU, the management module first determines whether its own chip is the target chip of the request management message. If so, the management module parses and processes the message and constructs a response management message. If not, the request management message is forwarded through the stacking port to other connected switch chips until it is received by the target chip of the request management message. After the corresponding target chip receives the request management message, the management module parses and processes the message and constructs a response management message. After constructing the response management message, the corresponding chip determines whether its own chip is the target chip of the response management message through the management module. If so, the management module uploads the response management message to the internal CPU or the external CPU. If not, the response management message is forwarded through the stacking port to other connected switch chips until it is received by the target chip of the response management message. After the corresponding target chip receives the response management message, the response management message is uploaded to the internal CPU or the external CPU.

[0005] Further, the management module determines whether its own chip is the target chip by judging whether the identifier of its own chip is consistent with the identifier of the target chip carried in the request management message or the response management message.

[0006] Further, the format of the management message forwarded by the stacking port is Stacking INFO + Cpu INFO + Management INFO, where Stacking INFO carries the identifiers of the source chip and the target chip, Cpu INFO carries the message type information, and Management INFO carries the request / response type and the request instruction / response result information.

[0007] Further, the switching chip receives the request management message from the internal CPU through the internal CPU port, or receives the request management message from the external CPU through the external CPU port; and uploads the response management message to the internal CPU through the internal CPU port, or uploads the response management message to the external CPU through the external CPU port.

[0008] Further, multiple switching chips are connected through the stacking port in a star, linear or ring manner.

[0009] Further, the management module of each switching chip adopts a request-response C / S service model, which can parse the custom request management message, process the instruction, construct the response management message and send it back.

[0010] Further, the request management message contains the register information of the target chip to be queried or configured.

[0011] The technical solution of the present invention also provides a remote multi-chip management system based on an Ethernet switch chip. Each switch chip is configured with a management module, an internal CPU, an internal CPU port, an external CPU port, and a stacking port. Multiple switch chips are connected through the stacking ports, and each switch chip is assigned a unique identifier. The remote multi-chip management system includes: A request management message processing module: When a certain switch chip receives a request management message from the internal CPU or the external CPU, first, the management module is used to determine whether its own chip is the target chip of the request management message. If so, the management module is used to parse and process the message and construct a response management message. If not, the request management message is forwarded through the stacking port to other connected switch chips until it is received by the target chip of the request management message. After the corresponding target chip receives the request management message, the management module is used to parse and process the message and construct a response management message. A response management message processing module: After the response management message is constructed, the corresponding chip uses the management module to determine whether its own chip is the target chip of the response management message. If so, the management module uploads the response management message to the internal CPU or the external CPU. If not, the response management message is forwarded through the stacking port to other connected switch chips until it is received by the target chip of the response management message. After the corresponding target chip receives the response management message, the response management message is uploaded to the internal CPU or the external CPU. BRIEF DESCRIPTION OF THE DRAWINGS

[0012] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the following will briefly introduce the drawings required for the embodiments. It should be understood that the following drawings only show some embodiments of the present invention, and therefore should not be regarded as limiting the scope. For those of ordinary skill in the art, other related drawings can be obtained based on these drawings without creative efforts.

[0013] Figure 1 is a schematic diagram of the implementation model of the remote multi-chip management system based on an Ethernet switch chip of the present invention;

[0014] Figure 2 is a schematic diagram of the data path model of the remote multi-chip management of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0015] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative efforts belong to the scope of protection of the present invention.

[0016] The present invention discloses a remote multi-chip management method based on an Ethernet switch chip, which realizes the function of real-time management of target chips by an internal CPU or an external CPU in a multi-chip working environment.

[0017] Among them, the "management module" is an independent module inside the chip customized by the chip manufacturer. Adopting the C / S service model, it can parse the customized request management message, process the instruction, construct the response management message and send it back, and can realize remote communication with the CPU of the target chip.

[0018] C / S service model: That is, the request-response model is adopted. The user can send a request management message to the target chip through the internal CPU or the external CPU. The message can contain the register information of the target chip that needs to be queried or configured. After the target chip recognizes the message, it sends the message to the management module for request parsing and processing. After completion, a response management message is constructed and carried with the processing result, and then sent back to the CPU of the source chip.

[0019] Multi-chip working environment: Multiple Ethernet switch chips are connected in a star, linear or ring manner through the stacking port, forming a more powerful Ethernet packet forwarding system, and packet forwarding is carried out on this basis.

[0020] The efficiency of this method: It can process at least 200 request management messages per second, and can realize the real-time management function in a multi-chip working environment.

[0021] As Figure 1 shown, the communication connection model: Multiple Ethernet switch chips are connected in a star, linear or ring manner through the stacking port, and packet forwarding is carried out on this basis. In addition, each chip is assigned a unique identifier (device id) for distinction, and each chip retains the internal CPU port and the external CPU port.

[0022] As Figure 2 shown, the data path model of the system: The request management message can only be edited and sent by the CPU. If the target chip is this chip, it is sent to the corresponding CPU port. If the target chip is not this chip, it is forwarded to the stacking port and finally received by the CPU port of the target chip and processed by the management module. After the management module parses and executes the message, it constructs a response management message and returns it to the source chip CPU.

[0023] In a specific embodiment, refer to Figure 2 , the external CPU of Switch_1 sends a request management message and hopes to obtain the device management information of Switch_3. At this time, the target chip of the request management message is set to Switch_3.

[0024] Data path of the request management message:

[0025] 1. The CPU port of Switch_1 receives the request management message. Since the management module diagnoses that it is not the target chip, the message is forwarded out from the corresponding stacking port according to the configured forwarding table.

[0026] 2. The stacking port of Switch_2 receives the request management message. Since the management module diagnoses that it is not the target chip, the message is forwarded out from the corresponding stacking port according to the configured forwarding table.

[0027] 3. The stacking port of Switch_3 receives the request management message. Since the management module diagnoses that the device id matches and it has reached the target chip, the management module parses and processes the message and constructs a response management message. At this time, the target chip of the response management message is Switch_1 (i.e., the source chip of the request management message).

[0028] Data path of the response management message:

[0029] 1. After the management module of Switch_3 constructs the response management message, since the device id of Switch_3 is inconsistent with the target device id of the response management message (i.e., the source device id carried in the request management message), the response message needs to be forwarded out from the corresponding stacking port according to the configured forwarding table.

[0030] 2. The stacking port of Switch_2 receives the response management message. Since the management module diagnoses that it is not the target chip, the message is forwarded out from the corresponding stacking port according to the configured forwarding table.

[0031] 3. The stacking port of Switch_1 receives the response management message. Since the management module diagnoses that the device id matches and it has reached the target chip, it is forwarded to the CPU port and sent to the CPU for processing.

[0032] Format of the management message:

[0033] 1. Message forwarded by the CPU port: Cpu INFO + Management INFO

[0034] 2. Message forwarded by the stacking port: Stacking INFO + Cpu INFO + Management INFO

[0035] 3. Among them, the Stacking INFO carries the identifiers (device id) of the source and destination chips, and the Cpu INFO carries information such as the message type. The Management INFO carries information such as the request / response type, request instruction / response result. This part is the custom content of the chip manufacturer.

[0036] In an embodiment of the present invention, a remote multi-chip management method based on an Ethernet switching chip is provided. Among them, each switching chip is configured with a management module, an internal CPU, an internal CPU port, an external CPU port, and a stacking port. Multiple switching chips are connected through the stacking port, and each switching chip is assigned a unique identifier; and among them, when a certain switching chip receives a request management message from the internal CPU or the external CPU, first, the management module determines whether the chip itself is the target chip of the request management message. If so, the management module parses and processes the message and constructs a response management message; if not, the request management message is forwarded through the stacking port to other connected switching chips until it is received by the target chip of the request management message. After the corresponding target chip receives the request management message, the management module parses and processes the message and constructs a response management message; after the response management message is constructed, the corresponding chip determines whether the chip itself is the target chip of the response management message through the management module. If so, the management module uploads the response management message to the internal CPU or the external CPU; if not, the response management message is forwarded through the stacking port to other connected switching chips until it is received by the target chip of the response management message. After the corresponding target chip receives the response management message, the response management message is uploaded to the internal CPU or the external CPU.

[0037] Further, the management module determines whether the chip itself is the target chip by judging whether the identifier of the chip itself is consistent with the identifier of the target chip carried in the request management message or the response management message.

[0038] Further, the format of the management message forwarded by the stacking port is Stacking INFO + Cpu INFO + Management INFO, where the Stacking INFO carries the identifiers of the source chip and the target chip, the Cpu INFO carries the message type information, and the Management INFO carries the request / response type, request instruction / response result information.

[0039] Further, the switching chip receives the request management message from the internal CPU through the internal CPU port, or receives the request management message from the external CPU through the external CPU port; and uploads the response management message to the internal CPU through the internal CPU port, or uploads the response management message to the external CPU through the external CPU port.

[0040] Further, multiple switching chips are connected in a star, linear or ring manner through the stacking ports.

[0041] Further, the management module of each switching chip adopts a request-response C / S service model, which can parse the custom request management message, processing instructions, construct the response management message and send it back.

[0042] Further, the request management message contains the register information of the target chip to be queried or configured.

[0043] In another embodiment of the present invention, a remote multi-chip management system based on an Ethernet switching chip is further provided, wherein each switching chip is configured with a management module, an internal CPU, an internal CPU port, an external CPU port and a stacking port, and multiple switching chips are connected through the stacking port, and each switching chip is assigned a unique identifier; wherein, the remote multi-chip management system includes: a request management message processing module: used for when a certain switching chip receives a request management message from the internal CPU or the external CPU, first judge whether its own chip is the target chip of the request management message through the management module. If so, parse and process the message through the management module, and construct a response management message; if not, forward the request management message to other connected switching chips through the stacking port until it is received by the target chip of the request management message. After the corresponding target chip receives the request management message, parse and process the message through the management module, and construct a response management message; a response management message processing module: used for after constructing the response management message, the corresponding chip judges whether its own chip is the target chip of the response management message through the management module. If so, the management module uploads the response management message to the internal CPU or the external CPU; if not, forward the response management message to other connected switching chips through the stacking port until it is received by the target chip of the response management message. After the corresponding target chip receives the response management message, upload the response management message to the internal CPU or the external CPU.

[0044] The above is only a preferred specific embodiment of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention, according to the technical solution and inventive concept of the present invention, makes equivalent substitutions or changes, and should be covered by the protection scope of the present invention.

Claims

1. A remote multi-chip management method based on Ethernet switching chip, characterized in that: Each switching chip is configured with a management module, an internal CPU, an internal CPU port, an external CPU port, and a stacking port. Multiple switching chips are connected through the stacking ports, and each switching chip is assigned a unique identifier; wherein, When a switch chip receives a request management message from an internal CPU or an external CPU, it first determines whether its own chip is the target chip of the request management message through the management module. If yes, the message is parsed and processed by the management module, and a response management message is constructed; if not, the request management message is forwarded to other connected switch chips through the stack port until it is received by the target chip of the request management message. After the corresponding target chip receives the request management message, the message is parsed and processed by the management module, and a response management message is constructed; After constructing the response management message, the corresponding chip determines through the management module whether its own chip is the target chip of the response management message. If so, the management module uploads the response management message to the internal CPU or the external CPU; if not, the response management message is forwarded to other connected switching chips through the stack port until it is received by the target chip of the response management message. After the corresponding target chip receives the response management message, it uploads the response management message to the internal CPU or the external CPU.

2. The method according to claim 1, characterized in that: The management module determines whether its own chip is the target chip by determining whether the identifier of its own chip is consistent with the identifier of the target chip carried in the request management message or the response management message.

3. The method according to claim 2, characterized in that The management message format forwarded by the stacking port is StackingINFO+CpuINFO+ManagementINFO, where Stacking INFO carries the identifiers of the source chip and the target chip, CpuINFO carries the message type information, and ManagementINFO carries the request / response type and request instruction / response result information.

4. The method according to claim 1, characterized in that: The switching chip receives a request management message from the internal CPU through the internal CPU port, or receives a request management message from the external CPU through the external CPU port; and uploads a response management message to the internal CPU through the internal CPU port, or uploads the response management message to the external CPU through the external CPU port.

5. The method according to claim 1, characterized in that Multiple switching chips are connected in a star, line or ring manner through stacking ports.

6. The method according to claim 1, characterized in that The management module of each switching chip adopts a request-response C / S service model, which can parse custom request management messages, process instructions, and construct response management messages and send them back.

7. The method according to claim 1, characterized in that The request management message contains register information of the target chip that needs to be queried or configured.

8. A remote multi-chip management system based on Ethernet switching chip, characterized in that: Each switching chip is configured with a management module, an internal CPU, an internal CPU port, an external CPU port and a stacking port, multiple switching chips are connected through the stacking port, and each switching chip is assigned a unique identifier; wherein the remote multi-chip management system includes: Request management message processing module: when a certain switching chip receives a request management message from an internal CPU or an external CPU, it first determines whether its own chip is the target chip of the request management message through the management module. If yes, the message is parsed and processed by the management module, and a response management message is constructed; if not, the request management message is forwarded to other connected switching chips through the stack port until it is received by the target chip of the request management message. After the corresponding target chip receives the request management message, the message is parsed and processed by the management module, and a response management message is constructed; Response management message processing module: After the response management message is constructed, the corresponding chip determines through the management module whether its own chip is the target chip of the response management message. If so, the management module uploads the response management message to the internal CPU or the external CPU; if not, the response management message is forwarded to other connected switching chips through the stack port until it is received by the target chip of the response management message. After the corresponding target chip receives the response management message, it uploads the response management message to the internal CPU or the external CPU.