CN100442722C - Method and device for diagnosing network faults - Google Patents
Method and device for diagnosing network faults Download PDFInfo
- Publication number
- CN100442722C CN100442722C CNB200510053457XA CN200510053457A CN100442722C CN 100442722 C CN100442722 C CN 100442722C CN B200510053457X A CNB200510053457X A CN B200510053457XA CN 200510053457 A CN200510053457 A CN 200510053457A CN 100442722 C CN100442722 C CN 100442722C
- Authority
- CN
- China
- Prior art keywords
- cpe
- fault
- user
- network
- bas
- 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)
Abstract
本发明公开了一种网络故障的诊断方法,以解决现有技术中在诊断网络故障时存在定位不准确、定位时间长和成本高的问题;所述方法为:网络侧接收并记录用户的故障申告;判断申告故障的用户通话是否正常,若不正常则确定用户线路故障,否则,从所述用户对应的用户驻地设备CPE向网络侧发起连通性测试命令,根据测试结果判断协议层连通性是否正常,若不正常则确定协议层连通性故障,否则,从所述CPE向网络侧发送仿真协议操作或/和请求,并根据操作结果确定网络协议是否正常。本发明还同时公开了一种网络故障诊断装置。
The invention discloses a network fault diagnosis method to solve the problems of inaccurate positioning, long positioning time and high cost in diagnosing network faults in the prior art; the method is as follows: the network side receives and records the user's fault Declare; determine whether the call of the user reporting the fault is normal, if not, determine that the user line is faulty, otherwise, initiate a connectivity test command from the customer premise equipment CPE corresponding to the user to the network side, and judge whether the connectivity of the protocol layer is based on the test result Normal, if not normal, then determine the protocol layer connectivity failure, otherwise, send a simulation protocol operation or/and request from the CPE to the network side, and determine whether the network protocol is normal according to the operation result. The invention also discloses a network fault diagnosis device at the same time.
Description
技术领域technical field
本发明涉及宽带网络技术,尤其涉及数字用户线(DSL)宽带网络故障的诊断方法及其装置。The invention relates to broadband network technology, in particular to a fault diagnosis method and device of a Digital Subscriber Line (DSL) broadband network.
背景技术Background technique
用户接入DSL宽带网络需要经过DSL用户驻地设备(CPE)、数字用户线接入模块(DSLAM)(CPE和DSLAM为DSL接入设备)、宽带接入服务器(BAS)、DNS服务器(DNS Server)等多种设备,当用户遇到网络故障的时候,需要多个职能部门(计费中心、网管中心、测量室、地面局和外线班等)协调合作来发现和排除故障。User access to DSL broadband network needs to go through DSL customer premise equipment (CPE), digital subscriber line access module (DSLAM) (CPE and DSLAM are DSL access equipment), broadband access server (BAS), DNS server (DNS Server) When a user encounters a network failure, multiple functional departments (billing center, network management center, measurement room, ground bureau, and outside line team, etc.) need to coordinate and cooperate to find and eliminate the failure.
目前,针对DSL网络排障,电信运营商一般先在测量室采用宽带测试板方案进行线路的测试,通过网管支持抓线功能来定位线路故障。若不是线路故障,则通过网管中心人员查看端口状态,确定是否有故障,或者由外线人员到用户终端所在地协助了解故障现象,然后各方反复沟通定位,根据经验逐步排查故障。在排除故障后,需要通知用户尝试是否可以正常使用宽带网络。At present, for DSL network troubleshooting, telecom operators generally use the broadband test board solution to test the line in the measurement room, and use the network management to support the line grabbing function to locate line faults. If it is not a line failure, the network management center personnel check the port status to determine whether there is a failure, or the outside personnel go to the location of the user terminal to assist in understanding the failure phenomenon, and then all parties communicate and locate repeatedly, and gradually troubleshoot the failure based on experience. After troubleshooting, users need to be notified to try to see if the broadband network can be used normally.
上述的故障定位方法存在以下缺点:The above-mentioned fault location method has the following disadvantages:
1、线路故障在整个宽带网络故障中所占比例一般小于20%,而线路测试需要采用价格昂贵的宽带测试头,所以会因成本问题而使其实施受到限制,尤其是在中小局点。1. Line faults generally account for less than 20% of all broadband network faults, and line tests require expensive broadband test heads, so their implementation will be limited due to cost issues, especially in small and medium sites.
2、整个排障过程靠经验来逐步排查,不仅时间长和人力成本高,而且定位也不完全准确。2. The entire troubleshooting process relies on experience to check step by step, which not only takes a long time and high labor costs, but also the positioning is not completely accurate.
3、排障过程需要用户在现场配合,这样导致排障周期由于人为因素而过长,也影响客户满意度。3. The troubleshooting process requires the cooperation of the user on site, which leads to a long troubleshooting cycle due to human factors, and also affects customer satisfaction.
发明内容Contents of the invention
本发明提供一种网络故障的诊断方法及其装置,以解决现有技术中在诊断网络故障时存在定位不准确、定位时间长和成本高的问题。The invention provides a network fault diagnosis method and its device to solve the problems of inaccurate positioning, long positioning time and high cost in diagnosing network faults in the prior art.
一种网络故障的诊断方法,所述网络中的用户终端依次通过用户驻地设备(CPE)、数字用户线接入模块(DSLAM)、宽带接入服务器(BAS)接入外部网络,包括如下步骤:A method for diagnosing a network fault, wherein a user terminal in the network accesses an external network through a customer premises equipment (CPE), a digital subscriber line access module (DSLAM), and a broadband access server (BAS) successively, comprising the steps of:
A、网管侧接收并记录用户的故障申告;B、判断申告故障的用户通话是否正常,若正常则继续步骤C,否则确定用户线路故障;C、从所述用户对应的用户驻地设备(CPE)向网络侧发起连通性测试命令,根据测试结果判断协议层连通性是否正常,若是则继续步骤D,否则,确定协议层连通性故障;D、从所述CPE向网络侧发送仿真协议操作或/和请求,并根据操作结果确定网络协议是否正常。A, the network management side receives and records the failure report of the user; B, judges whether the communication of the user reporting the failure is normal, if normal, then proceed to step C, otherwise determine that the user line is faulty; C, from the corresponding customer premises equipment (CPE) of the user Initiate a connectivity test command to the network side, judge whether the protocol layer connectivity is normal according to the test results, if so, continue to step D, otherwise, determine the protocol layer connectivity failure; D, send the simulation protocol operation or/or from the CPE to the network side and request, and determine whether the network protocol is normal according to the operation result.
步骤A中,在用户申告故障时通过语音提示用户输入通话是否正常的信息,在步骤B中根据该信息直接判断该用户通话是否正常;或者,在步骤B中,通过向用户号码发起呼叫来判断用户通话是否正常。In step A, when the user declares a fault, the user is prompted by voice to input information about whether the call is normal, and in step B, it is directly judged whether the user’s call is normal according to the information; or, in step B, it is judged by initiating a call to the user number Whether the user's call is normal.
步骤C包括以下步骤:Step C includes the following steps:
C1、对数字用户线接入模块(DSLAM)端口进行激活和去激活操作,若激活和去激活正常则继续步骤C2,否则确定局端故障;C2、对用户驻地设备(CPE)进行远程复位,若不能正常复位则确定该CPE故障,否则继续步骤C3;C3、从CPE向宽带接入服务器(BAS)发起Ping命令,如果BAS应答正常,则继续步骤C4,否则确定CPE与BAS间连通性故障;C4、从CPE分别向BAS到网络方向上的网络控制设备发起Ping命令,如果各网络控制设备应答正常,则继续后续步骤;否则确定BAS到非正常应答的网络控制设备之间存在连通性故障。C1, activate and deactivate the digital subscriber line access module (DSLAM) port, if the activation and deactivation are normal, then continue to step C2, otherwise determine that the central office is faulty; C2, carry out remote reset to the customer premises equipment (CPE), If it cannot be reset normally, it is determined that the CPE is faulty, otherwise continue to step C3; C3, initiate a Ping command from the CPE to the broadband access server (BAS), if the BAS responds normally, then continue to step C4, otherwise it is determined that the connectivity between the CPE and the BAS is faulty ; C4. Initiate a Ping command from the CPE to the network control equipment in the direction from the BAS to the network. If each network control equipment responds normally, proceed to the subsequent steps; otherwise, it is determined that there is a connectivity fault between the BAS and the network control equipment that responds abnormally. .
步骤D包括如下步骤:Step D comprises the following steps:
D1、从CPE向BAS发起仿真的PPP呼叫,判断BAS对PPP呼叫的响应是否正常,若是则继续步骤D2,否则确定BAS协议层故障;D2、从CPE向域名服务器(DNS)发起域名解析请求,若DNS服务器应答不正常,则确定DNS协议层故障。若确定DNS正常,还包括下述步骤:D3、从CPE发起文件传输协议(FTP)速率测试,根据从CPE到标准文件传输协议(FTP)测试服务器的测试结果,确定是否存在本地网络和/或外部网络速率低。D1, initiate the PPP call of emulation from CPE to BAS, judge whether BAS is normal to the response of PPP call, if then continue step D2, otherwise determine BAS protocol layer failure; D2, initiate domain name resolution request from CPE to domain name server (DNS), If the DNS server responds abnormally, it is determined that the DNS protocol layer is faulty. If it is determined that the DNS is normal, it also includes the following steps: D3, initiating a file transfer protocol (FTP) speed test from the CPE, and determining whether there is a local network and/or according to the test result from the CPE to the standard file transfer protocol (FTP) test server The external network speed is low.
一种网络故障诊断装置,包括:A network fault diagnosis device, comprising:
诊断管理单元,用于建立网络中用户和相关网络资源之间的映射关系,接收并记录用户的故障申告,判定申告故障的用户通话异常,则确定用户线路故障;判定申告故障的用户通话正常,则下发连通性测试命令,并根据接收的测试结果判断协议层连通性是否正常,若异常,则确定协议层连通性故障;若正常,则下发仿真测试命令,并根据接收的测试结果确定网络协议是否正常;The diagnosis management unit is used to establish the mapping relationship between users and related network resources in the network, receive and record the user's failure report, and determine that the user's line failure is determined if the user who declares the failure is abnormal; Then issue a connectivity test command, and judge whether the connectivity of the protocol layer is normal according to the received test result. If it is abnormal, determine that the connectivity of the protocol layer is faulty; Whether the network protocol is normal;
诊断代理单元,用于根据所述诊断管理单元下发的连通性测试命令,从用户对应的用户驻地设备CPE向网络侧发起连通性测试命令,并向诊断管理单元返回测试结果;以及根据所述诊断管理单元下发的仿真测试命令,从所述CPE向网络侧发送仿真协议操作或/和请求,并向诊断管理单元返回测试结果。The diagnostic agent unit is configured to initiate a connectivity test command from the customer premises equipment CPE corresponding to the user to the network side according to the connectivity test command issued by the diagnostic management unit, and return the test result to the diagnostic management unit; and according to the The simulation test command issued by the diagnosis management unit sends a simulation protocol operation or/and request from the CPE to the network side, and returns the test result to the diagnosis management unit.
所述诊断管理单元包括:The diagnostic management unit includes:
故障申告接口模块,用于接收与故障相关的申告信息;A fault report interface module, configured to receive report information related to faults;
用户资源管理模块,用于将用户信息绑定到用户使用的物理端口;The user resource management module is used to bind user information to the physical port used by the user;
诊断配置管理模块,用于配置测试参数;Diagnosis configuration management module, used to configure test parameters;
网管接口模块,用于下发测试命令;Network management interface module, used to issue test commands;
测试任务管理模块,用于根据配置测试参数建立测试任务,并收集测试结果;The test task management module is used to establish test tasks according to configuration test parameters and collect test results;
故障诊断分析模块,用于根据测试结果进行故障分析。The fault diagnosis and analysis module is used for fault analysis according to the test results.
所述诊断管理单元还包括:Web服务访问支持模块,用于提供浏览器方式的访问。The diagnosis management unit further includes: a Web service access support module, which is used to provide browser access.
本发明具有以下有益效果:The present invention has the following beneficial effects:
1、通过本系统的自动故障诊断功能,电信维护人员可以迅速定位故障段,提高查障速度。1. Through the automatic fault diagnosis function of this system, telecom maintenance personnel can quickly locate the fault section and improve the troubleshooting speed.
2、通过语音提示的改造,强制用户上电,减少自动故障诊断的误判断,并且收集了线路通断情况。2. Through the transformation of the voice prompt, the user is forced to power on, reducing the misjudgment of the automatic fault diagnosis, and collecting the connection and disconnection of the line.
3、通过系统自动进行的验证测试,电信维护人员排障后,不需要用户配合,即可进行网络正常与否的验证。3. Through the verification test automatically performed by the system, after the telecom maintenance personnel troubleshoot, they can verify whether the network is normal or not without the cooperation of the user.
4、通过本系统的自动故障诊断,采用标准FTP参考服务器和标准参考网站,本地电信维护人员可以判断是接入网络的故障还是外部网络(城域网)不同路由局向的故障。4. Through the automatic fault diagnosis of this system, using the standard FTP reference server and standard reference website, the local telecom maintenance personnel can judge whether it is the fault of the access network or the fault of different routing bureaus of the external network (MAN).
5、系统结合用户资源管理,直接基于用户申告电话号码进行排障,减少了维护人员在多个系统中操作的不便。5. Combined with user resource management, the system performs troubleshooting directly based on the user's declared phone number, which reduces the inconvenience for maintenance personnel to operate in multiple systems.
6、本发明为基于终端管理的方案,解决了网络80%的故障,不需要宽带测试头,因此适合于中小局点的诊断测试。6. The present invention is a solution based on terminal management, which solves 80% of network failures and does not require a broadband test head, so it is suitable for diagnostic testing of small and medium sites.
附图说明Description of drawings
图1为宽带系统端到端协议栈示意图;Figure 1 is a schematic diagram of an end-to-end protocol stack of a broadband system;
图2为本发明的故障诊断装置及其所在系统的组网示意图;Fig. 2 is a fault diagnosis device of the present invention and a schematic diagram of networking of the system where it is located;
图3为故障诊断装置中的诊断管理单元的结构示意图;Fig. 3 is a structural schematic diagram of a diagnosis management unit in the fault diagnosis device;
图4为本发明中诊断连通性故障的流程图;Fig. 4 is the flowchart of diagnosing connectivity failure among the present invention;
图5为本发明中诊断协议层故障的流程图。Fig. 5 is a flow chart of diagnosing protocol layer faults in the present invention.
具体实施方式Detailed ways
从宽带网络上网业务运行环节,可以将整个业务通路划分为PC、PC-用户驻地设备(CPE)、CPE、CPE-数字用户线接入模块(DSLAM)、DSLAM、DSLAM-宽带接入服务器(BAS)、BAS、BAS-intetnet服务器和internet服务器环节,所有这些环节都可能存在问题,本地电信网络运营商的管理范围是CPE到BAS之间,本发明覆盖PC-CPE、CPE、CPE-DSLAM、DSLAM、DSLAM-BAS、BAS、BAS-internet服务器这些环节的故障诊断和定位,本发明不诊断PC和internet服务器本身的故障。所述CPE指DSL网络中应用的终端设备,包括ADSL CPE、VDSLCPE、G.SHDSL CPE等。From the aspect of broadband network Internet access service operation, the entire service channel can be divided into PC, PC-Customer Premise Equipment (CPE), CPE, CPE-Digital Subscriber Line Access Module (DSLAM), DSLAM, DSLAM-Broadband Access Server (BAS ), BAS, BAS-intetnet server and internet server links, all these links may have problems, the management scope of the local telecom network operator is between CPE and BAS, and the present invention covers PC-CPE, CPE, CPE-DSLAM, DSLAM , DSLAM-BAS, BAS, BAS-internet server these links fault diagnosis and location, the present invention does not diagnose the fault of PC and internet server itself. The CPE refers to the terminal equipment used in the DSL network, including ADSL CPE, VDSLCPE, G.SHDSL CPE, etc.
参阅图1所示,普通端对端协议(PPP)拨号用户在拨号过程中和上网过程中的协议描述如下(注:PPP拨号是当前大部分个人普通用户实用的方式):Referring to shown in Fig. 1, common end-to-end protocol (PPP) dial-up user's protocol description in the dial-up process and surfing the Internet process is as follows (note: PPP dial-up is the practical mode of most individual ordinary users at present):
1、PPP拨号过程协议描述1. PPP dial-up process protocol description
(1)在PPP拨号的时候,用户在PC端发起PPP呼叫并请求认证,该认证请求承载在以太网帧(MAC)上。(1) During PPP dialing, the user initiates a PPP call on the PC side and requests authentication, and the authentication request is carried on the Ethernet frame (MAC).
(2)在CPE上,将MAC帧封装在ATM信元,并打包在DSL超帧上。(2) On the CPE, encapsulate the MAC frame in the ATM cell and pack it in the DSL superframe.
(3)在CPE和局端DSLAM接入设备之间通过定长的DSL超帧交互数据。(3) Data is exchanged between the CPE and the central office DSLAM access device through fixed-length DSL superframes.
(4)DSLAM将ATM信元从DSL超帧解下来,如果是ATM上行接口的DSLAM,就和BAS认证设备之间通过ATM信元方式通讯;如果是IP上行接口的DSLAM,还需要从ATM信元还原为MAC帧,并通过MAC帧和BAS认证设备之间进行通讯。(4) The DSLAM unpacks the ATM cells from the DSL superframe. If it is a DSLAM with an ATM uplink interface, it communicates with the BAS authentication device through ATM cells; if it is a DSLAM with an IP The element is restored to the MAC frame, and communicates with the BAS authentication device through the MAC frame.
(5)BAS从MAC帧中解出PPP拨号认证请求包,进行认证,如果通过认证,分配一个IP地址,包含在PP响应中,按照和认证请求相反的方向发送给PC,这样用户就拥有IP地址,即可上网。其中,PPP呼叫在BAS上终结。(5) The BAS extracts the PPP dial-up authentication request packet from the MAC frame and performs authentication. If the authentication is passed, an IP address is allocated, included in the PP response, and sent to the PC in the opposite direction to the authentication request, so that the user has an IP address, you can go online. Among them, the PPP call is terminated on the BAS.
2、上网过程中协议描述2. Protocol description in the process of surfing the Internet
(1)上网的时候,用户在PC端使用的所有应用层、会话层协议(比如HTTP请求、FTP、SMTP等)均承载在IP包上,由于各种应用很多,但是都属于上层协议,这里省略了IP包以上的应用包的列举。所有IP包承载在以太网帧(MAC)上。(1) When surfing the Internet, all application layer and session layer protocols (such as HTTP requests, FTP, SMTP, etc.) used by users on the PC side are carried on IP packets. Since there are many applications, they all belong to the upper layer protocol. Here The enumeration of application packets above the IP packet is omitted. All IP packets are carried on Ethernet frames (MAC).
(2)在CPE上,将MAC帧封装在ATM信元,并打包在DSL超帧上。(2) On the CPE, encapsulate the MAC frame in the ATM cell and pack it in the DSL superframe.
(3)在CPE和局端DSLAM接入设备之间通过定长的DSL超帧交互数据。(3) Data is exchanged between the CPE and the central office DSLAM access device through fixed-length DSL superframes.
(4)DSLAM将ATM信元从DSL超帧解下来,如果是ATM上行接口的DSLAM,就和BAS认证设备之间通过ATM信元方式通讯;如果是IP上行接口的DSLAM,还需要从ATM信元还原为MAC帧,并通过MAC帧和BAS认证设备之间进行通讯。(4) The DSLAM unpacks the ATM cells from the DSL superframe. If it is a DSLAM with an ATM uplink interface, it communicates with the BAS authentication device through ATM cells; if it is a DSLAM with an IP The element is restored to the MAC frame, and communicates with the BAS authentication device through the MAC frame.
(5)BAS接收到IP包,直接转发给internet上的路由器,最终到达上层协议要求的internet服务器。Internet服务器将应用层协议的响应报文打包到IP包上,返回给BAS,BAS通过相反方向将数据传送到用户PC机。(5) BAS receives the IP packet, forwards it directly to the router on the Internet, and finally reaches the Internet server required by the upper layer protocol. The Internet server packs the response message of the application layer protocol into an IP packet and returns it to the BAS, and the BAS transmits the data to the user's PC in the opposite direction.
为了能够低成本和快速的诊断DSL宽带网络故障,本发明在用户申告故障后,通过电话号码在系统资源管理查询到对应的用户资源,先判断用户线路是否正常;如果用户线路正常,则自动下发命令从用户驻地设备(CPE)向网络侧发起连通性测试命令,根据测试结果判断协议层连通性是否正常;如果协议层连通性正常,则从CPE发起仿真性测试,即在CPE发起仿真协议操作或/和请求发往网络侧,并根据操作结果确定网络协议是否正常。In order to be able to diagnose DSL broadband network faults at low cost and quickly, the present invention finds the corresponding user resource through the phone number in the system resource management after the user declares the fault, and first judges whether the user line is normal; if the user line is normal, it automatically downloads Send a command to initiate a connectivity test command from the customer premises equipment (CPE) to the network side, and judge whether the protocol layer connectivity is normal according to the test result; if the protocol layer connectivity is normal, initiate a simulation test from the CPE, that is, initiate a simulation protocol at the CPE The operation or/and request is sent to the network side, and it is determined whether the network protocol is normal according to the operation result.
参阅图2所示,本发明的故障诊断装置包括诊断管理单元和诊断代理单元。诊断管理单元设置在网管侧,诊断代理单元可设置在CPE中。诊断管理单元负责建立用户和相关网络资源之间的映射关系,并自动下发系列测试命令给CPE中的诊断代理单元;诊断代理单元接收到测试命令后自动执行相应的测试操作,并向诊断管理单元返回测试结果,诊断管理单元对测试结果进行故障段分析和协议层分析,定位故障段并输出故障原因。Referring to Fig. 2, the fault diagnosis device of the present invention includes a diagnosis management unit and a diagnosis agent unit. The diagnosis management unit is arranged on the network management side, and the diagnosis agent unit can be arranged in the CPE. The diagnosis management unit is responsible for establishing the mapping relationship between users and related network resources, and automatically sends a series of test commands to the diagnosis agent unit in the CPE; The unit returns the test result, and the diagnosis management unit analyzes the fault segment and the protocol layer of the test result, locates the fault segment and outputs the cause of the fault.
参阅图3所示,诊断管理单元包括:Referring to Figure 3, the diagnosis management unit includes:
Web服务访问支持模块:系统基于Apache平台,通过Web服务访问控制层,提供IE方式的访问,实现零客户端安装(即不需要安装任何客户端,使用PC操作系统所带的internet explorer即可)。Web service access support module: the system is based on the Apache platform, provides IE access through the Web service access control layer, and realizes zero client installation (that is, it does not need to install any client, just use the internet explorer that comes with the PC operating system) .
故障申告接口模块:用于连接电信运营商的运营支撑系统(Operation SupportSystem,OSS)故障申告单系统,自动接受故障申告的相关申告信息,以实现自动的故障诊断功能。Fault report interface module: used to connect to the fault report form system of the telecom operator's Operation Support System (OSS), and automatically accept the relevant report information of the fault report to realize the automatic fault diagnosis function.
用户资源管理模块:将宽带用户名、账号、电话号码和用户使用的具体物理端口定位信息绑定,支持进行申告用户的查询。User resource management module: Bind the broadband user name, account number, phone number and the specific physical port location information used by the user, and support the query of the declared user.
故障诊断分析模块:根据用户测试的结果,进行故障的分析判断,提供一键诊断(包括分步诊断)的功能。Fault diagnosis and analysis module: According to the results of user tests, analyze and judge faults, and provide the function of one-key diagnosis (including step-by-step diagnosis).
诊断配置管理模块:用户根据需要,配置各种测试参数,形成不同的配置模板,供测试时候使用。Diagnosis configuration management module: the user configures various test parameters according to needs, and forms different configuration templates for use during testing.
测试任务管理模块:根据用户,采用诊断配置自动建立测试任务,收集测试结果,提供给诊断分析模块进行查障。Test task management module: According to the user, the test task is automatically established by using the diagnostic configuration, the test results are collected, and provided to the diagnostic analysis module for troubleshooting.
网管接口模块:用于连接网管系统,通过网管系统向设备下发简单网络管理协议(SNMP)命令,要求执行测试功能。Network management interface module: used to connect to the network management system, and issue Simple Network Management Protocol (SNMP) commands to the equipment through the network management system to request the execution of test functions.
在用户无法上网时,需要通过向电信局的112或者10000进行故障申告,留下其电话号码。网管系统根据该电话号码即可查到用户线路对应的设备端口和CPE。为了判断用户线路是否正常,比较简单的方法是在故障申告的语音提示中要求用户输入打电话是否正常的信息,将用户的电话号码和该信息记录到网管数据库中。当然,也可以不要求用户输入,而通过系统主动呼叫用户号码来确定线路是否正常。When the user cannot access the Internet, he needs to report the failure to 112 or 10000 of the telecommunications bureau and leave his phone number. The network management system can find out the equipment port and CPE corresponding to the user line according to the telephone number. In order to judge whether the user's line is normal, a relatively simple method is to ask the user to input whether the call is normal in the voice prompt of the fault report, and record the user's phone number and the information into the network management database. Of course, the user may not be required to input, but the system may actively call the user number to determine whether the line is normal.
为了在定位故障和排障时不需要用户配合,在用户的申告故障的时候通过提示音来提示用户申告后打开CPE的电源。In order to not require the cooperation of the user when locating the fault and troubleshooting, when the user reports the fault, the prompt sound is used to prompt the user to turn on the power of the CPE after reporting the fault.
接到用户申告故障工单后,诊断管理单元即可从网管数据库中查找到申告故障的电话号码对应的用户资源,使用SNMP协议自动下发各种测试命令给DSLAM和CPE上的诊断代理单元来执行申告用户网络通路的上的各种仿真和物理测试,并将测试结果上报到诊断管理单元;诊断管理单元根据测试的结果进行故障段和协议层分析,以图形方式输出测试结果并提示相应的故障原因。After receiving the trouble report work order from the user, the diagnosis management unit can find the user resources corresponding to the telephone number that reported the trouble from the network management database, and use the SNMP protocol to automatically send various test commands to the diagnosis agent unit on the DSLAM and CPE to Execute various simulation and physical tests on the network path of the reporting user, and report the test results to the diagnosis management unit; the diagnosis management unit analyzes the fault segment and protocol layer according to the test results, outputs the test results in a graphical form and prompts the corresponding cause of issue.
参阅图4所示,诊断IP层连通性是否存在故障的过程如下:Referring to Figure 4, the process of diagnosing whether there is a fault in the connectivity of the IP layer is as follows:
步骤10:根据用户的电话号码查找到用户输入的通话是否正常信息,如果用户确定通话正常,则进行步骤11,否则确定用户线路故障。Step 10: According to the user's phone number, find out whether the call entered by the user is normal, if the user determines that the call is normal, go to step 11, otherwise determine that the user's line is faulty.
步骤11:对DSLAM端口进行去激活、激活操作,以保障局端端口问题的排除,若能正常激活,则进行步骤12;否则确定局端出现故障。Step 11: Deactivate and activate the DSLAM port to ensure that the central office port problem is eliminated. If it can be activated normally, proceed to step 12; otherwise, it is determined that the central office is faulty.
局端出现故障后可以通过换端口等替换法进行排除。After the local end fails, it can be eliminated by changing the port and other replacement methods.
步骤12:远程复位CPE,若CPE复位正常,则进行步骤13,否则确定CPE故障。Step 12: Remotely reset the CPE. If the CPE is reset normally, go to
由于某些故障可能是CPE软件故障问题,因此,在进行系列检测前需要进行远程对CPE复位,排除一般性软件故障(由于最终使用者的水平差异问题,即使当前在申告台的提示音或者人工台要求用户进行复位后,系统也需要自动进行该操作,以保障整个流程判障的基础)。对于CPE故障可以采用替换法来排障。Because some faults may be caused by CPE software faults, it is necessary to reset the CPE remotely before performing a series of tests to eliminate general software faults (due to the difference in the level of end users, even if the prompt tone or manual After the platform requires the user to perform a reset, the system also needs to automatically perform this operation to ensure the basis for fault judgment in the entire process). For CPE faults, the replacement method can be used to troubleshoot.
步骤13:从CPE发起ping测试,Ping的目的地址为BAS的IP地址,以检测从CPE到BAS的连通性,若BAS返回正常的Ping测试结果,则表明CPE到BAS的连通性正常,进行步骤14;否则确定CPE与BAS之间存在连通性故障,进行步骤15。Step 13: Initiate a ping test from the CPE. The destination address of the ping is the IP address of the BAS to detect the connectivity from the CPE to the BAS. If the BAS returns a normal ping test result, it indicates that the connectivity from the CPE to the BAS is normal. Proceed to the
步骤14:从CPE发起到DNS服务器、出口路由器、internet服务器的ping测试,若各服务器均能返回正常的Ping测试结果,则表明CPE到各服务器的连通性正常,否则确定CPE到返回不正常的Ping测试结果的服务器之间存在连通性故障。Step 14: Initiate a ping test from the CPE to the DNS server, egress router, and internet server. If each server can return a normal ping test result, it indicates that the connectivity between the CPE and each server is normal. Otherwise, it is determined that the CPE returns abnormally. There is a connectivity failure between the servers of the Ping test results.
步骤15:进行异步传输模式(ATM)层F5环回,依次检测BAS到DSLAM的连通性,DSLAM到CPE的连通性,对ATM层发现的故障采用替换法进行排障。如果ATM层检测没有问题,则确定BAS或者DSLAM的IP层软件存在问题,可以通过换端口或者加载软件等方法排障。Step 15: Perform asynchronous transfer mode (ATM) layer F5 loopback, sequentially detect the connectivity from the BAS to the DSLAM, and the connectivity from the DSLAM to the CPE, and troubleshoot the faults found in the ATM layer using the replacement method. If there is no problem with the ATM layer detection, it is determined that there is a problem with the IP layer software of the BAS or DSLAM, and you can troubleshoot by changing the port or loading the software.
OAMF5层环回,即在ATM信元中插入OAM环回诊断信元,实现ATM层的数据传输质量诊断:首先从BAS的ATM(下行端口)环回到申告用户对应的DSL端口,来检测DSLAM和BAS之间ATM层的连接情况;然后,从DSLAM的ATM端口环回到CPE的DSL端口,检测DSLAM和CPE之间ATM连接情况(由CPE的诊断代理单元提供支持)。OAMF5 layer loopback, that is, inserting OAM loopback diagnostic cells into ATM cells to realize data transmission quality diagnosis at the ATM layer: first loop back from the ATM (downlink port) of the BAS to the DSL port corresponding to the reporting user to detect the DSLAM ATM layer connection between DSLAM and BAS; then loop back from ATM port of DSLAM to DSL port of CPE to detect ATM connection between DSLAM and CPE (supported by diagnostic agent unit of CPE).
如果到IP层连通性正常,则需要测试协议层是否存在故障。如图5所示,协议层的测试过程如下:If the connectivity to the IP layer is normal, you need to test whether the protocol layer is faulty. As shown in Figure 5, the testing process of the protocol layer is as follows:
步骤20:从CPE发起PPP(点对点)仿真测试,即从CPE上发起类似PC的PPP呼叫(与用户通过CPE进行呼叫的过程一致),根据BAS设备返回结果确定BAS对PPP呼叫的响应是否正常,若正常则进行步骤21,否则确定BAS协议层故障。Step 20: Initiate a PPP (point-to-point) simulation test from the CPE, that is, initiate a PPP call similar to a PC from the CPE (consistent with the process that the user calls through the CPE), and determine whether the response of the BAS to the PPP call is normal according to the BAS equipment return result, If it is normal, go to step 21; otherwise, it is determined that the BAS protocol layer is faulty.
根据PPP呼叫返回的失败原因,可定位出是否为BAS分配IP地址不成功,或者,是否认证密码不正确等多种原因(由CPE上的诊断代理单元支持)。According to the failure reason returned by the PPP call, it can be located whether the IP address allocation for the BAS is unsuccessful, or whether the authentication password is incorrect and other reasons (supported by the diagnostic agent unit on the CPE).
步骤21:进行域名服务器(DNS)仿真测试,即通过CPE发起DNS请求来模拟用户PC上网请求域名解析过程,根据DNS服务器返回结果判断DNS协议应答是否正常,若正常则进行步骤22,否则确定DNS存在故障。Step 21: Carry out a domain name server (DNS) simulation test, that is, initiate a DNS request through the CPE to simulate the domain name resolution process of the user's PC online request, and judge whether the DNS protocol response is normal according to the result returned by the DNS server. If it is normal, proceed to step 22, otherwise determine the DNS There is a glitch.
步骤22:进行文件传输协议(FTP)测速,即从CPE向标准FTP测试服务器发起FTP请求,并根据下载文件的大小和下载时间来计算FTP下载速率。若存在FTP速率慢,则进行步骤23,若存在协议不支持情况,则给予提示。Step 22: Perform file transfer protocol (FTP) speed measurement, that is, initiate an FTP request from the CPE to a standard FTP test server, and calculate the FTP download rate according to the size and download time of the downloaded file. If there is a slow FTP rate, then proceed to step 23, and if there is a situation that the protocol is not supported, then a prompt is given.
根据从CPE到标准FTP测试服务器的测试结果可确定是本地网络还是外部网络速率慢。According to the test results from the CPE to the standard FTP test server, it can be determined whether the speed of the local network or the external network is slow.
步骤23:多次重新激活CPE,通过线路激活参数和FTP测速,判断是激活速率低还是高层协议速率低,如果是激活速率低,可以确定是线路端老化和串扰造成,如果激活速率正常,而FTP速率低,则确定是网络侧出口瓶颈问题,需要调整该局向上的带宽。Step 23: Reactivate the CPE multiple times, and judge whether the activation rate is low or the high-layer protocol rate is low through line activation parameters and FTP speed measurement. If the activation rate is low, it can be determined that it is caused by aging and crosstalk at the line end. If the activation rate is normal, and If the FTP rate is low, it is determined to be an egress bottleneck on the network side, and the upward bandwidth of the office needs to be adjusted.
所有故障排障后,都需要重新进行PPP仿真测试和FTP测试来确保用户网络可用性。如果验证测试中发现问题,就重新进行诊断。如果验证测试正常,则通知客户故障已排除。After all troubleshooting, it is necessary to perform PPP simulation test and FTP test again to ensure user network availability. If problems are found during verification testing, re-diagnose. If the verification test is normal, the customer is notified that the fault has been rectified.
为了测试更加方便,可以定制以下的测试模板:For more convenient testing, the following test templates can be customized:
定制Ping测试目的IP模板:针对不同的动态主机配置协议(DHCP)服务器、DNS服务器、BAS服务器、接入internet的路由器和运营商标准测试网站定制不同的模板,这样针对不同的用户,就可以采用不同的模板进行测试,快速确定到不同的服务器或者不同网段的通断情况。Customized Ping test destination IP template: Customize different templates for different Dynamic Host Configuration Protocol (DHCP) servers, DNS servers, BAS servers, routers connected to the internet, and operator standard test websites, so that different users can use Different templates are tested to quickly determine the on-off status of different servers or different network segments.
定制FTP速率测试的目标服务器模板:上网速度慢的原因有很多种,对运营商来说,主要是保证自己提供的网络的速率,通过设立标准的FTP服务器,针对该服务器测试的速率好坏,可以判别是运营商自己提供的网络还是外部网络服务质量的问题。Customize the target server template for FTP speed test: There are many reasons for the slow Internet speed. For operators, it is mainly to ensure the speed of the network provided by themselves. By setting up a standard FTP server, the speed of the server test is good or bad. It can be judged whether it is the network provided by the operator itself or the quality of service problem of the external network.
定制DNS/PPP仿真模板:由于进行PPP仿真的时候需要内置账号信息,所以针对不同地区的运营商,采用不同模板可以设置不同的PPP仿真账号参数,方便自行定义。Customized DNS/PPP simulation template: Since built-in account information is required for PPP simulation, different templates can be used to set different PPP simulation account parameters for operators in different regions, which is convenient for self-definition.
通过实现和OSS系统的接口,整个系统的排障、测试和得出诊断结论都是自动执行的。By realizing the interface with the OSS system, troubleshooting, testing and diagnosis of the entire system are performed automatically.
采用本发明,电信运营商能够自动测试功能快速定位故障发生在宽带网络的哪个物理环节,哪个协议层。本发明基于终端管理的方案,在中小局点应用将具有很大的商用价值。By adopting the invention, the telecommunication operator can quickly locate which physical link and which protocol layer the fault occurs in the broadband network through the automatic test function. The terminal management solution of the present invention will have great commercial value when applied in small and medium sites.
显然,本领域的技术人员可以对本发明进行各种改动和变型而不脱离本发明的精神和范围。这样,倘若本发明的这些修改和变型属于本发明权利要求及其等同技术的范围之内,则本发明也意图包含这些改动和变型在内。Obviously, those skilled in the art can make various changes and modifications to the present invention without departing from the spirit and scope of the present invention. Thus, if these modifications and variations of the present invention fall within the scope of the claims of the present invention and equivalent technologies thereof, the present invention also intends to include these modifications and variations.
Claims (13)
Priority Applications (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200510053457XA CN100442722C (en) | 2005-03-10 | 2005-03-10 | Method and device for diagnosing network faults |
Applications Claiming Priority (1)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CNB200510053457XA CN100442722C (en) | 2005-03-10 | 2005-03-10 | Method and device for diagnosing network faults |
Publications (2)
| Publication Number | Publication Date |
|---|---|
| CN1832434A CN1832434A (en) | 2006-09-13 |
| CN100442722C true CN100442722C (en) | 2008-12-10 |
Family
ID=36994448
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| CNB200510053457XA Expired - Fee Related CN100442722C (en) | 2005-03-10 | 2005-03-10 | Method and device for diagnosing network faults |
Country Status (1)
| Country | Link |
|---|---|
| CN (1) | CN100442722C (en) |
Families Citing this family (27)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100461720C (en) * | 2007-01-17 | 2009-02-11 | 中兴通讯股份有限公司 | Device and method for detecting and processing multi-pair DSL equipment |
| CN101282247B (en) * | 2007-04-27 | 2010-11-10 | 清华大学 | Network application performance measurement method supporting Internet high-bandwidth real-time video applications |
| CN101282248B (en) * | 2007-05-16 | 2010-11-10 | 清华大学 | Scalable measurement method to support Internet high-bandwidth real-time video applications |
| CN101291255B (en) * | 2008-06-02 | 2010-09-01 | 北京邮电大学 | Heuristic fault positioning method for network of next generation |
| CN101350739B (en) * | 2008-09-05 | 2010-12-15 | 北京邮电大学 | Method for locating fault in IP network |
| CN101437029B (en) * | 2008-12-23 | 2012-08-29 | 华为技术有限公司 | Data transmission method, local maintenance terminal, proxy equipment and system |
| CN101594553B (en) * | 2009-06-30 | 2011-05-11 | 中兴通讯股份有限公司 | System and method for positioning network failures of set top box |
| CN102136958B (en) * | 2010-01-22 | 2014-12-10 | 中兴通讯股份有限公司 | Method and system for diagnosing access node |
| CN102957548B (en) * | 2011-08-19 | 2015-09-02 | 施耐德电器工业公司 | A kind of network fault diagnosis method, diagnostic device and diagnostic system |
| WO2013091235A1 (en) * | 2011-12-23 | 2013-06-27 | 华为技术有限公司 | Conversation fault locating method and system |
| CN103209268B (en) * | 2012-01-13 | 2017-07-21 | 南京中兴新软件有限责任公司 | A kind of method and system for handling cable broadband obstacle |
| CN102546266B (en) * | 2012-03-09 | 2015-01-28 | 中兴通讯股份有限公司 | Method and platform for diagnosing network failures |
| CN103701627B (en) * | 2012-09-27 | 2017-08-11 | 北京搜狐新媒体信息技术有限公司 | A kind of cloud computing platform fault detection method, device and solution, device |
| US8918682B2 (en) * | 2012-11-14 | 2014-12-23 | Altera Corporation | Methods for testing network circuitry |
| CN104754620B (en) * | 2013-12-31 | 2023-05-16 | 上海晨兴希姆通电子科技有限公司 | Mobile communication module detection device and method |
| CN105323095B (en) * | 2014-07-30 | 2019-07-12 | 中国电信股份有限公司 | A kind of network fault detecting method, system and access device |
| CN104270261A (en) * | 2014-09-19 | 2015-01-07 | 烽火通信科技股份有限公司 | Remote fault diagnosis method for PPPoE broadband Internet access of CPE |
| CN104660444A (en) * | 2014-12-31 | 2015-05-27 | 山东信通电子股份有限公司 | DSL line information reverse-querying method |
| US10785112B2 (en) * | 2015-08-18 | 2020-09-22 | Arris Enterprises Llc | Internal user-guide server for a customer premise equipment device |
| CN107104838A (en) * | 2017-05-15 | 2017-08-29 | 北京奇艺世纪科技有限公司 | A kind of information processing method, server and terminal |
| CN107256602B (en) * | 2017-06-05 | 2020-03-13 | 中国建设银行股份有限公司 | Automatic fault diagnosis method and system for coded lock and lock system |
| CN109587010B (en) * | 2018-12-28 | 2020-07-07 | 迈普通信技术股份有限公司 | Connectivity detection method and stream forwarding equipment |
| CN109714209B (en) * | 2018-12-29 | 2021-03-09 | 中国科学院计算技术研究所 | A method and system for diagnosing website access faults |
| US10951493B2 (en) | 2019-04-03 | 2021-03-16 | Global Wireless Solutions, Inc. | Determining wireless network performance |
| CN110650041A (en) * | 2019-09-17 | 2020-01-03 | 中盈优创资讯科技有限公司 | IPRAN network fault positioning method and device |
| CN111917608B (en) * | 2020-08-07 | 2022-01-04 | 深圳市友华软件科技有限公司 | Method and device for judging Internet connectivity based on Linux system equipment |
| CN116781496A (en) * | 2022-03-09 | 2023-09-19 | 中国移动通信集团河南有限公司 | Fault diagnosis method, device, electronic equipment and storage medium |
Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1340948A (en) * | 2000-08-30 | 2002-03-20 | 日本电气株式会社 | Monitoring method and equipment for state in user's line detection |
| CN2631133Y (en) * | 2003-06-27 | 2004-08-04 | 上海欣泰通信技术有限公司 | ADSL accessing comprehensive testing apparatus |
| CN1536861A (en) * | 2003-04-08 | 2004-10-13 | ��Ϊ��������˾ | X DSL test method |
-
2005
- 2005-03-10 CN CNB200510053457XA patent/CN100442722C/en not_active Expired - Fee Related
Patent Citations (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN1340948A (en) * | 2000-08-30 | 2002-03-20 | 日本电气株式会社 | Monitoring method and equipment for state in user's line detection |
| CN1536861A (en) * | 2003-04-08 | 2004-10-13 | ��Ϊ��������˾ | X DSL test method |
| CN2631133Y (en) * | 2003-06-27 | 2004-08-04 | 上海欣泰通信技术有限公司 | ADSL accessing comprehensive testing apparatus |
Non-Patent Citations (4)
| Title |
|---|
| ADSL在线测试系统. 电子出版,第9期. 2004 |
| ADSL在线测试系统. 电子出版,第9期. 2004 * |
| ADSL宽带测试技术. 吴承瑛,马世俊,张勇.天津通信技术,第2期. 2004 |
| ADSL宽带测试技术. 吴承瑛,马世俊,张勇.天津通信技术,第2期. 2004 * |
Also Published As
| Publication number | Publication date |
|---|---|
| CN1832434A (en) | 2006-09-13 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN100442722C (en) | Method and device for diagnosing network faults | |
| US9860111B2 (en) | Method and apparatus for diagnosing and configuring a broadband connection via an alternate communication path | |
| US7305466B1 (en) | Network fault isolation | |
| US7869372B2 (en) | Method and systems for verifying a connection from a gateway to a network | |
| US7392301B1 (en) | Method and apparatus for automated assistance in configuring customer premises equipment | |
| US8045629B1 (en) | DSL data collection system | |
| US8363557B2 (en) | Methods, systems, and computer readable media for remotely evaluating and controlling voice over IP (VoIP) subscriber terminal equipment | |
| US20070022331A1 (en) | Single-ended ethernet management system and method | |
| US7697446B2 (en) | Link testing in an ethernet DSL network | |
| CN107040666B (en) | Dial testing method, device, terminal and system for gigabit passive optical network bearer service | |
| CN100346612C (en) | Digital user line broad band business testing method | |
| MXPA06010615A (en) | Fault management in a ethernet based communication system. | |
| EP2276225B1 (en) | A method of testing digital subscriber line broadband service | |
| US20100046381A1 (en) | Method and apparatus for processing of an alarm related to a frame relay encapsulation failure | |
| KR100830831B1 (en) | Internet service quality measurement method and device | |
| CN102340408A (en) | Access node information query method and system thereof |
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: 20081210 Termination date: 20210310 |
