Network quality monitoring report generation method, device, electronic equipment and medium
By using a distributed search engine and user indexes in the generation of network quality monitoring reports, the problem of low and low accuracy of network quality monitoring reports in existing technologies has been solved, and efficient and accurate report generation and query are achieved.
Patent Information
- Application Number
- CN202211672263.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-12-23
- Publication Date
- 2025-01-28
- Estimated Expiration
- 2042-12-23
AI Technical Summary
In the prior art, there are problems of low efficiency and low accuracy in generating network quality monitoring reports.
The distributed search engine creates different user indexes based on user information in the detection task, and uses indexes such as the average domain name analysis delay and the average TCP delay of the average domain name data in the network quality data in the aggregate group statistics to generate network quality monitoring reports.
Improve the efficiency and accuracy of the report, allow users to quickly and accurately query the corresponding information in the report.
Smart Images

Figure CN116016240B_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the field of Internet technology, and in particular to a method, device, electronic device and medium for generating a network quality monitoring report. Background Art
[0002] With the rapid development of the Internet, the requirements for network quality are getting higher and higher. All parties need an efficient and comprehensive report to provide a comprehensive description of network quality, assist them in network transformation, provide fast and accurate transformation suggestions, and optimize the shortcomings of the network. In the process of realizing the concept of the present invention, the inventor found that the prior art lacks an efficient and accurate method for generating a network quality monitoring report. Summary of the invention
[0003] In view of this, the main purpose of the present disclosure is to provide a network quality monitoring report generation method, device, electronic device and medium, aiming to partially solve the technical problems of low efficiency and low accuracy in generating network quality monitoring reports in the prior art.
[0004] To achieve the above-mentioned purpose, the first aspect of the present disclosure provides a method for generating a network quality monitoring report, which is implemented based on a distributed search engine, including: receiving network quality data, wherein the network quality data is acquired by distributed detection nodes in response to detection tasks; creating different user indexes for different detection tasks, wherein the user index is used by different users to query the network quality data; determining the time span and domain name set of the network quality monitoring report, and calculating the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and domain name set in the network quality data based on aggregated grouping statistics; sending the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate to a template engine to generate a network quality monitoring report.
[0005] According to an embodiment of the present disclosure, the distributed search engine adopts an ElasticSearch search server.
[0006] According to an embodiment of the present disclosure, a detection task includes a user ID, a detection domain name, a detection type, and a detection period; creating different user indexes for different detection tasks includes: creating different user indexes according to the user ID.
[0007] According to an embodiment of the present disclosure, the detection task adopts a lightweight data exchange format.
[0008] According to an embodiment of the present disclosure, the template engine adopts the FreeMarker template engine; generating a network quality monitoring report includes: calling the FreeMarker template engine to pre-edit the report format; using the language tag of the FreeMarker template engine, according to the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed and average connection establishment success rate, to generate a network quality monitoring report in a pre-edited report format.
[0009] According to an embodiment of the present disclosure, generating a network quality monitoring report also includes: obtaining the remaining information associated with the network quality monitoring report from a relational database; integrating the associated remaining information with the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate to generate a network quality monitoring report.
[0010] According to an embodiment of the present disclosure, the detection task is created based on the web application server, and the detection node adopts a probe server.
[0011] The second aspect of the present disclosure provides a network quality monitoring report generation device, including: a creation module, used to create a detection task; a detection node, used to respond to the detection task to detect network quality data; a distributed search engine, used to receive network quality data, determine the time span and domain name set of the network quality monitoring report, and calculate the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and domain name set in the aggregated group statistics network quality data; and create different user indexes for different detection tasks, wherein the user index is used for different users to query the network quality data; a generation module, used to send the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate to a template engine to generate a network quality monitoring report.
[0012] A third aspect of the present disclosure provides an electronic device, comprising: one or more processors; a storage device for storing one or more programs, wherein when the one or more programs are executed by the one or more processors, the one or more processors execute the method described above.
[0013] A fourth aspect of the present disclosure provides a computer-readable storage medium, on which executable instructions are stored. When the instructions are executed by a processor, the processor executes the method described above.
[0014] A fifth aspect of the present disclosure provides a computer program product, including a computer program, which implements the above-described method when executed by a processor.
[0015] The network quality monitoring report generation method, device, electronic device and medium provided by the embodiments of the present disclosure have at least the following beneficial effects:
[0016] The distributed search engine is used to statistically analyze the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and domain name set in the network quality data detected by the detection node, which can quickly and accurately obtain relevant information, thereby improving the efficiency and accuracy of report generation. In addition, based on the distributed search engine, different user indexes can be quickly created based on the user information in the detection task, so that later users can quickly and accurately query the corresponding information in the report. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the embodiments of the present disclosure or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present disclosure. For ordinary technicians in this field, other drawings can be obtained based on the structures shown in these drawings without paying any creative work.
[0018] Figure 1 The system architecture 100 of the network quality monitoring report generation method and device according to the embodiment of the present disclosure is schematically shown;
[0019] Figure 2 The flowchart of the method for generating a network quality monitoring report according to an embodiment of the present disclosure is schematically shown;
[0020] Figure 3 A block diagram schematically shows a network quality monitoring report generating device according to an embodiment of the present disclosure;
[0021] Figure 4 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. DETAILED DESCRIPTION
[0022] Hereinafter, embodiments of the present disclosure will be described with reference to the accompanying drawings. However, it should be understood that these descriptions are exemplary only and are not intended to limit the scope of the present disclosure. In the following detailed description, for ease of explanation, many specific details are set forth to provide a comprehensive understanding of the embodiments of the present disclosure. However, it is apparent that one or more embodiments may also be implemented without these specific details. In addition, in the following description, descriptions of known structures and technologies are omitted to avoid unnecessary confusion of the concepts of the present disclosure.
[0023] The terms used herein are only for describing specific embodiments and are not intended to limit the present disclosure. The terms "comprise", "include", etc. used herein indicate the existence of the features, steps, operations and / or components, but do not exclude the existence or addition of one or more other features, steps, operations or components.
[0024] All terms (including technical and scientific terms) used herein have the meanings commonly understood by those skilled in the art, unless otherwise defined. It should be noted that the terms used herein should be interpreted as having a meaning consistent with the context of this specification, and should not be interpreted in an idealized or overly rigid manner.
[0025] In the case of using expressions such as "at least one of A, B, and C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, and C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.). In the case of using expressions such as "at least one of A, B, or C, etc.", it should generally be interpreted in accordance with the meaning of the expression generally understood by those skilled in the art (for example, "a system having at least one of A, B, or C" should include but is not limited to a system having A alone, B alone, C alone, A and B, A and C, B and C, and / or A, B, C, etc.).
[0026] Some block diagrams and / or flow charts are shown in the accompanying drawings. It should be understood that some boxes or combinations thereof in the block diagrams and / or flow charts 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, or other programmable data processing device, so that these instructions can create a device for implementing the functions / operations described in these block diagrams and / or flow charts when executed by the processor. The technology of the present disclosure can be implemented in the form of hardware and / or software (including firmware, microcode, etc.). In addition, the technology of the present disclosure can take the form of a computer program product on a computer-readable storage medium storing instructions, which can be used by an instruction execution system or used in conjunction with an instruction execution system.
[0027] In the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision, disclosure and application of user personal information involved comply with the provisions of relevant laws and regulations, take necessary confidentiality measures, and do not violate public order and good morals.
[0028] In the technical solution of the present disclosure, the user's authorization or consent is obtained before obtaining or collecting the user's personal information.
[0029] In response to the technical problems existing in the related technology, an embodiment of the present disclosure provides a method for generating a network quality monitoring report, which is implemented based on a distributed search engine, including: receiving network quality data, wherein the network quality data is acquired by distributed detection nodes in response to detection tasks; creating different user indexes for different detection tasks, wherein the user index is used for different users to query the network quality data; determining the time span and domain name set of the network quality monitoring report, and calculating the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and domain name set in the network quality data based on aggregated grouping statistics; sending the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate to a template engine to generate a network quality monitoring report.
[0030] Figure 1 The system architecture 100 of the network quality monitoring report generation method and device according to the embodiment of the present disclosure is schematically shown. It should be noted that: Figure 1 What is shown is merely an example of a system architecture to which the embodiments of the present disclosure can be applied, in order to help those skilled in the art understand the technical content of the present disclosure, but it does not mean that the embodiments of the present disclosure cannot be used in other devices, systems, environments or scenarios.
[0031] like Figure 1 As shown, the system architecture 100 according to this embodiment may include a detection node 101, a network 102 and a server 103. The network 102 is used to provide a communication link between the detection node 101 and the server 103.
[0032] The detection node 101 may be, for example, a probe server or other server with data detection function. The network 102 may include various connection types, such as wired, wireless communication links or optical fiber cables, etc. The wired mode may be, for example, a cable and any of the following interfaces: optical fiber channel, infrared interface, D-type data interface, serial interface, USB interface, USB Type-C interface or Dock interface, and the wireless mode may be, for example, a wireless communication mode, wherein the wireless communication may be, for example, any of multiple wireless technology standards such as Bluetooth, Wi-Fi, Infrared, ZigBee, etc. The server 103 obtains the detection node 101 responding to the detection task through the network 102 to detect the network quality data, and based on the aggregated group statistics, the information corresponding to the time span and the domain name set in the network quality data is generated to generate a network quality monitoring report.
[0033] It should be noted that the network quality monitoring report generation method provided in the embodiment of the present disclosure can be executed by the server 103. Accordingly, the network quality monitoring report generation device provided in the embodiment of the present disclosure can be set in the server 103. Alternatively, the network quality monitoring report generation method provided in the embodiment of the present disclosure can also be performed by a server or server cluster that is different from the server 103 and can communicate with the detection node 101 and / or the server 103. Correspondingly, the network quality monitoring report generation device provided in the embodiment of the present disclosure can also be set in a server or server cluster that is different from the server 103 and can communicate with the detection node 101 and / or the network quality monitoring report platform 103. Alternatively, the network quality monitoring report generation method provided in the embodiment of the present disclosure can also be partially executed by the server 103 and partially executed by the detection node 101. Correspondingly, the network quality monitoring report generation device provided in the embodiment of the present disclosure can also be partially set in the server 103 and partially set in the detection node 101.
[0034] It should be understood that Figure 1 The number of detection nodes, networks and servers in the embodiment is only for illustration. Any number of detection nodes, networks and servers may be provided according to the implementation requirements.
[0035] Figure 2 The flowchart of the method for generating a network quality monitoring report according to an embodiment of the present disclosure is schematically shown.
[0036] like Figure 2 As shown, the network quality monitoring report generation method is implemented based on a distributed search engine, and may include operations S201 to S204, for example.
[0037] In operation S201, network quality data is received. The network quality data is acquired by distributed detection nodes in response to detection tasks.
[0038] In the disclosed embodiment, a user can create a detection task through a web application server and distribute the detection task to each distributed detection node. The distributed detection node detects the network to obtain network quality data, and then sends the detected network quality data to the distributed search engine.
[0039] The detection task may include, for example, a user ID, a detection domain name, a detection type, and a detection period, and the corresponding specific field formats are shown in Table 1:
[0040] Table 1
[0041]
[0042]
[0043] The detection believes that a lightweight data exchange format (json string) can be used to send data from the web application server to the underlying distributed detection node. The detection node can use a probe server.
[0044] The specific field format corresponding to the distributed detection node is shown in Table 2:
[0045] Table 2
[0046] Field Name Field Type Field Description moe_id character Organization ID, indicating which user it belongs to node_name character Node Name domain character Node domain name DNS character Using array, multiple DNS can be used
[0047] In the disclosed embodiment, the distributed search engine can adopt the ElasticSearch search server. Elasticsearch is a distributed, highly scalable, and highly real-time search and data analysis engine. It can easily enable large amounts of data to have the ability to search, analyze, and explore. Taking full advantage of the horizontal scalability of Elasticsearch can make data more valuable in a production environment. The implementation principle of Elasticsearch is mainly divided into the following steps. First, the user submits the data to the Elasticsearch database, and then the corresponding sentence is segmented through the word segmentation controller, and its weight and word segmentation results are stored in the data together. When the user searches for data, the results are ranked and scored according to the weight, and then the returned results are presented to the user.
[0048] In operation S202, different user indexes are created for different detection tasks, wherein the user indexes are used for different users to query the network quality data.
[0049] In the embodiment of the present disclosure, Elasticsearch can create different user indexes according to the user information (owner_id and monitor_type) in the detection task to ensure that each user uses a different index, which not only improves the query speed but also facilitates subsequent operations on the information of a single user.
[0050] In operation S203, determine the time span and domain name set of the network quality monitoring report, and calculate the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and domain name set in the aggregated group statistics network quality data.
[0051] In the present disclosure, in an embodiment, a user customizes a network quality monitoring report template, determines the time span and domain name set of the report, and uses ElasticSearch's aggregate grouping query to obtain statistics on the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, average connection establishment success rate and other information within a given monitoring time period.
[0052] In operation S204, the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed and average connection establishment success rate are sent to the template engine to generate a network quality monitoring report.
[0053] In the embodiment of the present disclosure, the template engine may adopt a FreeMarker template engine, and the report format may be pre-edited by calling the FreeMarker template engine;
[0054] Using the FreeMarker Template Language (FTL) of the FreeMarker template engine, a network quality monitoring report in a pre-edited report format is generated based on user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate. The report can contain text, pictures, tables, etc., to intuitively and detailedly display network quality data.
[0055] Furthermore, the remaining information associated with the network quality monitoring report can also be obtained from the relational database. The associated remaining information is integrated with the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate to generate a network quality monitoring report.
[0056] In summary, the network quality monitoring report generation method provided by the embodiment of the present disclosure uses a distributed search engine to statistically detect the time span in the network quality data detected by the detection node and the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the domain name set, which can quickly and accurately obtain relevant information, thereby improving the efficiency and accuracy of report generation. In addition, based on the distributed search engine, different user indexes can be quickly created based on the user information in the detection task, so that later users can quickly and accurately query the corresponding information in the report.
[0057] Figure 3 A block diagram of a network quality monitoring report generating device according to an embodiment of the present disclosure is schematically shown.
[0058] like Figure 3 As shown, the network quality monitoring report generating device 300 may include a creating module 310 , a detecting node 320 , a distributed search engine 330 and a generating module 340 .
[0059] The creation module 310 is used to create a detection task. The creation module 310 may adopt a web application server.
[0060] The detection node is used to respond to the detection task to detect network quality data. The detection node 320 can be a probe server.
[0061] The distributed search engine 330 is used to receive network quality data, determine the time span and domain name set of the network quality monitoring report, and calculate the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and domain name set in the aggregated grouping statistics network quality data; and create different user indexes for different detection tasks, wherein the user index is used for different users to query the network quality data.
[0062] The generation module 340 is used to generate a network quality monitoring report based on the user index, average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed and average connection establishment success rate, and send it to the template engine. The generation module 340 can use the FreeMarker template engine.
[0063] The network quality monitoring report generating device 300 may further include a relational database 350 for storing remaining information associated with the network quality monitoring report.
[0064] According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits, or at least part of the functions of any one of them can be implemented in one module. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be split into multiple modules for implementation. According to the embodiments of the present invention, any one or more of the modules, submodules, units, and subunits can be at least partially implemented as hardware circuits, such as field programmable gate arrays (FPGAs), programmable logic arrays (PLAs), systems on chips, systems on substrates, systems on packages, application specific integrated circuits (ASICs), or can be implemented by hardware or firmware in any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation methods of software, hardware, and firmware, or in any appropriate combination of any of them. Alternatively, according to the embodiments of the present invention, one or more of the modules, submodules, units, and subunits can be at least partially implemented as computer program modules, and when the computer program modules are run, the corresponding functions can be performed.
[0065] For example, any multiple of the creation module 310, the detection node 320, the distributed search engine 330, the generation module 340 and the relational database 350 can be combined in one module / unit / subunit for implementation, or any one of the modules / units / subunits can be split into multiple modules / units / subunits. Alternatively, at least part of the functions of one or more of these modules / units / subunits can be combined with at least part of the functions of other modules / units / subunits and implemented in one module / unit / subunit. According to an embodiment of the present disclosure, at least one of the creation module 310, the detection node 320, the distributed search engine 330, the generation module 340 and the relational database 350 can be at least partially implemented as a hardware circuit, such as a field programmable gate array (FPGA), a programmable logic array (PLA), a system on a chip, a system on a substrate, a system on a package, an application specific integrated circuit (ASIC), or can be implemented by hardware or firmware such as any other reasonable way of integrating or packaging the circuit, or implemented in any one of the three implementation modes of software, hardware and firmware or in a suitable combination of any of them. Alternatively, at least one of the creation module 310, the detection node 320, the distributed search engine 330, the generation module 340 and the relationship database 350 may be at least partially implemented as a computer program module, which may perform corresponding functions when executed.
[0066] It should be noted that the network quality monitoring report generating device part in the embodiment of the present disclosure corresponds to the network quality monitoring report generating method part in the embodiment of the present disclosure, and their specific implementation details and the technical effects brought about are also the same, which will not be repeated here.
[0067] Figure 4 A block diagram of an electronic device suitable for implementing the method described above according to an embodiment of the present disclosure is schematically shown. Figure 4 The electronic device shown is only an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0068] like Figure 4 As shown, the electronic device 400 according to an embodiment of the present disclosure includes a processor 401, which can perform various appropriate actions and processes according to a program stored in a read-only memory (ROM) 402 or a program loaded from a storage part 408 into a random access memory (RAM) 403. The processor 401 may include, for example, a general-purpose microprocessor (e.g., a CPU), an instruction set processor and / or a related chipset and / or a special-purpose microprocessor (e.g., an application-specific integrated circuit (ASIC)), etc. The processor 401 may also include an onboard memory for caching purposes. The processor 401 may include a single processing unit or multiple processing units for performing different actions of the method flow according to an embodiment of the present disclosure.
[0069] In RAM 403, various programs and data required for the operation of electronic device 400 are stored. Processor 401, ROM 402 and RAM 403 are connected to each other via bus 404. Processor 401 performs various operations of the method flow according to the embodiment of the present disclosure by executing the program in ROM 402 and / or RAM 403. It should be noted that the program can also be stored in one or more memories other than ROM 402 and RAM 403. Processor 401 can also perform various operations of the method flow according to the embodiment of the present disclosure by executing the program stored in the one or more memories.
[0070] According to an embodiment of the present disclosure, the electronic device 400 may further include an input / output (I / O) interface 405, which is also connected to the bus 404. The electronic device 400 may further include one or more of the following components connected to the I / O interface 405: an input portion 406 including a keyboard, a mouse, etc.; an output portion 407 including a cathode ray tube (CRT), a liquid crystal display (LCD), etc., and a speaker, etc.; a storage portion 408 including a hard disk, etc.; and a communication portion 409 including a network interface card such as a LAN card, a modem, etc. The communication portion 409 performs communication processing via a network such as the Internet. A drive 410 is also connected to the I / O interface 405 as needed. A removable medium 411, such as a magnetic disk, an optical disk, a magneto-optical disk, a semiconductor memory, etc., is installed on the drive 410 as needed, so that a computer program read therefrom is installed into the storage portion 408 as needed.
[0071] According to an embodiment of the present disclosure, the method flow according to an embodiment of the present disclosure can be implemented as a computer software program. For example, an embodiment of the present disclosure includes a computer program product, which includes a computer program carried on a computer-readable storage medium, and the computer program includes a program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from the network through the communication part 409, and / or installed from the removable medium 411. When the computer program is executed by the processor 401, the above-mentioned functions defined in the system of the embodiment of the present disclosure are executed. According to an embodiment of the present disclosure, the system, equipment, device, module, unit, etc. described above can be implemented by a computer program module.
[0072] The present disclosure also provides a computer-readable storage medium, which may be included in the device / apparatus / system described in the above embodiments; or may exist independently without being assembled into the device / apparatus / system. The above computer-readable storage medium carries one or more programs, and when the above one or more programs are executed, the method according to the embodiment of the present disclosure is implemented.
[0073] According to an embodiment of the present disclosure, the computer-readable storage medium may be a non-volatile computer-readable storage medium. For example, it may include, but is not limited to: a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In the present disclosure, a computer-readable storage medium may be any tangible medium containing or storing a program that may be used by or in combination with an instruction execution system, apparatus, or device.
[0074] For example, according to an embodiment of the present disclosure, the computer-readable storage medium may include the ROM 402 and / or the RAM 403 described above and / or one or more memories other than the ROM 402 and the RAM 403 .
[0075] The flowcharts and block diagrams in the accompanying drawings illustrate the possible architecture, functions and operations of the systems, methods and computer program products according to various embodiments of the present disclosure. In this regard, each box in the flowchart or block diagram may represent a module, a program segment, or a part of a code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box may also occur in an order different from that marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart, can be implemented with a dedicated hardware-based system that performs the specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions. It can be understood by those skilled in the art that the features recorded in the various embodiments and / or claims of the present disclosure can be combined and / or combined in a variety of ways, even if such a combination or combination is not explicitly recorded in the present disclosure. In particular, without departing from the spirit and teaching of the present disclosure, the features described in the various embodiments and / or claims of the present disclosure may be combined and / or combined in a variety of ways. All of these combinations and / or combinations fall within the scope of the present disclosure.
Claims
1. A method for generating a network quality monitoring report, characterized in that: The network quality monitoring report generation method is implemented based on a distributed search engine and includes: Receiving network quality data, wherein the network quality data is acquired by distributed detection nodes in response to detection tasks; Creating different user indexes for different detection tasks, wherein the user indexes are used by different users to query the network quality data; Determine the time span and domain name set of the network quality monitoring report, and calculate the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and the domain name set in the network quality data based on aggregated grouping statistics; The user index, the average domain name resolution delay, the average TCP establishment delay, the average first packet delay, the average home page loading time, the average download speed and the average connection establishment success rate are sent to the template engine to generate the network quality monitoring report.
2. The network quality monitoring report generation method according to claim 1, characterized in that: The distributed search engine uses an ElasticSearch search server.
3. The method for generating a network quality monitoring report according to claim 1, characterized in that: The detection task includes user ID, detection domain name, detection type, and detection period; The creating different user indexes for different detection tasks includes: creating different user indexes according to the user ID.
4. The method for generating a network quality monitoring report according to claim 1, characterized in that: The detection task uses a lightweight data exchange format.
5. The method for generating a network quality monitoring report according to claim 1, characterized in that: The template engine adopts the FreeMarker template engine; the generating of the network quality monitoring report includes: Calling the FreeMarker template engine to pre-edit the report format; Using the language tags of the FreeMarker template engine, a network quality monitoring report in a pre-edited report format is generated according to the user index, the average domain name resolution delay, the average TCP establishment delay, the average first packet delay, the average home page loading time, the average download speed and the average connection establishment success rate.
6. The method for generating a network quality monitoring report according to claim 1, characterized in that: The generating of the network quality monitoring report further comprises: Acquire the remaining information associated with the network quality monitoring report from the relational database; The associated remaining information is integrated with the user index, the average domain name resolution delay, the average TCP establishment delay, the average first packet delay, the average home page loading time, the average download speed, and the average connection establishment success rate to generate the network quality monitoring report.
7. The method for generating a network quality monitoring report according to claim 1, characterized in that: The detection task is created based on a web application server, and the detection node adopts a probe server.
8. A network quality monitoring report generating device, characterized in that: include: Create a module to create a detection task; A detection node, used to respond to a detection task to detect network quality data; A distributed search engine, used to receive network quality data, determine the time span and domain name set of the network quality monitoring report, and calculate the average domain name resolution delay, average TCP establishment delay, average first packet delay, average home page loading time, average download speed, and average connection establishment success rate corresponding to the time span and the domain name set in the network quality data based on aggregated grouping statistics; and creating different user indexes for different detection tasks, wherein the user indexes are used by different users to query the network quality data; A generation module is used to send the network quality monitoring report to the template engine based on the user index, the average domain name resolution delay, the average TCP establishment delay, the average first packet delay, the average home page loading time, the average download speed and the average connection establishment success rate to generate the network quality monitoring report.
9. An electronic device, characterized in that: include: one or more processors; a storage device for storing one or more programs, When the one or more programs are executed by the one or more processors, the one or more processors are enabled to execute the method according to any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores executable instructions, which, when executed by a processor, enable the processor to perform the method according to any one of claims 1 to 7.
Citation Information
Patent Citations
Database query and retrieval method and device and electronic equipment
CN111382226A
Method and system for measuring quality of global cloud network
CN112583654A