CN102594609A - Method for dynamically correcting alarm time of communication equipment - Google Patents
Method for dynamically correcting alarm time of communication equipment Download PDFInfo
- Publication number
- CN102594609A CN102594609A CN2012100714407A CN201210071440A CN102594609A CN 102594609 A CN102594609 A CN 102594609A CN 2012100714407 A CN2012100714407 A CN 2012100714407A CN 201210071440 A CN201210071440 A CN 201210071440A CN 102594609 A CN102594609 A CN 102594609A
- Authority
- CN
- China
- Prior art keywords
- time
- alarm
- communication equipment
- record
- tbase
- 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.)
- Pending
Links
Images
Landscapes
- Electric Clocks (AREA)
Abstract
The invention discloses a method for dynamically correcting the alarm time of communication equipment. The method comprises the following steps: A, starting a timer to start timing when the communication equipment is powered on; B, respectively recording the time T1 displayed on the timer when the communication equipment gives out an alarm and the time T2 displayed on the timer when the alarm disappears and saving the T1 and the T2 into an alarm record; C, correcting the time of the communication equipment and obtaining the absolute time Tbase when the communication equipment is powered on; D, respectively calculating the absolute time T5 and the absolute time T6 when the alarm happens and disappears according to the absolute time Tbase when the communication equipment is powered on and the T1 and the T2 saved in the alarm record, wherein T5 is equal to Tbase plus T1, and T6 is equal to Tbase plus T2. The method has the advantages that under the situation that any new hardware is not additionally arranged, the accuracy and the reliability of the times in the alarm record are ensured, and the unified management of the alarm time is realized.
Description
Technical field
The present invention relates to the alarm field of communication equipment, particularly relate to a kind of communication equipment alarm time dynamic correction method.
Background technology
Along with the fast development of the communication technology, network begins to develop to high security, high efficiency and the direction that can run from initial single pursuit with a large bandwidth and at a high rate, and Network Management is become more and more important problem.But; In network development; The kind of equipment and quantity are more and more huger in the communication network; The type of equipment alarm simultaneously and quantity also constantly increase, and this has improved the Network Management difficulty undoubtedly greatly, and the accuracy of alarm time is for realizing that reliably administering and maintaining of network all has decisive meaning.
In existing communications network system; Though it is that equipment provides time calibration that modes such as centralized webmaster/time server are arranged; But the situation in the huge network system is very complicated, because network size is very big, the equipment in the system is a lot; When being difficult to guarantee, and will spend long time during to all devices school to the accurate school of all devices.In addition; Also exist have a power failure, restart, a variety of causes such as the network rebuilding, cause the time of equipment and alignment time inconsistent, in this case; If the alarm that equipment produces record is the time of equipment, then the time attribute of this alarm record can not reflect its real time.
In communication equipment, relevant equipment alarm meeting is carried out record according to time sequencing, and the alarm record can provide main tutorial message for the operation and the maintenance of network system.Alarm record has classifications such as current alarm record, history alarm record usually, every the once independent equipment alarm of having alarmed record description.These information are extremely important for system monitoring, inquiry and security audit.Contain time tag in the alarm record, if time tag is incorrect, the alarm record is just nonsensical.In general, the time tag in the alarm record is the real-time clock of local device, or from GPS, GLONASS, NTP, SNTP.
Communication equipment take place unusual in, device looses power for example is if the time of equipment is to come from local real-time clock; Need extra, independent power supply so for the real-time clock power supply; And power supply has the very big battery of volume for preventing power down, the cost costliness usually; If the time that comes from timing system is during the school; Because during restart facility, can not be immediately when relevant equipment obtains the school, therefore in this case; Communication equipment can be operated under the state of drop-out time, and alarm label writing time of this moment is wrong.
In sum, if communication equipment does not have local real-time clock, cause the time inaccurate because of various external causes through regular meeting; If increase local real-time clock, can cause the volume of equipment to increase and the cost raising again, be unfavorable for the product promotion application.
Summary of the invention
The objective of the invention is provides a kind of communication equipment alarm time dynamic correction method in order to overcome the deficiency of above-mentioned background technology, under the situation that does not increase any new hardware, guarantees to alarm writing time accurately and reliably, realizes the unified management of alarm time.
Communication equipment alarm time dynamic correction method provided by the invention may further comprise the steps: A, when communication equipment powers on starts timer and picks up counting; B, the time T 1 of timer shows when respectively alarm takes place record communication equipment, and the time T 2 of alarm timer shows when disappearing, and deposit T1 and T2 in the alarm record; The time of C, calibration communication equipment also draws the absolute time Tbase that communication equipment powers on; The T1 and the T2 that preserve in D, the absolute time Tbase that powers on according to communication equipment and the alarm record calculate absolute time T5 and T6:T5=Tbase+T1 when alarm takes place and alarm disappears respectively, T6=Tbase+T2.
In technique scheme; May further comprise the steps among the step C: when calibrating the time of communication equipment through external equipment; Absolute time T4 when the time T 3 of timer shows is with calibration when obtaining calibration, the absolute time Tbase:Tbase=T4-T3 when calculating the communication equipment power-up initializing again.
In technique scheme, among the step B relative time T1 and T2 are deposited in the time tag of alarm record as the time attribute of alarming record, and the alarm record is somebody's turn to do in storage.
In technique scheme, said timer is independent hardware timer or the software timer of creating according to clock.
In technique scheme, mode or mode during the school manually when mode, network school when adopting the GPS school among the step C, the time of calibrating communication equipment.
Compared with prior art, advantage of the present invention is following:
(1) the present invention uses the timer of self to carry out timing in the collection communication equipment alarm information, and the relative time during with alarm generation or end is as the time tag of alarm record; Interpretation of records is carried out in alarm; In time during by the school during Equipment Alignment, draw the absolute time when powering on, finally when the user shows and uses; Time tag in the alarm record is modified to absolute time offers the user, keep the alarm availability of writing time.
(2) the present invention is under the situation that does not increase any new hardware; Can on existing communication equipment, realize the alarm time calibration function at an easy rate; Guarantee to alarm writing time accurately and reliably, and then guaranteed the accurate of alarm event, realized the unified management of alarm time.
(3) it is inconsistent that the present invention can solve the local zone time and standard time of the communication equipment that is caused by fortuitous event, and for example communication equipment takes place to re-power unusually when starting, and causes alarming inaccurate problem writing time.
Description of drawings
Fig. 1 is the flow chart of storage alarm record in the embodiment of the invention.
Fig. 2 is the flow chart of communication equipment alignment time in the embodiment of the invention.
Fig. 3 calculates the also flow chart of display alarm time in the embodiment of the invention.
Embodiment
Below in conjunction with accompanying drawing and embodiment the present invention is made further detailed description.
Referring to shown in Figure 1, the communication equipment alarm time dynamic correction method that the embodiment of the invention provides may further comprise the steps:
A, when communication equipment powers on, start timer and pick up counting.This timer can be independent hardware timer; It also can be the software timer of creating according to clock; Crucial a bit is that communication equipment can obtain the timer count value easily, and this timer can obtain time value very on a large scale; Can just not overflow and reset, can not satisfy the demand with the numerical value that prevents timer in the very short time.
The time T 1 of timer shows when B, difference record communication equipment generation alarm; And the time T 2 of alarming timer shows when disappearing; And deposit T1 and T2 in the alarm record; Be about to relative time T1 and T2 and deposit in the time tag of alarm record, and the alarm record is somebody's turn to do in storage as the time attribute of alarming record.
C, mode or mode during the school manually when mode, network school when adopting the GPS school are calibrated the time of communication equipment, and are drawn the absolute time Tbase that communication equipment powers on.When calibrating the time of communication equipment through external equipment, the absolute time T4 the when time T 3 of timer shows is with calibration when obtaining calibration, the absolute time Tbase:Tbase=T4-T3 when calculating the communication equipment power-up initializing again.
The T1 and the T2 that preserve in D, the absolute time Tbase that powers on according to communication equipment and the alarm record calculate absolute time T5 and T6:T5=Tbase+T1 when alarm takes place and alarm disappears respectively, T6=Tbase+T2.
The principle of the embodiment of the invention is set forth as follows in detail:
When the communication equipment electrifying startup, start a timer, the duration that register system powers on.When the communication equipment alarm takes place or disappears; The alarm treatment device of communication equipment is in the record alarm; (communication equipment powers on the time interval that alarm takes place or disappears for count value T1 that timer is current and T2; Be relative time) write in the alarm record as the time tag of alarming record, and store this alarm record.Behind communication equipment operation a period of time T3; Communication equipment is during by the external equipment school; The mode during school such as during in the time of can adopting the GPS school or network school, mode during in the time of also can adopting school manually or other school obtains actual absolute time T4 this moment.Relative time section T3 when communication equipment is power-up to calibration according to absolute time T4 that obtains and communication equipment, the absolute time Tbase=T4-T3 when calculating the communication equipment power-up initializing.After communication equipment finishes time calibration; When the user checks the alarm record; Absolute time Tbase during according to the communication equipment power-up initializing and be stored in relative time T1 and the T2 that alarm takes place and alarm disappears in the communication equipment alarm record; Calculate absolute time T5 and T6:T5=Tbase+T1 when alarm takes place and alarm disappears respectively, T6=Tbase+T2.In the stage that the alarm record is used, mainly be to calculate the corresponding absolute time of this alarm according to the alarm time of record.Information in the alarm record can not change; Just when the user need show or transmit this alarm record; Time tag through the alarm record calculates the absolute time of alarming generation or finishing when in real time; Supply the user to use, the time tag in the alarm record remains relative time, calculates once more when next user uses.
Referring to shown in Figure 1, the flow process of communication apparatus stores alarm record is following:
In the running behind step 101, the communication equipment electrifying startup, judged whether that alarm event takes place or disappearance, if forward step 102 to; Otherwise continue to judge.
The warning information of step 102, record communication equipment forms the alarm record.
Referring to shown in Figure 2, the flow process of communication equipment alignment time is following:
Relative time section T3 when step 204, communication equipment are power-up to calibration according to absolute time T4 that obtains and communication equipment, 14: 00: 00 on the 1st January of absolute time Tbase=T4-T3=2011 when calculating the communication equipment power-up initializing.
Referring to shown in Figure 3, the flow process of calculating and display alarm time is following:
14: 00: 00 on the 1st January of absolute time Tbase=2011 of step 303, obtaining communication device power.
The embodiment of the invention can realize complete alarm time calibration function on existing communication equipment, and then realizes systematization analysis and monitoring to warning information, and the whole integrated level of Telecom Facilities is improved greatly, reduces the cost of equipment operation maintenance.The user only need be at central machine room; Just can obtain true and reliable ALM information; Monitor the operation and the maintenance of all websites, not only can effectively utilize existing communication equipment, need not increase any hardware; Just can realize the correct time alarm function, and propose reference method for the time unification of other important informations record of communication equipment.Through in access device, loading this function, the discovery of fault and processing are become accurately and timely, the reliability of whole communication system facility is improved; Utilize existing hardware resource to realize the function that loads as much as possible, do not have new hardware to increase, cost is very little.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, belong within the scope of claim of the present invention and equivalent technologies thereof if of the present invention these are revised with modification, then the present invention also is intended to comprise these changes and modification interior.The content of not doing in this specification to describe in detail belongs to this area professional and technical personnel's known prior art.
Claims (5)
1. communication equipment alarm time dynamic correction method is characterized in that may further comprise the steps:
A, when communication equipment powers on, start timer and pick up counting;
B, the time T 1 of timer shows when respectively alarm takes place record communication equipment, and the time T 2 of alarm timer shows when disappearing, and deposit T1 and T2 in the alarm record;
The time of C, calibration communication equipment also draws the absolute time Tbase that communication equipment powers on;
The T1 and the T2 that preserve in D, the absolute time Tbase that powers on according to communication equipment and the alarm record calculate absolute time T5 and T6:T5=Tbase+T1 when alarm takes place and alarm disappears respectively, T6=Tbase+T2.
2. communication equipment alarm time dynamic correction method as claimed in claim 1; It is characterized in that: may further comprise the steps among the step C: when calibrating the time of communication equipment through external equipment; Absolute time T4 when the time T 3 of timer shows is with calibration when obtaining calibration, the absolute time Tbase when calculating the communication equipment power-up initializing again: Tbase=T4-T3.
3. communication equipment alarm time dynamic correction method as claimed in claim 1 is characterized in that: among the step B relative time T1 and T2 are deposited in the time tag of alarm record as the time attribute of alarming record, and the alarm record is somebody's turn to do in storage.
4. communication equipment alarm time dynamic correction method as claimed in claim 1 is characterized in that: said timer is independent hardware timer or the software timer of creating according to clock.
5. like each described communication equipment alarm time dynamic correction method in the claim 1 to 4; It is characterized in that: mode or mode during the school manually when mode, network school when adopting the GPS school among the step C, the time of calibrating communication equipment.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100714407A CN102594609A (en) | 2012-03-19 | 2012-03-19 | Method for dynamically correcting alarm time of communication equipment |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN2012100714407A CN102594609A (en) | 2012-03-19 | 2012-03-19 | Method for dynamically correcting alarm time of communication equipment |
Publications (1)
Publication Number | Publication Date |
---|---|
CN102594609A true CN102594609A (en) | 2012-07-18 |
Family
ID=46482829
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN2012100714407A Pending CN102594609A (en) | 2012-03-19 | 2012-03-19 | Method for dynamically correcting alarm time of communication equipment |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN102594609A (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603255A (en) * | 2015-10-14 | 2017-04-26 | 中兴通讯股份有限公司 | Time information management method and time information management device used for network administration system |
Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1294471A (en) * | 1999-10-20 | 2001-05-09 | 索尼国际(欧洲)股份有限公司 | Mobile terminal with accuracy real time generator for radio telecommunicating system |
US20060070106A1 (en) * | 2004-09-28 | 2006-03-30 | Naohisa Kitazato | Method, apparatus and program for recording and playing back content data, method, apparatus and program for playing back content data, and method, apparatus and program for recording content data |
CN101141311A (en) * | 2006-09-06 | 2008-03-12 | 中兴通讯股份有限公司 | Method of revising alarm generating time |
CN101431438A (en) * | 2008-11-25 | 2009-05-13 | 上海华为技术有限公司 | Method for solving problem of log time confusion, and electronic device |
-
2012
- 2012-03-19 CN CN2012100714407A patent/CN102594609A/en active Pending
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN1294471A (en) * | 1999-10-20 | 2001-05-09 | 索尼国际(欧洲)股份有限公司 | Mobile terminal with accuracy real time generator for radio telecommunicating system |
US20060070106A1 (en) * | 2004-09-28 | 2006-03-30 | Naohisa Kitazato | Method, apparatus and program for recording and playing back content data, method, apparatus and program for playing back content data, and method, apparatus and program for recording content data |
CN101141311A (en) * | 2006-09-06 | 2008-03-12 | 中兴通讯股份有限公司 | Method of revising alarm generating time |
CN101431438A (en) * | 2008-11-25 | 2009-05-13 | 上海华为技术有限公司 | Method for solving problem of log time confusion, and electronic device |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106603255A (en) * | 2015-10-14 | 2017-04-26 | 中兴通讯股份有限公司 | Time information management method and time information management device used for network administration system |
CN106603255B (en) * | 2015-10-14 | 2021-04-20 | 中兴通讯股份有限公司 | Method and device for managing time information in network management system |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN103499806B (en) | For portable detector and the method for electric energy measuring equipment | |
US11683396B2 (en) | Efficient context monitoring | |
CN109353130B (en) | Printer paper amount monitoring method applied to self-service terminal | |
CN103558453B (en) | Multiple feed straight power purchase client's maximum demand acquisition system | |
KR20120085724A (en) | Providing a user with feedback regarding power consumption in battery-operated electronic devices | |
CN108154252A (en) | Method and apparatus for estimating the flow deadline | |
CN109002971A (en) | Task management method, device, computer equipment and storage medium | |
CN103441861B (en) | A kind of data record generation method and device | |
CN109976975A (en) | A kind of disk size prediction technique, device, electronic equipment and storage medium | |
US20120232786A1 (en) | Schedule management device and method | |
CN116957471B (en) | Intelligent retail service method, system, electronic equipment and storage medium | |
CN109558299A (en) | Business monitoring and the method, apparatus of early warning, equipment and storage medium | |
ES2963149T3 (en) | Method and device for tracking, capturing and synchronizing activity data across multiple devices | |
CN116482598A (en) | Power consumption data monitoring method and device | |
CN113064803A (en) | Power failure event recording method and device for double-core intelligent electric meter and computer equipment | |
CN102594609A (en) | Method for dynamically correcting alarm time of communication equipment | |
CN111061793B (en) | Data processing system and method | |
CN108491432A (en) | Electric system cumulative amount storage based on eap-message digest and abstracting method, electronic equipment and storage medium | |
CN115794953A (en) | Data synchronization method, system, device and computer readable medium based on table data | |
CN102609802B (en) | Information interaction method of automatic container managing system and billboard production managing system | |
CN110968405A (en) | Method and device for detecting planned tasks | |
CN113011819B (en) | Management method and device of bare metal server and management server | |
US20140365149A1 (en) | Visual Analytics of Spatial Time Series Data Using a Pixel Calendar Tree | |
CN103281220A (en) | Real-time data monitoring system and method based on protocol conformance tester | |
Pukas et al. | Software Solution for Energy Smart Analyzer with IoT Module |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C12 | Rejection of a patent application after its publication | ||
RJ01 | Rejection of invention patent application after publication |
Application publication date: 20120718 |