Data flow rate limit audit method, device, equipment and medium
By obtaining and analyzing the traffic usage value of speed-limited user data, determining the reference threshold and judging whether it is exceeded, and outputting the user data corresponding to the target speed-limited data traffic usage value, the problem of being unable to effectively audit the success of speed limiting in the existing technology is solved, and a more accurate speed limit effect evaluation is achieved.
Patent Information
- Application Number
- CN202311324304.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-10-12
- Publication Date
- 2025-09-19
- Estimated Expiration
- 2043-10-12
AI Technical Summary
Existing technologies cannot effectively prove the success of speed limiting when conducting data traffic speed limit audits, and there are operational risks and problems of omissions or errors in results.
By obtaining a list of users whose speed-limited data traffic is to be audited, traversing each user's data, determining a reference threshold based on the speed-limited data traffic usage value in each unit time period, judging whether each speed-limited data traffic usage value exceeds the reference threshold, outputting the user data corresponding to the target speed-limited data traffic usage value, and generating the data traffic speed-limit audit result.
The effectiveness of data traffic speed limit auditing is improved, enabling operation and maintenance personnel to evaluate the speed limit effect of data traffic, thereby reducing operational risks and improving the accuracy of audit results.
Smart Images

Figure CN118803626B_ABST
Abstract
Description
Technical Field
[0001] The present application belongs to the field of information audit technology, and in particular relates to a data flow rate limit audit method, device, equipment and medium. Background Art
[0002] With the vigorous development of mobile Internet services, more and more application software requires large amounts of network traffic. In order to enable users to better enjoy the Internet, communication operators have begun to launch monthly packages with unlimited traffic.
[0003] Since the monthly package charges for unlimited traffic are fixed, but the traffic charges between different provincial communication operators are based on actual traffic usage, if a user applies for an unlimited traffic monthly package in Province A but keeps using traffic in Province B, this will cause the operator in Province A to settle traffic with the operator in Province B based on the user's actual traffic usage, which will generate a large amount of settlement amount for the operator in Province A; therefore, it will cause huge settlement inversion losses to the communication operators. In order to protect the profits of the communication operators, it is necessary to limit the traffic usage of users using unlimited traffic packages after their traffic usage exceeds a certain threshold.
[0004] However, the traditional first speed limit audit method is to use the year-on-year and month-on-month fluctuations in the number of speed limit instructions sent daily or monthly to determine whether the speed limit is successful. The second method is to use daily or monthly audits to determine the consistency between the speed limit instructions issued by the business support system and the speed limit instructions received by the network element equipment to determine whether the speed limit is successful.
[0005] If the first speed limit audit method is used, it cannot truly reflect whether the speed limit has achieved the speed limit effect, and there is a greater operational risk in the event of network equipment changes; the second method requires a large amount of data for comparison, and the result obtained is still only a theoretical success of the speed limit, and there is no direct reflection of user traffic. Therefore, when using the traditional method for speed limit audit, it cannot effectively prove that the speed limit is successful, and the results obtained may contain omissions or errors. Summary of the Invention
[0006] The embodiments of the present application provide a data traffic speed limit audit method, device, equipment and medium, which improve the data traffic speed limit audit effect.
[0007] According to a first aspect of the present application, an embodiment of the present application provides a data traffic rate limit audit method, the method comprising:
[0008] Obtain a first user list of speed-limited data traffic to be audited; the first user list includes at least one first user data, and the first user data at least includes a speed-limited data traffic usage value of the first user in each unit time period within a first time period;
[0009] Traversing each first user data in the first user list, and determining a reference threshold value according to a usage value of the speed-limited data traffic in each unit time period within the first time period;
[0010] Traversing each first user data, respectively determining whether each speed-limited data traffic usage value of each first user data exceeds a reference threshold, and obtaining a target speed-limited data traffic usage value if the determination result is yes;
[0011] According to the target speed-limited data traffic usage value, the data traffic speed-limit audit result of the first user list is output.
[0012] Optionally, traversing each first user data in the first user list and determining a reference threshold according to a usage value of the speed-limited data traffic in each unit time period within the first time period includes:
[0013] For each first user data, select the first speed-limited data traffic usage value with the first N speed-limited data traffic usage values in descending order, where N is a positive integer ≥ 1;
[0014] Statistical analysis is performed on N first rate-limited data traffic usage values of each first user data to obtain a reference threshold.
[0015] Optionally, performing statistical analysis on N first rate-limited data traffic usage values of each first user data to obtain a reference threshold value includes:
[0016] Performing statistical analysis on the N first speed-limited data traffic usage values for each first user data to obtain a mode of the N first speed-limited data traffic usage values for each first user data;
[0017] According to the mode, the reference threshold is determined.
[0018] Optionally, determining a reference threshold according to the mode includes:
[0019] Get the global control threshold of data traffic;
[0020] When the magnitude relationship between the mode and the data flow global control threshold satisfies a preset relationship, the mode is determined as the reference threshold;
[0021] In a case where the magnitude relationship between the mode and the data flow global control threshold does not satisfy a preset relationship, the data flow global control threshold is determined as a reference threshold.
[0022] Optionally, obtaining a first user list of users whose speed limit data traffic is to be audited includes:
[0023] Obtain a list of second users who have been sent traffic speed limit instructions within the target area and the second time period, a list of third users who have subscribed to speed-up package products within the target area and the second time period, and a list of fourth users; the fourth user list includes the data traffic usage value of each user in each unit time period within the target area and the second time period;
[0024] Deleting the third user data in the third user list from the second user list to obtain an initial first user list;
[0025] According to the initial first user list, the speed-limited data traffic usage value corresponding to the initial first user list is obtained by querying from the fourth user list.
[0026] The initial first user list and the corresponding speed-limited data traffic usage value are combined to generate a first user list.
[0027] Optionally, the data traffic speed limit audit result includes speed limit failure user data.
[0028] Outputting the data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value includes:
[0029] Outputs the user data of rate limit failures corresponding to the target rate limit data traffic usage value.
[0030] Optionally, the speed limit failure user data includes: the first user number, the start and end time of the first time period, the date when the speed limit data traffic usage value exceeds the reference threshold, and the target speed limit data traffic usage value.
[0031] Optionally, after outputting the data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value, the method further includes:
[0032] When the number of first users in the data traffic speed limit audit result exceeds the quantity threshold, a prompt message of speed limit abnormality is output.
[0033] According to a second aspect of the present application, an embodiment of the present application provides a data flow rate limit auditing device, which includes:
[0034] An acquisition module is configured to acquire a first user list whose speed-limited data traffic is to be audited; the first user list includes at least one first user data, and the first user data includes at least a speed-limited data traffic usage value of the first user in each unit time period within a first time period;
[0035] A determination module, configured to traverse each first user data in the first user list and determine a reference threshold value according to a usage value of the speed-limited data traffic in each unit time period within the first time period;
[0036] a judgment module, configured to traverse each first user data, and respectively judge whether each speed-limited data traffic usage value of each first user data exceeds a reference threshold, and obtain a target speed-limited data traffic usage value if the judgment result is yes;
[0037] The first output module is used to output the data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value.
[0038] According to a third aspect of the present application, an embodiment of the present application provides a data traffic speed limit audit device, the device comprising: a processor and a memory storing computer program instructions;
[0039] When the processor executes computer program instructions, the data traffic speed limit audit method of any one of the first aspects is implemented.
[0040] According to the fourth aspect of the present application, an embodiment of the present application provides a computer storage medium, on which computer program instructions are stored. When the computer program instructions are executed by a processor, the data traffic speed limit audit method of any one of the first aspects is implemented.
[0041] According to the fifth aspect of the present application, an embodiment of the present application provides a computer program product. When the instructions in the computer program product are executed by the processor of an electronic device, the electronic device executes the data traffic speed limit audit method of any one of the first aspects.
[0042] The data traffic speed limit audit method, apparatus, device and medium of the embodiment of the present application, after obtaining the first user list, determines the reference threshold value based on the speed limit data traffic usage value in each first user data, and then judges whether each speed limit data traffic usage value exceeds the reference threshold value. If the judgment result is yes, then the corresponding speed limit data traffic usage value is the target speed limit data traffic usage value, and thus outputs the first user data corresponding to the target speed limit data traffic usage value, and obtains the data traffic speed limit audit result of the first user list. Based on this, by comparing the speed limit data traffic usage value with the reference threshold value to evaluate the effect of each speed limit data traffic usage value after speed limiting, and then outputting the first user data corresponding to the target speed limit data traffic usage value with poor speed limiting effect to obtain the data traffic speed limit audit result, the operation and maintenance personnel can evaluate the speed limit effect of the data traffic based on the audit result, thereby improving the audit effect of the data traffic speed limit. BRIEF DESCRIPTION OF THE DRAWINGS
[0043] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without any creative work.
[0044] Figure 1 This is a flow chart of a data traffic speed limit audit method according to an exemplary embodiment;
[0045] Figure 2 This is another flowchart of a data traffic speed limit audit method according to an exemplary embodiment;
[0046] Figure 3 This is another flowchart of a data traffic speed limit audit method according to an exemplary embodiment;
[0047] Figure 4 This is another flowchart of a data traffic speed limit audit method according to an exemplary embodiment;
[0048] Figure 5 This is another flowchart of a data traffic speed limit audit method according to an exemplary embodiment;
[0049] Figure 6 This is another flowchart of a data traffic speed limit audit method according to an exemplary embodiment;
[0050] Figure 7 This is a structural block diagram of a data flow rate limit audit device according to an exemplary embodiment;
[0051] Figure 8 The figure is a structural block diagram of a data traffic speed limit auditing device according to an exemplary embodiment. DETAILED DESCRIPTION
[0052] The features and exemplary embodiments of various aspects of the present application will be described in detail below. In order to make the purpose, technical solutions and advantages of the present application clearer, the present application will be further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the specific embodiments described herein are only intended to explain the present application, rather than to limit the present application. For those skilled in the art, the present application can be implemented without the need for some of these specific details. The following description of the embodiments is merely to provide a better understanding of the present application by illustrating the examples of the present application.
[0053] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "include," "comprise," or any other variant thereof are intended to encompass non-otherwise inclusion, such that a process, method, article, or device comprising a series of elements includes not only those elements, but also other elements not explicitly listed, or elements inherent to such process, method, article, or device. In the absence of further limitations, an element defined by the phrase "include..." does not exclude the presence of additional identical elements in the process, method, article, or device comprising the elements.
[0054] As described in the background technology section, in the prior art, when using traditional methods for speed limit auditing, it is not possible to effectively prove the success of speed limit, and the results obtained may contain omissions or errors.
[0055] Based on this, in the data traffic speed limit audit method provided in the embodiment of the present application, the speed limit data traffic usage value is compared with the reference threshold to evaluate the effect of each speed limit data traffic usage value after speed limiting, and then the first user data corresponding to the target speed limit data traffic usage value with poor speed limiting effect is output to obtain the data traffic speed limit audit result, so that the operation and maintenance personnel can evaluate the speed limit effect of the data traffic based on the audit results, thereby improving the audit effect of the data traffic speed limit.
[0056] The present application provides a data flow rate limit auditing method, apparatus, device and medium. The following first introduces the data flow rate limit auditing method provided in the embodiment of the present application.
[0057] Figure 1 A flow chart of a data flow rate limit audit method provided by an embodiment of the present application is shown. Figure 1 As shown, the method may include the following steps:
[0058] S101, obtaining a first user list whose speed-limited data flow rate is to be audited; the first user list includes at least one first user data, and the first user data includes at least the speed-limited data flow usage value of the first user in each unit time period within a first time period;
[0059] S102, traversing each first user data in the first user list, and determining a reference threshold value according to a usage value of the speed-limited data traffic in each unit time period within the first time period;
[0060] S103, traversing each first user data, respectively determining whether each speed-limited data traffic usage value of each first user data exceeds a reference threshold, and obtaining a target speed-limited data traffic usage value if the determination result is yes;
[0061] S104: Outputting a data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value.
[0062] Based on the above embodiment, after obtaining the first user list, a reference threshold is determined based on the speed-limited data traffic usage value in each first user data, and then it is determined whether each speed-limited data traffic usage value exceeds the reference threshold. If the judgment result is yes, then the corresponding speed-limited data traffic usage value is the target speed-limited data traffic usage value, and thus the first user data corresponding to the target speed-limited data traffic usage value is output, and the data traffic speed limit audit result of the first user list is obtained. Based on this, by comparing the speed-limited data traffic usage value with the reference threshold to evaluate the effect of each speed-limited data traffic usage value after speed limiting, and then outputting the first user data corresponding to the target speed-limited data traffic usage value with poor speed limiting effect to obtain the data traffic speed limit audit result, the operation and maintenance personnel can evaluate the speed limit effect of the data traffic based on the audit result, thereby improving the audit effect of the data traffic speed limit.
[0063] In the above S101, the first user list includes at least one first user data. Specifically, the first user data may include the first user number and the first time period with speed limit, and the speed limit data traffic usage value of the first user in each unit time period within the first time period.
[0064] For the convenience of statistics, the unit time period can be set to day. In other examples, it can also be week, month, etc.
[0065] In the above S102, after obtaining the speed-limited data traffic usage value of each first user in each unit time period within the first time period, multiple speed-limited data traffic usage values will be obtained. Therefore, based on the specific data distribution of the multiple speed-limited data traffic usage values, the reference threshold of the speed-limited data traffic under normal usage can be determined.
[0066] In the above S103, after obtaining the reference threshold, it is determined whether each speed-limited data traffic usage value of each first user exceeds the reference threshold, thereby obtaining a judgment result. Therefore, whether each speed-limited data traffic usage value is reasonable can be reflected based on the judgment result. Because the reference threshold is the most reflective of the normal usage of the speed-limited data traffic, comparing each speed-limited data traffic usage value separately can determine whether each speed-limited data traffic usage value is normal; preferably, the speed-limited data traffic usage value whose judgment result is that it exceeds the reference threshold can be determined as the target speed-limited data traffic usage value.
[0067] In the above S104, after determining the target speed limit data traffic usage value, the corresponding first user data can be determined according to the target speed limit data traffic usage value, and then the first user data corresponding to the target speed limit data traffic usage value can be selected from the first user list for output, thereby obtaining the data traffic speed limit audit result.
[0068] Specifically, the data traffic speed limit audit results include speed limit failure user data and successful user data. However, based on actual conditions, speed limit failure user data only accounts for a small part of the first user data. Therefore, in order to facilitate the review of the audit results, the speed limit failure user data corresponding to the target speed limit data traffic usage value is output.
[0069] More specifically, the failed user data may include: the first user number, the start and end time of the first time period, the date when the speed limit data traffic usage value exceeds the reference threshold, and the target speed limit data traffic usage value, where the start and end time of the first time period include the start time and end time of the first time period.
[0070] In the process of arranging the data of each user whose speed limit fails, the data of any one of the above failed user data may be arranged in ascending or descending order.
[0071] In order to accurately determine the reference threshold, the present application also provides another implementation of the data traffic speed limit audit method.
[0072] like Figure 2 Another flow chart of a data flow rate limit audit method provided by an embodiment of the present application is shown as follows: Figure 2 As shown, the above S102 may include:
[0073] S201, for each first user data, selecting, in descending order, the first rate-limited data traffic usage value whose rate-limited data traffic usage value is in the first N digits, where N is a positive integer ≥ 1;
[0074] S202 : Perform statistical analysis on N first rate-limited data traffic usage values of each first user data to obtain a reference threshold.
[0075] Based on the above embodiment, for each first user data, the first speed limit data traffic is arranged in order of size, and the largest N bits are taken to represent the first user data through the N-bit first speed limit data traffic usage value, which simplifies the difficult problem of selecting a reference threshold from multiple first speed limit data traffic usages, effectively extracts the N-bit first speed limit data traffic usage value as key data, and improves the efficiency and accuracy of problem solving.
[0076] In the above S201, since it is judged whether each speed-limited data traffic usage value exceeds the threshold, and each first user has multiple speed-limited data traffic usage values within the target time period, it is necessary to arrange the speed-limited data traffic usage values in order of size, and only the first N speed-limited data traffic usage values need to be taken, because as long as the reference threshold is greater than the first speed-limited data traffic usage value, it can be considered that the speed-limited data traffic usage value is not the target speed-limited data traffic usage value.
[0077] As an example, since the speed-limited data traffic usage value is not always an integer, in order to facilitate calculation and to ensure the accuracy of the judgment step of whether each speed-limited data traffic usage value exceeds the reference threshold, each speed-limited data traffic usage value can be rounded up, for example, 11.8G is rounded to 12G, and 12.2G is rounded to 13G.
[0078] In the above S202, since the first user list includes multiple first user data, after selecting the first N digits of the first speed limit data traffic usage value of a first user data, it is also necessary to analyze the first N digits of the first speed limit data traffic usage value of each first user data, so as to more accurately statistically analyze and obtain the reference threshold.
[0079] Specifically, the statistical analysis method may include comparing mode values, comparing means, and comparing medians.
[0080] In order to determine the reference threshold more accurately, the present application also provides another implementation of the data traffic speed limit audit method.
[0081] like Figure 3 Another flow chart of the data flow rate limit audit method provided by an embodiment of the present application is shown as follows: Figure 3 As shown, the above S202 may include:
[0082] S301, performing statistical analysis on N first rate-limited data traffic usage values for each first user data to obtain a mode of the N first rate-limited data traffic usage values for each first user data;
[0083] S302: Determine a reference threshold value according to the mode.
[0084] Based on the above embodiment, by determining the mode of the N first speed limit data traffic usage values of each first user data, and utilizing the fact that the mode should be well representative in the data set, the data distribution of multiple first speed limit data traffic usage values can be better reflected, thereby more accurately determining the reference threshold.
[0085] In the above S301, after obtaining N first speed limit data traffic usage values in each first user data, since the first user list includes M first user data, M is a positive integer ≥1, therefore, the actual number of first speed limit data traffic usage values is M×N, and the mode is selected from the M×N first speed limit data traffic usage values, thereby utilizing the properties of the mode so that the selected mode can better represent the M×N first speed limit data traffic usage values.
[0086] In the above S302, after determining the mode of the M×N first speed-limited data traffic usage values, the mode only represents the M×N first speed-limited data traffic usage values. The accuracy of the mode value needs to be analyzed based on the actual situation of the actual value to determine the reference threshold.
[0087] As an example, assuming that the unit time period is a day, the mode value determined among the M×N first speed-limited data traffic usage values is 100G. Obviously, after the speed limit, it is impossible for the daily first speed-limited data traffic usage value to be 100G, and it also appears in the mode. Obviously, there are errors in the first speed-limited data traffic usage value and even in the first user data. Therefore, it is necessary to further judge the rationality of the mode based on the mode in order to determine the reference threshold.
[0088] In order to determine the reference threshold more accurately, the present application also provides another implementation of the data traffic speed limit audit method.
[0089] like Figure 4 Another flow chart of a data flow rate limit audit method provided by an embodiment of the present application is shown as follows: Figure 4 As shown, the above S302 may include:
[0090] S401, obtaining a global data flow control threshold;
[0091] S402, when the magnitude relationship between the mode and the data flow global control threshold satisfies a preset relationship, determining the mode as a reference threshold;
[0092] S403: If the magnitude relationship between the mode and the data flow global control threshold does not satisfy a preset relationship, the data flow global control threshold is determined as a reference threshold.
[0093] Based on the above embodiment, by obtaining the global control threshold of data traffic, comparing the relationship between the mode and the global control threshold of data traffic, judging whether the mode conforms to the actual situation, thereby determining whether the reference threshold is the mode or the majority, eliminating the influence of the mode not conforming to the actual situation due to errors in the first speed limit data traffic usage value, thereby improving the accuracy of determining the reference threshold.
[0094] In the above S401, in order to reduce the possibility of errors in the first speed-limited data traffic usage value, a data traffic global control threshold can also be set. The data traffic global control threshold can be calculated based on the relationship between the traffic transmission rate after speed limiting and the unit time period.
[0095] In the above S402, the global control threshold of data traffic is a specific numerical value. Although the mode is also a specific numerical value, the mode is easily affected by the change of the first speed-limited data traffic usage value. Therefore, if the global control threshold of data traffic is directly compared with the mode, the comparison result is not very accurate. In order to obtain a more accurate comparison result, when comparing the mode and the global control threshold of data traffic, what actually needs to be compared is the preset relationship between the mode and the global control threshold of data traffic. As long as the size of the mode and the global control threshold of data traffic meets the preset relationship, the mode can be considered reasonable, and therefore the mode can be determined as the reference threshold.
[0096] As an example, the preset relationship may be 0.5 times to 1.5 times the global data traffic control threshold, so that a margin can be left for changes in the mode when comparing the mode and the global data traffic control threshold.
[0097] Similarly, in the above S403, if the size of the mode and the data flow global control threshold does not satisfy the preset relationship, it can be considered that the mode is unreasonable, erroneous, and undesirable, so the data flow global control threshold can be determined as the reference threshold.
[0098] In order to accurately obtain the first user list, the present application also provides another implementation of the data traffic speed limit audit method.
[0099] like Figure 5 Another flow chart of a data flow rate limit audit method provided by an embodiment of the present application is shown as follows: Figure 5 As shown, the above S101 may include:
[0100] S501, obtaining a list of second users who have been sent a data rate limit instruction within the target area and the second time period, a list of third users who have subscribed to a speed-up package product within the target area and the second time period, and a list of fourth users; the fourth user list includes the data rate usage value of each user in each unit time period within the target area and the second time period;
[0101] S502, deleting the third user data in the third user list from the second user list to obtain an initial first user list;
[0102] S503: According to the initial first user list, query from the fourth user list to obtain a speed-limited data traffic usage value corresponding to the initial first user list.
[0103] S504: Combine the initial first user list and the corresponding speed-limited data traffic usage value to generate a first user list.
[0104] Based on the above embodiment, after obtaining the second user list and the third user list, the third user data who has subscribed to the speed-up package is deleted based on the two user lists, so that the first user data in the first user list is the speed-limited data and speed-limited traffic that needs to be audited without subscribing to the speed-limited package, thereby reducing the probability of errors in the speed-limited data traffic audit process and improving the accuracy of the speed-limited data traffic audit.
[0105] In S501, when the data product package subscribed by the user has a data rate limit requirement, the system sends a data rate limit instruction of the corresponding level to the network element device. The users who receive the data rate limit instruction form a second user list. The second user data of the second user in the second user list whose data is limited by the data rate limit instruction mainly includes: the second user number and the rate limit period. The data traffic transmission rate of the second user number during the rate limit period is different from the data traffic transmission rate before and after the rate limit period; and the second period includes the rate limit period, that is, the data rate limit of the second user occurs within the second period.
[0106] The second user will receive a speed limit reminder SMS when the speed is limited. The second user can order the corresponding level of speed-up package product according to the method in the reminder SMS, so as to restore the corresponding data traffic transmission rate; the third user who has ordered the speed-up package product forms a third user list. The third user data in the specific third user list may include: third user number, speed-up package product code, speed-up package speed-up period, etc.; and the speed limit period includes the speed-up package speed-up period.
[0107] In addition, it should be noted that the second user list, the third user list, and the fourth user list are obtained through different systems. Since the systems are different, after obtaining the second user list, the third user list, and the fourth user list, they need to be parsed separately to obtain the user data therein.
[0108] In the above S502, after obtaining the second user data in the second user list and the third user data in the third user list, a candidate second number consistent with the third number is queried from the second number, and after deleting the speed-up period of the speed-limited period of the candidate second number, what remains is the first user number and the corresponding first period. Multiple first user numbers and the corresponding first period can constitute the initial first user list.
[0109] In the above S503, the first user is determined from the users in the fourth user list based on the first user number in the initial first user list, and the data traffic usage value of the first user in each unit time period in the second time period can be obtained; then the data traffic usage value of the first user in each unit time period in the first time period is selected from the second time period. Since the first time period is obtained by deleting the speed-up period of the speed-limited package from the speed-limited time period, it is the actual speed-limited time period. Therefore, the data traffic usage value in each unit time period in the first time period is the speed-limited data traffic usage value corresponding to the first user.
[0110] In the above S504, the speed-limited data traffic usage value corresponding to each first user in the initial first user list is combined with the initial first user list, and a new table is finally generated as the first user list.
[0111] In order to improve the practicality of the data traffic speed limit audit method, the present application also provides another implementation method of the data traffic speed limit audit method.
[0112] like Figure 6 Another flow chart of a data flow rate limit audit method provided by an embodiment of the present application is shown as follows: Figure 6 As shown, after the above S104, the method may further include:
[0113] S601: When the number of first users in the data traffic speed limit audit result exceeds the quantity threshold, output a prompt message of speed limit abnormality.
[0114] Based on the above embodiment, by outputting prompt information of speed limit abnormality, the operation and maintenance personnel can be reminded in time of the occurrence of abnormal data flow speed limit, so that the operation and maintenance personnel can judge the process of data flow speed limit based on the data flow speed limit audit results, thereby improving the practicality of the data flow speed limit audit method.
[0115] In the above S601, because the data traffic is speed-limited, the speed-limited data traffic usage value should not exceed the reference threshold value. Occasionally exceeding the reference threshold value can be regarded as an exception. However, if in the audit result, the number of user data that fails to limit the speed exceeding the reference threshold value is greater than the quantity threshold, it means that the speed-limited data traffic usage value exceeds the reference threshold value and is not an exception. Therefore, the operation and maintenance personnel need to analyze from the setting of the reference threshold value or from the direction of the data traffic speed limit whether the reference threshold value is reasonable and whether the data traffic speed limit is successful, so it is necessary to output a prompt message to the user to prompt the operation and maintenance personnel.
[0116] As an example, the prompt information may include at least one of different forms such as sound, text, and light.
[0117] It should be noted that the application scenarios described in the above-mentioned embodiments of the present application are intended to more clearly illustrate the technical solutions of the embodiments of the present application, and do not constitute a limitation on the technical solutions provided by the embodiments of the present application. Ordinary technicians in this field can know that with the emergence of new application scenarios, the technical solutions provided by the embodiments of the present application are also applicable to similar technical problems.
[0118] Based on the same inventive concept, this application also provides a data flow rate limit audit device. Figure 7 Provide detailed explanation.
[0119] Figure 7 FIG. 7 is a schematic diagram showing the hardware structure of a data flow rate limiting and auditing device 700 provided in an embodiment of the present invention.
[0120] like Figure 7 As shown, the data traffic rate limiting audit device 700 may include:
[0121] An acquisition module 710 is configured to acquire a first user list whose speed-limited data traffic is to be audited; the first user list includes at least one first user data, and the first user data includes at least a speed-limited data traffic usage value of the first user in each unit time period within a first time period;
[0122] A determination module 720 is configured to traverse each first user data in the first user list and determine a reference threshold value based on a usage value of the speed-limited data traffic in each unit time period within the first time period;
[0123] A determination module 730 is configured to traverse each first user data, determine whether each speed-limited data traffic usage value of each first user data exceeds a reference threshold, and obtain a target speed-limited data traffic usage value if the determination result is yes;
[0124] The first output module 740 is configured to output a data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value.
[0125] In the data encryption data traffic speed limit audit device 700 provided in this embodiment, after the acquisition module 710 obtains the first user list, the determination module 720 determines the reference threshold value based on the speed limit data traffic usage value in each first user data, and the judgment module 730 further judges whether each speed limit data traffic usage value exceeds the reference threshold value. If the judgment result is yes, the corresponding speed limit data traffic usage value is the target speed limit data traffic usage value, and the first output module 740 outputs the first user data corresponding to the target speed limit data traffic usage value to obtain the data traffic speed limit audit result of the first user list. Based on this, by comparing the speed limit data traffic usage value with the reference threshold value to evaluate the effect of each speed limit data traffic usage value after speed limiting, the first user data corresponding to the target speed limit data traffic usage value with poor speed limiting effect is output to obtain the data traffic speed limit audit result, so that the operation and maintenance personnel can evaluate the speed limit effect of the data traffic based on the audit result, thereby improving the audit effect of the data traffic speed limit.
[0126] Optionally, the determination module 720 may include:
[0127] A selection submodule is configured to select, for each first user data, a first speed-limited data traffic usage value having a first N-bit speed-limited data traffic usage value in descending order, where N is a positive integer ≥ 1;
[0128] The statistical analysis submodule is configured to perform statistical analysis on the N first speed-limited data flow usage values of each first user data to obtain a reference threshold.
[0129] Optionally, the statistical analysis submodule may include:
[0130] a statistical analysis unit, configured to perform statistical analysis on the N first speed-limited data traffic usage values of each first user data to obtain a mode of the N first speed-limited data traffic usage values of each first user data;
[0131] The determining unit is used to determine a reference threshold value according to the mode.
[0132] Optionally, the determining unit may include:
[0133] An acquisition subunit, used to obtain a global control threshold value of data flow;
[0134] A first determining subunit is configured to determine the mode as a reference threshold when a magnitude relationship between the mode and the data flow global control threshold satisfies a preset relationship;
[0135] The second determining subunit is configured to determine the data flow global control threshold as a reference threshold when the magnitude relationship between the mode and the data flow global control threshold does not satisfy a preset relationship.
[0136] Optionally, the acquisition module 710 may include:
[0137] An acquisition submodule is configured to acquire a list of second users who have been sent a traffic speed limit instruction within the target area and the second time period, a list of third users who have subscribed to a speed-up package product within the target area and the second time period, and a list of fourth users; the fourth user list includes the data traffic usage value of each user in each unit time period within the target area and the second time period;
[0138] a deletion submodule, configured to delete the third user data existing in the third user list from the second user list to obtain an initial first user list;
[0139] The query submodule is used to query the fourth user list based on the initial first user list to obtain the speed-limited data traffic usage value corresponding to the initial first user list.
[0140] The generating submodule is used to combine the initial first user list and the corresponding speed-limited data traffic usage value to generate a first user list.
[0141] Optionally, the data traffic speed limit audit result includes speed limit failure user data.
[0142] The first output module 740 may include:
[0143] The first output submodule is used to output speed limit failure user data corresponding to the target speed limit data traffic usage value.
[0144] Optionally, the speed limit failure user data includes: the first user number, the start and end time of the first time period, the date when the speed limit data traffic usage value exceeds the reference threshold, and the target speed limit data traffic usage value.
[0145] Optionally, the data traffic rate limit auditing device 700 may further include:
[0146] The second output module is used to output a prompt message of speed limit abnormality when the number of first users in the data traffic speed limit audit result exceeds a quantity threshold.
[0147] The data flow rate limit audit device 700 provided in the embodiment of the present application can achieve Figures 1 to 6 The various processes implemented by the method embodiment can achieve the same technical effect, and to avoid repetition, they will not be described here.
[0148] Figure 8 The figure shows a hardware structure diagram of the data encryption and decryption data flow rate limit audit device provided by an embodiment of the present invention.
[0149] The data encryption and decryption data flow rate limit audit device may include a processor 801 and a memory 802 storing computer program instructions.
[0150] Specifically, the processor 801 may include a central processing unit (CPU), or an application specific integrated circuit (ASIC), or may be configured to implement one or more integrated circuits of the embodiment of the present invention.
[0151] The memory 802 may include a large capacity memory for data or instructions. By way of example and not limitation, the memory 802 may include a hard disk drive (HDD), a floppy disk drive, a flash memory, an optical disk, a magneto-optical disk, a magnetic tape, or a universal serial bus (USB) drive, or a combination of two or more of these. Where appropriate, the memory 802 may include removable or non-removable (or fixed) media. Where appropriate, the memory 802 may be inside or outside the integrated gateway disaster recovery device. In a specific embodiment, the memory 802 is a non-volatile solid-state memory.
[0152] In certain embodiments, the memory 802 may include read-only memory (ROM), random access memory (RAM), magnetic disk storage media devices, optical storage media devices, flash memory devices, electrical, optical, or other physical / tangible memory storage devices. Thus, generally, the memory 802 includes one or more tangible (non-transitory) computer-readable storage media (e.g., memory devices) encoded with software including computer-executable instructions, and when the software is executed (e.g., by one or more processors 801), it is operable to perform the operations described with reference to the method according to an aspect of the present application.
[0153] The processor 801 reads and executes computer program instructions stored in the memory 802 to implement any one of the data encryption and / or decryption data flow rate limit audit devices in the above embodiments.
[0154] In one example, the data encryption and decryption data flow rate limit audit device may further include a communication interface 803 and a bus 804. As shown in the figure, the processor 801, the memory 802, and the communication interface 803 are connected via the bus 804 and communicate with each other.
[0155] The communication interface 803 is mainly used to implement communication between various modules, devices, units and / or equipment in the embodiment of the present invention.
[0156] Bus 804 includes hardware, software or both. For example, and not limitation, bus 804 may include accelerated graphics port (AGP) or other graphics bus, enhanced industry standard architecture (EISA) bus, front side bus (FSB), hypertransport (HT) interconnection, industry standard architecture (ISA) bus, wireless bandwidth interconnection, low pin count (LPC) bus, memory bus, micro channel architecture (MCA) bus, peripheral control interconnect (PCI) bus, PCI-Express (PCI-X) bus, serial advanced technology attachment (SATA) bus, video electronics standard association local (VLB) bus or other suitable bus or two or more of these combinations. Where appropriate, bus 804 may include one or more buses 804. Although the present application embodiment describes and shows specific bus 804, the application considers any suitable bus 804 or interconnection.
[0157] The data encryption and decryption data flow speed limit audit device can be based on the current data encryption and decryption data flow speed limit audit method, thereby achieving the combination of Figures 1 to 7 The invention describes a data flow rate limit auditing method and device.
[0158] In addition, an embodiment of the present application further provides a computer program product, including computer program instructions. When the computer program product is executed by the processor 801, the steps and corresponding contents of the aforementioned method embodiment can be implemented.
[0159] It should be understood that the present application is not limited to the specific configurations and processes described above and illustrated in the figures. For the sake of brevity, a detailed description of known methods is omitted here. In the above embodiments, several specific steps are described and illustrated as examples. However, the method process of the present application is not limited to the specific steps described and illustrated. Those skilled in the art can make various changes, modifications, and additions, or change the order of the steps after understanding the spirit of the present application.
[0160] The functional blocks shown in the above-described block diagram can be implemented as hardware, software, firmware or a combination thereof. When implemented in hardware, they can be, for example, electronic circuits, application specific integrated circuits (ASICs), appropriate firmware, plug-ins, function cards, etc. When implemented in software, the elements of the present application are programs or code segments that are used to perform the required tasks. The program or code segment can be stored in a machine-readable medium, or transmitted on a transmission medium or a communication link by a data signal carried in a carrier wave. "Machine-readable medium" can include any medium capable of storing or transmitting information. Examples of machine-readable media include electronic circuits, semiconductor memory devices, ROMs, flash memories, erasable ROMs (EROMs), floppy disks, CD-ROMs, optical disks, hard disks, optical fiber media, radio frequency (RF) links, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.
[0161] It should also be noted that the exemplary embodiments mentioned in this application describe some methods or systems based on a series of steps or devices. However, this application is not limited to the order of the above steps. In other words, the steps can be performed in the order mentioned in the embodiments, or in a different order, or several steps can be performed simultaneously.
[0162] The above describes various aspects of the present disclosure with reference to the flowcharts and / or block diagrams of the methods, devices (systems) and computer program products according to the embodiments of the present disclosure. It should be understood that each box in the flowchart and / or block diagram and the combination of boxes in the flowchart and / or block diagram can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data encryption and / or decryption data flow rate limit audit device to produce a machine so that these instructions executed by the processor of the computer or other programmable data processing device enable the implementation of the functions / actions specified in one or more boxes in the flowchart and / or block diagram. Such a processor can be, but is not limited to, a general-purpose processor, a special-purpose processor, a special application processor or a field programmable logic circuit. It can also be understood that each box in the block diagram and / or flowchart and the combination of boxes in the block diagram and / or flowchart can also be implemented by special-purpose hardware that performs the specified function or action, or can be implemented by a combination of special-purpose hardware and computer instructions.
[0163] The above description is only a specific embodiment of the present application. Those skilled in the art will clearly understand that for the convenience and brevity of description, the specific working processes of the systems, modules and units described above can refer to the corresponding processes in the aforementioned method embodiments, and will not be repeated here. It should be understood that the scope of protection of the present application is not limited thereto. Any person skilled in the art can easily think of various equivalent modifications or replacements within the technical scope disclosed in the present application, and these modifications or replacements should be included in the scope of protection of the present application.
Claims
1. A data flow rate limit audit method, characterized in that: Obtain a first user list whose speed-limited data flow rate is to be audited, wherein the first user list includes at least one first user data, and the first user data includes at least a speed-limited data flow usage value of the first user in each unit time period within a first time period; Traversing each first user data in the first user list, and determining a reference threshold according to the speed-limited data traffic usage value in each unit time period within the first time period; Traversing each of the first user data, respectively determining whether each of the speed-limited data traffic usage values of each of the first user data exceeds the reference threshold, and obtaining a target speed-limited data traffic usage value if the determination result is yes; According to the target speed-limited data traffic usage value, a data traffic speed-limit audit result of the first user list is output.
2. The method according to claim 1, wherein The traversing each first user data in the first user list and determining a reference threshold according to the speed-limited data traffic usage value in each unit time period within the first time period includes: For each of the first user data, select the first rate-limited data traffic usage values that are in the first N digits of the rate-limited data traffic usage values in descending order, where N is a positive integer ≥ 1; Statistical analysis is performed on the N first-speed-limited data traffic usage values of each first user data to obtain a reference threshold.
3. The method according to claim 2, wherein The performing statistical analysis on the N first rate-limited data traffic usage values of each first user data to obtain a reference threshold value includes: Performing statistical analysis on the N first speed-limited data traffic usage values of each of the first user data to obtain a mode of the N first speed-limited data traffic usage values of each of the first user data; The reference threshold is determined according to the mode.
4. The method according to claim 3, wherein The determining the reference threshold according to the mode includes: Get the global control threshold of data traffic; In a case where a magnitude relationship between the mode and the data flow global control threshold satisfies a preset relationship, determining the mode as a reference threshold; In a case where the magnitude relationship between the mode and the data traffic global control threshold does not satisfy a preset relationship, the data traffic global control threshold is determined as a reference threshold.
5. The method according to claim 1, wherein The step of obtaining a first user list to be audited for speed-limited data flow and speed-limited data includes: Obtain a list of second users who have been sent traffic speed limit instructions within the target area and the second time period, a list of third users who have subscribed to speed-up package products within the target area and the second time period, and a list of fourth users; the fourth user list includes the data traffic usage value of each user in each unit time period within the target area and the second time period; deleting the third user data in the third user list from the second user list to obtain an initial first user list; According to the initial first user list, query from the fourth user list to obtain the speed-limited data traffic usage value corresponding to the initial first user list; The initial first user list and the corresponding rate-limited data traffic usage value are combined to generate a first user list.
6. The method according to any one of claims 1 to 5, wherein The data flow speed limit audit result includes speed limit failure user data; Outputting a data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value includes: Output the speed limit failure user data corresponding to the target speed limit data traffic usage value.
7. The method according to claim 6, wherein The speed limit failure user data includes: the first user number, the start and end time of the first time period, the date when the speed limit data traffic usage value exceeds the reference threshold, and the target speed limit data traffic usage value.
8. The method according to any one of claims 1 to 5, wherein: After outputting a data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value, the method further includes: When the number of first users in the data traffic speed limit audit result exceeds a quantity threshold, a prompt message indicating that the speed limit is abnormal is output.
9. A data flow rate limit audit device, characterized in that: The device comprises: An acquisition module is configured to acquire a first user list whose speed-limited data traffic is to be audited; the first user list includes at least one first user data, and the first user data includes at least a speed-limited data traffic usage value of the first user in each unit time period within a first time period; a determination module, configured to traverse each first user data in the first user list and determine a reference threshold value according to the speed-limited data traffic usage value in each unit time period within the first time period; a judgment module, configured to traverse each of the first user data, and respectively judge whether each of the speed-limited data traffic usage values of each of the first user data exceeds the reference threshold, and obtain a target speed-limited data traffic usage value if the judgment result is yes; The first output module is configured to output a data traffic speed limit audit result of the first user list according to the target speed limit data traffic usage value.
10. A data flow rate limit audit device, characterized in that: The device includes: a processor and a memory storing computer program instructions; When the processor executes the computer program instructions, the method according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that The computer-readable storage medium stores computer program instructions, which, when executed by a processor, implement the method according to any one of claims 1 to 8.
12. A computer program product, characterized in that When the instructions in the computer program product are executed by a processor of an electronic device, the electronic device is caused to perform the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Port bandwidth auditing method and device
CN112291113A
Method and apparatus for monitoring mobile data usage amount, mobile phone, and electronic device
WO2017166678A1