CN106021075B - A method of server master board BMC IP address is checked in realization at any time - Google Patents

A method of server master board BMC IP address is checked in realization at any time Download PDF

Info

Publication number
CN106021075B
CN106021075B CN201610313482.5A CN201610313482A CN106021075B CN 106021075 B CN106021075 B CN 106021075B CN 201610313482 A CN201610313482 A CN 201610313482A CN 106021075 B CN106021075 B CN 106021075B
Authority
CN
China
Prior art keywords
bmc
address
time
data
master board
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
CN201610313482.5A
Other languages
Chinese (zh)
Other versions
CN106021075A (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.)
Shenzhen Tong Yi Yi Information Technology Co., Ltd.
Original Assignee
Shenzhen Tong Yi Yi Information Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Tong Yi Yi Information Technology Co Ltd filed Critical Shenzhen Tong Yi Yi Information Technology Co Ltd
Priority to CN201610313482.5A priority Critical patent/CN106021075B/en
Publication of CN106021075A publication Critical patent/CN106021075A/en
Application granted granted Critical
Publication of CN106021075B publication Critical patent/CN106021075B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/32Monitoring with visual or acoustical indication of the functioning of the machine
    • G06F11/324Display of status information
    • G06F11/328Computer systems status display

Landscapes

  • Engineering & Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)
  • Controls And Circuits For Display Device (AREA)

Abstract

The present invention relates to computer field more particularly to a kind of realize the method for checking server master board BMC IP address at any time;The function of showing BMC IP at any time can be realized by the simple hardware and software of introducing for this programme, be not necessarily to mainboard external-connection displayer, enters BIOS Setup interface time-consuming and cumbersome process without booting, need not also increase high-cost liquid crystal display;Obtaining BMC IP address using this method also has the function of real-time update.

Description

A method of server master board BMC IP address is checked in realization at any time
Technical field
The present invention relates to computer fields more particularly to a kind of realize to check the side of server master board BMC IP address at any time Method.
Background technique
It by BMC web interface come management server, is very convenient, is also very important, and access BMC webpage The sole mode at interface is accessed by the IP address of BMC, and it is therefore necessary to BMC IP address is obtained ahead of time.
The mode of BMC IP address is obtained at present, first is that go to check by entering the interface BIOS Setup in start process, Second is that obtaining IP address by bios program, it is shown on display, after booting display is lighted in this way, so that it may It sees.
When obtaining IP address using first method, a display is connect on mainboard, then goes to be switched on, is waited to be shown Device is lighted, and is checked into BIOS Setup or is directly checked over the display, for the computer room of a large amount of servers, this mode It is extremely inconvenient, it is clear that unworkable.
Second clock method facilitates than the first method for entering the interface BIOS Setup, but needs small by customizing Type liquid crystal display, then by complicated design on hardware and software, to reach the function of display BMC IP address, this mode is most Pipe is convenient, and function is also able to achieve completely, but higher cost, needs customized development, it is difficult to promote generalization.
So needing a kind of method that server master board BMC IP address is checked in realization that is i.e. convenient, can saving cost again.
Summary of the invention
The purpose of the present invention is to provide a kind of methods realized and check server master board BMC IP address at any time, it is intended to solve Problem inconvenient when BMC IP is certainly checked in the prior art.
The method for checking server master board BMC IP address at any time is realized the present invention is implemented as follows: a kind of, including with Lower step:
A. initialization step, mainboard BMC is powered on and is set defeated for universal input/output interface in the initialization step Enter mode, sets high level for the level of the universal input/output interface;
B. it triggers step, forces the universal input to export with the mainboard BMC trigger module being connected in the triggering step The level translation of interface is low level, and the level of the universal input/output interface is low to trigger interrupt step;
C. interrupt step, mainboard BMC reads current IP value and exports and shows what is be connected with mainboard BMC in the interrupt step Show in module.
Wherein BMC refers to baseboard management controller (Baseboard Management Controller).Generally it is built in On mainboard, the IPMI of professional standard is supported to standardize.BMC provide function include: it is local and remote diagnosis, console support, Configuration management, hardware management and troubleshooting.
IP address (Internet Protocol Address) is a kind of mode addressed to host on network, Referred to as internet protocol address.
A further technical solution of the present invention is: the step C include it is following step by step:
C1. mainboard BMC reads current IP value;
C2. IP address is treated as data format that the display module can receive and shown in the display module On;
C3. the level of the universal input export structure is adjusted to high level;
C4. interrupt mode is exited.
The case where above-mentioned steps are more suitable for display device numerical digit, can disposably show all IP address.
A further technical solution of the present invention is: the step C include it is following step by step:
C1. mainboard BMC reads current IP value;
C2. IP address is treated as data format that the display module can receive and shown in the display module On;
C3. the level of the universal input export structure is adjusted to high level;
C4. interrupt step is exited;
C5. B is entered step.
Above-mentioned steps are suitable for showing that equipment digit is less, can not disposably show whole IP address data, need IP The case where address date is decomposed and is shown by several times.
A further technical solution of the present invention is: the step C2 include it is following step by step:
IP address is divided into N sections by the data bits that C21. can be shown according to display module, the digit of every segment data and institute It states that the maximum data digit that display module can be shown is identical, and distributes the natural number from 1 to N as data mark to every segment data Will;
C22.BMC reads the Data Labels of storage;
C23.BMC obtains the corresponding IP data of Data Labels and it will be shown on the display module;
Data Labels numerical value is increased by 1 and stored by C24.BMC.
A further technical solution of the present invention is: the Data Labels further include numerical value 0, the number that the step C22 is read When according to mark being N, the numerical value stored in the step C24 is 0;The Data Labels read in the C22 step when being 0 C23 carries out closing display module operation.
A further technical solution of the present invention is: setting 0 for the numerical value of the Data Labels when step A is carried out.
A further technical solution of the present invention is: BMC is connected by UART serial ports with the display module.UART (Universal Asynchronous Receiver/Transmitter) is a kind of Universal Serial Bus, for asynchronous Communication.
A further technical solution of the present invention is: the universal input/output interface is connected with motherboard power supply.
The beneficial effects of the present invention are: this programme can be realized by the simple hardware and software of introducing shows BMC at any time The function of IP.Without mainboard external-connection displayer, enters BIOS Setup interface time-consuming and cumbersome process without booting, also need not Increase high-cost liquid crystal display.Obtaining BMC IP address using this method also has the function of real-time update.
Detailed description of the invention
Fig. 1 is the applicable of the method provided in an embodiment of the present invention realized and check server master board BMC IP address at any time Hardware device schematic diagram.
Fig. 2 is the process provided in an embodiment of the present invention realized and check the method for server master board BMC IP address at any time Figure.
Specific embodiment
Embodiment is just like shown in Fig. 1 .2..
Fig. 1 is the applicable of the method provided in an embodiment of the present invention realized and check server master board BMC IP address at any time Hardware device schematic diagram.It is provided by the invention to realize that the method for checking server master board BMC IP address at any time is only needed existing Additionally increase a button on mainboard and the real time inspection of BMC IP address can be realized in a display device.
Such as Fig. 1, a universal input/output interface (GPIO) of BMC is connected with trigger module, trigger module can be with Using button or other the switch of identical function may be implemented, be connected by resistance with motherboard power supply, make no button grasp When making, GPIO input is high level, and when there is button pressing operations, GPIO input low level can generate an interruption in this way, is adjusted With pre-set interrupt routine processing operation.The UART serial ports of BMC is connected with the serial ports of display module, is made through BMC serial ports The digital information of output can be shown on charactron.
The display of BMC IP is carried out in the present embodiment by taking double figures code pipe as an example.A minimum dimension model is selected first Charactron, two charactrons discharge side by side, then plus a button, occupied space also very little can be placed on according to motherboard design needs Any position of mainboard, user-friendly to check, button and charactron are not necessarily to be placed on same position, can be with It is set as needed in different positions.Double figures code pipe is gone here and there together as display module by serial ports and mainboard BMC UART Mouth connection, mainboard UART serial ports are sent digital information, after treatment, are eventually displayed in above charactron.Current two bit strings mouth Digital tube display module has the product of comparative maturity, slightly improves one button of addition, it can use, and cost is very It is low.
Fig. 2 is the process provided in an embodiment of the present invention realized and check the method for server master board BMC IP address at any time Figure.
BMC IP address is 8 16 binary datas, is divided into 4 sections, 0xFF.0xFF.0xFF.0xFF, usual user sees To be 10 binary datas, such as 192.168.1.220.
When operator does not operate, charactron closed state is not shown, when operator with needing to obtain BMC IP When location, operator presses lower button, and charactron opens display left side first segment two bits, then clicks button, display left side Second segment two bits, then click, show third section two bits, then click the 4th section of two bits of display, then press one Under, charactron closing is not shown, is so recycled.
BMC first initializes GPIO function, sets input pattern for GPIO used in button, and be set as low electricity Flat triggering is interrupted, and interrupt function is opened, and preset IP address segment mark value is 0, this is preparation.Next it just waits for grasping Make personnel's operation, when not pressing key pressing, GPIO input is high level, does not generate interruption, and when having by key pressing, GPIO input is Low level, GPIO interrupt status position are set immediately, and GPIO interruption is triggered, and BMC calls interrupt handling routine.It is interrupting In processing routine, BMC first disposes interrupt status, waits the triggering interrupted next time, and then BMC is with obtaining current IP Location handles IP address, is processed into the data amount check that digital tube module can receive, such as digital tube module needs to receive ASCII character data etc.;Next needing to read the mark of IP address section, this flag data shares 5 kinds of values, and 0/1/2/3/4,0 Expression closing charactron, 1 expression transmission first segment two bits, 2 expression second segments, 3 expression third sections, 4 the 4th section of expressions, 5 Kind value represents 5 kinds of states, as key constantly recycles;According to IP address segment value, BMC by serial ports send IP address data or Close charactron;After having sent data, IP address section value of statistical indicant is added into 1 or zero, the mark used next time is set as, exits Interrupt routine.
It is provided by the invention to realize that the method for checking server master board BMC IP address at any time select 8 charactrons Disposable 16 systems of making show (or 12 charactrons disposably do 10 systems and show), but relative to 2 charactrons are used, make With multiple charactron one side higher costs, the space occupied is larger on mainboard on the other hand.So not being most preferred Scheme, but still within protection scope of the present invention, in addition, using the charactron of other numerical digits, such as 1,3 Digital sum pipes Same design also all within the scope of the present invention.
The function of showing BMC IP at any time can be realized by the simple hardware and software of introducing for this programme.Outside without mainboard Display is connect, enters BIOS Setup interface time-consuming and cumbersome process without booting, need not also increase high-cost liquid crystal Display screen.Obtaining BMC IP address using this method also has the function of real-time update.
The foregoing is merely illustrative of the preferred embodiments of the present invention, is not intended to limit the invention, all in essence of the invention Made any modifications, equivalent replacements, and improvements etc., should all be included in the protection scope of the present invention within mind and principle.

Claims (8)

1. a kind of realize the method for checking server master board BMC IP address at any time, which comprises the following steps:
A. initialization step, mainboard BMC is powered on and is set input mould for universal input/output interface in the initialization step The level of the universal input/output interface is set high level by formula;
B. it triggers step, forces the universal input/output interface with the mainboard BMC trigger module being connected in the triggering step Level translation be low level, the level of the universal input/output interface is low to trigger interrupt step;
C. interrupt step, mainboard BMC reads current IP value and exports in the display mould being connected with mainboard BMC in the interrupt step On block;
In interrupt processing, BMC first disposes interrupt status, waits the triggering interrupted next time, and then BMC obtains current IP address, IP address is handled;Then the mark of IP address section is read, and as key constantly recycles;According to IP Location segment value, BMC send IP address data by serial ports or close charactron;After having sent data, by IP address section value of statistical indicant Add 1 or zero, is set as the mark used next time, exits interrupt routine.
2. according to claim 1 realize the method for checking server master board BMC IP address at any time, it is characterised in that: institute State step C include it is following step by step:
C1. mainboard BMC reads current IP value;
C2. IP address is treated as data format that the display module can receive and shown on the display module;
C3. the level of the universal input export structure is adjusted to high level;
C4. interrupt mode is exited.
3. according to claim 1 realize the method for checking server master board BMC IP address at any time, it is characterised in that: institute State step C include it is following step by step:
C1. mainboard BMC reads current IP value;
C2. IP address is treated as data format that the display module can receive and shown on the display module;
C3. the level of the universal input export structure is adjusted to high level;
C4. interrupt step is exited;
C5. B is entered step.
4. according to claim 3 realize the method for checking server master board BMC IP address at any time, it is characterised in that: institute State step C2 include it is following step by step:
IP address is divided into N sections by the data bits that C21. can be shown according to display module, and the digit of every segment data is shown with described The maximum data digit for showing that module can be shown is identical, and distributes the natural number from 1 to N as Data Labels to every segment data;
C22.BMC reads the Data Labels of storage;
C23.BMC obtains the corresponding IP data of Data Labels and it will be shown on the display module;
Data Labels numerical value is increased by 1 and stored by C24.BMC.
5. according to claim 4 realize the method for checking server master board BMC IP address at any time, it is characterised in that: institute Stating Data Labels further includes numerical value 0, when the Data Labels that the step C22 is read are N, the numerical value that is stored in the step C24 It is 0;The step C23 carries out closing display module operation when the Data Labels read in the C22 are 0.
6. according to claim 5 realize the method for checking server master board BMC IP address at any time, it is characterised in that: institute It states and sets 0 for the numerical value of the Data Labels when step A is carried out.
7. the method that server master board BMC IP address is checked in any realizations at any time in -6 according to claim 1, spy Sign is: BMC is connected by UART serial ports with the display module.
8. the method that server master board BMC IP address is checked in any realizations at any time in -6 according to claim 1, spy Sign is: the universal input/output interface is connected with motherboard power supply.
CN201610313482.5A 2016-05-11 2016-05-11 A method of server master board BMC IP address is checked in realization at any time Active CN106021075B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610313482.5A CN106021075B (en) 2016-05-11 2016-05-11 A method of server master board BMC IP address is checked in realization at any time

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610313482.5A CN106021075B (en) 2016-05-11 2016-05-11 A method of server master board BMC IP address is checked in realization at any time

Publications (2)

Publication Number Publication Date
CN106021075A CN106021075A (en) 2016-10-12
CN106021075B true CN106021075B (en) 2019-01-11

Family

ID=57099537

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610313482.5A Active CN106021075B (en) 2016-05-11 2016-05-11 A method of server master board BMC IP address is checked in realization at any time

Country Status (1)

Country Link
CN (1) CN106021075B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111181787B (en) * 2019-12-30 2023-10-13 浪潮电子信息产业股份有限公司 BMC parameter configuration method, device, equipment and medium
CN112380527B (en) * 2020-11-12 2024-02-23 新华三信息技术有限公司 Management system of server and access method of server management page
CN113794786B (en) * 2021-08-25 2023-12-26 新华三大数据技术有限公司 Management equipment and service system

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477529A (en) * 2002-08-22 2004-02-25 联想(北京)有限公司 Device for obtaining computer hardware information and method
CN102469168A (en) * 2010-11-01 2012-05-23 英业达股份有限公司 Method for setting network address
CN103916280A (en) * 2014-04-15 2014-07-09 浪潮电子信息产业股份有限公司 Blade server management network driving DHCP allocating method
CN104572227A (en) * 2015-02-06 2015-04-29 浪潮电子信息产业股份有限公司 Method for refreshing CPLD FW through BMC based on Itanium platform
CN104780062A (en) * 2015-03-25 2015-07-15 浪潮集团有限公司 Method for quickly acquiring IP address of BMC management network interface

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1477529A (en) * 2002-08-22 2004-02-25 联想(北京)有限公司 Device for obtaining computer hardware information and method
CN102469168A (en) * 2010-11-01 2012-05-23 英业达股份有限公司 Method for setting network address
CN103916280A (en) * 2014-04-15 2014-07-09 浪潮电子信息产业股份有限公司 Blade server management network driving DHCP allocating method
CN104572227A (en) * 2015-02-06 2015-04-29 浪潮电子信息产业股份有限公司 Method for refreshing CPLD FW through BMC based on Itanium platform
CN104780062A (en) * 2015-03-25 2015-07-15 浪潮集团有限公司 Method for quickly acquiring IP address of BMC management network interface

Also Published As

Publication number Publication date
CN106021075A (en) 2016-10-12

Similar Documents

Publication Publication Date Title
CN106021075B (en) A method of server master board BMC IP address is checked in realization at any time
CN104160383B (en) Semiconductor process control system and semiconductor processing control system
CN104838373B (en) For the devices, systems, and methods of multiple calculate node management based on single microcontroller
CN107908582A (en) Serial ports switching device and storage device
CN105718408A (en) Hot-pluggable computing system, computer-implemented method and system
CN109885457A (en) Indicate lamp control method, electronic equipment and computer readable storage medium
CN105653461B (en) A kind of single USB interfaces turn the converting system of more UART debugging interfaces
CN108664429A (en) The method and electronic equipment that principal and subordinate configures and links up agreement, improves compatibility
CN109471626A (en) Page logic structure, page generation method, page data processing method and device
CN205680036U (en) A kind of mainboard showing mainboard BMC IP address
CN105007306A (en) Remote assistance method for mobile terminal and terminal
CN110113496A (en) Screen display mode switching method, device and terminal device
CN207557886U (en) A kind of KVM switcher and control system
CN101030185B (en) Device for updating USB switching cascade line
CN200962216Y (en) Intelligent keyboard simulator
CN1975701B (en) Master machine driving external equipment method and system
CN109582320A (en) Write yard method and terminal device
CN110162287B (en) Method and device for realizing VGA display of PCIE Box
CN108616416B (en) Student end access method based on teaching software, teacher end, system and medium
CN106326063B (en) A kind of substrate management control card and substrate
CN207249662U (en) Adaptive usb synchronizers
CN103164125B (en) A kind of display device utilizing touch key-press to realize digit input function
CN111026279A (en) Method for making wired keyboard possess multi-equipment Bluetooth keyboard function
CN205665638U (en) Server mainboard convenient to BIOS sets up
CN201497996U (en) Portable stock exchanging machine based on wireless network

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
TA01 Transfer of patent application right
TA01 Transfer of patent application right

Effective date of registration: 20170508

Address after: 518000 Guangdong city of Shenzhen province Nanshan District Guangdong streets Park seven Shenzhen Digital Technology Park B1 building 3 floor C District

Applicant after: Shenzhen Tong Yi Yi Information Technology Co., Ltd.

Address before: 518000 Guangdong province Shenzhen city Nanshan District high tech park, seven Shenzhen City Digital Technology Park B1 building 3 floor C District

Applicant before: Shenzhen Guo Xinheng space Science and Technology Ltd.

GR01 Patent grant
GR01 Patent grant