CN114338447A - Full link pressure measurement method and device in Radius environment, computer equipment and storage medium - Google Patents

Full link pressure measurement method and device in Radius environment, computer equipment and storage medium Download PDF

Info

Publication number
CN114338447A
CN114338447A CN202111636521.2A CN202111636521A CN114338447A CN 114338447 A CN114338447 A CN 114338447A CN 202111636521 A CN202111636521 A CN 202111636521A CN 114338447 A CN114338447 A CN 114338447A
Authority
CN
China
Prior art keywords
pressure measurement
flow
link
test
pressure
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202111636521.2A
Other languages
Chinese (zh)
Inventor
江艳
陈鑫远
詹振辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Tianyi IoT Technology Co Ltd
Original Assignee
Tianyi IoT Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tianyi IoT Technology Co Ltd filed Critical Tianyi IoT Technology Co Ltd
Priority to CN202111636521.2A priority Critical patent/CN114338447A/en
Publication of CN114338447A publication Critical patent/CN114338447A/en
Priority to PCT/CN2022/141328 priority patent/WO2023125272A1/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Investigating Strength Of Materials By Application Of Mechanical Stress (AREA)
  • Measuring Volume Flow (AREA)

Abstract

The embodiment of the invention discloses a method and a device for full link pressure measurement in a Radius environment, computer equipment and a storage medium, wherein the method comprises the following steps: confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines; creating a mirror table library of a normal service table library to obtain a mirror table library of the normal service table library; jointly adjusting test flow to carry out the pressure test on the target link, wherein the test flow comprises normal flow and pressure test flow; storing normal data generated by the normal flow in the pressure measurement process into the normal service table library, and storing pressure measurement data generated by the pressure measurement flow into the shadow table library; and acquiring performance data of a downstream system in the target link in real time, and judging whether to interrupt the pressure measurement according to the performance data. The invention can realize the full link pressure measurement on line and improve the accuracy of the pressure measurement.

Description

Full link pressure measurement method and device in Radius environment, computer equipment and storage medium
Technical Field
The invention relates to the technical field of Internet of things, in particular to a full link pressure measurement method and device in a Radius environment, computer equipment and a storage medium.
Background
User Remote Authentication Dial In User Service (RADIUS) provides Authentication, authorization, charging and other services for users, and is widely used In the scenes of machine-card binding, User internet surfing and the like. With the continuous expansion of the internet of things, the number of users is increased, and the scale and complexity of the internet of things are further increased, so that it is more and more important to ensure that the RADIUS can operate stably.
In order to ensure that the RADIUS can stably operate, pressure measurement needs to be performed in a RADIUS environment, a current pressure measurement method generally performs pressure measurement on a single node in a node-by-node and service-by-service scene, namely, a request for manufacturing a service node 1 is performed first, then a request for splicing a node 2 is performed through a collected result that the request for the node 1 falls into a database, time intervals for pressure measurement among 2 nodes are uncertain, and a plurality of nodes cannot be simultaneously pressure-measured, which is contrary to an actual pressure measurement result. Meanwhile, the performance of the whole link cannot be accurately expressed by the test of a single node, in practical application, a plurality of links are generally connected in series and work simultaneously, the test of the single node cannot detect the condition when the plurality of links work simultaneously, and when the plurality of links operate simultaneously, the whole link is crashed as long as one link is hung.
Disclosure of Invention
The embodiment of the invention provides a method and a device for testing a full link under a Radius environment, computer equipment and a storage medium, which can not only test the full link on line without interrupting a normally running service, but also interrupt the pressure test at any time according to performance data of a downstream system so as to ensure the normal running of the service.
In a first aspect, an embodiment of the present invention provides a full link pressure measurement method in a Radius environment, where the method includes:
confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines;
creating a mirror table library of a normal service table library to obtain a mirror table library of the normal service table library;
jointly adjusting test flow to carry out the pressure test on the target link, wherein the test flow comprises normal flow and pressure test flow;
storing normal data generated by the normal flow in the pressure measurement process into the normal service table library, and storing pressure measurement data generated by the pressure measurement flow into the shadow table library;
and acquiring performance data of a downstream system in the target link in real time, and judging whether to interrupt the pressure measurement according to the performance data.
In a second aspect, an embodiment of the present invention further provides a full link pressure measurement apparatus in a Radius environment, where the apparatus includes:
the target link confirmation unit is used for confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines;
the system comprises a first establishing unit, a second establishing unit and a third establishing unit, wherein the first establishing unit is used for establishing a mirror table library of a normal business table library so as to obtain the mirror table library of the normal business table library;
the first testing unit is used for jointly adjusting testing flow to carry out the pressure testing on the target link, wherein the testing flow comprises normal flow and pressure testing flow;
the first memory cell, is used for storing the normal data produced by said normal flowrate in the course of pressing and measuring into said normal business table storehouse, store the pressure measuring data produced by said pressure measuring flowrate into said shadow table storehouse;
and the first real-time acquisition unit is used for acquiring the performance data of a downstream system in the target link in real time and judging whether to interrupt the pressure measurement according to the performance data.
In a third aspect, an embodiment of the present invention further provides a computer device, which includes a memory and a processor, where the memory stores a computer program, and the processor implements the above method when executing the computer program.
In a fourth aspect, the present invention also provides a computer-readable storage medium, which stores a computer program, and the computer program can implement the above method when being executed by a processor.
The embodiment of the invention provides a full link pressure measurement method and device in a Radius environment, computer equipment and a storage medium. Wherein the method comprises the following steps: confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines; creating a mirror table library of a normal service table library to obtain a mirror table library of the normal service table library; jointly adjusting test flow to carry out the pressure test on the target link, wherein the test flow comprises normal flow and pressure test flow; storing normal data generated by the normal flow in the pressure measurement process into the normal service table library, and storing pressure measurement data generated by the pressure measurement flow into the shadow table library; and acquiring performance data of a downstream system in the target link in real time, and judging whether to interrupt the pressure measurement according to the performance data. The embodiment of the invention can confirm the target link according to the preset pressure measurement target, and the target link is formed by integrating all core links needing pressure measurement, therefore, the core links needing to be subjected to pressure measurement can be simultaneously subjected to pressure measurement, normal data generated by normal flow is stored into a normal service table library, pressure measurement data generated by pressure measurement flow is stored into a shadow table library, thereby ensuring that the whole service system can normally run when in pressure measurement, realizing on-line pressure measurement, and simultaneously, the performance data in the downstream system can be detected in real time in the pressure measurement process, whether the pressure measurement needs to be interrupted or not is judged according to the performance data, the condition that the downstream system is damaged to influence the operation of normal service is avoided, by the method, the operation of normal service is not influenced while the on-line full-link voltage measurement is carried out, and higher test precision can be obtained.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the following description are some embodiments of the present invention, and it is obvious for those skilled in the art to obtain other drawings based on these drawings without creative efforts.
Fig. 1 is a schematic flowchart of a full link pressure measurement method in a Radius environment according to an embodiment of the present invention;
fig. 2 is a schematic block diagram of a full link pressure measurement method in a Radius environment according to an embodiment of the present invention;
fig. 3 is a schematic block diagram of a full link pressure measurement apparatus in a Radius environment according to an embodiment of the present invention;
FIG. 4 is a schematic block diagram of a computer device provided by an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are some, not all, embodiments of the present invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
It will be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, operations, elements, components, and/or groups thereof.
It is also to be understood that the terminology used in the description of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention. As used in the specification of the present invention and the appended claims, the singular forms "a," "an," and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should be further understood that the term "and/or" as used in this specification and the appended claims refers to and includes any and all possible combinations of one or more of the associated listed items.
Referring to fig. 1 and fig. 2, fig. 1 is a schematic flow chart of a full link pressure measurement method in a Radius environment according to an embodiment of the present invention, and fig. 2 is a schematic block diagram of the full link pressure measurement method in the Radius environment according to the embodiment of the present invention. The full link voltage measuring method under the Radius environment is applied to any computer equipment. As shown in fig. 1, the method includes steps S110 to S150.
S110, confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises core links of a plurality of different service lines.
In the embodiment of the present invention, before performing the pressure measurement, it is necessary to comb the entire service system architecture, for example, the request link from one end to another end, the related technical architecture, the hierarchical structure, the module division, and the usage of the middleware such as message, cache, and database, meanwhile, a full link core service model of the whole service system is required to be combed, a core link required to be subjected to pressure measurement is determined, wherein, each core link needs to construct more parameter sets, different parameter sets represent different behaviors of different users, meanwhile, the link range of the core link, the access magnitude of the link and the basic data are required to be confirmed, so that the condition of the core link which needs to be subjected to pressure measurement can be mastered initially, so that the user can conveniently set the pressure measurement strategy and the pressure measurement purpose, and the preset pressure measurement target comprises all the information. Therefore, the target link needing to be subjected to pressure measurement is obtained by analyzing the preset pressure measurement target so as to be convenient for preparation of pressure measurement.
As shown in fig. 2, a service 1, a service 2, and a service 3 respectively have one link to a streaming log system, a log acquisition module, and a real-time/offline calculation module, and a framework composed of the log system, the log acquisition module, and the real-time/offline calculation module has two links to a performance analysis module and a log alarm module, respectively. During pressure measurement, test traffic enters service 1, service 2, and service 3 from the Request in fig. 2, and flows into service 1, service 2, and service 3 according to a preconfigured traffic ratio, for example, the traffic ratios of service 1, service 2, and service 3 are 1:3:6, respectively, so that pressure measurement traffic in all test traffic flows into service 1, service 2, and service 3 according to the traffic ratios. In addition, because the whole pressure measurement is carried out in the normal operation of the service system, the normal flow respectively accesses the service 1, the service 2 and the service 3 under the condition of the normal operation of the service system, and the pressure measurement flow is increased on the basis of the normal flow, so that the test flow is formed for carrying out the pressure measurement. The pressure measurement flow rate into the corresponding service can be controlled by providing a pressure measurement switch in each of the service 1, the service 2, and the service 3.
In some embodiments, for example, in this embodiment, the method for full link pressure measurement in a Radius environment further includes the following steps: and obtaining a preset pressure measurement flow, and dyeing the preset pressure measurement flow to obtain the pressure measurement flow.
In the embodiment of the invention, in order to distinguish normal flow from pressure measurement flow, the pressure measurement flow can be dyed, so that each service system can conveniently identify the pressure measurement flow, and meanwhile, pressure measurement data obtained after the service system processes the dyed pressure measurement flow is also marked.
S120, creating a mirror table library of the normal service table library to obtain the mirror table library of the normal service table library.
In the embodiment of the invention, the full link pressure measurement is carried out on line, namely, the normal operation of the service system is ensured without influencing the normal data of the service system while the pressure measurement is carried out, and the normal operation of the service system is ensured by creating the shadow table library of the normal service table library to respectively store the normal data and the pressure measurement data.
And S130, jointly adjusting test flow to carry out pressure test on the target link, wherein the test flow comprises normal flow and pressure test flow.
In this embodiment of the present invention, the step 120 may further include the following steps:
jointly adjusting the test flow to carry out individual pressure test on each core link in the target link;
jointly adjusting the test flow to carry out integral pressure test on the target link;
wherein the step of jointly adjusting the test traffic to perform the individual pressure test on each core link in the target link may further include the steps of:
the testing flow of the joint debugging part carries out individual pressure testing on each core link in the target link;
jointly adjusting all the test flows to carry out individual pressure test on each core link in the target link;
the step of jointly adjusting the test traffic to integrally pressure-test the target link may include the steps of:
the test flow of the joint debugging part is used for carrying out integral pressure test on the target link;
and jointly adjusting all the test flows to carry out integral pressure test on the target link.
During the whole pressure measurement, the flow of joint debugging comprises pressure measurement flow and normal flow, the normal flow needs to return to a service system after the pressure measurement is finished, and the pressure measurement flow can be directly deleted after the test is finished, so that different flow marks can be marked on the normal flow and the pressure measurement flow respectively when the normal flow and the pressure measurement flow are jointly debugged, and the normal flow and the pressure measurement flow can be distinguished. When the target link is tested by the joint debugging test flow, the specific process is as follows: the test flow of the joint debugging part is firstly used for carrying out independent pressure test on each core link, namely whether each link can be normally accessed is tested through the small flow, after the small flow test on each core link is completed, all the test flow can be jointly debugged to carry out pressure test on each core link, and therefore the maximum load and relevant baseline data of a single core link under the conditions of no interference and no competition are tested. After the test of a single core link is finished, partial test flow can be further jointly adjusted to perform pressure test on the whole target link, so that whether the core links can normally access when concurrent access occurs is tested, finally, all the test flow is jointly adjusted, and then all the test flow is jointly adjusted to the corresponding core link according to the flow proportion of different core links, so that the resource consumption level and the bottleneck of different core links under the conditions of mutual interference and mutual competition are tested.
S140, storing normal data generated by the normal flow in the pressure measurement process into the normal service table library, and storing pressure measurement data generated by the pressure measurement flow into the shadow table library.
In the embodiment of the invention, the normal flow and the pressure measurement flow have respective flow marks, the normal flow and the pressure measurement flow can be distinguished through the flow marks, the normal flow is stored in the normal service table library, and the pressure measurement flow is stored in the shadow table library, so that the shadow table library is deleted after the pressure measurement is finished. And the pressure measurement data obtained after the dyed pressure measurement flow is processed by the service system is marked to be distinguished from normal data.
S150, collecting performance data of a downstream system in the target link in real time, and judging whether to interrupt the pressure measurement according to the performance data.
In this embodiment of the present invention, the step S150 may include the following steps:
acquiring the call success rate and the time delay index of a downstream interface in the downstream system in real time;
acquiring a preset calling success rate tolerable abnormal threshold and a preset time delay tolerable abnormal threshold, and judging whether to interrupt the pressure test according to the calling success rate, the size of the calling success rate tolerable abnormal threshold and the size of the time delay index and the size of the preset time delay tolerable abnormal threshold.
As shown in fig. 2, the downstream system may refer to a performance analysis module and a log alarm module, and the downstream interface refers to an interface between a frame composed of a streaming log system, a log collection module, and a real-time/offline calculation module, and the performance analysis module and the log alarm module. And judging whether the current corresponding frame is abnormal or not by acquiring the call success rate and the time delay index of the downstream interface in real time. The preset tolerable exception threshold for call success rate and the preset tolerable exception threshold for delay are set by a user, for example, the tolerable exception threshold for call success rate is 99%, and the tolerable exception threshold for delay is 40ms, so that when the success rate of the data of the streaming log system called by the performance analysis framework is greater than 99% and the delay of the data called is less than 40ms, the performance analysis framework is in a normal state and does not reach full-load operation yet. Otherwise, it indicates that the performance framework is abnormal, and the pressure measurement needs to be interrupted or the pressure measurement flow entering the service 1, the service 2 or the service 3 needs to be reduced to avoid the performance analysis framework from being problematic.
In some embodiments, for example, in this embodiment, the preset call success rate tolerable exception threshold includes a call success rate first threshold and a call success rate second threshold, the preset delay tolerable exception threshold includes a delay first threshold and a delay second threshold, and the step of determining whether to interrupt the pressure measurement according to the call success rate and the call success rate tolerable exception threshold, and the delay indicator and the preset delay tolerable exception threshold includes the following steps:
if the calling success rate is smaller than the calling success rate first threshold and larger than the calling success rate second threshold, and the time delay index is larger than the time delay first threshold and smaller than the time delay second threshold, reducing the pressure measurement flow to reduce the pressure of the downstream system;
if the calling success rate is smaller than a second calling success rate threshold and the delay index is larger than the second delay threshold, confirming a core link corresponding to the downstream interface;
and closing a preset pressure measurement switch in the core link to prevent the pressure measurement flow from entering the core link.
In the embodiment of the present invention, the first calling success rate threshold may be 99.9%, the second calling success rate threshold may be 99%, the first delay threshold may be 40ms, and the second delay threshold may be 50ms, if the calling success rate of the performance analysis frame in the service 1 is between 99% and 99.9%, and the delay index is between 40ms and 50ms, it indicates that the performance analysis frame is in an abnormal state, and it is necessary to reduce the pressure measurement flow entering the service 1, and if the calling success rate is below 99%, and the delay index is above 50ms, it indicates that the performance analysis frame has overloaded and operated, and it is necessary to interrupt pressure measurement, or close the pressure measurement flow entering the service 1. The pressure measurement switch arranged in each service can control the pressure measurement flow to enter the corresponding service so as to ensure that the normal operation of the whole service system is not influenced.
In order to further accurately identify whether the downstream interface of the downstream system runs at full load, the call success rate and the time delay index of the downstream system are dynamically identified whether to have severe changes through a mobile average method, so as to judge whether to interrupt pressure measurement or reduce the pressure measurement flow entering the downstream system. The specific process is as follows: provided with N at the same timeiIf the individual pressure measurement sends a request concurrently, the corresponding call success rate is CiThe delay index is TiIf the sliding window size is M, the call success rate C can be updated by moving the sliding window MiMoving average of
Figure BDA0003442233400000081
And moving standard deviation of call success rate Ci
Figure BDA0003442233400000082
The specific calculation formula is as follows:
Figure BDA0003442233400000083
Figure BDA0003442233400000084
the moving average of the time delay index can be obtained in the same way
Figure BDA0003442233400000091
And moving standard deviation
Figure BDA0003442233400000092
When in use
Figure BDA0003442233400000093
And is
Figure BDA0003442233400000094
And is
Figure BDA0003442233400000095
Figure BDA0003442233400000096
Then, the pressure measurement data is reduced to enter the corresponding service; when in use
Figure BDA0003442233400000097
And is
Figure BDA0003442233400000098
Or
Figure BDA0003442233400000099
And at the moment, closing the pressure measurement switch corresponding to the service, wherein a is a first calling success rate threshold, aa is a second calling success rate threshold, b is a first time delay threshold, and bb is a second time delay threshold.
In some embodiments, for example, in this embodiment, the method for full link pressure measurement in a Radius environment further includes the following steps: monitoring the performance of all hardware equipment involved in the pressure measurement process in real time to obtain performance index data of the hardware equipment; and monitoring the consumed time of processing the test flow by each service node in the pressure measurement process in real time to obtain a time index.
In the embodiment of the present invention, the hardware device refers to a computer or other devices, and the performance index data may be states of indexes such as a CPU, a memory, and a disk of the computer device, for example, a CPU utilization rate, a memory utilization rate, a disk utilization rate, and the like. As shown in fig. 2, after receiving the test traffic, the performance analysis framework needs to call the CPU, the memory, and the disk to process the received test traffic, and the performance analysis module can process the CPU utilization, the memory utilization, and the disk utilization of the received traffic, and the time consumed by the whole processing process, so that it is convenient to accurately know which aspect to optimize from when optimizing.
Fig. 3 is a schematic block diagram of a full link pressure measurement apparatus 100 in a Radius environment according to an embodiment of the present invention. As shown in fig. 3, the present invention further provides a full link voltage measuring apparatus 100 in the Radius environment, corresponding to the above full link voltage measuring method in the Radius environment. The apparatus 100 for full link pressure measurement in Radius environment includes a unit for performing the method for full link pressure measurement in Radius environment. Specifically, referring to fig. 3, the full-link pressure testing apparatus 100 in the Radius environment includes a target link confirmation unit 110, a first creation unit 120, a first testing unit 130, a first storage unit 140, and a first real-time acquisition unit 150.
The target link determining unit 110 is configured to determine, according to a preset pressure measurement target, a target link that needs to be subjected to pressure measurement, where the target link includes core links of multiple different service lines; the first creating unit 120 is configured to create a mirror table library of a normal service table library to obtain the mirror table library of the normal service table library; the first testing unit 130 is configured to jointly adjust a testing flow to perform the pressure testing on the target link, where the testing flow includes a normal flow and a pressure testing flow; the first storage unit 140 is configured to store normal data generated by the normal flow during the pressure measurement process into the normal service table library, and store pressure measurement data generated by the pressure measurement flow into the shadow table library; the first real-time acquisition unit 150 is configured to acquire performance data of a downstream system in the target link in real time, and determine whether to interrupt the pressure measurement according to the performance data.
In some embodiments, such as the present embodiment, the first test unit 130 includes a first test unit and a second test unit.
The first testing unit is used for jointly adjusting the testing flow to carry out individual pressure testing on each core link in the target link; and the second testing unit is used for jointly adjusting the testing flow to carry out integral pressure testing on the target link.
In some embodiments, such as the present embodiment, the first test unit includes a third test unit and a fourth test unit.
The third testing unit is used for jointly adjusting part of the testing flow to carry out individual pressure testing on each core link in the target link; the fourth testing unit is used for jointly adjusting all the testing traffic to carry out individual pressure testing on each core link in the target link.
In some embodiments, such as the present embodiment, the second test unit includes a fifth test unit and a sixth test unit.
The fifth testing unit is used for jointly adjusting part of the testing flow to carry out integral pressure testing on the target link; and the sixth test unit is used for jointly adjusting all the test flow to carry out integral pressure test on the target link.
In some embodiments, such as this embodiment, the first real-time acquisition unit 150 includes a second real-time acquisition unit and a first acquisition unit.
The second real-time acquisition unit is used for acquiring the call success rate and the time delay index of a downstream interface in the downstream system in real time; the first obtaining unit is configured to obtain a preset call success rate tolerable exception threshold and a preset time delay tolerable exception threshold, and determine whether to interrupt the pressure measurement according to the call success rate and the call success rate tolerable exception threshold and the time delay index and the preset time delay tolerable exception threshold.
In some embodiments, for example, in this embodiment, the preset call success rate tolerable exception threshold includes a first call success rate threshold and a second call success rate threshold, the preset delay tolerable exception threshold includes a first delay threshold and a second delay threshold, and the first obtaining unit includes a first processing unit, a first confirming unit, and a second processing unit.
The first processing unit is used for reducing the pressure measurement flow to reduce the pressure of the downstream system if the calling success rate is smaller than the calling success rate first threshold and larger than the calling success rate second threshold, and the time delay index is larger than the time delay first threshold and smaller than the time delay second threshold; the first confirming unit is used for confirming the core link corresponding to the downstream interface if the calling success rate is smaller than a second calling success rate threshold and the delay index is larger than the second delay threshold; the second processing unit is used for closing a preset pressure measurement switch in the core link to prevent the pressure measurement flow from entering the core link.
Another embodiment of the present invention further provides a full link pressure measurement apparatus in a Radius environment, where a second obtaining unit is added to the full link pressure measurement apparatus in the Radius environment of this embodiment based on the above embodiment.
The second acquisition unit is used for acquiring a preset pressure measurement flow and dyeing the preset pressure measurement flow to acquire the pressure measurement flow.
Another embodiment of the present invention further provides a full-link pressure measurement apparatus in a Radius environment, where a second real-time monitoring unit and a second real-time monitoring unit are added to the full-link pressure measurement apparatus in the Radius environment of this embodiment based on the above embodiments.
The second real-time monitoring unit is used for monitoring the performance of all hardware equipment involved in the pressure measurement process in real time to obtain performance index data of the hardware equipment; and the second real-time monitoring unit is used for monitoring the consumed time of processing the test flow by each service node in the pressure measurement process in real time to obtain a time index.
It should be noted that, as can be clearly understood by those skilled in the art, the specific implementation process of the full link pressure measurement apparatus and each unit in the Radius environment may refer to the corresponding description in the foregoing method embodiment, and for convenience and brevity of description, no further description is provided herein.
The above-mentioned full link pressure measurement apparatus in the Radius environment may be implemented in the form of a computer program, which can be run on a computer device as shown in fig. 4.
Referring to fig. 4, fig. 4 is a schematic block diagram of a computer device according to an embodiment of the present application. Referring to fig. 4, the computer device 500 includes a processor 502, memory and interface 507 coupled by a system bus 501, where the memory may include a non-volatile storage medium 503 and an internal memory 504.
The non-volatile storage medium 503 may store an operating system 5031 and a computer program 5032. The computer program 5032, when executed, causes the processor 502 to perform a method for full link pressure measurement in a Radius environment.
The processor 502 is used to provide computing and control capabilities to support the operation of the overall computer device 500.
The internal memory 504 provides an environment for running the computer program 5032 in the non-volatile storage medium 503, and when the computer program 5032 is executed by the processor 502, the processor 502 may be enabled to execute any embodiment of the full link pressure measurement method in the Radius environment.
The interface 505 is used to communicate with other devices. Those skilled in the art will appreciate that the configuration shown in fig. 4 is a block diagram of only a portion of the configuration associated with the present application and does not constitute a limitation of the computer device 500 to which the present application may be applied, and that a particular computer device 500 may include more or less components than those shown, or may combine certain components, or have a different arrangement of components.
Wherein the processor 502 is configured to run the computer program 5032 stored in the memory to implement the following steps:
confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines;
creating a mirror table library of a normal service table library to obtain a mirror table library of the normal service table library;
jointly adjusting test flow to carry out the pressure test on the target link, wherein the test flow comprises normal flow and pressure test flow;
storing normal data generated by the normal flow in the pressure measurement process into the normal service table library, and storing pressure measurement data generated by the pressure measurement flow into the shadow table library;
and acquiring performance data of a downstream system in the target link in real time, and judging whether to interrupt the pressure measurement according to the performance data.
In an embodiment, when the processor 502 implements the step of performing the pressure test on the target link by the joint debugging test traffic, the following steps are specifically implemented:
jointly adjusting the test flow to carry out individual pressure test on each core link in the target link;
and jointly adjusting the test flow to carry out integral pressure test on the target link.
In an embodiment, when the step of performing the individual pressure test on each core link in the target link by the joint debugging of the test traffic is implemented, the processor 502 specifically implements the following steps:
the testing flow of the joint debugging part carries out individual pressure testing on each core link in the target link;
and jointly adjusting all the test traffic to carry out independent pressure test on each core link in the target link.
In an embodiment, when the processor 502 implements the step of jointly adjusting the test traffic to integrally pressure-test the target link, the following steps are specifically implemented:
the test flow of the joint debugging part is used for carrying out integral pressure test on the target link;
and jointly adjusting all the test flows to carry out integral pressure test on the target link.
In an embodiment, when the processor 502 implements the step of collecting performance data of a downstream system in the target link in real time and determining whether to interrupt the pressure measurement according to the performance data, the following steps are specifically implemented:
acquiring the call success rate and the time delay index of a downstream interface in the downstream system in real time;
acquiring a preset calling success rate tolerable abnormal threshold and a preset time delay tolerable abnormal threshold, and judging whether to interrupt the pressure test according to the calling success rate, the size of the calling success rate tolerable abnormal threshold and the size of the time delay index and the size of the preset time delay tolerable abnormal threshold.
In an embodiment, when the step of determining whether to interrupt the pressure measurement according to the call success rate, the size of the tolerable exception threshold for the call success rate, and the size of the tolerable exception threshold for the delay index and the preset delay is implemented by the processor 502, the following steps are specifically implemented:
if the calling success rate is smaller than the calling success rate first threshold and larger than the calling success rate second threshold, and the time delay index is larger than the time delay first threshold and smaller than the time delay second threshold, reducing the pressure measurement flow to reduce the pressure of the downstream system;
if the calling success rate is smaller than a second calling success rate threshold and the delay index is larger than the second delay threshold, confirming a core link corresponding to the downstream interface;
and closing a preset pressure measurement switch in the core link to prevent the pressure measurement flow from entering the core link.
In one embodiment, the processor 502 further implements the following steps:
and obtaining a preset pressure measurement flow, and dyeing the preset pressure measurement flow to obtain the pressure measurement flow.
In one embodiment, the processor 502 further implements the following steps:
monitoring the performance of all hardware equipment involved in the pressure measurement process in real time to obtain performance index data of the hardware equipment;
and monitoring the consumed time of processing the test flow by each service node in the pressure measurement process in real time to obtain a time index.
It should be understood that in the embodiment of the present Application, the Processor 502 may be a Central Processing Unit (CPU), and the Processor 502 may also be other general purpose processors, digital Signal processors (FSP), Application Specific Integrated Circuits (ASIC), Field Programmable Gate Arrays (FPGA) or other Programmable logic devices, discrete Gate or transistor logic devices, discrete hardware components, and the like. Wherein a general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
It will be understood by those skilled in the art that all or part of the flow of the method implementing the above embodiments may be implemented by a computer program instructing associated hardware. The computer program may be stored in a storage medium, which is a computer-readable storage medium. The computer program is executed by at least one processor in the computer system to implement the flow steps of the embodiments of the method described above.
Accordingly, the present invention also provides a storage medium. The storage medium may be a computer-readable storage medium. The storage medium stores a computer program. Which when executed by a processor implements any of the embodiments of the method for full link pressure measurement in a Radius environment as described above.
The storage medium may be a usb disk, a removable hard disk, a read-Only Memory (ROM), a magnetic disk, or an optical disk, which can store various computer readable storage media.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps of the examples described in connection with the embodiments disclosed herein may be embodied in electronic hardware, computer software, or combinations of both, and that the components and steps of the examples have been described in a functional general in the foregoing description for the purpose of illustrating clearly the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the implementation. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present invention.
In the embodiments provided in the present invention, it should be understood that the disclosed apparatus and method may be implemented in other ways. For example, the above-described apparatus embodiments are merely illustrative. For example, the division of each unit is only one logic function division, and there may be another division manner in actual implementation. For example, various elements or components may be combined or may be integrated into another system, or some features may be omitted, or not implemented.
The steps in the method of the embodiment of the invention can be sequentially adjusted, combined and deleted according to actual needs. The units in the device of the embodiment of the invention can be merged, divided and deleted according to actual needs. In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The integrated unit, if implemented in the form of a software functional unit and sold or used as a stand-alone product, may be stored in a storage medium. Based on such understanding, the technical solution of the present invention essentially contributes to the prior art, or all or part of the technical solution can be embodied in the form of a software product stored in a storage medium and including instructions for causing a computer device to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments, the descriptions of the respective embodiments have respective emphasis, and for parts that are not described in detail in a certain embodiment, reference may be made to related descriptions of other embodiments.
It will be apparent to those skilled in the art that various changes and modifications may be made in the present invention without departing from the spirit and scope of the invention. Thus, while the invention has been described with respect to the above-described embodiments, it will be understood that the invention is not limited thereto but may be embodied with various modifications and changes.
While the invention has been described with reference to specific embodiments, the invention is not limited thereto, and various equivalent modifications and substitutions can be easily made by those skilled in the art within the technical scope of the invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the claims.

Claims (10)

1. A full link pressure measurement method under Radius environment is characterized by comprising the following steps:
confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines;
creating a mirror table library of a normal service table library to obtain a mirror table library of the normal service table library;
jointly adjusting test flow to carry out the pressure test on the target link, wherein the test flow comprises normal flow and pressure test flow;
storing normal data generated by the normal flow in the pressure measurement process into the normal service table library, and storing pressure measurement data generated by the pressure measurement flow into the shadow table library;
and acquiring performance data of a downstream system in the target link in real time, and judging whether to interrupt the pressure measurement according to the performance data.
2. The method for full link pressure measurement under Radius environment of claim 1, wherein the step of collecting performance data of a downstream system in the target link in real time and determining whether to interrupt the pressure measurement according to the performance data comprises:
acquiring the call success rate and the time delay index of a downstream interface in the downstream system in real time;
acquiring a preset calling success rate tolerable abnormal threshold and a preset time delay tolerable abnormal threshold, and judging whether to interrupt the pressure test according to the calling success rate, the size of the calling success rate tolerable abnormal threshold and the size of the time delay index and the size of the preset time delay tolerable abnormal threshold.
3. The method for full link pressure measurement in Radius environment according to claim 2, wherein the preset call success rate tolerable exception threshold includes a call success rate first threshold and a call success rate second threshold, and the preset delay tolerable exception threshold includes a delay first threshold and a delay second threshold;
the step of judging whether to interrupt the pressure measurement according to the calling success rate, the size of the tolerable abnormal threshold value of the calling success rate and the size of the tolerable abnormal threshold value of the time delay index and the preset tolerable abnormal threshold value of the time delay comprises the following steps:
if the calling success rate is smaller than the calling success rate first threshold and larger than the calling success rate second threshold, and the time delay index is larger than the time delay first threshold and smaller than the time delay second threshold, reducing the pressure measurement flow to reduce the pressure of the downstream system;
if the calling success rate is smaller than a second calling success rate threshold and the delay index is larger than the second delay threshold, confirming a core link corresponding to the downstream interface;
and closing a preset pressure measurement switch in the core link to prevent the pressure measurement flow from entering the core link.
4. The method for full link pressure measurement in a Radius environment as recited in claim 1, further comprising:
and obtaining a preset pressure measurement flow, and dyeing the preset pressure measurement flow to obtain the pressure measurement flow.
5. The method for full link pressure measurement in Radius environment as claimed in claim 1, wherein said step of said joint debugging test traffic performing said pressure measurement on said target link comprises:
jointly adjusting the test flow to carry out individual pressure test on each core link in the target link;
and jointly adjusting the test flow to carry out integral pressure test on the target link.
6. The method for full link pressure measurement in Radius environment as claimed in claim 5, wherein said step of jointly adjusting said test traffic to perform individual pressure measurement on each core link in said target link comprises:
the testing flow of the joint debugging part carries out individual pressure testing on each core link in the target link;
jointly adjusting all the test flows to carry out individual pressure test on each core link in the target link;
the step of jointly adjusting the test flow to carry out integral pressure test on the target link comprises the following steps:
the test flow of the joint debugging part is used for carrying out integral pressure test on the target link;
and jointly adjusting all the test flows to carry out integral pressure test on the target link.
7. The method for full link pressure measurement in a Radius environment as recited in claim 1, further comprising:
monitoring the performance of all hardware equipment involved in the pressure measurement process in real time to obtain performance index data of the hardware equipment;
and monitoring the consumed time of processing the test flow by each service node in the pressure measurement process in real time to obtain a time index.
8. An apparatus for full link pressure measurement in a Radius environment, the apparatus comprising:
the target link confirmation unit is used for confirming a target link needing to be subjected to pressure measurement according to a preset pressure measurement target, wherein the target link comprises a plurality of core links of different service lines;
the system comprises a first establishing unit, a second establishing unit and a third establishing unit, wherein the first establishing unit is used for establishing a mirror table library of a normal business table library so as to obtain the mirror table library of the normal business table library;
the first testing unit is used for jointly adjusting testing flow to carry out the pressure testing on the target link, wherein the testing flow comprises normal flow and pressure testing flow;
the first memory cell, is used for storing the normal data produced by said normal flowrate in the course of pressing and measuring into said normal business table storehouse, store the pressure measuring data produced by said pressure measuring flowrate into said shadow table storehouse;
and the first real-time acquisition unit is used for acquiring the performance data of a downstream system in the target link in real time and judging whether to interrupt the pressure measurement according to the performance data.
9. A computer device, comprising a memory and a processor coupled to the memory; the memory is used for storing a computer program; the processor is adapted to run a computer program stored in the memory to perform the steps of the method according to any of claims 1-7.
10. A computer-readable storage medium, characterized in that the storage medium stores a computer program which, when being executed by a processor, is adapted to carry out the steps of the method according to any one of claims 1-7 on a computer device.
CN202111636521.2A 2021-12-29 2021-12-29 Full link pressure measurement method and device in Radius environment, computer equipment and storage medium Pending CN114338447A (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN202111636521.2A CN114338447A (en) 2021-12-29 2021-12-29 Full link pressure measurement method and device in Radius environment, computer equipment and storage medium
PCT/CN2022/141328 WO2023125272A1 (en) 2021-12-29 2022-12-23 Full-link stress testing method and apparatus in radius environment, computer device and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111636521.2A CN114338447A (en) 2021-12-29 2021-12-29 Full link pressure measurement method and device in Radius environment, computer equipment and storage medium

Publications (1)

Publication Number Publication Date
CN114338447A true CN114338447A (en) 2022-04-12

Family

ID=81017586

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111636521.2A Pending CN114338447A (en) 2021-12-29 2021-12-29 Full link pressure measurement method and device in Radius environment, computer equipment and storage medium

Country Status (2)

Country Link
CN (1) CN114338447A (en)
WO (1) WO2023125272A1 (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN115065612A (en) * 2022-06-22 2022-09-16 上海哔哩哔哩科技有限公司 Testing method and device for full link voltage testing transformation
CN115695241A (en) * 2022-10-21 2023-02-03 深圳市正浩创新科技股份有限公司 Communication pressure testing method and electronic equipment
WO2023125272A1 (en) * 2021-12-29 2023-07-06 天翼物联科技有限公司 Full-link stress testing method and apparatus in radius environment, computer device and storage medium
CN116781591A (en) * 2023-08-23 2023-09-19 国网信息通信产业集团有限公司 Pressure testing system, pressure testing terminal and storage medium based on flow dyeing and transparent transmission technology

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600280A (en) * 2018-12-17 2019-04-09 北京车和家信息技术有限公司 Pressure testing system, method, apparatus and computer readable storage medium
CN110532168A (en) * 2019-07-05 2019-12-03 中国平安财产保险股份有限公司 Full LI(link interface) pressure surveys method, apparatus, computer equipment and storage medium
CN110912786A (en) * 2019-12-27 2020-03-24 深圳市星砺达科技有限公司 Gateway pressure testing method and device, computer equipment and storage medium
US20200201728A1 (en) * 2018-12-20 2020-06-25 International Business Machines Corporation Controlling segment layout in a stress test for a processor memory with a link stack
CN111966556A (en) * 2020-08-18 2020-11-20 腾讯音乐娱乐科技(深圳)有限公司 Performance pressure measurement method and device, server and computer readable storage medium
CN112583669A (en) * 2020-12-11 2021-03-30 北京字节跳动网络技术有限公司 On-line link pressure testing method and device, electronic equipment and medium
US20210160160A1 (en) * 2019-11-22 2021-05-27 Inventec (Pudong) Technology Corporation Method, system, readable storage medium and device for configuring adaptive network pressure measurement
CN113254323A (en) * 2021-07-05 2021-08-13 中邮消费金融有限公司 Online full link voltage measurement method and device and computer equipment
CN113381909A (en) * 2021-06-08 2021-09-10 中国工商银行股份有限公司 Full link voltage measuring method and device
WO2021174837A1 (en) * 2020-03-04 2021-09-10 平安科技(深圳)有限公司 Breakpoint monitoring method and apparatus based on integral service link, and terminal and storage medium
CN113553267A (en) * 2021-07-22 2021-10-26 招商银行股份有限公司 Application performance testing method, device, medium, and computer program product

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113747506A (en) * 2020-05-28 2021-12-03 华为技术有限公司 Resource scheduling method, device and network system
CN111723017A (en) * 2020-06-28 2020-09-29 深圳壹账通智能科技有限公司 System capacity testing method and device, computer equipment and storage medium
CN114338447A (en) * 2021-12-29 2022-04-12 天翼物联科技有限公司 Full link pressure measurement method and device in Radius environment, computer equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109600280A (en) * 2018-12-17 2019-04-09 北京车和家信息技术有限公司 Pressure testing system, method, apparatus and computer readable storage medium
US20200201728A1 (en) * 2018-12-20 2020-06-25 International Business Machines Corporation Controlling segment layout in a stress test for a processor memory with a link stack
CN110532168A (en) * 2019-07-05 2019-12-03 中国平安财产保险股份有限公司 Full LI(link interface) pressure surveys method, apparatus, computer equipment and storage medium
US20210160160A1 (en) * 2019-11-22 2021-05-27 Inventec (Pudong) Technology Corporation Method, system, readable storage medium and device for configuring adaptive network pressure measurement
CN110912786A (en) * 2019-12-27 2020-03-24 深圳市星砺达科技有限公司 Gateway pressure testing method and device, computer equipment and storage medium
WO2021174837A1 (en) * 2020-03-04 2021-09-10 平安科技(深圳)有限公司 Breakpoint monitoring method and apparatus based on integral service link, and terminal and storage medium
CN111966556A (en) * 2020-08-18 2020-11-20 腾讯音乐娱乐科技(深圳)有限公司 Performance pressure measurement method and device, server and computer readable storage medium
CN112583669A (en) * 2020-12-11 2021-03-30 北京字节跳动网络技术有限公司 On-line link pressure testing method and device, electronic equipment and medium
CN113381909A (en) * 2021-06-08 2021-09-10 中国工商银行股份有限公司 Full link voltage measuring method and device
CN113254323A (en) * 2021-07-05 2021-08-13 中邮消费金融有限公司 Online full link voltage measurement method and device and computer equipment
CN113553267A (en) * 2021-07-22 2021-10-26 招商银行股份有限公司 Application performance testing method, device, medium, and computer program product

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023125272A1 (en) * 2021-12-29 2023-07-06 天翼物联科技有限公司 Full-link stress testing method and apparatus in radius environment, computer device and storage medium
CN115065612A (en) * 2022-06-22 2022-09-16 上海哔哩哔哩科技有限公司 Testing method and device for full link voltage testing transformation
CN115065612B (en) * 2022-06-22 2024-03-08 上海哔哩哔哩科技有限公司 Testing method and device for full-link pressure measurement transformation
CN115695241A (en) * 2022-10-21 2023-02-03 深圳市正浩创新科技股份有限公司 Communication pressure testing method and electronic equipment
CN116781591A (en) * 2023-08-23 2023-09-19 国网信息通信产业集团有限公司 Pressure testing system, pressure testing terminal and storage medium based on flow dyeing and transparent transmission technology
CN116781591B (en) * 2023-08-23 2024-01-02 国网信息通信产业集团有限公司 Pressure testing system, pressure testing terminal and storage medium based on flow dyeing and transparent transmission technology

Also Published As

Publication number Publication date
WO2023125272A1 (en) 2023-07-06

Similar Documents

Publication Publication Date Title
CN114338447A (en) Full link pressure measurement method and device in Radius environment, computer equipment and storage medium
JP7116103B2 (en) Method, Apparatus, and Device for Predicting Optical Module Failure
CN107967204B (en) Method and system for measuring line down pressure and terminal equipment
CN103728429A (en) Water quality online monitoring method and monitoring system
CN105677572B (en) Based on self organizing maps model cloud software performance exception error diagnostic method and system
US8554904B2 (en) Abnormal point locating apparatus, method, and storage medium
CN112688310B (en) Line loss analysis method and device applied to power distribution network
CN113592343A (en) Fault diagnosis method, device, equipment and storage medium of secondary system
CN109257125B (en) Method and device for detecting reverse connection of antenna feeder of base station
CN113591393A (en) Fault diagnosis method, device, equipment and storage medium of intelligent substation
CN111679968A (en) Interface calling abnormity detection method and device, computer equipment and storage medium
CN117574244B (en) Ultrasonic water meter fault prediction method, device and equipment based on Internet of things
CN114814420B (en) Low-voltage distribution network topology identification method and system based on frozen data
CN111860568B (en) Method and device for balanced distribution of data samples and storage medium
CN115800272A (en) Power grid fault analysis method, system, terminal and medium based on topology identification
CN105740111B (en) A kind of method for testing performance and device
CN111461925A (en) Power distribution network fault analysis method, device, equipment and storage medium
CN112988892B (en) Distributed system hot spot data management method
CN109525036B (en) Method, device and system for monitoring mains supply state of communication equipment
CN115712529A (en) Edge intelligent equipment testing method, device, equipment and storage medium
CN110943887A (en) Probe scheduling method, device, equipment and storage medium
CN116302902A (en) Method and device for generating test case, electronic equipment and storage medium
CN114003466A (en) Fault root cause positioning method for micro-service application program
CN108390790B (en) Fault diagnosis method and device for routing equipment
CN117459557B (en) Fusion method of low-code Internet of things multidimensional data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination