CN101136806A - Label VLAN based switching chip port detecting method and apparatus - Google Patents

Label VLAN based switching chip port detecting method and apparatus Download PDF

Info

Publication number
CN101136806A
CN101136806A CNA2007101227718A CN200710122771A CN101136806A CN 101136806 A CN101136806 A CN 101136806A CN A2007101227718 A CNA2007101227718 A CN A2007101227718A CN 200710122771 A CN200710122771 A CN 200710122771A CN 101136806 A CN101136806 A CN 101136806A
Authority
CN
China
Prior art keywords
port
subcard
label
under test
packet
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
CNA2007101227718A
Other languages
Chinese (zh)
Other versions
CN101136806B (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 CN2007101227718A priority Critical patent/CN101136806B/en
Publication of CN101136806A publication Critical patent/CN101136806A/en
Application granted granted Critical
Publication of CN101136806B publication Critical patent/CN101136806B/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)
  • Small-Scale Networks (AREA)

Abstract

The method includes steps: S102, connecting ports of signaling flow sub card (SFSC) and media flow sub card (MFSC) in board to be tested to backboard; S104, making loop for each port of SFSC and each port of MFSC; S106, through port located between SFSC and CPU and port located between MFSC and CPU, CPU sends out data packets (DP) as well as receives DP from the port, which sends out DP; S108, carrying out comparison between number of DP sent from the port, which sends out DP, and number of received DP of containing same port label; if the sent number is identical to received number, then the method determines that port of board to be determined works normally; otherwise, there is fault in the port of board to be determined. Implementing fault detection for quick switching chip in high efficiency and low cost, the invention can detect fault port in a switching chip precisely. The invention is suitable to fault detection for batch product of a switching chip especially.

Description

Switching chip port detecting method and device based on label VLAN
Technical field
The present invention relates to the communications field, and especially, relate to a kind of switching chip port detecting method and device based on label VLAN.
Background technology
Usually, after veneer processed, the reason of exchange chip device or hardware can cause the some or all of switching port of chip to lose efficacy.Therefore, at early detection these defective veneer or subcards of single-board testing, it is necessary avoiding the problem veneer to produce the problem that is difficult to locate in the later stage.
Along with the high speed development of network service, how the effect that the Ethernet switching chip of integrated plurality of kinds of contents play more and more in network service is important accelerates the development rate of Ethernet switching chip, shortens the cycle of checking, is the subject matter that faces at present.
For the detection of exchange chip, though the tester of traditional employing special use is powerful, cost very costliness, complicated operation, measuring speed is slow, is unfavorable for the product lot quantity test.And can not accurately navigate to the inefficacy port fast based on the method for port vlan.
Therefore, in order to adapt to the test of bulk article, simple, quick and effective detection method is very important.Yet, the present scheme that does not propose to satisfy above-mentioned requirements as yet.
Summary of the invention
Consider the problems referred to above and make the present invention, main purpose of the present invention for this reason is to provide a kind of switching chip port testing mechanism based on label VLAN.
According to embodiments of the invention, provide a kind of switching chip port detecting method based on label VLAN.
This method comprises: step S102 is connected to backboard with the signaling flow subcard of Board Under Test and the port of Media Stream subcard; Step S104 carries out in the port of the port of signaling flow subcard and Media Stream subcard each from ring; Step S106, CPU sends packet by port between signaling flow subcard and the CPU and the port between Media Stream subcard and the CPU, and receives packet at the port that sends packet; And step S108, at the port that sends packet the quantity of data packets of transmission and the quantity that contains same port label data bag of reception are compared respectively, when both are identical, judge that Board Under Test is working properly; Otherwise judge that there is fault in Board Under Test.
Wherein, in step S104, port between signaling flow subcard and the Board Under Test CPU is divided into a VLAN with each port of signaling flow subcard respectively, and the port between Media Stream subcard and the CPU is divided into a VLAN with each port of Media Stream subcard respectively.
At this moment, in step S106, the port of the port of signaling flow subcard and Media Stream subcard is respectively to the additional respectively label separately of the packet that sends, and the return data bag.
When judging that there is fault in Board Under Test, in the packet that receives, press the ports tab counting, will send the unequal label corresponding port of the number of data packets that contains the same port label of number of data packets and reception as non-working port.
In addition, before step S102, further comprise following processing: master control borad is connected to backboard, being sent to Board Under Test from the instruction of external equipment.
According to embodiments of the invention, provide a kind of switching chip port checkout gear based on label VLAN.
This device comprises: ring is provided with module certainly, and each of port that is used for the port of signaling flow subcard of Board Under Test and Media Stream subcard is carried out from ring;
VLAN divides module, be used for the port between signaling flow subcard and the Board Under Test CPU is divided into a VLAN with each port of signaling flow subcard respectively, and the port between Media Stream subcard and the CPU is divided into a VLAN with each port of Media Stream subcard respectively;
The data packet number statistical module, lay respectively at port between signaling flow subcard and the Board Under Test CPU and the port between Media Stream subcard and the CPU, be used for adding up respectively the quantity of data packets that contains the same port label that sends and receive by port between signaling flow subcard and the Board Under Test CPU and the port between Media Stream subcard and the CPU, when the quantity of data packets that sends equal to receive contain the quantity of same port label data bag the time, judge that Board Under Test is working properly; Otherwise judge that there is fault in Board Under Test.
In addition, this device further comprises: label model, be arranged on the port of signaling flow subcard and the port of Media Stream subcard, be used for to the packet that is sent to port additional with each port label one to one; And
The trouble shoot module, when the data packet number statistical module counts judges that there is fault in Board Under Test, in the packet of described reception, press the same port label counting, will send number of data packets and the unequal described label corresponding port of the packet that contains certain ports tab that receives as non-working port.
By technique scheme of the present invention, can realize high efficiency, low cost, the fault detect of exchange chip fast, and, can detect the port that there is fault in exchange chip exactly, be particularly useful for fault detect to batch exchange chip product.
Description of drawings
Fig. 1 is the flow chart based on the switching chip port detecting method of label VLAN according to the inventive method embodiment;
Fig. 2 is the connection diagram according to master control borad, Board Under Test and backboard in the measuring process of the inventive method embodiment;
Fig. 3 is the schematic diagram based on the example of the Board Under Test of the switching chip port detecting method of label VLAN that adopts according to the inventive method embodiment; And
Fig. 4 is the block diagram based on the switching chip port checkout gear of label VLAN according to apparatus of the present invention embodiment.
Embodiment
Method embodiment
In the present embodiment, provide a kind of switching chip port detecting method based on label VLAN.
This method comprises: step S102 is connected to backboard with the signaling flow subcard of Board Under Test and the port of Media Stream subcard; Step S104 carries out in the port of the port of signaling flow subcard and Media Stream subcard each from ring; Step S106, CPU sends packet by port between signaling flow subcard and the CPU and the port between Media Stream subcard and the CPU, and receives packet at the port that sends packet; And step S108, at the port that sends packet the quantity of data packets of transmission and the quantity of data packets that contains the same port label of reception are compared respectively, when both are identical, judge that the Board Under Test port working is normal; Otherwise judge that there is fault in the Board Under Test port.
The schematic diagram that when implementing this method master control borad and Board Under Test are connected to backboard has been shown among Fig. 2.As shown in Figure 2, a backboard has connected a plurality of Board Under Tests and has been used to receive the master control borad that instructs from the measurement of outside, and backboard can be realized the physical connection to the Board Under Test port.
In above-mentioned steps S104, port between signaling flow subcard and the Board Under Test CPU is divided into a VLAN with each port of signaling flow subcard respectively, and the port between Media Stream subcard and the CPU is divided into a VLAN with each port of Media Stream subcard respectively.
Fig. 3 show with according to the method for present embodiment be applied to Board Under Test the time Board Under Test port status.Wherein, Board Under Test is the CCM veneer of CDMA2000 system.
As shown in Figure 3, the VLAN for the signaling flow subcard is set to: the port 0 and 1,0 and 2,0 and 3,0 and 4,0 and 5,0 and 6,0 and 7,0 and 8,0 and 9 of signaling flow subcard is divided into a VLAN respectively; VLAN for the Media Stream subcard is set to: the port 0 and 1,0 and 2,0 and 3,0 and 4,0 and 5,0 and 6,0 and 7,0 and 8 of Media Stream subcard is divided into a VLAN respectively.
At this moment, in step S106, the port of the port of signaling flow subcard and Media Stream subcard is respectively to the additional respectively label separately of the packet that sends, and the return data bag.
When judging that there is fault in Board Under Test, in the packet that receives, press the ports tab counting, with the unequal label corresponding port of the number of data packets that contains the same port label that sends packet and receive as non-working port.
Device embodiment
In the present embodiment, provide a kind of switching chip port checkout gear 400 based on label VLAN.This device can be implemented the method according to the foregoing description.
As shown in Figure 4, comprise according to the switching chip port checkout gear 400 based on label VLAN of present embodiment: ring is provided with module 402 certainly, and each of port that is used for the port of signaling flow subcard of Board Under Test and Media Stream subcard is carried out from ring;
VLAN divides module 404, be used for the port between signaling flow subcard and the Board Under Test CPU is divided into a VLAN with each port of signaling flow subcard respectively, and the port between Media Stream subcard and the CPU is divided into a VLAN with each port of Media Stream subcard respectively;
Data packet number statistical module 406, lay respectively at port between signaling flow subcard and the Board Under Test CPU and the port between Media Stream subcard and the CPU, be used for adding up respectively the quantity of each the ports tab corresponding data bag that sends and receive by port between signaling flow subcard and the Board Under Test CPU and the port between Media Stream subcard and the CPU, during the quantity of each the ports tab corresponding data bag that equals respectively to receive when the quantity of data packets that sends, judge that the Board Under Test all of the port is working properly; Otherwise judge that there is fault in Board Under Test, can navigate to non-working port by the unequal ports tab of number.
In addition, this device may further include: label model, be arranged on the port of signaling flow subcard and the port of Media Stream subcard, be used for to the packet that is sent to port additional with each port label one to one; And
The trouble shoot module, when the data packet number statistical module counts judges that there is fault in Board Under Test, in the packet of described reception, press the same port label counting, will send number of data packets and the unequal described label corresponding port of the packet that contains certain ports tab that receives as non-working port.
In sum, by means of technical scheme of the present invention, can realize high efficiency, low cost, the fault detect of exchange chip fast, and, can detect the port that there is fault in exchange chip exactly, be particularly useful for fault detect batch exchange chip product.
The above is the preferred embodiments of the present invention only, is not limited to the present invention, and for a person skilled in the art, the present invention can have various changes and variation.Within the spirit and principles in the present invention all, any modification of being done, be equal to replacement, improvement etc., all should be included within protection scope of the present invention.

Claims (7)

1. the switching chip port detecting method based on label VLAN is characterized in that,
Comprise:
Step S102 is connected to backboard with the signaling flow subcard of Board Under Test and the port of Media Stream subcard;
Step S104 carries out in the port of the port of described signaling flow subcard and described Media Stream subcard each from ring;
Step S106, described CPU sends packet by port between described signaling flow subcard and the described CPU and the port between described Media Stream subcard and the described CPU, and receives described packet at the described port that sends described packet; And
Step S108, the port at the described packet of described transmission compares the quantity of data packets of described transmission and the quantity of data packets that contains the same port label of described reception respectively, when both are identical, judges that described Board Under Test is working properly; Otherwise judge that there is fault in described Board Under Test.
2. the switching chip port detecting method based on label VLAN according to claim 1, it is characterized in that, in described step S104, port between described signaling flow subcard and the described Board Under Test CPU is divided into a VLAN with each port of described signaling flow subcard respectively, and the port between described Media Stream subcard and the described CPU is divided into a VLAN with each port of described Media Stream subcard respectively.
3. the switching chip port detecting method based on label VLAN according to claim 2, it is characterized in that, in described step S106, the port of the port of described signaling flow subcard and described Media Stream subcard is respectively to the additional respectively ports tab separately of the packet of described transmission, and returns described packet.
4. the switching chip port detecting method based on label VLAN according to claim 3, it is characterized in that, when judging that there is fault in described Board Under Test, in the packet of described reception to containing the packet counting of same port label, with send packet with receive contain the unequal label corresponding port of certain ports tab number of data packets as non-working port.
5. the switching chip port detecting method based on label VLAN according to claim 1, it is characterized in that, before described step S102, further comprise following processing: master control borad is connected to described backboard, will be sent to described Board Under Test from the instruction of external equipment.
6. the switching chip port checkout gear based on label VLAN is characterized in that, comprising:
From ring module is set, each of port that is used for the port of signaling flow subcard of Board Under Test and Media Stream subcard is carried out from ring;
VLAN divides module, be used for the port between described signaling flow subcard and the described Board Under Test CPU is divided into a VLAN with each port of described signaling flow subcard respectively, and the port between described Media Stream subcard and the described CPU is divided into a VLAN with each port of described Media Stream subcard respectively;
The data packet number statistical module, lay respectively at port between described signaling flow subcard and the described Board Under Test CPU and the port between described Media Stream subcard and the described CPU, be used for adding up respectively the quantity of data packets that sends and receive by port between described signaling flow subcard and the described Board Under Test CPU and the port between described Media Stream subcard and the described CPU, when the quantity of data packets of described transmission equal described reception contain the quantity of data packets of same port label the time, judge that described Board Under Test port working is normal; Otherwise judge that there is fault in described Board Under Test port.
7. the switching chip port checkout gear based on label VLAN according to claim 6 is characterized in that, further comprises:
Label model is arranged on the port of described signaling flow subcard and the port of described Media Stream subcard, be used for to the packet that is sent to described port additional with each described port label one to one; And
The trouble shoot module, when described data packet number statistical module counts judges that there is fault in described Board Under Test, in the packet of described reception, press the same port label counting, will send number of data packets and the unequal described label corresponding port of the packet that contains certain ports tab that receives as non-working port.
CN2007101227718A 2007-07-04 2007-07-04 Label VLAN based switching chip port detecting method and apparatus Expired - Fee Related CN101136806B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2007101227718A CN101136806B (en) 2007-07-04 2007-07-04 Label VLAN based switching chip port detecting method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2007101227718A CN101136806B (en) 2007-07-04 2007-07-04 Label VLAN based switching chip port detecting method and apparatus

Publications (2)

Publication Number Publication Date
CN101136806A true CN101136806A (en) 2008-03-05
CN101136806B CN101136806B (en) 2010-08-04

Family

ID=39160661

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2007101227718A Expired - Fee Related CN101136806B (en) 2007-07-04 2007-07-04 Label VLAN based switching chip port detecting method and apparatus

Country Status (1)

Country Link
CN (1) CN101136806B (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296131B (en) * 2008-06-11 2010-12-15 北京星网锐捷网络技术有限公司 Method, device and system for testing switchboard connectivity
CN101977128A (en) * 2010-09-14 2011-02-16 中兴通讯股份有限公司 Interface detection method and device for communication equipment
CN102055625A (en) * 2010-12-31 2011-05-11 深圳市普联技术有限公司 Network drive testing method
CN102664774A (en) * 2012-05-31 2012-09-12 迈普通信技术股份有限公司 Method for testing port connectivity of switch
CN108134689A (en) * 2017-12-11 2018-06-08 杭州迪普科技股份有限公司 Cascade port trouble shooting method and device inside a kind of frame type equipment
CN110267237A (en) * 2013-04-17 2019-09-20 希斯泰克公司 The gateway of communication for the Machine To Machine using dual cellular interface
CN110752967A (en) * 2019-10-14 2020-02-04 杭州迪普科技股份有限公司 Interface fault detection method, device, equipment and storage medium
CN111092782A (en) * 2018-10-24 2020-05-01 迈普通信技术股份有限公司 Tested communication equipment, communication equipment port data forwarding test system and method
US11979947B2 (en) 2020-05-04 2024-05-07 Systech Corporation Dual channel gateway device for machine-to-machine communication

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1237759C (en) * 2002-07-29 2006-01-18 旺宏电子股份有限公司 Monochip Ethernet exchange and its testing method
CN100409623C (en) * 2003-11-11 2008-08-06 中兴通讯股份有限公司 Method for testing Ethernet switch stability

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101296131B (en) * 2008-06-11 2010-12-15 北京星网锐捷网络技术有限公司 Method, device and system for testing switchboard connectivity
CN101977128A (en) * 2010-09-14 2011-02-16 中兴通讯股份有限公司 Interface detection method and device for communication equipment
CN101977128B (en) * 2010-09-14 2015-04-01 中兴通讯股份有限公司 Interface detection method and device for communication equipment
CN102055625A (en) * 2010-12-31 2011-05-11 深圳市普联技术有限公司 Network drive testing method
CN102664774A (en) * 2012-05-31 2012-09-12 迈普通信技术股份有限公司 Method for testing port connectivity of switch
CN102664774B (en) * 2012-05-31 2015-04-15 迈普通信技术股份有限公司 Method for testing port connectivity of switch
US11457373B2 (en) 2013-04-17 2022-09-27 Systech Corporation Gateway device for machine-to-machine communication with dual cellular interfaces
CN110267237A (en) * 2013-04-17 2019-09-20 希斯泰克公司 The gateway of communication for the Machine To Machine using dual cellular interface
CN108134689A (en) * 2017-12-11 2018-06-08 杭州迪普科技股份有限公司 Cascade port trouble shooting method and device inside a kind of frame type equipment
CN108134689B (en) * 2017-12-11 2021-07-23 杭州迪普科技股份有限公司 Method and device for checking faults of cascade interface inside frame type equipment
CN111092782A (en) * 2018-10-24 2020-05-01 迈普通信技术股份有限公司 Tested communication equipment, communication equipment port data forwarding test system and method
CN111092782B (en) * 2018-10-24 2022-04-05 迈普通信技术股份有限公司 Tested communication equipment, communication equipment port data forwarding test system and method
CN110752967A (en) * 2019-10-14 2020-02-04 杭州迪普科技股份有限公司 Interface fault detection method, device, equipment and storage medium
US11979947B2 (en) 2020-05-04 2024-05-07 Systech Corporation Dual channel gateway device for machine-to-machine communication

Also Published As

Publication number Publication date
CN101136806B (en) 2010-08-04

Similar Documents

Publication Publication Date Title
CN101136806B (en) Label VLAN based switching chip port detecting method and apparatus
CN101296131B (en) Method, device and system for testing switchboard connectivity
US7490278B2 (en) PCI express physical layer built-in self test architecture
CN101127650B (en) A method and testing backboard for single board production test
US9158642B2 (en) Method of testing multiple data packet signal transceivers concurrently
EP2854355A1 (en) Central alignment circuitry for high-speed serial receiver circuits
CN103631688B (en) A kind of method and system of test interface signal
KR20150133220A (en) Timestamp correction in a multi-lane communication link with skew
CN105991358A (en) Method, device, test board and system for testing traffic of interface board
CN108111367A (en) Performance test methods and device
CN102200565B (en) A kind of apparatus for testing chip
US11218397B2 (en) Dual purpose NIC/PCIe protocol logic analyzer
CN101136807B (en) Port VLAN based switching chip port detecting method
CN109815073B (en) PXI platform-based high-speed serial port SRIO test method
CN100366003C (en) Device and method for emulated route analysis test
US20040047408A1 (en) Data link analyzer
US6937571B1 (en) Method of testing a network device through a medium independent interface (MII)
CN106100941A (en) Method and device based on distributed system test board intercard communication reliability
CN101882974A (en) Method and system of real-time online detection of high-speed serial signals
CN105162653A (en) Fault detection device for communication data
CN103441818A (en) Method and device for detecting errors of data transmission
US8706439B2 (en) Test apparatus and test method
JP2010245589A (en) Communication system, communication device, method for specifying suspect portion, and program
CN100373870C (en) Statistic method for packet dropping number of communication device
CN102769539B (en) Method for diagnosing forwarding faults of distributed network equipment and equipment

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20100804

Termination date: 20160704