CN103546346A - Synchronous polling automatic testing method based on logic link - Google Patents

Synchronous polling automatic testing method based on logic link Download PDF

Info

Publication number
CN103546346A
CN103546346A CN201310511995.3A CN201310511995A CN103546346A CN 103546346 A CN103546346 A CN 103546346A CN 201310511995 A CN201310511995 A CN 201310511995A CN 103546346 A CN103546346 A CN 103546346A
Authority
CN
China
Prior art keywords
llid
synchronous
logic
logic link
testing method
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
CN201310511995.3A
Other languages
Chinese (zh)
Other versions
CN103546346B (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.)
Shanghai Feixun Data Communication Technology Co Ltd
Original Assignee
Shanghai Feixun Data Communication Technology 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 Shanghai Feixun Data Communication Technology Co Ltd filed Critical Shanghai Feixun Data Communication Technology Co Ltd
Priority to CN201310511995.3A priority Critical patent/CN103546346B/en
Publication of CN103546346A publication Critical patent/CN103546346A/en
Application granted granted Critical
Publication of CN103546346B publication Critical patent/CN103546346B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a synchronous polling automatic testing method based on a logic link, and particularly relates to an xDSL device measuring method. A plurality of logic link marks used for carrying out synchronous identification with local side devices are configured through an xDSL device; the priorities of the logic link marks are set, the logic link marks are added to the local side devices according to a set sequence, and a logic link mark sequence is formed; slave logic link mark sequences are read in sequence based on the priorities of the logic link marks; whether the synchronization of one logic link mark succeeds or not is detected, and if the synchronization succeeds, the logic chain mark synchronized successfully is released from the logic link mark sequence, and a next logic link mark is read; if the synchronization fails, the testing is ended. According to the synchronous polling automatic testing method based on the logic link, automatic addition of the relative configuration of the local side devices is achieved, polling testing is carried out on the logic link marks in the xDSL device through high priority deletion and ping package detection, the testing is simplified, the testing period is shortened, and working efficiency is improved.

Description

A kind of synchronous polling automated testing method of logic-based link
Technical field
The present invention relates to electronic communication field, be specifically related to a kind of synchronous polling automated testing method of logic-based link.
Background technology
XDSL is the general name of all kinds DSL (Digital Subscriber Line, digital subscriber line).XDSL technology is by digital technology, existing analog telephone subscribers feeder to be transformed, make it can carrying wideband business, it is the main flow that the family online of current many countries and regions is selected, it comprises several different types, as ADSL(Asymmetric Digital Subscriber Line, ADSL (Asymmetric Digital Subscriber Line)), VDSL(Very high speed DSL, Very-high-speed Digital Subscriber Line) etc.
XDSL equipment is mainly by PVC(Permanent Virtual Circuit, PVC) with DSLAM(DSL Access Multiplexer, Digital Subscriber Line Access Multiplexer) identify synchronously, and in DSLAM conversion access network, so the test that can the PVC in equipment normal synchronized communication becomes particularly important, once go wrong, that uses many regions of this equipment normally to surf the Net by causing.At present the synchronism detection of xDSL equipment PVC mainly be take manual test as main, has following shortcoming: testing procedure is loaded down with trivial details, account for total testing time than great; Testing time is long, and the research and development time that increases product causes product cost to improve; Require tester must be familiar with the configuration of DSLAM, the additional difficulty of test is large, affects test mass and testing efficiency.
Summary of the invention
The object of the invention is to, a kind of synchronous polling automated testing method of logic-based link is provided, solve above technical problem.
Technical problem solved by the invention can realize by the following technical solutions:
A kind of synchronous polling automated testing method of logic-based link, described method is applied to an xDSL device test system, described test macro comprises computer, the xDSL equipment being connected with described computer, described xDSL equipment connection one local side apparatus, and described local side apparatus connects external network; Wherein, said method comprising the steps of:
Step s1: a plurality of for synchronize the LLID of identifying with described local side apparatus by described xDSL equipment configuration;
Step s2: the priority of described LLID is set, and adds to described local side apparatus according to a setting order automatic powder adding, form a LLID sequence;
Step s3: the priority based on described LLID reads described LLID sequence successively;
Step s4: detect the whether synchronous success of described LLID, if synchronously success discharges synchronous successful described LLID, and reads next LLID from described LLID sequence; If synchronously unsuccessful, test finishes.
Preferably, described setting is sequentially that priority is from height to low order.
Preferably, described LLID is the PVC sign of setting up virtual connections.
Preferably, described PVC sign comprises VPI and VCI.
Preferably, by send Ping message trigger on described computer, carry out the detection of Ping bag to judge the whether synchronous success of described LLID.
Preferably, described xDSL equipment is modulator-demodulator.
Preferably, described local side apparatus is Digital Subscriber Line Access Multiplexer.
Preferably, in step s4, after discharging synchronous successfully LLID, also comprise a determining step, judge whether synchronous number of success is less than preset value, if synchronous number of success is less than described preset value, continue to read next LLID.
Beneficial effect: owing to adopting above technical scheme, the present invention
1) relevant configuration of local side apparatus is realized to automation and add, and by high priority, delete to detect to realize with ping bag the LLID in xDSL equipment is carried out to poll test;
2) do not need to do too much configuration operation, simplify test, shorten test period, reduce difficulty of test, improved operating efficiency.
Accompanying drawing explanation
Fig. 1 is system architecture schematic diagram of the present invention;
Fig. 2 is testing process schematic diagram of the present invention;
Fig. 3 is the testing process schematic diagram of a kind of specific embodiment of the present invention.
Embodiment
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, obviously, described embodiment is only the present invention's part embodiment, rather than whole embodiment.Embodiment based in the present invention, the every other embodiment that those of ordinary skills obtain under the prerequisite of not making creative work, belongs to the scope of protection of the invention.
It should be noted that, in the situation that not conflicting, embodiment and the feature in embodiment in the present invention can combine mutually.
Below in conjunction with the drawings and specific embodiments, the invention will be further described, but not as limiting to the invention.
With reference to Fig. 1, the synchronous polling automated testing method of logic-based link provided by the invention is applied to an xDSL device test system, xDSL device test system comprises: computer 11, the xDSL equipment 12 being connected with computer 11, xDSL equipment 12 connects a local side apparatus 13, and local side apparatus 13 connects external network 14.
With reference to figure 2, the synchronous polling automated testing method of logic-based link comprises the following steps:
Step s1: a plurality of for synchronize the LLID of identifying with local side apparatus by the configuration of xDSL equipment;
Step s2: the priority of LLID is set, and adds to local side apparatus according to a setting order automatic powder adding, form a LLID sequence;
Step s3: the priority of logic-based link identification reads LLID sequence successively;
Step s4: detect the whether synchronous success of LLID, if synchronously success discharges synchronous successfully LLID, and reads next LLID from LLID sequence; If synchronously unsuccessful, test finishes.
Preferably, in step s4, after discharging synchronous successfully LLID, also comprise a determining step, judge whether synchronous number of success is less than preset value, if synchronous number of success is less than described preset value, continue to read next LLID.
Described preset value is relevant to the number of LLID in LLID sequence in step S2.For example, the LLID in the LLID sequence forming by step S1 and step S2 is 7, so just described preset value can be set as to 7.
Above-mentioned setting order can be for priority be from height to low order.LLID can be for setting up the PVC sign of virtual connections, and PVC sign comprises VPI (Virtual PathIdentifier, VPI) and VCI (Virtual Connection Identifier, VCI).
Preferably, by sending on computers Ping message trigger, carry out the detection of Ping bag with the whether synchronous success of decision logic link identification.
, xDSL equipment 12 can be modulator-demodulator.Local side apparatus 13 can be Digital Subscriber Line Access Multiplexer (DSLAM).Computer connects the Ethernet interface of modulator-demodulator, and the RJ11 mouth of modulator-demodulator connects Digital Subscriber Line Access Multiplexer, the Ethernet interface connecting Internet of Digital Subscriber Line Access Multiplexer.
Referring to Fig. 3, testing process is specially:
Step s11: modulator-demodulator is done to corresponding configuration, make it comprise the PVC sign that several can be synchronous: as configuration PVC sign (VPI/VCI) can comprise 7, to be respectively 0/35,8/35,8/85,8/88,88/89,8/91,0/32;
Step s12: the PVC sign of needs test is added in DSLAM, and corresponding priority is set, form a PVC identifier;
As realized by order send (" pvc adsl0/2/1 $ vpi $ vci lan0/01 $ p disable on on55 "), in above-mentioned order, $ vpi fills in the value of VPI, the value that $ vci fills in VCI, and $ p fills in corresponding priority; Realization by PVC sign 0/35,8/35,8/85,8/88,88/89,8/91,0/32 according to priority order from high to low add in DSLAM;
Above-mentioned order can be carried out by writing command script.
Step s13: add good after, modulator-demodulator is synchronizeed with DSLAM and is connected within a certain period of time, and virtual circuit that should be first high with priority synchronizes, first PVC that reads PVC identifier identifies;
Step s14: detect the whether synchronous success of PVC sign; Can adopt by Ping message trigger second line of a couplet computer and whether successfully wrap to detect synchronously to ping of outer net transmission, and return to a testing result value; If synchronously unsuccessful, execution step s16; If synchronously success, second line of a couplet computer can obtain outer net address, discharges synchronous successfully PVC sign from PVC identifier;
Step s15: whether the synchronous successfully number of times of judgement is less than preset value (being added into the number of the PVC sign in DSLAM), for example in this embodiment, PVC is designated 7, by a variable being set if $ a is as judgment value, initial assignment is 0, once, judgment value equals $ a+1, if be less than 7 in every synchronous success, continue to read the next PVC sign of PVC identifier, and return to execution step s14; If this judgment value is more than or equal to 7, test finishes, and above-mentioned setting guarantees that the PVC sign automatic cycle in all DSLAM of being added into completes test.
Certainly, can also complete above-mentioned determining step by other hardware modes.
Step s16: test finishes.
Above-mentioned according to priority order from high to low detect one by one PVC whether synchronous success can be undertaken by cyclic program, realize poll test.Tester checks final testing result, only need check the PVC sign existing in DSLAM, and what remain is synchronous unsuccessful PVC sign.
The present invention realizes automation by the relevant configuration of local side apparatus DSLAM and adds, and by the effect that high priority is deleted and ping bag detection realization is carried out poll test to the PVC sign in xDSL equipment, it is tested one by one to the PVC sign in equipment; Tester needn't configure the loaded down with trivial details redundancy of effort that a PVC sign is tested at every turn, tests needed PVC sign and priority, and check test result by modification.
The present invention tests simply, does not need to do too much configuration operation; Reliability is high, has overcome the error that manual configuration may cause; Shorten test period, can remove the time that configures DSLAM originally from, after having tested, check test result; Reduce difficulty of test: tester does not need to be familiar with the configuration of DSLAM, only need check result, do not need to do other operations, and be suitable for expanding to the PVC sign test of all xDSL equipment.
The foregoing is only preferred embodiment of the present invention; not thereby limit embodiments of the present invention and protection range; to those skilled in the art; should recognize that being equal to that all utilizations specification of the present invention and diagramatic content done replace and the resulting scheme of apparent variation, all should be included in protection scope of the present invention.

Claims (8)

1. the synchronous polling automated testing method of a logic-based link, described method is applied to an xDSL device test system, described test macro comprises computer, the xDSL equipment being connected with described computer, described xDSL equipment connection one local side apparatus, described local side apparatus connects external network; It is characterized in that, said method comprising the steps of:
Step s1: a plurality of for synchronize the LLID of identifying with described local side apparatus by described xDSL equipment configuration;
Step s2: the priority of described LLID is set, and adds to described local side apparatus according to a setting order automatic powder adding, form a LLID sequence;
Step s3: the priority based on described LLID is successively to reading from described LLID sequence;
Step s4: detect the whether synchronous success of described LLID, if synchronously success discharges synchronous successful described LLID, and reads next LLID from described LLID sequence; If synchronously unsuccessful, test finishes.
2. the synchronous polling automated testing method of logic-based link according to claim 1, is characterized in that, described setting is sequentially that priority is from height to low order.
3. the synchronous polling automated testing method of logic-based link according to claim 1, is characterized in that, described LLID is the PVC sign of setting up virtual connections.
4. the synchronous polling automated testing method of logic-based link according to claim 3, is characterized in that, described PVC sign comprises VPI and VCI.
5. the synchronous polling automated testing method of logic-based link according to claim 1, is characterized in that, by send Ping message trigger on described computer, carries out the detection of Ping bag to judge the whether synchronous success of described LLID.
6. the synchronous polling automated testing method of logic-based link according to claim 1, is characterized in that, described xDSL equipment is modulator-demodulator.
7. the synchronous polling automated testing method of logic-based link according to claim 1, is characterized in that, described local side apparatus is Digital Subscriber Line Access Multiplexer.
8. the synchronous polling automated testing method of logic-based link according to claim 1, it is characterized in that, in step s4, after discharging synchronous successfully LLID, also comprise a determining step, judge whether synchronous number of success is less than preset value, if synchronous number of success is less than described preset value, continue to read next LLID.
CN201310511995.3A 2013-10-24 2013-10-24 A kind of synchronous polling automated testing method of logic-based link Active CN103546346B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201310511995.3A CN103546346B (en) 2013-10-24 2013-10-24 A kind of synchronous polling automated testing method of logic-based link

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201310511995.3A CN103546346B (en) 2013-10-24 2013-10-24 A kind of synchronous polling automated testing method of logic-based link

Publications (2)

Publication Number Publication Date
CN103546346A true CN103546346A (en) 2014-01-29
CN103546346B CN103546346B (en) 2016-12-07

Family

ID=49969421

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201310511995.3A Active CN103546346B (en) 2013-10-24 2013-10-24 A kind of synchronous polling automated testing method of logic-based link

Country Status (1)

Country Link
CN (1) CN103546346B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306135A (en) * 2014-07-16 2016-02-03 中兴通讯股份有限公司 Link polling detection method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089999A1 (en) * 2001-01-09 2002-07-11 Siemens Aktiengesellschaft Of Munich Method for double-ended line qualification and monitoring of xDSL links
CN101005414A (en) * 2007-01-17 2007-07-25 中兴通讯股份有限公司 Detection and processing device and method for multiple wire to DSL device
CN102546967A (en) * 2011-12-15 2012-07-04 深圳市共进电子股份有限公司 Method for testing data transmission performance of xDSL device
CN102662846A (en) * 2012-04-24 2012-09-12 广东欧珀移动通信有限公司 Testing method combining automatic tool and testing case

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20020089999A1 (en) * 2001-01-09 2002-07-11 Siemens Aktiengesellschaft Of Munich Method for double-ended line qualification and monitoring of xDSL links
CN101005414A (en) * 2007-01-17 2007-07-25 中兴通讯股份有限公司 Detection and processing device and method for multiple wire to DSL device
CN102546967A (en) * 2011-12-15 2012-07-04 深圳市共进电子股份有限公司 Method for testing data transmission performance of xDSL device
CN102662846A (en) * 2012-04-24 2012-09-12 广东欧珀移动通信有限公司 Testing method combining automatic tool and testing case

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105306135A (en) * 2014-07-16 2016-02-03 中兴通讯股份有限公司 Link polling detection method and device
CN105306135B (en) * 2014-07-16 2018-03-23 中兴通讯股份有限公司 Link polling detection method and device

Also Published As

Publication number Publication date
CN103546346B (en) 2016-12-07

Similar Documents

Publication Publication Date Title
US20130101092A1 (en) Handheld subscriber line test equipment
CN101873236B (en) Method and system for testing message
CN101494560B (en) Method, apparatus and system for configuring master-salve network device
CN101072047B (en) DSLAN port fast detecting device
CN105991358A (en) Method, device, test board and system for testing traffic of interface board
CN108052094A (en) A kind of extension card identification method, device and frequency converter
CN110601919A (en) Loopback detection method and system
CN108804260A (en) A kind of method and apparatus that SRIO systems are switched
CN112511375B (en) Automatic test method for intelligent substation process level GOOSE dual-network receiving mechanism
CN106326095A (en) Test script setting method and system
CN103546346A (en) Synchronous polling automatic testing method based on logic link
CN102014023B (en) VB Script based automatic testing method of network equipment products
CN101494600B (en) Network configuration method and apparatus for mirror-image monitoring message information of ADSL terminal
Hwang et al. Test selection for a nondeterministic FSM
US20080205285A1 (en) Remote network element testing in a broadband communications network
US9167079B1 (en) Subscriber cable pair identification
CN113687992A (en) Onboard equipment power-on and power-off test method
CN113163059A (en) IPPBX performance detection method, terminal device and storage medium
CN108155979B (en) Detection equipment
CN100454954C (en) Fast initializing method for asymmetric digital user loop local side apparatus
CN201048421Y (en) DSLAM port fast testing apparatus
CN111371654B (en) Automatic testing system and method for intelligent fusion product network port
CN105049644B (en) It is mutually dialed based on VOIP automatization test system and test method
CN108347344A (en) A kind of method and device that order is retransmitted
CN101247433A (en) Uninterrupted test system and method for digital subscriber line

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
C14 Grant of patent or utility model
GR01 Patent grant
PP01 Preservation of patent right

Effective date of registration: 20180313

Granted publication date: 20161207

PP01 Preservation of patent right
PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20210313

Granted publication date: 20161207

PP01 Preservation of patent right
PP01 Preservation of patent right

Effective date of registration: 20210313

Granted publication date: 20161207

PD01 Discharge of preservation of patent
PD01 Discharge of preservation of patent

Date of cancellation: 20240313

Granted publication date: 20161207