Cabinet identifier management method and device, storage medium and electronic equipment

By acquiring and analyzing the storage performance feature sequence, combining the prediction of the time convolution network, the target storage performance characteristics of the entire cabinet server are determined, which solves the problem of low cabinet ID management efficiency and realizes the management of AI modules.

CN119788990AActive Publication Date: 2025-04-08INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 14 Cites 0 Cited by

Patent Information

Application Number
CN202411961213.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-12-27
Publication Date
2025-04-08
Estimated Expiration
2044-12-27

AI Technical Summary

Technical Problem

In the prior art, the cabinet ID management efficiency of the entire cabinet server is inefficient, and it is impossible to effectively identify and correct the binding error between the MAC address and the cabinet ID, and it is impossible to manage the AI ​​module.

Method used

The target performance prediction model sent by the server is obtained through the target device, the storage performance feature sequence is obtained, and prediction is made through the time convolution network to determine the target storage performance feature. Determine the target cabinet identifier corresponding to the management node based on the cabinet identification sequence, and realize automatic acquisition and binding of the cabinet identification.

Benefits of technology

It improves the management efficiency of cabinet ID, solves the problem of low cabinet ID management efficiency in the existing technology, and realizes the management of AI modules in the entire cabinet server.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119788990A_ABST
    Figure CN119788990A_ABST
Patent Text Reader

Abstract

The embodiment of the invention provides a cabinet identifier management method and device, a storage medium and electronic equipment. The method comprises the following steps: under the condition that a management node is electrically connected with at least one service node, respectively acquiring a cabinet identifier from the at least one service node through at least one connection link between the management node and the at least one service node; according to an identifier sequence indicated by the at least one cabinet identifier acquired by the management node, determining a position relationship between a target cabinet corresponding to the management node and a reference cabinet corresponding to each of the at least one service node; and determining a target identifier of a target cabinet corresponding to the management node according to the position relationship. The technical problem of low cabinet ID management efficiency in the prior art can be solved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present application relate to the computer field, and more specifically, to a cabinet identification management method and device, a storage medium, and an electronic device. Background Art

[0002] With the rapid development of AI technology, data centers are moving towards large-scale, intelligent, and green. The whole cabinet server is an important device deployed in the data center. Its most important feature is the ability to manage the entire cabinet and high-density deployment. The whole cabinet server achieves unified management of all server nodes in the cabinet through a control node, thereby realizing centralized control and management of the entire cabinet, greatly reducing the operation and maintenance costs of the data center.

[0003] Since the whole cabinet server has a large number of business nodes and each business node has a unique ID, it is necessary to provide unique IDs for the host node and business node in a physical way to perform subsequent device management and configuration.

[0004] In the existing technology, it is necessary to pre-bind the MAC address of the management switch to the cabinet ID of the whole cabinet server one by one to realize node management. However, the pre-manual binding has a low fault tolerance rate, and the production assembly requirements are extremely high. In addition, the management system cannot identify and correct the MAC address and cabinet ID binding errors in production. The MAC address of each switch node is unique. When the machine fails and the management switch needs to be replaced, the MAC address and cabinet ID need to be re-binded, which has poor maintainability. In addition, only the management of nodes can be realized through the MAC address method, and the management of AI modules in the nodes cannot be realized. In other words, in the existing technology, there is a technical problem of low efficiency in cabinet ID management.

[0005] To address the above-mentioned problems, no effective solution has been proposed yet. Summary of the invention

[0006] The embodiments of the present application provide a cabinet identification management method and device, a storage medium and an electronic device, so as to at least solve the technical problem of low cabinet ID management efficiency in the related art.

[0007] According to one aspect of an embodiment of the present application, a method for managing cabinet identification is provided, including: obtaining a target performance prediction model sent by a server through a target device, wherein a target model parameter set of the target performance prediction model is determined by the server based on a reference model parameter set returned by multiple edge devices; obtaining a storage performance feature sequence of the target device within a performance detection period, wherein the storage performance feature sequence includes storage performance features that are respectively matched by multiple time nodes, the multiple time nodes are time nodes within the performance detection period, the storage performance features include indicator performance sub-features that are respectively matched by multiple storage performance indicators, and the indicator performance sub-features are used to indicate that at the non-matching time nodes, the storage performance of the target device The performance of the energy index; inputting the multiple storage performance characteristics into the variable selection network in the target performance prediction model in sequence to obtain the indicator weight sets that match more than one of the above storage performance characteristics respectively, and determining the multiple target storage performance characteristics according to the indicator weight sets that do not match more than one of the above storage performance characteristics respectively, wherein the indicator weight set includes the indicator weights corresponding to more than one of the above indicator performance sub-characteristics; inputting the target performance characteristic sequence composed of the multiple target storage performance characteristics into the time convolution network in the target performance prediction model to obtain the performance indicator prediction result at the target moment, wherein the time convolution network is used to determine the time dependency between at least two of the multiple target storage performance characteristics.

[0008] Optionally, determining the target identifier of the target cabinet corresponding to the management node according to the position relationship includes: when the cabinet identifier included in the identification sequence indicated by at least one cabinet identifier is a binary identifier that increases in sequence, and the first cabinet identifier and the second cabinet identifier in the identification sequence are separated by the third cabinet identifier, determining the target identifier of the target cabinet as the third cabinet identifier; when the cabinet identifier included in the identification sequence indicated by at least one cabinet identifier is a binary identifier that increases in sequence, and the identification interval between every two adjacent cabinet identifiers in the identification sequence is equal, determining a fourth cabinet identifier that does not match the identification sequence according to the identification interval, wherein the fourth cabinet identifier and the identification sequence constitute a reference identification sequence, and the identification interval between every two adjacent cabinet identifiers in the reference identification sequence is equal; determining the target identifier of the target cabinet as the fourth cabinet identifier.

[0009] Optionally, when the management node is electrically connected to at least one business node, before obtaining a cabinet identifier from at least one business node respectively through at least one connection link between the management node and at least one business node, it also includes: determining a one-to-one matching relationship between multiple cabinets and multiple target cables in the entire cabinet server; and writing the mismatched cabinet identifiers in the identification management chips included in the multiple target cables respectively.

[0010] Optionally, after determining the positional relationship between the target cabinet corresponding to the management node and the reference cabinet corresponding to at least one business node according to the identification sequence indicated by at least one cabinet identification obtained by the management node, it also includes: determining a reference sequence composed of link identifiers of connection links that match at least one business node respectively; and generating an alarm message when a first identification change trend indicated by the reference sequence does not match a second identification change trend indicated by the identification sequence, wherein the alarm message is used to indicate that the corresponding relationship between the business node and the connection link is abnormal.

[0011] Optionally, when the management node and at least one business node are electrically connected, a cabinet identifier is obtained from at least one business node through at least one connection link between the management node and at least one business node, and the method further includes: when a node identifier respectively assigned to at least one business node is obtained, the module identifier corresponding to at least one target functional module is obtained from the respectively connected business nodes through at least one connection link, wherein the business node includes at least one target functional module, and the module identifier of the target functional module is determined according to the corresponding module identifier module; determining the mapping relationship between the cabinet identifier, at least one node identifier, and at least one module identifier.

[0012] Optionally, when the management node is electrically connected to at least one business node, and a cabinet identifier is obtained from at least one business node through at least one connection link between the management node and at least one business node, it also includes: sending a node identifier configured for the business node to the unconnected business node through the connection link, wherein the node identifier is determined based on a node identifier module associated with the unconnected link.

[0013] Optionally, obtaining a node identifier respectively assigned to at least one service node includes: in response to a configuration operation on at least one first configuration unit in a node identification module, determining a node identifier assigned to a service node associated with the node identification module, wherein the node identification module includes N groups of first configuration units, each group of first configuration units includes a first configuration subunit and a second configuration subunit, each group of first configuration units is used to configure a digit in a binary identification, and the management node is connected to at most 2N service nodes, where N is an integer greater than 1; the module identifier of the target functional module is determined according to the corresponding module identification module, including: in response to a configuration operation on at least one second configuration unit in the module identification module, determining a module identifier assigned to the target functional module included in the service identifier, wherein the module identification module includes M groups of second configuration units, each group of second configuration units includes a third configuration subunit and a fourth configuration subunit, each group of second configuration units is used to configure a digit in a binary identification, and the service node includes at most 2M target functional modules, where M is an integer greater than 1.

[0014] According to another aspect of an embodiment of the present application, a cabinet identification management device is provided, comprising: at least one management node cabinet, at least one service node cabinet and at least one switch node cabinet, at least one management node, and at least one target cable; wherein the target cable is used to connect the service node cabinet and the switch node cabinet; the management node cabinet is used to, when the management node cabinet and the at least one service node cabinet are electrically connected, obtain a cabinet identification from at least one service node cabinet through at least one connection link between the management node cabinet and the at least one service node cabinet, wherein the cabinet identification is obtained by the service node cabinet from an identification management chip pre-stored in the target cable connected thereto, and the cabinet identification is used to indicate the corresponding service node cabinet, and the device is also used to: determine the target cabinet corresponding to the management node cabinet in the cabinet relationship topology and the topological relationship between the reference cabinets corresponding to the at least one service node cabinet in the cabinet relationship topology according to the identification sequence indicated by the at least one cabinet identification obtained by the management node cabinet; the device is also used to: determine the target identification of the target cabinet corresponding to the management node cabinet according to the topological relationship.

[0015] According to another aspect of the embodiments of the present application, a computer-readable storage medium is provided, in which a computer program is stored, wherein the computer program is configured to execute the above-mentioned cabinet identification management method when running.

[0016] According to another aspect of the embodiment of the present application, a computer program product or a computer program is provided, the computer program product or the computer program includes computer instructions, the computer instructions are stored in a computer-readable storage medium. A processor of a computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device executes the management method of the cabinet identification as described above.

[0017] According to another aspect of the embodiment of the present application, there is also provided an electronic device, including a memory and a processor, wherein the memory stores a computer program, and the processor is configured to execute the cabinet identification management method through the computer program.

[0018] Through the above implementation of the present application, when the management node is electrically connected to at least one service node, a cabinet identifier can be obtained from at least one service node through at least one connection link between the management node and the at least one service node, wherein the cabinet identifier is obtained by the service node from the identifier management chip pre-stored in the target cable connected thereto, the cabinet identifier is used to indicate the cabinet corresponding to the service node, and the target cable is used to connect the service node and the switch node; then, according to the identifier sequence indicated by the at least one cabinet identifier obtained by the management node, the positional relationship between the target cabinet corresponding to the management node and the reference cabinet corresponding to each of the at least one service node is determined; and further, the target identifier of the target cabinet corresponding to the management node is determined according to the positional relationship. Thus, the automatic acquisition of the cabinet identifier is realized, and the cabinet identifier and the target cabinet are automatically bound according to the automatically acquired cabinet identifier, which improves the management efficiency of the cabinet ID and solves the technical problem of low cabinet ID management efficiency existing in the prior art. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The drawings described herein are used to provide a further understanding of the present application and constitute a part of the present application. The illustrative embodiments of the present application and their descriptions are used to explain the present application and do not constitute an improper limitation on the present application. In the drawings:

[0020] Figure 1 It is a hardware structure block diagram of a server device of a cabinet identification management method according to an embodiment of the present application;

[0021] Figure 2 is a flow chart of a method for managing cabinet identification according to an embodiment of the present application;

[0022] Figure 3 is a flow chart of another cabinet identification management method according to an embodiment of the present application;

[0023] Figure 4 is a schematic diagram of a method for managing cabinet identification according to an embodiment of the present application;

[0024] Figure 5 is a schematic diagram of another method for managing cabinet identification according to an embodiment of the present application;

[0025] Figure 6 is a schematic diagram of another method for managing cabinet identification according to an embodiment of the present application;

[0026] Figure 7 is a schematic diagram of another method for managing cabinet identification according to an embodiment of the present application;

[0027] Figure 8 is a structural schematic diagram of a cabinet identification management device according to an embodiment of the present application;

[0028] Fig. 9 It is a structural schematic diagram of a cabinet identification management electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0029] The embodiments of the present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0030] In order to enable those skilled in the art to better understand the solutions of the present invention, the technical solutions in the embodiments of the present invention will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work should fall within the scope of protection of the present invention.

[0031] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.

[0032] The method embodiments provided in the embodiments of the present application can be executed in a server device or a similar computing device. Taking running on a server device as an example, Figure 1 1 is a hardware structure block diagram of a server device of a data processing method according to an embodiment of the present application. Figure 1As shown, the server device may include one or more ( Figure 1 The server device may include a processor 102 (only one is shown) (the processor 102 may include but is not limited to a microprocessor MCU or a programmable logic device FPGA and other processing devices) and a memory 104 for storing data, wherein the server device may also include a transmission device 106 and an input / output device 108 for communication functions. It can be understood by those skilled in the art that Figure 1 The structure shown is only for illustration and does not limit the structure of the above server device. Figure 1 More or fewer components than shown, or with different Figure 1 Different configurations shown.

[0033] The memory 104 can be used to store computer programs, for example, software programs and modules of application software, such as a computer program corresponding to a method for adjusting a read voltage in a memory in an embodiment of the present application. The processor 102 executes various functional applications and data processing by running the computer program stored in the memory 104, that is, implementing the above method. The memory 104 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include a memory arranged relative to the processor 102 process, and these process memories may be connected to a server device via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0034] The transmission device 106 is used to receive or send data via a network. The specific example of the above network may include a wireless network provided by a communication provider of the server device. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, referred to as NIC), which can be connected to other network devices through a base station so as to communicate with the Internet. In one example, the transmission device 106 can be a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0035] As an optional implementation, the above cabinet identification management method is applied to a whole cabinet server, in which at least one management node, at least one service node and at least one switch node are arranged, and at least one management node, at least one service node and at least one switch node are arranged in different cabinets in the whole cabinet server, such as Figure 2 As shown, the management method of the cabinet identification includes:

[0036] S202, when the management node is electrically connected to at least one service node, obtain a cabinet identifier from at least one service node through at least one connection link between the management node and the at least one service node, wherein the cabinet identifier is obtained by the service node from an identifier management chip pre-stored in a target cable connected thereto, the cabinet identifier is used to indicate a cabinet corresponding to the service node, and the target cable is used to connect the service node and the switch node;

[0037] S204, determining, according to an identification sequence indicated by at least one cabinet identification acquired by the management node, a positional relationship between a target cabinet corresponding to the management node and a reference cabinet corresponding to at least one service node;

[0038] S206: Determine the target identifier of the target cabinet corresponding to the management node according to the position relationship.

[0039] It should be noted that the whole cabinet server includes management nodes, service nodes and switch nodes, and the nodes communicate with each other through electrical connections of connection links (such as I2C bus). Specifically, the management node is responsible for monitoring and controlling the operation status of the entire server cluster, the service node is used to process data and execute applications, and the switch node provides network connections to enable each node to communicate.

[0040] Optionally, in the above step S202, the electrical connection established between the management node and the service node may be a data communication link established through the aforementioned I2C bus, or a data communication link established through a CDFP cable or an Ethernet cable, which is not specifically limited here. The connection link between the management node and the service node is used to transmit data including cabinet identification information.

[0041] It should be noted that an identification management chip is pre-stored in the target cable connecting the service node and the switch node. The identification management chip may be a FRU (Field Replace Unit), which is not specifically limited here. The identification management chip stores the cabinet identification corresponding to the cabinet where the service node is located. When the management node is electrically connected to the service node, the management node can obtain the cabinet identification corresponding to each service node by reading the information stored in the identification management chip.

[0042] After the cabinet identification is obtained through the above step S202, the above step S204 is executed to determine the positional relationship between the target cabinet corresponding to the management node and the reference cabinet corresponding to at least one business node according to the identification sequence indicated by at least one cabinet identification obtained by the management node.

[0043] It should be noted that the cabinet identification of the service node obtained by the above management node itself conforms to a certain arrangement order, and each cabinet identification forms the above identification sequence through a preset arrangement order. It can be understood that the arrangement order of the cabinet identification is consistent with the positional relationship between the reference cabinets corresponding to each service node. It is worth noting that the above positional relationship does not only refer to the physical front, back, left, and right, but also refers to the relative position of the service nodes in the network topology and management logic. For example, in a whole cabinet server with a single management node, the management node is connected to a specific set of service nodes, and its cabinet identification sequence should conform to a pre-set rule (such as an increasing binary sequence).

[0044] For example, when the cabinet identification sequence is an increasing binary sequence, assuming that there is a management node managing a whole cabinet server with four business nodes, the identification sequence read by the management node is [0b0000, 0b0001, 0b0011, 0b0100]. At this time, it can be determined that in the above increasing binary sequence, 0b0010 is skipped, that is, after the business node corresponding to 0b0001, the business node corresponding to 0b0001 follows, and the cabinet corresponding to 0b0001 is the second cabinet in the network topology (the cabinet corresponding to 0b0000 is the first cabinet). At this time, it can be determined that the third cabinet in the network topology is the above target cabinet corresponding to the management node.

[0045] Step S206, determining the target identifier of the target cabinet corresponding to the management node according to the position relationship, specifically includes the following steps:

[0046] S206-1, when the cabinet identifiers included in the identifier sequence indicated by at least one cabinet identifier are binary identifiers that are incremented in sequence, and a third cabinet identifier is present between a first cabinet identifier and a second cabinet identifier in the identifier sequence, determining the target identifier of the target cabinet to be the third cabinet identifier;

[0047] S206-2, when the cabinet identifier included in the identification sequence indicated by at least one cabinet identifier is a binary identifier that increases in sequence, and the identification interval between every two adjacent cabinet identifiers in the identification sequence is equal, determine a fourth cabinet identifier that does not match the identification sequence according to the identification interval, wherein the fourth cabinet identifier and the identification sequence constitute a reference identification sequence, and the identification interval between every two adjacent cabinet identifiers in the reference identification sequence is equal; determine the target identifier of the target cabinet as the fourth cabinet identifier.

[0048] It can be understood that, for the above step S206-1, the cabinet identification sequence obtained by the management node as mentioned above is [0b0000, 0b0001, 0b0011, 0b0100]. This means that the identification interval is discontinuous in the sequence, that is, the identification 0b0010 is skipped in the sequence, that is, the third cabinet identification (0b0010) is separated between the first cabinet identification (0b0001) and the second cabinet identification (0b0011) in the above step S206-1, which means that the identification and the cabinet corresponding to the identification are reserved for the management node. Through the above step S204, it can be determined that the management node is the third cabinet (target cabinet) in the network topology, and then the cabinet identification (target identification) of the management node is determined as the cabinet identification (third cabinet identification) 0b0010 corresponding to the target cabinet.

[0049] In the above step S206-2, when the cabinet identification sequence read by the management node is a continuous binary identification with equal intervals, for example, the identification sequence is [0b0000, 0b0001, 0b0010, 0b0011], and the numerical difference between each identification is equal, in this case, the management node determines the target cabinet identification that matches the service node sequence connected to it, that is, the fourth cabinet identification, based on the identification sequence and the known fixed intervals between adjacent cabinet identifications.

[0050] Specifically, the management node calculates the difference between every two adjacent cabinet identifiers in the identifier sequence, and this difference is the identifier interval. For example, in the sequence [0b0000, 0b0001, 0b0010, 0b0011], the difference between adjacent identifiers is 1, that is, the above identifier interval is 1.

[0051] Based on the calculated value 1 of the identification interval, the management node will infer the next or previous cabinet identification outside the sequence, that is, the fourth cabinet identification. For example, when the identification sequence is the aforementioned [0b0000, 0b0001, 0b0010, 0b0011], 0b0100 is used as the aforementioned fourth cabinet identification, and the fourth cabinet identification is determined as the cabinet identification of the management node.

[0052] For another example, when the identification sequence is [0b0001, 0b0010, 0b0011, 0b0100], 0b0000 is used as the fourth cabinet identification. For another example, when the identification sequence is [0b0000, 0b0010, 0b0100, 0b0110], the identification interval is 2, and 0b1000 is used as the fourth cabinet identification. The above is only an example and is not specifically limited here.

[0053] In this implementation, the target identification of the target cabinet can be automatically determined according to the read identification sequence, thereby avoiding the risks brought by manual reading and improving the management efficiency of the cabinet ID.

[0054] Through the above implementation, first, when the management node is electrically connected to at least one service node, a cabinet identifier is obtained from at least one service node through at least one connection link between the management node and at least one service node, wherein the cabinet identifier is obtained by the service node from the identifier management chip pre-stored in the target cable connected thereto, the cabinet identifier is used to indicate the cabinet corresponding to the service node, and the target cable is used to connect the service node and the switch node; then, according to the identifier sequence indicated by at least one cabinet identifier obtained by the management node, the positional relationship between the target cabinet corresponding to the management node and the reference cabinet corresponding to each of the at least one service node is determined; and further, according to the positional relationship, the target identifier of the target cabinet corresponding to the management node is determined. Thus, the automatic reading of the identifiers of each cabinet in the whole cabinet server is realized, and the technical problem of low cabinet ID management efficiency existing in the prior art is solved.

[0055] As an optional implementation manner, when the management node is electrically connected to at least one service node, before obtaining a cabinet identifier from at least one service node through at least one connection link between the management node and the at least one service node, the method further includes:

[0056] S1, determining a one-to-one matching relationship between a plurality of target cables in a plurality of cabinets in a non-whole cabinet server;

[0057] S2, writing mismatched cabinet identifications into identification management chips included in the plurality of target cables respectively.

[0058] First, determine the corresponding connection relationship between each target cable and the cabinet. It should be noted that the target cable is a physical communication link used to connect the service node and the switch node inside the entire cabinet server. Through the target cable, the service node can establish communication with the switch node to achieve data exchange. It should be noted that the one-to-one matching relationship between the multiple target cables in the above multiple cabinets can ensure that each target cable corresponds to a specific cabinet representation.

[0059] Furthermore, after determining the matching relationship between the cabinet and the cable, the identification of the cabinet corresponding to the target cable is written into the identification management chip (FRU chip) contained in the target cable, so as to ensure that the management node can accurately read the cabinet identification information from the FRU chip of the cable when communicating with the service node.

[0060] Optionally, a marker management chip FRU is pre-installed in the target cable, see Figure 7The chip has the ability to store cabinet identification. A service node is connected to the target cable through port A Port. Port A Port communicates with FRU through the I2C bus. FRU stores the cabinet identification [3:0] of the service node corresponding to the cable.

[0061] Through the above implementation, the identification management chip stores the cabinet identification that matches the target cable, so as to ensure that the management node can accurately obtain the cabinet location information according to the cabinet identification stored in the identification management chip when communicating with the business node, thereby realizing the precise positioning and effective management of each node in the entire cabinet server.

[0062] In an optional implementation, after determining the positional relationship between the target cabinet corresponding to the management node and the reference cabinet corresponding to at least one service node according to the identification sequence indicated by at least one cabinet identification acquired by the management node, the method further includes:

[0063] S1, determining a reference sequence composed of link identifiers of connection links that are matched with at least one service node;

[0064] S2, when the first identification change trend indicated by the reference sequence does not match the second identification change trend indicated by the non-identification sequence, an alarm message is generated, wherein the alarm message is used to indicate that the corresponding relationship of the service node not connecting the link is abnormal.

[0065] It should be noted that in the management of the above-mentioned whole cabinet server, in addition to obtaining the cabinet identification to determine the positional relationship between the management node and the business node, it is also necessary to detect and ensure the correct correspondence between the business node and the connection link. Specifically, in the whole cabinet server, each business node communicates with the management node and other nodes through a specific connection link (such as I2C bus, network cable, etc.). In order to ensure the correctness and traceability of these connection links, a unique link identifier is assigned to each connection link to distinguish different links.

[0066] Furthermore, the reference sequence formed by the plurality of link identifiers is determined. It is understandable that the reference sequence includes link identifiers of all connected links, and the link identifiers may be arranged in the order of connection between the service nodes and the management nodes.

[0067] Then, the first identification change trend indicated by the reference sequence is analyzed, and the second identification change trend indicated by the aforementioned identification sequence is analyzed. Specifically, for example, I2C0-I2C3 of the management node should be connected to business nodes 0-3 in sequence. Under normal circumstances, the business node cabinet ID read by the management node through I2C0-I2C3 should increase in sequence, for example, they should be 0b0000, 0b0001, 0b0011, 0b0100 respectively. If the read sequence does not increase in sequence, it means that the cable is connected incorrectly and an alarm is required. At this time, an alarm message is generated.

[0068] Optionally, the above alarm information may include a correct connection method, that is, the above alarm information is not limited to indicating that an error exists, but further includes a detailed correction plan to help maintenance personnel quickly restore the correct connection method.

[0069] Specifically, the alarm information describes the specific information of the connection link where the wrong connection occurs, including the service node ID, management node ID, and link identifier of the connection where the wrong connection occurs. At the same time, the management node ID and link identifier that each service node should be connected to under normal circumstances are listed, for example, "The I2C connection line of service node 0b0010 needs to be connected to I2C3 of management node 0b0011". Based on the system architecture design and hardware layout, the maintenance personnel are informed of the specific location of the management node and link that each service node should be correctly connected to, which may include a description of the physical location.

[0070] Through the above implementation, when a service node is connected to an incorrect connection link, an alarm message will be generated in time, and the alarm message includes instructions such as the correct connection method, so that the incorrect connection can be corrected immediately, reducing the maintenance difficulty of the entire cabinet server.

[0071] In an optional implementation, when the management node is electrically connected to at least one service node, obtaining a cabinet identifier from at least one service node through at least one connection link between the management node and at least one service node, further comprising:

[0072] S1, when a node identifier assigned to at least one service node is obtained, respectively obtaining a module identifier corresponding to at least one target functional module from the service nodes respectively connected through at least one connection link, wherein the service node includes at least one target functional module, and the module identifier of the target functional module is determined according to a corresponding module identifier module;

[0073] S2: Determine a mapping relationship between a cabinet identifier, at least one node identifier, and at least one module identifier.

[0074] It is worth noting that in the management process of the above-mentioned whole cabinet server, in addition to determining the above-mentioned cabinet identification, it is also necessary to further collect the module identification of each target functional module in the business node to establish a mapping relationship between the management node and the target functional modules, thereby realizing the management of the target functional module by the management node. It can be understood that the above-mentioned target functional module can be an AI computing module, etc., which is not specifically limited here.

[0075] Specifically, in the service node, the module identification of the target functional module is determined by the corresponding module identification module. The module identification module can be a hardware circuit, for example, a binary encoding circuit formed by a pull-up resistor, a pull-down resistor, a power supply and a ground, or a software configuration module, for example, a module representation allocation module preset in BIOS or firmware. Whether in hardware or software form, the above module identification module can ensure that the corresponding target functional module has a unique module identification.

[0076] In the case where the module identification module is a binary encoding circuit formed by a pull-up resistor, a pull-down resistor, a power supply and a ground, the relationship between the pull-up resistor and the pull-down resistor is 2-to-1. When the pull-up resistor is set, the corresponding identification bit is set to 1, and when the pull-down resistor is set, the corresponding identification bit is set to 0. Through the 2-to-1 operation between the two groups of pull-up resistors and the pull-down resistors, the four binary numbers from 0b00 to 0b11 can be determined. By setting the four binary numbers from 0b00 to 0b11 in the four module identification modules, the module identifications of the four target functional modules can be set to 0b00, 0b01, 0b10, and 0b11 respectively.

[0077] It should be noted that the method of determining the module identification by the above two groups of pull-up resistors and pull-down resistors is only an example. In practice, there may be other numbers of pull-up resistors and pull-down resistor pairs. For example, when there are three pull-up resistors and pull-down resistor pairs, eight binary numbers from 0b000 to 0b111 can be determined. By setting the eight binary numbers from 0b000 to 0b111 for each of the eight module identification modules, the module identifications of the eight target functional modules can be set to 0b000 to 0b111 respectively. No specific limitation is made here.

[0078] Further, the above step S2 is performed to determine the mapping relationship between the cabinet identifier, at least one node identifier, and at least one module identifier. The process of determining the mapping relationship includes but is not limited to analyzing the cabinet identifier and the node identifier. Specifically, the management node first checks the cabinet identifier sequence to confirm whether the service nodes are distributed in different cabinets according to the expected network topology layout. At the same time, the specific type and function of each service node are confirmed by the node identifier, such as whether it is an AI computing type service node, a storage type service node, etc.

[0079] It should be noted that the above mapping relationship is also used to associate module identifiers. Specifically, the management node associates the node identifier and cabinet identifier that do not correspond to the module identifier of the target functional module obtained from each service node. In other words, for each service node, the management node can accurately know the module type, quantity and specific module identifier inside the service node. When a target functional module in a service node fails, the management node will know the module identifier of the target functional module and the identifier of the service node where the target functional module is located, and then it can be known which target functional module in which service node has failed.

[0080] In the above implementation, under a business node, a unique module identifier under the business node is assigned to the target functional module through the module identification module, and then when an abnormality occurs in a certain target functional module, the specific target functional module where the abnormality occurs can be known, which solves the technical problem in the prior art that when an abnormality occurs in a module in a business node, it can only be located at the business node, and cannot be further located at the specific functional module.

[0081] In an optional implementation manner, when the management node is electrically connected to at least one service node, obtaining a cabinet identifier from at least one service node through at least one connection link between the management node and at least one service node, further comprising:

[0082] S1. Sending a node identifier configured for a service node to a disconnected service node via a connection link, wherein the node identifier is determined according to a node identifier module associated with the disconnected link.

[0083] It can be understood that, when a connection link for transmitting data is established between the management node and the service node, the node identifier configured for the service node is sent.

[0084] In an optional implementation manner, the acquiring of the node identifier respectively allocated to the at least one service node includes:

[0085] S1, in response to a configuration operation on at least one first configuration unit in a node identification module, determining a node identification assigned to a service node associated with the node identification module, wherein the node identification module includes N groups of first configuration units, each group of first configuration units includes a first configuration subunit and a second configuration subunit, each group of first configuration units is used to configure a digit in a binary identification, and the management node is connected to at most 2N service nodes, where N is an integer greater than 1;

[0086] The module identification of the above-mentioned target functional module is determined according to the corresponding module identification module, including:

[0087] S2, in response to a configuration operation on at least one second configuration unit in the module identification module, determine the module identification assigned to the target functional module included in the service identification, wherein the module identification module includes M groups of second configuration units, each group of second configuration units includes a third configuration sub-unit and a fourth configuration sub-unit, each group of second configuration units is used to configure a digit in the binary identification, and the service node includes at most 2M target functional modules, and M is an integer greater than 1.

[0088] It should be noted that, in the above step S1, the above node identification module includes N groups of first configuration units, and each group of configuration units is composed of a first configuration sub-unit and a second configuration sub-unit. The above first configuration unit can be the aforementioned pull-up resistor and pull-down resistor pair. In a first configuration unit, a pull-up resistor is used as a first configuration sub-unit, and a pull-down resistor is used as a second configuration sub-unit. For example, in a first configuration unit, a pull-up resistor is used as a second configuration sub-unit, and a pull-down resistor is used as a first configuration sub-unit. No specific limitation is made here.

[0089] It can be understood that, as mentioned above, in a pull-up resistor and a pull-down resistor pair, the pull-up resistor and the pull-down resistor group are set to a 2-to-1 mode. When set to a pull-up resistor group, one of the digits in the corresponding binary identifier is set to 1, and vice versa. One of the digits in the binary identifier is set to 0, that is, a group of pull-up resistors and pull-down resistor pairs can determine two numbers 0 and 1, and then, N pull-up resistors and pull-down resistor pairs can determine 2 N For example, four binary numbers 0b00 to 0b11 can be determined by two sets of pull-up resistors and pull-down resistors. Further, the service node can use the four node identifiers 0b00 to 0b11. The service node can be connected without the management node when the node identifier is allocated, so that the management node can be connected without 2 N business nodes to connect.

[0090] In the above step S2, the module identification is determined by the module identification module, and each module identification module includes M groups of second configuration units. Similarly, the second configuration unit can be the aforementioned pull-up resistor and pull-down resistor pair. In a second configuration unit, a pull-up resistor serves as a third configuration sub-unit, and a pull-down resistor serves as a fourth configuration sub-unit. For example, in a second configuration unit, a pull-up resistor serves as a fourth configuration sub-unit, and a pull-down resistor serves as a third configuration sub-unit. No specific limitation is made here.

[0091] Furthermore, 2 can be determined based on M pull-up resistors and pull-down resistors. MThe specific determination process is referred to the above content and will not be repeated here. Therefore, a service node can allocate 2 M module identifiers, so a service node can contain up to 2 M Target function module.

[0092] Figure 3 is a flowchart of another cabinet identification management method according to an embodiment of the present application. Figure 3 This chapter explains the management method of a complete cabinet identification.

[0093] S302, configure the whole cabinet server. The whole cabinet server can be configured to include multiple HOST nodes (management nodes) and multiple service nodes, such as Figure 4 As shown, in Figure 4 In the embodiment, a whole cabinet server (cabinet 401) includes two HOST nodes (HOST nodes 0 to HOST1) and eight service nodes (service nodes 0 to service nodes 7), and also includes a power supply node and a switch node. Figure 4 The whole cabinet server shown is used as an example for further explanation.

[0094] It should be noted that each HOST node corresponds to multiple service nodes, each HOST node is connected to multiple service nodes through CDFP (Common Docking Fractional Port) cables, and connected to switch nodes through network cables. Each switch node is connected to multiple service nodes through a cable tray (cable system).

[0095] The HOST node contains the BMC (Baseboard Management Controller), the service node ID setting module and the connector. For details, see Figure 5 The service node ID setting module consists of a pull-up resistor, a pull-down resistor, a power supply and a ground. The pull-up resistor and the pull-down resistor are in a 2-choose-1 working mode. When set to a pull-up resistor, the corresponding ID bit is set to 1. When set to a pull-down resistor, the corresponding ID bit is set to 0. The service node ID setting module is connected to the IO expansion chip of the service node and each AI module through a connector. The host node BMC is connected to the service node BMC through the I2C bus to obtain the service node ID and AI module ID.

[0096] The business node includes BMC, IO expansion chip, module ID setting module, AI module and connector. For details, see Figure 6. The module ID setting module consists of a pull-up resistor, a pull-down resistor, a power supply, and a ground. As mentioned above, the pull-up resistor and the pull-down resistor are in a 2-choose-1 mode. When set to a pull-up resistor, the corresponding module ID bit is set to 1. When set to a pull-down resistor, the corresponding module ID bit is set to 0. The module ID setting module is connected to the IO expansion chip and AI module of the service node at the same time. The BMC of the service node is connected to the IO expansion chip through the I2C bus to obtain the service node ID and AI module ID.

[0097] S304, configure the service node ID. Specifically, configure the service node ID through the service node ID setting module. As mentioned above, the service node ID setting module is composed of a pull-up power group, a pull-down power group, a power supply and a ground. The pull-up and pull-down power groups are 2 to 1. When set to the pull-up power group, the corresponding ID bit is set to 1, otherwise the corresponding ID bit is set to 0. The four service node ID setting modules set the service node ID to 0b00, 0b01, 0b10, and 0b11.

[0098] It should be noted that the business node ID setting module is connected to the IO expansion chip and 8 AI modules of the business node through the connector at the same time, and the HOST node BMC connects to the business node BMC through I2C0 to I2C3 to obtain the business node ID and AI module ID. I2C0 to I2C3 correspond to the business node IDs 0b00, 0b01, 0b10, and 0b11 in sequence.

[0099] S306, configure the module ID, specifically, Figure 6 As shown, the business node includes BMC, IO expansion chip, 8 module ID setting modules, 8 AI modules and connectors. The module ID setting module consists of a pull-up power group, a pull-down power group, a power supply and a ground. The pull-up and pull-down power groups are in a 2-to-1 mode. Specifically, when set to a pull-up power group, the corresponding module ID bit is set to 1, and when set to a pull-down power group, the corresponding module ID bit is set to 0. The 8 module ID setting modules set the 8 AI module IDs to 0b000-0b111, and are simultaneously connected to the IO (Input and output) expansion chip of the business node. The BMC of the business node is connected to the IO expansion chip through the I2C bus to obtain the business node ID and AI module ID.

[0100] S308, configure the FRU chip. Figure 7The cable tray is a cable connecting the service node and the switch node. The end of the cable tray that is not connected to the service node is designed with a FRU (Field Replace Unit) chip to store the cabinet ID. The BMC of the service node reads its own cabinet ID from the FRU chip through I2C. The cables of each service node are different, and the cabinet ID stored in the cable FRU is also different. Figure 4 For example, the four I2C groups of the BMC in each HOST node are connected to the BMCs of the four service nodes respectively, and the cabinet IDs of the four service nodes are read through I2C.

[0101] S310, ID reading. The service node BMC reads the service node ID and AI module ID from the IO expansion chip through the I2C protocol; for example, the service node ID read by the BMC of service node 0 should be 0b00, and the IDs of the 8 AI modules that can be read are 0b000 to 0b111 in sequence. The service node BMC reads the cabinet ID of the service node from the FRU chip in the Cable tray through the I2C protocol; for example, the cabinet ID read by the BMC of service node 0 should be 0b0000.

[0102] In addition, the AI ​​module can directly read the business node ID and AI module ID; for example, the ID read by the 8th AI module of business node 0 is 00111.

[0103] It is worth noting that the BMC in the HOST node reads the cabinet ID, business node ID and AI module ID of the service node from the service node BMC through the I2C protocol. For example, the ID of the 7th AI module read by HOST node 0 from service node 1 should be [cabinet ID: business node ID: AI module ID] = 0b000101111.

[0104] Furthermore, the BMC in the HOST node calculates its own cabinet ID based on the cabinet IDs of multiple service nodes; for example, if the cabinet IDs read by a HOST node are 0b0000, 0b0001, 0b0011, and 0b0100, the cabinet ID corresponding to the HOST node is 0b0010.

[0105] S312, ID verification. Specifically, the HOST node verifies whether the order of the cabinet IDs of multiple service nodes is as expected to check whether the cables between the HOST node and the service nodes are connected incorrectly. For example, I2C0 to I2C3 of the HOST node are connected to connectors 0 to 3 respectively. Normally, the wires should be connected to service nodes 0 to 3 in sequence. The service node cabinet IDs read by I2C0 to I2C3 should increase in sequence, and should be 0b0000, 0b0001, 0b0011, and 0b0100 respectively. If the order is not as expected, it means that the cable is connected incorrectly and an alarm is required.

[0106] It should be noted that the above expectations are the connection relationships between the preset HOST nodes and the business nodes. For example, I2C0 to I2C3 of the HOST node can also be preset to be connected to connector 0, connector 1, connector 2 and connector 3 respectively. In this case, the business node cabinet IDs expected to be read by I2C0 to I2C3 should be 0b0000, 0b0001, 0b0100, 0b0011 respectively. If the actual read order does not match the above expected order, it means that the cable is connected incorrectly and an alarm is required.

[0107] It should be noted that, for the sake of simplicity, the aforementioned method embodiments are all described as a series of action combinations, but those skilled in the art should be aware that the present application is not limited by the order of the actions described, because according to the present application, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions and modules involved are not necessarily required by the present application.

[0108] According to another aspect of the embodiments of the present application, a cabinet identification management device for implementing the above cabinet identification management method is also provided. Figure 8 As shown, the apparatus includes: at least one management node cabinet 802, at least one service node cabinet 804 and at least one switch node cabinet 806, and at least one target cable 808;

[0109] Wherein, the target cable 808 is used to connect the service node cabinet 804 and the switch node cabinet 806;

[0110] The management node cabinet 802 is used to obtain a cabinet identification from at least one service node cabinet through at least one connection link between the management node cabinet 802 and at least one service node cabinet 804 when the management node cabinet 802 is electrically connected to the at least one service node cabinet 804, wherein the cabinet identification is obtained by the service node cabinet 804 from an identification management chip pre-stored in the connection target cable 808, and the cabinet identification is used to indicate the corresponding service node cabinet.

[0111] The device is also used to: determine the topological relationship between the target cabinet corresponding to the management node cabinet 804 in the cabinet relationship topology and the reference cabinets corresponding to at least one service node cabinet 804 in the cabinet relationship topology according to the identification sequence indicated by at least one cabinet identification obtained by the management node cabinet 802;

[0112] The device is also used to determine the target identifier of the target cabinet corresponding to the management node cabinet 802 according to the topological relationship.

[0113] According to another aspect of the embodiment of the present application, an electronic device for implementing the above cabinet identification management method is also provided. The electronic device may be Figure 1 The terminal device or server shown in the figure. This embodiment is described by taking the electronic device as a mobile phone or a computer as an example. Fig. 9 As shown, the electronic device includes a memory 902 and a processor 904. The memory 902 stores a computer program, and the processor 904 is configured to execute the steps in any of the above method embodiments through the computer program.

[0114] Optionally, in this embodiment, the electronic device may be located in at least one network device among a plurality of network devices of a computer network.

[0115] Optionally, in this embodiment, the processor may be configured to perform the following steps through a computer program:

[0116] S1, when the management node is electrically connected to at least one service node, obtain a cabinet identifier from at least one service node through at least one connection link between the management node and the at least one service node, wherein the cabinet identifier is obtained by the service node from an identifier management chip pre-stored in a target cable connected thereto, and the cabinet identifier is used to indicate the cabinet corresponding to the service node, and the target cable is used to connect the service node and the switch node;

[0117] S2, determining, according to an identification sequence indicated by at least one cabinet identification acquired by the management node, a positional relationship between a target cabinet corresponding to the management node and a reference cabinet corresponding to at least one service node;

[0118] S3, determining the target identifier of the target cabinet corresponding to the management node according to the position relationship.

[0119] Alternatively, a person skilled in the art may understand that: Fig. 9The structure shown is for illustration only, and the electronic device may also be a smart phone (such as an Android phone, an iOS phone, etc.), a tablet computer, a PDA, a mobile Internet device (MID), a PAD, or other terminal devices. Figure 8 The structure of the electronic device is not limited. Figure 8 More or fewer components (such as network interfaces, etc.) shown in the figure, or with different Figure 8 Different configurations are shown.

[0120] Among them, the memory 902 can be used to store software programs and modules, such as the program instructions / modules corresponding to the cabinet identification management method and device in the embodiment of the present application. The processor 904 executes various functional applications and data processing by running the software programs and modules stored in the memory 902, that is, the above-mentioned cabinet identification management method is realized. The memory 902 may include a high-speed random access memory, and may also include a non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 902 may further include a memory set relative to the processor 904 process, and these process memories may be connected to the terminal via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and a combination thereof. Among them, the memory 902 can be specifically used, but not limited to, for storing information such as page elements and page styles. This example will not be repeated.

[0121] Optionally, the transmission device 906 is used to receive or send data via a network. Specific examples of the network may include a wired network and a wireless network. In one example, the transmission device 906 includes a network adapter (Network Interface Controller, NIC), which can be connected to other network devices and routers via a network cable so as to communicate with the Internet or a local area network. In one example, the transmission device 906 is a radio frequency (RF) module, which is used to communicate with the Internet wirelessly.

[0122] In addition, the electronic device further includes: a display 908 for displaying the target page; and a connection bus 910 for connecting various module components in the electronic device.

[0123] In other embodiments, the terminal device or server may be a node in a distributed system, wherein the distributed system may be a blockchain system, and the blockchain system may be a distributed system formed by connecting the multiple nodes through network communication. The nodes may form a point-to-point network, and any form of computing device, such as a server, terminal or other electronic device, may become a node in the blockchain system by joining the point-to-point network.

[0124] The above are only preferred implementations of the present application. It should be pointed out that, for ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principles of the present application. These improvements and modifications should also be regarded as the protection scope of the present application.

Claims

1. A method for managing cabinet identification, characterized in that: Applied to a whole cabinet server, the whole cabinet server is provided with at least one management node, at least one service node and at least one switch node, and at least one management node, at least one service node and at least one switch node are respectively arranged in different cabinets in the whole cabinet server. include: In the case where the management node is electrically connected to at least one service node, a cabinet identifier is obtained from at least one service node through at least one connection link between the management node and at least one service node, wherein the cabinet identifier is obtained by the service node from an identifier management chip pre-stored in a target cable connected thereto, the cabinet identifier is used to indicate a cabinet corresponding to the service node, and the target cable is used to connect the service node and the switch node; Determine, according to an identification sequence indicated by at least one of the cabinet identifications acquired by the management node, a positional relationship between a target cabinet corresponding to the management node and a reference cabinet corresponding to at least one of the service nodes; A target identifier of the target cabinet corresponding to the management node is determined according to the position relationship.

2. The method according to claim 1, characterized in that: The step of determining the target identifier of the target cabinet corresponding to the management node according to the position relationship includes: In a case where the cabinet identifiers included in the identifier sequence indicated by at least one of the cabinet identifiers are binary identifiers that are incremented in sequence, and a third cabinet identifier is present between a first cabinet identifier and a second cabinet identifier in the identifier sequence, determining the target identifier of the target cabinet to be the third cabinet identifier; In a case where the cabinet identifier included in the identification sequence indicated by at least one of the cabinet identifiers is a binary identifier that increases in sequence, and the identification interval between every two adjacent cabinet identifiers in the identification sequence is equal, a fourth cabinet identifier that matches the identification sequence is determined based on the identification interval, wherein the fourth cabinet identifier and the identification sequence constitute a reference identification sequence, and the identification interval between every two adjacent cabinet identifiers in the reference identification sequence is equal; and the target identifier of the target cabinet is determined to be the fourth cabinet identifier.

3. The method according to claim 2, characterized in that In the case where the management node is electrically connected to at least one service node, before obtaining a cabinet identifier from at least one service node through at least one connection link between the management node and at least one service node, the method further includes: Determine a one-to-one matching relationship between a plurality of cabinets in the whole cabinet server and a plurality of target cables; The identification management chips included in the plurality of target cables are respectively written with the cabinet identifications that match the target cables.

4. The method according to claim 1, characterized in that After determining the positional relationship between the target cabinet corresponding to the management node and the reference cabinet corresponding to at least one of the service nodes according to the identification sequence indicated by at least one of the cabinet identifications acquired by the management node, the method further includes: Determine a reference sequence composed of link identifiers of connection links that match at least one of the service nodes respectively; When the first identification change trend indicated by the reference sequence does not match the second identification change trend indicated by the identification sequence, an alarm message is generated, wherein the alarm message is used to indicate that the corresponding relationship between the service node and the connection link is abnormal.

5. The method according to any one of claims 1 to 4, characterized in that In the case where the management node is electrically connected to at least one service node, when a cabinet identifier is obtained from at least one service node through at least one connection link between the management node and at least one service node, the method further includes: When a node identifier assigned to at least one of the service nodes is obtained, a module identifier corresponding to at least one target functional module is obtained from the service nodes connected to the target functional modules through at least one of the connection links, wherein the service node includes at least one of the target functional modules, and the module identifier of the target functional module is determined according to a module identifier module corresponding thereto; A mapping relationship between the cabinet identifier, at least one of the node identifiers, and at least one of the module identifiers is determined.

6. The method according to claim 5, characterized in that When the management node is electrically connected to at least one business node, and a cabinet identifier is obtained from at least one business node through at least one connection link between the management node and at least one business node, the method further includes: sending the node identifier configured for the business node to the business node connected thereto through the connection link, wherein the node identifier is determined based on a node identifier module associated with the connection link.

7. The method according to claim 6, characterized in that Acquiring a node identifier respectively allocated to at least one of the service nodes, comprising: In response to a configuration operation on at least one first configuration unit in the node identification module, the node identification assigned to the service node associated with the node identification module is determined, wherein the node identification module includes N groups of first configuration units, each group of the first configuration units includes a first configuration subunit and a second configuration subunit, each group of the first configuration units is used to configure a digit in a binary identification, and the management node is associated with at most 2 N The service nodes are connected, and N is an integer greater than 1; The module identification of the target functional module is determined according to a module identification module corresponding thereto, including: In response to a configuration operation on at least one second configuration unit in the module identification module, the module identification assigned to the target functional module included in the service identification is determined, wherein the module identification module includes M groups of second configuration units, each group of the second configuration units includes a third configuration subunit and a fourth configuration subunit, each group of the second configuration units is used to configure a digit in a binary identification, and the service node includes at most 2 M The target functional modules, wherein M is an integer greater than 1.

8. A cabinet identification management device, characterized in that: include: at least one management node cabinet, at least one service node cabinet, at least one switch node cabinet, and at least one target cable; Wherein, the target cable is used to connect the service node cabinet and the switch node cabinet; The management node cabinet is used to obtain a cabinet identifier from at least one of the service node cabinets through at least one connection link between the management node cabinet and at least one of the service node cabinets when the management node cabinet is electrically connected to the at least one service node cabinet, wherein the cabinet identifier is obtained by the service node cabinet from an identifier management chip pre-stored in a target cable connected thereto, and the cabinet identifier is used to indicate the corresponding service node cabinet. The device is also used to: determine the topological relationship between the target cabinet corresponding to the management node cabinet in the cabinet relationship topology and the reference cabinet corresponding to at least one of the service node cabinets in the cabinet relationship topology according to the identification sequence indicated by at least one of the cabinet identifications acquired by the management node cabinet; The device is also used to determine the target identifier of the target cabinet corresponding to the management node cabinet according to the topological relationship.

9. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, wherein the computer program implements the steps of the method described in any one of claims 1 to 7 when executed by a processor.

10. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the method described in any one of claims 1 to 7 are implemented.

Citation Information

Patent Citations

  • Method and apparatus for identifying enclosures and devices

    CN101611390A

  • Efficient access to connectivity information using cable identification

    CN103945285A

  • A detection method and a detection device for a whole cabinet server label

    CN109102045A

  • Whole cabinet server node management method and device based on management switch

    CN109309633A

  • Automatic node IP configuration method and system facing SR whole cabinet

    CN109587282A