CN100565470C - A kind of blog management method and device - Google Patents

A kind of blog management method and device Download PDF

Info

Publication number
CN100565470C
CN100565470C CNB200710198975XA CN200710198975A CN100565470C CN 100565470 C CN100565470 C CN 100565470C CN B200710198975X A CNB200710198975X A CN B200710198975XA CN 200710198975 A CN200710198975 A CN 200710198975A CN 100565470 C CN100565470 C CN 100565470C
Authority
CN
China
Prior art keywords
electronic system
hardware
key
daily record
module
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.)
Expired - Fee Related
Application number
CNB200710198975XA
Other languages
Chinese (zh)
Other versions
CN101183329A (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.)
New H3C Technologies Co Ltd
Original Assignee
Hangzhou H3C Technologies 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 Hangzhou H3C Technologies Co Ltd filed Critical Hangzhou H3C Technologies Co Ltd
Priority to CNB200710198975XA priority Critical patent/CN100565470C/en
Publication of CN101183329A publication Critical patent/CN101183329A/en
Application granted granted Critical
Publication of CN100565470C publication Critical patent/CN100565470C/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Abstract

The invention discloses a kind of blog management method, daily record with the mode recorded electronic system that is independent of operating system, comprise: by gathering the key signal of key hardware with the mode that the electronic system key hardware directly links to each other, not controlled by the operating system of electronic system, directly key signal is introduced hardware control; Hardware control generates daily record according to the described key signal that collects and preserves.By the hardware control that is provided with the status information of system is gathered generation daily record and preservation, need not as prior art, can only generate corresponding daily record by system's current operation system.Break down in system like this, the also timely current status information of register system during as problems such as deadlock, power down generates daily record and preserves, and prevents losing of key message, improves the reliability and maintainability of system.

Description

A kind of blog management method and device
Technical field
The present invention relates to technical field of electronic equipment, particularly relate to a kind of blog management method and device.
Background technology
Along with the continuous development and progress of electronic technology, electronic system also becomes increasingly complex, and therefore the reliability and maintainability of electronic system is also had higher requirement.Wherein, searching of failure location and failure cause relying on the record of electronic system self to log information in the electronic system, by can in time finding the reason of fault to the analysis of log information and proposing a solution, for example for recording of informations such as the temperature of electronic system, last electrical information, if the temperature of this electronic system of log record when the electronic system fault at that time is too high, the fault that this electronic system just is described may be because the electronic system temperature is too high caused, might be that cooling system has problem.Therefore can complete reliable log management determining not only find fast that fault deals with problems, and reduces electronic system break period, also determining the synthesized competitiveness of electronic system product.
The log management of prior art reports by software, obtains daily record by the mode of CPU time recording.When electronic system is normally moved, report the various states of electronic system by the software timing of electronic system, as the interruption of electronic system, voltage, temperature, key chip on the throne, go up the key message that electronic system such as electrical information need write down, these information of software control CPU time recording of electronic system generate corresponding daily record and preservation.As shown in Figure 1, be prior art log acquisition method synoptic diagram, the key message of administration module, calendaring module and acquisition module being gathered by the operating system of electronic system carries out record, and generates corresponding journal file and preserve.
The shortcoming of prior art is: the current system information for electronic system must can obtain gathering through operating system, will break down in operating system like this, during cisco unity malfunction, just can't gather relevant system information, when occurring as situations such as the deadlock of electronic system, powered-off faults, make the key hardware signal not gathered timely and record, as the signal of interest of RESET, PWRGD, pin status and the critical bus of key chip etc., the disappearance of above-mentioned key signal record bring inconvenience can for the maintenance of electronic system.
Summary of the invention
The problem that the embodiment of the invention will solve provides a kind of blog management method and device, be used for log information by the hardware mode register system, solve in the prior art in electronic system and occur when unusual, the operating system of system is the technological deficiency of the key state information during the register system fault in time.
For achieving the above object, the embodiment of the invention proposes a kind of blog management method on the one hand, daily record with the mode recorded electronic system that is independent of operating system, comprise: gather the key signal of key hardware by the mode that the pin with the electronic system key hardware directly links to each other, not controlled by the operating system of electronic system, will comprise that directly the system information of key signal is introduced hardware control; Hardware control generates daily record according to the described key signal that collects and preserves.
Wherein, also comprise: described hardware control is gathered the current system information of following electronic system: by the current environmental information of the described electronic system of sensor acquisition; Or, the initializing signal of described electronic system is inserted described hardware control, make described hardware control record initialization information when described electronic system initialization.
Wherein, also comprise: described hardware control is also monitored the software environment of described electronic system, obtains the information of the running software in the software environment.
Wherein, also comprise: described hardware control is periodically preserved the daily record that generates, or when described hardware control listened to described electronic system event occurs, described hardware control was preserved described daily record.
Wherein, described incident is specially: the saltus step of key signal or the change of system configuration.
Wherein, after described hardware control generates daily record and preservation, also comprise, judge the state of the storer of preserving described daily record, the old daily record of circulation covering if described storer is full.
The embodiment of the invention also proposes a kind of log management apparatus corresponding to said method, be used for daily record with the mode recorded electronic system that is independent of described operating system, comprise acquisition module, controller module and memory module, described acquisition module, link to each other with the pin of key hardware in the electronic system, be used for the key signal of key hardware is directly introduced described controller module, described acquisition module is made of hardware circuit, is independent of the operating system of described electronic system; Described controller module is used for generating daily record according to the described key signal that described acquisition module is introduced, and the daily record that generates is kept in the described memory module; Described memory module is used to preserve the daily record that described controller module generates.
Wherein, described acquisition module comprises one or more in key signal record sub module, environmental information collection submodule and the initialization information submodule, described key signal record sub module, be used for linking to each other with described electronic system key hardware, obtain the key signal of this key hardware, and described key signal is directly introduced described controller module; Described environmental information is gathered submodule, is used for by the described electronic system current environment of sensor acquisition information, and described electronic system current environment information is reported described controller module; Described initialization information submodule is used for linking to each other with the initializing signal of described electronic system, and described initializing signal is directly introduced described controller module.
Wherein, described acquisition module also comprises software environment monitoring submodule, is used for the software environment of described electronic system is monitored, and obtains the information of the running software in the software environment.
Wherein, described controller module comprises the timer submodule, is used for periodically the daily record that generates being sent to described memory module and preserves.
Wherein, described controller module comprises the monitoring module, is used for the system information of described acquisition module collection is monitored, and when listening to described electronic system event occurs, the daily record that generates this moment is sent to described memory module preserve.
Wherein, above-mentioned module adopts the hardware logic device to realize.
The embodiment of the invention also proposes a kind of key message recording method, key message with the mode recorded electronic system that is independent of described operating system, specifically comprise: by with electronic system in the direct-connected mode of the pin of key hardware directly the key signal of electronic system is incorporated in the hardware control, by hardware control the key signal of introducing is carried out record.
The technical scheme of the embodiment of the invention has the following advantages, the embodiment of the invention is by the hardware ways of connecting, directly the key signal with key hardware in the electronic system is incorporated in the hardware control, generate daily record and preservation by hardware control according to the key signal of receiving, need not as prior art, can only pass through system's current operation system acquisition system information, and generate corresponding daily record.Break down in system like this, the also timely current status information of register system during as problems such as deadlock, power down generates daily record and preserves, and prevents losing of key message, improves the reliability and maintainability of system.
Description of drawings
Fig. 1 is a prior art log acquisition method synoptic diagram;
Fig. 2 is embodiment of the invention hardware log management synoptic diagram;
Fig. 3 is embodiment of the invention hardware log management specific implementation synoptic diagram;
Fig. 4 is an embodiment of the invention blog management method process flow diagram;
Fig. 5 is an embodiment of the invention log management apparatus synoptic diagram.
Embodiment
Below in conjunction with drawings and Examples, the specific embodiment of the present invention is described in further detail:
The embodiment of the invention mainly is the independent daily record information acquisition by being provided with in electronic system, generate pen recorder, and this device is directly linked to each other with the pin of key hardware in the electronic system, make the key signal of key hardware directly not to be linked in the hardware control by operating system, by hardware mode the key state information of system is in time preserved, need not can only be by the operating system acquisition system information of system as prior art, generate corresponding journal file, at system software the deadlock situation appears like this, or back operation system is restarted when not starting as yet in system, hardware unit by the embodiment of the invention still can register system key state information at that time, can not get the technological deficiency of record in time thereby can effectively solve key message.
As shown in Figure 2, be embodiment of the invention hardware log management synoptic diagram, by the hardware control that is provided with the system information of system is gathered in the figure, and generate corresponding daily record and preserve, therefore the interference that can not be subjected to operating system in the system can independently be preserved log information, particularly directly key signal is introduced described hardware control, can make the information of key signal not obtain timely record with having time-delay, in case and unusual saltus step takes place in key signal, hardware control also can in time be learnt, thereby startup is to comprehensive collection of system information.
Be introduced directly in the hardware control of setting by the key signal of the direct-connected mode of hardware, generate corresponding daily record according to the key signal of gathering and be kept in the storer by hardware control with system.Wherein above-mentioned hardware control can be hardware logic devices such as FPGA, and storer can be nonvolatile memory chips such as Flash.The key signal of system can be set according to the requirement of system, and for example the pin with certain chipset (as South Bridge chip group or north bridge chipset) links to each other with hardware control, makes the key signal of this chipset can be in time by the hardware control record; Certainly according to the needs of log, hardware control is linked to each other with any one chip in the system, also this hardware control can be articulated on the internal system bus, by hardware control the signal on the bus is monitored.Therefore from foregoing description as can be seen, the embodiment of the invention does not limit hardware control and can monitor which key signal, but propose a kind of by the hardware device record, generate the method for preserving daily record, the key signal that will need to write down by the direct-connected mode of hardware is introduced directly in the hardware control, do not need to resemble and to gather system information by operating system the prior art, and generate corresponding daily record, just can't in time preserve the status information of system when software fault or system in case of system halt, this is unfavorable for system failure recovery very much.
Preferred version as the embodiment of the invention, as shown in Figure 3, be embodiment of the invention hardware log management specific implementation synoptic diagram, in the figure by the environmental state information acquisition module, key signal is monitored module, initialization module, the module that module and calendaring module etc. are gathered system information is monitored by system, can be with the key signal of monitored system, the management information of system, temperature, information such as voltage are delivered in the hardware control, dispatch by the hardware control unification, handle, generate corresponding journal file, be saved in the pre-assigned storer.Wherein, the environmental state information acquisition module is relevant with the hardware environment of system, the main current temperature of acquisition system, environmental state information such as operating voltage, can be by sensor and the corresponding ad/da converter operating voltage with current system be set, information such as working temperature in time are sent in the hardware control; Key signal is monitored module mainly by linking to each other with the direct of system core hardware, the key signal of key hardware is introduced directly in the hardware control, make hardware control can in time monitor the also situation of recorded key signal, as directly linking to each other with certain chipset.Initialization module mainly is linked into the reset signal of system and the indicator signal that powers on etc. in the hardware control, in system reset, and under the situation that operating system such as power on does not also start, can the register system reset signal or the variation of the indicator signal that powers on.System monitors module and is used for linking to each other with the software environment of system, and the status information in the logging software environment is as serial ports output information etc.Wherein, above-mentioned environmental state information acquisition module, key signal are monitored modules such as module, initialization module, system's monitoring module and calendaring module, constitute by hardware circuit, and are independent of the operating system of electronic system, are not subjected to the control of operating system.
As shown in Figure 4, be embodiment of the invention blog management method process flow diagram, this method is used for the daily record of recorded electronic system, can may further comprise the steps with the key message of the mode recorded electronic system that is independent of described operating system:
Step S401 by gathering the key signal of key hardware with the mode that the electronic system key hardware directly links to each other, is not controlled by the operating system of electronic system in gatherer process, directly system informations such as key signal is introduced hardware control.As directly the key signal of electronic system being inserted hardware control, as chip is set links to each other with hardware control, the mode direct-connected by hardware directly is incorporated into key signal in the hardware control; By sensor acquisition electronic system current environment information, system's Current Temperatures etc.; Perhaps also the initializing signal of described electronic system can be introduced directly into hardware control, make hardware control write down initialization information when the electronic system initialization, as the reset signal of register system, indicator signal etc. powers on.
Step S402, by the collection of above-mentioned steps to system informations such as key signals, generate corresponding daily record and be kept in the predefined storer, wherein to the collection of system information with to can freely setting the interval time of log store, as can per hour once gathering or store, perhaps per hour once gather, but have only according to the signal discovery of gathering when event occurs, as certain key signal generation saltus step, just the daily record that generates is preserved.Wherein, canned data quantity is definite as required for the idle size of storer in the above-described embodiments, after if the information in the storer reaches some, new message loop can be covered old information, guarantee that up-to-date data can store.
As shown in Figure 5, be embodiment of the invention log management apparatus synoptic diagram, this device is used for the daily record of recorded electronic system, make described electronic system when breaking down, also can make the daily record that comprises key message obtain preserving, comprise acquisition module 11, controller module 12 and memory module 13, acquisition module 11 links to each other with the pin of key hardware in the electronic system, be used for the key signal of key hardware is directly introduced controller module 12, acquisition module 11 is made of hardware circuit, is independent of the operating system of electronic system; Controller module 12 is used for generating daily record according to the key signal that acquisition module 11 is introduced, and the daily record that generates is kept in the memory module 13; Memory module 13 is used to preserve the daily record that controller module 12 generates.
Wherein, acquisition module 11 comprises one or more in key signal record sub module 111, environmental information collection submodule 112 and the initialization information submodule 113, key signal record sub module 111 is used for linking to each other with 1 described electronic system key hardware, obtain the key signal of this key hardware, and key signal is directly introduced controller module 12; Environmental information is gathered submodule 112 and is used for by the described electronic system current environment of sensor acquisition information, and described electronic system current environment information is reported controller module 12; Initialization information submodule 113 is used for linking to each other with the initializing signal of described electronic system, and described initializing signal is directly introduced described controller module.
Wherein, acquisition module 11 also comprises software environment monitoring submodule 114, is used for the software environment of described electronic system is monitored, and obtains the information of the running software in the software environment.
Wherein, controller module 12 comprises timer submodule 121, is used for periodically the daily record that generates being sent to memory module 13 and preserves.
Wherein, controller module 12 comprises monitors module 122, is used for the system information that acquisition module 11 is gathered is monitored, and when listening to described electronic system event occurs, the daily record that generates this moment is sent to memory module 13 preserve.
The embodiment of the invention is by the hardware ways of connecting, directly the key signal with key hardware in the electronic system is incorporated in the hardware control, generate daily record and preservation by hardware control according to the key signal of receiving, need not as prior art, can only pass through system's current operation system acquisition system information, and generate corresponding daily record.Break down in system like this, the also timely current status information of register system during as problems such as deadlock, power down generates daily record and preserves, and prevents losing of key message, improves the reliability and maintainability of system.
Through the above description of the embodiments, those skilled in the art can be well understood to the present invention and can realize by the mode that software adds essential general hardware platform, can certainly pass through hardware, but the former is better embodiment under a lot of situation.Based on such understanding, the part that technical scheme of the present invention contributes to prior art in essence in other words can embody with the form of software product, this computer software product is stored in the storage medium, comprise that some instructions are with so that a computer equipment (can be a personal computer, server, the perhaps network equipment etc.) carry out the described method of each embodiment of the present invention.
The above only is a preferred implementation of the present invention; should be pointed out that for those skilled in the art, under the prerequisite that does not break away from the principle of the invention; can also make some improvements and modifications, these improvements and modifications also should be considered as protection scope of the present invention.

Claims (13)

1, a kind of blog management method, the daily record with the mode recorded electronic system that is independent of operating system is characterized in that, comprising:
Gather the key signal of key hardware by the mode that the pin with the electronic system key hardware directly links to each other, not controlled by the operating system of electronic system, will comprise that directly the system information of key signal is introduced hardware control;
Hardware control generates daily record according to the described key signal that collects and preserves.
2, blog management method according to claim 1 is characterized in that also comprise: described hardware control is gathered the current system information of following electronic system:
By the current environmental information of the described electronic system of sensor acquisition;
Or, the initializing signal of described electronic system is inserted described hardware control, make described hardware control record initialization information when described electronic system initialization.
3, blog management method according to claim 1 is characterized in that, also comprises:
Described hardware control is also monitored the software environment of described electronic system, obtains the information of the running software in the software environment.
4, blog management method according to claim 1 is characterized in that, also comprises:
Described hardware control is periodically preserved the daily record that generates,
Or when described hardware control listened to described electronic system event occurs, described hardware control was preserved described daily record.
5, as blog management method as described in the claim 4, it is characterized in that described incident is specially: the saltus step of key signal or the change of system configuration.
6, blog management method according to claim 1 is characterized in that, after described hardware control generates daily record and preserves, also comprises, judges the state of the storer of preserving described daily record, if described storer is full then circulation covers old daily record.
7, a kind of log management apparatus corresponding to said method is used for the daily record with the mode recorded electronic system that is independent of described operating system, it is characterized in that, comprises acquisition module, controller module and memory module,
Described acquisition module links to each other with the pin of key hardware in the electronic system, is used for the key signal of key hardware is directly introduced described controller module, and described acquisition module is made of hardware circuit, is independent of the operating system of described electronic system;
Described controller module is used for generating daily record according to the described key signal that described acquisition module is introduced, and the daily record that generates is kept in the described memory module;
Described memory module is used to preserve the daily record that described controller module generates.
As log management apparatus as described in the claim 7, it is characterized in that 8, described acquisition module comprises that key signal record sub module, environmental information gather one or more in submodule and the initialization information submodule,
Described key signal record sub module is used for linking to each other with described electronic system key hardware, obtains the key signal of this key hardware, and described key signal is directly introduced described controller module;
Described environmental information is gathered submodule, is used for by the described electronic system current environment of sensor acquisition information, and described electronic system current environment information is reported described controller module;
Described initialization information submodule is used for linking to each other with the initializing signal of described electronic system, and described initializing signal is directly introduced described controller module.
As log management apparatus as described in the claim 8, it is characterized in that 9, described acquisition module comprises that also software environment monitors submodule, is used for the software environment of described electronic system is monitored, and obtains the information of the running software in the software environment.
10, as log management apparatus as described in the claim 7, it is characterized in that described controller module comprises the timer submodule, be used for periodically the daily record that generates being sent to described memory module and preserve.
11, as log management apparatus as described in the claim 7, it is characterized in that, described controller module comprises the monitoring module, be used for the system information of described acquisition module collection is monitored, when listening to described electronic system event occurs, the daily record that generates this moment is sent to described memory module preserve.
12, as claim 7-11 log management apparatus as described in each, it is characterized in that above-mentioned module adopts the hardware logic device to realize.
13, a kind of key message recording method is used for the key signal with the mode recorded electronic system that is independent of described operating system, it is characterized in that, specifically comprises:
By with electronic system in the direct-connected mode of the pin of key hardware directly the key signal of electronic system is incorporated in the hardware control, by hardware control the key signal of introducing is carried out record.
CNB200710198975XA 2007-12-07 2007-12-07 A kind of blog management method and device Expired - Fee Related CN100565470C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB200710198975XA CN100565470C (en) 2007-12-07 2007-12-07 A kind of blog management method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB200710198975XA CN100565470C (en) 2007-12-07 2007-12-07 A kind of blog management method and device

Publications (2)

Publication Number Publication Date
CN101183329A CN101183329A (en) 2008-05-21
CN100565470C true CN100565470C (en) 2009-12-02

Family

ID=39448616

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB200710198975XA Expired - Fee Related CN100565470C (en) 2007-12-07 2007-12-07 A kind of blog management method and device

Country Status (1)

Country Link
CN (1) CN100565470C (en)

Families Citing this family (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103559231B (en) * 2013-10-23 2018-03-09 华为技术有限公司 A kind of file system quota management method, apparatus and system
CN104836829B (en) * 2014-10-27 2018-08-07 北京宝沃汽车有限公司 The long-distance monitoring method and remote monitoring system of vehicle
CN104394023B (en) * 2014-12-09 2018-05-01 上海斐讯数据通信技术有限公司 Failure collection method and system for network insertion terminal
CN104991856A (en) * 2015-06-30 2015-10-21 浪潮(北京)电子信息产业有限公司 Information recording apparatus and information recording method
JP6658311B2 (en) * 2015-07-29 2020-03-04 株式会社リコー Electronic device, log storage method, and image forming apparatus
CN106155875A (en) * 2016-06-29 2016-11-23 北京小米移动软件有限公司 A kind of method and apparatus of guiding system daily record
CN106919490A (en) * 2017-02-19 2017-07-04 郑州云海信息技术有限公司 Server failure detection method and device
CN107341085B (en) * 2017-06-14 2020-12-08 北京多思安全芯片科技有限公司 Control device
CN108040159B (en) * 2017-11-30 2021-01-29 江苏觅丰电商科技有限公司 Restart positioning method based on hardware drive, mobile terminal and readable storage medium
CN109101358A (en) * 2018-07-27 2018-12-28 郑州云海信息技术有限公司 Server system and its hardware log recording device and method
CN110058978A (en) * 2019-03-22 2019-07-26 山东超越数控电子股份有限公司 A kind of error log recording device for computer

Also Published As

Publication number Publication date
CN101183329A (en) 2008-05-21

Similar Documents

Publication Publication Date Title
CN100565470C (en) A kind of blog management method and device
CN103138971B (en) Server cabinet system
CN101976217B (en) Anomaly detection method and system for network processing unit
CN101937376B (en) A kind of data managing method and data storage device
CN108287780A (en) A kind of device and method of monitoring server CPLD states
CN106326061A (en) High-speed cache data processing method and equipment
CN101706748B (en) Logging method, system and single board management controller
CN104320308A (en) Method and device for detecting anomalies of server
CN104035892A (en) Server system and cluster system
CN101794251A (en) Computer health monitoring and managing system and method
CN102354261A (en) Remote control system for power supply switches of machine room servers
CN105760241A (en) Exporting method and system for memory data
CN112882901A (en) Intelligent health state monitor of distributed processing system
CN107807576A (en) A kind of intelligent power distribution monitoring management apparatus
CN210038709U (en) Power monitoring management buckle
CN112019455B (en) Switch monitoring device and method based on programmable logic device
CN116521478A (en) Board state monitoring method, system, electronic equipment and medium
CN113742166B (en) Method, device and system for recording logs of server system devices
CN113849355B (en) I2C rate self-adaptive adjustment method, system, terminal and storage medium
CN113868036B (en) Method, system, terminal and storage medium for monitoring server time sequence abnormality
CN206627947U (en) A kind of information records Debug card
CN111459768A (en) Hard disk management method, device, equipment and machine readable storage medium
CN114690716A (en) Design method of DCS system circuit board card service life automatic diagnosis alarm system
CN109240623A (en) A kind of circuit and method controlling the power-on and power-off of hard disk independence
CN117687859B (en) Abnormality detection device, abnormality detection system, abnormality detection server and abnormality detection method for PCIe device

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CP03 Change of name, title or address
CP03 Change of name, title or address

Address after: 310052 Binjiang District Changhe Road, Zhejiang, China, No. 466, No.

Patentee after: Xinhua three Technology Co., Ltd.

Address before: 310053 Hangzhou hi tech Industrial Development Zone, Zhejiang province science and Technology Industrial Park, No. 310 and No. six road, HUAWEI, Hangzhou production base

Patentee before: Huasan Communication Technology Co., Ltd.

CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091202

Termination date: 20191207