Flow monitoring test method and device in TTE network test and electronic equipment

By monitoring the abnormal situations of service frames and synchronous frames in the TTE network, the problem of difficult synchronization status and service traffic in network group testing is solved, and efficient abnormal monitoring and stability testing of the TTE network is realized.

CN120223568AActive Publication Date: 2025-06-27XIDIAN UNIV
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202510263614.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-03-06
Publication Date
2025-06-27
Estimated Expiration
2045-03-06

AI Technical Summary

Technical Problem

In actual networking tests, it is difficult to effectively monitor the time and trigger the synchronization status and service traffic of Ethernet devices, affecting the normal service transmission and reception of the device.

Method used

It provides a traffic monitoring test method in TTE network testing, which can read test configuration information, receive and divert data frames, perform abnormal monitoring of service frames and synchronous frames, and record and report abnormal events and time points.

Benefits of technology

It realizes detailed abnormal monitoring of service frames and synchronization frames in the TTE network, which can not affect the service flow and synchronization functions, realizes abnormal monitoring and stability testing of large-scale TTE networks, and improves testing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120223568A_ABST
    Figure CN120223568A_ABST
Patent Text Reader

Abstract

The invention discloses a traffic monitoring test method and device in a TTE network test and electronic equipment, which are applied to a traffic monitoring test system, and the method comprises the following steps: reading test configuration information of a TTE network; receiving a data frame sent by the TTE network, and shunting the data frame into a service frame and a synchronization frame; based on the test configuration information, performing traffic bandwidth statistical operation on the service frame, and when traffic abnormality occurs in the service frame, recording a first abnormal event and an abnormal time point corresponding to the first abnormal event; performing transparent transmission on the synchronization frame based on the test configuration information, and recording a second abnormal event and an abnormal time point corresponding to the second abnormal event when the content of the synchronization frame is abnormal; and reporting the first abnormal event and / or the second abnormal event and the abnormal time points corresponding to the first abnormal event and / or the second abnormal event to the upper computer, thereby realizing effective monitoring of the synchronization state and the service flow of the TTE network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of communication technology, and in particular relates to a flow monitoring test method, device and electronic equipment in a TTE (Time Triggered Ethernet) network test. Background Art

[0002] With the rapid development of distributed systems, the traditional Ethernet transmission mechanism based on best efforts and event triggering can no longer meet the system's communication needs for real-time determination and safe fault tolerance. Time-triggered Ethernet technology combines the advantages of time-triggered technology and Ethernet's high bandwidth and flexible networking, so it is widely used in aerospace, unmanned driving, telecommunications and other fields.

[0003] The key to the realization of time-triggered Ethernet technology lies in the AS6802 time synchronization protocol. This protocol proposes a new high-precision and fault-tolerant synchronization technology that can achieve low-latency, low-jitter and high-precision clock synchronization. By introducing a global time reference for network devices and using fault-tolerant technology, AS6802 time synchronization ensures the determinism, reliability and security of time-triggered Ethernet.

[0004] However, in actual networking tests, if a device in the network has an abnormal synchronization state, it is often difficult to promptly check whether its synchronization state and local time are correct, thereby affecting the normal service transmission and reception of the device.

[0005] Therefore, how to effectively monitor the synchronization status and service traffic of time-triggered Ethernet devices in networking has become an important issue. Summary of the invention

[0006] In order to solve the above problems existing in the prior art, the present invention provides a flow monitoring test method, device and electronic equipment in TTE network test.

[0007] The technical problem to be solved by the present invention is achieved through the following technical solutions:

[0008] In a first aspect, the present invention provides a flow monitoring test method in a TTE network test, which is applied to a flow monitoring test system, and the method comprises:

[0009] Read the test configuration information of the TTE network;

[0010] Receiving data frames sent by the TTE network, and dividing the data frames into service frames and synchronization frames;

[0011] Based on the test configuration information, a traffic bandwidth statistics operation is performed on the service frame, and when a traffic abnormality occurs in the service frame, a first abnormal event and its corresponding abnormal time point are recorded;

[0012] Transparently transmit the synchronization frame based on the test configuration information, and when content anomalies occur in the synchronization frame, record the second anomaly event and its corresponding anomaly time point;

[0013] Report the first anomaly event and / or the second anomaly event and their corresponding anomaly time points to the host computer.

[0014] Optionally, reporting the first anomaly event and / or the second anomaly event and their corresponding anomaly time points to the host computer includes:

[0015] Merge all the first anomaly events and / or the second anomaly events and their corresponding anomaly time points within a preset configuration reporting period, and report the merged result to the host computer.

[0016] Optionally, when the service frame is a TT frame, perform traffic bandwidth statistics on the service frame based on the test configuration information, and when traffic anomalies occur in the service frame, record the first anomaly event and its corresponding anomaly time point, including:

[0017] Perform traffic bandwidth statistics on the TT frame. When it is determined that the bandwidth fluctuation of the TT frame is greater than a preset threshold, record the traffic bandwidth anomaly of the service frame and its corresponding anomaly time point; the preset threshold is determined according to the test configuration information.

[0018] Optionally, when the service frame is an RC frame, perform traffic bandwidth statistics on the service frame based on the test configuration information, and when traffic anomalies occur in the service frame, record the first anomaly event and its corresponding anomaly time point, including:

[0019] Perform traffic bandwidth statistics on the RC frame, and when the bandwidth upper limit of the RC frame exceeds the BAG limit, record the stream ID anomaly of the service frame and its corresponding anomaly time point; the BAG limit is determined according to the test configuration information.

[0020] Optionally, when the service frame is a BE frame, perform traffic bandwidth statistics on the service frame based on the test configuration information, and when traffic anomalies occur in the service frame, record the first anomaly event and its corresponding anomaly time point, including:

[0021] Perform traffic bandwidth statistics on the BE frame, and when the MAC address of the BE frame is inconsistent with the test configuration information, record the MAC address anomaly of the service frame and its corresponding anomaly time point.

[0022] Optionally, the synchronization frame includes a PCF frame.

[0023] Optionally, the second abnormal event includes abnormal arrival time of synchronization frames, abnormal content of synchronization frames, and / or abnormal synchronization frame protocol non - consistency.

[0024] In a second aspect, the present invention provides a traffic monitoring test device in a TTE network test. The device includes:

[0025] A reading module, configured to read test configuration information of the TTE network;

[0026] A shunting module, configured to receive data frames sent by the TTE network and shunt the data frames into service frames and synchronization frames;

[0027] A first abnormal record module, configured to perform traffic bandwidth statistics operations on the service frames based on the test configuration information, and record a first abnormal event and its corresponding abnormal time point when a traffic anomaly occurs in the service frames;

[0028] A second abnormal record module, configured to transparently transmit the synchronization frames based on the test configuration information, and record a second abnormal event and its corresponding abnormal time point when an abnormal content occurs in the synchronization frames;

[0029] A reporting module, configured to report the first abnormal event and / or the second abnormal event and their respectively corresponding abnormal time points to a host computer.

[0030] In a third aspect, the present invention provides an electronic device, including a processor, a communication interface, a memory, and a communication bus. Among them, the processor, the communication interface, and the memory complete mutual communication through the communication bus;

[0031] The memory is used to store a computer program;

[0032] The processor, when executing the computer program stored on the memory, implements the method steps described in any of the above - mentioned traffic monitoring test methods in a TTE network test.

[0033] In a fourth aspect, the present invention provides a computer - readable storage medium. The computer - readable storage medium stores a computer program, and when the computer program is executed by a processor, it implements the method steps described in any of the above - mentioned traffic monitoring test methods in a TTE network test.

[0034] A traffic monitoring and testing method in TTE network testing provided by the present invention conducts detailed abnormal monitoring and processing on the specific service frames and synchronization frames in the TTE network. Based on the test configuration information of the TTE network, traffic bandwidth statistics operations are performed on the service frames, and when traffic anomalies occur in the service frames, the first abnormal event and its corresponding abnormal time point are recorded; based on the test configuration information, the synchronization frames are transparently transmitted, and when content anomalies occur in the synchronization frames, the second abnormal event and its corresponding abnormal time point are recorded. Through this traffic monitoring mechanism, not only can the normal transmission of various service flows be unaffected, but also the synchronization function of the original network can be unaffected, and abnormal monitoring of specific links in a large-scale TTE network can be achieved, realizing long-term testing of the stability of TTE networking, thereby improving the efficiency of TTE network testing.

[0035] The following will further describe the present invention in detail with reference to the accompanying drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0036] Figure 1 is a schematic structural diagram of a traffic monitoring and testing system provided by an embodiment of the present invention;

[0037] Figure 2 is a schematic flowchart of a traffic monitoring and testing method in TTE network testing provided by an embodiment of the present invention;

[0038] Figure 3 is a schematic format diagram of service monitoring configuration information of a traffic monitoring and testing system provided by an embodiment of the present invention;

[0039] Figure 4 is a schematic format diagram of synchronization monitoring configuration information of a traffic monitoring and testing system provided by an embodiment of the present invention;

[0040] Figure 5 is a schematic format diagram of reporting abnormal events of a traffic monitoring and testing system provided by an embodiment of the present invention;

[0041] Figure 6 is a schematic structural diagram of a traffic monitoring and testing device in TTE network testing provided by an embodiment of the present invention;

[0042] Figure 7 is a schematic structural diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0043] The following further describes the present invention in detail with reference to specific embodiments, but the embodiments of the present invention are not limited thereto.

[0044] To solve the problem that it is difficult to effectively monitor the synchronization status and service traffic of time-triggered Ethernet devices in actual network testing, an embodiment of the present invention provides a traffic monitoring test method in TTE network testing, which is applied to a traffic monitoring test system. Refer to Figure 1 , Figure 1 FIG. Figure 1 is a schematic structural diagram of a traffic monitoring test system provided by an embodiment of the present invention. The traffic monitoring test system includes a data interface module, a frame information shunt module, a test configuration module, a local time recording module, a service frame monitoring module, a synchronization frame monitoring module, a synchronization frame transparent transmission control module, a forwarding management module, an exception storage module, an exception reporting module, and a PCIE interface.

[0045] Next, a traffic monitoring test method in TTE network testing provided by an embodiment of the present invention will be described in detail with reference to the traffic monitoring test system. Refer to Figure 2 , Figure 2 FIG. Figure 2 is a schematic flowchart of a traffic monitoring test method in TTE network testing provided by an embodiment of the present invention. The traffic monitoring test method in TTE network testing specifically includes the following steps:

[0046] Step S201, read the test configuration information of the TTE network.

[0047] First, the test configuration module in the traffic monitoring test system configures the test configuration information and performs port division of the monitoring flow. Among them, the test configuration information of the TTE network includes the service monitoring configuration information of the traffic monitoring test system and the synchronization monitoring configuration information of the traffic monitoring test system. Refer to Figure 3 , Figure 3 FIG. Figure 3 is a schematic format diagram of the service monitoring configuration information of the traffic monitoring test system provided by an embodiment of the present invention. The service monitoring configuration information of the traffic monitoring test system includes the lower and upper limits of service traffic, the service MAC (Media Access Control) address, and the service frame type; the service MAC address further includes the service source MAC address and the service destination MAC address. Refer to Figure 4 , Figure 4 FIG. Figure 4 is a schematic format diagram of the synchronization monitoring configuration information of the traffic monitoring test system provided by an embodiment of the present invention. The synchronization monitoring configuration information of the traffic monitoring test system includes the synchronization MAC address, the basic period, the matrix period, and the synchronization parameters; the synchronization MAC address further includes the synchronization source MAC address and the synchronization destination MAC address. It should be noted that when configuring, the synchronization frame test only needs to be configured once, and the service frame needs to be configured multiple times according to different frame types. When the parameters need to be refreshed, they can be refreshed by reconfiguring.

[0048] In an embodiment of the present invention, the initial configuration information is sent by the host computer. The initial configuration information can be received from the host computer through the PCIE interface and transmitted to the service frame monitoring module and the synchronization frame monitoring module.

[0049] Furthermore, the test configuration information of the TTE network may specifically include the lower and upper limits of the traffic of the service frame, the source MAC address of the service frame, the destination MAC address of the service frame, and the frame type of the service; the source MAC address and destination MAC address of the synchronization frame, the basic period, the matrix period, and the synchronization parameters. The synchronization parameters include: the basic period number range, the member vector value, the synchronization priority, the synchronization domain, the synchronization frame type, the transparent clock value, and the reserved field value; the port division includes determining the input port number and output port number of the data stream.

[0050] Next, perform network topology connection, connect the traffic monitoring test system to the original TTE network, send a start test instruction, the local time counter starts timing, and read the test configuration information.

[0051] The data interface module in the traffic monitoring test system can be used to read the test configuration information of the TTE network. The data interface module is used to convert the physical signals of the network into data in the TTE standard format to obtain the TTE network data frame. The data interface module may include a PHY (Physical, physical layer) and a MAC general IP (Intellectual Property Core) core, where the IP core refers to a pre-designed and verified reusable functional module.

[0052] In an embodiment of the present invention, the local time counter, that is, the local time recording module, selects a timing test mode or a long-term monitoring mode according to the configuration of the test duration register, and records the occurrence time point of the link exception event; when the system issues a test configuration instruction, the configuration register is set to 1, and at this time, the local time counter is triggered to start working. This signal flag is equivalent to the start switch of the counter. The two working modes include the timing test mode or the long-term monitoring mode. When the test duration register is configured at the same time, the test time can be specified. If the test duration register is not configured, the default working mode is the long-term monitoring mode. At this time, every time an exception occurs in the link, the exception information fault code and the occurrence time point will be reported; at the same time, this local time can be used to restore the original data stream in the forwarding management module later for forwarding output.

[0053] Step S202: Receive the data frame sent by the TTE network and split the data frame into a service frame and a synchronization frame.

[0054] In an embodiment of the present invention, the frame information shunting module in the traffic monitoring and testing system can be used to parse the frame content of TTE network data frames, including frame type fields, MAC addresses, basic cycle numbers of synchronization frames, number of member vectors, synchronization priorities, synchronization domains, synchronization frame types, and transparent clocks, and shunt the frame information to the service frame monitoring module and the synchronization frame monitoring module according to the frame type fields.

[0055] In one implementation, service frames include TT (Time-Triggered) frames, RC (Rate-Constrained) frames, and BE (Best-Effort) frames; the TTE network synchronization frame type includes PCF frames.

[0056] Step S203: Based on the test configuration information, perform traffic bandwidth statistics operations on service frames, and when traffic anomalies occur in the service frames, record the first anomaly event and its corresponding anomaly time point.

[0057] In an embodiment of the present invention, the service frame monitoring module in the traffic monitoring and testing system can be used to statistically calculate the traffic bandwidth of service frames at the input port, classify and statistically calculate according to different service frame types, and generate a first anomaly event when the service frame MAC address does not match the configuration or the bandwidth is abnormal. Among them, traffic bandwidth = data frame length * (number of received data frames / unit time).

[0058] In an embodiment of the present invention, for the three types of service frames, frame field checks and traffic bandwidth statistics are performed. When traffic anomalies occur, bandwidth anomaly information and the current anomaly time point are recorded, specifically as follows:

[0059] According to the frame information of the service frames received at the input port, start statistically calculating the port traffic bandwidth and checking the frame fields. At this time, record the reception time point of the input service flow for subsequent restoration of the output data stream;

[0060] In one implementation, the service frame bandwidth range depends on the service scheduling of the end system connected to the input port, and the bandwidth characteristics of different service types are different, mainly divided into the following three types.

[0061] In an embodiment of the present invention, when the service frame is a TT frame, based on the test configuration information, perform traffic bandwidth statistics operations on the service frame, and when traffic anomalies occur in the service frame, record the first anomaly event and its corresponding anomaly time point, including:

[0062] Perform traffic bandwidth statistics operations on the TT frame. When it is determined that the bandwidth fluctuation of the TT frame is greater than the preset threshold, record the traffic bandwidth anomaly of the service frame and its corresponding anomaly time point; the preset threshold is determined according to the test configuration information.

[0063] Specifically, in a TTE network, TT services are statically planned deterministic time-triggered services. Each TT frame has a fixed dispatch time point and a flow ID (Identifier). They are cyclically transmitted in a matrix period. Therefore, the TT bandwidth information of the link can be calculated based on all TT frames and frame lengths within a matrix period. When the link is stably transmitting, the bandwidth of TT frames is relatively stable. When the bandwidth of TT services on the link fluctuates greatly, it indicates that there are dropped frames in the TT frames on the link.

[0064] The specific preset threshold can be set by technicians based on test configuration information and experience, and there is no limitation here.

[0065] In an embodiment of the present invention, when the service frame is an RC frame, based on test configuration information, traffic bandwidth statistics operations are performed on the service frame. When traffic anomalies occur in the service frame, the first anomaly event and its corresponding anomaly time point are recorded, including:

[0066] Traffic bandwidth statistics operations are performed on the RC frame. When the bandwidth upper limit of the RC frame exceeds the BAG limit, the service frame flow ID anomaly and its corresponding anomaly time point are recorded; the BAG limit is determined according to test configuration information.

[0067] Specifically, in a TTE network, RC services are rate-limited by dividing different BAGs (Bandwidth Allocation Gap) according to the flow ID. Therefore, the upper limit of the RC frame bandwidth is the traffic bandwidth calculated from the maximum frame length sent according to the BAG within a unit time. Therefore, when the link is stably transmitting, the bandwidth of RC frames is relatively stable and has an upper limit. When the RC on the link exceeds the upper limit, it indicates that the RC frames on the link are sent exceeding the BAG limit and there are anomalies.

[0068] The specific BAG limit value can be set by technicians based on test configuration information and experience, and there is no limitation here.

[0069] In an embodiment of the present invention, when the service frame is a BE frame, based on test configuration information, traffic bandwidth statistics operations are performed on the service frame. When traffic anomalies occur in the service frame, the first anomaly event and its corresponding anomaly time point are recorded, including:

[0070] Traffic bandwidth statistics operations are performed on the BE frame. When the MAC address of the BE frame is inconsistent with the test configuration information, the service frame MAC address anomaly and its corresponding anomaly time point are recorded.

[0071] Specifically, in the TTE network, the BE service does not have the characteristics of a flow ID and static planning, and the MAC address monitored on the link should be consistent with the test configuration information. Since the link bandwidth allocation of the BE service is random, its transmission rate will not exceed the upper limit of the link transmission rate. Therefore, when the source MAC address or destination MAC address of the BE frame changes abnormally, there is an abnormality in the link.

[0072] Based on the above analysis, the first abnormal event in the embodiments of the present invention may include abnormal service frame traffic bandwidth, abnormal service frame flow ID, and abnormal service frame MAC address.

[0073] In the embodiments of the present invention, the time recording module in the traffic monitoring test system can be used to record the local reception time of the TTE network data frame for outputting flow recovery and abnormality records. The time recording module maintains a local clock, stamps the received TTE network data frame with the local reception timestamp, restores the input flow to the output port for output after a fixed delay, and when an abnormal situation occurs, reads the local clock as the abnormal time point, and this abnormal event point includes the start time and end time of the abnormal event.

[0074] Step S204: Based on the test configuration information, transparently transmit the synchronization frame, and record the second abnormal event and its corresponding abnormal time point when the content of the synchronization frame is abnormal.

[0075] In the embodiments of the present invention, the synchronization frame monitoring module in the traffic monitoring test system is used to determine whether the synchronization frame at the input port conforms to the AS6802 protocol, perform protocol legality checks, and perform statistics and judgment on the reception time. When the synchronization frame is inconsistent with the protocol or the arrival time deviates too much, an abnormal event is generated.

[0076] In the embodiments of the present invention, the service frame includes a PCF frame. In the TTE network, the length of the PCF service frame is fixed, and in a stable synchronization state, the scheduling time point is relatively fixed, so the bandwidth is relatively fixed. Mainly monitor whether there is any behavior inconsistent with the AS6802 protocol.

[0077] Furthermore, the second abnormal event includes abnormal synchronization frame arrival time, abnormal synchronization frame content, and / or abnormal synchronization frame protocol inconsistency. Below, taking the abnormal synchronization frame arrival time and abnormal synchronization frame protocol inconsistency as examples, the traffic monitoring test method in the TTE network test provided by the embodiments of the present invention will be further described.

[0078] Specifically, the PCF frame is further divided into three types of frames, namely the CS cold start frame, the CA cold start response frame, and the IN synchronization frame. In the state of stable network synchronization, synchronization frames are scheduled and sent in each basic cycle. When the synchronization frame of the monitoring link has not been received for more than one basic cycle, it indicates that an omission fault has occurred in this link, and it is determined that a synchronization frame arrival time abnormal event has occurred; at this time, monitor the arrival time and frame content of the next received synchronization frame. When the basic cycle without receiving the synchronization frame does not exceed the desynchronization threshold of the stable synchronization state, the device connected to the monitoring link is still in the synchronization state at this time, and the subsequent received synchronization frame should be an IN frame; when the basic cycle without receiving the synchronization frame exceeds the desynchronization threshold of the stable synchronization state, the device connected to the monitoring link should be in the unsynchronized state at this time, and the subsequent received synchronization frame should be a CS frame. When the received synchronization frame is not the above situation, it is determined that a synchronization frame protocol non - consistency exception has occurred.

[0079] In the embodiment of the present invention, for the synchronization frame, transparent transmission is performed, and when an abnormality occurs, the synchronization exception information fault code and the current abnormal time point are recorded, as follows:

[0080] According to the frame information of the TTE network synchronization frame received by the input port, first judge the synchronization state and the non - synchronization state through the received frame content. When the received frame is an IN frame interacted in the synchronization state at this time, it is considered that the input port device is in the synchronization state at this time. When the received frame is a CS frame and a CA frame interacted in the synchronization state at this time, it is considered that the input port device is in the non - synchronization state at this time. Record the reception time point, and correct the forwarding delay of the test device into the transparent clock parameter of the synchronization frame.

[0081] In the embodiment of the present invention, in the synchronization frame transparent transmission control module in the traffic monitoring test system, the synchronization frame transparent transmission control module is used to modify the transparent clock value of the synchronization frame, add the introduced forwarding delay to the transparent clock in the synchronization frame field, and does not affect the original network synchronization effect.

[0082] In the embodiment of the present invention, in the forwarding management module in the traffic monitoring test system, through the forwarding management module, the synchronization frame and the service frame are rescheduled and arranged for forwarding according to the flow characteristics distribution of the input port.

[0083] Step S205, report the first abnormal event and / or the second abnormal event and their respectively corresponding abnormal time points to the host computer.

[0084] In the embodiment of the present invention, in the abnormal storage module in the traffic monitoring test system, the abnormal storage module is used to store abnormal events and fault codes, and send the abnormal events to the abnormal reporting module when the abnormal reporting module sends a read signal.

[0085] The exception reporting module in the traffic monitoring test system can have two working modes according to different test configurations. One is to report regularly according to the preset configuration reporting period, and the other is to report immediately when an exception event occurs.

[0086] In one implementation, reporting the first exception event and / or the second exception event and their respective corresponding exception time points to the host computer includes:

[0087] Combining all the first exception events and / or the second exception events and their respective corresponding exception time points within the preset configuration reporting period, and reporting the combined result to the host computer.

[0088] In the embodiments of the present invention, the preset configuration reporting period can be set by technicians according to experience and is not limited here.

[0089] In the embodiments of the present invention, the PCIE interface in the traffic monitoring test system is the data interface with the host computer, and the test information configuration can be sent down and exception events can be reported from the host computer.

[0090] See Figure 5 , Figure 5 is a schematic diagram of the format for reporting exception events in the traffic monitoring test system provided by the embodiments of the present invention. The format for reporting exception events in the traffic monitoring test system can specifically include the exception type, the fault code, the start time of the fault occurrence, and the end time of the fault occurrence. Among them, the exception type can include the first exception event and the second exception event; the fault code is a code used to uniquely identify a specific fault type, which can facilitate quick identification and handling of problems; the start time of the fault occurrence and the end time of the fault occurrence can both be obtained by recording the corresponding exception time point when the exception event occurs.

[0091] In the embodiments of the present invention, when a fault occurs, long-term continuous monitoring can be selected, and exceptions can be reported regularly according to the preset reporting period, or reported immediately when an exception occurs. When multiple exceptions occur simultaneously, the reported exception situations can be combined and uploaded. Record the exception types, fault codes, start and end times of multiple exception situations. Use the bit mapping format for the information of multiple exception types. Each specific fault corresponds to one bit in the reported exception, and specific bit numbers of start and end times are allocated for each exception.

[0092] In the embodiments of the present invention, elaborate abnormal monitoring processing is performed on the specific service frames and synchronization frames in the TTE network. Based on the test configuration information of the TTE network, traffic bandwidth statistics operations are carried out on the service frames, and when traffic anomalies occur in the service frames, the first abnormal event and its corresponding abnormal time point are recorded; based on the test configuration information, the synchronization frames are transparently transmitted, and when content anomalies occur in the synchronization frames, the second abnormal event and its corresponding abnormal time point are recorded. Through this traffic monitoring mechanism, not only can the normal transmission of various service flows be unaffected, but also the synchronization function of the original network can be unaffected, enabling abnormal monitoring of specific links in a large-scale TTE network and achieving long-term testing of the stability of the TTE network formation, thereby improving the efficiency of TTE network testing.

[0093] Elaborate abnormal monitoring processing is performed on three specific service frames and one synchronization frame in the TTE network. For the three service frames, through the traffic bandwidth statistics function, the data stream bandwidth input to the test device can be dynamically calculated, and when traffic anomalies occur, through the abnormal diagnosis function, abnormal fault codes are reported; for the synchronization frames, through the transparent transmission function, the transparent clock value of the synchronization frames can be corrected without affecting the original synchronization effect of the network, and through the abnormal diagnosis function, it is judged whether the arrival time of the synchronization frames at this time is consistent with the expectation and whether the frame content is abnormal.

[0094] The traffic monitoring test method in the TTE network test provided by the embodiments of the present invention can monitor multiple TTE links simultaneously, realize abnormal analysis and diagnosis, and report link abnormal conditions.

[0095] Based on the same inventive concept, the embodiments of the present invention also provide a traffic monitoring test device in the TTE network test. Refer to Figure 6 , Figure 6 which is a schematic structural diagram of a traffic monitoring test device in the TTE network test provided by the embodiments of the present invention. The device includes:

[0096] A reading module 601 for reading the test configuration information of the TTE network;

[0097] A shunting module 602 for receiving the data frames sent by the TTE network and shunting the data frames into service frames and synchronization frames;

[0098] A first abnormal recording module 603 for performing traffic bandwidth statistics operations on the service frames based on the test configuration information and recording the first abnormal event and its corresponding abnormal time point when traffic anomalies occur in the service frames;

[0099] The second exception recording module 604 is configured to transparently transmit the synchronization frame based on the test configuration information, and record a second exception event and its corresponding exception time point when the content of the synchronization frame is abnormal;

[0100] The reporting module 605 is configured to report the first exception event and / or the second exception event and their corresponding exception time points to the host computer.

[0101] In the embodiment of the present invention, detailed exception monitoring processing is performed on the specific service frames and synchronization frames in the TTE network. Based on the test configuration information of the TTE network, traffic bandwidth statistics operations are performed on the service frames, and when traffic anomalies occur in the service frames, a first exception event and its corresponding exception time point are recorded; based on the test configuration information, the synchronization frames are transparently transmitted, and when content anomalies occur in the synchronization frames, a second exception event and its corresponding exception time point are recorded. Through this traffic monitoring mechanism, not only can the normal transmission of various service flows be unaffected, but also the synchronization function of the original network can be unaffected, and the exception monitoring of specific links in a large-scale TTE network can be realized, and the long-term test of the stability of the TTE network can be realized, thereby improving the efficiency of TTE network testing.

[0102] Optionally, the reporting module is specifically configured to:

[0103] Merge all the first exception events and / or the second exception events and their corresponding exception time points within a preset configuration reporting period, and report the merged result to the host computer.

[0104] Optionally, when the service frame is a TT frame, the first exception recording module is specifically configured to:

[0105] Perform traffic bandwidth statistics operations on the TT frame, and record service frame traffic bandwidth anomalies and their corresponding exception time points when it is determined that the bandwidth fluctuation of the TT frame is greater than a preset threshold; the preset threshold is determined according to the test configuration information.

[0106] Optionally, when the service frame is an RC frame, the first exception recording module is specifically configured to:

[0107] Perform traffic bandwidth statistics operations on the RC frame, and record service frame flow ID anomalies and their corresponding exception time points when the bandwidth upper limit of the RC frame exceeds the BAG limit; the BAG limit is determined according to the test configuration information.

[0108] Optionally, when the service frame is a BE frame, the first exception recording module is specifically configured to:

[0109] Perform traffic bandwidth statistics operation on the BE frame, and when the MAC address of the BE frame is inconsistent with the test configuration information, record the abnormality of the service frame MAC address and its corresponding abnormal time.

[0110] Optionally, the synchronization frame includes a PCF frame.

[0111] Optionally, the second abnormal event includes abnormal arrival time of the synchronization frame, abnormal content of the synchronization frame, and / or abnormal synchronization frame protocol inconsistency.

[0112] An embodiment of the present invention also provides an electronic device, as Figure 7 shown, including a processor 701, a communication interface 702, a memory 703, and a communication bus 704. Among them, the processor 701, the communication interface 702, and the memory 703 complete mutual communication through the communication bus 704.

[0113] The memory 703 is used to store a computer program.

[0114] When the processor 701 is used to execute the program stored on the memory 703, the method steps of any one of the above traffic monitoring test methods in the TTE network test are implemented.

[0115] The communication bus mentioned in the above electronic device may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. This communication bus can be divided into an address bus, a data bus, a control bus, etc. For the sake of representation, only a thick line is used in the figure to represent it, but it does not mean that there is only one bus or one type of bus.

[0116] The communication interface is used for communication between the above electronic device and other devices.

[0117] The memory may include a Random Access Memory (RAM), or may also include a Non-Volatile Memory (NVM), such as at least one disk memory. Optionally, the memory may also be at least one storage device located far from the aforementioned processor.

[0118] The above-mentioned processor may be a general-purpose processor, including a Central Processing Unit (CPU), a Network Processor (NP), etc.; it may also be a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable Gate Array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0119] The present invention also provides a computer-readable storage medium. A computer program is stored in the computer-readable storage medium. When the computer program is executed by a processor, the method steps described in any of the above-mentioned traffic monitoring test methods in the TTE network test are implemented.

[0120] Optionally, the computer-readable storage medium may be a non-volatile memory (NVM), such as at least one disk memory.

[0121] Optionally, the above-mentioned computer-readable storage medium may also be at least one storage device located away from the aforementioned processor.

[0122] In another embodiment of the present invention, a computer program product containing instructions is also provided. When it runs on a computer, the computer is caused to execute the method steps described in any of the above-mentioned traffic monitoring test methods in the TTE network test.

[0123] It should be noted that the terms "first", "second", etc. are used to distinguish similar objects and do not necessarily have to be used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged under appropriate circumstances so that the embodiments of the present invention described here can be implemented in an order other than those illustrated or described here. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present invention. On the contrary, they are merely examples of devices and methods consistent with some aspects of the present invention.

[0124] In the description of this specification, the descriptions referring to terms such as "one embodiment", "some embodiments", "example", "specific example", or "some examples" etc. mean that the specific features or characteristics described in connection with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic expressions of the above terms do not necessarily refer to the same embodiment or example. Moreover, the specific features or characteristics described can be combined in a suitable manner in any one or more embodiments or examples. In addition, those skilled in the art can combine and combine the different embodiments or examples described in this specification.

[0125] Although the present invention has been described in connection with various embodiments herein, however, in the process of implementing the claimed invention, those skilled in the art can understand and implement other variations of the disclosed embodiments by viewing the accompanying drawings and the disclosure. In the description of the present invention, the term "including" does not exclude other components or steps, the term "a" or "one" does not exclude a plurality of cases, and the meaning of "a plurality" is two or more, unless otherwise specifically defined. In addition, certain measures are described in different embodiments, but this does not mean that these measures cannot be combined to produce good effects.

[0126] The method provided by the embodiments of the present invention can be applied to an electronic device. Specifically, the electronic device can be: a desktop computer, a portable computer, a smart mobile terminal, a server, etc. There is no limitation here, and any electronic device that can implement the present invention belongs to the protection scope of the present invention.

[0127] For the device / electronic device / storage medium embodiments, since they are basically similar to the method embodiments, the description is relatively simple, and for the relevant parts, reference can be made to the partial description of the method embodiments.

[0128] It should be noted that the devices, electronic devices, and storage media of the embodiments of the present invention are respectively the devices, electronic devices, and storage media applying the above-mentioned traffic monitoring test method in a TTE network test. Then all the embodiments of the above-mentioned traffic monitoring test method in a TTE network test are applicable to the devices, electronic devices, and storage media, and can achieve the same or similar beneficial effects.

[0129] The above content is a further detailed description of the present invention in combination with specific preferred embodiments. It cannot be determined that the specific implementation of the present invention is only limited to these descriptions. For those of ordinary skill in the technical field to which the present invention pertains, without departing from the concept of the present invention, several simple deductions or substitutions can still be made, and all should be regarded as belonging to the protection scope of the present invention.

Claims

1. A flow monitoring test method in a TTE network test, applied to a flow monitoring test system, characterized in that: The method comprises: Read the test configuration information of the TTE network; Receiving data frames sent by the TTE network, and dividing the data frames into service frames and synchronization frames; Based on the test configuration information, a traffic bandwidth statistics operation is performed on the service frame, and when a traffic abnormality occurs in the service frame, a first abnormal event and its corresponding abnormal time point are recorded; Based on the test configuration information, transparently transmit the synchronization frame, and when the content of the synchronization frame is abnormal, record a second abnormal event and its corresponding abnormal time point; The first abnormal event and / or the second abnormal event and their corresponding abnormal time points are reported to a host computer.

2. The flow monitoring test method in TTE network test according to claim 1 is characterized in that: Reporting the first abnormal event and / or the second abnormal event and their corresponding abnormal time points to a host computer includes: All the first abnormal events and / or the second abnormal events within a preset configuration reporting period and their corresponding abnormal time points are merged, and the merged result is reported to the host computer.

3. The flow monitoring test method in TTE network test according to claim 1, characterized in that: When the service frame is a TT frame, based on the test configuration information, a traffic bandwidth statistics operation is performed on the service frame, and when a traffic abnormality occurs in the service frame, a first abnormal event and its corresponding abnormal time point are recorded, including: Perform traffic bandwidth statistics on the TT frame, and when it is determined that the bandwidth fluctuation of the TT frame is greater than a preset threshold, record the service frame traffic bandwidth anomaly and its corresponding anomaly time point; the preset threshold is determined according to the test configuration information.

4. The flow monitoring test method in TTE network test according to claim 1, characterized in that: When the service frame is an RC frame, based on the test configuration information, a traffic bandwidth statistics operation is performed on the service frame, and when a traffic abnormality occurs in the service frame, a first abnormal event and its corresponding abnormal time point are recorded, including: Perform traffic bandwidth statistics on the RC frame, and when the bandwidth upper limit of the RC frame exceeds the BAG limit, record the service frame flow ID exception and its corresponding exception time point; the BAG limit is determined according to the test configuration information.

5. The flow monitoring test method in TTE network test according to claim 1, characterized in that: When the service frame is a BE frame, based on the test configuration information, a traffic bandwidth statistics operation is performed on the service frame, and when a traffic abnormality occurs in the service frame, a first abnormal event and its corresponding abnormal time point are recorded, including: Perform traffic bandwidth statistics on the BE frame, and when the MAC address of the BE frame is inconsistent with the test configuration information, record the abnormality of the service frame MAC address and its corresponding abnormal time.

6. The method for monitoring traffic in a TTE network test according to claim 1, characterized in that: The synchronization frame includes a PCF frame.

7. The method for monitoring traffic in a TTE network test according to claim 1, characterized in that: The second abnormal event includes an abnormality in the arrival time of a synchronization frame, an abnormality in the content of a synchronization frame and / or an abnormality in the inconsistency of a synchronization frame protocol.

8. A flow monitoring test device in a TTE network test, characterized in that: The device comprises: A reading module, used to read the test configuration information of the TTE network; A shunting module, used for receiving data frames sent by the TTE network, and shunting the data frames into service frames and synchronization frames; A first abnormality recording module, configured to perform traffic bandwidth statistics on the service frame based on the test configuration information, and record a first abnormal event and its corresponding abnormal time point when a traffic abnormality occurs in the service frame; A second abnormality recording module, configured to transparently transmit the synchronization frame based on the test configuration information, and record a second abnormal event and its corresponding abnormal time point when a content abnormality occurs in the synchronization frame; The reporting module is used to report the first abnormal event and / or the second abnormal event and their corresponding abnormal time points to a host computer.

9. An electronic device, characterized in that: It includes a processor, a communication interface, a memory and a communication bus, wherein the processor, the communication interface and the memory communicate with each other through the communication bus; Memory, used to store computer programs; The processor is used to implement the traffic monitoring test method in the TTE network test as described in any one of claims 1-7 when executing the computer program stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the traffic monitoring test method in the TTE network test according to any one of claims 1 to 7 is implemented.

Citation Information

Patent Citations

  • TTE network switch clock synchronization test method

    CN114006853A

  • Time-triggered Ethernet switch service forwarding performance detection device

    CN114285767A

  • Test method and system of TTE switch, storage medium and computer equipment

    CN114338444A

  • Network frame reporting system and method for dynamically sharing DDR in TTE network test

    CN118573644A

  • Methods, systems, and apparatuses for priority-based time partitioning in time-triggered ethernet networks

    US20220200919A1