CN107147439B - A kind of software definition optical-fiber network Performance Test System and method - Google Patents
A kind of software definition optical-fiber network Performance Test System and method Download PDFInfo
- Publication number
- CN107147439B CN107147439B CN201710274377.XA CN201710274377A CN107147439B CN 107147439 B CN107147439 B CN 107147439B CN 201710274377 A CN201710274377 A CN 201710274377A CN 107147439 B CN107147439 B CN 107147439B
- Authority
- CN
- China
- Prior art keywords
- controller
- domain
- test
- test controller
- service flow
- 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
Links
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/077—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
- H04B10/0773—Network aspects, e.g. central monitoring of transmission parameters
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04B—TRANSMISSION
- H04B10/00—Transmission systems employing electromagnetic waves other than radio-waves, e.g. infrared, visible or ultraviolet light, or employing corpuscular radiation, e.g. quantum communication
- H04B10/07—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems
- H04B10/075—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal
- H04B10/077—Arrangements for monitoring or testing transmission systems; Arrangements for fault measurement of transmission systems using an in-service signal using a supervisory or additional signal
Landscapes
- Physics & Mathematics (AREA)
- Electromagnetism (AREA)
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Data Exchanges In Wide-Area Networks (AREA)
Abstract
本申请实施例提供一种软件定义光网络性能测试系统和方法,解决现有技术测试方案不能验证长期运行指标的问题,所述软件定义光网络性能测试系统包括:测试控制器、仪表控制代理、数据仪表。本发明实施例还包含一种软件定义光网络性能测试方法,用于本申请任意一项实施例所述软件定义光网络性能测试系统,可以发起单条业务的连接建立和删除,也可以发起多条业务的连接建立和删除。本发明可以用于对控制器长期运行过程中的稳定性、可靠性这一指标进行验证。
The embodiments of the present application provide a software-defined optical network performance testing system and method, which solves the problem that the existing technical testing solutions cannot verify long-term operation indicators. The software-defined optical network performance testing system includes: a test controller, an instrument control agent, data meter. The embodiments of the present invention also include a software-defined optical network performance testing method, which is used in the software-defined optical network performance testing system described in any one of the embodiments of the present application, which can initiate connection establishment and deletion of a single service, or initiate multiple service connections. Connection establishment and deletion of services. The invention can be used to verify the indicators of stability and reliability during long-term operation of the controller.
Description
技术领域technical field
本申请涉及光通信技术领域,尤其涉及一种软件定义光网络性能测试的系统和性能测试方法。The present application relates to the technical field of optical communication, and in particular, to a system and a performance testing method for software-defined optical network performance testing.
背景技术Background technique
软件定义光网络(SDON)将SDN的概念应用与光网络,构建面向业务的新一代光网络体系架构。通过SDON技术可以通过标准的南向接口屏蔽底层物理转发设备的差异,通过集中式的控制器实现资源的统一调度和抽象虚拟化,并通过灵活开放的控制器北向接口提供上层业务按需进行网络配置并调度网络资源。由此可以看出,集中式的控制器成为其关键的控制组件,其网络可靠性和性能需要在网络应用过程中得到充分验证。通过定义控制器相关性能指标,对软件定义光网络进行测试评估,可以更快推动SDON技术在现网中得到应用部署。Software Defined Optical Network (SDON) applies the concept of SDN to optical networks to build a new generation of service-oriented optical network architecture. Through the SDON technology, the differences of the underlying physical forwarding devices can be shielded through the standard southbound interface, the unified scheduling and abstract virtualization of resources can be realized through the centralized controller, and the upper-layer service can be provided on-demand through the flexible and open northbound interface of the controller. Configure and schedule network resources. It can be seen from this that the centralized controller becomes its key control component, and its network reliability and performance need to be fully verified in the network application process. By defining the performance indicators related to the controller and testing and evaluating the software-defined optical network, the application and deployment of SDON technology in the existing network can be promoted more quickly.
现有技术的缺点是,由于多域协同控制器和测试控制器之间的消息交互流程不能准确反映底层网络的业务是否已经创建成功。对于业务是否创建成功,需要手工操作仪表发送流量验证。另外,对于控制器长期运行过程中的稳定性、可靠性这一指标,以及长期运行过程中连接创建成功率、失败率这些指标,当前的测试方法并不能进行验证。The disadvantage of the prior art is that the message exchange process between the multi-domain cooperative controller and the test controller cannot accurately reflect whether the service of the underlying network has been successfully created. Whether the service is successfully created, you need to manually operate the instrument to send traffic to verify. In addition, the current test methods cannot verify the indicators of stability and reliability during long-term operation of the controller, as well as the success rate and failure rate of connection creation during long-term operation.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供一种软件定义光网络性能测试系统和方法,解决现有技术测试方案不能验证长期运行指标的问题,提高性能测试的效率和可靠性。The embodiments of the present application provide a software-defined optical network performance testing system and method, which solves the problem that the existing technical testing solutions cannot verify long-term operation indicators, and improves the efficiency and reliability of performance testing.
本发明提出一种软件定义光网络性能测试系统,所述软件定义光网络包含多域协同控制器、多个域控制器,所述多域协同控制器通过控制器层间接口与每一个域控制器相连,每一个域控制器通过南向接口分别与一个光传送网域或分组光传送网域相连,所述软件定义光网络性能测试系统包括:测试控制器、仪表控制代理、数据仪表。The present invention provides a software-defined optical network performance testing system. The software-defined optical network includes a multi-domain cooperative controller and a plurality of domain controllers. The multi-domain cooperative controller communicates with each domain controller through an interface between controller layers. Each domain controller is connected to an optical transport network domain or a packet optical transport network domain respectively through a southbound interface. The software-defined optical network performance test system includes: a test controller, an instrument control agent, and a data instrument.
所述测试控制器,用于向所述多域协同控制器发起连接建立请求、接收连接创建成功消息;向所述多域协同控制器发起连接删除请求、接收连接删除成功消息;向所述仪表控制代理发送业务流发起、业务流终止请求;从所述仪表控制代理接收业务停止发送的通知。The test controller is used to initiate a connection establishment request to the multi-domain cooperative controller and receive a connection establishment success message; initiate a connection deletion request to the multi-domain cooperative controller and receive a connection deletion success message; send a connection deletion success message to the meter The control agent sends service flow initiation and service flow termination requests; and receives a notification of service stop sending from the instrument control agent.
所述仪表控制代理,用于接收所述测试控制器的业务流发起、业务流终止请求,远程控制数据仪表发出、终止业务流量。The instrument control agent is used to receive the service flow initiation and service flow termination requests of the test controller, and to remotely control the data instrument to send out and terminate service flow.
所述数据仪表与至少一个所述光传送网域或分组光传送网域相连,用于接收所述仪表控制代理的指令,向所述光传送网域或分组光传送网域发出业务流量或终止业务流量。The data meter is connected to at least one of the optical transport network domain or the packet optical transport network domain, and is used for receiving the instruction of the instrument control agent, and sending out service flow or termination to the optical transport network domain or the packet optical transport network domain business flow.
优选地,所述软件定义光网络性能测试系统中,所述测试控制器和所述仪表控制代理通过REST API接口相连。Preferably, in the software-defined optical network performance test system, the test controller and the instrument control agent are connected through a REST API interface.
优选地,所述软件定义光网络形成测试系统中,所述仪表控制代理向所述数据仪表发出的指令包含TELNET、CLI、HTTP至少一种。Preferably, in the software-defined optical network formation test system, the instruction sent by the meter control agent to the data meter includes at least one of TELNET, CLI, and HTTP.
本发明实施例还包含一种软件定义光网络性能测试方法,用于本申请任意一项实施例所述软件定义光网络性能测试系统,包含以下步骤:The embodiment of the present invention further includes a software-defined optical network performance testing method, which is used in the software-defined optical network performance testing system described in any one of the embodiments of the present application, including the following steps:
测试控制器在T1时刻向多域协同控制器发起连接创建请求;The test controller initiates a connection creation request to the multi - domain collaborative controller at time T1;
测试控制器在T2时刻接收到来自多域协同控制器反馈的连接创建成功消息;The test controller receives a connection establishment success message fed back from the multi - domain cooperative controller at time T2;
测试控制器等待时间T后,向仪表控制代理发送业务流发起、业务流终止请求,控制仪表发起业务流和终止业务流,该业务流持续的时间为T’;After the test controller waits for the time T, it sends a service flow initiation and service flow termination request to the instrument control agent, and the control instrument initiates and terminates the service flow, and the service flow lasts for T';
测试控制器在T3时刻接收到来自仪表控制代理返回的业务停止发送的通知,向多域控制器发起连接删除请求; At time T3, the test controller receives the notification of service stop sending returned from the instrument control agent, and initiates a connection deletion request to the multi-domain controller;
测试控制器在T4时刻接收到来自多域控制器的连接删除成功消息。The test controller receives a connection deletion success message from the multi - domain controller at time T4.
进一步地,所述软件定义光网络性能测试方法,还包含以下步骤,Further, the software-defined optical network performance testing method also includes the following steps:
控制器等待时间T”后,再次执行上述步骤。After the controller waits for the time T", the above steps are performed again.
作为本申请软件定义光网络性能测试方法进一步优化的实施例,所述测试控制器连续多次向所述多域协同控制器发起连接创建请求、接收连接创建成功消息;所述测试控制器向所述仪表控制代理连续发出多条业务流发起请求、业务流删除请求;所述测试控制器连续多次向所述多域协同控制器发起连接删除请求、接收连接删除成功消息。As a further optimized embodiment of the software-defined optical network performance test method of the present application, the test controller initiates a connection creation request to the multi-domain cooperative controller several times in a row, and receives a connection creation success message; the test controller sends a connection creation success message to all The instrument control agent continuously sends out a plurality of service flow initiation requests and service flow deletion requests; the test controller continuously initiates connection deletion requests to the multi-domain collaborative controller for many times, and receives a connection deletion success message.
优选地,本申请实施例所述软件定义光网络性能测试方法中,T=T”=1.5×Z;Z=Y-(T2’-T1’)-(S-X);其中,Preferably, in the software-defined optical network performance testing method described in the embodiment of the present application, T=T"=1.5×Z; Z=Y-(T 2 '-T 1 ')-(SX); wherein,
T1’:该时刻测试控制器向协同控制器发出连接创建请求消息;T 1 ': At this moment, the test controller sends a connection creation request message to the collaborative controller;
T2’:该时刻测试控制器接收到协同控制器的连接创建成功消息;T 2 ': At this moment, the test controller receives the connection creation success message of the collaborative controller;
T4’:在T1’时刻之前,测试控制器接收到协同控制器的连接删除成功消息; T4 ': before time T1', the test controller receives the successful message of connection deletion of the cooperative controller;
S:从T4’到T1’,为测试控制器等待时长;S: from T 4 ' to T 1 ', the waiting time for the test controller;
X:T4’与业务中断之间的延迟时间;X: delay time between T 4 ' and service interruption;
Y:数据仪表持续发出业务流条件下,仪表监测获取的业务中断持续时间;Y: The service interruption duration obtained by the instrument monitoring under the condition that the data instrument continuously sends out the business flow;
Z:在T2’时刻与业务恢复之间的延迟时间。Z : Delay time between time T2' and service recovery.
进一步优选地,所述软件定义光网络性能测试方法,T’=3T。Further preferably, in the software-defined optical network performance testing method, T'=3T.
在本申请所述软件定义光网络性能测试方法的实施例中,为了简化计算Z,进一步包含以下步骤:逐渐减小S值,得到业务创建不成功时,得到S=X。In the embodiment of the software-defined optical network performance testing method described in the present application, in order to simplify the calculation of Z, the following steps are further included: gradually reduce the value of S, and obtain S=X when the service creation is unsuccessful.
本申请实施例采用的上述至少一个技术方案能够达到以下有益效果:本发明通过将测试控制器和仪表进行联动,实现自动的创建业务、仪表发流验证业务是否成功、删除业务这一流程,通过重复该流程,可以对控制器长期运行过程中的稳定性、可靠性这一指标进行验证,有利于比较分析长期运行过程中业务创建成功率、失败率,对不同控制器系统的运行稳定性和可靠性进行综合的评判。The above-mentioned at least one technical solution adopted in the embodiment of the present application can achieve the following beneficial effects: the present invention realizes the process of automatically creating a business, sending a flow of the instrument to verify whether the business is successful, and deleting the business by linking the test controller and the instrument. Repeating this process can verify the stability and reliability of the controller during long-term operation, which is conducive to comparative analysis of the success rate and failure rate of business creation during long-term operation, and the operational stability and reliability of different controller systems. Comprehensive evaluation of reliability.
附图说明Description of drawings
此处所说明的附图用来提供对本申请的进一步理解,构成本申请的一部分,本申请的示意性实施例及其说明用于解释本申请,并不构成对本申请的不当限定。在附图中:The drawings described herein are used to provide further understanding of the present application and constitute a part of the present application. The schematic embodiments and descriptions of the present application are used to explain the present application and do not constitute an improper limitation of the present application. In the attached image:
图1为现有技术软件定义光网络测试方案示意图;1 is a schematic diagram of a software-defined optical network test solution in the prior art;
图2为本发明软件定义光网络性能测试系统实施例示意图;2 is a schematic diagram of an embodiment of a software-defined optical network performance testing system according to the present invention;
图3为本发明软件定义光网络性能测试方法单业务实施例示意图;3 is a schematic diagram of a single service embodiment of a software-defined optical network performance testing method according to the present invention;
图4为本发明软件定义光网络性能测试方法多业务实施例示意图;4 is a schematic diagram of a multi-service embodiment of a software-defined optical network performance testing method according to the present invention;
图5为性能测试等待时间取值方法示意图。FIG. 5 is a schematic diagram of a method for taking a value of a performance test waiting time.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合本申请具体实施例及相应的附图对本申请技术方案进行清楚、完整地描述。显然,所描述的实施例仅是本申请一部分实施例,而不是全部的实施例。基于本申请中的实施例,本领域普通技术人员在没有做出创造性劳动前提下所获得的所有其他实施例,都属于本申请保护的范围。In order to make the objectives, technical solutions and advantages of the present application clearer, the technical solutions of the present application will be clearly and completely described below with reference to the specific embodiments of the present application and the corresponding drawings. Obviously, the described embodiments are only a part of the embodiments of the present application, but not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those of ordinary skill in the art without creative efforts shall fall within the protection scope of the present application.
以下结合附图,详细说明本申请各实施例提供的技术方案。The technical solutions provided by the embodiments of the present application will be described in detail below with reference to the accompanying drawings.
图1为现有技术软件定义光网络测试方案示意图;目前对于验证SDON业务创建的方案如图1所示。测试控制器通过restful API北向接口向多域控制器发送业务创建请求,多域协同控制器向测试控制器返回restful的200ok消息,完成和测试控制器的业务交互流程。FIG. 1 is a schematic diagram of a software-defined optical network test solution in the prior art; the current solution for verifying SDON service creation is shown in FIG. 1 . The test controller sends a service creation request to the multi-domain controller through the northbound interface of the restful API, and the multi-domain collaborative controller returns a restful 200ok message to the test controller to complete the business interaction process with the test controller.
测试人员通过发起仪表业务流量,验证底层网络的业务是否创建成功。The tester verifies whether the service of the underlying network is successfully created by initiating instrument service traffic.
目前ONF、IETF等标准化组织对控制器南向接口的测试指标和测试方法开展研究,相应的测试指标已经形成了工作组草案。At present, ONF, IETF and other standardization organizations are conducting research on the test indicators and test methods of the controller's southbound interface, and the corresponding test indicators have formed a working group draft.
但是,现有技术中,由于多域协同控制器向测试控制器返回restful 200ok消息后,完成和测试控制器的消息交互流程,但是不能保证底层网络的业务已经创建成功。对于业务是否创建成功,需要仪表发送流量验证,当前的技术方案需要测试人员手工发起业务流量,由于人为的参与中断了测试过程,因此只能单次测试验证仪表业务创建或删除的流程。However, in the prior art, after the multi-domain collaborative controller returns a restful 200ok message to the test controller, the message interaction process with the test controller is completed, but it cannot be guaranteed that the service of the underlying network has been successfully created. Whether the business is successfully created requires traffic verification by the instrument. The current technical solution requires testers to manually initiate business traffic. Since human participation interrupts the test process, only a single test can verify the process of instrument business creation or deletion.
另外,对于控制器长期运行过程中的稳定性、可靠性这一指标,以及长期运行过程中连接创建成功率、失败率这些指标,当前的测试方法并不能进行验证。In addition, the current test methods cannot verify the indicators of stability and reliability during long-term operation of the controller, as well as the success rate and failure rate of connection creation during long-term operation.
图2为本发明软件定义光网络性能测试系统实施例示意图;2 is a schematic diagram of an embodiment of a software-defined optical network performance testing system according to the present invention;
本发明提出一种软件定义光网络性能测试系统,所述软件定义光网络包含多域协同控制器、多个域控制器,所述多域协同控制器通过控制器层间接口与每一个域控制器相连,每一个域控制器通过南向接口分别与一个光传送网域或分组光传送网域相连,所述软件定义光网络性能测试系统包括:测试控制器、仪表控制代理、数据仪表。The present invention provides a software-defined optical network performance testing system. The software-defined optical network includes a multi-domain cooperative controller and a plurality of domain controllers. The multi-domain cooperative controller communicates with each domain controller through an interface between controller layers. Each domain controller is connected to an optical transport network domain or a packet optical transport network domain respectively through a southbound interface. The software-defined optical network performance test system includes: a test controller, an instrument control agent, and a data instrument.
所述测试控制器,用于向所述多域协同控制器发起连接建立请求、接收连接创建成功消息;向所述多域协同控制器发起连接删除请求、接收连接删除成功消息;向所述仪表控制代理发送业务流发起、业务流终止请求;从所述仪表控制代理接收业务停止发送的通知。需要说明的是,测试控制器通过北向接口向多域协同控制器发送业务创建和删除请求。The test controller is used to initiate a connection establishment request to the multi-domain cooperative controller and receive a connection establishment success message; initiate a connection deletion request to the multi-domain cooperative controller and receive a connection deletion success message; send a connection deletion success message to the meter The control agent sends service flow initiation and service flow termination requests; and receives a notification of service stop sending from the instrument control agent. It should be noted that the test controller sends service creation and deletion requests to the multi-domain collaborative controller through the northbound interface.
所述仪表控制代理,用于接收所述测试控制器的业务流发起、业务流终止请求,远程控制数据仪表发出、终止业务流量。The instrument control agent is used to receive the service flow initiation and service flow termination requests of the test controller, and to remotely control the data instrument to send out and terminate service flow.
所述数据仪表与至少一个所述光传送网域或分组光传送网域相连,用于接收所述仪表控制代理的指令,向所述光传送网域或分组光传送网域发出业务流量或终止业务流量。The data meter is connected to at least one of the optical transport network domain or the packet optical transport network domain, and is used for receiving the instruction of the instrument control agent, and sending out service flow or termination to the optical transport network domain or the packet optical transport network domain business flow.
优选地,所述软件定义光网络性能测试系统中,所述测试控制器和所述仪表控制代理通过REST API接口相连。测试控制器通过rest API接口向仪表控制带宽发送流量发起和终止请求。Preferably, in the software-defined optical network performance test system, the test controller and the instrument control agent are connected through a REST API interface. The test controller sends traffic initiation and termination requests to the instrument control bandwidth through the rest API interface.
优选地,所述软件定义光网络形成测试系统中,所述仪表控制代理向所述数据仪表发出的指令包含TELNET、CLI、HTTP至少一种。仪表控制代理通过telnet、CLI、HTTP等指令,远程控制仪表发起或者终止流量。Preferably, in the software-defined optical network formation test system, the instruction sent by the meter control agent to the data meter includes at least one of TELNET, CLI, and HTTP. The instrument control agent remotely controls the instrument to initiate or terminate traffic through telnet, CLI, HTTP and other commands.
图3为本发明软件定义光网络性能测试方法单业务实施例示意图。本发明实施例还包含一种软件定义光网络性能测试方法,用于本申请任意一项实施例所述软件定义光网络性能测试系统,包含以下步骤:FIG. 3 is a schematic diagram of a single service embodiment of a software-defined optical network performance testing method according to the present invention. The embodiment of the present invention further includes a software-defined optical network performance testing method, which is used in the software-defined optical network performance testing system described in any one of the embodiments of the present application, including the following steps:
步骤11、测试控制器在T1时刻向多域协同控制器发起连接创建请求;Step 11, the test controller initiates a connection creation request to the multi - domain collaborative controller at time T1;
步骤12、测试控制器在T2时刻接收到来自多域协同控制器反馈的连接创建成功消息;Step 12, the test controller receives the connection creation success message fed back from the multi - domain collaborative controller at time T2;
步骤13、测试控制器等待时间T后,向仪表控制代理发送业务流发起、业务流终止请求,控制仪表发起业务流和终止业务流,该业务流持续的时间为T’;After step 13, test controller wait time T, send service flow initiation, service flow termination request to instrument control agent, control instrument initiates service flow and terminates service flow, the time that this service flow lasts is T';
步骤14、测试控制器在T3时刻接收到来自仪表控制代理返回的业务停止发送的通知,向多域控制器发起连接删除请求;Step 14, the test controller receives the notification of service stop sending from the instrument control agent at time T3, and initiates a connection deletion request to the multi-domain controller;
步骤15、测试控制器在T4时刻接收到来自多域控制器的连接删除成功消息。Step 15: The test controller receives a connection deletion success message from the multi - domain controller at time T4.
进一步地,所述软件定义光网络性能测试方法,还包含以下步骤Further, the software-defined optical network performance testing method also includes the following steps
步骤16、控制器等待时间T”后,再次执行步骤11~15。Step 16: After the controller waits for the time T", steps 11 to 15 are performed again.
需要说明的是,长期运行过程中,可以发起单条业务的连接建立和删除,也可以发起多条业务的连接建立和删除。It should be noted that, during the long-term operation, connection establishment and deletion of a single service may be initiated, and connection establishment and deletion of multiple services may also be initiated.
图4为本发明软件定义光网络性能测试方法多业务实施例示意图。作为本申请软件定义光网络性能测试方法进一步优化的实施例,所述测试控制器连续多次向所述多域协同控制器发起连接创建请求、接收连接创建成功消息;所述测试控制器向所述仪表控制代理连续发出多条业务流发起请求、业务流删除请求;所述测试控制器连续多次向所述多域协同控制器发起连接删除请求、接收连接删除成功消息。具体地,同一个周期内同时发起多条业务流验证控制器长期运行稳定性与可靠性的流程包含以下步骤:FIG. 4 is a schematic diagram of a multi-service embodiment of a software-defined optical network performance testing method according to the present invention. As a further optimized embodiment of the software-defined optical network performance test method of the present application, the test controller initiates a connection creation request to the multi-domain cooperative controller several times in a row, and receives a connection creation success message; the test controller sends a connection creation success message to all The instrument control agent continuously sends out a plurality of service flow initiation requests and service flow deletion requests; the test controller continuously initiates connection deletion requests to the multi-domain collaborative controller for many times, and receives a connection deletion success message. Specifically, the process of initiating multiple service flows in the same cycle to verify the long-term operation stability and reliability of the controller includes the following steps:
步骤21、测试控制器在T11时刻向多域系统控制器发起第1条业务的连接创建请求;Step 21, the test controller initiates a connection creation request of the first service to the multi-domain system controller at time T11 ;
步骤22、测试控制器在T12时刻接收到多域协同控制器返回的第1条业务创建成功的消息,同时发起第2条业务的连接创建请求;Step 22, the test controller receives the message that the first service is created successfully returned by the multi-domain collaborative controller at time T12 , and simultaneously initiates a connection creation request for the second service;
步骤23、顺序发送n条业务连接创建,测试控制器在Tn2时刻接收到来自多域协同控制器的第n条业务的创建成功消息,完成n条业务的创建流程;Step 23, sequentially send n business connections to create, the test controller receives the creation success message of the nth business from the multi-domain collaborative controller at time T n2 , and completes the creation process of the n business;
步骤24、测试控制器等待时间T后,向仪表控制代理发起n条业务流的请求,n条仪表业务流同时并发时间T’后,停止n条并发流量的发送;Step 24, after the test controller waits for the time T, initiates the request of n business flows to the instrument control agent, and stops the sending of n concurrent flows after the concurrent time T' of the n instrument business flows;
步骤25、在时刻T13,测试控制器接收到仪表控制代理发送的n条并发流量停止发送的通知后,向多域协同控制器发送第1条业务的删除请求;Step 25: At time T 13 , the test controller sends a request for deleting the first service to the multi-domain collaborative controller after receiving the notification that n concurrent traffic stops being sent from the instrument control agent;
步骤26、N条业务的删除流程串行执行,在时刻Tn3,测试控制器接收到协同控制器返回的第n条业务删除成功的消息;Step 26, the deletion process of the N services is executed serially, and at time T n3 , the test controller receives the message that the nth service is deleted successfully returned by the collaborative controller;
步骤27、测试控制器等待时间T”后,再次执行步骤21~26,继续发起下一个n条业务创建、仪表发送流量验证、n条业务删除的流程。Step 27: After testing the controller waiting time T", steps 21 to 26 are performed again, and the next process of creating n services, verifying the flow sent by the meter, and deleting n services is continued.
上述测试流程可以在测试控制器中设置重复的次数,也可以一直运行直到手工停止。The above test process can be repeated by setting the number of times in the test controller, or it can run until it is manually stopped.
需要说明的是,在图3~4所述实施例流程中,在测试控制器和协同控制器消息流程交互完成后,还需要等待一个时间T或者T”,才能够继续下一个操作,这是由于单纯的消息交互流程完成后,并不能保障业务已经在底层网络成功创建成功,因此需要设置验收等待,已确保底层网络业务成功创建。It should be noted that, in the flow of the embodiment shown in FIGS. 3 to 4 , after the message flow interaction between the test controller and the cooperative controller is completed, it is necessary to wait for a time T or T" before continuing to the next operation, which is After the simple message exchange process is completed, it cannot guarantee that the service has been successfully created on the underlying network. Therefore, it is necessary to set the acceptance wait to ensure that the underlying network service has been successfully created.
图5为性能测试等待时间取值方法示意图。为了保障可靠性测试过程中,能够提供足够的测试压力,尽量测试控制器性能的上限,需要合理的设置T、T’和T”。上述3个时刻的设置可以参考如图5方式。在图5中,测试仪表一直发送流量,测试控制器发起连接删除流程,等待时刻T后,发起连接创建流程,通过仪表监测业务中断的时间。FIG. 5 is a schematic diagram of a method for taking a value of a performance test waiting time. In order to ensure that sufficient test pressure can be provided during the reliability test process and the upper limit of the controller performance can be tested as much as possible, it is necessary to set T, T' and T" reasonably. For the settings of the above three moments, please refer to Figure 5. In Figure 5 In step 5, the test instrument keeps sending traffic, the test controller initiates the connection deletion process, waits for time T, initiates the connection creation process, and monitors the time of service interruption through the instrument.
优选地,本申请实施例所述软件定义光网络性能测试方法中,T=T”=1.5×Z;Z=Y-(T2’-T1’)-(S-X);其中,Preferably, in the software-defined optical network performance testing method described in the embodiment of the present application, T=T"=1.5×Z; Z=Y-(T 2 '-T 1 ')-(SX); wherein,
T1’:该时刻测试控制器向协同控制器发出连接创建请求消息;T 1 ': At this moment, the test controller sends a connection creation request message to the collaborative controller;
T2’:该时刻测试控制器接收到协同控制器的连接创建成功消息;T 2 ': At this moment, the test controller receives the connection creation success message of the collaborative controller;
T3’:在T1’时刻之前,该时刻测试控制器向协同控制器发出连接删除请求消息; T3 ': before time T1', the test controller at this time sends a connection deletion request message to the cooperative controller;
T4’:在T1’时刻之前,测试控制器接收到协同控制器的连接删除成功消息; T4 ': before time T1', the test controller receives the successful message of connection deletion of the cooperative controller;
S:从T4’到T1’,为测试控制器等待时长;S: from T 4 ' to T 1 ', the waiting time for the test controller;
X:T4’与业务中断之间的延迟时间;X: delay time between T 4 ' and service interruption;
Y:数据仪表持续发出业务流条件下,仪表监测获取的业务中断持续时间;Y: The service interruption duration obtained by the instrument monitoring under the condition that the data instrument continuously sends out the business flow;
Z:在T2’时刻与业务恢复之间的延迟时间。Z : Delay time between time T2' and service recovery.
进一步优选地,所述软件定义光网络性能测试方法,T’=3T。Further preferably, in the software-defined optical network performance testing method, T'=3T.
需要指出,在创建消息流程完成后,底层网络设备完成连接还需要等待时刻Z后才能够完成业务连接的创建。It should be pointed out that, after the message creation process is completed, the underlying network device needs to wait for time Z to complete the connection before completing the creation of the service connection.
这里Y是通过仪表测量得出的业务中断持续时间,如果流量产生中断,用仪表发送流量=仪表丢包的数量/发送报文速率的值来衡量。Here Y is the service interruption duration measured by the meter. If the traffic is interrupted, it is measured by the value of the flow rate sent by the meter = the number of packets lost by the meter/the rate of sending packets.
我们得出的Z值,主要是保障信令流程结束Z时刻后,底层网络能够完成业务的创建或者删除流程,因为通过抓包,我们可以得出控制器和设备之间创建业务的信令时间,但是信令完成后,不能保障底层网络也能够完成实际的业务创建,具体的设备配置交叉,业务下发都需要时间。Z就是保障底层网络能够完成业务创建。The Z value we obtained is mainly to ensure that after the end of the signaling process at time Z, the underlying network can complete the process of creating or deleting services, because by capturing packets, we can obtain the signaling time for creating services between the controller and the device. However, after the signaling is completed, it cannot be guaranteed that the underlying network can also complete the actual service creation. The specific device configuration is crossed and the service delivery takes time. Z is to ensure that the underlying network can complete business creation.
在本申请所述软件定义光网络性能测试方法的实施例中,为了简化计算Z,进一步包含以下步骤:逐渐减小S值,得到业务创建不成功时,得到S=X。In the embodiment of the software-defined optical network performance testing method described in the present application, in order to simplify the calculation of Z, the following steps are further included: gradually reduce the value of S, and obtain S=X when the service creation is unsuccessful.
我们通过测量估算得出的Z值,可以乘以一个系数,进一步保障业务创建或删除成功,这就是T(创建保障等待时间)=T”(删除保障等待时间)=1.5倍Z。The Z value estimated by us through measurement can be multiplied by a coefficient to further ensure the success of business creation or deletion. This is T (creation guarantee waiting time) = T" (deletion guarantee waiting time) = 1.5 times Z.
T’是仪表发送流量验证业务是否成功的时间,这个值可以是3倍的Z,如果Z值太小,也可以设置成固定间隔,如5s。T' is the time when the meter sends traffic to verify whether the service is successful. This value can be 3 times the Z value. If the Z value is too small, it can also be set to a fixed interval, such as 5s.
需要说明的是,本发明的技术关键点是:将测试控制器和仪表进行联动,实现自动的创建业务、仪表发流验证业务是否成功、删除业务这一流程,通过重复该流程,可以对控制器长期运行过程中的稳定性、可靠性这一指标进行验证。另外,合理设置测试控制器等待的时刻T和T’的方法,保障底层物理网络的业务能够成功的创建和删除,同时能够提供足够的测试压力,尽量测试控制器性能的上限。It should be noted that the technical key point of the present invention is: linking the test controller and the instrument to realize the process of automatically creating a business, sending the flow of the instrument to verify whether the business is successful, and deleting the business. By repeating this process, the control The stability and reliability of the device during long-term operation are verified. In addition, the method of reasonably setting the waiting time T and T' of the test controller ensures that the services of the underlying physical network can be successfully created and deleted, and at the same time can provide enough test pressure to test the upper limit of the controller performance as much as possible.
还需要说明的是,术语“包括”、“包含”或者其任何其他变体意在涵盖非排他性的包含,从而使得包括一系列要素的过程、方法、商品或者设备不仅包括那些要素,而且还包括没有明确列出的其他要素,或者是还包括为这种过程、方法、商品或者设备所固有的要素。在没有更多限制的情况下,由语句“包括一个……”限定的要素,并不排除在包括所述要素的过程、方法、商品或者设备中还存在另外的相同要素。It should also be noted that the terms "comprising", "comprising" or any other variation thereof are intended to encompass a non-exclusive inclusion such that a process, method, article or device comprising a series of elements includes not only those elements, but also Other elements not expressly listed, or which are inherent to such a process, method, article of manufacture, or apparatus are also included. Without further limitation, an element qualified by the phrase "comprising a..." does not preclude the presence of additional identical elements in the process, method, article of manufacture, or device that includes the element.
以上所述仅为本申请的实施例而已,并不用于限制本申请。对于本领域技术人员来说,本申请可以有各种更改和变化。凡在本申请的精神和原理之内所作的任何修改、等同替换、改进等,均应包含在本申请的权利要求范围之内。The above descriptions are merely examples of the present application, and are not intended to limit the present application. Various modifications and variations of this application are possible for those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of this application shall be included within the scope of the claims of this application.
Claims (10)
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710274377.XA CN107147439B (en) | 2017-04-25 | 2017-04-25 | A kind of software definition optical-fiber network Performance Test System and method |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201710274377.XA CN107147439B (en) | 2017-04-25 | 2017-04-25 | A kind of software definition optical-fiber network Performance Test System and method |
Publications (2)
Publication Number | Publication Date |
---|---|
CN107147439A CN107147439A (en) | 2017-09-08 |
CN107147439B true CN107147439B (en) | 2019-07-30 |
Family
ID=59775111
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201710274377.XA Active CN107147439B (en) | 2017-04-25 | 2017-04-25 | A kind of software definition optical-fiber network Performance Test System and method |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN107147439B (en) |
Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579810A (en) * | 2013-10-23 | 2015-04-29 | 中兴通讯股份有限公司 | Flow sampling method and system for software-defined network |
CN106130766A (en) * | 2016-09-23 | 2016-11-16 | 深圳灵动智网科技有限公司 | A kind of system and method realizing automated network accident analysis based on SDN technology |
CN106559407A (en) * | 2015-11-19 | 2017-04-05 | 国网智能电网研究院 | A kind of Network traffic anomaly monitor system based on SDN |
CN106572401A (en) * | 2016-10-11 | 2017-04-19 | 烽火通信科技股份有限公司 | Optical access network system based on software definition and realization method thereof |
CN106569950A (en) * | 2016-11-03 | 2017-04-19 | 瑞斯康达科技发展股份有限公司 | Network management software testing system and network management software testing method |
Family Cites Families (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
US9602423B2 (en) * | 2013-06-28 | 2017-03-21 | Pepperdata, Inc. | Systems, methods, and devices for dynamic resource monitoring and allocation in a cluster system |
-
2017
- 2017-04-25 CN CN201710274377.XA patent/CN107147439B/en active Active
Patent Citations (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN104579810A (en) * | 2013-10-23 | 2015-04-29 | 中兴通讯股份有限公司 | Flow sampling method and system for software-defined network |
CN106559407A (en) * | 2015-11-19 | 2017-04-05 | 国网智能电网研究院 | A kind of Network traffic anomaly monitor system based on SDN |
CN106130766A (en) * | 2016-09-23 | 2016-11-16 | 深圳灵动智网科技有限公司 | A kind of system and method realizing automated network accident analysis based on SDN technology |
CN106572401A (en) * | 2016-10-11 | 2017-04-19 | 烽火通信科技股份有限公司 | Optical access network system based on software definition and realization method thereof |
CN106569950A (en) * | 2016-11-03 | 2017-04-19 | 瑞斯康达科技发展股份有限公司 | Network management software testing system and network management software testing method |
Non-Patent Citations (1)
Title |
---|
层次化软件定义光网络原型系统开发与试验演示;荆瑞泉,张成良;《电信科学(万方数据)》;20151127;第31卷(第10期);第(2015246)1-6页 |
Also Published As
Publication number | Publication date |
---|---|
CN107147439A (en) | 2017-09-08 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN105103494B (en) | The network switch emulates | |
US10965546B2 (en) | Control of network nodes in computer network systems | |
CN101150454B (en) | Testing method for automatic switching optical network | |
CN107659434A (en) | A kind of automatic test approach of Devices to test, apparatus and system | |
US11228651B2 (en) | Path validation and performance assurance for distributed network endpoints | |
US12231323B2 (en) | Automated multi-node network performance testing | |
CN105812406B (en) | Information transferring method and device based on WEB emulation terminal system | |
CN106569950B (en) | A kind of test macro of webmastering software and the test method of webmastering software | |
CN103109497B (en) | For measuring the dynamic-configuration of the interconnect equipment of net neutral energy characteristic | |
CN110062054A (en) | Internet of things equipment long-range control method and system | |
CN103780455A (en) | TETRA digit cluster protocol test method and system based on TTCN-3 | |
JP5460630B2 (en) | Network system and management server | |
CN107147439B (en) | A kind of software definition optical-fiber network Performance Test System and method | |
CN102158374B (en) | Bandwidth speed limiting testing method and testing device | |
CN105959137B (en) | The synchronous method and device of configuration data is realized in a kind of PON system | |
CN103441955B (en) | A kind of test system and method for testing for being used to test dynamic bandwidth allocation device | |
US20170041210A1 (en) | VoIP QUALITY TEST VIA MANUAL PHONE CALL INTO VoIP MONITORING SYSTEM | |
EP3264682A1 (en) | Debugging failure of a service validation test | |
US10116491B1 (en) | Network cabling verification | |
CN100407667C (en) | Network communication equipment protocol testing system and method | |
CN108259527B (en) | Proxy-based service processing method and device and network element equipment | |
WO2017054558A1 (en) | Multicast diagnosis method and apparatus | |
CN103795507A (en) | Instruction timeout retransmission method and instruction timeout retransmission system of EPON system | |
CN118368196B (en) | Traffic execution management method, device, electronic equipment and storage medium | |
CN114124761B (en) | Electronic device, system, method and medium for bandwidth consistency verification |
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 |