CN108809765B - Network quality testing method and device - Google Patents

Network quality testing method and device Download PDF

Info

Publication number
CN108809765B
CN108809765B CN201810631661.2A CN201810631661A CN108809765B CN 108809765 B CN108809765 B CN 108809765B CN 201810631661 A CN201810631661 A CN 201810631661A CN 108809765 B CN108809765 B CN 108809765B
Authority
CN
China
Prior art keywords
network
network devices
devices
control
function
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
CN201810631661.2A
Other languages
Chinese (zh)
Other versions
CN108809765A (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.)
Individual
Original Assignee
Individual
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 Individual filed Critical Individual
Priority to CN201810631661.2A priority Critical patent/CN108809765B/en
Publication of CN108809765A publication Critical patent/CN108809765A/en
Application granted granted Critical
Publication of CN108809765B publication Critical patent/CN108809765B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0876Network utilisation, e.g. volume of load or congestion level
    • 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/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements
    • 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

Abstract

The invention provides a network quality testing method and device, and relates to the technical field of communication. The network quality testing method is applied to a first network controller which is respectively in communication connection with a plurality of network devices arranged in the same communication network, and comprises the following steps: initiating a network quality measurement request for a data link between two target network devices of the plurality of network devices; obtaining the network quality of a data link between two target network devices according to the obtained network parameters; the network parameters include network parameters of ports of the network device and network parameters of links of the network device, the network parameters of ports of the network device including at least one of a port mode, a maximum bandwidth, a current used bandwidth, and a current packet size distribution. The network quality testing method and the device provided by the invention can accurately reflect the network quality of the data link between two target network devices in the communication network, and provide effective guarantee for providing high-quality data transmission.

Description

Network quality testing method and device
Technical Field
The invention relates to the technical field of communication, in particular to a network quality testing method and device.
Background
In the control protocol, the quality of network communication between network device ports is mainly evaluated by acquiring the bandwidth of the network device ports and calculating the COST value (COST of reaching the destination pointed by a certain route) as the network quality evaluation standard. However, in practical situations, the network device itself may also affect the network quality, and by obtaining the bandwidth of the network device port and calculating the COST value, the accuracy of the calculated network quality is low, which affects the expectation and guarantee of the network quality
Disclosure of Invention
In view of the above, an object of the embodiments of the present invention is to provide a method and an apparatus for testing network quality to improve the above-mentioned problems.
In a first aspect, an embodiment of the present invention provides a network quality testing method, which is applied to a first network controller, where the first network controller is respectively in communication connection with a plurality of network devices in a same communication network, and the method includes:
initiating a network quality measurement request for a data link between two target network devices of the plurality of network devices;
obtaining the network quality of a data link between the two target network devices according to the obtained network parameters;
the network parameters comprise network parameters of ports of the network equipment and network parameters of links of the network equipment, and the network parameters of the ports of the network equipment comprise at least one of link media, port modes, maximum bandwidths, currently used bandwidths and data packet statistics.
Optionally, the network quality measurement request initiated on a data link between two target network devices in the plurality of network devices includes:
initiating a network quality measurement request at a predetermined time interval for a data link between two target network devices of the plurality of network devices; or
A network quality measurement request is initiated for a data link between two target network devices of the plurality of network devices in response to a triggering event.
Optionally, when a network quality measurement request for a data link between two target network devices of the plurality of network devices is initiated in response to a triggering event, and the triggering event is initiated by a user terminal communicatively connected to the first network manager, the method further comprises:
and sending the network quality of the data link between the two target network devices to the user terminal.
Optionally, the method further comprises:
and obtaining a data communication path between the two target network devices according to the network quality of the data link between the two target network devices.
Optionally, each of the network devices is further communicatively connected to a corresponding second network controller, and the first network controller and the second network controller select to control a function of the network device corresponding to the second network controller, where the method further includes:
when the management of the function of at least one of the network devices satisfies the management switching condition, the management of the function satisfying the condition is loaded/handed over.
Optionally, the loading/handing over, when the control of the function of at least one of the network devices satisfies a control switching condition, the control of the function satisfying the condition includes:
when the control of the function of at least one network device fails, transferring the control authority of the function to a second network controller corresponding to the network device with the failed function; and
and when the function control of the corresponding network equipment by the second network management controller fails, the first network management controller loads the function of which the control fails.
In a second aspect, an embodiment of the present invention provides a network quality testing apparatus, which is applied to a first network controller, where the first network controller is respectively in communication connection with multiple network devices in a same communication network, and the network quality testing apparatus includes:
a request initiating module for initiating a network quality measurement request for a data link between two target network devices of the plurality of network devices;
the first calculation module is used for obtaining the network quality of a data link between the two target network devices according to the obtained network parameters;
the network parameters comprise network parameters of ports of the network equipment and network parameters of links of the network equipment, and the network parameters of the ports of the network equipment comprise at least one of link media, port modes, maximum bandwidths, currently used bandwidths and data packet statistics.
Optionally, the request initiating module is configured to initiate a network quality measurement request of a data link between two target network devices of the plurality of network devices at predetermined time intervals; or
A network quality measurement request is initiated for a data link between two target network devices of the plurality of network devices in response to a triggering event.
Optionally, the network quality measurement device further includes a sending module, where the sending module is configured to send the network quality of the data link between two target network devices of the multiple network devices to a user terminal when the request initiating module is configured to initiate a network quality measurement request of the data link between the two target network devices in response to a trigger event, and the trigger event is initiated by the user terminal communicatively connected to the first network manager.
Optionally, each of the network devices is further communicatively connected to a corresponding second network controller, the first network controller and the second network controller select a function of the network device corresponding to the second network controller to perform control, and the network quality testing apparatus further includes:
and the authority management module is used for loading/handing over the control of the function meeting the condition when the control of the function of at least one network device meets the control switching condition.
Optionally, the authority management module is configured to, when the control of the function of at least one of the network devices fails, transfer the control authority of the function to a second network controller corresponding to the network device with the failed function; and
and when the second network controller fails to control the functions of the corresponding network equipment, loading the functions which fail to control.
Compared with the prior art, the network quality testing method and the device provided by the invention have the following beneficial effects:
the network quality testing method and the device provided by the invention can accurately reflect the network quality of the data link between two target network devices in the communication network, and provide effective guarantee for providing high-quality data transmission.
Furthermore, the network quality testing method and the network quality testing device provided by the invention can also enable the network controller which is most suitable for controlling the network equipment to control the network equipment, thereby improving the communication quality in the communication network.
In order to make the aforementioned and other objects, features and advantages of the present invention comprehensible, preferred embodiments accompanied with figures are described in detail below.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings needed to be used in the embodiments will be briefly described below, it should be understood that the following drawings only illustrate some embodiments of the present invention and therefore should not be considered as limiting the scope, and for those skilled in the art, other related drawings can be obtained according to the drawings without inventive efforts.
Fig. 1 is a schematic diagram of an application environment according to a preferred embodiment of the present invention.
Fig. 2 is a block diagram of a first network controller according to a preferred embodiment of the present invention.
Fig. 3 is a flowchart of a network quality testing method according to a preferred embodiment of the invention.
Fig. 4 is a functional block diagram of a network quality apparatus according to a preferred embodiment of the present invention.
Icon: 100-a first network supervisor; 110-network quality testing means; 111-request initiating module; 112-a first calculation module; 113-a second calculation module; 114-a sending module; 115-a rights management module; 120-a memory; 130-a memory controller; 140-a processor; 150-a peripheral interface; 160-input-output unit; 170-a display unit; 200-a second network supervisor; 300-network device.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. The components of embodiments of the present invention generally described and illustrated in the figures herein may be arranged and designed in a wide variety of different configurations. Thus, the following detailed description of the embodiments of the present invention, presented in the figures, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. All other embodiments, which can be derived by a person skilled in the art from the embodiments of the present invention without making any creative effort, shall fall within the protection scope of the present invention.
It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures. Meanwhile, in the description of the present invention, the terms "first", "second", and the like are used only for distinguishing the description, and are not to be construed as indicating or implying relative importance.
Fig. 1 is a schematic diagram of an application environment of a network quality testing method according to a preferred embodiment of the present invention, where the network quality testing method is applied to a first network controller 100 to test the network quality of a data link between any two network devices 300 in a communication network, so as to accurately measure the network quality and guarantee the network quality. As shown in fig. 1, the first network manager 100 is respectively in communication connection with a plurality of network devices 300 for data interaction and management and control of the plurality of network devices 300, the network devices 300 in the communication network are directly or indirectly in network communication connection, and each of the network devices 300 is further respectively in communication connection with a second network manager 200, so that the second network manager 200 performs data interaction with the corresponding network device 300 and manages the corresponding network device 300.
The basic function of the network device 300 is to process and forward various types of data on different ports, and the network device 300 may be a conventional network device or an SDN network device, which may employ, but is not limited to, a switch, a router, a firewall, an intrusion detection device, a network acceleration device, and the like. The communication network may be a wide area network, a local area network, or many other types of networks.
The first network controller 100 is a centralized controller, and cooperates with the second network controller 200 to control the network device 300 in the communication network, where the first network controller 100 is a central control node of the second network controller 200. The first network hypervisor 100 is installed with an application program for executing the method according to the embodiment of the present invention, and the first network hypervisor 100 may be, but is not limited to, a user terminal device such as a computer, a network device, or a server.
The second network controller 200 is a distributed controller, and cooperates with the first network controller 100 to control the network device 300 in the communication network. The second network controller 200 is installed with an application program for executing the method according to the embodiment of the present invention, and the second network controller 200 may be a user terminal device (e.g., a computer, a network device, etc.) or embedded in the network device 300.
The first network controller 100 and the second network controller 200 mainly implement a control plane, a management plane, and other logical planes of the communication network, where the control plane is used to control and manage the operation of all network protocols, and provide various network information and forwarding query table entries necessary for the network device 300 to process and forward data. The management plane is provided for the manager to manage the network device 300 by using TELNET, WEB, SSH, SNMP, RMON, or the like, and to support, understand, and execute setting commands of various network protocols of the network device 300 corresponding to the manager. The network device 300 mainly implements the logic function of the forwarding (data) plane, i.e., processes and forwards various types of data on different ports, and various specific data processing and forwarding processes such as L2/L3/ACL/QOS/multicast/security protection belong to the task category of the data plane of the switch.
As shown in fig. 2, it is a block diagram of a first network hypervisor 100 (or a second network hypervisor 200), where the first network hypervisor 100 includes a network quality testing device 110, a memory 120, a storage controller 130, a processor 140, a peripheral interface 150, an input/output unit 160, and a display unit 170.
The memory 120, the memory controller 130, the processor 140, the peripheral interface 150, the input/output unit 160, and the display unit 170 are electrically connected to each other directly or indirectly, so as to implement data transmission or interaction. For example, the components may be electrically connected to each other via one or more communication buses or signal lines. The network quality testing apparatus 110 includes at least one software function module which can be stored in the memory 120 in the form of software or firmware (firmware) or is fixed in an Operating System (OS) of the user terminal 100 device. The processor 140 is configured to execute an executable module stored in the memory 120, such as a software functional module or a computer program included in the network quality testing device 110.
The Memory 120 may be, but is not limited to, a Random Access Memory (RAM), a Read Only Memory (ROM), a Programmable Read-Only Memory (PROM), an Erasable Read-Only Memory (EPROM), an electrically Erasable Read-Only Memory (EEPROM), and the like. The memory 120 is configured to store a program, and the processor 140 executes the program after receiving an execution instruction, and the method executed by the user terminal 100 defined by the flow procedure disclosed in any of the foregoing embodiments of the present invention may be applied to the processor 140, or implemented by the processor 140.
The processor 140 may be an integrated circuit chip having signal processing capabilities. The Processor 140 may be a general-purpose Processor, and includes a Central Processing Unit (CPU), a Network Processor (NP), and the like; but may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), an off-the-shelf programmable gate array (FPGA) or other programmable logic device, discrete gate or transistor logic, discrete hardware components. The various methods, steps and logic blocks disclosed in the embodiments of the present invention may be implemented or performed. A general purpose processor may be a microprocessor or the processor may be any conventional processor or the like.
The peripheral interface 150 couples various input/output devices to the processor 140 as well as to the memory 120. In some embodiments, peripheral interface 150, processor 140, and memory controller 130 may be implemented in a single chip. In other examples, they may be implemented separately from the individual chips.
The input/output unit 160 is used for providing input data for a user to realize the interaction of the user with the network quality testing device 110. The input/output unit 160 may be, but is not limited to, a mouse, a keyboard, and the like.
The display unit 170 provides an interactive interface (e.g., a user operation interface) between the network quality testing apparatus 110 and a user or is used to display image data to a user reference. In this embodiment, the display unit 170 may be a liquid crystal display or a touch display. In the case of a touch display, the display can be a capacitive touch screen or a resistive touch screen, which supports single-point and multi-point touch operations. Supporting single-point and multi-point touch operations means that the touch display can sense touch operations from one or more locations on the touch display at the same time, and the sensed touch operations are sent to the processor 140 for calculation and processing.
Please refer to fig. 3, which is a flowchart illustrating a network quality testing method applied to the network quality testing apparatus shown in fig. 2 according to a preferred embodiment of the present invention. The specific flow shown in fig. 3 will be described in detail below.
Step S101, a network quality measurement request of a data link between two target network devices in a plurality of network devices is initiated.
In the embodiment of the present invention, when a network quality test needs to be performed on any two network devices 300 of the plurality of network devices 300, the first network controller 100 may initiate a network quality measurement request for a data link between the two target network devices.
Specifically, the first network controller 100 may preset to automatically perform the network quality test on any two target network devices in the plurality of network devices 300 at predetermined time intervals. In operation, the first network controller 100 automatically initiates a network quality measurement request for a data link between any two target network devices at predetermined time intervals.
The first network manager 100 may also be responsive to a triggering event to initiate a request for data link network quality measurements between any two target network devices of the plurality of network devices 300. For example, a network administrator may access the first network hypervisor 100 through a terminal device (e.g., a computer), and send a control instruction to the first network hypervisor 100, where the control instruction indicates to test the network quality of a data link between two target network devices, and the first network hypervisor 100 initiates the network quality measurement request according to the control instruction. For another example, when the path for sending the message needs to be recalculated, the first network manager 100 may also initiate a network quality measurement request for a data link between two target network devices of the plurality of network devices 300.
In an embodiment of the present invention, a network quality measurement request for a data link between two target network devices of the plurality of network devices 300 is initiated by the first network hypervisor 100. It will be appreciated that in other embodiments, a network quality measurement request for a data link between two target network devices of the plurality of network devices 300 may also be initiated by the second network hypervisor 200. Triggering and constructing a special test message, sending the special test message to the network device 300 through the first network management controller 100 or the second network management controller 200, driving the network device 300 to send the test message to the destination network device 300 according to the network quality measurement request, and forwarding the message to the first network management controller 100 or the second network management controller 200 to calculate the network parameters of the link after the destination network device 300 receives the message.
And step S102, obtaining the network quality of a data link between two target network devices according to the obtained network parameters.
After initiating the network quality measurement request, the first network controller 100 obtains the network parameters and performs a comprehensive operation according to the obtained network parameters to obtain the network quality of the data link between the two target network devices. The network parameters include network parameters of ports of the network device 300 and network parameters of links of the network device 300.
The first network controller 100 is communicatively connected to each network device 300, and therefore can directly or indirectly obtain the network parameters of the ports of all the network devices 300. The network parameters include at least one of link media of the network device 300, port modes (such as rate, full duplex/half duplex, optical/electrical interface, etc.), maximum bandwidth, real-time used bandwidth, and data packet statistics (including number/byte of transmitted packets, number/byte of received packets, number/byte of unicast packets, number/byte of multicast packets, number/byte of broadcast packets, number/byte of error packets, etc.). The port modes, the maximum bandwidth, and the real-time used bandwidth of the network device 300 may be directly obtained, and the size distribution of the data packets may be obtained by analyzing the transmission condition of the data packets over a period of time.
Through the process of constructing the dedicated test packet and transmitting the dedicated test packet from one network device 300 to another network device 300 at least once, the obtained information of the network link, such as delay, jitter, packet loss, throughput of a specific UDP/TCP protocol, and the like, is used as the network parameter of the link.
After the network parameters of the ports and the links of all the network devices 300 are obtained, the first network controller 100 performs a comprehensive operation according to the network parameters of the ports and the links of all the network devices 300 to obtain the network quality data of the data link between the two target network devices. For example, if there are 10 data links from the target network device a to the target network device B, the network quality of the data link between the two target network devices may be 10, and each data link corresponds to one data link. Or the first network manager 100 selects the network quality of several data links with better network quality as the network quality of the data link between the two target network devices. The network quality comprises parameters such as network delay, jitter, packet loss rate, throughput of a specific UDP/TCP protocol, port network parameter statistics and the like.
In the embodiment of the present invention, after obtaining the network quality of the data link between the two target network devices, the first network controller 100 may further send the network quality of the data link between the two target network devices to a terminal device at a network administrator side for the network administrator to use.
Step S103, obtaining a data communication path between the two target network devices according to the network quality of the data link between the two target network devices.
After the network quality of the data link between the two target network devices is obtained, the first network controller 100 performs path calculation in the control protocol on the network quality of the data link between the two target network devices, so as to obtain a communication path with excellent data communication capability between the two target network devices.
It is understood that in other embodiments, the first network hypervisor 100 may also send the network quality of the data link between the two target network devices to the second network hypervisor 200 for use by the second network hypervisor 200 in performing path computations in the control protocol.
Step S104, when the management and control of the function of at least one of the network devices satisfies the management and control switching condition, loading/handing over the management and control of the function satisfying the condition.
In the embodiment of the present invention, the first network controller 100 may control all the network devices 300, and the second network controller 200 may control the corresponding network devices 300. The first network manager 100 and the second network manager 200 can select a function of the same network device 300 to manage. For example, the first network hypervisor 100 and one of the second network hypervisors 200 together govern 10 functions of a target network device, wherein the first network hypervisor 100 governs 7 functions of the target network device, and the second network hypervisor 200 governs the remaining 3 functions of the target network device.
When the first network controller 100 fails to control a certain function of at least one network device 300, the first network controller 100 transfers the control authority of the certain function to the second network controller 200 corresponding to the network device 300 with the failed function for control. When the second network controller 200 fails to control a function of the corresponding network device 300, the first network controller 100 loads the failed function of the network device 300.
For example, in the process of managing a certain network device 300, the function X of the network device 300 is originally managed and controlled by the first network controller 100, when the second network controller 200 corresponding to the network device 300 detects that the management and control of the function X of the first network controller 100 is failed, the second network controller 200 corresponding to the network device 300 acquires a function and data list for operating the function X at this time, and loads and operates the function and data list after acquiring the function list, thereby completing the handover of the management and control authority.
For another example, when measuring the network quality of a data link between network devices 300 near a second network controller 200, the right of the network device 300 originally managed by the first network controller 100 may be handed over to the second network controller 200 of the network device 300, that is, the second network controller 200 constructs a dedicated test packet, the dedicated test packet is sent to the network device 300 through the second network controller 200, the network device 300 is driven to send the test packet to the destination network device 300 according to the network quality measurement request, and the destination network device 300 receives the dedicated test packet and forwards the dedicated test packet to the first network controller 100 or the second network controller 200 to calculate the network parameters of the link.
In the embodiment of the present invention, for example, when one of the network hypervisors sends an ICMP message to a certain network device 300, the policing authority of the function is also handed over according to the situation. Specifically, the location restrictions of the two network managers may be given, and the handover of the management authority may also be operated based on the consideration of the processing efficiency. For example, when the load of one of the network managers is excessive, the sending control authority of the ICMP message may be handed over to the network manager with a lighter load; the control authority of the ICMP function may also be handed over to a network controller closer to the network device 300 to save the bandwidth resource of the network.
In this way, by handing over the authority for controlling the functions of the network device 300, it is ensured that the most suitable network controller controls the network device 300 in real time.
In the embodiment of the present invention, the first network controller 100 and the second network controller 200 have the same functions. Therefore, the method described above in the embodiment of the present invention may also be executed by the second network controller 200, and a detailed description thereof is omitted in this embodiment.
Please refer to fig. 4, which is a functional block diagram of the network quality testing apparatus 110 in fig. 2 according to a preferred embodiment of the present invention. The network quality testing device 110 includes a request initiating module 111, a first calculating module 112, a second calculating module 113, a sending module 114 and a right management module 115.
The request initiation module 111 is configured to initiate a network quality measurement request for a data link between two target network devices of the plurality of network devices 300.
The request initiating module 111 may initiate a network quality measurement request of a data link between two target network devices in the plurality of network devices 300 at predetermined time intervals. Or may be a network quality measurement request initiated on a data link between two target network devices of the plurality of network devices 300 in response to a triggering event.
It is understood that the request initiating module 111 may be configured to perform the step S101.
The first calculating module 112 is configured to obtain the network quality of the data link between the two target network devices according to the obtained network parameters of the ports and the network parameters of the links of all the network devices 300.
It is understood that the first calculation module 112 may be configured to perform the step S102.
The second calculating module 113 is configured to obtain a data communication path between two target network devices according to the network quality of a data link between the two target network devices.
It is understood that the second calculating module 113 may be configured to execute the step S103.
The sending module 114 is configured to send the network quality of the data link between two target network devices of the plurality of network devices to the user terminal when the request initiating module is configured to initiate a network quality measurement request of the data link between the two target network devices in response to a trigger event, and the trigger event is initiated by the user terminal communicatively connected to the first network manager.
The right management module 115 is configured to, when the management of the function of at least one of the network devices satisfies the management switching condition, load/hand over the management of the function satisfying the condition.
It is understood that the rights management module 115 can be used to execute the above step S104.
In summary, the network quality testing method and apparatus provided in the embodiments of the present invention obtain the network parameters of the link by initiating the network quality measurement request of the data link between two target network devices in the multiple network devices, and obtain the network quality of the data link between the two target network devices according to the obtained network parameters of the ports of all the network devices. Therefore, the network quality of a data link between two target network devices in the communication network can be accurately reflected, and the high-quality data transmission is effectively guaranteed. Meanwhile, when the management of the function of at least one of the network devices 300 satisfies the management switching condition, the management of the function satisfying the condition is loaded/handed over between the first network hypervisor 100 and the second network hypervisor 200. Through the authority transfer of the function control of the network device 300, the network controller most suitable for controlling the network device 300 is ensured to control the network device 300 in real time, and the communication quality in the communication network is improved.
In the embodiments provided in the present application, it should be understood that the disclosed apparatus and method can be implemented in other ways. The apparatus embodiments described above are merely illustrative, and for example, the flowchart and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of apparatus, methods and computer program products according to various embodiments of the present invention. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
In addition, the functional modules in the embodiments of the present invention may be integrated together to form an independent part, or each module may exist separately, or two or more modules may be integrated to form an independent part.
The functions, if implemented in the form of software functional modules and sold or used as a stand-alone product, may be stored in a 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 instructions for causing a computer device (which may be a personal computer, a server, or a network device) to execute all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a Random Access Memory (RAM), a magnetic disk or an optical disk, and other various media capable of storing program codes. It is noted that, herein, relational terms such as first and second, and the like may be used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Also, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising an … …" does not exclude the presence of other identical elements in a process, method, article, or apparatus that comprises the element.
The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention. It should be noted that: like reference numbers and letters refer to like items in the following figures, and thus, once an item is defined in one figure, it need not be further defined and explained in subsequent figures.
The above description is only for the specific embodiments of the present invention, but the scope of the present invention is not limited thereto, and any person skilled in the art can easily conceive of the changes or substitutions within the technical scope of the present invention, and all the changes or substitutions should be covered within the scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the protection scope of the appended claims.

Claims (10)

1. A network quality testing method is applied to a first network controller which is respectively in communication connection with a plurality of network devices arranged in the same communication network, and is characterized in that each network device is also in communication connection with a corresponding second network controller, and the first network controller and the second network controller select the function of the network device corresponding to the second network controller to control, and the method comprises the following steps:
initiating a network quality measurement request for a data link between two target network devices of the plurality of network devices;
obtaining the network quality of a data link between the two target network devices according to the obtained network parameters;
the network parameters comprise network parameters of ports of the network equipment and network parameters of links of the network equipment, and the network parameters of the ports of the network equipment comprise at least one of link media, port modes, maximum bandwidth, currently used bandwidth and data packet statistics;
loading/handing over, when management and control of a function of at least one of the network devices satisfies a management and control switching condition, management and control of the function satisfying the condition; wherein the handover condition includes: wherein one or more network hypervisors are overloaded and there is a network hypervisor that is closer to the network device than the current network hypervisor.
2. The method of claim 1, wherein the initiating a network quality measurement request for a data link between two target network devices of the plurality of network devices comprises:
initiating a network quality measurement request at a predetermined time interval for a data link between two target network devices of the plurality of network devices; or
A network quality measurement request is initiated for a data link between two target network devices of the plurality of network devices in response to a triggering event.
3. The method of claim 2, wherein when a network quality measurement request for a data link between two target network devices of the plurality of network devices is initiated in response to a triggering event, and the triggering event is initiated by a user terminal communicatively coupled to the first network manager, the method further comprises:
and sending the network quality of the data link between the two target network devices to the user terminal.
4. The method of claim 1, further comprising:
and obtaining a data communication path between the two target network devices according to the network quality of the data link between the two target network devices.
5. The method according to claim 1, wherein, when the governing of the function of at least one of the network devices satisfies a governing handover condition, the loading/handing over the governing of the function satisfying the condition further comprises:
when the control of the function of at least one network device fails, transferring the control authority of the function to a second network controller corresponding to the network device with the failed function; and
and when the function control of the corresponding network equipment by the second network management controller fails, the first network management controller loads the function with failed control.
6. A network quality testing device is applied to a first network controller, the first network controller is respectively in communication connection with a plurality of network devices arranged in the same communication network, each network device is also in communication connection with a corresponding second network controller, the first network controller and the second network controller select a pair of functions of the network devices corresponding to the second network controller to control, and the network quality testing device is characterized by comprising:
a request initiating module for initiating a network quality measurement request for a data link between two target network devices of the plurality of network devices;
the first calculation module is used for obtaining the network quality of a data link between the two target network devices according to the obtained network parameters;
the network parameters comprise network parameters of ports of the network equipment and network parameters of links of the network equipment, and the network parameters of the ports of the network equipment comprise at least one of link media, port modes, maximum bandwidth, currently used bandwidth and data packet statistics;
a right management module for loading/handing over control of a function satisfying a condition when the control of the function of at least one of the network devices satisfies a control switching condition, and loading/handing over control of the function satisfying the condition when the control of the function of at least one of the network devices satisfies the control switching condition; wherein the handover condition includes: wherein one or more network hypervisors are overloaded and there is a network hypervisor that is closer to the network device than the current network hypervisor.
7. The apparatus according to claim 6, wherein the request initiating module is configured to initiate a network quality measurement request of a data link between two target network devices of the plurality of network devices at predetermined time intervals; or
A network quality measurement request is initiated for a data link between two target network devices of the plurality of network devices in response to a triggering event.
8. The apparatus of claim 7, further comprising a sending module, wherein the sending module is configured to send the network quality of the data link between two target network devices of the plurality of network devices to the user terminal when the request initiating module is configured to initiate a network quality measurement request of the data link between the two target network devices in response to a trigger event, and the trigger event is initiated by the user terminal communicatively connected to the first network manager.
9. The apparatus according to claim 6, wherein each of the network devices further communicatively connects to a corresponding second network controller, and the first network controller and the second network controller select to control a function of the network device corresponding to the second network controller, further comprising:
and the authority management module is used for loading/handing over the control of the function meeting the condition when the control of the function of at least one network device meets the control switching condition.
10. The apparatus according to claim 9, wherein the permission management module is configured to, when the control over the function of at least one of the network devices fails, transfer the control permission of the function to a second network controller corresponding to the network device with the failed function; and
and when the second network controller fails to control the functions of the corresponding network equipment, loading the functions which fail to control.
CN201810631661.2A 2018-06-19 2018-06-19 Network quality testing method and device Active CN108809765B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810631661.2A CN108809765B (en) 2018-06-19 2018-06-19 Network quality testing method and device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810631661.2A CN108809765B (en) 2018-06-19 2018-06-19 Network quality testing method and device

Publications (2)

Publication Number Publication Date
CN108809765A CN108809765A (en) 2018-11-13
CN108809765B true CN108809765B (en) 2022-06-03

Family

ID=64083590

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810631661.2A Active CN108809765B (en) 2018-06-19 2018-06-19 Network quality testing method and device

Country Status (1)

Country Link
CN (1) CN108809765B (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113067744B (en) * 2021-02-08 2023-04-14 杭州涂鸦信息技术有限公司 Network testing method, electronic equipment and storage device
CN113660108B (en) * 2021-06-30 2024-03-01 山东信通电子股份有限公司 Network quality diagnosis method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357068A (en) * 2015-11-03 2016-02-24 华中科技大学 OpenFlow network flow control method for QoS assurance of application
CN106559254A (en) * 2015-12-29 2017-04-05 国网智能电网研究院 SDN multiple-domain networks device and implementation method based on both-end mouth switch
CN106953742A (en) * 2017-02-16 2017-07-14 广州海格通信集团股份有限公司 A kind of wireless isomer network bandwidth safeguard method based on SDN
CN107508730A (en) * 2017-09-29 2017-12-22 刘昱 A kind of data center's interconnected method and device based on SDN

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7397778B2 (en) * 2003-04-21 2008-07-08 Avaya Technology Corp. Method and apparatus for predicting the quality of packet data communications
US9380508B2 (en) * 2013-10-28 2016-06-28 Aruba Networks, Inc. System, apparatus and method for managing network device connectivity on heterogenous networks
US9531633B2 (en) * 2014-03-20 2016-12-27 Tata Consultancy Services Limited Control plane optimization of communication networks

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105357068A (en) * 2015-11-03 2016-02-24 华中科技大学 OpenFlow network flow control method for QoS assurance of application
CN106559254A (en) * 2015-12-29 2017-04-05 国网智能电网研究院 SDN multiple-domain networks device and implementation method based on both-end mouth switch
CN106953742A (en) * 2017-02-16 2017-07-14 广州海格通信集团股份有限公司 A kind of wireless isomer network bandwidth safeguard method based on SDN
CN107508730A (en) * 2017-09-29 2017-12-22 刘昱 A kind of data center's interconnected method and device based on SDN

Also Published As

Publication number Publication date
CN108809765A (en) 2018-11-13

Similar Documents

Publication Publication Date Title
US20200236038A1 (en) Dynamic Deployment of Network Applications Having Performance and Reliability Guarantees in Large Computing Networks
US10678746B2 (en) Virtual network optimizing a physical network
US9749402B2 (en) Workload deployment with real-time consideration of global network congestion
US9219691B2 (en) Source-driven switch probing with feedback request
US20180026901A1 (en) Procedures, apparatuses, systems, and computer program products for adaptive tunnel bandwidth by using software defined networking
US9178794B2 (en) Communication quality monitoring system, communication quality monitoring method and recording medium
EP3272073A1 (en) Control channel usage monitoring in a software-defined network
US10033592B2 (en) Method and system for monitoring network link and storage medium therefor
US11144423B2 (en) Dynamic management of monitoring tasks in a cloud environment
CN108809765B (en) Network quality testing method and device
CN108737219B (en) Network link measurement method and device
CN115769556A (en) Path visibility, packet loss and delay measurements of service chain data flows
US20180167337A1 (en) Application of network flow rule action based on packet counter
US7895300B1 (en) Systems and methods for testing device ports in a storage area network
JP6294741B2 (en) Control system, relay device, and control method
JP6186287B2 (en) System management server and control method
CN112653626A (en) High-delay link determining method, route publishing method and device
US9301232B2 (en) Management apparatus of controller for communication network
US11822979B2 (en) Computer system and data transmission control method
JP6096700B2 (en) API providing system
WO2021240586A1 (en) Connection number measurement device, connection state detection device, connection state detection method, and connection number measurement program
KR101745878B1 (en) Method, apparatus, system and computer program for providing stability of software defined network
Chen Control Traffic and Queueing Latencies: Implicit Overheads in Bandwidth Sliced Software Defined Networks
JP5485195B2 (en) Network monitoring apparatus, network control method, and program
JP2014155012A (en) Influence evaluation device, and influence evaluation method

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