Network quality measurement method, apparatus, device, and storage medium
By periodically acquiring the location and network quality information of mobile terminals through a server and using a sub-region list for correlation, the problem of the inability to correlate mobile terminal network quality and location information is solved, enabling rapid measurement and optimization of network quality.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-10
- Publication Date
- 2026-03-20
AI Technical Summary
In existing technologies, network quality measurement results of mobile wireless terminals cannot be correlated with location information, which increases the difficulty of network quality troubleshooting.
The server periodically acquires the location and network quality information of multiple terminals within the target area. By using the sub-area list, location information list, and network quality information list, the network quality information corresponding to each sub-area is determined, thus realizing the correlation between location and network quality.
It reduces the difficulty of network quality measurement and troubleshooting in mobile terminal application scenarios and improves the efficiency of network quality measurement and optimization.
Smart Images

Figure CN115942242B_ABST
Abstract
Description
TECHNICAL FIELD
[0001] The present application relates to the technical field of network communication, in particular to a network quality measurement method and device, equipment and storage medium. BACKGROUND
[0002] With the continuous development of communication technology, network is more and more common in people's life, how to improve the quality of service of network has become a problem of people's concern.
[0003] In order to optimize the wireless network, the management personnel will first detect the signal quality at each position in the network when the network is deployed, so as to carry out subsequent network optimization.
[0004] However, the network measurement result of the mobile wireless terminal does not include the position information, therefore, how to realize the network quality measurement of the application scene of the mobile wireless terminal becomes a problem to be solved. SUMMARY
[0005] The present application aims at the deficiency in the prior art, and provides a network quality measurement method, device, equipment and storage medium, so as to solve the problem that the network quality of the mobile terminal and the position information cannot be associated in the prior art.
[0006] To achieve the above purpose, the technical scheme adopted by the present application is as follows:
[0007] In a first aspect, the present application provides a network quality measurement method applied to a server, comprising:
[0008] acquiring position information of a plurality of terminals in a target area according to a first period, and acquiring network quality information of the plurality of terminals in the target area according to a second period, wherein the target area comprises a plurality of sub-areas;
[0009] According to the sub-area list of the target area, the position information and the network quality information, a position information list of a plurality of terminals in the target area in a target time period is acquired, and a network quality information list of a plurality of terminals in the target area in the target time period is acquired;
[0010] According to the sub-area list, the position information list and the network quality information list, the network quality information corresponding to each sub-area in the target area is determined.
[0011] Optionally, before the acquiring of the position information list of a plurality of terminals in the target area in the target time period according to the sub-area list of the target area, the position information and the network quality information, the method further comprises:
[0012] modeling the target region to obtain coordinate information of the target region;
[0013] segmenting the target region according to the coordinate information of the target region to obtain a plurality of sub-regions and coordinate information of each of the sub-regions;
[0014] generating a sub-region list of the target region according to each of the sub-regions and the coordinate information of each of the sub-regions.
[0015] Optionally, the determining of the network quality information corresponding to each of the sub-regions in the target region according to the sub-region list, the position information list and the network quality information list comprises:
[0016] determining position information of each of the network quality information according to the position information list and the network quality information list in the target time period;
[0017] determining the network quality information corresponding to each of the sub-regions in the target region according to the position information of each of the network quality information and the sub-region list.
[0018] Optionally, the determining of the position information of each of the network quality information according to the position information list and the network quality information list in the target time period comprises:
[0019] sorting the position information list and the network quality information list in the target time period according to time stamps to obtain a network quality position list;
[0020] determining position information corresponding to network quality information at a first time according to the network quality information at the first time, position information at a second time and position information at a third time in the network quality position list, the first time being any time in the target time period except the start time and the end time, the second time being a time preceding the first time, and the third time being a time succeeding the first time.
[0021] Optionally, the determining of the network quality information corresponding to each of the sub-regions in the target region according to the position information of each of the network quality information and the sub-region list comprises:
[0022] determining an influence sub-region of each of the position information according to the position information of each of the network quality information, and respectively taking each of the network quality information as network quality information corresponding to each of the influence sub-regions;
[0023] According to each of the influence sub-regions and the sub-region list, at least one coincident sub-region of each of the influence sub-regions and the target sub-region is determined, and network quality information of each of the influence sub-regions is assigned to the corresponding coincident sub-region of each of the influence sub-regions.
[0024] According to each of the coincident sub-regions of the target sub-region, network quality information of the target sub-region is determined.
[0025] Optionally, the determining of the at least one coincident sub-region of each of the influence sub-regions and the target sub-region according to the influence sub-regions and the sub-region list comprises:
[0026] At least one influence sub-region that is coincident with the target sub-region in coordinates is screened from each of the influence sub-regions, and a coincident region of each of the influence sub-regions and the target sub-region is determined, and the coincident region is taken as the coincident sub-region.
[0027] Optionally, after the determining of the network quality information corresponding to each sub-region in the target region according to the sub-region list, the position information list and the network quality information list, the method further comprises:
[0028] If the sub-region corresponds to multiple network quality information, then final network quality corresponding to the sub-region is calculated according to the multiple network quality information and a preset algorithm.
[0029] In a second aspect, the present application provides a network quality measurement device, the device comprising:
[0030] A positioning module is configured to acquire position information of multiple terminals in a target region according to a first period.
[0031] A network quality measurement module is configured to acquire network quality information of the multiple terminals in the target region according to a second period, and the target region comprises multiple sub-regions.
[0032] A network quality statistical module is configured to acquire a position information list of the multiple terminals in a target time period in the target region according to a sub-region list of the target region, the position information and the network quality information, and acquire a network quality information list of the multiple terminals in the target time period in the target region.
[0033] The network quality statistical module is further configured to determine network quality information corresponding to each sub-region in the target region according to the sub-region list, the position information list and the network quality information list.
[0034] Optionally, the network quality statistical module is specifically configured to:
[0035] determining location information of each network quality information according to the list of location information and the list of network quality information in the target time period;
[0036] determining network quality information corresponding to each sub-region in the target region according to the location information of each network quality information and the list of sub-regions.
[0037] Optionally, the network quality statistics module is further configured to:
[0038] sorting the list of location information and the list of network quality information according to time stamps to obtain a list of network quality and location information;
[0039] determining location information corresponding to network quality information at a first time according to network quality information at the first time, location information at a second time and location information at a third time in the list of network quality and location information, the first time being any time in the target time period except the start time and the end time, the second time being a time before the first time, and the third time being a time after the first time.
[0040] Optionally, the network quality statistics module is further configured to:
[0041] determining influence sub-regions of each location information according to the location information of each network quality information, and taking each network quality information as network quality information corresponding to each influence sub-region;
[0042] determining at least one coincident sub-region of each influence sub-region and a target sub-region according to each influence sub-region and the list of sub-regions, and assigning network quality information of each influence sub-region to the coincident sub-region corresponding to each influence sub-region;
[0043] determining network quality information of the target sub-region according to each coincident sub-region of the target sub-region.
[0044] Optionally, the network quality statistics module is further configured to:
[0045] screening at least one influence sub-region coinciding with the target sub-region coordinates from each influence sub-region, determining a coincident region of each influence sub-region and the target sub-region, and taking the coincident region as the coincident sub-region.
[0046] In a third aspect, the present application provides an electronic device, comprising a processor, a storage medium and a bus, the storage medium storing machine readable instructions executable by the processor, when the electronic device is running, the processor and the storage medium communicate through the bus, the processor executes the machine readable instructions to perform the steps of the network quality measurement method as described above.
[0047] In a fourth aspect, the present application provides a computer readable storage medium, the computer readable storage medium storing a computer program, when the computer program is run by a processor, the steps of the network quality measurement method as described above are performed.
[0048] The present application has the following beneficial effects:
[0049] By associating the network quality information and the location information of each mobile terminal in the target area, the network quality information of each sub-area is obtained, so that the management personnel can quickly determine the signal poor points in each sub-area, and the network optimization of the sub-area with poor network quality is performed. The method of the present application reduces the difficulty of network quality measurement and troubleshooting in the mobile terminal application scenario, and improves the efficiency of network quality measurement and network optimization. BRIEF DESCRIPTION OF DRAWINGS
[0050] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following will briefly introduce the drawings needed to be used in the embodiments. It should be understood that the following drawings only show some embodiments of the present application, and therefore should not be regarded as a limitation on the scope. For those skilled in the art, other related drawings can also be obtained without creative labor on the basis of these drawings.
[0051] Figure 1 A schematic diagram of an application scenario provided by an embodiment of the present application is shown;
[0052] Figure 2 A flowchart of a network quality measurement method provided by an embodiment of the present application is shown;
[0053] Figure 3 A flowchart of determining a sub-area list provided by an embodiment of the present application is shown;
[0054] Figure 4 A flowchart of another network quality measurement method provided by an embodiment of the present application is shown;
[0055] Figure 5 A flowchart of determining sub-area network quality information provided by an embodiment of the present application is shown;
[0056] Figure 6 A flowchart of determining location information provided by an embodiment of the present application is shown;
[0057] Figure 7 Fig. 2 shows a flowchart of another method for determining sub-area network quality information according to an embodiment of the present application;
[0058] Figure 8 Fig. 3 shows a schematic diagram of an affected sub-area according to an embodiment of the present application;
[0059] Figure 9 Fig. 4 shows a schematic diagram of a coinciding sub-area according to an embodiment of the present application;
[0060] Figure 10 Fig. 5 shows a schematic diagram of a network quality measurement device according to an embodiment of the present application;
[0061] Figure 11 Fig. 6 shows a schematic diagram of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION
[0062] In order to make the objectives, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be described clearly and completely below with reference to the drawings in the embodiments of the present application. It should be understood that the drawings in the present application only serve the purpose of description and illustration, and are not used to limit the scope of protection of the present application. In addition, it should be understood that the schematic drawings are not drawn according to the actual proportions. The flowchart shows the operations implemented according to some embodiments of the present application. It should be understood that the operations of the flowchart can not be implemented in sequence, and the steps without logical context relationship can be reversed in sequence or implemented simultaneously. In addition, one or more other operations can be added to the flowchart or removed from the flowchart by those skilled in the art under the guidance of the content of the present application.
[0063] In addition, the described embodiments are only some of the embodiments of the present application, not all the embodiments. The components of the embodiments of the present application described and shown in the drawings herein can be arranged and designed in various different configurations. Therefore, the following detailed description of the embodiments of the present application provided in the drawings is not intended to limit the scope of the claimed present application, but only represents selected embodiments of the present application. Based on the embodiments of the present application, all other embodiments obtained by those skilled in the art without creative labor are within the scope of protection of the present application.
[0064] It should be noted that the term "comprising" will be used in the embodiments of the present application to indicate the presence of the features declared thereafter, but does not exclude the addition of other features.
[0065] When optimizing network quality, it is often necessary to first obtain network quality information within the area. Currently, for network quality measurement of mobile terminals, it is impossible to correlate the network quality measurement results with the location information of the mobile terminals. This makes it impossible for managers to locate the location with poor network quality, thus increasing the difficulty of network quality troubleshooting in mobile terminal application scenarios.
[0066] To address the aforementioned problems, this application proposes a network quality measurement method, the execution entity of which may be, for example, a server. Figure 1 The image shows an application scenario for measuring network quality in a production area within an industrial context, as presented in this application.
[0067] Reference Figure 1 There are multiple mobile terminals in the production area. The location of these mobile terminals in the production area may change at any time. The server can obtain data such as sub-area data of the production area, location of each mobile terminal in the production area, and network quality. By associating the location and network quality, the network quality measurement results of the production area can be obtained and displayed visually on the terminal devices. This allows managers to optimize the network quality in the production area based on the results.
[0068] like Figure 2 The diagram shown is a flowchart of a network quality measurement method proposed in this application. The method includes:
[0069] S201: Obtain the location information of multiple terminals within the target area according to the first cycle, and obtain the network quality information of multiple terminals within the target area according to the second cycle. The target area includes multiple sub-areas.
[0070] Optionally, the target area can be an area where network quality measurements are required, for example... Figure 1 The production area shown.
[0071] Optionally, the location information can represent the location of the terminal, and the location information can include the identifier of the corresponding terminal so that the server can distinguish the location information of different terminals.
[0072] Optionally, network quality information can be data that characterizes the network communication quality of a terminal, such as packet loss information, latency information, or jitter information of the terminal. The network quality information can also include the identifier of the corresponding terminal so that the server can distinguish the network quality information of different terminals.
[0073] Optionally, the server can periodically obtain the location information of multiple terminals within the target area. For example, the server can create a process or use a positioning module to periodically send location acquisition requests to all terminals within the target area. In response to the location acquisition request, the terminal can send its real-time location information to the server.
[0074] It should be noted that the server can only acquire the location information once for the terminal fixedly located in the target area.
[0075] For example, for different sizes of production areas, the positioning method can also be base station positioning, satellite positioning, Bluetooth positioning, ultra-wideband wireless positioning, WI-FI positioning, etc.
[0076] Optionally, the server can periodically send a network quality acquisition request to all terminals in the target area through a creation process or through a network quality measurement module. In response to the network quality acquisition request, the terminal can send real-time network quality information to the server.
[0077] It should be noted that the first period and the second period can be the same period or different periods, which is not limited in the present application.
[0078] S202: According to the sub-area list of the target area, the location information, and the network quality information, a list of location information of a plurality of terminals in the target area in a target time period is acquired, and a list of network quality information of a plurality of terminals in the target area in the target time period is acquired.
[0079] Optionally, the list of location information can include location information of all terminals in the target area acquired by the server in the target time period.
[0080] Optionally, the list of network quality information can include network quality information of all terminals in the target area acquired by the server in the target time period.
[0081] Optionally, the server can arrange the plurality of sub-areas of the target area according to coordinates to form a sub-area list, and determine the list of location information and the list of network quality information of the plurality of terminals in the target time period.
[0082] S203: According to the sub-area list, the list of location information, and the list of network quality information, the network quality information corresponding to each sub-area in the target area is determined.
[0083] Optionally, the location information in the list of location information can be the location information of the point where the mobile terminal is located, and the network quality information in the list of network quality information can also be the network quality information of the point where the mobile terminal is located. According to the location information and the network quality information of the point where the mobile terminal is located, and the sub-area list, the network quality information corresponding to each sub-area can be determined.
[0084] In the embodiment of the present application, the server acquires the position information and network quality information of the plurality of terminals in the target area, and determines the network quality information corresponding to each sub-area according to the sub-area list and the position information list and the network quality information list in the target time period. The present application can associate the network quality information and the position information in the target area, and obtain the network quality information of each sub-area, so that the management personnel can perform network optimization on the sub-area according to the network quality information of each sub-area, thereby reducing the difficulty of network quality troubleshooting, and improving the efficiency of network quality measurement and network optimization.
[0085] Next, the steps before the step of acquiring the position information list of the plurality of terminals in the target time period in the target area according to the sub-area list of the target area, the position information and the network quality information will be described. Figure 3 As shown in the above S202, the above S202 further includes:
[0086] S301: modeling the target area to obtain the coordinate information of the target area.
[0087] Optionally, before the network quality measurement and the position acquisition, the server can first model the target area, record the boundary of the target area through the established model, and establish a coordinate system for the target area to obtain the coordinate information of the target area.
[0088] S302: segmenting the target area according to the coordinate information of the target area to obtain a plurality of sub-areas and the coordinate information of each sub-area.
[0089] Optionally, the coordinate information of each sub-area can be a coordinate range representing the position of each sub-area in the target area.
[0090] For example, the management personnel can create a process in the server, divide the target area into a plurality of sub-areas of equal size according to the coordinate information of the target area, and record the coordinate values of the boundary of each sub-area.
[0091] S303: generating a sub-area list of the target area according to each sub-area and the coordinate information of each sub-area.
[0092] Optionally, the server can combine each sub-area and the coordinate information of each sub-area into a sub-area list of the target area.
[0093] Next, the network quality measurement method of the present application will be further described. Figure 4
[0094] For example, as shown in the above S201, the server can acquire the position information and the network quality information of the plurality of terminals in the target area. Figure 4 As shown, the server 401 can include a drawing module, a positioning module, a network quality measurement module, and a network quality statistics module, and each module can exist in the server 401 in the form of a process created by the server.
[0095] The drawing module can divide the target area to obtain a plurality of sub-regions of the target area. For example, the production area can be divided into a plurality of sub-regions according to a certain size (such as 0.1 square meters), and the coordinate information of the production area is recorded. When the network quality statistics module needs to obtain a sub-region from the drawing module, the drawing module can combine the sub-region and its coordinate information into a sub-region list and send it to the network quality statistics module.
[0096] Optionally, the drawing module can also color according to the network quality information of each sub-region. For example, the sub-regions without network quality information can be marked with a special color.
[0097] The positioning module can periodically locate a plurality of terminals in the target area to obtain position information of the plurality of terminals. When the network quality statistics module needs to obtain the position information from the positioning module, the positioning module can combine the position information of the terminals into a position information list and send it to the network quality statistics module. For a terminal with a fixed position, the positioning module can return the position according to the mark and no longer dynamically measure it.
[0098] The network quality measurement module can periodically measure the network quality of a plurality of terminals in the target area to obtain network quality information of the plurality of terminals. When the network quality statistics module needs to obtain the network quality information from the network quality measurement module, the network quality measurement module can combine the network quality information of the terminals into a network quality information list and send it to the network quality statistics module.
[0099] The network quality statistics module can determine the network quality of each sub-region according to the obtained sub-region list, position information list, and network quality information list, and display it on the drawing module.
[0100] Next, the step of determining the network quality information corresponding to each sub-region in the target area according to the sub-region list, the position information list, and the network quality information list will be described. Figure 5 As shown, the above S203 step includes:
[0101] S501: According to the position information list and the network quality information list in the target time period, determine the position information of each network quality information.
[0102] It should be noted that, since the position information and the network quality information cannot be completely synchronized, there may be a time when the position information of terminal A exists, but the network quality information of terminal A does not exist at that time. Therefore, the server can first determine the position information corresponding to each network quality information according to the position information list and the network quality information list in the target time period.
[0103] Optionally, the server can filter the position information list and the network quality information list in the same time period from the position information and the network quality information obtained in the foregoing S201 step according to the time period.
[0104] S502: Determine the network quality information corresponding to each sub-region in the target region according to the position information of each network quality information and the sub-region list.
[0105] Optionally, after determining the position information of each network quality information, the server can also determine the sub-region affected by the network quality information according to the position information, so as to determine the network quality information corresponding to each sub-region in the target region.
[0106] Next, the step of determining the position information of each network quality information according to the position information list and the network quality information list in the target time period will be described. Figure 6 As shown in the foregoing S501 step, the foregoing S501 step includes:
[0107] S601: Sort the position information list and the network quality information list in the target time period according to the time stamp to obtain a network quality position list.
[0108] Optionally, the server can sort the position information and the network quality information in the same time period according to the time stamp to obtain a network quality position list.
[0109] It should be noted that the position information list and the network quality information list can include the position information and the network quality information of multiple terminals. The position information and the network quality information belonging to the same terminal can be sorted according to the time stamp according to the terminal identifier in the position information and the network quality information to obtain a network quality position list of each terminal.
[0110] For example, the network quality position list of terminal A can be as shown in Table 1.
[0111] Table 1: Example of network quality position list
[0112] Location information Network quality information Time information Location locA Measurement result 1 T1 / Measurement result 2 T2 Location locB Measurement result 3 T3
[0113] In the second row, it indicates that the network quality information of terminal A is at location locA at T1. In the third row, “ / ” indicates that only the network quality information exists at T2, and no position information exists.
[0114] S602: determining the position information corresponding to the network quality information at the first time according to the network quality information of the terminal at the first time, the position information at the second time and the position information at the third time in the network quality position list, the first time being any time except the start time and the end time in the target time period, the second time being the time before the first time, and the third time being the time after the first time.
[0115] For example, referring to Table 1, the T2 time only includes the network quality information, and no position information. The position information at the T2 time can be determined by fitting calculation according to the position information at the T1 time before the T2 time and the position information at the T3 time after the T2 time. The calculation manner can be shown in the following formula (1):
[0116] (loc-locA) / (locB-locA)=(T2-T1) / (T3-T1) (1)
[0117] Wherein, loc represents the position information at the T2 time.
[0118] In the embodiment of the present application, the obtained position information and network quality information can be associated by the time information, so as to determine the position information corresponding to each network quality information, and reduce the difficulty of signal difference point positioning and troubleshooting in network optimization.
[0119] Next, the step of determining the network quality information corresponding to each sub-region in the target region according to the position information of each network quality information and the sub-region list will be described. Figure 7 As shown in the above S502 step, the step includes:
[0120] S701: determining the influence sub-region of each position information according to the position information of the network quality information, and taking each network quality information as the network quality information corresponding to each influence sub-region.
[0121] Optionally, the influence sub-region can be a region in a preset range centered on the position information. The preset range can be set by the administrator according to the accuracy of network measurement.
[0122] For example, referring to Figure 8 , assuming that the position information of the network quality measurement result 1 of the terminal A is locA, the range covered by a circle with the locA as the center and the measurement accuracy as the radius can be determined as the influence sub-region of the network quality measurement result 1. The network quality measurement result 1 of the terminal A can be the network quality information of the influence sub-region.
[0123] S702: According to each influence sub-area and the sub-area list, determine at least one coincident sub-area of each influence sub-area and the target sub-area, and assign the network quality information of each influence sub-area to the corresponding coincident sub-area of each influence sub-area.
[0124] Optionally, the target sub-area can be any sub-area in the sub-area list.
[0125] As a possible implementation, when the coverage of the target sub-area is much smaller than the coverage of the influence sub-area, the target sub-area can be contained in the influence sub-area, at this time, the target sub-area can be directly used as a coincident sub-area, and the network quality information of the influence sub-area can be obtained.
[0126] As another possible implementation, when the coverage of the target sub-area is similar to the coverage of the influence sub-area, the influence sub-area can be partially coincident with the target sub-area, as shown in Figure 9 The coincident part of the influence sub-area 901 and the target sub-area 902 is the coincident sub-area 903, at this time, one target sub-area can be coincident with multiple influence sub-areas, and correspondingly, one target sub-area can include multiple coincident sub-areas.
[0127] Optionally, continuing to refer to Figure 9 The network quality information of all points in the coincident sub-area can be the same as the network quality information of the influence sub-area 901.
[0128] S703: According to each coincident sub-area of the target sub-area, determine the network quality information of the target sub-area.
[0129] As a possible implementation, assuming that the target sub-area only includes one coincident sub-area, the network quality information of the coincident sub-area can be directly determined as the network quality information of the target sub-area.
[0130] As another possible implementation, the target sub-area can include multiple coincident sub-areas, and accordingly can include multiple network quality information, and the network quality information of the target sub-area can be determined according to the multiple network quality information.
[0131] It should be noted that the position information and the corresponding network quality information determined in the foregoing steps are the position information and the network quality information of one terminal, and therefore it should be understood that the network quality information of the target sub-area determined by the above S701-S703 steps is also the network quality information of one terminal in the sub-area, and the above S701-S703 steps are performed on the position information and the network quality information of all terminals in the target area, and the network quality information of each terminal in each sub-area in the target area can be obtained.
[0132] In the embodiment of the present application, the network quality information of each sub-region is determined by statistical induction of the network quality information and the location information, so as to realize the fusion of location positioning and network quality, and in combination with the mapping software, the network quality status of each network in the production area can be clearly displayed, so that the management personnel can perform network troubleshooting according to the network quality information of each sub-region, thereby improving the efficiency of network management and optimization.
[0133] Next, the step of determining at least one overlapping sub-region of each influence sub-region and the target sub-region according to the influence sub-region list and the sub-region list is described, and the S702 step includes:
[0134] At least one influence sub-region that is coordinate-overlapped with the target sub-region is screened from the influence sub-regions, and the overlapping region of each influence sub-region and the target sub-region is determined, and the overlapping region is taken as the overlapping sub-region.
[0135] Optionally, the coordinate information of each sub-region can be included in the sub-region list, and according to the coordinate information, at least one influence sub-region that has an intersection with the coordinate range of the target sub-region can be screened and determined, and the overlapping region of each influence sub-region and the target sub-region is taken as the overlapping sub-region.
[0136] The following is a description of the steps after determining the network quality information corresponding to each sub-region in the target region according to the sub-region list, the location information list and the network quality information list, and the S203 step further includes:
[0137] If the sub-region corresponds to multiple network quality information, the final network quality corresponding to the sub-region is calculated according to the multiple network quality information and a preset algorithm.
[0138] Optionally, the network quality information of the target sub-region determined by the S701-S703 steps can be the network quality information of a terminal in the sub-region, and if multiple terminals arrive at the same location and generate measurement results within a period of time, the sub-region where the location is located can correspond to multiple network quality information, at this time, the multiple network quality information of the sub-region can be sorted and processed, and the best 5% and the worst 5% are excluded, and then the data is evaluated for difference, and the data difference evaluation can be obtained by calculating the variance and the standard deviation, if the difference of the multiple network quality information is within a preset threshold, the average value of the multiple sub-regions can be determined as the network quality information of the sub-region, if the difference exceeds the preset threshold, it indicates that there is a certain signal interference source near the sub-region, at this time, the sub-region can be marked, for example, a special network quality result is assigned, so as to instruct the mapping module to mark the sub-region.
[0139] It should be noted that the network quality information can include information of multiple dimensions, for example, can include packet loss information, jitter information, delay information, etc. The administrator can perform weighted processing on the network quality information of multiple dimensions of the sub-area according to the scene, so as to determine the final network quality corresponding to the sub-area, for example, giving a corresponding weight to each dimension, and then averaging to obtain the final network quality corresponding to the sub-area.
[0140] For example, if the scene particularly focuses on the delay, the weight of the delay can be increased, and the final network quality is obtained by weighted average calculation of the packet loss information, the jitter information, the delay information, etc. Further, if only the delay is concerned, the delay can be given a weight of 100%, and the other dimensions except the delay can be given a weight of 0.
[0141] The following is a further description of the network quality measurement method of the present application in implementation.
[0142] When performing network optimization, the administrator can first perform measurement by using the network quality measurement method of the present application to obtain the initial network quality information of the target area, and then perform network troubleshooting and optimization on the signal difference points in the target area according to the initial network quality information of the target area. After the troubleshooting is completed, the method of the present application can be used again to perform measurement to obtain the network quality information of the optimized target area.
[0143] Optionally, the server can also compare the overall network quality according to the initial network quality information of the target area and the network quality information of the optimized target area.
[0144] As a possible implementation, the network quality information of the multiple sub-areas can be averaged, and the average value is taken as the network quality information of the target area.
[0145] As another possible implementation, different sub-areas can be weighted, a higher weight is given to the key sub-area, and the network quality information of each sub-area is weighted to obtain the network quality information of the target area.
[0146] Based on the same inventive concept, the present application also provides a network quality measurement device corresponding to the network quality measurement method. Since the principle of solving the problem of the device in the present application is similar to the network quality measurement method of the present application, the implementation of the device can be referred to the implementation of the method, and the repeated parts will not be described here.
[0147] Referring to Figure 10 Fig. 1 shows a schematic diagram of a network quality measurement device provided by an embodiment of the present application. The device comprises a positioning module 1001, a network quality measurement module 1002, and a network quality statistics module 1003.
[0148] obtain position information of a plurality of terminals in a target area according to a first period, and obtain network quality information of the plurality of terminals in the target area according to a second period, the target area comprising a plurality of sub-areas;
[0149] The network quality measurement module 1002 is configured to: acquire a position information list of a plurality of terminals in a target time period in a target area, and acquire a network quality information list of the plurality of terminals in the target time period in the target area, according to a sub-area list of the target area, the position information, and the network quality information;
[0150] The network quality statistics module 1003 is configured to: determine network quality information corresponding to each sub-area in the target area according to the sub-area list, the position information list, and the network quality information list.
[0151] Optionally, the network quality statistics module 1003 is specifically configured to:
[0152] determine position information of each network quality information according to the position information list and the network quality information list in the target time period;
[0153] determine network quality information corresponding to each sub-area in the target area according to the position information of each network quality information and the sub-area list.
[0154] Optionally, the network quality statistics module 1003 is further specifically configured to:
[0155] sort the position information list and the network quality information list in the target time period according to a time stamp to obtain a network quality position list;
[0156] determine position information corresponding to network quality information at a first time according to network quality information at the first time, position information at a second time, and position information at a third time in the network quality position list, the first time being any time in the target time period except a start time and an end time, the second time being a time preceding the first time, and the third time being a time succeeding the first time.
[0157] Optionally, the network quality statistics module 1003 is further specifically configured to:
[0158] determine an influence sub-area of each position information according to the position information of the network quality information, and respectively take each network quality information as network quality information corresponding to each influence sub-area;
[0159] determine at least one coincident sub-area of each influence sub-area and a target sub-area according to each influence sub-area and the sub-area list, and assign network quality information of each influence sub-area to a coincident sub-area corresponding to each influence sub-area;
[0160] Based on the overlapping sub-regions of the target sub-region, determine the network quality information of the target sub-region.
[0161] Optionally, the network quality statistics module 1003 is also specifically used for:
[0162] In each affected sub-region, at least one affected sub-region whose coordinates coincide with those of the target sub-region is selected, and the overlapping area between each affected sub-region and the target sub-region is determined, and the overlapping area is taken as the overlapping sub-region.
[0163] Optionally, the network quality statistics module 1003 can also be specifically used for:
[0164] If a sub-region corresponds to multiple network quality information, the final network quality corresponding to the sub-region is calculated based on the multiple network quality information and the preset algorithm.
[0165] Optionally, the network quality measurement device described above may also include: a drawing module.
[0166] Specifically, the drawing module is used for:
[0167] The target region is modeled to obtain its coordinate information;
[0168] The target region is segmented based on its coordinate information to obtain multiple sub-regions and their coordinate information.
[0169] Based on each sub-region and its coordinate information, a list of sub-regions for the target region is generated.
[0170] The processing flow of each module in the device and the interaction flow between each module can be referred to the relevant descriptions in the above method embodiments, and will not be detailed here.
[0171] This application embodiment obtains network quality information for each sub-region by associating network quality information and location information within the target area. This allows administrators to optimize the network in each sub-region based on the network quality information, reducing the difficulty of network quality troubleshooting and improving the efficiency of network quality measurement and optimization.
[0172] This application also provides an electronic device, such as... Figure 11 The diagram shown is a schematic representation of an electronic device structure provided in an embodiment of this application, including: a processor 1101, a memory 1102, and a bus. The memory 1102 stores machine-readable instructions executable by the processor 1101 (e.g., ...). Figure 10The processor 1101 and the memory 1102 are in communication with each other. The processor 1101 can correspond to the positioning module 1001, the network quality measurement module 1002, and the network quality statistics module 1003 in the device in the above method embodiment. When the computer device is running, the processor 1101 and the memory 1102 communicate with each other through a bus. When the processor 1101 executes the machine readable instructions, the processor 1101 executes the processes of the network quality measurement method.
[0173] The computer readable storage medium stores a computer program. When the computer program is run by the processor, the steps of the network quality measurement method are executed.
[0174] Those skilled in the art can clearly understand that, for the convenience and brevity of the description, the specific working processes of the above-described system and device can refer to the corresponding processes in the method embodiments, which will not be described herein. In the several embodiments provided in the present application, it should be understood that the disclosed system, device and method can be implemented by other means. The device embodiments described above are only schematic. For example, the division of the modules is only a logical function division, and actual implementation can have another division manner. For example, a plurality of modules or components can be combined or integrated into another system, or some features can be ignored or not executed. In addition, the coupling or direct coupling or communication connection between the displayed or discussed mutual units can be indirect coupling or communication connection through some communication interfaces, devices or modules, which can be electrical, mechanical or other forms.
[0175] In addition, each functional unit in each embodiment of the present application can be integrated into one processing unit, or each unit can exist physically, or two or more units can be integrated into one unit. If the functions are realized in the form of software function units and sold or used as independent products, they can be stored in a computer readable storage medium. Based on this understanding, the technical solutions of the present application essentially or the parts that make contributions to the prior art or parts of the technical solutions can be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for making a computer device (which can be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the embodiments of the present application. The aforementioned storage medium includes: a U disk, a mobile hard disk, a read-only memory (ROM, Read-Only Memory), a random access memory (RAM, Random Access Memory), a magnetic disk or an optical disk, and various program code storage media.
[0176] The above merely provides the specific implementation of the present application, but the protection scope of the present application is not limited to this. Any person skilled in the art can easily think of the changes or replacements within the technical range disclosed by the present application, which should be covered in the protection scope of the present application.
Claims
1. A method for measuring network quality, characterized in that, Applied to a server, the method includes: The location information of multiple terminals within the target area is obtained in the first cycle, and the network quality information of multiple terminals within the target area is obtained in the second cycle. The target area includes multiple sub-areas, and each terminal moves dynamically within the target area. Based on the sub-region list of the target region, the location information, and the network quality information, obtain a list of location information of multiple terminals in the target region within a target time period, and obtain a list of network quality information of multiple terminals in the target region within the target time period; Based on the sub-region list, the location information list, and the network quality information list, determine the network quality information corresponding to each sub-region in the target region; The step of determining the network quality information corresponding to each sub-region in the target region based on the sub-region list, the location information list, and the network quality information list includes: The location information list and the network quality information list within the target time period are sorted according to timestamps to obtain a network quality location list; Based on the network quality information, location information and location information of the terminal at the first time, the location information at the second time and the location information at the third time of the terminal in the network quality location list, the location information corresponding to the network quality information at the first time is determined. The first time is any time other than the start time and the end time within the target time period, the second time is the time before the first time, and the third time is the time after the first time. Based on the location information of each network quality information and the sub-region list, determine the network quality information corresponding to each sub-region in the target region.
2. The method according to claim 1, characterized in that, Before obtaining the list of location information of multiple terminals within a target time period in the target area based on the sub-region list of the target area, the location information, and the network quality information, the method further includes: The target region is modeled to obtain its coordinate information. The target region is segmented based on its coordinate information to obtain multiple sub-regions and their coordinate information. A list of sub-regions of the target region is generated based on each sub-region and its coordinate information.
3. The method according to claim 1, characterized in that, The step of determining the network quality information corresponding to each sub-region in the target region based on the location information of each network quality information and the sub-region list includes: Based on the location information of the network quality information, the affected sub-regions of each location information are determined, and each network quality information is used as the network quality information corresponding to each affected sub-region. Based on each of the affected sub-regions and the sub-region list, at least one overlapping sub-region of each of the affected sub-regions and the target sub-region is determined, and the network quality information of each of the affected sub-regions is assigned to the overlapping sub-regions corresponding to each of the affected sub-regions. Based on each of the overlapping sub-regions of the target sub-region, determine the network quality information of the target sub-region.
4. The method according to claim 3, characterized in that, The step of determining at least one overlapping sub-region between each of the affected sub-regions and the target sub-region based on each of the affected sub-regions and the sub-region list includes: In each of the said influencing sub-regions, at least one influencing sub-region that coincides with the coordinates of the target sub-region is selected, and the overlapping area between each of the said influencing sub-regions and the target sub-region is determined, and the overlapping area is taken as the overlapping sub-region.
5. The method according to any one of claims 1-4, characterized in that, After determining the network quality information corresponding to each sub-region in the target region based on the sub-region list, the location information list, and the network quality information list, the method further includes: If the sub-region corresponds to multiple network quality information, then the final network quality corresponding to the sub-region is calculated based on the multiple network quality information and a preset algorithm.
6. A network quality measurement device, characterized in that, include: The positioning module is used to: acquire the location information of multiple terminals within the target area according to the first cycle; The network quality measurement module is used to: acquire network quality information of multiple terminals within the target area according to a second cycle, wherein the target area includes multiple sub-areas, and each terminal moves dynamically within the target area; The network quality statistics module is used to: obtain a list of location information of multiple terminals in the target area within a target time period based on the sub-area list of the target area, the location information, and the network quality information; and obtain a list of network quality information of multiple terminals in the target area within the target time period. The network quality statistics module is further configured to: determine the network quality information corresponding to each sub-region in the target region based on the sub-region list, the location information list, and the network quality information list; The network quality statistics module is also used for: The location information list and the network quality information list within the target time period are sorted according to timestamps to obtain a network quality location list; Based on the network quality information, location information and location information of the terminal at the first time, the location information at the second time and the location information at the third time of the terminal in the network quality location list, the location information corresponding to the network quality information at the first time is determined. The first time is any time other than the start time and the end time within the target time period, the second time is the time before the first time, and the third time is the time after the first time. Based on the location information of each network quality information and the sub-region list, determine the network quality information corresponding to each sub-region in the target region.
7. An electronic device, characterized in that, include: The device includes a processor, a storage medium, and a bus, wherein the storage medium stores program instructions executable by the processor, and when the electronic device is running, the processor communicates with the storage medium via the bus, and the processor executes the program instructions to perform the steps of the network quality measurement method as described in any one of claims 1 to 5.
8. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores a computer program that, when executed by a processor, performs the steps of the network quality measurement method as described in any one of claims 1 to 5.
Citation Information
Patent Citations
Network quality determination method and device
CN111194049A