CN1553598A - Detecting method and detector for single-board fault - Google Patents

Detecting method and detector for single-board fault Download PDF

Info

Publication number
CN1553598A
CN1553598A CNA031405606A CN03140560A CN1553598A CN 1553598 A CN1553598 A CN 1553598A CN A031405606 A CNA031405606 A CN A031405606A CN 03140560 A CN03140560 A CN 03140560A CN 1553598 A CN1553598 A CN 1553598A
Authority
CN
China
Prior art keywords
formation
measured
detection
time
veneer
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
CNA031405606A
Other languages
Chinese (zh)
Other versions
CN100563131C (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CNB031405606A priority Critical patent/CN100563131C/en
Publication of CN1553598A publication Critical patent/CN1553598A/en
Application granted granted Critical
Publication of CN100563131C publication Critical patent/CN100563131C/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Abstract

This invention provides a method for testing the fault of single board. It includes the following steps: selects item waiting to test, timing type and timing time in advance, after reaching the timing time, makes queuing to the above item that has reached execution time to form the queue waiting to test, according to the above queue, depending on the information of each item waiting to test makes testing for single board, after finishing the test, records the result. This invention also provides a device implement the above method, it comprises: timer group; users interface used to setting the attribute of the timer and testing item and provide inquiry and display function; the message sending device; test executing device; the processor for test result.

Description

A kind of detection method of single board default and device
Technical field
The present invention relates to communication technical field, relate in particular to a kind of detection method and device of single board default.
Background technology
Along with developing rapidly of information technology and communication industry, big capacity, high performance communication equipment are widely used in the communication network, and be also more and more higher to the requirement of the reliability and maintainability of these equipment thereupon.If because the fault of communication apparatus causes service disconnection, not only can cause enormous economic loss to the user, also can bring huge economy and reputation loss to Virtual network operator, therefore, the fault that detects and remove communication apparatus in real time becomes communication apparatus system reliability service essential condition.Present communication apparatus has extensively adopted embedded technology, is that critical piece is formed mostly with the veneer with the communication apparatus system of this art designs, therefore, the detection of veneer has just been become a whether important channel of reliably working of definite communication apparatus.
For above-mentioned communication apparatus system, equipment manufacturers provide multiple means for the fault detect of system single board at present.Usual way has two kinds:
A kind of is to adopt the monitoring of the design realization of alarm card to veneer environment and physical parameter (as temperature, voltage, electric current, rotation speed of the fan etc.).The alarm card links to each other with communication apparatus, constantly monitors relevant parameter, when described parameter surpasses alarm threshold, light the alarm card and go up corresponding indicator light, drive corresponding converting interface simultaneously, external sound alarm or visual warning system, simultaneously each alarm information record on system control position.General this detection was carried out once in per 60 seconds.The object of present this detection is the most basic environment and the physical parameter of veneer generally, and the fault of each device self can't be monitored on real time execution traffic failure of veneer (as the message retransmission failure) and the veneer.
Another kind method is to adopt on-the-spot isolation test, promptly interrupts the regular traffic operation of veneer earlier by master station, loads corresponding testing program then to tested single board, carries out diagnostic test, and test result shows by control desk and indicator light.Test is passed through, and then again for tested single board loads normal working procedure, recovers the normal operation of veneer; Test is not passed through, and out of order veneer or module are carried out scene replacing, the normal operation that recovers veneer.The single-board testing of this method need interrupt the business of tested single board, to load different test programs to different veneers, the detection time of single board default is longer, generally a few minutes will be spent, even tens minutes, this equipment for exigent system of service reliability or big service traffics is beyond affordability.
Summary of the invention
The objective of the invention is to overcome the shortcoming of above-mentioned prior art, provide a kind of and do not influence that each single board service of system normally moves, multiple timing mode and online single board default detection method and the device deposited, it can detect hardware effort environment, unit component and the service operation situation of each veneer.
The invention provides a kind of detection method of single board default, described method comprises:
Initialization detects task, sets to be measured, detects the formation formation time and detects the information that formation forms the cycle;
Judge whether described detection formation formation time reaches,
If do not reach, carry out the above-mentioned step of judging whether described detection formation formation time reaches again after the wait scheduled time,
If meet or exceed, with described to be measured to be measured the formation of formation of ranking that reaches described detection formation formation time, to detect; Judge whether described veneer has described item to be measured in " detection running status ",
If have, carry out again after waiting for the scheduled time and above-mentionedly judge whether described veneer has described to be measured the step in described " detection running status ",
If no, judge whether to exist to be measured formation of described formation,
If have, according to be measured formation of described formation, carry out corresponding veneer and detect,
If no, turn back to the step of judging whether described detection formation formation time reaches.
Alternatively, the step that described initialization detects task comprises step: set up at least one single-board testing item chained list, described single-board testing item chained list corresponding aperiodic relatively of timing mode, and/or corresponding relative cycle timing mode, and/or correspondence absolute aperiodic of timing mode, and/or corresponding absolute cycle timing mode; Set up a test execution chained list, the content representation of test execution chained list is described to be measured formation; Set up a single board state table.
Preferably, the described step of setting up at least one single-board testing item chained list comprises step: set up four single-board testing item chained lists that numbering is different, content is identical, respectively corresponding aperiodic relatively timing mode, the relative cycle timing mode, absolute aperiodic timing mode and absolute cycle timing mode.
Alternatively, the described steps of setting up four single-board testing item chained lists that numbering is different, content is identical comprise step: set the content of described four single-board testing item chained lists, comprise described to be measured title, to be measured corresponding node number, to be measured on off state, detect message feedback scheduled time of relative time of implementation, testing result.
Alternatively, the step of described initialization detection task comprises step: empty described test execution chained list; Be provided with that all veneers are " detection halted state " and " non-shielding state " in the described single board state table, described " detection halted state " shows that described veneer does not carry out fault detect at present, and described " non-shielding state " shows that described veneer can accept that external command detects or other operation.
Preferably, the described item described to be measured that will the reach described detection formation formation time step that forms to be measured formation of ranking comprises step:
When regularly detecting formation formation time or described relative cycle described relative aperiodic and regularly detecting the formation formation time and reach, judge respectively whether each item to be measured in the described single-board testing item chained list corresponding with described these two kinds of timing modes reaches the described detection time of implementation, rank for described to be measured that will reach the described detection time of implementation, form to be measured formation, described to be measured formation is appended in the described test execution chained list
Regularly detect formation formation time or described absolute cycle described absolute aperiodic when regularly detecting the formation formation time and reaching, described to be measured of all in the described single-board testing item chained list that will be corresponding with described these two kinds of timing modes are appended in the described test execution chained list.
Preferably, described to be measured formation according to described formation, the step of carrying out corresponding veneer detection comprises step:
Whether the veneer of judging described correspondence is non-master control veneer,
If described veneer is described non-master control veneer,
Send to be measured message to described non-master control veneer,
Receive the testing result message that described non-master control veneer reports,
Write down the testing result that described non-master control veneer reports;
If described veneer is described master control veneer,
Detect described master control veneer,
Write down the testing result of described master control veneer.
Alternatively, the step of the testing result message that reports of the described non-master control veneer of described reception comprises step:
Be whole results messages of described veneer described " detection halted state " then, and write down described testing result if receive in the scheduled time in the mid-tested single board of described single board state table in the message feedback of the testing result of described setting;
If do not receive whole testing result message of described veneer in the scheduled time in the message feedback of the testing result of described setting, be " masked state " then at the mid-described veneer of described single board state table, concurrent alarm information, described " masked state " show that described veneer can not accept that external command detects or other operation.
Preferably, the message feedback that surpasses the testing result of described setting was carried out after the scheduled time the described step that sends to be measured message to described non-master control veneer message feedback time of receiving whole testing result message of described tested single board or described to be measured testing result.
The present invention also provides a kind of checkout gear of single board default, and described device comprises:
The timer group is used to control time and the cycle that single board default detects;
Central processing unit is coupled to described timer group, is used for controlling the operation of described device other parts;
The testing result processor is coupled to described central processing unit, is used to handle the single board default testing result;
User interface is coupled to described timer group, described central processing unit and described testing result processor by different passages respectively, is used to provide setting, inquiry and Presentation Function;
Detect final controlling element, be coupled to described central processing unit, be used for detecting single board default according to the order of described central processing unit;
Information transfer device is coupled to described central processing unit and described detection final controlling element, is used for exchange sense command and testing result message between described central processing unit and described detection final controlling element.
Alternatively, described timer group also comprises: the relative cycle timer, be used for single board default is carried out the timing that regular relative timing detects, absolute cycle timer, be used for single board default is carried out the timing that regular exhausted timing detects, relatively aperiodic timer, be used for single board default is carried out the timing that non-regular relative timing detects, absolute aperiodic, timer was used for single board default is carried out the timing that non-regular absolute timing detects.
Preferably, described user interface is used to be provided with the switch attribute and the relative time of implementation of timer switch attribute, timing mode, timing, each test item.
Preferably, described user interface is used to provide order the inquiry also state and the clocking value of Displaying timer device, and/or the state of each test item and clocking value, and/or provide order to forbid or open test item, and/or provide order to interrupt the current detection of carrying out.
Alternatively, described detection final controlling element also comprises test item manager and test item performer, is respectively applied for management testing item and operation test item; Described test item manager is coupled to described central processing unit and described information transfer device respectively, and described test item performer is coupled to described central processing unit.Owing in single board default detects, adopted said method and device, make system need not to interrupt earlier the business of veneer operation to the detection of veneer, load the relevant detection program, and then veneer detected, as long as but the request of detection is arranged, can detect veneer, and by the real-time report testing result, can in time handle detection failure, shorten system single board failure location recognition time, improve the reliability of equipment operation; In addition,, can realize the real-time detection of different frequency requirements, especially aspect the periodicity of system regularly safeguards, significantly reduce system maintenance personnel's workload, reduce operation, the maintenance cost of equipment by adopting above-mentioned multiple Timing Processing mechanism; Adopt chained list management, execution mechanism, can be the different different veneer detections of system requirements configuration, reduced the development cost of system equipment.
Description of drawings
Fig. 1 has described the flow chart of step of the single board default detection method of the preferred embodiments of the present invention;
Describedly when Fig. 2 has described relative timing mode in the single board default detection method of preferred embodiment shown in Figure 1 will reach to be measured of detecting the formation formation time and rank, form the detailed step flow chart of item to be measured formation;
Describedly when Fig. 3 has described absolute timing mode in the single board default detection method of preferred embodiment shown in Figure 1 will reach to be measured of detecting the formation formation time and rank, form the detailed step flow chart of item to be measured formation;
Fig. 4 has described to be measured the formation of described startup in the single board default detection method of preferred embodiment shown in Figure 1, carries out the detailed step flow chart that veneer detects;
Fig. 5 has described in the described test item chained list every content and form;
Fig. 6 has described in the described test execution chained list every content and form;
Fig. 7 has described in the described single board state table every content and form;
Fig. 8 has described and will reach the item to be measured that detects the time of implementation when setting up four single-board testing item chained lists in the single board default detection method of preferred embodiment shown in Figure 1 and rank and form the sequence flow of to be measured formation;
Fig. 9 has described the single board default checkout gear block diagram of the preferred embodiments of the present invention.
Embodiment
The present invention is described in further detail below in conjunction with drawings and embodiments:
At first with reference to Fig. 1, Fig. 1 has described the flow process of step of the single board default detection method of the preferred embodiments of the present invention:
At first at step 10 pair detection task initialization, set to be measured, detect information such as formation formation time and detection formation formation cycle, comprising: set up a master control veneer and detect the running status sign, described master control veneer detects the running status sign and shows that master control veneer detects task in operation troubles, set up the corresponding a kind of timing mode of at least one single-board testing item chained list, set up a test execution chained list 6, the content representation of test execution chained list 6 is to be measured formation, set up a single board state table 7, described single-board testing item chained list, the content and the form of test execution chained list 6 and single board state table 7 will be described in detail with reference to Fig. 5 to Fig. 7 hereinafter;
Step 10 pair detection task initialization also comprises: empty test execution chained list 6, second field detected state 72 that single board state table 7 is set is " non-shielding state " for " detection halted state ", the 3rd field masked state 73, described " detection halted state " shows that veneer does not have operation troubles to detect at present, and described " non-shielding state " shows that veneer can accept that external command detects or other operation.
Enter step 11 then, judge whether detect the formation formation time reaches, wherein, detect the formation formation time and comprise: regularly detect the formation formation time relatively aperiodic; Relative cycle regularly detects the formation formation time; Regularly detect the formation formation time absolute aperiodic; The absolute cycle is regularly detected the formation formation time.
If do not reach, wait for the scheduled time after execution in step 11 again, judge whether detect the formation formation time reaches,
If meet or exceed, then method enters step 12, with to be measured to be measured the formation of formation of ranking that reaches in the single-board testing item chained list that detects the formation formation time, be appended in the test execution chained list 6, to detect, (relative timing mode and absolute timing mode, relative timing mode comprise relative aperiodic of timing mode and relative cycle timing mode again for different timing modes; Absolute timing mode comprise again absolute aperiodic timing mode and absolute cycle timing mode), the item to be measured step that forms to be measured formation of ranking is different, hereinafter is described in detail respectively with reference to Fig. 2 and Fig. 3.
Refer again to Fig. 1, after step 12 forms to be measured formation, enter step 13, judge whether veneer has to be measured in " detection running status ", that is to say second field detected state 72 item of promising " detection running status " whether in the traversal single board state table 7, described " detection running status " shows that the veneer of first field node 71 correspondences in the single board state table 7 is in execution fault detect task
If have, then wait for the scheduled time after execution in step 13 again, judge whether described veneer has to be measured in " detection running status ",
If no, then enter step 14, judged whether formation to be measured, also just say and judge whether non-NULL of test execution chained list 6,
If formation to be measured is arranged, then enter step 15, carry out veneer according to be measured formation and detect, hereinafter the 4 pairs of steps 15 are carried out the flow process that described veneer detects according to described to be measured formation and are described in detail with reference to the accompanying drawings.
If there be not to be measured formation, then return step 11, judge whether detect the formation formation time reaches, to carry out the detection task of item next to be measured.
Fig. 5 has described in the described test item chained list every content and form,
In preferred forms of the present invention, need set up four single-board testing item chained lists that numbering is different, content is identical.Chained list 1 correspondence relative aperiodic of timing mode, chained list 2 corresponding relative cycle timing modes, chained list 3 correspondences absolute aperiodic of timing mode, chained list 4 corresponding absolute cycle timing modes, described timing was set at the different detection task executions time, and purpose is the requirement that realizes different frequency and detect priority.For example, just the cycle timing mode can be set at, just the cycle timing mode can be set at according to the detection task of the actual needs temporary needs of system to the detection task of system's routine maintenance; Same other detection task of level can be controlled by absolute timing mode, and the different detection task of rank can be controlled by the relative timing mode, like this, makes the detection task to be provided with flexibly.
Chained list 1 to the content of chained list 4 comprises:
First field is a title 511: represent to be measured title;
Second field is node 512: represent to be measured corresponding node number;
The 3rd field is state 513: represent to be measured on off state, " ON " (opening) is expressed as to be measured, and " OFF " (pass) is expressed as non-to be measured;
The 4th field is the time of implementation 514: expression detects the relative time of implementation, and this field need preestablish, and expression detects the initial value of relative time of implementation;
The 5th field is feedback time 515: the message feedback scheduled time of expression testing result.
By setting three field status 513 of test item chained list 1 to the chained list 4, can set to be measured different combinations, by setting time of implementation and the execution cycle of chained list 1 to chained list 4, and four the field time of implementation of chained list 1 to the chained list 4, can determine each to be measured actual execution time, will illustrate respectively below:
For relative aperiodic of timing mode, every the 4th field time of implementation determined every actual execution time that detects task in time of implementation by setting chained list 1 correspondence and the chained list 1;
For the relative cycle timing mode, every the 4th field time of implementation determined every actual execution time that detects task in the time of implementation by setting chained list 2 correspondences and execution cycle and the chained list 2;
For absolute aperiodic of timing mode, by setting the time of implementation of chained list 3 correspondences, can not set the 4th the field time of implementation of chained list 3, the 4th the field time of implementation also can setting chained list 3 is 0, determines every actual execution time that detects task;
For absolute cycle timing mode, by setting the time of implementation of chained list 4 correspondences, can not set the 4th the field time of implementation of chained list 4, the 4th the field time of implementation also can setting chained list 4 is 0, determines every actual execution time that detects task;
Fig. 6 has described in the test execution chained list 6 every content and form:
Wherein, first field is a title 61: represent to be measured title;
Second field is node 62: represent to be measured corresponding node number.
The 3rd field is feedback time 63: the message feedback scheduled time of expression testing result.
Fig. 7 has described in the single board state table 7 every content and form:
Wherein, first field is a node 71: represent to be measured corresponding node number;
Second field is detected state 72: whether the veneer of expression node 71 correspondences is carrying out the fault detect task;
The 3rd field is masked state 73: whether the veneer of expression node 71 correspondences can accept that external command detects or other operation.
Step 12 will reach the rank flow process of a kind of exemplary embodiment of forming to be measured formation of the item to be measured that detects the formation formation time when Fig. 2 describes relative timing mode in the single board default detection method of preferred embodiment shown in Figure 1 in detail, and wherein said relative timing mode comprises relative aperiodic of timing mode and relative cycle timing mode:
Relatively aperiodic the timing mode correspondence time of implementation of chained list 1 reach after, enter step 21, obtain first test item in the chained list 1; Enter step 22 then, retrieval obtains the 3rd field status 513 of item, judges whether state 513 is " ON ", and " ON " is expressed as to be measured,
If " ON ", then enter step 23, the 4th field that obtains currentitem detects the value of relative time of implementation 514 of task, and the value that will detect the relative time of implementation 514 subtracts 1, promptly obtain the time of advent regularly by the method for successively decreasing, those of ordinary skills know, acquisition for the time of advent regularly is not limited thereto, several different methods can be arranged (for example, can be made as 0 to the initial value of field 514, adopt the method that increases progressively, after the time of implementation of each chained list 1 reaches, the value of field 514 adds 1, judges then and whether relative timing time of setting equates).Enter step 24 then, judge whether the time of implementation 514 is 0, judges promptly whether the relative time of implementation of this detection task reaches,
As be 0, then arrive step 25, currentitem is added in the test execution chained list 6, comprising:
Chained list 1 title 511 is put into the position of the title 61 of chained list 6,
Chained list 1 node 512 is put into the position of the node 62 of chained list 6,
Chained list 1 feedback time 515 is put into the position of the feedback time 63 of chained list 6,
Again give times of implementation 514 initialize of chained list 1 simultaneously, promptly the initial value of the relative time of implementation of predefined this detection is composed again to field 514, is entered step 26 then, judgement obtain whether be in the chained list 1 last, that is to say and judge whether chained list 1 finishes
As not being 0, then jump to step 26, judgement obtain whether be in the chained list 1 last, that is to say to judge whether chained list 1 finishes,
If not " ON ", then jump to step 26, judgement obtain whether be in the chained list 1 last, that is to say to judge whether chained list 1 finishes,
If, then turn back to the step 13 among Fig. 1, judge whether veneer has to be measured in " detection running status ",
Otherwise, enter this Fig. 2 step 27, obtain the next item down in the chained list 1, turn back to step 22 then, carry out the differentiation of chained list 1 the next item down, all in having traveled through chained list 1, turn back to the step 13 among Fig. 1 then, judge whether veneer has to be measured in " detection running status ".
The traversal method of the chained list 2 of relative cycle timing mode correspondence is identical with the traversal method of chained list 1, is not described in detail.The purpose of setting the relative cycle timing mode can realize the detection that different frequency require, and makes the detection task become routine maintenance means regularly.
Described step 12 will reach the rank flow process of a kind of exemplary embodiment of forming to be measured formation of the item to be measured that detects the formation formation time when Fig. 3 describes absolute timing mode in the single board default detection method of preferred embodiment shown in Figure 1 in detail, wherein said absolute timing mode comprise absolute cycle timing mode and absolute aperiodic timing mode:
Absolute aperiodic the timing mode correspondence time of implementation of chained list 3 reach after, enter step 31, obtain first in the chained list 3;
Enter step 32 then, the 3rd field status 533 of retrieval currentitem judges whether state 533 is " ON ",
If " ON " then enters step 33, currentitem is added in the test execution chained list 6, comprising:
Chained list 3 titles 531 are put into the position of the title 61 of chained list 6,
Chained list 3 nodes 532 are put into the position of the node 62 of chained list 6,
Chained list 3 feedback times 535 are put into the position of the feedback time 63 of chained list 6,
Enter step 34 then, judge currentitem whether be in the chained list 3 last, that is to say to judge whether chained list 3 finishes,
If not " ON ", then jump to step 34, judge currentitem whether be in the chained list 3 last, that is to say to judge whether chained list 3 finishes,
If, then turn back to the step 13 among Fig. 1, judge whether veneer has to be measured in " detection running status ",
Otherwise, enter step 35, obtain the next item down in the single-board testing item chained list 3, turn back to step 32 then, carry out the differentiation of chained list 3 the next item downs, all in having traveled through chained list 3, turn back to the step 13 among Fig. 1 then, judge whether veneer has to be measured in " detection running status ".
The traversal method of the chained list 4 of absolute cycle timing mode correspondence is identical with the traversal method of chained list 3, is not described in detail.
Fig. 8 describes item to be measured that step 11 when setting up four single-board testing item chained lists in the single board default detection method of preferred embodiment shown in Figure 1 detect the time of implementation to will reaching of step 12 in detail and ranks and form the sequence flow of to be measured formation:
If detection system is set up more than one described single-board testing item chained list, then to inquire about the test item chained list one by one, to reach and reach the test item of time of implementation in the test item chained list of the correspondence that detects the formation formation time and rank, be appended in the test execution chained list 6, four test item chained lists setting up, be respectively chained list 1, chained list 2, chained list 3, chained list 4
Whether the time of implementation of at first judging chained list 1 reaches,
If reach, then travel through chained list 1, be appended in the test execution chained list 6 reaching the to be measured of time of implementation in the chained list 1, forward the time of implementation of judging chained list 2 then to whether to reach,
As do not reach, judge then whether the time of implementation of chained list 2 reaches,
If reach, then travel through chained list 2, be appended in the test execution chained list 6 reaching the to be measured of time of implementation in the chained list 2, forward the time of implementation of judging chained list 3 then to whether to reach,
As do not reach, judge then whether the time of implementation of chained list 3 reaches,
If reach, then travel through chained list 3, be appended in the test execution chained list 6 reaching the to be measured of time of implementation in the chained list 3, forward the time of implementation of judging chained list 4 then to whether to reach,
As do not reach, judge then whether the time of implementation of chained list 4 reaches,
If reach, then travel through chained list 4, will reach treating of time of implementation in the chained list 4
Survey item and be appended in the test execution chained list 6, finish then.
As do not reach, then finish.
Fig. 4 described step 15 described in the single board default detection method of preferred embodiment shown in Figure 1 according to be measured formation, carry out the detailed step flow chart that veneer detects:
At first obtain test execution chained list 6 currentitems in step 41;
Enter step 42 then, judge whether test execution chained list 6 currentitems are items to be measured of non-master control veneer,
If test execution chained list 6 currentitems are to be measured of non-master control veneer, then enter step 43, test execution chained list 6 currentitem information are handed down to related single-boards, delete the currentitem in the chained list 6 simultaneously, start the state timer of described currentitem, put in the single board state table 7 and be " detection running status " with test execution chained list 6 currentitem nodes 62 respective items nodes 71, enter step 44 then, receive the testing result message that described related single-boards reports, enter step 45 then, judge whether to receive whole testing result message of described related single-boards
If all receive, then enter step 46, put in the single board state table 7 with test execution chained list 6 currentitem nodes 62 respective items nodes 71 for " detection running status " and stop the state timer of described currentitem, the testing result of described related single-boards that recorder is arrived, return the step 13 of Fig. 1 then, judge whether veneer has to be measured in " detection running status "
If all do not receive, then enter step 47, judge that whether the time of the state timer of described currentitem surpass the feedback time 63 of currentitem in the test execution chained list 6,
As do not surpass, then return step 44, continue to receive the testing result message that described related single-boards reports,
As surpassing, then enter step 48, put in the single board state table 7 with test execution chained list 6 currentitem nodes 62 respective items running statuses 72 be " masked state " for " detection running status " and masked state 73, return the step 13 of Fig. 1 then, judge whether veneer has to be measured in " detection running status "
If test execution chained list 6 currentitems are not to be measured of non-master control veneer, then enter step 49, call the detection subprogram of described master control veneer and carry out the detection of master control veneer, and deletion test execution chained list 6 currentitems, put described master control veneer detection running status and be masked as " detection running status ", enter step 410 then, step 410 is carried out the rearmounted described master control veneer detection running status of end for the detection subprogram of master control veneer and is masked as " detection halted state ", write down the testing result of described master control veneer, return the step 13 of Fig. 1 then, judge whether veneer has to be measured in " detection running status ".
Fig. 9 has described the single board default checkout gear block diagram of the preferred embodiments of the present invention, user interface 91 is coupled to timer group 92 by different passages respectively, central processing unit 93, on the testing result processor 94, wherein central processing unit 93 also is coupled to timer group 92 and test result processor 94 by different passages respectively, information transfer device 95 is coupled to central processing unit 93 and detects final controlling element 96 by different passages respectively, described information transfer device 95 is used for the communication between central processing unit 93 and the detection final controlling element 96, detect final controlling element 96 and also be coupled to central processing unit 93, checkout gear 96 comprises a test item manager and a test item performer.Wherein, timer group 92 has a timer at least, be used to set fault detect timing mode and timing, in a preferred implementation of described timer group 92, comprise four different timers, be respectively: relative cycle timer, absolute cycle timer, relatively aperiodic timer, absolute aperiodic timer, respectively corresponding four kinds of different timing modes.
Switch attribute, timing mode, timing, the switch attribute that each is described to be measured of each timer in the described timer group is set and detects the relative time of implementation by user interface 91, also can order inquiry be provided and show the state of described timer group and timing, state that each is described to be measured and detect the time of implementation by user interface 91, also can provide order to forbid or open described to be measured, also can provide order to interrupt the current detection of carrying out by user interface 91 by user interface 91.
Select the timer in the corresponding described timer group 92 of timing mode to be measured, inquire about timer in the described timer group 92 respectively by central processing unit 93, if the timing time of described timer surpasses the described timing of setting, then pass to be measured message to the described detection time of implementation on the test item manager 901 that detects final controlling element 96 by information transfer device 95 by central processing unit 93, start test item performer 902 simultaneously, veneer detects and finishes, testing result message is uploaded to central processing unit 93 by test item manager R1 by information transfer device 95, and central processing unit 93 is delivered described testing result that testing result processor 94 writes down again or sent out alarm information.
Though described the present invention by embodiment, those of ordinary skills know, the present invention has many distortion and variation and does not break away from spirit of the present invention, as, the timing mode of described relative timing mode, can adopt the relative time of implementation of detection to subtract 1, judge to detect the relative time of implementation then and whether be 0 mode timing, also can adopt and begin to add 1 by 0, then with relative detection time of implementation mode relatively, a general calculation machine is after compiling to its program that can move by the method that the present invention is revealed, realize that by operation program of the present invention can realize that also device of the present invention carries out the detection of system single board fault, wish that appended claim comprises these distortion and variation and do not break away from spirit of the present invention.

Claims (14)

1. the detection method of a single board default is used for detect the fault of the veneer that will detect in the real time execution of the on-line apparatus of network system, and the method comprising the steps of:
A, initialization detect task, set to be measured, detect the formation formation time and detect formation to form the cycle;
B, judge whether described detection formation formation time reaches,
If B1 does not reach, carry out above-mentioned steps B again after the wait scheduled time and judge whether described detection formation formation time reaches,
If B2 meets or exceeds, with described to be measured to be measured the formation of formation of ranking that reaches described detection formation formation time, to detect;
C, judge that described veneer sets before whether having to be measured be in " detection running status ",
If C1 has, carry out above-mentioned steps C after the wait scheduled time again and judge whether described veneer has the item of setting in the past to be measured in described " detection running status ",
If C2 does not have, judge whether to exist to be measured formation of described formation,
If C21 has, according to be measured formation of described formation, carry out corresponding veneer and detect,
If C22 does not have, return the step of judging whether described detection formation formation time reaches.
2. the detection method of single board default as claimed in claim 1, wherein, the steps A that described initialization detects task comprises step:
A1, set up at least one single-board testing item chained list, described single-board testing item chained list correspondence: relatively aperiodic timing mode and/or relative cycle timing mode and/or absolute aperiodic timing mode and/or absolute cycle timing mode;
A2, set up a test execution chained list, the content of described test execution chained list is described to be measured formation;
A3, set up a single board state table.
3. the detection method of single board default as claimed in claim 2, wherein, the described step a1 that sets up at least one single-board testing item chained list comprises: set up four single-board testing item chained lists that numbering is different, content is identical, difference corresponding aperiodic relatively of timing mode, the relative cycle timing mode, absolute aperiodic timing mode and absolute cycle timing mode.
4. the detection method of single board default as claimed in claim 3, wherein, the described steps of setting up four single-board testing item chained lists that numbering is different, content is identical comprise:
Set the content of described four single-board testing item chained lists, comprise described title to be measured, to be measured corresponding node number, to be measured on off state, detect message feedback scheduled time of relative time of implementation, testing result.
5. the detection method of single board default as claimed in claim 1, wherein, the steps A that described initialization detects task also comprises step:
B1, empty described test execution chained list;
B2, be provided with that all veneers are " detection halted state " and " non-shielding state " in the described single board state table.
6. the detection method of single board default as claimed in claim 3, wherein, the described item described to be measured that will the reach described detection formation formation time step that forms to be measured formation of ranking comprises step:
When regularly detecting c1, described relative aperiodic formation formation time or described relative cycle and regularly detecting the formation formation time and reach,
C11, judge whether each to be measured in the described single-board testing item chained list corresponding with described these two kinds of timing modes reach detection time respectively,
C12, to be measured do not continue timing, wait for described to be measured detection time and reach what reach detection time,
C13, will reach the described to be measured of described detection time and rank, form item to be measured formation,
C14, described formation to be measured is appended in the described test execution chained list;
Regularly detect c2, described absolute aperiodic formation formation time or described absolute cycle when regularly detecting the formation formation time and reaching,
Described to be measured of in the described single-board testing item chained list that will be corresponding with described these two kinds of timing modes all are appended in the described test execution chained list.
7. the detection method of single board default as claimed in claim 1, wherein, described to be measured formation according to described formation, carry out the step C21 that corresponding veneer detects and comprise step:
Whether the veneer of judging described correspondence is non-master control veneer,
If the described veneer of d1 is described non-master control veneer,
D11, send to be measured message to described non-master control veneer,
The testing result message that d12, the described non-master control veneer of reception report,
The testing result that d13, the described non-master control veneer of record report;
If the described veneer of d2 is described master control veneer,
D21, detect described master control veneer,
The testing result of d22, the described master control veneer of record.
8. the detection method of single board default as claimed in claim 7, wherein, the steps d 12 of the testing result message that the described non-master control veneer of described reception reports comprises step:
Be whole testing result message of described veneer described " detection halted state " then, and write down described testing result if receive in the scheduled time at the mid-described veneer of described single board state table in the message feedback of the testing result of described setting;
If do not receive whole testing result message of described veneer in the scheduled time in the message feedback of the testing result of described setting, be " masked state " then at the mid-described veneer of described single board state table, concurrent alarm information.
9. the detection method of single board default as claimed in claim 7, wherein, the described steps d 11 that sends to be measured message to described non-master control veneer is that the message feedback that surpasses message feedback time of receiving whole testing result message of described tested single board or described to be measured testing result the testing result of described setting was carried out after the scheduled time.
10. the checkout gear of a single board default, described device comprises:
The timer group is used to control time and the cycle that single board default detects;
Central processing unit is coupled to described timer group, is used for controlling the operation of described device other parts;
The testing result processor is coupled to described central processing unit, is used to handle the single board default testing result;
User interface is coupled to described timer group, described central processing unit and described testing result processor by different passages respectively, is used to provide setting, inquiry and Presentation Function;
Detect final controlling element, be coupled to described central processing unit, be used for detecting single board default according to the order of described central processing unit;
Information transfer device is coupled to described central processing unit and described detection final controlling element, is used for exchange sense command and testing result message between described central processing unit and described detection final controlling element.
11. checkout gear as claimed in claim 10, wherein said timer group also comprises:
The relative cycle timer is used for single board default is carried out the timing that regular relative timing detects,
Absolute cycle timer is used for single board default is carried out the timing that regular exhausted timing detects,
Relatively aperiodic timer, be used for single board default is carried out the timing that non-regular relative timing detects,
Absolute aperiodic, timer was used for single board default is carried out the timing that non-regular absolute timing detects.
12. checkout gear as claimed in claim 10, wherein said user interface is used to be provided with the switch attribute and the relative time of implementation of timer switch attribute, timing mode, timing, each test item.
13. checkout gear as claimed in claim 10, wherein said user interface, be used to provide the state and the clocking value of order inquiry and Displaying timer device, and/or the state of each test item and clocking value, and/or provide order to forbid or open test item, and/or provide order to interrupt the current detection of carrying out.
14. checkout gear as claimed in claim 10, wherein said detection final controlling element also comprises test item manager and test item performer, is respectively applied for management testing item and operation test item; Described test item manager is coupled to described central processing unit and described information transfer device respectively, and described test item performer is coupled to described central processing unit.
CNB031405606A 2003-05-29 2003-05-29 A kind of detection method of single board default and device Expired - Fee Related CN100563131C (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CNB031405606A CN100563131C (en) 2003-05-29 2003-05-29 A kind of detection method of single board default and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CNB031405606A CN100563131C (en) 2003-05-29 2003-05-29 A kind of detection method of single board default and device

Publications (2)

Publication Number Publication Date
CN1553598A true CN1553598A (en) 2004-12-08
CN100563131C CN100563131C (en) 2009-11-25

Family

ID=34323823

Family Applications (1)

Application Number Title Priority Date Filing Date
CNB031405606A Expired - Fee Related CN100563131C (en) 2003-05-29 2003-05-29 A kind of detection method of single board default and device

Country Status (1)

Country Link
CN (1) CN100563131C (en)

Cited By (16)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407657C (en) * 2005-12-23 2008-07-30 华为技术有限公司 Single-board alarm inquiring method and apparatus
EP2053775A1 (en) * 2007-10-23 2009-04-29 Siemens Aktiengesellschaft Module for controlling integrity properties of a data stream
CN101150461B (en) * 2007-11-15 2010-06-02 杭州华三通信技术有限公司 A node query method and device in system
CN101111044B (en) * 2007-08-22 2010-06-09 中兴通讯股份有限公司 Mobile communications network management system and method for diagnosing base station veneer
CN101072089B (en) * 2006-05-08 2010-06-23 中兴通讯股份有限公司 Device for testing transmission cross single board
CN101989936A (en) * 2010-11-01 2011-03-23 中兴通讯股份有限公司 Test method and system of single plate fault
CN101145986B (en) * 2007-06-18 2011-04-20 中兴通讯股份有限公司 A communication status detection method for boards in communication system
CN101098359B (en) * 2006-06-27 2011-05-11 中兴通讯股份有限公司 Time sharing test approach for tester
CN101137164B (en) * 2006-12-04 2011-05-11 中兴通讯股份有限公司 Fault diagnosis testing layout method and system
CN102143014A (en) * 2010-11-03 2011-08-03 华为数字技术有限公司 Single board failure detection method, single board and router
US8433534B2 (en) 2008-06-27 2013-04-30 Chi Mei Communication Systems, Inc. Electronic device and method for testing multiple features of the electronic device
CN104066103A (en) * 2013-03-19 2014-09-24 中国移动通信集团湖北有限公司 Data service core network fault positioning method and device
WO2016061936A1 (en) * 2014-10-22 2016-04-28 中兴通讯股份有限公司 Single-board test method and device, storage medium
WO2017101646A1 (en) * 2015-12-18 2017-06-22 中兴通讯股份有限公司 Hardware fault detection method and apparatus for base station single board
CN107995152A (en) * 2016-10-27 2018-05-04 腾讯科技(深圳)有限公司 A kind of malicious access detection method, device and detection service device
CN110596569A (en) * 2019-08-20 2019-12-20 福州瑞芯微电子股份有限公司 PCBA board testing method and device

Cited By (19)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN100407657C (en) * 2005-12-23 2008-07-30 华为技术有限公司 Single-board alarm inquiring method and apparatus
CN101072089B (en) * 2006-05-08 2010-06-23 中兴通讯股份有限公司 Device for testing transmission cross single board
CN101098359B (en) * 2006-06-27 2011-05-11 中兴通讯股份有限公司 Time sharing test approach for tester
CN101137164B (en) * 2006-12-04 2011-05-11 中兴通讯股份有限公司 Fault diagnosis testing layout method and system
CN101145986B (en) * 2007-06-18 2011-04-20 中兴通讯股份有限公司 A communication status detection method for boards in communication system
CN101111044B (en) * 2007-08-22 2010-06-09 中兴通讯股份有限公司 Mobile communications network management system and method for diagnosing base station veneer
US8433834B2 (en) 2007-10-23 2013-04-30 Siemens Aktiegesellschaft Manufacturing device and module for controlling integrity properties of a data stream input into the manufacturing device
EP2053775A1 (en) * 2007-10-23 2009-04-29 Siemens Aktiengesellschaft Module for controlling integrity properties of a data stream
CN101150461B (en) * 2007-11-15 2010-06-02 杭州华三通信技术有限公司 A node query method and device in system
US8433534B2 (en) 2008-06-27 2013-04-30 Chi Mei Communication Systems, Inc. Electronic device and method for testing multiple features of the electronic device
CN101989936A (en) * 2010-11-01 2011-03-23 中兴通讯股份有限公司 Test method and system of single plate fault
CN102143014A (en) * 2010-11-03 2011-08-03 华为数字技术有限公司 Single board failure detection method, single board and router
CN104066103A (en) * 2013-03-19 2014-09-24 中国移动通信集团湖北有限公司 Data service core network fault positioning method and device
CN104066103B (en) * 2013-03-19 2017-10-10 中国移动通信集团湖北有限公司 The Fault Locating Method and device of data service core net
WO2016061936A1 (en) * 2014-10-22 2016-04-28 中兴通讯股份有限公司 Single-board test method and device, storage medium
WO2017101646A1 (en) * 2015-12-18 2017-06-22 中兴通讯股份有限公司 Hardware fault detection method and apparatus for base station single board
CN107995152A (en) * 2016-10-27 2018-05-04 腾讯科技(深圳)有限公司 A kind of malicious access detection method, device and detection service device
CN107995152B (en) * 2016-10-27 2020-07-03 腾讯科技(深圳)有限公司 Malicious access detection method and device and detection server
CN110596569A (en) * 2019-08-20 2019-12-20 福州瑞芯微电子股份有限公司 PCBA board testing method and device

Also Published As

Publication number Publication date
CN100563131C (en) 2009-11-25

Similar Documents

Publication Publication Date Title
CN1553598A (en) Detecting method and detector for single-board fault
CN1913452A (en) Method and equipment of intelligent patrol detection for communication network
CN1320460C (en) Method of testing hard disk drive
CN1146781C (en) Information display system
CN1666329A (en) Method and device for dynamic sensor configuration and runtime execution
CN1942872A (en) Network device management apparatus and its control method, computer program and computer-readable storage medium
CN1264078A (en) Computer for executing multiple operation systems
CN1842772A (en) Method of testing open services gateway initiative service platform and test tool using the method
CN101038559A (en) Batch task scheduling engine and dispatching method
CN1795654A (en) A contents synchronization system in network environment and a method therefor
CN1825818A (en) Device information management system, computer and program
CN1889741A (en) Method and apparatus for realizing scheduled operation in equipment management
CN1673963A (en) Network technique for malfunction countermeasure
CN1059978A (en) In the computer system service network, insert a computer system automatically
CN1304910C (en) Plant monitoring apparatus and storage medium
CN100341281C (en) Method for realizing task management for network system
CN1859227A (en) Method and system for monitoring service quality according to service level protocol
CN101047726A (en) Terminal failure diagnosis system and method
CN1450469A (en) Data process device, method and program
CN1878322A (en) Fault positioning method and device
CN1262946C (en) Semiconductor processing control system and record medium for recording its processing
JP2006309615A (en) Failure solution support system
CN1993949A (en) Information processing system, information processing apparatus, server apparatus, information processing method and program
CN101052294A (en) Factor estimation apparatus, factor estimation method and recording medium
CN1870660A (en) Method and node equipment for updating address analytic protocol table entry

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
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20091125

Termination date: 20180529

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