CN100520727C - Method and system for identification of erection switching card type - Google Patents

Method and system for identification of erection switching card type Download PDF

Info

Publication number
CN100520727C
CN100520727C CNB2006101670082A CN200610167008A CN100520727C CN 100520727 C CN100520727 C CN 100520727C CN B2006101670082 A CNB2006101670082 A CN B2006101670082A CN 200610167008 A CN200610167008 A CN 200610167008A CN 100520727 C CN100520727 C CN 100520727C
Authority
CN
China
Prior art keywords
erection
switching card
identification
input
card type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CNB2006101670082A
Other languages
Chinese (zh)
Other versions
CN101201759A (en
Inventor
陈昆甫
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
State Grid Shanghai Electric Power Co Ltd
Original Assignee
Inventec Corp
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 Inventec Corp filed Critical Inventec Corp
Priority to CNB2006101670082A priority Critical patent/CN100520727C/en
Publication of CN101201759A publication Critical patent/CN101201759A/en
Application granted granted Critical
Publication of CN100520727C publication Critical patent/CN100520727C/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a method and a system for identifying types of vertical adaptor cards and is used in a computer mainboard for identifying types of vertical adaptor cards which are currently inserted into the computer mainboard; the invention is characterized in that a slot connector used for plugging a vertical adaptor card on the mainboard is connected with a group of input and output pins of a control chip through an external connecting bus, and when the computer mainboard is initialized, logic potential of the input and output pins is detected for determining type of the vertical adaptor card, and consequently a configuration setting program corresponding to the card type is executed. Compared with the prior art, the invention is characterized in that the invention does not need to increase total pin numbers of the vertical adaptor cards, thus reducing hardware complexity, becoming easy to implement, and saving design and production costs.

Description

The identification of erection switching card type method and system
Technical field
The present invention relates to a kind of computer system technology, particularly relate to a kind of identification of erection switching card type method and system.
Background technology
PCI (Peripheral Component Interconnect) is the normal a kind of peripheral component interconnect express that adopts on the computer platform, it can be used for the CPU (central processing unit) of computer platform is outwards overlapped to a circuit board, be connected to various computer peripheral apparatus by this circuit board, for example comprise screen display, hard disk unit, CD-ROM device, network switch, or the like, exchange by allowing CPU (central processing unit) can a little therewith peripheral devices carry out data.The bus signals that the PCI standard has been stipulated one group of standard allows CPU (central processing unit) carry out data with peripheral device on circuit board and exchanges.Yet on concrete the application, maturation and progress along with technology, the PCI standard again and then comprise the extensibility standard that some are different, for example be PCI-E (PCI Express), it makes some ductile functions expansions based on original PCI framework, and the pci bus that makes data rate to spread out of is more quick.
Characteristics of PCI-E bus architecture are that it can support various circuit card with different highway widths, for example comprise the highway width of 1 byte (x1), 4 bytes (x4), 8 bytes (x8) and 16 bytes (x16).When practical application, the circuit card of little highway width can be planted to the connector of big highway width and be used.For instance, the circuit card of 4 byte highway widths is not planted only to the connector that is similarly 4 byte highway widths and is used, and also can plant to the connector of the highway width of 8 bytes or 16 bytes and use.In other words, if the connector that the highway width of 8 bytes is set on the host computer mainboard arranged, then this connector promptly optionally is used to be plugged to the circuit card of the highway width of 8 bytes or 4 bytes.
Erection switching card (riser card) also can increase PCI-E interface slot number of connectors simultaneously for the transfer circuit card of PCI-E interface slot connector of a kind of PCI-E of being inserted in connector.For instance, if there is a PCI-E perimeter interface controller originally only to have 4 connectors, therefore the peripheral device that can overlap adds up to 4, then an erection switching card with 3 connectors is inserted so far 4 connectors one of them, can make the sum of its peripheral device that can overlap increase to 6.
In the application of the webserver, the PCI-E perimeter interface controller of server host mainboard can be pegged graft usually and be gone up erection switching card.Because BIOS (BasicInput/Output System) the input and output management and control unit of main frame mainboard need carry out configuration and setting at each erection switching card when initialization, so each erection switching card just has and need provide the identification mode by a specific mode.Yet the normal at present a kind of identification mode that adopts is that for the system's shortcoming of this practice of identification on concrete enforcement it need increase the pin sum of erection switching card for transmit configuration by the web joint pin that connects, and also can increase the complexity of hardware structure.
Summary of the invention
The shortcoming of prior art in view of the above, fundamental purpose of the present invention is to be to provide a kind of identification of erection switching card type method and system, it can increase erection switching card on concrete enforcement pin sum reduces the complexity of hardware structure and easy to implement thus.
Identification of erection switching card type method and system of the present invention are that design is applied to a computer motherboard (for example being the main frame mainboard of the webserver), and this computer motherboard is equipped with a perimeter interface controller, for example be the perimeter interface controller of PCI-E type, be used for the type of present each erection switching card planted of this PCI-E perimeter interface controller of identification.
Identification of erection switching card type method of the present invention comprises at least: the connector of this erection switching card of (P1) will pegging graft, additionally be connected to one group of input and output pin of the control chip of this motherboard, so that the identification signal that this erection switching card was produced is passed to this group input and output pin and becomes an identification code with a plurality of external circuits; (P2) when this computer motherboard carries out initialization, detect the logic current potential of this input and output pin, to obtain this identification code; And (P3) compare this identification code according to a switching card type corresponding tables, to determine the type of this erection switching card.
On the entity framework, identification of erection switching card type of the present invention system comprises at least: (A) external circuit link block, it comprises a plurality of external circuits, be used to connect the one group input and output pin of bus to the control chip of this motherboard of the slot of this grafting erection switching card, be passed to this group input and output pin and become one group of identification code with one group of identification signal that this erection switching card is produced; (B) a pin current potential detecting module, it can be activated the logic current potential of detecting the specific input and output pin of this group, to obtain identification code when this computer motherboard carries out initialization; And (C) discrimination module, wherein have a switching card type corresponding tables in advance; And it can determine the type of this erection switching card according to this switching card type corresponding tables comparison identification code when practical operation.
The characteristics of identification of erection switching card type method and system of the present invention are by original bus the identification signal to be passed to connector on the motherboard, to recognize that by external circuit signal is passed to one group of input and output pin of control chip again, to make BIOS input and output management and control unit when computer motherboard carries out initialization, the logic current potential of detecting the GPIO input and output pin on this control chip determines the type of this erection switching card and carries out corresponding configuration and setting program.Compare background technology, these characteristics can increase the number of pins of erection switching card, reduce the complexity of hardware thus and more easy to implement and save design and manufacturing cost.
Description of drawings
Fig. 1 is an application synoptic diagram, is used to show the application mode of identification of erection switching card type system combination to a computer motherboard of the present invention;
Fig. 2 is a configuration diagram, is used to show the modularization basic framework of identification of erection switching card type of the present invention system;
Fig. 3 is a configuration diagram, is used to show the connected mode of the external circuit link block that identification of erection switching card type of the present invention system is adopted;
Fig. 4 is a corresponding form, is used to show an embodiment of the corresponding form that identification of erection switching card type of the present invention system is adopted.
The main element symbol description
10 computer motherboards
20 central processing units (CPU)
30 input and output management and control unit (BIOS)
31 initialization process modules
40 perimeter interface controllers (PCI-E)
41 connectors
50 erection switching cards (Riser Card)
51 control chips
60 expansion boards
100 identification of erection switching card type of the present invention systems
110 external circuit link blocks
111 external circuits
112 external circuits
120 detecting modules
130 discrimination modules
201 type informations
Embodiment
Below promptly cooperate appended graphicly, disclose the embodiment of explanation identification of erection switching card type method and system of the present invention in detail.
Fig. 1 promptly shows the application mode of identification of erection switching card type system of the present invention (as the square of label 100 indications).As shown in the figure, identification of erection switching card type of the present invention system 100 is integrated into a computer motherboard 10 (for example being the main frame mainboard of the webserver) in practical application, and this computer motherboard 10 is equipped with a central processing unit (CPU) 20, an input and output management and control unit 30 and a perimeter interface controller 40; Wherein this input and output management and control unit 30 for example is a BIOS (Basic Input/Output System) chip, and this perimeter interface controller 40 for example is the perimeter interface controller of a PCI-E (Peripheral Component Interconnect-Express) type, and have a plurality of connectors 41 (in example shown in Figure 1, for example comprising 4 connectors 41).In practical application, the connector 41 of this PCI-E perimeter interface controller 40 upright adapter (risercard) 50 that promptly can be used for pegging graft utilizes this erection switching card 50 to expand the connector quantity of this PCI-E perimeter interface controller 40 thus and can overlap more expansion board 60.
When practical operation, identification of erection switching card type of the present invention system 100 promptly can be used to pick out the type of the erection switching card of being planted on this connector 41 50, allow thus BIOS input and output management and control unit 30 can be according to this when initialization the particular type at this erection switching card 50 carry out configuration and setting.
In following embodiment, this erection switching card 50 has a plate, and this web joint is used for being connected with one of them connector 41 of motherboard.And this web joint for example has 3 connecting bus, for example comprise 24 byte PCI-E buses and 18 byte PCI-E bus, external circuit of the present invention reaches by existing bus, for example the PEI-E bus with 24 bytes is delivered to control chip with identification signal, to recognize the type of erection switching card.
As shown in Figure 2, the modularization basic framework of identification of erection switching card type of the present invention system 100 comprises at least: (A) external circuit link block 110; (B) a pin current potential detecting module 120; And (C) discrimination module 130.The individual attribute and the function of these a little members below promptly are described at first respectively.
External circuit link block 110 comprises one group of external circuit 111,112 as shown in Figure 3, be used to connect one group input and output pin GPIO_1, the GPIO_2 of connector 41 to this control chip 51, be used for the logic current potential of the identification signal of this erection switching card 50 is passed to this control chip 51.In this embodiment, this a little input and output pin GPIO_1, GPIO_2 for example are the general input and output pin under GPIO (the General Purpose Input/OUptut) standard criterion.Connected mode between this a little input and output pin GPIO_1, GPIO_2 and those external circuits 111,112 promptly as shown in Figure 3 one of them external circuit 111 be connected the PCI-E bus of one of them GPIO_1 pin and one of them 4 byte, another external circuit 112 connects the PCI-E bus of another GPIO_1 pins and another 4 byte.Be that each external circuit is connected with the GPIO pin of a PCI-E bus and a control chip separately.
In the present embodiment, what be used for recognizing classification is multiple erection switching card with input/output port, is provided with different input/output control unit on erection switching card, each input/output control unit, can transmit the identification code BOARD_ID of its definition by being connected with the bus of outer signal.
In this embodiment, because of external circuit has 2 111,112, so identification code BOARD_ID can be for example by being made up of 2 bytes.Please refer to Fig. 4, is the example of a switching card type corresponding tables, and whether each byte representative out of the ordinary of BOARD_ID has input/output control unit, only lists the erection switching card of three kinds of different B OARD_ID in the table, but in fact its combination can be 4 kinds.Wherein the 1st of BOARD_ID the byte taken from external circuit 111, and the 2nd byte of BOARD_ID taken from external circuit 112.In the embodiment shown in fig. 4, BOARD_ID=[01] represent the signal of the PCI-E bus transmission input/output port of one 4 byte therein, that is, this upright adapter has the input/output port of being controlled by an input/output control unit; BOARD_ID=[00] represent erection switching card 50 to adopt two input/output control unit; BOARD_ID=[11] then represent erection switching card 50 not to be provided with the input/output control unit chip.What must note a bit is that corresponding tables shown in Figure 4 only is the exemplary applications of a reality herein; General rule in the broadest sense, this corresponding tables is used to represent the corresponding relation of identification code BOARD_ID and erection switching card type.
Pin current potential detecting module 120 for example is integrated in the BIOS input and output management and control unit 30, can when this computer motherboard 10 carries out initialization, be activated the logic current potential of input and output pin GPIO_1, GPIO_2 on the control chip 51 of detecting this erection switching card 50, obtain the identification code BOARD_ID that is delivered on this group input and output pin GPIO_1, the GPIO_2 thus.
Discrimination module 130 also for example is integrated in the BIOS input and output management and control unit 30, and prestores corresponding tables for example shown in Figure 4; And when practical operation, can reach the type that determines this erection switching card 50 according to corresponding tables shown in Figure 4 according to above-mentioned pin current potential detecting module 120 obtained identification code BOARD_ID, and will differentiate the result and inform initialization process module 31 in the BIOS input and output management and control unit 30 by the type information 201 of a correspondence, make this initialization process module 31 carry out the system configuration that corresponding initialize routine is set out this erection switching card 50.
Below promptly utilize an application example that the integrated operation mode of identification of erection switching card type system 100 of the present invention when practical application is described.
When the user with the electric power starting of computer motherboard 10 or when resetting (when carrying out boot program), it promptly can at first make the external circuit 111,112 on the web joint of erection switching card 50 produce corresponding logical signal; And at the same time, external circuit link block 110 can be passed to the logical signal current potential of external circuit 111,112 input and output pin GPIO_1, the GPIO_2 on the control chip 51, and represents one group of identification code BOARD_ID.Then when BIOS input and output management and control unit 30 begins to carry out initialize routine, pin current potential detecting module 120 promptly can be activated and detect GPIO_1, the logic current potential of GPIO_2, obtain GPIO_1 thus, the identification code BOARD_ID of GPIO_2 representative, the identification code that for example obtains is 01, and send this identification code BOARD_ID to discrimination module 130, discrimination module 130 is the erection switching card with an input/output control unit according to the value 01 of this identification code BOARD_ID according to the type that the switching card type corresponding tables determines this erection switching card 50, and will differentiate the result and inform initialization process module 31 in the BIOS input and output management and control unit 30 by the type information 201 of a correspondence, make this initialization process module 31 carry out the system configuration that corresponding initialize routine is set out this erection switching card 50.
Generally speaking, the invention provides a kind of identification of erection switching card type method and system, it can be applicable to a computer motherboard, is used for the type of the present erection switching card of planting on this computer motherboard of identification; And its characteristics are bus in the connector of erection switching card, be connected to one group of GPIO input and output pin on the control chip of erection switching card with external circuit, and making BIOS input and output management and control unit when computer motherboard carries out initialization, the logic current potential of detecting the GPIO input and output pin on this control chip determines the type of this erection switching card and carries out corresponding configuration and setting program.Compare prior art, these characteristics are not increase the pin sum of erection switching card, reduce the complexity of hardware thus and more easy to implement and save design and manufacturing cost.Therefore the present invention has better progressive and practicality than prior art.
The above is preferred embodiment of the present invention only, is not the scope that is used to limit essence technology contents of the present invention.Essence technology contents of the present invention broadly is defined in the following claim.Be identical or be a kind of change of equivalence if any technology entity that other people are finished or method are defined with following claim, all will be regarded as being covered by among the claim of the present invention.

Claims (10)

1. identification of erection switching card type method, it can be applicable to a computer motherboard, and this computer motherboard is equipped with a central processing unit, an input and output management and control unit and a perimeter interface controller; Wherein this perimeter interface controller can overlap to a upright adapter, and this erection switching card has a control chip and at least one connector, and this connector is connected to one group of input and output pin of a control chip with one group of external circuit;
This identification of erection switching card type method comprises at least:
The identification signal that this erection switching card produced is passed to this group input and output pin and recognizes an identification code through this connector, this external circuit group;
When this computer motherboard carries out initialization, detect this identification code; And
Compare this identification code according to a switching card type corresponding tables, to recognize the type of this erection switching card.
2. identification of erection switching card type method according to claim 1, wherein this computer motherboard is a web server host mainboard.
3. identification of erection switching card type method according to claim 1, wherein the input and output management and control unit that is a BIOS type, this input and output management and control unit.
4. identification of erection switching card type method according to claim 1, wherein this perimeter interface controller is the perimeter interface controller of a PCI-E type.
5. identification of erection switching card type method according to claim 1, wherein this group input and output pin is the general input and output pin of one group of GPIO.
6. identification of erection switching card type system, it can be integrated into a computer motherboard, and this computer motherboard is provided with a central processing unit, an input and output management and control unit and a control chip, this control chip connects a connector, this connector erection switching card with several buses that can be used for pegging graft, this control chip has a plurality of input and output pins;
This identification of erection switching card type system comprises at least:
One external circuit link block, it comprises a plurality of external circuits, connects bus and those general input and output pins of this slot separately, organizes general input and output pin so that one group of identification signal that this erection switching card was produced is passed to this;
One pin current potential detecting module, it can detect the logic current potential of those input and output pins when this computer motherboard carries out initialization, to obtain an identification code; And
One discrimination module wherein has a switching card type corresponding tables in advance, compares this identification code to determine the type of this erection switching card according to this switching card type corresponding tables.
7. identification of erection switching card type according to claim 6 system, wherein this computer motherboard is a web server host mainboard.
8. identification of erection switching card type according to claim 6 system, wherein the input and output management and control unit that is a BIOS type, this input and output management and control unit.
9. identification of erection switching card type according to claim 6 system, wherein this perimeter interface controller is the perimeter interface controller of a PCI-E type.
10. according to the described identification of erection switching card type of claim 6 system, wherein this input and output pin is the general input and output pin of one group of GPIO.
CNB2006101670082A 2006-12-12 2006-12-12 Method and system for identification of erection switching card type Active CN100520727C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB2006101670082A CN100520727C (en) 2006-12-12 2006-12-12 Method and system for identification of erection switching card type

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB2006101670082A CN100520727C (en) 2006-12-12 2006-12-12 Method and system for identification of erection switching card type

Publications (2)

Publication Number Publication Date
CN101201759A CN101201759A (en) 2008-06-18
CN100520727C true CN100520727C (en) 2009-07-29

Family

ID=39516933

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB2006101670082A Active CN100520727C (en) 2006-12-12 2006-12-12 Method and system for identification of erection switching card type

Country Status (1)

Country Link
CN (1) CN100520727C (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105206487B (en) * 2015-10-08 2017-12-19 清华大学 A kind of liquid metal plasma color display device and preparation method
CN107193599B (en) * 2017-05-23 2020-11-27 苏州浪潮智能科技有限公司 Method for dynamically updating system slot information in SMBIOS
TWI666552B (en) * 2018-02-01 2019-07-21 緯創資通股份有限公司 Modular apparatus and control method thereof

Also Published As

Publication number Publication date
CN101201759A (en) 2008-06-18

Similar Documents

Publication Publication Date Title
CN101303681B (en) Dynamic reconfiguration of PCI EXPRESS links
CN1956265B (en) Connectors
US11199890B2 (en) Peripheral device expansion card system
US20080228981A1 (en) Design structure for dynamically allocating lanes to a plurality of pci express connectors
CN201374055Y (en) Computer system initiatively distinguishing mainboard
US20040015634A1 (en) Information handling system with improved bus system
CN114443531B (en) System and method for automatically configuring PCIe port of server
CN100520727C (en) Method and system for identification of erection switching card type
CN103105895A (en) Computer system and display cards thereof and method for processing graphs of computer system
CN102457392B (en) Baseboard management controller sharing method
CN101582036B (en) Servo device and servo method for shared type basic input-output system
US11163660B2 (en) Link downgrade detection system
CN100498731C (en) Process for basic input output system supporting vertical card
CN100437489C (en) Method for saving system resource
US20070075126A1 (en) Identification method and system
CN108255759A (en) PCI-E adapters and data processing system
CN115167629A (en) Double-circuit server CPU mainboard
CN213365438U (en) Double-circuit server mainboard and server
US6919878B2 (en) Keyboard/mouse switching controller
CN101387966A (en) Computer equipment with BIOS selection function
CN211124265U (en) Intelligent POS core mainboard capable of being plugged and defined with physical interface
CN1869868A (en) Mainframe board capable of setting different kind of central processor
CN102082715A (en) Testing method of network interface card reset
CN111723032B (en) Interrupt management and control method and electronic equipment
CN100435125C (en) Automatic regulating method and system for bus width

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
ASS Succession or assignment of patent right

Owner name: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING C

Free format text: FORMER OWNER: YINGYEDA CO., LTD., TAIWAN

Effective date: 20141008

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: TAIWAN, CHINA TO: 510640 GUANGZHOU, GUANGDONG PROVINCE

TR01 Transfer of patent right

Effective date of registration: 20141008

Address after: 510640 Guangdong city of Guangzhou province Tianhe District gold Yinglu No. 1 was 1106 room two

Patentee after: Guangdong Huabo Enterprise Management Consulting Co., Ltd.

Address before: Taipei City, Taiwan, China

Patentee before: Inventec Corporation

ASS Succession or assignment of patent right

Owner name: STATE GRID SHANGHAI ELECTRIC POWER COMPANY

Free format text: FORMER OWNER: GUANGDONG HUABO ENTERPRISE MANAGEMENT CONSULTING CO., LTD.

Effective date: 20141121

C41 Transfer of patent application or patent right or utility model
COR Change of bibliographic data

Free format text: CORRECT: ADDRESS; FROM: 510640 GUANGZHOU, GUANGDONG PROVINCE TO: 200002 PUDONG NEW AREA, SHANGHAI

TR01 Transfer of patent right

Effective date of registration: 20141121

Address after: 200002 Shanghai City, Pudong New Area source deep road, No. 1122

Patentee after: State Grid Shanghai Municipal Electric Power Company

Address before: 510640 Guangdong city of Guangzhou province Tianhe District gold Yinglu No. 1 was 1106 room two

Patentee before: Guangdong Huabo Enterprise Management Consulting Co., Ltd.