CN100502322C - Flow control testing device and method - Google Patents
Flow control testing device and method Download PDFInfo
- Publication number
- CN100502322C CN100502322C CNB2005100662402A CN200510066240A CN100502322C CN 100502322 C CN100502322 C CN 100502322C CN B2005100662402 A CNB2005100662402 A CN B2005100662402A CN 200510066240 A CN200510066240 A CN 200510066240A CN 100502322 C CN100502322 C CN 100502322C
- Authority
- CN
- China
- Prior art keywords
- ethernet port
- ethernet
- flow control
- cascade
- port
- 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
Links
Images
Landscapes
- Data Exchanges In Wide-Area Networks (AREA)
- Small-Scale Networks (AREA)
Abstract
An equipment and method to achieve fluidic testing, that is: cascade a group of untested Ethernet ports by the overlapping, the output of the frame generator as input of the first Ethernet port in a group of cascade Ethernet port, the last Ethernet port output in a group of cascade Ethernet port as the input of the frame generator; then, processes the corresponding configure and fluidic testing based on the untested Ethernet port. The invention can achieve the fluidic function testing for all the ports of the Ethernet veneer and not reconnect the exterior line of the Ethernet veneer, thereby improve the testing efficiency and decrease the testing cost.
Description
Technical field
The present invention relates to the measuring technology in the communication technical field, relate in particular to a kind of Flow Control measuring technology that is used for communication network device.
Background technology
At present, ethernet technology is widely used, and each big operator has finished the construction of own backbone transport network substantially, and MAN (metropolitan area network) has become competition focal point between operator, along with the continuous development and perfection of ethernet technology, ethernet technology moves to maturity.The Ethernet veneer is one of important composition veneer of existing metropolitan area network equipment, is mainly used in and solves the ether service access, converges, Bandwidth Management and the professional two layers of telecommunications applications such as exchange of ether.
Test at the Ethernet veneer comprises auto-negotiation test and Flow Control functional test.Wherein, the basic principle of described Flow Control Flow Control function is:
(1) under the half-duplex mode, the flow control of Ethernet is based on CSMA/CD (carrier sense multiple access/collision detection) algorithm.When the inadequate resource of the network equipment, then start flow control, send one group of carrier signal pulse train (false conflict signal),, equipment can think that network clashes owing to being used by other equipment if detecting the carrier signal on the network, other websites on the half-duplex network will stop to send data, and the mode of this flow control is called " back pressure " formula Flow Control again;
(2) under the full duplex mode, the flow control of Ethernet is based on the flow control of PAUSE (time-out) frame.In the time of the device resource deficiency on the network, at this moment equipment does not have ability to receive the data of arrival again, equipment can outwards send a kind of PAUSE frame, receive that the equipment of PAUSE frame can stop the data transmit operation of a period of time according to the defined parameter of PAUSE frame, the time that stops is unit with Quanta (quantum), length and physical link have relation, and a Quanta is illustrated in the time of transmission 512 Bit datas above the physical link.
Because described back pressure type Flow Control function is difficult by Meter Test on the upper strata by Ethernet single plate hardware bottom layer realization, therefore it is not tested usually.Be that example convection current detection method for testing describes now: Ethernet veneer and frame generator are set are operated under the 10M/100M full-duplex mode with the test of PAUSE frame Flow Control, be provided with frame generator give out a contract for a project at a high speed (greater than the port arrangement bandwidth of Ethernet veneer) start the Flow Control function of Ethernet veneer, catch the PAUSE Flow Control frame that the Ethernet veneer sends by frame detector, and determine the Flow Control function situation of Ethernet veneer according to the result who catches, whether the Flow Control function of promptly testing the Ethernet veneer can operate as normal.
At present, realize that the method that Ethernet veneer Flow Control is tested has two kinds usually.
First method is: ethernet port connection and business configuration mode are as shown in Figure 1, this kind method of testing is mainly used in produces test in enormous quantities, by being the Ethernet service test that the cascade pattern once can be finished all of the port with business configuration, improve production test efficient greatly.
In the method, the band width configuration of Ethernet veneer is based on ethernet port, does not distinguish sending direction and receive direction.For port 2..N, because from ring, can't constructing, port transmitting-receiving sends data flow greater than the situation that receives bandwidth, therefore by the method for testing of Flow Control as can be known, the port of Fig. 1 connects and the business configuration mode can't be finished the Flow Control functional test of port 2..N.
Therefore, in said method, for the test that does not have directly can't finish with the ethernet port that frame generator is connected with frame detector the Flow Control function, promptly the Flow Control function of all the other ethernet ports can't be tested.Certainly, also can be by again frame generator and frame detector being connected on other ethernet ports that need detect, thus realize Flow Control functional test at described other ports, promptly finish the test of the Flow Control function of all of the port several times; But, owing to need aerial lug again in the test process, cause testing efficiency very low, promptly cause the testing time lengthening of veneer, testing cost increases.
Second method is: select for use multiframe generation and detector to dock with the port of Ethernet veneer respectively, thereby realize a plurality of ports of Ethernet veneer are carried out the test of Flow Control function simultaneously, the ethernet port connection of this method and business configuration mode are as shown in Figure 2.
Because multiframe takes place and detector takes place with respect to single frames and the detector price is higher, and multiframe takes place and detector is the new product of releasing, most companies have bought single frames and have taken place and detector, therefore, buy multiframe generation and detector again and cause repeating buying, increased the cost of realizing the Flow Control functional test.
Summary of the invention
Mirror the purpose of this invention is to provide a kind of device and method of realizing the Flow Control test, to reduce the cost of realizing multiport Ethernet veneer is carried out the Flow Control test.
The objective of the invention is to be achieved through the following technical solutions:
The invention provides a kind of device of realizing the Flow Control test, comprise frame generator, frame detector and interleaving function module, frame generator and frame detector are by one group of ethernet port to be tested and interleaving function module communication, and, between each ethernet port that described one group of ethernet port to be tested comprises through the cascade of interleaving function module, the output of described frame generator is as the input of first ethernet port in one group of ethernet port of cascade, and the output of last ethernet port of one group of ethernet port of cascade is as the input of frame detector; Wherein said cascade is specially: with the output of the upper level ethernet port on the Ethernet veneer input as the next stage ethernet port, each ethernet port of cascade successively.
The present invention also provides a kind of method that realizes the Flow Control test, and this method comprises:
With the bandwidth of ethernet port according to the configuration of successively decreasing successively of the order of frame generator and frame detector and ethernet port cascade, wherein, the output of described frame generator is as the input of first ethernet port in one group of ethernet port of cascade, the output of last ethernet port of one group of ethernet port of cascade is as the input of frame detector, described cascade is with the output of the upper level ethernet port on the Ethernet veneer input as the next stage ethernet port, each ethernet port of cascade successively;
Need to determine the ethernet port of test, all ethernet ports of higher level in this ethernet port that need test are set to send the Flow Control function to be forbidden;
The next stage ethernet port that determine to need the ethernet port of test, the Flow Control frame of the next stage ethernet port by inquiring about ethernet port to be tested carries out the Flow Control test to ethernet port to be tested.
As seen from the above technical solution provided by the invention, the present invention is owing to adopted the mode of port cascade to realize being connected of multiport and single frames generation and detector.Therefore, the present invention can finish the test of the Flow Control function of Ethernet veneer all of the port under the situation that does not reconnect Ethernet veneer aerial lug, and testing efficiency improves greatly.
Simultaneously, the present invention can also directly utilize existing line and business configuration mode to finish the service level translocation examination of Ethernet veneer, and test process can additionally not increase testing cost.In a word, the test effect in enormous quantities that the present invention produces for multiport Ethernet veneer is especially remarkable, can improve test coverage and production test efficient at described veneer greatly.
Description of drawings
Fig. 1 is for carrying out the syndeton schematic diagram 1 of Flow Control test in the prior art;
Fig. 2 is for carrying out the syndeton schematic diagram 2 of Flow Control test in the prior art;
Fig. 3 is for carrying out the syndeton schematic diagram of Flow Control test among the present invention;
Fig. 4 is the flow chart of method of the present invention.
Embodiment
Core of the present invention be adopt ethernet port successively the mode of cascade realize the connection of test process, then, be configured, and carry out corresponding Flow Control test according to the needs of testing, therefore, the present invention can effectively reduce the cost at the Flow Control test of the ethernet port of Ethernet veneer.
Device of the present invention comprises in the specific implementation process:
Frame generator, frame detector and interleaving function module, frame generator and frame detector are by one group of ethernet port to be tested and interleaving function module communication, and described one group of ethernet port to be tested is through the cascade of interleaving function module, just with the output of the upper level ethernet port on the Ethernet veneer input, each ethernet port of cascade successively as the next stage ethernet port; The output of described frame generator is as the input of first ethernet port in one group of ethernet port of cascade, and the output of last ethernet port of one group of ethernet port of cascade is as the input of frame detector.
Specifically referring to shown in Figure 3, comprise on the Ethernet veneer that 1 to N is total to N ethernet port to be tested, if utilize the present invention to carry out the Flow Control test, then need the output of frame generator input as ethernet port 1, the output of each ethernet port is the input of next stage ethernet port, and the output of afterbody ethernet port is as the input of frame detector.
Based on test connected mode shown in Figure 3, method of the present invention as shown in Figure 4, specifically comprises following processing procedure in implementation procedure:
Step 41: according to successively decrease the successively bandwidth of each ethernet port of configuration of the waterfall sequence of frame generator and frame detector and ethernet port;
Band width configuration principle at each ethernet port is: guarantee the bandwidth of the bandwidth of upper level ethernet port greater than the next stage ethernet port, thereby make when service operation, can start the Flow Control function of veneer;
With four port ethernet veneers is example, and the bandwidth of ethernet port 1,2,3,4 can be configured to 64M, 32M, 16M, 8M successively; Pei Zhi result is like this: the transmission bandwidth (64M) of port one is greater than the reception bandwidth (32M) of port 2, and the transmission bandwidth (32M) of port 2 is greater than the reception bandwidth (16M) of port 3, and the transmission bandwidth (16M) of port 3 is greater than the reception bandwidth (8M) of port 4;
By Flow Control functional group present principles as can be known,, can start the Flow Control function of each port of Ethernet veneer successively, thereby be convenient to carry out the Flow Control test of each ethernet port as long as frame generator sends the 64M bandwidth of data rate greater than port one.
Step 42: determine to need the ethernet port of test, and all ethernet ports of higher level of this ethernet port all are set to send the Flow Control function forbid;
Certainly, if the ethernet port 1 in the resolution chart 3 then need not to carry out this step;
Step 43: determine to need the next stage ethernet port of the ethernet port of test, and the ethernet port of needs test is tested according to the Flow Control frame that receives from this next stage ethernet port.
As shown in Figure 3, test process of the present invention is specifically as follows:
When testing the Flow Control function of ethernet port 1, the PAUSE Flow Control frame that receives by inquiry ethernet port 2 carries out corresponding Flow Control test;
Before the Flow Control function of test ethernet port 2, the transmission Flow Control function that at first needs ethernet port 1 is set forbids that the PAUSE Flow Control frame that receives by inquiry ethernet port 3 carries out corresponding Flow Control test then;
Before the Flow Control function of test ethernet port 3, the transmission Flow Control function that ethernet port 1, ethernet port 2 at first are set forbids that the PAUSE Flow Control frame that receives by inquiry ethernet port 4 carries out corresponding Flow Control test then;
By that analogy, before the Flow Control function of test ethernet port N-1, at first be provided with ethernet port 1, ethernet port 2 ..., the transmission Flow Control function of ethernet port N-2 forbids that the PAUSE Flow Control frame that receives by inquiry ethernet port N carries out corresponding Flow Control test then;
Before the Flow Control function of test ethernet port N, at first be provided with ethernet port 1, ethernet port 2 ..., the transmission Flow Control function of ethernet port N-1 forbids that the PAUSE Flow Control frame that receives by the inquiry frame detector carries out corresponding Flow Control test then.
In sum, device and method provided by the invention not only can improve the efficient of Flow Control test, can also reduce the cost of Flow Control test, and therefore, the present invention is particularly suitable for the test of the production in enormous quantities of multiport Ethernet veneer.
The above; only for the preferable embodiment of the present invention, but protection scope of the present invention is not limited thereto, and anyly is familiar with those skilled in the art in the technical scope that the present invention discloses; the variation that can expect easily or replacement all should be encompassed within protection scope of the present invention.Therefore, protection scope of the present invention should be as the criterion with the protection range of claims.
Claims (2)
1, a kind of device of realizing the Flow Control test, be used for one group of ethernet port to be tested is tested, comprise frame generator, frame detector and interleaving function module, described frame generator and frame detector are by one group of ethernet port to be tested and interleaving function module communication, it is characterized in that, between each ethernet port that described one group of ethernet port to be tested comprises through the cascade of interleaving function module, the output of described frame generator is as the input of first ethernet port in one group of ethernet port of cascade, and the output of last ethernet port of one group of ethernet port of cascade is as the input of frame detector; Wherein, described cascade is with the output of the upper level ethernet port on the Ethernet veneer input as the next stage ethernet port, each ethernet port of cascade successively.
2, a kind of method that realizes the Flow Control test is characterized in that, comprising:
With the bandwidth of ethernet port according to the configuration of successively decreasing successively of the order of frame generator and frame detector and ethernet port cascade, wherein, the output of described frame generator is as the input of first ethernet port in one group of ethernet port of cascade, the output of last ethernet port of one group of ethernet port of cascade is as the input of frame detector, described cascade is with the output of the upper level ethernet port on the Ethernet veneer input as the next stage ethernet port, each ethernet port of cascade successively;
Determine to need the ethernet port of test, and all ethernet ports of higher level in the ethernet port that should need to test are set to send the Flow Control function and forbid;
The next stage ethernet port that determine to need the ethernet port of test, the Flow Control frame of the next stage ethernet port by inquiring about ethernet port to be tested carries out the Flow Control test to ethernet port to be tested.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100662402A CN100502322C (en) | 2005-04-25 | 2005-04-25 | Flow control testing device and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CNB2005100662402A CN100502322C (en) | 2005-04-25 | 2005-04-25 | Flow control testing device and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN1855852A CN1855852A (en) | 2006-11-01 |
CN100502322C true CN100502322C (en) | 2009-06-17 |
Family
ID=37195712
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CNB2005100662402A Expired - Fee Related CN100502322C (en) | 2005-04-25 | 2005-04-25 | Flow control testing device and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN100502322C (en) |
Families Citing this family (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
KR101408390B1 (en) * | 2008-04-28 | 2014-06-17 | 휴렛-팩커드 디벨롭먼트 컴퍼니, 엘.피. | Adjustable server-transmission rates over fixed-speed backplane connections within a multi-server enclosure |
CN101651569B (en) * | 2009-09-11 | 2012-04-11 | 中兴通讯股份有限公司 | Performance test method and device of Ethernet port |
CN106603328B (en) * | 2016-12-01 | 2019-11-12 | 杭州迪普科技股份有限公司 | A kind of method and device for testing fluidic device protocol identification ability |
-
2005
- 2005-04-25 CN CNB2005100662402A patent/CN100502322C/en not_active Expired - Fee Related
Non-Patent Citations (2)
Title |
---|
千兆比以太网交换机的测试. 魏亮.电信网技术1,第1期. 2001 |
千兆比以太网交换机的测试. 魏亮.电信网技术1,第1期. 2001 * |
Also Published As
Publication number | Publication date |
---|---|
CN1855852A (en) | 2006-11-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
JPS60264138A (en) | Local area network | |
US8270845B2 (en) | Multimode fiber tap for a LRM connection | |
CN103746884B (en) | A kind of method and system that flow rate test is carried out using interchanger | |
EP0224132A2 (en) | Optical composite transceiver | |
CN102253914B (en) | Data transmitting and processing method and device and equipment interface | |
CN103107924A (en) | Testing method for performance of network device with high-rate port by utilizing low-rate port | |
WO2013079000A1 (en) | Train ring networking method | |
CN100502322C (en) | Flow control testing device and method | |
CN106533846A (en) | Network configuration method and test method for testing forwarding performance of switch | |
CN112260760B (en) | Nuclear power plant distributed control system field bus system based on optical loop | |
CN101557322A (en) | Method using network switch as network device testing instrument | |
CN103220199B (en) | The line concentration method of CAN multichannel isolation | |
CN104539348A (en) | PON system link loopback detection method and device | |
CN105323122B (en) | A kind of throughput of network device test device and test method based on interchanger | |
CN104135448A (en) | Switch comprising various Ethernet transmission interfaces | |
Ra et al. | Implementation of FPGA‐based MPLS‐TP linear protection switching for 4000+ tunnels in packet transport network for optical carrier Ethernet | |
US9112582B2 (en) | Network apparatus and method for eliminating interference between transport ports | |
CN101291232B (en) | Ethernet switch and signal receiving and sending method of Ethernet equipment | |
CN109068198A (en) | A kind of OLT optical module alarming method and apparatus | |
CN105245281B (en) | Industrial concentrator system and signal transmission method thereof | |
CN105915286A (en) | Data flow distribution method and flow distributing device | |
CN104022909B (en) | The method for processing business switched, device and system based on XAUI link | |
CN110213118A (en) | A kind of FC network system and its flow control methods | |
CN203933664U (en) | A kind of test macro of PTN equipment | |
CN100446499C (en) | Protecting inversion method and inversor |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
C06 | Publication | ||
PB01 | Publication | ||
C10 | Entry into substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
C14 | Grant of patent or utility model | ||
GR01 | Patent grant | ||
CF01 | Termination of patent right due to non-payment of annual fee |
Granted publication date: 20090617 Termination date: 20160425 |