[go: up one dir, main page]

CN116032746B - Resource pool information processing method and device, storage medium and electronic device - Google Patents

Resource pool information processing method and device, storage medium and electronic device Download PDF

Info

Publication number
CN116032746B
CN116032746B CN202310314519.6A CN202310314519A CN116032746B CN 116032746 B CN116032746 B CN 116032746B CN 202310314519 A CN202310314519 A CN 202310314519A CN 116032746 B CN116032746 B CN 116032746B
Authority
CN
China
Prior art keywords
resource pool
connector port
input
specified
designated
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310314519.6A
Other languages
Chinese (zh)
Other versions
CN116032746A (en
Inventor
刘振
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202310314519.6A priority Critical patent/CN116032746B/en
Publication of CN116032746A publication Critical patent/CN116032746A/en
Application granted granted Critical
Publication of CN116032746B publication Critical patent/CN116032746B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Computer And Data Communications (AREA)

Abstract

The embodiment of the application provides an information processing method and device of a resource pool, a storage medium and an electronic device, wherein the information processing method of the resource pool comprises the following steps: scanning a specified communication channel where a specified connector port on the input/output resource pool is located to identify a specified type of resource pool mounted on the input/output resource pool, wherein the specified connector port is a signal connector port used for signal transmission between the input/output resource pool and the specified type of resource pool; under the condition that a group of resource pools to be configured of a specified type is identified, a unique resource pool number is allocated to each resource pool to be configured; and respectively sending the resource pool number of each resource pool to be configured to each resource pool to be configured so as to configure a connector port identifier for the designated connector port of each resource pool to be configured, wherein the connector port identifier of the designated connector port of the resource pool to be configured comprises the resource pool number of the resource pool to be configured.

Description

资源池的信息处理方法及装置、存储介质及电子装置Resource pool information processing method and device, storage medium and electronic device

技术领域technical field

本申请实施例涉及计算机领域,具体而言,涉及一种资源池的信息处理方法及装置、存储介质及电子装置。The embodiments of the present application relate to the computer field, and in particular, relate to an information processing method and device, a storage medium, and an electronic device for a resource pool.

背景技术Background technique

在以数据为中心的融合架构内,所有的IO(即,I/O,Input/Output,输入/输出)资源集中于同一个IO Box(IO资源池,一种IO组件),终端设备均挂载于IO Box之下,通过管理软件可以根据设备实际接入情况对IO资源进行分配。以SSD(Solid State Disk,固态硬盘)资源池为例,在融合架构内,SSD以独立Box(资源池)的形态存在,在实际使用时,可以根据需求在IO Box下挂载一个或者多个SSD Box。In a data-centric converged architecture, all IO (i.e., I/O, Input/Output, input/output) resources are concentrated in the same IO Box (IO resource pool, an IO component), and terminal devices are connected to Loaded under the IO Box, through the management software, IO resources can be allocated according to the actual access situation of the device. Take the SSD (Solid State Disk) resource pool as an example. In the converged architecture, the SSD exists in the form of an independent Box (resource pool). In actual use, one or more boxes can be mounted under the IO Box according to requirements. SSD Box.

然而,现有的Box的ID(Identifier,标识)识别方式无法识别出物理结构完全相同的多个资源池Box(比如,挂载的多个SSD Box)的ID,从而导致无法准确将数据指令发送到目标资源池。由此可见,相关技术中的资源池的信息处理方法,存在由于无法区分物理结构相同的资源池导致的数据指令发送的准确性低的问题。However, the existing Box ID (Identifier, identification) identification method cannot identify the IDs of multiple resource pool Boxes (for example, multiple mounted SSD Boxes) with identical physical structures, resulting in the inability to accurately send data instructions to the target resource pool. It can be seen that the resource pool information processing method in the related art has the problem of low accuracy of sending data instructions due to inability to distinguish resource pools with the same physical structure.

发明内容Contents of the invention

本申请实施例提供了一种资源池的信息处理方法及装置、存储介质及电子装置,以至少解决相关技术中的资源池的信息处理方法存在由于无法区分物理结构相同的资源池导致的数据指令发送的准确性低的问题。The embodiment of the present application provides a resource pool information processing method and device, a storage medium, and an electronic device to at least solve the problem of data instructions caused by the inability to distinguish resource pools with the same physical structure in the resource pool information processing method in the related art. The problem of low sending accuracy.

根据本申请的一个实施例,提供了一种资源池的信息处理方法,包括:对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到所述输入输出资源池上的指定类型的资源池,其中,所述指定连接器端口为所述输入输出资源池与所述指定类型的资源池之间进行信号传输所使用的信号连接器端口;在识别到所述指定类型的一组待配置资源池的情况下,为每个所述待配置资源池分配唯一的资源池编号;将每个所述待配置资源池的资源池编号分别发送给每个所述待配置资源池,以为每个所述待配置资源池的所述指定连接器端口配置连接器端口标识,其中,所述待配置资源池的所述指定连接器端口的连接器端口标识包含所述待配置资源池的资源池编号。According to an embodiment of the present application, a resource pool information processing method is provided, including: scanning the specified communication channel where the specified connector port on the input and output resource pool is located, so as to identify the information that is mounted on the input and output resource pool A specified type of resource pool, wherein the specified connector port is a signal connector port used for signal transmission between the input and output resource pool and the specified type of resource pool; In the case of a group of resource pools to be configured, assign a unique resource pool number to each resource pool to be configured; send the resource pool number of each resource pool to be configured to each resource pool to be configured , to configure a connector port identifier for the designated connector port of each resource pool to be configured, wherein the connector port identifier of the designated connector port of the resource pool to be configured includes the resource pool to be configured The ID of the resource pool.

根据本申请的又一个实施例,提供了一种资源池的信息处理装置,包括:第一扫描单元,用于对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到所述输入输出资源池上的指定类型的资源池,其中,所述指定连接器端口为所述输入输出资源池与所述指定类型的资源池之间进行信号传输所使用的信号连接器端口;分配单元,在识别到所述指定类型的一组待配置资源池的情况下,为每个所述待配置资源池分配唯一的资源池编号;第一发送单元,用于将每个所述待配置资源池的资源池编号分别发送给每个所述待配置资源池,以为每个所述待配置资源池的所述指定连接器端口配置连接器端口标识,其中,所述待配置资源池的所述指定连接器端口的连接器端口标识包含所述待配置资源池的资源池编号。According to yet another embodiment of the present application, an information processing device for a resource pool is provided, including: a first scanning unit, configured to scan the designated communication channel where the designated connector port on the input and output resource pool is located, to identify the A specified type of resource pool loaded onto the input/output resource pool, wherein the specified connector port is a signal connector port used for signal transmission between the input/output resource pool and the specified type of resource pool; An allocation unit, in the case of identifying a group of resource pools to be configured of the specified type, assigning a unique resource pool number to each of the resource pools to be configured; a first sending unit, configured to assign each of the resource pools to be configured The resource pool number of the configured resource pool is sent to each of the resource pools to be configured respectively, so as to configure a connector port identifier for the specified connector port of each of the resource pools to be configured, wherein the resource pool of the resource pool to be configured The connector port identifier of the specified connector port includes the resource pool number of the resource pool to be configured.

根据本申请的又一个实施例,还提供了一种计算机可读存储介质,所述计算机可读存储介质中存储有计算机程序,其中,所述计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, a computer-readable storage medium is also provided, and a computer program is stored in the computer-readable storage medium, wherein the computer program is configured to perform any one of the above-mentioned methods when running Steps in the examples.

根据本申请的又一个实施例,还提供了一种电子设备,包括存储器和处理器,所述存储器中存储有计算机程序,所述处理器被设置为运行所述计算机程序以执行上述任一项方法实施例中的步骤。According to yet another embodiment of the present application, there is also provided an electronic device, including a memory and a processor, wherein a computer program is stored in the memory, and the processor is configured to run the computer program to perform any of the above Steps in the method examples.

通过本申请实施例,采用为同一IO节点对下属物理结构完全相同的多个设备资源池(Device Box)分配不同的资源池编号以区分不通的设备资源池的方式,通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,其中,指定连接器端口为输入输出资源池与指定类型的资源池之间进行信号传输所使用的信号连接器端口;在识别到指定类型的一组待配置资源池的情况下,为每个待配置资源池分配唯一的资源池编号;将每个待配置资源池的资源池编号分别发送给每个待配置资源池,以为每个待配置资源池的指定连接器端口配置连接器端口标识,其中,待配置资源池的指定连接器端口的连接器端口标识包含待配置资源池的资源池编号,由于为待配置资源池分配资源池编号,使得每个待配置资源池拥有不同的资源池编号,将每个待配置资源池的资源池编号发送给每个待配置资源池,可以为每个待配置资源池对应的连接器端口配置连接器端口标识,使得每个待配置资源池对应的连接器端口具有不同的连接器端口标识,在数据指令发送的过程中,可以根据每个待配置资源池对应的连接器端口的连接器端口标识,将数据指令准确发送到指定连接器端口,达到提高数据指令发送的准确性的技术效果,进而解决了相关技术中的资源池的信息处理方法,存在由于无法区分物理结构相同的资源池导致的数据指令发送的准确性低的问题。Through the embodiment of this application, the same IO node is used to assign different resource pool numbers to multiple device resource pools (Device Boxes) with the same physical structure to distinguish different device resource pools. The specified communication channel where the specified connector port is located scans to identify the specified type of resource pool mounted on the input and output resource pool, where the specified connector port is used for signal transmission between the input and output resource pool and the specified type of resource pool The signal connector port used; when a group of resource pools to be configured of the specified type is identified, assign a unique resource pool number to each resource pool to be configured; send the resource pool number of each resource pool to be configured separately For each resource pool to be configured, configure the connector port identifier for the designated connector port of each resource pool to be configured, wherein the connector port identifier of the designated connector port of the resource pool to be configured contains the resource pool of the resource pool to be configured number, because resource pool numbers are allocated for resource pools to be configured, each resource pool to be configured has a different resource pool number, and the resource pool number of each resource pool to be configured is sent to each resource pool to be configured, which can be The connector ports corresponding to the resource pools to be configured are configured with connector port IDs, so that the connector ports corresponding to each resource pool to be configured have different connector port IDs. In the process of sending data instructions, each to-be-configured The connector port identification of the connector port corresponding to the resource pool can accurately send the data instruction to the designated connector port, so as to achieve the technical effect of improving the accuracy of the data instruction sending, and then solve the information processing method of the resource pool in the related technology, There is a problem that the accuracy of sending data instructions is low due to the inability to distinguish resource pools with the same physical structure.

附图说明Description of drawings

图1是根据本申请实施例的一种资源池的信息处理方法的计算机终端的硬件结构框图;Fig. 1 is a hardware structural block diagram of a computer terminal according to an information processing method of a resource pool according to an embodiment of the present application;

图2是根据本申请实施例的一种资源池的信息处理方法的流程示意图;FIG. 2 is a schematic flowchart of a resource pool information processing method according to an embodiment of the present application;

图3是根据本申请实施例的一种资源池的信息处理方法的示意图;FIG. 3 is a schematic diagram of an information processing method for a resource pool according to an embodiment of the present application;

图4是根据本申请实施例的另一种资源池的信息处理方法的示意图;FIG. 4 is a schematic diagram of another resource pool information processing method according to an embodiment of the present application;

图5是根据本申请实施例的另一种资源池的信息处理方法的流程示意图;FIG. 5 is a schematic flowchart of another information processing method for a resource pool according to an embodiment of the present application;

图6是根据本申请实施例的一种资源池的信息处理装置的结构框图。Fig. 6 is a structural block diagram of an information processing device for a resource pool according to an embodiment of the present application.

具体实施方式Detailed ways

下文中将参考附图并结合实施例来详细说明本申请的实施例。Embodiments of the present application will be described in detail below with reference to the drawings and in combination with the embodiments.

需要说明的是,本申请实施例的说明书和权利要求书及上述附图中的术语“第一”、“第二”等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。It should be noted that the terms "first" and "second" in the description and claims of the embodiments of the present application and the above drawings are used to distinguish similar objects, and not necessarily used to describe a specific order or sequence order.

本申请实施例中所提供的方法实施例可以在移动终端、计算机终端或者类似的运算装置中执行。以运行在计算机终端上为例,图1是本申请实施例的一种资源池的信息处理方法的计算机终端的硬件结构框图。如图1所示,计算机终端可以包括一个或多个(图1中仅示出一个)输入输出资源池102和指定类型的资源池104,其中,上述计算机终端还可以包括用于通信功能的传输设备106以及其他输入输出设备108(例如,扬声器、麦克风等)。本领域普通技术人员可以理解,图1所示的结构仅为示意,其并不对上述计算机终端的结构造成限定。例如,计算机终端还可包括比图1中所示更多或者更少的组件,或者具有与图1所示不同的配置。The method embodiments provided in the embodiments of the present application may be executed in mobile terminals, computer terminals or similar computing devices. Taking running on a computer terminal as an example, FIG. 1 is a block diagram of a hardware structure of a computer terminal in an information processing method for a resource pool according to an embodiment of the present application. As shown in FIG. 1, a computer terminal may include one or more (only one is shown in FIG. 1) input and output resource pools 102 and a specified type of resource pool 104, wherein the above-mentioned computer terminal may also include transmission device 106 and other input and output devices 108 (eg, speakers, microphones, etc.). Those skilled in the art can understand that the structure shown in FIG. 1 is only for illustration, and it does not limit the structure of the above computer terminal. For example, the computer terminal may also include more or fewer components than shown in FIG. 1 , or have a different configuration than that shown in FIG. 1 .

指定类型的资源池104可用于存储计算机程序,例如,应用软件的软件程序以及模块,如本申请实施例中的资源池的信息处理方法对应的计算机程序,输入输出资源池102通过运行存储在指定类型的资源池104内的计算机程序,从而执行各种功能应用以及数据处理,即实现上述的方法。指定类型的资源池104可包括高速随机存储器,还可包括非易失性存储器,如一个或者多个磁性存储装置、闪存、或者其他非易失性固态存储器。在一些实例中,指定类型的资源池104可进一步包括相对于输入输出资源池102远程设置的存储器,这些远程存储器可以通过网络连接至移动终端。上述网络的实例包括但不限于互联网、企业内部网、局域网、移动通信网及其组合。The specified type of resource pool 104 can be used to store computer programs, for example, software programs and modules of application software, such as the computer program corresponding to the information processing method of the resource pool in the embodiment of the present application, and the input and output resource pool 102 is stored in the specified The computer program in the type resource pool 104 executes various functional applications and data processing, that is, realizes the above-mentioned method. The specified type of resource pool 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the resource pool 104 of a specified type may further include a memory set remotely relative to the input-output resource pool 102, and these remote memories may be connected to the mobile terminal through a network. Examples of the aforementioned networks include, but are not limited to, the Internet, intranets, local area networks, mobile communication networks, and combinations thereof.

传输设备106用于经由一个网络接收或者发送数据。上述的网络具体实例可包括计算机终端的通信供应商提供的无线网络。在一个实例中,传输设备106包括一个网络适配器(Network Interface Controller,简称为NIC),其可通过基站与其他网络设备相连从而可与互联网进行通讯。在一个实例中,传输设备106可以为射频(Radio Frequency,简称为RF)模块,其用于通过无线方式与互联网进行通讯。Transmission device 106 is used to receive or transmit data via a network. The specific example of the above-mentioned network may include a wireless network provided by the communication provider of the computer terminal. In an example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC for short), which can be connected to other network devices through a base station so as to communicate with the Internet. In an example, the transmission device 106 may be a radio frequency (Radio Frequency, RF for short) module, which is used to communicate with the Internet in a wireless manner.

根据本申请实施例的一个方面,提供了一种资源池的信息处理方法,以由计算机终端来执行本实施例中的资源池的信息处理方法为例,图2是根据本申请实施例的一种资源池的信息处理方法的流程图,如图2所示,该流程包括如下步骤:According to an aspect of the embodiment of the present application, a resource pool information processing method is provided. Taking the computer terminal to execute the resource pool information processing method in this embodiment as an example, FIG. 2 is an information processing method according to the embodiment of the present application. The flow chart of the information processing method of a kind of resource pool, as shown in Figure 2, this process comprises the following steps:

步骤S202,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,其中,指定连接器端口为输入输出资源池与指定类型的资源池之间进行信号传输所使用的信号连接器端口。Step S202, scan the specified communication channel where the specified connector port on the input and output resource pool is located to identify the specified type of resource pool mounted on the input and output resource pool, wherein the specified connector port is the input and output resource pool and the specified The signal connector port used for signal transmission between resource pools of the type.

本实施例中的资源池的信息处理方法可以应用到与挂载到同一输入输出资源池(IO Box)上相同类型的不同资源池(资源池BOX,例如,SSD Box)之间进行精准通信的场景,可以应用到融合架构中。随着人工智能、机器学习、高性能计算等诸多复杂的计算方式的迅速发展,对于不同计算任务,存在着不同计算平台需求,对于不同应用场景,存在着不同算力需求,为了满足不同应用场景下不同的数据处理需求、数据吞吐需求以及资源需求,以计算为中心的架构正在以数据为中心的融合架构转变。The resource pool information processing method in this embodiment can be applied to precise communication between different resource pools (resource pool BOX, for example, SSD Box) of the same type mounted on the same input and output resource pool (IO Box). Scenarios can be applied to the fusion architecture. With the rapid development of many complex computing methods such as artificial intelligence, machine learning, and high-performance computing, there are different computing platform requirements for different computing tasks, and different computing power requirements for different application scenarios. In order to meet different application scenarios Under different data processing requirements, data throughput requirements, and resource requirements, the computing-centric architecture is transforming into a data-centric converged architecture.

融合架构具有资源解耦的特点,即,将整个系统解耦成计算机资源池、内存资源池、输入输出设备资源池等独立池化模块,有利于CPU(Central Processing Unit,中央处理器)、内存、GPU(Graphics Processing Unit,图像处理器)、SSD等关键设备的灵活改配与快速升级。在融合架构内,所有的输入输出资源都集中于一个输入输出资源池内,其他的终端设备均可挂载于输入输出资源池之下,通过管理软件可以根据设备实际的接入情况对输入输出资源进行分配。The converged architecture has the characteristics of resource decoupling, that is, decoupling the entire system into independent pooled modules such as computer resource pools, memory resource pools, and input and output device resource pools, which is beneficial to CPU (Central Processing Unit, central processing unit), memory , GPU (Graphics Processing Unit, Image Processor), SSD and other key equipment flexible reconfiguration and rapid upgrade. In the converged architecture, all input and output resources are concentrated in one input and output resource pool, and other terminal devices can be mounted under the input and output resource pool. Through the management software, the input and output resources can be controlled according to the actual access conditions of the equipment. distribute.

相关技术中,每个资源池(Box)有自身唯一的ID编码,通过拨码开关或电阻上下拉将信号发送给BMC(Baseboard Management Controller,基板管理控制器)或BIOS(BasicInput Output System,基本输入输出系统),使系统知道自身的编号,资源池的ID编码为默认ID,相同物理结构的资源池的默认ID是相同的。In the related technology, each resource pool (Box) has its own unique ID code, and the signal is sent to BMC (Baseboard Management Controller, baseboard management controller) or BIOS (Basic Input Output System, basic input Output system), so that the system knows its own number, the ID of the resource pool is encoded as the default ID, and the default ID of the resource pool with the same physical structure is the same.

然而,通过默认ID区分资源池的方式无法做到对无序互联方式下的设备识别,并不适用于资源池化系统的应用场景,当系统内存在多个相同Box时,无法使核心IO节点对下面存在的多个相同Device Box做到有效区分。核心节点可以是输入输出资源池。在输入输出资源池之下可以挂载多个相同类型的资源池,由于这些资源池的物理结构完全相同,默认ID也相同,通过默认ID区分资源池的方式在融合架构内便无法正常使用。However, the method of distinguishing resource pools by default ID cannot be used to identify devices in disorderly interconnection mode, and is not suitable for application scenarios of resource pooling systems. When there are multiple identical Boxes in the system, the core IO nodes cannot Effectively distinguish multiple identical Device Boxes below. A core node may be an input and output resource pool. Multiple resource pools of the same type can be mounted under the input and output resource pools. Since the physical structures of these resource pools are identical, and the default IDs are also the same, the method of distinguishing resource pools by default ID cannot be used normally in the converged architecture.

以SSD资源池为例,在融合架构内SSD是以独立Box的形态存在的,用户实际使用时可以依据自身需求选择性地在IO Box下挂载一个、两个或更多个SSD Box。由于这些SSDBox物理结构完全相同,无法准确区分不同的SSD Box,从而无法精准的将数据指令推送给目标SSD Box。Taking the SSD resource pool as an example, SSDs exist in the form of independent boxes in the converged architecture. Users can selectively mount one, two or more SSD boxes under the IO Box according to their own needs during actual use. Since the physical structures of these SSDBoxes are exactly the same, different SSD Boxes cannot be accurately distinguished, so that data instructions cannot be accurately pushed to the target SSD Box.

为了至少部分解决上述问题,在本实施例中提供了一种应用于融合架构系统的ID识别方案,采用为连接到同一输入输出资源池的相同类型的资源池设置对应的资源池编号的方式,通过识别出输入输出资源池下挂载的指定类型的待配置资源池,为不同的待配置资源池分配不同的资源池编号,使得每个待配置资源池拥有不同的资源池编号,而每个待配置资源池对应的连接器端口的连接器端口标识包含所属的资源池的资源池标识,输入输出资源池可以根据每个待配置资源池的连接器端口的连接器端口标识将数据指令准确发送到目标资源池。可选地,除了SSD资源池以外,本实施例中的资源池的信息处理方法也可以应用到其他需要进行ID识别的池化系统中。In order to at least partly solve the above problems, this embodiment provides an ID identification scheme applied to a converged architecture system, by setting a corresponding resource pool number for resource pools of the same type connected to the same input and output resource pool, By identifying the specified type of resource pools to be configured mounted under the input and output resource pools, different resource pool numbers are assigned to different resource pools to be configured, so that each resource pool to be configured has a different resource pool number, and each resource pool to be configured has a different resource pool number. The connector port ID of the connector port corresponding to the configured resource pool includes the resource pool ID of the resource pool to which it belongs, and the input and output resource pools can accurately send data instructions to The target resource pool. Optionally, in addition to the SSD resource pool, the resource pool information processing method in this embodiment may also be applied to other pooling systems that require ID identification.

例如,在融合架构内,为了使得核心IO节点(例如,IO Box)对下属物理结构完全相同的多个Device Box(例如,SSD Box)能够准确识别,可以为不同的Device Box分配不同的编号,以区分不同的Device Box,使得数据指令能够精准发送到目标Box。For example, in the converged architecture, in order to enable the core IO node (for example, IO Box) to accurately identify multiple Device Boxes (for example, SSD Box) with the same physical structure under it, you can assign different numbers to different Device Boxes, To distinguish different Device Boxes, so that data instructions can be accurately sent to the target Box.

对于一个输入输出资源池,其上可以设置有一组连接器端口,通过连接器端口可以与一种或者多种类型的资源池的连接器端口进行连接,一个资源池可以通过其上的一个或多个连接器端口连接到的输入输出资源池上。对于指定类型的资源池,其可以通过指定连接器端口与输入输出资源池上的指定连接器端口进行连接,这里,指定连接器端口可以是指定连接器的端口。每个指定连接器端口均对应一路特定的通信通道(即,指定通信通道),可以确保在进行指定类型的资源池的安装时,无论其插接在输入输出资源池的哪个指定连接器端口下、无论是否按顺序插接,均可通过某一路指定通信通道被输入输出资源池有效识别。这里,指定连接器可以是CDFP(一种高速信号连接器,用于不同资源池之间的信号传输)连接器,也可以是其他类型的连接器;指定通信通道可以是I2C(Inter-IntegratedCircuit,两线式串行总线)通道,也可以是其他类型的通信通道。For an input and output resource pool, a group of connector ports can be set on it, through which connector ports can be connected to connector ports of one or more types of resource pools, and a resource pool can be connected through one or more Connector ports are connected to the input and output resource pools. For a resource pool of a specified type, it may be connected to a specified connector port on the input/output resource pool through a specified connector port, where the specified connector port may be a port of a specified connector. Each designated connector port corresponds to a specific communication channel (that is, a designated communication channel), which can ensure that no matter which designated connector port of the input and output resource pool it is plugged into when installing a designated type of resource pool , Regardless of whether they are plugged in order or not, they can be effectively identified by the input and output resource pools through a designated communication channel. Here, the specified connector can be a CDFP (a high-speed signal connector, used for signal transmission between different resource pools) connectors, or other types of connectors; the specified communication channel can be I2C (Inter-Integrated Circuit, two Wired Serial Bus) channels, or other types of communication channels.

在本实施例中,输入输出资源池识别指定类型的资源池可以是由输入输出资源池的BMC(即,IO Box BMC)执行的,也可以是由输入输出资源池的其他控制器执行的。以由IOBox BMC执行为例,IO Box BMC作为Host(主动方),其可以对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别出挂载到输入输出资源池上的指定类型的资源池。指令类型的资源池可以是固态硬盘资源池(即,SSD Box),也可以是其他类型的资源池。In this embodiment, identifying a resource pool of a specified type by the I/O resource pool may be performed by the BMC of the I/O resource pool (that is, the IO Box BMC), or may be performed by other controllers of the I/O resource pool. Taking the execution by IOBox BMC as an example, the IO Box BMC acts as the Host (active party), which can scan the specified communication channel where the specified connector port on the input and output resource pool is located, so as to identify the specified communication channel mounted on the input and output resource pool. type of resource pool. The command-type resource pool may be a solid-state disk resource pool (that is, SSD Box), or other types of resource pools.

这里,指定类型的资源池上的每个指定连接器端口对应于一路指定通信通道,指定类型的资源池可以分别通过其上的指定连接器端口经由对应的指定通信通道将指定连接器端口的连接器端口标识传输至输入输出资源池,而输入输出资源池可以通过其上的指定连接器端口接收指定类型的资源池发送的指定连接器端口的连接器端口标识。基于接收到的相同的指定连接器端口的连接器端口标识,可以确定出挂载到输入输出资源池上的指定类型的资源池的数量。Here, each specified connector port on a specified type of resource pool corresponds to a specified communication channel, and the specified type of resource pool can connect the specified connector port to the specified connector port via the corresponding specified communication channel. The port identifier is transmitted to the input-output resource pool, and the input-output resource pool can receive the connector port identifier of the specified connector port sent by the resource pool of the specified type through the specified connector port on the input-output resource pool. Based on the received connector port identification of the same designated connector port, the number of resource pools of a designated type mounted on the input and output resource pools can be determined.

以SSD BOX为例,在融合架构内,IO Box作为整个计算系统的IO资源管控节点,其具体功能为:通过IO Box内包含的8个PCIe(一种高速信号,用于计算机系统内IO数据的高速传输) Switch芯片将来自多个不同CPU的PCIe资源进行拓展、组网、分配,PCIe Switch芯片是一种用于将一组PCIe信号拓展为多组PCIe信号的IO芯片,用于对CPU IO资源的拓展。每颗PCIe Switch芯片出5个CDFP端口,整个IO Box最终可对外给出40(8*5)个CDFP接口,40个CDFP接口的序号分别为:CDFP 0-0~CDFP 0-4, ...., CDFP 7-0~CDFP 7-4,每个CDFP接口包含一组PCIe 5.0×16的高速IO信号。Taking SSD BOX as an example, in the converged architecture, IO Box is the IO resource control node of the entire computing system. high-speed transmission) The Switch chip expands, networks, and distributes PCIe resources from multiple different CPUs. The PCIe Switch chip is an IO chip used to expand a set of PCIe signals into multiple sets of PCIe signals. Expansion of IO resources. Each PCIe Switch chip has 5 CDFP ports, and the entire IO Box can finally provide 40 (8*5) CDFP ports to the outside world. The serial numbers of the 40 CDFP ports are: CDFP 0-0~CDFP 0-4, .. .., CDFP 7-0~CDFP 7-4, each CDFP interface contains a set of PCIe 5.0×16 high-speed IO signals.

SSD在计算机系统内作为存储设备而存在,在融合架构内,SSD Box是整个系统的终端设备,是专门用于承载大量NVMe SSD的容器,这里,NVMe SSD是一种支持PCIe协议的硬盘。每个SSD Box可满载32块高容量NVMe SSD,这些SSD通过SSD Box上的6个CDFP接口接至IO Box,一个SSD Box的CDFP接口的编号分别为:CDFP 0, ..., CDFP 5。SSD Box的6个CDFP端口可对接IO Box的40个CDFP端口中的任意6个,无需指定固定的插接顺序。如图3所示,一个SSD Box上的CDFP 0、CDFP 1和CDFP 2分别对接到IO Box上的CDFP 1-1、CDFP 1-2和CDFP1-3,另一个SSD Box上的CDFP 0、CDFP 1和CDFP 2分别对接到IO Box上的CDFP 5-1、CDFP5-2和CDFP 5-3。SSD exists as a storage device in the computer system. In the converged architecture, SSD Box is the terminal device of the entire system, and it is a container specially used to carry a large number of NVMe SSDs. Here, NVMe SSD is a hard disk that supports the PCIe protocol. Each SSD Box can be fully loaded with 32 high-capacity NVMe SSDs. These SSDs are connected to the IO Box through 6 CDFP interfaces on the SSD Box. The numbers of the CDFP interfaces of an SSD Box are: CDFP 0, ..., CDFP 5. The 6 CDFP ports of the SSD Box can be connected to any 6 of the 40 CDFP ports of the IO Box, without specifying a fixed insertion sequence. As shown in Figure 3, CDFP 0, CDFP 1, and CDFP 2 on one SSD Box are respectively connected to CDFP 1-1, CDFP 1-2, and CDFP1-3 on the IO Box, and CDFP 0, CDFP 1 and CDFP 2 are respectively connected to CDFP 5-1, CDFP5-2 and CDFP 5-3 on the IO Box.

步骤S204,在识别到指定类型的一组待配置资源池的情况下,为每个待配置资源池分配唯一的资源池编号。Step S204, if a group of resource pools to be configured of a specified type is identified, assign a unique resource pool number to each resource pool to be configured.

如果识别到存在挂载到输入输出资源池上的指定类型的资源池,可以识别到的全部或者部分指定类型的资源池作为一组待配置资源池,为每个待配置资源池分配资源池编号,这里,为每个待配置资源池编号的方式可以有多种,只要每个待配置资源池的资源池编号是不同的即可,例如,一组待配置资源池包括四个,四个待配置资源池分配的资源池编号分别为0(00)、1(01)、2(10)和3(11)。If it is identified that there is a specified type of resource pool mounted on the input and output resource pools, all or part of the identified resource pools of the specified type can be used as a group of resource pools to be configured, and a resource pool number is assigned to each resource pool to be configured. Here, there are many ways to number each resource pool to be configured, as long as the resource pool numbers of each resource pool to be configured are different, for example, a group of resource pools to be configured includes four, and four resource pools to be configured The resource pool numbers allocated by resource pools are 0 (00), 1 (01), 2 (10), and 3 (11).

步骤S206,将每个待配置资源池的资源池编号分别发送给每个待配置资源池,以为每个待配置资源池的指定连接器端口配置连接器端口标识,其中,待配置资源池的指定连接器端口的连接器端口标识包含待配置资源池的资源池编号。在为每个待配置资源池分配不同的资源池编号之后,可以将每个待配置资源池的资源池编号分别发送给每个待配置资源池,例如,通过与每个待配置资源池的指定连接器端口对应的指定通信通道将每个待配置资源池的资源池编号发送至每个待配置资源池,每个待配置资源池可以具有多个指定连接器端口,每个待配置资源池的资源池编号可以通过与其上的一个指定连接器端口对应的指定通信通道发送给每个待配置资源池。Step S206, sending the resource pool number of each to-be-configured resource pool to each to-be-configured resource pool, so as to configure the connector port identifier for the specified connector port of each to-be-configured resource pool, wherein the specified connector port of each to-be-configured resource pool The connector port ID of the connector port includes the resource pool number of the resource pool to be configured. After assigning a different resource pool number to each resource pool to be configured, the resource pool number of each resource pool to be configured can be sent to each resource pool to be configured, for example, by specifying The designated communication channel corresponding to the connector port sends the resource pool number of each resource pool to be configured to each resource pool to be configured. Each resource pool to be configured can have multiple designated connector ports. The number of each resource pool to be configured The resource pool number can be sent to each resource pool to be configured through a designated communication channel corresponding to a designated connector port on the resource pool.

对于一个待配置资源池,在接收到为其分配的资源池编号之后,待配置资源池可以根据接收到的资源池编号,为待配置资源池的指定连接器端口配置连接器端口标识,待配置资源池的指定连接器端口的连接器端口标识中包含待配置资源池的资源池编号。可选地,为待配置资源池的指定连接器端口配置连接器端口标识可以包括:将待配置资源池的资源池编号写入到待配置资源池的指定连接器端口的连接器端口标识中的资源池编号字段中。For a resource pool to be configured, after receiving the assigned resource pool number, the resource pool to be configured can configure the connector port identifier for the specified connector port of the resource pool to be configured according to the received resource pool number, to be configured The connector port identifier of the specified connector port of the resource pool includes the resource pool number of the resource pool to be configured. Optionally, configuring the connector port identifier for the designated connector port of the resource pool to be configured may include: writing the resource pool number of the resource pool to be configured into the connector port identifier of the designated connector port of the resource pool to be configured Resource Pool ID field.

需要说明的是,由于连接器端口标识可以用于标识不同的连接器端口,而连接器端口与连接器具有对应关系,故连接器端口标识也可以称作连接器标识,对于CDFP,其连接器端口标识可以称为CDFP端口ID或者CDFP ID。It should be noted that since the connector port identification can be used to identify different connector ports, and the connector port has a corresponding relationship with the connector, the connector port identification can also be called the connector identification. For CDFP, its connector The port identifier may be called a CDFP port ID or a CDFP ID.

通过上述步骤,通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,其中,指定连接器端口为输入输出资源池与指定类型的资源池之间进行信号传输所使用的信号连接器端口;在识别到指定类型的一组待配置资源池的情况下,为每个待配置资源池分配唯一的资源池编号;将每个待配置资源池的资源池编号分别发送给每个待配置资源池,以为每个待配置资源池的指定连接器端口配置连接器端口标识,其中,待配置资源池的指定连接器端口的连接器端口标识包含待配置资源池的资源池编号,解决了相关技术中存在由于无法区分物理结构相同的资源池导致的数据指令发送的准确性低的问题,提高了数据指令发送的准确性。Through the above steps, scan the specified communication channel where the specified connector port on the input and output resource pool is located to identify the specified type of resource pool mounted on the input and output resource pool, where the specified connector port is the input and output resource pool The signal connector port used for signal transmission between resource pools of a specified type; when a group of resource pools to be configured of a specified type is identified, a unique resource pool number is assigned to each resource pool to be configured; each The resource pool numbers of the resource pools to be configured are sent to each resource pool to be configured respectively, so as to configure the connector port identification for the designated connector port of each resource pool to be configured, wherein, the connection of the designated connector port of the resource pool to be configured The device port identifier includes the resource pool number of the resource pool to be configured, which solves the problem of low accuracy in sending data instructions in the related art due to the inability to distinguish resource pools with the same physical structure, and improves the accuracy of sending data instructions.

在一个示范性实施例中,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,包括:In an exemplary embodiment, the specified communication channel where the specified connector port on the input and output resource pool is scanned is scanned to identify a specified type of resource pool mounted on the input and output resource pool, including:

S11,在输入输出资源池上电的情况下,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池。S11. When the input and output resource pool is powered on, scan the specified communication channel where the specified connector port on the input and output resource pool is located, so as to identify the specified type of resource pool mounted on the input and output resource pool.

对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描可以是在任意允许的时机。在本实施例中,在输入输出资源池上电的情况下,可以立即对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,由于在系统上电初始便立刻进行ID识别,不会占用系统启动时间。如果输入输出资源池上挂载的指定类型的资源池的数量有多个,在输入输出资源池上电之后,通过识别挂载到输入输出资源池上的指定类型的资源池并为指定类型的资源池重新配置资源池编号,可以避免资源池编号相同带来的冲突。The scanning of the specified communication channel where the specified connector port on the input and output resource pool is located may be at any allowed time. In this embodiment, when the input and output resource pool is powered on, the specified communication channel where the specified connector port on the input and output resource pool is located can be scanned immediately to identify resources of a specified type mounted on the input and output resource pool Since the ID identification is performed immediately when the system is powered on, it will not take up the system startup time. If there are multiple resource pools of the specified type mounted on the input and output resource pools, after the input and output resource pools are powered on, by identifying the resource pools of the specified type mounted on the input and output resource pools and resetting the specified type of resource pools Configuring resource pool numbers can avoid conflicts caused by the same resource pool numbers.

通过本实施例,在系统上电初始便立刻进行ID识别,不会占用系统启动时间,提高了系统启动的效率。Through this embodiment, ID identification is performed immediately when the system is powered on, which does not occupy system startup time and improves system startup efficiency.

在一个示范性实施例中,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,包括:In an exemplary embodiment, the specified communication channel where the specified connector port on the input and output resource pool is scanned is scanned to identify a specified type of resource pool mounted on the input and output resource pool, including:

S21,通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,识别出对应的地址为指定地址的一组候选连接器端口标识;S21, by scanning the specified communication channel where the specified connector port on the input/output resource pool is located, identifying a group of candidate connector port identifiers whose corresponding address is the specified address;

S22,将一组候选连接器端口标识中满足预设标识条件的连接器端口标识所对应的资源池,确定为一组待配置资源池。S22. Determine the resource pools corresponding to the connector port identifiers satisfying the preset identification conditions in a group of candidate connector port identifiers as a group of resource pools to be configured.

在本实施例中,挂载到输入输出资源池上的指定类型的资源池的指定连接器端口所对应的地址可以均为指定地址,其可以是指定连接器上附带一相同类型的硬件的地址。为了简化对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描的过程,可以识别出对应的地址为指定地址的连接器端口标识,从而得到一组候选连接器端口标识。In this embodiment, the addresses corresponding to the designated connector ports of the designated type of resource pools mounted on the input and output resource pools may all be designated addresses, which may be addresses of hardware of the same type attached to the designated connector. In order to simplify the process of scanning the specified communication channel where the specified connector port on the input and output resource pools is located, the corresponding address can be identified as the connector port identifier of the specified address, so as to obtain a group of candidate connector port identifiers.

对于每个候选连接器端口标识,可以通过识别候选连接器端口标识的资源池标识,确定该候选连接器端口对应的资源池的类型,候选连接器端口标识的资源池标识可以是从候选连接器端口标识的资源池标识字段中提取出的,如果一个候选连接器端口标识的资源池标识为指定资源池标识(指定资源池标识用于标识对应的资源池为指定类型的资源池),则该候选连接器端口标识对应的资源池为指定类型的资源池,可以将一组候选连接器端口标识中,包括资源池标识为指定资源池标识的每个候选连接器端口标识所对应的资源池,确定为一个待配置资源池,从而得到一组待配置资源池。For each candidate connector port ID, the type of resource pool corresponding to the candidate connector port can be determined by identifying the resource pool ID of the candidate connector port ID, and the resource pool ID of the candidate connector port ID can be obtained from the candidate connector port ID. If the resource pool ID of a candidate connector port ID is the specified resource pool ID (the specified resource pool ID is used to identify the corresponding resource pool as a specified type of resource pool), then the The resource pool corresponding to the candidate connector port ID is a resource pool of a specified type, and the resource pool corresponding to each candidate connector port ID in a group of candidate connector port IDs, including the resource pool ID as the specified resource pool ID, can be It is determined as a resource pool to be configured, so as to obtain a group of resource pools to be configured.

通过本实施例,通过地址结合资源池标识的方式识别挂载到同一输入输出资源池的指定类型的资源池,可以提高资源池识别的准确性。Through this embodiment, the resource pool of a specified type mounted to the same input and output resource pool is identified by combining the address with the resource pool identifier, which can improve the accuracy of resource pool identification.

在一个示范性实施例中,通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,识别出对应的地址为指定地址的一组候选连接器端口标识,包括:In an exemplary embodiment, by scanning the specified communication channel where the specified connector port on the input and output resource pool is located, a group of candidate connector port identifiers whose corresponding addresses are specified addresses are identified, including:

S31,通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,识别出对应的芯片地址为指定芯片地址的一组候选连接器端口标识。S31. Identify a group of candidate connector port identifiers whose corresponding chip address is the specified chip address by scanning the designated communication channel where the designated connector port on the input/output resource pool is located.

每个指定连接器端口与一个指定连接器对应,在每个指定连接器上,附带了指定芯片,指定芯片可以用于存储和配置对应的连接器端口标识,其类型可以是PCA9544芯片(一种I2C信号转IO信号的小芯片,可以对8个IO信号进行识别并将其转换为I2C协议对外传输),也可以是其他类型的芯片,指定芯片的芯片地址可以是相同的。在对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描的过程中,通过识别与扫描到的连接器端口对应的芯片地址,将对应的芯片地址为指定芯片地址的连接器端口标识,确定为候选连接器端口标识,从而得到一组候选连接器端口标识。Each designated connector port corresponds to a designated connector. On each designated connector, a designated chip is attached. The designated chip can be used to store and configure the corresponding connector port identification. Its type can be a PCA9544 chip (a The small chip that converts I2C signal to IO signal can identify 8 IO signals and convert them to I2C protocol for external transmission), or it can be other types of chips, and the chip address of the specified chip can be the same. In the process of scanning the specified communication channel where the specified connector port on the input and output resource pool is located, by identifying the chip address corresponding to the scanned connector port, the corresponding chip address is identified as the connector port of the specified chip address , determined as candidate connector port IDs, so as to obtain a group of candidate connector port IDs.

例如,如图4所示,每个CDFP连接器均附带一个PCA9554芯片,用于ID的写入和存储。将SSD Box的CDFP附带的PCA9554芯片的地址均为0100010,通过IO Box BMC扫描其所有CDFP所在的I2C通道,识别出所有地址为0100010的PCA9554,识别出的PCA9554包括SSD Box的CDFP附带的PCA9554。For example, as shown in Figure 4, each CDFP connector comes with a PCA9554 chip for writing and storing IDs. The addresses of the PCA9554 chips attached to the CDFP of the SSD Box are all 0100010, and the I2C channels where all CDFPs are located are scanned by the IO Box BMC, and all PCA9554s with the address of 0100010 are identified, and the recognized PCA9554 includes the PCA9554 attached to the CDFP of the SSD Box.

需要说明的是,当不同类型的资源池的指定芯片的芯片地址为相同的地址时,可能会发生数据读取冲突,因此不同资源池的指定芯片的芯片地址需要设置为不同的地址,以保证任意线缆端接时的ID有效读取。例如,IO Box与SSD Box的PCA9548地址应当设定为不同值,可以将IO Box的PCA9548地址设置为0100001,将所有SSD Box的PCA9548地址设置为0100010。It should be noted that when the chip addresses of the specified chips of different types of resource pools are the same address, data read conflicts may occur, so the chip addresses of the specified chips of different resource pools need to be set to different addresses to ensure Effective reading of ID when any cable is terminated. For example, the PCA9548 addresses of IO Box and SSD Box should be set to different values. You can set the PCA9548 address of IO Box to 0100001, and set the PCA9548 address of all SSD Boxes to 0100010.

通过本实施例,通过将挂载到同一输入输出资源池上的指定类型的资源池的指定连接器上所附带的指定芯片的芯片地址设置为相同地址,可以提高资源池识别的效率。Through this embodiment, by setting the chip address of the specified chip attached to the specified connector of the specified type of resource pool mounted on the same input and output resource pool as the same address, the efficiency of resource pool identification can be improved.

在一个示范性实施例中,将一组候选连接器端口标识中满足预设标识条件的连接器端口标识所对应的资源池,确定为一组待配置资源池,包括:In an exemplary embodiment, the resource pools corresponding to the connector port identifiers satisfying the preset identification conditions in a group of candidate connector port identifiers are determined as a group of resource pools to be configured, including:

S41,选取一组候选连接器端口标识中,包含的资源池标识为指定资源池标识、且包含的连接器编号为指定连接器端口编号的连接器端口标识,得到一组目标连接器端口标识,其中,指定连接器端口编号为指定类型的资源池包含的第N个指定连接器端口的连接器端口编号,N为大于或者等于1的正整数;S41, selecting a group of candidate connector port IDs, the resource pool ID included is the specified resource pool ID, and the connector ID included is the connector port ID of the specified connector port ID, to obtain a set of target connector port IDs, Wherein, the specified connector port number is the connector port number of the Nth specified connector port included in the resource pool of the specified type, and N is a positive integer greater than or equal to 1;

S42,将每个目标连接器端口标识所对应的资源池分别确定为一个待配置资源池,得到一组待配置资源池。S42. Determine the resource pool corresponding to each target connector port identifier as a resource pool to be configured, and obtain a group of resource pools to be configured.

指定类型的资源池的指定连接器端口的连接器端口标识可以包含多种信息,可以包括但不限于以下至少之一:资源池编号,资源池标识,连接器编号,其中,资源池标识可以用于表示资源池的类型,指定类型的资源池的资源池标识为指定资源池标识,连接器编号为指定连接器在所属的指定类型的资源池中的编号。一个指定类型的资源池可以具有多个指定连接器端口,其可以通过多个指定连接器端口中的至少部分指定连接器端口向输入输出资源池发送连接器端口,因此,一组候选连接器端口标识中可能包含与一个指定类型的资源池对应的多个候选连接器端口标识。为了提高资源池识别的便捷性,可以仅识别指定类型的资源池的第N个指定连接器端口的连接器端口标识(N为大于或者等于1的正整数),即,选取一组候选连接器端口标识中,资源池标识为指定资源池标识、连接器编号为第N个指定连接器端口的连接器端口编号(即,指定连接器端口编号)的连接器端口标识,得到一组目标连接器标识。The connector port identifier of a specified connector port of a resource pool of a specified type may contain a variety of information, including but not limited to at least one of the following: resource pool ID, resource pool ID, and connector ID, where the resource pool ID can be used In order to represent the type of resource pool, the resource pool identifier of the resource pool of the specified type is the specified resource pool identifier, and the connector number is the number of the specified connector in the resource pool of the specified type to which it belongs. A resource pool of a specified type may have multiple specified connector ports, and it may send a connector port to an input/output resource pool through at least some of the multiple specified connector ports. Therefore, a set of candidate connector ports The identifier may contain multiple candidate connector port identifiers corresponding to a specified type of resource pool. In order to improve the convenience of resource pool identification, you can only identify the connector port identifier of the Nth specified connector port of the specified type of resource pool (N is a positive integer greater than or equal to 1), that is, select a group of candidate connectors In the port ID, the resource pool ID is the specified resource pool ID, and the connector number is the connector port ID of the Nth specified connector port (that is, the specified connector port number), and a set of target connectors is obtained logo.

由于每个目标连接器标识对应的一个指定类型的资源池的第N个指定连接器端口,因此,将每个目标连接器端口标识所对应的资源池分别确定为一个待配置资源池,得到一组待配置资源池。Since each target connector ID corresponds to the Nth specified connector port of a specified type of resource pool, the resource pool corresponding to each target connector port ID is determined as a resource pool to be configured, and a Group resource pool to be configured.

例如,PCA9554有8路IO输入,针对SSD Box的实际需求情况,可以给出SSD BoxPCA9554其bit7至bit0的具体定义(即,SSD Box的CDFP连接器的CDFP端口ID):不同于IOBox,在整个系统架构内可能存在多个SSD Box,因此,PCA9554的bit7/6用于相同SSD Box的区分,即,SSD Box Num(SSD Box Number,即,SSD资源池编号,默认值可以为00)。由于在整个系统架构内不仅存在SSD Box,还存在GPU Box、内存Box等不同Box,因此,这里将PCA9554的bit5/4定义为SSD Box ID(SSD资源池标识),并将PCA9554的bit3至bit0定义为CDFP Num(CDFP Number)。For example, PCA9554 has 8 IO inputs. According to the actual demand of SSD Box, the specific definition of bit7 to bit0 of SSD BoxPCA9554 (that is, the CDFP port ID of CDFP connector of SSD Box): different from IOBox, in the whole There may be multiple SSD Boxes in the system architecture. Therefore, bit7/6 of PCA9554 is used to distinguish the same SSD Box, that is, SSD Box Num (SSD Box Number, that is, the SSD resource pool number, and the default value can be 00). Since there are not only SSD Boxes in the entire system architecture, but also different boxes such as GPU Boxes and memory Boxes, here, bit5/4 of PCA9554 is defined as SSD Box ID (SSD resource pool identification), and bit3 to bit0 of PCA9554 are defined as Defined as CDFP Num (CDFP Number).

当ID识别进程开启后,IO Box仅需从40个CDFP端口中识别出SSD Box CDFP0 ID的bit5至bit0(010000),即可确认当前系统中存在一个SSD Box,无需做额外的数据处理。这里,也可以识别出SSD Box CDFP1 ID的bit5至bit0、SSD Box CDFP2 ID的bit5至bit0、SSDBox CDFP3 ID的bit5至bit0、SSD Box CDFP4 ID的bit5至bit0,只要识别某一特定的CDFPID的bit5至bit0即可。When the ID identification process is started, the IO Box only needs to identify bit5 to bit0 (010000) of the SSD Box CDFP0 ID from 40 CDFP ports to confirm that there is an SSD Box in the current system without additional data processing. Here, bit5 to bit0 of the SSD Box CDFP1 ID, bit5 to bit0 of the SSD Box CDFP2 ID, bit5 to bit0 of the SSDBox CDFP3 ID, and bit5 to bit0 of the SSD Box CDFP4 ID can also be identified, as long as bit5 of a specific CDFPID is identified It can be set to bit0.

通过本实施例,通过从候选连接器端口标识中选取包含指定资源池标识和指定连接器编号的连接器端口标识,以识别指定类型的资源池,提高了资源池识别的便捷性。Through this embodiment, the resource pool of a specified type is identified by selecting a connector port identifier including a specified resource pool identifier and a specified connector number from the candidate connector port identifiers, which improves the convenience of resource pool identification.

在一个示范性实施例中,在对指定类型的资源池的指定连接器端口的连接器端口标识进行配置时,仅允许指定类型的资源池上的第N个指定连接器端口与输入输出资源池上的指定连接器端口在指定通信通道上进行通信。In an exemplary embodiment, when configuring the connector port identification of the specified connector port of the specified type of resource pool, only the Nth specified connector port on the specified type of resource pool is allowed to be connected with the input and output resource pool. Specifies that the connector port communicates on the specified communication channel.

在本实施例中,只要指定类型的资源池上存在一个指定连接器端口与输入输出资源池上的指定连接器端口在指定通信通道上进行通信,即可实现对指定类型的资源池的识别,为了减少指定类型的资源池与输入输出资源池进行通信的过程中的数据量,在对指定类型的资源池的指定连接器端口的连接器端口标识进行配置时,可以仅允许指定类型的资源池上的第N个指定连接器端口与输入输出资源池上的指定连接器端口在指定通信通道上进行通信。In this embodiment, as long as there is a specified connector port on the specified type of resource pool to communicate with the specified connector port on the input and output resource pool on the specified communication channel, the identification of the specified type of resource pool can be realized. In order to reduce The amount of data in the process of communication between a resource pool of a specified type and an input and output resource pool. When configuring the connector port identifier of a specified connector port of a resource pool of a specified type, only the first port on the resource pool of the specified type is allowed. The N designated connector ports communicate with the designated connector ports on the input and output resource pools on the designated communication channel.

例如,为了减少IO Box BMC的任务量,仅允许SSD Box上的CDFP0与在IO Box对应的CDFP进行I2C通信。For example, in order to reduce the workload of the IO Box BMC, only CDFP0 on the SSD Box is allowed to perform I2C communication with the corresponding CDFP on the IO Box.

通过本实施例,通过仅允许指定类型的资源池上某一指定连接器端口与输入输出资源池上的指定连接器端口进行通信,可以减少资源池通信的任务量。Through this embodiment, only a specified connector port on a resource pool of a specified type is allowed to communicate with a specified connector port on an input and output resource pool, thereby reducing the amount of resource pool communication tasks.

在一个示范性实施例中,指定类型的资源池的指定连接器端口的连接器端口标识的位数可以是固定的,例如,8位,可以预设指定各个标识位(一个字段可以对应于一个或多个标识位)所允许记录的信息类型。在指定类型的资源池的指定连接器端口的连接器端口标识中,用于记录资源池编号的资源池编号位、用于记录资源池标识的资源池标识位以及用于记录连接器端口编号的连接器端口编号位可以预先指定。In an exemplary embodiment, the number of bits of the connector port identification of the specified connector port of the specified type of resource pool may be fixed, for example, 8 bits, and each identification bit may be preset (one field may correspond to one or multiple identification bits) the type of information allowed to be recorded. In the connector port ID of a specified connector port of a resource pool of a specified type, the resource pool number bit used to record the resource pool number, the resource pool ID bit used to record the resource pool ID, and the bit used to record the connector port number Connector port number bits can be pre-assigned.

例如,SSD Box的 CDFP端口ID(PCA9554 bit7至bit0)定义方式如表1所示:For example, the CDFP port ID (PCA9554 bit7 to bit0) of SSD Box is defined as shown in Table 1:

表1Table 1

Figure SMS_1
Figure SMS_1

其中,PCA9554的bit3至bit0为CDFP Number,是连接器端口编号位,用于记录连接器端口编号,bit5/4为SSD Box ID,是资源池标识位,用于记录资源池标识,可以表示最多4种不同资源池类型(即,通过对PCA9554 bit5/4的修改,整系统内最终可识别4种不同Device Box),bit7/6为SSD Box Number或SSD Box Code,是资源池编号位,用于记录资源池编号,SSD Box Num有四种组合方式,可以定义4个SSD Box(即,通过对PCA9554 bit7/6的修改,整系统内最终可对4个相同的Device Box进行有效识别和区分)。所有SSD PCA9554的地址均为:0100010。Among them, bit3 to bit0 of PCA9554 are CDFP Number, which is the connector port number bit, used to record the connector port number, bit5/4 is SSD Box ID, which is the resource pool identification bit, used to record the resource pool ID, which can represent the maximum 4 different resource pool types (that is, through the modification of PCA9554 bit5/4, the whole system can finally identify 4 different Device Boxes), bit7/6 is SSD Box Number or SSD Box Code, which is the resource pool number bit, use For recording resource pool numbers, SSD Box Num has four combinations, which can define 4 SSD Boxes (that is, by modifying PCA9554 bit7/6, the entire system can finally effectively identify and distinguish 4 identical Device Boxes ). The address of all SSD PCA9554 is: 0100010.

SSD Box有6个CDFP端口,基于CDFP的物理顺序对CDFP Number(PCA9554 bit3至bit0)的定义方式可以如表2所示。The SSD Box has 6 CDFP ports, and the definition of CDFP Number (PCA9554 bit3 to bit0) based on the physical sequence of CDFP can be shown in Table 2.

表2Table 2

Figure SMS_2
Figure SMS_2

综上,对于不同的SSD Box编号(SSD Box Node),所有SSD Box的CDFP端口ID定义方式如表3所示。To sum up, for different SSD Box numbers (SSD Box Node), the CDFP port ID definitions of all SSD Boxes are shown in Table 3.

表3table 3

Figure SMS_3
Figure SMS_3

根据上述SSD Box的CDFP端口ID定义方式,可以使得每个SSD Box的CDFP端口具有其独立的ID,通过对CDFP端口ID进行解析,可以确定该CDFP端口所在的SSD Box以及在SSDBox内的编号。According to the definition method of the CDFP port ID of the SSD Box above, the CDFP port of each SSD Box can have its own independent ID. By analyzing the CDFP port ID, the SSD Box where the CDFP port is located and the number in the SSDBox can be determined.

通过本实施例,通过预先指定连接器端口标识的各个标识位,可以便于对资源池进行识别,提高了资源池识别的便捷性。Through this embodiment, by specifying each identification bit of the connector port identification in advance, the resource pool can be easily identified, and the convenience of resource pool identification is improved.

在一个示范性实施例中,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,包括:In an exemplary embodiment, the specified communication channel where the specified connector port on the input and output resource pool is scanned is scanned to identify a specified type of resource pool mounted on the input and output resource pool, including:

S51,通过输入输出资源池中的基板控制管理器对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池。S51. Scan the specified communication channel where the specified connector port on the input/output resource pool is located through the baseboard control manager in the input/output resource pool, so as to identify the specified type of resource pool mounted on the input/output resource pool.

在本实施例中,可以通过输入输出资源池中的基板控制管理器(BMC)对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,识别挂载到输入输出资源池上的指定类型的资源池与前述类似,在此不做赘述。In this embodiment, the specified communication channel where the specified connector port on the input and output resource pool is located can be scanned by the baseboard control manager (BMC) in the input and output resource pool to identify the specified communication channel mounted on the input and output resource pool. The type of resource pool, identifying the specified type of resource pool mounted on the input and output resource pools is similar to the above, and will not be repeated here.

例如,IO Box中的BMC作为ID识别进程的任务发起者。在ID识别结构上,使IO BoxBMC作为Host,主动扫描下属端口,Device Box的BMC I2C作为Slave端接收指令后对自身CDFP ID做出修改,实现了对原始ID的改配。For example, the BMC in the IO Box acts as the task initiator of the ID recognition process. In the ID identification structure, the IO BoxBMC is used as the Host to actively scan the subordinate ports, and the BMC I2C of the Device Box acts as the Slave terminal to modify its own CDFP ID after receiving instructions, realizing the reconfiguration of the original ID.

通过本实施例,通过输入输出资源池中的基板控制管理器识别挂载到输入输出资源池上的指定类型的资源池,可以提高资源池信息处理的效率。Through this embodiment, the efficiency of resource pool information processing can be improved by identifying the specified type of resource pool mounted on the input and output resource pool by the substrate control manager in the input and output resource pool.

在一个示范性实施例中,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,包括:In an exemplary embodiment, the specified communication channel where the specified connector port on the input and output resource pool is scanned is scanned to identify a specified type of resource pool mounted on the input and output resource pool, including:

S61,对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池。S61. Scan the I2C channel where the CDFP port on the input/output resource pool is located, so as to identify a specified type of resource pool mounted on the input/output resource pool.

在本实施例中,输入输出资源池上的指定连接器可以是CDFP,输入输出资源池上的指定连接器端口所在的指定通信通道可以是I2C通道,通过对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,可以识别出挂载到输入输出资源池上的指定类型的资源池。In this embodiment, the specified connector on the input and output resource pool can be CDFP, and the specified communication channel where the specified connector port on the input and output resource pool is located can be an I2C channel, and through the I2C channel where the CDFP port on the input and output resource pool is located Scanning can identify the specified type of resource pools mounted on the input and output resource pools.

例如,每一个CDFP端口均对应一路特定的I2C通道,以确保在安装SSD Box时,无论其插接在哪个IO Box的CDFP端口下、无论是否按顺序插接,均可通过某一路I2C通道被IOBox的BMC有效识别。无论哪个Box的CDFP端口,其均配备一个PCA9554进行ID的配置和存储,此PCA9554挂接于CDFP对应的I2C通道下。For example, each CDFP port corresponds to a specific I2C channel to ensure that when the SSD Box is installed, no matter which CDFP port of the IO Box it is plugged into, no matter whether it is plugged in order or not, it can be accessed through a certain I2C channel. The BMC of IOBox is effectively identified. No matter which CDFP port of the Box is equipped with a PCA9554 for ID configuration and storage, this PCA9554 is connected to the I2C channel corresponding to the CDFP.

通过本实施例,通过对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,可以识别出挂载到输入输出资源池上的指定类型的资源池,可以提高资源池识别的可靠性。Through this embodiment, by scanning the I2C channel where the CDFP port on the input and output resource pool is located, the specified type of resource pool mounted on the input and output resource pool can be identified, and the reliability of resource pool identification can be improved.

在一个示范性实施例中,对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,包括:In an exemplary embodiment, the I2C channel where the CDFP port on the input and output resource pool is located is scanned to identify a specified type of resource pool mounted on the input and output resource pool, including:

S71,对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,以识别挂载到输入输出资源池上的SSD资源池。S71. Scan the I2C channel where the CDFP port on the input and output resource pool is located, so as to identify the SSD resource pool mounted on the input and output resource pool.

在本实施例中,指定类型的资源池可以是SSD资源池,对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,可以识别出的挂载到输入输出资源池上的SSD资源池。In this embodiment, the specified type of resource pool may be an SSD resource pool, and the I2C channel where the CDFP port on the input and output resource pool is located is scanned to identify the SSD resource pool mounted on the input and output resource pool.

例如,当IO Box与SSD Box的CDFP端口互联之后,IO Box的I2C即可通过此CDFP连接器进入SSD Box,进而实现IO Box与SSD Box之间的I2C链路联通。For example, after the CDFP port of the IO Box and the SSD Box are interconnected, the I2C of the IO Box can enter the SSD Box through the CDFP connector, and then realize the I2C link between the IO Box and the SSD Box.

通过本实施例,通过对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,可以识别挂载到输入输出资源池上的SSD资源池,提高了SSD资源池识别的可靠性。Through this embodiment, by scanning the I2C channel where the CDFP port on the input and output resource pool is located, the SSD resource pool mounted on the input and output resource pool can be identified, which improves the reliability of SSD resource pool identification.

在一个示范性实施例中,在识别到指定类型的一组待配置资源池的情况下,为每个待配置资源池分配资源池编号,包括:In an exemplary embodiment, when a group of resource pools to be configured of a specified type is identified, assigning a resource pool number to each resource pool to be configured includes:

S81,在识别到指定类型的多个待配置资源池的情况下,按照对应的指定通信通道的通道顺序,为每个待配置资源池分配资源池编号;S81. When multiple resource pools to be configured of a specified type are identified, assign a resource pool number to each resource pool to be configured according to the channel sequence of the corresponding specified communication channel;

S82,在识别到指定类型的一个待配置资源池的情况下,为一个待配置资源池分配资源池编号。S82. Allocate a resource pool number for a resource pool to be configured when a resource pool to be configured of a specified type is identified.

在本实施例中,如果识别到的指定类型的待配置资源池为多个(即,一组待配置资源池中包含多个待配置资源池),可以按照每个资源池对应的指定通信通道的通道顺序为每个待配置资源池分配资源池编号,这里,每个资源池对应的指定通信通道的通道顺序可以是每个资源池的指定连接器通过指定通信通道与输入输出资源池建立通信连接的顺序,或者,指定通信通道的通道编号的顺序。In this embodiment, if there are multiple identified resource pools of the specified type to be configured (that is, a group of resource pools to be configured contains multiple resource pools to be configured), the specified communication channel corresponding to each resource pool can be Assign a resource pool number to each resource pool to be configured. Here, the channel sequence of the specified communication channel corresponding to each resource pool can be that the specified connector of each resource pool establishes communication with the input and output resource pools through the specified communication channel. The order of connections, or, the order of channel numbers specifying the communication channels.

如果识别到的指定类型的待配置资源池的数量为一个(一组待配置资源池中包含一个待配置资源池),可以直接为待配置资源池分配资源池编号,分配的资源池编号可以是一个指定编号,例如,最小编号、最大编号等。If the number of identified resource pools of the specified type to be configured is one (a set of resource pools to be configured contains one resource pool to be configured), you can directly assign a resource pool number to the resource pool to be configured, and the assigned resource pool number can be A specified number, for example, minimum number, maximum number, etc.

例如,当IO Box识别到多个SSD Box的CDFP0后,根据CDFP0对应的I2C Channel(通道)的先后顺序定义SSD Box的先后顺序,如果SSD Box的CDFP0对应的I2C Channel为第一个通道,则此SSD Box为第一个节点,相应地,I2C通道顺序靠后,则对应的SSD Box的顺序也靠后。For example, when the IO Box recognizes CDFP0 of multiple SSD Boxes, the sequence of the SSD Boxes is defined according to the sequence of the I2C Channels (channels) corresponding to CDFP0. If the I2C Channel corresponding to CDFP0 of the SSD Box is the first channel, then This SSD Box is the first node. Correspondingly, the order of the I2C channel is later, and the order of the corresponding SSD Box is also later.

通过本实施例,通过对应的指定通信通道顺序为待配置资源池分配资源池编号,可以为相同类型的资源池分配不同的资源池编号,实现对资源池的有效区分,提高资源池信息处理的准确性。Through this embodiment, resource pool numbers are assigned to resource pools to be configured through the corresponding designated communication channel sequence, and different resource pool numbers can be assigned to resource pools of the same type, so as to effectively distinguish resource pools and improve the efficiency of resource pool information processing. accuracy.

在一个示范性实施例中,上述方法还包括:In an exemplary embodiment, the above method also includes:

S91,在识别到指定类型的待配置资源池的数量大于允许分配的资源池编号的最大数量的情况下,向指定设备发送异常告警信息。S91, when it is identified that the number of resource pools of the specified type to be configured is greater than the maximum number of resource pool numbers allowed to be allocated, send abnormality warning information to the specified device.

在指定类型的资源池的指定连接器端口的连接器端口标识中,用于记录资源池编号的资源池编号位的位数为固定值,则允许分配的资源池编号的数量有限,在识别到的指定类型的待配置资源池的数量大于允许分配的资源池编号的最大数量的情况下,无法为所有待配置资源池分配资源池编号,例如,SSD Box的CDFP端口ID中,bit7至bit6表示SSD BoxNumber,只能为4个SSD Box进行编号,如果识别到SSD Box的数量大于4,则无法为所有的SSD Box分配SSD Box Number,可以向指定设备发送异常告警信息,以指示输入输出资源池上挂载的指定类型的资源池的数量超过允许分配的资源池标识的最大数量,这里,指定设备可以是输入输出资源池所在的设备,也可以是其他设备。In the connector port identifier of the specified connector port of the specified type of resource pool, the number of resource pool number digits used to record the resource pool number is a fixed value, and the number of resource pool numbers allowed to be allocated is limited. If the number of resource pools of the specified type to be configured is greater than the maximum number of resource pool numbers allowed to be allocated, resource pool numbers cannot be allocated to all resource pools to be configured. For example, in the CDFP port ID of the SSD Box, bit7 to bit6 indicate SSD BoxNumber can only number 4 SSD Boxes. If the number of SSD Boxes identified is greater than 4, SSD Box Numbers cannot be assigned to all SSD Boxes. An abnormal alarm message can be sent to the specified device to indicate that the input and output resource pool is on The number of mounted resource pools of a specified type exceeds the maximum number of allocated resource pool identifiers. Here, the specified device can be the device where the input and output resource pools are located, or other devices.

通过本实施例,通过在待配置资源池的数量大于允许分配的资源池编号的最大数量时,向指定设备发送异常告警信息,可以避免资源池编号分配冲突,提高资源池分配的可靠性。Through this embodiment, when the number of resource pools to be configured is greater than the maximum number of resource pool numbers allowed to be allocated, abnormal alarm information is sent to the designated device, which can avoid resource pool number allocation conflicts and improve the reliability of resource pool allocation.

在一个示范性实施例中,在将每个待配置资源池的资源池编号分别发送给每个待配置资源池之后,上述方法还包括:In an exemplary embodiment, after sending the resource pool number of each resource pool to be configured to each resource pool to be configured, the above method further includes:

S101,响应于接收到的资源池编号,通过待配置资源池的基板控制管理器将接收到的资源池编号配置到与待配置资源池的指定连接器端口对应的指定连接器上附带的指定芯片。S101, in response to the received resource pool number, configure the received resource pool number to the designated chip attached to the designated connector corresponding to the designated connector port of the resource pool to be configured through the substrate control manager of the resource pool to be configured .

对于待配置资源池,待配置资源池的指定连接器上均会附带指定芯片,指定芯片用于存储对应的指定连接器的连接器标识,指定芯片的类型与前述实施例中类似,在此不做赘述。待配置资源池的基板控制管理器在接收到资源池编号之后,可以将接收到的资源池编号配置到与待配置资源池的指定连接器端口对应的指定连接器上附带的指定芯片中,则每个指定连接器端口可以具有不同的连接器端口标识。For the resource pool to be configured, the designated connector of the resource pool to be configured will be attached with a designated chip, and the designated chip is used to store the connector identifier of the corresponding designated connector. Do repeat. After the baseboard control manager of the resource pool to be configured receives the resource pool number, it can configure the received resource pool number into the specified chip attached to the specified connector corresponding to the specified connector port of the resource pool to be configured, then Each designated connector port can have a different connector port ID.

通过本实施例,通过将接收到的资源池编号配置到指定连接器上附带的指定芯片,可以使每个连接器端口具有不同的连接器端口标识,提高了资源池之间通信的可靠性。Through this embodiment, by allocating the received resource pool number to the designated chip attached to the designated connector, each connector port can have a different connector port identifier, which improves the reliability of communication between resource pools.

在一个示范性实施例中,响应于接收到的资源池编号,通过待配置资源池的基板控制管理器将接收到的资源池编号配置到与待配置资源池的指定连接器端口对应的指定连接器上所附带的指定芯片,包括:In an exemplary embodiment, in response to the received resource pool number, the baseboard control manager of the resource pool to be configured configures the received resource pool number to a designated connection corresponding to a designated connector port of the resource pool to be configured The specified chip attached to the device, including:

S111,响应于接收到的资源池编号,通过待配置资源池的基板控制管理器将接收到的资源池编号配置到待配置资源池的指定连接器上所附带的指定芯片的资源池编号输入端。S111, in response to the received resource pool number, configure the received resource pool number to the resource pool number input terminal of the specified chip attached to the specified connector of the resource pool to be configured through the substrate control manager of the resource pool to be configured .

在本实施例中,指定芯片具有M个输入端,每个输入端分别用于输入指定连接器端口的连接器端口标识的一个标识位,其中,M个输入端中,与指定连接器端口的连接器端口标识中的资源池编号位对应的输入端为资源池编号输入端,例如,PCA9554芯片具有8路IO输入,其中的第7和8个输入端(bit7/6)为资源池编号位(SSD Box Num)。In this embodiment, the specified chip has M input terminals, and each input terminal is used to input an identification bit of the connector port identification of the specified connector port, wherein, among the M input terminals, the The input terminal corresponding to the resource pool number bit in the connector port identification is the resource pool number input terminal. For example, the PCA9554 chip has 8 IO inputs, and the 7th and 8th input terminals (bit7/6) are the resource pool number bits (SSD Box Num).

待配置资源池接收到资源池编号之后,可以通过待配置资源池的基板控制管理器将资源池编号配置到待配置资源池的指定连接器上所附带的指定芯片的资源池编号输入端,实现对待配置资源池的指定连接器端口的连接器端口标识的配置。这里,在接收到资源池编号之前,指定芯片所记录的连接器端口标识中,除了资源池编号为默认值以外,其他的均已完成配置,因此,在接收到资源池编号,只需将资源池编号配置到资源池编号输入端,即可完成连接器端口标识的配置。After the resource pool to be configured receives the resource pool number, the resource pool number can be configured to the resource pool number input terminal of the specified chip attached to the specified connector of the resource pool to be configured through the substrate control manager of the resource pool to be configured to realize Configuration of the connector port ID for the specified connector port of the resource pool to be configured. Here, before receiving the resource pool number, the connector port ID recorded by the specified chip, except the resource pool number is the default value, all other configurations have been completed. Therefore, after receiving the resource pool number, you only need to set the resource Configure the pool number to the input port of the resource pool number to complete the configuration of the connector port identification.

例如,当SSD Box获知自身节点顺序后,通过自身的BMC进行GPIO(GeneralPurpose Input/Output,通用输入/输出口)的配置。依据IO Box BMC给出的节点号0、1、2、3分别将GPIO M1\M0(GPIOM1\M0分别表示一个资源池编号输入端)配置为:00、01、10、11,并发送SSD Box的PCA9554的bit7/6,则若干个相同的SSD Box具有自身特定的ID编码。For example, after the SSD Box knows the order of its own nodes, it configures the GPIO (General Purpose Input/Output) through its own BMC. According to the node numbers 0, 1, 2, and 3 given by the IO Box BMC, configure GPIO M1\M0 (GPIOM1\M0 respectively represent a resource pool number input terminal) as: 00, 01, 10, and 11, and send SSD Box PCA9554 bit7/6, several identical SSD Boxes have their own specific ID codes.

通过本实施例,通过将接收到的资源池编号配合到指定连接器上所附带的指定芯片的资源池编号输入端,使得指定连接器端口具有不同的连接器端口标识,提高了连接器端口配置的便捷性。Through this embodiment, by matching the received resource pool number to the resource pool number input terminal of the specified chip attached to the specified connector, the specified connector port has a different connector port identification, which improves the connector port configuration. convenience.

在一个示范性实施例中,在输入输出资源池上通过信号拓展芯片将输入输出资源池中的基板控制管理器的指定通信通道分别拓展为第一数量的指定通信通道,得到多路指定通信通道,每路指定通信通道分别与一个指定连接器端口对应。In an exemplary embodiment, the designated communication channels of the substrate control manager in the input and output resource pool are respectively expanded to a first number of designated communication channels through a signal expansion chip on the input and output resource pool to obtain multiple designated communication channels, Each designated communication channel corresponds to a designated connector port.

在融合架构内,输入输出资源池是输入输出资源的管控节点,在计算机系统内输入输出数据的高速传输可以通过PCIe实现,在输入输出资源池内,可以通过信号拓展芯片,例如,PCA9548(一种用于将一路I2C信号拓展为多路I2C信号的芯片,用于对I2C资源的拓展),将输入输出资源池中的基板控制管理器的指定通信通道进行拓展,可以将一路指定通信通道拓展为第一数量的指定通信通道,从而得到多路指定通信通道。In the converged architecture, the input and output resource pool is the management and control node of input and output resources. The high-speed transmission of input and output data in the computer system can be realized through PCIe. In the input and output resource pool, the chip can be expanded through signals, for example, PCA9548 (a A chip used to expand one I2C signal into multiple I2C signals, used to expand I2C resources), expand the designated communication channel of the substrate control manager in the input and output resource pool, and expand one designated communication channel to The first number of designated communication channels, thereby obtaining multiple designated communication channels.

例如,IO Box中的BMC作为ID识别进程的任务发起者,可以通过PCA9548将BMC的1路I2C Channel拓展为5路,分别连接至不同的CDFP端口。每一个CDFP端口均对应一路特定的I2C通道,在进行SSD Box的安装时,SSD Box的CDFP端口按照任意顺序,插接在IO Box的任意CDFP端口下,均可通过某一路I2C通道被IO Box的BMC有效识别。For example, as the task initiator of the ID identification process, the BMC in the IO Box can expand the 1-way I2C Channel of the BMC to 5-way through the PCA9548, and connect them to different CDFP ports. Each CDFP port corresponds to a specific I2C channel. When installing the SSD Box, the CDFP ports of the SSD Box are plugged into any CDFP port of the IO Box in any order, and can be connected to the IO Box through a certain I2C channel. effective identification of the BMC.

通过本实施例,通过信号拓展芯片将输入输出资源池中的基板控制管理器的指定通信通道进行拓展,可以得到多路指定通信通道,提高了资源池之间通信的效率。Through this embodiment, the specified communication channels of the substrate control manager in the input and output resource pools are expanded through the signal expansion chip, and multiple specified communication channels can be obtained, which improves the efficiency of communication between resource pools.

在一个示范性实施例中,在输入输出资源池上包含第二数量的输入输出芯片,每个输入输出芯片具有第三数量的指定连接器端口。In an exemplary embodiment, the I/O resource pool includes a second number of I/O chips, and each I/O chip has a third number of designated connector ports.

在输入输出资源池上,可以通过第二数量的输入输出芯片对输入输出资源进行拓展,得到输入输出资源池上指定连接器端口,这里,输入输出资源池上的输入输出芯片可以是PCIe Switch芯片,每个输入输出芯片可以包含第三数量的指定连接器端口,则输入输出资源池上具有的指定连接器端口为第二数量和第三数量的乘积。On the input and output resource pool, the input and output resources can be expanded by the second number of input and output chips to obtain the specified connector port on the input and output resource pool. Here, the input and output chips on the input and output resource pool can be PCIe Switch chips, each The I/O chip may include a third number of designated connector ports, and the number of designated connector ports on the I/O resource pool is the product of the second number and the third number.

例如,通过输入输出资源池内包含的8个PCIe Switch芯片将来自多个不同CPU的PCIe资源进行拓展、组网、分配,IO Box内包含8颗PCIe Switch芯片,每颗芯片都具有5个CDFP端口,整个IO Box具有对外CDFP端口,每个CDFP接口包含一组PCIe 5.0×16(有16个可用的PCIe5.0通道)的高速IO信号。For example, through the eight PCIe Switch chips contained in the input and output resource pool, the PCIe resources from multiple different CPUs are expanded, networked, and distributed. The IO Box contains eight PCIe Switch chips, and each chip has five CDFP ports. , the entire IO Box has external CDFP ports, and each CDFP interface contains a set of high-speed IO signals of PCIe 5.0×16 (with 16 available PCIe5.0 channels).

通过本实施例,通过输入输出芯片对输入输出资源进行拓展,得到多个指定连接器端口,可以提高资源池之间通信的效率。Through this embodiment, the input and output resources are expanded through the input and output chips to obtain multiple designated connector ports, which can improve communication efficiency between resource pools.

在一个示范性实施例中,在输入输出资源池的指定连接器端口的连接器端口标识中,用于记录输入输出芯片标识的芯片标识位以及用于记录连接器端口编号的连接器端口编号位预先指定。In an exemplary embodiment, in the connector port identification of the designated connector port of the input and output resource pool, the chip identification bit used to record the input and output chip identification and the connector port number bit used to record the connector port number pre-specified.

输入输出资源池的指定连接器端口的连接器端口标识可以包括用于记录输入输出芯片标识的芯片标识位、用于记录连接器端口编号的连接器端口编号位等,其中,芯片标识位和连接器端口编号位可以预先指定。输入输出资源池上每个指定连接器可以均附带一个指定芯片,用于写入和存储对应的指定连接器的连接器端口标识。The connector port identification of the specified connector port of the input and output resource pool may include a chip identification bit for recording the input and output chip identification, a connector port number bit for recording the connector port number, etc., wherein the chip identification bit and the connection The tor port number bits can be pre-assigned. Each designated connector on the input-output resource pool may be attached with a designated chip for writing and storing the connector port identifier of the corresponding designated connector.

例如,IO Box的每个CDFP连接器均附带一个PCA9554芯片,用于写入和存储ID,因PCA9554有8路IO输入,PCA9554存储的ID的位数为8位,故如表4所示的IO Box CDFP端口ID定义表中,所有IO Box CDFP对应的PCA9554芯片的地址为010001,对于每个PCA9554,其bit7:5为SW ID,即,PCIe Switch芯片的ID,bit4:3默认为0,bit2:0为CDFP number,即,CDFP编号。For example, each CDFP connector of the IO Box comes with a PCA9554 chip for writing and storing IDs. Because PCA9554 has 8 IO inputs, the number of IDs stored in PCA9554 is 8 bits, so as shown in Table 4 In the IO Box CDFP port ID definition table, the address of the PCA9554 chip corresponding to all IO Box CDFPs is 010001. For each PCA9554, its bit7:5 is the SW ID, that is, the ID of the PCIe Switch chip, and bit4:3 is 0 by default. Bit2:0 is the CDFP number, that is, the CDFP number.

表4Table 4

Figure SMS_4
Figure SMS_4

如表5所示,对于8个PCIe Switch芯片,可以分别设定不同ID,用于区分各个CDFP端口的所属的PCIe Switch分支。As shown in Table 5, for 8 PCIe Switch chips, different IDs can be set respectively to distinguish the PCIe Switch branches to which each CDFP port belongs.

表5table 5

Figure SMS_5
Figure SMS_5

根据上述IO Box CDFP端口ID定义方式,得到IO Box CDFP端口ID定义如表6所示。According to the definition method of the above-mentioned IO Box CDFP port ID, the definition of the IO Box CDFP port ID is obtained as shown in Table 6.

表6Table 6

Figure SMS_6
Figure SMS_6

通过本实施例,通过对输入输出资源池的指定连接器端口的连接器端口标识的各个标识为进行划分,可以使得输入输出资源池的指定连接器端口具有不同的连接器端口标识,提高了资源池之间通信的可靠性。Through this embodiment, by dividing each identifier of the connector port identifier of the designated connector port of the input and output resource pool, the designated connector port of the input and output resource pool can have different connector port identifiers, which improves resource utilization. Reliability of communication between pools.

在一个示范性实施例中,在将每个待配置资源池的资源池编号分别发送给每个待配置资源池之后,上述方法还包括:In an exemplary embodiment, after sending the resource pool number of each resource pool to be configured to each resource pool to be configured, the above method further includes:

S121,重新对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以确定输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系。S121. Re-scan the designated communication channel where the designated connector port on the input/output resource pool is located, so as to determine the mapping relationship between the designated connector port on the input/output resource pool and the designated connector port on the resource pool to be configured.

在将每个待配置资源池的资源池编号分别发送给每个待配置资源池之后,每个待配置资源池均可为其上的指定连接器端口配置对应的连接器端口标识,使得每个待配置资源池上的指定连接器端口具有特定的连接器端口标识,通过重新对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,可以确定输入输出资源池上的指定连接器端口所对应的待配置资源池上的指定连接器端口的连接器端口标识,进而确定输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系。例如,IOBox扫描后便可建立起完整的映射关系,数据指令能够精准发送到特定Box的特定端口。After the resource pool number of each resource pool to be configured is sent to each resource pool to be configured, each resource pool to be configured can be configured with a corresponding connector port identifier for the specified connector port on it, so that each The designated connector port on the resource pool to be configured has a specific connector port identifier. By re-scanning the designated communication channel where the designated connector port on the input and output resource pool is located, it can be determined that the designated connector port on the input and output resource pool corresponds to The connector port identifier of the designated connector port on the resource pool to be configured, and then determine the mapping relationship between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured. For example, after IOBox is scanned, a complete mapping relationship can be established, and data instructions can be accurately sent to a specific port of a specific Box.

需要说明的是,虽然在对指定类型的资源池的指定连接器端口的连接器端口标识进行配置时,可以仅允许指定类型的资源池上第N个指定连接器端口与输入输出资源池上的指定连接器端口在指定通信通道上进行通信,在进行重新扫描获取输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系时,允许指定类型的资源池上的所有指定连接器端口与输入输出资源池上的指定连接器端口在指定通信通道上进行通信。It should be noted that, when configuring the connector port identifier of the specified connector port of a resource pool of a specified type, only the Nth specified connector port on the resource pool of the specified type can be allowed to connect to the specified connection on the input and output resource pools. The connector port communicates on the designated communication channel. When rescanning to obtain the mapping relationship between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured, all designated connector ports on the resource pool of the designated type are allowed. The connector port communicates with the designated connector port on the input and output resource pool on the designated communication channel.

通过本实施例,通过重新对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,可以确定输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系,进而确保通信信号的准确发送,提高了资源池之间通信的准确性。Through this embodiment, by re-scanning the designated communication channel where the designated connector port on the input and output resource pool is located, the mapping between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured can be determined relationship, thereby ensuring the accurate transmission of communication signals and improving the accuracy of communication between resource pools.

下面结合可选示例对本申请实施例中的资源池的信息处理方法进行解释说明。在本可选示例中,指定类型的资源池为SSD Box,指定连接器为CDFP,指定通道为I2C通道,指定芯片为PCA9544,指定芯片地址为0100010。The information processing method of the resource pool in the embodiment of the present application is explained below in combination with optional examples. In this optional example, the specified type of resource pool is SSD Box, the specified connector is CDFP, the specified channel is I2C channel, the specified chip is PCA9544, and the specified chip address is 0100010.

本可选示例提供了一种应用于融合架构系统的ID识别的设计方案,基于系统接口特点设计了ID识别结构、ID定义方式、ID识别流程,在ID定义方式上,针对IO Box、SSD Box的ID做了定义,使得系统内每个CDFP端口均具有其独立ID代号,并可以被快速解析(例如,所属地、第几个),解决了在融合架构内,核心IO节点对下属物理结构完全相同的多个Device Box的ID识别问题,使得数据指令能够精准发送到目标Box。This optional example provides a design scheme for ID identification applied to a converged architecture system. Based on the characteristics of the system interface, the ID identification structure, ID definition method, and ID identification process are designed. In the ID definition method, it is aimed at IO Box, SSD Box The ID is defined, so that each CDFP port in the system has its own independent ID code, and can be quickly parsed (for example, where it belongs, which number), which solves the problem of the core IO node's subordinate physical structure in the converged architecture. The same ID identification problem of multiple Device Boxes enables data instructions to be accurately sent to the target Box.

结合图5,本可选示例中的资源池的信息处理方法的流程可以包括以下步骤:With reference to FIG. 5, the flow of the resource pool information processing method in this optional example may include the following steps:

步骤1,将SSD Box与IO Box线缆互联。Step 1. Connect the SSD Box and the IO Box with cables.

步骤2,等待STBY上电完成,等待IO Box BMC开始正常运行。Step 2, wait for the STBY to be powered on and wait for the IO Box BMC to start running normally.

步骤3,IO Box BMC开始正常运行后扫描其所有CDFP所在的I2C通道,识别出地址为0100010的PCA9544。Step 3. After the IO Box BMC starts to run normally, it scans the I2C channels where all its CDFPs are located, and recognizes the PCA9544 with the address 0100010.

步骤4,在地址为0100010的PCA9544中找到bit5:0为010000的PCA9544。Step 4, find the PCA9544 whose bit5:0 is 010000 in the PCA9544 whose address is 0100010.

步骤5,判断bit5:0为010000的PCA9544的数量,如果bit5:0为010000的PCA9544的数量为1,则执行步骤6,如果bit5:0为010000的PCA9544的数量大于1,执行步骤9。Step 5. Determine the number of PCA9544s whose bit5:0 is 010000. If the number of PCA9544s whose bit5:0 is 010000 is 1, perform step 6. If the number of PCA9544s whose bit5:0 is 010000 is greater than 1, perform step 9.

步骤6,确定该PCA9544所在的I2C通道。Step 6, determine the I2C channel where the PCA9544 is located.

步骤7,IO Box BMC通过这个I2C Channel向SSD Box BMC通报:当前SSD Box为节点0,并发送如下配置指示:GPIOM0==0;GPIOM1==0。Step 7. The IO Box BMC notifies the SSD Box BMC through this I2C Channel: the current SSD Box is node 0, and sends the following configuration instructions: GPIOM0==0; GPIOM1==0.

步骤8,SSD Box BMC根据配置指示进行GPIO配置:GPIOM0=0;GPIOM1=0。Step 8, SSD Box BMC performs GPIO configuration according to the configuration instructions: GPIOM0=0; GPIOM1=0.

步骤9,在bit5:0为010000的PCA9544的数量为多个(2、3或4)的情况下,IO BoxBMC先确定多个PCA9544所在的I2C通道的先后顺序,并根据多个PCA9544所在的I2C通道的先后顺序向SSD Box发送配置指示。Step 9, when the number of PCA9544 with bit5:0 being 010000 is multiple (2, 3 or 4), the IO BoxBMC first determines the sequence of the I2C channels where the multiple PCA9544s are located, and according to the I2C channel where the multiple PCA9544s are located The sequence of channels sends configuration instructions to the SSD Box.

步骤10,SSD Box BMC根据配置指示进行GPIO配置。Step 10, SSD Box BMC performs GPIO configuration according to the configuration instructions.

步骤11,重新扫描所有地址为0100 010的PCA9554,确定IO Box CDFP 与SSD BoxCDFP的映射关系。最终,获得到一个IO Box CDFP ->SSD BOX CDFP的映射关系,即,针对相同SSD Box的ID关系得以确认。Step 11, re-scan all PCA9554s whose addresses are 0100 010, and determine the mapping relationship between IO Box CDFP and SSD Box CDFP. Finally, a mapping relationship of IO Box CDFP -> SSD BOX CDFP is obtained, that is, the ID relationship for the same SSD Box is confirmed.

通过本可选示例,通过在ID识别结构上,IO Box BMC作为Host,上电后正常运行后,主动扫描下属端口,Device Box(SSD Box)的BMC I2C作为Slave端,在接收到配置指令后,对自身CDFP ID做出修改,实现了对原始ID的改配,使得相同的SSD Box下的CDFP端口具有专属的CDFP端口ID。Through this optional example, on the ID identification structure, the IO Box BMC acts as the Host, and after power-on and normal operation, it actively scans the subordinate ports, and the BMC I2C of the Device Box (SSD Box) acts as the Slave end. After receiving the configuration command , modify its own CDFP ID, realize the reconfiguration of the original ID, so that the CDFP port under the same SSD Box has a dedicated CDFP port ID.

在一个示范性实施例中,在重新对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描之后,上述方法还包括:In an exemplary embodiment, after re-scanning the specified communication channel where the specified connector port on the input and output resource pool is located, the above method further includes:

S131,响应于接收到的数据指令,确定数据指令待发送到的指令接收连接器端口,其中,指令接收连接器端口是挂载到输入输出资源池上的指定类型的目标资源池的指定连接器端口;S131, in response to the received data instruction, determine the instruction receiving connector port to which the data instruction is to be sent, where the instruction receiving connector port is a designated connector port of a target resource pool of a specified type mounted on the input and output resource pool ;

S132,根据输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系,确定输入输出资源池上指令接收连接器端口的匹配连接器端口;S132. Determine the matching connector port of the instruction receiving connector port on the input and output resource pool according to the mapping relationship between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured;

S133,通过匹配连接器端口所在的指定通信通道将数据指令发送到指令接收连接器端口,以将数据指令发送给目标资源池。S133. Send the data instruction to the instruction receiving connector port by matching the designated communication channel where the connector port is located, so as to send the data instruction to the target resource pool.

在确定输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系之后,输入输出资源池的基板控制管理器在接收到数据指令的情况下,可以根据数据指令中的指令接收连接器端口对应的连接器端口标识,确定数据指令待发送到的挂载到输入输出资源池上的指定类型的目标资源池的指令接收连接器端口。根据输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系,可以确定在输入输出资源池上与指令接收连接器端口匹配的匹配连接器端口。通过匹配连接器端口所在的指定通信通道将数据指令发送到指令接收连接器端口,可以将数据指令发送给目标资源池。After determining the mapping relationship between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured, the baseboard control manager of the input and output resource pool can, according to the data instruction, The connector port identifier corresponding to the instruction receiving connector port in , determines the instruction receiving connector port of the specified type of target resource pool mounted on the input and output resource pool to which the data instruction is to be sent. According to the mapping relationship between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured, the matching connector port on the input and output resource pool that matches the instruction receiving connector port can be determined. The data instruction can be sent to the target resource pool by sending the data instruction to the instruction receiving connector port by matching the specified communication channel where the connector port is located.

通过本实施例,基于输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系进行数据指令发送,可以提高数据指令发送的精准度,可以提高资源池信息处理的可靠性。Through this embodiment, the data command is sent based on the mapping relationship between the specified connector port on the input and output resource pool and the specified connector port on the resource pool to be configured, which can improve the accuracy of data command transmission and improve resource pool information processing. reliability.

需要说明的是,对于前述的各方法实施例,为了简单描述,故将其都表述为一系列的动作组合,但是本领域技术人员应该知悉,本申请并不受所描述的动作顺序的限制,因为依据本申请,某些步骤可以采用其他顺序或者同时进行。其次,本领域技术人员也应该知悉,说明书中所描述的实施例均属于优选实施例,所涉及的动作和模块并不一定是本申请所必须的。It should be noted that for the foregoing method embodiments, for the sake of simple description, they are expressed as a series of action combinations, but those skilled in the art should know that the present application is not limited by the described action sequence. Depending on the application, certain steps may be performed in other orders or simultaneously. Secondly, those skilled in the art should also know that the embodiments described in the specification belong to preferred embodiments, and the actions and modules involved are not necessarily required by this application.

通过以上的实施方式的描述,本领域的技术人员可以清楚地了解到根据上述实施例的方法可借助软件加必需的通用硬件平台的方式来实现,当然也可以通过硬件,但很多情况下前者是更佳的实施方式。基于这样的理解,本申请实施例的技术方案本质上或者说对现有技术做出贡献的部分可以以软件产品的形式体现出来,该计算机软件产品存储在一个存储介质(如ROM/RAM、磁碟、光盘)中,包括若干指令用以使得一台终端设备(可以是手机,计算机,服务器,或者网络设备等)执行本申请各个实施例的方法。Through the description of the above embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by means of software plus a necessary general-purpose hardware platform, and of course also by hardware, but in many cases the former is better implementation. Based on this understanding, the essence of the technical solutions of the embodiments of the present application or the part that contributes to the prior art can be embodied in the form of software products, and the computer software products are stored in a storage medium (such as ROM/RAM, magnetic CD, CD), including several instructions to enable a terminal device (which may be a mobile phone, computer, server, or network device, etc.) to execute the method of each embodiment of the present application.

根据本申请实施例的又一方面,还提供了一种资源池的信息处理装置,该装置用于实现上述实施例中所提供的资源池的信息处理方法,已经进行过说明的不再赘述。如以下所使用的,术语“模块”可以实现预定功能的软件和/或硬件的组合。尽管以下实施例所描述的装置较佳地以软件来实现,但是硬件,或者软件和硬件的组合的实现也是可能并被构想的。According to yet another aspect of the embodiments of the present application, an information processing device for a resource pool is also provided, which is used to implement the method for processing information about a resource pool provided in the above embodiments, and what has already been described will not be repeated. As used below, the term "module" may be a combination of software and/or hardware that realizes a predetermined function. Although the devices described in the following embodiments are preferably implemented in software, implementations in hardware, or a combination of software and hardware are also possible and contemplated.

图6是根据本申请实施例的一种资源池的信息处理装置的结构框图,如图6所示,该装置包括:FIG. 6 is a structural block diagram of an information processing device for a resource pool according to an embodiment of the present application. As shown in FIG. 6, the device includes:

第一扫描单元602,用于对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,其中,指定连接器端口为输入输出资源池与指定类型的资源池之间进行信号传输所使用的信号连接器端口;The first scanning unit 602 is configured to scan the specified communication channel where the specified connector port on the input and output resource pool is located, so as to identify the specified type of resource pool mounted on the input and output resource pool, wherein the specified connector port is an input The signal connector port used for signal transmission between the output resource pool and the specified type of resource pool;

分配单元604,用于在识别到指定类型的一组待配置资源池的情况下,为每个待配置资源池分配唯一的资源池编号;An allocation unit 604, configured to allocate a unique resource pool number to each resource pool to be configured when a group of resource pools to be configured of a specified type is identified;

第一发送单元606,用于将每个待配置资源池的资源池编号分别发送给每个待配置资源池,以为每个待配置资源池的指定连接器端口配置连接器端口标识,其中,待配置资源池的指定连接器端口的连接器端口标识包含待配置资源池的资源池编号。The first sending unit 606 is configured to send the resource pool number of each to-be-configured resource pool to each to-be-configured resource pool, so as to configure a connector port identifier for a designated connector port of each to-be-configured resource pool, wherein, to be configured The connector port identifier of the designated connector port of the configuration resource pool includes the resource pool number of the resource pool to be configured.

通过本申请实施例,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池,其中,指定连接器端口为输入输出资源池与指定类型的资源池之间进行信号传输所使用的信号连接器端口;在识别到指定类型的一组待配置资源池的情况下,为每个待配置资源池分配唯一的资源池编号;将每个待配置资源池的资源池编号分别发送给每个待配置资源池,以为每个待配置资源池的指定连接器端口配置连接器端口标识,其中,待配置资源池的指定连接器端口的连接器端口标识包含待配置资源池的资源池编号,可以解决相关技术中的资源池的信息处理方法,存在由于无法区分物理结构相同的资源池导致的数据指令发送的准确性低的问题,提高了数据指令发送的准确性。Through this embodiment of the application, the specified communication channel where the specified connector port on the input and output resource pool is located is scanned to identify a specified type of resource pool mounted on the input and output resource pool, wherein the specified connector port is an input and output resource The signal connector port used for signal transmission between the pool and the resource pool of the specified type; when a group of resource pools to be configured of the specified type is identified, assign a unique resource pool number to each resource pool to be configured; set The resource pool number of each to-be-configured resource pool is sent to each to-be-configured resource pool respectively, so as to configure the connector port identifier for the specified connector port of each to-be-configured resource pool, wherein the specified connector port of the to-be-configured resource pool The connector port identifier contains the resource pool number of the resource pool to be configured, which can solve the problem of low accuracy of data instruction transmission caused by the inability to distinguish resource pools with the same physical structure in the information processing method of the resource pool in the related art, and improve the The accuracy of data command transmission is guaranteed.

可选地,第一扫描单元包括:Optionally, the first scanning unit includes:

第一扫描模块,用于在输入输出资源池上电的情况下,对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池。The first scanning module is configured to scan the specified communication channel where the specified connector port on the input and output resource pool is located when the input and output resource pool is powered on, so as to identify the specified type of resource pool mounted on the input and output resource pool .

可选地,第一扫描单元包括:Optionally, the first scanning unit includes:

第一识别模块,用于通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,识别出对应的地址为指定地址的一组候选连接器端口标识,其中,挂载到输入输出资源池上的指定类型的资源池的指定连接器端口所对应的地址均为指定地址;The first identification module is configured to scan the specified communication channel where the specified connector port on the input and output resource pool is located, and identify a group of candidate connector port identifiers whose corresponding address is the specified address, wherein, mount to the input and output The addresses corresponding to the specified connector ports of the specified type of resource pool on the resource pool are all specified addresses;

确定模块,用于将一组候选连接器端口标识中满足预设标识条件的连接器端口标识所对应的资源池,确定为一组待配置资源池,其中,预设标识条件包括资源池标识为指定资源池标识,指定资源池标识用于标识对应的资源池为指定类型的资源池。The determining module is configured to determine the resource pools corresponding to the connector port identifiers that meet the preset identification conditions in a group of candidate connector port identifiers as a group of resource pools to be configured, wherein the preset identification conditions include that the resource pool identifier is Specifies the resource pool ID. The specified resource pool ID is used to identify the corresponding resource pool as a specified type of resource pool.

可选地,第一识别模块包括:Optionally, the first identification module includes:

识别子模块,用于通过对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,识别出对应的芯片地址为指定芯片地址的一组候选连接器端口标识,其中,指定连接器端口对应的指定连接器上附带有指定芯片,指定芯片用于存储对应的指定连接器端口的连接器端口标识,挂载到输入输出资源池上的指定类型的资源池的指定连接器上所附带的指定芯片的芯片地址均为指定芯片地址。The identification sub-module is used to scan the specified communication channel where the specified connector port on the input and output resource pool is located, and identify a group of candidate connector port identifiers whose corresponding chip address is the specified chip address, wherein the specified connector port There is a designated chip attached to the corresponding designated connector, and the designated chip is used to store the connector port identifier of the corresponding designated connector port, and the designated connector attached to the designated connector of the designated type of resource pool mounted on the input and output resource pool The chip address of the chip is the specified chip address.

可选地,确定模块包括:Optionally, the determination module includes:

选取子模块,用于选取一组候选连接器端口标识中,包含的资源池标识为指定资源池标识、且包含的连接器编号为指定连接器端口编号的连接器端口标识,得到一组目标连接器端口标识,其中,指定连接器端口编号为指定类型的资源池包含的第N个指定连接器端口的连接器端口编号,N为大于或者等于1的正整数;The selection sub-module is used to select a group of candidate connector port IDs, the resource pool ID contained is the specified resource pool ID, and the connector number contained is the connector port ID of the specified connector port number, to obtain a set of target connections Connector port identifier, where the specified connector port number is the connector port number of the Nth specified connector port included in the resource pool of the specified type, and N is a positive integer greater than or equal to 1;

确定子模块,用于将每个目标连接器端口标识所对应的资源池分别确定为一个待配置资源池,得到一组待配置资源池。The determination sub-module is configured to determine the resource pool corresponding to each target connector port identifier as a resource pool to be configured to obtain a group of resource pools to be configured.

可选地,在对指定类型的资源池的指定连接器端口的连接器端口标识进行配置时,仅允许指定类型的资源池上的第N个指定连接器端口与输入输出资源池上的指定连接器端口在指定通信通道上进行通信。Optionally, when configuring the connector port identifier of the specified connector port of the specified type of resource pool, only the Nth specified connector port on the specified type of resource pool is allowed to be connected with the specified connector port on the input and output resource pools Communicate on the specified communication channel.

可选地,在指定类型的资源池的指定连接器端口的连接器端口标识中,用于记录资源池编号的资源池编号位、用于记录资源池标识的资源池标识位以及用于记录连接器端口编号的连接器端口编号位预先指定。Optionally, in the connector port ID of the specified connector port of the resource pool of the specified type, the resource pool number bit used to record the resource pool number, the resource pool identification bit used to record the resource pool ID, and the resource pool ID bit used to record the connection The connector port number bits of the connector port number are preassigned.

可选地,第一扫描单元包括:Optionally, the first scanning unit includes:

第二扫描模块,用于通过输入输出资源池中的基板控制管理器对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池。The second scanning module is configured to scan the designated communication channel where the designated connector port on the input and output resource pool is located through the baseboard control manager in the input and output resource pool, so as to identify resources of a specified type mounted on the input and output resource pool pool.

可选地,第一扫描单元包括:Optionally, the first scanning unit includes:

第三扫描模块,用于对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,以识别挂载到输入输出资源池上的指定类型的资源池。The third scanning module is configured to scan the I2C channel where the CDFP port on the input and output resource pool is located, so as to identify the specified type of resource pool mounted on the input and output resource pool.

可选地,第三扫描模块包括:Optionally, the third scanning module includes:

扫描子模块,用于对输入输出资源池上的CDFP端口所在的I2C通道进行扫描,以识别挂载到输入输出资源池上的SSD资源池。The scanning sub-module is used to scan the I2C channel where the CDFP port on the input and output resource pool is located, so as to identify the SSD resource pool mounted on the input and output resource pool.

可选地,分配单元包括:Optionally, the allocation unit includes:

第一分配模块,用于在识别到的指定类型的多个待配置资源池的情况下,按照对应的指定通信通道的通道顺序,为每个待配置资源池分配资源池编号,其中,一组待配置资源池为多个待配置资源池;The first allocation module is configured to assign a resource pool number to each resource pool to be configured according to the channel sequence of the corresponding specified communication channel in the case of identifying multiple resource pools to be configured of a specified type, wherein one group The resource pool to be configured is a plurality of resource pools to be configured;

第二分配模块,用于在识别到指定类型的一个待配置资源池的情况下,为一个待配置资源池分配资源池编号,其中,一组待配置资源池为一个待配置资源池。The second allocation module is configured to allocate a resource pool number to a resource pool to be configured when a resource pool to be configured of a specified type is identified, wherein a group of resource pools to be configured is a resource pool to be configured.

可选地,上述装置还包括:Optionally, the above-mentioned device also includes:

第二发送单元,用于在识别到指定类型的待配置资源池的数量大于允许分配的资源池编号的最大数量的情况下,向指定设备发送异常告警信息,其中,异常告警信息用于指示输入输出资源池上挂载的指定类型的资源池的数量超过允许分配的资源池标识的最大数量。The second sending unit is configured to send abnormal alarm information to the designated device when it is recognized that the number of resource pools to be configured of a specified type is greater than the maximum number of resource pool numbers allowed to be allocated, wherein the abnormal alarm information is used to indicate input The number of resource pools of the specified type mounted on the output resource pool exceeds the maximum number of resource pool ids allowed to be allocated.

可选地,上述装置还包括:Optionally, the above-mentioned device also includes:

配置单元,用于在将每个待配置资源池的资源池编号分别发送给每个待配置资源池之后,响应于接收到的资源池编号,通过待配置资源池的基板控制管理器将接收到的资源池编号配置到与待配置资源池的指定连接器端口对应的指定连接器上附带的指定芯片,其中,指定芯片用于存储对应的指定连接器的连接器标识。The configuration unit is configured to, after sending the resource pool number of each resource pool to be configured to each resource pool to be configured, in response to the received resource pool number, the base control manager of the resource pool to be configured will receive The resource pool number of the to-be-configured resource pool is allocated to the designated chip attached to the designated connector corresponding to the designated connector port of the resource pool to be configured, wherein the designated chip is used to store the connector identifier of the corresponding designated connector.

可选地,配置单元包括:Optionally, the hive includes:

配置模块,用于响应于接收到的资源池编号,通过待配置资源池的基板控制管理器将接收到的资源池编号配置到待配置资源池的指定连接器上所附带的指定芯片的资源池编号输入端,其中,指定芯片具有M个输入端,每个输入端分别用于输入指定连接器端口的连接器端口标识的一个标识位,资源池编号输入端为M个输入端中,与指定连接器端口的连接器端口标识中的资源池编号位对应的输入端。The configuration module is configured to, in response to the received resource pool number, configure the received resource pool number to the resource pool of the specified chip attached to the specified connector of the resource pool to be configured through the substrate control manager of the resource pool to be configured Numbering input terminals, wherein, the specified chip has M input terminals, and each input terminal is used to input an identification bit of the connector port identification of the specified connector port, and the input terminal of the resource pool number is among the M input terminals, and the specified The input terminal corresponding to the resource pool number bit in the connector port identifier of the connector port.

可选地,在输入输出资源池上通过信号拓展芯片将输入输出资源池中的基板控制管理器的指定通信通道分别拓展为第一数量的指定通信通道,得到多路指定通信通道,每路指定通信通道分别与一个指定连接器端口对应。Optionally, on the input and output resource pool, the designated communication channels of the substrate control manager in the input and output resource pool are respectively expanded to the first number of designated communication channels through the signal expansion chip, so as to obtain multiple designated communication channels, and each designated communication channel The channels each correspond to a designated connector port.

可选地,在输入输出资源池上包含第二数量的输入输出芯片,每个输入输出芯片具有第三数量的指定连接器端口。Optionally, the input-output resource pool includes a second number of input-output chips, each of which has a third number of designated connector ports.

可选地,在输入输出资源池的指定连接器端口的连接器端口标识中,用于记录输入输出芯片标识的芯片标识位以及用于记录连接器端口编号的连接器端口编号位预先指定。Optionally, in the connector port identifier of the designated connector port of the input and output resource pool, the chip identification bit for recording the input and output chip identification and the connector port number bit for recording the connector port number are pre-specified.

可选地,上述装置还包括:Optionally, the above-mentioned device also includes:

第二扫描单元,用于在将每个待配置资源池的资源池编号分别发送给每个待配置资源池之后,重新对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描,以确定输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系。The second scanning unit is used to re-scan the specified communication channel where the specified connector port on the input and output resource pools is located after sending the resource pool number of each resource pool to be configured to each resource pool to be configured respectively, so as to Determine the mapping relationship between the specified connector ports on the input and output resource pools and the specified connector ports on the resource pool to be configured.

可选地,上述装置还包括:Optionally, the above-mentioned device also includes:

第一确定单元,用于在重新对输入输出资源池上的指定连接器端口所在的指定通信通道进行扫描之后,响应于接收到的数据指令,确定数据指令待发送到的指令接收连接器端口,其中,指令接收连接器端口是挂载到输入输出资源池上的指定类型的目标资源池的指定连接器端口;The first determining unit is configured to, after re-scanning the specified communication channel where the specified connector port on the input and output resource pool is located, in response to the received data command, determine the command receiving connector port to which the data command is to be sent, wherein , the instruction receiving connector port is the designated connector port of the specified type of target resource pool mounted on the input and output resource pool;

第二确定单元,用于根据输入输出资源池上的指定连接器端口与待配置资源池上的指定连接器端口之间的映射关系,确定输入输出资源池上指令接收连接器端口的匹配连接器端口;The second determination unit is used to determine the matching connector port of the instruction receiving connector port on the input and output resource pool according to the mapping relationship between the designated connector port on the input and output resource pool and the designated connector port on the resource pool to be configured;

第三发送单元,用于通过匹配连接器端口所在的指定通信通道将数据指令发送到指令接收连接器端口,以将数据指令发送给目标资源池。The third sending unit is configured to send the data instruction to the instruction receiving connector port through the designated communication channel where the matching connector port is located, so as to send the data instruction to the target resource pool.

需要说明的是,上述各个模块是可以通过软件或硬件来实现的,对于后者,可以通过以下方式实现,但不限于此:上述模块均位于同一处理器中;或者,上述各个模块以任意组合的形式分别位于不同的处理器中。It should be noted that the above-mentioned modules can be realized by software or hardware. For the latter, it can be realized by the following methods, but not limited to this: the above-mentioned modules are all located in the same processor; or, the above-mentioned modules can be combined in any combination The forms of are located in different processors.

根据本申请实施例的又一方面,还提供了一种计算机可读存储介质,该计算机可读存储介质中存储有计算机程序,其中,该计算机程序被设置为运行时执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present application, there is also provided a computer-readable storage medium, where a computer program is stored in the computer-readable storage medium, wherein the computer program is set to execute any one of the above-mentioned methods when running steps in the example.

在一个示例性实施例中,上述计算机可读存储介质可以包括但不限于:U盘、只读存储器(Read-Only Memory,简称为ROM)、随机存取存储器(Random Access Memory,简称为RAM)、移动硬盘、磁碟或者光盘等各种可以存储计算机程序的介质。In an exemplary embodiment, the above-mentioned computer-readable storage medium may include but not limited to: U disk, read-only memory (Read-Only Memory, ROM for short), random access memory (Random Access Memory, RAM for short) , mobile hard disk, magnetic disk or optical disk and other media that can store computer programs.

根据本申请实施例的又一方面,还提供了一种电子设备,包括存储器和处理器,该存储器中存储有计算机程序,该处理器被设置为运行计算机程序以执行上述任一项方法实施例中的步骤。According to yet another aspect of the embodiments of the present application, there is also provided an electronic device, including a memory and a processor, where a computer program is stored in the memory, and the processor is configured to run the computer program to perform any one of the above method embodiments in the steps.

在一个示例性实施例中,上述电子设备还可以包括传输设备以及输入输出设备,其中,该传输设备和上述输入输出资源池连接,该输入输出设备和上述输入输出资源池连接。In an exemplary embodiment, the above-mentioned electronic device may further include a transmission device and an input-output device, wherein the transmission device is connected to the above-mentioned input-output resource pool, and the above-mentioned input-output device is connected to the above-mentioned input-output resource pool.

本实施例中的具体示例可以参考上述实施例及示例性实施方式中所描述的示例,本实施例在此不再赘述。For specific examples in this embodiment, reference may be made to the examples described in the foregoing embodiments and exemplary implementation manners, and details will not be repeated here in this embodiment.

显然,本领域的技术人员应该明白,上述的本申请实施例的各模块或各步骤可以用通用的计算装置来实现,它们可以集中在单个的计算装置上,或者分布在多个计算装置所组成的网络上,它们可以用计算装置可执行的程序代码来实现,从而,可以将它们存储在存储装置中由计算装置来执行,并且在某些情况下,可以以不同于此处的顺序执行所示出或描述的步骤,或者将它们分别制作成各个集成电路模块,或者将它们中的多个模块或步骤制作成单个集成电路模块来实现。这样,本申请实施例不限制于任何特定的硬件和软件结合。Obviously, those skilled in the art should understand that the modules or steps of the above-mentioned embodiments of the present application can be implemented by general-purpose computing devices, and they can be concentrated on a single computing device, or distributed among multiple computing devices. They may be implemented in program code executable by a computing device, stored in a storage device, executed by a computing device, and in some cases executed in an order different from that described herein. The steps shown or described are realized by making them into respective integrated circuit modules, or making multiple modules or steps among them into a single integrated circuit module. Thus, embodiments of the present application are not limited to any specific combination of hardware and software.

以上所述仅为本申请的优选实施例而已,并不用于限制本申请实施例,对于本领域的技术人员来说,本申请实施例可以有各种更改和变化。凡在本申请实施例的原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请实施例的保护范围之内。The above descriptions are only preferred embodiments of the present application, and are not intended to limit the embodiments of the present application. For those skilled in the art, various modifications and changes may be made to the embodiments of the present application. Any modification, equivalent replacement, improvement, etc. made within the principles of the embodiments of the present application shall be included in the protection scope of the embodiments of the present application.

Claims (22)

1. An information processing method of a resource pool, comprising:
scanning a designated communication channel where a designated connector port on an input/output resource pool is located to identify a designated type of resource pool mounted on the input/output resource pool, wherein the designated connector port is a signal connector port used for signal transmission between the input/output resource pool and the designated type of resource pool;
under the condition that a group of resource pools to be configured of the specified type is identified, allocating a unique resource pool number for each resource pool to be configured;
and respectively sending the resource pool number of each resource pool to be configured to each resource pool to be configured so as to configure a connector port identifier for the specified connector port of each resource pool to be configured, wherein the connector port identifier of the specified connector port of the resource pool to be configured comprises the resource pool number of the resource pool to be configured.
2. The method of claim 1, wherein scanning the designated communication channel on which the designated connector port on the input-output resource pool is located to identify a designated type of resource pool mounted on the input-output resource pool comprises:
And under the condition that the input and output resource pool is electrified, scanning the appointed communication channel where the appointed connector port on the input and output resource pool is positioned so as to identify the appointed type resource pool mounted on the input and output resource pool.
3. The method of claim 1, wherein scanning the designated communication channel on which the designated connector port on the input-output resource pool is located to identify a designated type of resource pool mounted on the input-output resource pool comprises:
the method comprises the steps of identifying a group of candidate connector port identifiers with corresponding addresses as specified addresses by scanning the specified communication channel where the specified connector port on the input/output resource pool is located, wherein the addresses corresponding to the specified connector port of the resource pool of the specified type mounted on the input/output resource pool are all the specified addresses;
and determining a resource pool corresponding to the connector port identifier meeting a preset identifier condition in the set of candidate connector port identifiers as a set of resource pools to be configured, wherein the preset identifier condition comprises a resource pool identifier which is a designated resource pool identifier, and the designated resource pool identifier is used for identifying the corresponding resource pool as the resource pool of the designated type.
4. The method of claim 3, wherein the identifying a set of candidate connector port identifications corresponding to the specified address by scanning the specified communication channel on the input-output resource pool where the specified connector port is located comprises:
and scanning the appointed communication channel where the appointed connector port on the input/output resource pool is located, and identifying a group of candidate connector port identifications with corresponding chip addresses as appointed chip addresses, wherein an appointed chip is attached to an appointed connector corresponding to the appointed connector port, the appointed chip is used for storing the corresponding connector port identification of the appointed connector port, and the chip addresses of the appointed chip attached to the appointed connector of the appointed type resource pool on the input/output resource pool are all the appointed chip addresses.
5. The method of claim 3, wherein determining the resource pool corresponding to the connector port identifier satisfying the preset identifier condition in the set of candidate connector port identifiers as the set of resource pools to be configured includes:
Selecting a group of candidate connector port identifiers, wherein the resource pool identifier is the designated resource pool identifier, and the connector number is the connector port identifier of the designated connector port number, so as to obtain a group of target connector port identifiers, and the designated connector port number is the connector port number of the N-th designated connector port contained in the resource pool of the designated type, and N is a positive integer greater than or equal to 1;
and respectively determining the resource pool corresponding to each target connector port identifier as one resource pool to be configured to obtain a group of resource pools to be configured.
6. The method of claim 5, wherein only an nth one of the designated connector ports on the designated type of resource pool is allowed to communicate with the designated connector port on the input-output resource pool on the designated communication channel when configuring the connector port identification of the designated connector port of the designated type of resource pool.
7. The method of claim 5, wherein in the connector port identification of the designated connector port of the designated type of resource pool, a resource pool number bit for recording a resource pool number, a resource pool identification bit for recording a resource pool identification, and a connector port number bit for recording a connector port number are pre-designated.
8. The method of claim 1, wherein scanning the designated communication channel on which the designated connector port on the input-output resource pool is located to identify a designated type of resource pool mounted on the input-output resource pool comprises:
and scanning the appointed communication channel where the appointed connector port on the input/output resource pool is positioned by a baseboard control manager in the input/output resource pool so as to identify the appointed type resource pool mounted on the input/output resource pool.
9. The method of claim 1, wherein scanning the designated communication channel on which the designated connector port on the input-output resource pool is located to identify a designated type of resource pool mounted on the input-output resource pool comprises:
and scanning an I2C channel where the CDFP port on the input/output resource pool is positioned to identify the resource pool of the specified type mounted on the input/output resource pool.
10. The method of claim 9, wherein scanning the I2C channel on which the CDFP port on the input-output resource pool is located to identify the specified type of resource pool mounted on the input-output resource pool comprises:
And scanning the I2C channel where the CDFP port on the input/output resource pool is located to identify an SSD resource pool mounted on the input/output resource pool.
11. The method of claim 1, wherein, in the case where a set of resource pools to be configured of the specified type is identified, assigning a unique resource pool number to each of the resource pools to be configured comprises:
under the condition that a plurality of resource pools to be configured of the specified type are identified, allocating a resource pool number for each resource pool to be configured according to the channel sequence of the corresponding specified communication channel, wherein a group of resource pools to be configured are a plurality of resource pools to be configured;
and under the condition that one to-be-configured resource pool of the specified type is identified, allocating a resource pool number for one to-be-configured resource pool, wherein one group of to-be-configured resource pools is one to-be-configured resource pool.
12. The method according to claim 1, wherein the method further comprises:
and sending abnormal alarm information to the designated equipment under the condition that the number of the identified resource pools to be configured of the designated type is larger than the maximum number of the resource pool numbers allowed to be allocated, wherein the abnormal alarm information is used for indicating that the number of the resource pools of the designated type mounted on the input/output resource pool exceeds the maximum number of the resource pool identifiers allowed to be allocated.
13. The method according to claim 1, wherein after said sending the resource pool number of each of the resource pools to be configured to each of the resource pools to be configured, respectively, the method further comprises:
and responding to the received resource pool number, configuring the received resource pool number to a designated chip attached to a designated connector corresponding to the designated connector port of the resource pool to be configured through a baseboard control manager of the resource pool to be configured, wherein the designated chip is used for storing the connector identification of the corresponding designated connector.
14. The method of claim 13, wherein the configuring, by the baseboard control manager of the resource pool to be configured, the received resource pool number to a specified chip attached to a specified connector corresponding to the specified connector port of the resource pool to be configured in response to the received resource pool number, comprises:
and responding to the received resource pool number, configuring the received resource pool number to a resource pool number input end of the specified chip attached to the specified connector of the resource pool to be configured through a substrate control manager of the resource pool to be configured, wherein the specified chip is provided with M input ends, each input end is respectively used for inputting one identification bit of a connector port identification of the specified connector port, and the resource pool number input end is one input end corresponding to the resource pool number bit in the connector port identification of the specified connector port in the M input ends.
15. The method of claim 1, wherein the specified communication channels of the baseboard control manager in the input/output resource pool are respectively expanded into a first number of the specified communication channels by a signal expansion chip on the input/output resource pool, so as to obtain multiple paths of the specified communication channels, and each path of the specified communication channels corresponds to one of the specified connector ports.
16. The method of claim 1, wherein a second number of input-output chips are included on the input-output resource pool, each of the input-output chips having a third number of the designated connector ports.
17. The method of claim 16, wherein in the connector port identification of the designated connector port of the input output resource pool, a chip identification bit for recording an input output chip identification and a connector port number bit for recording a connector port number are pre-designated.
18. The method according to any one of claims 1 to 17, wherein after said sending the resource pool number of each of the resource pools to be configured to each of the resource pools to be configured, respectively, the method further comprises:
And scanning the appointed communication channel where the appointed connector port on the input and output resource pool is positioned again to determine the mapping relation between the appointed connector port on the input and output resource pool and the appointed connector port on the resource pool to be configured.
19. The method of claim 18, wherein after the rescanning the designated communication channel on the input-output resource pool where the designated connector port is located, the method further comprises:
determining an instruction receiving connector port to which the data instruction is to be sent in response to the received data instruction, wherein the instruction receiving connector port is the designated connector port of the designated type of target resource pool mounted on the input-output resource pool;
determining a matched connector port of the instruction receiving connector port on the input/output resource pool according to the mapping relation between the designated connector port on the input/output resource pool and the designated connector port on the resource pool to be configured;
and sending the data instruction to the instruction receiving connector port through the appointed communication channel where the matched connector port is positioned so as to send the data instruction to the target resource pool.
20. An information processing apparatus of a resource pool, comprising:
the first scanning unit is used for scanning a specified communication channel where a specified connector port on an input/output resource pool is located so as to identify a specified type of resource pool mounted on the input/output resource pool, wherein the specified connector port is a signal connector port used for signal transmission between the input/output resource pool and the specified type of resource pool;
the allocation unit is used for allocating a unique resource pool number to each resource pool to be allocated under the condition that a group of resource pools to be allocated of the specified type is identified;
a first sending unit, configured to send a resource pool number of each to-be-configured resource pool to each to-be-configured resource pool, so as to configure a connector port identifier for the specified connector port of each to-be-configured resource pool, where the connector port identifier of the specified connector port of the to-be-configured resource pool includes the resource pool number of the to-be-configured resource pool.
21. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method of any of claims 1 to 19.
22. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 19 when the computer program is executed.
CN202310314519.6A 2023-03-28 2023-03-28 Resource pool information processing method and device, storage medium and electronic device Active CN116032746B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310314519.6A CN116032746B (en) 2023-03-28 2023-03-28 Resource pool information processing method and device, storage medium and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310314519.6A CN116032746B (en) 2023-03-28 2023-03-28 Resource pool information processing method and device, storage medium and electronic device

Publications (2)

Publication Number Publication Date
CN116032746A CN116032746A (en) 2023-04-28
CN116032746B true CN116032746B (en) 2023-07-14

Family

ID=86089582

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310314519.6A Active CN116032746B (en) 2023-03-28 2023-03-28 Resource pool information processing method and device, storage medium and electronic device

Country Status (1)

Country Link
CN (1) CN116032746B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117041184B (en) * 2023-10-10 2024-02-09 苏州元脑智能科技有限公司 IO expansion device and IO switch
CN118467434B (en) * 2024-07-10 2024-11-08 苏州元脑智能科技有限公司 Service system, input and output chassis, equipment chassis and chassis identification method

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168135A (en) * 2014-08-06 2014-11-26 中国船舶重工集团公司第七0九研究所 Network card resource pooling management method and system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102567239A (en) * 2010-12-29 2012-07-11 鸿富锦精密工业(深圳)有限公司 Computer device and multi-network-card recognizing method thereof
CN107888517B (en) * 2016-09-30 2020-08-14 华为技术有限公司 Method and equipment for domain planning of host
CN113687910A (en) * 2021-07-29 2021-11-23 广东浪潮智慧计算技术有限公司 Method, device, equipment and storage medium for managing USB (universal serial bus) equipment in cluster
CN115686374A (en) * 2022-11-10 2023-02-03 阿里巴巴(中国)有限公司 Information acquisition method, information acquisition device, storage system, information acquisition device, and storage medium

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104168135A (en) * 2014-08-06 2014-11-26 中国船舶重工集团公司第七0九研究所 Network card resource pooling management method and system

Also Published As

Publication number Publication date
CN116032746A (en) 2023-04-28

Similar Documents

Publication Publication Date Title
CN116032746B (en) Resource pool information processing method and device, storage medium and electronic device
US10728024B2 (en) Technologies for providing runtime code in an option ROM
CN112737836B (en) Bandwidth allocation method, device, equipment and storage medium for PCIe external card
US20200136901A1 (en) System and Method of Managing an Intelligent Peripheral
US10372639B2 (en) System and method to avoid SMBus address conflicts via a baseboard management controller
US20200252388A1 (en) System and Method for Providing Comprehensive Remote Authorized Access to Multiple Equipment in a Datacenter
CN117978811B (en) Mapping relation determination method and system, storage medium and electronic device
CN114510452B (en) System on chip (SOC) integration method, device and electronic equipment
KR20210000648A (en) Method, apparatus, electronic device and computer readable storage medium for supporting communication among chips
CN116166434A (en) Processor allocation method and system, device, storage medium and electronic equipment
CN116578316A (en) Firmware updating method, device, server and storage medium of equipment
CN104158709B (en) A kind of optical module knows method for distinguishing and ports-Extending equipment
US10795846B1 (en) Scalable NVMe storage management over system management bus
CN113177015B (en) Frame header-based serial port communication method and serial port chip
CN104038550B (en) Data communications method and its device, storage system
CN117056275B (en) Communication control method, device and server based on hardware partition system
CN118193408A (en) Memory resource access system and method, storage medium and electronic equipment
CN115687220B (en) Identification circuit, identification method, electronic device and storage medium for multi-server identification
CN114980038B (en) Robotic system, method and device for data communication
CN118568015B (en) Device communication method, system, apparatus, device, storage medium, and program product
US9336174B1 (en) Dynamic interface model
US20240211623A1 (en) Dynamic cross-standard compliance coverage
CN115563039A (en) Method and device for processing multi-node server data
CN119621349A (en) Resource allocation method, server, storage medium and program product
CN120234281A (en) Communication method, electronic device, storage medium, and program product

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant