Network flow monitoring method, device and system

By sending requests to the server cluster, obtaining and analyzing server information, selecting matching target servers, sending test data packets and generating monitoring results, the problem that traditional network speed measurement tools cannot provide network quality and stability information is solved, and accurate monitoring of network performance and optimization strategies are achieved.

CN119996265APending Publication Date: 2025-05-13YUNNAN UNITED POWER DEV CO LTD +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202510354428.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-25
Publication Date
2025-05-13

AI Technical Summary

Technical Problem

Traditional network speed measurement tools cannot provide key information such as network quality and stability, making it difficult for objects to accurately and timely understand their own network performance levels, and then formulate targeted network optimization strategies.

Method used

By responding to the network traffic test instructions input by the object, a server information acquisition request is sent to the server cluster, a server information acquisition request is received and analyzed by the server cluster, including load information and distance information, a target server matching the terminal device, a test data packet is sent, and a test indicator parameters are obtained, and a network traffic monitoring result is generated and displayed.

Benefits of technology

It realizes accurate and timely providing network traffic monitoring information to the object, so that the object can understand the performance level of the network where the terminal device is located, which is conducive to formulating targeted network optimization strategies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119996265A_ABST
    Figure CN119996265A_ABST
Patent Text Reader

Abstract

The invention relates to a network flow monitoring method, device and system. The method comprises the following steps: in response to a received network flow test instruction input by an object, sending a server information acquisition request to a server cluster; receiving at least one group of server information sent by the server cluster; acquiring position information of the terminal equipment, and selecting a target server matched with the terminal equipment from a server cluster according to the position information of the terminal equipment, the load information and the distance information; sending the test data packet to a target server, and obtaining test data sent by the target server; the test data is generated based on the received test data packet; and generating and displaying a network flow monitoring result based on the test data. According to the scheme, network flow monitoring information can be accurately and timely provided for the object.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present disclosure relates to the technical field of network traffic monitoring, and in particular to a network traffic monitoring method, device and system. Background Art

[0002] In today's digital age, network applications have been deeply integrated into people's lives and work. For example, online playback of high-definition videos requires a stable and high-speed network to avoid lag, massively multiplayer online games require a low-latency network environment to ensure smooth operation, and cloud office and cloud storage rely on reliable network connections to achieve efficient data transmission.

[0003] At present, with the rapid increase in the number of network devices, network congestion occurs frequently. Traditional network speed test tools can usually only simply measure the network speed, and cannot provide key information such as network quality and stability. They cannot enable the target to accurately and timely understand the performance level of its own network, and it is even more difficult to formulate targeted network optimization strategies. Summary of the invention

[0004] In order to overcome the problems existing in the related art, the present disclosure provides a network traffic monitoring method, device and system.

[0005] According to a first aspect of an embodiment of the present disclosure, a network traffic monitoring method is provided, comprising:

[0006] In response to receiving a network traffic test indication input by the object, sending a server information acquisition request to the server cluster;

[0007] receiving at least one set of server information sent by a server cluster; each set of server information includes load information and distance information of a server in the server cluster; the distance information is the distance between the server and the terminal device of the object;

[0008] Acquire the terminal device location information of the object, and select a target server matching the terminal device from the server cluster according to the terminal device location information, the load information and the distance information; the server information of the target server matches the terminal device location information;

[0009] Sending a test data packet to the target server, and obtaining a test index parameter sent by the target server; the test index parameter is a test index value generated based on the received test data packet;

[0010] Generate and display network traffic monitoring results based on the test indicator parameters.

[0011] In some embodiments of the present disclosure, selecting a target server matching the terminal device from the server cluster according to the terminal device location information, the load information, and the distance information includes:

[0012] Selecting at least one candidate server from the server cluster whose distance is less than a first preset threshold;

[0013] Displaying the load information and distance information of each of the at least one candidate server and the server selection query information on the display screen of the terminal device;

[0014] In response to receiving a server selection instruction input by the object in response to the server selection query information, a candidate server in the server selection instruction is determined as the target server.

[0015] In some embodiments of the present disclosure, the method further includes:

[0016] In response to the cell network traffic distribution query indication input by the object, a cell network congestion ranking sent by the first server and a traffic heat distribution map of the cell to which the terminal device of the object belongs are obtained; the cell network congestion ranking is obtained by sorting the network congestion index calculated by the first server based on the network congestion index value of each cell; the traffic heat distribution map is generated by the first server based on the network traffic data of each network device in the cell to which the object belongs;

[0017] Display the cell network congestion ranking and the traffic heat distribution map.

[0018] In some embodiments of the present disclosure, the cell network congestion ranking is obtained by the first server performing weighted summation of multiple network congestion indicator values ​​of each cell according to preset weight values ​​to obtain a network congestion index, and sorting the network congestion index of each cell.

[0019] In some embodiments of the present disclosure, the method further includes:

[0020] Obtaining network speed data of the terminal device under different network environments, and uploading the network speed data to a second server;

[0021] In response to receiving a query indication from the object regarding the network speed ranking of terminal devices, the network speed rankings for different mobile phone models are obtained and displayed from the second server; the network speed rankings for different mobile phone models are obtained by the second server classifying the network speed data of all terminal devices received according to the models of the terminal devices, averaging the network speeds of the terminal devices of the same classification within the target time period based on the network speed data, and sorting the average network speeds.

[0022] In some embodiments of the present disclosure, the method further includes:

[0023] In response to receiving a query instruction from the object on regional network speed distribution, obtaining and displaying regional network speed distribution information from a third server; the regional network distribution information is obtained by the third server based on network speed data of each region;

[0024] The regional network speed distribution information includes any one or more of the following:

[0025] Network speed trend chart, average network speed of different network types, network speed distribution heat map.

[0026] According to a second aspect of the present disclosure, there is provided

[0027] A sending unit, configured to send a server information acquisition request to a server cluster in response to receiving a network traffic test indication input by the object;

[0028] A receiving unit, configured to receive at least one set of server information sent by a server cluster; each set of server information includes load information and distance information of a server in the server cluster; the distance information is the distance between the server and the terminal device of the object;

[0029] a selection unit, configured to obtain the terminal device location information of the object, and select a target server matching the terminal device from the server cluster according to the terminal device location information, the load information and the distance information; the server information of the target server matches the terminal device location information;

[0030] An acquisition unit, configured to send a test data packet to the target server and acquire a test index parameter sent by the target server; the test index parameter is a test index value generated based on the received test data packet;

[0031] A display unit is used to generate and display network traffic monitoring results based on the test indicator parameters.

[0032] According to a third aspect of an embodiment of the present disclosure, an electronic device includes: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method described in any one of the first aspects is implemented.

[0033] According to a fourth aspect of an embodiment of the present disclosure, there is provided a computer-readable storage medium on which a computer program is stored. When the computer program is executed by a processor, the method according to any one of the first aspects is implemented.

[0034] According to a fifth aspect of an embodiment of the present disclosure, a computer program product is provided, comprising a computer program, wherein the computer program implements the method as described in any one of the first aspects when executed by a processor.

[0035] The technical solution provided by the embodiments of the present disclosure may include the following beneficial effects: sending a server information acquisition request to a server cluster in response to receiving a network traffic test indication input by an object; receiving at least one set of server information sent by the server cluster; each set of server information includes load information and distance information of a server in the server cluster; obtaining the terminal device location information of the object, and selecting a target server matching the terminal device from the server cluster based on the terminal device location information, load information and distance information; sending a test data packet to the target server to obtain test data sent by the target server; the test data is test data generated based on the received test data packet; generating and displaying network traffic monitoring results based on the test data, thereby being able to accurately and timely provide the object with network traffic monitoring information, enabling the object to understand the performance level of the network where its terminal device is located, which is conducive to the object to specify network optimization strategies in a targeted manner.

[0036] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS

[0037] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.

[0038] Figure 1 The figure is a flow chart of a network traffic monitoring method according to an exemplary embodiment.

[0039] Figure 2 The figure is a block diagram of a network traffic monitoring device according to an exemplary embodiment.

[0040] Figure 3 It is a block diagram of a device for a network traffic monitoring method according to an exemplary embodiment. DETAILED DESCRIPTION

[0041] Exemplary embodiments will be described in detail herein, examples of which are shown in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. Instead, they are merely examples of devices and methods consistent with some aspects of the present invention as detailed in the appended claims.

[0042] The terms used in the disclosed embodiments are only for the purpose of describing specific embodiments, and are not intended to limit the disclosed embodiments. The singular forms "a", "an" and "the" used in the disclosed embodiments and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0043] It should be understood that although the terms first, second, third, etc. may be used to describe various information in the disclosed embodiments, these information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of the disclosed embodiments, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the words "if" and "if" as used herein may be interpreted as "at" or "when" or "in response to determination".

[0044] In addition, various forms of processes shown in the embodiments of the present disclosure may be used to reorder, add or delete steps. For example, the steps described in the present application may be performed in parallel, sequentially or in different orders, as long as the desired results of the technical solution disclosed in the present disclosure can be achieved, and this document does not limit this.

[0045] It should be noted that in the technical solution of the present disclosure, the collection, storage, use, processing, transmission, provision and disclosure of the personal information of the subjects involved are in compliance with the provisions of relevant laws and regulations and do not violate public order and good morals.

[0046] In today's digital age, network applications have been deeply integrated into people's lives and work. For example, high-definition video online playback requires a stable and high-speed network to avoid freezing, large-scale multiplayer online games require a low-latency network environment to ensure smooth operation, and cloud office and cloud storage rely on reliable network connections to achieve efficient data transmission. At present, with the rapid increase in the number of network devices, network congestion occurs frequently. Traditional network speed test tools can usually only simply measure network speed, and cannot provide key information such as network quality and stability, nor can they enable the target to accurately and timely understand the performance level of its own network, and it is even more difficult to formulate targeted network optimization strategies.

[0047] In order to solve the above problems, the present invention provides a network traffic monitoring method, device and system, which sends a server information acquisition request to a server cluster in response to receiving a network traffic test indication input by an object; receives at least one set of server information sent by the server cluster; obtains the terminal device location information of the object, and selects a target server matching the terminal device from the server cluster according to the terminal device location information, load information and distance information; sends a test data packet to the target server to obtain the test data sent by the target server; generates and displays the network traffic monitoring results based on the test data, so as to provide the object with accurate and timely network traffic monitoring information, enable the object to understand the performance level of the network where its terminal device is located, and facilitate the object to specify network optimization strategies in a targeted manner.

[0048] Figure 1 is a flow chart of a network traffic monitoring method according to an exemplary embodiment. Figure 1 As shown, it should be noted that the network traffic monitoring method of the embodiment of the present disclosure is applied to a network traffic monitoring device. Figure 1 As shown, the method may include the following steps:

[0049] Step 101 : in response to receiving a network traffic test instruction input by an object, sending a server information acquisition request to a server cluster.

[0050] It should be noted that in order to improve the efficiency of network traffic testing, servers with short distance and light load can be selected from the server cluster for testing. Therefore, it is necessary to screen the target server based on the server information.

[0051] In one embodiment, the above-mentioned object may be an object.

[0052] In some embodiments, before step 101, an initialization operation may be performed, that is, by calling the device system interface and the network protocol stack, the network access method of the terminal device of the object is identified, and the positioning service is started. The geographical location information of the terminal device is obtained using the GPS chip. If the GPS signal is poor, the positioning is performed by combining the base station information and the IP address resolution technology.

[0053] Step 102: Receive at least one set of server information sent by a server cluster.

[0054] Each set of server information includes load information and distance information of a server in the server cluster; the distance information is the distance between the server and the terminal device of the object.

[0055] In one embodiment, after receiving the server information acquisition request, the server cluster sends at least one set of server information to the terminal device.

[0056] Step 103, obtaining the terminal device location information of the object, and selecting a target server matching the terminal device from the server cluster according to the terminal device location information, load information and distance information.

[0057] Among them, the server information of the target server matches the terminal device location information.

[0058] In one embodiment, in order to improve the efficiency of network traffic monitoring, a server matching the traffic monitoring requirements of the terminal device can be selected from multiple servers in the server cluster as a target server according to the location information of the terminal device. The target server can be selected according to a screening method pre-set according to actual requirements.

[0059] In some embodiments of the present application, step 103 may specifically include the following steps:

[0060] Selecting at least one candidate server from the server cluster whose distance is less than a first preset threshold;

[0061] Displaying load information and distance information of at least one candidate server and server selection query information on a display screen of the terminal device;

[0062] In response to receiving a server selection instruction input by the object in response to the server selection query information, a candidate server in the server selection instruction is determined as a target server.

[0063] In one embodiment, at least one candidate server that is closer to the terminal device may be screened out according to a first preset threshold, thereby narrowing the screening range and improving the screening efficiency.

[0064] In one embodiment, the load information and distance information of the candidate servers may be displayed on a display screen of the terminal device, and server selection query information may be displayed, so that the subject can select a server with a shorter distance and lower load according to the above information.

[0065] In one embodiment, after the terminal device receives the server selection instruction input by the object in response to the server selection query information, the candidate server selected by the object in the server selection instruction is used as the target server.

[0066] Step 104: Send a test data packet to the target server and obtain the test index parameters sent by the target server.

[0067] The test indicator parameter is a test indicator value generated based on the received test data packet.

[0068] In one embodiment, a test data packet may be sent to the target server according to the specification of the TCP / IP protocol.

[0069] As an example, the test data packet may include specific identification information and a check code for accurately calculating the network transmission performance. The target server sends the test index parameters associated with the network transmission performance to the terminal device based on the test data packet.

[0070] Step 105, generating and displaying network traffic monitoring results based on the test indicator parameters.

[0071] In one embodiment, based on the test data packets and test index parameters, the terminal device can record the sending and receiving time of each test data packet, as well as the size of the data packet, and calculate the uplink speed, downlink speed, delay and packet loss rate through formulas. For example, uplink speed = total size of uploaded data packets / total upload time, delay = average round-trip time of data packets. The calculation results (i.e., network traffic monitoring results) are displayed in real time at the corresponding position of the home page interface, providing users with intuitive network performance feedback.

[0072] In some embodiments of the present application, the method may further include:

[0073] In response to the cell network traffic distribution query indication input by the object, the cell network congestion ranking sent by the first server and the traffic heat distribution map of the cell to which the terminal device of the object belongs are obtained; the cell network congestion ranking is obtained by sorting the network congestion index calculated by the first server based on the network congestion index value of each cell; the traffic heat distribution map is generated by the first server based on the network traffic data of each network device in the cell to which it belongs;

[0074] Displays the community network congestion ranking and traffic heat distribution map.

[0075] In one embodiment, the object can input a query indication to the terminal device to query the network traffic distribution of the cell where it is located. The terminal device sends a first query request to the first server based on the cell network traffic distribution query indication. After receiving the first query request, the first server sorts the cells based on the network congestion index calculated based on the network congestion index value of each cell to obtain a cell network congestion ranking. The first server generates a traffic heat distribution map based on the network traffic data of each network device in the cell. The first server sends the cell network congestion ranking and the traffic heat distribution map to the terminal device, and the terminal device displays the cell network congestion ranking and the traffic heat distribution map on a display screen.

[0076] In some embodiments, a data collection terminal may be deployed in the infrastructure of each cell network. The terminal uses network probe technology to connect to network devices in the cell to collect network traffic data in real time.

[0077] It should be noted that the first server may be a pre-selected server for analyzing the distribution of cell network traffic.

[0078] In one embodiment, the ranking of cell network congestion levels is obtained by the first server performing weighted summation of multiple network congestion indicator values ​​of each cell according to preset weight values ​​to obtain a network congestion index, and sorting the network congestion index of each cell.

[0079] As an example, the first server can process based on a pre-configured network congestion index calculation model. The model uses a weighted average method to assign different weights to factors such as network traffic load, device connection ratio, and average response delay, and comprehensively calculates the network congestion index of each cell area. The first server calculates the cell network congestion ranking and updates the traffic heat distribution map at a preset frequency.

[0080] In addition, client software is installed on the mobile devices and fixed devices of the community users. The client software runs in the background and regularly collects network usage data of the devices, such as network connection duration, data transmission volume, etc., and uploads it to the first server in encrypted form.

[0081] In some embodiments of the present application, the method may further include:

[0082] Obtain network speed data of the terminal device under different network environments, and upload the network speed data to the second server;

[0083] In response to receiving a query indication from an object regarding the network speed ranking of terminal devices, the network speed rankings for different mobile phone models are obtained and displayed from a second server; the network speed rankings for different mobile phone models are obtained by the second server classifying the terminal devices according to the models of the terminal devices based on the network speed data received from all the terminal devices, averaging the network speeds of the terminal devices of the same classification within the target time period based on the network speed data, and sorting the average network speeds.

[0084] In one embodiment, the network speed data of the terminal device under different network environments can be stored and uploaded to the second server.

[0085] In addition, the second server can collect network data of each authorized user in different network environments. During the data collection process, the data is timestamped and the location information of the terminal device, network type and other data are recorded. The collected data is regularly uploaded to the second server, which cleans and classifies the data.

[0086] In one embodiment, the second server may group the data according to the terminal device manufacturer and the terminal device model, and use big data analysis tools to calculate the network performance ratio of products of different terminal device manufacturers and the average network speed of each terminal device model.

[0087] For example, the second server can count the total network speed data and the number of occurrences of different mobile phone models within a certain period of time, calculate the average network speed and rank the mobile phone models in descending order according to the average network speed. The ranking results are stored in the database and synchronized to the mobile client. The mobile client displays the proportion of the top 100 mobile phone manufacturers and the ranking of mobile phone models in the form of a list through the interface display module, and provides a network speed comparison chart for user viewing.

[0088] In some embodiments of the present application, the method may further include:

[0089] In response to receiving a query indication from the object on regional network speed distribution, obtaining and displaying regional network speed distribution information from a third server; the regional network distribution information is obtained by the third server based on network speed data of each region;

[0090] The regional network speed distribution information includes any one or more of the following:

[0091] Network speed trend chart, average network speed of different network types, network speed distribution heat map.

[0092] In an embodiment of the present application, the object can input a query indication of the network speed distribution in the area to the terminal device, and the terminal device sends a third query request to the third server based on the above query indication. Based on the third query request, the third server sends a network speed trend chart, the average network speed of different network types, and any one or more regional network speed distribution information in the network speed distribution heat map to the terminal device.

[0093] As an example, the third server can regularly obtain a large amount of network performance data through the data interface. The network performance data may include indicators such as network speed, delay, packet loss rate, etc. in different time periods in different regions. After the data is acquired, data cleaning and denoising are first performed to remove abnormal data. A ranking algorithm based on a comprehensive evaluation of multiple indicators is used to rank the network speed performance of each region, determine the weights of indicators such as network speed and stability, and comprehensively calculate and rank the network performance scores of each region.

[0094] In one embodiment, the ranking results are displayed in two ways: a list and a map. The list form lists the ranking and average network speed of each region in detail, and the map form marks each region with different colors according to the network speed range, so that users can intuitively understand the network status of each region. In addition, a data interface can be provided for enterprises to support data download and analysis.

[0095] As an example of a possible implementation method, for a specific area, the network speed data of different base stations and different network frequency bands in the area can be obtained. At the same time, the network speed data of other types of networks such as the education network and the Great Wall Broadband are collected using professional network monitoring equipment deployed in the area. After the collected data is aggregated to the server, the data is sorted and analyzed. Through data mining technology, the average network speed of different network types is calculated, and a network speed trend chart is generated. In the system interface, the average network speed of different network types is displayed in a table, and the table contains fields such as network type and average network speed. At the same time, a network speed trend chart is displayed, with the horizontal axis being time and the vertical axis being network speed, so that users can clearly understand the changes in network speed. In addition, a sharing function can be set, and users can share detailed information about the network speed in their area.

[0096] According to the network traffic monitoring method proposed in the embodiment of the present disclosure, in response to receiving a network traffic test indication input by an object, a server information acquisition request is sent to a server cluster; at least one group of server information sent by the server cluster is received; each group of server information includes load information and distance information of a server in the server cluster; the terminal device location information of the object is obtained, and according to the terminal device location information, load information and distance information, a target server matching the terminal device is selected from the server cluster; a test data packet is sent to the target server to obtain test data sent by the target server; the test data is test data generated based on the received test data packet; network traffic monitoring results are generated and displayed based on the test data, so that network traffic monitoring information can be provided to the object accurately and timely, so that the object can understand the performance level of the network where its terminal device is located, which is conducive to the object to specify network optimization strategies in a targeted manner.

[0097] Figure 2 is a block diagram of a network traffic monitoring device according to an exemplary embodiment. Figure 2 The device includes a sending unit 201, a receiving unit 202, a selecting unit 203, an acquiring unit 204 and a display unit 205.

[0098] The sending unit 201 is used to send a server information acquisition request to the server cluster in response to receiving a network traffic test instruction input by the object;

[0099] The receiving unit 202 is used to receive at least one set of server information sent by the server cluster; each set of server information includes load information and distance information of a server in the server cluster; the distance information is the distance between the server and the terminal device of the object;

[0100] The selection unit 203 is used to obtain the terminal device location information of the object, and select a target server matching the terminal device from the server cluster according to the terminal device location information, load information and distance information; the server information of the target server matches the terminal device location information;

[0101] The acquisition unit 204 is used to send a test data packet to the target server and acquire a test index parameter sent by the target server; the test index parameter is a test index value generated based on the received test data packet;

[0102] The display unit 205 is used to generate and display the network traffic monitoring results based on the test indicator parameters.

[0103] In some embodiments of the present application, the selection unit 203 may be specifically used to:

[0104] Selecting at least one candidate server from the server cluster whose distance is less than a first preset threshold;

[0105] Displaying load information and distance information of at least one candidate server and server selection query information on a display screen of the terminal device;

[0106] In response to receiving a server selection instruction input by the object in response to the server selection query information, a candidate server in the server selection instruction is determined as a target server.

[0107] In some embodiments of the present application, the device may further include:

[0108] The acquisition unit is further used to obtain, in response to the cell network traffic distribution query indication input by the object, the cell network congestion ranking sent by the first server and the traffic heat distribution map of the cell to which the terminal device of the object belongs; the cell network congestion ranking is obtained by sorting the network congestion index calculated by the first server based on the network congestion index value of each cell; the traffic heat distribution map is generated by the first server based on the network traffic data of each network device in the cell to which it belongs;

[0109] The display unit is also used to display the community network congestion ranking and traffic heat distribution map.

[0110] In some embodiments of the present application, the ranking of cell network congestion levels is obtained by the first server performing weighted summation of multiple network congestion indicator values ​​of each cell according to preset weight values ​​to obtain a network congestion index, and sorting the network congestion index of each cell.

[0111] In some embodiments of the present application, the device may further include:

[0112] The acquisition unit is further used to acquire network speed data of the terminal device under different network environments, and upload the network speed data to the second server;

[0113] The display unit is also used to obtain and display the network speed rankings for different mobile phone models from the second server in response to receiving a query indication from the object regarding the network speed rankings of terminal devices; the network speed rankings for different mobile phone models are obtained by the second server classifying the terminal devices according to the models of the terminal devices based on the network speed data of all the terminal devices received, averaging the network speeds of the terminal devices of the same classification within the target time period based on the network speed data, and sorting the average network speeds.

[0114] In some embodiments of the present application, the device may further include:

[0115] The display unit is further used to obtain and display regional network speed distribution information from a third server in response to receiving a query instruction from the object on regional network speed distribution; the regional network distribution information is obtained by the third server based on network speed data of each region;

[0116] The regional network speed distribution information includes any one or more of the following:

[0117] Network speed trend chart, average network speed of different network types, network speed distribution heat map.

[0118] Regarding the network traffic monitoring device in the above embodiment, the specific manner in which each module performs operations has been described in detail in the embodiment of the method, and will not be elaborated here.

[0119] According to the network traffic monitoring device proposed in the embodiment of the present disclosure, in response to receiving a network traffic test indication input by an object, a server information acquisition request is sent to a server cluster; at least one group of server information sent by the server cluster is received; each group of server information includes load information and distance information of a server in the server cluster; the terminal device location information of the object is obtained, and according to the terminal device location information, load information and distance information, a target server matching the terminal device is selected from the server cluster; a test data packet is sent to the target server to obtain test data sent by the target server; the test data is test data generated based on the received test data packet; network traffic monitoring results are generated and displayed based on the test data, so that network traffic monitoring information can be provided to the object accurately and timely, so that the object can understand the performance level of the network where its terminal device is located, which is conducive to the object to specify network optimization strategies in a targeted manner.

[0120] Figure 33 is a block diagram of a device for a network traffic monitoring method according to an exemplary embodiment. For example, the device 300 may be an electronic device, such as a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, etc.

[0121] Reference Figure 3 , the device 300 may include one or more of the following components: a processing component 302 , a memory 304 , a power component 306 , a multimedia component 308 , an audio component 310 , an input / output (I / O) interface 312 , a sensor component 314 , and a communication component 316 .

[0122] The processing component 302 generally controls the overall operation of the device 300, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 302 may include one or more processors 320 to execute instructions to complete all or part of the steps of the above-mentioned method. In addition, the processing component 302 may include one or more modules to facilitate the interaction between the processing component 302 and other components. For example, the processing component 302 may include a multimedia module to facilitate the interaction between the multimedia component 308 and the processing component 302.

[0123] The memory 304 is configured to store various types of data to support operations on the device 300. Examples of such data include instructions for any application or method operating on the device 300, contact data, phone book data, messages, pictures, videos, etc. The memory 304 can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic disk or optical disk.

[0124] The power component 306 provides power to the various components of the device 300. The power component 306 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power for the device 300.

[0125] The multimedia component 308 includes a screen that provides an output interface between the device 300 and the object. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the object. The touch panel includes one or more touch sensors to sense touch, slide, and gestures on the touch panel. The touch sensor may not only sense the boundaries of the touch or slide action, but also detect the duration and pressure associated with the touch or slide operation. In some embodiments, the multimedia component 308 includes a front camera and / or a rear camera. When the device 300 is in an operating mode, such as a shooting mode or a video mode, the front camera and / or the rear camera may receive external multimedia data. Each front camera and rear camera may be a fixed optical lens system or have a focal length and optical zoom capability.

[0126] The audio component 310 is configured to output and / or input audio signals. For example, the audio component 310 includes a microphone (MIC), and when the device 300 is in an operating mode, such as a call mode, a recording mode, and a speech recognition mode, the microphone is configured to receive an external audio signal. The received audio signal can be further stored in the memory 304 or sent via the communication component 316. In some embodiments, the audio component 310 also includes a speaker for outputting audio signals.

[0127] I / O interface 312 provides an interface between processing component 302 and peripheral interface modules, such as keyboards, click wheels, buttons, etc. These buttons may include but are not limited to: a home button, a volume button, a start button, and a lock button.

[0128] The sensor assembly 314 includes one or more sensors for providing various aspects of status assessment for the device 300. For example, the sensor assembly 314 can detect the open / closed state of the device 300, the relative positioning of components, such as the display and keypad of the device 300, and the sensor assembly 314 can also detect the position change of the device 300 or a component of the device 300, the presence or absence of contact between the object and the device 300, the orientation or acceleration / deceleration of the device 300, and the temperature change of the device 300. The sensor assembly 314 may include a proximity sensor configured to detect the presence of a nearby object without any physical contact. The sensor assembly 314 may also include an optical sensor, such as a CMOS or CCD image sensor, for use in imaging applications. In some embodiments, the sensor assembly 314 may also include an accelerometer, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.

[0129] The communication component 316 is configured to facilitate wired or wireless communication between the device 300 and other devices. The device 300 can access a wireless network based on a communication standard, such as WiFi, 2G or 3G, or a combination thereof. In an exemplary embodiment, the communication component 316 receives a broadcast signal or broadcast-related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communication component 316 also includes a near field communication (NFC) module to facilitate short-range communication. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.

[0130] In an exemplary embodiment, the apparatus 300 may be implemented by one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable gate arrays (FPGAs), controllers, microcontrollers, microprocessors or other electronic components to perform the above method.

[0131] In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions is also provided, such as a memory 304 including instructions, and the instructions can be executed by the processor 320 of the device 300 to perform the above method. For example, the non-transitory computer-readable storage medium can be a ROM, a random access memory (RAM), a CD-ROM, a magnetic tape, a floppy disk, an optical data storage device, etc.

[0132] In an exemplary embodiment, a computer program product is also provided, comprising a computer program, which implements the above method when executed by the processor 320 of the device 300 .

[0133] Those skilled in the art will readily appreciate other embodiments of the present invention after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present invention that follow the general principles of the present invention and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are to be considered exemplary only, and the true scope and spirit of the present invention are indicated by the following claims.

[0134] It should be understood that the present invention is not limited to the exact construction that has been described above and shown in the drawings and that various modifications and changes may be made without departing from the scope thereof. The scope of the present invention is limited only by the appended claims.

Claims

1. A network traffic monitoring method, characterized in that: include: In response to receiving a network traffic test indication input by the object, sending a server information acquisition request to the server cluster; receiving at least one set of server information sent by a server cluster; each set of server information includes load information and distance information of a server in the server cluster; the distance information is the distance between the server and the terminal device of the object; Acquire the terminal device location information of the object, and select a target server matching the terminal device from the server cluster according to the terminal device location information, the load information and the distance information; the server information of the target server matches the terminal device location information; Sending a test data packet to the target server, and obtaining a test index parameter sent by the target server; the test index parameter is a test index value generated based on the received test data packet; Generate and display network traffic monitoring results based on the test indicator parameters.

2. The network traffic monitoring method according to claim 1, characterized in that: Selecting a target server matching the terminal device from the server cluster according to the terminal device location information, the load information, and the distance information includes: Selecting at least one candidate server from the server cluster whose distance is less than a first preset threshold; Displaying the load information and distance information of each of the at least one candidate server and the server selection query information on the display screen of the terminal device; In response to receiving a server selection instruction input by the object in response to the server selection query information, a candidate server in the server selection instruction is determined as the target server.

3. The network traffic monitoring method according to claim 1, characterized in that: Also includes: In response to a cell network traffic distribution query indication input by the object, obtaining a cell network congestion ranking sent by the first server and a traffic heat distribution map of the cell to which the terminal device of the object belongs; The cell network congestion ranking is obtained by sorting the network congestion index calculated by the first server based on the network congestion index value of each cell; The traffic heat distribution map is generated by the first server based on the network traffic data of each network device in the cell; Display the cell network congestion ranking and the traffic heat distribution map.

4. The network traffic monitoring method according to claim 3, characterized in that: The cell network congestion ranking is obtained by the first server performing weighted summation on multiple network congestion indicator values ​​of each cell according to preset weight values ​​to obtain a network congestion index, and sorting the network congestion index of each cell.

5. The network traffic monitoring method according to claim 1, characterized in that: Also includes: Obtaining network speed data of the terminal device under different network environments, and uploading the network speed data to a second server; In response to receiving a query indication from the object regarding the network speed ranking of terminal devices, the network speed rankings for different mobile phone models are obtained and displayed from the second server; the network speed rankings for different mobile phone models are obtained by the second server classifying the network speed data of all terminal devices received according to the models of the terminal devices, averaging the network speeds of the terminal devices of the same classification within the target time period based on the network speed data, and sorting the average network speeds.

6. The network traffic monitoring method according to claim 1, characterized in that: Also includes: In response to receiving a query indication from the object on regional network speed distribution, acquiring and displaying regional network speed distribution information from a third server; The regional network distribution information is obtained by the third server based on the network speed data of each region; The regional network speed distribution information includes any one or more of the following: Network speed trend chart, average network speed of different network types, network speed distribution heat map.

7. A network traffic monitoring device, characterized in that: include: A sending unit, configured to send a server information acquisition request to a server cluster in response to receiving a network traffic test indication input by the object; A receiving unit, configured to receive at least one set of server information sent by a server cluster; each set of server information includes load information and distance information of a server in the server cluster; the distance information is the distance between the server and the terminal device of the object; a selection unit, configured to obtain the terminal device location information of the object, and select a target server matching the terminal device from the server cluster according to the terminal device location information, the load information and the distance information; the server information of the target server matches the terminal device location information; An acquisition unit, used to send a test data packet to the target server and acquire a test index parameter sent by the target server; The test indicator parameter is a test indicator value generated based on the received test data packet; A display unit is used to generate and display network traffic monitoring results based on the test indicator parameters.

8. An electronic device, characterized in that: include: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the computer program, the method according to any one of claims 1 to 6 is implemented.

9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method according to any one of claims 1 to 6 is implemented.

10. A computer program product, comprising a computer program, characterized in that The computer program implements the method according to any one of claims 1 to 6 when executed by a processor.