[go: up one dir, main page]
More Web Proxy on the site http://driver.im/

CN118694677A - Method for generating quality analysis report - Google Patents

Method for generating quality analysis report Download PDF

Info

Publication number
CN118694677A
CN118694677A CN202411159391.1A CN202411159391A CN118694677A CN 118694677 A CN118694677 A CN 118694677A CN 202411159391 A CN202411159391 A CN 202411159391A CN 118694677 A CN118694677 A CN 118694677A
Authority
CN
China
Prior art keywords
domain name
address
data packet
name resolution
data
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
CN202411159391.1A
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.)
ZTE Corp
Original Assignee
ZTE Corp
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 ZTE Corp filed Critical ZTE Corp
Priority to CN202411159391.1A priority Critical patent/CN118694677A/en
Publication of CN118694677A publication Critical patent/CN118694677A/en
Pending legal-status Critical Current

Links

Landscapes

  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The embodiment of the application provides a method for generating a quality analysis report, which comprises the following steps: forwarding a domain name resolution request sent by equipment connected with FTTR gateway to a Domain Name System (DNS) server; caching a domain name resolution result sent by a DNS server and forwarding the domain name resolution result to equipment so as to enable the equipment and a target server to carry out service data transmission, wherein the domain name resolution result comprises a domain name requested to be resolved by the equipment and an Internet Protocol (IP) address of the target server corresponding to the domain name; and acquiring and analyzing the transmission quality of the service data, and generating a quality analysis report according to the quality analysis result and the IP address of the target server for transmitting the service data and the domain name corresponding to the IP address. By the embodiment of the application, the problem that the quality analysis report generated in the related technology is not effective and comprehensive enough because the domain name of the target server pair is not involved is solved.

Description

Method for generating quality analysis report
Technical Field
The embodiment of the application relates to the field of communication, in particular to a method for generating a quality analysis report.
Background
In the related art, a network terminal device detects a down-hanging device, i.e. a communication data packet of a device connected to an optical fiber to room (Fiber To The Room, FTTR) gateway, and analyzes transmission service quality through five tuples (protocol type, source IP and port, destination source and port, and data packet delay and packet loss conditions). The related art has a drawback in that the domain name is not associated with the traffic data transmission, especially for encrypted transmission similar to hypertext transfer security protocol (Hypertext Transfer Protocol Secure, HTTPS), the target domain name cannot be perceived, and thus the target server cannot be distinguished.
Disclosure of Invention
The embodiment of the application provides a method for generating a quality analysis report, which at least solves the problem that the quality analysis report generated in the related technology is not effective and comprehensive enough because the domain name of a target server pair is not involved.
According to an embodiment of the present application, there is provided a method of generating a quality analysis report, including: forwarding a Domain name resolution request sent by a device connected to a FTTR gateway to a Domain name system (Domain NAME SYSTEM, DNS) server; caching a domain name resolution result sent by a DNS server and forwarding the domain name resolution result to equipment so as to enable the equipment and a target server to carry out service data transmission, wherein the domain name resolution result comprises a domain name requested to be resolved by the equipment and an internet protocol (Internet Protocol, IP) address of the target server corresponding to the domain name; and acquiring and analyzing the transmission quality of the service data, and generating a quality analysis report according to the quality analysis result and the IP address of the target server for transmitting the service data and the domain name corresponding to the IP address.
According to a further embodiment of the present application, there is also provided a computer program product comprising a computer program, wherein the computer program when executed by a processor realizes the steps of the above embodiments.
According to a further embodiment of the application, there is also provided a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of the above embodiments when run.
According to yet another embodiment of the present application there is also provided an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of the above embodiments.
According to the embodiment of the application, as the FTTR gateway forwards the domain name resolution request sent by the down-hung device to the domain name system DNS server, the FTTR gateway covers all domain name resolution requests initiated by the down-hung device, and interaction between part of the down-hung devices and the DNS in the related technology does not pass through the FTTR gateway; meanwhile, the association relation between the domain name and the IP is accurately generated and maintained by caching the domain name resolution result sent by the DNS server and utilizing the cached data when the down-hanging device and the Internet server carry out data transmission. Therefore, the problem that the quality analysis report generated in the related technology is not effective and comprehensive enough due to the fact that the quality analysis report is not related to the domain name of the target server can be solved, and the purpose of generating a comprehensive quality analysis report for the service quality of a specific domain name is achieved.
Drawings
Fig. 1 is a hardware block diagram of a computer terminal of a method of generating a quality analysis report according to an embodiment of the present application;
FIG. 2 is a flow chart of a method of generating a quality analysis report according to an embodiment of the application;
FIG. 3 is a FTTR gateway schematic diagram according to an embodiment of the application;
fig. 4 is a workflow diagram of a DNS data acquisition module according to an embodiment of the present application;
FIG. 5 is a flowchart of steps for a FTTR drop device to access an Internet CDN system, according to an embodiment of the present application;
fig. 6 is a flowchart of a method of generating a quality analysis report according to still another embodiment of the present application.
Detailed Description
Embodiments of the present application will be described in detail below with reference to the accompanying drawings in conjunction with the embodiments.
It should be noted that the terms "first," "second," and the like in the description and the claims of the present application and the above figures are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order.
The following is a description of the relevant terminology of embodiments of the application:
FTTR technology: FTTR technology is the key to implementing a home optical network. The method improves the speed and the stability of data transmission by introducing the optical fiber into the room of the home subscriber. Meanwhile, FTTR technologies also support multi-service bearers including broadband internet, internet television (Internet Protocol Television, IPTV), internet telephony (Voice over Internet Protocol, voIP), etc.
Optical router/optical gateway technology: an optical router or optical gateway is a core device in FTTR optical networks. They are responsible for converting optical signals into electrical signals, enabling connection to external networks. Meanwhile, the optical router/optical gateway also has the functions of routing, switching, safety and the like, and provides comprehensive network service for home users.
Wireless local area network (WIRELESS FIDELITY, wi-Fi) technology: in FTTR optical networks, wi-Fi technology is key to achieving in-home wireless coverage. By deploying multiple Wi-Fi access points (e.g., from a gateway), wi-Fi full coverage inside the home can be achieved. Meanwhile, the Wi-Fi technology also supports simultaneous access of multiple users, and meets the internet surfing requirements of home users at different positions.
Flow control and traffic data transmission quality assessment techniques: the home FTTR gateway has the capability of capturing interaction data and can evaluate the service data transmission quality of the down-hanging device according to the domain name dimension. This relies primarily on flow control techniques and data transmission quality assessment algorithms. By monitoring and analyzing the network flow data, the transmission condition of each service can be known in real time, and the network can be optimized and adjusted according to the requirement.
The method embodiments provided in the embodiments of the present application may be performed in a mobile terminal, a computer terminal or similar computing device. Taking a computer terminal as an example, fig. 1 is a block diagram of a hardware configuration of a computer terminal of a method of generating a quality analysis report according to an embodiment of the present application. As shown in fig. 1, the computer terminal may include one or more (only one is shown in fig. 1) processors 102 (the processor 102 may include, but is not limited to, a microprocessor MCU or a processing device such as a programmable logic device FPGA) and a memory 104 for storing data, wherein the computer terminal may further include a transmission device 106 for communication functions and an input-output device 108. It will be appreciated by those skilled in the art that the configuration shown in fig. 1 is merely illustrative and is not intended to limit the configuration of the computer terminal described above. For example, the computer terminal may also include more or fewer components than shown in FIG. 1, or have a different configuration than shown in FIG. 1.
The memory 104 may be used to store a computer program, for example, a software program of application software and a module, such as a computer program corresponding to a method for generating a quality analysis report in an embodiment of the present application, and the processor 102 executes the computer program stored in the memory 104 to perform various functional applications and data processing, that is, to implement the above-described method. Memory 104 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 104 may further include memory remotely located relative to the processor 102, which may be connected to the computer terminal via a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 106 is used to receive or transmit data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider of a computer terminal. In one example, the transmission device 106 includes a network adapter (Network Interface Controller, NIC) that can connect to other network devices through a base station to communicate with the internet. In one example, the transmission device 106 may be a Radio Frequency (RF) module for communicating with the internet wirelessly.
Fig. 2 is a flowchart of a method of generating a quality analysis report according to an embodiment of the present application, as shown in fig. 2, the flowchart including the steps of:
step S202, forwarding the domain name resolution request sent by the device connected to the FTTR gateway to the domain name system DNS server.
In an exemplary embodiment of the present application, forwarding a domain name resolution request sent by a device connected to a FTTR gateway to a DNS server includes: capturing a data packet passing through a network interface of the FTTR gateway through a deep packet Inspection (DEEP PACKET Inspection, DPI) technology, wherein the data packet is a data packet sent by equipment and used for indicating a domain name resolution request; resolving a first data packet comprising a preset port in the data packet to obtain a transaction identifier of the first data packet, a port and an IP address of a DNS server and an IP address of equipment; and taking the transaction identifier as an index, storing the analysis result of the first data packet through a data cache structure, and forwarding the first data packet for indicating the domain name analysis request to the DNS server through a route.
It should be noted that, the network environment of the embodiment of the present application is FTTR optical network scene, and the terminal device of the home user accesses the internet service through FTTR terminal device (i.e. FTTR gateway), so as to form an efficient and stable network environment. The FTTR optical network directly introduces the optical fiber into the room of the home subscriber, and realizes high-speed and stable data transmission through equipment such as an optical router or an optical gateway. Such a network architecture has higher bandwidth, lower latency, and greater interference immunity than conventional wireless or copper wire networks. In a home FTTR optical network, a master gateway (located in a home central location, such as a living room) and a plurality of slave gateways (distributed in the respective rooms) are typically included. The master gateway is responsible for the connection to the external network and the slave gateway is responsible for the transmission of network signals to the various rooms. Through the method, wi-Fi full coverage in the home can be realized, and the internet surfing requirements of home users at different positions are met.
In an exemplary embodiment of the application, the protocol type of the data packet includes a transmission control protocol TCP or a user datagram protocol UDP.
It should be noted that the protocol types, including the transmission control protocol (Transmission Control Protocol, TCP), are a connection-oriented, reliable, byte-stream based transport layer protocol. TCP is responsible for establishing connections over a network, transmitting data, and ensuring the reliability and sequence of data transmission. TCP achieves reliable data transmission by dividing data into data blocks (called segments) that are suitable for network transmission and ensuring that the data blocks arrive at the destination in the correct order. TCP also provides flow control and congestion control functions to ensure the efficiency and fairness of network transmissions. TCP is one of the most commonly used protocols in internet transport layer protocols, and is widely used in various network communication scenarios.
The user datagram protocol (User Datagram Protocol, UDP) is a connectionless transport layer protocol that provides a simple data transfer service that does not require a connection to be established. UDP is generally used for rapidly transmitting data over a network, such as real-time audio and video transmission, online games, and other application scenarios with high real-time requirements. UDP is characterized by simplicity and efficiency, but may lose packets or be out of order during transmission.
In an exemplary embodiment of the present application, caching domain name resolution results sent by a DNS server includes: receiving a second data packet sent by the DNS server, and analyzing the second data packet to obtain a transaction identifier of the second data packet; comparing the transaction identifier of the second data packet with the transaction identifier in the data cache structure; and under the condition that the comparison results are consistent, storing the analysis result of the second data packet into a domain name analysis cache structure.
In an exemplary embodiment of the application, the FTTR gateway comprises a master gateway or a slave gateway.
Step S204, the domain name resolution result sent by the DNS server is cached and forwarded to the device, so that the device and the target server perform service data transmission, wherein the domain name resolution result comprises the domain name requested to be resolved by the device and the Internet Protocol (IP) address of the target server corresponding to the domain name.
In an exemplary embodiment of the present application, caching a domain name resolution result sent by a DNS server and forwarding the domain name resolution result to a device, so that the device and a target server perform service data transmission, including: caching domain name resolution results sent by a DNS server and forwarding the domain name resolution results to equipment through a route, so that the equipment establishes TCP or UDP connection with a target server in a content delivery network (Content Distribution Network, CDN) and performs service data transmission; wherein the service data comprises a video stream or file.
In an exemplary embodiment of the present application, collecting service data transmission quality includes: collecting at least one of the following business data by DPI technology: quintuple, stuck, delay, and throughput; wherein the five-tuple comprises at least one of: protocol type, source IP address, source port IP address, destination IP address, and destination port address.
Step S206, collecting and analyzing the quality of the service data transmission, and generating a quality analysis report according to the quality analysis result, the IP address of the target server for the service data transmission and the domain name corresponding to the IP address.
In an exemplary embodiment of the present application, the cached domain name resolution result IP address list is compared with the IP address of the device sending the domain name resolution request; and under the condition of matching with a plurality of domain names, determining the most recently cached domain name as the domain name corresponding to the domain name resolution request.
The FTTR gateway in the embodiment of the application has the capability of capturing and accurately identifying the domain name resolution result in real time by virtue of the built-in DPI technology. The FTTR gateway not only can buffer domain names and corresponding IP analysis results in real time, but also can intelligently correlate the data with the target IP of the hanging terminal equipment, thereby accurately evaluating the service quality of the hanging terminal equipment. By widely collecting and integrating the reported data from each terminal, the embodiment of the application further realizes the comprehensive evaluation of the service quality of the specific CDN service (namely the designated domain name). The method effectively solves the problem that CDN service quality is not evaluated according to domain name dimension in the related technology, has wide application prospect, and particularly has great potential in the CDN service quality evaluation and monitoring field.
The application environment of the embodiment of the application comprises the following characteristics:
high-speed stabilization: the FTTR optical network has high-speed stable data transmission capability, and can meet the requirements of home users on high-speed internet surfing, high-definition video, online games and other applications.
Full coverage: by deploying a plurality of Wi-Fi access points, wi-Fi full coverage inside a home can be realized, and no matter where a user is at home, the user can easily access the network.
Multi-service bearer: the FTTR optical network supports multi-service bearing, including broadband internet surfing, IPTV, voIP and the like, and a user can select corresponding service according to own requirements.
And (3) intelligent management: the home FTTR gateway has intelligent management capability, can monitor network state and service transmission condition in real time, and can be optimized and adjusted according to the requirement.
From the description of the above embodiments, it will be clear to a person skilled in the art that the method according to the above embodiments may be implemented by means of software plus the necessary general hardware platform, but of course also by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present application may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a storage medium (e.g. ROM/RAM, magnetic disk, optical disk) comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a server, or a network device, etc.) to perform the method according to the embodiments of the present application.
Fig. 3 is a schematic diagram of a FTTR gateway according to an embodiment of the present application, as shown in fig. 3, a FTTR gateway (103) includes a DNS data collection module (1031), a DNS resolution result buffer module (1032), a service data collection and service quality analysis module (1033), and a domain name dimension service quality reporting module (1034), where the FTTR gateway (103) is connected to an on-hook terminal device (105), a DNS system (101), and a CDN system (102), and the domain name dimension service quality reporting module (1034) is connected to a CDN service quality evaluation analysis system (1032).
DNS system (101): DNS is a core service of the internet and serves as a distributed database of domain names and IP addresses that map to each other, enabling people to access the internet more conveniently. The main functions include: resolving domain names (translating web site domain names entered by people to IP addresses), load balancing (distributing access requests to different servers to balance the load), etc.
CDN system (102): the content distribution network is used for enabling the content of the website to be transmitted to the user more quickly and reliably, so that the speed and experience of the user when accessing the website are improved. The system mainly comprises a central server and edge servers, wherein the central server is responsible for storing original content, the edge servers are distributed at the edge of the network and cache the content so as to rapidly provide services for nearby users.
FTTR gateway (103): the FTTR (Fiber To The Room) technology refers to a networking technology for replacing a network cable with an optical fiber, paving the optical fiber to each room, realizing interconnection with a home gateway by deploying an optical networking terminal, combining technologies such as dual-frequency WiFi, wiFi6/7 and the like, and guaranteeing full-house network coverage. The FTTR gateway is a key component of this technology for enabling fiber to room access and full house network coverage.
DNS data acquisition module (1031): the FTTR gateway uses DPI technology to collect data in the processes of inquiring, analyzing and the like of the DNS of the hanging equipment for subsequent analysis or monitoring.
DNS resolution result caching module (1032): and caching the DNS analysis result acquired by the FTTR gateway. Wherein the result of one DNS resolution is a set of resolved IP addresses for one domain name.
Service data acquisition and quality of service analysis module (1033): the FTTR gateway uses DPI technology to collect interaction data between the down-hanging device and the CDN system, and processes and analyzes the interaction data to evaluate the service quality.
DPI technology is used to collect and analyze TCP and UDP transmission quality for packets communicated by the on-hook host to the internet. The technology is not only limited to the traditional five-tuple (source address, source port, destination address, destination port and protocol type) analysis, but also goes deep into an application layer to analyze and identify the content of the data packet.
During the acquisition process, DPI technology can capture data packets over wired or wireless connections and analyze them in detail. The following is a specific explanation of the mentioned quality of service indicators:
Five-tuple: the DPI technology can extract the TCP/UDP protocol type of the packet, and information such as source IP, source port, destination IP, destination port, etc. Such information is critical to identifying the source and destination of the data packet.
Traffic throughput: by measuring the number of packets or bytes passed per unit of time, DPI technology can evaluate the throughput capability of the network.
Packet loss retransmission rate: DPI technology can detect and calculate the proportion of packets lost during transmission and the proportion of packets retransmitted due to the loss. This helps to assess the stability and reliability of the network.
Delay time for data packet transmission: DPI technology can measure the time required for a packet to travel from a sending point to a receiving point, i.e., the transmission delay. This helps identify bottlenecks or congestion in the network.
Transmission delay jitter: transmission delay jitter is the variation of the transmission delay of a data packet. DPI technology can detect and measure such changes to assess the stability and performance of the network.
By comparing 1032 the list of domain name resolution result IP addresses in the cached data of the module with the IP address of the host initiating the DNS resolution request, a corresponding domain name may be obtained (if multiple domain names are matched, the last cached domain name is taken).
Domain name dimension quality of service reporting module (1034): and reporting 1033 module processing results to a CDN service quality evaluation analysis system (104) for further analysis and processing. The reporting field includes: domain name, DNS resolution server IP address, destination IP, wire/wireless, quality of service (throughput, delay, jitter, retransmission, etc.), acquisition time period, FTTR device location (XX city XX area XX street XX cell XX family, this field accuracy is reported under policy allowed scope). The reporting mode can adopt increment, summarization and periodical modes.
CDN quality of service assessment analysis system (104): the CDN service quality evaluation analysis system is used for evaluating the service quality of CDNs, including aspects of content transmission speed, reliability, availability and the like. It may collect various data from the CDN system and use it to evaluate the performance and efficiency of the CDN.
Lower hanging terminal equipment (105): the hanging terminal equipment refers to various devices connected to a network, such as a computer, a mobile phone, a tablet computer and the like. They interact with DNS systems, CDN systems, etc. over a network to obtain the desired services or content.
Fig. 4 is a flowchart of the operation of the DNS data collecting module according to an embodiment of the present application, as shown in fig. 4, including the steps of:
Step 401: and capturing the data packet.
Specifically, a network packet capture library such as libpcap (on a Unix-like system) is used to capture packets flowing through the network interface using DPI technology.
Step 402: and filtering and analyzing the data packet.
Specifically, the UDP packet with the destination port 53 is filtered out. And extracting information such as a Transaction ID, an IP address of a DNS server (a target IP address in a five-tuple), an IP address of a host initiating a DNS resolution request (a source IP in the five-tuple) and the like by using a DNS protocol resolution library (such as c-ares, ldns and the like) or manually resolving the DNS data packet.
Step 403: and (5) cache management.
Specifically, a cache data structure is created to store DNS query request information, using a Transaction ID (Transaction identifier) as an index. A least recently Used (LEAST RECENTLY Used, LRU) or Time To Live (TTL) policy is implemented To manage the size and expiration Time of the cache. This typically involves a hash table to store data and a queue (for LRU) or timer (for TTL) to manage expiration.
Step 404: DNS response processing.
Specifically, when capturing that the source IP address of the UDP packet is the DNS server IP address in the cache data structure created in step 403, the packet is resolved according to the DNS protocol, and the Transaction ID is extracted and compared with the Transaction ID in the cache. If so, the resolution result and associated data (domain name, TTL, domain name resolution result IP address list, DNS server IP address, initiating DNS resolution request host IP address, etc.) are written to a domain name resolution cache module (1032).
It is common practice in the related art to set the FTTR gateway as a DNS proxy for the down-hanging host device by means of dynamic host configuration protocol (Dynamic Host Configuration Protocol, DHCP) so that all DNS requests are captured by the DNS proxy software module. However, about 10% of DNS server addresses of devices on the internet are directly set, for example, public DNS addresses such as 8.8.8.8 and 235.4.4.4, so that DNS communication results cannot be captured. The embodiment of the application can support the scene by collecting and maintaining the DNS interaction Session in the DPI mode.
The cache data record field comprises information such as domain name, domain name resolution result IP address list, acquisition time, domain name TTL, and the IP address of the host initiating the DNS resolution request.
Fig. 5 is a flowchart of steps for a FTTR drop device to access an internet CDN system according to an embodiment of the present application, as shown in fig. 5, where the flowchart includes the steps of:
step S501: DNS resolution and data capture.
Specifically, the method comprises the following steps:
Step S5011: initiating a DNS request; when FTTR down-hanging devices need to access a certain resource on the CDN system, a domain name resolution request is first initiated to the DNS system.
Step S5012: DNS resolution; after receiving the request, the DNS server searches for the corresponding IP address, and returns the result to FTTR on-hook devices.
Step S5013: the DNS data collecting module captures the result of this domain name resolution, and buffers the result in the DNS resolution result buffering module for subsequent quick lookup.
Step S502: business data access and data acquisition.
Specifically, the method comprises the following steps:
Step S5021: establishing a connection; FTTR the down-set device uses the IP address from DNS resolution to establish a network connection, possibly a TCP or UDP connection, with the CDN system.
Step S5022: data transmission; the down-hanging device and the CDN system begin to transmit service data, such as a video stream, file download, and the like.
Step S5023: collecting data; the service data acquisition and service quality analysis module starts to work, and can acquire and analyze service quality indexes in the data transmission process, including quintuple (TCP/UDP, source IP and port, target IP and port), blocking, delay, throughput and the like.
Step S503: domain name query and data reporting.
Step S5031: inquiring a domain name; when the service data acquisition module needs to know which domain name the currently transmitted data corresponds to, the service data acquisition module can search the corresponding domain name by using the target IP address as a query condition in the DNS analysis result buffer module.
Step S5032: data arrangement; the module combines the collected service quality index with the queried domain name to form a complete data report.
Step S5033: reporting data; and the module uniformly reports the sorted data reports to the CDN service quality evaluation analysis system. The system further analyzes and evaluates the reported data to optimize the quality of service and performance of the CDN network.
Fig. 6 is a flowchart of a method of generating a quality analysis report according to still another embodiment of the present application, as shown in fig. 6, the flowchart including the steps of:
Step S601: FTTR the down device initiates a DNS request.
Specifically, the FTTR down-hanging device initiates a domain name resolution request to the DNS server if access to CDN resources is required.
Step S602: the DNS server generates a DNS response.
Specifically, the DNS server returns the IP address to the down-hanging device, and at the same time, the DNS data collecting module captures and caches the analysis result.
Step S603: FTTR the down-hanging device establishes network connection with the CDN system.
Step S604: FTTR the down-hanging device performs data transmission with the CDN system.
Specifically, the service data acquisition and quality of service analysis module begins to work at the same time.
Step S605: and inquiring the domain name corresponding to the target IP in the DNS analysis result caching module.
Step S606: and (5) data arrangement and reporting are carried out.
Specifically, the collected data is combined with the service quality index and reported to the CDN service quality evaluation analysis system.
Embodiments of the present application also provide a computer readable storage medium having a computer program stored therein, wherein the computer program is arranged to perform the steps of any of the method embodiments described above when run.
In one exemplary embodiment, the computer readable storage medium may include, but is not limited to: a usb disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a removable hard disk, a magnetic disk, or an optical disk, or other various media in which a computer program can be stored.
An embodiment of the application also provides an electronic device comprising a memory having stored therein a computer program and a processor arranged to run the computer program to perform the steps of any of the method embodiments described above.
In an exemplary embodiment, the electronic apparatus may further include a transmission device connected to the processor, and an input/output device connected to the processor.
Specific examples in this embodiment may refer to the examples described in the foregoing embodiments and the exemplary implementation, and this embodiment is not described herein.
It will be appreciated by those skilled in the art that the modules or steps of the application described above may be implemented in a general purpose computing device, they may be concentrated on a single computing device, or distributed across a network of computing devices, they may be implemented in program code executable by computing devices, so that they may be stored in a storage device for execution by computing devices, and in some cases, the steps shown or described may be performed in a different order than that shown or described herein, or they may be separately fabricated into individual integrated circuit modules, or multiple modules or steps of them may be fabricated into a single integrated circuit module. Thus, the present application is not limited to any specific combination of hardware and software.
The above description is only of the preferred embodiments of the present application and is not intended to limit the present application, but various modifications and variations can be made to the present application by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the principle of the present application should be included in the protection scope of the present application.

Claims (11)

1. A method for generating a quality analysis report, applied to a fiber-to-room FTTR gateway, comprising:
Forwarding a domain name resolution request sent by equipment connected with the FTTR gateway to a Domain Name System (DNS) server;
caching a domain name resolution result sent by the DNS server and forwarding the domain name resolution result to the device so as to enable the device to perform service data transmission with a target server, wherein the domain name resolution result comprises a domain name requested to be resolved by the device and an Internet Protocol (IP) address of the target server corresponding to the domain name;
And acquiring and analyzing the transmission quality of the service data, and generating a quality analysis report according to a quality analysis result, the IP address of a target server for transmitting the service data and a domain name corresponding to the IP address.
2. The method of claim 1, wherein forwarding the domain name resolution request sent by the device connected to the FTTR gateway to a domain name system DNS server comprises:
Capturing a data packet passing through a network interface of the FTTR gateway through a Deep Packet Inspection (DPI) technology, wherein the data packet is a data packet sent by the equipment and used for indicating a domain name resolution request;
Resolving a first data packet comprising a preset port in the data packet, and acquiring a transaction identifier of the first data packet, a port and an IP address of the DNS server and an IP address of the equipment;
And taking the transaction identifier as an index, storing the analysis result of the first data packet through a data cache structure, and forwarding the first data packet for indicating the domain name analysis request to the DNS server through a route.
3. The method of claim 2, wherein the protocol type of the data packet comprises a transmission control protocol, TCP, or a user datagram protocol, UDP.
4. The method according to claim 2, wherein the caching the domain name resolution result sent by the DNS server includes:
receiving a second data packet sent by a DNS server, and analyzing the second data packet to obtain a transaction identifier of the second data packet;
comparing the transaction identifier of the second data packet with the transaction identifier in the data cache structure;
and under the condition that the comparison results are consistent, storing the analysis results of the second data packet into a domain name analysis cache structure.
5. The method according to claim 1, wherein the caching and forwarding the domain name resolution result sent by the DNS server to the device to enable the device to perform service data transmission with the target server, includes:
caching domain name resolution results sent by the DNS server and forwarding the domain name resolution results to the equipment through a route, so that the equipment establishes TCP or UDP connection with a target server in a content delivery network CDN and performs service data transmission;
Wherein the service data comprises a video stream or file.
6. The method of claim 5, wherein the collecting the quality of service data transmission comprises:
collecting at least one of the following business data by DPI technology: quintuple, stuck, delay, and throughput;
Wherein the five-tuple comprises at least one of: protocol type, source IP address, source port IP address, destination IP address, and destination port address.
7. The method of claim 1, wherein the FTTR gateway comprises a master gateway or a slave gateway.
8. The method according to claim 1, wherein the method further comprises:
Comparing the cached domain name resolution result IP address list with the IP address of the equipment sending the domain name resolution request;
and under the condition of matching with a plurality of domain names, determining the most recently cached domain name as the domain name corresponding to the domain name resolution request.
9. A computer readable storage medium, characterized in that a computer program is stored in the computer readable storage medium, wherein the computer program, when being executed by a processor, implements the steps of the method according to any of the claims 1 to 8.
10. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the steps of the method of any one of claims 1 to 8 when the computer program is executed.
11. A computer program product comprising a computer program, characterized in that the computer program, when executed by a processor, implements the steps of the method as claimed in any one of claims 1 to 8.
CN202411159391.1A 2024-08-22 2024-08-22 Method for generating quality analysis report Pending CN118694677A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411159391.1A CN118694677A (en) 2024-08-22 2024-08-22 Method for generating quality analysis report

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411159391.1A CN118694677A (en) 2024-08-22 2024-08-22 Method for generating quality analysis report

Publications (1)

Publication Number Publication Date
CN118694677A true CN118694677A (en) 2024-09-24

Family

ID=92768106

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411159391.1A Pending CN118694677A (en) 2024-08-22 2024-08-22 Method for generating quality analysis report

Country Status (1)

Country Link
CN (1) CN118694677A (en)

Similar Documents

Publication Publication Date Title
US20190334804A1 (en) Categorizing ip-based network traffic using dns data
Maier et al. On dominant characteristics of residential broadband internet traffic
US9026644B2 (en) Anomaly detection and identification using traffic steering and real-time analytics
EP2518940B1 (en) Automatic network topology detection and modeling
CN102045363B (en) Establishment, identification control method and device for network flow characteristic identification rule
US9204293B2 (en) Apparatuses, methods, and computer program products for data retention and lawful intercept for law enforcement agencies
US11218382B2 (en) Quality of service monitoring method, device, and system
JP5569975B2 (en) Communication quality measuring method and apparatus
EP2001190A2 (en) Measuring method for network performance and system thereof
JP5904908B2 (en) Communication system and quality control server
JP2015511415A (en) Method, device and system for monitoring quality of internet access service of mobile terminal
Fiadino et al. Vivisecting whatsapp in cellular networks: Servers, flows, and quality of experience
US20110141924A1 (en) System and Method for Filtering High Priority Signaling and Data for Fixed and Mobile Networks
WO2012065531A1 (en) Method, device, and system for implementing relay selection
CN105208605B (en) Link information sending method and device and flow control method and device
CN107623752B (en) Network management method and device based on link layer
EP3484102A1 (en) Cloud computing environment system for automatically determining over-the-top applications and services
EP3484101A1 (en) Automatically determining over-the-top applications and services
CN107332744B (en) Routing path selection method and system and user access server
EP2262172A1 (en) Method and scout agent for building a source database
KR101469285B1 (en) System and method for analyzing alternative internet traffic using routing based on policy
CN110545213A (en) Computer network data flow monitoring system and method
CN102075588A (en) Method and system for realizing network address translation (NAT) transversing and equipment
KR101338485B1 (en) Quality of each service management Method and system in total IP network
CN118694677A (en) Method for generating quality analysis report

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination