CN105588989A - Testing method and apparatus for single board - Google Patents

Testing method and apparatus for single board Download PDF

Info

Publication number
CN105588989A
CN105588989A CN201410568798.XA CN201410568798A CN105588989A CN 105588989 A CN105588989 A CN 105588989A CN 201410568798 A CN201410568798 A CN 201410568798A CN 105588989 A CN105588989 A CN 105588989A
Authority
CN
China
Prior art keywords
test
equipment under
item
command code
master 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
Application number
CN201410568798.XA
Other languages
Chinese (zh)
Other versions
CN105588989B (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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN201410568798.XA priority Critical patent/CN105588989B/en
Priority to PCT/CN2015/071488 priority patent/WO2016061936A1/en
Publication of CN105588989A publication Critical patent/CN105588989A/en
Application granted granted Critical
Publication of CN105588989B publication Critical patent/CN105588989B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Quality & Reliability (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Test And Diagnosis Of Digital Computers (AREA)
  • Tests Of Electronic Circuits (AREA)

Abstract

The embodiment of the invention discloses a testing method and apparatus for a single board. The method comprises: a tested device obtains a command code and a device configuration file from a master control unit and analyzes the device configuration file to obtain device information, and a corresponding device single linked list is established for each command code; after the tested device receives a testing message sent by the master control unit, the testing message is parsed, a command code corresponding to a current testing item is obtained from the testing message, a corresponding device single linked list of the current testing item is determined based on the obtained command code, the device is printed based on the corresponding device single linked list of the current testing item, corresponding testing is carried out on each device in the corresponding device single linked list of the current testing item, and a testing result is recorded and is sent to the master control unit.

Description

Single-board testing method and device
Technical field
The present invention relates to single-board testing technology, relate in particular to a kind of single-board testing method and device.
Background technology
Production test is the important detection means of device fabrication, and this class testing mainly uses special testing equipmentEquipment to needs test or module are carried out in batches, the test of automation, and content measurement comprises testing inner chainThe high load capacity hot environment test of connection interface, device signal, device basic test, operational trials/device etc.Production test need to meet following basic demand: (1) tested equipment is in operation duty; (2) energyEnough various functions that automatically moves testing software retest equipment; (3) can automatically record output fault noteRecord and alarm, and test report is provided as required.
But along with the high speed development of mechanics of communication, the modernization of router device height, proposes production testMore strict requirement: ensure production test quality, when improving production test efficiency, can reach againThe object of fault fast positioning. But current production test detects after faulty equipment, need to rely on extraneousHuman resources and equipment carry out detection failure, and can not in production test procedure, directly filter out can vitiable devicePart, dwindles fault coverage, and then cannot realize fault fast positioning.
Summary of the invention
For solving the problems of the technologies described above, the embodiment of the present invention provides a kind of single-board testing method and device, canTest quickly and can determine fast defective device.
The technical scheme of the embodiment of the present invention is achieved in that
A kind of single-board testing method, comprising:
Equipment under test obtains command code and cell configuration file from master control, resolves described cell configuration file and obtainsGet device information, for each command code is set up the single linked list of corresponding device;
Described equipment under test receives after the test post of described master control transmission, resolves described test post, fromIn described test post, obtain the command code that current test item is corresponding, and determine institute according to obtained command codeState the single linked list of the device that current test item is corresponding, according to the single linked list of device corresponding to described current test itemPrint device, and each device in the single linked list of device corresponding to described current test item is carried out to corresponding surveyExamination, logging test results also sends described test result to described master control.
Preferably, described command code and described cell configuration file corresponding record in excel file, described inAll devices that described in excel file record, each test item of equipment under test comprises.
Preferably, described test item is the command code representing by hexadecimal number; Different test items have notSame command code;
Described test result comprises the test record of each device that test item is corresponding.
Preferably, described device is the components and parts in described equipment under test; Described device information comprises components and partsThe information of numbering, components and parts title, basic packing forms, components and parts nominal value.
A kind of single-board testing method, comprising:
After master control powers on, send command code and cell configuration file to equipment under test, described equipment under test is builtThe corresponding relation of the single linked list of vertical command code and device;
Described master control receives test profile and resolves described test profile, and from resolve testIn configuration file, obtain the test post that a test item is corresponding, described test post is sent to equipment under test;
Described master control receives the test result that described equipment under test sends, and records described test result.
Preferably, described master control receives after the test result of described equipment under test transmission, and described method is also wrappedDraw together:
Described master control determines in described test profile whether also have other test items, described in obtaining if havingTest post corresponding to a test item in other test items, and by the test post in described other test items toEquipment under test sends; Receive the test result that described equipment under test sends, and record described test result.
Preferably, described test item is the command code representing by hexadecimal number; Different test items have notSame command code;
Described test result comprises the test record of each device that test item is corresponding.
Preferably, described device is the components and parts in described equipment under test; Described device information comprises components and partsThe information of numbering, components and parts title, basic packing forms, components and parts nominal value.
A kind of single-board testing device, comprising: acquiring unit, the first resolution unit, set up unit, receive singleUnit, the second resolution unit, determining unit, test execution unit and transmitting element, wherein:
Acquiring unit, for obtaining command code and cell configuration file from master control;
The first resolution unit, the acquisition device information for resolving described cell configuration file;
Set up unit, be used to each command code to set up the single linked list of corresponding device;
Receiving element, the test post sending for receiving described master control;
The second resolution unit for resolving described test post, is obtained current test from described test postThe command code that item is corresponding;
Determining unit, for determining the list of the device that described current test item is corresponding according to obtained command codeChained list;
Test execution unit, according to the single linked list print device of device corresponding to described current test item, and rightIn the single linked list of the device that described current test item is corresponding, each device is carried out corresponding test, record test knotReally;
Transmitting element, for sending described test result to described master control.
Preferably, described command code and described cell configuration file corresponding record in excel file, described inAll devices that described in excel file record, each test item of equipment under test comprises.
Preferably, described device is the components and parts in described equipment under test; Described device information comprises components and partsThe information of numbering, components and parts title, basic packing forms, components and parts nominal value.
A kind of single-board testing device, comprises detecting unit, the first transmitting element, the first receiving element, parsingUnit, the second transmitting element and the second receiving element, wherein:
Detecting unit, for detection of whether powering on, triggers described the first transmitting element after powering on;
The first transmitting element, for sending command code and cell configuration file to equipment under test, makes described testedEquipment is set up the corresponding relation of the single linked list of command code and device;
The first receiving element, for receiving test profile;
Resolution unit for resolving described test profile, and is obtained from the test profile of resolvingThe test post that one test item is corresponding;
The second transmitting element, for sending described test post to equipment under test;
The second receiving element, the test result sending for receiving described equipment under test, and record described testResult.
Preferably, described device also comprises: determining unit, and for receiving institute at described the second receiving elementState after the test result that equipment under test sends, determine in described test profile whether to also have other test items,Trigger described the second transmitting element obtains test corresponding to a test item in described other test items and disappears if havingBreath, and the test post in described other test items is sent to equipment under test;
Accordingly, described the second receiving element also receives the test result that described equipment under test sends, and recordDescribed test result.
Preferably, described device is the components and parts in described equipment under test; Described device information comprises components and partsThe information of numbering, components and parts title, basic packing forms, components and parts nominal value.
In the embodiment of the present invention, after master control powers on, command code and cell configuration file can be sent to tested establishingStandby, equipment under test will be the single linked list that each command code is set up corresponding device according to described cell configuration file;Equipment under test receives after the test post of master control transmission, and true according to the command code of obtaining from test postThe single linked list of the device that settled front test item is corresponding, and according to single linked list print device, and to every in single linked listOne device is carried out corresponding test. The embodiment of the present invention is by printing also each device in test itemTest, can determine whether these devices break down, and the test result reporting according to equipment under test, canLocate quickly and accurately which or which device and occurred fault, and without artificial participation, saved manpower thingPower cost, has improved production test efficiency.
Brief description of the drawings
Fig. 1 is the flow chart of the single-board testing method of the embodiment of the present invention one;
Fig. 2 is the flow chart of the single-board testing method of the embodiment of the present invention two;
Fig. 3 is the flow chart of the single-board testing method of the embodiment of the present invention three;
The machine frame environment schematic diagram that what Fig. 4 was the embodiment of the present invention adopt;
Fig. 5 is the command code of the embodiment of the present invention and the schematic diagram of cell configuration file;
Fig. 6 is the schematic diagram of the device single linked list that the command code 0x3500 of the embodiment of the present invention is corresponding;
Fig. 7 is the flow chart of the single-board testing method of the embodiment of the present invention four;
Fig. 8 is the composition structural representation of the single-board testing device of the embodiment of the present invention one;
Fig. 9 is the composition structural representation of the single-board testing device of the embodiment of the present invention two.
Detailed description of the invention
For making object of the present invention, technical scheme and a little clearer, hereinafter in connection with accompanying drawing pairEmbodiments of the invention are elaborated. It should be noted that, in the situation that not conflicting, in the applicationEmbodiment and embodiment in feature can mutually be combined.
The embodiment of the present invention is the production test method based on device quick diagnosis fault, comprising: environment master controlStart after version, issue test item command code to equipment under test, equipment under test is carried out test item recording and sendingTest result and daily record, environment master control receive and logging test results and daily record.
Wherein, when equipment under test is carried out test item, print the related all devices of this test item, and recordIn journal file.
In the embodiment of the present invention, described device is to have the components and parts that entity exists, and the information of device comprises volumeNumber, components and parts title, basic packing forms, components and parts nominal value etc. Device can be unique by device numberMark.
In the embodiment of the present invention, each test item has a single linked list about device, this single linked list basisThe configuration file of test item command code and device, sets up one about device to the each test item of equipment under testSingle linked list.
Particularly, when equipment under test is carried out test item, from the device single linked list of this test item, print one by one instituteThere is device; Other test items are also carried out to operation similarly; Because each test item likely relates to multiple devicesPart, so if certain test item test crash, one or more device corresponding to this test item soPart must damage; Can check one by one whether corresponding other test items of each device are tested successfully: asFruit relates to all test item successes of all test items of this device, gets rid of so this device failure; Then continue inspectionLook into other device place test items in failure testing item and whether test successfully, and then orient the device of damage;Thereby dwindle fault coverage, reach the object of quick location fault, improve production test efficiency.
In the embodiment of the present invention, environment master control also can be described as master control.
Below, by concrete example, further illustrate the essence of embodiment of the present invention technical scheme.
Fig. 1 is the flow chart of the single-board testing method of the embodiment of the present invention one, as shown in Figure 1, and this exampleSingle-board testing method comprises the following steps:
Step 101, equipment under test obtains command code and cell configuration file from master control, resolves described device and joinsPut file and acquisition device information, for each command code is set up the single linked list of corresponding device.
In this step, after master control powers on, command code and cell configuration file can be sent to equipment under test.Equipment under test obtains after command code and cell configuration file, resolves described cell configuration file and acquisition device letterBreath, and set up the single linked list of corresponding device for each command code. When equipment under test receives after test post,Can determine device information to be tested according to the test item in test post, and can be according to the single linked list of deviceThe printing of performer and test.
Referring to Fig. 5, show the form of command code and cell configuration file. In the embodiment of the present invention, orderCode with cell configuration file corresponding record in excel file, equipment under test described in described excel file recordAll devices of comprising of each test item.
Step 102, equipment under test receives after the test post of described master control transmission, resolves test post,From test post, obtain the command code that current test item is corresponding, and determine current according to obtained command codeThe single linked list of the device that test item is corresponding, according to the single linked list print device of device corresponding to current test item,And each device in the single linked list of device corresponding to current test item is carried out to corresponding test, record test knotFruit also sends test result to master control.
In this step, after master control powers on, receive test profile and resolve this test profile,And from resolve test profile obtain the test post that a test item is corresponding, by this test post to quiltMeasurement equipment sends. Equipment under test obtains test item according to test post, and finds out this survey according to this test itemThe single linked list of an examination corresponding device, prints and tests according to the single linked list of this device, and record is surveyedTest result also feeds back to master control.
In the embodiment of the present invention, described test item is the command code representing by hexadecimal number; Different testsItem has different command codes;
Described test result comprises the test record of each device that test item is corresponding.
In the embodiment of the present invention, described device is the components and parts in described equipment under test; Described device information bagDraw together the information of components and parts numbering, components and parts title, basic packing forms, components and parts nominal value. Device informationCan use device number unique identification.
Fig. 2 is the flow chart of the single-board testing method of the embodiment of the present invention two, as shown in Figure 2, and this exampleSingle-board testing method comprises the following steps:
Step 201, after master control powers on, sends command code and cell configuration file to equipment under test, described in makingEquipment under test is set up the corresponding relation of the single linked list of command code and device.
In the embodiment of the present invention, after master control powers on, can initiatively send command code and cell configuration to equipment under testFile. Equipment under test is resolved after receiving command code and cell configuration file, and sets up command code and deviceThe corresponding relation of the single linked list of part. This corresponding relation can be shown in Figure 5.
Step 202, master control receives test profile and resolves described test profile, and from resolvingTest profile in obtain the test post that a test item is corresponding, by described test post to equipment under testSend.
While starting to test, master control receives test profile and resolves this test profile, obtains whereinThe test post that test item is corresponding, and this test post is sent to equipment under test, make equipment under test according to surveyTest item in examination message is carried out corresponding test. When equipment under test is carried out test, by corresponding according to test itemThe single linked list of device is printed one by one to each device, and each device is carried out to corresponding test, generates test knotReally. Test result comprises test log etc.
Step 203, master control receives the test result that described equipment under test sends, and records described test result.
Fig. 3 is the flow chart of the single-board testing method of the embodiment of the present invention three, as shown in Figure 3, and this exampleSingle-board testing method is by setting up one about device to each command code in equipment under test production test procedureSingle linked list, and then device is recorded in the journal file of corresponding equipment under test, reaches quick location faultObject. The single-board testing method following steps of this example:
Environment master control and equipment under test power on, and start version;
Equipment under test obtains command code and cell configuration file, and resolves configuration file;
Start test, resolve test item configuration file;
Environment master control, from test item configuration file, is taken out a test post that test item is corresponding, according to approximatelyFixed test item sends protocol format, issues test post to equipment under test; Those skilled in the art should manageSeparate, the send mode of test post should be followed related protocol form.
Equipment under test is received after test post, resolves test post, from the single linked list about device information, looks forTo device corresponding to described test item, then print device, execution test accordingly, by detecting information recordIn journal file and send to environment master control, after carrying out test item and finishing, according to the test item result of agreementReturn to protocol format, test result is sent to environment master control;
Environment master control waits for that equipment under test returns to test result information, when receiving after results messages, resolves knotFruit message, is recorded to the destination file that described equipment under test is corresponding, the daily record simultaneously sending according to equipment under testInformation, upgrades the journal file of described equipment under test;
If environment master control stops issuing test item, test finishes so; Otherwise, take off a test item pairThe message of answering continues test.
The single-board testing method of the embodiment of the present invention, due to equipment under test, to have printed each test item correspondingRelated device, and be recorded to corresponding journal file, so if test item test crash, Ke YicongIn journal file, can check one by one whether corresponding other test items of each device are tested successfully: if related toAnd all test item successes of all test items of this device, get rid of so this device failure; Then continue to check and loseWhether lose other device place test items in test item tests successfully; Thereby dwindle fault coverage, reach quickThe object of location fault, improves production test efficiency.
The machine frame environment schematic diagram that what Fig. 4 was the embodiment of the present invention adopt, as shown in Figure 4, the present invention is realExecute the machine frame environment that example adopts, comprise environment master control, environment switching board, tested single board etc. Environment masterControl is mainly used in management and controls whole testing process, the management that environment switching board, tested single board be provided withAnd the monitoring of system environments. Environment switching board is mainly used in covering the test of some signal of tested single board. QuiltSurveying veneer is the Devices to test of the embodiment of the present invention.
Fig. 5 is the command code of the embodiment of the present invention and the schematic diagram of cell configuration file, as shown in Figure 5, isEach command code in the embodiment of the present invention comprises one or more device.
Fig. 6 is the schematic diagram of the device single linked list that the command code 0x3500 of the embodiment of the present invention is corresponding, as Fig. 6Shown in, the single linked list about device that command code 0x3500 is set up in the embodiment of the present invention: when testedVeneer receives after test post corresponding to test item that environment master control sends, and resolves test post, from aboutIn the single linked list of device information, find the device that described test item is corresponding, then print device, and carry out correspondingTest, detecting information is recorded in journal file and sends to environment master control, carry out after test item finishes,Test item result according to agreement is returned to protocol format, and test result is sent to environment master control.
Fig. 7 is the flow chart of the single-board testing method of the embodiment of the present invention four, as shown in Figure 7, and this exampleSingle-board testing method comprises the following steps:
Environment master control, environment exchange and tested single board power on, and start version;
Tested single board is obtained command code and cell configuration file from environment master control;
Tested single board resolve command code and cell configuration file, set up one to each command code and believe about deviceThe single linked list of breath;
Start test, environment environment is resolved test item configuration file;
Environment master control, from test item configuration file, is taken out the test post that test item is corresponding one by one, according to approximatelyFixed test item sends protocol format, issues test post to equipment under test;
Equipment under test is received test post, resolves test post;
From the single linked list about device information, take out a single linked list;
Judge whether the command code from the single linked list about device information equals the order that tested single board receivesCode, if so, carries out following test; Otherwise, from the single linked list about device information, take out and meet the requirementsSingle linked list;
Print all devices corresponding to described command code, carry out test accordingly, detecting information is recorded to dayIn will file and send to environment master control, after carrying out test item and finishing, return according to the test item result of agreementProtocol format, sends to environment master control by test result;
Environment master control wait tested single board is returned to test result information, when receiving after results messages, resolves knotFruit message, is recorded to destination file corresponding to described tested single board, the daily record simultaneously sending according to tested single boardInformation, upgrades the journal file of described tested single board;
If environment master control stops issuing test item, test finishes so; Otherwise, continue to issue test postContinue to carry out test.
The single-board testing method of the embodiment of the present invention, due to equipment under test, to have printed each test item correspondingRelated device, and be recorded to corresponding journal file, so if test item test crash, Ke YicongIn journal file, can check one by one whether corresponding other test items of each device are tested successfully: if related toAnd all test item successes of all test items of this device, get rid of so this device failure; Then continue to check and loseWhether lose other device place test items in test item tests successfully; Thereby dwindle fault coverage, reach quickThe object of location fault, has improved production test efficiency.
Fig. 8 is the composition structural representation of the single-board testing device of the embodiment of the present invention one, as shown in Figure 8,The single-board testing device of this example comprises: acquiring unit 80, the first resolution unit 81, set up unit 82,Receiving element 83, the second resolution unit 84, determining unit 85, test execution unit 86 and transmitting element 87,Wherein:
Acquiring unit 80, for obtaining command code and cell configuration file from master control;
The first resolution unit 81, the acquisition device information for resolving described cell configuration file;
Set up unit 82, be used to each command code to set up the single linked list of corresponding device;
Receiving element 83, the test post sending for receiving described master control;
The second resolution unit 84 for resolving described test post, is obtained and is worked as before measurement from described test postAn examination corresponding command code;
Determining unit 85, for determining device that described current test item is corresponding according to obtained command codeSingle linked list;
Test execution unit 86, according to the single linked list print device of device corresponding to described current test item, andEach device in the single linked list of device corresponding to described current test item is carried out to corresponding test, record testResult;
Transmitting element 87, for sending described test result to described master control.
In the embodiment of the present invention, described command code and described cell configuration file corresponding record are in excel fileIn, all devices that each test item of equipment under test comprises described in described excel file record.
In the embodiment of the present invention, described test item is the command code representing by hexadecimal number; Different testsItem has different command codes;
Described test result comprises the test record of each device that test item is corresponding.
In the embodiment of the present invention, described device is the components and parts in described equipment under test; Described device information bagDraw together the information of components and parts numbering, components and parts title, basic packing forms, components and parts nominal value.
Single-board testing device shown in Fig. 8 is applicable in equipment under test etc.
It will be appreciated by those skilled in the art that each processing unit in the single-board testing device of the embodiment of the present inventionFunction, can understand with reference to the associated description of the single-board testing method of previous embodiment, the embodiment of the present inventionEach processing unit in single-board testing device, can be by realizing the analog circuit of the function described in the embodiment of the present inventionAnd realize, also can the operation on smart machine by the software of the function described in the execution embodiment of the present inventionAnd realize.
Fig. 9 is the composition structural representation of the single-board testing device of the embodiment of the present invention two, as shown in Figure 9,The single-board testing device of this example comprises: detecting unit 90, the first transmitting element 91, the first receiving element92, resolution unit 93, the second transmitting element 94 and the second receiving element 95, wherein:
Detecting unit 90, for detection of whether powering on, triggers described the first transmitting element after powering on;
The first transmitting element 91, for sending command code and cell configuration file to equipment under test, makes described quiltMeasurement equipment is set up the corresponding relation of the single linked list of command code and device;
The first receiving element 92, for receiving test profile;
Resolution unit 93 for resolving described test profile, and obtains from the test profile of resolvingGet the test post that a test item is corresponding;
The second transmitting element 94, for sending described test post to equipment under test;
The second receiving element 95, the test result sending for receiving described equipment under test, and record described surveyTest result.
On the basis of the single-board testing device shown in Fig. 9, described device also comprises: determining unit (Fig. 9Not shown), for receiving at described the second receiving element 95 after the test result of described equipment under test transmission,Determine in described test profile whether also have other test items, trigger described the second transmitting element if having94 obtain test post corresponding to a test item in described other test items, and by described other test itemsTest post sends to equipment under test;
Accordingly, described the second receiving element 95 also receives the test result that described equipment under test sends, and noteRecord described test result.
In the embodiment of the present invention, described device is the components and parts in described equipment under test; Described device information bagDraw together the information of components and parts numbering, components and parts title, basic packing forms, components and parts nominal value.
In the embodiment of the present invention, described device is the components and parts in described equipment under test; Described device information bagDraw together the information of components and parts numbering, components and parts title, basic packing forms, components and parts nominal value.
Single-board testing device shown in Fig. 9 is applicable in environment master control etc.
It will be appreciated by those skilled in the art that each processing unit in the single-board testing device of the embodiment of the present inventionFunction, can understand with reference to the associated description of the single-board testing method of previous embodiment, the embodiment of the present inventionEach processing unit in single-board testing device, can be by realizing the analog circuit of the function described in the embodiment of the present inventionAnd realize, also can the operation on smart machine by the software of the function described in the execution embodiment of the present inventionAnd realize.
In several embodiment provided by the present invention, should be understood that, disclosed method and smart machine,Can realize by another way. Apparatus embodiments described above is only schematically, for example,The division of described unit, is only that a kind of logic function is divided, and when actual realization, can have other division sideFormula, as: multiple unit or assembly can be in conjunction with, maybe can be integrated into another system, or some features canTo ignore, or do not carry out. In addition, coupling each other of shown or discussed each part or straightConnecing coupling or communicate to connect can be by some interfaces, the INDIRECT COUPLING of equipment or unit or communication connection,Can be electrical, machinery or other form.
The above-mentioned unit as separating component explanation can or can not be also physically to separate, asThe parts that unit shows can be or can not be also physical locations, can be positioned at a place, also canTo be distributed on multiple NEs; Can select according to the actual needs part or all of unit whereinRealize the object of the present embodiment scheme.
In addition, the each functional unit in various embodiments of the present invention can all be integrated in a processing unit,Also can be that each unit is distinguished separately as a unit, also can be integrated in one in two or more unitIn individual unit; Above-mentioned integrated unit both can adopt the form of hardware to realize, and also can adopt hardware to add softThe form of part functional unit realizes.
One of ordinary skill in the art will appreciate that: all or part of step that realizes said method embodiment canTo complete by the relevant hardware of programmed instruction, aforesaid program can be stored in an embodied on computer readable and depositIn storage media, this program, in the time carrying out, is carried out the step that comprises said method embodiment; And aforesaid storageMedium comprises: movable storage device, read-only storage (ROM, Read-OnlyMemory), deposit at randomAccess to memory (RAM, RandomAccessMemory), magnetic disc or CD etc. are various can store journeyThe medium of order code.
Or, if the above-mentioned integrated unit of the embodiment of the present invention is realized and does with the form of software function moduleFor production marketing independently or while using, also can be stored in a computer read/write memory medium. BaseIn such understanding, the technical scheme of the embodiment of the present invention contributes to prior art in essence in other wordsPart can embody with the form of software product, and this computer software product is stored in a storage mediumIn, comprise some instructions in order to make a computer equipment (can be personal computer, server orPerson's network equipment etc.) carry out all or part of of method described in the present invention each embodiment. And aforesaid storageMedium comprises: movable storage device, read-only storage (ROM, Read-OnlyMemory), deposit at randomAccess to memory (RAM, RandomAccessMemory), magnetic disc or CD etc. are various can store journeyThe medium of order code.
The above be only the specific embodiment of the present invention, but protection scope of the present invention is not limited toThis, any be familiar with those skilled in the art the present invention disclose technical scope in, can expect easilyChange or replace, within all should being encompassed in protection scope of the present invention.

Claims (14)

1. a single-board testing method, is characterized in that, described method comprises:
Equipment under test obtains command code and cell configuration file from master control, resolves described cell configuration file and obtainsGet device information, for each command code is set up the single linked list of corresponding device;
Described equipment under test receives after the test post of described master control transmission, resolves described test post, fromIn described test post, obtain the command code that current test item is corresponding, and determine institute according to obtained command codeState the single linked list of the device that current test item is corresponding, according to the single linked list of device corresponding to described current test itemPrint device, and each device in the single linked list of device corresponding to described current test item is carried out to corresponding surveyExamination, logging test results also sends described test result to described master control.
2. method according to claim 1, is characterized in that, described command code and described cell configurationFile corresponding record in excel file, each test item of equipment under test described in described excel file recordThe all devices that comprise.
3. method according to claim 1 and 2, is characterized in that, described test item is for entering with 16The command code that number processed represents; Different test items has different command codes;
Described test result comprises the test record of each device that test item is corresponding.
4. method according to claim 3, is characterized in that, described device is in described equipment under testComponents and parts; Described device information comprises components and parts numbering, components and parts title, basic packing forms, first deviceThe information of part nominal value.
5. a single-board testing method, is characterized in that, described method comprises:
After master control powers on, send command code and cell configuration file to equipment under test, described equipment under test is builtThe corresponding relation of the single linked list of vertical command code and device;
Described master control receives test profile and resolves described test profile, and from resolve testIn configuration file, obtain the test post that a test item is corresponding, described test post is sent to equipment under test;
Described master control receives the test result that described equipment under test sends, and records described test result.
6. method according to claim 5, is characterized in that, described master control receives described tested establishingAfter the test result that preparation is sent, described method also comprises:
Described master control determines in described test profile whether also have other test items, described in obtaining if havingTest post corresponding to a test item in other test items, and by the test post in described other test items toEquipment under test sends; Receive the test result that described equipment under test sends, and record described test result.
7. according to the method described in claim 5 or 6, it is characterized in that, described test item is for entering with 16The command code that number processed represents; Different test items has different command codes;
Described test result comprises the test record of each device that test item is corresponding.
8. method according to claim 7, is characterized in that, described device is in described equipment under testComponents and parts; Described device information comprises components and parts numbering, components and parts title, basic packing forms, first deviceThe information of part nominal value.
9. a single-board testing device, is characterized in that, described device comprises: acquiring unit, first is resolvedUnit, set up unit, receiving element, the second resolution unit, determining unit, test execution unit and transmissionUnit, wherein:
Acquiring unit, for obtaining command code and cell configuration file from master control;
The first resolution unit, the acquisition device information for resolving described cell configuration file;
Set up unit, be used to each command code to set up the single linked list of corresponding device;
Receiving element, the test post sending for receiving described master control;
The second resolution unit for resolving described test post, is obtained current test from described test postThe command code that item is corresponding;
Determining unit, for determining the list of the device that described current test item is corresponding according to obtained command codeChained list;
Test execution unit, according to the single linked list print device of device corresponding to described current test item, and rightIn the single linked list of the device that described current test item is corresponding, each device is carried out corresponding test, record test knotReally;
Transmitting element, for sending described test result to described master control.
10. device according to claim 9, is characterized in that, described command code and described device are joinedPut file corresponding record in excel file, each test of equipment under test described in described excel file recordAll devices that item comprises.
11. according to the device described in claim 9 or 10, it is characterized in that, described device is described testedComponents and parts in equipment; Described device information comprise components and parts numbering, components and parts title, basic packing forms,The information of components and parts nominal value.
12. 1 kinds of single-board testing devices, is characterized in that, described device comprises that detecting unit, first sendsUnit, the first receiving element, resolution unit, the second transmitting element and the second receiving element, wherein:
Detecting unit, for detection of whether powering on, triggers described the first transmitting element after powering on;
The first transmitting element, for sending command code and cell configuration file to equipment under test, makes described testedEquipment is set up the corresponding relation of the single linked list of command code and device;
The first receiving element, for receiving test profile;
Resolution unit for resolving described test profile, and is obtained from the test profile of resolvingThe test post that one test item is corresponding;
The second transmitting element, for sending described test post to equipment under test;
The second receiving element, the test result sending for receiving described equipment under test, and record described testResult.
13. devices according to claim 12, is characterized in that, described device also comprises: determine singleUnit, for receiving at described the second receiving element after the test result of described equipment under test transmission, determines instituteState in test profile whether also have other test items, trigger described the second transmitting element if having and obtain instituteState test post corresponding to a test item in other test items, and by the test post in described other test itemsSend to equipment under test;
Accordingly, described the second receiving element also receives the test result that described equipment under test sends, and recordDescribed test result.
14. according to the device described in claim 12 or 13, it is characterized in that, described device is described quiltComponents and parts in measurement equipment; Described device information comprises components and parts numbering, components and parts title, substantially encapsulates shapeThe information of formula, components and parts nominal value.
CN201410568798.XA 2014-10-22 2014-10-22 Single board testing method and device Active CN105588989B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201410568798.XA CN105588989B (en) 2014-10-22 2014-10-22 Single board testing method and device
PCT/CN2015/071488 WO2016061936A1 (en) 2014-10-22 2015-01-23 Single-board test method and device, storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201410568798.XA CN105588989B (en) 2014-10-22 2014-10-22 Single board testing method and device

Publications (2)

Publication Number Publication Date
CN105588989A true CN105588989A (en) 2016-05-18
CN105588989B CN105588989B (en) 2020-02-07

Family

ID=55760128

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201410568798.XA Active CN105588989B (en) 2014-10-22 2014-10-22 Single board testing method and device

Country Status (2)

Country Link
CN (1) CN105588989B (en)
WO (1) WO2016061936A1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399121A (en) * 2017-02-06 2018-08-14 中兴通讯股份有限公司 A kind of test method and device based on script

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108259086B (en) * 2016-12-29 2022-09-30 中兴通讯股份有限公司 Online monitoring method, device and system
CN111104309B (en) * 2019-11-15 2023-09-29 北京航天长征飞行器研究所 Method for quickly realizing comprehensive test flow
CN113064059B (en) * 2021-05-10 2021-08-10 北京全路通信信号研究设计院集团有限公司 Single board automatic test system and method
CN115037665B (en) * 2022-06-06 2023-10-03 北京达佳互联信息技术有限公司 Equipment testing method and device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407756A (en) * 2001-09-10 2003-04-02 深圳市中兴通讯股份有限公司上海第二研究所 Interface test method
US20040068699A1 (en) * 2002-10-02 2004-04-08 Teseda Corporation Single board DFT integrated circuit tester
CN102141941A (en) * 2010-02-02 2011-08-03 中兴通讯股份有限公司 Method for diagnosing faults of single boards in base station

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1124746C (en) * 1999-09-11 2003-10-15 华为技术有限公司 Single board festing method and device
CN100563131C (en) * 2003-05-29 2009-11-25 华为技术有限公司 A kind of detection method of single board default and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1407756A (en) * 2001-09-10 2003-04-02 深圳市中兴通讯股份有限公司上海第二研究所 Interface test method
US20040068699A1 (en) * 2002-10-02 2004-04-08 Teseda Corporation Single board DFT integrated circuit tester
CN102141941A (en) * 2010-02-02 2011-08-03 中兴通讯股份有限公司 Method for diagnosing faults of single boards in base station

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108399121A (en) * 2017-02-06 2018-08-14 中兴通讯股份有限公司 A kind of test method and device based on script

Also Published As

Publication number Publication date
CN105588989B (en) 2020-02-07
WO2016061936A1 (en) 2016-04-28

Similar Documents

Publication Publication Date Title
CN105588989A (en) Testing method and apparatus for single board
CN109361562B (en) Automatic testing method based on associated network equipment access
CN107577545B (en) Method and device for detecting and repairing fault disk
CN107329890A (en) Test method and device based on Mock and server
CN109614290A (en) Process exception information recording method and system in container
CN108092854B (en) Test method and device for train-level Ethernet equipment based on IEC61375 protocol
CN103902458A (en) Universal storage software test design method
CN106100913A (en) Error message alignment system and method
CN112737886A (en) Tool testing method and system
CN109327337A (en) Fault information reporting method, device, terminal device and computer storage medium
CN116107893A (en) Heterogeneous platform embedded software test verification system and method
CN105117316A (en) Automatic check and maintenance method and system for server
CN112561093A (en) Inspection method, equipment, storage medium and device for micro-service management platform
CN104122494A (en) A test system and method capable of automatically generating test scripts
CN105159806A (en) Terminal compatibility test system and operating method therefor
CN107465915A (en) Fault detection device and system
CN116132268A (en) Control method and system for managing multiple nodes based on CANopen master station
CN101800672A (en) Equipment detection method and equipment
CN112867024B (en) Test method, system and communication equipment
CN105591722A (en) Inter-board communication method and device
CN104754620B (en) Mobile communication module detection device and method
CN111064279A (en) Power failure event reporting test system and method
CN112463572A (en) Cross-border multi-service dial testing software testing system and method thereof
CN114006822B (en) Method and device for judging link between switch and server
CN113538725A (en) Hardware product testing method and related equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant