[go: up one dir, main page]

CN116089237A - Method, medium, program product and access point for debug log information collection - Google Patents

Method, medium, program product and access point for debug log information collection Download PDF

Info

Publication number
CN116089237A
CN116089237A CN202111314508.5A CN202111314508A CN116089237A CN 116089237 A CN116089237 A CN 116089237A CN 202111314508 A CN202111314508 A CN 202111314508A CN 116089237 A CN116089237 A CN 116089237A
Authority
CN
China
Prior art keywords
information
access point
log information
remote server
network
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.)
Pending
Application number
CN202111314508.5A
Other languages
Chinese (zh)
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.)
Arris Enterprises LLC
Original Assignee
Arris Enterprises LLC
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 Arris Enterprises LLC filed Critical Arris Enterprises LLC
Priority to CN202111314508.5A priority Critical patent/CN116089237A/en
Publication of CN116089237A publication Critical patent/CN116089237A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/34Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment
    • G06F11/3438Recording or statistical evaluation of computer activity, e.g. of down time, of input/output operation ; Recording or statistical evaluation of user activity, e.g. usability assessment monitoring of user actions
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F21/00Security arrangements for protecting computers, components thereof, programs or data against unauthorised activity
    • G06F21/60Protecting data
    • G06F21/602Providing cryptographic facilities or services

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Computer Hardware Design (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Quality & Reliability (AREA)
  • Health & Medical Sciences (AREA)
  • Bioethics (AREA)
  • General Health & Medical Sciences (AREA)
  • Computer Security & Cryptography (AREA)
  • Software Systems (AREA)
  • Debugging And Monitoring (AREA)

Abstract

本公开涉及用于调试日志信息收集的方法、介质、程序产品和接入点。该方法包括:由接入点从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题有关的调试日志信息;由接入点基于所述配置信息收集所述调试日志信息;以及由接入点将存储所述调试日志信息的日志文件发送到所述远程服务器。通过上述方案,能够由网络服务器根据网络问题配置接入点来自动收集并上传调试日志信息,并且日志文件中的调试日志信息能够被远程访问以解决网络中出现的网络问题,从而节省了人力和时间。

Figure 202111314508

The present disclosure relates to a method, a medium, a program product and an access point for collecting debugging log information. The method includes: receiving, by the access point, configuration information from a remote server, the configuration information being used to configure the access point to collect debug log information related to a network problem occurring in a network in which the access point is located; collecting the debugging log information based on the configuration information; and sending, by the access point, a log file storing the debugging log information to the remote server. Through the above solution, the network server can configure the access point according to the network problem to automatically collect and upload the debugging log information, and the debugging log information in the log file can be remotely accessed to solve the network problem in the network, thereby saving manpower and time.

Figure 202111314508

Description

用于调试日志信息收集的方法、介质、程序产品和接入点Method, medium, program product and access point for debug log information collection

技术领域technical field

本公开大体上涉及通信网络领域,更具体地,涉及通信网络领域中用于调试日志信息收集的方法、介质、程序产品和接入点。The present disclosure generally relates to the field of communication networks, and more particularly, to a method, medium, program product and access point for collecting debugging log information in the field of communication networks.

背景技术Background technique

由于各种局域网技术的普及,企业、学校、商场、家庭等都纷纷在自己所处的物理范围内部署局域网,并使各种终端设备能够通过局域网内的接入点(AP)连接到外部网络。例如,诸如笔记本电脑、桌面电脑、移动电话、家用电器、游戏机设备之类的大量终端设备可以通过Wi-Fi连接到诸如Wi-Fi路由器、Wi-Fi扩展器(extender)、家庭网关、移动宽带路由器之类的接入点,进而接入到互联网以享受各种应用服务。Due to the popularization of various LAN technologies, enterprises, schools, shopping malls, families, etc. have all deployed LANs within their physical range, and enabled various terminal devices to connect to external networks through access points (APs) in the LAN. . For example, a large number of terminal devices such as laptops, desktop computers, mobile phones, home appliances, and game consoles can be connected to devices such as Wi-Fi routers, Wi-Fi extenders, home gateways, mobile Access points such as broadband routers, and then access to the Internet to enjoy various application services.

用户处的AP可能会遇到各种网络问题。例如,连接到AP的终端设备无法连接到诸如互联网之类的分组数据网络进而无法上网,或终端设备不能稳定地上网而常常掉线,或用户感知到的上行和/或下行数据率过小,或终端设备无法连接上Wi-Fi网络,等等。当用户遭受这些问题时,用户通常向提供网络接入服务的网络运营商进行报告,以使网络运营商能够解决对应的问题。The AP at the user's location may encounter various network problems. For example, a terminal device connected to an AP cannot connect to a packet data network such as the Internet and thus cannot access the Internet, or a terminal device cannot access the Internet stably and often goes offline, or the user perceives that the uplink and/or downlink data rate is too small, Or the terminal device cannot connect to the Wi-Fi network, etc. When a user suffers from these problems, the user usually reports to the network operator that provides network access services, so that the network operator can solve the corresponding problem.

接收到报告的网络运营商,通常会派出维护人员去到用户住所,以在现场对AP进行调试来发现网络问题。由于数据安全性等的一些要求,当AP被发布以出售给用户之后,相比于在AP发布之前的调试阶段看到的调试数据流(也可以为称为debug load),发布后能看到的调试数据流(也可以被称为official load)中缺少了很多调试日志(debug log)信息,这使得去到现场的维护人员可能难以获得足够的调试日志信息来分析网络问题。于是,去到住所的维护人员可能需要手动将AP中的official load升级到debug load以获得可以执行调试命令的权限,然后尝试执行不同的调试命令来获得需要的调试日志信息等。由于维护人员必须去到现场进行调试来发现具体的网络问题,因此这种方式非常消耗时间并且浪费人力。The network operator who receives the report usually sends maintenance personnel to the user's residence to debug the AP on site to find network problems. Due to some requirements such as data security, after the AP is released for sale to users, compared with the debug data stream seen in the debugging phase before the release of the AP (also called debug load), you can see it after release A lot of debug log (debug log) information is missing in the debug data stream (also called official load), which makes it difficult for maintenance personnel who go to the site to obtain enough debug log information to analyze network problems. Therefore, the maintenance personnel who go to the residence may need to manually upgrade the official load in the AP to the debug load to obtain the permission to execute debugging commands, and then try to execute different debugging commands to obtain the required debugging log information. Since maintenance personnel have to go to the site for debugging to find specific network problems, this method is very time-consuming and wastes manpower.

因此,期望提供一种方式,使得在发生网络问题之后,能够自动收集用于分析网络问题的调试日志信息而无需维护人员去到现场,从而可以节省时间和人力。Therefore, it is desirable to provide a way to automatically collect debugging log information for analyzing network problems after a network problem occurs without requiring maintenance personnel to go to the site, thereby saving time and manpower.

发明内容Contents of the invention

本公开的一些方面涉及一种接入点。该接入点可以包括:存储器,存储有指令;以及处理器,被配置为执行存储在存储器中的指令以使所述接入点执行以下操作。所述操作包括:从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题(issue)有关的调试日志信息;基于所述配置信息将所述调试日志信息收集在日志文件中;以及将存储所述调试日志信息的日志文件发送到所述远程服务器,使得所述远程服务器访问日志文件中的调试日志信息以解决所述网络中出现的网络问题。Some aspects of this disclosure relate to an access point. The access point may include: a memory storing instructions; and a processor configured to execute the instructions stored in the memory to cause the access point to perform the following operations. The operations include: receiving configuration information from a remote server, the configuration information being used to configure the access point to collect debug log information related to a network problem (issue) that occurs in a network on which the access point is located; based on the configuration Information collects the debug log information in a log file; and sends the log file storing the debug log information to the remote server, so that the remote server accesses the debug log information in the log file to solve the problem in the network A network problem occurred.

在一些实施例中,调试日志信息可以包括与接入点配置和连接有关的信息以及与连接到接入点的一个或多个终端设备有关的信息。In some embodiments, the debug log information may include information related to the configuration and connection of the access point as well as information related to one or more end devices connected to the access point.

在一些实施例中,当网络问题包括连接到接入点的特定终端设备无法连接到分组数据网络时,调试日志信息进一步包括与所述特定终端设备相关联的地址解析协议(ARP)分组、互联网控制报文协议(ICMP)分组和动态主机配置协议(DHCP)分组中的至少一个的信息。In some embodiments, when the network problem includes a particular end device connected to the access point being unable to connect to the packet data network, the debug log information further includes Address Resolution Protocol (ARP) packets associated with the particular end device, Internet Information of at least one of a Control Message Protocol (ICMP) packet and a Dynamic Host Configuration Protocol (DHCP) packet.

在一些实施例中,调试日志信息可以满足配置信息指示的信息级别。In some embodiments, the debug log information may meet the information level indicated by the configuration information.

在一些实施例中,调试日志信息是由配置信息指示的接入点中的一个或多个模块产生的。In some embodiments, the debug log information is generated by one or more modules in the access point indicated by the configuration information.

在一些实施例中,所述处理器进一步可以被配置为执行以下操作:周期性检测所述日志文件的尺寸;当所述日志文件达到预定的最大尺寸时,将所述日志文件发送到所述远程服务器;以及创建新的日志文件以存储新收集的调试日志信息。In some embodiments, the processor may be further configured to perform the following operations: periodically detect the size of the log file; when the log file reaches a predetermined maximum size, send the log file to the remote server; and create a new log file to store newly collected debug log information.

在一些实施例中,所述处理器进一步可以被配置为:响应于接收到所述配置信息,请求所述远程服务器发送用于验证所述远程服务器的合法性的密码数据;从所述远程服务器接收密码数据;确定密码数据正确;以及响应于确定密码数据正确,基于所述配置信息收集所述调试日志信息。In some embodiments, the processor may be further configured to: in response to receiving the configuration information, request the remote server to send password data for verifying the legitimacy of the remote server; receiving cryptographic data; determining that the cryptographic data is correct; and collecting the debug log information based on the configuration information in response to determining that the cryptographic data is correct.

在一些实施例中,所述处理器进一步被配置为当确定所述密码数据不正确时,拒绝收集所述调试日志信息。In some embodiments, the processor is further configured to refuse to collect the debug log information when it is determined that the cryptographic data is incorrect.

本公开的其他方面涉及一种用于调试日志信息收集的方法、非暂态计算机可读介质和计算机程序产品。它们均可以实现上述接入点可执行的操作。Other aspects of the present disclosure relate to a method, non-transitory computer readable medium, and computer program product for debug log information collection. They can all implement the operations that the access point described above can perform.

附图说明Description of drawings

为了更好地理解本公开,并示出如何实现本公开,现在将以举例的方式参照附图描述,其中:In order to better understand the present disclosure, and to show how it may be practiced, reference will now be made to the accompanying drawings, by way of example, in which:

图1示出了根据本公开实施例的在调试日志信息收集的场景中的网络连接的示例的示意图。Fig. 1 shows a schematic diagram of an example of network connections in a scenario of debugging log information collection according to an embodiment of the present disclosure.

图2示出了根据本公开实施例的图1中的接入点的示例性配置框图。FIG. 2 shows a block diagram of an exemplary configuration of the access point in FIG. 1 according to an embodiment of the present disclosure.

图3示出了根据本公开实施例的用于调试日志信息收集的方法的流程图。Fig. 3 shows a flowchart of a method for collecting debug log information according to an embodiment of the present disclosure.

图4示出了根据本公开实施例的用于调试日志信息收集的另一方法的流程图。Fig. 4 shows a flowchart of another method for collecting debug log information according to an embodiment of the present disclosure.

具体实施方式Detailed ways

参考附图进行以下详细描述,并且提供以下详细描述以帮助全面理解本公开的各种示例实施例。以下描述包括各种细节以帮助理解,但是这些细节仅被认为是示例,而不是为了限制本公开,本公开是由随附权利要求及其等同内容限定的。在以下描述中使用的词语和短语仅用于能够清楚一致地理解本公开。另外,为了清楚和简洁起见,可能省略了对公知的结构、功能和配置的描述。本领域普通技术人员将认识到,在不脱离本公开的精神和范围的情况下,可以对本文描述的示例进行各种改变和修改。The following detailed description is made with reference to the accompanying drawings, and is provided to assist in a comprehensive understanding of various example embodiments of the present disclosure. The following description includes various details to aid in understanding, but these are to be regarded as examples only and not for the purpose of limiting the disclosure, which is defined by the appended claims and their equivalents. Words and phrases used in the following description are used only to enable a clear and consistent understanding of the present disclosure. In addition, descriptions of well-known structures, functions, and configurations may be omitted for clarity and conciseness. Those of ordinary skill in the art will recognize that various changes and modifications of the examples described herein can be made without departing from the spirit and scope of the disclosure.

首先参考图1,描述根据本公开实施例的在调试日志信息收集的场景中的网络连接的示例的示意图。Referring first to FIG. 1 , a schematic diagram of an example of network connections in a scenario of debugging log information collection according to an embodiment of the present disclosure is described.

如图1所示,接入点(AP)110位于用户的诸如住房、工厂、办公室等的住所100中,AP110在其信号所达的区域中搭建网络150,更具体地说,局域网。AP 110位于的网络150可以是支持例如802.11协议的无线局域网,例如Wi-Fi网络。AP 110能够使网络150中的终端设备接入外部网络130。处于网络150的覆盖范围内的n个终端设备120-1至120-n(n是大于等于1的整数)可以通过连接到AP 110而连接到外部网络130。终端设备120-1至120-n可以通过采用802.11协议等以无线方式连接到AP 110,也可以通过线缆等以有线方式连接到AP110。这些终端设备可以是智能电话、平板电脑、笔记本电脑、桌面电脑、启用互联网功能的智能家电等中的一个或多个,它们经由AP 110可以享受外部网络130提供的网络服务。AP110可以以有线的方式连接到外部网络130以往来于外部网络收发数据。外部网络130可以是包含诸如互联网、私有网之类的分组数据网络的网络,能够连接到外部网络130的设备可以与AP 110交互,也可以经由AP 110与终端设备120-1至120-n交互。As shown in FIG. 1 , an access point (AP) 110 is located in a user's residence 100 such as a house, factory, office, etc., and the AP 110 builds a network 150, more specifically, a local area network, in the area where its signal reaches. The network 150 where the AP 110 is located may be a wireless local area network supporting, for example, an 802.11 protocol, such as a Wi-Fi network. The AP 110 can enable terminal devices in the network 150 to access the external network 130. n terminal devices 120-1 to 120-n (n is an integer greater than or equal to 1) within the coverage of the network 150 can be connected to the external network 130 by connecting to the AP 110. The terminal devices 120-1 to 120-n can be connected to the AP 110 wirelessly by adopting the 802.11 protocol or the like, or can be connected to the AP 110 by cable or the like. These terminal devices may be one or more of smart phones, tablet computers, notebook computers, desktop computers, smart home appliances with Internet functions, etc., and they can enjoy network services provided by the external network 130 via the AP 110. The AP 110 can be connected to the external network 130 in a wired manner to send and receive data to and from the external network. The external network 130 may be a network including a packet data network such as the Internet or a private network, and devices capable of connecting to the external network 130 may interact with the AP 110, or may interact with the terminal devices 120-1 to 120-n via the AP 110 .

图1中的AP 110可以具有图2所示的示例性配置。尽管在本文中将用于使终端设备接入外部网络的设备称为接入点(AP),但是AP 110可以是例如可以组合调制解调器、接入点和/或路由器的功能的硬件电子设备。本公开还设想AP 110可以包括但不限于能够解码音频/视频内容并播放越过(OTT)提供商或多系统运营商(MSO)提供的内容的智能媒体设备(SMD)或IP/QAM机顶盒(STB)的功能。AP 110 in FIG. 1 may have the exemplary configuration shown in FIG. 2 . Although a device for enabling a terminal device to access an external network is referred to herein as an access point (AP), the AP 110 may be, for example, a hardware electronic device that may combine the functions of a modem, an access point, and/or a router. This disclosure also contemplates that AP 110 may include, but is not limited to, a smart media device (SMD) or IP/QAM set-top box (STB) capable of decoding audio/video content and playing content provided by an over-the-top (OTT) provider or multiple system operator (MSO). ) function.

如图2所示,AP 110包括用户接口20、网络接口21、电源22、广域网(WAN)接口23、存储器24和控制器26。用户接口20可以包括但不限于推动按钮、键盘、小键盘、液晶显示器(LCD)设备、阴极射线管(CRT)设备、薄膜晶体管(TFT)设备、发光二极管(LED)设备、高清(HD)设备或其他类似显示设备,包括具有触摸屏能力的显示设备,以允许用户和AP 110之间的交互。网络接口21可以包括各种网卡以及以软件和/或硬件实施的电路,以使得能够使用一个或多个无线协议来实现与无线扩展器设备和客户端设备的通信,所述无线协议例如是任何电气电子工程师协会(IEEE)802.11Wi-Fi协议、蓝牙协议、蓝牙低功耗(BLE)、或根据无线技术标准工作以使用任何许可或未许可频段在短距离上交换数据的任何短距离协议、消费电子射频(RF4CE)协议、ZigBee协议、Z波协议或IEEE802.15.4协议,所述许可或未许可频段例如是市民宽带无线电服务(CBRS)频段、2.4GHz频段、5GHz频段、或6GHz频段。As shown in FIG. 2, the AP 110 includes a user interface 20, a network interface 21, a power supply 22, a wide area network (WAN) interface 23, a memory 24, and a controller 26. User interface 20 may include, but is not limited to, push buttons, keyboards, keypads, liquid crystal display (LCD) devices, cathode ray tube (CRT) devices, thin film transistor (TFT) devices, light emitting diode (LED) devices, high definition (HD) devices Or other similar display devices, including display devices with touch screen capabilities, to allow interaction between the user and the AP 110. Network interface 21 may include various network cards and circuitry implemented in software and/or hardware to enable communication with wireless extender devices and client devices using one or more wireless protocols, such as any Institute of Electrical and Electronics Engineers (IEEE) 802.11 Wi-Fi protocol, Bluetooth protocol, Bluetooth Low Energy (BLE), or any short-range protocol that operates according to a wireless technology standard to exchange data over short distances using any licensed or unlicensed frequency band, Radio Frequency for Consumer Electronics (RF4CE) protocol, ZigBee protocol, Z-wave protocol or IEEE802.15.4 protocol, the licensed or unlicensed frequency band is, for example, Citizen Broadband Radio Service (CBRS) frequency band, 2.4GHz frequency band, 5GHz frequency band, or 6GHz frequency band.

电源22通过内部总线27向AP 110的内部组件供电。电源22可以是独立式电源,例如电池组,其具有通过连接到插座(例如,直接或通过其他设备)的电气充电器供电的接口。电源22还可以包括可拆卸以允许替换的可充电电池,例如镍镉(NiCd)、镍金属氢化物(NiMH)、锂(Li)离子或Li聚合物电池。如果AP 110是调制解调器或网关设备,则其可以包括WAN接口23,WAN接口23可以包括各种网卡以及以软件和/或硬件实现的电路,以实现路由器设备与互联网服务提供商或MSO之间的通信。Power supply 22 supplies power to the internal components of AP 110 via internal bus 27. The power source 22 may be a self-contained power source, such as a battery pack, that has an interface for being powered by an electrical charger connected to an outlet (eg, directly or through another device). Power source 22 may also include a rechargeable battery that is removable to allow replacement, such as a nickel cadmium (NiCd), nickel metal hydride (NiMH), lithium (Li) ion, or Li polymer battery. If the AP 110 is a modem or a gateway device, it may include a WAN interface 23, which may include various network cards and circuits implemented in software and/or hardware to realize communication between the router device and an Internet service provider or MSO. communication.

存储器24包括单个存储器或一个或多个存储器或存储器位置,包括但不限于随机存取存储器(RAM)、动态随机存取存储器(DRAM)、静态随机存取存储器(SRAM)、只读存储器(ROM)、电可擦除只读存储器(EPROM)、电可擦除可编程只读存储器(EEPROM)、闪存、现场可编程门阵列(FPGA)的逻辑块、硬盘或存储器层次结构的任何其他各层。存储器24可以用于存储任何类型的指令、软件或算法,包括用于控制AP 110的一般功能和操作的软件25。Memory 24 includes a single memory or one or more memories or memory locations, including but not limited to Random Access Memory (RAM), Dynamic Random Access Memory (DRAM), Static Random Access Memory (SRAM), Read Only Memory (ROM) ), Electrically Erasable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Flash memory, logic blocks of Field Programmable Gate Arrays (FPGAs), hard disks, or any other layers of the memory hierarchy . Memory 24 may be used to store any type of instructions, software or algorithms, including software 25 for controlling the general functions and operation of AP 110.

控制器26控制AP 110的一般操作,并执行与网络中的其他设备(例如扩展器和客户端设备)有关的管理功能。控制器26可以包括但不限于中央处理单元(CPU)、硬件微处理器、硬件处理器、多核处理器、单核处理器、微控制器、专用集成电路(ASIC)、数字信号处理器(DSP)、或根据本公开中描述的实施例的能够执行用于控制AP 110的操作和功能的任何类型的指令、算法或软件的其他类似处理设备。诸如处理器之类的控制器26可以包括在计算系统中执行功能的数字电路、模拟电路、或混合信号(模拟和数字的组合)电路的各种实现。控制器26可以包括例如诸如集成电路(IC)之类的电路、单个处理器核的部分或电路、整个处理器核、单个处理器、诸如FPGA之类的可编程硬件设备、和/或包括多个处理器的系统。Controller 26 controls the general operation of AP 110 and performs management functions related to other devices in the network, such as extenders and client devices. The controller 26 may include, but is not limited to, a central processing unit (CPU), a hardware microprocessor, a hardware processor, a multi-core processor, a single-core processor, a microcontroller, an application-specific integrated circuit (ASIC), a digital signal processor (DSP) ), or other similar processing devices capable of executing any type of instructions, algorithms, or software for controlling the operations and functions of the AP 110 according to embodiments described in this disclosure. Controller 26 , such as a processor, may include various implementations of digital circuitry, analog circuitry, or mixed-signal (combination of analog and digital) circuitry that perform functions in a computing system. Controller 26 may include, for example, a circuit such as an integrated circuit (IC), a portion or circuit of a single processor core, an entire processor core, a single processor, a programmable hardware device such as an FPGA, and/or include multiple processor system.

可以使用内部总线27在AP 110的组件(例如20-22、24和26)之间建立通信。Communications may be established between components of AP 110 (e.g., 20-22, 24, and 26) using internal bus 27.

返回图1,远程服务器140可以位于提供终端设备120-1至120-n的网络接入服务的网络运营商的办公驻地,当然也可以位于其它地方,例如维护人员的家里等。远程服务器140可以通过外部网络130连接到AP 110,也可以通过网络运营商的私有网络连接到AP 110(未示出)。远程服务器140和AP 110的连接关系没有特别限制,只要远程服务器140能够向AP 110发送信息并从AP 110接收信息即可。Returning to FIG. 1 , the remote server 140 may be located at the office of the network operator that provides the network access service for the terminal devices 120 - 1 to 120 - n , and of course may also be located at other places, such as the home of maintenance personnel. The remote server 140 can be connected to the AP 110 through the external network 130, or can be connected to the AP 110 through the network operator's private network (not shown). The connection relationship between the remote server 140 and the AP 110 is not particularly limited, as long as the remote server 140 can send information to the AP 110 and receive information from the AP 110.

尽管在图1中仅示出了在用户住所100中具有一个AP 110,并且远程服务器140与一个AP 110进行连接,但是本领域技术人员完全可以理解,在用户住所100中可以具有两个或更多个AP 110以提供更完全的覆盖,并且远程服务器140可以与不同用户的多个AP 110进行连接,以能够与更多AP 110进行通信来收集更多AP 110的调试日志信息,从而帮助判断多个AP 110处的网络问题。Although only one AP 110 is shown in the user's residence 100 in FIG. Multiple APs 110 provide more complete coverage, and the remote server 140 can be connected with multiple APs 110 of different users to be able to communicate with more APs 110 to collect more debug log information of APs 110, thereby helping to judge Network issues at multiple APs 110.

当终端设备120-1至120-n中的一个或多个不能上网时,或者当终端设备120-1至120-n中的一个或多个常常掉线而需要反复连接AP 110或外部网络130时,或者当终端设备120-1至120-n中的一个或多个的通信速度显著降低而不能恢复正常速度时,或者当其它上网异常情况发生时,用户通常通过打电话等向网络运营商报告网络150的相关网络问题。知晓上述问题的网络运营商,可以通过采用本公开实施例提供的方法,利用远程服务器140和AP 110之间的交互来远程自动收集与所述网络问题相关的调试日志信息,以帮助维护人员进行网络问题分析,从而避免已有技术中维护人员不得不去到用户的住所而浪费时间和人力的问题,使得获取调试日志信息的效率得以提高。下面,具体描述根据本公开实施例的用于收集调试日志信息的方法。When one or more of the terminal devices 120-1 to 120-n cannot access the Internet, or when one or more of the terminal devices 120-1 to 120-n are often offline and need to repeatedly connect to the AP 110 or the external network 130 , or when the communication speed of one or more of the terminal devices 120-1 to 120-n is significantly reduced and the normal speed cannot be restored, or when other abnormal Internet access occurs, the user usually calls the network operator Report network 150 related network issues. A network operator who is aware of the above problems can use the method provided by the embodiment of the present disclosure to use the interaction between the remote server 140 and the AP 110 to remotely and automatically collect debugging log information related to the network problem to help maintenance personnel The network problem analysis avoids the problem in the prior art that maintenance personnel have to go to the user's residence to waste time and manpower, and improves the efficiency of obtaining debugging log information. In the following, a method for collecting debugging log information according to an embodiment of the present disclosure will be described in detail.

在图3中示出了用于收集调试日志信息的方法300的流程图。方法300可以由接入点执行,以在接入点位于的网络中发生网络问题时进行调试日志信息的远程收集,从而能够在无需维护人员去到用户住所等的情况下进行网络问题分析。在图3的描述中,将参考图1的网络连接示例来帮助本领域技术人员更好地理解本公开的内容。A flowchart of a method 300 for collecting debug log information is shown in FIG. 3 . The method 300 can be executed by the access point to remotely collect debugging log information when a network problem occurs in the network where the access point is located, so that network problem analysis can be performed without requiring maintenance personnel to go to the user's residence or the like. In the description of FIG. 3 , reference will be made to the network connection example in FIG. 1 to help those skilled in the art better understand the content of the present disclosure.

在S310中,由接入点从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题有关的调试日志信息。In S310, the access point receives configuration information from the remote server, the configuration information is used to configure the access point to collect debugging log information related to network problems occurring in the network where the access point is located.

在AP 110为其中的终端设备提供接入服务的网络150中出现了上述任何网络问题之后,用户可以向网络运营商报告所述问题。也可能AP 110自动上报它感测到的网络问题。响应于网络问题的出现,远程服务器140向AP 110发送配置信息,该配置信息能够将AP 110配置为自动对与网络150中出现的网络问题有关的调试日志信息进行收集。这些调试日志信息可以是在针对网络问题的调试过程中产生的日志信息。After any of the above-mentioned network problems occurs in the network 150 in which the terminal equipment is provided with the access service by the AP 110, the user can report the problem to the network operator. It is also possible that AP 110 automatically reports network problems it senses. In response to the occurrence of a network problem, the remote server 140 sends configuration information to the AP 110 that can configure the AP 110 to automatically collect debug log information related to the network problem occurring in the network 150. The debugging log information may be log information generated during the debugging process for network problems.

配置信息可以以控制指令或消息的形式发送给AP 110,以触发AP 110例如通过调用预先存储在AP 110中的程序来自动收集用于网络问题分析的调试日志信息。例如,配置信息可以通过现有的MIB(Management Information Base,管理信息库)或TR069从远程服务器140发送到AP 110以将AP 110配置为收集与网络问题相关的调试日志信息。The configuration information can be sent to the AP 110 in the form of control instructions or messages, so as to trigger the AP 110 to automatically collect debugging log information for network problem analysis, for example, by calling a program pre-stored in the AP 110. For example, the configuration information can be sent from the remote server 140 to the AP 110 through the existing MIB (Management Information Base) or TR069 to configure the AP 110 to collect debug log information related to network problems.

远程服务器140配置AP 110收集的调试日志信息可以包括与接入点配置和连接有关的信息以及与连接到AP 110的一个或多个终端设备有关的信息。与接入点配置和连接有关的信息可以包括Wi-Fi简档(profile)信息、ATOM路由信息、ifconfig输出信息和桥接信息中的至少一个。其中,Wi-Fi简档信息可以指示AP 110本身的配置参数信息,ATOM路由信息可以指示AP 110的路由转发信息,ifconfig输出信息可以指示AP 110的网络接口信息,桥接信息可以指示AP 110的物理连接关系。与连接到AP 110的一个或多个终端设备有关的信息可以是与当前连接到AP 110的所有终端设备有关的信息,也可以是与其中特定的一个或多个终端设备有关的信息。这些信息可以包括终端设备的设备信息以及无线电统计信息中的至少一个。设备信息可以包括终端设备的MAC(Media Access Control,介质访问控制)地址、类型、支持的协议等,无线电统计信息可以包括终端设备的参考信号接收功率(RSRP)、发送信号强度、当前速率、占用带宽、与AP交互的信息等。The debug log information collected by remote server 140 configuration AP 110 may include information related to access point configuration and connection as well as information related to one or more end devices connected to AP 110. Information related to access point configuration and connection may include at least one of Wi-Fi profile information, ATOM routing information, ifconfig output information, and bridging information. Among them, the Wi-Fi profile information can indicate the configuration parameter information of the AP 110 itself, the ATOM routing information can indicate the routing forwarding information of the AP 110, the ifconfig output information can indicate the network interface information of the AP 110, and the bridge information can indicate the physical location of the AP 110. connection relationship. The information related to one or more terminal devices connected to the AP 110 may be information related to all terminal devices currently connected to the AP 110, or may be information related to one or more specific terminal devices. The information may include at least one of device information of the terminal device and radio statistical information. The device information can include the MAC (Media Access Control) address, type, and supported protocol of the terminal device, and the radio statistics can include the reference signal received power (RSRP), transmitted signal strength, current rate, and occupancy of the terminal device. Bandwidth, information exchanged with APs, etc.

与连接到AP 110的一个或多个终端设备有关的信息可以被周期性地收集,例如每20秒收集一次。收集到的信息可以被存储在日志文件中。与接入点配置和连接有关的信息由于通常保持不变,因此可以将其在调试过程开始时保存在日志文件中,而无需周期性地进行检测和记录。当然,也可以以较大的周期(例如,每10分钟、30分钟、1小时等)将其保存在日志文件中。Information related to one or more terminal devices connected to the AP 110 may be collected periodically, for example, every 20 seconds. The collected information can be stored in log files. Information about access point configuration and connections, since they usually remain unchanged, can be saved in log files at the beginning of the commissioning process instead of being periodically instrumented and logged. Of course, it can also be saved in a log file at a larger period (for example, every 10 minutes, 30 minutes, 1 hour, etc.).

无论出现的网络问题是什么,上述与接入点配置和连接有关的信息以及与连接到AP 110的一个或多个终端设备有关的信息都可以被AP 110收集以帮助进行问题分析。此外,上述两类信息不限于上述所列举的具体形式,还可以是本领域技术人员可以想到的其它形式。No matter what the network problem occurs, the above-mentioned information related to the configuration and connection of the access point and the information related to one or more terminal devices connected to the AP 110 can be collected by the AP 110 to help in problem analysis. In addition, the above two types of information are not limited to the specific forms listed above, and may also be in other forms conceivable by those skilled in the art.

当网络问题包括连接到AP 110的特定终端设备无法连接到分组数据网络时,远程服务器140可以配置AP 110不仅收集上述与接入点配置和连接有关的信息以及与连接到AP110的一个或多个终端设备有关的信息,而且还可以配置AP 110收集与该特定终端设备相关联的ARP(Address Resolution Protocol,地址解析协议)分组、ICMP(Internet ControlMessage Protocol,互联网控制报文协议)分组和DHCP(Dynamic Host ConfigurationProtocol,动态主机配置协议)分组中的至少一个的信息。When the network problem includes that a specific terminal device connected to the AP 110 cannot connect to the packet data network, the remote server 140 can configure the AP 110 to not only collect the above-mentioned information related to the configuration and connection of the access point, but also related to one or more devices connected to the AP 110. Terminal equipment related information, and AP 110 can also be configured to collect ARP (Address Resolution Protocol, Address Resolution Protocol) grouping, ICMP (Internet ControlMessage Protocol, Internet Control Message Protocol) grouping and DHCP (Dynamic Host ConfigurationProtocol, dynamic host configuration protocol) information in at least one of the packets.

例如,如果网络问题是终端设备120-1可以连接到AP 110,但是它无法上网从而无法从外部网络130接受网络服务,那么远程服务器140可以向AP 110发送配置信息,以指示AP 110不仅收集Wi-Fi简档信息、ATOM路由信息、ifconfig输出信息、桥接信息以及终端设备120-1的MAC地址对应的设备类型、数据速率、占用带宽等,而且收集与终端设备120-1的MAC地址相关联的ARP分组、ICMP分组和DHCP分组中的至少一个的诸如报头信息之类的信息。当收集诸如报头信息之类的信息时,AP 110可以在不同的实施例中针对不能上网的终端设备120-1的MAC地址,仅监视ARP分组,仅监视ICMP分组,仅监控DHCP分组,监视ARP分组和ICMP分组,监视ARP分组和DHCP分组,监视ICMP分组和DHCP分组,或者监视ARP分组、ICMP分组和DHCP分组。被监视的分组的报头信息可以被存储在日志文件中,以帮助分析不能上网的原因。For example, if the network problem is that the terminal device 120-1 can connect to the AP 110, but it cannot access the Internet and thus cannot receive network services from the external network 130, then the remote server 140 can send configuration information to the AP 110 to instruct the AP 110 to not only collect Wi -Fi profile information, ATOM routing information, ifconfig output information, bridging information, and the device type, data rate, occupied bandwidth, etc. corresponding to the MAC address of the terminal device 120-1, and the collection is associated with the MAC address of the terminal device 120-1 information such as header information of at least one of the ARP packet, ICMP packet, and DHCP packet. When collecting information such as header information, the AP 110 can monitor only ARP packets, only ICMP packets, only DHCP packets, and only monitor ARP packets for the MAC address of the terminal device 120-1 that cannot access the Internet in different embodiments. Packets and ICMP packets, monitor ARP packets and DHCP packets, monitor ICMP packets and DHCP packets, or monitor ARP packets, ICMP packets, and DHCP packets. The header information of the monitored packets can be stored in the log file to help analyze the reasons for not being able to access the Internet.

远程服务器140发送给AP 110的配置信息可以指示需要AP 110收集什么信息级别的调试日志信息。例如,调试日志信息可以涉及三种级别,分别是错误级别、警告级别和普通级别。错误级别的调试日志信息对应于AP 110无法执行某操作时出现的信息。警告级别的调试日志信息对应于操作数据异常时存在的信息,其包括错误级别的调试日志信息。普通级别的调试日志信息对应于AP 110在调试过程中产生的所有调试日志信息。其包括警告级别的调试日志信息和错误级别的调试日志信息。The configuration information sent by the remote server 140 to the AP 110 may indicate what information level debug log information needs to be collected by the AP 110. For example, debug log information can involve three levels, which are error level, warning level and normal level. Error level debug log messages correspond to messages that appear when the AP 110 is unable to perform an operation. The debug log information at the warning level corresponds to the information that exists when the operation data is abnormal, and it includes the debug log information at the error level. Common-level debug log information corresponds to all debug log information generated by the AP 110 during debugging. It includes warning level debug log information and error level debug log information.

再例如,调试日志信息根据信息的严重程度,按从最严重到最轻微的顺序可以涉及FATAL(致命)、ERROR(错误)、WARNING(警告)、INFO(信息)、DEBUG(调试)、TRACE ALL(跟踪所有)这六个级别。这些级别分别包含的调试日志信息越来越多,例如,当呈现后面级别的调试日志信息时,除了呈现本级别的调试日志信息之外,还可以呈现所有前面级别的调试日志信息。FATAL级别的调试日志信息对应于当其出现时需要重启相关服务或模块或AP设备的信息;ERROR级别的调试日志信息对应于有错误发生但是当前进程或服务还可以继续进行的信息;WARNING级别的调试日志信息对应于某些条件没有达到时给出的信息;INFO级别的调试日志信息对应于服务中的一些流程信息;DEBUG级别的调试日志信息比INFO级别的多,还包括一些调用关系的信息;TRACE ALL级别的调试日志信息对应于在调试过程中所有可以显示的信息。本领域技术人员可以理解,还可以根据实际的需要为调试日志信息设置更多或更少的级别。For another example, the debug log information can involve FATAL (fatal), ERROR (error), WARNING (warning), INFO (information), DEBUG (debugging), TRACE ALL according to the severity of the information. (Track all) these six levels. These levels contain more and more debug log information respectively. For example, when presenting the debug log information of the latter level, besides presenting the debug log information of this level, the debug log information of all previous levels can also be presented. The debug log information at the FATAL level corresponds to the information that needs to restart the relevant service or module or AP device when it occurs; the debug log information at the ERROR level corresponds to the information that an error occurs but the current process or service can continue; the WARNING level The debug log information corresponds to the information given when certain conditions are not met; the debug log information at the INFO level corresponds to some process information in the service; the debug log information at the DEBUG level is more than that at the INFO level, and also includes some call relationship information ;The debug log information of TRACE ALL level corresponds to all the information that can be displayed during the debugging process. Those skilled in the art can understand that more or fewer levels can be set for debugging log information according to actual needs.

由于安全性等的需要,AP的用户可能不希望远程服务器140收集AP 110的所有调试日志信息,因此可以请求远程服务器140仅收集特定级别(例如,错误级别或警告级别)的调试日志信息,从而远程服务器140可以响应于该请求将AP 110配置为收集对应级别的调试日志信息。Due to the needs of security, etc., the user of the AP may not want the remote server 140 to collect all the debug log information of the AP 110, so the remote server 140 can be requested to only collect the debug log information of a specific level (for example, error level or warning level), thereby Remote server 140 may configure AP 110 to collect corresponding levels of debug log information in response to the request.

远程服务器140发送给AP 110的配置信息还可以指示需要AP 110收集哪个或哪些模块的调试日志信息。在AP 110中可以存在本领域技术人员众所周知的多个硬件或软件模块,例如Wi-Fi模块、RPC(Remote Procedure Call,远程过程调用)模块等。不同的网络问题可能需要收集不同模块的调试日志信息。远程服务器140可以根据具体的网络问题确定需要启用哪个或哪些模块的调试日志信息收集,以使得收集的调试日志信息更加准确。或者,可以根据具体的网络问题确定哪个或哪些模块的调试日志信息收集可以被禁用,以避免收集到过多的调试日志信息而妨碍对网络问题的分析。The configuration information sent by the remote server 140 to the AP 110 may also indicate which module or modules the AP 110 needs to collect debug log information. Multiple hardware or software modules well known to those skilled in the art may exist in the AP 110, such as a Wi-Fi module, an RPC (Remote Procedure Call, remote procedure call) module, and the like. Different network problems may require collecting debug log information from different modules. The remote server 140 may determine which module or modules need to enable the collection of debugging log information according to specific network problems, so as to make the collected debugging log information more accurate. Alternatively, it may be determined according to specific network problems which module or modules the collection of debug log information may be disabled, so as to avoid collecting too much debug log information and hindering the analysis of network problems.

在S320中,由接入点基于配置信息收集与网络问题有关的调试日志信息。In S320, the access point collects debugging log information related to network problems based on the configuration information.

响应于接收到配置信息,AP 110可以根据配置信息中包括的收集局域网络基本信息、针对某MAC地址的分组信息、某模块调试日志信息和/或某级别调试日志信息等的指示,通过调用用于收集信息的程序来自动收集对应的调试日志信息。这些信息的收集可以以周期性的方式连续进行。对于不同的信息可以采用不同的周期进行收集。收集到的信息可以被共同存储在日志文件中。In response to receiving the configuration information, the AP 110 can collect the basic information of the local area network, the grouping information for a certain MAC address, the debugging log information of a certain module and/or the debugging log information of a certain level, etc. included in the configuration information, by calling The program for collecting information automatically collects the corresponding debugging log information. The collection of this information may continue on a periodic basis. Different periods may be used to collect different information. The collected information can be collectively stored in log files.

在S330中,由接入点将存储调试日志信息的日志文件发送到远程服务器。In S330, the access point sends the log file storing the debugging log information to the remote server.

AP 110可以通过TFTP(Trivial File Transfer Protocol,简单文件传输协议)将日志文件发送到远程服务器140,以供远程服务器140处的维护人员进行网络问题分析。The AP 110 can send log files to the remote server 140 through TFTP (Trivial File Transfer Protocol, simple file transfer protocol), so that the maintenance personnel at the remote server 140 can analyze network problems.

根据上述技术方案,在AP 110位于的网络出现网络问题之后,远程服务器140向AP110发送配置信息以配置AP 110来自动收集与网络问题有关的调试日志信息,使得AP 110能够将自动收集的调试日志信息发送到远程服务器140以供分析。这种自动的远程收集调试日志信息的方式避免了维护人员去到用户住所等以在现场收集调制日志信息的麻烦,节省了时间和人力。此外,由于能够通过配置信息来控制AP 110需要收集哪些调试日志信息,因此可以在AP 110发布之后的调试数据流中获得比目前更多的有用信息,并能够得到更有针对性的调试日志信息,从而有助于对网络问题的分析。According to the above technical solution, after a network problem occurs in the network where the AP 110 is located, the remote server 140 sends configuration information to the AP 110 to configure the AP 110 to automatically collect debugging log information related to the network problem, so that the AP 110 can automatically collect the debugging log information The information is sent to remote server 140 for analysis. This automatic remote collection of debugging log information avoids the trouble of maintenance personnel going to the user's residence to collect modulation log information on site, saving time and manpower. In addition, since it is possible to control which debug log information AP 110 needs to collect through configuration information, more useful information can be obtained in the debug data flow after AP 110 is released, and more targeted debug log information can be obtained , thus facilitating the analysis of network problems.

图4示出了根据本公开实施例的用于调试日志信息收集的方法400的流程图。该方法400与方法300的区别主要在于以下两点:一是,在接入点收集调试日志信息之前需要判断远程服务器是否合法;二是,在存储调试日志信息的日志文件满足一定条件时才进行文件的上传。FIG. 4 shows a flowchart of a method 400 for collecting debug log information according to an embodiment of the present disclosure. The difference between the method 400 and the method 300 mainly lies in the following two points: first, before the access point collects the debugging log information, it is necessary to judge whether the remote server is legal; File upload.

在S410中,由接入点从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题有关的调试日志信息。该步骤与S310基本相同。In S410, the access point receives configuration information from the remote server, the configuration information is used to configure the access point to collect debugging log information related to network problems occurring in the network where the access point is located. This step is basically the same as S310.

在S420中,响应于接收到配置信息,由接入点请求远程服务器发送用于验证所述远程服务器的合法性的密码数据。In S420, in response to receiving the configuration information, the access point requests the remote server to send password data for verifying the legitimacy of the remote server.

所述密码数据可以是AP 110和远程服务器140提前约定好的数据,也可以是AP110和远程服务器140依据共同的算法实时产生的数据,还可以是合法的远程服务器140在每天AP 110连接到网络130时发送(例如,通过MIB或TR069发送)给AP 110保存的数据,这使得每天的密码数据都不同。无论是以什么方式产生的密码数据,AP 110可以基于密码数据判断服务器是否是合法的服务器。当服务器是通过AP 110提供接入服务的网络运营商的服务器时,该服务器是能收集调试日志信息的合法服务器。The password data can be the data agreed in advance by the AP 110 and the remote server 140, or the data generated by the AP 110 and the remote server 140 in real time according to a common algorithm, or the data that the legal remote server 140 connects to the network every day when the AP 110 connects to it. Send (for example, send by MIB or TR069) to the data that AP 110 saves at 130 o'clock, this makes every day password data all different. Regardless of the password data generated in any way, the AP 110 can determine whether the server is a legitimate server based on the password data. When the server is the server of the network operator providing the access service through the AP 110, the server is a legal server capable of collecting debug log information.

在S430中,由AP 110从远程服务器接收密码数据。In S430, the cryptographic data is received by the AP 110 from the remote server.

在S440中,由AP 110确定所接收的密码数据是否正确。In S440, the AP 110 determines whether the received password data is correct.

例如,AP 110可以将所接收的密码数据与能够确认远程服务器140合法的密码数据进行比较。当两者匹配时,所接收的密码数据正确,于是AP 110确定远程服务器140合法,从而可以向远程服务器140提供调试日志信息。反之,当两者不匹配时,所接收的密码数据不正确,于是AP 110确定远程服务器140非法,从而无需进行调试日志信息的收集。For example, AP 110 may compare received cryptographic data with cryptographic data that confirms that remote server 140 is legitimate. When the two match, the received password data is correct, so the AP 110 determines that the remote server 140 is legal, so that the remote server 140 can be provided with debug log information. Conversely, when the two do not match, the received password data is incorrect, so the AP 110 determines that the remote server 140 is illegal, so there is no need to collect debug log information.

在S450中,在接入点确定所接收的密码数据正确的情况下,由接入点基于配置信息收集调试日志信息。该步骤与S320基本相同。In S450, when the access point determines that the received password data is correct, the access point collects debugging log information based on the configuration information. This step is basically the same as S320.

在S455中,在接入点确定所接收的密码数据不正确的情况下,由接入点拒绝收集调试日志信息。此时,接入点可以丢弃接收到的配置信息。In S455, when the access point determines that the received password data is incorrect, the access point refuses to collect the debugging log information. At this time, the access point may discard the received configuration information.

在S460中,由接入点将收集到的调试日志信息存储在日志文件中。In S460, the access point stores the collected debugging log information in a log file.

在S470中,由接入点周期性检测日志文件的尺寸。In S470, the access point periodically detects the size of the log file.

AP 110可以例如每10秒、20秒、30秒等检测一次日志文件的尺寸。当日志文件的尺寸达到预定的最大尺寸(例如0.5MB、1MB、1.5MB等)时,AP 110可以将该日志文件发送到远程服务器140。AP 110 may detect the size of the log file, for example, every 10 seconds, 20 seconds, 30 seconds, etc. When the size of the log file reaches a predetermined maximum size (eg, 0.5MB, 1MB, 1.5MB, etc.), the AP 110 may send the log file to the remote server 140.

在S480中,响应于确定日志文件达到预定的最大尺寸,由AP 110将日志文件发送到远程服务器。In S480, in response to determining that the log file has reached a predetermined maximum size, the AP 110 sends the log file to the remote server.

在S490中,由接入点创建新的日志文件以存储新收集的调试日志信息。In S490, the access point creates a new log file to store newly collected debugging log information.

当现有日志文件的大小达到最大值之后,AP 110可以创建新的日志文件以存储新收集到的调试日志信息。After the size of the existing log file reaches the maximum value, the AP 110 can create a new log file to store newly collected debug log information.

本领域技术人员可以理解,上述方法中的所有步骤不一定同时出现在一个实施例中,它们可以被灵活组合以在不同的实施例中实现。尽管AP 110被示出为仅在S450中收集调试日志信息,但是AP 110可以在确定密码数据正确之后持续性地收集调试日志信息而不受其它步骤的影响。此外,尽管S490被示出为在S480之后执行,但是只要日志文件的尺寸达到了最大尺寸,接入点就可以执行S490。Those skilled in the art can understand that not all steps in the above methods may appear in one embodiment at the same time, and they can be flexibly combined to be implemented in different embodiments. Although the AP 110 is shown as only collecting the debug log information in S450, the AP 110 may continuously collect the debug log information without being affected by other steps after determining that the password data is correct. In addition, although S490 is shown to be executed after S480, the access point may execute S490 as long as the size of the log file reaches the maximum size.

通过上述方法的执行,远程服务器140不仅可以根据网络问题配置AP 110自动收集并上传调试日志信息从而节省人力和时间,而且可以提供安全机制以避免调试日志信息被上传到不合法的服务器,从而增强了网络安全性。此外,由于在存储调试日志信息的日志文件满足预定最大尺寸时才进行文件的上传,因此可以兼顾调试日志信息收集的时效性和传输占用的资源。Through the execution of the above method, the remote server 140 can not only configure the AP 110 to automatically collect and upload debugging log information according to network problems to save manpower and time, but also provide a security mechanism to prevent the debugging log information from being uploaded to an illegal server, thereby enhancing network security. In addition, since the file is uploaded only when the log file storing the debugging log information meets the predetermined maximum size, the timeliness of collecting the debugging log information and the resource occupied by the transmission can be taken into account.

本公开可以被实现为装置、系统、集成电路和非瞬时性计算机可读介质上的计算机程序的任何组合。可以将一个或多个处理器实现为执行本公开中描述的部分或全部功能的集成电路(IC)、专用集成电路(ASIC)或大规模集成电路(LSI)、系统LSI,超级LSI或超LSI组件。The present disclosure can be implemented as any combination of apparatuses, systems, integrated circuits and computer programs on a non-transitory computer readable medium. One or more processors may be implemented as an integrated circuit (IC), application specific integrated circuit (ASIC), or large scale integrated circuit (LSI), system LSI, super LSI, or super LSI that performs some or all of the functions described in this disclosure components.

本公开包括软件、应用程序、计算机程序或算法的使用。可以将软件、应用程序、计算机程序或算法存储在非瞬时性计算机可读介质上,以使诸如一个或多个处理器的计算机执行上述步骤和附图中描述的步骤。例如,一个或多个存储器以可执行指令存储软件或算法,并且一个或多个处理器可以关联执行该软件或算法的一组指令,以根据本公开中描述的实施例由远程服务器140基于网络问题配置AP 110来自动收集并上传调试日志信息,从而能够节省收集调试日志以供网络问题分析所需的人力和时间。The present disclosure includes the use of software, applications, computer programs or algorithms. Software, applications, computer programs or algorithms may be stored on a non-transitory computer readable medium to cause a computer, such as one or more processors, to perform the steps described above and in the figures. For example, one or more memories store software or algorithms in executable instructions, and one or more processors can be associated with a set of instructions for executing the software or algorithms to be executed by remote server 140 over a network according to embodiments described in this disclosure. Problem Configure the AP 110 to automatically collect and upload debug log information, which can save manpower and time needed to collect debug logs for network problem analysis.

软件和计算机程序(也可以称为程序、软件应用程序、应用程序、组件或代码)包括用于可编程处理器的机器指令,并且可以以高级过程性语言、面向对象编程语言、功能性编程语言、逻辑编程语言或汇编语言或机器语言来实现。术语“计算机可读介质”是指用于向可编程数据处理器提供机器指令或数据的任何计算机程序产品、装置或设备,例如磁盘、光盘、固态存储设备、存储器和可编程逻辑设备(PLD),包括将机器指令作为计算机可读信号来接收的计算机可读介质。Software and computer programs (also called programs, software applications, applications, components, or code) include machine instructions for programmable processors and can be written in high-level procedural languages, object-oriented programming languages, functional programming languages , logic programming language or assembly language or machine language. The term "computer-readable medium" means any computer program product, means or device for providing machine instructions or data to a programmable data processor, such as a magnetic disk, optical disk, solid state storage device, memory and programmable logic device (PLD) , including a computer-readable medium for receiving machine instructions as computer-readable signals.

举例来说,计算机可读介质可以包括动态随机存取存储器(DRAM)、随机存取存储器(RAM)、只读存储器(ROM)、电可擦只读存储器(EEPROM)、紧凑盘只读存储器(CD-ROM)或其他光盘存储设备、磁盘存储设备或其他磁性存储设备,或可以用于以指令或数据结构的形式携带或存储所需的计算机可读程序代码以及能够被通用或专用计算机或通用或专用处理器访问的任何其它介质。如本文中所使用的,磁盘或盘包括紧凑盘(CD)、激光盘、光盘、数字多功能盘(DVD)、软盘和蓝光盘,其中磁盘通常以磁性方式复制数据,而盘则通过激光以光学方式复制数据。上述的组合也包括在计算机可读介质的范围内。By way of example, a computer readable medium may include dynamic random access memory (DRAM), random access memory (RAM), read only memory (ROM), electrically erasable read only memory (EEPROM), compact disk read only memory ( CD-ROM) or other optical disk storage devices, magnetic disk storage devices or other magnetic storage devices, or can be used to carry or store required computer-readable program code in the form of instructions or data structures and can be read by general or special purpose computers or general-purpose or any other medium accessed by a dedicated processor. Disk or disc, as used herein, includes compact disc (CD), laser disc, optical disc, digital versatile disc (DVD), floppy disc and blu-ray Data is copied optically. Combinations of the above should also be included within the scope of computer-readable media.

在一个或多个实施例中,词语“能”、“能够”、“可操作为”或“配置为”的使用是指被设计成能够以指定方式使用的一些装置、逻辑、硬件和/或元件。提供本公开的主题作为用于执行本公开中描述的特征的装置、系统、方法和程序的示例。但是,除了上述特征之外,还可以预期其他特征或变型。可以预期的是,可以用可能代替任何上述实现的技术的任何新出现的技术来完成本公开的部件和功能的实现。In one or more embodiments, use of the words "capable", "capable of", "operable to" or "configured to" refers to some device, logic, hardware and/or element. The subject matter of the present disclosure is provided as examples of apparatuses, systems, methods and programs for implementing the features described in the present disclosure. However, other features or variations are contemplated in addition to the features described above. It is contemplated that implementations of the components and functions of the present disclosure may be accomplished with any emerging technology that may replace any of the above-described implementations.

另外,以上描述提供了示例,而不限制权利要求中阐述的范围、适用性或配置。在不脱离本公开的精神和范围的情况下,可以对所讨论的元件的功能和布置进行改变。各种实施例可以适当地省略、替代或添加各种过程或部件。例如,关于某些实施例描述的特征可以在其他实施例中被结合。Additionally, the above description provides examples, and does not limit the scope, applicability or configuration set forth in the claims. Changes may be made in the function and arrangement of elements discussed without departing from the spirit and scope of the disclosure. Various embodiments may omit, substitute, or add various procedures or components as appropriate. For example, features described with respect to certain embodiments may be combined in other embodiments.

类似地,虽然在附图中以特定次序描绘了操作,但是这不应该被理解为要求以所示的特定次序或者以顺序次序执行这样的操作,或者要求执行所有图示的操作以实现所希望的结果。在某些情况下,多任务处理和并行处理可以是有利的。Similarly, while operations are depicted in the figures in a particular order, this should not be construed as requiring that such operations be performed in the particular order shown, or in sequential order, or that all illustrated operations be performed to achieve the desired the result of. In certain situations, multitasking and parallel processing can be advantageous.

Claims (20)

1.一种接入点,包括:1. An access point comprising: 存储器,存储有指令;以及a memory storing instructions; and 处理器,被配置为执行存储在存储器中的指令以使所述接入点执行以下操作:a processor configured to execute instructions stored in the memory to cause the access point to: 从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题有关的调试日志信息;receiving configuration information from a remote server for configuring the access point to collect debug log information related to network problems occurring in the network on which the access point is located; 基于所述配置信息将所述调试日志信息收集在日志文件中;以及collecting the debug log information in a log file based on the configuration information; and 将存储所述调试日志信息的日志文件发送到所述远程服务器,使得所述远程服务器访问日志文件中的调试日志信息以解决所述网络中出现的网络问题。Sending the log file storing the debugging log information to the remote server, so that the remote server accesses the debugging log information in the log file to solve network problems occurring in the network. 2.根据权利要求1所述的接入点,其中,2. The access point of claim 1, wherein: 所述调试日志信息包括与接入点配置和连接有关的信息、以及与连接到接入点的一个或多个终端设备有关的信息。The debug log information includes information related to the configuration and connection of the access point, and information related to one or more terminal devices connected to the access point. 3.根据权利要求2所述的接入点,其中,3. The access point of claim 2, wherein: 当所述网络问题包括连接到接入点的特定终端设备无法连接到分组数据网络时,所述调试日志信息进一步包括与所述特定终端设备相关联的地址解析协议(ARP)分组、互联网控制报文协议(ICMP)分组和动态主机配置协议(DHCP)分组中的至少一个的信息。When the network problem includes a particular end device connected to an access point being unable to connect to a packet data network, the debug log information further includes Address Resolution Protocol (ARP) packets, Internet Control information of at least one of a text protocol (ICMP) packet and a dynamic host configuration protocol (DHCP) packet. 4.根据权利要求1所述的接入点,其中,4. The access point of claim 1 , wherein: 所述调试日志信息满足所述配置信息指示的信息级别,或者The debug log information meets the information level indicated by the configuration information, or 所述调试日志信息是由所述配置信息指示的接入点中的一个或多个模块产生的。The debugging log information is generated by one or more modules in the access point indicated by the configuration information. 5.根据权利要求1所述的接入点,其中,所述处理器进一步被配置为执行以下操作:5. The access point of claim 1, wherein the processor is further configured to: 周期性检测所述日志文件的尺寸;Periodically detect the size of the log file; 当所述日志文件达到预定的最大尺寸时,将所述日志文件发送到所述远程服务器;以及sending the log file to the remote server when the log file reaches a predetermined maximum size; and 创建新的日志文件以存储新收集的调试日志信息。Create a new log file to store newly collected debug log information. 6.根据权利要求1所述的接入点,其中,所述处理器进一步被配置为:6. The access point of claim 1, wherein the processor is further configured to: 响应于接收到所述配置信息,请求所述远程服务器发送用于验证所述远程服务器的合法性的密码数据;in response to receiving the configuration information, requesting the remote server to send cryptographic data for verifying the validity of the remote server; 从所述远程服务器接收密码数据;receiving cryptographic data from the remote server; 确定所述密码数据正确;以及determining that said cryptographic data is correct; and 响应于确定所述密码数据正确,基于所述配置信息收集所述调试日志信息。In response to determining that the password data is correct, collecting the debug log information based on the configuration information. 7.根据权利要求6所述的接入点,其中,所述处理器进一步被配置为当确定所述密码数据不正确时,拒绝收集所述调试日志信息。7. The access point of claim 6, wherein the processor is further configured to refuse to collect the debug log information when the cryptographic data is determined to be incorrect. 8.一种用于调试日志信息收集的方法,包括:8. A method for debugging log information collection, comprising: 由接入点从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题有关的调试日志信息;receiving, by the access point, configuration information from the remote server for configuring the access point to collect debug log information related to network problems occurring in the network on which the access point is located; 由接入点基于所述配置信息将所述调试日志信息收集在日志文件中;以及collecting, by the access point, the debug log information in a log file based on the configuration information; and 由接入点将存储所述调试日志信息的日志文件发送到所述远程服务器,使得所述远程服务器访问日志文件中的调试日志信息以解决所述网络中出现的网络问题。The access point sends the log file storing the debugging log information to the remote server, so that the remote server accesses the debugging log information in the log file to solve network problems occurring in the network. 9.根据权利要求8所述的方法,其中,9. The method of claim 8, wherein, 收集所述调试日志信息包括收集与接入点配置和连接有关的信息、以及与连接到接入点的一个或多个终端设备有关的信息。Collecting the debug log information includes collecting information related to the configuration and connection of the access point, and information related to one or more terminal devices connected to the access point. 10.根据权利要求9所述的方法,其中,10. The method of claim 9, wherein, 当收集所述调试日志信息包括收集包含与连接到接入点的特定终端设备无法连接到分组数据网络有关的信息的关于网络问题的调试日志信息时,所述调试日志信息进一步包括与所述特定终端设备相关联的ARP分组、ICMP分组和DHCP分组中的至少一个的信息。When collecting the debug log information includes collecting debug log information about network problems including information about a specific terminal device connected to an access point being unable to connect to a packet data network, the debug log information further includes information related to the specific Information about at least one of ARP packets, ICMP packets, and DHCP packets associated with the terminal device. 11.根据权利要求8所述的方法,其中,11. The method of claim 8, wherein, 收集所述调试日志信息包括收集满足所述配置信息指示的信息级别的调试日志信息,或者collecting the debug log information includes collecting debug log information meeting the information level indicated by the configuration information, or 收集所述调试日志信息包括收集由所述配置信息指示的接入点中的一个或多个模块产生的调试日志信息。Collecting the debugging log information includes collecting debugging log information generated by one or more modules in the access point indicated by the configuration information. 12.根据权利要求8所述的方法,进一步包括:12. The method of claim 8, further comprising: 由接入点周期性检测所述日志文件的尺寸;periodically detecting the size of the log file by the access point; 当所述日志文件达到预定的最大尺寸时,由接入点将所述日志文件发送到所述远程服务器;以及sending, by the access point, the log file to the remote server when the log file reaches a predetermined maximum size; and 由接入点创建新的日志文件以存储新收集的调试日志信息。A new log file is created by the access point to store newly collected debug log information. 13.根据权利要求8所述的方法,进一步包括:13. The method of claim 8, further comprising: 响应于接收到所述配置信息,由接入点请求所述远程服务器发送用于验证所述远程服务器的合法性的密码数据;in response to receiving the configuration information, requesting, by the access point, the remote server to send cryptographic data for authenticating the remote server; 由接入点从所述远程服务器接收密码数据;receiving, by the access point, cryptographic data from the remote server; 由接入点确定所述密码数据正确;以及determining, by the access point, that the cryptographic data is correct; and 响应于确定所述密码数据正确,由接入点基于所述配置信息收集所述调试日志信息。In response to determining that the cryptographic data is correct, the debug log information is collected by the access point based on the configuration information. 14.根据权利要求13所述的方法,进一步包括:14. The method of claim 13, further comprising: 当确定所述密码数据不正确时,拒绝收集所述调试日志信息。When it is determined that the password data is incorrect, refuse to collect the debugging log information. 15.一种非暂态计算机可读介质,存储有指令,所述指令在被处理器执行时使处理器执行包括以下的操作:15. A non-transitory computer readable medium storing instructions that, when executed by a processor, cause the processor to perform operations comprising: 从远程服务器接收配置信息,所述配置信息用于将接入点配置为收集与接入点位于的网络中出现的网络问题有关的调试日志信息;receiving configuration information from a remote server for configuring the access point to collect debug log information related to network problems occurring in the network on which the access point is located; 基于所述配置信息将所述调试日志信息收集在日志文件中;以及collecting the debug log information in a log file based on the configuration information; and 将存储所述调试日志信息的日志文件发送到所述远程服务器,使得所述远程服务器访问日志文件中的调试日志信息以解决所述网络中出现的网络问题。and sending the log file storing the debugging log information to the remote server, so that the remote server accesses the debugging log information in the log file to solve network problems occurring in the network. 16.根据权利要求15所述的非暂态计算机可读介质,其中,16. The non-transitory computer readable medium of claim 15, wherein: 收集所述调试日志信息包括收集满足所述配置信息指示的信息级别的调试日志信息,或者collecting the debug log information includes collecting debug log information meeting the information level indicated by the configuration information, or 收集所述调试日志信息包括收集由所述配置信息指示的接入点中的一个或多个模块产生的调试日志信息。Collecting the debugging log information includes collecting debugging log information generated by one or more modules in the access point indicated by the configuration information. 17.根据权利要求15所述的非暂态计算机可读介质,其中,所述指令在被处理器执行时使处理器进一步执行包括以下的操作:17. The non-transitory computer readable medium of claim 15 , wherein the instructions, when executed by a processor, cause the processor to further perform operations comprising: 周期性检测所述日志文件的尺寸;Periodically detect the size of the log file; 当所述日志文件达到预定的最大尺寸时,将所述日志文件发送到所述远程服务器;以及sending the log file to the remote server when the log file reaches a predetermined maximum size; and 创建新的日志文件以存储新收集的调试日志信息。Create a new log file to store newly collected debug log information. 18.根据权利要求15所述的非暂态计算机可读介质,其中,所述指令在被处理器执行时使处理器进一步执行包括以下的操作:18. The non-transitory computer readable medium of claim 15 , wherein the instructions, when executed by a processor, cause the processor to further perform operations comprising: 响应于接收到所述配置信息,请求所述远程服务器发送用于验证所述远程服务器的合法性的密码数据;in response to receiving the configuration information, requesting the remote server to send cryptographic data for verifying the validity of the remote server; 从所述远程服务器接收密码数据;receiving cryptographic data from the remote server; 确定所述密码数据正确;以及determining that said cryptographic data is correct; and 响应于确定所述密码数据正确,基于所述配置信息收集所述调试日志信息。In response to determining that the password data is correct, collecting the debug log information based on the configuration information. 19.根据权利要求18所述的非暂态计算机可读介质,其中,所述指令在被处理器执行时使处理器进一步执行包括以下的操作:19. The non-transitory computer readable medium of claim 18 , wherein the instructions, when executed by a processor, cause the processor to further perform operations comprising: 当确定所述密码数据不正确时,拒绝收集所述调试日志信息。When it is determined that the password data is incorrect, refuse to collect the debugging log information. 20.一种计算机程序产品,包括计算机指令,其特征在于,所述计算机指令被处理器执行时实现根据权利要求8-14中任一项所述的方法。20. A computer program product, comprising computer instructions, characterized in that, when the computer instructions are executed by a processor, the method according to any one of claims 8-14 is implemented.
CN202111314508.5A 2021-11-08 2021-11-08 Method, medium, program product and access point for debug log information collection Pending CN116089237A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111314508.5A CN116089237A (en) 2021-11-08 2021-11-08 Method, medium, program product and access point for debug log information collection

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111314508.5A CN116089237A (en) 2021-11-08 2021-11-08 Method, medium, program product and access point for debug log information collection

Publications (1)

Publication Number Publication Date
CN116089237A true CN116089237A (en) 2023-05-09

Family

ID=86205054

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111314508.5A Pending CN116089237A (en) 2021-11-08 2021-11-08 Method, medium, program product and access point for debug log information collection

Country Status (1)

Country Link
CN (1) CN116089237A (en)

Similar Documents

Publication Publication Date Title
US20250184371A1 (en) Monitoring Device Data and Gateway Data
Rehmani et al. Software defined networks-based smart grid communication: A comprehensive survey
US10609575B2 (en) Method and apparatus for monitoring and adjusting multiple communication services at a venue
TWI474666B (en) A method for power source management and an apparatus for power source management
Li et al. EHOPES: Data-centered Fog platform for smart living
CN108886531B (en) Network and application management using service layer capabilities
EP4013099A1 (en) Methods and apparatus for capturing and/or using packets to facilitate fault detection
JP5604515B2 (en) Wireless network malfunction detection and resolution
US9407522B2 (en) Initiating data collection based on WiFi network connectivity metrics
US11606447B2 (en) Smart remote agent on an access CPE with an agile OpenWrt software architecture
US10581697B2 (en) SDN controlled PoE management system
KR20130004928A (en) A method of machine-to-machine communication
EP4213458A1 (en) Application session-specific network topology generation for troubleshooting the application session
US9509580B2 (en) Adaptive power control in a network
Cai et al. Design and implementation of a WiFi sensor device management system
US20240114368A1 (en) Using telemetry metrics for remediating network issues
CN116089237A (en) Method, medium, program product and access point for debug log information collection
US9801125B2 (en) Data transmission method, multi-medium access point and multi-medium client
WO2022139944A1 (en) Network device and method executed by the network device and computer-readable medium
Dimitrov System for monitoring of the university computer network performance
WO2025022418A2 (en) System and method for enriching data with user equipment attributes
KR101410257B1 (en) Wireless network equiptment and method for managing network by using the equipment
CN104159130A (en) Distributed multimedia recreation equipment, emergency alarm system and method
CN117835274A (en) Management system supporting diagnosis and optimization of local Wi-Fi network
TW201505463A (en) Method and system for pushing notification and wireless communication device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20230509

WD01 Invention patent application deemed withdrawn after publication