CN109995600A - A kind of big pressure service test method and system based on SDN - Google Patents
A kind of big pressure service test method and system based on SDN Download PDFInfo
- Publication number
- CN109995600A CN109995600A CN201711475793.2A CN201711475793A CN109995600A CN 109995600 A CN109995600 A CN 109995600A CN 201711475793 A CN201711475793 A CN 201711475793A CN 109995600 A CN109995600 A CN 109995600A
- Authority
- CN
- China
- Prior art keywords
- sdn
- monitoring device
- service
- message
- request message
- 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.)
- Granted
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/08—Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L43/00—Arrangements for monitoring or testing data switching networks
- H04L43/50—Testing arrangements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N17/00—Diagnosis, testing or measuring for television systems or their details
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04N—PICTORIAL COMMUNICATION, e.g. TELEVISION
- H04N7/00—Television systems
- H04N7/18—Closed-circuit television [CCTV] systems, i.e. systems in which the video signal is not broadcast
Landscapes
- Engineering & Computer Science (AREA)
- Signal Processing (AREA)
- Multimedia (AREA)
- Computer Networks & Wireless Communication (AREA)
- Health & Medical Sciences (AREA)
- Biomedical Technology (AREA)
- General Health & Medical Sciences (AREA)
- Environmental & Geological Engineering (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
The invention discloses a kind of big pressure service test method and system based on SDN, the monitor supervision platform and a monitoring device and/or a service customer end build test network, the test network further includes SDN controller and SDN switch, the request message that SDN controller receives monitoring device or service customer end issues, according to the respective field of device parameter modification request message to be copied, the request message of monitoring device or service customer end is copied as to the monitoring device of preset quantity or the request message of service customer end, the request message after duplication is sent to monitor supervision platform according to message sending strategy;SDN switch receives the monitoring device for the duplication that SDN controller issues or the address list of service customer end, is forwarded to the message received.Present invention only requires the servers that a true monitoring device, a monitor client and Duo Tai are mounted with SDN, have saved hardware cost, while being also convenient for the maintenance and migration of test environment.
Description
Technical field
The invention belongs to system testing technical field more particularly to a kind of big pressure service test method based on SDN and
System.
Background technique
As the scale of monitoring system is grown, the requirement to performance test is higher and higher, the hardware of performance test at this time at
Sheet, maintenance cost, environmental transport and transfer cost are also higher and higher.For example it builds the performances such as the live simultaneously, storage of No. 10000 video cameras and surveys
Test ring border requires 10000 equipment and establishes 10000 monitoring business, this is for building performance detection environment in laboratory
Almost becoming can not.
Monitor supervision platform performance pressures test environment is built at present and needs a large amount of true monitoring device, for example builds 10000
The performance detection environments such as the live simultaneously, storage of road video camera require 10000 equipment and establish 10000 monitoring business.
The environment hardware cost built is huge, networking is complicated, maintenance difficulties are very big and environmental transport and transfer difficulty is big.
The prior art also builds test environment by emulation terminal, receives and parses through emulation terminal by emulation server
Configuration file obtains IP address, the primary flow source mode of system under test (SUT), and manufacturer's information, the end of the terminal for needing to emulate
Hold type, protocol type and emulation terminal IP address, fictionalize the IP address of equipment of corresponding emulation terminal, simulate for into
The emulation terminal of row test, is registered to system under test (SUT), then receives the service request of system under test (SUT), establishes emulation terminal and is tested
Being correspondingly connected with for system, is tested for the property.
However the technical solution needs to configure emulation terminal configuration file, emulation terminal is with virtual ip address and system under test (SUT)
Establish connection.It needs to be specifically defined the configuration file of each emulation terminal, and needs to fictionalize numerous virtual ip address, and
It needs to establish connection with system under test (SUT), operates more complicated.
Summary of the invention
The object of the present invention is to provide a kind of big pressure service test method and system based on SDN, it is only necessary to which one true
Real monitoring device, a monitor client and Duo Tai be mounted with SDN server can fast construction monitor supervision platform performance
Environment is tested, configuration is simple, implements conveniently.
To achieve the goals above, technical solution of the present invention is as follows:
A kind of big pressure service test method based on SDN, for carrying out performance pressure test, the prison to monitor supervision platform
Control platform and a monitoring device and/or a service customer end build test network, and the test network further includes SDN control
Device and SDN switch, the big pressure service test method based on SDN, comprising:
The request message that SDN controller receives monitoring device or service customer end issues, according to device parameter to be copied
The respective field for modifying request message, the monitoring that the request message of monitoring device or service customer end copies as preset quantity is set
Request message after duplication is sent to monitor supervision platform according to message sending strategy by standby or service customer end request message;
SDN switch receives the monitoring device for the duplication that SDN controller issues or the address list of service customer end, docking
The message received is forwarded.
Further, the big pressure service test method based on SDN, further includes:
SDN controller receives the service request message that monitor supervision platform issues, and will supervise in the service response message of monitoring device
Control facility information is revised as in service request message after corresponding monitoring device information, is sent to monitor supervision platform.
Further, the big pressure service test method based on SDN, further includes:
SDN controller receives the code stream that monitor supervision platform issues, and is replicated according to the monitoring business list of maintenance, according to code
It flows sending strategy and the code stream after duplication is sent to corresponding service customer end.
Further, the SDN controller includes SDN master controller, and the first SDN controller of connection monitoring device,
The request message that the SDN controller receives monitoring device or service customer end issues is modified according to device parameter to be copied
The respective field of request message, by the request message of monitoring device or service customer end copy as preset quantity monitoring device or
Request message after duplication is sent to monitor supervision platform according to message sending strategy by the request message of service customer end, comprising:
First SDN controller receives the logon message that monitoring device issues, and the registration received is reported to SDN master controller
Message;
SDN master controller issues the logon message received and each monitoring to be copied to each first SDN controller
The parameter and message sending strategy of equipment;
First SDN controller modifies corresponding message field (MFLD) according to the parameter of monitoring device to be copied, carries out message
Duplication;
First SDN controller is according to the message sending strategy issued according to SDN master controller by the logon message after duplication
It is sent to monitor supervision platform.
Further, the SDN controller includes SDN master controller, and the 2nd SDN control of connection service customer end
Device, the request message that the SDN controller receives monitoring device or service customer end issues, is repaired according to device parameter to be copied
The request message of monitoring device or service customer end is copied as the monitoring device of preset quantity by the respective field for changing request message
Or the request message of service customer end, the request message after duplication is sent to by monitor supervision platform according to message sending strategy, comprising:
2nd SDN controller receives the service message that service customer end issues, and the industry received is reported to SDN master controller
Business message;
SDN master controller issues the service message received and each business to be copied to each 2nd SDN controller
The parameter and message sending strategy of client;
2nd SDN controller modifies corresponding message field (MFLD) according to the parameter of service customer end to be copied, carries out message
Duplication;
2nd SDN controller is according to the message sending strategy issued according to SDN master controller by the service message after duplication
It is sent to monitor supervision platform.
Further, SDN controller includes SDN master controller, and the first SDN controller of connection monitoring device, described
SDN controller receives the service request message that monitor supervision platform issues, and monitoring device in the service response message of monitoring device is believed
Breath is revised as in service request message after corresponding monitoring device information, is sent to monitor supervision platform, comprising:
When first SDN controller receives service request message of the monitor supervision platform to monitoring device, reported to SDN master controller
The service request message received, SDN master controller issue the information of monitoring device;
First SDN controller modifies the information of monitoring device in service request message, sends service request to monitoring device
Message, and the service response message of monitoring device is received, the monitoring device information of received service response message is revised as industry
It is engaged in request message after corresponding monitoring device information, is sent to monitor supervision platform.
Further, the first SDN controller is also cached after the service response message for receiving monitoring device, and
It sends SDN master controller for the service response message of the monitoring device received to cache, then the SDN controller receives prison
The service request message that platform issues is controlled, monitoring device information in the service response message of monitoring device is revised as service request
In message after corresponding monitoring device information, it is sent to monitor supervision platform, further includes:
When first SDN controller receives service request message of the monitor supervision platform to monitoring device, current cache column are first checked
Service response message is modified if there is then replicating corresponding service response message either with or without corresponding service response message in table
The information of middle monitoring device is corresponding monitoring device information in service request message, and is sent to monitor supervision platform;
If also not reporting service request message to SDN master controller, SDN master controller is checked in current cache list
Either with or without corresponding service response message, if there is the service response message of caching is then issued the first SDN controller, first
SDN controller replicates corresponding service response message, and the information for modifying monitoring device in service response message is service request report
Corresponding monitoring device information in text, and it is sent to monitor supervision platform.
The big pressure operational trials system based on SDN that the invention also provides a kind of, for carrying out performance to monitor supervision platform
Pressure test, the big pressure operational trials system based on SDN include monitor supervision platform, a monitoring device and/or an industry
Client of being engaged in and SDN controller and SDN switch, in which:
The SDN controller, for receiving the request message of monitoring device or service customer end sending, according to be copied
Device parameter modifies the respective field of request message, and the request message of monitoring device or service customer end is copied as preset quantity
Monitoring device or service customer end request message, the request message after duplication is sent to by monitoring according to message sending strategy
Platform;
The SDN switch, for receiving the monitoring device for the duplication that SDN controller issues or the address of service customer end
List is forwarded the message received.
Further, the SDN controller is also used to receive the service request message of monitor supervision platform sending, monitoring is set
Monitoring device information is revised as in service request message after corresponding monitoring device information in standby service response message, is sent to
Monitor supervision platform.
Further, the SDN controller is also used to receive the code stream of monitor supervision platform sending, according to the monitoring industry of maintenance
Business list is replicated, and the code stream after duplication is sent to corresponding service customer end according to code stream sending strategy.
A kind of big pressure service test method and system based on SDN proposed by the present invention, by SDN controller to test
Message is replicated to simulate the business that different monitoring device and service customer end are initiated, and by SDN controller come to industry
Business request is forwarded control, duplication forwarding control is carried out to the code stream that monitoring device issues, to realize fast construction prison
The performance detection environment of platform is controlled, configuration is simple.Only need a true monitoring device, a monitor client and Duo Tai installation
The server of SDN, has saved hardware cost, while being also convenient for the maintenance and migration of test environment.
Detailed description of the invention
Fig. 1 is test network structural schematic diagram of the present invention;
Fig. 2 is a kind of big pressure service test method flow chart based on SDN of the present invention.
Specific embodiment
Technical solution of the present invention is described in further details with reference to the accompanying drawings and examples, following embodiment is not constituted
Limitation of the invention.
As shown in Figure 1, the technical program only needs 1 monitoring device, 1 service customer end and several SDN controllers
And SDN switch, the performance test network of monitor supervision platform can be erected together with the various management servers in monitor supervision platform.
In Fig. 1, SDN controller includes a SDN master controller, mono- SDN controller of Duo Tai, bis- SDN controller of Duo Tai.Monitoring is set
It is standby to be connect with the first SDN controller, it is linked into test network by SDN switch;Service customer end and the 2nd SDN controller
Connection, is linked into test network by SDN switch;The monitoring management server of monitor supervision platform connects also by SDN switch
Enter into test network.
Environment is tested for monitor supervision platform performance pressures, needs monitoring device quantity and number of services to be simulated all very
Greatly, the present embodiment Fig. 1 uses more SDN controllers to realize.It is easily understood that SDN main control server, the first SDN are controlled
Device processed, the 2nd SDN controller itself are not had any different, in the case where SDN controller performance is powerful enough, can also use one
SDN controller is realized.In addition, SDN master controller can be separately provided one, it can also be from the first SDN controller, second
One is selected in SDN controller as master controller, which is not described herein again.
As shown in Fig. 2, a kind of embodiment of the technical program, a kind of big pressure service test method based on SDN, packet
It includes:
The request message that SDN controller receives monitoring device or service customer end issues, according to device parameter to be copied
The respective field for modifying request message, the monitoring that the request message of monitoring device or service customer end copies as preset quantity is set
Request message after duplication is sent to monitor supervision platform according to message sending strategy by standby or service customer end request message;
SDN switch receives the monitoring device for the duplication that SDN controller issues or the address list of service customer end, docking
The message received is forwarded.
It is easily understood that further include the interaction between monitor supervision platform and monitoring device in the realization of monitoring business, with
The service message of service customer end is responded, and after establishing the connection of service customer end and monitoring device, is sent live
The realization of code stream progress business.However in test environment, only a portion function can be tested, it can also be to whole
A operation flow is tested.A kind of big pressure service test method based on SDN of the technical program, further includes:
SDN controller receives the service request message that monitor supervision platform issues, and will supervise in the service response message of monitoring device
Control facility information is revised as in service request message after corresponding monitoring device information, is sent to monitor supervision platform.
And SDN controller receives the code stream that monitor supervision platform issues, and is replicated according to the monitoring business list of maintenance,
The code stream after duplication is sent to corresponding service customer end according to code stream sending strategy.
It is described in detail by links during monitoring business, in the following description will respectively individually below
SDN controller is divided into SDN master controller, the first SDN controller, the 2nd SDN controller, is conducive to using more SDN controllers
Realize big pressure, the simulation test of monitoring devices up to ten thousand and/or service customer end.
The processing of embodiment one, the first SDN controller for logon message.
First SDN controller receives the logon message that monitoring device issues, and the registration received is reported to SDN master controller
Message;
SDN master controller issues the logon message received and each monitoring to be copied to each first SDN controller
The parameter and message sending strategy of equipment;
First SDN controller modifies corresponding message field (MFLD) according to the parameter of monitoring device to be copied, carries out message
Duplication;
First SDN controller is according to the message sending strategy issued according to SDN master controller by the logon message after duplication
It is sent to monitor supervision platform.
By taking registration process as an example, monitoring device sends logon message to monitor supervision platform, and logon message first passes through the first SDN control
Device processed.First SDN controller reports the logon message received to SDN master controller, and SDN master controller is to each first SDN
Controller issues parameter and message sending strategy of the logon message received and each monitoring device to be copied etc., to multiple
The parameter of the monitoring device of system includes but is not limited to some call parameters such as MAC Address, IP address, device id etc..
First SDN controller receives original licensed message, the parameter of monitoring device to be copied and message sending strategy
Later, original licensed message is parsed, modifies corresponding message field (MFLD), such as modification registration according to the parameter of monitoring device to be copied
Source MAC, source IP address, device id of message etc. carry out the 1:N duplication of message, obtain source MAC, source IP address, set
Standby ID different logon message, has been equivalent to N number of monitoring device and has had issued logon message.The quantity N of duplication is according to SDN controller
Performance and need the quantity of monitoring device to be tested to determine.
The present embodiment can according to different performance test demands, issue different message sending strategys to monitor supervision platform into
Row test.It is immediately sent after can modifying the message of each duplication, to reach the high concurrent Registration Performance to monitor supervision platform
Test;Transmission control can be carried out to the message after each copy modification according to certain forward delay interval strategy, to reach practical
Use environment.
Through the above steps, the first SDN controller replicates N number of test packet, be equivalent to simulate N number of monitoring device to
Monitor supervision platform initiates registration, and monitor supervision platform carries out registration response, sends response message, and the first SDN controller receives corresponding sound
Answer message.
It realizes through the above steps, under focus control mode, the first SDN controller is not needing any monitoring device
Information state under, SDN master controller is realized pair by controlling the specific field that copies and modifies of each SDN controller message
The 1:N print effect of monitoring device, if every N parts of SDN server reproducible is set in the case where M platform SDN controller cluster
Standby, then that reach is 1:(N*M) print effect.
The processing of embodiment two, the 2nd SDN controller for service message.
2nd SDN controller receives the service message that service customer end issues, and the industry received is reported to SDN master controller
Business message;
SDN master controller issues the service message received and each business to be copied to each 2nd SDN controller
The parameter and message sending strategy of client;
2nd SDN controller modifies corresponding message field (MFLD) according to the parameter of service customer end to be copied, carries out message
Duplication;
2nd SDN controller is according to the message sending strategy issued according to SDN master controller by the service message after duplication
It is sent to monitor supervision platform.
As shown in Figure 1, service customer end sends service message to monitor supervision platform, message first passes through the 2nd SDN controller.
2nd SDN controller reports the service message received to SDN master controller, and SDN master controller is to each second
SDN controller issues parameter (the including but not limited to business of the service message received and each service customer end to be copied
Some call parameters such as MAC Address, IP address and the device id to requested service of client), message sending strategy etc..
Each 2nd SDN controller receives original service request message, the parameter of service customer end to be copied and report
After literary sending strategy, the 2nd SDN controller parses original service request message, issues according to SDN master controller to be copied
Service customer end the corresponding message field (MFLD) of modification, such as modify the source MAC of service request message, source IP address, wait ask
The device id etc. of business is sought, the 1:N duplication of service request message is carried out.
The present embodiment it is flat to monitoring can to issue different message sending strategys according to different service feature testing requirements
Platform is tested for the property.It is immediately sent after can modifying the message of each duplication, to reach the high concurrent to monitor supervision platform
Service feature test;Transmission control can be carried out to the message after each copy modification according to certain forward delay interval strategy, with
Reach actual use environment.
2nd SDN controller replicates N number of service message, is equivalent to and simulates N number of service customer end to monitor supervision platform hair
The business of rising.The 2nd SDN controller is realized under the information state for not needing any monitoring business, SDN master controller passes through control
That makes each 2nd SDN controller message copies and modifies specific field, the 1:N print effect of monitoring business is realized, if in M
In the case where the 2nd SDN controller cluster of platform, every the 2nd N parts of service messages of SDN controller reproducible, then what is reached is 1:
(N*M) print effect.
Embodiment three, monitor supervision platform send the processing of service request message to monitoring device.
When first SDN controller receives service request message of the monitor supervision platform to monitoring device, reported to SDN master controller
The service request message received, SDN master controller issue the information of monitoring device;
First SDN controller modifies the information of monitoring device in service request message, sends service request to monitoring device
Message, and the service response message of monitoring device is received, the monitoring device information of received service response message is revised as industry
It is engaged in request message after corresponding monitoring device information, is sent to monitor supervision platform.
Preferably, the first SDN controller of the present embodiment is also cached after the service response message for receiving monitoring device,
And SDN master controller is sent by the service response message of the monitoring device received and is cached.
When then the first SDN controller receives service request message of the monitor supervision platform to monitoring device, current cache is first checked
Service response report is modified if there is then replicating corresponding service response message either with or without corresponding service response message in list
The information of monitoring device is corresponding monitoring device information in service request message in text, and is sent to monitor supervision platform;
If also not reporting service request message to SDN master controller, SDN master controller is checked in current cache list
Either with or without corresponding service response message, if there is the service response message of caching is then issued the first SDN controller, first
SDN controller replicates corresponding service response message, and the information for modifying monitoring device in service response message is service request report
Corresponding monitoring device information in text, and it is sent to monitor supervision platform.
The present embodiment monitor supervision platform can initiate business to monitoring device and ask after receiving the service message of service customer end
It asks, sends service request message.
When each first SDN controller of the present embodiment receives service request message of the monitor supervision platform to monitoring device, first examine
It looks into current cache list either with or without corresponding service response message.
If so, then replicating corresponding service response message, the relevant field of monitoring device in response message (is wrapped herein
Include but be not limited to the MAC Address in response message, IP address, device id etc.) be modified as, corresponding equipment in service request message
Information, and it is sent to monitor supervision platform.
When the result of inspection is no, the first SDN controller reports the service request report received to SDN master controller
Text.
After SDN master controller receives service request message, check in current cache list either with or without corresponding service response
Message.
If SDN master controller has checked corresponding service response message, the service response message of caching is sent out
To the first SDN controller, the first SDN controller then replicates corresponding service response message, by monitoring device phase in response message
The field (herein including but is not limited to MAC Address, IP address, the device id etc. in response message) of pass is modified as, service request
Corresponding facility information in message, and it is sent to monitor supervision platform.
If SDN master controller checks no corresponding service response message, SDN master controller is controlled to the first SDN
Device processed issues the facility information (including but not limited to MAC Address, IP address, device id) of true monitoring device.
After first SDN controller receives facility information, by words such as the MAC Address of service request message, IP address, device ids
Section is modified as the analog value of real equipment, and issues true monitoring device.
After real equipment receives service request message, response message is issued into the first SDN controller.
The response message that first SDN controller cache receives then replicates corresponding service response message, by response message
The relevant field of middle monitoring device (herein including but is not limited to MAC Address, IP address, the device id etc. in response message) modification
At, corresponding facility information in service request message, and it is sent to monitor supervision platform.The first SDN controller is by corresponding message simultaneously
SDN master controller is issued to be cached.
The operation of the present embodiment through the above steps ensure that entire performance detection environment only needs a true monitoring
Equipment, and true monitoring device only needs to establish the corresponding service that business can complete all copying equipments all the way and operates.
Hereafter, after monitoring business, which is established, to be completed, monitoring device can send code stream to service customer end.
Example IV, monitoring device send the processing of code stream.First SDN controller receives the code stream that monitor supervision platform issues,
It is replicated according to the monitoring business list of maintenance, the code stream sending strategy issued according to SDN master controller is by the code after duplication
Stream is sent to the 2nd SDN controller.
Monitoring device transmitted stream first passes through the first SDN server, and the first SDN controller is reported to SDN master controller
The code stream received, SDN master controller issue the transmission of the code stream and code stream that receive to other each first SDN controllers
Strategy.
The service request message received according to embodiment three and the response of corresponding service request, the first SDN controller dimension
The list for protecting the corresponding monitoring business of monitoring device is inserted into corresponding information when Added Business, the deletion pair when the business of deletion
Information is answered, list is as shown in table 1.
Device id | Equipment MAC | Device IP | Send out flow port | Receive stream end IP | Receive stream end port |
Dev1 | MAC1 | IP1 | PORT1 | DST IP1 | DST PORT1 |
Dev2 | MAC2 | IP2 | PORT2 | DST IP2 | DST PORT2 |
Table 1
After first SDN controller receives code stream, according to the list of monitoring business replicate code stream and modify source MAC,
IP address, port and purpose IP address and port.The code stream sending strategy issued according to SDN master controller, to each duplication
Code stream carry out transmission control.
It is easily understood that the first SDN controller, the 2nd SDN controller carry out monitoring device and service customer end
Duplication, the response for monitor supervision platform to the registration response of logon message and to service message, is all destined for the MAC of duplication
Address and IP address, therefore the address column of duplication that the first SDN controller, the 2nd SDN controller of the technical program also issue
For table to SDN switch, SDN switch receives the address list of the first SDN controller, the duplication that the 2nd SDN controller issues, right
The test packet received is forwarded.
Specifically, what monitor supervision platform received is different the logon message of MAC Address, IP address, device id, at this point for
Monitor supervision platform is just different monitoring device and is sent to it registration request message, and hereafter monitor supervision platform is responded to each monitoring device
Corresponding registration message.
Response message target MAC (Media Access Control) address, purpose IP address are the duplications of the first SDN controller, therefore receive the response report
Text is also that the first SDN controller receives.Monitoring device parameters list (the address replicated of first SDN controller maintenance duplication
List), after SDN switch receives the address list for the duplication that the first SDN controller issues, forwarding flow table is generated, by purpose MAC
The response message of address, purpose IP address in the address list of duplication, is directly forwarded to the first SDN controller, makes duplication
The MAC and IP address of monitoring device can be routed in a network.
Likewise, monitor supervision platform receive be different MAC Address, IP address, to requested service device id business
Message is just different service customer end at this point for monitor supervision platform and is sent to it service message, and hereafter monitor supervision platform is to corresponding
Monitoring device initiating business request message.Monitor supervision platform will receive monitoring device to after corresponding monitoring device initiating business request
Response message.Then monitor supervision platform to service customer end send service response message, service response message target MAC (Media Access Control) address,
Purpose IP address is the duplication of the 2nd SDN controller, therefore receiving the service response message is also that the 2nd SDN controller receives.
Therefore, the parameter list (address list replicated) of the service customer end of the 2nd SDN controller maintenance duplication, SDN switch
After the address list for receiving the duplication that the 2nd SDN controller issues, forwarding flow table is generated, by target MAC (Media Access Control) address, purpose IP address
Service response message in the address list of duplication, is directly forwarded to the 2nd SDN controller, makes the service customer end of duplication
MAC and IP address can be routed in a network.
The technical program gives a kind of embodiment of big pressure operational trials system based on SDN, for monitoring
Platform carries out performance pressure test, and the big pressure operational trials system based on SDN includes monitor supervision platform, a monitoring device
And/or a service customer end and SDN controller and SDN switch, in which:
The SDN controller, for receiving the request message of monitoring device or service customer end sending, according to be copied
Device parameter modifies the respective field of request message, and the request message of monitoring device or service customer end is copied as preset quantity
Monitoring device or service customer end request message, the request message after duplication is sent to by monitoring according to message sending strategy
Platform;
The SDN switch, for receiving the monitoring device for the duplication that SDN controller issues or the address of service customer end
List is forwarded the message received.
Accordingly, SDN controller described in the present embodiment is also used to receive the service request message of monitor supervision platform sending, will
Monitoring device information is revised as in service request message after corresponding monitoring device information in the service response message of monitoring device,
It is sent to monitor supervision platform.
Accordingly, the SDN controller is also used to receive the code stream of monitor supervision platform sending, according to the monitoring business of maintenance
List is replicated, and the code stream after duplication is sent to corresponding service customer end according to code stream sending strategy.
About the specific implementation of each equipment in a kind of big pressure operational trials system based on SDN of the present embodiment,
In the description of the above method, detailed elaboration has been carried out, which is not described herein again.
The above embodiments are merely illustrative of the technical solutions of the present invention rather than is limited, without departing substantially from essence of the invention
In the case where mind and its essence, those skilled in the art make various corresponding changes and change in accordance with the present invention
Shape, but these corresponding changes and modifications all should fall within the scope of protection of the appended claims of the present invention.
Claims (10)
1. a kind of big pressure service test method based on SDN, for carrying out performance pressure test to monitor supervision platform, feature exists
In the monitor supervision platform and a monitoring device and/or a service customer end build test network, and the test network also wraps
Include SDN controller and SDN switch, the big pressure service test method based on SDN, comprising:
The request message that SDN controller receives monitoring device or service customer end issues is modified according to device parameter to be copied
The respective field of request message, by the request message of monitoring device or service customer end copy as preset quantity monitoring device or
Request message after duplication is sent to monitor supervision platform according to message sending strategy by the request message of service customer end;
SDN switch receives the address list of the monitoring device of duplication that SDN controller issues or service customer end, to receiving
Message be forwarded.
2. the big pressure service test method as shown in claim 1 based on SDN, which is characterized in that described based on the big of SDN
Pressure service test method, further includes:
SDN controller receives the service request message that monitor supervision platform issues, and sets monitoring in the service response message of monitoring device
Standby information is revised as in service request message after corresponding monitoring device information, is sent to monitor supervision platform.
3. the big pressure service test method as shown in claim 1 based on SDN, which is characterized in that described based on the big of SDN
Pressure service test method, further includes:
SDN controller receives the code stream that monitor supervision platform issues, and is replicated according to the monitoring business list of maintenance, is sent out according to code stream
Send strategy that the code stream after duplication is sent to corresponding service customer end.
4. the big pressure service test method as shown in claim 1 based on SDN, which is characterized in that the SDN controller packet
SDN master controller, and the first SDN controller of connection monitoring device are included, the SDN controller receives monitoring device or business visitor
The request message that family end issues, according to the respective field of device parameter modification request message to be copied, by monitoring device or industry
The request message of business client copies as the monitoring device of preset quantity or the request message of service customer end, is sent according to message
Request message after duplication is sent to monitor supervision platform by strategy, comprising:
First SDN controller receives the logon message that monitoring device issues, and the registration report received is reported to SDN master controller
Text;
SDN master controller issues the logon message received and each monitoring device to be copied to each first SDN controller
Parameter and message sending strategy;
First SDN controller modifies corresponding message field (MFLD) according to the parameter of monitoring device to be copied, carries out the duplication of message;
First SDN controller sends the logon message after duplication according to the message sending strategy issued according to SDN master controller
To monitor supervision platform.
5. the big pressure service test method as shown in claim 1 based on SDN, which is characterized in that the SDN controller packet
SDN master controller is included, and the 2nd SDN controller of connection service customer end, the SDN controller receive monitoring device or business
The request message that client issues, according to the respective field of device parameter modification request message to be copied, by monitoring device or
The request message of service customer end copies as the monitoring device of preset quantity or the request message of service customer end, is sent out according to message
Send strategy that the request message after duplication is sent to monitor supervision platform, comprising:
2nd SDN controller receives the service message that service customer end issues, and the business report received is reported to SDN master controller
Text;
SDN master controller issues the service message received and each business client to be copied to each 2nd SDN controller
The parameter and message sending strategy at end;
2nd SDN controller modifies corresponding message field (MFLD) according to the parameter of service customer end to be copied, carries out answering for message
System;
2nd SDN controller sends the service message after duplication according to the message sending strategy issued according to SDN master controller
To monitor supervision platform.
6. the big pressure service test method as shown in claim 2 based on SDN, which is characterized in that SDN controller includes
SDN master controller, and the first SDN controller of connection monitoring device, the SDN controller receive the business that monitor supervision platform issues
Monitoring device information in the service response message of monitoring device is revised as corresponding monitoring in service request message by request message
After facility information, it is sent to monitor supervision platform, comprising:
When first SDN controller receives service request message of the monitor supervision platform to monitoring device, reports and receive to SDN master controller
Service request message, SDN master controller issues the information of monitoring device;
First SDN controller modifies the information of monitoring device in service request message, sends service request message to monitoring device,
And the service response message of monitoring device is received, the monitoring device information of received service response message is revised as service request
In message after corresponding monitoring device information, it is sent to monitor supervision platform.
7. the big pressure service test method as shown in claim 6 based on SDN, which is characterized in that the first SDN control
Device is also cached after the service response message for receiving monitoring device, and the service response message of the monitoring device received is sent out
It is sent to SDN master controller to be cached, then the SDN controller receives the service request message that monitor supervision platform issues, and will monitor
Monitoring device information is revised as in service request message after corresponding monitoring device information in the service response message of equipment, is sent
To monitor supervision platform, further includes:
When first SDN controller receives service request message of the monitor supervision platform to monitoring device, first check in current cache list
It modifies and is supervised in service response message if there is then replicating corresponding service response message either with or without corresponding service response message
The information for controlling equipment is corresponding monitoring device information in service request message, and is sent to monitor supervision platform;
If also not reporting service request message to SDN master controller, SDN master controller checks to be had not in current cache list
There is corresponding service response message, if there is the service response message of caching is then issued the first SDN controller, the first SDN control
Device processed replicates corresponding service response message, and it is right in service request message for modifying the information of monitoring device in service response message
The monitoring device information answered, and it is sent to monitor supervision platform.
8. a kind of big pressure operational trials system based on SDN, for carrying out performance pressure test to monitor supervision platform, feature exists
In the big pressure operational trials system based on SDN includes monitor supervision platform, a monitoring device and/or a business client
End and SDN controller and SDN switch, in which:
The SDN controller, for receiving the request message of monitoring device or service customer end sending, according to equipment to be copied
Parameter modifies the respective field of request message, and the request message of monitoring device or service customer end is copied as to the prison of preset quantity
Request message after duplication is sent to monitoring according to message sending strategy and put down by the request message for controlling equipment or service customer end
Platform;
The SDN switch, for receiving the monitoring device for the duplication that SDN controller issues or the address column of service customer end
Table is forwarded the message received.
9. the big pressure operational trials system as shown in claim 8 based on SDN, which is characterized in that the SDN controller,
It is also used to receive the service request message of monitor supervision platform sending, monitoring device information in the service response message of monitoring device is repaired
It is changed in service request message after corresponding monitoring device information, is sent to monitor supervision platform.
10. the big pressure operational trials system as shown in claim 8 based on SDN, which is characterized in that the SDN controller,
It is also used to receive the code stream of monitor supervision platform sending, is replicated according to the monitoring business list of maintenance, according to code stream sending strategy
Code stream after duplication is sent to corresponding service customer end.
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 true CN109995600A (en) | 2019-07-09 |
CN109995600B 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) |
Cited By (5)
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 |
CN111970497A (en) * | 2020-08-31 | 2020-11-20 | 重庆紫光华山智安科技有限公司 | Video stream processing method and device, SDN controller and storage medium |
CN112134750A (en) * | 2020-09-02 | 2020-12-25 | 中国信息通信研究院 | Network time protocol pressure test method and device |
CN112653578A (en) * | 2020-12-16 | 2021-04-13 | 广州鲁邦通物联网科技有限公司 | Data simulation method and system of communication bus |
CN113037542A (en) * | 2021-02-24 | 2021-06-25 | 广州市品高软件股份有限公司 | Cloud network topology construction method based on software defined network |
Citations (6)
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 |
CN103580943A (en) * | 2012-08-03 | 2014-02-12 | 亿赞普(北京)科技有限公司 | Network software online testing method and system |
US20150142936A1 (en) * | 2013-10-21 | 2015-05-21 | Nyansa, Inc. | System and method for observing and controlling a programmable network using time varying data collection |
CN105915407A (en) * | 2016-04-13 | 2016-08-31 | 重庆邮电大学 | Flow generator virtualization realization system and flow generator virtualization realization method based on SDN |
US9660906B2 (en) * | 2014-03-11 | 2017-05-23 | Fujitsu Limited | Method for acquiring packet, device and recording medium |
CN106936664A (en) * | 2017-01-18 | 2017-07-07 | 中国电子科技集团公司第五十研究所 | Software defined network path performance test apparatus and method |
-
2017
- 2017-12-29 CN CN201711475793.2A patent/CN109995600B/en active Active
Patent Citations (6)
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 |
CN103580943A (en) * | 2012-08-03 | 2014-02-12 | 亿赞普(北京)科技有限公司 | Network software online testing method and system |
US20150142936A1 (en) * | 2013-10-21 | 2015-05-21 | Nyansa, Inc. | System and method for observing and controlling a programmable network using time varying data collection |
US9660906B2 (en) * | 2014-03-11 | 2017-05-23 | Fujitsu Limited | Method for acquiring packet, device and recording medium |
CN105915407A (en) * | 2016-04-13 | 2016-08-31 | 重庆邮电大学 | Flow generator virtualization realization system and flow generator virtualization realization method based on SDN |
CN106936664A (en) * | 2017-01-18 | 2017-07-07 | 中国电子科技集团公司第五十研究所 | Software defined network path performance test apparatus and method |
Non-Patent Citations (1)
Title |
---|
陈鸣: "主动测量SDN性能的机制", 《通信学报》 * |
Cited By (7)
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 |
CN111970497A (en) * | 2020-08-31 | 2020-11-20 | 重庆紫光华山智安科技有限公司 | Video stream processing method and device, SDN controller and storage medium |
CN111970497B (en) * | 2020-08-31 | 2022-06-03 | 重庆紫光华山智安科技有限公司 | Video stream processing method and device, SDN controller and storage medium |
CN112134750A (en) * | 2020-09-02 | 2020-12-25 | 中国信息通信研究院 | Network time protocol pressure test method and device |
CN112134750B (en) * | 2020-09-02 | 2022-06-03 | 中国信息通信研究院 | Network time protocol pressure test method and device |
CN112653578A (en) * | 2020-12-16 | 2021-04-13 | 广州鲁邦通物联网科技有限公司 | Data simulation method and system of communication bus |
CN113037542A (en) * | 2021-02-24 | 2021-06-25 | 广州市品高软件股份有限公司 | Cloud network topology construction method based on software defined network |
Also Published As
Publication number | Publication date |
---|---|
CN109995600B (en) | 2021-06-01 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109995600A (en) | A kind of big pressure service test method and system based on SDN | |
CN109802852B (en) | Method and system for constructing network simulation topology applied to network target range | |
CN104579822A (en) | Automatic performance test system and method of mobile application based on Http protocol | |
CN105721239A (en) | Game test method, device and game system | |
CN106302027A (en) | A kind of SDN controller performance tester and method of testing | |
CN113489603B (en) | Interactive background flow generation method and system in network target range | |
CN102355688A (en) | Equipment testing system and method | |
CN114422010B (en) | Protocol testing method of satellite communication simulation platform based on network virtualization | |
CN111522727A (en) | Simulation object test method, device and system | |
CN109981733A (en) | Control method, server and the computer readable storage medium of intelligent terminal | |
CN110677829A (en) | LTE-V2X test system and test method for long term evolution vehicle-to-everything | |
CN115914042A (en) | Methods, systems, and computer readable media for network traffic generation using machine learning | |
CN113438057A (en) | Data packet copying method, system and equipment based on SD-WAN cloud network fusion technology | |
CN103684925A (en) | Performance test method based on simulation terminal | |
CN101651626A (en) | Traffic-forwarding method and device | |
CN111949914A (en) | Remote FPGA (field programmable Gate array) experimental system and method based on Web end and combined with MOOC (field programmable Gate array) platform | |
CN105117344A (en) | Interface integration test method and system based on PB | |
CN114040408A (en) | Shooting range system based on 4G mobile network simulation environment | |
JP2012195699A (en) | Verification device, verification method, and verification program | |
CN110071918A (en) | A kind of data communications method and device based on mixed cloud | |
CN105703946A (en) | Method oriented to QualNet for correcting simulated scene node information regularly | |
CN111147285B (en) | Cloud security product unified management method | |
CN114071467A (en) | Shooting range system based on 4G mobile network simulation environment | |
CN109525449B (en) | User bearing capacity test system and test method of video server | |
CN110096236A (en) | A kind of kvm system USB flash disk remote on-hook switching 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 |