CN109995600B - SDN-based high-pressure service testing method and system - Google Patents

SDN-based high-pressure service testing method and system Download PDF

Info

Publication number
CN109995600B
CN109995600B CN201711475793.2A CN201711475793A CN109995600B CN 109995600 B CN109995600 B CN 109995600B CN 201711475793 A CN201711475793 A CN 201711475793A CN 109995600 B CN109995600 B CN 109995600B
Authority
CN
China
Prior art keywords
service
sdn
monitoring
message
monitoring device
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
CN201711475793.2A
Other languages
Chinese (zh)
Other versions
CN109995600A (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.)
Zhejiang Uniview Technologies Co Ltd
Original Assignee
Zhejiang Uniview Technologies 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 Zhejiang Uniview Technologies Co Ltd filed Critical Zhejiang Uniview Technologies Co Ltd
Priority to CN201711475793.2A priority Critical patent/CN109995600B/en
Publication of CN109995600A publication Critical patent/CN109995600A/en
Application granted granted Critical
Publication of CN109995600B publication Critical patent/CN109995600B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N17/00Diagnosis, testing or measuring for television systems or their details
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04NPICTORIAL COMMUNICATION, e.g. TELEVISION
    • H04N7/00Television systems
    • H04N7/18Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Multimedia (AREA)
  • Environmental & Geological Engineering (AREA)
  • Health & Medical Sciences (AREA)
  • Biomedical Technology (AREA)
  • General Health & Medical Sciences (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a high-pressure service testing method and system based on an SDN (software defined network). A monitoring platform and a monitoring device and/or a service client build a testing network, the testing network also comprises an SDN controller and an SDN switch, the SDN controller receives a request message sent by the monitoring device or the service client, modifies a corresponding field of the request message according to a device parameter to be copied, copies the request message of the monitoring device or the service client into the request messages of the monitoring device or the service client with a preset number, and sends the copied request message to the monitoring platform according to a message sending strategy; and the SDN switch receives an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwards the received message. The invention only needs one real monitoring device, one monitoring client and a plurality of servers provided with SDN, thereby saving the hardware cost and being convenient for the maintenance and the migration of the test environment.

Description

SDN-based high-pressure service testing method and system
Technical Field
The invention belongs to the technical field of system testing, and particularly relates to a method and a system for testing a high-pressure service based on an SDN (software defined network).
Background
With the scale of the monitoring system becoming large, the requirement for the performance test becomes higher and higher, and at the moment, the hardware cost, the maintenance cost and the environment migration cost of the performance test also become higher and higher. For example, 10000 devices and 10000 monitoring services are needed to be established and set up in a performance test environment such as 10000 video cameras which are live and stored at the same time, and therefore, the establishment of the performance test environment in a laboratory is almost impossible.
At present, a large number of real monitoring devices are needed for building a performance pressure test environment of a monitoring platform, for example, 10000 devices and 10000 monitoring services are needed for building 10000 performance test environments such as the simultaneous live performance and storage of cameras. The built environment hardware has huge cost, complex networking, great maintenance difficulty and great environment migration difficulty.
In the prior art, a test environment is also set up through a simulation terminal, a simulation server receives and analyzes a simulation terminal configuration file to obtain an IP address and an original stream source mode of a tested system, manufacturer information, a terminal type, a protocol type and a simulation terminal IP address of a terminal to be simulated, a device IP address of a corresponding simulation terminal is virtualized, the simulation terminal for testing is simulated and registered to the tested system, then a service request of the tested system is received, a corresponding connection between the simulation terminal and the tested system is set up, and a performance test is performed.
However, in the technical scheme, a configuration file of the simulation terminal needs to be configured, and the simulation terminal establishes connection with the system to be tested by using the virtual IP address. The configuration file of each simulation terminal needs to be specifically defined, a plurality of virtual IP addresses need to be virtualized, connection with a system to be tested needs to be established, and the operation is complex.
Disclosure of Invention
The invention aims to provide a SDN-based high-pressure service testing method and system, which can be used for quickly establishing a performance testing environment of a monitoring platform only by one real monitoring device, one monitoring client and a plurality of SDN-mounted servers, and are simple in configuration and convenient to implement.
In order to achieve the purpose, the technical scheme of the invention is as follows:
a large-pressure service testing method based on SDN is used for performing performance pressure testing on a monitoring platform, the monitoring platform and a monitoring device and/or a service client build a testing network, the testing network further comprises an SDN controller and an SDN switch, and the large-pressure service testing method based on SDN comprises the following steps:
the SDN controller receives a request message sent by monitoring equipment or a service client, modifies a corresponding field of the request message according to equipment parameters to be copied, copies the request message of the monitoring equipment or the service client into the request messages of a preset number of monitoring equipment or service clients, and sends the copied request message to a monitoring platform according to a message sending strategy;
and the SDN switch receives an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwards the received message.
Further, the SDN-based high-pressure service testing method further includes:
and the SDN controller receives a service request message sent by the monitoring platform, modifies monitoring equipment information in a service response message of the monitoring equipment into corresponding monitoring equipment information in the service request message, and sends the monitoring equipment information to the monitoring platform.
Further, the SDN-based high-pressure service testing method further includes:
and the SDN controller receives the code stream sent by the monitoring platform, copies the code stream according to the maintained monitoring service list, and sends the copied code stream to a corresponding service client according to a code stream sending strategy.
Further, the SDN controller includes an SDN main controller and a first SDN controller connected to the monitoring device, where the SDN controller receives a request packet sent by the monitoring device or the service client, modifies a corresponding field of the request packet according to a device parameter to be copied, copies the request packet of the monitoring device or the service client into a preset number of request packets of the monitoring device or the service client, and sends the copied request packet to the monitoring platform according to a packet sending policy, including:
the method comprises the steps that a first SDN controller receives a registration message sent by monitoring equipment and reports the received registration message to an SDN main controller;
the SDN main controller sends the received registration message, the parameters of each monitoring device to be copied and a message sending strategy to each first SDN controller;
the first SDN controller modifies a corresponding message field according to the parameters of the monitoring equipment to be copied, and copies the message;
and the first SDN controller sends the copied registration message to the monitoring platform according to a message sending strategy issued by the SDN main controller.
Further, the SDN controller includes an SDN main controller and a second SDN controller connected to the service client, where the SDN controller receives a request packet sent by the monitoring device or the service client, modifies a corresponding field of the request packet according to a device parameter to be copied, copies the request packet of the monitoring device or the service client into a preset number of request packets of the monitoring device or the service client, and sends the copied request packet to the monitoring platform according to a packet sending policy, including:
the second SDN controller receives a service message sent by the service client and reports the received service message to the SDN main controller;
the SDN main controller sends the received service messages to each second SDN controller, and parameters and message sending strategies of each service client to be copied;
the second SDN controller modifies the corresponding message field according to the parameters of the service client to be copied, and copies the message;
and the second SDN controller sends the copied service message to the monitoring platform according to a message sending strategy issued by the SDN main controller.
Further, the SDN controller includes an SDN main controller and a first SDN controller connected to the monitoring device, where the SDN controller receives a service request packet sent by the monitoring platform, modifies monitoring device information in a service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and sends the modified monitoring device information to the monitoring platform, including:
when receiving a service request message from a monitoring platform to a monitoring device, a first SDN controller reports the received service request message to an SDN main controller, and the SDN main controller issues information of the monitoring device;
the first SDN controller modifies information of the monitoring equipment in the service request message, sends the service request message to the monitoring equipment, receives a service response message of the monitoring equipment, modifies monitoring equipment information of the received service response message into corresponding monitoring equipment information in the service request message, and sends the monitoring equipment information to the monitoring platform.
Further, the first SDN controller further caches after receiving a service response packet of the monitoring device, and sends the received service response packet of the monitoring device to the SDN host controller for caching, where the SDN controller receives a service request packet sent by the monitoring platform, modifies monitoring device information in the service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and sends the modified monitoring device information to the monitoring platform, and the method further includes:
when receiving a service request message from a monitoring platform to a monitoring device, a first SDN controller firstly checks whether a corresponding service response message exists in a current cache list, if so, copies the corresponding service response message, modifies information of the monitoring device in the service response message into corresponding monitoring device information in the service request message, and sends the monitoring device information to the monitoring platform;
and if the service request message is not reported to the SDN main controller, the SDN main controller checks whether a corresponding service response message exists in a current cache list or not, if so, the cached service response message is sent to the first SDN controller, the first SDN controller copies the corresponding service response message, and the information of the monitoring equipment in the service response message is modified into the corresponding monitoring equipment information in the service request message and sent to the monitoring platform.
The invention also provides a large-pressure service testing system based on the SDN, which is used for performing performance pressure test on the monitoring platform, and the large-pressure service testing system based on the SDN comprises the monitoring platform, a monitoring device and/or a service client, an SDN controller and an SDN switch, wherein:
the SDN controller is used for receiving a request message sent by monitoring equipment or a service client, modifying a corresponding field of the request message according to an equipment parameter to be copied, copying the request message of the monitoring equipment or the service client into the request messages of the monitoring equipment or the service client with a preset number, and sending the copied request message to a monitoring platform according to a message sending strategy;
the SDN switch is used for receiving an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwarding the received message.
Further, the SDN controller is further configured to receive a service request packet sent by the monitoring platform, modify monitoring device information in a service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and send the modified monitoring device information to the monitoring platform.
Further, the SDN controller is further configured to receive a code stream sent by the monitoring platform, copy the code stream according to the maintained monitoring service list, and send the copied code stream to a corresponding service client according to a code stream sending policy.
According to the SDN-based high-pressure service testing method and system, the SDN controller copies the test message to simulate different monitoring equipment and services initiated by the service client, the SDN controller performs forwarding control on the service request, and the SDN controller performs copying and forwarding control on the code stream sent by the monitoring equipment, so that a performance testing environment of a monitoring platform is built quickly, and configuration is simple. Only one real monitoring device, one monitoring client and a plurality of servers provided with SDN are needed, so that the hardware cost is saved, and the maintenance and the migration of the test environment are facilitated.
Drawings
FIG. 1 is a schematic diagram of a test network according to the present invention;
fig. 2 is a flow chart of a high-pressure service testing method based on an SDN according to the present invention.
Detailed Description
The technical solutions of the present invention are further described in detail below with reference to the drawings and examples, which should not be construed as limiting the present invention.
As shown in fig. 1, in the technical solution, only 1 monitoring device, 1 service client, and a plurality of SDN controllers and SDN switches are needed, so that a performance test network of the monitoring platform can be built together with various management servers in the monitoring platform. In fig. 1, the SDN controller includes one SDN host controller, a plurality of first SDN controllers, and a plurality of second SDN controllers. The monitoring equipment is connected with the first SDN controller and is connected into a test network through an SDN switch; the service client is connected with a second SDN controller and is connected into a test network through an SDN switch; the monitoring management server of the monitoring platform is also accessed into the test network through the SDN switch.
For a monitoring platform performance pressure test environment, the number of monitoring devices and the number of services to be simulated are very large, and fig. 1 of the embodiment is implemented by using multiple SDN controllers. It is easy to understand that the SDN master server, the first SDN controller, and the second SDN controller are not different, and may be implemented by one SDN controller if the SDN controller has sufficiently strong performance. In addition, the SDN host controller may be separately provided, or one SDN host controller may be selected from the first SDN controller and the second SDN controller to serve as the host controller, which is not described herein again.
As shown in fig. 2, an embodiment of the present technical solution is a method for testing a high-pressure service based on an SDN, including:
the SDN controller receives a request message sent by monitoring equipment or a service client, modifies a corresponding field of the request message according to equipment parameters to be copied, copies the request message of the monitoring equipment or the service client into the request messages of a preset number of monitoring equipment or service clients, and sends the copied request message to a monitoring platform according to a message sending strategy;
and the SDN switch receives an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwards the received message.
It is easy to understand that, when the monitoring service is implemented, the method further includes interaction between the monitoring platform and the monitoring device to respond to the service packet of the service client, and after the connection between the service client and the monitoring device is established, the live code stream is sent to implement the service. However, in the test environment, only a part of the functions may be tested, or the whole business process may be tested. In the technical scheme, the SDN-based large-pressure service testing method further comprises the following steps:
and the SDN controller receives a service request message sent by the monitoring platform, modifies monitoring equipment information in a service response message of the monitoring equipment into corresponding monitoring equipment information in the service request message, and sends the monitoring equipment information to the monitoring platform.
And the SDN controller receives the code stream sent by the monitoring platform, copies the code stream according to the maintained monitoring service list, and sends the copied code stream to a corresponding service client according to a code stream sending strategy.
In the following description, the SDN controllers are divided into an SDN main controller, a first SDN controller, and a second SDN controller, and multiple SDN controllers are adopted to facilitate realization of a simulation test of a large-pressure monitoring device and/or a service client.
In a first embodiment, a first SDN controller processes a registration packet.
The method comprises the steps that a first SDN controller receives a registration message sent by monitoring equipment and reports the received registration message to an SDN main controller;
the SDN main controller sends the received registration message, the parameters of each monitoring device to be copied and a message sending strategy to each first SDN controller;
the first SDN controller modifies a corresponding message field according to the parameters of the monitoring equipment to be copied, and copies the message;
and the first SDN controller sends the copied registration message to the monitoring platform according to a message sending strategy issued by the SDN main controller.
Taking a registration process as an example, the monitoring device sends a registration message to the monitoring platform, and the registration message passes through the first SDN controller. The first SDN controller reports the received registration message to an SDN main controller, the SDN main controller issues the received registration message to each first SDN controller, and parameters and message sending strategies of each monitoring device to be copied, and the parameters of the monitoring device to be copied include but are not limited to MAC addresses, IP addresses, device IDs and other necessary parameters.
After receiving the original registration message, the parameters of the monitoring device to be copied and the message sending policy, the first SDN controller parses the original registration message, modifies corresponding message fields according to the parameters of the monitoring device to be copied, such as modifying a source MAC address, a source IP address, a device ID, and the like of the registration message, and performs 1: and N copies are carried out to obtain different registration messages of the source MAC address, the source IP address and the equipment ID, which is equivalent to that N monitoring equipment sends out the registration messages. The number of replications N is determined according to the performance of the SDN controller and the number of monitoring devices that need to be tested.
According to the embodiment, different message sending strategies can be issued to test the monitoring platform according to different performance test requirements. Each copied message can be immediately sent after being modified so as to achieve high concurrent registration performance test of the monitoring platform; the transmission control can be performed on each copied and modified message according to a certain transmission delay strategy so as to achieve the actual use environment.
Through the steps, the first SDN controller copies N test messages, namely simulates N monitoring devices to initiate registration to the monitoring platform, the monitoring platform performs registration response and sends response messages, and the first SDN controller receives corresponding response messages.
By the steps, in a centralized control mode, under the condition that the first SDN controller does not need any monitoring equipment information, the SDN main controller controls the copying and modification of the SDN controller messages to the specified fields, and the monitoring equipment 1: n replication effect, if each SDN server can replicate N devices under the condition of M SDN controller clusters, it is 1: (N × M) replication effects.
And in the second embodiment, the second SDN controller processes the service packet.
The second SDN controller receives a service message sent by the service client and reports the received service message to the SDN main controller;
the SDN main controller sends the received service messages to each second SDN controller, and parameters and message sending strategies of each service client to be copied;
the second SDN controller modifies the corresponding message field according to the parameters of the service client to be copied, and copies the message;
and the second SDN controller sends the copied service message to the monitoring platform according to a message sending strategy issued by the SDN main controller.
As shown in fig. 1, a service client sends a service packet to a monitoring platform, and the packet first passes through a second SDN controller.
The second SDN controller reports the received service message to the SDN main controller, and the SDN main controller sends the received service message to each second SDN controller, and parameters (including but not limited to MAC address and IP address of the service client, and some necessary parameters such as equipment ID of the service to be requested) of each service client to be copied, a message sending strategy and the like.
After each second SDN controller receives the original service request packet, the parameters of the service client to be copied, and the packet sending policy, the second SDN controller parses the original service request packet, and performs 1: and N is copied.
According to the embodiment, different message sending strategies can be issued to perform performance test on the monitoring platform according to different service performance test requirements. Each copied message can be immediately sent after being modified so as to achieve the high concurrent service performance test of the monitoring platform; the transmission control can be performed on each copied and modified message according to a certain transmission delay strategy so as to achieve the actual use environment.
The second SDN controller copies the N service packets, which is equivalent to simulating that the N service clients initiate services to the monitoring platform. The SDN main controller realizes that the monitoring service 1: n replication effects, if each second SDN controller can replicate N service packets under the condition of M second SDN controller clusters, what is achieved is 1: (N × M) replication effects.
And the third embodiment is that the monitoring platform sends the service request message to the monitoring equipment for processing.
When receiving a service request message from a monitoring platform to a monitoring device, a first SDN controller reports the received service request message to an SDN main controller, and the SDN main controller issues information of the monitoring device;
the first SDN controller modifies information of the monitoring equipment in the service request message, sends the service request message to the monitoring equipment, receives a service response message of the monitoring equipment, modifies monitoring equipment information of the received service response message into corresponding monitoring equipment information in the service request message, and sends the monitoring equipment information to the monitoring platform.
Preferably, the first SDN controller further performs caching after receiving the service response packet of the monitoring device, and sends the received service response packet of the monitoring device to the SDN host controller for caching.
When receiving a service request message from a monitoring platform to a monitoring device, a first SDN controller firstly checks whether a corresponding service response message exists in a current cache list, if so, copies the corresponding service response message, modifies information of the monitoring device in the service response message into corresponding monitoring device information in the service request message, and sends the monitoring device information to the monitoring platform;
and if the service request message is not reported to the SDN main controller, the SDN main controller checks whether a corresponding service response message exists in a current cache list or not, if so, the cached service response message is sent to the first SDN controller, the first SDN controller copies the corresponding service response message, and the information of the monitoring equipment in the service response message is modified into the corresponding monitoring equipment information in the service request message and sent to the monitoring platform.
After receiving the service message of the service client, the monitoring platform of this embodiment initiates a service request to the monitoring device, and sends a service request message.
In this embodiment, when receiving a service request packet from a monitoring platform to a monitoring device, each first SDN controller first checks whether a corresponding service response packet exists in a current cache list.
If so, copying a corresponding service response message, modifying fields (including but not limited to the MAC address, the IP address, the equipment ID and the like in the response message) related to the monitoring equipment in the response message into corresponding equipment information in the service request message, and sending the corresponding equipment information to the monitoring platform.
And when the checking result is that the service request message is not received, the first SDN controller reports the received service request message to the SDN main controller.
And after receiving the service request message, the SDN main controller checks whether a corresponding service response message exists in the current cache list.
If the SDN main controller detects that a corresponding service response message exists, the cached service response message is sent to the first SDN controller, the first SDN controller copies the corresponding service response message, and modifies fields related to monitoring equipment (including but not limited to MAC addresses, IP addresses, equipment IDs and the like in the response message) in the response message into corresponding equipment information in the service request message, and sends the corresponding equipment information to the monitoring platform.
And if the SDN main controller detects that no corresponding service response message exists, the SDN main controller issues device information (including but not limited to MAC address, IP address and device ID) of real monitoring devices to the first SDN controller.
After receiving the device information, the first SDN controller modifies fields such as an MAC address, an IP address, and a device ID of the service request packet into corresponding values of the real device, and sends the corresponding values to the real monitoring device.
And after receiving the service request message, the real equipment sends a response message to the first SDN controller.
The first SDN controller caches the received response message, copies a corresponding service response message, modifies fields (including but not limited to a MAC address, an IP address, a device ID, and the like in the response message) related to the monitoring device in the response message into corresponding device information in the service request message, and sends the device information to the monitoring platform. And meanwhile, the first SDN controller sends the corresponding message to an SDN main controller for caching.
The operation of the above steps ensures that the whole performance test environment only needs one real monitoring device, and the real monitoring device only needs to establish one path of service to complete the corresponding service operation of all the duplicated devices.
Thereafter, after the monitoring service is established, the monitoring device may send the code stream to the service client.
And fourthly, processing of the monitoring equipment sending code stream. And the first SDN controller receives the code stream sent by the monitoring platform, copies the code stream according to the maintained monitoring service list, and sends the copied code stream to the second SDN controller according to a code stream sending strategy issued by the SDN main controller.
The code stream sent by the monitoring equipment firstly passes through the first SDN server, the first SDN controller reports the received code stream to the SDN main controller, and the SDN main controller issues the received code stream and a sending strategy of the code stream to other first SDN controllers.
According to the service request message and the corresponding service request response received in the third embodiment, the first SDN controller maintains a list of monitoring services corresponding to the monitoring device, inserts corresponding information when a service is newly added, and deletes corresponding information when a service is deleted, where the list is shown in table 1.
Device ID Device MAC Equipment IP Send out a class port IP of flow receiving end Flow-receiving end port
Dev1 MAC1 IP1 PORT1 DST IP1 DST PORT1
Dev2 MAC2 IP2 PORT2 DST IP2 DST PORT2
TABLE 1
And after receiving the code stream, the first SDN controller copies the code stream according to the list of the monitoring service and modifies a source MAC address, an IP address, a port, a destination IP address and a port. And according to a code stream sending strategy issued by the SDN main controller, sending control is carried out on each copied code stream.
It is easy to understand that the first SDN controller and the second SDN controller copy the monitoring device and the service client, and register response to a registration message and response to a service message of the monitoring platform are both sent to a copied MAC address and an IP address, so that copied address lists sent by the first SDN controller and the second SDN controller of the technical solution are sent to the SDN switch, and the SDN switch receives the copied address lists sent by the first SDN controller and the second SDN controller and forwards the received test message.
Specifically, the monitoring platform receives registration messages of different MAC addresses, IP addresses, and device IDs, at this time, the monitoring platform is different monitoring devices and sends registration request messages to the monitoring platform, and thereafter, the monitoring platform responds to each monitoring device with corresponding registration messages.
The MAC address and the IP address of the destination of the response message are copied by the first SDN controller, so that the first SDN controller receives the response message. The first SDN controller maintains a copied monitoring device parameter list (namely a copied address list), the SDN switch generates a forwarding flow table after receiving the copied address list issued by the first SDN controller, and directly forwards a response message of a destination MAC address and a destination IP address in the copied address list to the first SDN controller, so that the MAC and IP addresses of the copied monitoring device can be routed in a network.
Similarly, the monitoring platform receives service messages of different MAC addresses, IP addresses and equipment IDs of services to be requested, at the moment, the monitoring platform is different service clients to send the service messages to the monitoring platform, and then the monitoring platform initiates service request messages to corresponding monitoring equipment. After initiating a service request to the corresponding monitoring device, the monitoring platform receives a response message of the monitoring device. And then the monitoring platform sends a service response message to the service client, wherein the destination MAC address and the destination IP address of the service response message are copied by the second SDN controller, so that the service response message is received by the second SDN controller. Therefore, the second SDN controller maintains a parameter list (i.e., a copied address list) of the copied service client, and the SDN switch generates a forwarding flow table after receiving the copied address list issued by the second SDN controller, and directly forwards a service response packet of a destination MAC address and a destination IP address in the copied address list to the second SDN controller, so that the MAC and the IP address of the copied service client can be routed in the network.
The technical scheme also provides an embodiment of a large-pressure service testing system based on the SDN, which is used for performing performance pressure testing on a monitoring platform, and the large-pressure service testing system based on the SDN comprises the monitoring platform, a monitoring device and/or a service client, an SDN controller and an SDN switch, wherein:
the SDN controller is used for receiving a request message sent by monitoring equipment or a service client, modifying a corresponding field of the request message according to an equipment parameter to be copied, copying the request message of the monitoring equipment or the service client into the request messages of the monitoring equipment or the service client with a preset number, and sending the copied request message to a monitoring platform according to a message sending strategy;
the SDN switch is used for receiving an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwarding the received message.
Correspondingly, the SDN controller in this embodiment is further configured to receive a service request packet sent by the monitoring platform, modify monitoring device information in a service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and send the modified monitoring device information to the monitoring platform.
Correspondingly, the SDN controller is further configured to receive a code stream sent by the monitoring platform, copy the code stream according to the maintained monitoring service list, and send the copied code stream to a corresponding service client according to a code stream sending policy.
In the description of the method, detailed explanation has been already made on a specific implementation manner of each device in the SDN-based high-pressure service testing system of this embodiment, and details are not described here.
The above embodiments are only for illustrating the technical solution of the present invention and not for limiting the same, and those skilled in the art can make various corresponding changes and modifications according to the present invention without departing from the spirit and the essence of the present invention, but these corresponding changes and modifications should fall within the protection scope of the appended claims.

Claims (10)

1. A large-pressure service testing method based on SDN is used for performing performance pressure testing on a monitoring platform, and is characterized in that the monitoring platform and a monitoring device and/or a service client build a testing network, the testing network further comprises an SDN controller and an SDN switch, and the large-pressure service testing method based on SDN comprises the following steps:
the SDN controller receives a request message sent by monitoring equipment or a service client, modifies a corresponding field of the request message according to equipment parameters to be copied, copies the request message of the monitoring equipment or the service client into the request messages of a preset number of monitoring equipment or service clients, and sends the copied request message to a monitoring platform according to a message sending strategy;
and the SDN switch receives an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwards the received message.
2. The SDN-based high-pressure service testing method according to claim 1, further comprising:
and the SDN controller receives a service request message sent by the monitoring platform, modifies monitoring equipment information in a service response message of the monitoring equipment into corresponding monitoring equipment information in the service request message, and sends the monitoring equipment information to the monitoring platform.
3. The SDN-based high-pressure service testing method according to claim 1, further comprising:
and the SDN controller receives the code stream sent by the monitoring platform, copies the code stream according to the maintained monitoring service list, and sends the copied code stream to a corresponding service client according to a code stream sending strategy.
4. The SDN-based high-pressure service testing method according to claim 1, wherein the SDN controller includes an SDN host controller and a first SDN controller connected to the monitoring device, the SDN controller receives a request packet sent by the monitoring device or the service client, modifies a corresponding field of the request packet according to a device parameter to be copied, copies the request packet of the monitoring device or the service client into a preset number of request packets of the monitoring device or the service client, and sends the copied request packet to the monitoring platform according to a packet sending policy, and the method includes:
the method comprises the steps that a first SDN controller receives a registration message sent by monitoring equipment and reports the received registration message to an SDN main controller;
the SDN main controller sends the received registration message, the parameters of each monitoring device to be copied and a message sending strategy to each first SDN controller;
the first SDN controller modifies a corresponding message field according to the parameters of the monitoring equipment to be copied, and copies the message;
and the first SDN controller sends the copied registration message to the monitoring platform according to a message sending strategy issued by the SDN main controller.
5. The SDN-based high-pressure service testing method according to claim 1, wherein the SDN controller includes an SDN host controller and a second SDN controller connected to the service client, and the SDN controller receives a request packet sent by the monitoring device or the service client, modifies a corresponding field of the request packet according to a device parameter to be copied, copies the request packet of the monitoring device or the service client into a preset number of request packets of the monitoring device or the service client, and sends the copied request packet to the monitoring platform according to a packet sending policy, including:
the second SDN controller receives a service message sent by the service client and reports the received service message to the SDN main controller;
the SDN main controller sends the received service messages to each second SDN controller, and parameters and message sending strategies of each service client to be copied;
the second SDN controller modifies the corresponding message field according to the parameters of the service client to be copied, and copies the message;
and the second SDN controller sends the copied service message to the monitoring platform according to a message sending strategy issued by the SDN main controller.
6. The SDN-based high-pressure service testing method according to claim 2, wherein the SDN controller includes an SDN host controller and a first SDN controller connected to the monitoring device, and the SDN controller receives a service request packet sent by the monitoring platform, modifies monitoring device information in a service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and sends the monitoring device information to the monitoring platform, including:
when receiving a service request message from a monitoring platform to a monitoring device, a first SDN controller reports the received service request message to an SDN main controller, and the SDN main controller issues information of the monitoring device;
the first SDN controller modifies information of the monitoring equipment in the service request message, sends the service request message to the monitoring equipment, receives a service response message of the monitoring equipment, modifies monitoring equipment information of the received service response message into corresponding monitoring equipment information in the service request message, and sends the monitoring equipment information to the monitoring platform.
7. The SDN-based high-pressure service testing method according to claim 6, wherein the first SDN controller further performs caching after receiving a service response packet of the monitoring device, and sends the received service response packet of the monitoring device to the SDN host controller for caching, and then the SDN controller receives a service request packet sent by the monitoring platform, modifies monitoring device information in the service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and sends the modified monitoring device information to the monitoring platform, further comprising:
when receiving a service request message from a monitoring platform to a monitoring device, a first SDN controller firstly checks whether a corresponding service response message exists in a current cache list, if so, copies the corresponding service response message, modifies information of the monitoring device in the service response message into corresponding monitoring device information in the service request message, and sends the monitoring device information to the monitoring platform;
if the current cache list does not have the corresponding service response message, reporting a service request message to an SDN main controller, checking whether the current cache list has the corresponding service response message by the SDN main controller, if so, sending the cached service response message to the first SDN controller, copying the corresponding service response message by the first SDN controller, modifying the information of the monitoring equipment in the service response message into the corresponding monitoring equipment information in the service request message, and sending the monitoring equipment information to a monitoring platform.
8. A SDN-based high-pressure service test system for performing performance pressure test on a monitoring platform is characterized by comprising the monitoring platform, a monitoring device and/or a service client, an SDN controller and an SDN switch, wherein:
the SDN controller is used for receiving a request message sent by monitoring equipment or a service client, modifying a corresponding field of the request message according to an equipment parameter to be copied, copying the request message of the monitoring equipment or the service client into the request messages of the monitoring equipment or the service client with a preset number, and sending the copied request message to a monitoring platform according to a message sending strategy;
the SDN switch is used for receiving an address list of the copied monitoring equipment or the service client issued by the SDN controller and forwarding the received message.
9. The SDN-based high-pressure service test system according to claim 8, wherein the SDN controller is further configured to receive a service request packet sent by the monitoring platform, modify monitoring device information in a service response packet of the monitoring device into corresponding monitoring device information in the service request packet, and send the modified monitoring device information to the monitoring platform.
10. The SDN-based high-pressure service testing system according to claim 8, wherein the SDN controller is further configured to receive a code stream sent by the monitoring platform, copy the code stream according to the maintained monitoring service list, and send the copied code stream to a corresponding service client according to a code stream sending policy.
CN201711475793.2A 2017-12-29 2017-12-29 SDN-based high-pressure service testing method and system Active CN109995600B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201711475793.2A CN109995600B (en) 2017-12-29 2017-12-29 SDN-based high-pressure service testing method and system

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201711475793.2A CN109995600B (en) 2017-12-29 2017-12-29 SDN-based high-pressure service testing method and system

Publications (2)

Publication Number Publication Date
CN109995600A CN109995600A (en) 2019-07-09
CN109995600B true CN109995600B (en) 2021-06-01

Family

ID=67109613

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201711475793.2A Active CN109995600B (en) 2017-12-29 2017-12-29 SDN-based high-pressure service testing method and system

Country Status (1)

Country Link
CN (1) CN109995600B (en)

Families Citing this family (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111953559A (en) * 2020-07-15 2020-11-17 浪潮思科网络科技有限公司 SDN (software defined network) concurrency test method and system
CN111970497B (en) * 2020-08-31 2022-06-03 重庆紫光华山智安科技有限公司 Video stream processing method and device, SDN controller and storage medium
CN112134750B (en) * 2020-09-02 2022-06-03 中国信息通信研究院 Network time protocol pressure test method and device
CN112653578B (en) * 2020-12-16 2022-05-31 广州鲁邦通物联网科技股份有限公司 Data simulation method and system of communication bus
CN113037542B (en) * 2021-02-24 2022-12-06 广州市品高软件股份有限公司 Cloud network topology construction method based on software defined network

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
US9660906B2 (en) * 2014-03-11 2017-05-23 Fujitsu Limited Method for acquiring packet, device and recording medium

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103580943A (en) * 2012-08-03 2014-02-12 亿赞普(北京)科技有限公司 Network software online testing method and system
US10601654B2 (en) * 2013-10-21 2020-03-24 Nyansa, Inc. System and method for observing and controlling a programmable network using a remote network manager
CN105915407B (en) * 2016-04-13 2019-07-19 重庆邮电大学 A kind of flow generator virtualization realization system and method based on SDN
CN106936664B (en) * 2017-01-18 2020-04-07 中国电子科技集团公司第五十研究所 Software defined network path performance testing device and method

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102201949A (en) * 2011-05-27 2011-09-28 迈普通信技术股份有限公司 System and method for testing network equipment forwarding performance
US9660906B2 (en) * 2014-03-11 2017-05-23 Fujitsu Limited Method for acquiring packet, device and recording medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
主动测量SDN性能的机制;陈鸣;《通信学报》;20150625;全文 *

Also Published As

Publication number Publication date
CN109995600A (en) 2019-07-09

Similar Documents

Publication Publication Date Title
CN109995600B (en) SDN-based high-pressure service testing method and system
US20140250220A1 (en) Optimizing Handling of Virtual Machine Mobility in Data Center Environments
US9146826B2 (en) Method and apparatus for scaling network simulation
US20140019621A1 (en) Hierarchical system for managing a plurality of virtual machines, method and computer program
CN102546666B (en) The method preventing IGMP from cheating and to attack and device
WO2013097484A1 (en) Method, server and system for balancing loads of virtual machine cluster
US11153269B2 (en) On-node DHCP implementation for virtual machines
CN103974380A (en) Terminal access position keep-alive method and device
CN106101297B (en) A kind of message answer method and device
US20240048484A1 (en) Route updating method and user cluster
CN107124364B (en) The complete Proxy Method of network A RP and system based on software defined network controller
US9800490B2 (en) Testing by simulation using variations of real-time traffic
US20240089172A1 (en) Edge compute environment configuration tool for a communications network
KR20130048094A (en) Node apparatus for contents streaming relay and method using the same
CN109412925B (en) Forwarding table item updating method based on VTEP and VTEP
CN107623757A (en) Entry updating method and apparatus
CN109167762A (en) A kind of IEC104 message checking method and device
CN108667692B (en) Performance test method and system for load balance of distributed cache equipment
Lee et al. High-performance software load balancer for cloud-native architecture
CN101651626A (en) Traffic-forwarding method and device
CN103401954B (en) The implementation method of virtual DHCP
JP6299745B2 (en) COMMUNICATION SYSTEM, CONTROL DEVICE, COMMUNICATION METHOD, AND PROGRAM
CN105338131B (en) The test method and system of a kind of Dynamic Host Configuration Protocol server address tankage
CN110958124B (en) Multicast group management method, device, readable storage medium and computer
CN103546556A (en) Virtual machine on-line migration method in future network XIA

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