CN111711544B - Link dial testing method and device, electronic equipment and storage medium - Google Patents

Link dial testing method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN111711544B
CN111711544B CN202010415444.7A CN202010415444A CN111711544B CN 111711544 B CN111711544 B CN 111711544B CN 202010415444 A CN202010415444 A CN 202010415444A CN 111711544 B CN111711544 B CN 111711544B
Authority
CN
China
Prior art keywords
identifier
log record
node
target
link
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.)
Active
Application number
CN202010415444.7A
Other languages
Chinese (zh)
Other versions
CN111711544A (en
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.)
Beijing QIYI Century Science and Technology Co Ltd
Original Assignee
Beijing QIYI Century Science and 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 Beijing QIYI Century Science and Technology Co Ltd filed Critical Beijing QIYI Century Science and Technology Co Ltd
Priority to CN202010415444.7A priority Critical patent/CN111711544B/en
Publication of CN111711544A publication Critical patent/CN111711544A/en
Application granted granted Critical
Publication of CN111711544B publication Critical patent/CN111711544B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Abstract

The embodiment of the invention provides a link dial testing method and device, electronic equipment and a storage medium. The method comprises the following steps: the association server obtains at least one first log record from the first server, obtains at least one second log record from the second server, and judges whether a delivery link of the analog data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record, so that dial testing of the delivery link can be realized, an abnormal link can be found as soon as possible, the delivery link can be maintained in time, the robustness of the delivery link is improved, and the success rate of delivering user data by a delivery end can be improved in practical application.

Description

Link dial testing method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of communications technologies, and in particular, to a link dialing test method and apparatus, an electronic device, and a storage medium.
Background
With the rapid development of the internet, intelligent electronic devices have become one of the indispensable tools in people's lives. Users can watch videos, shopping and the like through the electronic equipment, and various video resources, shopping websites and the like are endless. In order to provide video resources and the like which are interesting to the user for the user, the user data is required to be known, and the user data comprises user behavior data and user basic data (such as name, age, gender and the like) for example, the entertainment related videos are recommended to the user when the user clicks and watches the entertainment related videos frequently in a period of time.
In the prior art, user data is delivered to a distributed message queue system (such as a server) so as to be consumed in the server subsequently. The existing data delivery process is as follows: the electronic device (delivery end) randomly delivers the user data to a transit node (the transit node is a load balancer, for example), the transit node can adopt a load balancing algorithm to select a service node from a plurality of service nodes corresponding to the transit node, and forwards the user data to the selected service node, and then the service node sends the user data to the server.
However, the current scheme cannot monitor the data delivery link, and thus cannot judge whether the delivery link is abnormal.
Disclosure of Invention
The embodiment of the invention aims to provide a link dialing test method, a link dialing test device, electronic equipment and a storage medium, so that a data delivery link is monitored, and whether the delivery link is abnormal or not can be judged.
The specific technical scheme is as follows:
in a first aspect of the implementation of the present invention, a link dial testing method is first provided, which is applied to a system including a dial testing point, at least one transit node, at least one service node, and an associated server; the method comprises the following steps:
the dial testing point generates simulation data of user behaviors, a target transfer node is determined from the at least one transfer node, and the simulation data, a first identifier of the simulation data and a second identifier of the dial testing point are delivered to the target transfer node;
the dial-up point generates a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and a third identifier of the target transfer node, and sends the first log record to a first server;
the target transfer node delivers the simulation data, the first identifier, the second identifier and the third identifier to a target service node corresponding to the target transfer node;
the target service node receives the simulation data, the first identification, the second identification and the third identification, generates a second log record according to the first identification, the second identification, the third identification, the fourth identification of the target service node and the corresponding receiving time when the simulation data is received, and sends the second log record to a second server;
the association server obtains at least one first log record from the first server and at least one second log record from the second server;
and the association server judges whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
In a second aspect of the present invention, there is also provided a link dialing test method executed in an association server, including:
the method comprises the steps that at least one first log record is obtained from a first server, at least one second log record is obtained from a second server, wherein the first log record comprises a first identifier of simulation data of user behaviors, delivery time of the simulation data, a second identifier of a dial testing point and a third identifier of a target transfer node, and the delivery time is corresponding to the time when the dial testing point delivers the simulation data to the target transfer node; the second log record comprises the first identifier, the second identifier, the third identifier, a fourth identifier of a target service node, and corresponding receiving time when the target service node receives the simulation data;
and judging whether the delivery link of the simulated data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
In a third aspect of the present invention, there is provided a link dialing test method executed at a dialing test point, including:
generating simulation data of user behaviors, determining a target transfer node from the at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dial-up point to the target transfer node;
and generating a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and the third identifier of the target transfer node, and sending the first log record to a first server.
In a fourth aspect of the present invention, there is also provided a link dialing test system, including:
the dial-up point is used for generating simulation data of user behaviors, determining a target transfer node from at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dial-up point to the target transfer node;
the dial-up point is used for generating a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and a third identifier of the target transfer node, and sending the first log record to a first server;
the target transfer node is configured to deliver the simulation data, the first identifier, the second identifier, and the third identifier to a target service node corresponding to the target transfer node;
the target service node is configured to receive the simulation data, the first identifier, the second identifier, and the third identifier, generate a second log record according to the first identifier, the second identifier, the third identifier, a fourth identifier of the target service node, and corresponding receiving time when the simulation data is received, and send the second log record to the second server;
the association server is used for acquiring at least one first log record from the first server and acquiring at least one second log record from the second server;
and the association server is used for judging whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
In a fifth aspect of the present invention, there is further provided a link dialing test apparatus, disposed in an association server, including:
the system comprises an acquisition module, a first relay node and a second relay node, wherein the acquisition module is used for acquiring at least one first log record from a first server and at least one second log record from a second server, the first log record comprises a first identifier of simulation data of user behaviors, delivery time of the simulation data, a second identifier of a pull test point and a third identifier of a target relay node, and the delivery time is corresponding time when the pull test point delivers the simulation data to the target relay node; the second log record comprises the first identifier, the second identifier, the third identifier, a fourth identifier of a target service node, and corresponding receiving time when the target service node receives the simulation data;
and the first judgment module is used for judging whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
In a fifth aspect of the present invention, there is also provided a link dial testing apparatus, disposed at a dial testing point, including:
the delivery module is used for generating simulation data of user behaviors, determining a target transfer node from the at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dial-up point to the target transfer node;
and the sending module is used for generating a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and the third identifier of the target transfer node, and sending the first log record to a first server.
In yet another aspect of the present invention, there is also provided a computer-readable storage medium having stored therein instructions, which when run on a computer, cause the computer to execute any one of the above-mentioned link dialing test methods.
In yet another aspect of the present invention, there is also provided a computer program product containing instructions which, when run on a computer, cause the computer to perform any of the above-described link dialing test methods.
According to the link dial testing method provided by the embodiment of the invention, the associated server acquires at least one first log record from the first server and at least one second log record from the second server, and whether the delivery link of the analog data corresponding to the first identifier is normal is judged according to the at least one first log record and the at least one second log record, so that dial testing of the delivery link can be realized, an abnormal link can be found as soon as possible, the delivery link can be maintained in time, the robustness of the delivery link is improved, and the success rate of delivering user data at a delivery end can be improved in practical application.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below.
Fig. 1 is a system architecture diagram of a link dialing test method provided in an embodiment of the present invention;
fig. 2 is a flowchart illustrating steps of a link dialing test method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating steps of a link dialing test method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a link dialing test apparatus provided in an embodiment of the present invention;
fig. 5 is a schematic structural diagram of another link dialing test apparatus provided in the embodiment of the present invention;
fig. 6 is a schematic structural diagram of another link dialing test apparatus provided in the embodiment of the present invention;
fig. 7 is a schematic structural diagram of an electronic device provided in an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be described below with reference to the drawings in the embodiments of the present invention.
Referring to fig. 1, fig. 1 is a system architecture diagram of a link dialing test method provided in an embodiment of the present invention, where the system includes a dialing test point, a transit node 1, a transit node 2, a transit node 3, a service node 1, a service node 2, a service node 3, a service node 4, a first server, a second server, and an associated server. The first server and the second server may be Kafka servers. Each transit node may correspond to one or more service nodes, for example, transit node 1 corresponds to service node 1, service node 2, and service node 3, transit node 2 corresponds to service node 1 and service node 4, and transit node 3 corresponds to service node 2. The transit node may be a load balancer, for example, a Nginx-QLB load balancer in a cloud load balancing, and the service node is, for example, a Nginx server, and the transit node may select one service node (the selected service node is a target service node) from a plurality of service nodes corresponding to the transit node by using a load balancing algorithm.
The dial testing point can randomly select one transfer node from a plurality of transfer nodes or select one transfer node according to a preset rule, the selected transfer node is used as a target transfer node, the dial testing point delivers user data to the target transfer node, the target transfer node delivers the user data to a target service node, and then the target service node sends the user data to the server. The corresponding delivery link of the user data from the dial testing point to the server is the link from the dial testing point to the target service node through the target transit node. For example, as shown in FIG. 1, the thicker solid line from the dial-up test point to serving node 1 via transit node 1 represents delivery link 1, the thinner solid line from the dial-up test point to serving node 3 via transit node 1 represents delivery link 2, the dashed line from the dial-up test point to serving node 2 via transit node 2 represents delivery link 3, and the dashed line from the dial-up test point to serving node 4 via transit node 3 represents delivery link 4.
Based on fig. 2, an embodiment of the present invention provides a link dialing test method, and referring to fig. 2, fig. 2 is a flowchart of steps of the link dialing test method provided in the embodiment of the present invention, where the method includes:
step 201, dialing the testing point to generate simulation data of the user behavior, determining a target transfer node from at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dialing point to the target transfer node.
The dial testing point can randomly take out data simulating user behaviors from a preset data set, and generate and deliver the simulated data simulating the user behaviors according to the taken out data and the current time, wherein the current time in the simulated data is the delivery time of the simulated data. The data simulating the user behavior is user behavior data such as pause, fast forward, fast backward, and the like performed by the user while watching the video.
Step 202, the dial testing point generates a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and the third identifier of the target transit node, and sends the first log record to the first server.
Wherein the first log record is an original log of the simulation data, and the table name simulates the initial condition of data delivery.
Step 203, the target transfer node delivers the simulation data, the first identifier, the second identifier and the third identifier to a target service node corresponding to the target transfer node.
The target transit node routes the forwarded message content (the message content including the simulation data, the first identifier, the second identifier and the third identifier) to one of the target serving nodes at the back end. For example, as shown in fig. 1, the service node at the back end of the target transit node includes 4 physical machines. The message content will fall on only one of the 4 physical machines. It should be noted that the number of service nodes in practical application may be set according to requirements, and only 4 service nodes are shown in fig. 1.
And 204, the target service node receives the simulation data, the first identifier, the second identifier and the third identifier, generates a second log record according to the first identifier, the second identifier, the third identifier, the fourth identifier of the target service node and the corresponding receiving time when the simulation data is received, and sends the second log record to the second server.
After the target service node generates the second log record, the second log record may be stored in a log file (the log file is, for example, an access log file) in the local disk, and the second log record in the log file may be forwarded to the second server.
Wherein the second log record includes a final result of the simulated data delivery. That is, the second log record includes the identifiers of the nodes included in the delivery link corresponding to the simulated data in the actual delivery process of the simulated data.
Step 205, the correlation server obtains at least one first log record from the first server and obtains at least one second log record from the second server.
And step 206, the correlation server judges whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
The correlation server can realize the comparison between the first log record and the second log record through the flink double-flow Join calculation, so as to judge whether the delivery link of the simulation data corresponding to the first identifier is normal.
After the dial-up test point generates the simulation data of the user behavior, the target transfer node can be determined from at least one transfer node according to a preset delivery rule. The preset delivery rule is, for example, to deliver a preset number of pieces of simulation data to each transfer node in sequence according to the sequence of each transfer node. For example, the first analog data is delivered to the relay node 1, the second analog data is delivered to the relay node 2, the third analog data is delivered to the relay node 3, and then the cyclic delivery is started from the relay node 1; alternatively, the first 10 pieces of simulation data are all delivered to the relay node 1, the next 10 pieces of simulation data are delivered to the relay node 2, and then the regenerated 10 pieces of simulation data are delivered to the relay node 3, and then the cyclic delivery is started from the relay node 1.
For example, the dial-up test point delivers the simulation data 1, a first identifier of the simulation data, and a second identifier of the dial-up test point to the transit node 1 (the transit node 1 is used as a target transit node), and the dial-up test point generates a first log record 1 according to the first identifier of the simulation data 1, the delivery time 1 of the simulation data 1, the second identifier of the dial-up test point, and a third identifier of the transit node 1, wherein the second identifier of the dial-up test point is, for example, an Internet Protocol (IP) address of the dial-up test point, for example, the second identifier of the dial-up test point is 152.11.2.9, the third identifier of the transit node 1 is, for example, the IP address of the transit node 1, for example, the third identifier of the transit node 1 is 145.2.22.1, and the first log record 1 is, for example: the' 2019-11-0109:00 dial testing point IP:152.11.2.9 initiates a request to a target transfer node IP:145.2.22.1, and the request is successful; MessageID: the first identification is a Universal Unique Identifier (UUID) which is indispensable in the delivery process of the simulated data, and the delivery time 1 is 2019-11-0109: 00. Dial the measurement point and send a first log record 1 to the first server. After a measuring point is dialed and a first log record 1 is sent to a first server, a correlation server can acquire the first log record 1 from the first server, so that a second log record acquired from a second server can be compared with the first log record 1, for example, the second log record 1 is found from the second log record, so that a difference value between the receiving time in the second log record 1 and the delivery time in the first log record 1 is determined, the difference value is used as the time length of the simulation data 1 passing through a corresponding delivery link, and the shorter the time length is, the better the quality of the delivery link is shown, and the delivery speed is high (the delivery speed is higher, generally several milliseconds under the condition that the delivery link is normal); longer duration indicates poor quality of the delivery link and slow delivery rate, which may be a problem with the delivery link. If the second log record 1 is not found from the second log record, it means that the simulation data 1 is lost in the delivery process, and the reason for the loss of the simulation data 1 is that one or more nodes on the delivery link of the simulation data 1 are failed, for example, after the simulation data 1 is delivered to the relay node 1, the relay node 1 does not deliver the simulation data 1 to the target service node due to a problem, and thus the simulation data 1 is not delivered to the target service node.
The relay node 1 receives the simulation data 1, the first identification of the simulation data 1 and the second identification of the dialing and measuring point, and delivers the simulation data 1, the first identification of the simulation data 1, the second identification of the dialing and measuring point and the third identification of the relay node 1 to the service node 1 (the service node 1 is used as a target service node), and the service node 1 generates a second log record according to the first identification, the second identification, the third identification, the fourth identification of the service node 1 and the corresponding receiving time 1 when the simulation data 1 is received. The fourth identifier of the service node 1 is, for example, an IP address of the service node 1, and the second log record 1 is, for example: "2019-11-0109: 01 Dial test Point IP:152.11.2.9 delivered mock data 1 to 10.4.33.1, successfully, via 145.2.22.1; MessageID: a first identification ". That is, the IP address of the transit node 1 is 145.2.22.1, the IP address of the target service node is 10.4.33.1, and the receiving time 1 is 2019-11-0109: 01. The transit node 1 also sends a second log record 1 to the second server.
It should be noted that, the measure point is dialed and the first log record 1 is sent to the first server, so that the first server can provide the first log record 1 to the association server, the relay node 1 sends the second log record 1 to the second server, so that the second server can provide the second log record 1 to the association server, thereby enabling the association server to retrieve the first log record 1 from the first server and the second log record 1 from the second server, and in case the first identification in the first log record 1 and the first identification in the second log record are identical, the difference between the receipt time 1 in the second log record 1 and the delivery time 1 in the first log record 1 is calculated, when the difference value is smaller than or equal to the preset threshold value, determining that a delivery link is normal when the dialing test point delivers the simulation data 1 to the service node 1 through the transfer node 1; and determining that the delivery link is abnormal when the dialing test point delivers the simulation data 1 to the service node 1 through the transit node 1 under the condition that the difference value is larger than the preset threshold value. Alternatively, if the association server obtains the first log record 1 from the first server but does not obtain the second log record 1 from the second server, it means that the dial-up test delivers the simulation data 1 to the link abnormality between the transit nodes 1 and/or the link abnormality between the transit node 1 and the service node 1, thereby causing the simulation data 1 to be unsuccessfully delivered to the service node.
Similarly, the dial testing point may select one transfer node according to a preset delivery rule, for example, select transfer node 2, and deliver the simulation data 2, the first identifier of the simulation data, and the second identifier of the dial testing point to the transfer node 2. The dial test sends the generated first log record 2 about the simulation data 2 to the first server. The transit node, for example, delivers the data to the service node 2, and the service node 2 generates a second log record 2 regarding the simulated data 2 and sends the second log record 2 to the second server.
It should be noted that, when the target service node does not receive the simulation data delivered by the target transit node, the target service node does not generate the second log record, and in this case, there may be a problem that the target transit node is abnormal.
The association server can obtain at least one first log record from the first server and at least one second log record from the second server, and judge whether a delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record. The association server may obtain at least one first log record from the first server and at least one second log record from the second server within a preset time period. For example, the correlation server starts timing with the time (for example, 0 point) for starting to acquire the log record, acquires the first log record from the first server, acquires the second log record from the second server, and after the timing time reaches 2 minutes (from 0 point to zero point 2 minutes), judges whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the first log record and the second log record acquired in the 2 minutes. After the timing time reaches 2 minutes, the first log record can be obtained from the first server and the second log record can be obtained from the second server continuously within 2 minutes (2 minutes is zero point 2 minutes to 4 minutes for example), and whether the delivery link of the simulation data corresponding to the first identifier is normal or not is judged according to the first log record and the second log record obtained within 2 minutes from zero point 2 minutes to 4 minutes.
For example, within the first 2 minutes, the first log record 3 corresponding to the simulation data 3 is acquired from the first server, and the second log record corresponding to the simulation data 3 does not exist in the acquired second log record, so that it can be determined that the delivery link of the simulation data 3 is abnormal. It should be noted that, because the first log record and the second log record both include the first identifier, it can be determined through the first identifier whether the second log record has an identifier that is the same as the first identifier in the first log record, if so, it indicates that the first identifier corresponds to the simulated data delivered to the target service node, and if not, it indicates that the simulated data corresponding to the first identifier is not delivered to the service node, that is, the simulated data delivery fails, and there may be an abnormal problem in the delivery link formed by the target transit node corresponding to the simulated data.
In the link dial testing method provided by this embodiment, the association server obtains at least one first log record from the first server, obtains at least one second log record from the second server, and determines whether the delivery link of the analog data corresponding to the first identifier is normal according to the at least one first log record and the at least one second log record, so that dial testing of the delivery link can be realized, an abnormal link can be found as soon as possible, the delivery link can be maintained in time, the robustness of the delivery link is improved, the practical application can be guaranteed, the success rate of delivering user data at the delivery end is improved, and the success rate of delivering user data to the service node through the transfer node at the delivery end is improved.
Referring to fig. 3, fig. 3 is a flowchart illustrating steps of a link dialing test method according to an embodiment of the present invention. The method is executed and associated with a server, and comprises the following steps:
step 301 obtains at least one first log record from a first server and at least one second log record from a second server.
The first log record comprises a first identifier of simulated data of user behaviors, delivery time of the simulated data, a second identifier of a dial testing point and a third identifier of a target transfer node, and the delivery time is corresponding time when the dial testing point delivers the simulated data to the target transfer node; the second log record comprises a first identifier, a second identifier, a third identifier, a fourth identifier of the target service node, and corresponding receiving time when the target service node receives the simulation data.
Step 302, according to at least one first log record and at least one second log record, judging whether a delivery link of the simulation data corresponding to the first identifier is normal.
Wherein, according to at least one first log record and at least one second log record, whether the delivery link of the simulation data corresponding to the first identifier is normal or not can be judged by the following steps:
judging whether the first identifier in at least one second log record is the same as the first identifier of a first target log record, wherein the first target log record is one of at least one first log record;
if the first identifier in at least one second log record has the identifier same as the first identifier of the first target log record, calculating the difference value between the receiving time in the second target log record and the delivery time of the first target log record, wherein the first identifier of the second target log record is the same as the first identifier of the first target log record;
and if the difference value is larger than or equal to the preset threshold value, taking the delivery link of the simulation data corresponding to the first identifier in the first target log record or the first identifier in the second log record as an abnormal link. If the difference value is greater than or equal to the preset threshold value, the relay node and/or the service node is/are in failure, so that the time required for delivering the simulation data to the service node is long, and the corresponding delivery link when the simulation data is delivered can be an abnormal link.
For example, if the first identifier in the acquired plurality of first log records includes a first identifier 1, a first identifier 2, and a first identifier 3. The first identifier in the obtained plurality of second log records comprises a first identifier 1, a first identifier 2 and a first identifier 4. Wherein, the first log record 1 includes a first identifier 1, the first target log record 2 includes a first identifier 2, and so on. Similarly, the second log record 1 includes the first identifier 1, the second log record 2 includes the first identifier 2, and so on. The first identifier 1 in the second target log record (the second log record 1 is the second target log record) is the same as the first identifier in the first target log record (the first log record 1 is the first target log record), the difference value between the receiving time 1 in the second log record 1 and the delivery time 1 in the first log record 1 is calculated, and if the difference value is greater than or equal to the preset threshold value, the delivery link of the simulation data 1 corresponding to the first identifier 1 can be determined to be an abnormal link. If the difference is smaller than the preset threshold, the delivery link of the simulation data 1 corresponding to the first identifier 1 can be determined to be a normal link. For example, the delivery link for the simulated data 1 is from the dial-up test point to the service node 1 via the transit node 1. Similarly, the difference between the receiving time 2 in the second log record 2 and the delivery time 2 in the first log record 2 can be calculated, and whether the delivery link of the simulation data 2 corresponding to the first identifier 2 is an abnormal link can be determined.
Optionally, if the first identifier in the at least one second log record does not have the identifier that is the same as the first identifier of the first target log record, the delivery link of the simulation data corresponding to the first identifier in the first target log record is used as the abnormal link.
In the case that the first identifier in the at least one second log record is not the same as the first identifier of the first target log record, it means that the simulated data corresponding to the first identifier of the first target log record is lost in the delivery process, and the delivery link of the simulated data may have a problem. For example, if the second log record does not have the first identifiers of a plurality of pieces of simulation data delivered via the same target transit node, it means that there may be a problem in the delivery link via the target transit node, that is, there is a high possibility that there is an abnormality in the target transit node.
For example, when the first identifier 3 in the plurality of first log records and the same identifier as the first identifier 3 do not exist in the plurality of second log records, that is, when the first log record 3 is the first target log record, and the same identifier as the first identifier 3 does not exist in the plurality of second log records, the delivery link of the simulation data 3 corresponding to the first identifier 3 is regarded as the abnormal link.
In the link dial testing method provided by this embodiment, at least one first log record is obtained from the first server, at least one second log record is obtained from the second server, and whether the delivery link of the simulation data corresponding to the first identifier is normal is determined according to the at least one first log record and the at least one second log record, so that dial testing of the delivery link can be implemented. When one or more delivery links are determined to be abnormal, prompt information can be output to prompt a user that the abnormal delivery links appear, so that the user can find the abnormal links as soon as possible, the delivery links can be maintained timely, the robustness of the delivery links is improved, and the success rate of delivering user data by a delivery end can be improved in practical application. Or, under the condition that one or more delivery links are determined to be abnormal, the abnormal links can be recorded in a log file, and a user determines which links are abnormal by looking up the log file, so that the delivery links are maintained in time.
Optionally, after the step 302, according to the at least one first log record and the at least one second log record, determining whether a delivery link of the simulation data corresponding to the first identifier is normal, the method may further include the following steps:
and judging whether the transit node and/or the service node are normal or not according to the at least one abnormal link.
Wherein, according to at least one abnormal link, judging whether the transit node and/or the service node is normal can be realized by the following steps:
determining transit nodes and/or service nodes which all abnormal links pass through;
calculating a first ratio of the abnormal number corresponding to the transit node passed by the abnormal link to the total number of delivery links corresponding to the transit node passed by the abnormal link, and/or calculating a second ratio of the abnormal number corresponding to the service node passed by the abnormal link to the total number of delivery links corresponding to the service node passed by the abnormal link;
and determining an abnormal transit node according to each first ratio, and/or determining an abnormal service node according to each second ratio.
The determination of the abnormal transit node according to each first ratio, and/or the determination of the abnormal service node according to each second ratio may be implemented as follows:
determining a maximum first ratio from all the first ratios; and if the maximum first ratio is larger than or equal to a first preset threshold, taking the transfer node corresponding to the maximum first ratio as an abnormal transfer node, and/or determining a maximum second ratio from all second ratios, and if the maximum second ratio is larger than or equal to a second preset threshold, taking the service node corresponding to the maximum second ratio as an abnormal service node. Alternatively, the first and second electrodes may be,
if the maximum first ratio is smaller than or equal to a third preset threshold, determining that the abnormal transfer node does not exist; and if the maximum second ratio is larger than or equal to a second preset threshold, the service node corresponding to the maximum second ratio is used as the abnormal service node. That is, in this case, it may be determined that there is no abnormal transit node but there is an abnormal service node. Alternatively, the first and second electrodes may be,
if the maximum first ratio is larger than or equal to a first preset threshold, taking the transfer node corresponding to the maximum first ratio as an abnormal transfer node; and if the maximum second ratio is smaller than or equal to a fourth preset threshold, determining that the abnormal service node does not exist.
The first preset threshold may be equal to the second preset threshold, the third preset threshold may be equal to the fourth preset threshold, the third preset threshold is smaller than the first preset threshold, and the fourth preset threshold is smaller than the second preset threshold.
The transit node and/or the service node through which the abnormal link passes can be determined according to the first log record and/or the second log record corresponding to the abnormal link. Since the first log record includes the IP address of the target transit node and the second log record includes the IP address of the transit node and the IP address of the service node, the transit node and/or the service node through which the abnormal link passes can be determined according to the first log record and/or the second log record corresponding to the abnormal link.
Referring to fig. 1, for example, if the simulated data is delivered 10 times through the delivery link 1 indicated by a thicker solid line, the simulated data is delivered 10 times through the delivery link 2 indicated by a thinner solid line, the simulated data is delivered 10 times through the delivery link 3 indicated by a thicker dotted line, and the simulated data is delivered 10 times through the delivery link 4 indicated by a thinner dotted line, where the delivery link 1 is taken as an abnormal link 5 times, the delivery link 2 is taken as an abnormal link 5 times, the delivery link 3 is taken as an abnormal link 1 times, and the delivery link 4 is taken as an abnormal link 0 times, a transit node and a service node through which the abnormal link passes can be determined according to the delivery links 1, 2, and 3, where the transit node through which the abnormal link passes includes the transit node 1 and the transit node 2, and the service node through which the abnormal link passes the transit includes the service node 1, 2, Serving node 2 and serving node 3.
The number of the abnormal times corresponding to the transit node 1 is equal to 10, and the total number of the delivery links corresponding to the transit node 1 is 20, so that the first ratio of the number of the abnormal times corresponding to the transit node 1 to the total number of the delivery links corresponding to the transit node 1 is equal to 0.5; the number of the abnormal times corresponding to the transit node 2 is equal to 1, and the total number of the delivery links corresponding to the transit node 2 is 10, so that the first ratio of the number of the abnormal times corresponding to the transit node 2 to the total number of the delivery links corresponding to the transit node 2 is equal to 0.1; the abnormal times corresponding to the service node 1 is equal to 5, and the total number of delivery links corresponding to the service node 1 is 10, so that the second ratio of the abnormal times corresponding to the service node 1 to the total number of delivery links corresponding to the service node 1 is equal to 0.5; the abnormal times corresponding to the service node 2 is equal to 1, and the total number of delivery links corresponding to the service node 2 is 10, so that the second ratio of the abnormal times corresponding to the service node 2 to the total number of delivery links corresponding to the service node 2 is equal to 0.1; the number of times of exception corresponding to the service node 3 is equal to 5, and the total number of delivery links corresponding to the service node 3 is 10, then the second ratio of the number of times of exception corresponding to the service node 3 to the total number of delivery links corresponding to the service node 3 is equal to 0.5.
If the first preset threshold is equal to the second preset threshold, which is equal to 0.4, it may be determined that the first ratio corresponding to the relay node 1 in all the first ratios is the largest, that is, the largest first ratio is equal to 0.5, then the possibility that the relay node 1 is abnormal is high, and the relay node 1 is taken as an abnormal relay node. It can be determined that the second ratio corresponding to the service node 1 is the largest and equal to the second ratio corresponding to the service node 3, that is, the largest second ratio is equal to 0.5, the probability that the service node 1 and the service node 3 are abnormal is high, and thus the service node 1 and the service node 3 are taken as abnormal service nodes, and in this case, the abnormal transit node and the abnormal service node are determined at the same time.
It should be noted that, if the simulated data is not delivered to the service node when the simulated data is delivered, the delivery link corresponding to the simulated data is abnormal, and the node through which the delivery link passes only includes the transit node, in this case, if the obtained abnormal links are all the abnormal links including only the transit node, the transit node through which the abnormal link passes has an abnormality at the maximum probability, because the service node does not exist on the abnormal link, each calculated second ratio is equal to 0, and if the fourth preset threshold is equal to 0.1, it may be determined that the abnormal service node does not exist in this case. For example, if there are 15 links passing through the transit node 1, and there are 10 abnormal links, and these 10 abnormal links are all links passing through the transit node only, and do not pass through the service node, and all of the 10 abnormal links pass through the transit node 1, it can be determined that there is a high possibility that an abnormality exists in the transit node 1.
Or, most of all the abnormal links pass through the same service node, and the first ratio of the abnormal number corresponding to the transit node passing through the abnormal links to the total number of the delivery links corresponding to the transit node is very small (for example, the third preset threshold is equal to 0.1, and each determined first ratio is less than 0.1), it may be determined that there is no abnormal transit node in this case, and the second ratio of the abnormal number corresponding to the service node to the total number of the delivery links corresponding to the service node is relatively large, and the second ratio is greater than the second preset threshold, it may be determined that there is a relatively high possibility that there is an abnormality in the service node.
Under the condition that the abnormal transfer node and/or service node is determined, technicians can find problems in time and solve the problems conveniently, so that the robustness of a link can be improved, and the success rate of delivering user data by a delivery end in practical application is improved.
Referring to fig. 4, fig. 4 is a schematic structural diagram of a link dialing test apparatus provided in an embodiment of the present invention, where the apparatus 400 is disposed in an association server, and the apparatus 400 includes:
an obtaining module 410, configured to obtain at least one first log record from a first server, and obtain at least one second log record from a second server, where the first log record includes a first identifier of simulated data of a user behavior, a delivery time of the simulated data, a second identifier of a pull test point, and a third identifier of a target transfer node, and the delivery time is a time corresponding to when the pull test point delivers the simulated data to the target transfer node; the second log record comprises the first identifier, the second identifier, the third identifier, a fourth identifier of a target service node, and corresponding receiving time when the target service node receives the simulation data;
a first determining module 420, configured to determine whether a delivery link of the simulation data corresponding to the first identifier is normal according to the at least one first log record and the at least one second log record.
The link dialing test device provided by this embodiment obtains at least one first log record from the first server, obtains at least one second log record from the second server, and determines whether the delivery link of the analog data corresponding to the first identifier is normal according to the at least one first log record and the at least one second log record, so as to implement dialing test on the delivery link, find an abnormal link as soon as possible, further facilitate timely maintenance of the delivery link, improve robustness of the delivery link, ensure practical application, and improve success rate of delivery user data at a delivery end.
Optionally, the first determining module 410 is specifically configured to determine whether an identifier that is the same as a first identifier of a first target log record exists in the first identifier in the at least one second log record, where the first target log record is one record in the at least one first log record;
if the first identifier in the at least one second log record has the identifier same as the first identifier of the first target log record, calculating a difference value between the receiving time in the second target log record and the delivery time of the first target log record, wherein the first identifier of the second target log record is the same as the first identifier of the first target log record;
and if the difference is larger than or equal to a preset threshold value, taking a delivery link of the simulation data corresponding to the first identifier in the first target log record or the first identifier in the second log record as an abnormal link.
Optionally, the first determining module 410 is further configured to, if there is no identifier that is the same as the first identifier of the first target log record in the first identifier of the at least one second log record, take a delivery link of the simulation data corresponding to the first identifier of the first target log record as an abnormal link.
Optionally, referring to fig. 5, fig. 5 is a schematic structural diagram of another link dialing test apparatus provided in the embodiment of the present invention, where the apparatus 500 is disposed in an association server, and the apparatus 500 includes:
a second determining module 430, configured to determine whether the transit node and/or the service node are normal according to at least one of the abnormal links.
Optionally, the second determining module 430 is specifically configured to determine a transit node and/or a service node through which all the abnormal links pass;
calculating a first ratio of the abnormal number corresponding to the transit node passed by the abnormal link to the total number of delivery links corresponding to the transit node passed by the abnormal link, and/or calculating a second ratio of the abnormal number corresponding to the service node passed by the abnormal link to the total number of delivery links corresponding to the service node passed by the abnormal link;
and determining an abnormal transit node according to each first ratio, and/or determining an abnormal service node according to each second ratio.
Referring to fig. 6, fig. 6 is a schematic structural diagram of another link dial testing apparatus provided in an embodiment of the present invention, where the apparatus 600 is disposed at a dial testing point, and the apparatus 600 includes:
a delivery module 610, configured to generate simulation data of a user behavior, determine a target transfer node from the at least one transfer node, and deliver the simulation data, a first identifier of the simulation data, and a second identifier of the dial-up point to the target transfer node;
a sending module 620, configured to generate a first log record according to the delivery time of the simulation data, the first identifier, the second identifier, and the third identifier of the target transfer node, and send the first log record to a first server.
The link dial testing device provided in this embodiment generates the simulation data of the user behavior, determines the target relay node from the at least one relay node, delivers the simulation data, the first identifier of the simulation data, and the second identifier of the dial testing point to the target relay node, generates the first log record according to the delivery time of the simulation data, the first identifier, the second identifier, and the third identifier of the target relay node, and sends the first log record to the first server, so that the association server can obtain the first log record from the first server, and compare the first log record with the second log record obtained by the association server from the second server, thereby determining whether the delivery link corresponding to the simulation data is abnormal, and implementing the dial testing of the delivery link, the abnormal link is found in time, so that the delivery link is convenient to maintain in time, and the robustness of the delivery link is improved, thereby ensuring that the success rate of delivering user data at a delivery end is improved in practical application.
An embodiment of the present invention further provides an electronic device, as shown in fig. 7, and fig. 7 is a schematic structural diagram of the electronic device provided in the embodiment of the present invention. Comprises a processor 701, a communication interface 702, a memory 703 and a communication bus 704, wherein the processor 701, the communication interface 702 and the memory 703 are communicated with each other through the communication bus 704,
a memory 703 for storing a computer program;
the processor 701 is configured to implement the following steps when executing the program stored in the memory 703:
the method comprises the steps that at least one first log record is obtained from a first server, at least one second log record is obtained from a second server, wherein the first log record comprises a first identifier of simulation data of user behaviors, delivery time of the simulation data, a second identifier of a dial testing point and a third identifier of a target transfer node, and the delivery time is corresponding to the time when the dial testing point delivers the simulation data to the target transfer node; the second log record comprises the first identifier, the second identifier, the third identifier, a fourth identifier of a target service node, and corresponding receiving time when the target service node receives the simulation data;
and judging whether the delivery link of the simulated data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
The communication bus mentioned in the above terminal may be a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, or the like. The communication bus may be divided into an address bus, a data bus, a control bus, etc. For ease of illustration, only one thick line is shown, but this does not mean that there is only one bus or one type of bus.
The communication interface is used for communication between the terminal and other equipment.
The Memory may include a Random Access Memory (RAM) or a non-volatile Memory (non-volatile Memory), such as at least one disk Memory. Optionally, the memory may also be at least one memory device located remotely from the processor.
The Processor may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; the Integrated Circuit may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field Programmable Gate Array (FPGA) or other Programmable logic device, a discrete Gate or transistor logic device, or a discrete hardware component.
In another embodiment of the present invention, a computer-readable storage medium is further provided, which has instructions stored therein, and when the computer-readable storage medium runs on a computer, the computer is caused to execute the link dialing test method in any one of the above embodiments.
In yet another embodiment, a computer program product containing instructions is provided, which when run on a computer, causes the computer to perform the link dialing test method as described in any of the above embodiments.
In the above embodiments, the implementation may be wholly or partially realized by software, hardware, firmware, or any combination thereof. When implemented in software, may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When loaded and executed on a computer, cause the processes or functions described in accordance with the embodiments of the invention to occur, in whole or in part. The computer may be a general purpose computer, a special purpose computer, a network of computers, or other programmable device. The computer instructions may be stored in a computer readable storage medium or transmitted from one computer readable storage medium to another, for example, from one website site, computer, server, or data center to another website site, computer, server, or data center via wired (e.g., coaxial cable, fiber optic, Digital Subscriber Line (DSL)) or wireless (e.g., infrared, wireless, microwave, etc.). The computer-readable storage medium can be any available medium that can be accessed by a computer or a data storage device, such as a server, a data center, etc., that incorporates one or more of the available media. The usable medium may be a magnetic medium (e.g., floppy Disk, hard Disk, magnetic tape), an optical medium (e.g., DVD), or a semiconductor medium (e.g., Solid State Disk (SSD)), among others.
It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
All the embodiments in the present specification are described in a related manner, and the same and similar parts among the embodiments may be referred to each other, and each embodiment focuses on the differences from the other embodiments. In particular, for the system embodiment, since it is substantially similar to the method embodiment, the description is simple, and for the relevant points, reference may be made to the partial description of the method embodiment.
The above description is only for the preferred embodiment of the present invention, and is not intended to limit the scope of the present invention. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention shall fall within the protection scope of the present invention.

Claims (16)

1. A link dial testing method is characterized in that the method is applied to a system comprising dial testing points, at least one transfer node, at least one service node and a correlation server; the method comprises the following steps:
the dial testing point generates simulation data of user behaviors, a target transfer node is determined from the at least one transfer node, and the simulation data, a first identifier of the simulation data and a second identifier of the dial testing point are delivered to the target transfer node;
the dial-up point generates a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and a third identifier of the target transfer node, and sends the first log record to a first server;
the target transfer node delivers the simulation data, the first identifier, the second identifier and the third identifier to a target service node corresponding to the target transfer node;
the target service node receives the simulation data, the first identification, the second identification and the third identification, generates a second log record according to the first identification, the second identification, the third identification, the fourth identification of the target service node and the corresponding receiving time when the simulation data is received, and sends the second log record to a second server;
the association server obtains at least one first log record from the first server and at least one second log record from the second server;
and the association server judges whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
2. A link dialing test method, implemented in an association server, comprising:
the method comprises the steps that at least one first log record is obtained from a first server, at least one second log record is obtained from a second server, wherein the first log record comprises a first identifier of simulation data of user behaviors, delivery time of the simulation data, a second identifier of a dial testing point and a third identifier of a target transfer node, and the delivery time is corresponding to the time when the dial testing point delivers the simulation data to the target transfer node; the second log record comprises the first identifier, the second identifier, the third identifier, a fourth identifier of a target service node, and corresponding receiving time when the target service node receives the simulation data;
and judging whether the delivery link of the simulated data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
3. The method of claim 2, wherein determining whether a delivery link for the simulated data corresponding to the first identifier is normal according to the at least one first log record and the at least one second log record comprises:
judging whether the first identifier in the at least one second log record is the same as the first identifier of a first target log record, wherein the first target log record is one of the at least one first log record;
if the first identifier in the at least one second log record has the identifier same as the first identifier of the first target log record, calculating a difference value between the receiving time in the second target log record and the delivery time of the first target log record, wherein the first identifier of the second target log record is the same as the first identifier of the first target log record;
and if the difference is larger than or equal to a preset threshold value, taking a delivery link of the simulation data corresponding to the first identifier in the first target log record or the first identifier in the second log record as an abnormal link.
4. The method of claim 3, further comprising:
and if the first identifier in the at least one second log record does not have the identifier same as the first identifier of the first target log record, taking the delivery link of the simulated data corresponding to the first identifier in the first target log record as an abnormal link.
5. The method according to claim 3 or 4, wherein after determining whether the delivery link of the simulated data corresponding to the first identifier is normal according to the at least one first log record and the at least one second log record, the method further comprises:
and judging whether the transit node and/or the service node are normal or not according to at least one abnormal link.
6. The method according to claim 5, wherein the determining whether the transit node and/or the serving node are normal according to at least one of the abnormal links includes:
determining transit nodes and/or service nodes which are passed by all the abnormal links;
calculating a first ratio of the abnormal number corresponding to the transit node passed by the abnormal link to the total number of delivery links corresponding to the transit node passed by the abnormal link, and/or calculating a second ratio of the abnormal number corresponding to the service node passed by the abnormal link to the total number of delivery links corresponding to the service node passed by the abnormal link;
and determining an abnormal transit node according to each first ratio, and/or determining an abnormal service node according to each second ratio.
7. A link dial testing method, executed at a dial testing point, includes:
generating simulation data of user behaviors, determining a target transfer node from at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dial-up point to the target transfer node;
and generating a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and a third identifier of the target transfer node, and sending the first log record to a first server, so that the correlation server can judge whether a delivery link of the simulation data corresponding to the first identifier is normal or not according to the first log record and a second log record from a second server.
8. A link dialing test system, comprising:
the dial-up point is used for generating simulation data of user behaviors, determining a target transfer node from at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dial-up point to the target transfer node;
the dial-up point is used for generating a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and a third identifier of the target transfer node, and sending the first log record to a first server;
the target transfer node is configured to deliver the simulation data, the first identifier, the second identifier, and the third identifier to a target service node corresponding to the target transfer node;
the target service node is configured to receive the simulation data, the first identifier, the second identifier, and the third identifier, generate a second log record according to the first identifier, the second identifier, the third identifier, a fourth identifier of the target service node, and corresponding receiving time when the simulation data is received, and send the second log record to a second server;
the association server is used for acquiring at least one first log record from the first server and acquiring at least one second log record from the second server;
and the association server is used for judging whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
9. A link dialing test device is arranged in an association server and comprises:
the system comprises an acquisition module, a first relay node and a second relay node, wherein the acquisition module is used for acquiring at least one first log record from a first server and at least one second log record from a second server, the first log record comprises a first identifier of simulation data of user behaviors, delivery time of the simulation data, a second identifier of a pull test point and a third identifier of a target relay node, and the delivery time is corresponding time when the pull test point delivers the simulation data to the target relay node; the second log record comprises the first identifier, the second identifier, the third identifier, a fourth identifier of a target service node, and corresponding receiving time when the target service node receives the simulation data;
and the first judgment module is used for judging whether the delivery link of the simulation data corresponding to the first identifier is normal or not according to the at least one first log record and the at least one second log record.
10. The apparatus according to claim 9, wherein the first determining module is specifically configured to determine whether there is an identifier that is the same as the first identifier of a first target log record in the first identifier of the at least one second log record, where the first target log record is one of the at least one first log record;
if the first identifier in the at least one second log record has the identifier same as the first identifier of the first target log record, calculating a difference value between the receiving time in the second target log record and the delivery time of the first target log record, wherein the first identifier of the second target log record is the same as the first identifier of the first target log record;
and if the difference is larger than or equal to a preset threshold value, taking a delivery link of the simulation data corresponding to the first identifier in the first target log record or the first identifier in the second log record as an abnormal link.
11. The apparatus of claim 10, wherein the first determining module is further configured to, if there is no identifier that is the same as the first identifier of the first target log record in the first identifier of the at least one second log record, regard a delivery link of the simulation data corresponding to the first identifier of the first target log record as an abnormal link.
12. The apparatus of claim 10 or 11, further comprising:
and the second judging module is used for judging whether the transit node and/or the service node are normal or not according to at least one abnormal link.
13. The apparatus according to claim 12, wherein the second determining module is specifically configured to determine a transit node and/or a serving node through which all the abnormal links pass;
calculating a first ratio of the abnormal number corresponding to the transit node passed by the abnormal link to the total number of delivery links corresponding to the transit node passed by the abnormal link, and/or calculating a second ratio of the abnormal number corresponding to the service node passed by the abnormal link to the total number of delivery links corresponding to the service node passed by the abnormal link;
and determining an abnormal transit node according to each first ratio, and/or determining an abnormal service node according to each second ratio.
14. The utility model provides a link dials survey device which characterized in that sets up in dialling the measurement station, includes:
the delivery module is used for generating simulation data of user behaviors, determining a target transfer node from at least one transfer node, and delivering the simulation data, a first identifier of the simulation data and a second identifier of the dial-up point to the target transfer node;
and the sending module is used for generating a first log record according to the delivery time of the simulation data, the first identifier, the second identifier and the third identifier of the target transfer node, and sending the first log record to a first server, so that the correlation server can judge whether a delivery link of the simulation data corresponding to the first identifier is normal or not according to the first log record and a second log record from a second server.
15. An electronic device is characterized by comprising a processor, a communication interface, a memory and a communication bus, wherein the processor and the communication interface are used for realizing mutual communication by the memory through the communication bus;
a memory for storing a computer program;
a processor for implementing the method steps of any of claims 1 to 7 when executing a program stored in the memory.
16. A computer-readable storage medium, on which a computer program is stored which, when being executed by a processor, carries out the method according to any one of claims 1-7.
CN202010415444.7A 2020-05-15 2020-05-15 Link dial testing method and device, electronic equipment and storage medium Active CN111711544B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202010415444.7A CN111711544B (en) 2020-05-15 2020-05-15 Link dial testing method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202010415444.7A CN111711544B (en) 2020-05-15 2020-05-15 Link dial testing method and device, electronic equipment and storage medium

Publications (2)

Publication Number Publication Date
CN111711544A CN111711544A (en) 2020-09-25
CN111711544B true CN111711544B (en) 2021-11-09

Family

ID=72537207

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202010415444.7A Active CN111711544B (en) 2020-05-15 2020-05-15 Link dial testing method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN111711544B (en)

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112637008B (en) * 2020-12-14 2022-08-09 广州品唯软件有限公司 Link simulation test method, device, system, computer equipment and storage medium
CN112637009B (en) * 2020-12-15 2022-08-12 杭州橙鹰数据技术有限公司 Data link detection system, method and device
CN112612673B (en) * 2020-12-24 2022-12-06 青岛海尔科技有限公司 Analysis method and device for dial testing log, storage medium and electronic device
CN114024876B (en) * 2021-10-15 2023-06-16 中国联合网络通信集团有限公司 Network dial testing method, device, equipment and storage medium

Family Cites Families (20)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7184401B2 (en) * 2001-02-05 2007-02-27 Interdigital Technology Corporation Link-aware transmission control protocol
US20070185689A1 (en) * 2006-02-07 2007-08-09 Sigcom, Inc. Systems and methods for event detection and logging in access control points
MY157712A (en) * 2006-06-20 2016-07-15 Interdigital Tech Corp Methods and system for performing handover in a wireless communication system
GB2465833B (en) * 2008-12-04 2010-12-29 Csl Electronic device
JP5445085B2 (en) * 2009-12-04 2014-03-19 ソニー株式会社 Information processing apparatus and program
CN101808349B (en) * 2010-03-12 2013-03-13 北京天碁科技有限公司 Method and device for acquiring system time of mobile terminal message
CN101826984A (en) * 2010-04-08 2010-09-08 中兴通讯股份有限公司 Log information processing method and device thereof
CN101887393B (en) * 2010-07-01 2014-07-02 中兴通讯股份有限公司 Equipment fault reproduction method and system based on para-virtualization technique
CN102480375A (en) * 2010-11-23 2012-05-30 天津中兴软件有限责任公司 Method for processing log information
CN102290866B (en) * 2011-08-26 2014-08-13 Tcl集团股份有限公司 Control method and control system of intelligent releaser
CN102780777B (en) * 2012-07-19 2015-04-08 北京蓝汛通信技术有限责任公司 Log collecting method and log collecting system
CN105095052B (en) * 2014-05-22 2018-08-31 阿里巴巴集团控股有限公司 Fault detection method under SOA environment and device
CN106027326B (en) * 2016-05-10 2019-06-07 杭州迪普科技股份有限公司 Link healthprobe method and device
CN106899447B (en) * 2016-06-28 2020-07-21 阿里巴巴集团控股有限公司 Link determination method and device
CN106790718A (en) * 2017-03-16 2017-05-31 北京搜狐新媒体信息技术有限公司 Service call link analysis method and system
CN106933724B (en) * 2017-03-16 2020-06-05 北京搜狐新媒体信息技术有限公司 Distributed information tracking system, information processing method and device
CN107018042B (en) * 2017-04-13 2020-03-20 广东神马搜索科技有限公司 Tracking method and tracking system for online service system
US10896418B2 (en) * 2017-12-29 2021-01-19 Ebay Inc. Secure management of data files using a blockchain
CN108174385B (en) * 2018-02-12 2020-07-10 海信集团有限公司 Method and device for detecting communication link
CN110912985B (en) * 2019-11-20 2021-05-28 腾讯科技(深圳)有限公司 Network link scheduling method and related equipment

Also Published As

Publication number Publication date
CN111711544A (en) 2020-09-25

Similar Documents

Publication Publication Date Title
CN111711544B (en) Link dial testing method and device, electronic equipment and storage medium
CN110730246A (en) Distributed link tracking method under micro-service architecture
US9172593B2 (en) System and method for identifying problems on a network
CN110928880B (en) Data processing method, device, terminal and medium based on block chain
TW202046206A (en) Abnormal account detection method and device
CN111597057B (en) Data processing method, device and computer readable storage medium
CN111611140B (en) Report verification method and device for buried point data, electronic equipment and storage medium
CN110930254A (en) Data processing method, device, terminal and medium based on block chain
CN112165517B (en) Return source detection method and device, storage medium and electronic equipment
CN114301800A (en) Network equipment quality difference analysis method and device
WO2016037489A1 (en) Method, device and system for monitoring rcs spam messages
CN113360752A (en) Message pushing method, device, equipment and readable medium
CN109150587B (en) Maintenance method and device
CN110995522B (en) Information processing method and device
CN112188247A (en) Data transmission method, device, equipment and computer readable storage medium
CN108512698B (en) Network disaster tolerance method and device and electronic equipment
CN108390770B (en) Information generation method and device and server
CN108449224B (en) Data acquisition method, device, equipment and storage medium
CN113014443B (en) Method and system for testing whether CDN (content delivery network) resources hit cache
CN107800754A (en) Data transfer task processing, data transfer task monitoring method and device
CN110881213A (en) Method and system for transmitting network test process information
WO2018121353A1 (en) Method of testing data channel, test server, and test system
CN114430567B (en) Network detection model evaluation method, device and system and electronic equipment
KR101680736B1 (en) Process for checking status of network device
CN112671822B (en) Service request processing method, device, storage medium, server and system

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
GR01 Patent grant
GR01 Patent grant