[go: up one dir, main page]

CN108124280A - Monitoring and diagnosis system and network monitoring diagnostic method - Google Patents

Monitoring and diagnosis system and network monitoring diagnostic method Download PDF

Info

Publication number
CN108124280A
CN108124280A CN201711375249.0A CN201711375249A CN108124280A CN 108124280 A CN108124280 A CN 108124280A CN 201711375249 A CN201711375249 A CN 201711375249A CN 108124280 A CN108124280 A CN 108124280A
Authority
CN
China
Prior art keywords
detection
module
service module
detection service
agent module
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
CN201711375249.0A
Other languages
Chinese (zh)
Other versions
CN108124280B (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.)
CHENGDU SKSPRUCE TECHNOLOGY Inc
Original Assignee
CHENGDU SKSPRUCE TECHNOLOGY Inc
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 CHENGDU SKSPRUCE TECHNOLOGY Inc filed Critical CHENGDU SKSPRUCE TECHNOLOGY Inc
Priority to CN201711375249.0A priority Critical patent/CN108124280B/en
Publication of CN108124280A publication Critical patent/CN108124280A/en
Application granted granted Critical
Publication of CN108124280B publication Critical patent/CN108124280B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/08Testing, supervising or monitoring using real traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer And Data Communications (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

本发明提供一种监控诊断系统及网络监控诊断方法,所述系统包括相互通信连接无线接入点AP、终端设备及服务器,其中,AP或终端设备包括探测代理模块,服务器包括探测服务模块。探测代理模块,用于模拟客户端的上网行为,并将上网过程中收集的网络测量数据上报给探测服务模块。探测服务模块,用于分析所述网络测量数据,对通信链路进行诊断。由此,探测代理模块通过模拟客户端的上网行为,可在上网过程中,主动收集网络测量数据并上报给探测服务模块进行分析诊断。收集的网络测量数据的范围更广、涵盖的信息内容更多,便于所述探测服务模块进行远程分析及诊断,可有效提高远程解决网络问题的性能,降低专业技术人员的出访率。

The present invention provides a monitoring and diagnosing system and a network monitoring and diagnosing method. The system includes a wireless access point AP, a terminal device and a server that communicate with each other, wherein the AP or the terminal device includes a detection agent module, and the server includes a detection service module. The detection agent module is used to simulate the online behavior of the client, and report the network measurement data collected during the online process to the detection service module. The detection service module is used for analyzing the network measurement data and diagnosing the communication link. Therefore, by simulating the online behavior of the client, the detection agent module can actively collect network measurement data and report it to the detection service module for analysis and diagnosis during the online process. The collected network measurement data has a wider range and covers more information content, which is convenient for the detection service module to perform remote analysis and diagnosis, can effectively improve the performance of remotely solving network problems, and reduce the visit rate of professional and technical personnel.

Description

监控诊断系统及网络监控诊断方法Monitoring and diagnosis system and network monitoring and diagnosis method

技术领域technical field

本发明涉及无线通信技术领域,具体而言,涉及一种监控诊断系统及网络监控诊断方法。The invention relates to the technical field of wireless communication, in particular to a monitoring and diagnosis system and a network monitoring and diagnosis method.

背景技术Background technique

目前主流的无线组网方式是AC(Access Controller,接入控制器)+AP(AccessPoint,无线接入点)的方式,或者对于小型应用场景采用AP+云AC的组网方式。At present, the mainstream wireless networking method is AC (Access Controller, access controller) + AP (Access Point, wireless access point), or for small application scenarios, the networking method of AP + cloud AC is adopted.

由于AP是距离终端设备最近的无线设备,一旦网络发生异常,终端用户总会抱怨是AP的问题。为了便于对这些问题进行分析及诊断,各个无线设备提供商通常采用扩展NMS(Network Management System,网络管理系统)或者采用专用服务器采集各个无线设备信息等方式收集统计信息,并对统计信息进行分析,找到解决问题的方法。Since the AP is the wireless device closest to the terminal device, once an abnormality occurs in the network, the terminal user will always complain that the problem is the AP. In order to facilitate the analysis and diagnosis of these problems, each wireless device provider usually collects statistical information by expanding NMS (Network Management System, network management system) or using a dedicated server to collect information on each wireless device, and analyzes the statistical information. Find a solution to the problem.

在现有技术中,对统计信息的采集通常采用被动信息搜集方式,通常,在AP或AC上增加统计模块,在用户上网过程中,统计模块监听用户流量,采集相关测量数据,并将采集的测量数据上报给服务器进行分析诊断。In the prior art, passive information collection is usually used to collect statistical information. Usually, a statistical module is added to the AP or AC. During the process of users surfing the Internet, the statistical module monitors user traffic, collects relevant measurement data, and The measurement data is reported to the server for analysis and diagnosis.

现有技术的缺点在于,只能被动收集测量数据,信息获取范围有限。当服务器经过远程分析诊断无法解决问题时,需要依赖专业的技术人员到用户现场进行测试分析确定网络问题,需要投入的人工成本较高。The disadvantage of the existing technology is that the measurement data can only be collected passively, and the range of information acquisition is limited. When the server cannot solve the problem after remote analysis and diagnosis, it is necessary to rely on professional technicians to go to the user's site for testing and analysis to determine the network problem, which requires high labor costs.

发明内容Contents of the invention

本发明实施例提供一种监控诊断系统及网络监控诊断方法。Embodiments of the present invention provide a monitoring and diagnosing system and a network monitoring and diagnosing method.

第一方面,本发明实施例提供一种监控诊断系统,所述系统包括相互通信连接无线接入点AP、终端设备及服务器,其中,所述AP或终端设备包括探测代理模块,所述服务器包括探测服务模块;In the first aspect, an embodiment of the present invention provides a monitoring and diagnosis system, the system includes a wireless access point AP, a terminal device, and a server that communicate with each other, wherein the AP or the terminal device includes a detection agent module, and the server includes detection service module;

所述探测代理模块,用于模拟客户端的上网行为,并将上网过程中收集的网络测量数据上报给所述探测服务模块;The detecting agent module is used to simulate the online behavior of the client, and report the network measurement data collected during the online process to the detecting service module;

所述探测服务模块,用于分析所述网络测量数据,对通信链路进行诊断。The detection service module is used for analyzing the network measurement data and diagnosing the communication link.

第二方面,本发明实施例提供一种网络监控诊断方法,所述方法应用于包括探测代理模块的AP或终端设备,所述AP和/或终端设备与包括探测服务模块的服务器通信连接,所述方法包括:In the second aspect, an embodiment of the present invention provides a method for network monitoring and diagnosis, the method is applied to an AP or a terminal device including a detection agent module, and the AP and/or terminal device are communicatively connected to a server including a detection service module, so The methods described include:

所述探测代理模块模拟客户端的上线接入行为,通过与所述探测服务模块及AP的交互配合完成上线接入;The detection agent module simulates the online access behavior of the client, and completes the online access by interacting with the detection service module and the AP;

当上线接入成功时,所述探测代理模块模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块,以使所述探测服务模块基于所述网络测量数据对通信链路进行分析诊断。When the online access is successful, the detection agent module simulates the online communication behavior of the client, collects and reports network measurement data to the detection service module during the data communication process, so that the detection service module is based on the network measurement The data is analyzed and diagnosed on the communication link.

第三方面,本发明实施例提供一种网络监控诊断方法,所述方法应用于上述的监控诊断系统,其中,AP或终端设备包括探测代理模块,服务器包括探测服务模块,所述AP、终端设备及服务器相互通信连接,所述方法包括:In a third aspect, an embodiment of the present invention provides a method for network monitoring and diagnosis, and the method is applied to the above-mentioned monitoring and diagnosis system, wherein the AP or terminal device includes a detection agent module, the server includes a detection service module, and the AP and terminal device and the server communicate with each other, and the method includes:

所述探测服务模块下发控制指令,所述探测代理模块基于所述控制指令模拟客户端的上线接入行为,通过与所述探测服务模块及AP的交互配合完成上线接入;The detection service module sends a control instruction, and the detection proxy module simulates the online access behavior of the client based on the control instruction, and completes the online access by interacting with the detection service module and the AP;

当上线接入成功时,所述探测服务模块下发数据报文,所述探测代理模块基于所述数据报文模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块;When the online access is successful, the detection service module sends a data message, and the detection agent module simulates the online communication behavior of the client based on the data message, and collects and reports the network measurement data to the network during the data communication process. The detection service module described above;

所述探测服务模块基于所述网络测量数据对通信链路进行分析诊断。The detection service module analyzes and diagnoses the communication link based on the network measurement data.

相对于现有技术而言,本发明具有以下有益效果:Compared with the prior art, the present invention has the following beneficial effects:

本发明实施例一种监控诊断系统及网络监控诊断方法,所述系统包括相互通信连接无线接入点AP、终端设备及服务器,其中,所述AP或终端设备包括探测代理模块,所述服务器包括探测服务模块。所述探测代理模块,用于模拟客户端的上网行为,并将上网过程中收集的网络测量数据上报给所述探测服务模块。所述探测服务模块,用于分析所述网络测量数据,对通信链路进行诊断。由此,所述探测代理模块通过模拟客户端的上网行为,可在上网过程中,主动收集网络测量数据并上报给探测服务模块进行分析诊断。收集的网络测量数据的范围更广、涵盖的信息内容更多,便于所述探测服务模块进行远程分析及诊断,可有效提高远程解决网络问题的性能,降低专业技术人员的出访率。An embodiment of the present invention is a monitoring and diagnosing system and a network monitoring and diagnosing method. The system includes a wireless access point AP, a terminal device and a server that communicate with each other, wherein the AP or the terminal device includes a detection agent module, and the server includes Probe service module. The detecting agent module is used to simulate the online behavior of the client, and report the network measurement data collected during the online process to the detecting service module. The detection service module is used for analyzing the network measurement data and diagnosing the communication link. Thus, by simulating the online behavior of the client, the detection proxy module can actively collect network measurement data and report it to the detection service module for analysis and diagnosis during the online process. The collected network measurement data has a wider range and covers more information content, which is convenient for the detection service module to perform remote analysis and diagnosis, can effectively improve the performance of remotely solving network problems, and reduce the visit rate of professional and technical personnel.

附图说明Description of drawings

为了更清楚地说明本发明实施例的技术方案,下面将对实施例中所需要使用的附图作简单地介绍,应当理解,以下附图仅示出了本发明的某些实施例,因此不应被看作是对范围的限定,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他相关的附图。In order to illustrate the technical solutions of the embodiments of the present invention more clearly, the accompanying drawings used in the embodiments will be briefly introduced below. It should be understood that the following drawings only show some embodiments of the present invention, and thus It should be regarded as a limitation on the scope, and those skilled in the art can also obtain other related drawings based on these drawings without creative work.

图1是本发明实施例提供的监控诊断系统的方框示意图。Fig. 1 is a schematic block diagram of a monitoring and diagnosing system provided by an embodiment of the present invention.

图2是本发明实施例提供的探测代理模块与探测服务模块之间的通道示意图。Fig. 2 is a schematic diagram of a channel between a detection agent module and a detection service module provided by an embodiment of the present invention.

图3是本发明第一实施例提供的网络监控诊断方法的步骤流程图。Fig. 3 is a flow chart of the steps of the network monitoring and diagnosing method provided by the first embodiment of the present invention.

图4为本发明第一实施例提供的图3中步骤S110的子步骤的流程示意图。FIG. 4 is a schematic flowchart of the sub-steps of step S110 in FIG. 3 provided by the first embodiment of the present invention.

图5为本发明第一实施例提供的图4中子步骤S111的子步骤的流程示意图。FIG. 5 is a schematic flowchart of substeps of substep S111 in FIG. 4 provided by the first embodiment of the present invention.

图6为本发明第一实施例提供的图4中子步骤S112的子步骤的流程示意图。FIG. 6 is a schematic flowchart of sub-steps of sub-step S112 in FIG. 4 provided by the first embodiment of the present invention.

图7为本发明第一实施例提供的图4中子步骤S113的子步骤的流程示意图。FIG. 7 is a schematic flowchart of substeps of substep S113 in FIG. 4 provided by the first embodiment of the present invention.

图8为本发明第一实施例提供的图3中步骤S120的子步骤的流程示意图。FIG. 8 is a schematic flowchart of the sub-steps of step S120 in FIG. 3 provided by the first embodiment of the present invention.

图9是本发明第二实施例提供的网络监控诊断方法的步骤流程图。Fig. 9 is a flow chart of the steps of the network monitoring and diagnosing method provided by the second embodiment of the present invention.

图标:10-监控诊断系统;20-探测代理模块;30-探测服务模块;100-AP;200-终端设备;300-服务器;400-AC。Icons: 10-monitoring and diagnosis system; 20-detection agent module; 30-detection service module; 100-AP; 200-terminal equipment; 300-server; 400-AC.

具体实施方式Detailed ways

下面将结合本发明实施例中的附图,对本发明实施例中的技术方案进行清楚、完整地描述,显然,所描述的实施例是本发明一部分实施例,而不是全部的实施例。通常在此处附图中描述和示出的本发明实施例的组件可以以各种不同的配置来布置和设计。因此,以下对在附图中提供的本发明的实施例的详细描述并非旨在限制要求保护的本发明的范围,而是仅仅表示本发明的选定实施例。基于本发明中的实施例,本领域普通技术人员在没有作出创造性劳动前提下所获得的所有其他实施例,都属于本发明保护的范围。The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are some of the embodiments of the present invention, but not all of them. The components of the embodiments of the invention generally described and illustrated in the figures herein may be arranged and designed in a variety of different configurations. Accordingly, the following detailed description of the embodiments of the invention provided in the accompanying drawings is not intended to limit the scope of the claimed invention, but merely represents selected embodiments of the invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

应注意到:相似的标号和字母在下面的附图中表示类似项,因此,一旦某一项在一个附图中被定义,则在随后的附图中不需要对其进行进一步定义和解释。It should be noted that like numerals and letters denote similar items in the following figures, therefore, once an item is defined in one figure, it does not require further definition and explanation in subsequent figures.

本申请发明人在实现本申请实施例提供的技术方案过程中,发现在现有技术中,目前被动搜集数据信息的方式难以对特定AP,或者特定终端设备进行网络诊断。尤其对于无线网络而言,由于周围的无线干扰、不同类型终端设备的差异性等影响因素,对网络问题的诊断难以通过被动搜集、统计的方式解决。In the process of realizing the technical solutions provided by the embodiments of the present application, the inventors of the present application found that in the prior art, it is difficult to perform network diagnosis on a specific AP or a specific terminal device in the current way of passively collecting data information. Especially for wireless networks, due to factors such as surrounding wireless interference and differences in different types of terminal equipment, it is difficult to diagnose network problems through passive collection and statistics.

另一方面,被动搜集数据信息的方式依赖于用户的上网状态,当用户的终端设备处于离线状态时,难以收集测量数据进行分析诊断。并且,由于无线网络较为复杂,在大多数情况下,实际出现的网络问题难以通过被动搜集数据信息的方式进行解决,通常需要依赖专业的技术人员到用户现场进行实际定位,通过主动构造报文测试等方式来分析、确定网络问题,需要投入较高的人工成本。On the other hand, the way of passively collecting data information depends on the user's online status. When the user's terminal device is offline, it is difficult to collect measurement data for analysis and diagnosis. Moreover, due to the complexity of the wireless network, in most cases, it is difficult to solve the actual network problems by passively collecting data information. Usually, it is necessary to rely on professional technicians to go to the user's site for actual positioning, and to actively construct message test Analyzing and determining network problems using other methods requires high labor costs.

以上现有技术中的方案所存在的缺陷,均是发明人在经过实践并仔细研究后得出的结果,因此,上述问题的发现过程以及下文中本发明实施例针对上述问题所提出的解决方案,都应该是发明人在本发明过程中对本发明做出的贡献。The defects in the solutions in the above prior art are all the results obtained by the inventor after practice and careful research. Therefore, the discovery process of the above problems and the solutions to the above problems proposed by the embodiments of the present invention below , should be the inventor's contribution to the invention during the process of the invention.

为了缓解上述问题,本发明实施例提供一种监控诊断系统及网络监控诊断方法。下面通过以下实施例对本发明提供的监控诊断系统及网络监控诊断方法进行说明。In order to alleviate the above problems, an embodiment of the present invention provides a monitoring and diagnosing system and a network monitoring and diagnosing method. The monitoring and diagnosing system and network monitoring and diagnosing method provided by the present invention will be described below through the following embodiments.

本发明实施例提供一种监控诊断系统10。请参照图1,图1是本发明实施例提供的监控诊断系统10的方框示意图。所述监控诊断系统10包括:相互通信连接的AP100、终端设备200、AC400及服务器300。其中,所述监控诊断系统10中配置的AP100、终端设备200、AC400及服务器300的数量可根据实际需求进行设定。An embodiment of the present invention provides a monitoring and diagnosis system 10 . Please refer to FIG. 1 . FIG. 1 is a schematic block diagram of a monitoring and diagnosing system 10 provided by an embodiment of the present invention. The monitoring and diagnosis system 10 includes: an AP 100 , a terminal device 200 , an AC 400 , and a server 300 connected by communication. Wherein, the number of AP100, terminal equipment 200, AC400 and server 300 configured in the monitoring and diagnosing system 10 can be set according to actual needs.

在本实施例中,所述AP100或终端设备200中运行有探测代理模块20,所述服务器300中运行有探测服务模块30。所述探测代理模块20用于模拟客户端的上网行为,并将上网过程中收集的网络测量数据上报给所述探测服务模块30。所述探测服务模块30用于分析所述网络测量数据,并对通信链路进行诊断。In this embodiment, the AP 100 or the terminal device 200 runs a detection agent module 20 , and the server 300 runs a detection service module 30 . The probing agent module 20 is used to simulate the online behavior of the client, and report the network measurement data collected during the surfing process to the probing service module 30 . The detection service module 30 is used for analyzing the network measurement data and diagnosing the communication link.

在本实施例中,所述探测代理模块20的部署方式包括,但不限于,独立部署在终端设备200上,或者,扩展部署在AP100上。In this embodiment, the deployment manner of the detection proxy module 20 includes, but is not limited to, independent deployment on the terminal device 200 , or extended deployment on the AP 100 .

在本实施例中,所述探测代理模块20可以作为无线测量产品独立部署在终端设备200(比如,智能手机、PC等)上。除此之外,所述探测代理模块20还可以独立部署在单独的移动设备(比如,移动机器人)上。比如,在家庭无线网络应用场景中,所述探测代理模块20可作为探测装置设置在移动机器人上,所述移动机器人需要接入无线网络,随着移动机器人的动态移动,所述探测代理模块20可模拟客户端的上网行为,主动收集网络测量数据。In this embodiment, the detection proxy module 20 can be independently deployed on the terminal device 200 (for example, a smart phone, a PC, etc.) as a wireless measurement product. In addition, the detection agent module 20 can also be independently deployed on a separate mobile device (eg, a mobile robot). For example, in a home wireless network application scenario, the detection agent module 20 can be set on a mobile robot as a detection device, and the mobile robot needs to access a wireless network. As the mobile robot moves dynamically, the detection agent module 20 It can simulate the online behavior of the client and actively collect network measurement data.

在本实施例中,所述探测代理模块20还可以基于现网的AP100进行功能升级的扩展部署。比如,实体的物理AP100可虚拟出多个虚拟AP,本方案可对一部分虚拟AP进行功能扩展,将这部分虚拟AP扩展部署为探测代理模块20。其中,优选采用扩展部署的方式,用户侧无需增加额外的成本投入,也不需要进行额外的人工干预,方便维护。In this embodiment, the probing agent module 20 can also perform extended deployment for function upgrade based on the AP 100 in the live network. For example, the physical AP 100 of an entity can virtualize multiple virtual APs, and this solution can extend the functions of some virtual APs, and expand and deploy these virtual APs as the detection agent module 20 . Among them, the extended deployment method is preferred, and no additional cost investment or additional manual intervention is required on the user side, which is convenient for maintenance.

在本实施例中,所述AP100和AC400之间可维持现有的交互方式,所述探测代理模块20可以作为AP100的一种配置由AC400完成配置下发。In this embodiment, the existing interaction mode can be maintained between the AP 100 and the AC 400 , and the detection agent module 20 can be used as a configuration of the AP 100 to be delivered by the AC 400 .

在本实施例中,探测服务模块30的部署方式可以包括,但不限于,作为独立系统单独部署在服务器300上,或者,作为系统模块集成部署在服务器300上。In this embodiment, the deployment manner of the detection service module 30 may include, but is not limited to, being independently deployed on the server 300 as an independent system, or being integrated and deployed on the server 300 as a system module.

在本实施例中,所述探测服务模块30的载体可以是单独的服务器300,所述探测服务模块30可作为独立系统独立部署在该服务器300上。In this embodiment, the carrier of the detection service module 30 may be a separate server 300, and the detection service module 30 may be independently deployed on the server 300 as an independent system.

在本实施例中,本方案也可采用docker(一个开源的应用容器引擎)技术,将所述探测服务模块30作为一个现有计算系统中的子模块集成部署到该计算系统中。其中,优选采用基于docker的集成部署方式,可体现模块化思想,无需增设硬件成本,方便操作。并且,可对服务层进行扩展,不需要AP100侧进行软件升级。In this embodiment, this solution may also adopt docker (an open source application container engine) technology, and integrate and deploy the detection service module 30 as a sub-module in an existing computing system into the computing system. Among them, the docker-based integrated deployment method is preferred, which can reflect the idea of modularization, does not require additional hardware costs, and is easy to operate. In addition, the service layer can be extended without software upgrade on the AP100 side.

在本实施例中,所述探测服务模块30具备管理无线客户端的所有功能,且方便集成测试工具。主要功能包括:认证功能,比如,WPA/WPA2(Wi-Fi Protected Access,保护无线电脑网络安全系统)认证、Dot1x(IEEE 802.1X的缩写,是基于Client/Server的访问控制和认证协议)认证等。地址获取功能,比如,DHCP(Dynamic Host Configuration Protocol,动态主机配置协议)client。网络测试工具,比如,IPERF(一种网络性能测试工具,可以测试最大TCP和UDP带宽性能,具有多种参数和UDP特性,可根据需要进行调整,可报告带宽、延迟抖动及数据包丢失等信息)、WGET(一个支持从网络上自动下载文件的自由工具)等。所述探测服务模块30对外有统一的数据库接口,可对探测诊断的数据结果进行存储。In this embodiment, the probing service module 30 has all the functions of managing wireless clients, and is convenient for integrating testing tools. The main functions include: authentication functions, such as WPA/WPA2 (Wi-Fi Protected Access, protecting the wireless computer network security system) authentication, Dot1x (the abbreviation of IEEE 802.1X, an access control and authentication protocol based on Client/Server) authentication, etc. . Address acquisition function, for example, DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol) client. Network testing tools, such as IPERF (a network performance testing tool that can test the maximum TCP and UDP bandwidth performance, has a variety of parameters and UDP characteristics, can be adjusted according to needs, and can report information such as bandwidth, delay jitter, and packet loss ), WGET (a free tool that supports automatic downloading of files from the Internet), etc. The detection service module 30 has a unified database interface externally, and can store the data results of detection and diagnosis.

请参照图2,图2是本发明实施例提供的探测代理模块20与探测服务模块30之间的通道示意图。所述探测代理模块20和探测服务模块30之间可设置两条独立的交互通道。一条是用于控制信息交互的控制通道,所述探测服务模块30与所述探测代理模块20通过所述控制通道进行控制信息的交互传输;另一条是用于业务数据转发的数据通道,所述探测服务模块30与所述探测代理模块20通过所述数据通道进行数据报文的交互传输。Please refer to FIG. 2 . FIG. 2 is a schematic diagram of a channel between the detection agent module 20 and the detection service module 30 provided by the embodiment of the present invention. Two independent interaction channels may be set between the detection proxy module 20 and the detection service module 30 . One is a control channel for controlling information interaction, and the detection service module 30 and the detection agent module 20 perform interactive transmission of control information through the control channel; the other is a data channel for business data forwarding, the The detection service module 30 and the detection proxy module 20 perform interactive transmission of data packets through the data channel.

在本实施例中,所述控制通道可以采用,但不限于,用户建立的自定义控制通道、基于CAPWAP(Control And Provisioning of Wireless Access Points ProtocolSpecification,无线接入点的控制和配置协议)技术建立的控制通道等。所述数据通道可以采用,但不限于,无状态的隧道(比如,Ether IP/GRE)、基于CAPWAP的数据通道等。In this embodiment, the control channel may adopt, but is not limited to, a user-defined control channel established by a user, or one established based on CAPWAP (Control And Provisioning of Wireless Access Points Protocol Specification, wireless access point control and configuration protocol) technology. control channel, etc. The data channel may adopt, but is not limited to, a stateless tunnel (for example, Ether IP/GRE), a CAPWAP-based data channel, and the like.

在本实施例中,探测代理模块20与探测服务模块30的通道构建思路与AC+AP模式相似,探测服务模块30通过控制通道下发控制指令,业务数据通过数据通道上报给探测服务模块30进行处理。In this embodiment, the channel construction ideas of the detection proxy module 20 and the detection service module 30 are similar to the AC+AP mode. The detection service module 30 issues control instructions through the control channel, and the business data is reported to the detection service module 30 through the data channel for further processing. deal with.

在本实施例中,本方案提供的探测代理模块20通过模拟客户端的上网行为,可在上网过程中,主动收集网络测量数据并上报给探测服务模块30进行分析诊断。收集的网络测量数据的范围更广、涵盖的信息内容更多,便于所述探测服务模块30进行远程分析及诊断,可有效提高远程解决网络问题的性能,降低专业技术人员的出访率。并且,由于采用主动收集上报的方式,本方案可对特定AP100,或者特定终端设备200进行网络诊断,不受周围无线干扰、不同类型终端设备200的差异性等因素的影响。In this embodiment, the detection agent module 20 provided by this solution can actively collect network measurement data and report it to the detection service module 30 for analysis and diagnosis by simulating the online behavior of the client. The collected network measurement data has a wider range and covers more information content, which is convenient for the detection service module 30 to perform remote analysis and diagnosis, can effectively improve the performance of remote network problem solving, and reduce the visit rate of professional technicians. Moreover, due to the active collection and reporting method, this solution can perform network diagnosis on a specific AP 100 or a specific terminal device 200 without being affected by factors such as surrounding wireless interference and differences in different types of terminal devices 200 .

第一实施例first embodiment

本发明实施例还提供一种网络监控诊断方法。请参照图3,图3是本发明第一实施例提供的网络监控诊断方法的步骤流程图。所述方法应用于包括探测代理模块20的AP100或终端设备200,所述AP100和/或终端设备200与包括探测服务模块30的服务器300通信连接。下面对网络监控诊断方法的具体流程进行详细阐述。The embodiment of the present invention also provides a network monitoring and diagnosis method. Please refer to FIG. 3 . FIG. 3 is a flow chart of the steps of the network monitoring and diagnosing method provided by the first embodiment of the present invention. The method is applied to the AP 100 or the terminal device 200 including the detection proxy module 20 , and the AP 100 and/or the terminal device 200 are communicatively connected to the server 300 including the detection service module 30 . The specific flow of the network monitoring and diagnosis method will be described in detail below.

步骤S110,所述探测代理模块20模拟客户端的上线接入行为,通过与所述探测服务模块30及AP100的交互配合完成上线接入。Step S110 , the detection agent module 20 simulates the online access behavior of the client, and completes the online access by interacting with the detection service module 30 and the AP 100 .

请参照图4,图4为本发明第一实施例提供的图3中步骤S110的子步骤的流程示意图。所述步骤S110可以包括子步骤S111、子步骤S112、子步骤S113及子步骤S114。Please refer to FIG. 4 , which is a schematic flowchart of the sub-steps of step S110 in FIG. 3 provided by the first embodiment of the present invention. The step S110 may include sub-step S111, sub-step S112, sub-step S113 and sub-step S114.

子步骤S111,所述探测代理模块20接收所述探测服务模块30下发的探测指令,向所述AP100获取扫描信息并上报给所述探测服务模块30。In sub-step S111 , the detection agent module 20 receives the detection instruction issued by the detection service module 30 , obtains scanning information from the AP 100 and reports it to the detection service module 30 .

请参照图5,图5为本发明第一实施例提供的图4中子步骤S111的子步骤的流程示意图。所述子步骤S111可以包括子步骤S1110、子步骤S1112及子步骤S1114。Please refer to FIG. 5 , which is a schematic flowchart of the sub-steps of sub-step S111 in FIG. 4 provided by the first embodiment of the present invention. The sub-step S111 may include sub-step S1110, sub-step S1112 and sub-step S1114.

S1110,所述探测代理模块20通过控制通道接收所述探测服务模块30下发的探测指令。S1110, the detection agent module 20 receives the detection instruction issued by the detection service module 30 through the control channel.

在本实施例中,所述探测服务模块30与所述探测代理模块20之间设置有控制通道。所述探测服务模块30通过控制通道下发探测指令(比如,PROBE指令),所述探测代理模块20通过控制通道接收所述探测服务模块30下发的探测指令。In this embodiment, a control channel is set between the detection service module 30 and the detection proxy module 20 . The probing service module 30 issues a probing command (for example, PROBE command) through the control channel, and the probing proxy module 20 receives the probing command issued by the probing service module 30 through the control channel.

S1112,所述探测代理模块20根据所述探测指令生成用于通知AP100进行信道扫描的扫描通知消息,并将所述扫描通知消息发送给所述AP100,以使所述AP100进行信道扫描。S1112, the detection proxy module 20 generates a scanning notification message for notifying the AP 100 to perform channel scanning according to the detection instruction, and sends the scanning notification message to the AP 100, so that the AP 100 performs channel scanning.

在本实施例中,所述探测代理模块20根据所述探测指令生成用于通知AP100中的AP驱动模块进行信道扫描的扫描通知消息,并将所述扫描通知消息发送给所述AP驱动模块。所述AP驱动模块接收到所述扫描通知消息后进行信道扫描。In this embodiment, the detection proxy module 20 generates a scanning notification message for notifying the AP driver module in the AP 100 to perform channel scanning according to the detection instruction, and sends the scanning notification message to the AP driver module. The AP driver module performs channel scanning after receiving the scanning notification message.

在本实施例中,所述AP驱动模块属于内核态模块,是AP100中接近硬件的模块,用于进行无线接入等驱动处理。In this embodiment, the AP driver module belongs to a kernel mode module, which is a module close to hardware in the AP 100, and is used for driving processing such as wireless access.

S1114,所述探测代理模块20接收所述AP100上报的扫描信息,并将所述扫描信息上报给所述探测服务模块30。S1114, the detection proxy module 20 receives the scanning information reported by the AP 100 , and reports the scanning information to the detection service module 30 .

在本实施例中,所述AP驱动模块在信道扫描结束时,可将扫描信息上报给所述探测代理模块20。所述探测代理模块20再将所述扫描信息上报给所述探测服务模块30。其中,扫描信息可以包括,但不限于,可用信道、接入的BSSID(Basic Service Set Identifier,一种特殊的Ad-hoc LAN的应用)、SSID(Service Set Identifier,服务集标识)、认证方式(比如,PSK(pre-shared key,预共享密钥模式)账号密码认证方式)等信息。In this embodiment, the AP driver module may report the scanning information to the detection proxy module 20 when the channel scanning ends. The detection proxy module 20 then reports the scanning information to the detection service module 30 . Wherein, the scan information may include, but is not limited to, available channels, BSSID (Basic Service Set Identifier, a special Ad-hoc LAN application), SSID (Service Set Identifier, service set identifier), authentication mode ( For example, PSK (pre-shared key, pre-shared key mode) account password authentication method) and other information.

在本实施例中,BSSID具有唯一标识作用,是网络中站点对外广播的ID,比如,站点的MAC地址等。SSID技术可以将一个无线局域网分为几个需要不同身份验证的子网络,每一个子网络都需要独立的身份验证,只有通过身份验证的用户才可以进入相应的子网络。从通俗意义讲,SSID就是一个局域网的名称,只有设置为名称相同SSID的值的网络设备才能互相通信。In this embodiment, the BSSID has a unique identification function, and is an ID broadcast by a station in the network, for example, the MAC address of the station. SSID technology can divide a wireless local area network into several sub-networks that require different authentications. Each sub-network requires independent authentication, and only authenticated users can enter the corresponding sub-network. In a popular sense, SSID is the name of a local area network, and only network devices set to the same SSID value can communicate with each other.

在本实施例中,所述探测服务模块30可基于探测代理模块20上报的扫描信息通过BSSID标识选择需要进行监控诊断的网络设备(比如,AP100、终端设备200等)。In this embodiment, the detection service module 30 may select a network device (for example, AP100, terminal device 200, etc.) that needs to be monitored and diagnosed based on the scanning information reported by the detection agent module 20 through the BSSID identifier.

子步骤S112,所述探测代理模块20接收所述探测服务模块30下发的关联指令,向所述AP100获取关联结果并上报给所述探测服务模块30。In sub-step S112 , the detection agent module 20 receives the association instruction issued by the detection service module 30 , obtains the association result from the AP 100 and reports it to the detection service module 30 .

请参照图6,图6为本发明第一实施例提供的图4中子步骤S112的子步骤的流程示意图。所述子步骤S112可以包括子步骤S1120、子步骤S1122及子步骤S1124。Please refer to FIG. 6 , which is a schematic flowchart of the sub-steps of sub-step S112 in FIG. 4 provided by the first embodiment of the present invention. The sub-step S112 may include sub-step S1120, sub-step S1122 and sub-step S1124.

子步骤S1120,所述探测代理模块20通过控制通道接收所述探测服务模块30下发的关联指令。In sub-step S1120, the detection agent module 20 receives the association instruction issued by the detection service module 30 through the control channel.

在本实施例中,所述探测服务模块30在选择好需要监控诊断的网络设备之后,可通过控制通道向该网络设备中的探测代理模块20下发关联指令(比如,ASSOCIATION指令),所述探测代理模块20通过控制通道接收所述关联指令。In this embodiment, after the detection service module 30 selects the network device that needs to be monitored and diagnosed, it can issue an association instruction (for example, an ASSOCIATION instruction) to the detection agent module 20 in the network device through the control channel. The detecting agent module 20 receives the association instruction through the control channel.

子步骤S1122,所述探测代理模块20根据所述关联指令生成用于通知所述AP100进行无线关联的关联通知消息,并将所述关联通知消息发送给所述AP100,以使所述AP100进行无线关联。Sub-step S1122, the probing agent module 20 generates an association notification message for notifying the AP100 to perform wireless association according to the association instruction, and sends the association notification message to the AP100, so that the AP100 performs wireless association. associated.

在本实施例中,所述探测代理模块20根据所述关联指令生成用于通知所述AP100的AP驱动模块进行无线关联的关联通知消息,并将所述关联通知消息发送给所述AP驱动模块,所述AP驱动模块接收到所述关联通知消息后,进行无线关联处理。In this embodiment, the probing agent module 20 generates an association notification message for notifying the AP driver module of the AP 100 to perform wireless association according to the association instruction, and sends the association notification message to the AP driver module After receiving the association notification message, the AP driver module performs wireless association processing.

子步骤S1124,所述探测代理模块20接收所述AP100上报的关联结果,并将所述关联结果上报给所述探测服务模块30。In sub-step S1124 , the detection proxy module 20 receives the association result reported by the AP 100 , and reports the association result to the detection service module 30 .

在本实施例中,所述AP驱动模块在无线关联结束时,可将关联结果上报给所述探测代理模块20,所述探测代理模块20再将所述关联结果上报给所述探测服务模块30。其中,所述关联结果包括关联成功或关联失败。In this embodiment, when the wireless association ends, the AP driver module can report the association result to the detection agent module 20, and the detection agent module 20 then reports the association result to the detection service module 30 . Wherein, the association result includes association success or association failure.

在本实施例中,当关联失败时,所述探测服务模块30可重新下发关联指令,以使所述AP驱动模块重新进行无线关联处理。In this embodiment, when the association fails, the detection service module 30 may re-send an association instruction, so that the AP driver module performs wireless association processing again.

子步骤S113,当所述关联结果为关联成功时,所述探测代理模块20接收所述探测服务模块30下发的认证指令,向所述AP100获取认证结果并上报给所述探测服务模块30。Sub-step S113 , when the association result is successful, the probing agent module 20 receives the authentication instruction issued by the probing service module 30 , obtains the authentication result from the AP 100 and reports it to the probing service module 30 .

请参照图7,图7为本发明第一实施例提供的图4中子步骤S113的子步骤的流程示意图。所述子步骤S113可以包括子步骤S1130、子步骤S1132及子步骤S1134。Please refer to FIG. 7 , which is a schematic flowchart of the sub-steps of sub-step S113 in FIG. 4 provided by the first embodiment of the present invention. The sub-step S113 may include sub-step S1130, sub-step S1132 and sub-step S1134.

子步骤S1130,所述探测代理模块20通过控制通道接收所述探测服务模块30下发的认证指令。In sub-step S1130, the detection agent module 20 receives the authentication instruction issued by the detection service module 30 through the control channel.

子步骤S1132,所述探测代理模块20根据所述认证指令生成用于通知所述AP100进行身份认证的认证通知消息,并将所述认证通知消息发送给所述AP100,以使所述AP100进行身份认证。Sub-step S1132, the probing agent module 20 generates an authentication notification message for notifying the AP100 to perform identity authentication according to the authentication instruction, and sends the authentication notification message to the AP100, so that the AP100 performs identity authentication. certified.

子步骤S1134,所述探测代理模块20接收所述AP100上报的认证结果,并将所述认证结果上报给所述探测服务模块30。Sub-step S1134 , the probing agent module 20 receives the authentication result reported by the AP 100 , and reports the authentication result to the probing service module 30 .

在本实施例中,所述认证过程与上述图6中的关联过程类似,在此不再赘述。其中,认证方式可以包括,但不限于:WPA、WAP2-PSK、WAP2等。In this embodiment, the authentication process is similar to the above-mentioned association process in FIG. 6 , and will not be repeated here. Wherein, the authentication method may include, but not limited to: WPA, WAP2-PSK, WAP2, etc.

子步骤S114,当认证结果为认证通过时,所述探测代理模块20接收所述探测服务模块30下发的密钥,并将所述密钥下发给所述AP100,以使所述AP100进行密钥安装,完成上线接入。Sub-step S114, when the authentication result is that the authentication is passed, the probing agent module 20 receives the key issued by the probing service module 30, and issues the key to the AP100, so that the AP100 performs The key is installed and the online access is completed.

在本实施例中,当认证通过时,所述探测代理模块20通过控制通道接收所述探测服务模块30下发的密钥,并将所述密钥下发给所述AP100的AP驱动模块,所述AP驱动模块进行密钥安装,以完成上线接入过程。In this embodiment, when the authentication is passed, the detection agent module 20 receives the key delivered by the detection service module 30 through the control channel, and sends the key to the AP driver module of the AP100, The AP driver module performs key installation to complete the online access process.

请再次参照图3,所述方法还包括:步骤S120。Please refer to FIG. 3 again, the method further includes: Step S120.

步骤S120,当上线接入成功时,所述探测代理模块20模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块30,以使所述探测服务模块30基于所述网络测量数据对通信链路进行分析诊断。Step S120, when the online access is successful, the detection agent module 20 simulates the online communication behavior of the client, collects and reports network measurement data to the detection service module 30 during the data communication process, so that the detection service module 30 Analyzing and diagnosing the communication link based on the network measurement data.

请参照图8,图8为本发明第一实施例提供的图3中步骤S120的子步骤的流程示意图。所述步骤S120可以包括子步骤S121、子步骤S122、子步骤S123及子步骤S124。Please refer to FIG. 8 , which is a schematic flowchart of the sub-steps of step S120 in FIG. 3 provided by the first embodiment of the present invention. The step S120 may include sub-step S121, sub-step S122, sub-step S123 and sub-step S124.

子步骤S121,所述探测代理模块20通过数据通道接收所述探测服务模块30下发的数据报文,并对所述数据报文进行解封装处理。In sub-step S121, the detection agent module 20 receives the data message sent by the detection service module 30 through the data channel, and decapsulates the data message.

在本实施例中,当探测代理模块20模拟客户端的上线认证过程完成之后,所述探测服务模块30可通过数据通道下发的数据报文,所述探测代理模块20通过数据通道接收所述数据报文。In this embodiment, after the online authentication process of the simulated client by the detection agent module 20 is completed, the detection service module 30 may send a data message through the data channel, and the detection agent module 20 receives the data through the data channel message.

在本实施例中,所述探测代理模块20在接收所述数据报文之后,可对所述数据报文进行隧道解封装处理。其中,所述数据报文包括搜集空口信息的消息指令,探测代理模块20对所述数据报文进行解封装处理后可获知所述搜集空口信息的消息指令,以主动收集上网过程中的网络测量数据。In this embodiment, after receiving the data packet, the detecting agent module 20 may perform tunnel decapsulation processing on the data packet. Wherein, the data message includes a message instruction for collecting air interface information, and the detection proxy module 20 can obtain the message instruction for collecting air interface information after decapsulating the data message, so as to actively collect network measurements during the Internet access process. data.

子步骤S122,所述探测代理模块20将经过解封装处理的数据报文发送给所述AP100。In sub-step S122, the detection proxy module 20 sends the decapsulated data packet to the AP100.

在本实施例中,所述探测代理模块20将经过解封装处理的数据报文发送给所述AP100的AP驱动模块。In this embodiment, the detection proxy module 20 sends the decapsulated data packet to the AP driver module of the AP 100 .

子步骤S123,所述探测代理模块20接收所述AP100上报的携带有网络测量数据的回应报文,并对所述回应报文进行封装处理。In sub-step S123, the detection agent module 20 receives the response message carrying the network measurement data reported by the AP 100, and encapsulates the response message.

在本实施例中,所述AP驱动模块对所述数据报文进行处理,在获知所述搜集空口信息的消息指令时,主动收集上网过程中的网络测量数据,将携带有所述网络测量数据的回应报文上报给探测代理模块20,所述探测代理模块20接收所述回应报文,并对所述回应报文进行隧道封装处理。其中,所述回应报文中携带的网络测量数据是指在正常上网过程(比如,浏览网页,打开网络应用等)中收集的数据信息。In this embodiment, the AP driver module processes the data message, and actively collects the network measurement data in the process of surfing the Internet when learning the message instruction for collecting air interface information, and will carry the network measurement data The response message is reported to the detection proxy module 20, and the detection proxy module 20 receives the response message and performs tunnel encapsulation processing on the response message. Wherein, the network measurement data carried in the response message refers to data information collected during a normal surfing process (for example, browsing a webpage, opening a network application, etc.).

子步骤S124,所述探测代理模块20将经过封装处理的所述回应报文上报给所述探测服务模块30。In sub-step S124 , the detection agent module 20 reports the encapsulated response message to the detection service module 30 .

在本实施例中,所述探测服务模块30接收所述回应报文后,可对所述回应报文进行解析,所述探测服务模块30可对所述网络测量数据进行统计、分析等处理,以对通信链路进行诊断。In this embodiment, after the detection service module 30 receives the response message, it can analyze the response message, and the detection service module 30 can perform statistics, analysis and other processing on the network measurement data, to diagnose the communication link.

在本实施例中,本方案通过探测代理模块20模拟客户端的上线接入行为及上网通信行为,可在上网过程中,主动收集网络测量数据并上报给探测服务模块30进行分析诊断。收集的网络测量数据的范围更广、内容更多,可有效提高所述探测服务模块30远程处理网络问题的性能,降低专业技术人员的出访率,减少人工处理成本。并且,由于采用主动收集上报的方式,可对特定AP100,或者特定终端设备200进行网络诊断,不受周围无线干扰、不同类型终端设备200的差异性等因素的影响。In this embodiment, this solution simulates the client's online access behavior and online communication behavior through the detection agent module 20, and can actively collect network measurement data and report it to the detection service module 30 for analysis and diagnosis during the Internet access process. The collected network measurement data has a wider range and more content, which can effectively improve the performance of the detection service module 30 in remotely handling network problems, reduce the visit rate of professional technicians, and reduce manual processing costs. Moreover, due to the active collection and reporting method, network diagnosis can be performed on a specific AP 100 or a specific terminal device 200 without being affected by factors such as surrounding wireless interference and differences in different types of terminal devices 200 .

第二实施例second embodiment

请参照图9,图9是本发明第二实施例提供的网络监控诊断方法的步骤流程图。所述方法应用于上述的监控诊断系统10,其中,AP100或终端设备200包括探测代理模块20,服务器300包括探测服务模块30,所述AP100、终端设备200及服务器300相互通信连接。Please refer to FIG. 9 . FIG. 9 is a flow chart of the steps of the network monitoring and diagnosis method provided by the second embodiment of the present invention. The method is applied to the above-mentioned monitoring and diagnosis system 10, wherein the AP 100 or the terminal device 200 includes the detection agent module 20, the server 300 includes the detection service module 30, and the AP 100, the terminal device 200 and the server 300 are connected by communication.

步骤S210,所述探测服务模块30下发控制指令,所述探测代理模块20基于所述控制指令模拟客户端的上线接入行为,通过与所述探测服务模块30及AP100的交互配合完成上线接入。Step S210, the detection service module 30 issues a control command, and the detection agent module 20 simulates the online access behavior of the client based on the control command, and completes the online access by interacting with the detection service module 30 and the AP100 .

步骤S220,当上线接入成功时,所述探测服务模块30下发数据报文,所述探测代理模块20基于所述数据报文模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块30。Step S220, when the online access is successful, the detection service module 30 sends a data message, and the detection agent module 20 simulates the online communication behavior of the client based on the data message, and collects and reports the data message during the data communication process. The network measurement data is sent to the detection service module 30 .

在本实施例中,所述控制指令可以包括,但不限于,探测指令、关联指令、认证指令等。所述步骤S210及步骤S220的描述可参照上述第一实施例中对步骤S110及步骤S120的描述。In this embodiment, the control instruction may include, but not limited to, a detection instruction, an association instruction, an authentication instruction, and the like. The description of step S210 and step S220 may refer to the description of step S110 and step S120 in the first embodiment above.

步骤S230,所述探测服务模块30基于所述网络测量数据对通信链路进行分析诊断。Step S230, the detection service module 30 analyzes and diagnoses the communication link based on the network measurement data.

在本实施例中,所述探测服务模块30可对所述探测代理模块20上报的网络测量数据进行统计、分析处理,并调用网络测试工具对网络功能和性能进行测试,对通信链路进行诊断。In this embodiment, the detection service module 30 can perform statistics, analysis and processing on the network measurement data reported by the detection proxy module 20, and call network testing tools to test network functions and performance, and diagnose communication links .

在本实施例中,所述探测服务模块30通过对用户管理员设置的测试脚本进行解析,即可调用网络测试工具对网络功能和性能进行测试,并将所述网络测试工具的执行结果保存在数据库中。所述探测服务模块30还可将执行结果返回给用户。In this embodiment, the detection service module 30 can call the network test tool to test the network function and performance by analyzing the test script set by the user administrator, and save the execution result of the network test tool in in the database. The detection service module 30 can also return the execution result to the user.

在本实施例中,所述网络测试工具可以包括,但不限于,WPA、DHCP(Dynamic HostConfiguration Protocol,动态主机配置协议)、ICMP(Internet Control MessageProtocol,Internet控制报文协议)、DNS Python Process、Web service、Traceroute(用来检测发出数据包的主机到目标主机之间所经过的网关数量的工具)、其他工具等。In this embodiment, the network testing tool may include, but not limited to, WPA, DHCP (Dynamic Host Configuration Protocol, Dynamic Host Configuration Protocol), ICMP (Internet Control Message Protocol, Internet Control Message Protocol), DNS Python Process, Web service, Traceroute (a tool used to detect the number of gateways passed between the host sending the data packet and the target host), other tools, etc.

综上所述,本发明实施例一种监控诊断系统及网络监控诊断方法,所述系统包括相互通信连接无线接入点AP、终端设备及服务器,其中,所述AP或终端设备包括探测代理模块,所述服务器包括探测服务模块。所述探测代理模块,用于模拟客户端的上网行为,并将上网过程中收集的网络测量数据上报给所述探测服务模块。所述探测服务模块,用于分析所述网络测量数据,对通信链路进行诊断。To sum up, the embodiment of the present invention is a monitoring and diagnosis system and a network monitoring and diagnosis method. The system includes a wireless access point AP, a terminal device and a server communicating with each other, wherein the AP or the terminal device includes a detection agent module , the server includes a detection service module. The detecting agent module is used to simulate the online behavior of the client, and report the network measurement data collected during the online process to the detecting service module. The detection service module is used for analyzing the network measurement data and diagnosing the communication link.

由此,本方案提供的探测代理模块通过模拟客户端的上网行为,可在上网过程中,主动收集网络测量数据并上报给探测服务模块进行分析诊断。收集的网络测量数据的范围更广、涵盖的信息内容更多,便于所述探测服务模块进行远程分析及诊断,可有效提高远程解决网络问题的性能,降低专业技术人员的出访率。Therefore, the detection proxy module provided by this solution can actively collect network measurement data and report it to the detection service module for analysis and diagnosis by simulating the online behavior of the client. The collected network measurement data has a wider range and covers more information content, which is convenient for the detection service module to perform remote analysis and diagnosis, can effectively improve the performance of remotely solving network problems, and reduce the visit rate of professional and technical personnel.

并且,由于采用主动收集上报的方式,本方案可对特定AP,或者特定终端设备进行网络诊断,不受周围无线干扰、不同类型终端设备的差异性等因素的影响。Moreover, due to the active collection and reporting method, this solution can perform network diagnosis on specific APs or specific terminal devices, without being affected by factors such as surrounding wireless interference and differences between different types of terminal devices.

以上所述仅为本发明的优选实施例而已,并不用于限制本发明,对于本领域的技术人员来说,本发明可以有各种更改和变化。凡在本发明的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本发明的保护范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and changes. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included within the protection scope of the present invention.

Claims (10)

1.一种监控诊断系统,其特征在于,所述系统包括相互通信连接无线接入点AP、终端设备及服务器,其中,所述AP或终端设备包括探测代理模块,所述服务器包括探测服务模块;1. A monitoring and diagnosis system, characterized in that, the system includes a wireless access point AP, a terminal device and a server connected by mutual communication, wherein the AP or the terminal device includes a detection agent module, and the server includes a detection service module ; 所述探测代理模块,用于模拟客户端的上网行为,并将上网过程中收集的网络测量数据上报给所述探测服务模块;The detecting agent module is used to simulate the online behavior of the client, and report the network measurement data collected during the online process to the detecting service module; 所述探测服务模块,用于分析所述网络测量数据,对通信链路进行诊断。The detection service module is used for analyzing the network measurement data and diagnosing the communication link. 2.根据权利要求1所述的系统,其特征在于:2. The system of claim 1, wherein: 所述探测服务模块与所述探测代理模块之间设置有控制通道,所述探测服务模块与所述探测代理模块通过所述控制通道进行控制信息的交互传输;A control channel is set between the detection service module and the detection agent module, and the detection service module and the detection agent module perform interactive transmission of control information through the control channel; 所述探测服务模块与所述探测代理模块之间设置有数据通道,所述探测服务模块与所述探测代理模块通过所述数据通道进行数据报文的交互传输。A data channel is set between the detection service module and the detection proxy module, and the detection service module and the detection proxy module perform interactive transmission of data messages through the data channel. 3.根据权利要求1所述的系统,其特征在于:所述探测代理模块的部署方式包括:3. The system according to claim 1, characterized in that: the deployment of the detection agent module comprises: 所述探测代理模块独立部署在终端设备上;或者,The detection agent module is independently deployed on the terminal device; or, 所述探测代理模块扩展部署在AP上。The probing agent module is extended and deployed on the AP. 4.根据权利要求1所述的系统,其特征在于:所述探测服务模块的部署方式包括:4. The system according to claim 1, characterized in that: the deployment of the detection service module includes: 所述探测代理模块作为独立系统单独部署在服务器上;或者:The detection agent module is deployed on the server as an independent system; or: 所述探测代理模块作为系统模块集成部署在服务器上。The detection agent module is integrated and deployed on the server as a system module. 5.一种网络监控诊断方法,其特征在于,所述方法应用于包括探测代理模块的AP或终端设备,所述AP和/或终端设备与包括探测服务模块的服务器通信连接,所述方法包括:5. A method for network monitoring and diagnosis, characterized in that, the method is applied to an AP or a terminal device comprising a detection agent module, and the AP and/or terminal device are communicatively connected to a server comprising a detection service module, and the method comprises : 所述探测代理模块模拟客户端的上线接入行为,通过与所述探测服务模块及AP的交互配合完成上线接入;The detection agent module simulates the online access behavior of the client, and completes the online access by interacting with the detection service module and the AP; 当上线接入成功时,所述探测代理模块模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块,以使所述探测服务模块基于所述网络测量数据对通信链路进行分析诊断。When the online access is successful, the detection agent module simulates the online communication behavior of the client, collects and reports network measurement data to the detection service module during the data communication process, so that the detection service module is based on the network measurement The data is analyzed and diagnosed on the communication link. 6.根据权利要求5所述的方法,其特征在于,所述探测代理模块模拟客户端的上线接入行为,通过与所述探测服务模块及AP的交互配合完成上线接入,包括:6. The method according to claim 5, wherein the detection agent module simulates the online access behavior of the client, and completes the online access by interacting with the detection service module and the AP, including: 所述探测代理模块接收所述探测服务模块下发的探测指令,向所述AP获取扫描信息并上报给所述探测服务模块;The detection agent module receives the detection instruction issued by the detection service module, obtains scanning information from the AP and reports it to the detection service module; 所述探测代理模块接收所述探测服务模块下发的关联指令,向所述AP获取关联结果并上报给所述探测服务模块;The detection agent module receives the association instruction issued by the detection service module, obtains the association result from the AP and reports it to the detection service module; 当所述关联结果为关联成功时,所述探测代理模块接收所述探测服务模块下发的认证指令,向所述AP获取认证结果并上报给所述探测服务模块;When the association result is that the association is successful, the detection agent module receives the authentication instruction issued by the detection service module, obtains the authentication result from the AP and reports it to the detection service module; 当认证结果为认证通过时,所述探测代理模块接收所述探测服务模块下发的密钥,并将所述密钥下发给所述AP,以使所述AP进行密钥安装,完成上线接入。When the authentication result is that the authentication is passed, the probing agent module receives the key issued by the probing service module, and issues the key to the AP, so that the AP performs key installation and completes the online access. 7.根据权利要求6所述的方法,其特征在于,所述探测代理模块接收所述探测服务模块下发的探测指令,向所述AP获取扫描信息并上报给所述探测服务模块,包括:7. The method according to claim 6, wherein the detection agent module receives the detection instruction issued by the detection service module, obtains scanning information from the AP and reports it to the detection service module, including: 所述探测代理模块通过控制通道接收所述探测服务模块下发的探测指令;The detection agent module receives the detection instruction issued by the detection service module through the control channel; 所述探测代理模块根据所述探测指令生成用于通知AP进行信道扫描的扫描通知消息,并将所述扫描通知消息发送给所述AP,以使所述AP进行信道扫描;The detection proxy module generates a scanning notification message for notifying the AP to perform channel scanning according to the detection instruction, and sends the scanning notification message to the AP, so that the AP performs channel scanning; 所述探测代理模块接收所述AP上报的扫描信息,并将所述扫描信息上报给所述探测服务模块。The detection agent module receives the scanning information reported by the AP, and reports the scanning information to the detection service module. 8.根据权利要求7所述的方法,其特征在于,所述探测代理模块接收所述探测服务模块下发的关联指令,向所述AP获取关联结果并上报给所述探测服务模块,包括:8. The method according to claim 7, wherein the detection proxy module receives the association instruction issued by the detection service module, obtains an association result from the AP and reports it to the detection service module, including: 所述探测代理模块通过控制通道接收所述探测服务模块下发的关联指令;The detection agent module receives the association instruction issued by the detection service module through the control channel; 所述探测代理模块根据所述关联指令生成用于通知所述AP进行无线关联的关联通知消息,并将所述关联通知消息发送给所述AP,以使所述AP进行无线关联;The probing agent module generates an association notification message for notifying the AP to perform wireless association according to the association instruction, and sends the association notification message to the AP, so that the AP performs wireless association; 所述探测代理模块接收所述AP上报的关联结果,并将所述关联结果上报给所述探测服务模块。The detection agent module receives the association result reported by the AP, and reports the association result to the detection service module. 9.根据权利要求5-8任意一项所述的方法,其特征在于,所述探测代理模块模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块,包括:9. The method according to any one of claims 5-8, wherein the detection agent module simulates the online communication behavior of the client, and collects and reports network measurement data to the detection service module during the data communication process ,include: 所述探测代理模块通过数据通道接收所述探测服务模块下发的数据报文,并对所述数据报文进行解封装处理;The detection agent module receives the data message sent by the detection service module through the data channel, and decapsulates the data message; 所述探测代理模块将经过解封装处理的数据报文发送给所述AP;The detection proxy module sends the decapsulated data message to the AP; 所述探测代理模块接收所述AP上报的携带有网络测量数据的回应报文,并对所述回应报文进行封装处理;The detection agent module receives the response message carrying the network measurement data reported by the AP, and encapsulates the response message; 所述探测代理模块将经过封装处理的所述回应报文上报给所述探测服务模块。The detection agent module reports the encapsulated response message to the detection service module. 10.一种网络监控诊断方法,其特征在于,所述方法应用于权利要求1-4任意一项所述的监控诊断系统,其中,AP或终端设备包括探测代理模块,服务器包括探测服务模块,所述AP、终端设备及服务器相互通信连接,所述方法包括:10. A network monitoring and diagnosing method, characterized in that the method is applied to the monitoring and diagnosing system according to any one of claims 1-4, wherein the AP or terminal equipment includes a detection agent module, and the server includes a detection service module, The AP, the terminal device, and the server communicate with each other, and the method includes: 所述探测服务模块下发控制指令,所述探测代理模块基于所述控制指令模拟客户端的上线接入行为,通过与所述探测服务模块及AP的交互配合完成上线接入;The detection service module sends a control instruction, and the detection proxy module simulates the online access behavior of the client based on the control instruction, and completes the online access by interacting with the detection service module and the AP; 当上线接入成功时,所述探测服务模块下发数据报文,所述探测代理模块基于所述数据报文模拟客户端的上网通信行为,在数据通信过程中,收集并上报网络测量数据给所述探测服务模块;When the online access is successful, the detection service module sends a data message, and the detection agent module simulates the online communication behavior of the client based on the data message, and collects and reports the network measurement data to the network during the data communication process. The detection service module described above; 所述探测服务模块基于所述网络测量数据对通信链路进行分析诊断。The detection service module analyzes and diagnoses the communication link based on the network measurement data.
CN201711375249.0A 2017-12-19 2017-12-19 Monitoring and diagnosis system and network monitoring and diagnosis method Active CN108124280B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711375249.0A CN108124280B (en) 2017-12-19 2017-12-19 Monitoring and diagnosis system and network monitoring and diagnosis method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711375249.0A CN108124280B (en) 2017-12-19 2017-12-19 Monitoring and diagnosis system and network monitoring and diagnosis method

Publications (2)

Publication Number Publication Date
CN108124280A true CN108124280A (en) 2018-06-05
CN108124280B CN108124280B (en) 2020-05-15

Family

ID=62230280

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711375249.0A Active CN108124280B (en) 2017-12-19 2017-12-19 Monitoring and diagnosis system and network monitoring and diagnosis method

Country Status (1)

Country Link
CN (1) CN108124280B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532441A (en) * 2020-11-24 2021-03-19 成都西加云杉科技有限公司 Network diagnosis and repair method, device, equipment and medium

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581937A (en) * 2012-07-27 2014-02-12 中兴通讯股份有限公司 Device and method for testing wireless controller
US20150256962A1 (en) * 2012-10-30 2015-09-10 Zte Corporation M2m gateway device and applying method thereof

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103581937A (en) * 2012-07-27 2014-02-12 中兴通讯股份有限公司 Device and method for testing wireless controller
US20150256962A1 (en) * 2012-10-30 2015-09-10 Zte Corporation M2m gateway device and applying method thereof

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112532441A (en) * 2020-11-24 2021-03-19 成都西加云杉科技有限公司 Network diagnosis and repair method, device, equipment and medium

Also Published As

Publication number Publication date
CN108124280B (en) 2020-05-15

Similar Documents

Publication Publication Date Title
US12160354B2 (en) Methods and apparatus for capturing and/or using packets to facilitate fault detection
EP1985128B1 (en) Troubleshooting link and protocol in a wireless network
US9407522B2 (en) Initiating data collection based on WiFi network connectivity metrics
US10917311B2 (en) Network test instrument
EP4250665A1 (en) Detecting network events having adverse user impact
US12003363B2 (en) Automatically troubleshooting and remediating network issues via connected neighbors
EP4114061A1 (en) Network management system to onboard heterogeneous client devices to wireless networks
EP4072188A1 (en) Detection of insufficient rf coverage areas in a wireless network
US20210013992A1 (en) Service validation using emulated virtual clients
EP4171106A1 (en) Location metrics for monitoring or control of wireless networks
EP4142241A1 (en) Identifying root cause of failures through detection of network scope failures
KR20140009309A (en) Troubleshooting wi-fi connectivity by measuring the round trip time of packets sent with different modulation rates
CN107079320A (en) The terminal data call performance test of network control
US11128544B2 (en) Remote wireless sniffer management
EP4135353A1 (en) Wireless access point proximity zones
CN108124280B (en) Monitoring and diagnosis system and network monitoring and diagnosis method
EP4141467A1 (en) Wifi location enhancement
EP4243365A1 (en) Associating sets of data corresponding to a client device
EP4409950A1 (en) Collecting client data for wireless client devices
Benmoshe et al. A joint framework of passive monitoring system for complex wireless networks
Wongwirat et al. Development of WLAN topology display system
US20240007378A1 (en) Orchestration of round-trip time (rtt) measurements
US12040934B1 (en) Conversational assistant for obtaining network information
US20240224165A1 (en) Automatic grouping of deployed access points
Ertürk et al. Development of software-based vendor independent WLAN controller

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: Monitoring and Diagnosis System and Network Monitoring and Diagnosis Methods

Effective date of registration: 20231221

Granted publication date: 20200515

Pledgee: Industrial Bank Limited by Share Ltd. Chengdu branch

Pledgor: CHENGDU SKSPRUCE TECHNOLOGY, Inc.

Registration number: Y2023980072835

PE01 Entry into force of the registration of the contract for pledge of patent right
PC01 Cancellation of the registration of the contract for pledge of patent right

Granted publication date: 20200515

Pledgee: Industrial Bank Limited by Share Ltd. Chengdu branch

Pledgor: CHENGDU SKSPRUCE TECHNOLOGY, Inc.

Registration number: Y2023980072835

PC01 Cancellation of the registration of the contract for pledge of patent right