CN101989936A - Test method and system of single plate fault - Google Patents
Test method and system of single plate fault Download PDFInfo
- Publication number
- CN101989936A CN101989936A CN2010105281662A CN201010528166A CN101989936A CN 101989936 A CN101989936 A CN 101989936A CN 2010105281662 A CN2010105281662 A CN 2010105281662A CN 201010528166 A CN201010528166 A CN 201010528166A CN 101989936 A CN101989936 A CN 101989936A
- Authority
- CN
- China
- Prior art keywords
- single board
- software version
- tested single
- test software
- main control
- 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
Links
Images
Landscapes
- Test And Diagnosis Of Digital Computers (AREA)
Abstract
The invention discloses a test method and system of a single plate fault, wherein the method comprises the following steps: establishing a single plate test environment; downloading a resetting test software version from main control equipment by a single plate to be tested, and operating the resetting test software version; when a resetting fault of shutdown and incapability of starting appears after the single plate to be tested operates the resetting test software version, detecting the device causing the resetting fault by a test instrument, and finishing; and when a resetting fault does not appear after the single plate to be tested operates the resetting test software version, detecting the functions of the single plate to be tested by a packet sending instrument, downloading the resetting test software version from the main control equipment by the single plate to be tested again, and operating the resetting test software version. In the invention, after the single plate test environment is established, the single plate to be tested downloads the resetting test software version from the main control equipment and operates the resetting test software version, so that whether the single plate to be tested has the resetting fault or not can be tested, thereby realizing the purpose of detecting the resetting faults of shutdown of the single plate and incapability of starting by resetting in the development phase.
Description
Technical field
The present invention relates to communication technical field, more particularly, relate to a kind of method of testing and system of single board default.
Background technology
In communication system, switch is as the transmission of Information passage, and its reliability of operation and stability are most important.Therefore not only to guarantee the function of the veneer of switch in development, also will guarantee the reliability of veneer and the stable continuation of work simultaneously.Yet veneer occurs sometimes that some are unusual in actual moving process, particularly crashes and all can not make its normal fault that starts by resetting.Fig. 1 is the schematic diagram of prior art single board system.As shown in Figure 1, in the system of veneer, CPU (CentralProcess Unit, be called for short: periphery CPU) generally for example can hang a lot of devices: Synchronous Dynamic Random Access Memory (Synchronous Dynamic Random Access Memory, be called for short: SDRAM), flash memory (FLASH), but can wipe editorial logic device (Erasable Programmable LogicDevice, be called for short: EPLD), (Field-Programmable Gate Array is called for short: FPGA) etc. field programmable gate array.These devices all are to be connected with CPU by local bus (LocalBus), and wherein the local bus of any one device occurs drawing dead phenomenon all can make the CPU cisco unity malfunction, thereby makes the veneer operation irregularity.For number of C PU, can at first read it when restarting and start required pattern configurations information resetting, these pattern configurations pins generally all be with local bus on some pins be multiplexing, if wherein these pins are drawn and extremely will directly cause the mistake of pattern configurations and CPU can't be started.
Above-mentioned veneer crashes and occurs at random by the fault that all can't start that resets, and is difficult to reproduction after occurring.Use common hardware signal method of testing and function test method all to be difficult to find these faults, in order to guarantee product quality, requiring provides a kind of method of testing, just can find these faults in the development phase.
Summary of the invention
Technical problem to be solved by this invention is the defective at prior art, proposes a kind of method of testing and system of single board default, in order to just can find veneer deadlock and the fault by resetting and all can't starting in the development phase.
In order to solve the problems of the technologies described above, the invention provides a kind of method of testing of single board default, comprising:
Set up the single-board testing environment;
Tested single board is downloaded the reset test software version from main control device, and operation;
The fault that resets that deadlock occurs and can not start after described tested single board is moved described reset test software version detects the device that causes the described fault that resets by tester, finishes;
Do not occur the described fault that resets after described tested single board is moved described reset test software version, by the function of the instrument detecting tested single board of giving out a contract for a project, described tested single board is downloaded the reset test software version from main control device again, and operation.
Further, also comprise after setting up the single-board testing environment described: tested single board operation veneer functional software version; Behind tested single board operation veneer functional software version, functional fault do not occur, carry out described tested single board and download and move the reset test software version.
Further, do not occur the described fault that resets after described tested single board is moved described reset test software version, described method also comprises: described main control device is to no reseting pin in the described tested single board or do not use the device of reseting pin to carry out the read and write access operation.
Further, in described function by the instrument detecting tested single board of giving out a contract for a project, and in the described process of carrying out read and write access operation, whether described main control device monitoring tested single board has alarm, if having, then stops test.
Further, described tested single board is downloaded the reset test software version from main control device again, and operation comprises: when timing arrived, described tested single board was downloaded the reset test software version from main control device again, and operation.
The present invention also provides a kind of test macro of single board default, comprising:
Main control device is used to store the reset test software version;
Tested single board is used for downloading the reset test software version from described main control device;
Tester is used for the fault that resets that appearance is crashed and can not be started after described tested single board is moved described reset test software version, detects the device that causes the described fault that resets;
The instrument of giving out a contract for a project is used for not occurring the described fault that resets after described tested single board is moved described reset test software version, detect the function of tested single board.
Further, described tested single board also is used to move veneer functional software version.
Further, the described fault that resets do not occur after described tested single board is moved described reset test software version, described main control device also is used for the no reseting pin of described tested single board or does not use the device of reseting pin to carry out the read and write access operation.
Further, in described function by the instrument detecting tested single board of giving out a contract for a project, and in the described process of carrying out read and write access operation, whether described main control device also is used to monitor tested single board alarm, if having, then stops test.
Further, described tested single board specifically is used for when timing arrives, and downloads the reset test software version from main control device again, and operation.
Among the present invention, after setting up the single-board testing environment, tested single board is downloaded reset test software version and operation at main control device, can test out tested single board and the fault that resets whether occur, and has realized detecting the fault that resets that veneer crashes and can't start by resetting in the development phase.
Description of drawings
Fig. 1 is the schematic diagram of prior art single board system;
Fig. 2 is the schematic flow sheet of method of testing one embodiment of single board default provided by the invention;
Fig. 3 is the structural representation of test macro one embodiment of single board default provided by the invention.
Embodiment
The invention provides a kind of method of testing and system of single board default, be mainly used in the development phase and detect veneer deadlock and the fault by resetting and can't starting, this paper also is referred to as the fault that resets.Its core concept is at first to set up the single-board testing environment; Tested single board is downloaded the reset test software version from main control device, and operation; The fault that resets that crashes and can not start behind tested single board operation reset test software version, occurs, detect the device of the fault that causes resetting, finish by tester; The fault that resets do not occur behind tested single board operation reset test software version, by the function of the instrument detecting tested single board of giving out a contract for a project, described tested single board is downloaded the reset test software version from main control device again, and operation.Realized detecting the fault that resets that veneer crashes and can't start by resetting by above-mentioned method of testing in the development phase.
Below in conjunction with accompanying drawing and preferred implementation technical solution of the present invention is elaborated.
Before testing, at first can analyze the CPU that finds out tested single board and be drawn dead and can not normally start and with which device on the veneer (device of hanging on the local bus of CPU) relation to be arranged; Analyze power-off restarting and reset and restart difference for single plate hardware, contrast is found that the reset signal device is arranged and do not had the power-off restarting and resetting of the device of reset signal to restart distinguishing: the device that reset signal arranged is restarted or power-off restarting all can be initialised resetting, and the device that does not have a reset signal is not initialised when restarting again resetting, and therefore some unusual situations might occur.According to above-mentioned analysis result, but emphasis is tested at the device that does not have reset signal.
Fig. 2 is the schematic flow sheet of method of testing one embodiment of single board default provided by the invention, and as shown in Figure 2, present embodiment may further comprise the steps:
Step 101, set up the single-board testing environment;
What is called is set up the single-board testing environment and is comprised and set up the single plate hardware test environment that be specially: utilize ready-made system architecture, remove frame, main control device and tested single board are inserted on the exposed backboard, the veneer that is inserted on the backboard also becomes ply-yarn drill; Board Power up under normal circumstances can start and carry out flow and transmit; The configure dedicated instrument, the instrument (as SmartBits) of for example giving out a contract for a project makes the basic function of tested single board to move; The configuration testing instrument, for example oscilloscope and universal instrument etc. are mainly used in and carry out the hardware signal test when occurring resetting fault, find out the device that breaks down.
Step 102, tested single board operation veneer functional software version;
The purpose of operation veneer functional software version is to confirm after starting, and whether the basic function of tested single board is normal, whether functional fault can occur.If functional fault shows that then tested single board itself goes wrong, then EOT; If functional fault do not occur, then redirect execution in step 103.
Step 103, tested single board are downloaded the reset test software version from main control device, and operation;
This reset test software version is stored in the main control device in advance, and the corresponding reset test software version of each veneer, and tested single board is from the reset test software version of main control device download self correspondence.
Step 104, judge whether occur the fault that resets that crashes and can not start behind the tested single board operation reset test software version, if, execution in step 105; Otherwise, execution in step 106;
Step 105, detect the device of the fault that causes resetting, finish by tester.
If the fault that resets, search concrete which device by tester and CPU hung dead, find direction for dealing with problems.
Step 106, the function by the instrument detecting tested single board of giving out a contract for a project, redirect execution in step 103.
Further, can also comprise in step 106: main control device is to no reseting pin in the tested single board or do not use the device of reseting pin to carry out the read and write access operation.Because no reseting pin or do not use the device of reseting pin occur the resetting probability of fault bigger in the tested single board so operate by these devices constantly being carried out read and write access, can improve the efficient of detection.
When tested single board did not occur resetting fault, above-mentioned steps 103-106 was a process that circulation is carried out, and this paper is referred to as " strike-machine ", and total duration of strike-machine can be a week.
Further, in the function by the instrument detecting tested single board of giving out a contract for a project, and main control device is to no reseting pin in the tested single board or do not use the device of reseting pin to carry out in the process of read and write access operation, and whether main control device monitoring tested single board has alarm, if have, then stop test.
Present embodiment can also be set timer, and the timing of this timer can be determined according to actual conditions.After tested single board is restarted, start timer; When timing arrived, main control device sent reset signal to tested single board, and tested single board is downloaded the reset test software version from main control device again, and operation.
Fig. 3 is the structural representation of test macro one embodiment of single board default provided by the invention, as shown in Figure 3, this system comprises: main control device 11, tested single board 12, tester 13 and the instrument 14 of giving out a contract for a project, and wherein: main control device 11 is used to store the reset test software version; Tested single board 12 is used for downloading the reset test software version from main control device 11; Tester 13 is used for occurring the fault that resets that crashes and can not start behind tested single board 12 operation reset test software versions, detect the device of the fault that causes resetting; The instrument 14 of giving out a contract for a project is used for the fault that resets not occurring behind tested single board 12 operation reset test software versions, detects the function of tested single board.
Except being used to store the reset test software version, also be used for the test process of veneer is controlled in the main control device 11.As shown in Figure 3, main control device 11 can be controlled a plurality of veneers simultaneously, except tested single board 12, also has several other veneers.Store the reset test software version of each veneer correspondence in the main control device 11 in advance, when tested, download for veneer.Alternatively, present embodiment can also comprise standby main control device 15, and when main control device 11 went wrong, standby main control device 15 can replace main control device 11 to realize correlation function.
Further, tested single board 12 also is used to move veneer functional software version.Before carrying out reset test, tested single board 12 is operation veneer functional software version earlier, confirms whether to occur functional fault.If functional fault shows that then tested single board itself goes wrong, then EOT; If functional fault do not occur, then tested single board 12 is downloaded and operation reset test software version.
The fault that resets do not occur behind tested single board 12 operation reset test software versions, main control device 11 also is used for tested single board 12 no reseting pins or does not use the device of reseting pin to carry out the read and write access operation.Because no reseting pin or do not use the device of reseting pin occur the resetting probability of fault bigger in the tested single board 12 so operate by these devices constantly being carried out read and write access, can improve the efficient of detection.
In the function by the instrument detecting tested single board of giving out a contract for a project, and carry out in the process of read and write access operation, whether main control device 11 also is used to monitor tested single board 12 alarm, if having, then stops test.
Further again, tested single board 12 specifically is used for when timing arrives, and downloads the reset test software version from main control device again, and operation.
The method of testing of single board default provided by the invention and system, some that can find chip device conceal defects or design in ND defective, realized just detecting the fault that resets that veneer crashes and can't start by resetting, remedied the defective of prior art in the development phase.
At last; it should be noted that: more than what enumerate only is specific embodiments of the invention; certainly those skilled in the art can change and modification the present invention; if these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, all should think protection scope of the present invention.
Claims (10)
1. the method for testing of a single board default is characterized in that, comprising:
Set up the single-board testing environment;
Tested single board is downloaded the reset test software version from main control device, and operation;
The fault that resets that deadlock occurs and can not start after described tested single board is moved described reset test software version detects the device that causes the described fault that resets by tester, finishes;
Do not occur the described fault that resets after described tested single board is moved described reset test software version, by the function of the instrument detecting tested single board of giving out a contract for a project, described tested single board is downloaded the reset test software version from main control device again, and operation.
2. method according to claim 1 is characterized in that, also comprises after setting up the single-board testing environment described: tested single board operation veneer functional software version;
Behind tested single board operation veneer functional software version, functional fault do not occur, carry out described tested single board and download and move the reset test software version.
3. method according to claim 1 and 2, it is characterized in that, do not occur the described fault that resets after described tested single board is moved described reset test software version, described method also comprises: described main control device is to no reseting pin in the described tested single board or do not use the device of reseting pin to carry out the read and write access operation.
4. method according to claim 1 and 2 is characterized in that, in described function by the instrument detecting tested single board of giving out a contract for a project, and in the described process of carrying out read and write access operation, whether described main control device monitoring tested single board has alarm, if having, then stops test.
5. method according to claim 1, it is characterized in that described tested single board is downloaded the reset test software version from main control device again, and operation comprises: when timing arrives, described tested single board is downloaded the reset test software version from main control device again, and operation.
6. the test macro of a single board default is characterized in that, comprising:
Main control device is used to store the reset test software version;
Tested single board is used for downloading the reset test software version from described main control device;
Tester is used for the fault that resets that appearance is crashed and can not be started after described tested single board is moved described reset test software version, detects the device that causes the described fault that resets;
The instrument of giving out a contract for a project is used for not occurring the described fault that resets after described tested single board is moved described reset test software version, detect the function of tested single board.
7. system according to claim 6 is characterized in that, described tested single board also is used to move veneer functional software version.
8. according to claim 6 or 7 described systems, it is characterized in that, do not occur the described fault that resets after described tested single board is moved described reset test software version, described main control device also is used for the no reseting pin of described tested single board or does not use the device of reseting pin to carry out the read and write access operation.
9. according to claim 6 or 7 described systems, it is characterized in that, in described function by the instrument detecting tested single board of giving out a contract for a project, and in the described process of carrying out read and write access operation, whether described main control device also is used to monitor tested single board alarm, if having, then stops test.
10. system according to claim 6 is characterized in that, described tested single board specifically is used for when timing arrives, and downloads the reset test software version from main control device again, and operation.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010528166.2A CN101989936B (en) | 2010-11-01 | 2010-11-01 | Test method and system of single plate fault |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201010528166.2A CN101989936B (en) | 2010-11-01 | 2010-11-01 | Test method and system of single plate fault |
Publications (2)
Publication Number | Publication Date |
---|---|
CN101989936A true CN101989936A (en) | 2011-03-23 |
CN101989936B CN101989936B (en) | 2014-06-11 |
Family
ID=43746291
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201010528166.2A Active CN101989936B (en) | 2010-11-01 | 2010-11-01 | Test method and system of single plate fault |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN101989936B (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103746760A (en) * | 2014-01-21 | 2014-04-23 | 加弘科技咨询(上海)有限公司 | Universal test method and production method of data communication product |
WO2016202036A1 (en) * | 2015-06-19 | 2016-12-22 | 中兴通讯股份有限公司 | Detection processing method and apparatus |
CN109425796A (en) * | 2017-08-30 | 2019-03-05 | 中兴通讯股份有限公司 | A kind of backboard tooling test macro |
CN113466655A (en) * | 2020-03-31 | 2021-10-01 | 华为技术有限公司 | Test equipment and method for testing single board |
Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6510529B1 (en) * | 1999-09-15 | 2003-01-21 | I-Bus | Standby SBC backplate |
CN1474272A (en) * | 2003-06-19 | 2004-02-11 | Ut斯达康(中国)有限公司 | Method and equipment for detecting single plate by JTAG |
CN1553598A (en) * | 2003-05-29 | 2004-12-08 | 华为技术有限公司 | Detecting method and detector for single-board fault |
CN1959423A (en) * | 2005-10-31 | 2007-05-09 | 中兴通讯股份有限公司 | Method for detecting faults of single board, and testing device |
CN101046765A (en) * | 2006-03-29 | 2007-10-03 | 华为技术有限公司 | Method for positioning fault of software |
CN101699410A (en) * | 2009-11-11 | 2010-04-28 | 中兴通讯股份有限公司 | Single plate hardware fault detection method and device |
-
2010
- 2010-11-01 CN CN201010528166.2A patent/CN101989936B/en active Active
Patent Citations (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US6510529B1 (en) * | 1999-09-15 | 2003-01-21 | I-Bus | Standby SBC backplate |
CN1553598A (en) * | 2003-05-29 | 2004-12-08 | 华为技术有限公司 | Detecting method and detector for single-board fault |
CN1474272A (en) * | 2003-06-19 | 2004-02-11 | Ut斯达康(中国)有限公司 | Method and equipment for detecting single plate by JTAG |
CN1959423A (en) * | 2005-10-31 | 2007-05-09 | 中兴通讯股份有限公司 | Method for detecting faults of single board, and testing device |
CN101046765A (en) * | 2006-03-29 | 2007-10-03 | 华为技术有限公司 | Method for positioning fault of software |
CN101699410A (en) * | 2009-11-11 | 2010-04-28 | 中兴通讯股份有限公司 | Single plate hardware fault detection method and device |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN103746760A (en) * | 2014-01-21 | 2014-04-23 | 加弘科技咨询(上海)有限公司 | Universal test method and production method of data communication product |
WO2016202036A1 (en) * | 2015-06-19 | 2016-12-22 | 中兴通讯股份有限公司 | Detection processing method and apparatus |
CN106330583A (en) * | 2015-06-19 | 2017-01-11 | 中兴通讯股份有限公司 | Detection processing method and device |
CN109425796A (en) * | 2017-08-30 | 2019-03-05 | 中兴通讯股份有限公司 | A kind of backboard tooling test macro |
CN109425796B (en) * | 2017-08-30 | 2021-09-07 | 中兴通讯股份有限公司 | Backplate frock test system |
CN113466655A (en) * | 2020-03-31 | 2021-10-01 | 华为技术有限公司 | Test equipment and method for testing single board |
Also Published As
Publication number | Publication date |
---|---|
CN101989936B (en) | 2014-06-11 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN102761439B (en) | Device and method for detecting and recording abnormity on basis of watchdog in PON (Passive Optical Network) access system | |
CN110928743B (en) | Computing system, automatic diagnosis method and medium storing instructions thereof | |
CN101976217B (en) | Anomaly detection method and system for network processing unit | |
CN109510742B (en) | Server network card remote test method, device, terminal and storage medium | |
CN101882097A (en) | Main control board, embedded system and backup method for embedded system | |
JP2014130585A (en) | Firmware upgrade error detection and automatic rollback | |
JP2006259869A (en) | Multiprocessor system | |
US20080270827A1 (en) | Recovering diagnostic data after out-of-band data capture failure | |
US7734956B2 (en) | Process management system | |
CN102799499B (en) | Method and vehicle-mounted Android equipment that vehicle-mounted Android device systems recovers | |
CN101989936B (en) | Test method and system of single plate fault | |
WO2018001048A1 (en) | Multi-process monitoring method, apparatus and service system | |
CN111338698A (en) | Method and system for accurately booting server by BIOS (basic input output System) | |
CN106681877B (en) | Chip debugging system and method and system chip | |
CN104734904A (en) | Automatic detection method and system of by-pass equipment | |
CN116737471B (en) | BIOS automatic switching method and device, electronic equipment and storage medium | |
CN102521132A (en) | Automated testing method and automated testing system for real-time output logs | |
CN112000535A (en) | SAS Expander card-based hard disk abnormity identification method and processing method | |
CN102541702A (en) | Test method for automatically restarting mainboard and recording debugging datum as well as restarting device of mainboard | |
CN109885420B (en) | PCIe link fault analysis method, BMC and storage medium | |
JP2016066303A (en) | Server device, redundant configuration server system, information taking-over program and information taking-over method | |
CN102999422A (en) | Efficient embedded system debugging method | |
JP2003186697A (en) | System and method for testing peripheral device | |
EP2829974A2 (en) | Memory dump method, information processing apparatus and program | |
CN108664361B (en) | PCIE non-transparent channel repairing method and 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 |