Realize in a kind of Loongson blade server calculating the method that blade identifies display
Technical field
The present invention relates to a kind of blade-server technology field using domestic processor, specifically a kind of Godson knife
Realize in piece server calculating the method that blade identifies display.
Background technology
With scientific and technological development, blade server starts to be used widely in a lot of fields, and its application scenario is different, right
Server requirement is also not quite similar, and current most of commercial blade server to the display resolution of locally public display interface is
Not requiring it is not required that realizing being capable of different resolution setting according to display difference, do not need to read aobvious
Show device DDC(digital display channel)Content come to realize all support resolution configurations.But some clients
Operate relatively more in server local, so to blade server, locally public display interface display resolution also has special wanting
Ask, client in blade server system, locally will realize certainly by public display interface and single calculating blade front panel display interface
Dynamic identification difference monitor information, and configure the requirement of the different resolution that display is supported under system.Current existing skill
Art cannot meet client's these requirements.
Content of the invention
The technical assignment of the present invention is to provide a kind of realization to be supported according to different display in the range of video card is supported
A kind of Loongson blade server of being configured in system of resolution in realize calculating the method that blade identifies display.
The technical assignment of the present invention is realized in the following manner, adopts knife in the Loongson blade server of ATCA framework
The management module of piece server, management module actively reads the DDC content of connect display, is preserved, and DDC content is write
Enter in the DDC EEPROM preserving DDC configuration on each calculating blade mainboard of blade server, to ensure to calculate blade master
Plate can recognize that the DDC content of different display when starting, realizes the configurable of resolution under an operating system.
Concrete grammar step is:
(1), in the Loongson blade server of ATCA framework using blade server management module read connect display
The DDC content of device, is preserved, and is written in the DDC EEPROM that each calculates on blade mainboard by I2C bus;
(2), in ablation process, management module first-selection chooses the passage of calculating blade mainboard to be write;
(3), management module by calculate blade mainboard on USB interface and PCA9539 chip between I/O judge this
Whether the front panel calculating blade mainboard is connected to display;
(4)If, this calculate blade mainboard front panel be connected to display, by this calculate blade mainboard I2C switching
Switch 1 and I2C switching switch 2 all cuts out;Calculate and in blade mainboard system starting process, allow the BIOS calculating blade mainboard direct
The DDC content of the display being connect by the front panel that I2C bus removes reading calculating blade mainboard, you can realize configuration under system
Display resolution;
(5)If, when being connected to display in management module:
1., after, management module have read the DDC content of this display, management module first passes through I2C bus marco and calculates knife
On piece mainboard, PCA9539 chip opens I2C switching switch 1, reads content in the DDC EEPROM calculating blade mainboard;
2., by the DDC content of the display being connected in content in the DDC EEPROM of calculating blade mainboard and management module
Relatively, if content is consistent, illustrate and last time management module on the display that is connected to be identical display, then without renewal
Calculate the DDC eeprom content of blade mainboard;If content is inconsistent, just aobvious by be connected in the management module newly read
Show that the DDC content of device is written in the DDC EEPROM calculating blade mainboard;
3., after, the DDC EEPROM of management module read-write calculating blade mainboard finishes, control and calculate blade mainboard
PCA9539 chip closes I2C switching switch 1, and opens I2C switching switch 2;
4., when calculating in blade mainboard starting up, the BIOS of calculating blade mainboard can be switched by I2C with operating system
The DDC content that the I2C bus of switch 2 reads in DDC EEPROM configures, to identify, the display being currently connected in management module,
The resolution of the display that realization can be docked in management module under an operating system is configured.
ATCA is the abbreviation of English Advanced Telecom Computing Architecture, and the standard of being translated as is
Advanced telecommunications computing platform.Mainstream industry computing technique CompactPCI standard of new generation.It is to lead to for of future generation fusion
One high performance-price ratio of letter and data network application offer, based on modular construction, compatibility and extendible hardware structure
Frame.
DDC is the abbreviation of English Display Data Channel, is translated as display data passage.DDC is an I2C
Passage, is that PC main frame is used for accessing display memory to obtain the EDID formatted data in EEPROM in display, determines aobvious
Show the data channel of display properties (as the resolution, aspect ratio etc.) information of device.
EEPROM (the contracting of English Electrically Erasable Programmable Read-Only Memory
Write), it is translated as EEPROM, be the storage chip that data is not lost after a kind of power down.
BIOS is the abbreviation of English " Basic Input Output System ", and literally rear Chinese is exactly "
Basic input output system ".In fact, it is one group of program being cured on a rom chip on mainboard in computer, and it preserves
The program of the most important basic input and output of computer, system set-up information, self-check program and system self-starting journey after start
Sequence.
The method realizing calculating blade identification display in a kind of Loongson blade server of the present invention has advantages below:
Realize calculating blade mainboard starting and can recognize that the DDC content of different display, that realizes resolution under an operating system can
Configuration;Reasonable in design, easy to use, thus, have good value for applications.
Brief description
The present invention is further described below in conjunction with the accompanying drawings.
Accompanying drawing 1 is the structured flowchart realizing calculating the method that blade identifies display in a kind of Loongson blade server;
Accompanying drawing 2 is the flow chart realizing in a kind of Loongson blade server calculating the method that blade identifies display.
Specific embodiment
With reference to Figure of description and specific embodiment, blade is calculated to realization in a kind of Loongson blade server of the present invention
The method of identification display is described in detail below.
Embodiment:
Realize in a kind of Loongson blade server of the present invention calculating the method that blade identifies display, in ATCA framework
Loongson blade server in using blade server management module, management module actively reads in the DDC of connect display
Hold, preserved, and DDC content is written to the DDC that DDC configuration is preserved on each calculating blade mainboard of blade server
In EEPROM, to ensure to calculate the DDC content that can recognize that different display when blade mainboard starts, to realize in operating system
Lower resolution configurable.
Concrete grammar step is:
(1), in the Loongson blade server of ATCA framework using blade server management module read connect display
The DDC content of device, is preserved, and is written in the DDC EEPROM that each calculates on blade mainboard by I2C bus;
(2), in ablation process, management module first-selection chooses the passage of calculating blade mainboard to be write;
(3), management module by calculate blade mainboard on USB interface and PCA9539 chip between I/O judge this
Whether the front panel calculating blade mainboard is connected to display;
(4)If, this calculate blade mainboard front panel be connected to display, by this calculate blade mainboard I2C switching
Switch 1 and I2C switching switch 2 all cuts out;Calculate and in blade mainboard system starting process, allow the BIOS calculating blade mainboard direct
The DDC content of the display being connect by the front panel that I2C bus removes reading calculating blade mainboard, you can realize configuration under system
Display resolution;
(5)If, when being connected to display in management module:
1., after, management module have read the DDC content of this display, management module first passes through I2C bus marco and calculates knife
On piece mainboard, PCA9539 chip opens I2C switching switch 1, reads content in the DDC EEPROM calculating blade mainboard;
2., by the DDC content of the display being connected in content in the DDC EEPROM of calculating blade mainboard and management module
Relatively, if content is consistent, illustrate and last time management module on the display that is connected to be identical display, then without renewal
Calculate the DDC eeprom content of blade mainboard;If content is inconsistent, just aobvious by be connected in the management module newly read
Show that the DDC content of device is written in the DDC EEPROM calculating blade mainboard;
3., after, the DDC EEPROM of management module read-write calculating blade mainboard finishes, control and calculate blade mainboard
PCA9539 chip closes I2C switching switch 1, and opens I2C switching switch 2;
4., when calculating in blade mainboard starting up, the BIOS of calculating blade mainboard can be switched by I2C with operating system
The DDC content that the I2C bus of switch 2 reads in DDC EEPROM configures, to identify, the display being currently connected in management module,
The resolution of the display that realization can be docked in management module under an operating system is configured.
As shown in figure 1, after the display that the front panel calculating blade mainboard connects connects, management module is not any behaviour
Make, calculate the BIOS of blade mainboard and operating system directly reads and calculates the display interior that the front panel of blade mainboard connects
The content profile information of DDC.When only connecing the display connecing in management module, management module first passes through I2C and reads management
The DDC content of the display connecing in module, chooses calculating blade mainboard to be operated by I2C between management module and backboard part
I2C passage, and control PCA9539 chip first open I2C switching switch 1, close I2C switching switch 2, management module is passed through
In I2C switching switch 1 reading DDC EEPROM, data is compared with the DDC content in the display connecing in the management module read,
If identical, illustrate that present displays are identical with the display of last time it is not necessary to update information in DDC EEPROM, if not
Identical, then the DDC content of the display connecing in the new management module reading is written in DDC EEPROM, and closes
I2C switches switch 1, opens I2C switching switch 2, calculates blade mainboard BIOS and operating system in start-up course so next time
Currently used display will be identified by reading content in DDC EEPROM, realize flexibly setting display under system
Resolution.
Realize in a kind of Loongson blade server of the present invention calculating the method that blade identifies display, except described in description
Technical characteristic outside, be the known technology of those skilled in the art.