[go: up one dir, main page]

CN110572295A - A test method for verifying SSM response rules - Google Patents

A test method for verifying SSM response rules Download PDF

Info

Publication number
CN110572295A
CN110572295A CN201810583768.4A CN201810583768A CN110572295A CN 110572295 A CN110572295 A CN 110572295A CN 201810583768 A CN201810583768 A CN 201810583768A CN 110572295 A CN110572295 A CN 110572295A
Authority
CN
China
Prior art keywords
port
ssm
ssm value
value received
synchronous ethernet
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
CN201810583768.4A
Other languages
Chinese (zh)
Other versions
CN110572295B (en
Inventor
胡昌军
李曙方
缪新育
潘峰
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China Academy of Information and Communications Technology CAICT
Original Assignee
China Academy of Information and Communications Technology CAICT
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 China Academy of Information and Communications Technology CAICT filed Critical China Academy of Information and Communications Technology CAICT
Priority to CN201810583768.4A priority Critical patent/CN110572295B/en
Publication of CN110572295A publication Critical patent/CN110572295A/en
Application granted granted Critical
Publication of CN110572295B publication Critical patent/CN110572295B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/50Testing arrangements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Environmental & Geological Engineering (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)

Abstract

本申请提供了一种验证SSM响应规则的测试方法,该方法包括:测试设备通过第一端口发送同步以太信号;被测设备通过第四端口接收到测试设备发送的同步以太信号时,按配置的SSM响应规则通过第四端口和第五端口发送响应的同步以太信号给测试设备,通过第六端口发送响应的成帧2Mb/s外定时信号给测试设备;测试设备接收到被测设备发送的同步以太信号,以及成帧2Mb/s外定时信号时,确定接收的SSM的值与配置的SSM值是否相同;并记录比较结果;当测试设备确定记录的任一比较结果为不同时,确定被测设备的SSM响应规则错误,并显示比较结果不同的记录所对应的SSM值。该方法能够提高测试效率,减少人为差错。

The present application provides a test method for verifying the SSM response rules, the method comprising: the test device sends a synchronous Ethernet signal through the first port; when the device under test receives the synchronous Ethernet signal sent by the test device through the fourth port, press the configured The SSM response rule sends the corresponding synchronous Ethernet signal to the test equipment through the fourth port and the fifth port, and sends the corresponding framed 2Mb/s external timing signal to the test equipment through the sixth port; the test equipment receives the synchronization sent by the device under test When the Ethernet signal and the framing 2Mb/s external timing signal are used, determine whether the received SSM value is the same as the configured SSM value; and record the comparison result; when the test equipment determines that any of the recorded comparison results are different, determine the tested The SSM response rule of the device is incorrect, and the SSM value corresponding to the records with different comparison results is displayed. This method can improve testing efficiency and reduce human errors.

Description

一种验证SSM响应规则的测试方法A test method for verifying SSM response rules

技术领域technical field

本发明涉及通信技术领域,特别涉及一种验证SSM响应规则的测试方法。The invention relates to the technical field of communications, in particular to a test method for verifying SSM response rules.

背景技术Background technique

同步状态消息(Synchronous Status Message,SSM),是同步网用来表示时钟质量等级的编码。目前ITU-T规定用四个bit来进行编码,这四bit即为同步状态消息字节(SSMB)。A Synchronous Status Message (SSM) is a code used by a synchronization network to indicate a clock quality level. At present, ITU-T stipulates that four bits are used for encoding, and these four bits are Synchronization Status Message Byte (SSMB).

如表1所示是ITU-T定义的适用于我国的SSM编码及其使用优先级,用以区别不同时钟质量等级信息。As shown in Table 1, the SSM codes and their usage priorities defined by the ITU-T applicable to my country are used to distinguish information of different clock quality levels.

表1Table 1

在BITS设备中,SSM是通过2Mb/s时钟信号的第一时隙(TS0)的某个bit传送的;在SDH传输网中,SSM是通过SDH段开销中S1字节的低四位来传送的;在同步以太网中,SSM是通过专门的慢协议报文(Ethernet Synchronization Messaging Channel,ESMC)报文来传送。传输设备将根据其在不同时钟端口接收到的SSM信息和端口的预置优先级来决定时钟分配和追踪的路径,并防止定时环路的发生。In BITS equipment, SSM is transmitted through a certain bit of the first time slot (TS0) of the 2Mb/s clock signal; in SDH transmission network, SSM is transmitted through the lower four bits of the S1 byte in the SDH section overhead In synchronous Ethernet, the SSM is transmitted through a special slow protocol message (Ethernet Synchronization Messaging Channel, ESMC) message. The transmission device will determine the clock distribution and tracking path according to the SSM information it receives at different clock ports and the port's preset priority, and prevent the occurrence of timing loops.

YD/T 2551-2013《基于分组网络的频率同步网技术要求》对传输设备的SSM支持能力有钟源优选顺序和响应则两方面的要求。YD/T 2551-2013 "Technical Requirements for Frequency Synchronization Networks Based on Packet Networks" has two requirements for the SSM support capability of transmission equipment: clock source optimization order and response rules.

在钟源优选顺序方面,有两个具体要求:There are two specific requirements in terms of clock source preference order:

(1)、在定时参考信号优选顺序中,无论传输设备时钟接收端口预置的优先级为何,都优先选用SSM质量等级高的时定时信号,其顺序如表1所示;(1), in the priority order of the timing reference signal, no matter what the priority of the clock receiving port of the transmission device is preset, the timing signal with a high SSM quality level is preferred, and its order is as shown in Table 1;

(2)、当不同的参考源信号具备同样的SSM质量等级时,选用在预置高优先级的时钟端口接收的定时信号。(2) When different reference source signals have the same SSM quality level, select the timing signal received at the clock port with a preset high priority.

在SSM响应规则方面,YD/T 2551-2013对传输设备的具体规定有5条:In terms of SSM response rules, YD/T 2551-2013 has 5 specific regulations on transmission equipment:

(1)、保持状态下转发SSM质量等级的规则(1) Rules for forwarding SSM quality level in hold state

在SEC/EEC丢失输入定时参考信号且无其它可用定时参考信号,SEC/EEC将进入保持状态,所有方向的同步以太网线路或STM-N线路/支路和外定时输出信号(直接导出的除外)应发送SEC/EEC时钟等级的SSM信息。In the event that the SEC/EEC loses the input timing reference signal and no other timing reference signal is available, the SEC/EEC will enter the hold state, synchronous Ethernet lines or STM-N lines/branches and external timing output signals in all directions (except direct derived ones) ) shall send SSM information at SEC/EEC clock level.

(2)、非倒换状态下转发SSM的规则(2) Rules for forwarding SSM in non-switching state

当SEC/EEC选用的定时参考信号的SSM质量等级发生变化且不引起参考倒换时,所有方向的同步以太网线路或STM-N线路/支路(反向发送DNU的除外)和外定时输出信号(直接导出的除外)应发送变化后的SSM质量等级信息。When the SSM quality level of the timing reference signal selected by SEC/EEC changes and does not cause reference switching, synchronous Ethernet lines or STM-N lines/branches in all directions (except for reverse sending DNU) and external timing output signals (Except for direct export) The changed SSM quality level information should be sent.

(3)、倒换状态下转发SSM的规则(3) Rules for forwarding SSM in switching state

当SEC/EEC选用新的定时参考信号时,所有方向的同步以太网线路或STM-N线路/支路(反向发送DNU的除外)和外定时输出信号(直接导出的除外)应发送新选用的定时参考信号的SSM质量等级信息。When a new timing reference signal is selected by SEC/EEC, synchronous Ethernet lines or STM-N lines/branches in all directions (except those transmitting DNU in the reverse direction) and external timing output signals (except those directly derived) shall transmit the newly selected The SSM quality level information of the timing reference signal.

(4)、反向发送DNU的规则(4) Rules for sending DNU in reverse

当SEC/EEC选用一个同步以太网线路或STM-N线路/支路作为定时参考信号时,其对应的反向同步以太网线路或STM-N线路/支路信号应发QL_DNU的SSM质量等级信息。When SEC/EEC selects a synchronous Ethernet line or STM-N line/branch as the timing reference signal, the corresponding reverse synchronous Ethernet line or STM-N line/branch signal should send the SSM quality level information of QL_DNU .

当外定时输出信号选择从STM-N线路/支路导出且SEC/EEC选用外定时输入信号作为定时参考信号时,而且二者的SSM质量等级相同时,其对应的反向STM-N线路/支路信号应发送QL_DNU的SSM质量等级信息。When the external timing output signal is selected to be derived from the STM-N line/branch and the SEC/EEC selects the external timing input signal as the timing reference signal, and the SSM quality level of the two is the same, the corresponding reverse STM-N line/branch The tributary signal shall transmit the SSM quality level information of QL_DNU.

(5)、外定时输出信号直接导出的规则(5) Rules for direct derivation of external timing output signals

当外定时输出信号选择从同步以太网线路或STM-N线路/支路导出时,应发送选用的同步以太网线路或STM-N线路/支路信号的SSM质量等级信息;当选用的同步以太网线路或STM-N线路/支路信号的SSM质量等级低于所设门限值或出现LOS/AIS/OOF(LOF)告警时,对于2Mb/s接口,应具有在外定时输出信号中插入AIS信息或闭塞的功能;对于2MHz接口,应具有闭塞外定时输出信号的功能。When the external timing output signal is selected to be derived from a synchronous Ethernet line or STM-N line/branch, the SSM quality level information of the selected synchronous Ethernet line or STM-N line/branch signal should be sent; when the selected synchronous Ethernet When the SSM quality level of network line or STM-N line/branch signal is lower than the set threshold value or LOS/AIS/OOF (LOF) alarm occurs, for 2Mb/s interface, it shall have the ability to insert AIS into the external timing output signal Information or blocking function; for 2MHz interface, it should have the function of blocking external timing output signal.

YD/T 2551-2013《基于分组网络的频率同步网技术要求》仅对传输设备的SSM支持能力提出钟源优选顺序和响应则两方面的要求,并未规定测试方法,当前也没有其它标准对此做出规范。YD/T 2551-2013 "Technical Requirements for Frequency Synchronization Networks Based on Packet Networks" only puts forward the requirements of clock source optimization sequence and response rules for the SSM support capability of transmission equipment, does not specify test methods, and currently there are no other standards for This is standardized.

一般的,在实际测试中测试人员会根据个人的理解,人工设置不同优先级或SSM等级的外时钟给传输设备,检查设备钟源优选顺序;再设置传输设备所跟踪的钟源的SSM等级各种变化,分别检查传输设备在其不同时钟输出端口的响应变化,以验证设备SSM响应规则。这需要测试人员逐条对照要求,根据仪表能力、设备和仪表接口状况,灵活搭建不同的测试环境,逐一测试,没有统一的测试方法。Generally, in the actual test, the testers will manually set external clocks with different priorities or SSM levels to the transmission equipment according to their personal understanding, and check the priority order of the clock sources of the equipment; and then set the SSM levels of the clock sources tracked by the transmission equipment. To verify the SSM response rules of the device, check the response changes of the transmission device at its different clock output ports. This requires testers to compare the requirements one by one, and flexibly build different test environments according to the instrument capabilities, equipment and instrument interface conditions, and test one by one. There is no unified test method.

人工测试方法存在如下缺点:测试依据测试员对标准的理解进行,测试方法不统一。The manual testing method has the following disadvantages: the test is carried out based on the tester's understanding of the standard, and the testing method is not uniform.

对应7条要求逐个进行测试,需搭建多次不同测试环境,在每个测试环境下,有时还需要遍历不同SSM质量等级,对仪表进行多次设置,连线复杂,设置繁琐,耗时长,易出错。Corresponding to the 7 requirements to test one by one, it is necessary to set up multiple different test environments. In each test environment, sometimes it is necessary to traverse different SSM quality levels and perform multiple settings on the instrument. The connection is complicated, the settings are cumbersome, time-consuming, and easy error.

每次测试结果都需要测试人员根据仪表和被测设备返回的数据进行人工判读,必须要求测试人员具备丰富测试经验。Each test result needs to be manually interpreted by the tester based on the data returned by the instrument and the device under test, and the tester must have extensive testing experience.

发明内容Contents of the invention

有鉴于此,本申请提供一种验证SSM响应规则的测试方法,能够提高测试效率,减少人为差错。In view of this, the present application provides a test method for verifying SSM response rules, which can improve test efficiency and reduce human errors.

为解决上述技术问题,本申请的技术方案是这样实现的:In order to solve the problems of the technologies described above, the technical solution of the present application is achieved in the following way:

一种验证SSM响应规则的测试方法,该方法包括:A test method for verifying an SSM response rule, the method comprising:

配置第一配置信息:发送同步以太信号的SSM值、第一端口接收的SSM值、第二端口接收的SSM值、第三端口接收的SSM值;Configure the first configuration information: send the SSM value of the synchronous Ethernet signal, the SSM value received by the first port, the SSM value received by the second port, and the SSM value received by the third port;

针对第一配置信息中配置的每个发送同步以太信号的SSM值进行验证测试包括:Performing a verification test for each SSM value configured in the first configuration information to send synchronous Ethernet signals includes:

测试设备通过第一端口发送同步以太信号,并携带发送同步以太信号的SSM值;The testing device sends a synchronous Ethernet signal through the first port, and carries an SSM value for sending the synchronous Ethernet signal;

被测设备通过第四端口接收到测试设备发送的同步以太信号时,按配置的SSM响应规则通过第四端口和第五端口发送响应的同步以太信号给测试设备,通过第六端口发送响应的成帧2Mb/s外定时信号给测试设备;When the device under test receives the synchronous Ethernet signal sent by the test device through the fourth port, it sends the corresponding synchronous Ethernet signal to the test device through the fourth port and the fifth port according to the configured SSM response rules, and sends the corresponding synchronous Ethernet signal to the test device through the sixth port. Frame 2Mb/s external timing signal to test equipment;

测试设备通过第一端口接收到被测设备发送的同步以太信号时,确定携带的SSM的值与配置的第一端口接收的SSM值是否相同;通过第二端口接收到被测设备发送的同步以太信号时,确定携带的SSM的值与配置的第二端口接收的SSM值是否相同;通过第三端口接收到被测设备发送的成帧2Mb/s外定时信号时,确定携带的SSM的值与配置的第三端口接收的SSM值是否相同;并记录比较结果;When the test device receives the synchronous Ethernet signal sent by the device under test through the first port, it determines whether the SSM value carried is the same as the SSM value received by the configured first port; the synchronous Ethernet signal sent by the device under test is received through the second port When receiving the signal, determine whether the value of the SSM carried is the same as the SSM value received by the configured second port; when receiving the framed 2Mb/s external timing signal sent by the device under test through the third port, determine whether the value of the SSM carried is the same as the SSM value received by the configured second port; Whether the SSM value received by the configured third port is the same; and record the comparison result;

当测试设备确定记录的任一比较结果为不同时,确定被测设备的SSM响应规则错误,并显示比较结果不同的记录所对应的SSM值。When the test device determines that any comparison result of the records is different, it determines that the SSM response rule of the device under test is wrong, and displays the SSM values corresponding to the records with different comparison results.

由上面的技术方案可知,本申请中通过针对所有可能涉及到的规则要求搭建测试环境,并配置测试输入值,以及期望输出值,比较实际测试值与期望输出值是否相同,来自动验证SSM响应规则是否正确。该方案能够实现规范的测试流程,提高测试效率,减少人为差错。As can be seen from the above technical solution, in this application, the SSM response is automatically verified by setting up a test environment for all possible rule requirements, configuring test input values, and expected output values, and comparing whether the actual test values are the same as the expected output values Are the rules correct. This solution can realize a standardized test process, improve test efficiency, and reduce human errors.

附图说明Description of drawings

图1为本申请实施例中第一步验证SSM响应规则的测试示意图;Fig. 1 is the test schematic diagram of the first step verification SSM response rule in the embodiment of the present application;

图2为本申请实施例中第一步验证SSM响应规则的测试流程示意图;Fig. 2 is a schematic diagram of the test flow for verifying the SSM response rule in the first step in the embodiment of the present application;

图3为本申请实施例中第二步验证SSM响应规则的测试示意图;Fig. 3 is the test schematic diagram of the second step verification SSM response rule in the embodiment of the present application;

图4为本申请实施例中第二步验证SSM响应规则的测试流程示意图;Fig. 4 is a schematic diagram of the test flow of the second step of verifying the SSM response rule in the embodiment of the present application;

图5为本申请实施例中第三步验证SSM响应规则的测试示意图;Fig. 5 is the test schematic diagram of the third step verification SSM response rule in the embodiment of the present application;

图6为本申请实施例中第三步验证SSM响应规则的测试流程示意图。FIG. 6 is a schematic diagram of the test flow of the third step of verifying the SSM response rule in the embodiment of the present application.

具体实施方式Detailed ways

为了使本发明的目的、技术方案及优点更加清楚明白,下面结合附图并举实施例,对本发明的技术方案进行详细说明。In order to make the object, technical solution and advantages of the present invention clearer, the technical solution of the present invention will be described in detail below with reference to the accompanying drawings and examples.

本申请实施例中提供一种验证SSM响应规则的测试方法,通过针对所有可能涉及到的规则要求搭建测试环境,并配置测试输入值,以及期望输出值,比较实际测试值与期望输出值是否相同,来自动验证SSM响应规则是否正确。该方案能够实现规范的测试流程,提高测试效率,减少人为差错。In the embodiment of the present application, a test method for verifying the SSM response rules is provided. By building a test environment for all possible rule requirements and configuring test input values and expected output values, it is compared whether the actual test values are the same as the expected output values. , to automatically verify whether the SSM response rule is correct. This solution can realize a standardized test process, improve test efficiency, and reduce human errors.

本申请在进行测试时,先搭建测试环境,本申请在具体实现,可以使用一个测试设备和一个被测设备,分别搭建三种连接方式进行三步顺序测试,即测试完一种连接方式,再测试一种连接方式,且这三步执行顺序不限;或者同时搭建三种连接方式的测试环境,并行执行三步测试。When testing this application, first set up a test environment. In the specific implementation of this application, you can use a test device and a device under test to build three connection methods for three-step sequential testing, that is, after testing one connection method, then Test one connection method, and the execution sequence of these three steps is not limited; or build a test environment for three connection methods at the same time, and execute the three-step test in parallel.

本申请实施例中以一台测试设备和一台被测设备为例,即顺序执行三步测试。In the embodiment of the present application, a test device and a device under test are taken as an example, that is, three-step tests are performed in sequence.

本申请实施例中的测试设备可以是同步测试仪表,需内置铷钟,或可跟踪外参考时钟。The test equipment in the embodiment of the present application can be a synchronous test instrument, which needs a built-in rubidium clock, or can track an external reference clock.

下面结合附图,详细说明三种连接方式验证SSM响应规则的过程。The process of verifying the SSM response rules in the three connection modes will be described in detail below with reference to the accompanying drawings.

针对第一步测试:只设置以太信号作为被测设备的同步参考源,检验其他同步端口的SSM字节转发信息。For the first step of the test: only set the Ethernet signal as the synchronization reference source of the device under test, and check the SSM byte forwarding information of other synchronization ports.

参见图1,图1本申请实施例中第一步验证SSM响应规则的测试示意图。图1中测试设备具备2个同步以太端口(第一端口和第二端口),以及一个成帧2Mb/s外定时器输入口(第三端口)。被测设备具备两个同步以太端口(第四端口和第五端口),以及一个成帧2Mb/s外定时器输出口(第六端口)。Referring to FIG. 1, FIG. 1 is a schematic diagram of the first step of verifying the SSM response rule in the embodiment of the present application. The test equipment in Fig. 1 has two synchronous Ethernet ports (the first port and the second port), and a framing 2Mb/s external timer input port (the third port). The device under test has two synchronous Ethernet ports (the fourth port and the fifth port), and a framed 2Mb/s external timer output port (the sixth port).

这里提到的同步以太端口均为逻辑端口,实际为收发成对的物理端口。The synchronous Ethernet ports mentioned here are all logical ports, which are actually physical ports that send and receive pairs.

在进行测试之前,需要先配置第一配置信息,具体包括:发送同步以太信号的SSM值、第一端口接收的SSM值、第二端口接收的SSM值、第三端口接收的SSM值。其中,第一端口接收的SSM值、第二端口接收的SSM值、第三端口接收的SSM值为期望值,即被测设备上的SSM响应规则正确的时候,应该响应的SSM值。Before testing, you need to configure the first configuration information, specifically including: the SSM value for sending synchronous Ethernet signals, the SSM value for receiving at the first port, the SSM value for receiving at the second port, and the SSM value for receiving at the third port. Among them, the SSM value received by the first port, the SSM value received by the second port, and the SSM value received by the third port are expected values, that is, the SSM value that should be responded when the SSM response rule on the device under test is correct.

参见表2,表2为本申请实施例中针对第一配置信息配置的相关内容。第1列对应的SSM值为发送同步以太信号的SSM值;第2列对应的SSM值为第一端口接收的SSM值,第3列对应的SSM值为第二端口接收的SSM值,第4列对应的SSM值为第三端口接收的SSM值。Referring to Table 2, Table 2 shows relevant content configured for the first configuration information in the embodiment of the present application. The SSM value corresponding to the first column is the SSM value for sending synchronous Ethernet signals; the SSM value corresponding to the second column is the SSM value received by the first port; the SSM value corresponding to the third column is the SSM value received by the second port; The SSM value corresponding to the column is the SSM value received by the third port.

如表2所示,当发送同步以太信号的SSM值为2时,第一端口接收的SSM值为F、第二端口接收的SSM值为2、第三端口接收的SSM值为2;As shown in Table 2, when the SSM value of sending a synchronous Ethernet signal is 2, the SSM value received by the first port is F, the SSM value received by the second port is 2, and the SSM value received by the third port is 2;

当发送同步以太信号的SSM值为4时,第一端口接收的SSM值为F、第二端口接收的SSM值为4、第三端口接收的SSM值为4;When the SSM value of the synchronous Ethernet signal sent is 4, the SSM value received by the first port is F, the SSM value received by the second port is 4, and the SSM value received by the third port is 4;

当发送同步以太信号的SSM值为8时,第一端口接收的SSM值为F、第二端口接收的SSM值为8、第三端口接收的SSM值为8;When the SSM value of the synchronous Ethernet signal sent is 8, the SSM value received by the first port is F, the SSM value received by the second port is 8, and the SSM value received by the third port is 8;

当发送同步以太信号的SSM值为B时,第一端口接收的SSM值为F、第二端口接收的SSM值为B、第三端口接收的SSM值为B;When the SSM value of the synchronous Ethernet signal sent is B, the SSM value received by the first port is F, the SSM value received by the second port is B, and the SSM value received by the third port is B;

当发送同步以太信号的SSM值为F时,第一端口接收的SSM值为B、第二端口接收的SSM值为B、第三端口接收的SSM值为B;When the SSM value of the synchronous Ethernet signal sent is F, the SSM value received by the first port is B, the SSM value received by the second port is B, and the SSM value received by the third port is B;

当发送同步以太信号的SSM值为1、3、5、6、7、9、A、C、D或E时,第一端口接收的SSM值为B、第二端口接收的SSM值为B、第三端口接收的SSM值为B。When the SSM value of the synchronous Ethernet signal sent is 1, 3, 5, 6, 7, 9, A, C, D or E, the SSM value received by the first port is B, and the SSM value received by the second port is B, The SSM value received by the third port is B.

表2Table 2

针对第一配置信息中配置的每个发送同步以太信号的SSM值进行验证测试过程相同,下面给出使用任一发送同步以太信号的SSM值进行验证测试的过程,具体见图2。The verification test process for each SSM value for sending synchronous Ethernet signals configured in the first configuration information is the same, and the process for using any SSM value for sending synchronous Ethernet signals for verification testing is given below, as shown in Figure 2 for details.

参见图2,图2为本申请实施例中第一步验证SSM响应规则的测试流程示意图。具体步骤为:Referring to FIG. 2 , FIG. 2 is a schematic diagram of the test flow for the first step of verifying the SSM response rule in the embodiment of the present application. The specific steps are:

步骤201,测试设备通过第一端口发送同步以太信号,并携带发送同步以太信号的SSM值。In step 201, the testing device sends a synchronous Ethernet signal through a first port, and carries an SSM value for sending the synchronous Ethernet signal.

步骤202,被测设备通过第四端口接收到测试设备发送的同步以太信号时,按配置的SSM响应规则通过第四端口和第五端口发送响应的同步以太信号给测试设备,通过第六端口发送响应的成帧2Mb/s外定时信号给测试设备。Step 202, when the device under test receives the synchronous Ethernet signal sent by the test device through the fourth port, it sends the corresponding synchronous Ethernet signal to the test device through the fourth port and the fifth port according to the configured SSM response rule, and sends it through the sixth port Response framed 2Mb/s external timing signal to test equipment.

步骤203,测试设备通过第一端口接收到被测设备发送的同步以太信号时,确定携带的SSM的值与配置的第一端口接收的SSM值是否相同;通过第二端口接收到被测设备发送的同步以太信号时,确定携带的SSM的值与配置的第二端口接收的SSM值是否相同;通过第三端口接收到被测设备发送的成帧2Mb/s外定时信号时,确定携带的SSM的值与配置的第三端口接收的SSM值是否相同,并记录比较结果。Step 203, when the test device receives the synchronous Ethernet signal sent by the device under test through the first port, determine whether the SSM value carried is the same as the SSM value received by the configured first port; When the synchronous Ethernet signal is used, determine whether the SSM value carried is the same as the SSM value received by the configured second port; when the framed 2Mb/s external timing signal sent by the device under test is received through the third port, determine the carried SSM value Whether the value is the same as the configured SSM value received by the third port, and record the comparison result.

步骤204,当测试设备确定记录的任一比较结果为不同时,确定被测设备的SSM响应规则错误,并显示比较结果不同的记录所对应的SSM值。Step 204, when the test device determines that any comparison result of the records is different, determine that the SSM response rule of the device under test is wrong, and display the SSM values corresponding to the records with different comparison results.

针对第二步测试:只设置成帧2Mb/s外定时信号作为被测设备的同步参考源,检验其他同步端口的SSM字节转发信息。For the second step of the test: only set the frame 2Mb/s external timing signal as the synchronization reference source of the device under test, and check the SSM byte forwarding information of other synchronization ports.

参见图3,图3本申请实施例中第二步验证SSM响应规则的测试示意图。图3中测试设备具备1个同步以太端口(第八端口),以及一个成帧2Mb/s外定时器输入口(第九端口),以及一个成帧2Mb/s外定时器输出口。被测设备具备一个同步以太端口(第十一端口),以及一个成帧2Mb/s外定时器输出口(第十二端口)和一个成帧2Mb/s外定时器输入口(第十端口)。Refer to FIG. 3 , which is a schematic diagram of the second step of verifying the SSM response rule in the embodiment of the present application. The test equipment in Fig. 3 has a synchronous Ethernet port (eighth port), a framing 2Mb/s external timer input port (ninth port), and a framing 2Mb/s external timer output port. The device under test has a synchronous Ethernet port (the eleventh port), a framed 2Mb/s external timer output port (the twelfth port) and a framed 2Mb/s external timer input port (the tenth port) .

这里提到的同步以太端口均为逻辑端口,实际为收发成对的物理端口。The synchronous Ethernet ports mentioned here are all logical ports, which are actually physical ports that send and receive pairs.

在进行测试之前,需要先配置第二配置信息,具体包括:发送成帧2Mb/s外定时信号的SSM值,第八端口接收的SSM值、第九端口接收的SSM值;其中,第八端口接收的SSM值、第九端口接收的SSM值为期望值,即被测设备上的SSM响应规则正确的时候,应该响应的SSM值。Before testing, you need to configure the second configuration information, which specifically includes: the SSM value of the framed 2Mb/s external timing signal sent, the SSM value received by the eighth port, and the SSM value received by the ninth port; among them, the eighth port The received SSM value and the expected value of the SSM value received by the ninth port, that is, the SSM value that should be responded when the SSM response rule on the device under test is correct.

参见表3,表3为本申请实施例中针对第二配置信息配置的相关内容。第1列对应的SSM值为测试设备成帧2Mb/s外定时信号端口发送的SSM值;第2列对应的SSM值为期望的第八端口接收的SSM值(预期相应返回同步以太信号发送的SSM值),第3列对应的SSM值为期望的第九端口接收的SSM值(预期被测设备成帧2Mb/s外定时端口输出的SSM值)。Referring to Table 3, Table 3 is related content configured for the second configuration information in the embodiment of the present application. The SSM value corresponding to the first column is the SSM value sent by the 2Mb/s external timing signal port of the test equipment; the SSM value corresponding to the second column is the expected SSM value received by the eighth port (the expected corresponding returned synchronous Ethernet signal is sent) SSM value), the SSM value corresponding to the third column is the expected SSM value received by the ninth port (the SSM value output by the expected 2Mb/s external timing port of the device under test).

表3table 3

如表3所示,当发送成帧2Mb/s外定时信号的SSM值为2时,第八端口接收的SSM值为2、第九端口接收的SSM值为2;As shown in Table 3, when the SSM value of the framed 2Mb/s external timing signal is 2, the SSM value received by the eighth port is 2, and the SSM value received by the ninth port is 2;

当发送成帧2Mb/s外定时信号的SSM值为4时,第八端口接收的SSM值为4、第九端口接收的SSM值为4;When the SSM value of the framed 2Mb/s external timing signal is 4, the SSM value received by the eighth port is 4, and the SSM value received by the ninth port is 4;

当发送成帧2Mb/s外定时信号的SSM值为8时,第八端口接收的SSM值为8、第九端口接收的SSM值为8;When the SSM value of the framed 2Mb/s external timing signal is 8, the SSM value received by the eighth port is 8, and the SSM value received by the ninth port is 8;

当发送成帧2Mb/s外定时信号的SSM值为B时,第八端口接收的SSM值为B、第九端口接收的SSM值为B;When the SSM value of the framed 2Mb/s external timing signal is B, the SSM value received by the eighth port is B, and the SSM value received by the ninth port is B;

当发送成帧2Mb/s外定时信号的SSM值为F时,第八端口接收的SSM值为B、第九端口接收的SSM值为B;When the SSM value of the framed 2Mb/s external timing signal is F, the SSM value received by the eighth port is B, and the SSM value received by the ninth port is B;

当发送成帧2Mb/s外定时信号的SSM值为1、3、5、6、7、9、A、C、D、或E时,第八端口接收的SSM值为B、第九端口接收的SSM值为B。When the SSM value of the framed 2Mb/s external timing signal is 1, 3, 5, 6, 7, 9, A, C, D, or E, the SSM value received by the eighth port is B, and the received by the ninth port has an SSM value of B.

针对第二配置信息中配置的每个成帧2Mb/s外定时信号的SSM值进行验证测试过程相同,下面给出使用任一发送成帧2Mb/s外定时信号的SSM值进行验证测试的过程,具体见图4。The verification test process is the same for the SSM value of each framed 2Mb/s external timing signal configured in the second configuration information. The following is the verification test process using any SSM value of the framed 2Mb/s external timing signal. , see Figure 4 for details.

参见图4,图4为本申请实施例中第二步验证SSM响应规则的测试流程示意图。具体步骤为:Referring to FIG. 4 , FIG. 4 is a schematic diagram of the test flow of the second step of verifying the SSM response rule in the embodiment of the present application. The specific steps are:

步骤401,测试设备通过第七端口发送成帧2Mb/s外定时信号,并携带发送成帧2Mb/s外定时信号的SSM值。In step 401, the testing device sends a framed 2Mb/s external timing signal through the seventh port, and carries the SSM value of sending the framed 2Mb/s external timing signal.

步骤402,被测设备通过第十端口接收到测试设备发送的成帧2Mb/s外定时信号时,按照配置的SSM响应规则通过第十一端口发送响应的同步以太信号给测试设备;并通过第十二端口发送响应的成帧2Mb/s外定时信号给测试设备。Step 402, when the device under test receives the framed 2Mb/s external timing signal sent by the test device through the tenth port, it sends a corresponding synchronous Ethernet signal to the test device through the eleventh port according to the configured SSM response rule; Twelve ports send responsive framed 2Mb/s external timing signals to test equipment.

步骤403,测试设备通过第八端口接收到被测设备发送的同步以太信号时,确定携带的SSM的值与配置的第八端口接收的SSM值是否相同;通过第九端口接收到被测设备发送的成帧2Mb/s外定时信号时,确定携带的SSM的值与配置的第九端口接收的SSM值是否相同;并记录比较结果。Step 403, when the test device receives the synchronous Ethernet signal sent by the device under test through the eighth port, determine whether the SSM value carried is the same as the configured SSM value received by the eighth port; When framing a 2Mb/s external timing signal, determine whether the SSM value carried is the same as the SSM value received by the configured ninth port; and record the comparison result.

步骤404,当测试设备确定记录的任一比较结果为不同时,确定被测设备的SSM响应规则错误,并显示比较结果不同的记录所对应的SSM值。Step 404, when the test device determines that any comparison result of the records is different, it determines that the SSM response rule of the device under test is wrong, and displays the SSM values corresponding to the records with different comparison results.

针对第二步测试中,测试设备的第八端口可以使用第一步测试中第一端口和第二端口中的一个端口,第九端口可以使用第一步测试中的第三端口;被测设备的第十一端口可以使用第一步测试中的第四端口和第五端口中的一个端口,第十二端口可以使用第一步测试中的第六端口。For the second step test, the eighth port of the test equipment can use one of the first port and the second port in the first step test, and the ninth port can use the third port in the first step test; the device under test The eleventh port can use one of the fourth port and the fifth port in the first step test, and the twelfth port can use the sixth port in the first step test.

针对第三步测试:设置成帧2Mb/s外定时信号和同步以太信号作为被测设备的同步参考源,检验预期选用的输入参考。For the third step of the test: set the framed 2Mb/s external timing signal and synchronous Ethernet signal as the synchronization reference source of the device under test, and check the expected input reference.

参见图5,图5本申请实施例中第三步验证SSM响应规则的测试示意图。图5中测试设备具备1个同步以太端口(第十三端口),以及一个成帧2Mb/s外定时输出口(第十四端口)。被测设备具备一个同步以太端口(第十六端口),以及一个成帧2Mb/s外定时输入口(第十五端口)。Refer to FIG. 5 , which is a schematic diagram of the test of the third step of verifying the SSM response rule in the embodiment of the present application. The test equipment in Fig. 5 has a synchronous Ethernet port (the thirteenth port), and a framing 2Mb/s external timing output port (the fourteenth port). The device under test has a synchronous Ethernet port (the sixteenth port) and a framed 2Mb/s external timing input port (the fifteenth port).

这里提到的同步以太端口均为逻辑端口,实际为收发成对的物理端口。The synchronous Ethernet ports mentioned here are all logical ports, which are actually physical ports that send and receive pairs.

在进行测试之前,需要先在测试设备上配置第三配置信息,具体包括:发送成帧2Mb/s外定时信号的SSM值,发送同步信号的SSM值、第十三端口接收的SSM值;其中,第十三端口接收的SSM值为期望值,即被测设备上的SSM响应规则正确的时候,应该响应的SSM值。Before testing, it is necessary to configure the third configuration information on the test equipment, specifically including: sending the SSM value of the framed 2Mb/s external timing signal, the SSM value of sending the synchronization signal, and the SSM value received by the thirteenth port; , the SSM value received by the thirteenth port is the expected value, that is, the SSM value that should be responded when the SSM response rule on the device under test is correct.

在被测设备上设置通过第十五端口接收的SSM值对应高优先级;通过第十六端口接收到的SSM值对应低优先级。Set on the device under test that the SSM value received through the fifteenth port corresponds to a high priority; the SSM value received through the sixteenth port corresponds to a low priority.

参见表4,表4为本申请实施例中针对第三配置信息配置的相关内容。第1列对应的SSM值为发送成帧2Mb/s外定时信号的SSM值;第2列对应发送同步以太信号的SSM值,第3列对应的SSM值为第十三端口接收的SSM值,第4列为第3列对应的注释项。Referring to Table 4, Table 4 shows relevant content configured for the third configuration information in the embodiment of the present application. The SSM value corresponding to the first column is the SSM value of sending a framed 2Mb/s external timing signal; the second column corresponds to the SSM value of sending a synchronous Ethernet signal, and the corresponding SSM value of the third column is the SSM value received by the thirteenth port. Column 4 is the comment item corresponding to column 3.

如表4所示,当发送成帧2Mb/s外定时信号的SSM值为2,优先级为高,发送同步以太信号的SSM值为2,优先级为低时,第十三端口接收的SSM值为2;As shown in Table 4, when the SSM value of sending a framed 2Mb/s external timing signal is 2, the priority is high, and the SSM value of sending a synchronous Ethernet signal is 2, and the priority is low, the SSM received by the thirteenth port The value is 2;

当发送成帧2Mb/s外定时信号的SSM值为4,优先级为高,发送同步以太信号的SSM值为2,优先级为低时,第十三端口接收的SSM值为F;When the SSM value of sending a framed 2Mb/s external timing signal is 4, the priority is high, and the SSM value of sending a synchronous Ethernet signal is 2, and the priority is low, the SSM value received by the thirteenth port is F;

当发送成帧2Mb/s外定时信号的SSM值为4,优先级为高,发送同步以太信号的SSM值为4,优先级为低时,第十三端口接收的SSM值为4;When the SSM value of sending a framed 2Mb/s external timing signal is 4, the priority is high, and the SSM value of sending a synchronous Ethernet signal is 4, and the priority is low, the SSM value received by the thirteenth port is 4;

当发送成帧2Mb/s外定时信号的SSM值为8,优先级为高,发送同步以太信号的SSM值为4,优先级为低时,第十三端口接收的SSM值为F;When the SSM value of sending a framed 2Mb/s external timing signal is 8, the priority is high, and the SSM value of sending a synchronous Ethernet signal is 4, and the priority is low, the SSM value received by the thirteenth port is F;

当发送成帧2Mb/s外定时信号的SSM值为8,优先级为高,发送同步以太信号的SSM值为8,优先级为低时,第十三端口接收的SSM值为8;When the SSM value of sending a framed 2Mb/s external timing signal is 8, the priority is high, and the SSM value of sending a synchronous Ethernet signal is 8, and the priority is low, the SSM value received by the thirteenth port is 8;

当发送成帧2Mb/s外定时信号的SSM值为B,优先级为高,发送同步以太信号的SSM值为8,优先级为低时,第十三端口接收的SSM值为F;When the SSM value of sending a framed 2Mb/s external timing signal is B, the priority is high, and the SSM value of sending a synchronous Ethernet signal is 8, and the priority is low, the SSM value received by the thirteenth port is F;

当发送成帧2Mb/s外定时信号的SSM值为B,优先级为高,发送同步以太信号的SSM值为B,优先级为低时,第十三端口接收的SSM值为B;When the SSM value of sending a framed 2Mb/s external timing signal is B, the priority is high, and the SSM value of sending a synchronous Ethernet signal is B, and the priority is low, the SSM value received by the thirteenth port is B;

当发送成帧2Mb/s外定时信号的SSM值为F,优先级为高,发送同步以太信号的SSM值为B,优先级为低时,第十三端口接收的SSM值为F;When the SSM value of sending a framed 2Mb/s external timing signal is F, the priority is high, and the SSM value of sending a synchronous Ethernet signal is B, and the priority is low, the SSM value received by the thirteenth port is F;

当发送成帧2Mb/s外定时信号的SSM值为F,优先级为高,发送同步以太信号的SSM值为F,优先级为低时,第十三端口接收的SSM值为B。When the SSM value of sending a framed 2Mb/s external timing signal is F and the priority is high, and the SSM value of sending a synchronous Ethernet signal is F and its priority is low, the SSM value received by the thirteenth port is B.

表4Table 4

针对第三配置信息中配置的每个成帧2Mb/s外定时信号的SSM值,以及对应的同步信号的SSM值进行验证测试过程相同,下面给出使用任一发送成帧2Mb/s外定时信号的SSM值,以及对应同步信号的SSM值进行验证测试的过程,具体见图6。For the SSM value of each framed 2Mb/s external timing signal configured in the third configuration information, and the SSM value of the corresponding synchronization signal, the verification test process is the same. The SSM value of the signal and the process of verifying the SSM value of the corresponding synchronization signal are shown in Figure 6.

参见图6,图6为本申请实施例中第三步验证SSM响应规则的测试流程示意图。具体步骤为:Referring to FIG. 6 , FIG. 6 is a schematic diagram of the test flow of the third step of verifying the SSM response rule in the embodiment of the present application. The specific steps are:

步骤601,测试设备通过第十三端口发送同步以太信号,并携带发送同步以太信号的SSM值;通过第十四端口发送成帧2Mb/s外定时信号,并携带发送成帧2Mb/s外定时信号的SSM值。Step 601, the test equipment sends a synchronous Ethernet signal through the thirteenth port, and carries the SSM value of the synchronous Ethernet signal; sends a framed 2Mb/s external timing signal through the fourteenth port, and carries a framed 2Mb/s external timing signal The SSM value of the signal.

步骤602,被测设备通过第十五端口接收到测设设备发送的成帧2Mb/s外定时信号,且通过第十六端口接收到测试设备发送的同步以太信号时,按照配置的SSM响应规则通过第十六端口发送响应的同步以太信号给测试设备。Step 602, when the device under test receives the framed 2Mb/s external timing signal sent by the test device through the fifteenth port, and receives the synchronous Ethernet signal sent by the test device through the sixteenth port, follow the configured SSM response rules Send the corresponding synchronous Ethernet signal to the test equipment through the sixteenth port.

步骤603,测试设备通过第十三端口接收到被测设备发送的同步以太信号时,确定携带的SSM的值与配置的第十三端口接收的SSM值是否相同,并记录比较结果。Step 603: When the test device receives the synchronous Ethernet signal sent by the device under test through the thirteenth port, it determines whether the carried SSM value is the same as the configured SSM value received by the thirteenth port, and records the comparison result.

步骤604,当测试设备确定记录的任一比较结果为不同时,确定被测设备的SSM响应规则错误,并显示比较结果不同的记录所对应的SSM值。Step 604, when the test device determines that any comparison result of the records is different, determine that the SSM response rule of the device under test is wrong, and display the SSM values corresponding to the records with different comparison results.

针对第三步测试中,第十三端口可以使用第一步测试中的第一端口和第二端口中的任一端口;第十六端口可以使用第一步测试中的第四端口和第五端口中的任一端口。For the third step test, the thirteenth port can use any one of the first port and the second port in the first step test; the sixteenth port can use the fourth port and the fifth port in the first step test Any of the ports.

可见本申请具体实现时,针对测试设备和被测设备均具备两个同步以太端口和两个成帧2Mb/s外定时端口即可完成测试。It can be seen that when the application is actually implemented, both the test equipment and the equipment under test are equipped with two synchronous Ethernet ports and two framing 2Mb/s external timing ports to complete the test.

本申请实施例中针对第一步、第二步和第三步的测试可以根据实际测试环境并行测试,也可以依次执行,但是执行的时候,第一步、第二步和第三步的执行顺序不限。In the embodiment of the present application, the tests for the first step, the second step and the third step can be tested in parallel according to the actual test environment, or can be executed sequentially, but when executing, the execution of the first step, the second step and the third step The order is not limited.

针对第一配置信息、第二配置信息和第三配置信息进行验证测试时,当测试设备确定记录的比较结果均是相同时,确定被测设备的SSM响应规则正确。即针对第一步、第二步和第三步的测试中,每一次测试结果与对应的表2、表3和表4中配置的预期值均相同,说明被测设备的SSM响应规则正确;否则,确定被测设备的SSM响应规则错误,并显示比较结果不同的记录所对应的SSM值。When the verification test is performed on the first configuration information, the second configuration information and the third configuration information, when the test device determines that the recorded comparison results are the same, it is determined that the SSM response rule of the device under test is correct. That is, in the tests of the first step, the second step, and the third step, each test result is the same as the expected value configured in the corresponding Table 2, Table 3, and Table 4, indicating that the SSM response rule of the device under test is correct; Otherwise, it is determined that the SSM response rule of the device under test is wrong, and the SSM values corresponding to the records with different comparison results are displayed.

针对第三配置信息进行验证测试时,当测试设备确定记录的任一比较结果为不同时,确定被测设备的钟源优选顺序错误。即当确定由于第三配置信息测试SSM响应规则错误时,确定钟源优选也是错误的。When the verification test is performed on the third configuration information, when the test device determines that any of the recorded comparison results are different, it is determined that the clock source preference sequence of the device under test is wrong. That is, when it is determined that the SSM response rule is wrong due to the third configuration information test, it is determined that the preferred clock source is also wrong.

本申请具体实现时,人工搭建测试环境,在测试设备上选择相应的测试程序并运行,等待测试设备给出测试结果。转换测试例,直至三个测试例全部运行。通过自动化测试程序提高了测试效率,减少了人为差错;结果自动判读,使测试更为简单,特别适用在时间紧,测试设备多,需统一测试标准的集中比较性测试。When implementing the present application, a test environment is built manually, a corresponding test program is selected and run on the test equipment, and the test result is waited for by the test equipment. Convert test cases until all three test cases are run. The test efficiency is improved and human error is reduced through the automated test procedure; the automatic interpretation of the results makes the test simpler, especially suitable for centralized comparative tests where time is tight, there are many test equipment, and uniform test standards are required.

综上所述,本申请通过针对所有可能涉及到的规则要求搭建测试环境,并配置测试输入值,以及期望输出值,比较实际测试值与期望输出值是否相同,来自动验证SSM响应规则是否正确。该方案能够实现规范的测试流程,提高测试效率,减少人为差错。To sum up, this application automatically verifies whether the SSM response rules are correct by setting up a test environment for all possible rule requirements, configuring test input values, and expected output values, and comparing whether the actual test values are the same as the expected output values. . This solution can realize a standardized test process, improve test efficiency, and reduce human errors.

以上所述仅为本发明的较佳实施例而已,并不用以限制本发明,凡在本发明的精神和原则之内,所做的任何修改、等同替换、改进等,均应包含在本发明保护的范围之内。The above descriptions are only preferred embodiments of the present invention, and are not intended to limit the present invention. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present invention shall be included in the present invention. within the scope of protection.

Claims (9)

1. a test method for verifying SSM response rules of synchronization status messages is characterized in that the method comprises the following steps:
Configuring first configuration information: sending an SSM value of the synchronous Ethernet signal, an SSM value received by the first port, an SSM value received by the second port and an SSM value received by the third port;
The performing the verification test for the SSM value of each of the transmission synchronous ethernet signals configured in the first configuration information includes:
the test equipment sends a synchronous Ethernet signal through a first port and carries an SSM value for sending the synchronous Ethernet signal;
When the tested device receives the synchronous Ethernet signal sent by the testing device through the fourth port, the tested device sends a response synchronous Ethernet signal to the testing device through the fourth port and the fifth port according to the configured SSM response rule, and sends a response framing 2Mb/s external timing signal to the testing device through the sixth port;
When the test equipment receives a synchronous Ethernet signal sent by the tested equipment through the first port, determining whether the carried SSM value is the same as the SSM value received by the configured first port; when receiving a synchronous Ethernet signal sent by the tested equipment through the second port, determining whether the carried SSM value is the same as the SSM value received by the configured second port; when a framing 2Mb/s external timing signal sent by the tested equipment is received through the third port, whether the carried SSM value is the same as the SSM value received by the configured third port is determined; and recording the comparison result;
And when the test equipment determines that any one of the comparison results of the records is different, determining that the SSM response rule of the tested equipment is wrong, and displaying the SSM value corresponding to the record with different comparison results.
2. The method of claim 1,
for the first configuration information, when the SSM value of the synchronous ethernet signal is 2, the SSM value received by the first port is F, the SSM value received by the second port is 2, and the SSM value received by the third port is 2;
When the SSM value of the transmitted synchronous ethernet signal is 4, the SSM value received by the first port is F, the SSM value received by the second port is 4, and the SSM value received by the third port is 4;
when the SSM value of the transmitted synchronous ethernet signal is 8, the SSM value received by the first port is F, the SSM value received by the second port is 8, and the SSM value received by the third port is 8;
when the SSM value of the sending synchronous Ethernet signal is B, the SSM value received by the first port is F, the SSM value received by the second port is B, and the SSM value received by the third port is B;
When the SSM value of the sending synchronous Ethernet signal is F, the SSM value received by the first port is B, the SSM value received by the second port is B, and the SSM value received by the third port is B;
when the SSM value of the transmitted synchronous ethernet signal is 1, 3, 5, 6, 7, 9, A, C, D or E, the SSM value received by the first port is B, the SSM value received by the second port is B, and the SSM value received by the third port is B.
3. The method of claim 1, further comprising:
Configuring second configuration information: sending an SSM value of a framing 2Mb/s external timing signal, an SSM value received by an eighth port and an SSM value received by a ninth port;
the performing verification tests on each SSM value configured in the second configuration information and used for sending the framing 2Mb/s external timing signal comprises the following steps:
The test equipment sends a framing 2Mb/s external timing signal through the seventh port and carries an SSM value of the framing 2Mb/s external timing signal;
When the tested device receives a framed 2Mb/s external timing signal sent by the testing device through the tenth port, sending a responsive synchronous Ethernet signal to the testing device through the eleventh port according to the configured SSM response rule; sending the corresponding framed 2Mb/s external timing signal to the test equipment through the twelfth port;
When the testing equipment receives the synchronous Ethernet signal sent by the tested equipment through the eighth port, determining whether the carried SSM value is the same as the SSM value received by the configured eighth port; when a framing 2Mb/s external timing signal sent by the tested device is received through the ninth port, whether the carried SSM value is the same as the SSM value received by the configured ninth port is determined; and recording the comparison result;
And when the test equipment determines that any one of the comparison results of the records is different, determining that the SSM response rule of the tested equipment is wrong, and displaying the SSM value corresponding to the record with different comparison results.
4. the method of claim 3,
for configuring the second configuration information, when the SSM value of the external timing signal sent into the frame 2Mb/s is 2, the SSM value received by the eighth port is 2, and the SSM value received by the ninth port is 2;
when the SSM value of the external timing signal which is sent into the frame 2Mb/s is 4, the SSM value received by the eighth port is 4, and the SSM value received by the ninth port is 4;
When the SSM value of the external timing signal which is sent into the frame 2Mb/s is 8, the SSM value received by the eighth port is 8, and the SSM value received by the ninth port is 8;
When the SSM value of the external timing signal sent into the frame 2Mb/s is B, the SSM value received by the eighth port is B, and the SSM value received by the ninth port is B;
When the SSM value of the external timing signal sent into the frame 2Mb/s is F, the SSM value received by the eighth port is B, and the SSM value received by the ninth port is B;
when the SSM value of the transmitted framed 2Mb/s external timing signal is 1, 3, 5, 6, 7, 9, A, C, D, or E, the SSM value received by the eighth port is B and the SSM value received by the ninth port is B.
5. The method of claim 3, further comprising:
The test equipment configures third configuration information: sending an SSM value of a framing 2Mb/s external timing signal, sending an SSM value of a synchronous Ethernet signal and receiving an SSM value by a thirteenth port;
the tested device sets the SSM value received through the fifteenth port to correspond to the high priority; the SSM value received by the sixteenth port corresponds to a low priority;
The performing verification tests on each SSM value of the sending synchronous Ethernet signals configured in the third configuration information and the corresponding SSM value of the sending framing 2Mb/s external timing signal comprises:
the test equipment sends the synchronous Ethernet signal through the thirteenth port and carries the SSM value of the sent synchronous Ethernet signal; sending a framed 2Mb/s external timing signal through a fourteenth port, and carrying an SSM value of the framed 2Mb/s external timing signal;
the tested device receives the framed 2Mb/s external timing signal sent by the testing device through the fifteenth port, and sends a response synchronous Ethernet signal to the testing device through the sixteenth port according to the configured SSM response rule when receiving the synchronous Ethernet signal sent by the testing device through the sixteenth port;
when the testing equipment receives the synchronous Ethernet signal sent by the tested equipment through the thirteenth port, determining whether the carried SSM value is the same as the SSM value received by the configured thirteenth port; and recording the comparison result;
and when the test equipment determines that any one of the comparison results of the records is different, determining that the SSM response rule of the tested equipment is wrong, and displaying the SSM value corresponding to the record with different comparison results.
6. The method of claim 5,
for the configured third configuration information, when the SSM value of the external timing signal sent into the frame 2Mb/s is 2, the priority is high, the SSM value of the synchronous ethernet signal sent into the frame is 2, and the priority is low, the SSM value received by the thirteenth port is 2;
when the SSM value of the external timing signal which is sent into the frame 2Mb/s is 4, the priority is high, the SSM value of the synchronous Ethernet signal is 2, and the priority is low, the SSM value received by the thirteenth port is F;
When the SSM value of the external timing signal which is sent into the frame 2Mb/s is 4, the priority is high, the SSM value of the synchronous Ethernet signal is 4, and the priority is low, the SSM value received by the thirteenth port is 4;
when the SSM value of the external timing signal which is sent into the frame 2Mb/s is 8, the priority is high, the SSM value of the synchronous Ethernet signal is 4, and the priority is low, the SSM value received by the thirteenth port is F;
When the SSM value of the external timing signal which is sent into the frame 2Mb/s is 8, the priority is high, the SSM value of the synchronous Ethernet signal is 8, and the priority is low, the SSM value received by the thirteenth port is 8;
When the SSM value of the external timing signal of 2Mb/s is B, the priority is high, the SSM value of the synchronous Ethernet signal is 8, and the priority is low, the SSM value received by the thirteenth port is F;
When the SSM value of the external timing signal which is sent into the frame 2Mb/s is B, the priority is high, the SSM value of the synchronous Ethernet signal is B, and the priority is low, the SSM value received by the thirteenth port is B;
when the SSM value of the external timing signal which is sent into the frame 2Mb/s is F, the priority is high, the SSM value of the synchronous Ethernet signal is B, and the priority is low, the SSM value received by the thirteenth port is F;
and when the SSM value of the external timing signal with the framing 2Mb/s is F, the priority is high, the SSM value of the synchronous Ethernet signal is F, and the priority is low, the SSM value received by the thirteenth port is B.
7. The method of claim 5, further comprising:
when the verification test is performed on the first configuration information, the second configuration information and the third configuration information, and when the test equipment determines that the recorded comparison results are the same, it is determined that the SSM response rule of the tested equipment is correct.
8. The method of claim 7, further comprising:
And when the test equipment determines that any recorded comparison result is different, determining that the clock source preference sequence of the tested equipment is wrong when the verification test is carried out on the third configuration information.
9. the method according to any one of claims 1 to 8,
the test equipment has a rubidium clock built-in, or can track an external reference clock.
CN201810583768.4A 2018-06-06 2018-06-06 Test method for verifying SSM response rule Active CN110572295B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810583768.4A CN110572295B (en) 2018-06-06 2018-06-06 Test method for verifying SSM response rule

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810583768.4A CN110572295B (en) 2018-06-06 2018-06-06 Test method for verifying SSM response rule

Publications (2)

Publication Number Publication Date
CN110572295A true CN110572295A (en) 2019-12-13
CN110572295B CN110572295B (en) 2021-04-09

Family

ID=68772025

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810583768.4A Active CN110572295B (en) 2018-06-06 2018-06-06 Test method for verifying SSM response rule

Country Status (1)

Country Link
CN (1) CN110572295B (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256512A (en) * 2020-10-27 2021-01-22 重庆航天工业有限公司 General verification and test system based on GLINK bus

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150454A (en) * 2007-07-31 2008-03-26 中兴通讯股份有限公司 Test method for automatic switched optical network
CN101998617A (en) * 2009-08-25 2011-03-30 华为技术有限公司 Method for sending clock synchronous status information and clock synchronous domain management node
CN102170584A (en) * 2011-03-14 2011-08-31 华为技术有限公司 Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment
CN102185734A (en) * 2011-04-18 2011-09-14 华为软件技术有限公司 Automatic interface testing method and server
US8868725B2 (en) * 2009-06-12 2014-10-21 Kent State University Apparatus and methods for real-time multimedia network traffic management and control in wireless networks
CN106330591A (en) * 2015-06-30 2017-01-11 中国移动通信集团公司 OAM test method and equipment for a communication system

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101150454A (en) * 2007-07-31 2008-03-26 中兴通讯股份有限公司 Test method for automatic switched optical network
US8868725B2 (en) * 2009-06-12 2014-10-21 Kent State University Apparatus and methods for real-time multimedia network traffic management and control in wireless networks
CN101998617A (en) * 2009-08-25 2011-03-30 华为技术有限公司 Method for sending clock synchronous status information and clock synchronous domain management node
CN102170584A (en) * 2011-03-14 2011-08-31 华为技术有限公司 Method, device and system for playing media between synchronic HS (HTTP (HyperText Transfer Protocol) Streaming) terminal equipment
CN102185734A (en) * 2011-04-18 2011-09-14 华为软件技术有限公司 Automatic interface testing method and server
CN106330591A (en) * 2015-06-30 2017-01-11 中国移动通信集团公司 OAM test method and equipment for a communication system

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
LIANHONG ZHOU,: ""Synchronization Issues in SDH Networks"", 《2000 INTERNATIONAL CONFERENCE ON COMMUNICATION TECHNOLOGY》 *
吕博,: ""分组网络同步技术的标准化进展"", 《电信网技术》 *
王珏琼,: ""基于传送网的时间同步方案研究"", 《中国优秀硕士学位论文全文数据库-信息科技辑》 *

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112256512A (en) * 2020-10-27 2021-01-22 重庆航天工业有限公司 General verification and test system based on GLINK bus
CN112256512B (en) * 2020-10-27 2024-05-07 重庆航天工业有限公司 GLINK bus-based verification and test universal system

Also Published As

Publication number Publication date
CN110572295B (en) 2021-04-09

Similar Documents

Publication Publication Date Title
CN103563287B (en) Synchronization device and synchronization method
US11516106B2 (en) Protocol analyzer for monitoring and debugging high-speed communications links
CN102904772A (en) Method and device for realizing throughput test of network equipment
US20210212003A1 (en) Method for Synchronizing Network Device, and Network Device
CN110572294B (en) A test method for SSM information processing delay
CN110572295A (en) A test method for verifying SSM response rules
CN102546303B (en) System and method for testing clock capability of SDH (synchronous digital hierarchy) device
CN105530139B (en) Self-checking method and device for 1588 equipment
CN112838892B (en) Testing device and method for Ethernet MAC data communication optical module
WO2016000324A1 (en) Method and apparatus for implementing time synchronization
CN106788837B (en) A kind of SDH network clock analysis method, analyzer and analysis system
CN104618035B (en) A kind of system and method for detecting test instrumentation
CN101997738B (en) Test method and system of multiple paths of E1 ports for realizing STM-1 interface
Cisco Chapter 7, TL1 Alarms and Errors
Welles An Evaluation of Accuracy and Reliability Concerning the Combination of PTP and Synchronous Ethernet for Clock Synchro-Nization and Frequency Transfer
US20050169187A1 (en) Methods and apparatus for testing automatic path protection switching
Cisco Chapter 7, TL1 Alarms and Errors
CN105744616B (en) A kind of method for synchronizing time and device
CN108021081A (en) The playback test method controlled based on WLAN and sample time domain
KR100257883B1 (en) High level data link control method of communication packet destination and packet type detection device and method
CN203933664U (en) A kind of test macro of PTN equipment
CN103581943A (en) Clock synchronization testing method and system for wireless access system
US20040142687A1 (en) Testing a communication network with a shared test port
CN105933086B (en) The method and apparatus that precision clock agreement is realized in media access control module
JP3841811B2 (en) Path tracing method and apparatus

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