WO2020206879A1 - Method and device for automatically adapting link width of pcie port, electronic apparatus and storage medium - Google Patents

Method and device for automatically adapting link width of pcie port, electronic apparatus and storage medium Download PDF

Info

Publication number
WO2020206879A1
WO2020206879A1 PCT/CN2019/098499 CN2019098499W WO2020206879A1 WO 2020206879 A1 WO2020206879 A1 WO 2020206879A1 CN 2019098499 W CN2019098499 W CN 2019098499W WO 2020206879 A1 WO2020206879 A1 WO 2020206879A1
Authority
WO
WIPO (PCT)
Prior art keywords
width
information
pcie
configuration information
automatic adaptation
Prior art date
Application number
PCT/CN2019/098499
Other languages
French (fr)
Chinese (zh)
Inventor
邱星萍
吕佳鹏
Original Assignee
苏州浪潮智能科技有限公司
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 苏州浪潮智能科技有限公司 filed Critical 苏州浪潮智能科技有限公司
Publication of WO2020206879A1 publication Critical patent/WO2020206879A1/en

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/382Information transfer, e.g. on bus using universal interface adapter
    • G06F13/385Information transfer, e.g. on bus using universal interface adapter for adaptation of a particular data processing system to different peripheral devices
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0026PCI express

Definitions

  • the present invention relates to the field of computer technology, in particular to a PCIE width automatic adaptation method and device, an electronic device and a computer-readable storage medium.
  • the maximum link width of a PCIE port is x16.
  • One x16 can be divided into 2 x8 or 4 x4. These configurations are generally pre-allocated by BIOS. If the configuration is x4, The maximum width of the card link is limited to x4, and there are certain restrictions on the cards connected later.
  • the purpose of this application is to provide a PCIE width automatic adaptation method and device, an electronic device, and a computer-readable storage medium, so as to realize the automatic PCIE width adaptation.
  • the present application provides a PCIE width automatic adaptation method, including:
  • the obtaining pre-saved configuration information includes:
  • the configuration information pre-saved in the BMC is obtained through the I2C interface.
  • the configuration information is the current identification information of the riser card and corresponding width information recorded by the BMC to the buffer space after the riser card is connected to the BMC through a GPIO.
  • the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
  • this application provides a PCIE width automatic adaptation device, including:
  • Configuration obtaining module used to obtain pre-saved configuration information after PCIE port is initialized
  • the identification acquisition module is used to acquire the identification information of the adapter card corresponding to the current external card
  • the width determining module is used to determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
  • the configuration obtaining module includes:
  • the information obtaining unit is configured to obtain the configuration information pre-saved in the BMC through the I2C interface.
  • the configuration information is the current identification information and corresponding width information of the riser card recorded by the BMC to the buffer space after the riser card is connected to the BMC through a GPIO.
  • the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
  • an electronic device including:
  • Memory used to store computer programs
  • the processor is configured to implement the PCIE width automatic adaptation method described in any one of the foregoing disclosures when executing the computer program.
  • the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program described in any of the foregoing disclosures PCIE width automatic adaptation method.
  • the PCIE width automatic adaptation method includes: obtaining the pre-saved configuration information after the PCIE port is initialized; obtaining the identification information of the adapter card corresponding to the current external card; determining the Configure the width information corresponding to the identification information in the information, and configure the width of the PCIE at the host side according to the width information.
  • This application saves the identification information and the corresponding width information in advance. After the current host is connected to the riser card corresponding to the external card, the identification information of the riser card is used to determine the corresponding width information, thereby configuring the corresponding width for the host-side PCIE , Realize the automatic adaptation of PCIE width.
  • This application also discloses a PCIE width automatic adaptation device, an electronic device and a computer-readable storage medium, which can also achieve the above technical effects.
  • FIG. 1 is a flowchart of a PCIE width automatic adaptation method disclosed in an embodiment of the application
  • FIG. 3 is a structural diagram of a PCIE width automatic adaptation device disclosed in an embodiment of the application.
  • FIG. 5 is a structural diagram of another electronic device disclosed in an embodiment of the application.
  • the maximum link width of a PCIE port is x16.
  • one x16 can be divided into 2 x8 or 4 x4. These configurations are generally pre-allocated by the BIOS. If the configuration is x4, the maximum width of the card link is limited to x4, and there are certain restrictions on the cards connected later.
  • FIG. 1 a flowchart of a PCIE width automatic adaptation method disclosed in an embodiment of the present application, as shown in FIG. 1, includes:
  • the BIOS is configured as 4 x4 by default, and after the PCIE port is initialized, the pre-saved configuration information for configuring the PCIE width of the host side is obtained.
  • the adapter card corresponding to the current external card is acquired, and the identification information of the adapter card is determined.
  • S103 Determine the width information corresponding to the identification information in the configuration information, and configure the width of the PCIE on the host side according to the width information.
  • the width information corresponding to the identification information is obtained from the configuration information, so that the width information is used to implement the configuration of the PCIE width on the host side.
  • the x16 PCIE link is configured as 4 x4 by default when routing. After connecting to the external card through the preset riser card, because the identification information of the riser card is different, by distinguishing the width of the riser card , Determine whether to combine two x4s into one x8, or four x4s into one x16 to configure the PCIE width of the host side. After configuration, the host side can be connected with the riser card of the corresponding width.
  • the PCIE width automatic adaptation method includes: obtaining the pre-saved configuration information after the PCIE port is initialized; obtaining the identification information of the adapter card corresponding to the current external card; determining the Configure the width information corresponding to the identification information in the information, and configure the width of the PCIE at the host side according to the width information.
  • This application saves identification information and corresponding width information in advance, after the current host is connected to the riser card corresponding to the external card, the identification information of the riser card is used to determine the corresponding width information, thereby configuring the corresponding width for the host-side PCIE , Realize the automatic adaptation of PCIE width.
  • the embodiment of the application discloses a PCIE width automatic adaptation method. Compared with the previous embodiment, this embodiment further explains the technical solution. specific:
  • FIG. 2 a flowchart of another PCIE width automatic adaptation method provided by an embodiment of the present application, as shown in FIG. 2, includes:
  • the BIOS is used to obtain the configuration information in the BMC through the unified I2C interface after the PCIE port is initialized, so as to initialize according to the configuration information.
  • the configuration information is information pre-saved in the BMC for configuring the PCIE width of the host.
  • the configuration information may be that after the riser card is connected to the GPIO of the BMC, the BMC records the current riser card information in the buffer space, and the current riser card information includes identification information and corresponding width information.
  • the configuration information may also be information that the BMC generates corresponding configuration information according to the editing instructions after the user inputs the editing instructions for the configuration information through the preset input interface, and saves the information in the BMC memory space.
  • S203 Determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
  • the width to be configured can be determined according to the identification information of the current riser card. For example, if the identification information of the current adapter card is identified as 00, 00, 00, 00, keep the default setting, which is 4 x4; if the identification information of the current adapter card is identified as 11, 00, 00, the The PCIE width of the host side is configured as x8, x4, x4; if the identification information of the current riser card is identified as 00, 00, 11, the width of the host side PCIE is configured as x4, x4, x8; if the current adapter is identified If the identification information of the interface card is 11, 11, the width of the host side PCIE is configured as x8, x8; if the identification information of the current riser card is identified as 33, the width of the host side PCIE is configured as x16.
  • PCIE width automatic adaptation device provided by an embodiment of the present application.
  • the PCIE width automatic adaptation device described below and the PCIE width automatic adaptation method described above may refer to each other.
  • FIG. 3 a structural diagram of a PCIE width automatic adaptation device provided by an embodiment of the present application, as shown in FIG. 3, includes:
  • the configuration obtaining module 100 is used to obtain pre-saved configuration information after the PCIE port is initialized;
  • the identification acquisition module 200 is used to acquire identification information of the adapter card corresponding to the current external card;
  • the width determining module 300 is configured to determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
  • the configuration acquisition module may specifically include:
  • the information obtaining unit is configured to obtain the configuration information pre-saved in the BMC through the I2C interface.
  • the configuration information is that after the riser card is connected to the BMC via GPIO, the current transfer recorded by the BMC to the buffer space is The identification information of the receiving card and the corresponding width information.
  • the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
  • FIG. 4 a structural diagram of an electronic device provided by an embodiment of the application, as shown in FIG. 4, includes:
  • the memory 11 is used to store computer programs
  • the processor 12 is configured to implement the steps of any PCIE width automatic adaptation method disclosed above when executing the computer program.
  • the memory 11 includes a non-volatile storage medium and an internal memory.
  • the non-volatile storage medium stores an operating system and computer-readable instructions
  • the internal memory provides an environment for running the operating system and the computer-readable instructions in the non-volatile storage medium.
  • the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor or other data processing chip, which provides computing and control capabilities for electronic devices, and executes the When the computer program is stored in the memory 11, the following steps can be implemented:
  • the PCIE port After the PCIE port is initialized, obtain the pre-saved configuration information; obtain the identification information of the adapter card corresponding to the current external card; determine the width information corresponding to the identification information in the configuration information, and configure according to the width information The width of the PCIE on the host side.
  • processor 12 executes the computer subprogram stored in the memory 11, the following steps may be implemented:
  • the electronic device further includes:
  • the input interface 13 is connected to the processor 12 and is used to obtain externally imported computer programs, parameters, and instructions, and store them in the memory 11 under the control of the processor 12.
  • the input interface 13 can be connected to an input device to receive parameters or instructions manually input by the user.
  • the input device may be a touch layer covered on the display screen, a button, a trackball, or a touch pad provided on the terminal housing, or a keyboard, a touch pad, or a mouse.
  • the display unit 14 is connected to the processor 12 and is used for displaying data processed by the processor 12 and for displaying a visualized user interface.
  • the display unit 14 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
  • the network port 15 is connected to the processor 12 and is used to communicate with external terminal devices.
  • the communication technology used in the communication connection can be wired communication technology or wireless communication technology, such as mobile high-definition link technology (MHL), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s, etc.
  • FIG. 5 only shows the electronic device with components 11-15. Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation on the electronic device, and may include fewer or more components than shown. Components, or combination of certain components, or different component arrangements.
  • This application also provides a computer-readable storage medium, which may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic Various media that can store program codes, such as discs or CDs.
  • the storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
  • the PCIE port After the PCIE port is initialized, obtain the pre-saved configuration information; obtain the identification information of the adapter card corresponding to the current external card; determine the width information corresponding to the identification information in the configuration information, and configure according to the width information The width of the PCIE on the host side.
  • the configuration information pre-saved in the BMC is obtained through the I2C interface.
  • the PCIE width automatic adaptation method includes: obtaining the pre-saved configuration information after the PCIE port is initialized; obtaining the identification information of the adapter card corresponding to the current external card; determining the Configure the width information corresponding to the identification information in the information, and configure the width of the PCIE at the host side according to the width information.
  • This application saves identification information and corresponding width information in advance, after the current host is connected to the riser card corresponding to the external card, the identification information of the riser card is used to determine the corresponding width information, thereby configuring the corresponding width for the host-side PCIE , Realize the automatic adaptation of PCIE width.

Abstract

A method and device for automatically adapting the link width of a PCIE port, an electronic apparatus and a computer readable storage medium. The method comprises: after a PCIE port has been initialized, acquiring pre-stored configuration information; acquiring identifier information of an adapter card corresponding to a current expansion card; and determining, from the configuration information, link width information corresponding to the identifier information, and configuring the link width of a host-end PCIE port according to the link width information. In the present invention, identifier information and corresponding link width information are pre-stored, such that after a current host end has been connected to an adapter card corresponding to an expansion card, identifier information of the adapter card can be used to determine corresponding link width information, thereby configuring a corresponding link width for a host-end PCIE port. The invention enables the link width of a PCIE port to be adapted automatically.

Description

PCIE宽度自动适配方法、装置及电子设备和存储介质PCIE width automatic adaptation method, device, electronic equipment and storage medium
本申请要求于2019年04月11日提交中国专利局、申请号为201910290903.0、发明名称为“PCIE宽度自动适配方法、装置及电子设备和存储介质”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the Chinese Patent Office on April 11, 2019, the application number is 201910290903.0, and the invention title is "PCIE width automatic adaptation method, device, electronic equipment and storage medium", and its entire content Incorporated in this application by reference.
技术领域Technical field
本发明涉及计算机技术领域,特别涉及一种PCIE宽度自动适配方法、装置及一种电子设备和一种计算机可读存储介质。The present invention relates to the field of computer technology, in particular to a PCIE width automatic adaptation method and device, an electronic device and a computer-readable storage medium.
背景技术Background technique
基于Intel x86架构的设计,一个PCIE port最大的链路宽度为x16,其中,一个x16又可以分为2个x8或4个x4,这些配置一般都是BIOS预先分配的,如果配置为x4,则限定了卡link的最大宽度为x4,对后期所接的卡存在一定的限制。Based on the design of Intel x86 architecture, the maximum link width of a PCIE port is x16. One x16 can be divided into 2 x8 or 4 x4. These configurations are generally pre-allocated by BIOS. If the configuration is x4, The maximum width of the card link is limited to x4, and there are certain restrictions on the cards connected later.
因此,如何解决上述问题是本领域技术人员需要重点关注的。Therefore, how to solve the above-mentioned problems is the focus of those skilled in the art.
发明内容Summary of the invention
本申请的目的在于提供一种PCIE宽度自动适配方法、装置及一种电子设备和一种计算机可读存储介质,实现了PCIE宽度的自动适配。The purpose of this application is to provide a PCIE width automatic adaptation method and device, an electronic device, and a computer-readable storage medium, so as to realize the automatic PCIE width adaptation.
为实现上述目的,本申请提供了一种PCIE宽度自动适配方法,包括:To achieve the above objective, the present application provides a PCIE width automatic adaptation method, including:
在PCIE port初始化后,获取预先保存的配置信息;After PCIE port is initialized, obtain the pre-saved configuration information;
获取与当前外接卡对应的转接卡的标识信息;Obtain the identification information of the adapter card corresponding to the current external card;
确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。Determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
可选的,所述获取预先保存的配置信息,包括:Optionally, the obtaining pre-saved configuration information includes:
通过I2C接口获取BMC中预先保存的所述配置信息。The configuration information pre-saved in the BMC is obtained through the I2C interface.
可选的,所述配置信息为所述转接卡通过GPIO连接到所述BMC后,由所述BMC记录至缓存空间的当前所述转接卡的标识信息和对应的宽度 信息。Optionally, the configuration information is the current identification information of the riser card and corresponding width information recorded by the BMC to the buffer space after the riser card is connected to the BMC through a GPIO.
可选的,所述配置信息为所述BMC通过预设输入接口接收到编辑指令后,根据所述编辑指令生成并保存的信息。Optionally, the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
为实现上述目的,本申请提供了一种PCIE宽度自动适配装置,包括:To achieve the above objective, this application provides a PCIE width automatic adaptation device, including:
配置获取模块,用于在PCIE port初始化后,获取预先保存的配置信息;Configuration obtaining module, used to obtain pre-saved configuration information after PCIE port is initialized;
标识获取模块,用于获取与当前外接卡对应的转接卡的标识信息;The identification acquisition module is used to acquire the identification information of the adapter card corresponding to the current external card;
宽度确定模块,用于确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。The width determining module is used to determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
可选的,所述配置获取模块,包括:Optionally, the configuration obtaining module includes:
信息获取单元,用于通过I2C接口获取BMC中预先保存的所述配置信息。The information obtaining unit is configured to obtain the configuration information pre-saved in the BMC through the I2C interface.
可选的,所述配置信息为所述转接卡通过GPIO连接到所述BMC后,由所述BMC记录至缓存空间的当前所述转接卡的标识信息和对应的宽度信息。Optionally, the configuration information is the current identification information and corresponding width information of the riser card recorded by the BMC to the buffer space after the riser card is connected to the BMC through a GPIO.
可选的,所述配置信息为所述BMC通过预设输入接口接收到编辑指令后,根据所述编辑指令生成并保存的信息。Optionally, the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
为实现上述目的,本申请提供了一种电子设备,包括:In order to achieve the above objective, this application provides an electronic device, including:
存储器,用于存储计算机程序;Memory, used to store computer programs;
处理器,用于执行所述计算机程序时实现如前述公开的任一项所述的PCIE宽度自动适配方法。The processor is configured to implement the PCIE width automatic adaptation method described in any one of the foregoing disclosures when executing the computer program.
为实现上述目的,本申请提供了一种计算机可读存储介质,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如前述公开的任一项所述的PCIE宽度自动适配方法。In order to achieve the above objective, the present application provides a computer-readable storage medium having a computer program stored on the computer-readable storage medium, and when the computer program is executed by a processor, the computer program described in any of the foregoing disclosures PCIE width automatic adaptation method.
通过以上方案可知,本申请提供的一种PCIE宽度自动适配方法,包括:在PCIE port初始化后,获取预先保存的配置信息;获取与当前外接卡对应的转接卡的标识信息;确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。本申请通过预先保存标识信息以及对应的宽度信息,在当前主机端连接到外接卡对应的转接卡后,利用转接卡的标识信息确定对应的宽度信息,从而为主机端PCIE 配置相应的宽度,实现PCIE宽度的自动适配。本申请还公开了一种PCIE宽度自动适配装置及一种电子设备和一种计算机可读存储介质,同样能实现上述技术效果。It can be seen from the above solution that the PCIE width automatic adaptation method provided by this application includes: obtaining the pre-saved configuration information after the PCIE port is initialized; obtaining the identification information of the adapter card corresponding to the current external card; determining the Configure the width information corresponding to the identification information in the information, and configure the width of the PCIE at the host side according to the width information. This application saves the identification information and the corresponding width information in advance. After the current host is connected to the riser card corresponding to the external card, the identification information of the riser card is used to determine the corresponding width information, thereby configuring the corresponding width for the host-side PCIE , Realize the automatic adaptation of PCIE width. This application also discloses a PCIE width automatic adaptation device, an electronic device and a computer-readable storage medium, which can also achieve the above technical effects.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性的,并不能限制本申请。It should be understood that the above general description and the following detailed description are only exemplary and cannot limit the application.
附图说明Description of the drawings
为了更清楚地说明本申请实施例或现有技术中的技术方案,下面将对实施例或现有技术描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to more clearly describe the technical solutions in the embodiments of the present application or the prior art, the following will briefly introduce the drawings that need to be used in the description of the embodiments or the prior art. Obviously, the drawings in the following description are only These are some embodiments of the present application. For those of ordinary skill in the art, other drawings can be obtained based on these drawings without creative work.
图1为本申请实施例公开的一种PCIE宽度自动适配方法的流程图;FIG. 1 is a flowchart of a PCIE width automatic adaptation method disclosed in an embodiment of the application;
图2为本申请实施例公开的另一种PCIE宽度自动适配方法的流程图;2 is a flowchart of another PCIE width automatic adaptation method disclosed in an embodiment of the application;
图3为本申请实施例公开的一种PCIE宽度自动适配装置的结构图;FIG. 3 is a structural diagram of a PCIE width automatic adaptation device disclosed in an embodiment of the application;
图4为本申请实施例公开的一种电子设备的结构图;4 is a structural diagram of an electronic device disclosed in an embodiment of the application;
图5为本申请实施例公开的另一种电子设备的结构图。FIG. 5 is a structural diagram of another electronic device disclosed in an embodiment of the application.
具体实施方式detailed description
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all of the embodiments. Based on the embodiments in this application, all other embodiments obtained by those of ordinary skill in the art without creative work fall within the protection scope of this application.
在现有技术中,基于Intel x86架构的设计,一个PCIE port最大的链路宽度为x16,其中,一个x16又可以分为2个x8或4个x4,这些配置一般都是BIOS预先分配的,如果配置为x4,则限定了卡link的最大宽度为x4,对后期所接的卡存在一定的限制。In the prior art, based on the Intel x86 architecture design, the maximum link width of a PCIE port is x16. Among them, one x16 can be divided into 2 x8 or 4 x4. These configurations are generally pre-allocated by the BIOS. If the configuration is x4, the maximum width of the card link is limited to x4, and there are certain restrictions on the cards connected later.
因此,本申请实施例公开了一种PCIE宽度自动适配方法,参见图1,本申请实施例公开的一种PCIE宽度自动适配方法的流程图,如图1所示,包括:Therefore, an embodiment of the present application discloses a PCIE width automatic adaptation method. Referring to FIG. 1, a flowchart of a PCIE width automatic adaptation method disclosed in an embodiment of the present application, as shown in FIG. 1, includes:
S101:在PCIE port初始化后,获取预先保存的配置信息;S101: After the PCIE port is initialized, obtain the pre-saved configuration information;
本实施例中,BIOS默认配置为4个x4,在PCIE port初始化后,获取预先保存的用于配置主机端PCIE宽度的配置信息。In this embodiment, the BIOS is configured as 4 x4 by default, and after the PCIE port is initialized, the pre-saved configuration information for configuring the PCIE width of the host side is obtained.
S102:获取与当前外接卡对应的转接卡的标识信息;S102: Obtain identification information of the adapter card corresponding to the current external card;
进一步地,获取当前外接卡对应的转接卡,并确定转接卡的标识信息。Further, the adapter card corresponding to the current external card is acquired, and the identification information of the adapter card is determined.
S103:确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。S103: Determine the width information corresponding to the identification information in the configuration information, and configure the width of the PCIE on the host side according to the width information.
本步骤中,从配置信息中获取与标识信息对应的宽度信息,从而利用宽度信息实现主机端PCIE宽度的配置。In this step, the width information corresponding to the identification information is obtained from the configuration information, so that the width information is used to implement the configuration of the PCIE width on the host side.
可以理解的是,x16的PCIE链路在走线时默认配置为4个x4,在通过预设转接卡连接到外接卡后,由于转接卡的标识信息不同,通过区分转接卡的宽度,确定是否将两个x4合成一个x8,或将4个x4合成一个x16,来配置主机端PCIE宽度,在配置后,主机端即可以与相应宽度的转接卡进行连接。It is understandable that the x16 PCIE link is configured as 4 x4 by default when routing. After connecting to the external card through the preset riser card, because the identification information of the riser card is different, by distinguishing the width of the riser card , Determine whether to combine two x4s into one x8, or four x4s into one x16 to configure the PCIE width of the host side. After configuration, the host side can be connected with the riser card of the corresponding width.
通过以上方案可知,本申请提供的一种PCIE宽度自动适配方法,包括:在PCIE port初始化后,获取预先保存的配置信息;获取与当前外接卡对应的转接卡的标识信息;确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。本申请通过预先保存标识信息以及对应的宽度信息,在当前主机端连接到外接卡对应的转接卡后,利用转接卡的标识信息确定对应的宽度信息,从而为主机端PCIE配置相应的宽度,实现PCIE宽度的自动适配。It can be seen from the above solution that the PCIE width automatic adaptation method provided by this application includes: obtaining the pre-saved configuration information after the PCIE port is initialized; obtaining the identification information of the adapter card corresponding to the current external card; determining the Configure the width information corresponding to the identification information in the information, and configure the width of the PCIE at the host side according to the width information. This application saves identification information and corresponding width information in advance, after the current host is connected to the riser card corresponding to the external card, the identification information of the riser card is used to determine the corresponding width information, thereby configuring the corresponding width for the host-side PCIE , Realize the automatic adaptation of PCIE width.
本申请实施例公开了一种PCIE宽度自动适配方法,相对于上一实施例,本实施例对技术方案作了进一步的说明。具体的:The embodiment of the application discloses a PCIE width automatic adaptation method. Compared with the previous embodiment, this embodiment further explains the technical solution. specific:
参见图2,本申请实施例提供的另一种PCIE宽度自动适配方法的流程图,如图2所示,包括:Referring to FIG. 2, a flowchart of another PCIE width automatic adaptation method provided by an embodiment of the present application, as shown in FIG. 2, includes:
S201:在PCIE port初始化后,通过I2C接口获取BMC中预先保存的配置信息;S201: After the PCIE port is initialized, obtain the pre-saved configuration information in the BMC through the I2C interface;
本步骤中,在BIOS启动后,利用BIOS在PCIE port初始化后通过统一的I2C接口获取BMC中的配置信息,以根据配置信息进行初始化。In this step, after the BIOS is started, the BIOS is used to obtain the configuration information in the BMC through the unified I2C interface after the PCIE port is initialized, so as to initialize according to the configuration information.
可以理解的是,配置信息为预先保存至BMC中的用于配置主机PCIE宽度的信息。具体地,配置信息可以为在转接卡连接到BMC的GPIO后,BMC将当前转接卡的信息记录至缓存空间中,当前转接卡的信息包括标识信息以及对应的宽度信息。It can be understood that the configuration information is information pre-saved in the BMC for configuring the PCIE width of the host. Specifically, the configuration information may be that after the riser card is connected to the GPIO of the BMC, the BMC records the current riser card information in the buffer space, and the current riser card information includes identification information and corresponding width information.
另外,配置信息也可以为用户通过预设输入接口输入对配置信息的编辑指令后,由BMC根据编辑指令生成相应的配置信息,并保存至BMC内存空间的信息。In addition, the configuration information may also be information that the BMC generates corresponding configuration information according to the editing instructions after the user inputs the editing instructions for the configuration information through the preset input interface, and saves the information in the BMC memory space.
S202:获取与当前外接卡对应的转接卡的标识信息;S202: Obtain identification information of the adapter card corresponding to the current external card;
S203:确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。S203: Determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
在具体实施中,可以为根据当前转接卡的标识信息确定需要配置的宽度。例如,若识别到当前转接卡的标识信息为00、00、00、00,则保持默认设置,即4个x4;若识别到当前转接卡的标识信息为11、00、00,则将主机端PCIE的宽度配置为x8、x4、x4;若识别到当前转接卡的标识信息为00、00、11,则将主机端PCIE的宽度配置为x4、x4、x8;若识别到当前转接卡的标识信息为11、11,则将主机端PCIE的宽度配置为x8、x8;若识别到当前转接卡的标识信息为33,则将主机端PCIE的宽度配置为x16。In specific implementation, the width to be configured can be determined according to the identification information of the current riser card. For example, if the identification information of the current adapter card is identified as 00, 00, 00, 00, keep the default setting, which is 4 x4; if the identification information of the current adapter card is identified as 11, 00, 00, the The PCIE width of the host side is configured as x8, x4, x4; if the identification information of the current riser card is identified as 00, 00, 11, the width of the host side PCIE is configured as x4, x4, x8; if the current adapter is identified If the identification information of the interface card is 11, 11, the width of the host side PCIE is configured as x8, x8; if the identification information of the current riser card is identified as 33, the width of the host side PCIE is configured as x16.
下面对本申请实施例提供的一种PCIE宽度自动适配装置进行介绍,下文描述的一种PCIE宽度自动适配装置与上文描述的一种PCIE宽度自动适配方法可以相互参照。The following describes a PCIE width automatic adaptation device provided by an embodiment of the present application. The PCIE width automatic adaptation device described below and the PCIE width automatic adaptation method described above may refer to each other.
参见图3,本申请实施例提供的一种PCIE宽度自动适配装置的结构图,如图3所示,包括:Referring to FIG. 3, a structural diagram of a PCIE width automatic adaptation device provided by an embodiment of the present application, as shown in FIG. 3, includes:
配置获取模块100,用于在PCIE port初始化后,获取预先保存的配置 信息;The configuration obtaining module 100 is used to obtain pre-saved configuration information after the PCIE port is initialized;
标识获取模块200,用于获取与当前外接卡对应的转接卡的标识信息;The identification acquisition module 200 is used to acquire identification information of the adapter card corresponding to the current external card;
宽度确定模块300,用于确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。The width determining module 300 is configured to determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
进一步地,在本实施例所提供的PCIE宽度自动适配装置中,所述配置获取模块,可以具体包括:Further, in the PCIE width automatic adaptation device provided in this embodiment, the configuration acquisition module may specifically include:
信息获取单元,用于通过I2C接口获取BMC中预先保存的所述配置信息。The information obtaining unit is configured to obtain the configuration information pre-saved in the BMC through the I2C interface.
进一步地,在本实施例所提供的PCIE宽度自动适配装置中,所述配置信息为所述转接卡通过GPIO连接到所述BMC后,由所述BMC记录至缓存空间的当前所述转接卡的标识信息和对应的宽度信息。Further, in the PCIE width automatic adaptation device provided in this embodiment, the configuration information is that after the riser card is connected to the BMC via GPIO, the current transfer recorded by the BMC to the buffer space is The identification information of the receiving card and the corresponding width information.
进一步地,在本实施例所提供的PCIE宽度自动适配装置中,所述配置信息为所述BMC通过预设输入接口接收到编辑指令后,根据所述编辑指令生成并保存的信息。Further, in the PCIE width automatic adaptation device provided in this embodiment, the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
本申请还提供了一种电子设备,参见图4,本申请实施例提供的一种电子设备的结构图,如图4所示,包括:This application also provides an electronic device. Referring to FIG. 4, a structural diagram of an electronic device provided by an embodiment of the application, as shown in FIG. 4, includes:
存储器11,用于存储计算机程序;The memory 11 is used to store computer programs;
处理器12,用于执行所述计算机程序时可以实现上述公开的任一种PCIE宽度自动适配方法的步骤。The processor 12 is configured to implement the steps of any PCIE width automatic adaptation method disclosed above when executing the computer program.
具体的,存储器11包括非易失性存储介质、内存储器。该非易失性存储介质存储有操作系统和计算机可读指令,该内存储器为非易失性存储介质中的操作系统和计算机可读指令的运行提供环境。处理器12在一些实施例中可以是一中央处理器(Central Processing Unit,CPU)、控制器、微控制器、微处理器或其他数据处理芯片,为电子设备提供计算和控制能力,执行所述存储器11中保存的计算机程序时,可以实现以下步骤:Specifically, the memory 11 includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and computer-readable instructions, and the internal memory provides an environment for running the operating system and the computer-readable instructions in the non-volatile storage medium. In some embodiments, the processor 12 may be a central processing unit (CPU), controller, microcontroller, microprocessor or other data processing chip, which provides computing and control capabilities for electronic devices, and executes the When the computer program is stored in the memory 11, the following steps can be implemented:
在PCIE port初始化后,获取预先保存的配置信息;获取与当前外接卡对应的转接卡的标识信息;确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。After the PCIE port is initialized, obtain the pre-saved configuration information; obtain the identification information of the adapter card corresponding to the current external card; determine the width information corresponding to the identification information in the configuration information, and configure according to the width information The width of the PCIE on the host side.
可选的,所述处理器12执行所述存储器11中保存的计算机子程序时,可以实现以下步骤:Optionally, when the processor 12 executes the computer subprogram stored in the memory 11, the following steps may be implemented:
通过I2C接口获取BMC中预先保存的所述配置信息Obtain the pre-saved configuration information in the BMC through the I2C interface
在上述实施例的基础上,作为优选实施方式,参见图5,所述电子设备还包括:Based on the foregoing embodiment, as a preferred implementation manner, referring to FIG. 5, the electronic device further includes:
输入接口13,与处理器12相连,用于获取外部导入的计算机程序、参数和指令,经处理器12控制保存至存储器11中。该输入接口13可以与输入装置相连,接收用户手动输入的参数或指令。该输入装置可以是显示屏上覆盖的触摸层,也可以是终端外壳上设置的按键、轨迹球或触控板,也可以是键盘、触控板或鼠标等。The input interface 13 is connected to the processor 12 and is used to obtain externally imported computer programs, parameters, and instructions, and store them in the memory 11 under the control of the processor 12. The input interface 13 can be connected to an input device to receive parameters or instructions manually input by the user. The input device may be a touch layer covered on the display screen, a button, a trackball, or a touch pad provided on the terminal housing, or a keyboard, a touch pad, or a mouse.
显示单元14,与处理器12相连,用于显示处理器12处理的数据以及用于显示可视化的用户界面。该显示单元14可以为LED显示器、液晶显示器、触控式液晶显示器以及OLED(Organic Light-Emitting Diode,有机发光二极管)触摸器等。The display unit 14 is connected to the processor 12 and is used for displaying data processed by the processor 12 and for displaying a visualized user interface. The display unit 14 may be an LED display, a liquid crystal display, a touch liquid crystal display, an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc.
网络端口15,与处理器12相连,用于与外部各终端设备进行通信连接。该通信连接所采用的通信技术可以为有线通信技术或无线通信技术,如移动高清链接技术(MHL)、通用串行总线(USB)、高清多媒体接口(HDMI)、无线保真技术(WiFi)、蓝牙通信技术、低功耗蓝牙通信技术、基于IEEE802.11s的通信技术等。The network port 15 is connected to the processor 12 and is used to communicate with external terminal devices. The communication technology used in the communication connection can be wired communication technology or wireless communication technology, such as mobile high-definition link technology (MHL), universal serial bus (USB), high-definition multimedia interface (HDMI), wireless fidelity technology (WiFi), Bluetooth communication technology, low-power Bluetooth communication technology, communication technology based on IEEE802.11s, etc.
图5仅示出了具有组件11-15的电子设备,本领域技术人员可以理解的是,图5示出的结构并不构成对电子设备的限定,可以包括比图示更少或者更多的部件,或者组合某些部件,或者不同的部件布置。FIG. 5 only shows the electronic device with components 11-15. Those skilled in the art can understand that the structure shown in FIG. 5 does not constitute a limitation on the electronic device, and may include fewer or more components than shown. Components, or combination of certain components, or different component arrangements.
本申请还提供了一种计算机可读存储介质,该存储介质可以包括:U盘、移动硬盘、只读存储器(Read-Only Memory,ROM)、随机存取存储器(Random Access Memory,RAM)、磁碟或者光盘等各种可以存储程序代码的介质。该存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现以下步骤:This application also provides a computer-readable storage medium, which may include: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), magnetic Various media that can store program codes, such as discs or CDs. The storage medium stores a computer program, and when the computer program is executed by a processor, the following steps are implemented:
在PCIE port初始化后,获取预先保存的配置信息;获取与当前外接卡对应的转接卡的标识信息;确定所述配置信息中与所述标识信息对应的宽 度信息,并根据所述宽度信息配置主机端PCIE的宽度。After the PCIE port is initialized, obtain the pre-saved configuration information; obtain the identification information of the adapter card corresponding to the current external card; determine the width information corresponding to the identification information in the configuration information, and configure according to the width information The width of the PCIE on the host side.
可选的,所述计算机可读存储介质中存储的计算机子程序被处理器执行时,具体可以实现以下步骤:Optionally, when the computer subprogram stored in the computer-readable storage medium is executed by the processor, the following steps may be specifically implemented:
通过I2C接口获取BMC中预先保存的所述配置信息。The configuration information pre-saved in the BMC is obtained through the I2C interface.
通过以上方案可知,本申请提供的一种PCIE宽度自动适配方法,包括:在PCIE port初始化后,获取预先保存的配置信息;获取与当前外接卡对应的转接卡的标识信息;确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。本申请通过预先保存标识信息以及对应的宽度信息,在当前主机端连接到外接卡对应的转接卡后,利用转接卡的标识信息确定对应的宽度信息,从而为主机端PCIE配置相应的宽度,实现PCIE宽度的自动适配。It can be seen from the above solution that the PCIE width automatic adaptation method provided by this application includes: obtaining the pre-saved configuration information after the PCIE port is initialized; obtaining the identification information of the adapter card corresponding to the current external card; determining the Configure the width information corresponding to the identification information in the information, and configure the width of the PCIE at the host side according to the width information. This application saves identification information and corresponding width information in advance, after the current host is connected to the riser card corresponding to the external card, the identification information of the riser card is used to determine the corresponding width information, thereby configuring the corresponding width for the host-side PCIE , Realize the automatic adaptation of PCIE width.
说明书中各个实施例采用递进的方式描述,每个实施例重点说明的都是与其他实施例的不同之处,各个实施例之间相同相似部分互相参见即可。对于实施例公开的系统而言,由于其与实施例公开的方法相对应,所以描述的比较简单,相关之处参见方法部分说明即可。应当指出,对于本技术领域的普通技术人员来说,在不脱离本申请原理的前提下,还可以对本申请进行若干改进和修饰,这些改进和修饰也落入本申请权利要求的保护范围内。The various embodiments in the specification are described in a progressive manner. Each embodiment focuses on the differences from other embodiments, and the same or similar parts between the various embodiments can be referred to each other. For the system disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant information can be referred to the description of the method part. It should be pointed out that for those of ordinary skill in the art, without departing from the principles of this application, several improvements and modifications can be made to this application, and these improvements and modifications also fall within the protection scope of the claims of this application.
还需要说明的是,在本说明书中,诸如第一和第二等之类的关系术语仅仅用来将一个实体或者操作与另一个实体或操作区分开来,而不一定要求或者暗示这些实体或操作之间存在任何这种实际的关系或者顺序。而且,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、物品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、物品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、物品或者设备中还存在另外的相同要素。It should also be noted that in this specification, relational terms such as first and second are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply these entities or operations. There is any such actual relationship or sequence between operations. Moreover, the terms "include", "include" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article, or device that includes a series of elements includes not only those elements, but also includes Other elements of, or also include elements inherent to this process, method, article or equipment. If there are no more restrictions, the element defined by the sentence "including a..." does not exclude the existence of other same elements in the process, method, article, or equipment including the element.

Claims (10)

  1. 一种PCIE宽度自动适配方法,其特征在于,包括:A PCIE width automatic adaptation method is characterized in that it includes:
    在PCIE port初始化后,获取预先保存的配置信息;After PCIE port is initialized, obtain the pre-saved configuration information;
    获取与当前外接卡对应的转接卡的标识信息;Obtain the identification information of the adapter card corresponding to the current external card;
    确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。Determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
  2. 根据权利要求1所述的PCIE宽度自动适配方法,其特征在于,所述获取预先保存的配置信息,包括:The PCIE width automatic adaptation method according to claim 1, wherein said acquiring pre-saved configuration information comprises:
    通过I2C接口获取BMC中预先保存的所述配置信息。The configuration information pre-saved in the BMC is obtained through the I2C interface.
  3. 根据权利要求2所述的PCIE宽度自动适配方法,其特征在于,所述配置信息为所述转接卡通过GPIO连接到所述BMC后,由所述BMC记录至缓存空间的当前所述转接卡的标识信息和对应的宽度信息。The PCIE width automatic adaptation method according to claim 2, wherein the configuration information is the current conversion recorded by the BMC to the buffer space after the riser card is connected to the BMC through GPIO The identification information of the receiving card and the corresponding width information.
  4. 根据权利要求2所述的PCIE宽度自动适配方法,其特征在于,所述配置信息为所述BMC通过预设输入接口接收到编辑指令后,根据所述编辑指令生成并保存的信息。The PCIE width automatic adaptation method according to claim 2, wherein the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
  5. 一种PCIE宽度自动适配装置,其特征在于,包括:A PCIE width automatic adaptation device is characterized in that it comprises:
    配置获取模块,用于在PCIE port初始化后,获取预先保存的配置信息;Configuration obtaining module, used to obtain pre-saved configuration information after PCIE port is initialized;
    标识获取模块,用于获取与当前外接卡对应的转接卡的标识信息;The identification acquisition module is used to acquire the identification information of the adapter card corresponding to the current external card;
    宽度确定模块,用于确定所述配置信息中与所述标识信息对应的宽度信息,并根据所述宽度信息配置主机端PCIE的宽度。The width determining module is used to determine the width information corresponding to the identification information in the configuration information, and configure the width of the host-side PCIE according to the width information.
  6. 根据权利要求5所述的PCIE宽度自动适配装置,其特征在于,所述配置获取模块,包括:The PCIE width automatic adaptation device according to claim 5, wherein the configuration acquisition module comprises:
    信息获取单元,用于通过I2C接口获取BMC中预先保存的所述配置信息。The information obtaining unit is configured to obtain the configuration information pre-saved in the BMC through the I2C interface.
  7. 根据权利要求6所述的PCIE宽度自动适配装置,其特征在于,所述配置信息为所述转接卡通过GPIO连接到所述BMC后,由所述BMC记录至缓存空间的当前所述转接卡的标识信息和对应的宽度信息。The PCIE width automatic adaptation device according to claim 6, wherein the configuration information is the current transfer recorded by the BMC to the buffer space after the riser card is connected to the BMC via GPIO The identification information of the receiving card and the corresponding width information.
  8. 根据权利要求6所述的PCIE宽度自动适配装置,其特征在于,所述配置信息为所述BMC通过预设输入接口接收到编辑指令后,根据所述 编辑指令生成并保存的信息。The PCIE width automatic adaptation device according to claim 6, wherein the configuration information is information generated and saved according to the editing instruction after the BMC receives an editing instruction through a preset input interface.
  9. 一种电子设备,其特征在于,包括:An electronic device, characterized in that it comprises:
    存储器,用于存储计算机程序;Memory, used to store computer programs;
    处理器,用于执行所述计算机程序时实现如权利要求1至4任一项所述的PCIE宽度自动适配方法。The processor is configured to implement the PCIE width automatic adaptation method according to any one of claims 1 to 4 when executing the computer program.
  10. 一种计算机可读存储介质,其特征在于,所述计算机可读存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至4任一项所述的PCIE宽度自动适配方法。A computer-readable storage medium, wherein a computer program is stored on the computer-readable storage medium, and when the computer program is executed by a processor, the PCIE width automatic Adaptation method.
PCT/CN2019/098499 2019-04-11 2019-07-31 Method and device for automatically adapting link width of pcie port, electronic apparatus and storage medium WO2020206879A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN201910290903.0A CN110008159A (en) 2019-04-11 2019-04-11 PCIE width automatic adaptation method, device and electronic equipment and storage medium
CN201910290903.0 2019-04-11

Publications (1)

Publication Number Publication Date
WO2020206879A1 true WO2020206879A1 (en) 2020-10-15

Family

ID=67171217

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/098499 WO2020206879A1 (en) 2019-04-11 2019-07-31 Method and device for automatically adapting link width of pcie port, electronic apparatus and storage medium

Country Status (2)

Country Link
CN (1) CN110008159A (en)
WO (1) WO2020206879A1 (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110008159A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 PCIE width automatic adaptation method, device and electronic equipment and storage medium
CN112732346A (en) * 2021-01-08 2021-04-30 浪潮商用机器有限公司 Method, device, equipment and medium for setting PCIE (peripheral component interface express) configuration information
CN116737626B (en) * 2023-08-16 2023-11-10 苏州浪潮智能科技有限公司 HCA card control method, system, device, storage medium and electronic device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569806A (en) * 2016-10-24 2017-04-19 郑州云海信息技术有限公司 Method achieving adaptive PCIE bandwidth distribution of BIOS, BIOS and motherboard
CN108762939A (en) * 2018-06-29 2018-11-06 郑州云海信息技术有限公司 A kind of PCIe port resource allocation methods, system and equipment and storage medium
CN109558282A (en) * 2018-12-03 2019-04-02 郑州云海信息技术有限公司 A kind of PCIE chain circuit detecting method, system and electronic equipment and storage medium
CN110008159A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 PCIE width automatic adaptation method, device and electronic equipment and storage medium

Family Cites Families (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7991854B2 (en) * 2004-03-19 2011-08-02 Microsoft Corporation Dynamic session maintenance for mobile computing devices
CN100435125C (en) * 2005-12-20 2008-11-19 英业达股份有限公司 Automatic regulating method and system for bus width
CN100424668C (en) * 2005-12-20 2008-10-08 英业达股份有限公司 Automatic configurating system for PCI-E bus
CN101382925B (en) * 2007-09-03 2011-07-20 英业达股份有限公司 Method for dynamically allocating vertical card chain circuit width
CN102810085A (en) * 2011-06-03 2012-12-05 鸿富锦精密工业(深圳)有限公司 PCI-E expansion system and method
CN104133533A (en) * 2014-08-06 2014-11-05 浪潮(北京)电子信息产业有限公司 Expansion board card system for supporting full-length PCIE
CN104518886A (en) * 2014-12-11 2015-04-15 曙光信息产业(北京)有限公司 Network wakeup method and device of server
CN107590089B (en) * 2016-07-06 2020-09-18 技嘉科技股份有限公司 Method for controlling PCI-E channel by basic input and output system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106569806A (en) * 2016-10-24 2017-04-19 郑州云海信息技术有限公司 Method achieving adaptive PCIE bandwidth distribution of BIOS, BIOS and motherboard
CN108762939A (en) * 2018-06-29 2018-11-06 郑州云海信息技术有限公司 A kind of PCIe port resource allocation methods, system and equipment and storage medium
CN109558282A (en) * 2018-12-03 2019-04-02 郑州云海信息技术有限公司 A kind of PCIE chain circuit detecting method, system and electronic equipment and storage medium
CN110008159A (en) * 2019-04-11 2019-07-12 苏州浪潮智能科技有限公司 PCIE width automatic adaptation method, device and electronic equipment and storage medium

Also Published As

Publication number Publication date
CN110008159A (en) 2019-07-12

Similar Documents

Publication Publication Date Title
US10282192B1 (en) Updating device code through a bus
US10114658B2 (en) Concurrent testing of PCI express devices on a server platform
US10152443B2 (en) System and method for providing personality switching in a solid state drive device
US8862790B2 (en) Method for identifying version type of windows operating system on a host by a USB device
US9804988B1 (en) Device full memory access through standard PCI express bus
US9274940B2 (en) Method and apparatus for allocating memory space with write-combine attribute
US8661306B2 (en) Baseboard management controller and memory error detection method of computing device utilized thereby
US8725909B2 (en) Method for identifying host operating system by universal serial bus (USB) device
US9411990B2 (en) Working method of a multi-slot card reader based on the standard CCID protocol
US8645594B2 (en) Driver-assisted base address register mapping
WO2020206879A1 (en) Method and device for automatically adapting link width of pcie port, electronic apparatus and storage medium
JP2015501048A5 (en)
US9098640B2 (en) Controller, electronic equipment unit, and USB device control method
US7921230B2 (en) USB devices pre-configuration for KVM switch
CN112463662B (en) Method and terminal for user mode control of I2C equipment
CN102890634B (en) The method of the operating system of terminal device and startup terminal device
US10635450B2 (en) Electronic device performing booting operation based on boot-up instruction provided from endpoint device
US9189351B2 (en) Method of obtaining instruction for triggering function
KR102116096B1 (en) Multisystem, and method of booting the same
US20140006645A1 (en) Emulated keyboard controller and embedded controller interface via an interconnect interface
US11341076B2 (en) Hot-plugged PCIe device configuration system
US10572671B2 (en) Checking method, checking system and checking device for processor security
TWI684114B (en) Configuration method and system of general purpose input/output
US8656148B2 (en) Device information collecting method and system in computer system
US10114656B2 (en) Electronic device supporting different firmware functions and operation method thereof

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19924375

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19924375

Country of ref document: EP

Kind code of ref document: A1