CN101257414B - Method and apparatus for testing module - Google Patents

Method and apparatus for testing module Download PDF

Info

Publication number
CN101257414B
CN101257414B CN2008100077027A CN200810007702A CN101257414B CN 101257414 B CN101257414 B CN 101257414B CN 2008100077027 A CN2008100077027 A CN 2008100077027A CN 200810007702 A CN200810007702 A CN 200810007702A CN 101257414 B CN101257414 B CN 101257414B
Authority
CN
China
Prior art keywords
module
interface
interfaces
data
business
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Expired - Fee Related
Application number
CN2008100077027A
Other languages
Chinese (zh)
Other versions
CN101257414A (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.)
Fujian Star Net Communication Co Ltd
Original Assignee
Fujian Star Net Communication 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 Fujian Star Net Communication Co Ltd filed Critical Fujian Star Net Communication Co Ltd
Priority to CN2008100077027A priority Critical patent/CN101257414B/en
Publication of CN101257414A publication Critical patent/CN101257414A/en
Application granted granted Critical
Publication of CN101257414B publication Critical patent/CN101257414B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Test And Diagnosis Of Digital Computers (AREA)

Abstract

A method for testing module is disclosed in the invention to achieve the testing of the module and save testing cost. The method comprises: connecting two intraclass interfaces of the module to be tested; transmitting data through one module of the two interfaces respectively by the module to be tested; receiving data through the other module of the two interfaces by the module to be tested and judging whether the received data is the same as the transmitted data, if yes, determining that the two module interfaces are normal, otherwise, at least one of the two module interfaces is abnormal. The invention further discloses a device for carrying out the method.

Description

A kind of method of test module and device
Technical field
The present invention relates to electronic technology field, particularly relate to the method and the device of test module.
Background technology
In the prior art, module is meant the performance difference but has interface, the dimensional standardization of the device of certain common ground on function or the purposes that these devices just are referred to as module.Switch as shown in Figure 1, numeral 1-10 indicates 10 slots, wherein on 1,3,5,7,9 slots, all inserted module, and on other slot, do not have module to exist, on these idle slots, the user can choose suitable module according to demand, and the advantage of modularized equipment also is herein, have greater flexibility and expandability, can adapt to multiple demand.
Module according to the function of its realization, generally is divided into administration module and business module.An administration module of the minimum needs of complete modular switch and a business module.But after the expansion, as inserting 2 administration modules and 8 business modules.Be to communicate between the module by the backboard in the cabinet.Wherein, other all groove positions all have signal to link to each other in administration module and the cabinet, must stick with all slots in roasting machine test if think all to measure these interfaces, as stick with 8 business modules and 2 administration modules.The client often can not buy complete all modules when buying, just can work normally because an administration module adds the lastblock business module yet in actual use.If only in cabinet, test, will certainly cause a lot of signal test leakages with these two modules.If the client has bought other module upgrade systems in the future, perhaps module to be changed a slot and use, the problem of communication failure then may appear.But, then can greatly increase cost if get all business modules ready and administration module is tested.
Summary of the invention
The embodiment of the invention provides a kind of method and device of test module, is used to realize the test to module, and saves testing cost.
A kind of method of test module may further comprise the steps:
Two of tested module similar module interfaces are connected; Described tested module is two business modules, and described two module interfaces are the high speed interface that belongs to described two business modules; Perhaps, described tested module is an administration module, and described two module interfaces are the high speed interface that belongs to two passages; Wherein, a passage is a pack module interface, and described two passages are positioned on the described administration module;
Tested module sends data by a module interface in described two module interfaces respectively;
Tested module receives data by another module interface in described two module interfaces, and judge whether the data that receive are identical with the data that send, if determine that then described two module interfaces are working properly, otherwise determine to have an operation irregularity at least in described two module interfaces.
A kind of backboard that is used for the test and management module comprises:
Slot is used to connect tested administration module, and the module interfaces that two of tested administration module are similar connect, and two similar module interfaces of described tested administration module are arranged in same slot.
A kind of management testing module that is used for the test service module comprises:
At least two passages; A passage is a pack module interface, and the corresponding business module of passage;
At least one high speed interface is arranged in each passage, and the output of the high speed interface of a passage is connected directly with the input of the high speed interface of another passage; So that the high speed interface by a passage receives the data of predesignating that a business module in two tested business modules sends, and the high speed interface that passes through another passage sends data to another tested business module, make another business module judge whether the data that receive are identical with the data of predesignating, if, two high speed interfaces then determining described two business modules are working properly, otherwise have an operation irregularity at least in two high speed interfaces of definite described two business modules.
The embodiment of the invention connects by the same class interface with tested module, and making does not need the participation of another kind of module when a kind of module of test, and the total interface of test module has been saved testing cost and improved testing efficiency simultaneously.
Description of drawings
Fig. 1 is the schematic diagram of switch in the prior art;
Fig. 2 is the method flow diagram of test module in the embodiment of the invention;
Fig. 3 is the schematic diagram of the CPLD interface of low speed in the embodiment of the invention;
Fig. 4 is the contrast schematic diagram of the management information interface of the prior art and the embodiment of the invention;
Fig. 5 is the contrast schematic diagram of the backboard of the prior art and the embodiment of the invention;
Fig. 6 is the contrast schematic diagram of the management testing module of the prior art and the embodiment of the invention.
Embodiment
The embodiment of the invention by changing module interface annexation and to the checking of data, realize test to module.
Module in the embodiment of the invention and backboard comprise three generic module interfaces, and the first kind is that (Complex Programmable Logic Device, CPLD) interface are mainly used in the existence of determination module for the CPLD of low speed; Second class is the management information interface, normally 100,000,000 or the interface of gigabit Ethernet, be mainly used in transmit management information; The 3rd class is a high speed interface, is mainly used in transfer of data, and transmission speed is usually more than 10G/s.There are the first kind and the second generic module interface between administration module and the administration module, all there are above-mentioned three generic module interfaces between administration module and each business module, design according to slot or administration module, an administration module comprises the above-mentioned three generic module interfaces of many groups, present embodiment is called a passage with a pack module interface, a corresponding business module of passage or an administration module.
Referring to Fig. 2, the main flow process of the method for test module is as follows in the present embodiment:
Step 201: two of tested module similar module interfaces are connected.
Step 202: tested module sends data by a module interface in described two module interfaces respectively.
Step 203: tested module receives data by another module interface in described two module interfaces, and judges whether the data that receive are identical with the data that send, if then continue step 204, otherwise continue step 205.
Step 204: determine that described two module interfaces are working properly.
Step 205: determine to have an operation irregularity at least in described two module interfaces.
Module comprises administration module and business module, and is slightly different at the method for testing of administration module and business module, describes in detail respectively below.
At first introduce the method for testing of administration module, especially about the method for testing of three generic module interfaces.
The CPLD interface of first kind low speed is a kind of one-way interfaces, it comprises the signaling interface on the throne that is used to export the reset signal interface of reset signal and is used to import signal on the throne, referring to connection diagram shown in Figure 3, dotted line is represented the annexation of prior art, and solid line is represented the annexation of present embodiment.In the prior art, send signal on the throne with the notice administration module by signaling interface on the throne at once when business module inserts slot, administration module returns reset signal by the reset signal interface to business module then.Present embodiment, is connected the reset signal interface in the passage when the test and management module in order to save business module with signaling interface on the throne, send data (these data are specially reset signal) from the reset signal interface, receives data from signaling interface on the throne.Processing unit in the administration module compares the data that send and receive, if the data that send are identical with the data that receive, determine that then reset signal interface and signaling interface on the throne are all working properly, otherwise determine to have an operation irregularity at least in reset signal interface and the signaling interface on the throne.A plurality of passages in the administration module can carry out the test about the CPLD interface of low speed simultaneously, and processing unit can carry out data respectively relatively by interface identifier or gap marker, so that realize the test of CPLD interface of the low speed of a plurality of passages simultaneously.The quantity of the CPLD interface of low speed is not limited to a reset signal interface and a signaling interface on the throne, the CPLD output interface of a plurality of low speed and the CPLD input interface of a plurality of low speed can be arranged in the passage, and the quantity of input interface and output interface can not be 1 to 1, and Fig. 3 is not shown.Can send data from output interface, receive data, finish the test of a plurality of interfaces simultaneously by a plurality of input interfaces, but a plurality of input interfaces are divided although, then formed test about two module interfaces.
The second class management information interface is a kind of bidirectional interface, and it specifically comprises two management information interfaces, an input that is used for data (these data are specially management information), and an output that is used for management information is referring to connection diagram shown in Figure 4.In the prior art, administration module sends management information by a management information interface to business module, and business module returns management information by another management information interface to administration module.Present embodiment is in order to save business module, when the test and management module, the interface that is used for outgoing management information in the passage is connected with the interface that another passage is used for importing management information, equally, the interface that is used for outgoing management information in another passage is connected with the interface that a described passage is used for importing management information, two passages form a test group, are convenient to test and management and planning.Certainly, annexation is not limited thereto, and is connected etc. with the interface that the 3rd passage is used for importing management information as the interface that will be used for outgoing management information in another passage.Administration module sends data by the management information interface of a passage, receive data from the management information interface of another passage, judge by the processing unit of inside whether the data that send with receiving are consistent, if it is consistent, determine that then these two management information interfaces are working properly, otherwise determine wherein to have at least an operation irregularity.Administration module can send data by a plurality of passages simultaneously, realizes the test to all the management information interfaces in all passages synchronously.
The 3rd class is that high speed interface also is a kind of bidirectional interface, it specifically comprises two high speed interfaces, an input that is used for data (these data are specially business datum), an output that is used for data, concrete structure and annexation can be referring to shown in Figure 4, with the management information interface class seemingly.Method of testing about high speed interface can be referring to the test to the management information interface, and procedure is similar, does not repeat them here.
Because the management information interface is 100,000,000 or the interface of gigabit, high speed interface is the above interface of 10G/s, if two management information interfaces or two high speed interfaces of a passage are connected, then the quality to transfer of data has a significant impact, be difficult to reach the purpose of test, so present embodiment is with the management information interface or the high speed interface connection of two passages.
As long as determine that administration module operation irregularity occurs and just can determine to keep in repair, can not participate in practical application, for specifically can when keeping in repair, determining unusually of administration module.
In order to realize administration module tested with the connection of class interface, present embodiment provides a kind of backboard, this backboard comprises slot, this slot is used to connect tested administration module, and with two of tested administration module similar module interfaces connections, so that the processing unit in the tested administration module sends data by a module interface in described two module interfaces respectively, and by another module interface reception data in described two module interfaces, and judge whether the data that receive are identical with the data that send, if, determine that then described two module interfaces are working properly, otherwise determine to have an operation irregularity at least in described two module interfaces.All slots on this backboard can be the slots in the present embodiment, so that simultaneously a plurality of administration modules are tested, its structure can be referring to schematic diagram shown in Figure 5.
Introduce the method for testing of business module below, especially about the method for testing of three generic module interfaces.
Test to the CPLD interface of low speed: after business module inserted backboard, automatically trigger business module and send signal on the throne by signaling interface on the throne, if business module can receive reset signal by the reset signal interface, signaling interface on the throne and the reset signal interface of then determining business module are all working properly, otherwise determine to have an operation irregularity at least in signaling interface on the throne and the reset signal interface.
Test to the management information interface: send management information to business module by administration module, especially send test instruction, if administration module can be received the test result of business module, two management information interfaces then determining business module are all working properly, otherwise are determined to a rare operation irregularity.Perhaps, send management information by administration module to business module, especially send test instruction, business module returns test result to administration module, if business module can be received the response of administration module to test result, two management information interfaces then determining business module are all working properly, otherwise are determined to a rare operation irregularity.
Test to high speed interface: business module 1 sends the data of predesignating according to test instruction to business module 2; Business module 2 judges whether the data that receive are the data of predesignating, if, it is working properly to determine that then business module 1 is used for the high speed interface that is used for the data input of the high speed interface of data output and business module 2 self, otherwise determines that these two high speed interfaces have an operation irregularity at least.Business module 1 and business module 2 can send the data of predesignating according to test instruction to the other side simultaneously, and judge whether the data that receive are identical with the data that send, and can realize the test to two business modules so synchronously.If on the backboard a plurality of slots are arranged, per two business modules can be divided into a test group, carry out the test of many group business modules synchronously.Determined to have an operation irregularity in two business modules at least this moment, can adopt in two business modules of business module replacement working properly, repeat above-mentioned test process, just can navigate to which business module operation irregularity, determine that this business module can not enter practical application, needs repairing.
In order to realize business module tested with the connection of class interface, especially the connection of high speed interface, present embodiment provides a kind of management testing module, this management testing module has kept the CPLD interface and the management information interface of low speed, and make these interface normal working chip, therefore constant to the method for testing of the CPLD interface of the low speed of business module and management information interface.But the switching matrix (being a kind of of exchange chip) and the peripheral related device thereof that connect high-speed data channel in the existing administration module have been cancelled, the high speed interface of two business modules is directly connected in the management testing module, the high speed interface that being used to of the high speed interface that is used for dateout that is about to business module 1 and business module 2 imported data is connected, the high speed interface that is used to import data of the high speed interface that is used for dateout of business module 2 and business module 1 is connected, referring to connection diagram shown in Figure 6.Certainly, annexation is not limited thereto, be connected as the high speed interface that is used to import data, the high speed interface that is used to import data of the high speed interface that is used for dateout of business module 2 and business module 3 is connected the high speed interface that is used for dateout of business module 1 and business module 2.Connection through above-mentioned high speed interface, the management testing module comprises two passages at least, each passage comprises a high speed interface at least, the business module that its high speed interface that can pass through the passage of self receives in two tested business modules sends in advance with regard to predetermined data, and the high speed interface that passes through another passage sends data to another tested business module, make another business module judge whether the data that receive are identical with the data of predesignating, if, two high speed interfaces then determining described two business modules are working properly, otherwise have an operation irregularity at least in two high speed interfaces of definite described two business modules.
The embodiment of the invention connects by the same class interface with tested module, make and when the test and management module, do not need the participation of business module, save testing cost and improved testing efficiency, and the embodiment of the invention has realized the synchronism detection of a plurality of administration modules, makes testing efficiency further improve.And, when the test service module, do not need the participation of existing administration module, adopt the management testing module of simplifying, make testing cost reduce.Simultaneously, the embodiment of the invention is separated the test process of administration module and business module, avoids it to interact.The examples comparative of the test data that provides by following table can more be known the beneficial effect of the embodiment of the invention.
Table 1, the administration module test data table of comparisons
Figure GDA0000047529500000071
Adopt the embodiment of the invention bake machine to 10 administration modules simultaneously and test, thus with respect to the testing time of each administration module be 0.8 hour.
Obviously, those skilled in the art can carry out various changes and modification to the present invention and not break away from the spirit and scope of the present invention.Like this, if of the present invention these are revised and modification belongs within the scope of claim of the present invention and equivalent technologies thereof, then the present invention also is intended to comprise these changes and modification interior.

Claims (2)

1. the method for a test module is characterized in that, may further comprise the steps:
Two of tested module similar module interfaces are connected; Described tested module is two business modules, and described two module interfaces are the high speed interface that belongs to described two business modules; Perhaps, described tested module is an administration module, and described two module interfaces are the high speed interface that belongs to two passages; Wherein, a passage is a pack module interface, and described two passages are positioned on the described administration module;
Tested module sends data by a module interface in described two module interfaces respectively;
Tested module receives data by another module interface in described two module interfaces, and judge whether the data that receive are identical with the data that send, if determine that then described two module interfaces are working properly, otherwise determine to have an operation irregularity at least in described two module interfaces.
2. a management testing module that is used for the test service module is characterized in that, comprising:
At least two passages; A passage is a pack module interface, and the corresponding business module of passage;
At least one high speed interface is arranged in each passage, and the output of the high speed interface of a passage is connected directly with the input of the high speed interface of another passage; So that the high speed interface by a passage receives the data of predesignating that a business module in two tested business modules sends, and the high speed interface that passes through another passage sends data to another tested business module, make another business module judge whether the data that receive are identical with the data of predesignating, if, two high speed interfaces then determining described two business modules are working properly, otherwise have an operation irregularity at least in two high speed interfaces of definite described two business modules.
CN2008100077027A 2008-02-29 2008-02-29 Method and apparatus for testing module Expired - Fee Related CN101257414B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2008100077027A CN101257414B (en) 2008-02-29 2008-02-29 Method and apparatus for testing module

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2008100077027A CN101257414B (en) 2008-02-29 2008-02-29 Method and apparatus for testing module

Publications (2)

Publication Number Publication Date
CN101257414A CN101257414A (en) 2008-09-03
CN101257414B true CN101257414B (en) 2011-09-14

Family

ID=39891904

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2008100077027A Expired - Fee Related CN101257414B (en) 2008-02-29 2008-02-29 Method and apparatus for testing module

Country Status (1)

Country Link
CN (1) CN101257414B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102307118B (en) * 2011-08-10 2014-03-12 福建星网锐捷网络有限公司 Back plate test method, apparatus thereof and system thereof

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1398123A (en) * 2001-07-18 2003-02-19 华为技术有限公司 System for testing functions of broad-band switch device
CN101068369A (en) * 2007-06-01 2007-11-07 华为技术有限公司 Test back plate and single plate testing method
CN101127650A (en) * 2007-09-29 2008-02-20 中兴通讯股份有限公司 A method and testing backboard for single board production test

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1398123A (en) * 2001-07-18 2003-02-19 华为技术有限公司 System for testing functions of broad-band switch device
CN101068369A (en) * 2007-06-01 2007-11-07 华为技术有限公司 Test back plate and single plate testing method
CN101127650A (en) * 2007-09-29 2008-02-20 中兴通讯股份有限公司 A method and testing backboard for single board production test

Also Published As

Publication number Publication date
CN101257414A (en) 2008-09-03

Similar Documents

Publication Publication Date Title
CN103684580B (en) The method of Remote Radio Unit and reporting links fault thereof, wireless communication system
CN101651569A (en) Method and device for testing performance of Ethernet port
CN1809176B (en) Digital distribution frame based alignment method and its apparatus
CN104348673A (en) Debugging and testing method, main control board and business boards
CN2891495Y (en) Communication network for launch vehicle measurement, launching, and control system
CN111314180A (en) Ethernet link test method, terminal and storage medium
CN102143014A (en) Single board failure detection method, single board and router
CN208424359U (en) A kind of high-speed optical module multichannel automation debugging test macro
CN105094037A (en) Expansion module for programmable logic controller using usb communication
CN101257414B (en) Method and apparatus for testing module
CN102665237B (en) Simulative Ir interface protocol conformance testing device and interoperability testing method
CN105553865B (en) A kind of FC exchanger chips credit management test method
CN111224849B (en) System and method for carrying out protocol consistency test on intelligent electric energy meter management core
CN103001808A (en) Switch for detecting port faults and achieving method
CN100379187C (en) Method for detecting connection mode of devices with multiple frames
CN101217523B (en) A serial communication signal repairing device and the corresponding method
CN100426722C (en) Concatenation system
CN109633414B (en) Backboard testing device and method based on ATCA (advanced telecom computing architecture)
CN101707589A (en) Automatic port switching method and device for multiport network card
CN205318374U (en) Redundant circuit of RS -232 serial ports
CN201450513U (en) Network port detection device
CN101136807B (en) Port VLAN based switching chip port detecting method
CN105471752B (en) Equipment, the method and system of rack stacking are realized based on switching network
CN220272901U (en) Equipment based on 485-CANFD communication port extension
CN100450020C (en) Method and device for inverting mode match verifying of protected field both extremities protecting group

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

Granted publication date: 20110914

Termination date: 20140229