Method for managing devices and related components

By receiving device information through the switch management device and updating it to the host in a timely manner, the problem of needing to restart the host to obtain device information in the existing technology is solved, thus improving the user experience.

CN115567608BActive Publication Date: 2025-10-17INSPUR SUZHOU INTELLIGENT TECH CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211157421.6
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-09-22
Publication Date
2025-10-17
Estimated Expiration
2042-09-22

AI Technical Summary

Technical Problem

In existing technologies, the host needs to restart the entire rack to reacquire device information when the device information is updated, which causes inconvenience to users.

Method used

A device management method is provided, which receives device information through the management device of the switch, determines the connection relationship between the switch and the host, and updates the device information to the host in a timely manner when the connection relationship between the device and the host changes.

Benefits of technology

This allows for timely updates of device information without restarting the host when device information changes, thus improving the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115567608B_ABST
    Figure CN115567608B_ABST
Patent Text Reader

Abstract

The application discloses a kind of management method of equipment and related components, applied to internet field, receive the equipment information sent by the management device of equipment, equipment information includes the connection relationship of equipment and switch;Determine the connection relationship of switch and host;According to equipment information and the connection relationship of switch and host, determine the connection relationship of equipment and host;When the connection relationship of equipment and host changes, send updated equipment information to host.The management device of switch obtains the connection relationship of switch and equipment, the connection relationship of switch and host, and obtains the connection relationship of equipment and host, and timely sends equipment information to host, so that users can obtain equipment information through host, use more conveniently, improve user experience.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of Internet, in particular to a device management method and related components. BACKGROUND

[0002] In recent years, in the field of Internet, various differentiated computing scenario requirements emerge in an endless stream, such as artificial intelligence, machine learning, high-performance computing, etc. In order to meet these differentiated computing requirements, server suppliers often design different devices such as CPU (Central Processing Unit), GPU (Graphics Processing Unit), SSD (Solid State Drive) in different cases, complete interconnection through switches, and integrate different cases into a whole cabinet for management. The switch based on the fabric architecture of PCIe (Peripheral Component Interconnect Express) switch can dynamically provide different IO resource module nodes for different hosts in the whole cabinet, which can cover different computing scenarios. For the user of the host, after the device is dynamically adjusted by the PCIe switch management module, the user should obtain the updated device information and device status in time, and according to the prior art, the host often only collects the supported device information during the start-up of the whole cabinet, and feeds back the information to the user in the GUI (Graphical User Interface) of the management device. When the user needs to obtain the device information again, the whole cabinet needs to be restarted to obtain the device information again, which brings great inconvenience to the user. SUMMARY

[0003] The purpose of the present application is to provide a device management method and related components, which can send device information to the host in time, so that the user can obtain the device information through the host, which is more convenient to use and improves the experience.

[0004] To solve the above technical problems, the present application provides a device management method applied to a management device in a switch, which comprises the following steps:

[0005] Receiving device information sent by a management device of the device, wherein the device information comprises a connection relationship between the device and the switch;

[0006] Determining a connection relationship between the switch and the host;

[0007] Determining a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host;

[0008] sending the updated device information to the host when the connection relationship between the device and the host changes.

[0009] Preferably, the device information further comprises transmission rate, transmission bandwidth, transmission bus number, device number and function number of the device.

[0010] receiving the device information sent by the management device of the device, comprising:

[0011] receiving the connection relationship between the device and the switch, the transmission rate, the transmission bandwidth, the transmission bus number, the device number and the function number of the device sent by the management device of the device.

[0012] Preferably, after receiving the device information sent by the management device of the device, further comprising:

[0013] determining the working state of the device according to the device information, the working state comprising normal working state and abnormal working state;

[0014] sending the device information and the working state of the device to the host.

[0015] Preferably, after determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, further comprising:

[0016] sending the device information to the host according to the connection relationship between the device and the host, so that the host displays the device information in the display module of the host.

[0017] Preferably, determining the connection relationship between the switch and the host comprises:

[0018] determining the connection relationship between the uplink interface of the switch and the host, the uplink interface of the switch being connected with the host.

[0019] Preferably, before determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, further comprising:

[0020] determining the mapping relationship between the uplink interface and the downlink interface of the switch, the downlink interface of the switch being connected with the device;

[0021] determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, comprising:

[0022] determining the connection relationship between the device and the host according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

[0023] To solve the above technical problems, the application further provides a device management system, comprising:

[0024] a receiving unit configured to receive device information sent by a device management apparatus, wherein the device information comprises a connection relationship between a device and a switch;

[0025] a first determining unit configured to determine a connection relationship between the switch and a host;

[0026] a second determining unit configured to determine a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host;

[0027] a sending unit configured to send updated device information to the host when the connection relationship between the device and the host changes.

[0028] To solve the above technical problems, the application further provides a switch management apparatus, comprising:

[0029] a memory configured to store a computer program;

[0030] a processor configured to implement the steps of the device management method when executing the computer program.

[0031] To solve the above technical problems, the application further provides a switch comprising the above management apparatus

[0032] To solve the above technical problems, the application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the device management method.

[0033] The application provides a device management method and related components, which are applied to the field of Internet, receive device information sent by a device management apparatus, wherein the device information comprises a connection relationship between a device and a switch; determine a connection relationship between a switch and a host; determine a connection relationship between a device and a host according to the device information and the connection relationship between the switch and the host; and send updated device information to the host when the connection relationship between the device and the host changes. The switch management apparatus obtains the connection relationship between the switch and the device, the connection relationship between the switch and the host, and the connection relationship between the device and the host, and timely sends device information to the host, so that users can obtain device information through the host, which is more convenient to use and improves the experience. BRIEF DESCRIPTION OF DRAWINGS

[0034] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required to be used in the prior art and embodiments. Obviously, the drawings described in the following description are only some embodiments of the present application, and other drawings can be obtained by those skilled in the art without any creative effort based on these drawings.

[0035] Figure 1 A flow chart of a device management method provided by the present application;

[0036] Figure 2 A structural schematic diagram of a device management system provided by the present application;

[0037] Figure 3 A structural schematic diagram of a switch management device provided by the present application. DETAILED DESCRIPTION

[0038] The core of the present application is to provide a device management method and related components, and timely send device information to the host, so that users can obtain device information through the host, which is more convenient to use and improves the experience.

[0039] In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the following will combine the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only some of the embodiments of the present application, not all. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without any creative effort are within the scope of protection of the present application.

[0040] Figure 1 A flow chart of a device management method provided by the present application, applied to a management device in a switch, the method comprising:

[0041] S11: receiving device information sent by the device management device, the device information comprising the connection relationship between the device and the switch;

[0042] After the power-on of the GPU and the SSD and other devices, the management device in the device will collect device information, the device information comprising the connection relationship between the device and the switch, and the connection relationship is sent to the management device of the switch through the network.

[0043] In addition, the device information further comprises the in-place situation of the device, such as the device in place or the device not in place, and the manufacturer information of the device.

[0044] S12: determining the connection relationship between the switch and the host;

[0045] S13: determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host;

[0046] The management device of the switch determines the connection relationship between the switch and the host, and then determines the connection relationship between the device and the host in combination with the connection relationship between the device and the switch.

[0047] It should be noted that the switch is connected with multiple devices, and the switch is connected with multiple hosts. The corresponding relationship between the device and the host is determined by the connection relationship between the switch and the host and the connection relationship between the switch and the device.

[0048] S14: sending the updated device information to the host when the connection relationship between the device and the host changes.

[0049] In view of the prior art, the host usually only collects the supported device information during the whole cabinet startup process, and feeds back the device information to the user in the GUI (Graphical User Interface) of the management device. When the user needs to obtain the device information again, the whole cabinet needs to be restarted to obtain the device information again, which brings great inconvenience to the user.

[0050] The management device of the switch provided in the present application re-sends the updated device information to the host when the connection between the device and the host changes.

[0051] For example, when the device is replaced in the cabinet, the switch obtains the updated device information and sends the updated device information to the BMC of the corresponding host. After obtaining the updated device information, the BMC of the host triggers an NMI interrupt. The BIOS of the host responds to the NMI interrupt, executes an interrupt processing function, and sends the device information that needs to be supplemented to the BMC of the host. Then, the BMC updates the device information of the device connected thereto, so as to realize the timely acquisition of the host when the device information of the device is replaced.

[0052] In addition, the interaction protocol between the BMC and the BIOS includes but is not limited to the IPMI protocol or the transmission of data through shared memory.

[0053] The application provides a management method of a device, applied to the field of Internet, receiving device information sent by a management device of the device, the device information comprising a connection relationship between the device and a switch; determining a connection relationship between the switch and a host; determining a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host; and sending updated device information to the host when the connection relationship between the device and the host changes. The management device of the switch obtains the connection relationship between the device and the host through the connection relationship between the switch and the device and the connection relationship between the switch and the host, and sends the device information to the host in time, so that the user can obtain the device information through the host, which is more convenient to use and improves the experience.

[0054] On the basis of the above-mentioned embodiments:

[0055] As a preferred embodiment, the device information further comprises a transmission rate, a transmission bandwidth, a transmission bus number, a device number and a function number of the device.

[0056] Receiving the device information sent by the management device of the device comprises:

[0057] Receiving the connection relationship between the device and the switch, the transmission rate, the transmission bandwidth, the transmission bus number, the device number and the function number of the device sent by the management device of the device.

[0058] The management device of the device will send the device information to the management device of the switch, the device information comprising the type of the device, for example, the device is an SSD or a CPU or a GPU; the rate and bandwidth of the device in the process of transmitting data; the transmission bus number, the device number and the function number of the device.

[0059] The above-mentioned device information can facilitate the user to use the device, and the management device of the switch sends the device information to the host after obtaining the device information, so that the user can view.

[0060] As a preferred embodiment, after receiving the device information sent by the management device of the device, the method further comprises:

[0061] Determining the working state of the device according to the device information, the working state comprising a normal working state and an abnormal working state;

[0062] Sending the device information and the working state of the device to the host.

[0063] The switch can determine the working state of the current device according to the device information, for example, the current transmission rate of the device does not reach the preset transmission rate, which proves that the current device does not reach the expected working state, so the working state is the abnormal working state.

[0064] The current state of the device is determined through the device information, which facilitates the user to confirm the device and use it subsequently.

[0065] As a preferred embodiment, after determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further comprises:

[0066] The device information is sent to the host according to the connection relationship between the device and the host, so that the host displays the device information in the display module of the host.

[0067] After the management device of the switch sends the device information and the device state to the BMC of the host, the BMC of the host synchronizes them to the display module of the host, thereby dynamically updating the host and improving user experience.

[0068] Specifically, the display module can be a web interface or a GUI interface, which is not limited herein.

[0069] As a preferred embodiment, the connection relationship between the switch and the host is determined, comprising:

[0070] The connection relationship between the uplink interface of the switch and the host is determined, and the uplink interface of the switch is connected with the host.

[0071] Considering that the switch is connected with multiple hosts, the uplink interface of the switch is used for connection with the host, so the connection relationship between the switch and the host is determined as the connection relationship between the uplink interface of the switch and the host.

[0072] After the connection relationship between the switch and the host is determined, the connection relationship between the device and the host can be determined in combination with the connection relationship between the device and the switch, and then the device information is timely updated.

[0073] As a preferred embodiment, before determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further comprises:

[0074] The mapping relationship between the uplink interface and the downlink interface of the switch is determined, and the downlink interface of the switch is connected with the device.

[0075] The connection relationship between the device and the host is determined according to the device information and the connection relationship between the switch and the host, comprising:

[0076] The connection relationship between the device and the host is determined according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

[0077] Considering that the switch is connected with multiple devices, the downlink interface of the switch is used for connection with the device, so the connection relationship between the switch and the device is determined as the connection relationship between the downlink interface of the switch and the device. In addition, the mapping relationship between the uplink interface and the downlink interface inside the switch also needs to be acquired by the management device of the switch.

[0078] In summary, the connection relationship between the device and the host is realized through the connection relationship between the device, the downlink interface of the switch, the uplink interface of the switch and the host, and when the device information of the device is changed, the changed device information is synchronized to the host in time, so that the user can view it subsequently.

[0079] Figure 2 A structural diagram of a device management system is provided, and the system comprises:

[0080] The receiving unit 21 is configured to receive device information sent by the device management apparatus, and the device information comprises the connection relationship between the device and the switch.

[0081] The first determining unit 22 is configured to determine the connection relationship between the switch and the host.

[0082] The second determining unit 23 is configured to determine the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host.

[0083] The sending unit 24 is configured to send the updated device information to the host when the connection relationship between the device and the host is changed.

[0084] Specifically, the device information further comprises the transmission rate, the transmission bandwidth, the transmission bus number, the device number and the function number of the device, and the receiving unit 21 is specifically configured to receive the connection relationship between the device and the switch, the transmission rate, the transmission bandwidth, the transmission bus number, the device number and the function number of the device sent by the device management apparatus.

[0085] Further comprising a third determining unit configured to determine the working state of the device according to the device information, and the working state comprises a normal working state and an abnormal working state.

[0086] Further comprising a second sending unit configured to send the device information and the working state of the device to the host.

[0087] Further comprising a third sending unit configured to send the device information to the host according to the connection relationship between the device and the host, so that the host displays the device information in the display module of the host.

[0088] The first determining unit 22 is specifically configured to determine the connection relationship between the uplink interface of the switch and the host, and the uplink interface of the switch is connected with the host.

[0089] Further comprising a fourth determining unit configured to determine the mapping relationship between the uplink interface and the downlink interface of the switch, and the downlink interface of the switch is connected with the device.

[0090] The second determining unit 23 is specifically configured to determine the connection relationship between the device and the host according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

[0091] The application provides a device management system, which is applied to the field of Internet, receives device information sent by a device management apparatus, wherein the device information comprises a connection relationship between a device and a switch; determines a connection relationship between the switch and a host; determines a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host; and sends updated device information to the host when the connection relationship between the device and the host changes. The management apparatus of the switch obtains the connection relationship between the device and the host through the connection relationship between the switch and the device and the connection relationship between the switch and the host, and timely sends the device information to the host, so that the user can obtain the device information through the host, which is more convenient to use and improves the experience.

[0092] The device management system provided by the application is introduced in the above embodiment, and will not be described here.

[0093] Figure 3 A structural schematic diagram of a management apparatus of a switch is provided for the application, and the apparatus comprises:

[0094] The memory 31 is used for storing a computer program;

[0095] The processor 32 is used for executing the computer program to realize the steps of the device management method.

[0096] Specifically, the steps realized by the computer program executed by the processor 32 are as follows:

[0097] The device information sent by the device management apparatus is received, and the device information comprises a connection relationship between a device and a switch;

[0098] The connection relationship between the switch and a host is determined;

[0099] The connection relationship between the device and the host is determined according to the device information and the connection relationship between the switch and the host;

[0100] The updated device information is sent to the host when the connection relationship between the device and the host changes.

[0101] The device information further comprises a transmission rate, a transmission bandwidth, a transmission bus number, a device number and a function number of the device;

[0102] The device information sent by the device management apparatus comprises:

[0103] The connection relationship between the device and the switch, the transmission rate, the transmission bandwidth, the transmission bus number, the device number and the function number of the device sent by the device management apparatus are received.

[0104] After receiving the device information sent by the management apparatus of the receiving device, the method further comprises:

[0105] Determining the working state of the device according to the device information, wherein the working state comprises a normal working state and an abnormal working state;

[0106] Sending the device information and the working state of the device to the host.

[0107] After determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further comprises:

[0108] Sending the device information to the host according to the connection relationship between the device and the host, so that the host displays the device information in the display module of the host.

[0109] Determining the connection relationship between the switch and the host comprises:

[0110] Determining the connection relationship between the uplink interface of the switch and the host, wherein the uplink interface of the switch is connected to the host.

[0111] Before determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further comprises:

[0112] Determining the mapping relationship between the uplink interface and the downlink interface of the switch, wherein the downlink interface of the switch is connected to the device.

[0113] Determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host comprises:

[0114] Determining the connection relationship between the device and the host according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

[0115] The application provides a management apparatus of a switch, which is applied to the field of Internet, receives device information sent by a management apparatus of a device, wherein the device information comprises a connection relationship between the device and a switch; determines a connection relationship between the switch and a host; determines a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host; and sends updated device information to the host when the connection relationship between the device and the host changes. The management apparatus of the switch obtains the connection relationship between the device and the host through the connection relationship between the switch and the device and the connection relationship between the switch and the host, and timely sends the device information to the host, so that a user can obtain the device information through the host, which is more convenient to use and improves the experience.

[0116] The management apparatus of the switch provided in the application is introduced in the above-mentioned embodiments, which will not be described here.

[0117] The application further provides a switch comprising the management device.

[0118] Specifically, the management device should comprise a processor 32 to realize the following steps:

[0119] receiving device information sent by the management device of the device, the device information comprising a connection relationship between the device and the switch;

[0120] determining a connection relationship between the switch and the host;

[0121] determining a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host;

[0122] sending updated device information to the host when the connection relationship between the device and the host changes.

[0123] The device information further comprises a transmission rate, a transmission bandwidth, a transmission bus number, a device number and a function number of the device;

[0124] receiving device information sent by the management device of the device, comprising:

[0125] receiving a connection relationship between the device and the switch, a transmission rate, a transmission bandwidth, a transmission bus number, a device number and a function number of the device sent by the management device of the device.

[0126] after receiving the device information sent by the management device of the device, further comprising:

[0127] determining a working state of the device according to the device information, the working state comprising a normal working state and an abnormal working state;

[0128] sending the device information and the working state of the device to the host.

[0129] after determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, further comprising:

[0130] sending the device information to the host according to the connection relationship between the device and the host, so that the host displays the device information in a display module of the host.

[0131] determining a connection relationship between the switch and the host, comprising:

[0132] determining a connection relationship between an uplink interface of the switch and the host, the uplink interface of the switch being connected with the host.

[0133] before determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, further comprising:

[0134] determining a mapping relationship between an uplink interface and a downlink interface of the switch, the downlink interface of the switch being connected with the device;

[0135] determine the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, comprising:

[0136] determine the connection relationship between the device and the host according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

[0137] The application provides a switch applied to the field of Internet, receives device information sent by a management device of the device, the device information comprising a connection relationship between the device and the switch; determines a connection relationship between the switch and a host; determines the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host; and sends updated device information to the host when the connection relationship between the device and the host changes. The management device of the switch obtains the connection relationship between the device and the host through the connection relationship between the switch and the device and the connection relationship between the switch and the host, and sends the device information to the host in time, so that the user can obtain the device information through the host, which is more convenient to use and improves the experience.

[0138] The switch provided in the application is introduced in the above embodiment, which will not be described here.

[0139] The application further provides a computer readable storage medium, wherein the computer readable storage medium stores a computer program, and the computer program is executed by a processor to implement the steps of the above device management method.

[0140] Specifically, the steps executed by the computer program provided in the application are as follows:

[0141] receiving device information sent by a management device of the device, the device information comprising a connection relationship between the device and the switch;

[0142] determining a connection relationship between the switch and a host;

[0143] determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host;

[0144] sending updated device information to the host when the connection relationship between the device and the host changes.

[0145] The device information further comprises a transmission rate, a transmission bandwidth, a transmission bus number, a device number and a function number of the device;

[0146] receiving device information sent by a management device of the device, comprising:

[0147] receiving the connection relationship between the device and the switch, the transmission rate, the transmission bandwidth, the transmission bus number, the device number and the function number of the device sent by the management device of the device.

[0148] After receiving the device information sent by the management device of the receiving device, the method further comprises:

[0149] Determining the working state of the device according to the device information, wherein the working state comprises a normal working state and an abnormal working state;

[0150] Sending the device information and the working state of the device to the host.

[0151] After determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further comprises:

[0152] Sending the device information to the host according to the connection relationship between the device and the host, so that the host displays the device information in the display module of the host.

[0153] Determining the connection relationship between the switch and the host, comprising:

[0154] Determining the connection relationship between the uplink interface of the switch and the host, wherein the uplink interface of the switch is connected to the host.

[0155] Before determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further comprises:

[0156] Determining the mapping relationship between the uplink interface and the downlink interface of the switch, wherein the downlink interface of the switch is connected to the device.

[0157] Determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, comprising:

[0158] Determining the connection relationship between the device and the host according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

[0159] The application provides a computer readable storage medium, which is applied to the field of Internet, receives device information sent by a management device of a receiving device, the device information comprising a connection relationship between a device and a switch; determines a connection relationship between a switch and a host; determines a connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host; and sends updated device information to the host when the connection relationship between the device and the host changes. The management device of the switch obtains the connection relationship between the device and the host through the connection relationship between the switch and the device and the connection relationship between the switch and the host, and timely sends the device information to the host, so that a user can obtain the device information through the host, which is more convenient to use and improves the experience.

[0160] The computer readable storage medium provided by the application is introduced in the above-mentioned embodiments, and will not be described here.

[0161] It is also important to note that the use of relational terms such as first and second, and the like, are used solely to distinguish one from another entity or action without necessarily requiring or implying any actual relationship or order between or among such entities or actions. Moreover, the terms "comprises", "comprising", or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but can include other elements not expressly listed or inherent to such process, method, article, or apparatus. An element proceeded by "comprises... a" does not, without more constraints, exclude the existence of additional identical elements in the process, method, article, or apparatus that comprises the element.

[0162] Those skilled in the art will further appreciate that the units and algorithms described in connection with the examples disclosed herein can be embodied directly in hardware, in software, or in a combination of the two. For the sake of brevity, descriptions of these conventional implementations can be omitted. In the description above, various features of the application are described as if specific characteristics were being combined to produce a desired result. One skilled in the art will understand, however, that these specific characteristics need not all be combined to produce the desired result. In addition, one skilled in the art will appreciate that each feature can be implemented in a different embodiment and that such features can be implemented in a different embodiment.

[0163] The above description of disclosed embodiments provides examples, and is not intended to be limiting. Numerous variations, additions, omissions and other modifications not specifically described can be made in the practice of this application. Consequently, the application is not limited by the examples described above, which are presented for purposes of illustration only.

Claims

1. A device management method, characterized in that: Applied to a management device in a switch, the method includes: Receiving device information sent by a management device of the device through a network, wherein the device information includes a connection relationship between the device and the switch; Determine the connection relationship between the switch and the host; Determine a connection relationship between a device and a host according to the device information and a connection relationship between the switch and the host; When the connection relationship between the device and the host changes, sending the updated device information to the host; After determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further includes: The device information is sent to the host according to the connection relationship between the device and the host, so that the host displays the device information on a display module of the host.

2. The device management method according to claim 1, wherein: The device information also includes the device's transmission rate, transmission bandwidth, transmission bus number, device number and function number; The device information sent by the management device of the receiving device includes: The management device of the receiving device sends the connection relationship between the device and the switch, the transmission rate of the device, the transmission bandwidth, the transmission bus number, the device number and the function number.

3. The device management method according to claim 1, wherein: After receiving the device information sent by the management device of the device, the following steps are also included: Determine the working state of the device according to the device information, where the working state includes a normal working state and an abnormal working state; The device information and the working status of the device are sent to the host.

4. The device management method according to any one of claims 1 to 3, characterized in that: Determine the connection relationship between the switch and the host, including: A connection relationship between the uplink interface of the switch and the host is determined, and the uplink interface of the switch is connected to the host.

5. The device management method according to claim 4, characterized in that: Before determining the connection relationship between the device and the host according to the device information and the connection relationship between the switch and the host, the method further includes: Determine a mapping relationship between an uplink interface and a downlink interface of the switch, wherein the downlink interface of the switch is connected to the device; Determining a connection relationship between a device and a host according to the device information and a connection relationship between the switch and the host includes: The connection relationship between the device and the host is determined according to the connection relationship between the device and the switch, the connection relationship between the uplink interface of the switch and the host, and the mapping relationship between the uplink interface and the downlink interface of the switch.

6. A management system for equipment, characterized in that: include: A receiving unit, configured to receive device information sent by a device management device via a network, wherein the device information includes a connection relationship between the device and the switch; A first determining unit, configured to determine a connection relationship between the switch and the host; a second determining unit, configured to determine a connection relationship between a device and a host according to the device information and a connection relationship between the switch and the host; a sending unit, configured to send updated device information to the host when a connection relationship between the device and the host changes; In which, the management system is also used to send the device information to the host according to the connection relationship between the device and the host after determining the connection relationship between the device and the host based on the device information and the connection relationship between the switch and the host, so that the host can display the device information in the display module of the host.

7. A switch management device, characterized in that: include: memory for storing computer programs; A processor, configured to implement the steps of the device management method according to any one of claims 1 to 5 when executing the computer program.

8. A switch, characterized in that: Comprising the management device as claimed in claim 5.

9. A computer-readable storage medium, characterized in that The computer-readable storage medium stores a computer program, which, when executed by a processor, implements the steps of the device management method according to any one of claims 1 to 5.

Citation Information

Patent Citations

  • Configuration method and device of PCIe (peripheral component interface express) topology

    CN104202194A

  • Management method of computer system, computer system, and program

    US20120179804A1