CN107247505A - A kind of Cloud Server power supply blackbox design methods for being easy to check - Google Patents

A kind of Cloud Server power supply blackbox design methods for being easy to check Download PDF

Info

Publication number
CN107247505A
CN107247505A CN201710439445.3A CN201710439445A CN107247505A CN 107247505 A CN107247505 A CN 107247505A CN 201710439445 A CN201710439445 A CN 201710439445A CN 107247505 A CN107247505 A CN 107247505A
Authority
CN
China
Prior art keywords
power supply
data
fault
server power
blackbox
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.)
Granted
Application number
CN201710439445.3A
Other languages
Chinese (zh)
Other versions
CN107247505B (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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Zhengzhou Yunhai 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 Zhengzhou Yunhai Information Technology Co Ltd filed Critical Zhengzhou Yunhai Information Technology Co Ltd
Priority to CN201710439445.3A priority Critical patent/CN107247505B/en
Publication of CN107247505A publication Critical patent/CN107247505A/en
Application granted granted Critical
Publication of CN107247505B publication Critical patent/CN107247505B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3466Performance evaluation by tracing or monitoring
    • G06F11/3476Data logging

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Computer Hardware Design (AREA)
  • Quality & Reliability (AREA)
  • Power Sources (AREA)

Abstract

A kind of Cloud Server power supply blackbox design methods for being easy to check, comprise the following steps:When server power supply breaks down, the data category of fault moment is distinguished, and stored into different registers, fault data is identified by page modes;The data category that fault moment is deposited in same register is identical;When inquiring about fault of server power supply information to investigate failure, instruction is switched to corresponding page at the time of generation according to failure, the PMbus standardized instructions for reusing standard read the data for the fault moment being respectively stored in different registers, and investigation and the confirmation of fault of server power supply reason are then completed according to the data for reading and being resolved to.The present invention deposits fault of server power supply information data from existing single register, is changed to multiple registers storages, with solve blackbox data lengths it is long when server instruction can not read the problem of, be easy to be managed power failure and operate.

Description

A kind of Cloud Server power supply blackbox design methods for being easy to check
Technical field
The present invention relates to data quick storage and the method read, belong to field of computer technology, and in particular to Yi Zhongyi In the Cloud Server power supply blackbox design methods checked.
Background technology
Server power supply is exactly to refer to the power supply using on the server, and it is as the power supply that personal computer is used, all It is a kind of Switching Power Supply.Server power supply can be divided into two kinds of ATX power supplys and SSI power supplys according to standard.Server power supply is going out Need fault message writing on power source internal to position failure problems when existing failure and used for malfunction elimination, i.e., Blackbox data, Chinese is referred to as black box fault log.
For blackbox data records, currently existing scheme is mostly that multi-group data directly is placed directly in into a register In, it is necessary to this information of address bit is all read out when use, parse corresponding data further according to specific section. The instruction that server internal reads power information is required to reading length, when the blackbox length designed is more than server sheet During the requirement of body, instruction can not just read power supply blackbox information, it is necessary to take out power supply using service from server The instrument of device manufacturer is parsed, and is not easy to Field Force's operation, the accident analysis requirement of client can not be met sometimes.
As Chinese patent (application number CN201611208065.0) discloses a kind of " server prison based on server architecture Control system ", temperature of the server power supply data acquisition module for obtaining power supply, power consumption, output current, output voltage, in place Status information, fault status information;Processor receives fan data acquisition module, hard disc data acquisition module, server power supply The data message that data acquisition module is sent, and the data message of reception is stored to data storage module, while by reception Data message is shown on the display unit, and when the data message of reception exceeds threshold value, prompt message is sent on the display unit. It is required to the operational factor of real-time monitoring server in the routine use and O&M of server, and by server operational factor Information and the visualization of server failure information realization, are monitored, it is ensured that server to server internal element and module in real time It is stable.The invention is conducive to improving the monitoring and operation to server by visualizing the different parameters value of power supply, but right When power failure blackbox length is more than the requirement of server in itself, the problem of instruction just can not read blackbox information Do not relate to, be not easy to operating personnel and analysis judgement is carried out to power failure reason, and then take effective solution.
The content of the invention
The present invention provides a kind of Cloud Server power supply blackbox design methods for being easy to check, for solving in server When instruction is read less than the length that blackbox is designed in inside, cause the problem of instruction can not read power supply blackbox information, Field Force is facilitated to analyze and operate power failure, so that targetedly present in the use of settlement server power supply Problem.
The present invention is achieved by the following technical programs:
A kind of Cloud Server power supply blackbox design methods for being easy to check, including server power supply and multiple deposits Device, comprises the following steps:
S1, when server power supply breaks down, the data category of fault moment is distinguished, and store to different and post In storage, this time fault data is identified with page coded systems;
S2, break down the data at moment according to recording next server power supply the step of S1, deposited in same register The data category of fault moment is identical;
S2, when inquire about fault of server power supply information to investigate failure when, at the time of generation according to failure instruction be switched to Corresponding page codings, the PMbus standardized instructions for reusing standard read the fault moment being respectively stored in different registers Data, investigation and the confirmation of fault of server power supply reason are then completed according to the data that read and be resolved to.
Deposited in a kind of Cloud Server power supply blackbox design methods for being easy to check as described above, the step S1 Device is provided with 4.
4 in a kind of Cloud Server power supply blackbox design methods for being easy to check as described above, the step S1 Register sets the data of middle category storage, respectively the corresponding input voltage of fault moment, input current, output voltage, enter Draught temperature numerical value.
Class is pressed in a kind of Cloud Server power supply blackbox design methods for being easy to check as described above, the step S1 The data length scope of register is not stored between 1~15 bytes.
Failure in a kind of Cloud Server power supply blackbox design methods for being easy to check as described above, the step S1 The scope that data are identified by page coded systems is between 5~15.
Compared with prior art, it is an advantage of the invention that:
1st, by the way that fault of server power supply information data is deposited from existing single register, multiple registers are changed to Storage, can effectively solve blackbox data lengths it is long when server instruction can not read data the problem of.
2nd, the present invention can be used for all support Pmbus server system, in the feelings without using any script or software Under condition, directly instruct read failure data to carry out power failure analysis by ipmitool, be easy to research and development and contact staff to read Power failure information, saves the case study time.
3rd, the present invention can form module design and product, for follow-up all kinds of servers, meet user to server The demand of power management function, reduces product development cost.
Brief description of the drawings
In order to illustrate more clearly about the embodiment of the present invention or technical scheme of the prior art, below will be to embodiment or existing There is the accompanying drawing used required in technology description to be briefly described.
Fig. 1 is existing fault of server power supply data blackbox accesses schematic diagram;
Fig. 2 is the fault of server power supply data blackbox access schematic diagrames of the present invention.
Embodiment
To make the purpose, technical scheme and advantage of the embodiment of the present invention clearer, below in conjunction with the embodiment of the present invention In accompanying drawing, the technical scheme in the embodiment of the present invention is clearly and completely described, it is clear that described embodiment is A part of embodiment of the present invention, rather than whole embodiments.
A kind of Cloud Server power supply blackbox design methods for being easy to check, including server power supply and multiple deposits Device, comprises the following steps:
S1, when server power supply breaks down, the data category of fault moment is distinguished, and store to different and post In storage, this time fault data is identified by page coded systems;
S2, break down the data at moment according to recording next server power supply the step of S1, deposited in same register The data category of fault moment is identical;
S2, when inquire about fault of server power supply information to investigate failure when, at the time of generation according to failure instruction be switched to Corresponding page codings, the PMbus standardized instructions for reusing standard read the fault moment being respectively stored in different registers Data, investigation and the confirmation of fault of server power supply reason are then completed according to the data that read and be resolved to.
Specifically, power supply blackbox information is deposited with multiple independent deposits such as Pin, Iin by the present embodiment respectively In device, then as needed individually from above register read failure information, while in order to distinguish the information recorded each time, pressing Deposited according to page modes, so in any server can simple operations and without concern of data command length beyond service Required in device.
Wherein, the principle of balckbox information storage is as follows:
Data during failure can be recorded during power failure, corresponding page is placed on according to the time of generation In, i.e. by all data Ji Lu page1 of first time failure, second record in page2, it is incremented by successively to page most On a large scale, then circulated again;Corresponding page is switched to by instruction when reading, advised further according to the PMbus of standard Model instruction carries out digital independent.
Further clearly to illustrate, illustrated by taking the record of event 1 as an example, event 1 represents wherein one time server Power failure.
As shown in figure 1, existing fault of server power supply data blackbox access procedures are as follows:
1., when power supply occur 1 failure of event when, power supply can by the data A of required record to data N according to certain order Record is in a register;
2., when needing to obtain 1 failure of event from power source internal, it is necessary to the digital independent of whole register be come out, one As the corresponding fault of server power supply data of event 1 in hundreds of byte, then intercept the number of data A to data N in event 1 According to, and the byte occupied according to each data separately parses again;
3. operation is generally applicable to the script of manufacturer oneself exploitation more than, if but byte long is spent in the server It is long then can not use.
As shown in Fig. 2 the fault of server power supply data blackbox access procedures of the present invention after improving are as follows:
1., when 1 failure of event occurs for power supply, the event data of required record can be separately recorded in data A by power supply Into the corresponding registers of data N;
2., when needing to obtain 1 failure of event from power source internal, it is only necessary to be switched to page1 by instruction, then will make The data in data A to data N page1 are read with the ipmitool instructions of standard;
3., when needing to check event N, it is necessary to be switched to page N, then read according to the method in 2..
It should be noted that N is limited by memory space, determined with specific reference to memory space, typically between 5~15.More than Operation is not only applicable to power supply supplier oneself and reads data, while also being adapted for the server system reading in any support Pmbus Take, operation more facilitates.
With reference to Fig. 2, of the invention to implement step as follows:
1., can be by the data of fault moment, including input voltage, input current, output, when primary fault occurs for power supply The information such as voltage, air intake vent temperature are recorded in the way of an event among multiple registers;
2., when the data for needing to be recorded according to event 1 investigate failure, it is necessary to first switch power to page1, page is Represent the virtual page of all data in event, actually data A to the data N first or N that each register is recorded The set of individual data, when so checking event 1, is unlikely to read the data of other events;
3., input voltage, air intake vent temperature, output voltage, status word in page1 are read respectively using ipmitool instructions Deng data message, there was only 1-2, no more than 15 bytes data per the length of class data in single register;
4. the reason for, judging the specific failure of event 1 and possible breakdown according to the data for reading and being resolved to.
By above step, it is switched to different page codings and reads different event (1 to N) information, you can complete power supply The investigation of failure and confirmation.In addition to above-mentioned data, also failure hair can be carried out by the total power-on time of recording power according to actual needs Make trouble judgement of part etc..
The technology contents of the not detailed description of the present invention are known technology.

Claims (5)

1. a kind of Cloud Server power supply blackbox design methods for being easy to check, including server power supply and multiple deposits Device, it is characterised in that comprise the following steps:
S1, when server power supply breaks down, the data category of fault moment is distinguished, and stores to different registers In, this time fault data is identified with page coded systems;
S2, break down the data at moment according to recording next server power supply the step of S1, failure is deposited in same register The data category at moment is identical;
S2, when inquire about fault of server power supply information to investigate failure when, at the time of generation according to failure instruction be switched to correspondence Page codings, the PMbus standardized instructions for reusing standard read the number for being respectively stored in fault moment in different registers According to then according to the investigation for the data completion fault of server power supply reason for reading and being resolved to and confirmation.
2. a kind of Cloud Server power supply blackbox design methods for being easy to check according to claim 1, its feature exists In register is provided with 4 in the step S1.
3. a kind of Cloud Server power supply blackbox design methods for being easy to check according to claim 2, its feature exists In 4 registers set the data of middle category storage in the step S1, respectively the corresponding input voltage of fault moment, defeated Enter electric current, output voltage, air intake vent Temperature numerical.
4. according to a kind of any described Cloud Server power supply blackbox design methods for being easy to check of claims 1 to 3, its It is characterised by, category is stored in the data length scope of register between 1~15 bytes in the step S1.
5. a kind of Cloud Server power supply blackbox design methods for being easy to check according to claim 1, its feature exists In the scope that fault data is identified by page modes in the step S1 is between 5~15.
CN201710439445.3A 2017-06-12 2017-06-12 Cloud server power supply blackbox design method easy to view Active CN107247505B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710439445.3A CN107247505B (en) 2017-06-12 2017-06-12 Cloud server power supply blackbox design method easy to view

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710439445.3A CN107247505B (en) 2017-06-12 2017-06-12 Cloud server power supply blackbox design method easy to view

Publications (2)

Publication Number Publication Date
CN107247505A true CN107247505A (en) 2017-10-13
CN107247505B CN107247505B (en) 2020-05-15

Family

ID=60019049

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710439445.3A Active CN107247505B (en) 2017-06-12 2017-06-12 Cloud server power supply blackbox design method easy to view

Country Status (1)

Country Link
CN (1) CN107247505B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090000A (en) * 2018-01-11 2018-05-29 郑州云海信息技术有限公司 A kind of method and system for obtaining CPU register informations
CN109240846A (en) * 2018-09-19 2019-01-18 郑州云海信息技术有限公司 A kind of power failure diagnosing method, apparatus and server
CN111900498A (en) * 2020-06-30 2020-11-06 成都四威功率电子科技有限公司 Storage and retrieval method for fault information of battery management system

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108090000A (en) * 2018-01-11 2018-05-29 郑州云海信息技术有限公司 A kind of method and system for obtaining CPU register informations
CN109240846A (en) * 2018-09-19 2019-01-18 郑州云海信息技术有限公司 A kind of power failure diagnosing method, apparatus and server
CN111900498A (en) * 2020-06-30 2020-11-06 成都四威功率电子科技有限公司 Storage and retrieval method for fault information of battery management system
CN111900498B (en) * 2020-06-30 2022-10-21 成都四威功率电子科技有限公司 Storage and retrieval method for fault information of battery management system

Also Published As

Publication number Publication date
CN107247505B (en) 2020-05-15

Similar Documents

Publication Publication Date Title
CN103500133A (en) Fault locating method and device
CN101533366A (en) Method for acquiring and analyzing performance data of server
CN107247505A (en) A kind of Cloud Server power supply blackbox design methods for being easy to check
CN101997925A (en) Server monitoring method with early warning function and system thereof
CN108549591A (en) A kind of black box device and its implementation of embedded system
CN111522703A (en) Method, apparatus and computer program product for monitoring access requests
CN103577310A (en) Method and device for recording software debugging logs
CN103995500A (en) Controller, information processing apparatus, and program
CN108287780A (en) A kind of device and method of monitoring server CPLD states
CN106950948A (en) A kind of vehicle CAN Communication diagnostic logger and system
CN115543746A (en) Graphics processor monitoring method, system and device and electronic equipment
CN116881101A (en) Hard disk log recording, analyzing and monitoring method, system, equipment and medium
CN103778024A (en) Server system and message processing method thereof
CN109800124B (en) CPU utilization monitoring method and device, electronic equipment and storage medium
CN113590405A (en) Hard disk error detection method and device, storage medium and electronic device
CN111784176A (en) Data processing method, device, server and medium
CN101751283B (en) Virtual machine monitor, dummy machine system and client operation system state acquiring method
CN113742166B (en) Method, device and system for recording logs of server system devices
CN114418521B (en) Data processing method and device for nuclear power plant operation technical specification
CN115470056A (en) Method, system, device and medium for troubleshooting power-on starting of server hardware
CN112162954B (en) User operation log generation and path positioning method, device, equipment and medium
CN114911578A (en) Storage system monitoring and fault collecting method and device, terminal and storage medium
CN108062986A (en) A kind of tritium carbon sampler monitoring management system
CN114564354A (en) Database performance monitoring method and device, electronic equipment and storage medium
CN114137923A (en) Industrial production field data acquisition and control device

Legal Events

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

Effective date of registration: 20200417

Address after: 215100 No. 1 Guanpu Road, Guoxiang Street, Wuzhong Economic Development Zone, Suzhou City, Jiangsu Province

Applicant after: SUZHOU LANGCHAO INTELLIGENT TECHNOLOGY Co.,Ltd.

Address before: 450018 Henan province Zheng Dong New District of Zhengzhou City Xinyi Road No. 278 16 floor room 1601

Applicant before: ZHENGZHOU YUNHAI INFORMATION TECHNOLOGY Co.,Ltd.

GR01 Patent grant
GR01 Patent grant