CN104506391A - Method and device for testing private Ethernet line - Google Patents

Method and device for testing private Ethernet line Download PDF

Info

Publication number
CN104506391A
CN104506391A CN201510001853.1A CN201510001853A CN104506391A CN 104506391 A CN104506391 A CN 104506391A CN 201510001853 A CN201510001853 A CN 201510001853A CN 104506391 A CN104506391 A CN 104506391A
Authority
CN
China
Prior art keywords
measured
frame
data
moment
ethernet
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
CN201510001853.1A
Other languages
Chinese (zh)
Other versions
CN104506391B (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.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group 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 China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN201510001853.1A priority Critical patent/CN104506391B/en
Publication of CN104506391A publication Critical patent/CN104506391A/en
Application granted granted Critical
Publication of CN104506391B publication Critical patent/CN104506391B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Small-Scale Networks (AREA)

Abstract

The invention provides a method and a device for testing a private Ethernet line. The method comprises the steps: acquiring a total quantity, which is counted at the first moment, of data frames received by an Ethernet card to be tested and a total quantity of sent data frames; sending test data frames to a locally connected network segment broadcast address to be tested; acquiring a total quantity, which is counted at the second moment, of data frames received by an Ethernet card to be tested and a total quantity of sent data frames; detecting whether the private Ethernet line to be tested is faulted according to a first quantity of the data frames received by the Ethernet card to be tested and a second quantity of the sent data frames between the first moment and the second moment. According to the method and the device which are provided by the embodiment of the invention, loop test can be carried out on the private Ethernet line without a special tester, so that the test cost is reduced.

Description

Ethernet Private Line method of testing and device
Technical field
The present invention relates to communication technical field, particularly relate to a kind of Ethernet Private Line method of testing and device.
Background technology
Telecom operators for numeral, data class special line maintenance service in, pass through loopback test, tester can in one end of special line complete paired fault special line looper piecemeal investigation test, two ends are not needed to have tester's connection device or instrument, whether therefore loopback test is applied for a long time widely by operation maintenance personnel, break down to test special line.
But, for Ethernet Private Line, because Ether protocoll can not understand internal loopback, therefore only have and use special test instrumentation, could realize carrying out loopback test to ether class special line, and the price of special test instrumentation often costly, this testing cost just making existing ether class special line test is higher.
Summary of the invention
The invention provides a kind of Ethernet Private Line method of testing and device, the problem that the testing cost for solving the test of existing ether class special line is higher.
First aspect of the present invention is to provide a kind of Ethernet Private Line method of testing, comprising:
Obtain the first data, the Frame total amount that Ethernet card to be measured corresponding to Ethernet Private Line to be measured that described first data are included in the first moment statistics has received and the Frame total amount sent;
Send the test data frame of predetermined number to destination address, described destination address is to be measured locally-attached network segment broadcast address that described Ethernet Private Line to be measured is corresponding;
Obtain the second data, the Frame total amount that the Ethernet card described to be measured that described second data are included in the second moment statistics has received and the Frame total amount sent;
According to described first data and described second data, calculate and obtain between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and the second quantity of transmission Frame;
According to described first quantity and described second quantity, detect described Ethernet Private Line to be measured whether to break down, wherein, be engraved in before this sends described test data frame to described destination address when described first, be engraved in this when described second to after described destination address sends described test data frame.
Another aspect of the present invention is to provide a kind of Ethernet Private Line testing apparatus, comprising:
Acquisition module, for obtaining the first data, the Frame total amount that Ethernet card to be measured corresponding to Ethernet Private Line to be measured that described first data are included in the first moment statistics has received and the Frame total amount sent;
Sending module, for sending the test data frame of predetermined number to destination address, described destination address is to be measured locally-attached network segment broadcast address that described Ethernet Private Line to be measured is corresponding;
Described acquisition module, also for obtaining the second data, the Frame total amount that the Ethernet card described to be measured that described second data are included in the second moment statistics has received and the Frame total amount sent;
Computing module, for according to described first data and described second data, calculates and obtains between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and the second quantity of transmission Frame;
Whether processing module, for according to described first quantity and described second quantity, detect described Ethernet Private Line to be measured and break down; Wherein, be engraved in before this sends described test data frame to described destination address when described first, be engraved in this when described second to after described destination address sends described test data frame.
In Ethernet Private Line method of testing provided by the invention and device, using to be measured locally-attached network segment broadcast address corresponding to Ethernet Private Line to be measured as destination address, the test data frame of predetermined number is sent to this destination address, and according between the moment before transmission test data frame and after transmission test data frame, the quantity of Ethernet card transceiving data frame to be measured, detect described Ethernet Private Line whether to break down, the loopback test that can realize Ethernet Private Line without the need to using special test instrumentation, reduces testing cost.
Accompanying drawing explanation
The schematic flow sheet of the Ethernet Private Line method of testing that Fig. 1 provides for the embodiment of the present invention one;
The structural representation of the Ethernet Private Line testing apparatus that Fig. 2 provides for the embodiment of the present invention two.
Embodiment
For making the object of the embodiment of the present invention, technical scheme and advantage clearly, below in conjunction with the accompanying drawing in the embodiment of the present invention, the technical scheme in the embodiment of the present invention is clearly and completely described.
The schematic flow sheet of the Ethernet Private Line method of testing that Fig. 1 provides for the embodiment of the present invention one, as shown in Figure 1, described method comprises:
101, the first data are obtained, the Frame total amount that Ethernet card to be measured corresponding to Ethernet Private Line to be measured that described first data are included in the first moment statistics has received and the Frame total amount sent.
Concrete, can external command netstat-e be utilized, read the quantity of the current reception of Ethernet card and transmission Frame.
102, send the test data frame of predetermined number to destination address, described destination address is to be measured locally-attached network segment broadcast address that described Ethernet Private Line to be measured is corresponding.
Wherein, the executive agent of the present embodiment can be Ethernet Private Line testing apparatus, described Ethernet Private Line testing apparatus can be arranged in certain equipment, this equipment can for having any smart machine of data transmit-receive function, such as, and personal computer (personal computer, be called for short PC), concrete, can compatible Win xp and Win7/win8 operating system, the present embodiment is not limited at this.
When needing to test, one end of described Ethernet Private Line to be measured can be connected to the Ethernet card of this equipment, this Ethernet card is Ethernet card to be measured corresponding to described Ethernet Private Line to be measured.Wherein, it is relation one to one that Ethernet card is connected with this locality, in practical application, can arrange one or more Ethernet card in individual equipment, accordingly, this equipment supports that one or more this locality connects, wherein, this locality that each Ethernet card is corresponding unique connects.Concrete, in the present embodiment, ether to be measured specially blocks corresponding this locality connection and is this locality to be measured connection.
In reality test, in order to first can realize the loopback of data from physical connection, need first to carry out loop back processing being to Ethernet Private Line to be measured, namely carry out looper.Concrete, looper can be realized by numerous embodiments, such as, by manual, the other end of Ethernet Private Line to be measured can be connected to the receiving terminal of described equipment, to realize the physical connection of transmitting channel and receive channel; Again such as, can also be operated by webmaster, some transmission node does time slot loopback by webmaster on cross-connect matrix, and equipment sends standard testing code or test packet, arrives loopback place, be transmitted back to equipment again through receive channel through transmitting channel.
But, even if achieve the physical connection for carrying out loopback test, if described equipment sends unicast frame, even if test data frame is come by line loopback, network interface card also can not receive it, because Ethernet card receives only the transmission of other physical address, the unicast frame of " destination address=its own physical address ", all the other filterings.Unknown unicast frame can by the MAC processing unit on network interface card to filtering out, driver just calculate less than, then NETSTAT – E can not calculate too.Concrete, can utilize external command ping-n, send the test data frame of some on circuit, this quantity can be default value.Concrete, the destination address of PING is locally-attached network segment broadcast address.
In actual applications, if other IP address of PING, the message no matter PING is large again, does not have flow to send yet, and the small messages of a Destination MAC request still sent out by machine every several seconds kinds ,-L parameter does not act at all.Because do not have the entry of any IP in ARP table.
But have an implicit entry to be naturally occurring, it is exactly the mapping of " in subnet broadcast ": subnet broadcast <------> L 2 broadcast.When this locality connects for " connection status ", this entry is shown in the ARP order of WIN 7/WIN 8.That such as: the machine network card configuration IP is 192.168.1.1/30, then " broadcasts in subnet " is mapped as 192.168.1.3<------>FF-FF-FF-F F-FF-FF.
Accordingly, in this programme, use be broadcast frame, because the MAC process of Ethernet card must be without exception full receipts to broadcast frame.L 2 broadcast is sure through MAC layer, therefore can be calculated by driver.
103, the second data are obtained, the Frame total amount that the Ethernet card described to be measured that described second data are included in the second moment statistics has received and the Frame total amount sent.
104, according to described first data and described second data, calculate and obtain between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and the second quantity of transmission Frame.
Concrete, in order to obtain between the moment before execution 102 and the moment after execution 102, the quantity of Ethernet card transceiving data frame to be measured, be engraved in before this sends described test data frame to described destination address when described first, be engraved in this when described second to after described destination address sends described test data frame.
105, according to described first quantity and described second quantity, detect described Ethernet Private Line to be measured and whether break down.
In actual applications, described locally-attached network segment broadcast address to be measured can obtain in several ways, such as, can obtain according to described to be measured locally-attached network segment broadcast address of user's input, or also automatically can read acquisition, the present embodiment is not limited at this.Optionally, in order to obtain described destination address in advance, before 102, described method can also comprise: read described locally-attached network segment broadcast address to be measured.Concrete, can external command ARP-A be utilized, read locally-attached network segment broadcast address.
Wherein, described Ethernet Private Line to be measured is specifically as follows, and needs to carry out a certain section of Ethernet Private Line in the whole piece Ethernet Private Line of fault test or fault location or this whole piece Ethernet Private Line.Concrete, to in the test process of certain Ethernet Private Line, can by the multiple test point of setting, this Ethernet Private Line is divided into multistage, and for the Ethernet Private Line to be measured between each test point to Ethernet card, the method for testing provided by the present embodiment carries out fault test to it, thus realize carrying out loopback test piecemeal to Ethernet Private Line, by the scheme of loopback test piecemeal, the abort situation of Ethernet Private Line can also be determined.Compare in existing testing scheme, above-mentioned work can only be completed by professional instrument, and the testing scheme that the present embodiment provides, can be completed by common PC, no matter tester is in where, all can complete test based on the scheme of the present embodiment.
In actual applications, in order to ensure the fail safe tested, can carry out certification to the licensing status of current test subscriber, then accordingly, before 101, described method can also comprise: carry out certification to current test subscriber; Corresponding 101 specifically comprise: if certification is passed through, then obtain described first data.Concrete authentication method can be realized by numerous embodiments, and the present embodiment is not limited at this.
Optionally, in actual Ethernet Private Line test process, if there have multiple this locality to connect to be simultaneously online, such as, some types can support many Ethernet cards, in order to select the connection needing to carry out testing, in the above-described embodiment, before the described locally-attached network segment broadcast address to be measured of described reading, described method can also comprise:
Detect the current this locality connection that whether there is at least one and be in line states;
Locally-attached mark of line states is in described in pushing to tester;
This locality of the mark correspondence described tester selected connects and connects as described this locality to be measured.
Concrete, in the loopback test of reality, when just accomplishing fluently ring, between moment before sending test data frame and after transmission test data frame, the quantity possibility of the Frame that described Ethernet card to be measured receives and sends can not be completely the same, therefore, in order to avoid test error, can the step of multiple exercise 102.Then corresponding, after execution 102, described method can also comprise:
Using described second data as the first current data, and again perform the step of 102.
Wherein, can according to the cycle of presetting, the step of multiple exercise 102.The described cycle can be determined according to actual needs, and such as, can be 3 seconds, the present embodiment be limited at this.
Based on the scheme of the present embodiment, after loopback is accomplished fluently, if the test data frame sent to described destination address is all received at every turn, namely show that corresponding Ethernet Private Line does not have fault.Then corresponding, 103 specifically can comprise:
If described first quantity is consistent with described second quantity, then judge that described Ethernet Private Line to be measured does not break down.
Concrete example, suppose to count in the first moment, the current Frame total amount received of Ethernet card to be measured is 100, the Frame total amount sent is 200, after described first moment, the test data frame of some is sent to described destination address, and the second moment after the described test data frame of transmission counts on, the current Frame total amount received of described Ethernet card to be measured is 460, the Frame total amount sent is 560, then can calculate and obtain between described first moment and described second moment, the quantity of described Ethernet card receiving data frames to be measured is 460-100=360, the quantity that described Ethernet card to be measured sends Frame is 560-200=360, that is, between the moment sent before described test data frame and the moment sent after described test data frame, described Ethernet card to be measured receives consistent with the quantity sending Frame, then can judge that described Ethernet card to be measured does not have fault.
In addition, the present embodiment only can need be realized by less advanced language programming statement.In order to understand this programme better, now illustrating further the implementation of this programme, is below the division statement of this programme when programming realization (for C language) and detailed annotation:
The first, read locally-attached state and address.Corresponding programmed statements can be as follows:
The second, read the number of the current reception of Ethernet card and transmission Frame, be recorded in variable.Corresponding programmed statements can be as follows:
3rd, send the Frame of quantification on circuit.Corresponding programmed statements can be as follows:
4th, reading again, with frontly once to subtract each other, delivery, obtain sending and the variable quantity of frames received, be presented on screen, concrete, execution third and fourth step capable of circulation.Corresponding programmed statements can be as follows:
See result, view screen show:
Transmission number is constant, and receiving number is 0, illustrates and can't detect loopback, service interruption;
Send number=reception number, illustrate and loopback detected, circuit OK;
Send number > and receive number, circuit packet loss)
Wherein, the subfunction read for file is exemplified below:
The Ethernet Private Line method of testing provided by the present embodiment, using to be measured locally-attached network segment broadcast address corresponding to Ethernet Private Line to be measured as destination address, the test data frame of predetermined number is sent to this destination address, and according between the moment before transmission test data frame and after transmission test data frame, the quantity of the Ethernet card transceiving data frame to be measured that Ethernet Private Line to be measured is corresponding, detect described Ethernet Private Line whether to break down, test can be completed with common PC, easy to operate, and the loopback test without the need to using special test instrumentation can realize Ethernet Private Line, reduce testing cost.
The structural representation of the Ethernet Private Line testing apparatus that Fig. 2 provides for the embodiment of the present invention two, as shown in Figure 2, described device comprises: acquisition module 21, sending module 22, computing module 23 and processing module 24; Wherein,
Acquisition module 21, for obtaining the first data, the Frame total amount that Ethernet card to be measured corresponding to Ethernet Private Line to be measured that described first data are included in the first moment statistics has received and the Frame total amount sent;
Sending module 22, for sending the test data frame of predetermined number to destination address, described destination address is to be measured locally-attached network segment broadcast address that described Ethernet Private Line to be measured is corresponding;
Acquisition module 21, also for obtaining the second data, the Frame total amount that the Ethernet card described to be measured that described second data are included in the second moment statistics has received and the Frame total amount sent;
Computing module 23, for according to described first data and described second data, calculates and obtains between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and the second quantity of transmission Frame;
Whether processing module 24, for according to described first quantity and described second quantity, detect described Ethernet Private Line to be measured and break down; Wherein, be engraved in before this sends described test data frame to described destination address when described first, be engraved in this when described second to after described destination address sends described test data frame.
Concrete, acquisition module 21 can utilize external command netstat-e, reads the quantity of the current reception of Ethernet card and transmission Frame.
Concrete again, sending module 22 can utilize external command ping-n, and send the test data frame of some on circuit, this quantity can be default value.Concrete, the destination address of PING is locally-attached subnet broadcast address.
In actual applications, described locally-attached network segment broadcast address to be measured can obtain in several ways, such as, can obtain according to described to be measured locally-attached network segment broadcast address of user's input, or also automatically can read acquisition, the present embodiment is not limited at this.Optionally, in order to obtain described destination address in advance, described device can also comprise:
Read module, before sending the test data frame of predetermined number at sending module 22 to described destination address, reads described locally-attached network segment broadcast address to be measured.
Wherein, described Ethernet Private Line to be measured is specifically as follows, and needs to carry out a certain section of Ethernet Private Line in the whole piece Ethernet Private Line of fault test or fault location or this whole piece Ethernet Private Line.Concrete, to in the test process of certain Ethernet Private Line, can by the multiple test point of setting, this Ethernet Private Line is divided into multistage, and for the Ethernet Private Line to be measured between each test point to Ethernet card, the method for testing provided by the present embodiment carries out fault test to it, thus realize carrying out loopback test piecemeal to Ethernet Private Line, by the scheme of loopback test piecemeal, the abort situation of Ethernet Private Line can also be determined.Compare in existing testing scheme, above-mentioned work can only be completed by professional instrument, and the testing scheme that the present embodiment provides, can be completed by PC, no matter tester is in where, all can complete test based on the scheme of the present embodiment.
In actual applications, in order to ensure the fail safe tested, certification can be carried out to the licensing status of current test subscriber, then corresponding, described device can also comprise authentication module, before obtaining the first current data at acquisition module 21, carries out certification to current test subscriber; Accordingly, acquisition module 21, if pass through specifically for certification, then obtains described first data.Concrete authentication method can be realized by numerous embodiments, and the present embodiment is not limited at this.
Optionally, in actual Ethernet Private Line test process, if there have multiple this locality to connect to be simultaneously online, such as, some types can support many Ethernet cards, and in order to select the connection needing to carry out testing, in the above-described embodiment, described device can also comprise:
Detection module, before reading described locally-attached network segment broadcast address to be measured at described read module, detects the current this locality connection that whether there is at least one and be in line states;
Pushing module, for being in locally-attached mark of line states described in pushing to tester;
Processing module 24, this locality also for the mark correspondence described tester selected connects as described this locality to be measured connection.
Concrete, in the loopback test of reality, when just accomplishing fluently ring, between moment before sending test data frame and after transmission test data frame, the quantity possibility of the Frame that described Ethernet card to be measured receives and sends can not be completely the same, therefore, in order to avoid test error, processing module 24, can also be used for calculating at computing module 23 obtaining between described first moment and described second moment, first quantity of described Ethernet card receiving data frames to be measured and send Frame the second quantity after, using described second data as the first current data, and indicate sending module 22 again to perform the step of the test data frame sending predetermined number to destination address.
Based on the scheme of the present embodiment, after loopback is accomplished fluently, if the test data frame sent to described destination address is all received at every turn, namely show that corresponding Ethernet Private Line does not have fault.Then corresponding, processing module 24, if consistent with described second quantity specifically for described first quantity, then judges that described Ethernet Private Line to be measured does not break down.
In addition, the present embodiment only can need be realized by less advanced language programming statement.
The Ethernet Private Line testing apparatus provided by the present embodiment, using to be measured locally-attached network segment broadcast address corresponding to Ethernet Private Line to be measured as destination address, the test data frame of predetermined number is sent to this destination address, and according between the moment after the moment sent before test data frame and transmission test data frame, the quantity of the Ethernet card transceiving data frame to be measured that Ethernet Private Line to be measured is corresponding, detect described Ethernet Private Line whether to break down, easy to operate, and the loopback test without the need to using special test instrumentation can realize Ethernet Private Line, reduce testing cost.
Those skilled in the art can be well understood to, and for convenience and simplicity of description, the specific works process of the device of foregoing description, with reference to the corresponding process in preceding method embodiment, can not repeat them here.
One of ordinary skill in the art will appreciate that: all or part of step realizing above-mentioned each embodiment of the method can have been come by the hardware that program command is relevant.Aforesaid program can be stored in a computer read/write memory medium.This program, when performing, performs the step comprising above-mentioned each embodiment of the method; And aforesaid storage medium comprises: ROM, RAM, magnetic disc or CD etc. various can be program code stored medium.
Last it is noted that above each embodiment is only in order to illustrate technical scheme of the present invention, be not intended to limit; Although with reference to foregoing embodiments to invention has been detailed description, those of ordinary skill in the art is to be understood that: it still can be modified to the technical scheme described in foregoing embodiments, or carries out equivalent replacement to wherein some or all of technical characteristic; And these amendments or replacement, do not make the essence of appropriate technical solution depart from the scope of various embodiments of the present invention technical scheme.

Claims (10)

1. an Ethernet Private Line method of testing, is characterized in that, comprising:
Obtain the first data, the Frame total amount that Ethernet card to be measured corresponding to Ethernet Private Line to be measured that described first data are included in the first moment statistics has received and the Frame total amount sent;
Send the test data frame of predetermined number to destination address, described destination address is to be measured locally-attached network segment broadcast address that described Ethernet Private Line to be measured is corresponding;
Obtain the second data, the Frame total amount that the Ethernet card described to be measured that described second data are included in the second moment statistics has received and the Frame total amount sent;
According to described first data and described second data, calculate and obtain between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and the second quantity of transmission Frame;
According to described first quantity and described second quantity, detect described Ethernet Private Line to be measured whether to break down, wherein, be engraved in before this sends described test data frame to described destination address when described first, be engraved in this when described second to after described destination address sends described test data frame.
2. method according to claim 1, is characterized in that, described to destination address send predetermined number test data frame before, also comprise:
Read described locally-attached network segment broadcast address to be measured.
3. method according to claim 2, is characterized in that, before the described locally-attached network segment broadcast address to be measured of described reading, also comprises:
Detect the current this locality connection that whether there is at least one and be in line states;
Locally-attached mark of line states is in described in pushing to tester;
This locality of the mark correspondence described tester selected connects and connects as described this locality to be measured.
4. method according to claim 1, is characterized in that, described calculating obtained between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and send Frame the second quantity after, also comprise:
Using described second data as the first current data, and again perform the described step sending the test data frame of predetermined number to destination address.
5. whether the method according to any one of claim 1-4, is characterized in that, described according to described first quantity and described second quantity, detect described Ethernet Private Line to be measured and break down, specifically comprise:
If described first quantity is consistent with described second quantity, then judge that described Ethernet Private Line to be measured does not break down.
6. an Ethernet Private Line testing apparatus, is characterized in that, comprising:
Acquisition module, for obtaining the first data, the Frame total amount that Ethernet card to be measured corresponding to Ethernet Private Line to be measured that described first data are included in the first moment statistics has received and the Frame total amount sent;
Sending module, for sending the test data frame of predetermined number to destination address, described destination address is to be measured locally-attached network segment broadcast address that described Ethernet Private Line to be measured is corresponding;
Described acquisition module, also for obtaining the second data, the Frame total amount that the Ethernet card described to be measured that described second data are included in the second moment statistics has received and the Frame total amount sent;
Computing module, for according to described first data and described second data, calculates and obtains between described first moment and described second moment, the first quantity of described Ethernet card receiving data frames to be measured and the second quantity of transmission Frame;
Whether processing module, for according to described first quantity and described second quantity, detect described Ethernet Private Line to be measured and break down; Wherein, be engraved in before this sends described test data frame to described destination address when described first, be engraved in this when described second to after described destination address sends described test data frame.
7. device according to claim 6, is characterized in that, described device also comprises:
Read module, before sending the test data frame of predetermined number at described sending module to described destination address, reads described locally-attached network segment broadcast address to be measured.
8. device according to claim 7, is characterized in that, described device also comprises:
Detection module, before reading described locally-attached network segment broadcast address to be measured at described read module, detects the current this locality connection that whether there is at least one and be in line states;
Pushing module, for being in locally-attached mark of line states described in pushing to tester;
Described processing module, this locality also for the mark correspondence described tester selected connects as described this locality to be measured connection.
9. device according to claim 6, is characterized in that,
Described processing module, also obtain between described first moment and described second moment for calculating at described computing module, first quantity of described Ethernet card receiving data frames to be measured and send Frame the second quantity after, using described second data as the first current data, and described sending module is indicated again to perform the described step sending the test data frame of predetermined number to destination address.
10. the device according to any one of claim 6-9, is characterized in that,
Described processing module, if consistent with described second quantity specifically for described first quantity, then judges that described Ethernet Private Line to be measured does not break down.
CN201510001853.1A 2015-01-04 2015-01-04 Ethernet private line test method and device Active CN104506391B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510001853.1A CN104506391B (en) 2015-01-04 2015-01-04 Ethernet private line test method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510001853.1A CN104506391B (en) 2015-01-04 2015-01-04 Ethernet private line test method and device

Publications (2)

Publication Number Publication Date
CN104506391A true CN104506391A (en) 2015-04-08
CN104506391B CN104506391B (en) 2018-06-01

Family

ID=52948106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510001853.1A Active CN104506391B (en) 2015-01-04 2015-01-04 Ethernet private line test method and device

Country Status (1)

Country Link
CN (1) CN104506391B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102878A (en) * 2022-06-08 2022-09-23 北京启明星辰信息安全技术有限公司 Network security equipment aging test system and method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909483A (en) * 2005-08-05 2007-02-07 英业达股份有限公司 Method and system for network equipment testing
CN101267363A (en) * 2008-04-24 2008-09-17 杭州华三通信技术有限公司 Loop testing method, system and device
CN101647258A (en) * 2007-04-06 2010-02-10 国际商业机器公司 Method for personalizing a multimedia program broadcasted through an IP network
CN102055598A (en) * 2009-11-11 2011-05-11 中兴通讯股份有限公司 Method and system for realizing point-to-multipoint OAM of 802.3ah protocol
US20120269068A1 (en) * 2011-04-19 2012-10-25 Askey Computer Corp. Testing system
CN103684818A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method and device for detecting failures of network channel

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1909483A (en) * 2005-08-05 2007-02-07 英业达股份有限公司 Method and system for network equipment testing
CN101647258A (en) * 2007-04-06 2010-02-10 国际商业机器公司 Method for personalizing a multimedia program broadcasted through an IP network
CN101267363A (en) * 2008-04-24 2008-09-17 杭州华三通信技术有限公司 Loop testing method, system and device
CN102055598A (en) * 2009-11-11 2011-05-11 中兴通讯股份有限公司 Method and system for realizing point-to-multipoint OAM of 802.3ah protocol
US20120269068A1 (en) * 2011-04-19 2012-10-25 Askey Computer Corp. Testing system
CN103684818A (en) * 2012-09-07 2014-03-26 中兴通讯股份有限公司 Method and device for detecting failures of network channel

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115102878A (en) * 2022-06-08 2022-09-23 北京启明星辰信息安全技术有限公司 Network security equipment aging test system and method

Also Published As

Publication number Publication date
CN104506391B (en) 2018-06-01

Similar Documents

Publication Publication Date Title
US9532246B2 (en) Method and a test system for automatically configuring a tester
AU2016337397B2 (en) Cloud based system and method for managing testing configurations for cable test devices
CN101478449B (en) Protocol automatic test method and system thereof
EP2903213B1 (en) Throughput test method and apparatus
US9042839B2 (en) Mobile communication terminal test system and mobile communication terminal test method
CN105991358B (en) Method, device, test board and system for testing interface board flow
CN103138988B (en) Positioning treatment method and positioning treatment device of network faults
EP3214891A1 (en) Switching-on method, base station, base station controller, switching-on system and storage medium
CN102571492B (en) Method and device for detecting failure of routing equipment
CN109104329B (en) System for testing compatibility of router and network card
CN105354118B (en) Automatic test approach, the apparatus and system of intelligent terminal
CN102972070A (en) System and method for using multiple network addresses to establish synchronization of a device under test and test equipment controlling the test
CN106776346B (en) Test method and device of CCMTS (China center testing System) equipment
CN111263377B (en) Network configuration method, device, equipment and system and distribution network testing method and system
CN112367680B (en) External communication test method and device based on intelligent ammeter and computer equipment
CN115242689B (en) Vehicle-mounted gateway testing method, system and computer readable storage medium
WO2009067877A1 (en) Method and system for automatically debug-testing network device
CN108111367A (en) Performance test methods and device
CN106533823B (en) Automatic test system and method and recyclable sending device thereof
CN102665237B (en) Simulative Ir interface protocol conformance testing device and interoperability testing method
CN109547274A (en) A kind of enclosure board switching method, device and first network equipment
CN104506391A (en) Method and device for testing private Ethernet line
CN116244130A (en) Board card detection method, device, test equipment and storage medium
CN103095513A (en) Simulation testing device and method of Encryption equipment
CN107707492B (en) Method and device for reporting and issuing message

Legal Events

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