Host partition management architecture, server and method
Patent Information
- Application Number
- CN202510897284.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-06-30
- Publication Date
- 2025-09-23
- Estimated Expiration
- 2045-06-30
AI Technical Summary
In the prior art, the host partition management architecture of the server has the problems of high hardware complexity, high cost, low BMC resource utilization, and long production cycle, and is difficult to effectively manage in the case of multiple host partitions.
The BMC is divided into multiple management partitions corresponding to the server's host partitions, and a logical processing unit is set between the host and the BMC. Interface expansion is achieved through the logical processing unit, reducing hardware complexity and cost and improving resource utilization.
Through the intervention of the logical processing unit, target device management of multiple host partitions is achieved, which reduces hardware complexity, cost and production cycle and improves resource utilization.
Smart Images

Figure CN120407496B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to a host partition management architecture, server, and method. Background Art
[0002] Servers are devices that process data to provide data services, and their processing power significantly impacts service quality. To improve processing power, a common solution is to divide the server hardware into multiple partitions, each of which functions as an independent system. To ensure optimal operation of each partition, a baseboard management controller (BMC) is required to manage the computing, storage, networking, and cooling components within that partition.
[0003] In the related art, there are two types of partitioned device management architectures. The first architecture deploys a baseboard management (BMC) for each partition, but this approach results in high hardware complexity, high cost, and low resource utilization. The second architecture deploys a BMC for one or more partitions, or even shares a single BMC for all partitions. However, this approach increases BMC design complexity, production cycle time, and cost. Summary of the Invention
[0004] The present application provides a host partition management architecture, server, and method to at least solve the problems of high hardware complexity, high cost, low BMC resource utilization, and long BMC production cycle in related technologies.
[0005] The present application provides a host partition management architecture, including: a host, a logical processing unit, and a management unit;
[0006] The host includes a plurality of host partitions, and the host partitions are provided with target devices;
[0007] The management unit includes multiple management partitions, and different management partitions operate independently;
[0008] The logic processing unit includes a first transmission component, a routing component, and a second transmission component;
[0009] The first transmission component is connected to the routing component and the management partition, and the second transmission component is connected to the routing component and the host partition;
[0010] When the management partition manages the target device in the host partition, the first transmission component and the second transmission component are used to transmit data, and the routing component is used to parse the data transmitted by the first transmission component and the second transmission component.
[0011] The present application also provides a server, including the aforementioned host partition management architecture.
[0012] The present application also provides a host partition management method, which is applied to a host partition management architecture. The host partition management architecture includes: a host, a logical processing unit, and a management unit; the host includes multiple host partitions, the management unit includes multiple management partitions, and the logical processing unit includes a first transmission component, a routing component, and a second transmission component; the method includes:
[0013] The management partition generates a first management command and sends the first management command to the routing component through the first transmission component; the routing component generates a second management command based on the first management command and sends the second management command to the target device of the host partition through the second transmission component; the target device executes the second management command.
[0014] Through the present application, the management unit is also divided into multiple management partitions, corresponding to the host partitions of the server, and the host and the management unit are connected via a logical processing unit. The logical processing unit is responsible for data exchange between the host and the management unit. In this way, interface expansion can be implemented through the logical processing unit to provide sufficient interfaces to the target devices of the host's multiple host partitions, meeting the target device requirements of multiple host partitions. In addition, the present application only requires one management unit to implement host partition management, thereby reducing hardware complexity, cost, and resource waste. In addition, the logical processing unit of the present application can implement logical processing, and the management partition does not need to perform complex logical processing, thereby reducing the design complexity of the management partition, shortening its production cycle, and reducing its cost. BRIEF DESCRIPTION OF THE DRAWINGS
[0015] In order to more clearly illustrate the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0016] Figure 1 This is a schematic diagram of a host partition management architecture in related technologies;
[0017] Figure 2 This is a schematic diagram of a host partition management architecture of another related technology;
[0018] Figure 3 This is a schematic diagram of a host partition management architecture provided by an embodiment of the present application;
[0019] Figure 4 This is a schematic diagram of another host partition management architecture provided by an embodiment of the present application;
[0020] Figure 5This is a schematic diagram of the structure of a host partition management method provided by an embodiment of the present application;
[0021] Figure 6 This is a structural diagram of another host partition management method provided in an embodiment of the present application. DETAILED DESCRIPTION
[0022] The following will be combined with the accompanying drawings in the embodiments of this application to clearly and completely describe the technical solutions in the embodiments of this application. Obviously, the embodiments described are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of this application.
[0023] It should be noted that, in the description of this application, the terms "comprises," "includes," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. The terms "first," "second," etc., in this application are used to distinguish similar objects, and are not used to describe a particular order or sequence.
[0024] In recent years, servers have been widely used in various data processing scenarios, such as cloud computing, artificial intelligence, and big data. Servers can be used in conjunction with front-end technologies, such as clients. Front-end technologies implement clients for data display. Clients communicate with servers, sending data requests to the server, which then processes the data and returns it to the client for display.
[0025] To improve a server's data processing capabilities, a common approach is to divide the server's hardware into multiple partitions. Each partition can independently run a host system to independently carry out business operations and provide services. Each partition requires comprehensive support for target devices, including compute, storage, network drivers, and heat sinks. The management of these target devices relies on the BMC. As the number of partitions increases, the number of target devices in a server increases significantly compared to traditional, non-partitioned server systems. This poses a greater challenge to the server's BMC, as current general-purpose BMCs offer limited controller resources and lack sufficient interfaces to manage target devices across multiple host partitions, making it difficult to meet the growing demand for device management.
[0026] In the embodiment of the present application, since the server partition is used to provide services and data processing, it can be called a host partition. In the related art, there are two commonly used host partition management architectures, which are described in detail below.
[0027] In the first host partition management architecture, in order to better manage the target devices of multiple host partitions, a BMC needs to be set for each host partition. The number of BMCs is the same as the number of host partitions. Each BMC is used to manage all target devices in the corresponding host partition. For example, Figure 1 This is a diagram of the host partition management architecture. Figure 1 As shown in the figure, the host partition management architecture exemplifies two host partitions HA1 and HA2, and two BMCs: BMC1 and BMC2. BMC1 corresponds to host partition HA1 and is used to manage each target device in host partition HA1. BMC2 corresponds to host partition HA2 and is used to manage each target device in host partition HA2.
[0028] From the above Figure 1 As can be seen from the host partition management architecture shown, the number of BMCs is the same as the number of host partitions. Therefore, when there are many host partitions, more BMCs are required, resulting in higher costs and higher hardware complexity. In addition, when one BMC manages one host partition, if the host partition is not running, the BMC resources may be wasted and the resource utilization rate may be low. For example, for Figure 1 In the host partition management architecture shown, when host partition HA1 is not running, BMC1 is idle, resulting in waste of BMC1 resources and low BMC resource utilization of the server.
[0029] In the second host partition management architecture, a high-specification BMC is provided to provide management for multiple host partitions. There is only one BMC, and one BMC is used to manage all target devices in multiple host partitions. For example, Figure 2 This is another diagram of the host partition management architecture. Figure 2 As shown in FIG, the host partition management architecture exemplarily provides two host partitions HA1 and HA2 and a BMC, wherein the BMC corresponds to the host partitions HA1 and HA2 and is used to manage all target devices in the host partitions HA1 and HA2.
[0030] From the above Figure 2 The host partition management architecture shown here shows that the number of BMCs is independent of the number of host partitions. Even with a large number of host partitions, target device management can still be achieved with fewer BMCs. To enable a single BMC to manage target devices across multiple host partitions, high BMC performance requirements are required. This requires a higher-specification BMC to guarantee target device management across multiple host partitions. The higher the number of host partitions, the higher the BMC performance requirements, resulting in higher costs, increased design complexity, and longer production cycles for each BMC.
[0031] In order to solve the above technical problems, the present application also divides the BMC into multiple partitions, called management partitions, which correspond to the host partitions of the server, and sets a logical processing unit between the host and the BMC, which is responsible for data interaction between the host and the BMC. In this way, interface expansion can be achieved through the logical processing unit to provide sufficient interfaces to the target devices of the multiple host partitions of the host to meet the target device requirements of multiple host partitions. In addition, the present application only requires one BMC to achieve management, thereby reducing hardware complexity, cost and resource waste. In addition, the management partition of the present application interacts with the host partition through the routing component, and the BMC does not need to perform complex logical processing. The complex logical processing can be performed by the routing component, thereby reducing the design complexity of the BMC, shortening its production cycle and reducing its cost.
[0032] In order to enable those skilled in the art to better understand the present application, the present application is further described in detail below with reference to the accompanying drawings and specific implementation methods.
[0033] Figure 3 This is a schematic diagram of a host partition management architecture provided by an embodiment of the present application. Figure 3 As shown, the host partition management architecture includes a host, a logic processing unit and a management unit. The logic processing unit is connected to the host and the management unit.
[0034] The host includes multiple host partitions. Figure 3 In this example, two host partitions, HA1 and HA2, are provided. In practice, the number of host partitions can be flexibly set based on actual scenario requirements. For example, three or more host partitions can be used. When data processing requirements are higher, more host partitions can be created. Each host partition can execute an independent host physical system, and the host physical systems of different host partitions operate independently without interfering with each other. This allows the server host to provide more powerful processing capabilities and improve service quality through multiple host partitions. The hosts here can be partitions derived from the server's hardware.
[0035] Each of the above host partitions is configured with a target device. Figure 3 One target device is given as an example. However, in actual applications, there may be multiple target devices in a host partition. For example, the target device may be a hard disk, a network card, a GPU (Graph Processing Unit) accelerator card, various types of sensors, and the like.
[0036] Corresponding to the above host, this application also divides the management unit into multiple management partitions. Figure 3As shown, the management unit includes two management partitions MA1 and MA2, and different management partitions operate independently. The management unit here can be the aforementioned BMC or any integrated circuit with management functions. Each management partition can correspond to one or more host partitions.
[0037] To enable the aforementioned interaction between the host partition and the management partition, an embodiment of the present application provides a logical processing unit between the host and management units for connecting the host partition and the management partition. The logical processing unit can perform data transmission and data analysis between the host partition and the management partition. Consequently, the management partition does not need to perform complex logical processing and data analysis, which can be performed by the logical processing unit, reducing the complexity, cost, and production cycle of the management unit. The logical processing unit can parse the first management command sent by the management partition and, based on the parsing results, generate a second management command to be sent to the target device of the host partition. Furthermore, the logical processing unit can receive response data returned by the target device of the host partition and, based on the response data, generate a response message to return the response message to the management partition. In this way, through the connection of the logical processing unit, the management partition can manage the target device.
[0038] The logic processing unit can be implemented by any integrated circuit with logic processing capabilities. For example, commonly used circuits may be CPLD (Complex Programmable Logic Device), FPGA (Field Programmable Gate Array), and ASIC (Application Specific Integrated Circuits).
[0039] Specifically, the logical processing unit includes a first transmission component, a routing component, and a second transmission component. The first transmission component is connected to the routing component and the management partition, while the second transmission component is connected to the routing component and the host partition. Each management partition is connected to the first transmission component, thereby establishing a connection between the management unit and the logical processing unit. Each target device in each host partition is connected to the second transmission component, thereby establishing a connection between the host and the logical processing unit.
[0040] When the management partition manages the target device in the host partition, the first transmission component and the second transmission component are used to transmit data, and the routing component is used to process the data transmitted by the first transmission component and the second transmission component.
[0041] For example, the first transmission component may transmit a first management command sent by the management partition to the routing component. The routing component parses the first management command and generates a second management command. The second transmission component then transmits the second management command to the target device of the host partition, causing the target device to execute the second management command. After executing the second management command, the target device may send response data to the second transmission component, which may forward the response data to the routing component. The routing component generates a response message based on the response data and sends the response message to the first transmission component. The first transmission component then returns the response message to the management partition.
[0042] In some embodiments, reference Figure 4 As shown, the first transmission component includes multiple sets of first transmission processing interfaces, each of which is connected to the routing component. A set of first transmission processing interfaces is connected to a management partition, with different management partitions connected to different first transmission processing interfaces. The first transmission processing interfaces are used to transmit data between the routing component and the management partitions corresponding to the first transmission processing interfaces. In this way, management data for multiple management partitions can be transmitted separately via the multiple sets of first transmission processing interfaces, ensuring the independence of different management partitions.
[0043] The connection between the first transmission processing interface and the routing component realizes the connection between the first transmission component and the routing component. The connection between the first transmission processing interface and the management partition realizes the connection between the logical processing unit and the host.
[0044] It is understood that each group of first transmission processing interfaces may include multiple first transmission processing interfaces. The number of groups of first transmission processing interfaces is the same as the number of host partitions and the number of management partitions. When the number of host partitions is N, the number of management partitions and the number of groups of first transmission processing interfaces are both N. N is an integer greater than or equal to 1.
[0045] In actual applications, each group of first transmission processing interfaces can include the same number of first transmission processing interfaces. When the number of first transmission processing interfaces in a logical processing unit is M and the number of management partitions is N, the first transmission processing interfaces of each management partition can be rounded up to M / N. For example, the first transmission processing interfaces of a logical processing unit can be I1_1, I1_2, ..., I1_15. When the number of management partitions is 3, the five first transmission processing interfaces I1_1, I1_2, ..., I1_5 form a first group of first transmission processing interfaces, serving as the first transmission processing interfaces of the first management partition. The five first transmission processing interfaces I1_6, I1_7, ..., I1_10 form a second group of first transmission processing interfaces, serving as the first transmission processing interfaces of the second management partition. The five first transmission processing interfaces I1_11, I1_12, ..., I1_15 form a third group of first transmission processing interfaces, serving as the first transmission processing interfaces of the third management partition.
[0046] However, for management partitions with relatively large amounts of managed data, more first transmission processing interfaces can be configured, while for management partitions with smaller amounts of managed data, fewer first transmission processing interfaces can be configured. This ensures the normal operation of each management partition while minimizing waste of first transmission processing interfaces, thereby helping to fully improve their utilization.
[0047] In some implementations, the number of first transmission processing interfaces corresponding to a management partition can be determined based on parameters such as the runtime of the host partition corresponding to the management partition and the number of target devices. For example, for a host partition with a shorter runtime and fewer target devices, fewer first transmission processing interfaces can be configured for its corresponding management partition; for a host partition with a longer runtime and more target devices, more first transmission processing interfaces can be configured for its corresponding management partition.
[0048] It can be understood that the first transmission processing interfaces in the same management partition can be arranged in different positions, and can be adjacent or non-adjacent. For example, the physical location order of the first transmission processing interface I1_1, I1_2, ..., I1_5 of the first management partition, the first transmission processing interface I1_6, I1_7, ..., I1_10 of the second management partition, and the third I1_11, I1_12, ..., I1_15 can be I1_1, I1_2, I1_3, I1_4, I1_5, I1_6, I1_7, I1_8, I1_9, I1_10, I1_11, I1_12, I1_13, I1_14, I1_15. Of course, it can also be I1_2, I1_12, I1_5, I1_6, I1_10, I1_7, I1_8, I1_3, I1_9, I1_11, I1_4, I1_13, I1_14, I1_1, I1_15.
[0049] Corresponding to the division of the first transmission component into a plurality of first transmission processing interfaces, refer to Figure 4 As shown, each management partition is also divided into multiple management interfaces. Multiple management interfaces are all connected to the first transmission component to realize the connection between the management partition and the first transmission component, and then realize the connection between the management unit and the logical processing unit. Multiple management interfaces of the same management partition are connected to multiple continuously distributed positions on the first transmission component, and the first transmission component is used to transmit data between each management interface and the routing component of each management partition. It can be understood that compared with the multiple management interfaces of the same management partition being connected to multiple discretely distributed positions on the first transmission component, the present application connects the same management partition to multiple continuously distributed positions on the first transmission component to shorten the connection line as much as possible, improve the neatness of the circuit, and also facilitate the inspection and maintenance of the connection relationship.
[0050] The management interface is configured to generate and send a first management command to the first transmission component, or receive a response message to the first management command sent by the first transmission component. The first management command is a management command from the management partition to the target device, and is configured to write parameters of the target device to the target device memory or read parameters of the target device from the target device memory.
[0051] In the embodiments of the present application, the number of management interfaces for a management partition can be flexibly configured based on the actual application scenario. By default, the number of management interfaces for different management partitions can be the same. However, the number of management interfaces can be increased or decreased based on the actual needs of different management partitions. For example, if a management partition manages a large amount of management data, more management interfaces can be configured for that management partition; if a management partition manages a small amount of management data, fewer management interfaces can be configured for that management partition.
[0052] In some embodiments, reference Figure 4 As shown, the multiple management interfaces are connected to multiple first transmission processing interfaces. The multiple first transmission processing interfaces connected to the multiple management interfaces of the same management partition are adjacent to each other, while the first transmission processing interfaces connected to the multiple management interfaces of different management partitions are arranged in sequence. The management interfaces are used to exchange data with the routing component through the first transmission processing interfaces. This can shorten the length of the connection lines as much as possible, improve the neatness of the circuit, and facilitate circuit maintenance.
[0053] Specifically, a first transmission processing interface can be connected to one or more management interfaces to achieve the connection between the first transmission component and the management partition, and further achieve the connection between the logical processing unit and the management unit.
[0054] In an embodiment of the present application, multiple management interfaces of the same management partition are connected to adjacent first transmission processing interfaces. For example, if the first transmission processing interfaces I1_1, I1_2, I1_3, I1_4, I1_5, I1_6, I1_7, I1_8, I1_9, I1_10, I1_11, I1_12, I1_13, I1_14, and I1_15 are arranged in sequence, then the multiple management interfaces of the first management partition are connected to the adjacent first transmission processing interfaces I1_1, I1_2, ..., I1_5, respectively; the multiple management interfaces of the second management partition are connected to the adjacent first transmission processing interfaces I1_6, I1_7, ..., I1_10, respectively; and the multiple management interfaces of the third management partition are connected to the adjacent first transmission processing interfaces I1_11, I1_12, ..., I1_15, respectively. Compared with the first management partition, the multiple management interfaces are respectively connected to the first transmission processing interfaces I1_6, I1_7, ..., I1_10 set adjacent to each other, the multiple management interfaces of the second management partition are respectively connected to the first transmission processing interfaces I1_11, I1_12, ..., I1_15 set adjacent to each other, and the multiple management interfaces of the third management partition are respectively connected to the first transmission processing interfaces I1_1, I1_2, ..., I1_5 set adjacent to each other. The above-mentioned connection method of the present application can shorten the connection line as much as possible, reduce costs, and improve circuit neatness and maintainability.
[0055] Furthermore, for the same management partition, its management interfaces are also arranged adjacently in sequence, so that the order of the management interfaces and the first transmission processing interfaces connected thereto can be the same, which can further shorten the connection lines and avoid line crossing. For example, if the five management interfaces I2_1 to I2_5 of the first management partition are arranged in sequence, their corresponding first transmission processing interfaces I1_1, I1_2, ..., I1_5 are also arranged in sequence, and the first transmission processing interface I1_1 and the management interface I2_1 are located closest, the first transmission processing interface I1_2 and the management interface I2_2 are located closest, the first transmission processing interface I1_3 and the management interface I2_3 are located closest, the first transmission processing interface I1_4 and the management interface I2_4 are located closest, and the first transmission processing interface I1_5 and the management interface I2_5 are located closest. Therefore, the first transmission processing interface I1_1 and the management interface I2_1 are connected, the first transmission processing interface I1_2 and the management interface I2_2 are connected, the first transmission processing interface I1_3 and the management interface I2_3 are connected, the first transmission processing interface I1_4 and the management interface I2_4 are connected, and the first transmission processing interface I1_5 and the management interface I2_5 are connected.
[0056] In some embodiments, reference Figure 4 As shown, the multiple management interfaces of the management partition include multiple service management interfaces, and different service management interfaces operate independently to ensure the independence and accuracy of service transmission. One service management interface is connected to a first transmission processing interface, and the service management interface is used to send a first management command for a target device to the first transmission processing interface and / or receive a response message to the first management command from the first transmission processing interface. In this embodiment of the present application, the service management interface and the first transmission processing interface can be connected one-to-one to ensure the accurate transmission of the first management command.
[0057] The connection between the service management interface and the first transmission processing interface forms a connection channel between the logical processing unit and the host partition, which is used to transmit the first management command and response message, and can therefore be called a service transmission channel. Each service transmission channel corresponds to a first transmission processing interface and a first management command.
[0058] Further, refer to Figure 4As shown, the multiple management interfaces also include a first channel management interface. For a management partition, the first transmission processing interface connected to the first channel management interface is located before or after the first transmission processing interface connected to the business management interface. The first channel management interface is used to manage the connection channel from the first transmission processing interface to the business management interface. The present application can manage the connection channel from the first transmission processing interface to the business management interface through the first channel management interface before the routing component sends a response message to the management partition, so as to allocate a connection channel for the response message, thereby transmitting the response message from the routing component to the management partition through the allocated connection channel. The allocated connection channel is an idle channel or a channel with a small amount of data, which can effectively improve the success rate of sending the response message and reduce its sending delay.
[0059] Here, the first transmission processing interface connected to the first channel management interface may be a second channel management interface, which is used to manage the connection channel between the first transmission processing interface and the service management interface together with the first channel management interface.
[0060] In the embodiment of the present application, for the same management zone, its first channel management interface is located before or after the service management interface. The first transmission processing interfaces connected to the service management interfaces are adjacent to each other, and the first transmission processing interface connected to the first channel management interface is located before or after the first transmission processing interface connected to the service management interface. This minimizes crossover of connection lines and shortens the length of connection lines.
[0061] For example, if the five management interfaces I2_1 to I2_5 of the first management partition are arranged in sequence, with I2_1 to I2_4 being service management interfaces and I2_5 being the first channel management interface, their corresponding first transmission processing interfaces I1_1, I1_2, ..., I1_5 are also arranged in sequence. Therefore, the first transmission processing interface I1_1 is connected to the management interface I2_1, the first transmission processing interface I1_2 is connected to the management interface I2_2, the first transmission processing interface I1_3 is connected to the management interface I2_3, the first transmission processing interface I1_4 is connected to the management interface I2_4, and the first transmission processing interface I1_5 is connected to the management interface I2_5. The first transmission processing interface I1_5, to which the first channel management interface I2_5 is connected, is located after the first transmission processing interfaces I1_2 to I1_4, to which the service management interfaces I2_1 to I2_4 are connected, respectively.
[0062] Of course, if the first channel management interface I2_5 is before the service management interfaces I2_1 through I2_4, that is, if the five management interfaces I2_5, I2_1, I2_2, I2_3, and I2_4 of the first management partition are arranged in order, with I2_1 through I2_4 being service management interfaces and I2_5 being the first channel management interface, then their corresponding first transmission processing interfaces I1_1, I1_2, ..., I1_5 are also arranged in order. Therefore, the first transmission processing interface I1_1 is connected to the management interface I2_5, the first transmission processing interface I1_2 is connected to the management interface I2_1, the first transmission processing interface I1_3 is connected to the management interface I2_2, the first transmission processing interface I1_4 is connected to the management interface I2_3, and the first transmission processing interface I1_5 is connected to the management interface I2_4. The first transmission processing interface I1_1 to which the first channel management interface I2_5 is connected is located before the first transmission processing interfaces I1_2 to I1_5 to which the service management interfaces I2_1 to I2_4 are connected respectively.
[0063] In summary, the position of the first transmission processing interface to which the first channel management interface is connected corresponds to the relative positional relationship between the first channel management interface and the business management interface, so as to shorten the line length as much as possible and avoid line crossing. When the first channel management interface is located before the business management interface, the first transmission processing interface to which the first channel management interface is connected is located before the first transmission processing interface to which the business management interface is connected; when the first channel management interface is located after the business management interface, the first transmission processing interface to which the first channel management interface is connected is located after the first transmission processing interface to which the business management interface is connected.
[0064] The management interface of the management partition is divided into the service management interface and the first channel management interface, corresponding to Figure 4 As shown, the present application divides multiple first transmission processing interfaces into multiple first business processing interfaces and second channel management interfaces. Multiple first business processing interfaces are connected to the routing component, one first business processing interface is connected to a business management interface of a management partition, and the first business processing interface is used to transmit the first management command and / or response message. The embodiment of the present application divides the first transmission processing interface into first business processing interfaces, and allocates a first business processing interface to each business management interface, thereby ensuring that the management data sent by the business management interface is managed through an exclusive channel, which helps to improve the transmission accuracy of the management data.
[0065] The second channel management interface is connected to the routing component and the first channel management interface. The second channel management interface is used to manage the connection channel from the service management interface to the first transmission processing interface through the routing component. After generating a response message, the routing component of the logical processing unit can call the second channel management interface to request a connection channel from the first channel management interface for transmitting the response message. This ensures that the response message is transmitted via an idle connection channel or a connection channel with a small data volume, minimizing the transmission latency of the response message.
[0066] For example, I2_5 of a management partition is the first channel management interface, and I1_5 is the second channel management interface of the logical processing unit. Therefore, I2_5 and I1_5 are connected.
[0067] In some possible implementations, the second channel management interface is connected to the first channel management interface of one or more management partitions, thereby reducing the number of second channel management interfaces and saving costs.
[0068] In one example, the logical processing unit can be configured with multiple second channel management interfaces, each of which is connected to the first channel management interface of a management partition. In another example, the logical processing unit can be configured with one second channel management interface, which is connected to the first channel management interfaces of all management partitions, so that the first channel management interfaces of multiple management partitions share one second channel management interface. For example, I1_5 is the second channel management interface of the logical processing unit, which can be connected to the first channel management interface I2_5 of the first management partition, the first channel management interface I2_10 of the second management partition, and the first channel management interface I2_15 of the third management partition.
[0069] It can be seen that the above description introduces the connection relationship between the logical processing unit and the management unit, which is further realized through the connection relationship between the first transmission component and the management partition, and the connection relationship between the first transmission component and the management partition is further realized through the connection relationship between the first transmission processing interface and the management interface, and the connection relationship between the first transmission processing interface and the management interface further includes: the connection relationship between the first business processing interface and the business management interface, and the connection relationship between the second channel management interface and the first channel management interface.
[0070] For a management partition, the number of service management interfaces in the management partition is the same as the number of first service processing interfaces connected to the management partition. The number of first service processing interfaces connected to the management partition is less than the number of target devices in the host partition managed by the management partition, so that multiple target devices in the host partition managed by the management partition share the first service processing interface connected to the management partition. Thus, through the above-mentioned architecture, the embodiments of the present application can minimize the number of service management interfaces and first service processing interfaces without affecting management performance, thereby helping to reduce costs, avoid waste of service management interfaces and first service processing interfaces, fully utilize the service management interfaces and first service processing interfaces, and improve resource utilization.
[0071] The connection relationship between the logical processing unit and the host is described in detail below.
[0072] In some possible implementations, refer to Figure 4 As shown, the second transmission component includes multiple second business processing interfaces, and the multiple second business processing interfaces are all connected to the routing component. One second business processing interface is connected to one or more target devices. The second business processing interface is used to send the second management command sent by the routing component to the connected target device, or to send the response data of the target device to the second management command to the routing component. The present application can realize the connection between the target device and the logical processing unit through multiple second business processing interfaces. Each second business processing interface serves one or more target devices, which can ensure the success rate of business transmission as much as possible, avoid data transmission failure due to the busyness of the second business processing interface, and help improve the success rate of management of the target device.
[0073] It is understood that the multiple second service processing interfaces of the second transmission component are used to provide services to all host partitions, and the second service processing interfaces of all host partitions are connected to the routing component to fully utilize the routing component and improve its utilization rate. When expanding the interface through the logical processing circuit, more second service processing interfaces need to be provided. The total number of second service processing interfaces of the logical processing unit may be greater than the total number of service management interfaces of each management partition in the management unit. In this way, when the service management interfaces provided by the management unit are limited, more second service processing interfaces can still be used to connect to the target devices of more host partitions, thereby meeting the target device management needs of multiple host partitions.
[0074] In actual applications, the above-mentioned multiple second business processing interfaces can also be divided into multiple groups of second business processing interfaces, each group of second business processing interfaces includes multiple second business processing interfaces. Each group of second business processing interfaces is connected to one or more target devices of a host partition. For example, the second transmission component includes 12 second business processing interfaces I3_1 to I3_12, there are three host partitions, and the target devices of each host partition include a network card, a hard disk, a GPU, and a temperature sensor. The 12 second business processing interfaces I3_1 to I3_12 can be divided into three groups: I3_1 to I3_4, I3_5 to I3_8, and I3_9 to I3_12, wherein the first group of second business processing interfaces I3_1 to I3_4 corresponds to the first host partition, the second group of second business processing interfaces I3_5 to I3_8 corresponds to the second host partition, and the third group of second business processing interfaces I3_9 to I3_12 corresponds to the third host partition.
[0075] In the first host partition, the network card is connected to the second service processing interface I3_1, the hard disk is connected to the second service processing interface I3_2, the GPU is connected to the second service processing interface I3_3, and the temperature sensor is connected to the second service processing interface I3_4.
[0076] In the second host partition, the network card is connected to the second service processing interface I3_5, the hard disk is connected to the second service processing interface I3_6, the GPU is connected to the second service processing interface I3_7, and the temperature sensor is connected to the second service processing interface I3_8.
[0077] In the third host partition, the network card is connected to the second service processing interface I3_9, the hard disk is connected to the second service processing interface I3_10, the GPU is connected to the second service processing interface I3_11, and the temperature sensor is connected to the second service processing interface I3_12.
[0078] It should be noted that the connection relationships between target devices and second service processing interfaces in different host partitions can be the same or different. For example, the connection relationships within the second and third host partitions remain the same, but within the second host partition, the network card can be connected to the second service processing interface I3_5, the hard drive and GPU can be connected together to I3_6, some temperature sensors can be connected to the second service processing interface I3_7, and other temperature sensors can be connected to the second service processing interface I3_8.
[0079] In some possible implementations, a second service processing interface is connected to one or more target devices in the same host partition, target devices in the same host partition are connected to multiple, consecutively distributed second service processing interfaces, and target devices in the host partition are connected to the second service processing interface that is closest to the target device and available. This ensures that the routing component accurately sends the second management command to the corresponding host partition via the second service processing interface, avoiding sending the command to the wrong host partition and improving the transmission and management accuracy of the second management command. Furthermore, connecting target devices in the same host partition to multiple, consecutive second service processing interfaces can avoid crossover of connection lines and minimize the length of the connection line between the host and the logical processing unit.
[0080] In one example, the second transmission component includes multiple second service processing interfaces arranged in the following order: I3_1 to 12. The first host partition can be connected to the multiple consecutive second service processing interfaces I3_1 to I3_4 closest to the first host partition, the second host partition can be connected to the multiple consecutive second service processing interfaces I3_5 to I3_8 closest to the second host partition, and the third host partition can be connected to the multiple consecutive second service processing interfaces I3_9 to I3_12 closest to the third host partition.
[0081] In the first host partition, the second business processing interface closest to the network card is I3_1, so the network card is connected to the second business processing interface I3_1. The second business processing interface closest to the hard disk is I3_2, so the hard disk is connected to the second business processing interface I3_2. The second business processing interface closest to the GPU is I3_2, but I3_2 is already connected to the hard disk and is unavailable. Therefore, the GPU can be connected to the second business processing interface I3_3, which is the next closest. The second business processing interface closest to the temperature sensor is I3_4, so it can be connected to the second business processing interface I3_4.
[0082] In the second host partition, the second business processing interface closest to the network card is I3_5, so the network card is connected to the second business processing interface I3_5. The second business processing interface closest to the hard disk is I3_6, so the hard disk is connected to the second business processing interface I3_6. The second business processing interface closest to the GPU is I3_6, but I3_6 is already connected to the hard disk and is unavailable. Therefore, the GPU can be connected to the second business processing interface I3_7, which is the next closest. The second business processing interface closest to the temperature sensor is I3_8, so it can be connected to the second business processing interface I3_8.
[0083] In the third host partition, the second business processing interface closest to the network card is I3_9, so the network card is connected to the second business processing interface I3_9. The second business processing interface closest to the hard disk is I3_10, so the hard disk is connected to the second business processing interface I3_10. The second business processing interface closest to the GPU is I3_10, but I3_10 is already connected to the hard disk and is unavailable. Therefore, the GPU can be connected to the second business processing interface I3_11, which is the next closest. The second business processing interface closest to the temperature sensor is I3_12, so the GPU can be connected to the second business processing interface I3_12.
[0084] In some possible implementations, a second service processing interface is connected to one or more target devices of the same type in the same host partition. This facilitates management of the target devices. By recording the mapping between the device type and the second service processing interface in the routing component, the second service processing interface that sent the second management command can be quickly located, further improving the transmission efficiency of the second management command.
[0085] For example, the target device types can be flexibly divided according to the actual application scenario. For example, temperature sensors and image sensors can be classified as one type, that is, both are sensors, while network cards, hard drives, and GPUs can be classified as three types. In this way, all sensors can be connected to one second service processing interface I3_1, network cards can be connected to one second service processing interface I3_2, hard drives can be connected to one second service processing interface I3_3, and GPUs can be connected to one second service processing interface I3_4. Alternatively, temperature sensors and image sensors can be classified as one type, so that all temperature sensors are connected to one second service processing interface and image sensors are connected to another second service processing interface.
[0086] In some possible implementations, a second service processing interface is connected to one or more adjacent target devices within the same host partition. This not only reduces the number of second service processing interfaces but also minimizes poor connection lines between the host partition and the logical processing unit, shortening the length of the connection lines between the host partition and the logical processing unit.
[0087] In some possible implementations, a second service processing interface is connected to one or more target devices operating at different times within the same host partition. This not only reduces the number of second service processing interfaces but also minimizes the need for multiple target devices of the same second service processing interface to simultaneously receive second management commands or send response data, thereby reducing the congestion rate of the second service processing interface. This maximizes the success rate of second management command and response data transmission, and reduces the transmission latency of second management commands and response data.
[0088] In some possible implementations, an overlap can be calculated for the runtimes of different target devices in the same host partition, indicating the degree of disparity between the runtimes of the different target devices. A greater overlap indicates a lower degree of disparity between the runtimes of the different target devices; a smaller overlap indicates a higher degree of disparity between the runtimes of the different target devices. Consequently, different target devices with the lowest overlap are connected to the same second service processing interface, while different target devices with the highest overlap are connected to different second service processing interfaces.
[0089] For example, in the first host partition, if among the five target devices V1 to V5, the runtime overlap of target devices V1 and V3 is relatively small, and the runtime overlap of target devices V2, V4, and V5 is relatively large, then target devices V1 and V3 can be connected to the same second business processing interface I3_1, target device V2 can be connected to a second business processing interface I3_2, target device V4 can be connected to a second business processing interface I3_3, and target device V5 can be connected to a second business processing interface I3_4.
[0090] In the second host partition, if among the five target devices V1 to V5, the running time overlap of target devices V1 and V3 is relatively small, and the running time overlap of target devices V2, V4 and V5 is relatively large, then the target devices V1 and V3 can be connected to the same second business processing interface I3_5, the target device V2 can be connected to a second business processing interface I3_6, the target device V4 can be connected to a second business processing interface I3_7, and the target device V5 can be connected to a second business processing interface I3_8.
[0091] In the third host partition, if among the five target devices V1 to V5, the running time overlap of target devices V1 and V3 is relatively small, and the running time overlap of target devices V2, V4 and V5 are relatively large, then the target devices V1 and V3 can be connected to the same second business processing interface I3_9, the target device V2 can be connected to a second business processing interface I3_10, the target device V4 can be connected to a second business processing interface I3_11, and the target device V5 can be connected to a second business processing interface I3_12.
[0092] As can be seen from the above example, different host partitions correspond to different second business processing interfaces. The first, second, and third host partitions each correspond to a set of continuously distributed second business processing interfaces. That is, the first host partition's second business processing interfaces I3_1 to I3_4 are continuously distributed and closest to the first host partition; the second host partition's second business processing interfaces I3_5 to I3_8 are continuously distributed and closest to the second host partition; and the third host partition's second business processing interfaces I3_9 to I3_12 are continuously distributed and closest to the third host partition. However, within each host partition, the second business processing interfaces can be allocated based on the aforementioned time overlap. This not only prevents the intersection of connection lines between different host partitions and the logical processing unit, but also improves the data transmission success rate and shortens the data transmission latency within the host partition.
[0093] In some implementations, second service processing interfaces can be allocated within the host partition based on the frequency of target device management by the management unit. Target devices with a high management frequency can be assigned an exclusive second service processing interface, while target devices with a low management frequency can be connected to the same second service processing interface as other target devices with low management frequencies. This allows for maximum utilization of the second service processing interfaces, avoiding situations where some second service processing interfaces have high congestion rates while others are idle.
[0094] For example, in the first host partition, if among the five target devices V1 to V5, the management frequency of target device V1 is higher, the management frequency of target devices V2 and V3 is lower, and the management frequency of V4 and V5 is also relatively high, then the target devices V1 and V2 can be connected to the same second business processing interface I3_1, the target device V3 can be connected to a second business processing interface I3_2, the target device V4 can be connected to a second business processing interface I3_3, and the target device V5 can be connected to a second business processing interface I3_4.
[0095] In the second host partition, if among the five target devices V1 to V5, the management frequency of target device V1 is higher, the management frequencies of target devices V2 and V3 are lower, and the management frequencies of V4 and V5 are also relatively high, then the target devices V1 and V2 can be connected to the same second business processing interface I3_5, the target device V3 can be connected to a second business processing interface I3_6, the target device V4 can be connected to a second business processing interface I3_7, and the target device V5 can be connected to a second business processing interface I3_8.
[0096] In the third host partition, if among the five target devices V1 to V5, the management frequency of target device V1 is higher, the management frequencies of target devices V2 and V3 are lower, and the management frequencies of V4 and V5 are also relatively high, then the target devices V1 and V2 can be connected to the same second business processing interface I3_9, the target device V3 can be connected to a second business processing interface I3_10, the target device V4 can be connected to a second business processing interface I3_11, and the target device V5 can be connected to a second business processing interface I3_12.
[0097] As can be seen, within a host partition, target devices and second service processing interfaces can be connected according to the aforementioned management frequency. However, between host partitions, second service processing interfaces are still allocated based on their positional relationship. The closest second service processing interfaces to the first host partition are second service processing interfaces I3_1 to I3_4; the closest second service processing interfaces to the second host partition are second service processing interfaces I3_5 to I3_8; and the closest second service processing interfaces to the third host partition are second service processing interfaces I3_9 to I3_12. This minimizes crossover of connection lines between different host partitions and logical processing units, and also prevents situations where some second service processing interfaces have high blocking rates while others are idle.
[0098] In some possible implementations, the number of management partitions and host partitions is the same. One management partition manages target devices within a host partition, and the management partition manages the host partition closest to the management partition. The management partition and the host partition to which it corresponds share the same identifier. This allows for quick retrieval of the corresponding host partition based on the management partition identifier, eliminating the need to establish and store partition mappings between management and host partitions in the routing component. This saves storage resources and reduces the size of the routing component.
[0099] Of course, in actual applications, one management partition can also manage multiple host partitions.
[0100] Finally, it should be noted that the above-mentioned first channel management interface, business management interface, first business processing interface, second channel management interface, and second business processing interface in the embodiment of the present application can be I2C (Inter-Integrated Circuit, integrated circuit bus) interfaces, so the target device can be called an I2C device.
[0101] The present application also provides a server, including the aforementioned host partition management architecture, the host partition management architecture including: a host, a logical processing unit and a management unit; the host includes multiple host partitions, and the host partitions are provided with target devices; the management unit includes multiple management partitions, and different management partitions operate independently.
[0102] The logical processing unit includes a first transmission component, a routing component and a second transmission component; the first transmission component is connected to the routing component and the management partition, and the second transmission component is connected to the routing component and the host partition; when the management partition manages the target device in the host partition, the first transmission component and the second transmission component are used to transmit data, and the routing component is used to process the data transmitted by the first transmission component and the second transmission component.
[0103] An embodiment of the present application also provides a host partition management method, which is applied to a host partition management architecture. The host partition management architecture includes: a host, a logical processing unit, and a management unit; the host includes multiple host partitions, the management unit includes multiple management partitions, and the logical processing unit includes a first transmission component, a routing component, and a second transmission component. Figure 5 A host partition management method provided in an embodiment of the present application includes:
[0104] S201: The management partition generates a first management command, and sends the first management command to the routing component through the first transmission component.
[0105] Among them, the first management command is used to manage one or more target devices in the host partition corresponding to this management partition. The management here includes: reading the relevant parameters of the target device, and / or writing the relevant parameters of the target device. For example, reading the temperature of the network card, reading the temperature of the hard disk, reading the GPU accelerator card identifier, the GPU accelerator card manufacturer identifier, reading the sensor temperature, writing the network card operating parameters, hard disk operating parameters, GPU accelerator card operating parameters, and sensor operating parameters. The operating parameters here may include but are not limited to: restart parameters, operating time, data acquisition frequency, etc.
[0106] Therefore, the first management command may carry a command identifier and a host partition identifier, wherein the host partition identifier is used to indicate the host partition managed by the first management command, and the command identifier is used to indicate the target device of the operation and the specific management operation.
[0107] S202: The routing component generates a second management command according to the first management command, and sends the second management command to the target device of the host partition through the second transmission component.
[0108] The first management command and the second management command include different contents. The second management command is a command that the target device can directly recognize and execute, and is of the same type as the first management command. For example, if the first management command is a read command, the second management command is also a read command. If the first management command is a write command, the second management command is also a write command.
[0109] It is understandable that the routing component needs to determine the target device to send based on the first management command. Therefore, the first management command needs to include the host partition identifier. However, when the routing component determines the target device for the first management command, it only needs to send the second management command to the target device. Therefore, the second management command no longer needs to carry the host partition identifier. The second management command only needs to instruct the target device to execute command information. The execution command information here can include the target device memory address to be accessed and the command type, which can be a read command or a write command. In this way, the target device can access the target device memory address based on the command type carried in the second management command.
[0110] For example, a read command reads data from the target device's memory address, while a write command writes data to the target device's memory address. A target device can correspond to one or more target device memory addresses to store different parameters related to the target device. For example, if the target device is a hard drive, target device memory address ADD1 can store the hard drive temperature, and target device memory address ADD2 can store the hard drive type.
[0111] S203: The target device executes the second management command.
[0112] The target device can read data from the target device memory address or write data to the target device memory address by executing the second management command.
[0113] The embodiments of the present application not only utilize a second transmission component to expand interfaces to meet the target device management requirements of multiple host partitions, but also utilize a routing component to implement the management process for different management partitions and corresponding host partitions. The routing component is used to route and parse data during the management process, ensuring that management commands from the management partition accurately reach the corresponding host partition, and that response data from the host partition accurately reaches the management partition. In this way, accurate management is achieved based on the shared logical processing unit between different management partitions and different host partitions. Furthermore, the shared logical processing unit can fully utilize the resources of the logical processing unit, minimizing resource waste and improving resource utilization.
[0114] In some possible implementations, the above method further includes:
[0115] S204: The target device sends the response data of the second management command to the routing component through the second transmission component.
[0116] In the embodiment of the present application, when the first management command and the second management command are read commands, the target device also needs to send the read data, that is, the response data, to the routing component.
[0117] Of course, in some scenarios, the response data may also be an indicator of whether the management command is successfully executed. The response data may be flexibly set according to the actual application scenario.
[0118] S205: The routing component generates a response message according to the response data, and sends the response message to the management partition through the first transmission component.
[0119] The response data is the actual data replied by the target device, which does not include the command information related to the first management command. Therefore, if the response data is directly returned to the management partition, the management partition cannot recognize the response data and cannot perform subsequent processing on the response data.
[0120] In order for the management partition to accurately identify the response data and perform subsequent processing, the routing component needs to establish a mapping relationship between the response data and the first management command. Therefore, the routing component splices the response data and the command information used to uniquely identify the first management command into the response message. In this way, after receiving the response message, the management partition can determine the software interface that calls the first management command based on the command information of the first management command, and then perform subsequent processing on its response data. For example, the management partition calls the first management command in interface I1 to obtain the hard disk temperature. When the management partition receives the response message, it extracts the read hard disk temperature and the command information of the first management command, and determines that its calling interface is I1 based on the command information of the first management command, thereby continuing to execute the subsequent processing code of interface I1 to determine whether to cool the hard disk based on the hard disk temperature.
[0121] In some possible implementations, the first transmission component includes a first business processing interface and a second channel management interface, and the management interface includes a business management interface and a first channel management interface. The business management interface is connected to the first business processing interface, and the business management interface is used to send a first management command to the target device and receive a response message. The first business processing interface is used to forward the first management command to the routing component, or forward the response message generated by the routing component to the business management interface. The first channel management interface and the second channel management interface are connected, and the first channel management interface and the second channel management interface are used to manage the connection channel between the business management interface and the first business processing interface.
[0122] Correspondingly, before the management partition sends the above-mentioned first management command, the above-mentioned S201 includes: the first channel management interface sends a first channel request command to the second channel management interface, and receives the second channel identifier sent by the second channel management interface, and the second channel identifier is used to indicate the business management interface used to transmit the first management command; the business management interface corresponding to the second channel identifier sends the first management command to the routing component.
[0123] The second channel identifier may be an idle interface or an interface with the smallest amount of data to be sent. Therefore, the above channel allocation process can achieve flexible allocation and reuse of the connection channel between the first service processing interface and the service management interface, while also ensuring the success rate of transmission of the first management command.
[0124] It is understood that for the same management partition, it and the routing component can set up multiple connection channels. Each connection channel is formed by connecting a first service processing interface and a service management interface. Therefore, when the management partition needs to send a first management command, it can select a connection channel from multiple connection channels. This achieves channel reuse rather than exclusive use, effectively improving channel utilization. Therefore, the second channel identifier is used to uniquely identify a connection channel and the corresponding first service processing interface and service management interface.
[0125] In some possible implementations, sending the response message to the management partition through the first transmission component includes:
[0126] The second channel management interface sends a second channel request command to the first channel management interface, and receives the first channel identifier sent by the first channel management interface, where the first channel identifier is used to indicate the first business processing interface used to transmit the response message; the response message is sent to the management partition through the first business processing interface corresponding to the first channel identifier.
[0127] The first channel identifier may be an idle interface or an interface with a relatively small amount of data to be sent. Therefore, the above channel allocation process can achieve flexible allocation and reuse of the connection channel between the first service processing interface and the service management interface, while also ensuring the success rate of response message transmission.
[0128] Similarly, when the first transmission component needs to send a response message to the management partition, it can select a connection channel from multiple connection channels and reuse the same connection channel to send the first management command and response data, effectively improving channel utilization. Therefore, the first channel identifier is used to uniquely identify a connection channel and the first service processing interface and service management interface corresponding to the connection channel.
[0129] The above-mentioned host partition management method of the present application is implemented based on the above-mentioned management architecture. Under the action of the routing component, it can ensure that the management commands are accurately sent to the target device on the management architecture, and the response data is accurately sent from the target device to the management partition.
[0130] Figure 6 This is a flowchart of another host partition management method provided by an embodiment of the present application. Figure 6 As shown, the host partition management method includes:
[0131] S301: The management partition generates a first management command.
[0132] S302: The first channel management interface sends a first channel request command to the second channel management interface.
[0133] S303: The second channel management interface sends a second channel identifier to the first channel management interface, where the second channel identifier is used to indicate the service management interface used to transmit the first management command.
[0134] S304: Send the first management command to the routing component through the service management interface corresponding to the second channel identifier.
[0135] S305: The routing component generates a second management command according to the first management command, and sends the second management command to the target device of the host partition through the second transmission component.
[0136] S306: The target device executes the second management command.
[0137] S307: The target device sends the response data of the second management command to the routing component through the second transmission component.
[0138] S308: The routing component generates a response message according to the response data.
[0139] S309: The second channel management interface sends a second channel request command to the first channel management interface.
[0140] S310: The first channel management interface sends a first channel identifier to the second channel management interface, where the first channel identifier is used to indicate a first service processing interface used for transmitting a response message.
[0141] S311: Send a response message to the management partition through the first service processing interface corresponding to the first channel identifier.
[0142] The steps S301 to S311 can be specifically referred to the aforementioned Figure 5 The host partitioning method shown is not repeated here.
[0143] Through the description of the above implementation methods, those skilled in the art can clearly understand that the method according to the above embodiment can be implemented by means of software plus the necessary general hardware platform, and of course it can also be implemented by hardware, but in many cases the former is a better implementation method.
[0144] Professionals may further appreciate that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians may use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0145] The above describes in detail the host partition management architecture, server, and method provided by this application. This document uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is intended only to help understand the method and core concept of this application. It should be noted that those skilled in the art may make various improvements and modifications to this application without departing from the principles of this application, and such improvements and modifications also fall within the scope of protection of the claims of this application.
Claims
1. A host partition management architecture, characterized in that: include: Host, logical processing unit and management unit; The host includes a plurality of host partitions, and the host partitions are provided with target devices; The management unit includes multiple management partitions, and different management partitions operate independently; The logic processing unit includes a first transmission component, a routing component, and a second transmission component; The first transmission component is connected to the routing component and the management partition, and the second transmission component is connected to the routing component and the host partition; When the management partition manages the target device in the host partition, the first transmission component and the second transmission component are used to transmit data, and the routing component is used to process the data transmitted by the first transmission component and the second transmission component; The first transmission component includes multiple groups of first transmission processing interfaces, which are connected to the routing component; the first transmission component is used to transmit data between each management interface of each management partition and the routing component.
2. The architecture according to claim 1, wherein: A group of the first transmission processing interfaces are connected to one management partition, and different management partitions are connected to different first transmission processing interfaces. The first transmission processing interface is used to transmit data between the routing component and the management partition corresponding to the first transmission processing interface.
3. The architecture according to claim 2, characterized in that The management partition includes multiple management interfaces, and the multiple management interfaces are all connected to the first transmission component. The multiple management interfaces of the same management partition are connected to multiple continuously distributed locations on the first transmission component.
4. The architecture according to claim 3, characterized in that The multiple management interfaces are connected to multiple first transmission processing interfaces, the multiple first transmission processing interfaces connected to the multiple management interfaces of the same management partition are adjacent, and the multiple first transmission processing interfaces connected to the multiple management interfaces of different management partitions are arranged in sequence, and the management interface is used to interact with the routing component through the first transmission processing interface.
5. The architecture according to claim 4, characterized in that The multiple management interfaces include multiple business management interfaces, and different business management interfaces operate independently; One of the service management interfaces is connected to one of the first transmission processing interfaces, and the service management interface is used to send a first management command for the target device to the first transmission processing interface, and / or receive a response message for the first management command from the first transmission processing interface.
6. The architecture according to claim 5, characterized in that The multiple management interfaces also include a first channel management interface. For one management partition, the first transmission processing interface connected to the first channel management interface is located before or after the first transmission processing interface connected to the business management interface. The first channel management interface is used to manage the connection channel from the first transmission processing interface to the business management interface.
7. The architecture according to claim 6, characterized in that The multiple first transmission processing interfaces include multiple first business processing interfaces, multiple first business processing interfaces are connected to the routing component, one first business processing interface is connected to one business management interface of the management partition, and the first business processing interface is used to transmit the first management command and / or the response message.
8. The architecture according to claim 7, wherein: The multiple first transmission processing interfaces also include a second channel management interface, which is connected to the routing component and the first channel management interface. The second channel management interface is used to manage the connection channel from the business management interface to the first transmission processing interface through the routing component.
9. The architecture according to claim 8, characterized in that The second channel management interface is connected to the first channel management interface of one or more management partitions.
10. The architecture according to claim 1, wherein: The second transmission component includes multiple second business processing interfaces, all of which are connected to the routing component, and one second business processing interface is connected to one or more target devices. The second business processing interface is used to send the second management command sent by the routing component to the connected target device, or to send the response data of the target device to the second management command to the routing component.
11. The architecture according to claim 10, wherein: One of the second business processing interfaces is connected to one or more target devices of the same host partition, the target devices of the same host partition are connected to multiple second business processing interfaces that are continuously distributed, and the target devices of the host partition are connected to the second business processing interface that is closest to the target device and available.
12. The architecture according to claim 11, wherein: One of the second service processing interfaces is connected to one or more target devices of the same type in the same host partition.
13. The architecture according to claim 11, wherein: One of the second service processing interfaces is connected to one or more adjacent target devices in the same host partition.
14. The architecture according to claim 11, wherein: A second service processing interface is connected to one or more target devices with different running times in the same host partition.
15. The architecture according to claim 1, wherein: The number of the management partitions is the same as that of the host partitions, one management partition is used to manage a target device in one host partition, and the management partition is used to manage the host partition closest to the management partition; The management partition and the host partition corresponding to the management partition correspond to the same identifier.
16. A server, characterized in that: The host partition management architecture comprises any one of claims 1 to 15.
17. A host partition management method, characterized in that: The present invention is applied to a host partition management architecture, the host partition management architecture comprising: a host, a logical processing unit, and a management unit; the host comprising multiple host partitions, the management unit comprising multiple management partitions, the logical processing unit comprising a first transmission component, a routing component, and a second transmission component; the first transmission component comprising multiple groups of first transmission processing interfaces, the multiple groups of first transmission processing interfaces being connected to the routing component; the first transmission component being used to transmit data between each management interface of each management partition and the routing component; the method comprising: The management partition generates a first management command, and sends the first management command to the routing component through the first transmission component; The routing component generates a second management command according to the first management command, and sends the second management command to the target device of the host partition through the second transmission component; The target device executes the second management command.
18. The method according to claim 17, characterized in that Also includes: The target device sends the response data of the second management command to the routing component through the second transmission component; The routing component generates a response message according to the response data, and sends the response message to the management partition through the first transmission component.
19. The method according to claim 18, characterized in that The first transmission component includes a first service processing interface and a second channel management interface, and the management interface includes a service management interface and a first channel management interface; The sending the first management command to the routing component through the first transmission component includes: The first channel management interface sends a first channel request command to the second channel management interface, and receives a second channel identifier sent by the second channel management interface, where the second channel identifier is used to indicate a service management interface used to transmit the first management command; The first management command is sent to the routing component through the service management interface corresponding to the second channel identifier.
20. The method according to claim 19, characterized in that Sending the response message to the management partition through the first transmission component includes: The second channel management interface sends a second channel request command to the first channel management interface, and receives a first channel identifier sent by the first channel management interface, where the first channel identifier is used to indicate a first service processing interface used to transmit the response message; The response message is sent to the management partition through the first service processing interface corresponding to the first channel identifier.
Citation Information
Patent Citations
Method and device for monitoring hardware partition of server host system
CN116719700A