CN106571977B - Data transmission method and device - Google Patents

Data transmission method and device Download PDF

Info

Publication number
CN106571977B
CN106571977B CN201610939205.5A CN201610939205A CN106571977B CN 106571977 B CN106571977 B CN 106571977B CN 201610939205 A CN201610939205 A CN 201610939205A CN 106571977 B CN106571977 B CN 106571977B
Authority
CN
China
Prior art keywords
detection data
monitoring platform
data
server
network 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
CN201610939205.5A
Other languages
Chinese (zh)
Other versions
CN106571977A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN201610939205.5A priority Critical patent/CN106571977B/en
Publication of CN106571977A publication Critical patent/CN106571977A/en
Application granted granted Critical
Publication of CN106571977B publication Critical patent/CN106571977B/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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0677Localisation of faults
    • 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/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • 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/0852Delays
    • 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/0852Delays
    • H04L43/087Jitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/12Network monitoring probes

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a data transmission method and a data transmission device. Wherein, the method comprises the following steps: the method comprises the steps that a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol; the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link; and the server reports the detection data to a monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data. The invention solves the technical problem of low data detection efficiency in the data transmission of the network link in the related technology.

Description

Data transmission method and device
Technical Field
The invention relates to the field of internet, in particular to a data transmission method and device.
Background
At present, in long-distance transmission, packet loss of data transmission is frequent, for example, in the process of cross-intercontinental transmission of high-bandwidth data streams, data of an overall network link is affected by fluctuation of any level of network, and in long-distance transmission, a plurality of routing paths and long distance are provided, so that data is not easy to detect, the detection efficiency of the data is low, and further, the fault of the network link cannot be quickly discovered.
In view of the above-mentioned problem of low efficiency of data detection in data transmission of a network link, no effective solution has been proposed at present.
Disclosure of Invention
The embodiment of the invention provides a data transmission method and a data transmission device, which at least solve the technical problem of low data detection efficiency in data transmission of a network link in the related art.
According to an aspect of an embodiment of the present invention, a data transmission method is provided. The data transmission method comprises the following steps: the method comprises the steps that a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol; the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link; and the server reports the detection data to a monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data.
According to another aspect of the embodiments of the present invention, a data transmission method is also provided. The data transmission method comprises the following steps: the method comprises the steps that a monitoring platform obtains detection data obtained by a server detecting a plurality of routing nodes in a network link according to a detection data packet and a preset protocol, wherein the server transmits the detection data packet among the routing nodes through the preset protocol, and the detection data are used for determining the network state of the network link; and the monitoring platform displays the detection data and adjusts the network link according to the detection data.
According to an aspect of an embodiment of the present invention, there is provided a data transmission apparatus. The data transmission device includes: the transmission unit is used for enabling the server to transmit the detection data packet among the plurality of routing nodes in the network link through a preset protocol; the detection unit is used for enabling the server to detect the plurality of routing nodes according to the detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link; and the reporting unit is used for enabling the server to report the detection data to the monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data.
According to an aspect of the embodiment of the present invention, a data transmission apparatus is also provided. The data transmission device includes: the system comprises an acquisition unit, a monitoring unit and a processing unit, wherein the acquisition unit is used for enabling a monitoring platform to acquire detection data obtained by a server to detect a plurality of routing nodes in a network link according to a detection data packet and a preset protocol, the server transmits the detection data packet among the plurality of routing nodes through the preset protocol, and the detection data is used for determining the network state of the network link; and the adjusting unit is used for adjusting the network link by the monitoring platform according to the detection data.
In the embodiment of the invention, a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol; the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link; the server reports the detection data to the monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data, so that the purpose of monitoring the data of the network link is achieved, the technical effect of improving the detection efficiency of the data in the data transmission of the network link is achieved, and the technical problem of low detection efficiency of the data in the data transmission of the network link in the related art is solved.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
FIG. 1 is a schematic diagram of a hardware environment for a data transfer method according to an embodiment of the invention;
FIG. 2 is a flow chart of a method of data transmission according to an embodiment of the present invention;
FIG. 3 is a flow chart of another method of data transmission according to an embodiment of the present invention;
FIG. 4 is a flow chart of another method of data transmission according to an embodiment of the present invention;
FIG. 5 is a flow chart of another method of data transmission according to an embodiment of the present invention;
FIG. 6 is a flow chart of another method of data transmission according to an embodiment of the present invention;
FIG. 7 is a flow chart of another method of data transmission according to an embodiment of the present invention;
FIG. 8 is a flow chart of another method of data transmission according to an embodiment of the present invention;
fig. 9 is a flowchart of a method for processing abnormal data by a monitoring platform to switch an abnormal state to a normal state according to an embodiment of the present invention;
FIG. 10 is a flowchart of a method for filtering the detection data according to a predetermined rule by the monitoring platform according to an embodiment of the present invention;
FIG. 11 is a flow chart of another method of data transmission according to an embodiment of the present invention;
FIG. 12 is a schematic diagram of a monitoring platform displaying inspection data according to an embodiment of the invention;
FIG. 13 is a schematic illustration of another monitoring platform displaying inspection data in accordance with an embodiment of the present invention;
FIG. 14 is a schematic diagram of a data transmission apparatus according to an embodiment of the present invention;
FIG. 15 is a schematic diagram of another data transmission apparatus according to an embodiment of the present invention; and
fig. 16 is a block diagram of a terminal according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, 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 only a part of the embodiments of the present invention, and not all of the embodiments. 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 should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example 1
According to an embodiment of the present invention, an embodiment of a data transmission method is provided.
Alternatively, in this embodiment, the data transmission method may be applied to a hardware environment formed by the monitoring platform 102 and the terminal 104 as shown in fig. 1. Fig. 1 is a schematic diagram of a hardware environment of a data transmission method according to an embodiment of the present invention. As shown in fig. 1, the monitoring platform 102 is connected to the terminal 104 via a network, including but not limited to: the terminal 104 is not limited to a PC, a mobile phone, a tablet computer, etc. in a wide area network, a metropolitan area network, or a local area network. The data transmission method according to the embodiment of the present invention may be executed by the monitoring platform 102, or executed by the terminal 104, or executed by both the monitoring platform 102 and the terminal 104. The data transmission method of the embodiment of the present invention executed by the terminal 104 may also be executed by a client installed thereon.
Fig. 2 is a flow chart of a data transmission method according to an embodiment of the present invention. As shown in fig. 2, the method may include the steps of:
step S202, the server transmits the detection data packet among a plurality of routing nodes in the network link through a preset protocol.
In the technical solution provided by step S202 of the present invention, the server transmits the probe packet between a plurality of routing nodes in the network link through a preset protocol.
In long-distance data transmission, for example, in long-distance data transmission such as cross-continental transmission, when a high-bandwidth data stream is transmitted across continental, packet loss of the data stream is relatively serious, and any one-stage network jitter in the period will affect the data of the whole network link, so that each link of the whole network link is monitored, for example, the jitter condition of the network link is monitored. Because the number of routing nodes of the network link is large, the routing nodes are transmission nodes of data in the network link, main nodes of the network link are obtained, and each routing node is detected through the detection data packet, so that each link of the network link is monitored. Optionally, the primary node of the network link has a room for data-to-data processing. The method comprises the steps of deploying detection services for main nodes of a network link, enabling a server to transmit detection Data packets among a plurality of nodes in the network link through a preset Protocol, detecting the nodes in a one-to-many mode, detecting the nodes in the one-to-many mode through a Control message Protocol (Internet Control message Protocol, ICMP for short) Protocol, and detecting the nodes in the User Data Protocol (UDP for short).
And step S204, the server detects the plurality of routing nodes according to the detection data packet and a preset protocol to obtain the detection data of each routing node.
In the technical solution provided by step S204 of the present invention, the server detects the plurality of routing nodes according to the probe packet and the preset protocol, and obtains detection data of each routing node, where the detection data is used to determine a network state of the network link.
After a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol, the server detects the plurality of routing nodes according to the detection data packets and the preset protocol to obtain detection data of each routing node, wherein the detection data comprises delay time for detecting the detection data packets by each routing node and packet loss rate of the detection data packets when the detection data packets are transmitted among the plurality of routing nodes. The server can detect the delay time and the packet loss rate of the network under a preset protocol through the detection data packet, optionally, a detection service is built for each obtained routing node, one-to-many detection is adopted for each node, comprehensive scanning is completed, the detection data packet is sent at the packet sending rate of 1000 times per minute, 1-minute comprehensive coverage is achieved, and the delay time and the packet loss rate of each detection are collected. And determining the network state of the network link, namely determining the network quality of the network link by judging whether the delay time and the packet loss rate meet preset conditions. For example, when the delay time and the packet loss rate do not meet the preset conditions, it is determined that the network link is in a failure state, that is, an abnormal jitter condition occurs in the network link.
Optionally, the server builds a probe service at each routing node, sends 100 probe data packets per minute in a point-to-point manner, records that each probe data includes the sending time and the arrival time of transmission between the routing nodes, and verifies whether a return value is correct, where the return value is obtained by each routing node in response to the probe data packet, and the detection data includes the sending time and the arrival time of transmission between the routing nodes, and verifies the result whether the return value is correct. The sending and reaching time of each detection packet and whether the verification return value is correct can be used for determining the network state of the network link, so that the network quality among a plurality of nodes in the network link is determined, and whether data transmission in the network link is normal is determined.
Step S206, the server reports the detection data to the monitoring platform.
In the technical solution provided in step S206 of the present invention, the server reports the detection data to the monitoring platform, where the monitoring platform is configured to display the detection data and adjust the network link according to the detection data.
After the server detects the plurality of routing nodes according to the detection data packets and the preset protocol to obtain the detection data of each routing node, the server calls a preset program, reports the detection data to the monitoring platform, and writes the detection data into the database. The monitoring platform acquires detection data in the database in real time through an alarm scanning program, filters delay time and packet loss rate in the database, sets a preset threshold, judges whether the delay time and the packet loss rate exceed or are lower than the preset threshold, and determines a network state abnormal state of a network link when judging that the delay time and the packet loss rate exceed or are lower than the preset threshold, namely, the network link breaks down, and switches the fault state. The server reports the detection data to the monitoring platform in real time, the monitoring platform calls a drawing program to draw according to the detection data collected in real time, optionally, special drawing and displaying are carried out on abnormal jitter conditions, so that a user can be quickly positioned to a position with a fault in a network link through the special drawing and displaying, measures are taken for maintaining the position with the fault in the network link, the fault state is quickly switched, and the efficiency of data detection in the network link is improved.
Through the steps S202 to S206, the server transmits the probe packet between the plurality of routing nodes in the network link through a preset protocol; the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link; the server reports the detection data to the monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data, so that the technical problem of low data detection efficiency in data transmission of the network link in the related art is solved, and the technical effect of improving the data detection efficiency in the data transmission of the network link is achieved.
As an optional implementation manner, the server corresponds to the routing nodes one to one, and in step S202, the server transmits the probe packet between the routing nodes in the network link through a preset protocol includes: the servers respectively corresponding to the routing nodes mutually transmit the detection data packets among the routing nodes through a preset protocol; or the server corresponding to the first routing node transmits the detection data packet to the servers corresponding to the plurality of second routing nodes respectively through a preset protocol between the first routing node and the plurality of second routing nodes, wherein the plurality of routing nodes comprise the first routing node and the second routing node.
The servers correspond to the routing nodes one to one, and build a detection service at each routing node in the network link, and optionally, build a liquidity management protocol (IDMP) detection service based on a ping command at each routing node. The ping command also belongs to a communication protocol, whether the network is connected or not can be checked, and the detection data packets are mutually transmitted among all the routing nodes to achieve the purpose of detecting all the routing nodes. Optionally, the plurality of routing nodes include a first routing node and a plurality of second routing nodes, where a server corresponding to the first routing node transmits a probe packet to a server corresponding to the plurality of second routing nodes through a preset protocol, that is, after performing probe service deployment, main nodes of the network link perform mutual probe in a one-to-many manner, so as to achieve a purpose that the server transmits the probe packet between the plurality of routing nodes in the network link through the preset protocol.
As an optional implementation manner, the detecting, by the server, the plurality of routing nodes according to the probe packet and the preset protocol, and obtaining the detection data of each routing node includes: the server detects the delay time for detecting the detection data packet by each routing node and the packet loss rate of the detection data packet during transmission among the routing nodes according to a preset protocol; the server reporting the detection data to the monitoring platform comprises the following steps: and the server reports the delay time and the packet loss rate to the monitoring platform.
Fig. 3 is a flow chart of another data transmission method according to an embodiment of the present invention. As shown in fig. 3, the data transmission method includes:
step S301, the server detects the delay time for each routing node to detect the detection data packet and the packet loss rate of the detection data packet when the detection data packet is transmitted among a plurality of routing nodes according to a preset protocol.
In the technical solution provided in step S301 of the present invention, the server detects, according to a preset protocol, a delay time for each routing node to probe the probe data packet and a packet loss rate when the probe data packet is transmitted between a plurality of routing nodes, where the detection data includes the delay time and the packet loss rate.
After a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol, the server detects the delay time of detection of the detection data packets by each routing node and the packet loss rate of the detection data packets when the detection data packets are transmitted among the plurality of routing nodes according to the preset protocol, optionally, the preset protocol is an ICMP protocol, and the server detects the packet loss rate and the delay time of network links in a segmented manner according to the ICMP protocol. Optionally, an IDMP service based on a ping command is established at each routing node, and each routing node performs detection in a one-to-many manner by transmitting a data detection packet, so as to complete comprehensive scanning, wherein a packet sending rate can be increased by 1000 times per minute, so that comprehensive coverage is achieved for 1 minute, and a delay time for detecting the detection data packet by each routing node and a packet loss rate of the detection data packet during transmission among a plurality of routing nodes are acquired and collected. The delay time and the packet loss rate are used to determine the network status of the network link, that is, determine whether the network link has an abnormal jitter condition.
Step S302, the server reports the delay time and the packet loss rate to the monitoring platform.
In the technical solution provided in step S302 of the present invention, the server reports the delay time and the packet loss rate to the monitoring platform.
After the server detects the delay time for detecting the detection data packet by each routing node and the packet loss rate of the detection data packet during transmission among the routing nodes according to a preset protocol, the server loads the packet delay time and the packet loss rate to a monitoring platform. Because the network link for long-distance transmission has more paths, long distance and more routing nodes, the data volume of the delay time and the packet loss rate is larger, and the delay time and the packet loss rate are stored in the database of the monitoring platform, so that the relay effect on the delay time and the packet loss rate can be realized, and the delay time and the packet loss rate are further processed. Optionally, the monitoring platform obtains the delay time and the packet loss rate from the database in real time, filters the delay time and the packet loss rate in the database according to a preset condition, may set a preset threshold, and determines whether the delay time and the packet loss rate exceed or are lower than the preset threshold, and if it is determined that the delay time and the packet loss rate exceed or are lower than the preset threshold, alarms to the service side, determines that a network link fails, and performs failover. The monitoring platform can draw the delay time and the packet loss rate of the network link, so that a user can know the network state of the network link clearly through the delay time and the packet loss rate of the network link and determine whether the network link has abnormal jitter.
According to the embodiment, the delay time for detecting the detection data packet by each routing node and the packet loss rate of the detection data packet during transmission among the routing nodes are detected by the server according to the preset protocol, so that the purpose that the server detects the routing nodes according to the detection data packet and the preset protocol to obtain the detection data of each routing node is achieved, the purpose that the server reports the detection data to the monitoring platform is achieved by reporting the delay time and the packet loss rate to the monitoring platform through the server, and the detection efficiency of the data in the data transmission of the network link is improved.
As an optional implementation manner, the detecting, by the server, the plurality of routing nodes according to the probe packet and the preset protocol, and obtaining the detection data of each routing node includes: the server detects the sending and arrival time of the detection data packet among the plurality of routing nodes and a verification result of whether the verification return value is correct or not according to a preset protocol; the server reporting the detection data to the monitoring platform comprises the following steps: and the server reports the sending and arrival time and the return value to the monitoring platform.
Fig. 4 is a flow chart of another data transmission method according to an embodiment of the present invention. As shown in fig. 4, the data transmission method includes:
step S401, the server detects the sending and arrival time of the detection data packet among a plurality of routing nodes and the verification result of whether the verification return value is correct or not according to a preset protocol.
In the technical solution provided by step S401 of the present invention, the server detects, according to a preset protocol, the time when the probe packet is sent and arrived among the plurality of routing nodes and a verification result indicating whether the return value is correct, where the return value is obtained by each routing node responding to the probe packet.
The predetermined protocol may be a UDP protocol. After the server transmits the detection data packet among the plurality of routing nodes in the network link through the preset protocol, the server detects the sending and arrival time of the detection data packet among the plurality of routing nodes and the verification result of whether the verification return value is correct or not according to the UDP protocol. Optionally, a probe service of a UDP protocol built at a routing node of a network link performs probing in a point-to-point manner, 100 UDP packets may be sent every minute, the timeout time may be 500ms, the time of sending and arrival of each probe packet among a plurality of routing nodes is recorded, and it is verified whether a return value obtained by each routing node responding to the probe packet is correct.
Step S402, the server reports the sending and arrival time and the return value to the monitoring platform.
In the technical solution provided by step S402 of the present invention, the server reports the time of transmission and arrival and the return value to the monitoring platform.
After a server detects the time of sending and arriving of a detection data packet among a plurality of routing nodes and a verification result of whether a verification return value is correct or not according to a preset protocol, the time of sending and arriving among the routing nodes and the verification return value are reported to a monitoring platform, and the monitoring platform draws the time of sending and arriving among the routing nodes and the verification return value, so that a user can know the network state of a network link clearly through the time of sending and arriving among the routing nodes, and whether the network link has an abnormal jitter condition or not is determined.
According to the embodiment, the server detects the sending and arrival time of the detection data packet among the routing nodes and the verification result of whether the verification return value is correct or not according to the preset protocol, the purpose that the server detects the routing nodes according to the detection data packet and the preset protocol to obtain the detection data of each routing node is achieved, the server reports the sending and arrival time and the return value to the monitoring platform, the purpose that the server reports the detection data to the monitoring platform is achieved, and therefore the detection efficiency of the data in the data transmission of the network link is improved.
As an optional implementation manner, the reporting, by the server, the detection data to the monitoring platform includes: the server stores the detection data to a database of a monitoring platform by calling a preset program, wherein the monitoring platform is used for acquiring the detection data from the database, filtering the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule, displaying the abnormal data, determining the network state of the network link as an abnormal state according to the abnormal data, and processing the abnormal data to switch the abnormal state as a normal state.
After the server detects the plurality of routing nodes according to the detection data packets and the preset protocol to obtain the detection data of each routing node, the server calls a preset program and stores the detection data to a database of the monitoring platform. Optionally, the preset program is a CGI program, and the CGI program is a program method that runs on a server based on an input of a browser, and is used for an interface standard between an external application program and the server, so that the web page has an interactive function. And the server stores the data into a database of the monitoring platform through the CGI program. Because the network link of the long-distance transmission has more paths, long distance and more routing nodes, the server detects the routing nodes according to the detection data packet and the preset protocol, the data volume of the detection data of each routing node is larger, the detection time is stored in the database, the transfer function of the detection time can be played, and the detection time is further processed.
The monitoring platform is used for acquiring detection data from the database in real time, and filtering the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule. Optionally, the monitoring platform sets a preset threshold, determines whether the detected data exceeds or is lower than the preset threshold, and if the detected data exceeds or is lower than the preset threshold, determines that the detected data is abnormal data, and displays the abnormal data in a special manner, so that a user can know the abnormal data and the position of the network link corresponding to the abnormal data at a glance through the monitoring platform, and the abnormal state of the network link is positioned. The monitoring platform determines that the network state of the network link is an abnormal state according to the abnormal data, and processes the abnormal data, so that the purpose of quickly responding to the abnormal state of the network link is achieved, the abnormal state of the network link is switched to be a normal state, and the detection efficiency of the data in the data transmission of the network link is improved.
As an optional implementation manner, the probe data packets are multiple probe data packets transmitted by the server according to preset time, and when the multiple probe data packets are all sent to multiple routing nodes within the preset time, the server detects the multiple routing nodes according to the probe data packets and a preset protocol to obtain detection data of each routing node.
Fig. 5 is a flow chart of another data transmission method according to an embodiment of the present invention. As shown in fig. 5, the data transmission method includes the following steps:
step S501, the server transmits a plurality of probe packets according to a preset time between a plurality of routing nodes in the network link through a preset protocol.
In the technical solution provided in step S501 of the present invention, the server transmits a plurality of probe packets according to a preset time between a plurality of routing nodes in the network link through a preset protocol.
Optionally, the predetermined protocol is an ICMP protocol, and the detection data of the network connection is segmented and detected by the ICMP protocol. The method can send 1000 detection data packets per minute, and can realize 1 minute overall coverage of network links.
Alternatively, the predetermined protocol is UDP, and the server may send 100 UDP packets per minute.
Step S502, the server detects a plurality of routing nodes according to the detection data packet and a preset protocol to obtain the detection data of each routing node.
In the technical solution provided in step S502 of the present invention, when the plurality of probe packets are all sent to the plurality of routing nodes within the preset time, the server detects the plurality of routing nodes according to the probe packets and the preset protocol, and obtains the detection data of each routing node.
The preset protocol may be an ICMP protocol, and after the server transmits a plurality of probe packets according to a preset time between a plurality of routing nodes in the network link through the ICMP protocol, the delay time and the packet loss rate of the network link for probing the plurality of routing nodes through the plurality of probe packets may be detected.
The preset protocol may be a UDP protocol, and after the server transmits a plurality of probe packets according to a preset time between a plurality of routing nodes in the network link through the UDP protocol, when the timeout time is 500ms, the time of sending and arrival of each probe packet is recorded, and it is verified whether a return value obtained by each routing node responding to the probe packet is correct.
The server of the embodiment transmits the plurality of probe packets between the plurality of routing nodes in the network link according to the preset time through the preset protocol, so that the purpose that the server transmits the probe packets between the plurality of routing nodes in the network link through the preset protocol is achieved, under the condition that the plurality of probe packets are all sent to the plurality of routing nodes within the preset time, the server detects the plurality of routing nodes according to the probe packets and the preset protocol to obtain the detection data of each routing node, the purpose that the server detects the plurality of routing nodes according to the probe packets and the preset protocol to obtain the detection data of each routing node is achieved, and therefore the detection efficiency of the data in the data transmission of the network link is improved.
As an optional implementation, the plurality of routing nodes are a plurality of video routing nodes for transmitting video streams.
In long-distance network transmission, the packet loss situation of a high-bandwidth data stream in cross-intercontinental transmission video stream is serious, and any level of network fluctuation in the high-bandwidth data stream can affect the data of the whole link; the server detects the video routing nodes according to the detection data packets and a preset protocol to obtain detection data of each video routing node; the server reports the detection data to the monitoring platform, the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data, and therefore the detection efficiency of the data in the data transmission of the network link is improved.
As an optional implementation manner, the preset protocol is an ICMP protocol. The server detects the plurality of routing nodes according to the detection data packet and a preset protocol, and the obtaining of the detection data of each routing node comprises the following steps: the method comprises the steps that a server detects delay time for detecting a detection data packet by each routing node and packet loss rate of the detection data packet when the detection data packet is transmitted among a plurality of routing nodes according to an ICMP protocol, wherein the detection data comprises the delay time and the packet loss rate; the server reporting the detection data to the monitoring platform comprises the following steps: and the server reports the delay time and the packet loss rate to the monitoring platform.
As an optional implementation, the predetermined protocol is a UDP protocol. The server detects the plurality of routing nodes according to the detection data packet and a preset protocol, and the obtaining of the detection data of each routing node comprises the following steps: the server detects the sending and arrival time of the detection data packet among the plurality of routing nodes and a verification result of whether a verification return value is correct or not according to a UDP protocol, wherein the return value is obtained by each routing node responding to the detection data packet; the server reporting the detection data to the monitoring platform comprises the following steps: and the server reports the sending and arrival time and the return value to the monitoring platform.
It should be noted that the preset protocols in the embodiment of the present invention include, but are not limited to, the ICMP protocol and the UDP protocol, which are only preferred protocols in the embodiment of the present invention, and are not limited to, only the ICMP protocol and the UDP protocol in the embodiment of the present invention. In order to implement the protocol that the server detects the plurality of routing nodes according to the probe packet to obtain the detection packet of each routing node, embodiments of the present invention may further include other protocols, which are not listed here.
According to the embodiment of the invention, the embodiment of the data transmission method is also provided.
Alternatively, in this embodiment, the data transmission method may be applied to a hardware environment formed by the monitoring platform 102 and the terminal 104 as shown in fig. 1. As shown in fig. 1, the monitoring platform 102 is connected to the terminal 104 via a network, including but not limited to: the terminal 104 is not limited to a PC, a mobile phone, a tablet computer, etc. in a wide area network, a metropolitan area network, or a local area network. The data transmission method according to the embodiment of the present invention may be executed by the monitoring platform 102, or executed by the terminal 104, or executed by both the monitoring platform 102 and the terminal 104. The data transmission method of the embodiment of the present invention executed by the terminal 104 may also be executed by a client installed thereon.
Fig. 6 is a flow chart of another data transmission method according to an embodiment of the present invention. As shown in fig. 6, the data transmission method includes the following steps:
step S602, the monitoring platform obtains detection data obtained by the server detecting a plurality of routing nodes in the network link according to the detection data packet and the preset protocol.
In the technical solution provided in step S602 of the present invention, the monitoring platform obtains detection data obtained by the server detecting the plurality of routing nodes in the network link according to the probe data packet and the preset protocol, wherein the server transmits the probe data packet among the plurality of routing nodes through the preset protocol, and the detection data is used to determine the network state of the network link.
In the long-distance transmission of data, when high-bandwidth data streams are transmitted across continents, packet loss of the data streams is serious, and any level of network jitter in the period can affect the data of the whole network link, so that each link of the whole network link is monitored, for example, the jitter condition of the network link is monitored. Because the number of routing nodes of the network link is large, the routing nodes are transmission nodes of data in the network link, and each routing node is detected through the detection data packet, so that each link of the network link is monitored. The monitoring platform acquires detection data obtained by the server detecting the plurality of routing nodes in the network link according to the detection data packet and the preset protocol, optionally, the monitoring platform acquires detection data obtained by the server detecting the plurality of routing nodes in the network link according to the detection data packet and the ICMP protocol, and the monitoring platform also can acquire detection data obtained by the server detecting the plurality of routing nodes in the network link according to the detection data packet and the UDP protocol.
Optionally, the detection data obtained by the monitoring platform acquiring server detecting the plurality of routing nodes in the network link according to the probe data packet and the preset protocol may include a delay time for each routing node to probe the probe data packet and a packet loss rate when the probe data packet is transmitted between the plurality of routing nodes. Optionally, the monitoring platform obtains a packet sending rate at which the server sends the probe data packets 1000 times per minute, and obtains the delay time and the packet loss rate obtained by one-to-many probing for each node. The monitoring platform determines the network state of the network link by judging whether the delay time and the packet loss rate meet preset conditions, that is, the monitoring platform determines the network quality of the network link according to the delay time and the packet loss rate. For example, when the delay time and the packet loss rate do not meet the preset conditions, the monitoring platform determines that the network link is in a failure state, that is, the network link has an abnormal jitter condition.
Optionally, the detection data obtained by the monitoring platform acquiring server detecting the plurality of routing nodes in the network link according to the probe packet and the preset protocol may include transmission time and arrival time of transmission between the plurality of routing nodes, and verify a result of whether the return value is correct. The monitoring platform acquires that the server builds detection service at each routing node, sends 100 detection data packets every minute in a point-to-point mode, records the result that each detection data comprises the sending time and the arrival time transmitted among the routing nodes and verifies whether the return value is correct, wherein the return value is obtained by each routing node responding to the detection data packets. The monitoring platform can be used for determining the network state of the network link through the sending and reaching time of each detection packet and the verification that whether the return value is correct, so that the network quality among a plurality of nodes in the network link is determined, and whether data transmission in the network link is normal is determined.
Step S604, the monitoring platform displays the detection data.
In the technical solution provided by step S604 of the present invention, the monitoring platform displays the detection data.
After the monitoring platform acquires the detection data obtained by the server according to the detection data packet and the preset protocol to detect the plurality of routing nodes in the network link, the monitoring platform calls the preset program to store the detection data in the database of the monitoring platform through the database acquisition server. The monitoring platform acquires detection data in the database in real time through an alarm scanning program, filters delay time and packet loss rate in the database, sets a preset threshold, judges whether the delay time and the packet loss rate exceed or are lower than the preset threshold, and determines a network state abnormal state of a network link when judging that the delay time and the packet loss rate exceed or are lower than the preset threshold, namely, the network link breaks down, and switches the fault state. The monitoring platform calls a drawing program to draw according to the detection data collected in real time, optionally, the monitoring platform performs special drawing display on abnormal jitter conditions, so that a user can be quickly positioned to a position where a fault occurs in a network link through the special drawing display, measures are taken for maintaining the position where the fault occurs in the network link, the fault state is quickly switched, and the efficiency of data detection in the network link is improved.
Step S606, the monitoring platform adjusts the network link according to the detection data.
In the technical solution provided by step S606 of the present invention, the network link is adjusted according to the detection data.
After the monitoring platform acquires detection data obtained by the server according to the detection data packet and the preset protocol to detect the plurality of routing nodes in the network link, the monitoring platform determines the network state of the network link according to the detection data, when the state of the network link is an abnormal state, namely, the monitoring platform determines the abnormal jitter condition of the network link according to the detection data, and then measures are taken to maintain the position of the abnormal state in the network link, so that the network link is adjusted, the abnormal state of the network link can be switched to a normal state, the fault state is quickly switched, and the efficiency of data detection in the network link is improved.
Through the steps S602 to S606, the monitoring platform obtains detection data obtained by the server detecting the plurality of routing nodes in the network link according to the probe data packet and the preset protocol, wherein the server transmits the probe data packet among the plurality of routing nodes according to the preset protocol, the detection data is used for determining the network state of the network link, the monitoring platform displays the detection data, and adjusts the network link according to the detection data, thereby achieving the purpose of monitoring the data of the network link, achieving the technical effect of improving the detection efficiency of the data in the data transmission of the network link, and further solving the technical problem of low detection efficiency of the data in the data transmission of the network link in the related art.
As an optional implementation manner, the acquiring, by the monitoring platform, detection data obtained by detecting, by the server, the plurality of routing nodes in the network link according to the probe packet and the preset protocol includes: the monitoring platform acquires detection data from the database; before the monitoring platform displays the detection data, the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule; and the monitoring platform displays abnormal data through a preset symbol.
Fig. 7 is a flow chart of another data transmission method according to an embodiment of the invention. As shown in fig. 7, the data transmission method includes the following steps:
step S701, the monitoring platform acquires detection data from a database.
In the technical solution provided in step S701 of the present invention, the monitoring platform obtains the detection data from the database.
Because the network link for long-distance transmission has more paths, long distance and more routing nodes, the data volume of delay time and packet loss rate is larger, the data volume of the detection data of each routing node is larger, the detection time is stored in the database, the relay function of the detection time can be played, and the detection time is further processed. And the monitoring platform acquires the detection data reported by the server from the database.
Step S702, the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which does not accord with the preset rule.
In the technical solution provided in step S702 of the present invention, the monitoring platform performs filtering processing on the detection data according to a preset rule to obtain abnormal data that does not meet the preset rule.
The detection data includes normal data and abnormal data. After the monitoring platform acquires the detection data from the database, the monitoring platform filters the detection data according to a preset rule, that is, the monitoring platform judges normal detection data and abnormal detection data in the detection data according to the preset rule to obtain abnormal data which does not conform to the preset rule
Step S703, the monitoring platform displays the abnormal data through a preset symbol.
In the technical solution provided in step S703 of the present invention, the monitoring platform displays the abnormal data through a preset symbol.
The monitoring platform displays the detection data reported by the server, and after the monitoring platform filters the detection data according to the preset rule to obtain abnormal data which does not conform to the preset rule, the monitoring platform displays the abnormal data in the detection data through the preset symbol, so that the abnormal data is separated from the normal data through the preset symbol, and a user can clearly know the state of the network link.
According to the embodiment, the monitoring platform acquires the detection data from the database, the monitoring platform filters the detection data according to the preset rules to obtain the abnormal data which are not in accordance with the preset rules, the monitoring platform displays the abnormal data through the preset symbols, the purpose of detecting the data in the data transmission process is achieved, and the detection efficiency of the data is improved.
As an optional implementation manner, after the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which does not conform to the preset rule, the monitoring platform determines that the network state of the network link is an abnormal state according to the abnormal data; the monitoring platform processes the abnormal data to switch the abnormal state into a normal state.
Fig. 8 is a flow chart of another data transmission method according to an embodiment of the present invention. As shown in fig. 8, the data transmission method includes the following steps:
step S801, the monitoring platform determines that the network state of the network link is an abnormal state according to the abnormal data.
In the technical solution provided in step S801 of the present invention, the monitoring platform determines that the network status of the network link is an abnormal status according to the abnormal data.
After the monitoring platform filters the detection data according to the preset rules to obtain abnormal data which does not accord with the preset rules, the monitoring platform determines the network state of the network link to be an abnormal state according to the abnormal data and determines the position of the network link in the abnormal state, thereby quickly positioning the position of the network link corresponding to the abnormal data.
Step S802, the monitoring platform processes the abnormal data to switch the abnormal state to the normal state.
In the technical solution provided in step S802 of the present invention, the monitoring platform processes the abnormal data to switch the abnormal state to the normal state.
After the monitoring platform determines that the network state of the network link is an abnormal state according to the abnormal data, the monitoring platform processes the abnormal data to switch the abnormal state to a normal state, so that measures are taken to switch the abnormal state of the network link to the normal state, the abnormal state in the network link is quickly responded, and quick switching is performed.
According to the embodiment, the monitoring platform determines that the network state of the network link is the abnormal state according to the abnormal data, and processes the abnormal data to switch the abnormal state to the normal state, so that the monitoring platform adjusts the network link according to the detection data, and the detection efficiency of the data in the data transmission of the network link is improved.
As an optional implementation manner, the processing, by the monitoring platform, the abnormal data to switch the abnormal state to the normal state includes: and the monitoring platform responds to the detection data corresponding to the fault position with the abnormal state in the network link according to the abnormal data positioning to obtain a response result, and the abnormal state is switched into the normal state according to the response result.
Fig. 9 is a flowchart of a method for processing abnormal data by a monitoring platform to switch an abnormal state to a normal state according to an embodiment of the present invention. As shown in fig. 9, the method for processing the abnormal data by the monitoring platform to switch the abnormal state to the normal state includes the following steps:
step S901, the monitoring platform locates a fault location where an abnormal state occurs in the network link according to the abnormal data.
In the technical solution provided by step S901 of the present invention, the monitoring platform locates the fault location where the abnormal state occurs in the network link according to the abnormal data.
The monitoring platform determines a fault position where an abnormal state occurs in the network link according to the delay time and the packet loss rate which are lower than or higher than a preset threshold, wherein the fault position can be a fault of a routing node of the network link or a fault of a link among a plurality of routing nodes.
And S902, the monitoring platform responds to the detection data corresponding to the fault position to obtain a response result.
In the above step S902 of the present invention, in the technical solution provided by the present invention, the monitoring platform responds to the detection data corresponding to the fault location to obtain a response result.
After the monitoring platform positions the fault position with the abnormal state in the network link according to the abnormal data, the monitoring platform responds to the detection data corresponding to the fault position to obtain a response result, and quick response of the detection data corresponding to the fault position is realized.
Step S903, the monitoring platform switches the abnormal state to the normal state according to the response result.
In the technical solution provided in step S903 above, the monitoring platform switches the abnormal state to the normal state according to the response result.
After the monitoring platform responds to the detection data corresponding to the fault position and obtains a response result, the monitoring platform switches the abnormal state of the network link to be a normal state according to the response result, and the rapid switching of the abnormal state of the network link is realized.
In the embodiment, the monitoring platform is used for positioning the fault position of the abnormal state in the network link according to the abnormal data; the monitoring platform responds to the detection data corresponding to the fault position to obtain a response result; the monitoring platform switches the abnormal state to the normal state according to the response result, the purpose that the monitoring platform processes abnormal data to switch the abnormal state to the normal state is achieved, and therefore the data detection efficiency in the data transmission of the network link is improved.
As an optional implementation manner, the filtering processing of the detection data by the monitoring platform according to the preset rule, and obtaining the abnormal data that does not conform to the preset rule includes: and the monitoring platform determines the delay time and the packet loss rate as abnormal data under the condition that the delay time is judged not to be in the first preset threshold range and the packet loss rate is judged not to be in the second preset threshold range.
Fig. 10 is a flowchart of a method for filtering the detection data according to a preset rule by the monitoring platform according to an embodiment of the present invention. As shown in fig. 10, the method for filtering the detection data by the monitoring platform according to the preset rule includes the following steps:
step S1001, the monitoring platform determines whether the delay time is within a first preset threshold range, and determines whether the packet loss rate is within a second preset threshold range.
In the technical solution provided in step S1001 above of the present invention, the monitoring platform determines whether the delay time is within a first preset threshold range, and determines whether the packet loss rate is within a second preset threshold range.
The data detection comprises the steps that the server detects the delay time for detecting the detection data packet and the packet loss rate of the detection data packet when the detection data packet is transmitted among the plurality of routing nodes according to a preset protocol, the monitoring platform filters the delay time and the packet loss rate, judges whether the delay time is within a first preset threshold range, and judges whether the packet loss rate is within a second preset threshold range.
Step S1002, determines the delay time and the packet loss rate as abnormal data.
In the technical solution provided in step S1002 of the present invention, if the monitoring platform determines that the delay time is not within the first preset threshold range and determines that the packet loss rate is not within the second preset threshold, the delay time and the packet loss rate are determined to be abnormal data.
After the monitoring platform judges whether the delay time is within a first preset threshold range and judges whether the packet loss rate is within a second preset threshold range, if the monitoring platform judges that the delay time is not within the first preset threshold range and judges that the packet loss rate is not within the second preset threshold range, the monitoring platform determines that the delay time and the packet loss rate are abnormal data, and alarms to a service side to perform fault switching.
In the embodiment, the monitoring platform is used for judging whether the delay time is within a first preset threshold range and judging whether the packet loss rate is within a second preset threshold range; if the monitoring platform judges that the delay time is not in the first preset threshold range and judges that the packet loss rate is not in the second preset threshold, the delay time and the packet loss rate are determined to be abnormal data, the purpose that the monitoring platform filters the detection data according to the preset rule to obtain the abnormal data which do not conform to the preset rule is achieved, and then the detection efficiency of the data in the data transmission of the network link is improved.
It should be noted that, for simplicity of description, the above-mentioned method embodiments are described as a series of acts or combination of acts, but those skilled in the art will recognize that the present invention is not limited by the order of acts, as some steps may occur in other orders or concurrently in accordance with the invention. Further, those skilled in the art should also appreciate that the embodiments described in the specification are preferred embodiments and that the acts and modules referred to are not necessarily required by the invention.
Through the above description of the embodiments, those skilled in the art can clearly understand that the method according to the above embodiments can be implemented by software plus a necessary general hardware platform, and certainly can also be implemented by hardware, but the former is a better implementation mode in many cases. Based on such understanding, the technical solutions of the present invention may be embodied in the form of a software product, which is stored in a storage medium (such as ROM/RAM, magnetic disk, optical disk) and includes instructions for enabling a terminal device (such as a mobile phone, a computer, a monitoring platform, or a network device) to execute the method according to the embodiments of the present invention.
Example 2
The technical solution of the present invention will be described below with reference to preferred embodiments.
Fig. 11 is a flow chart of another data transmission method according to an embodiment of the invention. As shown in fig. 11, this embodiment includes the steps of:
in step S1101, the multiple routing nodes ICMP probe each other.
And (3) segmented detection of network packet loss and time delay: the IDMP detection service based on ping is set up at each transmission node, each node detects one to many, complete comprehensive scanning, and the packet sending rate is carried out for 1000 times per minute, so that 1 minute comprehensive coverage is achieved, the delay time and the packet loss rate of each detection are collected, and finally the network quality among the nodes is reported to a monitoring platform for drawing and displaying.
Step S1102, the multiple routing nodes UDP detect each other.
The multi-node UDP subsection detects the network quality: and (3) building UDP detection service at each video transmission node IDC, and sending 100 UDP data packets per minute through a private protocol in a point-to-point mode. And the timeout time is 500ms, the sending arrival time of each detection packet is recorded, whether the return value is correct or not is verified, and finally the network quality among the nodes is reported to a monitoring platform for drawing and displaying.
Step S1103, the server reports the detection data to the monitoring platform.
And after the server acquires packet loss and delay results through the detection program, calling the CGI program, reporting the detection data, and writing the detection data into the DB for storage.
And step S1104, the monitoring platform acquires the detection data from the database for processing.
And step S1105, the monitoring platform draws according to the delay time, the packet loss rate and the abnormal condition.
And by real-time reporting of the detection data of each routing node, a foreground drawing program of the monitoring platform draws according to the detection data acquired in real time, and draws a special display for abnormal jitter conditions.
In step S1106, the monitoring platform scans the abnormal data through the alarm scanning program.
The monitoring platform acquires detection data in the database in real time through an alarm scanning program, filters delay time and packet loss rate in the database, sets a threshold value, and alarms to a service side when the delay and packet loss exceed or are lower than the threshold value to perform fault switching. After the monitoring platform scans the abnormal data through the alarm scanning program, step S1107 and step S1105 are executed.
Step S1107, the monitoring platform pushes the abnormal alarm information.
In the embodiment, a plurality of cross-routing nodes are transmitted in a cross-intercontinental and other long distance, detection service deployment is respectively carried out on main routing nodes, one-to-many mutual detection is adopted for detection, ICMP and UDP can be used as detection modes, network packet loss and time delay are detected in an ICMP section mode, network quality is detected in a UDP section mode, detection data are reported by calling an interface, abnormal data are obtained through data processing and alarm scanning, the detection data are displayed through drawing, the data transmission detection of a network link is realized, and the technical effect of improving the data detection efficiency in the data transmission of the network link is realized.
Example 3
The application environment of the embodiment of the present invention may refer to the application environment in the above embodiments, but is not described herein again. The embodiment of the invention provides an optional specific application for implementing the data transmission method.
Fig. 12 is a schematic diagram of a monitoring platform displaying detection data according to an embodiment of the present invention. As shown in fig. 12, the server reports the detection data of each routing node of the network link in real time, and the monitoring platform performs drawing according to the detection data acquired in real time through the drawing program. California, NBA, hong kong, shenzhen, tianjin, and beijing are multiple routing nodes of a network link, the multiple routing nodes respectively deploy servers, and the network link includes, but is not limited to, the routing nodes described above. In the data transmission process from california to NBA, the delay time is 72ms, the packet loss rate is 1%, in the data transmission process from california to hong kong, the delay time is 167ms, the packet loss rate is 0%, in the data transmission process from shenzhen to hong kong, the delay time is 3ms, the packet loss rate is 3%, in the data transmission process from shenzhen to tianjin, the delay time is 48ms, the packet loss rate is 8%, in the data transmission process from tianjin to beijing, the delay time is 0ms, and the packet loss rate is 100%. The alarm is carried out by judging whether the delay time and the packet loss rate exceed or are lower than the preset threshold value, and the fault switching is carried out, so that a user can know the state of a network link clearly,
FIG. 13 is a schematic diagram of another monitoring platform displaying inspection data according to an embodiment of the invention. As shown in fig. 13, the packet loss rates from california to hong kong, from california to NBA, from shenzhen to tianjin, and from shenzhen to hong kong are shown. The monitoring platform displays the abnormal jitter condition in a special way, for example, the abnormal jitter is displayed in a pulse form, so that a user can know the state of the network link clearly, find the fault state of the network link, and then quickly position and respond to make quick switching of the network state of the network link.
The embodiment adopts a method of detecting the segmented route, carries out ICMP mode calculation packet loss and delay aiming at each segment of transmission route, combines UDP protocol real-time detection, refines real-time simulation transmission network quality detection, accurately reports real-time collected data, carries out drawing display, achieves quick positioning and response, and carries out quick switching, thereby realizing the technical effect of improving the detection efficiency of the data in the data transmission of the network link, and further solving the technical problem of low detection efficiency of the data in the data transmission of the network link in the related technology.
Example 4
According to the embodiment of the invention, the data transmission device for implementing the data transmission method is also provided. Fig. 14 is a schematic diagram of a data transmission apparatus according to an embodiment of the present invention. As shown in fig. 14, the data transmission apparatus may include: a transmission unit 10, a detection unit 20 and a reporting unit 30.
A transmission unit 10, configured to enable the server to transmit the probe packet between multiple routing nodes in the network link through a preset protocol.
The detecting unit 20 is configured to enable the server to detect the plurality of routing nodes according to the probe packet and a preset protocol, so as to obtain detection data of each routing node, where the detection data is used to determine a network state of the network link.
And a reporting unit 30, configured to enable the server to report the detection data to a monitoring platform, where the monitoring platform is configured to display the detection data and adjust the network link according to the detection data.
Optionally, the servers correspond to the routing nodes one to one, and the transmission unit 10 is configured to enable the servers corresponding to the multiple routing nodes respectively to transmit the probe packets to each other among the multiple routing nodes through a preset protocol; or the server corresponding to the first routing node transmits the detection data packet to the servers corresponding to the plurality of second routing nodes respectively through a preset protocol between the first routing node and the plurality of second routing nodes, wherein the plurality of routing nodes comprise the first routing node and the second routing node.
Optionally, the detecting unit 20 is configured to enable the server to detect, according to a preset protocol, a delay time for detecting the probe data packet by each routing node and a packet loss rate when the probe data packet is transmitted between multiple routing nodes, where the detection data includes the delay time and the packet loss rate; the reporting unit 30 is configured to enable the server to report the delay time and the packet loss rate to the monitoring platform. The predetermined protocol may be an ICMP protocol.
Optionally, the detecting unit 20 is configured to enable the server to detect, according to a preset protocol, time when the probe packet is sent and arrives between the plurality of routing nodes and a verification result indicating whether a return value is correct, where the return value is obtained by each routing node responding to the probe packet; the reporting unit 30 is configured to enable the server to report the sending and arrival time and the return value to the monitoring platform. The predetermined protocol may be a UDP protocol.
Optionally, the reporting unit 30 is configured to enable the server to store the detection data into a database of the monitoring platform by calling a preset program, where the monitoring platform is configured to obtain the detection data from the database, filter the detection data according to a preset rule, obtain abnormal data that does not meet the preset rule, display the abnormal data, determine that the network state of the network link is an abnormal state according to the abnormal data, and process the abnormal data to switch the abnormal state to a normal state.
Optionally, the transmission unit 10 is configured to enable the server to transmit, according to a preset time, a plurality of probe packets between a plurality of routing nodes in the network link through a preset protocol; the detecting unit 20 is configured to, when the plurality of probe packets are all sent to the plurality of routing nodes within a preset time, the server detects the plurality of routing nodes according to the probe packets and a preset protocol, so as to obtain detection data of each routing node.
Optionally, the plurality of routing nodes are a plurality of video routing nodes for transmitting video streams.
It should be noted that the transmission unit 10 in this embodiment may be configured to execute step S202 in embodiment 1 of this application, the detection unit 20 in this embodiment may be configured to execute step S204 in embodiment 1 of this application, and the reporting unit 30 in this embodiment may be configured to execute step S206 in embodiment 1 of this application.
In this embodiment, the transmission unit 10 is configured to enable the server to transmit the probe packet between a plurality of routing nodes in the network link via a preset protocol, the detection unit 20 is configured to enable the server to detect the plurality of routing nodes according to the probe packet and the preset protocol, obtain detection data of each routing node, wherein the detection data is used to determine the network status of the network link, the reporting unit 30 is used to make the server report the detection data to the monitoring platform, wherein, the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data, thereby achieving the purpose of monitoring the data of the network link, further realizing the improvement of the data transmission of the network link, the technical effect of the data detection efficiency is achieved, and the technical problem that the data detection efficiency is low in data transmission of a network link in the related technology is solved.
According to the embodiment of the invention, the data transmission device for implementing the data transmission method is also provided. Fig. 15 is a schematic diagram of another data transmission apparatus according to an embodiment of the present invention. As shown in fig. 15, the data transmission apparatus may include: an acquisition unit 40, a display unit 50 and an adjustment unit 60.
An obtaining unit 40, configured to enable the monitoring platform to obtain detection data obtained by detecting, by the server, the multiple routing nodes in the network link according to the probe data packet and a preset protocol, where the server transmits the probe data packet among the multiple routing nodes through the preset protocol, and the detection data is used to determine a network state of the network link.
And the display unit 50 is used for enabling the monitoring platform to display the detection data.
And an adjusting unit 60, configured to enable the monitoring platform to adjust the network link according to the detection data.
Optionally, the obtaining unit 40 is configured to enable the monitoring platform to obtain the detection data from the database; the data transmission device further includes: the filtering unit is used for enabling the monitoring platform to filter the detection data according to a preset rule before the monitoring platform displays the detection data, so that abnormal data which do not accord with the preset rule are obtained; the display unit 50 is used for enabling the monitoring platform to display abnormal data through preset symbols.
Optionally, the data transmission apparatus further includes: the first determining unit is used for enabling the monitoring platform to determine that the network state of the network link is an abnormal state according to the abnormal data after the monitoring platform filters the detection data according to the preset rule and obtains the abnormal data which do not accord with the preset rule; the adjusting unit 60 is configured to enable the monitoring platform to process the abnormal data to switch the abnormal state to the normal state.
Optionally, the adjusting unit comprises a positioning module, a response module and a switching module. The positioning module is used for enabling the monitoring platform to position a fault position with an abnormal state in a network link according to the abnormal data; the response module is used for enabling the monitoring platform to respond to the detection data corresponding to the fault position to obtain a response result; and the switching module is used for switching the abnormal state into the normal state by the monitoring platform according to the response result.
Optionally, the detecting data includes that the server detects, according to a preset protocol, a delay time for detecting the probe data packet by each routing node and a packet loss rate of the probe data packet when the probe data packet is transmitted between the routing nodes, and the filtering unit includes: a judging unit and a second determining unit. The judging unit is used for enabling the monitoring platform to judge whether the delay time is within a first preset threshold range and judge whether the packet loss rate is within a second preset threshold range; and the second determining unit is used for determining that the delay time is not within the range of the first preset threshold value and determining that the packet loss rate is not within the second preset threshold value on the monitoring platform, so that the delay time and the packet loss rate are determined to be abnormal data.
It should be noted that the obtaining unit 40 in this embodiment may be configured to execute step S602 in embodiment 1 of this application, the displaying unit 50 in this embodiment may be configured to execute step S604 in embodiment 1 of this application, and the adjusting unit 60 in this embodiment may be configured to execute step S606 in embodiment 1 of this application.
In this embodiment, the obtaining unit 40 is configured to enable the monitoring platform to obtain detection data obtained by detecting, by the server, the multiple routing nodes in the network link according to the probe data packet and the preset protocol, where the server transmits the probe data packet between the multiple routing nodes through the preset protocol, the detection data is used to determine a network state of the network link, the display unit 50 is configured to enable the monitoring platform to display the detection data, and the adjusting unit 60 is configured to enable the monitoring platform to adjust the network link according to the detection data, so as to achieve a purpose of monitoring data of the network link, thereby achieving a technical effect of improving detection efficiency of data in data transmission of the network link, and further solving a technical problem of low detection efficiency of data in data transmission of the network link in related technologies.
It should be noted here that the above units and modules are the same as the examples and application scenarios realized by the corresponding steps, but are not limited to the disclosure of the above embodiment 1. It should be noted that the modules described above as a part of the apparatus may be operated in a hardware environment as shown in fig. 1, and may be implemented by software, or may be implemented by hardware, where the hardware environment includes a network environment.
Example 5
According to the embodiment of the invention, the invention also provides a monitoring platform or a terminal for implementing the data transmission method.
Fig. 16 is a block diagram of a terminal according to an embodiment of the present invention. As shown in fig. 16, the terminal may include: one or more processors 161 (only one of which is shown), memory 163, and transmission means 165, as shown in fig. 16, which terminal may also include input-output devices 167.
The memory 163 may be used to store software programs and modules, such as program instructions/modules corresponding to the data transmission method and apparatus in the embodiments of the present invention, and the processor 161 executes various functional applications and data processing by running the software programs and modules stored in the memory 163, that is, implements the data transmission method. Memory 163 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some examples, the memory 163 may further include memory located remotely from the processor 161, which may be connected to the terminals over a network. Examples of such networks include, but are not limited to, the internet, intranets, local area networks, mobile communication networks, and combinations thereof.
The transmission device 165 is used for receiving or transmitting data via a network, and may also be used for data transmission between the processor and the memory. Examples of the network may include a wired network and a wireless network. In one example, the transmission device 165 includes a Network adapter (NIC) that can be connected to a router via a Network cable to communicate with the internet or a local area Network. In one example, the transmission device 165 is a Radio Frequency (RF) module, which is used to communicate with the internet in a wireless manner.
Among them, the memory 163 is used to store, in particular, application programs.
The processor 161 may invoke the application program stored in the memory 163 through the transmission means 165 to perform the following steps:
the method comprises the steps that a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol;
the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link;
and the server reports the detection data to a monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data.
Processor 161 is further configured to perform the following steps: the servers correspond to the routing nodes one by one, and the servers corresponding to the routing nodes transmit the detection data packets among the routing nodes through a preset protocol; or the server corresponding to the first routing node transmits the detection data packet to the servers corresponding to the plurality of second routing nodes respectively through a preset protocol between the first routing node and the plurality of second routing nodes, wherein the plurality of routing nodes comprise the first routing node and the second routing node.
Processor 161 is further configured to perform the following steps: the method comprises the steps that a server detects delay time for detecting a detection data packet by each routing node and packet loss rate of the detection data packet when the detection data packet is transmitted among a plurality of routing nodes according to a preset protocol, wherein detection data comprise the delay time and the packet loss rate; and the server reports the delay time and the packet loss rate to the monitoring platform.
Processor 161 is further configured to perform the following steps: the server detects the sending and arrival time of the detection data packet among the plurality of routing nodes and a verification result of whether a verification return value is correct or not according to a preset protocol, wherein the return value is obtained by each routing node responding to the detection data packet; and the server reports the sending and arrival time and the return value to the monitoring platform.
Processor 161 is further configured to perform the following steps: the server stores the detection data to a database of a monitoring platform by calling a preset program, wherein the monitoring platform is used for acquiring the detection data from the database, filtering the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule, displaying the abnormal data, determining the network state of the network link as an abnormal state according to the abnormal data, and processing the abnormal data to switch the abnormal state as a normal state.
Processor 161 is further configured to perform the following steps: the method comprises the steps that a server transmits a plurality of detection data packets among a plurality of routing nodes in a network link according to preset time through a preset protocol; and under the condition that the plurality of detection data packets are all sent to the plurality of routing nodes within the preset time, the server detects the plurality of routing nodes according to the detection data packets and a preset protocol to obtain the detection data of each routing node.
The embodiment of the invention provides a data transmission method. Transmitting a detection data packet among a plurality of routing nodes in a network link through a server by a preset protocol; the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link; the server reports the detection data to the monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data, so that the technical effect of improving the detection efficiency of the data in the data transmission of the network link is realized, and the technical problem of low detection efficiency of the data in the data transmission of the network link in the related art is solved.
Processor 161 may also invoke applications stored in memory 163 via transport 165 to perform the following steps:
the method comprises the steps that a monitoring platform obtains detection data obtained by a server detecting a plurality of routing nodes in a network link according to a detection data packet and a preset protocol, wherein the server transmits the detection data packet among the routing nodes through the preset protocol, and the detection data are used for determining the network state of the network link;
and the monitoring platform displays the detection data and adjusts the network link according to the detection data.
Processor 161 is further configured to perform the following steps: the monitoring platform acquires detection data from the database; before the monitoring platform displays the detection data, the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule; and the monitoring platform displays abnormal data through a preset symbol.
Processor 161 is further configured to perform the following steps: after the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which does not accord with the preset rule, the monitoring platform determines the network state of the network link to be an abnormal state according to the abnormal data; the monitoring platform processes the abnormal data to switch the abnormal state into a normal state.
Processor 161 is further configured to perform the following steps: the monitoring platform positions the fault position of the abnormal state in the network link according to the abnormal data; the monitoring platform responds to the detection data corresponding to the fault position to obtain a response result; and the monitoring platform switches the abnormal state into a normal state according to the response result.
Processor 161 is further configured to perform the following steps: the data detection comprises that the server detects the delay time for detecting the detection data packet by each routing node and the packet loss rate of the detection data packet when the detection data packet is transmitted among a plurality of routing nodes according to a preset protocol, and the monitoring platform judges whether the delay time is within a first preset threshold range and judges whether the packet loss rate is within a second preset threshold range; and if the monitoring platform judges that the delay time is not in the range of the first preset threshold value and judges that the packet loss rate is not in the range of the second preset threshold value, determining the delay time and the packet loss rate as abnormal data.
The embodiment of the invention also provides a data transmission method. The method comprises the steps that detection data obtained by detecting a plurality of routing nodes in a network link through a server according to a detection data packet and a preset protocol are obtained through a monitoring platform, wherein the server transmits the detection data packet among the plurality of routing nodes through the preset protocol, and the detection data are used for determining the network state of the network link; the monitoring platform displays the detection data and adjusts the network link according to the detection data, so that the technical effect of improving the detection efficiency of the data in the data transmission of the network link is achieved, and the technical problem of low detection efficiency of the data in the data transmission of the network link in the related art is solved.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
It will be understood by those skilled in the art that the structure shown in fig. 16 is merely an illustration, and the terminal may be a terminal device such as a smart phone (e.g., an Android phone, an iOS phone, etc.), a tablet computer, a palm computer, and a Mobile Internet Device (MID), a PAD, etc. Fig. 16 is a diagram illustrating a structure of the electronic device. For example, the terminal may also include more or fewer components (e.g., network interfaces, display devices, etc.) than shown in FIG. 16, or have a different configuration than shown in FIG. 16.
Those skilled in the art will appreciate that all or part of the steps in the methods of the above embodiments may be implemented by a program instructing hardware associated with the terminal device, where the program may be stored in a computer-readable storage medium, and the storage medium may include: flash disks, Read-Only memories (ROMs), Random Access Memories (RAMs), magnetic or optical disks, and the like.
Example 6
The embodiment of the invention also provides a storage medium. Alternatively, in the present embodiment, the storage medium may be used for a program code for executing the data transmission method.
Optionally, in this embodiment, the storage medium may be located on at least one of a plurality of network devices in a network shown in the above embodiment.
Optionally, in this embodiment, the storage medium is configured to store program code for performing the following steps:
the method comprises the steps that a server transmits detection data packets among a plurality of routing nodes in a network link through a preset protocol;
the method comprises the steps that a server detects a plurality of routing nodes according to a detection data packet and a preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of a network link;
and the server reports the detection data to a monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the servers correspond to the routing nodes one by one, and the servers corresponding to the routing nodes transmit the detection data packets among the routing nodes through a preset protocol; or the server corresponding to the first routing node transmits the detection data packet to the servers corresponding to the plurality of second routing nodes respectively through a preset protocol between the first routing node and the plurality of second routing nodes, wherein the plurality of routing nodes comprise the first routing node and the second routing node.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the method comprises the steps that a server detects delay time for detecting a detection data packet by each routing node and packet loss rate of the detection data packet when the detection data packet is transmitted among a plurality of routing nodes according to a preset protocol, wherein detection data comprise the delay time and the packet loss rate; and the server reports the delay time and the packet loss rate to the monitoring platform.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the server detects the sending and arrival time of the detection data packet among the plurality of routing nodes and a verification result of whether a verification return value is correct or not according to a preset protocol, wherein the return value is obtained by each routing node responding to the detection data packet; and the server reports the sending and arrival time and the return value to the monitoring platform.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the server stores the detection data to a database of a monitoring platform by calling a preset program, wherein the monitoring platform is used for acquiring the detection data from the database, filtering the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule, displaying the abnormal data, determining the network state of the network link as an abnormal state according to the abnormal data, and processing the abnormal data to switch the abnormal state as a normal state.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the method comprises the steps that a server transmits a plurality of detection data packets among a plurality of routing nodes in a network link according to preset time through a preset protocol; and under the condition that the plurality of detection data packets are all sent to the plurality of routing nodes within the preset time, the server detects the plurality of routing nodes according to the detection data packets and a preset protocol to obtain the detection data of each routing node.
Optionally, in this embodiment, the storage medium is configured to store program code for further performing the following steps:
the method comprises the steps that a monitoring platform obtains detection data obtained by a server detecting a plurality of routing nodes in a network link according to a detection data packet and a preset protocol, wherein the server transmits the detection data packet among the routing nodes through the preset protocol, and the detection data are used for determining the network state of the network link;
and the monitoring platform displays the detection data and adjusts the network link according to the detection data.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the monitoring platform acquires detection data from the database; before the monitoring platform displays the detection data, the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule; and the monitoring platform displays abnormal data through a preset symbol.
Optionally, the storage medium is further arranged to store program code for performing the steps of: after the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which does not accord with the preset rule, the monitoring platform determines the network state of the network link to be an abnormal state according to the abnormal data; the monitoring platform processes the abnormal data to switch the abnormal state into a normal state.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the monitoring platform positions the fault position of the abnormal state in the network link according to the abnormal data; the monitoring platform responds to the detection data corresponding to the fault position to obtain a response result; and the monitoring platform switches the abnormal state into a normal state according to the response result.
Optionally, the storage medium is further arranged to store program code for performing the steps of: the data detection comprises that the server detects the delay time for detecting the detection data packet by each routing node and the packet loss rate of the detection data packet when the detection data packet is transmitted among a plurality of routing nodes according to a preset protocol, and the monitoring platform judges whether the delay time is within a first preset threshold range and judges whether the packet loss rate is within a second preset threshold range; and if the monitoring platform judges that the delay time is not in the range of the first preset threshold value and judges that the packet loss rate is not in the range of the second preset threshold value, determining the delay time and the packet loss rate as abnormal data.
Optionally, the specific examples in this embodiment may refer to the examples described in the above embodiments, and this embodiment is not described herein again.
Optionally, in this embodiment, the storage medium may include, but is not limited to: a U-disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a removable hard disk, a magnetic or optical disk, and other various media capable of storing program codes.
The above-mentioned serial numbers of the embodiments of the present invention are merely for description and do not represent the merits of the embodiments.
The integrated unit in the above embodiments, if implemented in the form of a software functional unit and sold or used as a separate product, may be stored in the above computer-readable storage medium. Based on such understanding, the technical solution of the present invention may be embodied in the form of a software product, which is stored in a storage medium and includes several instructions for causing one or more computer devices (which may be personal computers, monitoring platforms, network devices, etc.) to execute all or part of the steps of the method according to the embodiments of the present invention.
In the above embodiments of the present invention, 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.
In the several embodiments provided in the present application, it should be understood that the disclosed client may be implemented in other manners. The above-described embodiments of the apparatus are merely illustrative, and for example, the division of the units is only one type of division of logical functions, and there may be other divisions when actually implemented, for example, a plurality of units or components may be combined or may be integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, units or modules, and may be in an electrical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
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 can be realized in a form of hardware, and can also be realized in a form of a software functional unit.
The foregoing is only a preferred embodiment of the present invention, and it should be noted that, for those skilled in the art, various modifications and decorations can be made without departing from the principle of the present invention, and these modifications and decorations should also be regarded as the protection scope of the present invention.

Claims (17)

1. A method of data transmission, comprising:
the server enables a plurality of routing nodes in a network link to mutually transmit a detection data packet through a preset protocol;
the server detects the plurality of routing nodes according to the detection data packet and the preset protocol to obtain detection data of each routing node, wherein the detection data are used for determining the network state of the network link;
the server reports the detection data to a monitoring platform, wherein the monitoring platform is used for displaying the detection data and adjusting the network link according to the detection data;
the server corresponding to each routing node deploys a detection service based on a mobility management protocol on each routing node, where the detection service is used to enable each routing node to transmit the detection data packet, so that the server corresponding to each routing node detects each routing node through the detection data packet to obtain the detection data.
2. The method of claim 1, wherein the server enables a plurality of routing nodes in the network link to mutually transmit the probe packet through the preset protocol, and the method comprises:
the servers respectively corresponding to the plurality of routing nodes mutually transmit the detection data packets among the plurality of routing nodes through the preset protocol; or
And the server corresponding to the first routing node mutually transmits the detection data packet to the servers respectively corresponding to the plurality of second routing nodes through the preset protocol between the first routing node and the plurality of second routing nodes, wherein the plurality of routing nodes comprise the first routing node and the second routing node.
3. The method of claim 1,
the server detects the plurality of routing nodes according to the detection data packet and the preset protocol, and obtaining detection data of each routing node comprises: the server detects the delay time for detecting the detection data packet by each routing node and the packet loss rate of the detection data packet during transmission among the routing nodes according to the preset protocol, wherein the detection data comprises the delay time and the packet loss rate;
the reporting, by the server, the detection data to the monitoring platform includes: and the server reports the delay time and the packet loss rate to the monitoring platform.
4. The method of claim 1,
the server detects the plurality of routing nodes according to the detection data packet and the preset protocol, and obtaining detection data of each routing node comprises: the server detects the sending and arrival time of the detection data packet among the plurality of routing nodes and a verification result for verifying whether a return value is correct or not according to the preset protocol, wherein the return value is obtained by each routing node responding to the detection data packet;
the reporting, by the server, the detection data to the monitoring platform includes: and the server reports the sending and arrival time and the return value to the monitoring platform.
5. The method of claim 1, wherein the reporting, by the server, the detection data to the monitoring platform comprises:
the server stores the detection data to a database of the monitoring platform by calling a preset program, wherein the monitoring platform is used for acquiring the detection data from the database, filtering the detection data according to a preset rule to obtain abnormal data which does not accord with the preset rule, displaying the abnormal data, determining the network state of the network link to be an abnormal state according to the abnormal data, and processing the abnormal data to switch the abnormal state to be a normal state.
6. The method according to any one of claims 1 to 5,
the server transmitting the probe packet between the plurality of routing nodes in the network link through the preset protocol includes: the server transmits a plurality of detection data packets among a plurality of routing nodes in the network link according to preset time through the preset protocol;
the server detects the plurality of routing nodes according to the detection data packet and the preset protocol, and obtaining detection data of each routing node comprises: and under the condition that the plurality of detection data packets are all sent to the plurality of routing nodes within the preset time, the server detects the plurality of routing nodes according to the detection data packets and the preset protocol to obtain the detection data of each routing node.
7. The method according to any of claims 1 to 5, wherein the plurality of routing nodes are a plurality of video routing nodes for transmitting video streams.
8. A method according to any one of claims 1 to 3, wherein the predetermined protocol is the ICMP protocol.
9. The method according to any one of claims 1 to 2 or 4, wherein the predetermined protocol is a UDP protocol.
10. A method of data transmission, comprising:
the method comprises the steps that a monitoring platform obtains detection data obtained by a server through detecting a plurality of routing nodes in a network link according to a detection data packet and a preset protocol, wherein the server enables the plurality of routing nodes to mutually transmit the detection data packet through the preset protocol, and the detection data are used for determining the network state of the network link;
the monitoring platform displays the detection data and adjusts the network link according to the detection data;
the server corresponding to each routing node deploys a detection service based on a mobility management protocol on each routing node, and the detection service is used for enabling each routing node to transmit the detection data packet to each other, so that the server corresponding to each routing node detects each routing node through the detection data packet, and the detection data is obtained.
11. The method of claim 10,
the step of the monitoring platform obtaining detection data obtained by the server detecting the plurality of routing nodes in the network link according to the detection data packet and the preset protocol includes: the monitoring platform acquires the detection data from a database;
before the monitoring platform displays the detection data, the method further comprises: the monitoring platform filters the detection data according to a preset rule to obtain abnormal data which do not accord with the preset rule;
the monitoring platform displays the detection data and comprises: and the monitoring platform displays the abnormal data through a preset symbol.
12. The method according to claim 11, wherein after the monitoring platform performs filtering processing on the detection data according to the preset rule to obtain abnormal data that does not conform to the preset rule, the method further comprises:
the monitoring platform determines that the network state of the network link is an abnormal state according to the abnormal data;
wherein the adjusting the network link by the monitoring platform according to the detection data comprises: and the monitoring platform processes the abnormal data to switch the abnormal state into a normal state.
13. The method of claim 12, the monitoring platform processing the exception data to switch the exception state to the normal state comprising:
the monitoring platform positions the fault position of the abnormal state in the network link according to the abnormal data;
the monitoring platform responds to the detection data corresponding to the fault position to obtain a response result;
and the monitoring platform switches the abnormal state into the normal state according to the response result.
14. The method according to claim 11, wherein the detecting data includes detecting, by the server, a delay time for detecting the probe packet by each routing node according to the preset protocol and a packet loss rate of the probe packet during transmission among the routing nodes, and the filtering, by the monitoring platform, the detected data according to the preset rule to obtain abnormal data that does not conform to the preset rule includes:
the monitoring platform judges whether the delay time is within a first preset threshold range and judges whether the packet loss rate is within a second preset threshold range;
and if the monitoring platform judges that the delay time is not in the range of the first preset threshold value and judges that the packet loss rate is not in the range of the second preset threshold value, determining the delay time and the packet loss rate as the abnormal data.
15. A data transmission apparatus, comprising:
the transmission unit is used for enabling the server to mutually transmit the detection data packet among the plurality of routing nodes in the network link through a preset protocol;
a detecting unit, configured to enable the server to detect the multiple routing nodes according to the probe packet and the preset protocol, so as to obtain detection data of each routing node, where the detection data is used to determine a network state of the network link;
a reporting unit, configured to enable the server to report the detection data to a monitoring platform, where the monitoring platform is configured to display the detection data and adjust the network link according to the detection data;
the server corresponding to each routing node deploys a detection service based on a mobility management protocol on each routing node, where the detection service is used to enable each routing node to transmit the detection data packet, so that the server corresponding to each routing node detects each routing node through the detection data packet to obtain the detection data.
16. A data transmission apparatus, comprising:
an obtaining unit, configured to enable a monitoring platform to obtain detection data obtained by a server detecting a plurality of routing nodes in a network link according to a probe packet and a preset protocol, where the server enables the plurality of routing nodes to transmit the probe packet to each other through the preset protocol, and the detection data is used to determine a network state of the network link;
the display unit is used for enabling the monitoring platform to display the detection data;
the adjusting unit is used for enabling the monitoring platform to adjust the network link according to the detection data;
the server corresponding to each routing node deploys a detection service based on a mobility management protocol on each routing node, and the detection service is used for enabling each routing node to transmit the detection data packet to each other, so that the server corresponding to each routing node detects each routing node through the detection data packet, and the detection data is obtained.
17. A storage medium, in which a computer program is stored, wherein the computer program is arranged to, when executed by a processor, perform the method of any one of claims 1 to 14.
CN201610939205.5A 2016-10-24 2016-10-24 Data transmission method and device Active CN106571977B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610939205.5A CN106571977B (en) 2016-10-24 2016-10-24 Data transmission method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610939205.5A CN106571977B (en) 2016-10-24 2016-10-24 Data transmission method and device

Publications (2)

Publication Number Publication Date
CN106571977A CN106571977A (en) 2017-04-19
CN106571977B true CN106571977B (en) 2020-07-03

Family

ID=58534768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610939205.5A Active CN106571977B (en) 2016-10-24 2016-10-24 Data transmission method and device

Country Status (1)

Country Link
CN (1) CN106571977B (en)

Families Citing this family (17)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108809679B (en) * 2017-05-03 2021-11-05 腾讯科技(深圳)有限公司 Control method and device for network node and monitoring equipment
CN108880920B (en) * 2017-05-08 2022-01-25 阿里巴巴集团控股有限公司 Cloud service management method and device and electronic equipment
CN107181644B (en) * 2017-06-16 2019-09-27 北京小度信息科技有限公司 Method and apparatus for monitoring the network performance of network application
CN107509214B (en) * 2017-08-30 2021-04-20 深圳鲲鹏无限科技有限公司 Multi-radio-frequency link wireless router and fault diagnosis method
CN116112640A (en) * 2017-10-18 2023-05-12 北京京东尚科信息技术有限公司 Information transmission method, device and system
CN109728920B (en) * 2017-10-27 2020-08-21 贵州白山云科技股份有限公司 Method and device for improving service quality of network service product
CN108512726B (en) * 2018-03-29 2020-06-02 上海连尚网络科技有限公司 Data monitoring method and equipment
CN109168092A (en) * 2018-09-17 2019-01-08 深圳市网心科技有限公司 Transmission of flow media data condition judgement method, node, system and storage medium
CN110427329B (en) * 2019-08-13 2023-04-25 杭州有赞科技有限公司 Method and system for collecting SQL performance data of database
CN110535743B (en) * 2019-08-19 2022-04-26 厦门亿联网络技术股份有限公司 Data packet processing method and device, storage medium and electronic device
CN112636942B (en) * 2019-10-08 2022-09-27 中国移动通信集团浙江有限公司 Method and device for monitoring service host node
CN111124835A (en) * 2019-12-26 2020-05-08 中国银行股份有限公司 Data flow monitoring method and system
CN111565364B (en) * 2020-04-03 2021-02-09 拉扎斯网络科技(上海)有限公司 Method and device for acquiring positioning information, storage medium and terminal
CN112929292A (en) * 2021-03-07 2021-06-08 百果园技术(新加坡)有限公司 Flow scheduling method, system, equipment and storage medium based on machine room comparison
CN113595240B (en) * 2021-06-21 2024-01-19 深圳供电局有限公司 Method, device, equipment and storage medium for detecting electric power data
CN114285776B (en) * 2022-01-14 2023-07-14 广州广哈通信股份有限公司 Network line state monitoring method and device and video conference terminal
CN115842747A (en) * 2022-11-21 2023-03-24 中盈优创资讯科技有限公司 Implementation method and device based on segmented monitoring network

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647312A (en) * 2012-05-09 2012-08-22 浙江宇视科技有限公司 Method and device for whole network multicast topology
CN104125118A (en) * 2014-08-08 2014-10-29 福建富士通信息软件有限公司 Method and system for monitoring and alarming heterogeneous network routing
CN105187228A (en) * 2015-06-12 2015-12-23 中国通信建设集团设计院有限公司 Network quality detection method and router
CN105656790A (en) * 2016-01-28 2016-06-08 昭文科技(北京)股份有限公司 Multi-path data transmission method and device
CN105873161A (en) * 2016-06-14 2016-08-17 乐视控股(北京)有限公司 Network scheduling method and device

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7277936B2 (en) * 2003-03-03 2007-10-02 Hewlett-Packard Development Company, L.P. System using network topology to perform fault diagnosis to locate fault between monitoring and monitored devices based on reply from device at switching layer

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102647312A (en) * 2012-05-09 2012-08-22 浙江宇视科技有限公司 Method and device for whole network multicast topology
CN104125118A (en) * 2014-08-08 2014-10-29 福建富士通信息软件有限公司 Method and system for monitoring and alarming heterogeneous network routing
CN105187228A (en) * 2015-06-12 2015-12-23 中国通信建设集团设计院有限公司 Network quality detection method and router
CN105656790A (en) * 2016-01-28 2016-06-08 昭文科技(北京)股份有限公司 Multi-path data transmission method and device
CN105873161A (en) * 2016-06-14 2016-08-17 乐视控股(北京)有限公司 Network scheduling method and device

Also Published As

Publication number Publication date
CN106571977A (en) 2017-04-19

Similar Documents

Publication Publication Date Title
CN106571977B (en) Data transmission method and device
US20220224613A1 (en) Methods and apparatus for capturing and/or using packets to facilitate fault detection
CN108965123B (en) Link switching method and network communication system
CN103944746A (en) Hot standby method and device
CN103441897A (en) Method and device for locating failure node in virtual network
CN106685817B (en) Method and device for switching flow of box end equipment
WO2012149790A1 (en) Method and system for detecting sleeping cell
CN103957552B (en) The method for improving data communication reliability in automatic weather station
CN105553762B (en) Communication means, system and related device between household electrical appliance and mobile terminal
EP2874349B1 (en) Communication path processing method and apparatus
JP2014147066A (en) Method and system for providing redundancy in data network communication
CN107809782B (en) Internet of things data transmission method and storage medium
CN107819596A (en) Diagnostic method, the apparatus and system of SDN failure
WO2015180265A1 (en) Multi-link protection switching method and device
KR100908131B1 (en) Fault detection device and method using log filtering and fault detection system using the device
CN111130917B (en) Line testing method, device and system
CN110224872B (en) Communication method, device and storage medium
CN105744601B (en) A kind of method and system configuring wireless sensing terminal
CN114244686B (en) Communication fault detection method, device and system
CN112751706A (en) Target data transmission method and device
JP5003896B2 (en) Network monitoring system and network monitoring method
KR101625399B1 (en) Method and apparatus for controlling tcp connection in software defined network
CN105812160B (en) A kind of seamless redundant network mode adaptive method and device
KR101831165B1 (en) Device for monitoring and analyzing time synchronization state between ntp sever and ntp client
CN109347733A (en) Method, client and the server of terminal data progress route backup

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