CN111200537B - Method and system for checking and accepting network node - Google Patents

Method and system for checking and accepting network node Download PDF

Info

Publication number
CN111200537B
CN111200537B CN201811381196.8A CN201811381196A CN111200537B CN 111200537 B CN111200537 B CN 111200537B CN 201811381196 A CN201811381196 A CN 201811381196A CN 111200537 B CN111200537 B CN 111200537B
Authority
CN
China
Prior art keywords
packet
network node
sending
data
acceptance
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
CN201811381196.8A
Other languages
Chinese (zh)
Other versions
CN111200537A (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.)
Guizhou Baishancloud Technology Co Ltd
Original Assignee
Guizhou Baishancloud Technology Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Guizhou Baishancloud Technology Co Ltd filed Critical Guizhou Baishancloud Technology Co Ltd
Priority to CN201811381196.8A priority Critical patent/CN111200537B/en
Publication of CN111200537A publication Critical patent/CN111200537A/en
Application granted granted Critical
Publication of CN111200537B publication Critical patent/CN111200537B/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/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/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/0876Network utilisation, e.g. volume of load or congestion level
    • H04L43/0894Packet rate

Abstract

The application discloses a method and a system for checking and accepting network nodes, wherein the method comprises the following steps: generating packet sending strategy information based on the received network node acceptance task information; establishing a packet-sending IP library, generating a data packet by using the IP in the packet-sending IP library and the packet-sending strategy information, and sending the data packet to a corresponding target IP; the method comprises the steps of obtaining transmission quality data of network nodes to be checked, scoring the node quality based on the transmission quality data, and obtaining a network node checking result based on the node quality scoring. The method and the system reduce the acceptance procedures, improve the acceptance efficiency and save the labor cost.

Description

Method and system for checking and accepting network node
Technical Field
The present application relates to the field of internet technologies, and in particular, to a method and a system for checking and accepting a network node.
Background
In the internet, whether delivery of network nodes meets expectations or not is checked, whether bandwidth of the network nodes meets expectations or not is checked, and acceptance tests are often performed by using a C/S (client/server) tool. And in the test acceptance process, the bandwidth of the node needs to be filled, and after the expected bandwidth flow of the node is filled, the packet loss and transmission quality condition of the node are verified. Due to the fact that the C/S mode is used, corresponding software needs to be installed on the client side and the server side for testing, steps are complex, and when a node with large bandwidth needs to be tested, the number cost and the bandwidth cost of the target drone are high, efficiency is low, and time consumption is long.
Taking the test tool iperf as an example, when the C/S tool is used for pressing, a target machine (serving as a server) and an attack machine (serving as a client) are required, and the attack machine (client) sends a large amount of packet sending requests to the target machine (server). The prior art in this case has the following disadvantages:
(1) the target side (server side) is costly. The target machine end (server end) with the same bandwidth size as the attacking end node is adopted. If the attack end (client) has 100G bandwidth, the server end needs to prepare 100G bandwidth bearing capacity, and if the bandwidth bearing capacity is calculated according to 1G quintuple RMB, 50W bandwidth cost of the server end is consumed.
(2) The steps are cumbersome. Each machine at an attack end (client) needs to install iperf service, each machine at a target end (server) also needs to install the service, IPTABLES is closed and a monitoring port is opened, and after the test is finished, the corresponding monitoring port is closed and the IPTABLES is opened.
(3) The test time is long, the test quantity cannot be controlled, and the cost is high. The nodes at the target drone end (service end) need to be switched away for service and volume reduction. The time of the reduction process is long, and the normal use of the target drone node is influenced. The bandwidth of a single server of an attack end (client) needs to be fully filled and cannot be changed.
(4) The target side (server side) IP requirement is difficult. The target machine end can be controlled only by completely controlling the IP quantity and the bandwidth quantity by selecting the same province or adjacent provinces and ISP target machine end.
(5) Is vulnerable to being treated as an attack, resulting in the attacker (client) node machine being sealed. When the bandwidth is pressed, an attacking terminal machine can send a large number of packet sending requests to a target machine terminal (server terminal), similar to TCP SYN FLOOD attack, an IDC machine room and an operator can consider that a network node is attacked, and under the condition, the attacking terminal node is sealed if necessary, and is penalized if relevant laws and regulations are violated if necessary.
Therefore, there is a need for an efficient network node acceptance method and system.
Disclosure of Invention
In order to solve the problem in network node acceptance check in the prior art, a method and a system for network node acceptance check are provided.
According to an aspect of the present application, there is provided a method of network node acceptance, the method comprising:
generating packet sending strategy information based on the received network node acceptance task information;
establishing a packet-sending IP library, generating a data packet by using the IP in the packet-sending IP library and the packet-sending strategy information, and sending the data packet to a corresponding target IP;
and acquiring transmission quality data of the network node to be checked and received, grading the node quality based on the transmission quality data, and acquiring a network node checking and receiving result based on the node quality grade.
Wherein the network node acceptance task information at least comprises: the network node name to be checked and accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time;
the package sending strategy information at least comprises: and receiving the single machine bandwidth, the single machine voltage measuring circuit and the single machine voltage measuring time of the network node to be checked.
The packet sending strategy information generation based on the received network node acceptance task comprises the following steps:
and after receiving the network node acceptance task information, carrying out network node correctness verification and network node safety verification on the network node acceptance task.
Wherein, generating the packet-sending strategy information based on the received network node acceptance task further comprises:
when the network node correctness check and the network node security check both pass, judging whether the network node acceptance task comprises pressure measurement of a single operator line of the network node or multiple operator lines of the network node, and generating acceptance criteria and package sending strategy information for the single operator line or the acceptance criteria and package sending strategy information for each operator line in the multiple operator lines.
Wherein, the building of the package IP library comprises:
and acquiring an IP list belonging to an operator to which the single voltage measuring line belongs on the basis of the single voltage measuring line, and selecting an IP which passes through the gateway of the network node to be checked and received but is not communicated with the gateway in the IP list to establish the packet sending IP library.
Wherein, the generating the data packet by using the IP in the packet-sending IP library and the packet-sending strategy information comprises:
determining the size of the data packet;
and calculating the number of the data packets based on the size of the data packets and the single bandwidth of the network node to be checked and received, and generating the data packets based on the size of the data packets, the number of the data packets and the IP list.
Generating a data packet by using the IP in the packet-sending IP library and the packet-sending strategy information and sending the data packet to a corresponding target IP, wherein the step of generating the data packet by using the IP in the packet-sending IP library and the packet-sending strategy information comprises the following steps:
generating data sets of the calculated number of data packets, wherein the size of each data set is equal to the size of the determined data packet, and constructing a header for each data set based on set parameters;
selecting a target IP for each data message from the packet-sending IPs, and encapsulating each target IP and the corresponding data set and the header into a data packet;
and sending the data packet to a target IP contained in the data packet.
According to another aspect of the present invention, there is also provided a system for network node acceptance, the system comprising:
the global management center is used for generating packet sending strategy information based on the received network node acceptance task information;
the intelligent packet sending module is used for establishing a packet sending IP library, generating a data packet by using the IP in the packet sending IP library and the packet sending strategy information and sending the data packet to a corresponding target IP;
and the acquisition scoring module is used for acquiring the transmission quality data of the network nodes to be checked and received, scoring the node quality based on the transmission quality data, and acquiring the checking and receiving results of the network nodes based on the node quality scores.
Wherein the network node acceptance task information at least comprises: the network node name to be checked and accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time;
the package sending strategy information at least comprises: and receiving the single machine bandwidth, the single machine voltage measuring circuit and the single machine voltage measuring time of the network node to be checked.
Wherein the global management center is further configured to:
and after receiving the network node acceptance task information, carrying out network node correctness verification and network node safety verification on the network node acceptance task.
Wherein the global management center is further configured to:
when the network node correctness check and the network node security check both pass, judging whether the network node acceptance task comprises pressure measurement of a single operator line of the network node or multiple operator lines of the network node, and generating acceptance criteria and package sending strategy information for the single operator line or the acceptance criteria and package sending strategy information for each operator line in the multiple operator lines.
Wherein, intelligence is sent a packet module and is still used for:
and acquiring an IP list belonging to an operator to which the single voltage measuring line belongs on the basis of the single voltage measuring line, and selecting an IP which passes through the gateway of the network node to be checked and received but is not communicated with the gateway in the IP list to establish the packet sending IP library.
Wherein, intelligence is sent a packet module and is still used for:
determining the size of the data packet;
and calculating the number of the data packets based on the size of the data packets and the single bandwidth of the network node to be checked and received, and generating the data packets based on the size of the data packets, the number of the data packets and the IP list.
Wherein, intelligence is sent a packet module and is still used for:
generating data sets of the calculated number of data packets, wherein the size of each data set is equal to the size of the determined data packet, and constructing a header for each data set based on set parameters;
selecting a target IP for each data message from the packet-sending IPs, and encapsulating each target IP and the corresponding data set and the header into a data packet;
and sending the data packet to a target IP contained in the data packet.
In the application, the global management center is responsible for intelligent control of the strategy scheme, a packet sending scheme is generated according to a received node acceptance task, the packet sending scheme is issued to the intelligent packet sending module, the related information and the formula of the intelligent packet sending module calculate the number of data packets to be sent, the size of each data packet, which line to send out, the execution time, the packet loss acquisition module and the quality score acquisition module are triggered to start acquisition, the quality score data, the packet loss data and the like are reported to the global management center at regular time, and the bandwidth acquisition module reports the bandwidth information to the global management center. The global management center integrates the data to generate acceptance data, node detection results under several package sending schemes are finally obtained, the results are stored in the global management center, and the message notification module pulls acceptance result information of the node from the global management center and notifies the information to a node constructor.
According to the acceptance scheme, the pressure test can be completely accepted unattended only by inputting the node name and the node bandwidth information, and the corresponding responsible person is informed of the node acceptance result. The method has the following beneficial effects:
(1) the node acceptance can be completed only by providing the information of 1 acceptance node. The nodes of the drone aircraft do not need to be searched, the bandwidth of the drone aircraft does not need to be consumed, and the cost of a server and the cost of the bandwidth needed by acceptance are saved; in addition, programs do not need to be installed on the drone aircraft nodes, so that the programs are reduced; manual multiple debugging is not needed, the acceptance checking efficiency is improved, and the labor cost is saved.
(2) The automatic unattended pressure measurement can be completely realized, and the pressure measurement conclusion is automatically notified to a network builder.
(3) For the same 1 node with a plurality of operator lines, the method can support the concurrent pressure measurement acceptance of the plurality of lines and output the acceptance result, thereby saving the time wasted by multiple pressure measurements.
(4) The process of TCP three-way handshake and four-way disconnection is bypassed, the construction, encapsulation and transmission of the user-defined data packet are completed according to the conditions of actual needs, the purpose of pressure measurement acceptance is achieved, and the safety of the Internet is not affected.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this application, illustrate embodiments of the application and, together with the description, serve to explain the application and are not intended to limit the application. In the drawings:
fig. 1 is a flow chart of a network node acceptance method according to the present application;
fig. 2 is a block diagram of a network node acceptance system according to the present application.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present application clearer, the technical solutions in the embodiments of the present application will be clearly and completely described below with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are some embodiments of the present application, but not all 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 application. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
In the prior art, when a C/S (client/server) tool is used for acceptance test, the bandwidth of a node needs to be filled, and after the expected bandwidth flow of the node is filled, the packet loss and transmission quality of the node are verified. Due to the fact that the C/S mode is used, corresponding software needs to be installed on the client side and the server side for testing, steps are complex, and when a node with large bandwidth needs to be tested, the number cost and the bandwidth cost of the target drone are high, efficiency is low, and time consumption is long.
In order to solve the above problems, the present application proposes an innovative method of accepting network nodes. In the method, the press test acceptance can be carried out under the condition of no person on duty completely by only inputting the name of the network node to be accepted and the tested bandwidth information, and the node acceptance result is notified to the relevant responsible person.
In the application, the global management center is responsible for intelligent control of the strategy scheme, a packet sending scheme is generated according to a received node acceptance task, the packet sending scheme is issued to the intelligent packet sending module, the related information and the formula of the intelligent packet sending module calculate the number of data packets to be sent, the size of each data packet, which line to send out, the execution time, the packet loss acquisition module and the quality score acquisition module are triggered to start acquisition, the quality score data, the packet loss data and the like are reported to the global management center at regular time, and the bandwidth acquisition module reports the bandwidth information to the global management center. The global management center integrates the data to generate acceptance data, node detection results under several package sending schemes are finally obtained, the results are stored in the global management center, and the message notification module pulls acceptance result information of the node from the global management center and notifies the information to a node constructor.
The application provides a method for checking and accepting a network node, which comprises the following steps:
step 101, generating package sending strategy information based on received network node acceptance task information;
102, establishing a packet-sending IP library, generating a data packet by using the IP in the packet-sending IP library and the packet-sending strategy information, and sending the data packet to a corresponding target IP;
and 103, acquiring transmission quality data of the network node to be checked, grading the node quality based on the transmission quality data, and acquiring a network node checking result based on the node quality grade.
The operator responsible for checking and accepting the network node submits a network node checking and accepting task to the global management center, the global management center receives the network node checking and accepting task information, and the network node checking and accepting task information at least comprises: the network node name to be checked and accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time. The global management center generates package sending strategy information based on the information, wherein the package sending strategy information at least comprises the following components: and receiving the single machine bandwidth, the single machine voltage measuring circuit and the single machine voltage measuring time of the network node to be checked.
And the intelligent packet sending module receives the packet sending strategy information from the global management center, generates a data packet based on the packet sending strategy information and sends the data packet to a corresponding target IP.
In step 101, generating packet-sending policy information based on the received network node acceptance task includes: and after receiving the network node acceptance task information, carrying out network node correctness verification and network node safety verification on the network node acceptance task.
And after receiving the acceptance task from the operator, the global management center checks the network nodes related to the task, including correctness checking and safety checking. And firstly, checking the correctness of the node, and then checking the safety of the node after the check is passed.
The correctness check is to submit a POST request to the resource management interface, wherein the request carries parameters such as network node names and the like so as to judge whether the network nodes exist in the resource management platform, the node bandwidth size and whether the submitted line is consistent with the information when the information is recorded. If the verification is not present or is not consistent with the input, the verification fails.
The security check is divided into analysis check and flow check, so that whether the network node can perform pressure measurement check at present is determined, and the pressure measurement of the nodes served on line is prevented, so that the service quality of customers is influenced. Specifically, a POST request based on the network node name and POST requests of all IPs of the network node are submitted from the traffic management interface and the DNS resolution interface, and whether security verification can be passed is determined according to the size of the node traffic and whether resolution exists. If the node flow is less than the set threshold, for example, 100M marks the flow check to pass, if all the IPs of the node are not marked in the DNS resolution by the resolution check to pass.
In step 101, generating packet-sending policy information based on the received network node acceptance task further includes: when the network node correctness check and the network node security check both pass, judging whether the network node acceptance task comprises pressure measurement of a single operator line of the network node or multiple operator lines of the network node, and generating acceptance criteria and package sending strategy information for the single operator line or the acceptance criteria and package sending strategy information for each operator line in the multiple operator lines.
After the correctness check and the safety check of the network node by the global management center are passed, whether the network node involved in the acceptance task is a single line or a plurality of lines, namely a single operator line or a plurality of operator lines of the network node is judged. If the node is a single-line node (single operator line), directly generating acceptance criteria and package sending strategy information; if the multi-line (with a plurality of operator lines) is adopted, the system prompts a line appointed to select pressure measurement acceptance, and an operator selects single-line pressure measurement or multi-line simultaneous pressure measurement each time (if the multi-line simultaneous pressure measurement acceptance is not selected, all the operator lines perform pressure measurement acceptance by default) and generates acceptance criteria and package sending strategy information aiming at the plurality of lines.
The acceptance criteria may be given in the form of a standard mapping table. For example, the construction bandwidth of the input node is 100G, the name of the network node is dx-yd-guizhou-guiyang-jd-6, the node pressure measurement time is 30min, and the pressure measurement line is a double line; the standard mapping table generated is as follows:
a.A rating: the bandwidth reaches more than 96G (more than 96%), the packet loss rate is within 1%, and the quality score is more than 90 points;
b.B rating: the bandwidth reaches 93-96G (93% -96%), the packet loss rate is within 1%, and the quality score is within 80-90;
c.C rating: the bandwidth reaches below 93G (less than 93%), the packet loss rate is greater than 1% or the quality score is below 80 points;
..
The hair-bag scheme is exemplified as follows: submitting the tasks of checking and accepting the telecommunication and the mobile Guiyang node 6, wherein the telecommunication bandwidth is n, the mobile bandwidth is m, and the unit is G.
The reference scheme formula of the package sending scheme of the Guiyang node is as follows:
y=(k*a)/x,
wherein the dependent variable y represents the bandwidth printed by a single machine; a is a bandwidth percentage, is a value determined according to actual needs, can support self-adjustment, and is used for node quality grade or gear division and generation of a packet sending scheme of a corresponding gear, for example, default fixed values are as follows: 96%, 93%, 90%, 80%, 60% and 50%, selecting the 6 gears from the fixed list one by one for 1 time, and testing the node quality data of each gear. k is the total bandwidth of the node; the dependent variable x represents the number of machines selected by the node.
And 6 packet sending schemes are generated according to the bandwidth percentage value quantity:
f1: telecom-y 1 (G/stage), where y1 ═ (n × 96%)/x, mobile-y 2 (G/stage), where y2 ═ (m × 96%)/x measured time: 5 min;
f2: telecom-y 1 (G/stage), where y1 ═ (n × 93%)/x, mobile-y 2 (G/stage), where y2 ═ (m × 93%)/x measured time: 5 min;
f3: telecom-y 1 (G/stage), where y1 ═ (n × 90%)/x, mobile-y 2 (G/stage), where y2 ═ (m × 90%)/x measured time: 5 min;
f4: telecom-y 1 (G/stage), where y1 ═ (n × 80%)/x, mobile-y 2 (G/stage), where y2 ═ (m × 80%)/x measured time: 5 min;
f5: telecom-y 1 (G/stage), where y1 ═ (n 60%)/x, mobile-y 2 (G/stage), where y2 ═ (m 60%)/x measured time: 5 min;
f6: telecom-y 1 (G/stage), where y1 ═ (n × 50%)/x, mobile-y 2 (G/stage), where y2 ═ (m × 50%)/x measured time: and 5 min.
Where n represents the telecommunications bandwidth of the node and m represents the mobility bandwidth of the node.
The packet sending scheme (namely packet sending strategy information) comprises node single machine bandwidth, single machine voltage measuring circuit and single machine voltage measuring time. And after generating the package sending strategy information, the global management center sends the package sending strategy information to the intelligent package sending module.
In step 102, the building of the packet IP library includes: and acquiring an IP list belonging to an operator to which the single voltage measuring line belongs on the basis of the single voltage measuring line, and selecting an IP which passes through the gateway of the network node to be checked and received but is not communicated with the gateway in the IP list to establish the packet sending IP library.
Here, the principle of the intelligent packet sending module is to send only data packets but not to establish a connection, so that the three-way handshake and four-way disconnection processes for establishing a connection are bypassed. Specifically, the building of the transmission packet IP includes: pulling an IP list from a public network IP interface aiming at an operator of a pressure measurement line; and circularly traversing to judge whether each IP passes through the gateway of the pressure measurement node and is accessible to the gateway, and selecting the IP which passes through the gateway and is not accessible to generate an IP list for different operators. The reason for this is: on one hand, all data packets can be ensured to be sent out from the outlet of the switch; on the other hand, the sent data packet does not affect the normal communication service in the internet, because if the data packet is an IP connected with the gateway, the normal service of the IP may be affected.
In step 102, generating a data packet by using the IP in the packet-sending IP library and the packet-sending policy information includes: determining the size of the data packet; and calculating the number of the data packets based on the size of the data packets and the single bandwidth of the network node to be checked and received, and generating the data packets based on the size of the data packets, the number of the data packets and the IP list.
Specifically, the generating a data packet and sending the data packet to a corresponding target IP by using the IP in the packet sending IP library and the packet sending policy information includes: generating data sets of the calculated number of data packets, wherein the size of each data set is equal to the size of the determined data packet, and constructing a header for each data set based on set parameters; selecting a target IP for each data message from the packet-sending IPs, and encapsulating each target IP and the corresponding data set and the header into a data packet; and sending the data packet to a target IP contained in the data packet.
And after receiving the packet sending strategy information sent by the global management center, the intelligent packet sending module generates a data packet by using the generated IP list and the packet sending strategy information. The process of generating the data packet includes the following steps (taking the transmission of a TCP data packet as an example):
(1) TCP message with encapsulation structure
This step in turn comprises 3 steps: a) according to the data structure of the TCP, randomly selecting some reasonable parameters to construct a TCP header; b) determining the size of the data packets, calculating the number of the data packets according to the received single-machine bandwidth quantity and a formula, and then constructing the data packets with the specified size; c) and encapsulating the TCP header and the data part to form a complete TCP message.
The number of packets is calculated by: n BW/(b × S), where b is a constant, a suitable value can be determined by simulation testing. S is the size of the transmitted packet, S takes the value automatically in [0,1452], which is determined by the protocol, S generally defaults to 1452, 1452 being the maximum load value of 1 TCP packet, where S may be an empirical value determined by simulation testing. BW is the node standalone bandwidth. The total amount of the data packets sent by the single station can be calculated according to the total bandwidth of the single station sending packets and the size of the single station sending packets. If the calculated N is not an integer, the size of one data packet (data set) can be reduced accordingly, so that the sum of the sizes of all the constructed data packets is equal to the total bandwidth value of the single machine to be tested.
(2) Constructing IP message, sending TCP data packet
And constructing and packaging a required TCP message according to the calculated size of the data packet to be transmitted, combining the received pressure measurement information, selecting an IP from a corresponding IP list according to a pressure measurement line to package the IP message, and then adding the packaged IP message into a transmission queue for transmission. Here, the IP may be selected randomly from an IP list.
When there are multiple pressure measurement lines, a line mapping table may be generated to facilitate IP selection, for example, the line mapping table relationship is as follows:
a telecommunications line IP library 1;
a mobile line IP library 2;
a communication line IP library 3;
and so on.
Therefore, when the node is checked and accepted, a plurality of data packets are generated, the total size of the data packets is the same as the size of the bandwidth of the node, and the data packets are sent to the IP address encapsulated in the data packets. Thus, the data packets can be sent out from the nodes, and the full-load operation of the single node is tested. However, since the IP of these extranets is not configured to the actual server, this bypasses the 3-way handshake and 4-way disconnection process of TCP, and also does not require the actual target server as long as the target IP is available. Also for this reason, in the present application, no waste of bandwidth is generated.
The traditional mode in the prior art is as follows: sending out the data packet, then requiring the target IP and the server to receive the sent data packet, then marking the node outlet bandwidth to a set threshold value, after reaching the threshold value, selecting the available IP according to the strategy to establish an IP base, wherein an actual server is required to configure the IPs on the server. Therefore, in the prior art, the process of checking the quality condition of the node needs to go through 3 handshakes to establish connection, send data packets and disconnect 4 times.
Therefore, the method simplifies the operation steps, improves the acceptance efficiency, releases the occupation of the line to be accepted and saves the labor cost.
In step 103, the acquiring the transmission quality data of the network node to be checked at least includes:
and acquiring the flow bandwidth per minute, packet loss information per minute and average download speed per minute of the single machine on the network node to be checked.
Specifically, the bandwidth acquisition module can acquire the traffic bandwidth of the edge single machine and report the real-time bandwidth information to the global management center according to the minute granularity; the packet loss information of the edge single machine can be acquired by a packet loss acquisition module, and the packet loss information is reported to a global management center according to minute granularity; the average download speed of the url accessed in 1 minute can be calculated by the quality scoring module from the access log and the system kernel. Furthermore, the downloading speed within the current 1 minute can be compared with the downloading speed within the previous 1 day and the same time period, the variation is calculated, the quality score is obtained, and finally the score result is reported to the global management center. If the pressure measurement circuit comprises a plurality of circuits, the acquisition module can acquire scores of the plurality of circuits respectively and report the score results to the global management center.
In addition, the message channel module can also receive the result information of the node acceptance quality from the global management center and inform the corresponding network constructor of the result information.
The positions of the modules may be set according to actual conditions, and the modules may be arranged in a centralized manner or in a distributed manner. For example, the intelligent packet sending module is located on a node server because a data packet needs to be sent from a node, the bandwidth acquisition module can also be located on a node server of a network, the global management center can be located on a central server, the packet loss acquisition module and the quality scoring module can be located on an independent data analysis server, the message channel module can also be located on an independent server as an independent module, and an interface of the message channel module can be directly called when the message channel module is used.
A specific embodiment according to the present application is described in detail below, which comprises the following steps:
step one, an operator submits a network node acceptance task to a global management center.
And step two, after receiving the node acceptance task, the global management center generates packet sending strategy information based on the network node name to be accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time, wherein the packet sending strategy information comprises the stand-alone bandwidth, the stand-alone pressure measurement line and the stand-alone pressure measurement time of the network node to be accepted.
And step three, the global management center sends the package sending strategy information to the intelligent package sending module.
And fourthly, the intelligent packet sending module builds a packet sending IP library aiming at each voltage measuring circuit based on the received packet sending strategy information, determines the size of the data packets to be sent, calculates the number of the sent data packets, and generates the data packets based on the IP in the packet sending IP library.
And step five, the intelligent packet sending module puts the data packets into a sending queue and sends the data packets to the corresponding target IPs.
And step six, the bandwidth acquisition module, the packet loss acquisition module and the quality scoring module respectively acquire corresponding information and report the acquired information to the global management center.
And step seven, the global management center compares the previously generated standard mapping table with the information reported by the acquisition module to obtain an acceptance result, and informs the acceptance result to the message management module.
And step eight, informing the result information to the corresponding network constructor.
In the application, the global management center is responsible for intelligent control of the strategy scheme, and calculates according to the reported bandwidth value, packet loss value and quality score to obtain the packet loss and quality condition of the current node at each bandwidth value stage. And judging whether a scheme for dynamically controlling packet sending is needed or not according to the initially submitted node information and the data reported in real time. For example, the packet sending scheme F1 is sent to the intelligent packet sending modules of all servers in the node, and the intelligent packet sending modules are responsible for receiving the packet sending scheme from the global management center, and according to the relevant information and the formula, calculate how many packets to send out, the size of each packet, which route to send out, and the execution time, and simultaneously trigger the packet loss collecting module and the quality score collecting module to start collecting, and report the quality score data, the packet loss data and the like to the global management center at regular time, and the bandwidth collecting module reports the bandwidth information to the global management center.
The global management center integrates the data to generate acceptance data, and then the acceptance data is compared and matched with the acceptance standard which is generated at the beginning to obtain the node packet loss and quality scoring conditions under the scheme F1; and by analogy, the global center sequentially takes out the package sending schemes F2 and F3 … F6 from the package sending total queue, sends the package sending schemes to the intelligent package sending modules of all the servers, and repeats the operation flow. Finally, the node detection results under several package sending schemes are obtained, the results are stored in the global management center, and the message notification module pulls the acceptance result information of the node from the global management center and notifies the information to the constructor of the node.
The present application further provides a system for network node acceptance, the system comprising:
the global management center 201 is configured to generate packet sending policy information based on the received network node acceptance task information;
the intelligent packet sending module 202 is used for establishing a packet sending IP library, generating a data packet by using the IP in the packet sending IP library and the packet sending strategy information, and sending the data packet to a corresponding target IP;
and the acquisition scoring module 203 is configured to acquire transmission quality data of the network node to be checked and accepted, perform node quality scoring based on the transmission quality data, and acquire a network node checking and accepting result based on the node quality scoring.
Wherein the network node acceptance task information at least comprises: the network node name to be checked and accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time;
the package sending strategy information at least comprises: and receiving the single machine bandwidth, the single machine voltage measuring circuit and the single machine voltage measuring time of the network node to be checked.
Wherein the global management center 201 is further configured to:
and after receiving the network node acceptance task information, carrying out network node correctness verification and network node safety verification on the network node acceptance task.
Wherein the global management center 201 is further configured to:
when the network node correctness check and the network node security check both pass, judging whether the network node acceptance task comprises pressure measurement of a single operator line of the network node or multiple operator lines of the network node, and generating acceptance criteria and package sending strategy information for the single operator line or the acceptance criteria and package sending strategy information for each operator line in the multiple operator lines.
Wherein, the intelligent package sending module 202 is further configured to:
and acquiring an IP list belonging to an operator to which the single voltage measuring line belongs on the basis of the single voltage measuring line, and selecting an IP which passes through the gateway of the network node to be checked and received but is not communicated with the gateway in the IP list to establish the packet sending IP library.
Wherein, the intelligent package sending module 202 is further configured to:
determining the size of the data packet;
and calculating the number of the data packets based on the size of the data packets and the single bandwidth of the network node to be checked and received, and generating the data packets based on the size of the data packets, the number of the data packets and the IP list.
Wherein, the intelligent package sending module 202 is further configured to:
generating data sets of the calculated number of data packets, wherein the size of each data set is equal to the size of the determined data packet, and constructing a header for each data set based on set parameters;
selecting a target IP for each data message from the packet-sending IPs, and encapsulating each target IP and the corresponding data set and the header into a data packet;
and sending the data packet to a target IP contained in the data packet.
The acquisition scoring module specifically comprises the bandwidth acquisition module, the packet loss acquisition module and the quality scoring module.
In the application, the global management center is responsible for intelligent control of the strategy scheme, a packet sending scheme is generated according to a received node acceptance task, the packet sending scheme is issued to the intelligent packet sending module, the related information and the formula of the intelligent packet sending module calculate the number of data packets to be sent, the size of each data packet, which line to send out, the execution time, the packet loss acquisition module and the quality score acquisition module are triggered to start acquisition, the quality score data, the packet loss data and the like are reported to the global management center at regular time, and the bandwidth acquisition module reports the bandwidth information to the global management center. The global management center integrates the data to generate acceptance data, node detection results under several package sending schemes are finally obtained, the results are stored in the global management center, and the message notification module pulls acceptance result information of the node from the global management center and notifies the information to a node constructor.
According to the acceptance scheme, the pressure test can be completely accepted unattended only by inputting the node name and the node bandwidth information, and the corresponding responsible person is informed of the node acceptance result. The method has the following beneficial effects:
(1) the node acceptance can be completed only by providing the information of 1 acceptance node. The nodes of the drone aircraft do not need to be searched, the bandwidth of the drone aircraft does not need to be consumed, and the cost of a server and the cost of the bandwidth needed by acceptance are saved; in addition, a program does not need to be installed on the drone aircraft node, so that the program efficiency is reduced; manual multiple debugging is not needed, the acceptance checking efficiency is improved, and the labor cost is saved.
(2) The automatic unattended pressure measurement can be completely realized, and the pressure measurement conclusion is automatically notified to a network builder.
(3) For the same 1 node with a plurality of operator lines, the method can support the concurrent pressure measurement acceptance of the plurality of lines and output the acceptance result, thereby saving the time wasted by multiple pressure measurements.
(4) The process of TCP three-way handshake and four-way disconnection is bypassed, the construction, encapsulation and transmission of the user-defined data packet are completed according to the conditions of actual needs, the purpose of pressure measurement acceptance is achieved, and the safety of the Internet is not affected.
The above-described aspects may be implemented individually or in various combinations, and such variations are within the scope of the present application.
It is to be noted that, in this document, the terms "comprises", "comprising" or any other variation thereof are intended to cover a non-exclusive inclusion, so that an article or apparatus including a series of elements includes not only those elements but also other elements not explicitly listed or inherent to such article or apparatus. Without further limitation, an element defined by the phrase "comprising … …" does not exclude the presence of additional like elements in the article or device comprising the element.
The above embodiments are merely for illustrating the technical solutions of the present application and not for limiting the same, and the present application is described in detail with reference to the preferred embodiments only. It will be understood by those skilled in the art that various changes may be made and equivalents may be substituted for elements thereof without departing from the spirit and scope of the present invention as defined in the claims.
It will be understood by those of ordinary skill in the art that all or some of the steps of the methods, systems, functional modules/units in the devices disclosed above may be implemented as software, firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed by several physical components in cooperation. Some or all of the components may be implemented as software executed by a processor, such as a digital signal processor or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on computer readable media, which may include computer storage media (or non-transitory media) and communication media (or transitory media). The term computer storage media includes volatile and nonvolatile, removable and non-removable media implemented in any method or technology for storage of information such as computer readable instructions, data structures, program modules or other data, as is well known to those of ordinary skill in the art. Computer storage media includes, but is not limited to, RAM, ROM, EEPROM, flash memory or other memory technology, CD-ROM, Digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can accessed by a computer. In addition, communication media typically embodies computer readable instructions, data structures, program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and includes any information delivery media as known to those skilled in the art.

Claims (12)

1. A method for network node acceptance, the method comprising:
generating packet sending strategy information based on the received network node acceptance task information, wherein the packet sending strategy information comprises a single voltage measuring circuit;
establishing a packet-sending IP library, generating a data packet by using the IP in the packet-sending IP library and the packet-sending strategy information, and sending the data packet to a corresponding target IP;
acquiring transmission quality data of a network node to be checked, grading the node quality based on the transmission quality data, and acquiring a network node checking result based on the node quality grade;
the building and sending packet IP library comprises: and acquiring an IP list belonging to an operator to which the single voltage measuring line belongs on the basis of the single voltage measuring line, and selecting an IP which passes through the gateway of the network node to be checked and received but is not communicated with the gateway in the IP list to establish the packet sending IP library.
2. The method of claim 1,
the network node acceptance task information at least comprises: the network node name to be checked and accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time;
the package sending strategy information at least comprises: and receiving the single machine bandwidth, the single machine voltage measuring circuit and the single machine voltage measuring time of the network node to be checked.
3. The method of claim 2, wherein generating the packet-sending policy information based on the received network node acceptance tasks comprises:
and after receiving the network node acceptance task information, carrying out network node correctness verification and network node safety verification on the network node acceptance task.
4. The method of claim 3, wherein generating the packet-sending policy information based on the received network node acceptance tasks further comprises:
when the network node correctness check and the network node security check both pass, judging whether the network node acceptance task comprises pressure measurement of a single operator line of the network node or multiple operator lines of the network node, and generating acceptance criteria and package sending strategy information for the single operator line or the acceptance criteria and package sending strategy information for each operator line in the multiple operator lines.
5. The method of claim 1, wherein generating a data packet using the IP in the packet-sending IP base and the packet-sending policy information comprises:
determining the size of the data packet;
and calculating the number of the data packets based on the size of the data packets and the single bandwidth of the network node to be checked and received, and generating the data packets based on the size of the data packets, the number of the data packets and the IP list.
6. The method of claim 5, wherein generating and sending data packets to the corresponding destination IP using the IP in the packet-sending IP base and the packet-sending policy information comprises:
generating data sets of the calculated number of data packets, wherein the size of each data set is equal to the size of the determined data packet, and constructing a header for each data set based on set parameters;
selecting a target IP for each data message from the packet-sending IPs, and encapsulating each target IP and the corresponding data set and the header into a data packet;
and sending the data packet to a target IP contained in the data packet.
7. A system for network node acceptance, the system comprising:
the global management center is used for generating packet sending strategy information based on the received network node acceptance task information, and the packet sending strategy information comprises a single voltage measuring circuit;
the intelligent packet sending module is used for establishing a packet sending IP library, generating a data packet by using the IP in the packet sending IP library and the packet sending strategy information and sending the data packet to a corresponding target IP; the building and sending packet IP library comprises: acquiring an IP list belonging to an operator to which the single voltage measuring line belongs on the basis of the single voltage measuring line, and selecting an IP which passes through a gateway of a network node to be checked and accepted in the IP list but is not communicated with the gateway to establish a packet sending IP library;
and the acquisition scoring module is used for acquiring transmission quality data of the network nodes to be checked and received, scoring the node quality based on the transmission quality data, and acquiring the checking and receiving results of the network nodes based on the node quality scores.
8. The system of claim 7,
the network node acceptance task information at least comprises: the network node name to be checked and accepted, the pressure measurement bandwidth, the pressure measurement line and the pressure measurement time;
the package sending strategy information at least comprises: and receiving the single machine bandwidth, the single machine voltage measuring circuit and the single machine voltage measuring time of the network node to be checked.
9. The system of claim 8, wherein the global management center is further to:
and after receiving the network node acceptance task information, carrying out network node correctness verification and network node safety verification on the network node acceptance task.
10. The system of claim 9, wherein the global management center is further configured to:
when the network node correctness check and the network node security check both pass, judging whether the network node acceptance task comprises pressure measurement of a single operator line of the network node or multiple operator lines of the network node, and generating acceptance criteria and package sending strategy information for the single operator line or the acceptance criteria and package sending strategy information for each operator line in the multiple operator lines.
11. The system of claim 7, wherein the intelligent packaging module is further configured to:
determining the size of the data packet;
and calculating the number of the data packets based on the size of the data packets and the single bandwidth of the network node to be checked and received, and generating the data packets based on the size of the data packets, the number of the data packets and the IP list.
12. The system of claim 11, wherein the intelligent packaging module is further configured to:
generating data sets of the calculated number of data packets, wherein the size of each data set is equal to the size of the determined data packet, and constructing a header for each data set based on set parameters;
selecting a target IP for each data message from the packet-sending IPs, and encapsulating each target IP and the corresponding data set and the header into a data packet;
and sending the data packet to a target IP contained in the data packet.
CN201811381196.8A 2018-11-20 2018-11-20 Method and system for checking and accepting network node Active CN111200537B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811381196.8A CN111200537B (en) 2018-11-20 2018-11-20 Method and system for checking and accepting network node

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811381196.8A CN111200537B (en) 2018-11-20 2018-11-20 Method and system for checking and accepting network node

Publications (2)

Publication Number Publication Date
CN111200537A CN111200537A (en) 2020-05-26
CN111200537B true CN111200537B (en) 2022-02-01

Family

ID=70746212

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811381196.8A Active CN111200537B (en) 2018-11-20 2018-11-20 Method and system for checking and accepting network node

Country Status (1)

Country Link
CN (1) CN111200537B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022070425A1 (en) * 2020-10-02 2022-04-07 日本電信電話株式会社 Testing device, testing method, and testing program

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR101338485B1 (en) * 2007-06-29 2013-12-16 주식회사 케이티 Quality of each service management Method and system in total IP network
CN101404597B (en) * 2008-11-19 2013-06-05 华为技术有限公司 Network quality index acquirement method, system and apparatus
CN102480392B (en) * 2010-11-23 2014-09-10 中兴通讯股份有限公司 Performance test device and working method thereof
CN105446860B (en) * 2015-11-11 2017-12-15 上海欣方智能系统有限公司 Pressure testing system and method for testing based on asynchronism and concurrency mechanism
CN107015892B (en) * 2017-03-30 2020-11-03 腾讯科技(深圳)有限公司 Pressure testing method, device and system

Also Published As

Publication number Publication date
CN111200537A (en) 2020-05-26

Similar Documents

Publication Publication Date Title
CN111431758B (en) Cloud network equipment testing method and device, storage medium and computer equipment
CN108989136B (en) Business end-to-end performance monitoring method and device
CN110430096A (en) A kind of gateway test method and equipment
CN111786804B (en) Link fault monitoring method and device
JP2001519619A (en) Failure point measurement and performance testing of communication networks
EP4044514A1 (en) Method, device, and system for transmitting packet and receiving packet for performing oam
US11336545B2 (en) Network device measurements employing white boxes
US20200328957A1 (en) Network performance monitoring using an active measurement protocol and relay mechanism
CN110121213A (en) A kind of multi-service resource dispatching method and device
CN107040429A (en) A kind of method of testing and system of port forwarding performance
CN1432231A (en) Method and appts. for measuring internet router traffic
CN103731376A (en) Method and system for selecting chain aggregation root ports on stacked equipment
CN111200537B (en) Method and system for checking and accepting network node
CN206313803U (en) A kind of router for realizing network game acceleration
CN110855424B (en) Method and device for synthesizing asymmetric flow xDR in DPI field
CN110875825B (en) Fault judgment method and device
CN110838950B (en) Method and device for determining network performance jitter value
CN108847999A (en) Device network method for detecting connectivity, device, terminal device and storage medium
CN111163499B (en) Access method, device, electronic equipment and storage medium
CN106686034B (en) CDN scheduling enhancement method, device and system
CN113949636A (en) Data transmission method, gateway equipment and network system
WO2023174287A1 (en) Time delay analysis method and apparatus
CN113630799B (en) Traffic scheduling method and device and computing equipment
CN112291185A (en) Method and device for collecting network data
CN114553583B (en) Network security analysis system, method, equipment and storage medium

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