A method for collecting network quality parameters and related apparatus
By sending an AC domain name resolution request to the gateway device through the AP, establishing a tunnel connection, and configuring network quality parameter collection information, the problem of inaccurate network quality evaluation in the existing technology is solved, and a more accurate reflection of the user's network experience is achieved.
Patent Information
- Application Number
- CN202310885535.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-19
- Publication Date
- 2025-12-12
- Estimated Expiration
- 2043-07-19
AI Technical Summary
In existing technologies, the physical parameters collected cannot accurately reflect the user's network experience, resulting in inaccurate network quality assessments.
The AP sends an AC domain name resolution request to the gateway device, establishes a tunnel connection with the AC after receiving the IP address, and sends the AP identifier to the configuration platform and data reporting platform through the AC. It receives and configures network quality parameter collection information, and collects and reports relevant parameters.
This allows for a more accurate reflection of the user's network experience. By collecting network quality parameters, it avoids the gap between the data and the user experience, thus improving the accuracy of network quality evaluation.
Smart Images

Figure CN116723116B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of data collection, and particularly relates to a network quality parameter collection method and related device. BACKGROUND
[0002] In a wireless local area network (WLAN), an access point (AP) can provide a wireless fidelity (Wi-Fi) access channel for a WLAN terminal, and access an access controller (AC) through a wireless communication system network.
[0003] The AP is pre-configured with an address of the AC, so that the AP can establish a control and provisioning of wireless access points (CAPWAP) tunnel with the AC through the address of the AC, to enable the WLAN terminal to transmit service data.
[0004] In addition, since the gateway device plays a core role in the WLAN, and is mainly responsible for bridging, dialing, and providing voice functions, etc., currently, the network quality of the WLAN is usually measured by collecting physical parameters such as the sending and receiving power, temperature, and optical attenuation of an optical module connected to the gateway device, and the memory occupancy rate and CPU usage rate of the gateway device.
[0005] However, the physical parameters collected by using the above method have a distance from the user network experience, that is, the physical parameters cannot accurately reflect the user network experience, so there is an urgent need for a network quality parameter collection method to more accurately reflect the user network experience. SUMMARY
[0006] The embodiments of the present application provide a network quality parameter collection method and related device to obtain relevant network quality parameters, so as to more accurately reflect the user network experience.
[0007] In a first aspect, the embodiments of the present application provide a network quality parameter collection method, and the method comprises the following steps:
[0008] An access point (AP) sends an AC domain name resolution request to a gateway device, and receives an Internet protocol (IP) address of the AC returned by the gateway device based on the AC domain name resolution request;
[0009] The AP sends an AP identifier of the AP to a configuration platform and a data reporting platform via the AC when the AP determines to establish a tunnel connection based on the IP address of the AC; the configuration platform stores network quality parameter collection configuration information respectively set for a plurality of APs, each network quality parameter collection configuration information is used to send a matched configuration parameter to the AP via the AC at a request of the AP, and the data reporting platform is used to store collected network quality parameters;
[0010] The AP receives network quality parameter collection configuration information returned by the configuration platform based on the AP identifier, and collects each network quality parameter of a network environment currently located by the AP based on a configuration parameter contained in the network quality parameter collection configuration information; each network quality parameter is used to measure network experience of a user.
[0011] The AP sends each network quality parameter to the data reporting platform, so that the data reporting platform stores each network quality parameter.
[0012] In a second aspect, the application further provides a network quality parameter collection device, and the device comprises:
[0013] An address obtaining module is configured to send an access controller AC domain name resolution request to a gateway device by an access point AP, and receive an Internet Protocol IP address of the AC returned by the gateway device based on the AC domain name resolution request;
[0014] An identifier sending module is configured to send an AP identifier of the AP to a configuration platform and a data reporting platform via the AC when the AP determines to establish a tunnel connection based on the IP address of the AC; the configuration platform stores network quality parameter collection configuration information respectively set for a plurality of APs, each network quality parameter collection configuration information is used to send a matched configuration parameter to the AP via the AC at a request of the AP, and the data reporting platform is used to store collected network quality parameters;
[0015] A parameter collection module is configured to receive network quality parameter collection configuration information returned by the configuration platform based on the AP identifier by the AP, and collect each network quality parameter of a network environment currently located by the AP based on a configuration parameter contained in the network quality parameter collection configuration information; each network quality parameter is used to measure network experience of a user.
[0016] A data reporting module is configured to send each network quality parameter to the data reporting platform by the AP, so that the data reporting platform stores each network quality parameter.
[0017] In an optional embodiment, when the AP sends the AC domain name resolution request to the gateway device, the address obtaining module is specifically configured to:
[0018] The AP receives an IP address of the AP allocated by the gateway device through a dynamic host configuration protocol (DHCP).
[0019] The AP sends an AC domain name resolution request to the gateway device based on a gateway IP address of the gateway device and the IP address of the AP, wherein the gateway IP address is obtained by the gateway device through a broadband network gateway (BNG).
[0020] In an optional embodiment, the network quality parameter collection configuration information includes, but is not limited to, network quality parameter collection content, network quality parameter collection period, and network quality parameter collection times.
[0021] In an optional embodiment, the network quality parameter collection configuration information is obtained by matching from a preset network quality parameter collection configuration information set based on an AP identifier and a preset corresponding relationship between the AP identifier and a collection configuration information identifier.
[0022] In an optional embodiment, when the network quality parameter collection configuration information contains configuration parameters, each network quality parameter of a network environment in which the AP is currently located is collected based on the configuration parameters.
[0023] The AP downloads a corresponding data collection module based on configuration parameters contained in the network quality parameter collection configuration information.
[0024] The AP collects each network quality parameter of a network environment in which the AP is currently located through the data collection module.
[0025] In an optional embodiment, when the AP sends each network quality parameter to the data reporting platform, the data reporting module is specifically configured to:
[0026] When it is determined that each network quality parameter is successfully collected, a tunnel running state between the AP and the AC is obtained.
[0027] If the tunnel running state indicates that the tunnel between the AP and the AC is normal, each network quality parameter is sent to the data reporting platform through the tunnel.
[0028] In an optional embodiment, the data reporting module is further configured to:
[0029] If the tunnel running state indicates that the tunnel between the AP and the AC is abnormal, each network quality parameter is stored in a preset local database.
[0030] When the data reporting request issued by the AC is received, each network quality parameter is sent to the data reporting platform in a preset non-tunnel transmission mode.
[0031] In an optional embodiment, when the AP sends the respective network quality parameters to the data reporting platform so that the data reporting platform stores the respective network quality parameters, the data reporting module is specifically configured to:
[0032] The AP sends, via the AC, the collection configuration information identifier of the network quality parameter collection configuration information to the data reporting platform, so that the data reporting platform saves the respective network quality parameters into the network quality parameter storage space corresponding to the collection configuration information identifier and the AP identifier after receiving the respective network quality parameters.
[0033] In a third aspect, the present application provides an electronic device including a processor and a memory, wherein the memory stores program code, and when the program code is executed by the processor, the processor executes the steps of the network quality parameter collection method of the first aspect.
[0034] In a fourth aspect, the present application provides a computer-readable storage medium including program code, and when the program code runs on an electronic device, the program code is used to make the electronic device execute the steps of the network quality parameter collection method of the first aspect.
[0035] In a fifth aspect, the present application provides a computer program product, which, when invoked by a computer, causes the computer to execute the steps of the network quality parameter collection method of the first aspect.
[0036] The present application has the following advantages:
[0037] In the network quality parameter collection method provided by the present application, the AP sends an AC domain name resolution request to the gateway device and receives the IP address of the AC returned by the gateway device based on the AC domain name resolution request; then, when it is determined that the IP address of the AC is used to establish a tunnel connection with the AC, the AP sends the AP identifier of the AP to the configuration platform and the data reporting platform via the AC; further, the AP receives the network quality parameter collection configuration information returned by the configuration platform based on the AP identifier, and performs parameter configuration based on the configuration parameters contained in the network quality parameter collection configuration information to collect the respective network quality parameters of the network environment in which the AP is currently located; finally, the AP sends the respective network quality parameters to the data reporting platform so that the data reporting platform stores the respective network quality parameters.
[0038] In this way, the technical defect that the collected physical parameters cannot accurately reflect the user network experience because of the distance between the collected physical parameters and the user network experience in the related art is avoided, and the user network experience is more accurately reflected through the related network quality parameters.
[0039] Additionally, other features and advantages of the present application will be set forth in the description that follows, and in part will be apparent from the description, or can be learned by practice of the application. The objectives and other advantages of the application will be realized and attained by the structure particularly pointed out in the written description and claims hereof as well as the appended drawings. BRIEF DESCRIPTION OF DRAWINGS
[0040] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments description. Obviously, the drawings in the following description are only some embodiments of the present application, and for those skilled in the art, other drawings can also be obtained from these drawings without any creative work. In the drawings:
[0041] Figure 1 An optional system architecture schematic diagram applicable to the embodiments of the present application;
[0042] Figure 2 An implementation flowchart of a network quality parameter collection method provided by the embodiments of the present application;
[0043] Figure 3 An online flowchart of network quality parameter collection provided by the embodiments of the present application;
[0044] Figure 4 A configuration issuing flowchart of network quality parameter collection provided by the embodiments of the present application;
[0045] Figure 5 A monitoring flowchart of network quality parameter collection provided by the embodiments of the present application;
[0046] Figure 6 A logic diagram of storing network quality parameters provided by the embodiments of the present application;
[0047] Figure 7 A data reporting flowchart of network quality parameter collection provided by the embodiments of the present application;
[0048] Figure 8 A structure diagram of a network quality parameter collection device provided by the embodiments of the present application;
[0049] Figure 9 A structure diagram of an electronic device provided by the embodiments of the present application. DETAILED DESCRIPTION
[0050] In order to make the purposes, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions of the present application will be described clearly and completely below in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments of the present application. Based on the embodiments described in the present application document, all other embodiments obtained by those of ordinary skill in the art without creative labor fall within the scope of protection of the technical solutions of the present application.
[0051] It should be noted that in the description of the present application, "multiple" is understood as "at least two". The association relationship of "and / or" describing the associated objects means that there can be three relationships, for example, A and / or B can represent the three cases of A existing alone, A and B existing together, and B existing alone. A is connected with B, which can represent two cases: A is directly connected with B and A is connected with B through C. In addition, in the description of the present application, "first", "second", and the like are only used for the purpose of distinguishing the description, and cannot be understood as indicating or implying relative importance, nor can it be understood as indicating or implying order.
[0052] In addition, in the technical solutions of the present application, the collection, transmission, use, etc. of data all comply with the requirements of relevant national laws and regulations.
[0053] The following explains and describes some technical terms in the embodiments of the present application, so as to facilitate understanding by those skilled in the art.
[0054] (1) Point-to-Point Protocol over Ethernet (PPPoE): It is a network tunneling protocol that encapsulates Point-to-Point Protocol (PPP) in Ethernet framework; and since the Point-to-Point Protocol is integrated in this protocol, it can realize identity authentication, encryption, compression and other functions that traditional Ethernet cannot provide, and can also be used for Cable Modem (CM) and Digital Subscriber Line (DSL) to provide access services to users through Ethernet protocol.
[0055] (2) Broadband Network Gateway (BNG): It is a kind of broadband access gateway, which is the core device for realizing broadband access, and is usually used for accessing broadband users and providing network access services; wherein the BNG interface refers to the interface between the BNG device and other devices, including: user interface and upper network interface.
[0056] (3) Service Set Identifier (SSID): A wireless local area network can be divided into several sub-networks requiring different identity authentication, and each sub-network requires independent identity authentication, only the user who passes the identity authentication can enter the corresponding sub-network, thereby preventing unauthorized users from entering the network.
[0057] (4) Internet Protocol (IP): Network layer protocol in Transmission Control Protocol (TCP) / IP system.
[0058] The purpose of designing IP is to improve the scalability of the network: one is to solve the Internet problem and realize the interconnection and intercommunication of large-scale and heterogeneous networks; the second is to separate the coupling relationship between the top network application and the bottom network technology, so as to facilitate the independent development of the two. According to the end-to-end design principle, IP only provides a connectionless, unreliable, best-effort data packet transmission service for the host.
[0059] Further, based on the above explanations of the terms and related terms, the design idea of the embodiments of the present application is briefly introduced as follows:
[0060] In the existing WLAN (such as a home network), the gateway device plays a core role, responsible for bridging, dialing and providing voice functions, etc. However, although the existing parameter acquisition system can acquire physical parameters such as optical module sending and receiving power, temperature, optical attenuation, and memory occupancy and CPU usage of the gateway device, etc. to measure the network quality of the WLAN, there is a distance between the feedback of these physical parameters and the user's network experience, that is, it cannot accurately reflect the user's network experience. Therefore, there is an urgent need for a network quality parameter acquisition method to more accurately reflect the user's network experience.
[0061] Therefore, in order to obtain relevant network quality parameters and more accurately reflect user network experience, in the embodiment of the present application, a network quality parameter collection method is provided, which specifically includes: the AP sends an AC domain name resolution request to the gateway device, and receives the IP address of the AC returned by the gateway device based on the AC domain name resolution request; then, when the AP determines to establish a tunnel connection with the AC based on the IP address of the AC, the AP sends the AP identifier of the AP to the configuration platform and the data reporting platform via the AC; wherein the configuration platform stores network quality parameter collection configuration information set for a plurality of APs respectively, each network quality parameter collection configuration information is used to send the matched configuration parameters to the AP via the AC at the request of the AP, and the data reporting platform is used to store the collected network quality parameters; further, the AP receives the network quality parameter collection configuration information returned by the configuration platform based on the AP identifier, and performs parameter configuration based on the configuration parameters contained in the network quality parameter collection configuration information to collect each network quality parameter of the network environment in which the AP is currently located; wherein each network quality parameter is used to measure the network experience of the user; finally, the AP sends each network quality parameter to the data reporting platform, so that the data reporting platform stores each network quality parameter.
[0062] In particular, the preferred embodiments of the present application are described below in conjunction with the accompanying drawings of the specification, it should be understood that the preferred embodiments described herein are only used to illustrate and explain the present application, and are not used to limit the present application, and the embodiments of the present application and the features in the embodiments can be combined with each other without conflict.
[0063] Referring to Figure 1 Fig. 1 shows a system architecture diagram suitable for the embodiments of the present application, which includes: an AP 101, a gateway device 102, an AC 103, a configuration platform 104, a data reporting platform 105 and a data collection module 106. The AP 101 and the gateway device 102, and the AP 101 and the AC 103 can exchange information through a communication network, wherein the communication network can adopt a communication mode including: a wireless communication mode and a wired communication mode; optionally, in the embodiments of the present application, the AP 101 and the gateway device 102 can also establish a data transmission channel, and the AP 101 and the AC 103 can also establish a data transmission tunnel.
[0064] And, as Figure 1 shown, the configuration platform 104 and the AP 101 and the AC 103 are in a communication connection state and can perform data transmission, the data reporting platform 105 and the AC 103 are in a communication connection state and can perform data transmission, and the data collection module 106 and the AP 101 are in a communication connection state and can perform data transmission.
[0065] For example, the AP 101 can access the network and communicate with the gateway device 102 and the AC 103 through cellular mobile communication technology, such as the 5th Generation Mobile Networks (5G) technology.
[0066] Optionally, the AP 101 can access the network and communicate with the gateway device 102 and the AC 103 through short-range wireless communication technology, such as the Wi-Fi technology.
[0067] It should be noted that the above communication network can also be various wireless communication system networks, such as Global System for Mobile Communications (GSM) networks, General Packet Radio Service (GPRS) system networks, Code Division Multiple Access (CDMA) system networks, Wideband Code Division Multiple Access (WCDMA) system networks, Long Term Evolution (LTE) system networks, World Interoperability for Microwave Access (WiMAX) system networks, etc.
[0068] The embodiments of the present application do not limit the number of communication devices involved in the above system architecture, for example, there can be more APs, or more ACs, or other network devices, such as Figure 1 As shown, only the AP 101, the gateway device 102, the AC 103, the configuration platform 104, the data reporting platform 105, and the data collection module 106 are taken as examples for description, and the following briefly introduces each of the above devices and their respective functions.
[0069] The AP 101, also referred to as a monitoring (hardware) module or a monitoring (hardware) module, can be a low-power general-purpose hardware platform with wired and wireless interfaces, running a customized operating system (i.e., a monitoring terminal operating system) containing a required monitoring program running environment; wherein the monitoring terminal initializes the running environment according to the obtained configuration and obtains the corresponding monitoring data (i.e., network quality parameters).
[0070] It is worth mentioning that in the embodiments of the present application, the AP 101 is configured to send an AC domain name resolution request to the gateway device 102, and receive an IP address of the AC 103 returned by the gateway device 102 based on the AC domain name resolution request; then, when it is determined that the tunnel connection with the AC 103 is established based on the IP address of the AC 103, the AP identifier of the AP 101 is sent to the configuration platform 104 and the data reporting platform 105 via the AC 103, respectively, wherein the configuration platform 104 stores network quality parameter collection configuration information respectively set for a plurality of APs 101, each network quality parameter collection configuration information is used to send the matched configuration parameters to the AP 101 through the AC 103 at the request of the AP 101, and the data reporting platform 105 is used to store the collected network quality parameters; further, the network quality parameter collection configuration information returned by the configuration platform 104 based on the AP identifier is received, and the configuration parameters contained in the network quality parameter collection configuration information are used for parameter configuration to collect each network quality parameter of the network environment currently located by the AP 101; finally, each network quality parameter is sent to the data reporting platform 105, so that the data reporting platform 105 stores each network quality parameter.
[0071] The gateway device 102 can be a gateway general packet radio service (GPRS) supporting node (GGSN) in a GSM system network, a GPRS system network or a WCDMA system network, can also be a packet data serving node (PDSN) in a CDMA system network, can also be a packet data network gateway (P-GW) in an LTE system network, and can also be a home agent (HA) in a WiMAX system network.
[0072] In particular, in the embodiments of the present application, the gateway device 102 can obtain the gateway IP address of itself through the BNG, and can also store or pre-configure the IP addresses of a plurality of ACs 103; therefore, an AC 103 in a normal state or an AC 103 that best meets the current requirements can be selected according to the respective working states of the plurality of ACs 103.
[0073] The AC 103 is configured to establish a tunnel with the AP 101, and transmit management data through the tunnel, such as obtaining a monitoring task (i.e., a data collection task), uploading monitoring data (i.e., each network quality parameter), and forwarding AP data (such as an AP identifier) to the configuration platform 104 and the data reporting platform 105.
[0074] The configuration platform 104, which can also be referred to as a configuration platform module, can accept a registration request of the AP 101 (monitoring terminal) and issue a required monitoring configuration file (i.e., network quality parameter collection configuration information) to the AP 101 according to a requirement, and perform lifecycle management on a monitoring task (related to network quality parameters).
[0075] Therefore, in the embodiment of the present application, the configuration platform 104 stores network quality parameter collection configuration information set for a plurality of APs 101 respectively, and each network quality parameter collection configuration information is used to send matched configuration parameters to the AP 101 through the AC 103 at the request of the AP 101.
[0076] It should be noted that the configuration platform can issue the same SSID and password to all signed APs and user equipment (UE). The SSID is used to identify a network and enable all APs and UEs to connect to the same network, and the password is used to protect the network and ensure that only authorized UEs can access the network.
[0077] In addition, in order to further ensure the security of the network, the configuration platform will also configure the gate. Specifically, the configuration platform will set a gate list, and only the devices on the list can access the network. This process can be achieved through MAC address filtering or device authentication.
[0078] The data reporting platform 105 can save each network quality parameter in a network quality parameter storage space set according to the corresponding collection configuration information identifier and AP identifier after receiving each network quality parameter, i.e., receive each collected network quality parameter.
[0079] The data collection module 106, which can also be referred to as a data collection module, runs in the monitoring terminal operating system, and the mutually isolated data collection modules 106 can be application programs isolated through namespaces, containers or other means.
[0080] It should be noted that in the embodiment of the present application, the data collection module 106 can be downloaded by the AP 101 according to the network quality parameter collection configuration information.
[0081] In addition, the monitoring terminal operating system of the above system architecture can provide a running environment for different monitoring tasks, execute monitoring tasks and perform lifecycle management tasks (such as obtaining a monitoring task, loading required software, performing monitoring, generating data, feeding back monitoring results and ending a monitoring task); wherein the monitoring task is a network quality parameter collection task.
[0082] The method for collecting network quality parameters provided by the exemplary embodiments of the present application will be described below in conjunction with the above system architecture and with reference to the accompanying drawings. It should be noted that the above system architecture is only shown for the purpose of facilitating the understanding of the spirit and principles of the present application, and the embodiments of the present application are not limited in this respect.
[0083] Referring to Figure 2 As shown in the figure, it is an implementation flowchart of the method for collecting network quality parameters provided by the embodiments of the present application, and the execution subject is taken as an example of an AP. The specific implementation flow of the method is as follows.
[0084] S201: The AP sends an AC domain name resolution request to the gateway device, and receives an IP address of an AC returned by the gateway device based on the AC domain name resolution request.
[0085] In an optional implementation, when step S201 is performed, the AP can receive the IP address of the AP allocated by the gateway device through a dynamic host configuration protocol (DHCP), so as to send the AC domain name resolution request to the gateway device based on the gateway IP address of the gateway device and the IP address of the AP, so as to subsequently establish a tunnel between the corresponding AC according to the IP address of the AC returned by the gateway device based on the AC domain name resolution request.
[0086] For example, the gateway device can access a BNG through a PPPoE dialing to obtain the IP address (i.e., the gateway IP address) of the gateway device, and the AP can obtain the IP address (i.e., the IP address of the AP) of itself from the gateway device through a DHCP. After the AP obtains the IP address of itself and the gateway device obtains the gateway IP address, the AP can send the AC domain name resolution request to the gateway device based on the gateway IP address and the IP address of the AP, so as to receive the IP address of the AC returned by the gateway device based on the AC domain name resolution request. Optionally, the returned IP address of the AC can be preconfigured or obtained through domain name resolution.
[0087] It should be noted that the above AC domain name resolution request is a domain name system (DNS) request.
[0088] Further, after the AP receives the IP address of the AC returned by the gateway device, the AP can establish a tunnel connection with the AC based on the IP address of the AC, i.e., establish a tunnel connection between the AP and the AC.
[0089] S202: When the AP determines to establish a tunnel connection with the AC based on the IP address of the AC, the AP sends an AP identifier of the AP to a configuration platform and a data reporting platform respectively via the AC.
[0090] The configuration platform stores network quality parameter collection configuration information respectively set for a plurality of APs, each of which is used to send matched configuration parameters to the AP through the AC at the request of the AP, and the data reporting platform is used to store the collected network quality parameters.
[0091] Optionally, in the embodiments of the present application, the network quality parameter collection configuration information includes but is not limited to: network quality parameter collection content, network quality parameter collection period and network quality parameter collection times.
[0092] For example, the network quality parameter collection content (i.e. monitoring content) can include network quality parameters such as network traffic, bandwidth (such as user uplink and downlink bandwidth) usage, network delay, network packet loss rate, website / webpage loading delay, call quality, video loading time, etc., the network quality parameter collection period (i.e. monitoring period) can be triggered according to a certain time interval or event, and the network quality parameter collection times (i.e. monitoring times) can be a limited number of times or unlimited.
[0093] Specifically, when performing step S202, the AP sends the AP identifier of the AP to the configuration platform and the data reporting platform via the AC according to the target address (i.e. the address of the configuration platform and the address of the data reporting platform) when determining to establish a tunnel connection based on the IP address of the AC; wherein, other data of the AP can also be forwarded to the configuration platform and the data reporting platform.
[0094] In an optional embodiment, before the AP receives the network quality parameter collection configuration information returned by the configuration platform based on the AP identifier, the AP can also start the monitoring task (i.e. prepare to start the collection of network quality parameters) according to the obtained configuration, and can also broadcast the SSID.
[0095] Therefore, based on the method steps of S201-S202 above, referring to Figure 3 the online process of network quality parameter collection can be realized, and the specific process is as follows:
[0096] S301: The gateway device accesses the BNG through PPPoE dialing to obtain a gateway IP address.
[0097] Specifically, when performing step S301, the gateway device accesses the BNG through PPPoE dialing to obtain a gateway IP address.
[0098] S302: Obtain the IP address of the AP from the gateway device.
[0099] Specifically, when performing step S302, the AP can obtain its own IP address (i.e. the IP address of the AP) from the gateway device through DHCP.
[0100] S303: sending an AC domain name resolution request to the gateway device.
[0101] S304: receiving an IP address of a pre-configured AC or an IP address of the AC obtained through domain name resolution returned by the gateway device based on the AC domain name resolution request.
[0102] S305: establishing a tunnel connection between the AP and the AC.
[0103] S306: forwarding AP data to the configuration platform and the data reporting platform according to a target address by the AC.
[0104] The AP data at least includes an AP identifier, and the target address includes an address of the configuration platform and an address of the data reporting platform.
[0105] S307: enabling a monitoring task and broadcasting an SSID according to the obtained configuration.
[0106] Specifically, in the step S307, the AC enables the monitoring task and broadcasts the SSID according to the obtained configuration.
[0107] S203: receiving, by the AP, network quality parameter collection configuration information returned by the configuration platform based on an AP identifier, and performing parameter configuration based on configuration parameters contained in the network quality parameter collection configuration information, and collecting each network quality parameter of a network environment currently located by the AP.
[0108] The each network quality parameter is used to measure network experience of a user, so that the network key quality is monitored, and a network experience parameter closer to user perception is obtained.
[0109] In an optional implementation, in the step S203, the network quality parameter collection configuration information is obtained by the configuration platform from a preset network quality parameter collection configuration information set based on the AP identifier and a preset corresponding relationship between the AP identifier and a collection configuration information identifier.
[0110] For example, the configuration platform can find a configuration template ID matching the ID information of the AP (i.e., the AP identifier) in a database (i.e., the preset network quality parameter collection configuration information set) according to the ID information of the AP (i.e., the AP identifier) and a preset corresponding relationship between the AP identifier (i.e., the ID information of the AP) and the collection configuration information identifier (i.e., the configuration template ID), and all supported configuration files (i.e., the network quality parameter collection configuration information) corresponding to the configuration template ID are downloaded to the AP.
[0111] And, the AP can also collect configuration information based on the obtained network quality parameter, download the corresponding data collection module, so as to collect each network quality parameter of the network environment where the AP is currently located through the data collection module, and further complete the collection of network quality parameters.
[0112] For example, the AP receives and parses the configuration template information (i.e. network quality parameter collection configuration information), downloads the data collection module according to the parsed information, and executes the monitoring task according to the task information, i.e. collects each network quality parameter of the network environment where the AP is currently located.
[0113] Therefore, based on the method steps of S203 above, referring to Figure 4 As shown, after the AP is online, the configuration platform can implement the configuration and delivery process of network quality parameter collection, and the specific process is as follows:
[0114] S401: According to the ID information of the AP, find the configuration template ID matched with the ID information of the AP in the database.
[0115] S402: Deliver all supported configuration template information corresponding to the configuration template ID to the AP.
[0116] Further, after receiving the configuration file, the AP can still perform the following operations, as shown in Figure 4
[0117] S403: Receive and parse the configuration template information.
[0118] S404: Download the data collection module according to the parsed information.
[0119] S405: Execute the monitoring task according to the task information.
[0120] In addition, after the configuration and delivery process of S401-S405 above, the AP parses the monitoring task in the configuration (i.e. network quality parameter collection configuration information), obtains information such as monitoring content (i.e. network quality parameter collection content), monitoring period (network quality parameter collection period) and monitoring times (network quality parameter collection times), and runs the corresponding program according to the monitoring content to obtain monitoring data (i.e. network quality parameters), as shown in Figure 5
[0121] S501: Parse the monitoring task in the configuration.
[0122] S502: Obtain information such as monitoring content, monitoring period and monitoring times.
[0123] S503: Run the corresponding program according to the monitoring content to obtain monitoring data.
[0124] It should be noted that during the monitoring process, the AP records these monitoring parameters. It can use internal storage space to temporarily store this data or send this data to the AC in real time.
[0125] By adopting the above configuration distribution and monitoring processes, network quality parameters are collected, so that the acquired network quality parameters can be used to more accurately reflect the user's network experience.
[0126] S204: The AP sends various network quality parameters to the data reporting platform so that the data reporting platform can store the various network quality parameters.
[0127] In one alternative implementation, when performing step S204, refer to... Figure 6 As shown, once the collection of various network quality parameters is successful, the tunnel operation status between the AP and AC can be obtained. If the tunnel operation status indicates that the tunnel between the AP and AC is normal, the various network quality parameters are sent to the data reporting platform through the tunnel. In addition, if the tunnel operation status indicates that the tunnel between the AP and AC is abnormal, the various network quality parameters are stored in a preset local database. Furthermore, when a data reporting request is received from the AC, the various network quality parameters are sent to the data reporting platform using a preset non-tunnel transmission method. In this way, regardless of whether the tunnel between the AP and AC is in a normal state (e.g., connected state) or an abnormal state (e.g., disconnected state), the network quality parameters can be reported, that is, the various network quality parameters are sent to the data reporting platform.
[0128] For example, under normal tunnel conditions between the AP and AC (i.e., the tunnel is in a normal state), the data acquisition module uploads data (i.e., network quality parameters) to the data reporting platform via the tunnel and the Internet. Furthermore, under abnormal / abnormal tunnel conditions between the AP and AC (i.e., the tunnel is in an abnormal state), the data (network quality parameters) collected by the data acquisition module is stored locally. For instance, after the AC detects a tunnel disconnection for a period of time (i.e., the tunnel is in an abnormal state), when it receives a data reporting request from the AC, it notifies the data reporting platform. This allows the data reporting platform to notify the operator or user via SMS to collect data locally and report it through other means (i.e., a preset non-tunnel transmission method, such as obtaining it through an application, APP), thus storing the various network quality parameters.
[0129] Optionally, the AP can send a network quality parameter collection configuration information identifier to the data reporting platform via the AC, so that after receiving each network quality parameter, the data reporting platform can save each network quality parameter to the network quality parameter storage space set by the corresponding collection configuration information identifier and AP identifier.
[0130] Therefore, based on the method steps of S204, refer to Figure 7 As shown, after the AP is online, the data collection device corresponding to the AP can implement a data reporting process, and the specific process is as follows:
[0131] S701: uploading data to a data reporting platform through the Internet.
[0132] S702: storing the reported data according to the ID information of the AP and the configuration template ID.
[0133] Specifically, the data reporting platform can store the reported data according to the ID information of the AP (i.e., the AP identifier) and the configuration template ID (i.e., the collection configuration information identifier), that is, store each network quality parameter.
[0134] It should be further noted that, based on the network quality parameter collection method of S201-S204, through specific online processes, configuration distribution processes, and detection processes, the collection of network quality parameters can be achieved, for example, effective monitoring of home network key quality; and real-time monitoring, efficient fault troubleshooting, flexible network optimization, improved user experience, prevention of network abuse, flexible configuration, and data support for the development and marketing of related products can also be achieved.
[0135] In summary, in the network quality parameter collection method provided in the present application, the AP sends an AC domain name resolution request to the gateway device and receives the IP address of the AC returned by the gateway device based on the AC domain name resolution request; then, when it is determined that a tunnel connection is established based on the IP address of the AC, the AP sends the AP identifier of the AP to the configuration platform and the data reporting platform via the AC; further, the network quality parameter collection configuration information returned by the configuration platform based on the AP identifier is received, and parameter configuration is performed based on the configuration parameters contained in the network quality parameter collection configuration information, and each network quality parameter of the network environment in which the AP is currently located is collected; finally, each network quality parameter is sent to the data reporting platform, so that the data reporting platform stores each network quality parameter.
[0136] In this way, the technical drawbacks that the collected physical parameters are far from the user network experience in the related art, so that the user network experience cannot be accurately reflected, are avoided, and the user network experience is more accurately reflected through the related network quality parameters.
[0137] Further, based on the same technical concept, the present application provides a network quality parameter collection device for implementing the method process of the present application. Refer to Figure 8As shown, the network quality parameter collection device includes: an address acquisition module 801, an identification sending module 802, a parameter collection module 803, and a data reporting module 804, wherein:
[0138] The address acquisition module 801 is configured to send an access controller (AC) domain name resolution request by an access point (AP) to a gateway device, and receive an Internet Protocol (IP) address of the AC returned by the gateway device based on the AC domain name resolution request;
[0139] The identification sending module 802 is configured to send an AP identification of the AP to a configuration platform and a data reporting platform via the AC when the AP determines to establish a tunnel connection with the AC based on the IP address of the AC; wherein the configuration platform stores network quality parameter collection configuration information respectively set for a plurality of APs, each network quality parameter collection configuration information is used to send a matched configuration parameter to the AP via the AC at the request of the AP, and the data reporting platform is used to store collected network quality parameters.
[0140] The parameter collection module 803 is configured to receive network quality parameter collection configuration information returned by the configuration platform based on the AP identification, and perform parameter configuration based on configuration parameters contained in the network quality parameter collection configuration information, and collect each network quality parameter of a network environment currently located by the AP; wherein each network quality parameter is used to measure network experience of a user.
[0141] The data reporting module 804 is configured to send each network quality parameter to the data reporting platform, so that the data reporting platform stores each network quality parameter.
[0142] In an optional embodiment, when the access point (AP) sends an access controller (AC) domain name resolution request to a gateway device, the address acquisition module 801 is specifically configured to:
[0143] The AP receives an IP address of the AP allocated by the gateway device through dynamic host configuration protocol (DHCP) interaction;
[0144] The AP sends an AC domain name resolution request to the gateway device based on a gateway IP address of the gateway device and the IP address of the AP; wherein the gateway IP address is obtained by the gateway device through a broadband network gateway (BNG).
[0145] In an optional embodiment, the network quality parameter collection configuration information includes but is not limited to: network quality parameter collection content, network quality parameter collection period, and network quality parameter collection times.
[0146] In an alternative embodiment, the network quality parameter collection configuration information is obtained by the configuration platform based on the AP identifier and a preset correspondence between the AP identifier and the collection configuration information identifier, from a preset set of network quality parameter collection configuration information.
[0147] In an alternative embodiment, when the network quality parameters of the network environment in which the AP is currently located are collected based on the configuration parameters contained in the network quality parameter collection configuration information, the parameter collection module 803 is specifically configured to:
[0148] The AP downloads the corresponding data collection module based on the configuration parameters contained in the network quality parameter collection configuration information.
[0149] The AP collects the network quality parameters of the network environment in which the AP is currently located through the data collection module.
[0150] In an alternative embodiment, when the AP sends the network quality parameters to the data reporting platform, the data reporting module 804 is specifically configured to:
[0151] When it is determined that the network quality parameters are successfully collected, the tunnel operation state between the AP and the AC is obtained.
[0152] If the tunnel operation state indicates that the tunnel between the AP and the AC is normal, the network quality parameters are sent to the data reporting platform through the tunnel.
[0153] In an alternative embodiment, the data reporting module 804 is further configured to:
[0154] If the tunnel operation state indicates that the tunnel between the AP and the AC is abnormal, the network quality parameters are stored in a preset local database.
[0155] When the data reporting request issued by the AC is received, the network quality parameters are sent to the data reporting platform in a preset non-tunnel transmission mode.
[0156] In an alternative embodiment, when the AP sends the network quality parameters to the data reporting platform to enable the data reporting platform to store the network quality parameters, the data reporting module 804 is specifically configured to:
[0157] The AP sends the collection configuration information identifier of the network quality parameter collection configuration information to the data reporting platform via the AC, so that after receiving the network quality parameters, the data reporting platform saves the network quality parameters in the network quality parameter storage space set according to the collection configuration information identifier and the AP identifier.
[0158] Based on the same technical concept, the embodiments of the present application further provide an electronic device, which can implement the method for collecting network quality parameters provided by the embodiments of the present application. In an embodiment, the electronic device can be a server, a terminal device or other electronic device. The electronic device can include Figure 9 As shown in the figure, the electronic device can include
[0159] At least one processor 901 and a memory 902 connected with the at least one processor 901, the specific connection medium between the processor 901 and the memory 902 is not limited in the embodiments of the present application, Figure 9 In the embodiment, the connection between the processor 901 and the memory 902 is taken as an example of connection through a bus 900. The bus 900 is represented by a thick line in the figure, and the connection mode between other components is only schematically illustrated and is not limited. The bus 900 can be divided into an address bus, a data bus, a control bus, etc., for the convenience of representation, Figure 9 In the embodiment, only one thick line is used to represent, but it does not mean that there is only one bus or one type of bus. Alternatively, the processor 901 can also be called a controller, and the name is not limited. Figure 9
[0160] In the embodiments of the present application, the memory 902 stores instructions executable by the at least one processor 901, and the at least one processor 901 can execute the method for collecting network quality parameters discussed above by executing the instructions stored in the memory 902. The processor 901 can implement Figure 8 The functions of each module in the device shown in the figure.
[0161] Among them, the processor 901 is the control center of the device, which can connect each part of the whole control device through various interfaces and lines, and through running or executing the instructions stored in the memory 902 and calling the data stored in the memory 902, the device can process data and various functions, thereby overall monitoring the device.
[0162] In a possible design, the processor 901 can include one or more processing units, and the processor 901 can integrate an application processor and a modem processor, wherein the application processor mainly processes the operating system, user interface and application program, etc., and the modem processor mainly processes wireless communication. It can be understood that the above-mentioned modem processor can also not be integrated into the processor 901. In some embodiments, the processor 901 and the memory 902 can be implemented on the same chip, and in some embodiments, they can also be implemented on independent chips respectively.
[0163] The processor 901 can be a general processor, such as a CPU, a digital signal processor, an application-specific integrated circuit, a field programmable gate array, or other programmable logic device, a discrete gate or transistor logic component, a discrete hardware component, can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. The general processor can be a microprocessor or any conventional processor. The steps of the network quality parameter acquisition method disclosed in the embodiments of the present application can be directly embodied by the hardware processor to execute, or executed by the combination of hardware and software modules in the processor.
[0164] The memory 902 is a non-volatile computer readable storage medium, which can be used to store non-volatile software programs, non-volatile computer executable programs and modules. The memory 902 can include at least one type of storage medium, such as flash memory, hard disk, multimedia card, card type memory, random access memory (RAM), static random access memory (SRAM), programmable read-only memory (PROM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), magnetic storage, magnetic disk, optical disk, etc. The memory 902 is any other medium capable of carrying or storing desired program code in the form of instructions or data structures and capable of being accessed by a computer, but is not limited to this. The memory 902 in the embodiments of the present application can also be a circuit or any other device capable of realizing the storage function, used for storing program instructions and / or data.
[0165] By designing and programming the processor 901, the code corresponding to the network quality parameter acquisition method introduced in the foregoing embodiments can be fixed into the chip, so that the chip can execute the steps of the network quality parameter acquisition method of the embodiments shown in the running time. Figure 2 How to design and program the processor 901 is a technology known to those skilled in the art, which will not be described here.
[0166] Based on the same inventive concept, the embodiments of the present application also provide a storage medium storing computer instructions, when the computer instructions run on a computer, the computer executes the network quality parameter acquisition method discussed above.
[0167] In some possible implementation, each aspect of the method for collecting network quality parameters can also be implemented in the form of a program product, which includes program codes for causing the control device to perform the steps of the method for collecting network quality parameters according to various exemplary embodiments of the present application described above in the specification when the program product is run on the device.
[0168] It should be noted that although several units or sub-units of the device are mentioned in the above detailed description, such division is merely exemplary and not mandatory. Indeed, features and functions of two or more units described above can be embodied in one unit according to embodiments of the present application. Conversely, a feature or function of one unit described above can be further divided into several units.
[0169] Moreover, although the operations of the method according to the present application are described in a particular order in the figures, this is merely for the sake of illustration and the operations can be performed in a different order, or in parallel, or with some steps omitted, combined, or further divided into sub-steps, without departing from the scope of the present application.
[0170] Those skilled in the art should understand that embodiments of the present application can be provided as a method, a system, or a computer program product. Therefore, the present application can take the form of an entirely hardware embodiment, an entirely software embodiment, or an embodiment combining software and hardware aspects. Furthermore, the present application can take the form of a computer program product implemented on one or more computer-usable storage media (including, but not limited to, disk memory, CD-ROM, optical memory, etc.) containing computer-usable program codes.
[0171] The present application is described with reference to the flowcharts and / or block diagrams of the methods, apparatus (systems) and computer program products according to embodiments of the present application. It should be understood that each flow and / or block in the flowcharts and / or block diagrams, as well as combinations of flows and / or blocks in the flowcharts and / or block diagrams, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing apparatus to produce a machine, so that the instructions, which are executed via the processor of the computer or other programmable data processing apparatus, generate a means for implementing the functions specified in the flowcharts and / or block diagrams of the flowcharts and / or block diagrams. Figure 1 The functions specified in a flow or multiple flows and / or blocks Figure 1 The apparatus that implements the functions specified in a flow or multiple flows and / or blocks
[0172] Program code for carrying out operations of the present application can be written in any combination of one or more programming languages, including an object oriented programming language such as Java, C++, or the like, and conventional procedural programming languages, such as the "C" programming language, or the like. The program code can execute entirely on the user's computing device, partly on the user's device, as a stand-alone software package, partly on the user's device and partly on a remote computing device or entirely on the remote computing device or server. The user device can be a mobile device, a personal computer, a server, a handheld device, a multiprocessor system, microprocessor-based systems, programmable consumer electronics, network PC, minicomputers, mainframe computers, and the like.
[0173] These computer program instructions can also be loaded into a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks. Figure 1 Figure 1 The computer program instructions can also be loaded into a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart block or blocks.
[0174] Obviously, numerous modifications and variations of the present application are possible in light of the above teachings. It is therefore to be understood that within the scope of theappended claims and their equivalents, the application can be practiced otherwise than as specifically described.
Claims
1. A method for collecting network quality parameters, characterized in that, The method comprises: An access point (AP) sends an access controller (AC) domain name resolution request to a gateway device and receives an IP address of the AC returned by the gateway device based on the AC domain name resolution request; When determining to establish a tunnel connection with the AC based on the IP address of the AC, the AP sends an AP identifier of the AP to a configuration platform and a data reporting platform via the AC, respectively; the configuration platform stores network quality parameter collection configuration information set for a plurality of APs, the network quality parameter collection configuration information is obtained by the configuration platform from a preset network quality parameter collection configuration information set based on the AP identifier and a preset correspondence between an AP identifier and a collection configuration information identifier, each network quality parameter collection configuration information is used to send a matched configuration parameter to the AP via the AC at the request of the AP, and the data reporting platform is used to store collected network quality parameters; The AP receives network quality parameter collection configuration information returned by the configuration platform based on the AP identifier, performs parameter configuration based on configuration parameters contained in the network quality parameter collection configuration information, and collects each network quality parameter of a network environment currently located by the AP; the each network quality parameter is used to measure network experience of a user; The AP sends the each network quality parameter to the data reporting platform so that the data reporting platform stores the each network quality parameter.
2. The method of claim 1, wherein, The AP sends an AC domain name resolution request to a gateway device, comprising: The AP receives an IP address of the AP allocated by the gateway device through dynamic host configuration protocol (DHCP) interaction; The AP sends the AC domain name resolution request to the gateway device based on a gateway IP address of the gateway device and the IP address of the AP; the gateway IP address is obtained by the gateway device through a broadband network gateway (BNG).
3. The method of claim 1, wherein, The network quality parameter collection configuration information includes but is not limited to network quality parameter collection content, network quality parameter collection period, and network quality parameter collection times.
4. The method of any one of claims 1-3, wherein, The parameter configuration based on the configuration parameters contained in the network quality parameter collection configuration information and the collection of each network quality parameter of a network environment currently located by the AP, comprising: The AP downloads a corresponding data collection module based on the configuration parameters contained in the network quality parameter collection configuration information; The AP collects each network quality parameter of a network environment currently located by the AP through the data collection module.
5. The method of any one of claims 1-3, wherein, The AP sends the each network quality parameter to the data reporting platform, comprising: When it is determined that the each network quality parameter is successfully collected, a tunnel running state between the AP and the AC is obtained; If the tunnel running state indicates that the tunnel between the AP and the AC is normal, the each network quality parameter is sent to the data reporting platform through the tunnel.
6. The method of claim 5, wherein, The method further comprises: If the tunnel running state represents that the tunnel between the AP and the AC is abnormal, the network quality parameters are stored in a preset local database; When receiving a data reporting request issued by the AC, the network quality parameters are sent to the data reporting platform by using a preset non-tunnel transmission mode.
7. The method of any one of claims 1-3, wherein, The AP sends the network quality parameters to the data reporting platform, so that the data reporting platform stores the network quality parameters, including: The AP sends, to the data reporting platform via the AC, a collection configuration information identifier of the network quality parameter collection configuration information, so that the data reporting platform saves the network quality parameters in a network quality parameter storage space corresponding to the collection configuration information identifier and the AP identifier after receiving the network quality parameters.
8. An apparatus for collecting network quality parameters, characterized by The address acquisition module is configured to: The address acquisition module is configured to: The identifier sending module is configured to: The parameter acquisition module is configured to: The data reporting module is configured to:
9. The apparatus of claim 8, wherein, When the AP sends an access controller (AC) domain name resolution request to a gateway device, the address acquisition module is specifically configured to: The AP receives an IP address of the AP allocated by the gateway device through a dynamic host configuration protocol (DHCP); The AP sends the AC domain name resolution request to the gateway device based on a gateway IP address of the gateway device and the IP address of the AP; the gateway IP address is obtained by the gateway device through a broadband network gateway (BNG).
10. The apparatus of claim 8, wherein, The network quality parameter collection configuration information includes, but is not limited to, network quality parameter collection content, network quality parameter collection period, and network quality parameter collection times.
11. The apparatus of any one of claims 8-10, wherein, When the parameter collection module collects each network quality parameter of the network environment where the AP is currently located based on the configuration parameters contained in the network quality parameter collection configuration information, the parameter collection module is specifically configured to: The AP downloads a corresponding data collection module based on the configuration parameters contained in the network quality parameter collection configuration information. The AP collects each network quality parameter of the network environment where the AP is currently located through the data collection module.
12. The apparatus of any one of claims 8-10, wherein, When the data reporting module sends the each network quality parameter to the data reporting platform, the data reporting module is specifically configured to: When it is determined that the each network quality parameter is successfully collected, the tunnel running state between the AP and the AC is obtained. If the tunnel running state indicates that the tunnel between the AP and the AC is normal, the each network quality parameter is sent to the data reporting platform through the tunnel.
13. The apparatus of claim 12, wherein, The data reporting module is further configured to: If the tunnel running state indicates that the tunnel between the AP and the AC is abnormal, the each network quality parameter is stored in a preset local database. When the data reporting request issued by the AC is received, the each network quality parameter is sent to the data reporting platform in a preset non-tunnel transmission mode.
14. The apparatus of any one of claims 8-10, wherein, When the data reporting module sends the each network quality parameter to the data reporting platform, so that the data reporting platform stores the each network quality parameter, the data reporting module is specifically configured to: The AP sends a collection configuration information identifier of the network quality parameter collection configuration information to the data reporting platform via the AC, so that the data reporting platform saves the each network quality parameter in a network quality parameter storage space corresponding to the collection configuration information identifier and the AP identifier after receiving the each network quality parameter.
15. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that, The processor executes the computer program to implement the method of any one of claims 1-7.
16. A computer readable storage medium having stored thereon a computer program, characterized in that, The computer program is executed by the processor to implement the steps of the method of any one of claims 1-7.
Citation Information
Patent Citations
Access method of WiFi (Wireless Fidelity) access point (AP), WiFi AP and WiFi system
CN102387608A
User terminal, method, application and checking apparatus for providing wi-fi communication quality
KR1020170107340A