A log reading device applied to a server and a server

22-01-2019 дата публикации
Номер:
CN0109254900A
Автор: LIU ZHEN, ZHANG KAI
Контакты:
Номер заявки: 99-10-20184359
Дата заявки: 29-08-2018

[1]

Technical Field

[2]

The invention relates to server technical field, in particular to a is applied to the server log reading apparatus and the server.

[3]

Background Art

[4]

In the network environment of server is a high-performance computer, because the server has for the other computer on the network to provide services to the important role of, so essential to maintain its normal operation. When the server when a fault occurs, the user the need for timely according to the server log analysis of their reasons for failure, to a server maintenance, restoration of the normal operation of the server. In a server of a BMC (Baseboard Management Controller, the baseboard management controller) includes two with the server log associated UART (Universal Asynchronous Receiver/Transmitter, universal asynchronous transmit-receive transmitter) interface, one of the UART interface can be for the user to read the system log, another UART interface can be for a user to read BMC management log.

[5]

In the prior art, for the user to read the server log, usually in the server cabinet space is preset in the UART interface with the two connected one by one of the two connector, a user to read the server log in a manner that: the case cover on the open server, will be used for reading the log of the tool are respectively inserted to the two connectors to the corresponding reading system log and BMC management log. The visible, the user in each reading of the server log when the case cover to open server, cause the reading process is tedious, time-consuming relatively long, reading efficiency is low; but, if users want to continuous reading system log and the management of the BMC log, the tool needs to be respectively inserted to the two connector, lead to the fixture plug more number of times, the user experience effect is poor.

[6]

Therefore, how to provide a solution to the above technical problem is the field of the technical personnel is at present the problem to be solved.

[7]

Content of the invention

[8]

The purpose of this invention is to provide a applied to the server log reading apparatus and the server, the user in preparing for reading server log does not need to open the casing cover, thus simplifying the reading process, saves time, and improves the reading efficiency; and, without plugging tool can be continuously read the system log and BMC management log, thereby reducing the number of plugging of the fixture, and improving the user experience effect.

[9]

In order to solve the above technical problem, the present invention provides a is applied to the server log reading device, including:

[10]

In the server the baseboard management controller of the BMC 1st UART interface connected to the signal conversion chip, for the UART signal conversion for the USB signal; wherein said 1st UART interface is used for outputting the system log; the BMC for pre-the output BMC management log of the function of the 2nd UART interface is integrated in the 1st UART interface physical output line;

[11]

Arranged on the outer side of the case of the server, with the signal conversion chip connected to the USB connector;

[12]

The function switching device, used for the case lid is not turned on under the condition that the user demand instruction received and success could should live instruction, so that the stated BMC receiving said function corresponding to the instruction after switching the 1st UART interface two function, in order to the user through the USB connector corresponding to the reading system log or BMC management log.

[13]

Preferably, the function switching device includes a direct current power supply, a pull-up resistor and is arranged on the outer side of the switch case, wherein:

[14]

The output terminal of said direct current power supply with the resistance upward of the end of the 1st, 2nd resistance upward of the respectively connected to the ends of the switch and the 1st end connected to the BMC, the switch of the 2nd end ground;

[15]

Then the function switching device in particular for the in the switch off of the output high level, low level output when closed, so that the stated BMC in receives the high level or the low level after the 1st UART interface should be switching the two function, in order to the user through the USB connector corresponding to the reading system log or BMC management log.

[16]

Preferably, the function switching device further comprises:

[17]

1st with the end of said resistance upward of the 2nd end is connected, with the end of the 2nd 1st end of the switch is connected to the current limiting circuit.

[18]

Preferably, the current limiting circuit includes a plurality of series and/or parallel with the current limiting resistance.

[19]

Preferably, the function switching device further comprises:

[20]

Used for filtering the input is coupled to the BMC of the interference signal in the switch signal, so as to prevent the misoperation of the BMC filtering circuit.

[21]

Preferably, the filtering circuit is a:

[22]

1st with the end of said resistance upward of the 2nd end connected, 2nd end grounded filter capacitor.

[23]

Preferably, the USB connector and the switch are arranged on the front panel of the box.

[24]

Preferably, the USB connector in particular to standard definition of Mini USB connector.

[25]

In order to solve the above technical problem, the present invention also provides a server, including the BMC, also includes the above-mentioned any one of the server applications log reading device.

[26]

Preferably, the BMC is also used for pre-1st UART interface the two function-to-one correspondence is reading instruction, for the user to risk management in the BMC according to demand under the input corresponding to the read instruction, to the corresponding reading system log or BMC management log.

[27]

The present invention provides a is applied to the server log reading device, comprises a signal conversion chip, USB connector and the function switching device. In the present application server of the BMC 2nd UART interface integrated in the function of the 1st UART interface physical on the output line, in other words, only by the BMC 1st UART interface, can realize the above-mentioned two UART interface function (that can be output system log can output BMC management log). Based on this, the function switching device according to user's demand control switching 1st UART interface BMC two function, so that the 1st UART interface according to the user requirement corresponding output system log or BMC management log (UART signal). Then, the signal converting chip UART signal conversion for the USB signal, and outputs to the USB connector, the user will match the USB connector of the USB connector is inserted to the tool, which corresponds to reading system log or BMC management log.

[28]

Since the USB connector is arranged on the outer side of the case of the server, the user in preparing for reading server log does not need to open the casing cover, thus simplifying the reading process, saves time, and improves the reading efficiency; and, because the 1st UART interface has two functions, the user on the outside by means of the function switching device under the condition of, without plugging tool can be continuously read the system log and BMC management log, thereby reducing the number of plugging of the fixture, improving the user experience effect.

[29]

The invention also provides a server, with the above-mentioned reading the device have the same beneficial effect.

[30]

Description of drawings

[31]

In order to more clearly illustrate the invention in the embodiment of the technical scheme, the lower portion of the existing technology and in the embodiment of Figure as the need to use simple introduction, it is clear that, in the description below of Figure is only some embodiments of the invention, the ordinary skill in the art is concerned, in the creative work of the premise of pay, can also be on the basis of these with photos to obtain the other of the Figure.

[32]

Figure 1 is the structure diagram of the invention provides a log read that applies to the server implementation of the device of example one;

[33]

Figure 2 is the structure diagram of the invention provides a log read that applies to the server implementation of the device of example two;

[34]

Figure 3 is the structure diagram of the present invention provides applying to the server of the implementation of the device of the log read .

[35]

Mode of execution

[36]

The core of this invention is to provide a applied to the server log reading apparatus and the server, the user in preparing for reading server log does not need to open the casing cover, thus simplifying the reading process, saves time, and improves the reading efficiency; and, without plugging tool can be continuously read the system log and BMC management log, thereby reducing the number of plugging of the fixture, and improving the user experience effect.

[37]

For the purpose of the embodiment of the invention, the technical scheme and the advantages more clearly, with the lower portion of the embodiment of the invention in the Figure, in the present embodiment of the invention the technical proposal a clear, and complete description, obviously, the embodiment described is a part of the embodiment of this invention, not all of the embodiments. In this invention based on the embodiment of the, ordinary skill in the art in the creative work did not obtained under the premise of all other embodiments, all belong to the scope of protection of this invention.

[38]

Please refer to the Figure 1, Figure 1 is the structure diagram of the invention provides a log read that applies to the server implementation of the device of example one.

[39]

This is applied to the server log reading device comprises:

[40]

In the server of the BMC 1st UART interface T1 is connected to the signal conversion chip 1, for the UART signal conversion for the USB signal; wherein 1st UART interface T1 is used for outputting the system log; BMC for pre-the output BMC management log of the 2nd UART interface T2 function integrated in the 1st UART interface T1 physical output line;

[41]

Arranged on the outer side of the case of the server, with the signal converting chip 1 is connected to the USB connector of 2;

[42]

The function switching device 3, for in the case of the cover does not open under the condition received by the user demand instruction should live success and can be instruction, so as to be received in the BMC function command corresponding to the switching 1st UART interface after T1 two function, so that the user through the USB connector 2 corresponding to the reading system log or BMC management log.

[43]

In particular, known server log comprises a system log and BMC management log, log by the BMC on two of the UART interface one to one of the two should be output. Based on this we can know, two UART interface has different functions, a UART interface is used for outputting the system log, another UART interface is used for outputting the BMC management log, it is because of this reason, the user wants to read two log, it will also need to tool are respectively inserted to the two UART interface. Therefore, the application of the internal coding of the BMC in advance through a UART interface function integrated in another UART interface on the physical output, makes another UART interface has two functions of the (according to the BMC performance, this is the output BMC management log of the UART interface function integrated in the output system log of the UART interface physical output line).

[44]

The application of the output of the system journal UART interface is defined as the 1st UART interface T1, output BMC management log of the UART interface is defined as the 2nd UART interface T2, so integrated after 1st UART interface of T1 has two functional (i.e. not only can output the system log can output BMC management log). Based on this, the application log reading device comprises a signal conversion chip 1, USB connector 2 and the function switching device 3, its working principle is:

[45]

Taking into account the 1st UART interface T1 has two functions, the application setting function switching device 3 is used for realizing the 1st UART interface T1 function of two switching, to meet the needs of the user of the current reading. In particular, the function switching device 3 first receiving user demand instruction, here the user needs instruction is a system log demand instruction or management log demand instruction, the two transmitted by the user; then according to user's demand instruction corresponding to the instruction generation function and outputs to the BMC, here the function of the instruction is a system log function instruction (with corresponding to the system log demand instruction) or management log function instruction (with corresponding to the management log demand instruction). It should be stated, that the function of the switching device 3 receives the user demand instruction this action in the outside of the case of the implementation of the server, the user does not need to open the casing cover can realize the 1st UART interface T1 function of two switching.

[46]

In the BMC receive the system log function after the order, make the 1st UART interface T1 at this moment has the function of the output of the system journal. At the same time, signal conversion chip 1 will be 1st UART interface T1 at this time the output of the UART signal (system log) is converted into the USB signal, and the USB signal output to the USB connector 2. The application of the USB connector 2 is arranged on the outer side of the case of the server, the user in preparing for reading server log does not need to open the casing cover, with the USB connector can be 2 matching tool is inserted to the USB connector 2 in order to read to the system log, thus simplifying the reading process, saves time, and improves the reading efficiency.

[47]

Or, BMC in response to receiving the management log function after the order, make the 1st UART interface T1 at this moment has output BMC management log function. By the same token, in this case, the user directly to the outer side of the tool is inserted to the case of the USB connector 2 can be read to the BMC management log. The visible, the application through the function integrated to achieve a USB connector 2 can output system log, and can output BMC management log, so if users want to continuous reading system log and BMC management log, only need to use the function switching device 3 control BMC switching 1st UART interface T1 two function can, without plugging tool, thereby reducing the number of plugging of the fixture, improving the user experience effect.

[48]

Further, the application of the BMC can be but not limited to the specific selected AST2500BMC, signal conversion chip 1 can be but not limited to the specific selected CY7C65213 chip, the application in this did not particularly limited. Please refer to the Figure 2, Figure 2 is the structure diagram of the invention provides a log read that applies to the server implementation of the device of example two. AST2500BMC with server logs in the two relevant UART interface are: UART1 (TXD1/RXD1) and UART5 (TXD5/RXD5), UART1 is used for outputting the system log, UART5 is used for outputting the BMC management log. BMC UART5 through the internal coding can be integrated in the function of UART1 physical on the output line, namely the BMC only control UART1 output can be realized UART1 and UART5 function. Of the BMC UART1 with CY7C65213 chip: TXD1 with CY7C65213 chip is connected to the RXD, RXD1 with CY7C65213 chip connected to the TXD (two-way communication), thereby realizing the signal conversion to end use USB connector 2 output USB signal, for a user to read.

[49]

The present invention provides a is applied to the server log reading device, comprises a signal conversion chip, USB connector and the function switching device. In the present application server of the BMC 2nd UART interface integrated in the function of the 1st UART interface physical on the output line, in other words, only by the BMC 1st UART interface, can realize the above-mentioned two UART interface function (that can be output system log can output BMC management log). Based on this, the function switching device according to user's demand control switching 1st UART interface BMC two function, so that the 1st UART interface according to the user requirement corresponding output system log or BMC management log (UART signal). Then, the signal converting chip UART signal conversion for the USB signal, and outputs to the USB connector, the user will match the USB connector of the USB connector is inserted to the tool, which corresponds to reading system log or BMC management log.

[50]

Since the USB connector is arranged on the outer side of the case of the server, the user in preparing for reading server log does not need to open the casing cover, thus simplifying the reading process, saves time, and improves the reading efficiency; and, because the 1st UART interface has two functions, the user on the outside by means of the function switching device under the condition of, without plugging tool can be continuously read the system log and BMC management log, thereby reducing the number of plugging of the fixture, improving the user experience effect.

[51]

Please refer to the Figure 3, Figure 3 is the structure diagram of the present invention provides applying to the server of the implementation of the device of the log read . The log reading device in the above-mentioned embodiment on the basis of:

[52]

As a preferred embodiment, the function switching device 3 comprises a direct current power supply, a pull-up resistor R and is on the outer side of the switch K, wherein:

[53]

The output terminal of the DC power supply with the pull-up resistor is connected to the end of the R 1st, R 2nd on the end of the pull-up resistor of the respectively connected with the switch K is connected to the end of the 1st and BMC, switch K of the 2nd end ground;

[54]

The function switching device 3 is used in particular for the disconnect switch when the K outputs the high level, the output of the closed when low level, in order to facilitate the BMC in receives the high level or the low level after the switching should be 1st UART interface T1 two function, so that the user through the USB connector 2 corresponding to the reading system log or BMC management log.

[55]

In particular, the application of the function switching device 3 comprises a direct current power supply, a pull-up resistor R and switch K, its the use of their own output to the low level of the BMC to realize the BMC 1st UART interface T1 of the function of two switching. It will be understood that, BMC has been advanced setting the high level and low level with the 1st UART interface T1 of the function of two-to-one correspondence relationship. Here there are two the setting mode: a 1st, high level→1st UART interface T1 has the function of the output of the system journal, low level→1st UART interface T1 has the function of the output of the BMC management log; a 2nd, high level→1st UART interface T1 has the function of BMC management log output, low level→1st UART interface T1 has the function of the output of the system journal.

[56]

For example, the application of the BMC 1st setting mode, when the switch K is off, the function switching device 3 is output to the BMC of the signal is the high level, while the BMC 1st UART interface T1 has the function of the output of the system journal; when the switch K is closed, the function switching device 3 is output to the BMC of the signal is the low level, while the BMC 1st UART interface T1 has the function of the output of the BMC management log, thus by changing the switch signal (high level or low level) realize the 1st UART interface T1 of the function of two switching.

[57]

It should be stated, the application of the switch K is on the outside, can be selected as the push-button switch, by a user according to the demand of the control switch K or switched off, so that the user without opening the case lid of realized under the conditions according to the need to read the system log or BMC management log.

[58]

In addition, the application in addition to utilizing the above-mentioned external switch K to realize the function switching external, can also adopt the BMC management interface to realize the function switching. In particular, in advance of the BMC is 1st UART interface T1 of one-to-two function should be setting the read instruction, the user can be according to the demands of the input corresponding to the risk management in the BMC under the reading instruction, on the basis of the need to read the corresponding log, thus increasing the operability of the switching functions, to further increase the effect of experience of the user.

[59]

As a preferred embodiment, the function switching device 3 also includes:

[60]

1st end of the pull-up resistor R is connected to the 2nd, 2nd end with the switch K of the end of the current limiting circuit is connected to the 1st CI.

[61]

Further, the application of the function switching device 3 also includes a current-limiting circuit CI, for limiting the magnitude of electric current flowing into the switch K, so as to protect the switch K, improve the safety and reliability of the circuit.

[62]

As a preferred embodiment, the current-limiting circuit CI includes a plurality of series and/or parallel with the current limiting resistance.

[63]

In particular, the application of the current-limiting circuit CI can include a plurality of current-limiting resistor, or only includes a current-limiting resistor, the resistance value of the current-limiting resistor and the number of selected based on technical personnel experience, the application in this did not particularly limited.

[64]

As a preferred embodiment, the function switching device 3 also includes:

[65]

Used for filtering the input to the BMC of the interference signal in the switch signal, in order to prevent the misoperation of the BMC filtering circuit.

[66]

Further, taking into account the switch signal input to the BMC in the interference signal, if the interference signal is stronger, possibly even leading to BMC to the switch signal of the mistaken judgment, thus leading to the BMC to 1st UART interface T1 of the misoperation of the function, in this case, a user to read log does not comply with the demand, the user experience effect is poor. Therefore, the application of the function switching device 3 also includes a filter circuit, for filtering the input to the switch of the BMC the interfering signal in, in order to prevent the misoperation BMC, thereby improving user experience effect.

[67]

As a preferred embodiment, the filtering circuit is a:

[68]

1st end of the pull-up resistor R is connected to the 2nd, 2nd end grounded filter capacitor C.

[69]

In particular, the application of the filtering circuit can select filter capacitance C, the circuit structure is relatively simple, low cost, of course, the filtering circuit can also choose other with filtering device of the function, the application in this did not particularly limited.

[70]

As a preferred embodiment, USB connector 2 and switch K are set on the front panel of the box.

[71]

In particular, the application of the USB connector 2 and switch K can be set up in the server front panel of the casing, more beautiful, and more convenient operation of a user, the user experience effect is better.

[72]

As a preferred embodiment, USB connector 2 in particular to standard definition of Mini USB connector.

[73]

In particular, the application of the USB connector 2 can be made of standard definition of Mini USB connector, space-saving. Due to the technical field of Mini USB connector has universal materials and pin definition, as the standard can all is grafted with them, so that the user reading log is more convenient, the user experience effect is better.

[74]

The invention also provides a server, including the BMC, also includes the above-mentioned any one of the server applications log reading device.

[75]

As a preferred embodiment, pre-BMC is also used for 1st UART interface two function-to-one correspondence is reading instruction, for the user to risk management in the BMC according to demand under the input corresponding to the read instruction, to the corresponding reading system log or BMC management log.

[76]

Provided by the application server of the log read on reference is made to the embodiments of the apparatus, the application shall not repeat them here.

[77]

Also it should be explained that, in the specification, such as the 1st and 2nd or the like terminology used for the relationship between only one entity or operation and another entity or a distinction between the operation, but do not necessarily require or imply that these entities or the operation of any such exists between the actual relation or sequence. Moreover, the term "including", "includes" or any of its other variants intended to cover a non-exclusive, so that includes a series of elements of the process, method, article or apparatus includes not only those elements, but also other elements not explicitly listed, or also includes for this process, method, articles or equipment inherent elements. In the absence of more restrictions, by the sentence "includes a..." defined elements, does not exclude including the process, method, article or apparatus in the same there is a further factor.

[78]

To the disclosed embodiments of the above-mentioned note, of the field professional technicians can realize or use of the invention. These embodiments multi-modification of the field of the professional and technical personnel for is obvious, defined in this text the general principles can be without departing from the spirit of this invention or scope of the cases, in the other embodiment to realize. Therefore, the invention will not be limited to the herein shown in these embodiments, it is to comply with disclosed herein and features of a novel principle of consistent with the scope of the most wide.



[79]

The invention discloses a log reading device applied to a server and the server, the device comprises a signal conversion chip, a USB connector and a function switching device. The BMC of the server integrates the functions of the second UART interface into the physical output line of the first UART interface. The function switching device controls the BMC to switch the two functions of the firstUART interface according to the user demand, so that the system log or the BMC management log is output correspondingly. The signal conversion chip then converts the UART signal into a USB signal so that the user can plug the fixture into the USB connector to read the required server log. As the USB connector is arranged on the outside of the chassis, the user does not need to open the chassis cover when reading the log, thereby simplifying the read process, saving time and improving the reading efficiency; The system log and the BMC management log can be continuously read without plugging andunplugging the fixture, thereby reducing the plugging and unplugging times of the fixture and improving the experience effect of the user.



1. A is applied to the server log reading device, characterized in that includes:

In the server the baseboard management controller of the BMC 1st UART interface connected to the signal conversion chip, for the UART signal conversion for the USB signal; wherein said 1st UART interface is used for outputting the system log; the BMC for pre-the output BMC management log of the function of the 2nd UART interface is integrated in the 1st UART interface physical output line;

Arranged on the outer side of the case of the server, with the signal conversion chip connected to the USB connector;

The function switching device, used for the case lid is not turned on under the condition that the user demand instruction received and success could should live instruction, so that the stated BMC receiving said function corresponding to the instruction after switching the 1st UART interface two function, in order to the user through the USB connector corresponding to the reading system log or BMC management log.

2. Applied to the server log reading device according to Claim 1, characterized in that the function switching device includes a direct current power supply, a pull-up resistor and is arranged on the outer side of the switch case, wherein:

The output terminal of said direct current power supply with the resistance upward of the end of the 1st, 2nd resistance upward of the respectively connected to the ends of the switch and the 1st end connected to the BMC, the switch of the 2nd end ground;

Then the function switching device in particular for the in the switch off of the output high level, low level output when closed, so that the stated BMC in receives the high level or the low level after the 1st UART interface should be switching the two function, in order to the user through the USB connector corresponding to the reading system log or BMC management log.

3. Applied to the server log reading device according to Claim 2, characterized in that the function switching device further comprises:

1st with the end of said resistance upward of the 2nd end is connected, with the end of the 2nd 1st end of the switch is connected to the current limiting circuit.

4. Applied to the server log reading device according to Claim 3, characterized in that said current limiting circuit includes a plurality of series and/or parallel with the current limiting resistance.

5. Applied to the server log reading device according to Claim 3, characterized in that the function switching device further comprises:

Used for filtering the input is coupled to the BMC of the interference signal in the switch signal, so as to prevent the misoperation of the BMC filtering circuit.

6. Applied to the server log reading device according to Claim 5, characterized in that said filter circuit in particular to:

1st with the end of said resistance upward of the 2nd end connected, 2nd end grounded filter capacitor.

7. Applied to the server log reading device according to Claim 2, characterized in that the USB connector and the switch are arranged on the front panel of the box.

8. Applied to the server log reading device according to Claim 7, characterized in that the USB connector in particular to standard definition of Mini USB connector.

9. A server, characterized in that comprises a BMC, also includes such as claim 1 - 8 applied to the any one of the server log reading device.

10. Server according to Claim 9, characterized in that the BMC is also used for pre-1st UART interface the two function-to-one correspondence is reading instruction, for the user to risk management in the BMC according to demand under the input corresponding to the read instruction, to the corresponding reading system log or BMC management log.