[go: up one dir, main page]

CN116389327B - A test method for AS6802 protocol consistency - Google Patents

A test method for AS6802 protocol consistency

Info

Publication number
CN116389327B
CN116389327B CN202310396521.2A CN202310396521A CN116389327B CN 116389327 B CN116389327 B CN 116389327B CN 202310396521 A CN202310396521 A CN 202310396521A CN 116389327 B CN116389327 B CN 116389327B
Authority
CN
China
Prior art keywords
test
current
frame
pcf
pcf frame
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202310396521.2A
Other languages
Chinese (zh)
Other versions
CN116389327A (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.)
Xidian University
Original Assignee
Xidian University
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 Xidian University filed Critical Xidian University
Priority to CN202310396521.2A priority Critical patent/CN116389327B/en
Publication of CN116389327A publication Critical patent/CN116389327A/en
Application granted granted Critical
Publication of CN116389327B publication Critical patent/CN116389327B/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/18Protocol analysers
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Maintenance And Management Of Digital Transmission (AREA)
  • Computer And Data Communications (AREA)
  • Communication Control (AREA)

Abstract

The invention discloses a test method aiming at AS6802 protocol consistency, which is applied to a tester and comprises the steps of acquiring a test table through a data interface, wherein the test table comprises test contents corresponding to a plurality of protocol control frames, the test contents at least comprise operation types, operation windows and operation time points of all PCF frames, the operation types comprise sending or receiving, when a start test instruction is received, a local time counter starts timing and reads current test contents corresponding to current PCF frames in the test table, based on the current test contents, if the operation type of the current PCF frame is receiving, a PCF frame receiving window is started at the operation time point corresponding to the current PCF frame, after receiving the PCF frames to be tested sent by tested equipment, the PCF frames to be tested are analyzed, and the analyzed contents are compared with the test contents of the current PCF frames to obtain a test result. The operation in the test process is determined by the test board, and various tests can be completed without changing a hardware circuit.

Description

Test method for AS6802 protocol consistency
Technical Field
The invention belongs to the technical field of communication, and particularly relates to a method for testing AS6802 protocol consistency.
Background
With the rapid development of distributed systems, conventional ethernet networks cannot meet the communication requirements of real-time determination, safety and fault tolerance of the systems by adopting a best effort, event-triggered transmission mechanism. The time-triggered Ethernet technology not only comprises the time-triggered technology, so that the network has the characteristics of real time and fault tolerance, but also has the characteristics of high bandwidth and flexible networking of the Ethernet, and is widely applied to the fields of aerospace, unmanned operation, telecommunication and the like.
The key to the implementation of time triggered ethernet technology is the AS6802 time synchronization protocol. The AS6802 time synchronization protocol establishes a new high-precision and fault-tolerant synchronization technique that enables low-delay, low-jitter, high-precision clock synchronization. AS6802 time synchronization introduces a global time reference for devices in the network and ensures the certainty, reliability and security of time triggered ethernet through fault tolerant techniques.
The time-triggered Ethernet technology has wide application prospect in the fields of aviation, aerospace and military, and a plurality of research institutes in China have developed self-home time-triggered Ethernet equipment. AS6802 protocol is used AS a key technology of time triggered ethernet, and whether the network can synchronize normally is a precondition for the time triggered ethernet to work. In practice, a network may include time-triggered ethernet devices provided by multiple vendors, each of which may not be able to fully comply with the standards defined by the AS6802 protocol during development, resulting in a network that is not synchronized. Because the state machine of the AS6802 protocol is complex, and network devices are numerous, the topology structure is complex, and the abnormality is difficult to detect.
It can be seen how to test whether the time triggered ethernet device conforms to the AS6802 protocol before networking is a problem to be solved by those skilled in the art.
Disclosure of Invention
In order to solve the problems in the prior art, the invention provides a test method for AS6802 protocol consistency. The technical problems to be solved by the invention are realized by the following technical scheme:
the invention provides a test method for AS6802 protocol consistency, which is applied to a tester and comprises the following steps:
Acquiring a test table through a data interface, wherein the test table comprises test contents corresponding to a plurality of protocol control frames, the test contents at least comprise operation types, operation windows and operation time points of all PCF frames, and the operation types comprise sending or receiving;
When a start test instruction is received, a local time counter starts to count and reads current test contents corresponding to a current PCF frame in the test table;
Based on the current test content, if the operation type of the current PCF frame is receiving, starting a PCF frame receiving window at an operation time point corresponding to the current PCF frame;
after receiving a PCF frame to be tested sent by tested equipment, analyzing the PCF frame to be tested, and comparing the analyzed content with the test content of the current PCF frame to obtain a test result.
In one embodiment of the present invention, before the step of receiving the start test instruction, the method further includes:
writing the test table into a Random Access Memory (RAM);
When a start test instruction is received, a local time counter starts timing and reads current test contents corresponding to a current PCF frame in the test table, and the method comprises the following steps:
when a start test instruction is received, the local time counter starts to count and reads the current test content corresponding to the current PCF frame in the test table from the RAM.
In one embodiment of the present invention, based on the current test content, if the operation type of the current PCF frame is reception, the step of opening a PCF frame reception window at an operation time point corresponding to the current PCF frame includes:
determining the operation type, the operation window and the operation time point of the current PCF frame based on the current test content;
if the operation type of the current PCF frame is receiving, opening a PCF frame receiving window when the count value of the time counter is equal to the operation time point of the current PCF frame.
In one embodiment of the present invention, the PCF frame receiving window is centered on the operation time point of the current PCF frame, and the operation window of the current PCF frame is a width.
In one embodiment of the present invention, after the step of starting to time and reading the current test content corresponding to the current PCF frame in the test table when receiving the start test instruction, the method further includes:
determining the operation type, the operation window and the operation time point of the current PCF frame based on the current test content;
and if the operation type of the current PCF frame is transmission, transmitting the current PCF frame to the tested equipment when the count value of the time counter is equal to the operation time point of the current PCF frame.
In one embodiment of the present invention, the test contents further include a destination MAC address, a source MAC address, an ethernet frame type, an integration period, a member vector, a synchronization priority, a synchronization field, a synchronization frame type, a transparent clock, a frame order, whether it is the last frame, and a comparison enable field of each PCF frame.
In one embodiment of the present invention, after receiving a PCF frame to be tested sent by a device to be tested, the steps of analyzing the PCF frame to be tested and comparing the analyzed content with the test content of the current PCF frame to obtain a test result include:
receiving a PCF frame to be tested sent by tested equipment;
Analyzing the PCF frame to be tested to obtain a destination MAC address, a source MAC address, an Ethernet frame type, an integration period, a member vector, a synchronous priority, a synchronous domain, a synchronous frame type and a transparent clock of the PCF frame to be tested;
Acquiring a destination MAC address, a source MAC address, an Ethernet frame type, an integration period, a member vector, a synchronization priority, a synchronization domain, a synchronization frame type and a transparent clock of the current PCF frame from current test contents;
And comparing at least one of a destination MAC address, a source MAC address, an Ethernet frame type, an integration period, a member vector, a synchronous priority, a synchronous domain, a synchronous frame type and a transparent clock of the PCF frame to be detected with corresponding items of the destination MAC address, the source MAC address, the Ethernet frame type, the integration period, the member vector, the synchronous priority, the synchronous domain, the synchronous frame type and the transparent clock of the current PCF frame according to the comparison enabling field of the current PCF frame to obtain a detection consistency test result.
In one embodiment of the present invention, if the consistency test result is correct and the current PCF frame is not the last frame, the step of reading the current test content corresponding to the current PCF frame in the test table is returned after taking the next PCF frame as the current frame.
Compared with the prior art, the invention has the beneficial effects that:
(1) The invention provides a test method aiming at the consistency of AS6802 protocol, the operation in the test process is carried out by a test table, various tests can be completed without changing a hardware circuit, and the test time can trigger the state machine jump of Ethernet equipment under abnormal conditions because the state machine jump of the AS6802 protocol is complex.
(2) The invention can simulate the SM (Synchronous Master, synchronous host) to test the CM (Compression Master, compression host) and simulate the CM to complete the SM test.
(3) The invention can flexibly adjust whether to test the PCF frame field by comparing the enabling bit, for example, if the destination MAC address has the corresponding comparing enabling bit, if the comparing enabling bit is 1, the invention needs to judge whether the destination MAC address is the same, otherwise if the comparing enabling bit is 0, the invention does not need to judge whether the destination MAC address is the same, even if the destination MAC is different, the invention has no influence, and the invention can ignore the destination MAC address, the source MAC address, the synchronous domain and the synchronous priority of the test PCF frame of the PCF frame, thereby having extremely strong flexibility.
The present invention will be described in further detail with reference to the accompanying drawings and examples.
Drawings
FIG. 1 is a schematic diagram of a method for testing the consistency of AS6802 protocol according to an embodiment of the present invention;
FIG. 2 is a flow chart of a method for testing the consistency of AS6802 protocol according to an embodiment of the present invention;
FIG. 3 is another schematic diagram of a testing method for AS6802 protocol consistency according to an embodiment of the present invention;
Fig. 4 is a schematic diagram of a test chart according to an embodiment of the present invention.
Detailed Description
The present invention will be described in further detail with reference to specific examples, but embodiments of the present invention are not limited thereto.
Fig. 1 is a schematic diagram of a testing method for AS6802 protocol consistency according to an embodiment of the present invention, and fig. 2 is a flowchart of a testing method for AS6802 protocol consistency according to an embodiment of the present invention. The invention provides a test method for AS6802 protocol consistency, which is applied to a tester and comprises the following steps:
s1, acquiring a test table through a data interface, wherein the test table comprises test contents corresponding to a plurality of protocol control frames, the test contents at least comprise operation types, operation windows and operation time points of all PCF frames, and the operation types comprise sending or receiving;
S2, when a start test instruction is received, starting timing by a local time counter and reading current test content corresponding to a current PCF frame in a test table;
S3, based on the current test content, if the operation type of the current PCF frame is receiving, starting a PCF frame receiving window at an operation time point corresponding to the current PCF frame;
S4, after receiving the PCF frame to be tested sent by the tested equipment, analyzing the PCF frame to be tested, and comparing the analyzed content with the test content of the current PCF frame to obtain a test result.
Specifically, when the AS6802 protocol consistency test is performed on the time-triggered ethernet device, the behavior of the PCF frame is transmitted and received by the synchronization component through the content simulation of the test table, and the receiving PCF frame and the time point of the PCF frame are determined by the local time counter, so AS to compare the content of the PCF frame to be tested and the time point to determine whether the time-triggered ethernet device accords with the content specified by the AS6802 protocol.
Optionally, before the step of receiving the start test instruction, the method further includes:
the test table is written into a random access memory RAM.
The tester IN this embodiment receives a test table through a data interface, where the test table includes, for example, contents of PCF frames such AS cs (Coldstart ) frames, ca (Coldstart Acknowledge, cold start response) frames, and IN (Integration) frames that interact IN the AS6802 protocol cold start process.
In the step S2, when receiving the start test instruction, the local time counter starts to count and reads the current test content corresponding to the current PCF frame in the test table, including:
When a start test instruction is received, the local time counter starts to count and reads the current test content corresponding to the current PCF frame in the test table from the RAM.
Fig. 3 is another schematic diagram of a test method for AS6802 protocol consistency according to an embodiment of the present invention. As shown in fig. 3, in the step S3, based on the current test content, if the operation type of the current PCF frame is reception, a step of starting a PCF frame reception window at an operation time point corresponding to the current PCF frame includes:
determining the operation type, the operation window and the operation time point of the current PCF frame based on the current test content;
if the operation type of the current PCF frame is receiving, opening a PCF frame receiving window when the count value of the time counter is equal to the operation time point of the current PCF frame.
In this embodiment, the PCF frame receiving window uses the operation time point of the current PCF frame as the center, and uses the operation window of the current PCF frame as the width.
With continued reference to fig. 3, after the step of starting to time and reading the current test content corresponding to the current PCF frame in the test table when receiving the start test command, the local time counter further includes:
determining the operation type, the operation window and the operation time point of the current PCF frame based on the current test content;
if the operation type of the current PCF frame is transmitting, the current PCF frame is transmitted to the tested equipment when the count value of the time counter is equal to the operation time point of the current PCF frame.
In this embodiment, the test contents further include a destination MAC address, a source MAC address, an ethernet frame type, an integration period, a member vector, a synchronization priority, a synchronization field, a synchronization frame type, a transparent clock, a frame sequence, whether it is the last frame, and a comparison enable field of each PCF frame.
Further, after receiving the PCF frame to be tested, the tester buffers the PCF frame to be tested into the FIFO, reads out the PCF frame data to be tested buffered in the FIFO, analyzes the content of the frame, and completes the solidifying function.
In the step S4, after receiving the PCF frame to be tested sent by the device to be tested, the step of analyzing the PCF frame to be tested and comparing the analyzed content with the test content of the current PCF frame to obtain a test result includes:
receiving a PCF frame to be tested sent by tested equipment;
Analyzing the PCF frame to be tested to obtain a destination MAC address, a source MAC address, an Ethernet frame type, an integration period, a member vector, a synchronous priority, a synchronous domain, a synchronous frame type and a transparent clock of the PCF frame to be tested;
acquiring a destination MAC address, a source MAC address, an Ethernet frame type, an integration period, a member vector, a synchronization priority, a synchronization domain, a synchronization frame type and a transparent clock of a current PCF frame from current test contents;
And comparing at least one of a destination MAC address, a source MAC address, an Ethernet frame type, an integration period, a member vector, a synchronous priority, a synchronous domain, a synchronous frame type and a transparent clock of the PCF frame to be detected with corresponding items in the destination MAC address, the source MAC address, the Ethernet frame type, the integration period, the member vector, the synchronous priority, the synchronous domain, the synchronous frame type and the transparent clock of the current PCF frame according to a comparison enabling field of the current PCF frame to obtain a detection consistency test result.
In this embodiment, if the consistency test result is correct and the current PCF frame is not the last frame, the step of reading the current test content corresponding to the current PCF frame in the test table is returned after the next PCF frame is used as the current frame.
The method for testing the consistency of the AS6802 protocol provided by the invention is further described below by taking the test contents including cs frames, ca frames and IN frames IN a test table AS an example.
Specifically, after the tester starts the test, the local time counter starts timing, the first test content IN the test table is a transmitting cs frame, then the cs frame is transmitted at a specified time point, the second test content IN the test table is a receiving cs frame, then a receiving window is opened at the specified time point, after the received PCF frame is solidified, the received PCF frame content is compared with the specified content IN the test table, if the test result is correct and is not the last frame, then the test operation is continued on the next frame, further, the third test content IN the test table is a transmitting ca frame, then the tester transmits a ca frame at the specified time point, the fourth test content IN the test table is a receiving ca frame, then the tester starts the receiving window at the specified time point, and after the received PCF frame is solidified, the received PCF frame content is compared with the specified content IN the test table, similarly, if the test result is correct and is not the last frame, then the test operation is continued on the next frame, the test result is transmitted at the specified time point, then the test result is received at the specified time point, the test result is received, and the test result is successfully is solidified, and the test result is received on the final test window.
According to the above embodiments, the beneficial effects of the invention are as follows:
(1) The invention provides a test method aiming at the consistency of AS6802 protocol, the operation in the test process is carried out by a test table, various tests can be completed without changing a hardware circuit, and the test time can trigger the state machine jump of Ethernet equipment under abnormal conditions because the state machine jump of the AS6802 protocol is complex.
(2) The invention can simulate the SM to test the CM, and can simulate the CM to complete the SM test.
(3) The invention can flexibly adjust whether to test the PCF frame field by comparing the enabling bit, for example, if the destination MAC address has the corresponding comparing enabling bit, if the comparing enabling bit is 1, the invention needs to judge whether the destination MAC address is the same, otherwise if the comparing enabling bit is 0, the invention does not need to judge whether the destination MAC address is the same, even if the destination MAC is different, the invention has no influence, and the invention can ignore the destination MAC address, the source MAC address, the synchronous domain and the synchronous priority of the test PCF frame of the PCF frame, thereby having extremely strong flexibility.
In the description of the present invention, the terms "first," "second," and the like are used for descriptive purposes only and are not to be construed as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defining "a first" or "a second" may explicitly or implicitly include one or more such feature. In the description of the present invention, the meaning of "a plurality" is two or more, unless explicitly defined otherwise.
In the description of the present specification, a description referring to terms "one embodiment," "some embodiments," "examples," "specific examples," or "some examples," etc., means that a particular feature, structure, material, or characteristic described in connection with the embodiment or example is included in at least one embodiment or example of the present invention. In this specification, schematic representations of the above terms are not necessarily directed to the same embodiment or example. Furthermore, the particular features, structures, materials, or characteristics described may be combined in any suitable manner in any one or more embodiments or examples. Further, one skilled in the art can engage and combine the different embodiments or examples described in this specification.
Although the application is described herein in connection with various embodiments, other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed application, from a study of the drawings, the disclosure, and the appended claims.
The foregoing is a further detailed description of the invention in connection with the preferred embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (5)

1.一种针对AS6802协议一致性的测试方法,其特征在于,应用于测试仪,所述方法包括:1. A method for testing AS6802 protocol conformance, characterized in that it is applied to a tester and comprises: 通过数据接口获取测试表,所述测试表包括多个协议控制PCF帧对应的测试内容,所述测试内容至少包括各个PCF帧的操作类型、操作窗口和操作时间点,所述操作类型包括发送或接收;Obtaining a test table through a data interface, the test table including test contents corresponding to a plurality of protocol control PCF frames, the test contents including at least an operation type, an operation window, and an operation time point of each PCF frame, the operation type including sending or receiving; 接收到启动测试指令时,本地时间计数器开始计时并读取所述测试表中当前PCF帧对应的当前测试内容;When receiving the start test instruction, the local time counter starts timing and reads the current test content corresponding to the current PCF frame in the test table; 基于所述当前测试内容,若当前PCF帧的操作类型为接收,则在所述当前PCF帧对应的操作时间点开启PCF帧接收窗口;Based on the current test content, if the operation type of the current PCF frame is reception, opening a PCF frame reception window at the operation time point corresponding to the current PCF frame; 接收到被测设备发送的待测PCF帧后,解析所述待测PCF帧并将解析的内容与所述当前PCF帧的测试内容进行比较,得到测试结果;After receiving the PCF frame to be tested sent by the device under test, parsing the PCF frame to be tested and comparing the parsed content with the test content of the current PCF frame to obtain a test result; 接收到启动测试指令的步骤之前,还包括:将所述测试表写入随机存取存储器RAM;Before receiving the step of starting the test instruction, the method further includes: writing the test table into a random access memory RAM; 接收到启动测试指令时,本地时间计数器开始计时并读取所述测试表中当前PCF帧对应的当前测试内容的步骤,包括:接收到启动测试指令时,本地时间计数器开始计时并从RAM中读取所述测试表中当前PCF帧对应的当前测试内容;When a start test instruction is received, the local time counter starts timing and reads the current test content corresponding to the current PCF frame in the test table, including: when a start test instruction is received, the local time counter starts timing and reads the current test content corresponding to the current PCF frame in the test table from the RAM; 基于所述当前测试内容,若当前PCF帧的操作类型为接收,则在所述当前PCF帧对应的操作时间点开启PCF帧接收窗口的步骤,包括:Based on the current test content, if the operation type of the current PCF frame is reception, the step of opening a PCF frame reception window at the operation time point corresponding to the current PCF frame includes: 基于所述当前测试内容,确定当前PCF帧的操作类型、操作窗口和操作时间点;若当前PCF帧的操作类型为接收,则在所述时间计数器的计数值等于所述当前PCF帧的操作时间点时,开启PCF帧接收窗口;Determine, based on the current test content, an operation type, an operation window, and an operation time point of the current PCF frame; if the operation type of the current PCF frame is reception, then open a PCF frame reception window when the count value of the time counter is equal to the operation time point of the current PCF frame; 所述PCF帧接收窗口以所述当前PCF帧的操作时间点为中心、以所述当前PCF帧的操作窗口为宽度。The PCF frame receiving window takes the operation time point of the current PCF frame as its center and the operation window of the current PCF frame as its width. 2.根据权利要求1所述的针对AS6802协议一致性的测试方法,其特征在于,接收到启动测试指令时,本地时间计数器开始计时并读取所述测试表中当前PCF帧对应的当前测试内容的步骤之后,还包括:2. The method for testing AS6802 protocol conformance according to claim 1, characterized in that after the step of starting the local time counter and reading the current test content corresponding to the current PCF frame in the test table upon receiving the start test instruction, the method further comprises: 基于所述当前测试内容,确定当前PCF帧的操作类型、操作窗口和操作时间点;Determine the operation type, operation window, and operation time point of the current PCF frame based on the current test content; 若当前PCF帧的操作类型为发送,则在所述时间计数器的计数值等于所述当前PCF帧的操作时间点时,发送所述当前PCF帧至被测设备。If the operation type of the current PCF frame is sending, then when the count value of the time counter is equal to the operation time point of the current PCF frame, the current PCF frame is sent to the device under test. 3.根据权利要求1所述的针对AS6802协议一致性的测试方法,其特征在于,所述测试内容还包括各个PCF帧的目的MAC地址、源MAC地址、以太网帧类型、集成周期、成员向量、同步优先级、同步域、同步帧类型、透明时钟、帧顺序、是否为最后一帧以及比较使能字段。3. The AS6802 protocol conformance testing method according to claim 1, wherein the test content also includes the destination MAC address, source MAC address, Ethernet frame type, integration period, member vector, synchronization priority, synchronization domain, synchronization frame type, transparent clock, frame sequence, whether it is the last frame, and comparison enable field of each PCF frame. 4.根据权利要求3所述的针对AS6802协议一致性的测试方法,其特征在于,接收到被测设备发送的待测PCF帧后,解析所述待测PCF帧并将解析的内容与所述当前PCF帧的测试内容进行比较,得到测试结果的步骤,包括:4. The method for testing AS6802 protocol conformance according to claim 3, wherein, after receiving a PCF frame to be tested sent by the device under test, the step of parsing the PCF frame to be tested and comparing the parsed content with the test content of the current PCF frame to obtain a test result comprises: 接收被测设备发送的待测PCF帧;Receive the PCF frame to be tested sent by the device under test; 解析所述待测PCF帧,得到所述待测PCF帧的目的MAC地址、源MAC地址、以太网帧类型、集成周期、成员向量、同步优先级、同步域、同步帧类型和透明时钟;Parsing the PCF frame to be tested to obtain the destination MAC address, source MAC address, Ethernet frame type, integration period, member vector, synchronization priority, synchronization domain, synchronization frame type and transparent clock of the PCF frame to be tested; 从当前测试内容中获取所述当前PCF帧的目的MAC地址、源MAC地址、以太网帧类型、集成周期、成员向量、同步优先级、同步域、同步帧类型和透明时钟;Obtaining the destination MAC address, source MAC address, Ethernet frame type, integration period, member vector, synchronization priority, synchronization domain, synchronization frame type and transparent clock of the current PCF frame from the current test content; 按照所述当前PCF帧的比较使能字段,将所述待测PCF帧的目的MAC地址、源MAC地址、以太网帧类型、集成周期、成员向量、同步优先级、同步域、同步帧类型和透明时钟中的至少一项与所述当前PCF帧的目的MAC地址、源MAC地址、以太网帧类型、集成周期、成员向量、同步优先级、同步域、同步帧类型和透明时钟中的对应项进行比较,获得检测一致性测试结果。According to the comparison enable field of the current PCF frame, at least one of the destination MAC address, source MAC address, Ethernet frame type, integration period, member vector, synchronization priority, synchronization domain, synchronization frame type and transparent clock of the PCF frame to be tested is compared with the corresponding items of the destination MAC address, source MAC address, Ethernet frame type, integration period, member vector, synchronization priority, synchronization domain, synchronization frame type and transparent clock of the current PCF frame to obtain a detection consistency test result. 5.根据权利要求4所述的针对AS6802协议一致性的测试方法,其特征在于,若所述一致性测试结果为正确且所述当前PCF帧不是最后一帧,则将下一个PCF帧作为当前帧后,返回读取所述测试表中当前PCF帧对应的当前测试内容的步骤。5. The method for testing AS6802 protocol consistency according to claim 4, wherein if the consistency test result is correct and the current PCF frame is not the last frame, the next PCF frame is used as the current frame, and the process returns to the step of reading the current test content corresponding to the current PCF frame in the test table.
CN202310396521.2A 2023-04-13 2023-04-13 A test method for AS6802 protocol consistency Active CN116389327B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310396521.2A CN116389327B (en) 2023-04-13 2023-04-13 A test method for AS6802 protocol consistency

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310396521.2A CN116389327B (en) 2023-04-13 2023-04-13 A test method for AS6802 protocol consistency

Publications (2)

Publication Number Publication Date
CN116389327A CN116389327A (en) 2023-07-04
CN116389327B true CN116389327B (en) 2025-08-12

Family

ID=86963180

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310396521.2A Active CN116389327B (en) 2023-04-13 2023-04-13 A test method for AS6802 protocol consistency

Country Status (1)

Country Link
CN (1) CN116389327B (en)

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US8793442B2 (en) * 2012-02-08 2014-07-29 International Business Machines Corporation Forward progress mechanism for stores in the presence of load contention in a system favoring loads
CN104734900B (en) * 2013-12-21 2019-05-17 北京市腾河智慧能源科技有限公司 A kind of sending control method of communication protocol test
CN105592492B (en) * 2015-12-18 2019-02-26 重庆邮电大学 High-level protocol stack conformance test platform and test method
WO2020172652A1 (en) * 2019-02-22 2020-08-27 Apple Inc. Radio resource management (rrm) testing using angle of arrival (aoa)
CN110460597B (en) * 2019-08-08 2020-12-01 成都光航信科技有限公司 Control frame pre-compression method based on AS6802 protocol
FR3118843B1 (en) * 2021-01-13 2025-03-07 Dassault Aviat SECURE AIRCRAFT DIGITAL DATA TRANSFER SYSTEM COMPRISING REDUNDANT DATA PRODUCING SYSTEMS, ASSOCIATED ASSEMBLY AND METHOD
CN115022208B (en) * 2022-05-10 2023-07-21 西安电子科技大学 TTE network flow monitoring equipment and method

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
AS6802时间同步协议一致性测试技术研究与实现;郭晓鹏;《中国知网优秀硕士学位论文全文数据库》;20240630;正文第5-36页 *

Also Published As

Publication number Publication date
CN116389327A (en) 2023-07-04

Similar Documents

Publication Publication Date Title
Basu et al. Statistical abstraction and model-checking of large heterogeneous systems
EP3185481B1 (en) A host-to-host test scheme for periodic parameters transmission in synchronous ttp systems
CN105530220B (en) The interface method of two kinds of different agreement system communications is realized based on OPC
US20050060403A1 (en) Time-based correlation of non-translative network segments
CN114006853B (en) TTE network switch clock synchronization test method
CN106850397A (en) Message delivery method and device in Internet of Things
CN115967644A (en) Switch security testing method facing time sensitive network
Steiner et al. The TTEthernet synchronisation protocols and their formal verification
CN120416085A (en) Service supervision and automated testing methods in AFDX network testing
CN116389327B (en) A test method for AS6802 protocol consistency
CN112134750B (en) Network time protocol stress testing method and device
CN112398672B (en) Message detection method and device
CN114006852B (en) TTE network end node clock synchronization test method
KR100257883B1 (en) High level data link control method of communication packet destination and packet type detection device and method
Hank Pelican: A new can controller supporting diagnosis and system optimization
CN114545201A (en) Bus loop test structure and method
CN109981394B (en) Communication method and device based on enhanced CAN bus protocol analyzer
JP2023543974A (en) Verifying time synchronization
CN116032802B (en) Real-time sensitive network testing method for train network control and supervision system
US12113886B2 (en) Methods, systems and computer readable media for generating dynamic time error
CN115242678B (en) Data acquisition method and device, electronic equipment and storage medium
EP1698105A1 (en) Communication fault containment via indirect detection
CN114629819B (en) Network detection method and device, electronic equipment and storage medium
CN109709932A (en) The method and apparatus for diagnostic electronics based on dSPACE-HIL system
Yu et al. Research on Segmented Latency Testing Method for in-Vehicle Real-Time Systems Based on DDS Middleware

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