CN112306947A - Topology switching method, device and equipment - Google Patents

Topology switching method, device and equipment Download PDF

Info

Publication number
CN112306947A
CN112306947A CN202011224678.XA CN202011224678A CN112306947A CN 112306947 A CN112306947 A CN 112306947A CN 202011224678 A CN202011224678 A CN 202011224678A CN 112306947 A CN112306947 A CN 112306947A
Authority
CN
China
Prior art keywords
topology
switching
computing unit
equipment
configuration data
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.)
Pending
Application number
CN202011224678.XA
Other languages
Chinese (zh)
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.)
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Original Assignee
Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center 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 Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd filed Critical Shandong Yunhai Guochuang Cloud Computing Equipment Industry Innovation Center Co Ltd
Priority to CN202011224678.XA priority Critical patent/CN112306947A/en
Publication of CN112306947A publication Critical patent/CN112306947A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F15/00Digital computers in general; Data processing equipment in general
    • G06F15/16Combinations of two or more digital computers each having at least an arithmetic unit, a program unit and a register, e.g. for a simultaneous processing of several programs
    • G06F15/163Interprocessor communication
    • G06F15/173Interprocessor communication using an interconnection network, e.g. matrix, shuffle, pyramid, star, snowflake
    • G06F15/17356Indirect interconnection networks
    • G06F15/17368Indirect interconnection networks non hierarchical topologies
    • G06F15/17375One dimensional, e.g. linear array, ring

Abstract

The invention discloses a topology switching method, which considers that the interface attribute (such as availability and uplink and downlink states) of each interface of an equipment switching chip can be configured, therefore, cables corresponding to all topologies to be configured are connected between a computing unit and equipment switching chips respectively corresponding to a plurality of extended equipment arrays in advance, namely, physical channels required by all the topologies to be configured are provided, then the interface attribute of each interface of the equipment switching chip can be controlled through preset interface configuration data, the original topology is switched to an appointed topology, and finally the appointed topology can be enabled to take effect through restarting. The invention also discloses a topology switching device and equipment, which have the same beneficial effects as the topology switching method.

Description

Topology switching method, device and equipment
Technical Field
The invention relates to the field of computer equipment, in particular to a topology switching method, a topology switching device and equipment.
Background
With the development of big data, servers have been widely applied in various fields, a computing unit (CPU array) in a server is usually connected with a plurality of expansion device arrays, such as an accelerator card array or a memory array, to implement different expansion functions, and the computing unit and the expansion device arrays may have a plurality of different topology structures to meet different requirements, and a user may have a need to change the topology between the computing unit and the expansion device arrays under some circumstances, however, a technician usually only can open a cabinet cover and change the topology by manually changing a wiring manner, which results in poor labor cost and low work efficiency.
Therefore, how to provide a solution to the above technical problem is a problem that needs to be solved by those skilled in the art.
Disclosure of Invention
The invention aims to provide a topology switching method, which can automatically realize the switching of the topology, reduce the labor cost and improve the working efficiency; another object of the present invention is to provide a topology switching apparatus and device, which can automatically implement topology switching, reduce labor cost and improve work efficiency.
In order to solve the above technical problem, the present invention provides a topology switching method, applied to a processor, including:
responding to a topology selection instruction, and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction;
sending the preset interface configuration data to an equipment switching chip corresponding to the preset interface configuration data between the computing unit and the plurality of expanded equipment arrays, so as to switch the original topology to the specified topology by controlling the interface attribute of each interface of the equipment switching chip;
responding to a restart instruction, and controlling the computer equipment where the computing unit is located to restart so that the computing unit works based on the specified topology;
cables corresponding to all to-be-configured topologies are connected between the computing unit and the device switching chips corresponding to the plurality of expanded device arrays.
Preferably, the step of responding to the topology selection instruction and acquiring preset interface configuration data corresponding to the specified topology in the selection instruction specifically includes:
responding to a topology selection instruction sent by a baseboard management controller BMC or a basic input output system BIOS, and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction.
Preferably, after the preset interface configuration data is sent to the device switching chip between the computing unit and the plurality of expanded device arrays, where the device switching chip corresponds to the preset interface configuration data, the topology switching method further includes:
and controlling the prompter to prompt that the restarting is needed.
Preferably, the prompter is a display.
Preferably, the sending of the preset interface configuration data to the device switching chip between the computing unit and the plurality of expanded device arrays, which corresponds to the preset interface configuration data, specifically includes:
and sending the preset interface configuration data to a configurable register of an equipment switching chip between the computing unit and the plurality of expanded equipment arrays, wherein the configurable register corresponds to the preset interface configuration data.
Preferably, the device switching chip is a Switch chip.
Preferably, the expansion device is a vision processor GPU or a memory.
Preferably, the connection between the computing unit and the device switching chip corresponding to each of the plurality of expansion device arrays and the cables corresponding to all topologies to be configured specifically is:
when the topology to be configured comprises a Balance topology and a Cascade topology, the CPUs in the computing unit are connected with the equipment switching chips in a one-to-one correspondence mode, and the equipment switching chips are connected in series;
when the topology to be configured comprises a Balance topology and a Common topology, each CPU in the computing unit is respectively connected with one device switching chip, and all the device switching chips are connected with the same CPU;
when the topology to be configured comprises a Cascade topology and a Common topology, all the equipment switching chips are connected with the same CPU, and all the equipment switching chips are connected in series;
when the topology to be configured includes a Balance topology, a Cascade topology, and a Common topology, the CPUs in the computing unit are connected to the device switching chips in a one-to-one correspondence manner, the device switching chips are connected in series, and all the device switching chips are connected to the same CPU.
In order to solve the above technical problem, the present invention further provides a topology switching apparatus, applied to a processor, including:
the acquisition module is used for responding to a topology selection instruction and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction;
the sending module is used for sending the preset interface configuration data to an equipment switching chip between the computing unit and the plurality of expanded equipment arrays, wherein the equipment switching chip corresponds to the preset interface configuration data, so that the original topology is switched to the specified topology by controlling the interface attribute of each interface of the equipment switching chip;
the control module is used for responding to a restart instruction and controlling the computer equipment where the computing unit is located to restart so that the computing unit can work based on the specified topology;
cables corresponding to all to-be-configured topologies are connected between the computing unit and the device switching chips corresponding to the plurality of expanded device arrays.
In order to solve the above technical problem, the present invention further provides a topology switching device, including:
a memory for storing a computer program;
a processor for implementing the steps of the topology switching method as described in any of the above when executing the computer program.
The invention provides a topology switching method, considering that interface attributes (such as availability and uplink and downlink states) of each interface of an equipment switching chip can be configured, cables corresponding to all topologies to be configured are connected between a computing unit and equipment switching chips respectively corresponding to a plurality of extended equipment arrays in advance, namely, physical channels required for realizing all the topologies to be configured are provided, then the interface attributes of each interface of the equipment switching chip can be controlled through preset interface configuration data, so that the original topology is switched to an appointed topology, and finally the appointed topology can be enabled to take effect through restarting.
The invention also provides a topology switching device and equipment, which have the same beneficial effects as the topology switching method.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings needed in the prior art and the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings without creative efforts.
Fig. 1 is a schematic flowchart of a topology switching method according to the present invention;
FIG. 2 is a schematic structural diagram of a Balance topology provided by the present invention;
FIG. 3 is a schematic structural diagram of a Cascade topology provided by the present invention;
FIG. 4 is a schematic structural diagram of a Common topology according to the present invention;
fig. 5 is a schematic connection diagram of a cable when a topology to be configured includes a Balance topology and a Cascade topology according to the present invention;
fig. 6 is a schematic diagram of cable connection when a topology to be configured includes a Balance topology and a Common topology according to the present invention;
fig. 7 is a schematic diagram of cable connection when the topology to be configured includes a Cascade topology and a Common topology according to the present invention;
fig. 8 is a schematic diagram of cable connection when the topology to be configured includes a Balance topology, a Cascade topology, and a Common topology according to the present invention;
fig. 9 is a schematic structural diagram of a topology switching apparatus according to the present invention;
fig. 10 is a schematic structural diagram of a topology switching device provided in the present invention.
Detailed Description
The core of the invention is to provide a topology switching method, which can automatically realize the switching of the topology, reduce the labor cost and improve the working efficiency; the other core of the invention is to provide a topology switching device and equipment, which can automatically realize the switching of the topology, reduce the labor cost and improve the working efficiency.
In order to make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, but not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
Referring to fig. 1, fig. 1 is a schematic flow chart of a topology switching method provided in the present invention, where the topology switching method includes:
step S1: responding to a topology selection instruction, and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction;
specifically, in view of the technical problems in the background art, it is also considered that each interface of the device switching chip for connecting the computing unit and the expanded device array may be actively configured, so that cables corresponding to all the topologies to be configured may be connected in advance between the computing unit and the device switching chips corresponding to the multiple expanded device arrays, that is, all the topologies to be configured may be implemented by the cables, but only one topology may be applied at the same time, so that configuration may be performed by the interface attribute of each interface of each device switching chip, thereby implementing a specified topology in the topologies to be configured.
The topology selection instruction may be automatically generated by the system according to the self requirement, or may be sent manually, and the embodiment of the present invention is not limited herein.
Specifically, interface configuration data may be preset in the present application, and then, in response to the topology selection instruction, preset interface configuration data corresponding to the specified topology in the selection instruction may be called, and may be used as a data basis in the subsequent step to perform interface configuration of the device switching chip.
The storage location of the preset interface configuration data may be various, and the embodiment of the present invention is not limited herein.
Step S2: sending the preset interface configuration data to an equipment switching chip between the computing unit and the plurality of expanded equipment arrays, wherein the equipment switching chip corresponds to the preset interface configuration data, so that the original topology is switched to the specified topology by controlling the interface attribute of each interface of the equipment switching chip;
specifically, the device switch chip has configuration files for determining the uplink, downlink and unavailable attributes of each interface, which are usually designed in non-changeable registers, but may require manufacturers to design the configuration files in configurable registers, so that the preset interface configuration data obtained in the foregoing steps can be burned into the configurable registers of the device switch chip, thereby implementing the configuration of the interface attributes of each interface of the device switch chip.
Specifically, the computing unit and the plurality of expanded device arrays may be connected through device switching chips, the device switching chips are connected to the expanded device arrays in a one-to-one correspondence manner, then each device switching chip is connected to a CPU in the computing unit through a cable, and the topology between the computing unit and the expanded device arrays may also be regarded as the topology between the computing unit and the device switching chips.
In which the number of CPUs in the computing unit is at least one, and the number of expansion device arrays is at least two, so that a so-called topology can be formed.
Step S3: responding to a restart instruction, controlling the computer equipment where the computing unit is located to restart so that the computing unit works based on the specified topology;
cables corresponding to all to-be-configured topologies are connected between the computing unit and the device switching chips corresponding to the multiple expanded device arrays.
Specifically, after the attributes of each interface in the device switching chip are configured based on the pre-connected physical cable and in combination with the preset interface configuration data, if the computing unit is required to operate based on the changed specified topology, the computing unit needs to be restarted so that the computing unit can know the current specified topology and operate normally.
The restart instruction may be automatically generated by the system or may be actively issued by the user, which is not limited in this embodiment of the present invention.
The computer device may be of various types, for example, may be of various types of servers, and the embodiment of the present invention is not limited herein.
The invention provides a topology switching method, considering that interface attributes (such as availability and uplink and downlink states) of each interface of an equipment switching chip can be configured, cables corresponding to all topologies to be configured are connected between a computing unit and equipment switching chips respectively corresponding to a plurality of extended equipment arrays in advance, namely, physical channels required for realizing all the topologies to be configured are provided, then the interface attributes of each interface of the equipment switching chip can be controlled through preset interface configuration data, so that the original topology is switched to an appointed topology, and finally the appointed topology can be enabled to take effect through restarting.
On the basis of the above-described embodiment:
as a preferred embodiment, in response to the topology selection instruction, the acquiring of the preset interface configuration data corresponding to the specified topology in the selection instruction specifically includes:
in response to a topology selection instruction sent by a BMC (Baseboard Management Controller) or a BIOS (Basic Input Output System), preset interface configuration data corresponding to a designated topology in the selection instruction is acquired.
Specifically, the user can actively send a selection instruction including a specified topology through the BMC interface or the BIOS interface, and a diversified topology configuration interface is provided.
When the user sends the topology selection instruction through the BMC, the topology selection instruction can be sent in a remote data transmission mode, and the working efficiency is improved.
Of course, the topology selection instruction may be sent in other manners besides the BMC or the BIOS, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, after sending the preset interface configuration data to the device switching chip between the computing unit and the plurality of expanded device arrays corresponding to the preset interface configuration data, the topology switching method further includes:
and controlling the prompter to prompt that the restarting is needed.
Specifically, considering that in some cases, the system cannot judge whether the computer device can be restarted directly at present, and therefore needs to wait for the user to restart, but the user may forget to restart to enable the new topology to take effect after sending the topology selection instruction, in this embodiment of the present invention, the prompter may be controlled to prompt that the restart is needed after sending the preset interface configuration data, so as to prevent the user forgets to restart and cause the abnormal operation between the computing unit and the expansion device.
The prompting device may be of various types, for example, a display of a computer device, and the embodiment of the present invention is not limited herein.
In a preferred embodiment, the indicator is a display.
Specifically, the display has the advantages of lasting prompt effect, high maturity, long service life and the like.
Of course, besides the display, the prompter may be of other various types, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, sending the preset interface configuration data to the device switching chip between the computing unit and the plurality of expanded device arrays corresponding to the preset interface configuration data specifically includes:
and sending the preset interface configuration data to a configurable register of the equipment switching chip between the computing unit and the plurality of expanded equipment arrays, wherein the configurable register corresponds to the preset interface configuration data.
Specifically, the register has the advantages of simple structure, small size, low cost and the like.
Of course, besides the configurable register, the preset interface configuration data may also be sent to other positions of the device switching chip to implement configuration, and the embodiment of the present invention is not limited herein.
In a preferred embodiment, the device switching chip is a Switch chip.
Specifically, the Switch chip has the advantages of small size, low price, long service life and the like.
Of course, the device switching chip may be of various types other than the Switch chip, and the embodiment of the present invention is not limited herein.
In a preferred embodiment, the development device is a GPU (Graphics Processing Unit) or a memory.
Specifically, the GPU and the memory are mature expansion devices, which have considerable requirements in specific applications, so the embodiment of the invention has strong practicability.
Of course, besides the GPU and the memory, the expansion device may be of other types, and the embodiment of the present invention is not limited herein.
As a preferred embodiment, the connection of cables corresponding to all topologies to be configured between the computing unit and the device switching chips corresponding to the multiple expansion device arrays is specifically:
when the topology to be configured comprises a Balance topology and a Cascade topology, all CPUs in the computing unit are connected with the equipment switching chips in a one-to-one correspondence mode, and all the equipment switching chips are connected in series;
when the topology to be configured comprises a Balance topology and a Common topology, each CPU in the computing unit is respectively connected with one equipment switching chip, and all the equipment switching chips are connected with the same CPU;
when the topology to be configured comprises a Cascade topology and a Common topology, all the equipment switching chips are connected with the same CPU, and all the equipment switching chips are connected in series;
when the topology to be configured includes a Balance topology, a Cascade topology and a Common topology, the CPUs in the computing unit are connected with the device switching chips in a one-to-one correspondence manner, the device switching chips are connected in series, and all the device switching chips are connected with the same CPU.
Specifically, for better explaining the embodiment of the present invention, please refer to fig. 2 to 8, fig. 2 is a schematic structural diagram of a Balance topology provided by the present invention, fig. 3 is a schematic structural diagram of a Cascade topology provided by the present invention, fig. 4 is a schematic structural diagram of a Common topology provided by the present invention, fig. 5 is a schematic cable connection diagram when a topology to be configured provided by the present invention includes a Balance topology and a Cascade topology, fig. 6 is a schematic cable connection diagram when a topology to be configured includes a Balance topology and a Common topology, fig. 7 is a schematic cable connection diagram when a topology to be configured includes a Cascade topology and a Common topology provided by the present invention, and fig. 8 is a schematic cable connection diagram when a topology to be configured includes a Balance topology, a Cascade topology and a Common topology provided by the present invention.
Specifically, in fig. 2 to 7, each computing unit has two CPUs, each CPU has more than 2 groups of PCIe lanes, for example, each CPU of an intel Whitley ice lake CPU has 4 groups of PCIe Gen 4X 16, the expansion device array includes two small array units, each small array unit includes 4 expansion devices, and the 4 expansion devices are mounted on the PCIe lanes on the PCIe Switch chip, in fig. 8, because three groups of X16 interfaces in each device Switch chip are used for interface connection with the CPU or other device Switch chips, each device Switch chip can be directly connected to at most three expansion devices.
Specifically, in fig. 2, the Balance topology means that the number of expansion devices connected under each CPU on the computing unit is equal, in fig. 3, the Cascade topology means that all the expansion device arrays are connected with one of the CPUs through one channel, other expansion device arrays are connected in series, and in fig. 4, the Common topology means that each expansion device array is connected with the same CPU through one channel.
Wherein, fig. 5 to fig. 7 are cable connection modes of two of the to-be-configured topologies including a Balance topology, a Cascade topology, and a Common topology, respectively, in fig. 5, a first CPU is connected to an a port of a first device switching chip, a B port of the first device switching chip is connected to a C port of a second device switching chip, a D port of the second device switching chip is connected to a second CPU, if the Balance topology is to be applied, the a port of the first device switching chip may be set as an uplink port, the B port may be set as an unavailable port, other ports may be set as downlink ports for connecting expansion devices, the C port of the second device switching chip may be set as an unavailable port, the D port is set as an uplink port, the other ports are set as downlink ports for connecting expansion devices, if the Cascade topology is to be applied, the a port of the first device switching chip may be set as an uplink port, and the B port may be set as a downlink port, other ports are set as downlink ports for connecting the expansion equipment, the port C of the second equipment switching chip can be set as an uplink port, the port D is set as unavailable, and other ports are set as downlink ports for connecting the expansion equipment.
Specifically, please refer to the above description for fig. 5 for the descriptions of fig. 6 and fig. 7, and the embodiments of the present invention are not repeated herein.
Specifically, in fig. 8, the topology to be configured includes three topologies, namely a Balance topology, a Cascade topology, and a Common topology, and switching between different topologies can be realized by configuring attributes of each interface of the device switching chip, which is not described herein again in the embodiments of the present invention.
Of course, in addition to the specific topology interface provided in the embodiment of the present invention, the number of CPUs in the computing unit, the number of expansion devices in the expansion device array, and the number of expansion device arrays may also be other specific numbers, and the embodiment of the present invention is not limited herein.
Referring to fig. 9, fig. 9 is a schematic structural diagram of a topology switching apparatus applied to a processor according to the present invention, including:
the acquisition module 1 is used for responding to a topology selection instruction and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction;
the sending module 2 is configured to send the preset interface configuration data to the device switching chip between the computing unit and the plurality of expanded device arrays, where the device switching chip corresponds to the preset interface configuration data, so as to switch an original topology to an assigned topology by controlling an interface attribute of each interface of the device switching chip;
the control module 3 is used for responding to a restart instruction and controlling the computer equipment where the computing unit is located to restart so that the computing unit can work based on the specified topology;
cables corresponding to all to-be-configured topologies are connected between the computing unit and the device switching chips corresponding to the multiple expanded device arrays.
For the introduction of the topology switching device provided in the embodiment of the present invention, please refer to the embodiment of the topology switching method described above, and the embodiment of the present invention is not described herein again.
Referring to fig. 10, fig. 10 is a schematic structural diagram of a topology switching device provided in the present invention, where the topology switching device includes:
a memory 4 for storing a computer program;
a processor 5 for implementing the steps of the topology switching method as in the previous embodiments when executing the computer program.
For the introduction of the topology switching device provided in the embodiment of the present invention, please refer to the foregoing embodiment of the topology switching method, and the embodiment of the present invention is not described herein again.
The embodiments in the present description are described in a progressive manner, each embodiment focuses on differences from other embodiments, and the same and similar parts among the embodiments are referred to each other. The device disclosed by the embodiment corresponds to the method disclosed by the embodiment, so that the description is simple, and the relevant points can be referred to the method part for description. It should also be noted that, in the present specification, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (10)

1. A topology switching method applied to a processor includes:
responding to a topology selection instruction, and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction;
sending the preset interface configuration data to an equipment switching chip corresponding to the preset interface configuration data between the computing unit and the plurality of expanded equipment arrays, so as to switch the original topology to the specified topology by controlling the interface attribute of each interface of the equipment switching chip;
responding to a restart instruction, and controlling the computer equipment where the computing unit is located to restart so that the computing unit works based on the specified topology;
cables corresponding to all to-be-configured topologies are connected between the computing unit and the device switching chips corresponding to the plurality of expanded device arrays.
2. The topology switching method according to claim 1, wherein the obtaining, in response to the topology selection instruction, the preset interface configuration data corresponding to the specified topology in the selection instruction specifically includes:
responding to a topology selection instruction sent by a baseboard management controller BMC or a basic input output system BIOS, and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction.
3. The topology switching method according to claim 2, wherein after the sending the preset interface configuration data to the device switching chip between the computing unit and the plurality of expansion device arrays corresponding to the preset interface configuration data, the topology switching method further comprises:
and controlling the prompter to prompt that the restarting is needed.
4. The topology switching method according to claim 3, wherein the prompter is a display.
5. The topology switching method according to claim 1, wherein the sending the preset interface configuration data to the device switching chip between the computing unit and the plurality of expansion device arrays corresponding to the preset interface configuration data specifically includes:
and sending the preset interface configuration data to a configurable register of an equipment switching chip between the computing unit and the plurality of expanded equipment arrays, wherein the configurable register corresponds to the preset interface configuration data.
6. The topology switching method according to claim 1, wherein the device switching chip is a Switch chip.
7. The topology switching method according to claim 1, wherein the expansion device is a visual processor GPU or a memory.
8. The topology switching method according to claims 1 to 7, wherein cables corresponding to all topologies to be configured are specifically connected between the computing unit and the device switching chips corresponding to the plurality of expanded device arrays, and the cables correspond to:
when the topology to be configured comprises a Balance topology and a Cascade topology, the CPUs in the computing unit are connected with the equipment switching chips in a one-to-one correspondence mode, and the equipment switching chips are connected in series;
when the topology to be configured comprises a Balance topology and a Common topology, each CPU in the computing unit is respectively connected with one device switching chip, and all the device switching chips are connected with the same CPU;
when the topology to be configured comprises a Cascade topology and a Common topology, all the equipment switching chips are connected with the same CPU, and all the equipment switching chips are connected in series;
when the topology to be configured includes a Balance topology, a Cascade topology, and a Common topology, the CPUs in the computing unit are connected to the device switching chips in a one-to-one correspondence manner, the device switching chips are connected in series, and all the device switching chips are connected to the same CPU.
9. A topology switching device applied to a processor comprises:
the acquisition module is used for responding to a topology selection instruction and acquiring preset interface configuration data corresponding to a specified topology in the selection instruction;
the sending module is used for sending the preset interface configuration data to an equipment switching chip between the computing unit and the plurality of expanded equipment arrays, wherein the equipment switching chip corresponds to the preset interface configuration data, so that the original topology is switched to the specified topology by controlling the interface attribute of each interface of the equipment switching chip;
the control module is used for responding to a restart instruction and controlling the computer equipment where the computing unit is located to restart so that the computing unit can work based on the specified topology;
cables corresponding to all to-be-configured topologies are connected between the computing unit and the device switching chips corresponding to the plurality of expanded device arrays.
10. A topology switching device, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the topology switching method according to any of claims 1 to 8 when executing the computer program.
CN202011224678.XA 2020-11-05 2020-11-05 Topology switching method, device and equipment Pending CN112306947A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011224678.XA CN112306947A (en) 2020-11-05 2020-11-05 Topology switching method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011224678.XA CN112306947A (en) 2020-11-05 2020-11-05 Topology switching method, device and equipment

Publications (1)

Publication Number Publication Date
CN112306947A true CN112306947A (en) 2021-02-02

Family

ID=74326299

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011224678.XA Pending CN112306947A (en) 2020-11-05 2020-11-05 Topology switching method, device and equipment

Country Status (1)

Country Link
CN (1) CN112306947A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849431A (en) * 2021-09-24 2021-12-28 山东云海国创云计算装备产业创新中心有限公司 System topology structure switching method, device and medium

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002411A (en) * 2018-07-24 2018-12-14 郑州云海信息技术有限公司 Automatically configure the method, system and the GPU extension box that can be automatically configured of GPU extension box
CN110347625A (en) * 2019-09-06 2019-10-18 深圳市同泰怡信息技术有限公司 A kind of method, apparatus and equipment of no cable switching GPU topology
CN111737184A (en) * 2020-05-29 2020-10-02 苏州浪潮智能科技有限公司 AI server computing unit architecture and implementation method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109002411A (en) * 2018-07-24 2018-12-14 郑州云海信息技术有限公司 Automatically configure the method, system and the GPU extension box that can be automatically configured of GPU extension box
CN110347625A (en) * 2019-09-06 2019-10-18 深圳市同泰怡信息技术有限公司 A kind of method, apparatus and equipment of no cable switching GPU topology
CN111737184A (en) * 2020-05-29 2020-10-02 苏州浪潮智能科技有限公司 AI server computing unit architecture and implementation method

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113849431A (en) * 2021-09-24 2021-12-28 山东云海国创云计算装备产业创新中心有限公司 System topology structure switching method, device and medium

Similar Documents

Publication Publication Date Title
US7305494B2 (en) Multiplexed computer peripheral device connection switching interface
CN107632219B (en) Automatic startup and shutdown test system and test method thereof
US7139861B2 (en) Input/output unit access switching system and method
US20070255869A1 (en) Device evaluation using automatic connection path reconfiguration
CN111124508A (en) Method and device for adjusting PXE (PCI extensions for instrumentation) starting sequence of network card
US9319313B2 (en) System and method of forwarding IPMI message packets based on logical unit number (LUN)
EP2079003A1 (en) Computer system and power-saving method thereof
US10419436B2 (en) Method to improve keyboard, video and mouse (KVM) security on blocking incoming KVM privilege request
CN112306947A (en) Topology switching method, device and equipment
CN107769952B (en) Remote management system and method thereof
CN104158709A (en) Optical module identification method and port extender
CN105677589A (en) Access control method, access control device and access control system
CN110162287B (en) Method and device for realizing VGA display of PCIE Box
CN113778930B (en) AVS (Audio video Standard) adjusting system, method, device and equipment
EP3694151A1 (en) Terminal network sharing method, apparatus, air conditioning adjustment device, and storage medium
CN114138697A (en) Signal transmission system, signal transmission method, signal transmission device and medium
CN111147400B (en) Method and device for command line configuration synchronization and electronic equipment
CN107515746B (en) Startup initialization method and device, electronic equipment and computer storage medium
US10333837B2 (en) Virtual network switch system and method of constructing the same
CN117591378B (en) Temperature control method, system, equipment and storage medium of server
CN113076567B (en) Communication management method, device and equipment
CN217385672U (en) Control device and automatic test system of USB equipment
CN111694300B (en) Automatic configuration method and device for control panel input and output ports
US20030229732A1 (en) Serial bus type configuration recognition and alarm apparatus
CN112463713A (en) Automatic track seeking method and device for processor

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