CN108737003A - For testing time sensitive network(TSN)Method, system and the computer-readable medium of element - Google Patents

For testing time sensitive network(TSN)Method, system and the computer-readable medium of element Download PDF

Info

Publication number
CN108737003A
CN108737003A CN201810373217.5A CN201810373217A CN108737003A CN 108737003 A CN108737003 A CN 108737003A CN 201810373217 A CN201810373217 A CN 201810373217A CN 108737003 A CN108737003 A CN 108737003A
Authority
CN
China
Prior art keywords
test
sut
tsn
message
test system
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
Application number
CN201810373217.5A
Other languages
Chinese (zh)
Other versions
CN108737003B (en
Inventor
V·约瑟夫
A·C·巴兰
A·雷格夫
B·泰内亚
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Deutsche Technologies Singapore (Sales) Private Limited
Original Assignee
Tak Technology Singapore (holdings) Pte Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Tak Technology Singapore (holdings) Pte Ltd filed Critical Tak Technology Singapore (holdings) Pte Ltd
Publication of CN108737003A publication Critical patent/CN108737003A/en
Application granted granted Critical
Publication of CN108737003B publication Critical patent/CN108737003B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0641Change of the master or reference, e.g. take-over or failure of the master
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0661Clock or time synchronisation among packet nodes using timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04JMULTIPLEX COMMUNICATION
    • H04J3/00Time-division multiplex systems
    • H04J3/02Details
    • H04J3/06Synchronising arrangements
    • H04J3/0635Clock or time synchronisation in a network
    • H04J3/0638Clock or time synchronisation among nodes; Internode synchronisation
    • H04J3/0658Clock or time synchronisation among packet nodes
    • H04J3/0673Clock or time synchronisation among packet nodes using intermediate nodes, e.g. modification of a received timestamp before further transmission to the next packet node, e.g. including internal delay time or residence time into the packet

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses method, system and the computer-readable mediums for testing time sensitive network (TSN) element.According to a kind of method for testing TSN elements, this method carries out at test system.This method includes keeping test system clock synchronous with the clock at system under test (SUT) (SUT).This method further includes receiving sequence of message, wherein using scheduling rule associated with TSN streams to generate the sequence of message.This method further comprises determining whether the scheduling rule is accurately realized by the SUT using timing information associated with the test system clock.

Description

For the method for testing time sensitive network (TSN) element, system and computer-readable Medium
Priority claim
This application claims the equity of the Rumanian patent applications a 00,246 2017 submitted on April 25th, 2017, The disclosure of which is entirely incorporated into the application by reference.
Technical field
Subject content described herein is related to test network element.More specifically, when subject content is related to for testing Between sensitive network (TSN) element method, system and computer-readable medium.
Background technology
Time-sensitive network can generally be defined as that the network of the data of at least some of time-sensitive can be conveyed.Therefore, Time-sensitive network allows for the delivery time sensitive data within acceptable time quantum.Although in current communication network Many all follow best effort methods (best-effort approach) (for example, be based on various Ethernets and Internet Protocol (IP) network), but best effort method is generally unsuitable for the application of time-sensitive, because in time-sensitive content (for example, vehicle Control network in component between data) transmission and/or delivering in even if small delay for such application It is unacceptable.
In order to overcome use best effort method communication network the shortcomings that, occurred the relevant technologies of various TSN and Standard.For example, 802.1 time-sensitive networking task groups of IEEE (Time-Sensitive Networking Task Group) It is currently that TSN specifies one group of agreement.These agreements can be provided, required or be promoted for limiting and/or controlling in TSN Communicate the behavior of correlation delay.The example behavior of TSN may include precise synchronization between all TSN elements (for example, device), The traffic shaping of time-sensitive stream or scheduling, for reserved or predistribution is used for transmission or the bandwidth and frequency of receiving time sensitivity stream The mark of reserved or in " admission control ", and/or TSN non-participating type (for example, " non-TSN ") element of rate.
It will appear problem when the resource for attempting to test in TSN.For example, test TSN elements and/or associated component whether It is realizing function appropriate (functionality) and/or is existing in terms of accurately realizing standard and/or agreement and choosing War.Currently, not can be used for testing the efficient system and/or method of TSN elements.
Invention content
This application discloses method, system and the computer-readable mediums for testing time sensitive network (TSN) element. According to a kind of method for testing TSN elements, this method carries out at test system.This method includes making test system clock It is synchronous with the clock at system under test (SUT) (SUT).This method further includes receiving sequence of message, wherein using associated with TSN streams Scheduling rule generates the sequence of message.This method further comprises use timing information associated with the test system clock To determine whether the scheduling rule is accurately realized by the SUT.
According to a kind of system for testing TSN elements, which includes at least one processor.The test system It is configured for:Keep test system clock synchronous with the clock at SUT;Test packet sequence is received, flows phase with TSN wherein using Associated scheduling rule generates the sequence of message;And it is determined using timing information associated with the test system clock Whether the scheduling rule is accurately realized by the SUT.
Subject content described herein can be realized in software with the combination of hardware and/or firmware.For example, the application The subject content of description can be realized in the software executed by processor (for example, hardware based processor).Show at one In example realization method, subject content described herein can use the non-transient for being stored thereon with computer executable instructions Computer-readable medium realizes, wherein the computer executable instructions when by computer processor execution when control the calculating Machine operating procedure.The example computer readable mediums for being adapted for carrying out subject content described herein include non-transient device Part, such as disk memory part, chip memory devices, programmable logic device such as field programmable gate array and special collection At circuit.In addition, realizing that the computer-readable medium of subject content described herein can be located at individual equipment or calculate flat On platform, or it can be distributed in multiple equipment or computing platform.
As it is used herein, term " node " refers to including one or more processors and at least one reality of memory Body computing platform.
As it is used herein, term " function (function) " or " module " refer to software and hardware and/or firmware Combination, for realizing feature described herein.In some embodiments, module may include field-programmable gate array Arrange (FPGA), application-specific integrated circuit (ASIC) or processor.
The present invention includes:
1. the method that one kind being used for testing time sensitive network (TSN) element, this method include:
At test system:
Keep test system clock synchronous with the clock at system under test (SUT) (SUT);
Sequence of message is received, wherein using scheduling rule associated with TSN streams to generate the sequence of message;And
Determine the scheduling rule whether by the SUT using timing information associated with the test system clock Accurately realize.
2. 1 method, wherein the sequence of message by the SUT, the test system or with the SUT and described Speaker's device of test system separation is sent.
3. 1 method, including:
Before receiving the sequence of message:
Test packet sequence is generated using the scheduling rule;And
The test packet sequence is transferred to the SUT.
4. 3 method, wherein by the test packet sequence be sent to the SUT include send it is at least one impaired Test packet, wherein at least one impaired test packet have the message size different from expection, fuzzy data, with it is pre- Phase different sequence is sent, or is sent except the acceptable time section based on the scheduling rule.
5. 3 method, wherein the test packet sequence, which is transferred to the SUT, includes:
Dispatch the transmission of each message in the test packet sequence;Or
The transmission of first message in the test packet sequence is dispatched, and uses flow delay information and message rate To transmit follow-up test message.
6. 3 method, including:
At the test system and before generating the test packet sequence:
Determine the TSN scheduling of TSN streams associated with the test of the SUT.
7. 3 method, including:
At the test system:
Scheduling rule associated with TSN streams is provided for the SUT.
8. 1 method, wherein it includes that use is based on to determine whether the scheduling rule is accurately realized by the SUT Message time stamp and the incubation period (latency) about the TSN scheduling informations flowed and grouping information measurements of arrival time value.
9. 1 method, wherein the test system clock is configured for use as master clock or from clock, described for making It is synchronous with the clock at the SUT to test system clock.
10. 1 method, wherein the test system configurations are for test by SUT operations (perfrom) One or more functions or by the SUT one or more TSN standards realized or agreement.
11. the system that one kind being used for testing time sensitive network (TSN) element, the test system include:
At least one processor;
The wherein described test system configurations be for:
Keep test system clock synchronous with the clock at system under test (SUT) (SUT);
Sequence of message is received, wherein using scheduling rule associated with TSN streams to generate the sequence of message;And
Determine the scheduling rule whether by the SUT using timing information associated with the test system clock Accurately realize.
12. 11 system, wherein the sequence of message by the SUT, the test system or with the SUT and institute The speaker's device for stating the separation of test system is sent.
13. 11 system, wherein the test system configurations be for:
Before receiving the sequence of message:
Test packet sequence is generated using the scheduling rule;And
The test packet sequence is transferred to the SUT.
14. 13 system, wherein the test system configurations be for sending at least one impaired test packet, Described at least one impaired test packet there is the message size different from expection, fuzzy data, with different from expection suitable Sequence is sent, or is sent except the acceptable time section based on the scheduling rule.
15. 13 system, wherein the test system configurations be for:
Dispatch the transmission of each message in the test packet sequence;Or
The transmission of first message in the test packet sequence is dispatched, and uses flow delay information and message rate To transmit follow-up test message.
16. 13 system, wherein the test system configurations be for:
Before generating the test packet sequence:
Determine that TSN scheduling associated with TSN streams, the TSN streams are associated with the test of the SUT.
17. 13 system, wherein the test system configurations are related to TSN streams for being provided for the SUT The scheduling rule of connection.
18. 11 system, wherein the test system configurations be for by using stabbed based on message time and about Whether the incubation period of the scheduling information of TSN streams and grouping information measurements of arrival time value determine the scheduling rule by described SUT is accurately realized.
19. 11 system, wherein the test system clock is configured for use as master clock or from clock, for making It is synchronous with the clock at the SUT to state test system clock.
20. 11 system, wherein the test system configurations are for testing one or more run by the SUT A function or by the SUT one or more TSN standards realized or agreement.
21. a kind of non-transient computer-readable medium comprising it is computer-readable to be embodied in the non-transient Computer executable instructions in medium, the computer executable instructions by least one processor of computer when being executed The computer is caused to run following steps, the step includes:
At test system:
Keep test system clock synchronous with the clock at system under test (SUT) (SUT);
Sequence of message is received, wherein using scheduling rule associated with TSN streams to generate the sequence of message;And
Determine the scheduling rule whether by the SUT using timing information associated with the test system clock Accurately realize.
Description of the drawings
Illustrate subject content described herein with reference to the drawings, wherein:
Fig. 1 is the diagram for showing the example test environment for testing TSN elements;
Fig. 2 is the diagram for showing to carry out the exemplary test system of time synchronization using internal master clock;
Fig. 3 is the diagram for showing to carry out the exemplary test system of time synchronization using external master clock;
Fig. 4 is to show to damage the diagram of the exemplary test system of transmitted test packet using damage module;
Fig. 5 is the diagram for showing exemplary test system and individual speaker (talker) device;
Fig. 6 is the diagram for the exemplary test system for showing to come using network shunt device testing results;
Fig. 7 is the diagram for showing the scheduler mistake after test TSN elements;
Fig. 8 is the diagram for the incubation period block diagram for showing the result after report test TSN elements;
Fig. 9 is the message diagram for the message sending strategy for showing test TSN elements;With
Figure 10 is the block diagram for showing the instantiation procedure for testing TSN elements.
Specific implementation mode
Subject content described herein be related to by the method for testing time sensitive network (TSN) element, system and based on Calculation machine readable medium.TSN may include the various TSN nodes or element (for example, repeater and terminal station) for having clock, these Clock has synchronization time.For example, TSN and/or node therein can use various Time Synchronization Mechanisms, such as time synchronization Agreement, such as the agreement based on IEEE gPTP or IEEE PTP.TSN elements (for example, repeater and speaker) are transmitted to be known that When scheduled they are to be transmitted.For example, each transmission TSN elements can be perceived with usage time reshaper (TAS) and/or One or more TSN scheduling (for example, door access list and/or steaming transfer scheduling) for one or more TSN streams.In the example In son, door access list can indicate when to open or close door for the particular flow rate to be transmitted (for example, one or more streams) Or transmission window (for example, one or more switching ports) and steaming transfer scheduling can indicate when to transmit or receive spy Constant current message or grouping.During the transmission window of scheduled message, it can stop other message queues or stream so that through adjusting The message of degree can be sent without postponing caused by interference flow.
Scheduling rule and/or related scheduling can be used for by being provided for TSN elements (for example, speaker and/or repeater) Transmission window minimizes the incubation period in TSN send and/or to receive message.For example, scheduling rule and/or related scheduling can Non-scheduled flow can be caused to be blocked so that port or associated transport medium are idle when to transmit scheduled flow.It should Understand, when TSN elements or its associated clock are synchronized, scheduling rule and/or TSN scheduling are more effective, thus minimize interference The influence of flow.However, if being likely to occur between various TSN elements without correctly or uniformly following scheduling rule Problem, because being likely to occur interference flow.
According to some aspects of subject content described herein, disclose same for testing the time between TSN elements Technology, method, equipment, system and/or the mechanism of step.For example, test system is configurable to for by measuring maximum time Error tests the time synchronization of one or more clocks.In this example embodiment, determining that maximum time error may include will be by quilt The time of examining system report is compared with the time known to benchmark (for example, master clock or test system clock).
According to some aspects of subject content described herein, disclose technology for testing TSN elements, method, Equipment, system and/or mechanism.For example, test system can be configured for test dispatching rule or be realized by TSN elements TSN is dispatched.In this example embodiment, in order to test TSN elements or its many aspects, test system can with usage time synchronous protocol or Other synchronization mechanisms keep the test system clock synchronous with the clock at SUT, receive sequence of message, and wherein sequence of message is to use What scheduling rule generated, and determine scheduling rule whether by SUT standards using timing information associated with test system clock Really realize.
According to some aspects of subject content described herein, disclose consistency for testing TSN elements and/or Technology, method, equipment, system and/or the mechanism of interoperability.For example, uniformity test may include compareing scheduled and marking The test specification of standardization tests the process of the specific implementation of TSN standards, wherein standardized test specification can attempt to cover In standard it is as much as possible can test statement, so that it is guaranteed that tested device has preferable interoperability.In this example embodiment, Test system is configurable to test TSN standards by sending test packet to SUT and/or receiving test packet from SUT Specific implementation.Continue the example, test system can analyze the behavior of observed SUT, and be advised based on standardized test It is compared by model or related data with anticipatory behavior.
Now with detailed reference to the exemplary implementation scheme of subject content described herein, example shows in the accompanying drawings Go out.In the conceived case, make that same or similar part is denoted by the same reference numerals in all the appended drawings.
Fig. 1 is the diagram for showing the example test environment 100 for testing TSN elements.With reference to figure 1, test environment 100 can To include test system 102 and one or more measured devices and/or system (SUT) 106.Test system 102 can indicate with The associated any suitable one or more entities of SUT 106 (for example, one or more TSN elements) are tested (for example, one Or multiple computing platforms, node or device).For example, test system 102 can generate flow and to 106 transmitted traffics of SUT and/ Or flow is received from SUT 106, and one or more aspects associated with SUT 106 can be analyzed.
In some embodiments, test system 102 can be independently opening of being executed in one or more processors 112 Power driven tools, test device or software.In some embodiments, test system 102 can be individual devices or node, Huo Zheke To be distributed between multiple devices or node.In some embodiments, test system 102 may include for running various surveys Try one or more modules of correlation function.For example, test system 102 may include one for couple being communicated with SUT 106 Or the TSN element emulation modules that multiple TSN nodes or device are emulated.
Test system 102 may include processor 112, memory 114 and SUT test modules (STM) 104.Processor 112 can To indicate or including physical processor, general purpose microprocessor, single core processor, multi-core processor, field programmable gate array (FPGA), and/or the application-specific integrated circuit (ASIC) for executing the software and/or logic that are stored in memory 114.Memory 114 can indicate for storing data, one or more computer-readable mediums of logic or other information.
STM 104 can be any suitable one or more entity (for example, the software executed on a processor, ASIC, The combination of FPGA or software, ASIC or FPGA), it is used to run and tests SUT 106 and/or its various aspects is associated One or more aspects.In some embodiments, STM 104 can be realized using processor 112 and/or memory 114.Example Such as, STM 104 can utilize processor 112 (for example, using the software being stored in memory 114) be multiple message flows (for example, Flow (flow) or session (session)) generate test packet.In this example embodiment, STM 104 can also utilize processor 112 To run the various tests and/or analysis that are related to test packet and/or relevant response from SUT 106.
In some embodiments, STM 104 may include one for being interacted with user, module, and/or node or Multiple communication interfaces, such as one or more network interface cards (NIC).For example, STM 104 can use for receiving various reports One or more communication interfaces of text and the one or more communication interfaces for sending various messages.Example message include IP packet, Ethernet frame, ether network packet, PDU, datagram, UDP messages, TCP message, the 4th edition (v4) message of IP, IP the 6th edition (v6) reports Text, Flow Control Transmission Protocol (SCTP) message, real-time transport protocol (RTP) message or authentic data agreement (RDP) message, use The message of tunnel protocol and/or other TSN association messages.
In some embodiments, STM 104 may include or provide communication for being communicated with STM user 110 Interface.STM user 110 can be associated with testing and/or generating test degree of correlation magnitude each for selecting and/or configuring A aspect any entity (for example, automated system or by human user control can by human user control equipment or be System).For example, various user interfaces (for example, application program user interface (API) and graphic user interface (GUI)) can be provided To provide configuration information, such as the test to be run, the problem of analyzing, the damage to be generated, the metric or system to be generated The test packet quantity of the type, the every port or stream to be generated that count and/or other settings.
In some embodiments, STM 104 may include that one or more communications for being interacted with SUT 106 connect Mouthful.For example, STM 104 or another entities can be configured to one or more ports associated with SUT 106 (for example, port 1, it 2 and/or 3) sends test packet or receives from it test packet.SUT 106 can be any suitable one or more real Body (for example, device, system or platform), is used to communicate and/or receive, process and transmit and/or send with test system 102 One or more messages.For example, SUT 106 can include at least the TSN members for capableing of tramsfer time sensitive data or association message Part.In another example, SUT 106 may include one or more systems and/or computing platform, for example, one group of server and/ Or router.In another example, SUT 106 may include one or more networks or associated component, such as TSN or one portion Point.
In some embodiments, the TSN elements that can be tested by test system 102 or STM 104 may include network Repeater, time synchronization protocol repeater, network router, the network switch, the network equipment, server or network controller.
In some embodiments, one or more users for testing SUT 106 and/or for providing configuration information Interface can such as by one or more programming languages (such as python, PHP), declarative state shift (REST) API, Order line, and/or GUI based on Web support automation.For example, STM user 110 can use Web browser and be based on Web GUI interact with program or be configured to test SUT 106 one or more aspects.
In some embodiments, STM 104 may include the function for accessing STM memories 108 or memory 114. STM memories 108 can be any suitable one or more entity (examples for keeping or storing with test related information Such as, storage device, memory 114, non-transient computer-readable medium or storage system).For example, STM memories 108 can be deposited Storage and the relevant information of message capturing, such as incremental time information, timestamp related data and/or other information.In the example In, it can be used for determining with the relevant information of message capturing, export or calculate one or more relevant statistical data of test.
In some embodiments, STM memories 108 can also include that can be used for generating one or more with SUT 106 The information of the associated statistical data of a aspect and/or metric.For example, during one or more test scenes, STM storages Device 108 can include metric associated with one or more aspect of performance of SUT 106.In this example embodiment, STM memories 108, which can retain specific one group of the first test or message flow, is computed metric, and can retain the second test or not Another group with message flow is computed metric.In some embodiments, STM memories 108 and/or memory 114 can positions At test system 102, another node or it is distributed on multiple platforms or device.
In some embodiments, test system 102, STM 104 or another modules be configurable to for test with The associated various aspects of TSN standards that 802.1 time-sensitive networking task groups of IEEE propose.For example, test system 102, STM 104 or another modules are configurable to whether meet or correctly realize each side of following standard for testing SUT 106 Face:Ieee standard 802.1Qav-2009, ieee standard 802.1Qbv-2015, ieee standard 802.1AS-Rev, ieee standard 802.1Qbu-2016, ieee standard 802.1CB, ieee standard 802.1Qcc, ieee standard 802.1Qca-2015, ieee standard 802.1Qch, ieee standard 802.1Qci-2017, ieee standard 802.1Qcj, ieee standard 802.1Qcp, ieee standard 802.1Qcr and/or ieee standard 802.1CM.Above-mentioned publicly available standard or substandard are (for example, ieee standard 802.1Qav-2009, ieee standard 802.1Qbv-2015, ieee standard 802.1Qbu-2015, ieee standard 802.1Qca- 2015 and ieee standard 802.1Qci-2017) it is integrally incorporated the application by reference.
Some examples test that can be run by test system 102, STM 104 or another modules may include:In time synchronization Redundancy is tested in agreement (for example, PTP) configuration gateway;Timing is tested in time synchronization protocol configures gateway;The reserved association of test Discuss (for example, multithread reservation protocol (MSRP) or stream reservation protocol (SRP)) flow (flow);The reservation protocol of testing and control level Scalability;Test speaker;Analyze Bandwidth guaranteed;Incubation period is analyzed (for example, using normal minimum, maximum, and/or average latent Volt phase measured value or block diagram);The relevant scheduler of analysis and test speaker;Test repeater;Analysis and test repeater phase The scheduler of pass;Test the optimal master clock of stand-by heat or master clock;Non- TSN elements are tested to TSN gateways;Test frame replicates and disappears It removes;Test the seamless redundancy of interchanger and endpoint;Test gate accuracy;It tests TSN and dispatches fidelity;Test the standard of TSN elements Enter control;Test the drop policy of inappropriate big small messages;Test and fiduciary reshaper or other reshapers (for example, Non- TAS reshapers) interaction;Test the real-time configuration change in TAS;And/or test configurations update.
It should be appreciated that Fig. 1 is to be for the purpose of illustration, and it can change, change, add or remove above for Fig. 1 Various nodes and/or module, the position and/or function of description.
Fig. 2 is the diagram for showing to carry out the exemplary test system 102 of time synchronization using internal master clock.In some implementations In scheme, test system 102 and/or function therein can be distributed between one or more modules, device or computing platform.
With reference to figure 2, described test environment 200 may include test system 102, SUT 106 and realize on it TSN scheduling 210.As depicted, test system 102 may include synchronization module 202, TSN Scheduler modules 204, TSN tune Degree 206, speaker 208, monitor 212 and TSN scheduling fidelitys module 214.Synchronization module 202 can indicate for run and when Clock synchronizes any suitable entity (for example, the software executed on at least one processor) of associated various aspects.Example Such as, synchronization module 202 may be implemented to manage with usage time synchronous protocol (for example, gPTP or certain other PTP protocol standards) The clock for managing test system 102 synchronizes.
In some embodiments, synchronization module 202 may include, system clock is tested in utilization or access.Test system Clock can be indicated for generated time and/or any suitable entity for the retention time is (for example, when hardware based Clock or clock based on software).
In some embodiments, synchronization module 202 or the correlation module tested in system 102 can be used as same for the time The master clock (for example, the optimal master clocks of gPTP or PTP) of purpose is walked, and SUT 106 can be same from test 102 receiving time of system Step data, for example, for keeping its own clock synchronous with test system clock.
TSN Scheduler modules 204 can be indicated for running any of aspect associated with TAS and/or dispatching message Suitable entity (for example, the software executed on at least one processor).For example, TSN Scheduler modules 204 can pass through one Secondary or multiple test iteration determines TSN scheduling (for example, message transmissions scheduling and/or door access list).In some embodiment party In case, TSN Scheduler modules 204 can be that one or more message queues or stream determine TSN scheduling 206.For example, each message Queue or stream can be associated with the transmission gate opened or closed.In this example embodiment, the message from message queue is (for example, frame Or grouping) transmission can only occur in the case where door is opened and can door close before transmit complete message.Continue the example Son, the TSN scheduling 206 generated by TSN Scheduler modules 204 may include time started (for example, operation fiducial time) and again The multiple time (for example, operational cycle time).
In some embodiments, TSN scheduling 206 may include or be related to include the ordered list of door operation door access List.For example, door access list may include multiple entries, wherein each entry may include the transmission gate of each message queue (for example, gate-shaped state value) and the incubation period (for example, time interval value) before executing next list of entries are set.
In some embodiments, TSN scheduling 206 can meet or be based on ieee standard 802.1Qbv-2015.For example, TSN scheduling 206 may include TAS relevant informations, such as door access list and/or be used to indicate door or when transmission plays on or off The other information closed.
(for example, when realizing TSN scheduling 206 or associated gate access list) in some embodiments, in each period Beginning, the first entry in list can be executed, then, after specified incubation period, next entry can be executed.? In some embodiments, entry can be executed in such a way, until executing last entry.Once performing final item Mesh can then be run before next cycle starts without door change.Two queues (for example, door 1 and 2) are described in table 1 Example door access list.
Table 1
Gate-shaped state value Time interval value
{ 1, open } { 2, close } 10,000ns
{ 1, close } { 2, open } 15,000ns
{ 1, open } { 2, close } 5,000ns
Speaker 208 can indicate for times to SUT 106 or other entity transmission messages (for example, frame or sequence of message) What suitable entity (for example, one or more network interface cards (NIC) or communication module).In some embodiments, speaker 208 may include or indicate for one or more ports of SUT 106 and/or other entity transmitted traffics.For example, speaker 208 can transmit test packet via one or more ports from one or more association message queues.In this example embodiment, it is passed Defeated test packet can be sent to one or more particular ports at SUT 106.
In some embodiments, speaker 208 or another module can be sent to SUT 106 or shared TSN is dispatched 206.For example, after determining TSN scheduling 206 but before testing SUT 106, TSN Scheduler modules 204 can trigger speaker 208 send TSN via one or more speaker's related ports to SUT 106 dispatches 206 or TSN scheduling 210.In another example In, TSN dispatches 206 or TSN scheduling 210 and can be used various mechanism for example via different port (for example, the ports TSN or the non-ends TSN Mouthful), agreement (for example, IP, HTTP, TCP or UDP), and/or entity be sent to SUT 106.In some embodiments, exist After having received TSN 206 or TSN of scheduling scheduling 210, SUT 106 can store TSN and dispatch 206 or TSN scheduling 210 and make Message transmissions are dispatched and/or run with its (such as dduring test).
Monitor 212 can be indicated for receiving any of message (for example, frame or message) from SUT 106 or other entities Suitable entity (for example, one or more NIC or communication module).In some embodiments, monitor 212 may include or Indicate one or more ports for receiving flow from SUT 106 and/or other entities.For example, monitor 212 can be from SUT 106 receives test packet.In some embodiments, monitor 212 may include for identifying dependence test message Function.For example, monitor 212 can analyze message parameter, such as the source media access control address (MAC) and target MAC (Media Access Control) address, To determine flow identifier associated with the message received.In this example embodiment, flow identifier can be used for identifying special packet Stream, and can be used for distinguishing the flow of each flow point analysis.
TSN scheduling fidelitys module 214 can indicate any suitable entity (for example, holding on at least one processor Capable software), it is used to determine that SUT 106 realizes TSN scheduling 210 or the loyalty of related scheduling rule or order of accuarcy.For example, TSN scheduling fidelitys module 214 can analyze the flow of capture, and based on TSN scheduling 206 and/or use the message received Timing information accurately realize TSN scheduling 210 to determine that SUT 106 is more.In this example embodiment, TSN dispatches fidelity Module 214 can be directed to each message flow and/or each test iteration operating analysis.
In some embodiments, 214 or another module of TSN scheduling fidelitys module can be with test gate accuracy.For example, SUT 106 is configured with scheduling rule, which requires message to start to transmit after transmission gate is opened, but requires The not any part of transmitting message after the door is closed.In this example embodiment, for the realization of test gate accuracy, SUT 106 can To be configured with TSN scheduling 210, speaker 208 can be used for the flow of different queue, and monitor 212 from different port transmissions And/or another module can be verified and meet scheduling rule of the TSN scheduling 210 in terms of door accuracy (for example, in test iteration Period transmits the statistical data that transfinites and remains zero).
It should be appreciated that Fig. 2 is to be for the purpose of illustration, and it can change, change, add or remove above for Fig. 2 Various nodes and/or module, the position and/or function of description.It should be appreciated that speaker 208 can also receive at least some flows, Monitor 212 can also send at least some flows, and it is this be termed to it is convenient rather than in order to indicate to speaker 208 Or the limitation of monitor 212.
Fig. 3 is the diagram for showing to carry out the exemplary test system 102 of time synchronization using external master clock 302.Unless another It is described, otherwise the test system 102 described in Fig. 3 and correlation module or entity may include similar with being described about Fig. 2 Function.
With reference to figure 3, discribed test environment 300 may involve the use of external master clock 302 to test SUT106.Master clock 302 can indicate to indicate for generated time and/or any suitable entity for the retention time is (for example, software, hardware And/or firmware).Master clock 302 can be independently of test system 102 and/or separated, and is configurable to be directed to the time Synchronous purpose provides time synchronization message to various entities (such as from clock).In some embodiments, master clock 302 can To be optimal master clocks of gPTP or PTP or including similar functions.
In some embodiments, synchronization module 202 or another module tested in system 102 can be used as same for the time Walk the slave clock (for example, gPTP from clock) of purpose.In such embodiments, testing system 102 and SUT 106 can be from 302 receiving time synchrodata of external master clock.
It should be appreciated that Fig. 3 is to be for the purpose of illustration, and it can change, change, add or remove above for Fig. 3 Various nodes and/or module, the position and/or function of description.
Fig. 4 is to show to damage the exemplary test system 102 of transmitted test packet using damage module (IM) 402 Diagram.Unless otherwise stated, the test system 102 and correlation module or entity described in Fig. 4 may include being retouched about Fig. 2 The similar function of stating.
With reference to figure 4, discribed test environment 400 can be related to testing SUT 106 using IM 402.IM402 can be with table Show any suitable entity (for example, the software executed on at least one processor), is used in test iteration or part thereof Middle adjustment transmitting and scheduling parameter and/or modification message or message content.For example, IM 402 can change the report of test packet Literary size, fuzzy data is added to test packet, modification test packet in data or change test packet when or such as What is transmitted (for example, triggering test packet, makes it be transmitted before or after some time for dispatching 206 according to TSN).? In another example, IM 402 with dropping packets or can resequence to the test packet for being sent to SUT 106.
In some embodiments, synchronization module 202 or the correlation module tested in system 102 can be used as same for the time The master clock (for example, the optimal master clocks of gPTP or PTP) of purpose is walked, and SUT 106 can be same from test 102 receiving time of system Step data, so that its own clock is synchronous with test system clock.
In some embodiments, synchronization module 202 or another module tested in system 102 can be used as same for the time Walk the slave clock (for example, gPTP or PTP from clock) of purpose.In such embodiments, system 102 and SUT 106 are tested It can be from external master clock (for example, the optimal master clocks of gPTP or PTP) receiving time synchrodata.
In some embodiments, IM 402 may include for changing the function of transmitting and scheduling parameter, to determine SUT The possible flank speed and/or possible minimum time shaping window that 106 and/or its TAS can be handled correctly, for example, not Must be more than expected reception incubation period window or frame loss threshold window.For example, test system 102 and/or one or more phases The test using dichotomizing search can be configured by closing module, for changing transmitting and scheduling parameter, to determine that test appropriate is defeated Go out limiting threshold value or window.In this example embodiment, STM user 110 can configure or control the institute of TSN scheduler configuration files There is aspect.In some embodiments, the default control of the various parameters of TSN schedulers configuration file can be used for one or many It tests in iteration, to determine or export TAS accuracy convergences.
In some embodiments, IM 402 may include for changing for testing admission control and/or SUT 106 The function of the message size of the test grouping of other functions.For example, test system 102 and/or one or more correlation modules can The test packet of all size is transmitted (for example, it is contemplated that the grouping of size to SUT 106 to configure from various message queues or port With more than expected or allow the grouping of size) test.In this example embodiment, SUT 106 is configurable to have strategy, the plan It slightly abandons " excessive " message (for example, more than any message of predetermined maximum message segment sizes values) while forwarding every other message Or it is relayed to monitor 212.Continue the example, in order to determine whether the strategy is accurately realized at SUT 106, monitor 212 and/or another module (for example, STM 104) can verify whether correctly abandoned excessive frame in each queue.
It should be appreciated that Fig. 4 is to be for the purpose of illustration, and it can change, change, add or remove above for Fig. 4 Various nodes and/or module, the position and/or function of description.In addition, although IM 402 is described as detaching with speaker 208, It is it should be appreciated that when run various damaged functions described herein, IM 402 and/or correlation function can combine/or it is sharp With another module in speaker 208 or test system 102.
Fig. 5 is the diagram for showing exemplary test system 102 and individual speaker 502.Unless otherwise stated, in Fig. 5 The test system 102 and correlation module or entity of description may include and the similar function that is described about Fig. 2.
With reference to figure 5, discribed test environment 500 may involve the use of individually (for example, independently of test system) speaker 502 test SUT 106.Speaker 502 can indicate for SUT 106 or other entity transmission messages (for example, frame or report Text) any suitable entity (for example, TSN devices), and can be operated independently of test system 102.For example, speaker 502 can be the practical TSN elements in SUT 106 or another entities, such as (non-test) TSN of enabling.In this example embodiment, it surveys Test system 102 may include monitor 212, but can abandon from inside or speaker associated with test system is (for example, say Person 208) send test packet.
In some embodiments, SUT 106 can be combined or including speaker 502 or correlation function.For example, SUT 106, Such as using speaker 502 or correlation function, TSN scheduling 210 can be used to generate the flow of stream.In this example In, one or more ports associated with monitor 212 can be sent traffic to.
In some embodiments, for example, the case where speaker 502 detaches with both test system 102 and SUT 106 Under, speaker 502 can use TSN scheduling 504 to generate the flow flowed.In this example embodiment, flow can be sent to and SUT 106 Associated one or more port.Continue the example, SUT 106 can use 210 processing of TSN scheduling from speaker's 502 Flow and send at least some flows to test system 102.In some embodiments, synchronization module 202 or test system Correlation module in 102 can be used as the master clock (for example, the optimal master clocks of gPTP) for time synchronization purpose, and SUT 106 can be from test 102 receiving time synchrodata of system, so that its own clock is synchronous with test system clock.
In some embodiments, synchronization module 202 or another module tested in system 102 can be used as same for the time Walk the slave clock (for example, gPTP from clock) of purpose.In such embodiments, testing system 102 and SUT 106 can be from External master clock (for example, the optimal master clocks of gPTP) receiving time synchrodata.
In some embodiments, TSN is dispatched fidelity module 214 and can be dispatched 206 using TSN receives to analyze Flow.In some embodiments, each message flow can be directed to and input and store expected message flow data and associated pre- Phase receives scheduling data.For example, TSN scheduling 206, which may include expected message flow data and associated expected receive, dispatches number According to (for example, for reception latency change information of each TSN streams).In this example embodiment, it can provide before test or really Determine TSN scheduling 206 and/or relevant information.
In some embodiments, for example, message flow by with test system 102 be not directly relevant to connection speaker 502 (or Other TSN elements) generate in the case of, STM user 110 or other users can be manually that TSN dispatches 206 and/or TSN tune Degree fidelity module 214 provides expected data.For example, STM user 110 (for example, network operator and/or tester) can be with Control is applied to speaker 502 and/or is known that the information dispatched about TSN used in speaker 502.In this example embodiment, STM User 110 can provide expected data to test system 102 and/or module therein.
In some embodiments, system, device or module (for example, TSN Scheduler modules) can be automatically TSN Scheduling 206 and/or TSN scheduling fidelitys module 214 provides expected data.For example, system can be based on observation, query node or Database (for example, via API), test specification or other technologies are dispatched to determine, export or identify TSN.In some embodiment party In case, monitor 212 is configurable to for identifying the message flow received from one or more ports, so as to based on each stream come Identify receive message and/or by the message of reception with expection message data it is associated.For example, monitor 212 can identify or Obtain about one or more message parameters (for example, the source media access control address (MAC) and target MAC (Media Access Control) address) information with As flow identifier, it can be used for uniquely identifying special packet stream.In this example embodiment, monitor 212 can use fail to be sold at auction Symbol is known, to adjust the data of received packet with expected message flow data and associated expected receive based on each message flow Degrees of data is associated, and the expected scheduling data that receive receive scheduling variation/window information including for example expected.
In some embodiments, TSN dispatches fidelity module 214 and can determine that SUT 106 realizes the loyalty of TSN scheduling 210 Reality or order of accuarcy.For example, TSN scheduling fidelitys module 214 can use the timing information for receiving message and expected timing to believe It ceases to analyze each message flow, to determine the performance-relevant various statistical data with SUT 106.
In some embodiments, statistical data and/or other test related datas can be presented to STM user 110.Example Such as, monitor 212 or in which port be configurable to only outlet tracking (egress tracking only) pattern under grasp Make.In this example embodiment, only export tracing mode in, monitor 212 or in which port can by read message in Special packet field (for example, parameter value) and/or particular offset identify association message, with message that each stream is received into Row counts.Continue the example, only export tracing mode in, monitor 212 or in which port can use or read or The signature based on test system in received packet is not used or reads.
In some embodiments, it can calculate and/or present TSN scheduling fidelity relevant statistics.For example, test System 102 or TSN scheduling fidelitys module 214 can be stabbed using the real time of expected test message data and message to identify The incremental time of test packet in one or more message flows is (for example, message is expected the time reached and message is actually reached Time between difference).In this example embodiment, incremental time can show or be portrayed as line or block diagram, such as wherein x-axis indicates The quantity of message, y-axis indicate time quantum (such as nanosecond).
In some embodiments, it can determine that TSN dispatches fidelity phase using packet capture and related derived information Close statistical data.For example, STM user 110 can check the receiving time of message manually.In another example, STM user 110 Counting messages Data View can be selected, wherein counting messages Data View can be used passes through under real-time or captured offline pattern Various counting messages data are shown by the data of packet capture analysis acquisition.
It should be appreciated that Fig. 5 is to be for the purpose of illustration, and it can change, change, add or remove above for Fig. 5 Various nodes and/or module, the position and/or function of description.
Fig. 6 is the diagram for showing to execute the exemplary test system 102 of test using network shunt device 602-606.Unless It is otherwise noted, test system 102, STM 104 and the SUT 106 otherwise described in Fig. 6 may include and about class described in Fig. 1 As function, the synchronization module 202 and IM 402 described in Fig. 6 may include with about function similar described in Fig. 4, and The speaker 502 described in Fig. 6 may include with about function similar described in Fig. 5.
With reference to figure 6, discribed test environment 600 can relate to test SUT by using network shunt device 602-606 106, to obtain and analyze the flow between independent or independent speaker 502 and independent or independent monitor 608.Network shunt Device 602-606 can indicate any suitable entity, be used to replicate message or related data across one or more links And for the message or related data to be sent to one or more destinations (such as STM 104).
Speaker 502 can indicate for any conjunction to SUT 106 or other entity transmission messages (for example, frame or grouping) Suitable entity (for example, TSN devices), and can be operated independently of test system 102.For example, speaker 502 can be enabled (non-test) TSN in practical TSN elements.Monitor 608 can be indicated for receiving message from SUT 106 or other entities Any suitable entity (for example, TSN devices) of (for example, frame or message), and can be grasped independently of test system 102 Make.For example, monitor 608 can be the practical TSN elements enabled in (non-test) TSN.
In some embodiments, synchronization module 202 or the correlation module tested in system 102 can be used as same for the time The master clock (for example, the optimal master clocks of gPTP) of purpose is walked, and SUT 106 can be from the test same step number of 102 receiving time of system According to so that its own clock is synchronous with test system clock.
In some embodiments, synchronization module 202 or another module tested in system 102 can be used as same for the time Walk the slave clock (for example, gPTP from clock) of purpose.In such embodiments, testing system 102 and SUT 106 can be from External master clock (for example, the optimal master clocks of gPTP) receiving time synchrodata.
In some embodiments, test environment 600 can be used for TSN deployment tests, such as debugging TSN schedulers or enabling (non-test) environment in other nodes or problem.For example, being arranged using shown in Fig. 6, system 102 and/or STM are tested 104 can analyze and/or mark by observing flow (including injection and/or impaired flow from IM 402 or other entities) Know various problems.In this example embodiment, test system 102 and/or STM 104 can use the timing from the flow observed to believe (such as timestamp) and other information (such as based on expection receiving time of known TSN scheduling 206) are ceased to determine scheduling error Or other problems.
Some example test targets of test environment 600 may include:Analyzing SUT 106 (for example, message relay device) is It is no correctly TSN to be forwarded to be grouped based on the network scheduling configured;It is dry by being generated between speaker 502 and monitor 608 Disturb or additional flow (for example, using IM 402) come analyze TSN priorization robustness;By generation by SUT 106 or each The interference flow of repeater is planted to analyze the robustness of TSN priorizations;Analyze TSN grouping damage (such as delay, burst, again New sort, discarding, damage) how or whether influence SUT 106;And analysis TSN grouping damage (such as delay, burst, again New sort, discarding, damage) how or whether influence monitor 608.
It should be appreciated that Fig. 6 is to be for the purpose of illustration, and it can change, change, add or remove above for Fig. 6 Various nodes and/or module, the position and/or function of description.
Fig. 7 is the diagram for showing the scheduler mistake after testing TSN elements.In some embodiments, test system System 102, STM 104 or another modules (TSN scheduling fidelitys module 214) may include for using block diagram 700 or other figures Graphic data representation generates and shows the function of TSN scheduler relevant errors.For example, as shown in fig. 7, block diagram 700 can needle Notable burr in the grouping instruction TSN scheduler relevant errors transmitted to every 100.
In some embodiments, system 102, STM 104 or another modules are tested (TSN dispatches fidelity module 214) It may include the function for showing or presenting various statistical data, preference and/or display setting to STM user 110.For example, surveying Test system 102 or STM 104 can allow STM user 110 to configure or change and 700 relevant attribute of block diagram, including x coordinate With y-coordinate and relevant scaling.
It should be appreciated that Fig. 7 is to be for the purpose of illustration, and different and/or additional data can be used and/or shown Show technology show column Figure 70 0 or in which data.
Fig. 8 is the figure for showing to report the incubation period receiver (latency bin) of result 800 after testing TSN elements Solution.In some embodiments, system 102, STM 104 or another modules (for example, TSN scheduling fidelitys module 214) are tested It may include for traffic classification will to be tested to the function in incubation period receiver.Each incubation period receiver can indicate with accordingly Measurement or the derived associated time span of TSN schedulers correlated error (such as microsecond).For example, as shown in figure 8, result 800 can indicate the error of the caused significant quantity between the incubation period of 480 and 500 microseconds.
In some embodiments, system 102, STM 104 or another modules are tested (TSN dispatches fidelity module 214) It may include the function for showing or presenting various statistical data, preference and/or display setting to STM user 110.For example, surveying Test system 102 or STM 104 can allow STM user 110 to match when selection can be used for describing the incubation period receiver of result 800 Set or change sorting algorithm.
It should be appreciated that Fig. 8 is to be for the purpose of illustration, and different and/or additional data can be used and/or shown Show technology to show result 800.
Fig. 9 is the message figure for illustrating to test the message sending strategy of TSN elements.With reference to figure 9, test environment 900 can wrap Include the speaker 208 for test packet to be sent or transmitted to SUT 106 and the monitor for receiving test packet from SUT 106 212.Test environment 900 can be used for testing message sending strategy (for example, Qci policy developments) associated with SUT 106, wherein SUT 106 may include gPTP relay functions.For example, whether test environment 900 can be used for test packet sending strategy in SUT 106 Correctly realized (for example, operating as intended) in place.In this example embodiment, the message sending strategy tested can be related to being discarded in The gPTP messages received except the reception window of permission, and forward or relayed in the reception window of permission to monitor 212 The gPTP messages of reception.
In some embodiments, speaker 208 or the correlation module tested in system 102 can be used as being directed to time synchronization mesh Master clock (for example, the optimal master clocks of gPTP), and SUT 106 can be from 208 receiving time synchrodata of speaker with synchronization The clock of SUT oneself.
With reference to figure 9, in step 901, first gPTP message can be sent to SUT 106 from speaker 208, and can It is received except window with being received in the gPTP of permission.
In step 902, first gPTP message can be sent to monitor 212 from SUT 106.Because first GPTP messages are sent to SUT 106, even if it is to receive to receive except window in the gPTP of permission, so test system 102 or correlation module can determine that the tested message sending strategy at SUT 106 is not appropriately carried out or configures.
In box 903, second gPTP message can be sent to SUT 106 from speaker 208, and can allow GPTP receive window in be received.
In step 904, second gPTP message can be sent to according to tested message sending strategy from SUT 106 Monitor 212.
In box 905, third gPTP messages can be sent to SUT 106 from speaker 208, and can allow GPTP receive window except be received.Third gPTP messages can be dropped according to tested message sending strategy.
In box 906, the 4th gPTP message can be sent to SUT 106 from speaker 208, and can allow GPTP receive window in be received.
In step 907, the 4th gPTP message can be sent to according to tested message sending strategy from SUT 106 Monitor 212.
In some embodiments, test system 102, STM 104 or another modules can be analyzed, export and/or be determined About SUT 106 and/or the performance information of its function.For example, test system 102 can be for example using the result described in Fig. 9 To determine:Except the reception window in permission when the gPTP messages of the reception more than 5 seconds, then the realization for being tested message sending strategy is lost It loses;But works as and receive gPTP messages within the reception window of permission or except the reception window of permission at 5 seconds or less When receiving gPTP messages in the time, then the realization of message sending strategy is tested it is anticipated that operation.
It should be appreciated that Fig. 9 is to be for the purpose of illustration, and can be by different and/or additional message and/or action For testing SUT 106 and/or relevant action.It is also understood that the application is about Fig. 9 various messages described and/or action Can in a different order or sequence occur.In addition, it should be understood that can use test system 102 described herein and/or Function tests various other aspects of SUT functions and/or configuration.
Figure 10 is the block diagram for showing the instantiation procedure 1000 for testing TSN elements.In some embodiments, process 1000 or part thereof can be run by test system 102, STM 104, SUT 106 and/or another node or module.In some implementations In scheme, instantiation procedure 1000 may include box 1002,1004 and/or 1006.
Reference example process 1000, in box 1002, test system clock can be synchronous with the clock at SUT 106. For example, STM 104 or synchronization module 202 be may include, communicated using test system clock or with test system clock.In the example In son, the clock at synchronous test system clock and SUT 106 can be carried out using gPTP or another time synchronization protocols.Another In example, SUT 106 and test system 102 can use the external time from the time source based on GPS to input.
In some embodiments, test system clock is configurable to as master clock or from clock, for making test System clock is synchronous with the clock at SUT 106.For example, test system clock may be used as the optimal master clocks of PTP, and can be with Time synchronization data are provided to SUT 106.In another example, test system clock may be used as from clock, and can be from The optimal master clock receiving time synchrodatas of PTP.
In box 1004, sequence of message can be received.Sequence of message can use scheduling rule associated with TSN streams To generate.For example, the scheduling rule (for example, TSN scheduling 210) at SUT 106 can be with the scheduling rule at test system 102 Scheduling rule at (for example, TSN scheduling 206) or other related entities is similar or identical.In this example embodiment, scheduling rule can be with SUT 106 is supplied to by test system 102, STM 104 or correlation module before testing SUT 106.
In some embodiments, the sequence of message received at test system 102 can be by SUT 106, test system 102 or speaker's device (such as speaker 502) for being detached with SUT 106 and test system 102 send.
In some embodiments, such as at test system 102 and before receiving sequence of message from SUT 106, 206 generation test packet sequence of TSN scheduling can be used and be transmitted to SUT 106.
In some embodiments, it may include embedded in each test packet (for example, grouping) to generate test packet High Precision Time Stamps and/or the expected packet latency received.For example, by information as insertion, test system 102 can be with Various statistical data and/or other timing correlation measures can be quickly generated.
In some embodiments, such as at test system 102 and before receiving sequence of message from SUT 106, It can determine, select or realize the TSN scheduling of message flow associated with the test of SUT.
In some embodiments, test system 102 is configurable to for providing scheduling rule to SUT 106, wherein The scheduling rule can be associated with TSN scheduling.
In some embodiments, it may include the transmission for dispatching each test packet to transmit test packet to SUT 106, Or it dispatches the transmission of the first test packet and transmits follow-up test message using flow delay information and message rate.For example, STM 104 or TSN Scheduler modules 204 can generate the list comprising the message to be transmitted and transmit the time of each message Transmitting message is dispatched.In this example embodiment, transmitting message scheduling can be used in the scheduled each message of time tranfer.Another In one example, STM 104 or TSN Scheduler modules 204 can generate the list comprising the message to be transmitted and transmission first The transmitting message of the time of message is dispatched.In this example embodiment, transmitting message scheduling can be with flow delay information, circulation time parameter Information and/or expected message rate are used for transmission first message and subsequent packet together.
In some embodiments, test packet sequence is transmitted to SUT 106 to may include sending at least one impaired test Message, wherein at least one impaired test packet have the message size different from expection, fuzzy data, with different from expection Sequence send, or can be sent except the acceptable time section of scheduling rule based on one or more.For example, working as to SUT When 106 transmission test packet, IM 402 can adjust related to TSN 206 associated test packet attributes of scheduling and/or transmission Parameter.
In box 1006, timing information associated with system clock is tested can be used whether to determine scheduling rule It is accurately realized by SUT 106.In some embodiments, determining whether scheduling rule is accurately realized by SUT 106 can wrap It includes based on message data (for example, the High Precision Time Stamps being embedded in test packet and/or expected packet latency received) Incubation period and grouping information measurements of arrival time value are used with the scheduling information about association message stream.
In some embodiments, test system 102 is configurable to for testing one or more run by SUT 106 A function or by the one or more TSN standards realized of SUT 106 or agreement.For example, test system 102 is configurable to use In:Testing time synchronous protocol configures the redundancy in gateway;Testing time synchronous protocol configures the timing in gateway;Test is reserved Agreement flow;The reservation protocol scalability of testing and control level;Test speaker;Analyze Bandwidth guaranteed;Analyze incubation period;Analysis With the test relevant scheduler of speaker;Test repeater;The relevant scheduler of analysis and test repeater;It is optimal to test stand-by heat Master clock or master clock;Non- TSN elements are tested to TSN gateways;Test frame is replicated and is eliminated;Test the seamless of interchanger and endpoint Redundancy;Test gate accuracy;It tests TSN and dispatches fidelity;Test the admission control of TSN elements;Test inappropriate big small messages Drop policy;The interaction of test and fiduciary reshaper or other reshapers (for example, non-TAS);Test the reality in TAS When configuration change;And/or test configurations update.
It should be understood that process 1000 is for explanatory purposes, and different and/or additional action can be used.Also It should be appreciated that various actions described herein can in a different order or sequence occur.
It should be noted that test system 102, STM 104, and/or various modules described herein or function may be constructed Dedicated computing platform, device or system.For example, test system 102 can be the IxNetwork manufactured by IxiaTMTest equipment, And it is configured for operation aspects described herein.In addition, test system 102, STM 104 and/or the application institute The various modules or function stated can improve the skill of network test by providing for testing the feasible solution of TSN elements Art field.
It should be appreciated that in the case where not departing from the range of subject content described herein, thus it is possible to vary the application retouches The various details for the subject content stated.In addition, the description of front is merely for illustrative purposes, rather than for the mesh of limitation , because subject content described herein is defined by the appended claims.

Claims (10)

1. the method that one kind being used for testing time sensitive network (TSN) element, this method include:
At test system:
Keep test system clock synchronous with the clock at system under test (SUT) (SUT);
Sequence of message is received, wherein using scheduling rule associated with TSN streams to generate the sequence of message;And
Determine whether the scheduling rule is accurate by the SUT using timing information associated with the test system clock It realizes on ground.
2. method of claim 1, including:
Before receiving the sequence of message:
Test packet sequence is generated using the scheduling rule;And
The test packet sequence is transferred to the SUT.
3. the method for claim 2, wherein by the test packet sequence be sent to the SUT include send it is at least one by Damage test packet, wherein at least one impaired test packet have the message size different from expection, fuzzy data, with It is expected that different sequences is sent, or sent except the acceptable time section based on the scheduling rule.
4. the method for claim 2, wherein the test packet sequence, which is transferred to the SUT, includes:
Dispatch the transmission of each message in the test packet sequence;Or
The transmission of first message in the test packet sequence is dispatched, and is passed using flow delay information and message rate Defeated follow-up test message.
5. the method for claim 2, including:
At the test system and before generating the test packet sequence:
Determine the TSN scheduling of TSN streams associated with the test of the SUT.
6. the method for claim 2, including:
At the test system:
Scheduling rule associated with TSN streams is provided for the SUT.
7. the method for claim 1 wherein determine whether the scheduling rule is accurately realized by the SUT including using base In message time stamp and the incubation period about the TSN scheduling informations flowed and grouping information measurements of arrival time value.
8. the method for claim 1 wherein the test system clock is configured for use as master clock or from clock, for making It is synchronous with the clock at the SUT to state test system clock.
9. a kind of system for testing TSN elements using the method for any one of claim 1-8.
10. the equipment that one kind being used for testing time sensitive network (TSN) element, the equipment include:
Test system comprising:
Component for keeping test system clock synchronous with the clock at system under test (SUT) (SUT);
Component for receiving sequence of message, wherein using scheduling rule associated with TSN streams to generate the sequence of message; And
Determine the scheduling rule whether by the SUT for using timing information associated with the test system clock The component accurately realized.
CN201810373217.5A 2017-04-25 2018-04-24 Methods, systems, and computer readable media for testing Time Sensitive Network (TSN) elements Active CN108737003B (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
ROA002462017 2017-04-25
RO201700246 2017-04-25

Publications (2)

Publication Number Publication Date
CN108737003A true CN108737003A (en) 2018-11-02
CN108737003B CN108737003B (en) 2021-10-26

Family

ID=63939766

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810373217.5A Active CN108737003B (en) 2017-04-25 2018-04-24 Methods, systems, and computer readable media for testing Time Sensitive Network (TSN) elements

Country Status (1)

Country Link
CN (1) CN108737003B (en)

Cited By (22)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10609054B2 (en) 2017-04-07 2020-03-31 Keysight Technologies Singapore (Sales) Pte. Ltd. Methods, systems, and computer readable media for monitoring, adjusting, and utilizing latency associated with accessing distributed computing resources
US10623297B2 (en) 2017-04-25 2020-04-14 Keysight Technologies Singapore (Sales) Pte. Ltd. Methods, systems, and computer readable media for testing scheduling fidelity in a time sensitive network
CN111385164A (en) * 2018-12-29 2020-07-07 江苏迪纳数字科技股份有限公司 Communication protocol gateway function test method for actively reporting multi-protocol free combination message
CN111416752A (en) * 2020-02-19 2020-07-14 重庆邮电大学 Test method for time-sensitive network data frame scheduling
CN111436048A (en) * 2019-02-03 2020-07-21 维沃移动通信有限公司 Method and communication device for supporting time-sensitive communication
CN111970137A (en) * 2019-05-20 2020-11-20 华为技术有限公司 Method, device and system for communication among controllers in TSN (traffic service network)
WO2021004191A1 (en) * 2019-07-09 2021-01-14 华为技术有限公司 Method and apparatus for supporting time sensitive network
CN112291161A (en) * 2020-10-10 2021-01-29 燕山大学 Time-sensitive network mixed flow scheduling method
US10965392B2 (en) 2019-01-25 2021-03-30 Keysight Technologies, Inc. Active network tap supporting time sensitive network (TSN) standards
CN112804124A (en) * 2021-02-03 2021-05-14 上海交通大学 Test bed and test method for time-sensitive network equipment
CN113225266A (en) * 2021-03-17 2021-08-06 西安电子科技大学 TAS scheduling method and device on quasi-dynamic platform
CN113228537A (en) * 2019-01-11 2021-08-06 高通股份有限公司 Wireless communication enhancements for transparent and boundary clocks
CN113347065A (en) * 2021-08-03 2021-09-03 之江实验室 Flow scheduling test device and method in time-sensitive network
CN114095445A (en) * 2020-07-29 2022-02-25 华人运通(上海)自动驾驶科技有限公司 Data transmission control method and device for vehicle-mounted Ethernet, electronic equipment and storage medium
CN114450916A (en) * 2019-09-27 2022-05-06 株式会社Ntt都科摩 Session management device, user plane device and access mobility management device
US11444831B2 (en) 2020-01-17 2022-09-13 Keysight Technologies, Inc. Methods, systems, and computer readable media for measuring schedule update time for a time aware shaper implementation
WO2022193860A1 (en) * 2021-03-15 2022-09-22 中兴通讯股份有限公司 Data transmission method and apparatus, electronic device, and storage medium
US11502932B2 (en) 2019-05-17 2022-11-15 Keysight Technologies, Inc. Indirect testing using impairment rules
CN115361324A (en) * 2022-08-22 2022-11-18 中国第一汽车股份有限公司 Clock synchronization automatic test system and method
CN115413403A (en) * 2020-05-07 2022-11-29 高通股份有限公司 Facilitating time synchronization functionality at a user equipment
US11563768B2 (en) 2019-01-31 2023-01-24 Keysight Technologies, Inc. Methods, systems, and computer readable media for detecting and mitigating effects of timing attacks in time sensitive networks
CN115413403B (en) * 2020-05-07 2024-05-24 高通股份有限公司 Facilitating time synchronization functionality at a user device

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101631080A (en) * 2009-08-14 2010-01-20 重庆邮电大学 Industrial Ethernet switch based on EPA protocol and message forwarding method
CN101854268A (en) * 2009-04-04 2010-10-06 华为技术有限公司 Method, device and system of IP (Internet Protocol) network performance measurement as well as method, device and system of IP network service quality control
US20150103828A1 (en) * 2013-10-15 2015-04-16 National Instruments Corporation Time-Sensitive Switch for Scheduled Data Egress

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101854268A (en) * 2009-04-04 2010-10-06 华为技术有限公司 Method, device and system of IP (Internet Protocol) network performance measurement as well as method, device and system of IP network service quality control
CN101631080A (en) * 2009-08-14 2010-01-20 重庆邮电大学 Industrial Ethernet switch based on EPA protocol and message forwarding method
US20150103828A1 (en) * 2013-10-15 2015-04-16 National Instruments Corporation Time-Sensitive Switch for Scheduled Data Egress

Cited By (29)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10609054B2 (en) 2017-04-07 2020-03-31 Keysight Technologies Singapore (Sales) Pte. Ltd. Methods, systems, and computer readable media for monitoring, adjusting, and utilizing latency associated with accessing distributed computing resources
US10623297B2 (en) 2017-04-25 2020-04-14 Keysight Technologies Singapore (Sales) Pte. Ltd. Methods, systems, and computer readable media for testing scheduling fidelity in a time sensitive network
CN111385164A (en) * 2018-12-29 2020-07-07 江苏迪纳数字科技股份有限公司 Communication protocol gateway function test method for actively reporting multi-protocol free combination message
CN111385164B (en) * 2018-12-29 2021-11-30 江苏迪纳数字科技股份有限公司 Communication protocol gateway testing method for actively reporting multi-protocol free combination message
CN113228537A (en) * 2019-01-11 2021-08-06 高通股份有限公司 Wireless communication enhancements for transparent and boundary clocks
CN113228537B (en) * 2019-01-11 2024-03-26 高通股份有限公司 Wireless communication enhancements for transparent and boundary clocks
US10965392B2 (en) 2019-01-25 2021-03-30 Keysight Technologies, Inc. Active network tap supporting time sensitive network (TSN) standards
US11563768B2 (en) 2019-01-31 2023-01-24 Keysight Technologies, Inc. Methods, systems, and computer readable media for detecting and mitigating effects of timing attacks in time sensitive networks
CN111436048B (en) * 2019-02-03 2022-03-01 维沃移动通信有限公司 Method and communication device for supporting time-sensitive communication
CN111436048A (en) * 2019-02-03 2020-07-21 维沃移动通信有限公司 Method and communication device for supporting time-sensitive communication
US11502932B2 (en) 2019-05-17 2022-11-15 Keysight Technologies, Inc. Indirect testing using impairment rules
CN111970137A (en) * 2019-05-20 2020-11-20 华为技术有限公司 Method, device and system for communication among controllers in TSN (traffic service network)
US11811511B2 (en) 2019-05-20 2023-11-07 Huawei Technologies Co., Ltd. Method, apparatus, and system for communication between controllers in TSN
WO2021004191A1 (en) * 2019-07-09 2021-01-14 华为技术有限公司 Method and apparatus for supporting time sensitive network
CN114450916A (en) * 2019-09-27 2022-05-06 株式会社Ntt都科摩 Session management device, user plane device and access mobility management device
US11444831B2 (en) 2020-01-17 2022-09-13 Keysight Technologies, Inc. Methods, systems, and computer readable media for measuring schedule update time for a time aware shaper implementation
CN111416752B (en) * 2020-02-19 2022-05-17 重庆邮电大学 Test method for time-sensitive network data frame scheduling
CN111416752A (en) * 2020-02-19 2020-07-14 重庆邮电大学 Test method for time-sensitive network data frame scheduling
CN115413403B (en) * 2020-05-07 2024-05-24 高通股份有限公司 Facilitating time synchronization functionality at a user device
CN115413403A (en) * 2020-05-07 2022-11-29 高通股份有限公司 Facilitating time synchronization functionality at a user equipment
CN114095445A (en) * 2020-07-29 2022-02-25 华人运通(上海)自动驾驶科技有限公司 Data transmission control method and device for vehicle-mounted Ethernet, electronic equipment and storage medium
CN112291161A (en) * 2020-10-10 2021-01-29 燕山大学 Time-sensitive network mixed flow scheduling method
CN112804124B (en) * 2021-02-03 2022-10-25 上海交通大学 Test bed and test method for time-sensitive network equipment
WO2022166694A1 (en) * 2021-02-03 2022-08-11 上海交通大学 Test system and test method for time-sensitive network device
CN112804124A (en) * 2021-02-03 2021-05-14 上海交通大学 Test bed and test method for time-sensitive network equipment
WO2022193860A1 (en) * 2021-03-15 2022-09-22 中兴通讯股份有限公司 Data transmission method and apparatus, electronic device, and storage medium
CN113225266A (en) * 2021-03-17 2021-08-06 西安电子科技大学 TAS scheduling method and device on quasi-dynamic platform
CN113347065A (en) * 2021-08-03 2021-09-03 之江实验室 Flow scheduling test device and method in time-sensitive network
CN115361324A (en) * 2022-08-22 2022-11-18 中国第一汽车股份有限公司 Clock synchronization automatic test system and method

Also Published As

Publication number Publication date
CN108737003B (en) 2021-10-26

Similar Documents

Publication Publication Date Title
CN108737003A (en) For testing time sensitive network(TSN)Method, system and the computer-readable medium of element
US10425321B2 (en) Methods, systems, and computer readable media for testing time sensitive network (TSN) elements
AU2019214925B2 (en) Systems and methods for broadband communication link performance monitoring
Antichi et al. OSNT: Open source network tester
Rotsos et al. OFLOPS: An open framework for OpenFlow switch evaluation
US9306819B2 (en) Controller driven OAM for split architecture network
US9450846B1 (en) System and method for tracking packets in a network environment
US11502932B2 (en) Indirect testing using impairment rules
CN105723657B (en) Switch, controller, system and link quality detection method
CN103384986B (en) The automatic capture of network delay ingredient
CN105359461A (en) Performance measurement of a link of a packet-switched communication network
GB2426886A (en) Measuring a delay time metric
US11916660B2 (en) TSN operation management system with time capture location protocol
CN104734907B (en) A kind of method for actively measuring OpenFlow network end-to-end path performances and its used system
Jarschel et al. On the accuracy of leveraging SDN for passive network measurements
US11121938B2 (en) Performance measurement in a packet-switched communication network
US10715406B2 (en) Flow sample
CN106936664B (en) Software defined network path performance testing device and method
Steinert et al. Observing software-defined networks using a decentralized link monitoring approach
Asjadulla Deployment and empirical verification of real-time schedules
İckin Implementation of measurement module for seamless vertical handover
Kirdan et al. Real-Time Performance of OPC UA
Kannan Improving Network Diagnostics Using Programmable Networks
Morton Performance metrics for all
Madanagopal A tool for measuring available network bandwidth in the cloud

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
TA01 Transfer of patent application right

Effective date of registration: 20181205

Address after: Singapore Singapore

Applicant after: Deutsche Technologies Singapore (Sales) Private Limited

Address before: Singapore Singapore

Applicant before: Tak Technology Singapore (Holdings) Pte Ltd

TA01 Transfer of patent application right
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant