Traffic exit quality evaluation method, device and equipment in data transmission
By using first and second scoring queues in the traffic egress quality assessment to smooth out score fluctuations, the problem of drastic fluctuations in traffic egress quality scores is solved, and the stability and robustness of scheduling are improved.
Patent Information
- Application Number
- CN202511153155.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-08-18
- Publication Date
- 2025-10-31
AI Technical Summary
In existing technologies, the quality score of traffic exits fluctuates drastically, resulting in poor stability of traffic exit scheduling.
By adding the initial rating level of the traffic exit to be detected to the first rating queue of the first manager and the second rating queue of the second manager respectively, the target rating level is determined according to the rating level distribution under different time lengths. The rating fluctuations are smoothed by combining the different sensitivities of the first and second rating queues.
It effectively reduced the fluctuation of export quality scores, improved the stability of traffic export scheduling, and ensured the stability and robustness of traffic export scheduling.
Smart Images

Figure CN120880994A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of computer technology, and in particular to a method, apparatus, and device for evaluating the quality of data transmission outflows. Background Technology
[0002] With the development of computer and internet technologies, the requirements for data transmission quality are becoming increasingly stringent. To improve the data transmission quality from Internet Data Centers (IDCs) to public network users, traffic outage scheduling systems are typically used to monitor each traffic outage and redirect user traffic to other traffic outages when the data transmission quality of a particular outage deteriorates.
[0003] The scheduling of traffic exits depends on the exit quality score of each traffic exit. Due to the high complexity of the network environment from Internet data centers to user terminals, the exit quality score will exhibit significant instability and fluctuate dramatically, resulting in poor stability of traffic exit scheduling. Summary of the Invention
[0004] This application provides a method, apparatus, and device for evaluating the quality of traffic exits in data transmission. The method involves adding initial rating levels of the traffic exits to be detected to a first rating queue of a first manager and a second rating queue of a second manager. A first rating level is determined based on a first number of initial rating levels recorded in the first rating queue, and a second rating level is determined based on a second number of initial rating levels recorded in the second rating queue. A target rating level is then determined based on the first and second rating levels. The first number is equal to the queue length of the first rating queue, and the second number is equal to the queue length of the second rating queue. The first number is less than the second number. The target rating level determined based on the first and second rating levels references the distribution of traffic exit quality over different time periods. Therefore, the evaluation of traffic exit quality no longer relies on a single rating level, effectively solving the technical problem of drastic fluctuations in exit quality ratings leading to poor stability in traffic exit scheduling. This reduces fluctuations in exit quality ratings and improves the stability of traffic exit scheduling.
[0005] In a first aspect, embodiments of this application provide a method for evaluating the quality of traffic exits during data transmission, comprising: Determine the initial rating level of the flow outlet to be detected; The initial rating level is added to the first rating queue of the first manager, and the first rating level is determined according to the first number of initial rating levels recorded in the first rating queue, wherein the first number is equal to the queue length of the first rating queue. The initial rating level is added to the second rating queue of the second manager, and the second rating level is determined according to the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number; The target rating level of the traffic outlet to be detected is determined based on the first rating level and the second rating level.
[0006] In a second aspect, embodiments of this application provide a device for assessing the quality of data transmission outflows, including an initial rating module, a first timeliness module, a second timeliness module, and a rating determination module, wherein: The initial rating module is configured to determine the initial rating level of the traffic outlet to be detected; The first timeliness module is configured to add the initial rating level to the first rating queue of the first manager, and determine the first rating level based on the first number of initial rating levels recorded in the first rating queue, wherein the first number is equal to the queue length of the first rating queue. The second timeliness module is configured to add the initial rating level to the second rating queue of the second manager, and determine the second rating level based on the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number; The rating determination module is configured to determine the target rating level of the traffic outlet to be detected based on the first rating level and the second rating level.
[0007] In a third aspect, embodiments of this application provide a device for evaluating the quality of data transmission outflows, comprising: a memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the traffic outflow quality assessment method for data transmission as described in the first aspect.
[0008] In a fourth aspect, embodiments of this application provide a non-volatile storage medium for storing computer-executable instructions, which, when executed by a computer processor, are used to perform the traffic outflow quality assessment method for data transmission as described in the first aspect.
[0009] In a fifth aspect, embodiments of this application provide a computer program product comprising a computer program stored in a computer-readable storage medium, wherein at least one processor of the device reads from the computer-readable storage medium and executes the computer program, causing the device to perform the traffic outflow quality assessment method for data transmission as described in the first aspect.
[0010] This embodiment of the application adds the initial rating levels of the traffic exits to be detected to a first rating queue of a first manager and a second rating queue of a second manager, respectively. A first rating level is determined based on a first number of initial rating levels recorded in the first rating queue, and a second rating level is determined based on a second number of initial rating levels recorded in the second rating queue. A target rating level for the traffic exit to be detected is then determined based on the first and second rating levels. The first number is equal to the queue length of the first rating queue, the second number is equal to the queue length of the second rating queue, and the first number is less than the second number. The target rating level determined based on the first and second rating levels references the distribution of traffic exit quality over different time periods. The evaluation of traffic exit quality no longer depends on a single rating level, effectively solving the technical problem of drastic fluctuations in exit quality ratings leading to poor traffic exit scheduling stability. This reduces fluctuations in exit quality ratings and improves the stability of traffic exit scheduling. Attached Figure Description
[0011] Figure 1 This is a flowchart of a method for evaluating the quality of data transmission outflow provided in an embodiment of this application; Figure 2 This is a flowchart of another method for evaluating the quality of data transmission exits provided in an embodiment of this application; Figure 3 This is a schematic diagram of the structure of a data transmission outflow quality assessment device provided in an embodiment of this application; Figure 4 This is a schematic diagram of the structure of a data transmission flow output quality assessment device provided in an embodiment of this application. Detailed Implementation
[0012] To make the objectives, technical solutions, and advantages of this application clearer, specific embodiments of this application will be described in further detail below with reference to the accompanying drawings. It should be understood that the specific embodiments described herein are merely for explaining this application and not for limiting it. It should also be noted that, for ease of description, only the parts relevant to this application are shown in the drawings, not all of them. Before discussing exemplary embodiments in more detail, it should be mentioned that some exemplary embodiments are described as processes or methods depicted as flowcharts. Although the flowcharts describe operations (or steps) as sequential processes, many of these operations can be performed in parallel, concurrently, or simultaneously. Furthermore, the order of the operations can be rearranged. The process can be terminated when its operation is completed, but additional steps not included in the drawings may also be present. The above processes can correspond to methods, functions, procedures, subroutines, subroutines, etc.
[0013] The data transmission outflow quality assessment method provided in this application can be applied to a data outflow scheduling system. It aims to determine a target rating level based on a first rating level and a second rating level determined in rating queues of different queue lengths. The target rating level takes into account the distribution of data outflow quality over different time lengths. The assessment of data outflow quality no longer depends on a single rating level, which can effectively reduce the fluctuation of outflow quality rating and improve the stability of data outflow scheduling.
[0014] In existing traffic outbound quality assessment schemes, traffic outbound scheduling is generally based on real-time assessment scores. However, due to the variable network environment in the transmission link, frequent quality fluctuations are caused by latency jitter, congestion, and packet loss. Furthermore, the large proportion of mobile users and their inherently weak network characteristics lead to highly unstable network latency and packet loss rates, resulting in drastic fluctuations in the real-time assessment scores. For example, the real-time assessment score may drop sharply from excellent to requiring scheduling within a short period, only to rise back to excellent within a very short time. This causes the traffic outbound scheduling system to frequently switch traffic outbounds within a short period, resulting in poor traffic outbound scheduling stability. Therefore, this application provides a traffic outbound quality assessment method for data transmission, addressing the technical problem of drastic fluctuations in existing outbound quality scores leading to poor traffic outbound scheduling stability.
[0015] Figure 1 A flowchart of a data transmission outflow quality assessment method provided in this application embodiment is given. The data transmission outflow quality assessment method provided in this application embodiment can be executed by a data transmission outflow quality assessment device, which can be implemented by hardware and / or software and integrated into the data transmission outflow quality assessment equipment.
[0016] The following description uses an example of a data transmission flow outflow quality assessment device performing a data transmission flow outflow quality assessment method. (Reference) Figure 1 The methods for assessing the quality of traffic exits in this data transmission include: S110: Determine the initial rating level of the flow outlet to be detected.
[0017] This application can perform quality assessment on multiple traffic outlets, each of which can be used as a traffic outlet to be tested. The target score level of each traffic outlet can be determined, and the traffic outlets can be scheduled according to the target score level of each traffic outlet.
[0018] For example, an initial rating level for the traffic exit to be detected is determined, wherein the initial rating level can be determined based on the Mean Opinion Score (MOS) corresponding to the traffic exit to be detected. For instance, different ranges of MOS scores can be configured for different rating levels. After determining the MOS score of the traffic exit to be detected, the corresponding rating level can be determined based on the range corresponding to the MOS score, and the determined rating level is set as the initial rating level of the traffic exit to be detected.
[0019] S120: Add the initial rating level to the first rating queue of the first manager, and determine the first rating level based on the first number of initial rating levels recorded in the first rating queue. The first number is equal to the queue length of the first rating queue.
[0020] For example, after determining the initial rating level of the traffic exit to be detected, the initial rating level can be added to the first rating queue of the first manager. The first rating queue records a first number of initial rating levels (including those previously added to the first rating queue and those currently added to the first rating queue), and this first number is equal to the queue length of the first rating queue (the first rating queue records the first number of initial rating levels after it is full). Before adding an initial rating level to the first rating queue of the first manager, if the number of initial rating levels recorded in the first rating queue has not reached the first number, the initial rating level is directly added to the first rating queue. If the number of initial rating levels recorded in the first rating queue has reached the first number, the first initial rating level added to the first rating queue is removed, and then the newly determined initial rating level is added to the first rating queue.
[0021] In one embodiment, after an initial rating level is added to a first rating queue of a first manager, a first rating level can be determined based on a first number of initial rating levels recorded in the first rating queue. The fluctuations in the rating level are smoothed by the first number of initial rating levels recorded in the first rating queue, and the first rating level will not fluctuate frequently due to changes in a single initial rating level.
[0022] For example, the initial rating level with the largest proportion in the first rating queue can be determined as the first rating level. Alternatively, the initial rating level with the most consecutive occurrences can be determined as the first rating level. Or, the most recently occurring initial rating level whose consecutive occurrences reach a preset threshold can be determined as the first rating level. If none of the above conditions are met, the most recently added initial rating level to the first rating queue can be determined as the first rating level. Alternatively, the previously determined first rating level can be determined as the current first rating level.
[0023] In one embodiment, a higher rating indicates better traffic quality at the destination. For example, the rating can be divided into five levels: Terrible, Bad, Fair, Good, and Excellent.
[0024] S130: Add the initial rating level to the second rating queue of the second manager, and determine the second rating level based on the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number.
[0025] For example, after determining the initial rating level of the traffic exit to be detected, the initial rating level can be added to the second rating queue of the second manager. The second rating queue records a second number of initial rating levels (including those previously added to the second rating queue and those currently added), and this second number is equal to the queue length of the second rating queue (the second rating queue records a second number of initial rating levels after it is full). Before adding an initial rating level to the second rating queue of the second manager, if the number of initial rating levels recorded in the second rating queue has not reached the second number, the initial rating level is directly added to the second rating queue. If the number of initial rating levels recorded in the second rating queue has reached the second number, the first initial rating level added to the second rating queue is removed, and then the newly determined initial rating level is added to the second rating queue.
[0026] In one embodiment, after an initial rating level is added to a second rating queue of a second manager, a second rating level can be determined based on a second number of initial rating levels recorded in the second rating queue. The fluctuations in the rating level are smoothed by the second number of initial rating levels recorded in the second rating queue, so that the second rating level does not fluctuate frequently due to changes in a single initial rating level.
[0027] For example, the initial rating level with the largest proportion in the second rating queue can be determined as the second rating level. Alternatively, the initial rating level with the most consecutive occurrences can be determined as the second rating level. Or, the most recently occurring initial rating level whose consecutive occurrences reach a preset threshold can be determined as the second rating level. If none of the above conditions are met, the most recently added initial rating level to the second rating queue can be determined as the second rating level, or the previously determined second rating level can be determined as the current second rating level.
[0028] In this application, the length of the first scoring queue is less than the length of the second scoring queue, that is, the first number is less than the second number. The first scoring level is more sensitive to recent data changes and can quickly reflect the trend of deterioration in the quality of the traffic outlet. It can reflect the decline in the quality of the traffic outlet to be detected in a short period of time. The second scoring level is not sensitive to short-term fluctuations and can accurately reflect the trend of quality improvement of the traffic outlet in a long period of time.
[0029] S140: Determine the target rating level of the flow outlet to be detected based on the first rating level and the second rating level.
[0030] For example, after determining the first rating level and the second rating level, a target rating level for the traffic outlet to be detected can be determined based on the first rating level and the second rating level. For instance, the rating level with poorer quality corresponding to the first rating level and the second rating level can be used as the target rating level for the traffic outlet to be detected. Alternatively, if the first rating level is lower than the previously determined target rating level, the first rating level can be used as the target rating level for the current time. Or, if the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is greater than the previously determined target rating level, the second rating level can be used as the target rating level for the current time.
[0031] In one possible embodiment, the traffic outflow quality assessment method for data transmission provided in this application, after determining the target score level of the traffic outflow to be detected based on the first score level and the second score level, further includes: scheduling the traffic outflow based on the target score level.
[0032] For example, after determining the target rating level of the traffic outlet to be detected, if the target rating level is greater than or equal to the preset rating level, the user traffic is continued to be transmitted through the traffic outlet to be detected. If the target rating level is less than the preset rating level, the user traffic of the traffic outlet to be detected is scheduled to other traffic outlets (traffic outlets with rating levels greater than or equal to the preset rating level) to ensure data transmission quality.
[0033] The above describes a method that adds the initial rating levels of the traffic exits to be detected to the first rating queue of the first manager and the second rating queue of the second manager, respectively. The first rating level is determined based on a first number of initial rating levels recorded in the first rating queue, and the second rating level is determined based on a second number of initial rating levels recorded in the second rating queue. A target rating level for the traffic exit is then determined based on both the first and second rating levels. The first number is equal to the queue length of the first rating queue, the second number is equal to the queue length of the second rating queue, and the first number is less than the second number. The target rating level determined based on the first and second rating levels takes into account the distribution of traffic exit quality over different time periods. Therefore, the evaluation of traffic exit quality no longer depends on a single rating level, effectively solving the technical problem of drastic fluctuations in exit quality ratings leading to poor traffic exit scheduling stability. This reduces fluctuations in exit quality ratings and improves the stability of traffic exit scheduling.
[0034] Based on the above embodiments, Figure 2 A flowchart of another method for evaluating the quality of traffic exiting data transmission, provided in an embodiment of this application, is given. This method is a concretization of the aforementioned method for evaluating the quality of traffic exiting data transmission. (Reference) Figure 2 The methods for assessing the quality of traffic exits in this data transmission include: S210: Determine the exit quality score of the traffic outlet to be detected. Among multiple preset grade division intervals, determine the target grade division interval corresponding to the exit quality score. Different grade division intervals correspond to different score levels.
[0035] S220: Determine the initial rating level based on the rating level corresponding to the target rating interval.
[0036] For example, an exit quality score for the traffic exit to be detected is determined. Optionally, the average opinion score of the traffic exit to be detected can be used as the exit quality score. Optionally, multiple grade division intervals can be determined for different score levels. After determining the exit quality score of the traffic exit to be detected, the grade division interval corresponding to the exit quality score can be determined, and the corresponding grade division interval can be determined as the target grade division interval. The score level corresponding to the target grade division interval can be determined as the initial score level. This application accurately determines the initial score level by determining the initial score level based on the target grade division interval corresponding to the exit quality score, thus ensuring the correct assessment of the traffic exit quality.
[0037] In one embodiment, there is an overlapping area between adjacent rating intervals. For example, the export quality score is limited to a range of 0 to 100, and the rating is divided into five levels: very poor, poor, average, good, and excellent. The rating interval for very poor is MOS ≤ 52.5, for poor is 47.5 ≤ MOS ≤ 72.5, for average is 67.5 ≤ MOS ≤ 82.5, for good is 77.5 ≤ MOS ≤ 92.5, and for excellent is 87.5 ≤ MOS ≤ 100, where MOS is the export quality score.
[0038] Accordingly, this application determines the target grade division interval corresponding to the export quality score among multiple preset grade division intervals. This can be done by: when the export quality score is located in the overlapping area of the first grade division interval and the second grade division interval, determining the target grade division interval in the first grade division interval and the second grade division interval based on the previously determined initial score grade.
[0039] For example, after determining the exit quality score of the traffic outlet to be detected, the corresponding grade division interval is determined. When the exit quality score lies in a non-overlapping area of a grade division interval, that grade division interval can be determined as the target grade division interval. In one embodiment, when the exit quality score lies in an overlapping area of two grade division intervals, the target grade division interval can be determined from the two grade division intervals. Optionally, the two grade division intervals are respectively determined as a first grade division interval and a second grade division interval, and the grade level closest to the previously determined initial grade level is determined among the grade levels corresponding to the first and second grade division intervals, and the grade division interval corresponding to this determined grade level is determined as the target grade division interval.
[0040] For example, suppose the export quality score is 70. This score falls within the overlapping area of the "poor" and "average" grade ranges. Let's assume the "poor" range is the first grade range and the "average" range is the second grade range. If the previously determined initial score was "poor," and the closest score to that score is within the first grade range, then that range can be designated as the target grade range. Similarly, if the previously determined initial score was "excellent," and the closest score is within the second grade range, then that range can be designated as the target grade range.
[0041] This application sets adjacent grade division intervals to have overlapping areas. When the exit quality score is located in the overlapping area of the first grade division interval and the second grade division interval, the target grade division interval can be determined in the first grade division interval and the second grade division interval based on the previously determined initial score level. By providing a buffer area for different score levels through the overlapping area between grade division intervals, the fluctuation of the exit quality score near the boundary of adjacent grade division intervals can be effectively suppressed, which may lead to frequent jumps in the initial score level. This avoids misjudgment of exit scheduling caused by fluctuations in the initial score level and improves the stability and robustness of traffic exit quality assessment.
[0042] S230: Add the initial rating level to the first rating queue of the first manager, and determine the first rating level based on the first number of initial rating levels recorded in the first rating queue. The first number is equal to the queue length of the first rating queue.
[0043] In one possible embodiment, the method for assessing the quality of traffic exits in data transmission provided in this application, which determines a first rating level based on a first number of initial rating levels recorded in a first rating queue, may include: S231: Add the first number of initial rating levels recorded in the first rating queue as the first container element to the corresponding first level container, wherein different first level containers correspond to different rating levels, and the total number of first container elements is consistent with the queue length of the first rating queue.
[0044] S232: Determine the first ratio of the first container element in each first-level container to the first container element in all first-level containers.
[0045] S233: Based on the largest first ratio and the preset first level transition ratio, determine the first rating level from the rating level corresponding to the largest first ratio and the previously determined first rating level.
[0046] In one embodiment, a manager can be used to manage the rating queues. The manager is also used to manage the level containers corresponding to different rating levels. The level containers include a first-level container corresponding to a first rating queue and a second-level container corresponding to a second rating queue. The number of level containers in a manager is the same as the number of rating levels. For example, when the rating levels are divided into five rating levels: very poor, poor, average, good, and excellent, the manager is configured with five level containers, which are used to record the container elements corresponding to different rating levels. That is, the five level containers correspond to the five rating levels: very poor, poor, average, good, and excellent.
[0047] In this system, different first-level containers correspond to different rating levels, and the total number of elements in the first container is consistent with the queue length of the first rating queue. Similarly, different second-level containers correspond to different rating levels, and the total number of elements in the second container is consistent with the queue length of the second rating queue. The manager may include a first manager (short-term manager) and a second manager (long-term manager). The first manager can be used to manage the first rating queue and the first-level containers, while the second manager can be used to manage the second rating queue and the second-level containers. The manager provided in this application can also be used to manage preset rating transition ratios and the previously determined rating level (first rating level or second rating level). The rating transition ratio provided in this application can be used to determine whether to change the previously determined rating level (including the first rating level and the second rating level). The first rating transition ratio corresponding to the first manager and the second rating transition ratio corresponding to the second manager can be the same or different. The rating transition ratio can be set to be greater than 50%, for example, setting the rating transition ratio to 80%.
[0048] For example, the first number of initial rating levels recorded in the first rating queue are added as first container elements to the corresponding first level container. Adding the first container element to the corresponding first level container means adding the first container element to the first level container corresponding to the initial rating level. For example, if the initial rating level is "good", the initial rating level can be added as the first container element to the first level container corresponding to "good".
[0049] Optionally, each time an initial rating level is added to the first rating queue, the initial rating level can be added as a first container element to the corresponding first-level container. Optionally, before adding a new first container element to the first-level container, if the total number of first container elements recorded in all first-level containers has not reached a first number, the new first container element is directly added to the first-level container; if the total number of first container elements recorded in all first-level containers has reached the first number, the first first container element added to all first-level containers is first removed (only one first container element is removed from all first-level containers), and then the new first container element is added to the first-level container.
[0050] In one embodiment, the number of first container elements in each first-level container and the total number of first container elements in all first-level containers are determined. For each first-level container, the ratio of the number of first container elements to the total number is calculated, and this ratio is determined as the first ratio for the corresponding first-level container.
[0051] The largest of multiple first ratios is determined. Based on the largest first ratio and a preset first-level transition ratio, a first rating level is determined from the rating level corresponding to the largest first ratio and the previously determined first rating level. For example, if the currently determined largest first ratio is greater than the first-level transition ratio, the rating level corresponding to the currently determined largest first ratio can be determined as the first rating level; if the currently determined largest first ratio is less than or equal to the first-level transition ratio, the previously determined first rating level can be determined as the current first rating level.
[0052] This application adds a first number of initial rating levels recorded in the first rating queue as first container elements to the corresponding first level container, determines the first ratio of the first container elements in each first level container to the first container elements in all first level containers, and determines the first rating level based on the maximum first ratio and a preset first level transition ratio, between the rating level corresponding to the maximum first ratio and the previously determined first rating level. The level container facilitates the management of initial rating levels and the determination of the first rating level. Furthermore, when there is a first level container whose first ratio exceeds the first level transition ratio, the first rating level is updated to the rating level corresponding to that first level container; otherwise, the previously determined first rating level is maintained. This effectively reduces the decrease in the stability of traffic outflow quality assessment due to fluctuations in initial rating levels, and improves the stability and robustness of traffic outflow quality assessment.
[0053] S240: Add the initial rating level to the second rating queue of the second manager, and determine the second rating level based on the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number.
[0054] In one possible embodiment, the method for assessing the quality of data transmission outflow provided in this application, which determines a second rating level based on a second number of initial rating levels recorded in a second rating queue, may include: S241: Add the second number of initial rating levels recorded in the second rating queue as second container elements to the corresponding second level container, wherein different second level containers correspond to different rating levels, and the total number of second container elements is consistent with the queue length of the second rating queue.
[0055] S242: Determine the second ratio of the second container element in each second-level container to the second container element in all second-level containers.
[0056] S243: Based on the largest second ratio and the preset second level transition ratio, determine the second rating level from the rating level corresponding to the largest second ratio and the previously determined second rating level.
[0057] For example, the second number of initial rating levels recorded in the second rating queue are added as second container elements to the corresponding second level container. Adding the second container element to the corresponding second level container means adding the second container element to the second level container corresponding to the initial rating level. For example, if the initial rating level is "good," the initial rating level can be added as a second container element to the second level container corresponding to "good."
[0058] Optionally, each time an initial rating level is added to the second rating queue, the initial rating level can be added as a second container element to the corresponding second-level container. Optionally, before adding a new second container element to the second-level container, if the total number of second container elements recorded in all second-level containers has not reached the second number, the new second container element is directly added to the second-level container; if the total number of second container elements recorded in all second-level containers has reached the second number, the first second container element added to all second-level containers is removed (only one second container element is removed from all second-level containers), and then the new second container element is added to the second-level container.
[0059] In one embodiment, the number of second container elements in each second-level container and the total number of second container elements in all second-level containers are determined. For each second-level container, the ratio of the number of second container elements to the total number is calculated, and this ratio is determined as the second ratio for the corresponding second-level container.
[0060] The largest of several second ratios is determined. Based on the largest second ratio and a preset second-level transition ratio, a second rating level is determined from the rating level corresponding to the largest second ratio and the previously determined second rating level. For example, if the currently determined largest second ratio is greater than the second-level transition ratio, the rating level corresponding to the currently determined largest second ratio can be determined as the second rating level; if the currently determined largest second ratio is less than or equal to the second-level transition ratio, the previously determined second rating level can be determined as the current second rating level.
[0061] This application adds the second number of initial rating levels recorded in the second rating queue as second container elements to the corresponding second level container. It determines the second ratio of the second container elements in each second level container to the second container elements in all second level containers. Based on the largest second ratio and the preset second level transition ratio, it determines the second rating level from the rating level corresponding to the largest second ratio and the previously determined second rating level. The level container facilitates the management of the initial rating level and the determination of the second rating level. Furthermore, when there is a second level container whose second ratio exceeds the second level transition ratio, the second rating level is updated to the rating level corresponding to that second level container. Otherwise, the previously determined second rating level is maintained. This effectively reduces the decrease in the stability of traffic outflow quality assessment due to fluctuations in the initial rating level, and improves the stability and robustness of traffic outflow quality assessment.
[0062] S250: Determine the target rating level of the flow outlet to be detected based on the first rating level and the second rating level.
[0063] In one possible embodiment, the traffic egress quality assessment method for data transmission provided in this application, which determines the target score level of the traffic egress to be detected based on a first score level and a second score level, includes: S251: If the first rating level is lower than the previously determined target rating level, the first rating level shall be determined as the target rating level of the traffic outlet to be detected.
[0064] S252: If the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is greater than the previously determined target rating level, the second rating level shall be determined as the target rating level of the traffic outlet to be detected.
[0065] S253: If the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is less than or equal to the previously determined target rating level, the previously determined target rating level shall be determined as the target rating level of the traffic outlet to be detected.
[0066] For example, after determining the first rating level and the second rating level, the first rating level and the second rating level are compared with the previously determined target rating level. When the first rating level is lower than the previously determined target rating level, it can be considered that the traffic outlet to be detected is in a quality degradation stage, and the first rating level can be determined as the target rating level of the traffic outlet to be detected, so that the traffic outlet scheduling system can quickly detect the traffic outlet anomaly and respond accordingly.
[0067] When the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is greater than the previously determined target rating level, the traffic outlet to be detected can be considered to be in a quality improvement phase. The second rating level can be determined as the target rating level of the traffic outlet to be detected, so that the traffic outlet scheduling system can detect the stable improvement of the traffic outlet over a long period of time and schedule more user traffic.
[0068] If neither of the above two conditions is met, i.e., the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is less than or equal to the previously determined target rating level, then the previously determined target rating level will be set as the target rating level for the traffic outlet to be detected. This will reduce the frequent switching of traffic outlets due to fluctuations in outlet quality ratings and improve the stability of traffic outlet scheduling.
[0069] This application determines the target score level of the traffic outlet to be detected by comparing the first score level and the second score level with the previously determined target score level. This can effectively combine the short-term sensitivity and long-term stability of traffic outlet quality, effectively balance the timeliness and stability of traffic outlet scheduling response, and prevent frequent and ineffective traffic outlet scheduling caused by fluctuations in outlet quality scores.
[0070] The above describes a method that adds the initial rating levels of the traffic exits to be detected to the first rating queue of the first manager and the second rating queue of the second manager, respectively. The first rating level is determined based on a first number of initial rating levels recorded in the first rating queue, and the second rating level is determined based on a second number of initial rating levels recorded in the second rating queue. A target rating level for the traffic exit is then determined based on both the first and second rating levels. The first number is equal to the queue length of the first rating queue, the second number is equal to the queue length of the second rating queue, and the first number is less than the second number. The target rating level determined based on the first and second rating levels takes into account the distribution of traffic exit quality over different time periods. Therefore, the evaluation of traffic exit quality no longer depends on a single rating level, effectively solving the technical problem of drastic fluctuations in exit quality ratings leading to poor traffic exit scheduling stability. This reduces fluctuations in exit quality ratings and improves the stability of traffic exit scheduling. Meanwhile, by determining the initial rating level based on the target level interval corresponding to the export quality score, the initial rating level can be accurately determined, ensuring the correct assessment of traffic export quality. Combining the short-term sensitivity and long-term stability of traffic export quality, the timeliness and stability of traffic export scheduling response can be effectively balanced, preventing frequent and ineffective traffic export scheduling due to fluctuations in export quality scores.
[0071] Figure 3 A schematic diagram of a data transmission outflow quality assessment device provided in an embodiment of this application is given. (Reference) Figure 3 The data transmission outflow quality assessment device includes an initial rating module 31, a first timeliness module 32, a second timeliness module 33, and a rating determination module 34.
[0072] The initial rating module 31 is configured to determine the initial rating level of the traffic outlet to be detected; the first timeliness module 32 is configured to add the initial rating level to the first rating queue of the first manager, and determine the first rating level based on the first number of initial rating levels recorded in the first rating queue, wherein the first number is equal to the queue length of the first rating queue; the second timeliness module 33 is configured to add the initial rating level to the second rating queue of the second manager, and determine the second rating level based on the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number; the rating determination module 34 is configured to determine the target rating level of the traffic outlet to be detected based on the first rating level and the second rating level.
[0073] The above describes a method that adds the initial rating levels of the traffic exits to be detected to the first rating queue of the first manager and the second rating queue of the second manager, respectively. The first rating level is determined based on a first number of initial rating levels recorded in the first rating queue, and the second rating level is determined based on a second number of initial rating levels recorded in the second rating queue. A target rating level for the traffic exit is then determined based on both the first and second rating levels. The first number is equal to the queue length of the first rating queue, the second number is equal to the queue length of the second rating queue, and the first number is less than the second number. The target rating level determined based on the first and second rating levels takes into account the distribution of traffic exit quality over different time periods. Therefore, the evaluation of traffic exit quality no longer depends on a single rating level, effectively solving the technical problem of drastic fluctuations in exit quality ratings leading to poor traffic exit scheduling stability. This reduces fluctuations in exit quality ratings and improves the stability of traffic exit scheduling.
[0074] In one possible embodiment, the initial rating module 31 determines the initial rating level of the traffic outlet to be detected, configured as follows: Determine the outlet quality score of the flow rate to be detected; Among multiple preset grading intervals, the target grading interval corresponding to the export quality score is determined, where different grading intervals correspond to different scoring levels; The initial rating level is determined based on the rating level corresponding to the interval of the target level.
[0075] In one possible embodiment, there is an overlapping area between adjacent grade division intervals; Accordingly, the initial rating module 31 determines the target rating interval corresponding to the export quality score from multiple preset rating intervals, configured as follows: If the export quality score is located in the overlapping area of the first-level and second-level classification intervals, the target-level classification interval is determined in the first-level and second-level classification intervals based on the previously determined initial score level.
[0076] In one possible embodiment, the first timeliness module 32 determines the first rating level based on the first number of initial rating levels recorded in the first rating queue, configured as follows: The first number of initial rating levels recorded in the first rating queue are added as the first container elements to the corresponding first level container. Different first level containers correspond to different rating levels, and the total number of first container elements is consistent with the queue length of the first rating queue. Determine the first container element in each first-level container and the first container element of all first-level containers; Based on the largest first ratio and the preset first level transition ratio, the first rating level is determined from the rating level corresponding to the largest first ratio and the previously determined first rating level.
[0077] In one possible embodiment, the second timeliness module 33 determines the second rating level based on the second number of initial rating levels recorded in the second rating queue, configured as follows: The second number of initial rating levels recorded in the second rating queue are added as second container elements to the corresponding second level container. Different second level containers correspond to different rating levels, and the total number of second container elements is consistent with the queue length of the second rating queue. Determine the second ratio between the second container element in each second-level container and the second container element in all second-level containers; Based on the largest second ratio and the preset second-level transition ratio, the second rating level is determined from the rating level corresponding to the largest second ratio and the previously determined second rating level.
[0078] In one possible embodiment, the rating determination module 34 determines the target rating level of the traffic outlet to be detected based on the first rating level and the second rating level, configured as follows: If the first rating level is lower than the previously determined target rating level, the first rating level will be determined as the target rating level for the traffic outlet to be detected. If the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is greater than the previously determined target rating level, the second rating level will be determined as the target rating level for the traffic outlet to be detected. If the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is less than or equal to the previously determined target rating level, the previously determined target rating level shall be determined as the target rating level of the traffic outlet to be detected.
[0079] In one possible embodiment, the traffic outflow quality assessment device in data transmission further includes a scheduling processing module configured to schedule traffic outflows based on a target rating level.
[0080] It is worth noting that in the embodiments of the traffic outflow quality assessment device in the above data transmission, the various units and modules included are only divided according to functional logic, but are not limited to the above division, as long as the corresponding functions can be achieved; in addition, the specific names of each functional unit are only for easy differentiation and are not used to limit the protection scope of the embodiments of this application.
[0081] This application also provides a data transmission outflow quality assessment device, which can integrate the data transmission outflow quality assessment apparatus provided in this application. Figure 4 This is a schematic diagram of a data transmission outflow quality assessment device provided in an embodiment of this application. (Reference) Figure 4 The data transmission outflow quality assessment device includes: an input device 43, an output device 44, a memory 42, and one or more processors 41; the memory 42 is used to store one or more programs; when one or more programs are executed by one or more processors 41, the one or more processors 41 implement the data transmission outflow quality assessment method provided in the above embodiments. The data transmission outflow quality assessment device, equipment, and computer provided above can be used to execute the data transmission outflow quality assessment method provided in any of the above embodiments, and have corresponding functions and beneficial effects.
[0082] This application also provides a non-volatile storage medium storing computer-executable instructions. When executed by a computer processor, these computer-executable instructions are used to perform the data transmission outflow quality assessment method provided in the above embodiments. Of course, the computer-executable instructions provided in this application are not limited to the data transmission outflow quality assessment method provided above; they can also perform related operations in the data transmission outflow quality assessment method provided in any embodiment of this application. The data transmission outflow quality assessment apparatus, device, and storage medium provided in the above embodiments can execute the data transmission outflow quality assessment method provided in any embodiment of this application. Technical details not described in detail in the above embodiments can be found in the data transmission outflow quality assessment method provided in any embodiment of this application.
[0083] Based on the above embodiments, this application also provides a computer program product. The technical solution of this application, in essence or in other words, the part that contributes to the prior art, or all or part of the technical solution, can be embodied in the form of a software product. The computer program product is stored in a storage medium and includes several instructions to cause a computer device, mobile terminal, or processor therein to execute all or part of the steps of the data transmission traffic outflow quality assessment method provided in the various embodiments of this application.
Claims
1. A method for evaluating the quality of data transmission outflow, characterized in that, include: Determine the initial rating level of the flow outlet to be detected; The initial rating level is added to the first rating queue of the first manager, and the first rating level is determined according to the first number of initial rating levels recorded in the first rating queue, wherein the first number is equal to the queue length of the first rating queue. The initial rating level is added to the second rating queue of the second manager, and the second rating level is determined according to the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number; The target rating level of the traffic outlet to be detected is determined based on the first rating level and the second rating level.
2. The method for evaluating the quality of data transmission outflow according to claim 1, characterized in that, The determination of the initial rating level for the traffic outlet to be detected includes: Determine the outlet quality score of the flow rate to be detected; The target grade division interval corresponding to the export quality score is determined from multiple preset grade division intervals, wherein different grade division intervals correspond to different score levels; The initial rating level is determined based on the rating level corresponding to the target rating interval.
3. The method for evaluating the quality of data transmission outflow according to claim 2, characterized in that, There are overlapping areas between adjacent grade division intervals; Accordingly, determining the target grade division interval corresponding to the export quality score among multiple preset grade division intervals includes: If the export quality score is located in the overlapping area of the first grade division interval and the second grade division interval, the target grade division interval is determined in the first grade division interval and the second grade division interval based on the previously determined initial score level.
4. The method for evaluating the quality of data transmission outflow according to claim 1, characterized in that, The step of determining the first rating level based on the first number of initial rating levels recorded in the first rating queue includes: The first number of initial rating levels recorded in the first rating queue are added as first container elements to the corresponding first level container, wherein different first level containers correspond to different rating levels, and the total number of first container elements is consistent with the queue length of the first rating queue. Determine the first ratio between the first container element in each of the first-level containers and the first container elements in all the first-level containers; Based on the largest first ratio and the preset first level transition ratio, the first rating level is determined from the rating level corresponding to the largest first ratio and the previously determined first rating level.
5. The method for evaluating the quality of data transmission outflow according to claim 1, characterized in that, The step of determining the second rating level based on the second number of initial rating levels recorded in the second rating queue includes: The second number of initial rating levels recorded in the second rating queue are added as second container elements to the corresponding second level container, wherein different second level containers correspond to different rating levels, and the total number of second container elements is consistent with the queue length of the second rating queue. Determine the second ratio between the second container element in each of the second-level containers and the second container elements in all the second-level containers; Based on the largest second ratio and the preset second level transition ratio, the second rating level is determined from the rating level corresponding to the largest second ratio and the previously determined second rating level.
6. The method for evaluating the quality of data transmission outflow according to claim 1, characterized in that, Determining the target rating level of the traffic outlet to be detected based on the first rating level and the second rating level includes: If the first rating level is lower than the previously determined target rating level, the first rating level is determined as the target rating level of the traffic outlet to be detected. If the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is greater than the previously determined target rating level, then the second rating level is determined as the target rating level of the traffic outlet to be detected. If the first rating level is greater than or equal to the previously determined target rating level, and the second rating level is less than or equal to the previously determined target rating level, then the previously determined target rating level is determined as the target rating level of the traffic outlet to be detected.
7. The method for evaluating the quality of data transmission outflow according to any one of claims 1-6, characterized in that, After determining the target rating level of the traffic outlet to be detected based on the first rating level and the second rating level, the method further includes: Traffic outbound scheduling is performed based on the target rating level.
8. A device for evaluating the quality of data transmission output, characterized in that, It includes an initial rating module, a first timeframe module, a second timeframe module, and a rating determination module, wherein: The initial rating module is configured to determine the initial rating level of the traffic outlet to be detected; The first timeliness module is configured to add the initial rating level to the first rating queue of the first manager, and determine the first rating level based on the first number of initial rating levels recorded in the first rating queue, wherein the first number is equal to the queue length of the first rating queue. The second timeliness module is configured to add the initial rating level to the second rating queue of the second manager, and determine the second rating level based on the second number of initial rating levels recorded in the second rating queue, wherein the second number is equal to the queue length of the second rating queue, and the first number is less than the second number; The rating determination module is configured to determine the target rating level of the traffic outlet to be detected based on the first rating level and the second rating level.
9. A device for assessing the quality of data transmission output, characterized in that, include: Memory and one or more processors; The memory is used to store one or more programs; When the one or more programs are executed by the one or more processors, the one or more processors implement the traffic outflow quality assessment method for data transmission as described in any one of claims 1-7.
10. A non-volatile storage medium for storing computer-executable instructions, characterized in that, The computer-executable instructions, when executed by a computer processor, are used to perform the traffic outflow quality assessment method for data transmission as described in any one of claims 1-7.
11. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by the processor, it implements the method for evaluating the quality of data transmission outflow as described in any one of claims 1-7.