High-density tte network test flow information statistics and reporting method and system

By adopting a pipelined operation mode in the TTE network and using a network-wide unique identifier to map addresses, the problem of statistics and reporting of flow information in high-density TTE networks is solved, improving storage space utilization and processing capacity.

CN116455825BActive Publication Date: 2026-03-31XIDIAN UNIV
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-04-07
Publication Date
2026-03-31

AI Technical Summary

Technical Problem

Existing technologies cannot fully utilize the unique identifier field of each transport stream in a TTE network, resulting in an inability to analyze each transport stream in detail, weak information aggregation capabilities, and difficulty in handling the statistical data of high-density TTE service flows.

Method used

Two pipeline operation modes are adopted to obtain flow information from each TTE network device, extract the network-wide unique identifier and map it to a specified address, and obtain the table entry address of the index statistics table by querying the lookup table to realize the statistics and reporting of flow information.

Benefits of technology

It improves on-chip memory utilization, reduces memory overhead, enhances streaming information processing capabilities for high-density TTE network testing, and reduces the waste of statistical data.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116455825B_ABST
    Figure CN116455825B_ABST
Patent Text Reader

Abstract

The application discloses a high-density TTE network test flow information statistics and reporting method and system, two kinds of pipeline operation modes are designed for different statistical scenes, flow information is acquired from each TTE network device, and a global network unique identifier is extracted from the flow information; the global network unique identifier is mapped to a specified address; the address is used as a query address, and an index statistical table entry address is obtained through a query lookup table mode, so that the flow information is written into the statistical table according to the index address, and the high-density TTE test flow information statistics and reporting are realized. Since the two-level lookup table method of address learning is used, the use of on-chip cache size in high-density flow statistics is reduced, the memory space utilization is improved, and the data flow processing capacity is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention belongs to the field of network transmission and testing technology, and in particular relates to a method and system for flow information statistics and reporting in high-density TTE network testing. Background Technology

[0002] TTE technology has great application potential in industrial control, aerospace, and high-end equipment. Because different scenarios have significantly different requirements for deterministic networks and implementation technologies, TTE system design reflects characteristics such as catering to diverse application scenarios, differentiated underlying protocol standards, and customized network system implementations. These characteristics also pose new demands for TTE system testing, making TTE network testing a crucial part of TTE system development.

[0003] Currently, traffic statistics for Time-Triggered Ethernet (TTE) typically involve using application software to count the number of packets sent and received, as well as the packet sending and receiving rates. For frames with transmission errors in TTE networks, network packet capture software is generally used for analysis. Furthermore, there is no clear distinction between individual service traffic flows within the network topology.

[0004] Based on the above description, the existing technology has the following problems and shortcomings:

[0005] (1) Existing technologies do not make full use of the network-wide unique identifier field of each transport stream in the TTE network, which results in the software level only being able to display the overall statistics, but not being able to analyze each transport stream in detail;

[0006] (2) Existing technologies have a weak ability to aggregate information. In TTE network transmission, the receiving node will inevitably perform various checks on the transmitted service traffic to ensure the correctness of the transmitted traffic. However, the purpose of these checks is only to discard erroneous frames, without making full use of this information to count the service traffic.

[0007] (3) Existing technologies are all data statistics for individual TTE network devices. When there are many devices in the TTE network topology, it is difficult to handle the statistics of high-density TTE service flows. Summary of the Invention

[0008] To address the aforementioned problems in the existing technology, this invention provides a method and system for flow information statistics and reporting in high-density TTE network testing. This method improves the processing capability of statistical quantities, reduces memory overhead, and increases memory utilization in high-density TTE network testing. The technical problem to be solved by this invention is achieved through the following technical solution:

[0009] This invention provides a method for flow information statistics and reporting in high-density TTE network testing, applied to a flow information statistics and reporting system. The method includes execution using two pipeline operation modes:

[0010] Obtain flow information from each TTE network device and extract a unique identifier for the entire network from the flow information;

[0011] Map a globally unique identifier to a specified address;

[0012] Use this address as the query address, and obtain the table entry address of the index statistics table by querying the lookup table;

[0013] The stream information is written into the statistics table based on the index address, thereby enabling the statistics and reporting of high-density TTE test stream information.

[0014] This invention provides a flow information statistics and reporting system for high-density TTE network testing, realizing the flow information statistics and reporting method for high-density TTE network testing.

[0015] The beneficial effects of this invention are:

[0016] This invention provides a method and system for flow information statistics and reporting in high-density TTE network testing. It employs a learning lookup table mapping for the network-wide unique identifier field, improving on-chip memory utilization, resolving potential lookup conflicts, and avoiding excessive register consumption for statistics. The system utilizes two pipeline processing modes combined with corresponding reporting methods to construct the flow information statistics and reporting system, suitable for both flows with small and large statistical volumes. In the first mode, the system separates the statistics module from each TTE network device, reducing coupling between system modules. Simultaneously, each report uses polling of the FLAG bits in the statistics RAM to determine the updated flow information within each reporting cycle, minimizing storage space waste during reporting. In the second mode, the system runs within each TTE network device, without complex polling design in the pipeline, allowing for the addition of various logic to enrich the statistical information. This system does not read or write the FLAG bits of the statistics RAM during polling, reducing statistical data fan-out, and writes the final statistical results into a FIFO for direct reading by the reporting module, reducing on-chip cache space usage. The patented DMA package takes into account universality, and the data reporting format is implemented in the AXIS bus format.

[0017] The present invention will be further described in detail below with reference to the accompanying drawings and embodiments. Attached Figure Description

[0018] Figure 1This is a flowchart illustrating a method for stream information statistics and reporting in high-density TTE network testing, provided in an embodiment of the present invention.

[0019] Figure 2a This is a schematic diagram of the first pipeline operation mode provided in the embodiment of the present invention;

[0020] Figure 2b This is a flowchart of the first type of pipeline operation provided in the embodiments of the present invention;

[0021] Figure 3 This is a schematic diagram of the second pipeline operation mode provided in the embodiments of the present invention;

[0022] Figure 4 This is a flowchart of the second type of pipeline operation provided in the embodiments of the present invention;

[0023] Figure 5 This is an operation flowchart of the method for reporting flow information for the first pipeline operation mode provided in this embodiment of the invention;

[0024] Figure 6 This is an operation flowchart of the flow information reporting method for the first pipeline operation mode provided in the embodiments of the present invention;

[0025] Figure 7 This is a schematic diagram of the system provided in the embodiment of the present invention for the first pipeline operation mode, applied to the transmission module of TTE network testing;

[0026] Figure 8 This is a schematic diagram of the system for the second pipeline operation mode provided in the embodiment of the present invention, applied to the receiving module of TTE network testing;

[0027] Figure 9 This is a module diagram of a flow information statistics and reporting system running two high-density TTE network tests on the same TTE network device. Detailed Implementation

[0028] The present invention will be further described in detail below with reference to specific embodiments, but the implementation of the present invention is not limited thereto.

[0029] The challenges in addressing these issues and shortcomings are as follows: a method needs to be designed to map the unique identifiers in the TTE network to a defined address space; a module needs to be established to collect statistics from TTE network devices, while also supporting the processing of statistics under high-density traffic; and software is needed to report updated service flow statistics when processing high-density statistics.

[0030] The significance of solving the above problems and defects is as follows: This invention performs a learning lookup table mapping for the unique identifier field across the entire network, which improves the utilization rate of on-chip storage space; it uses two pipeline processing modes combined with two reporting methods to build a flow information statistics and reporting system, which improves the processing capability for high-density TTE service traffic.

[0031] To enable those skilled in the art to fully understand how the present invention is specifically implemented, this section provides an explanatory description of the technical solutions of the present invention.

[0032] like Figure 1 As shown, this invention provides a method for flow information statistics and reporting in high-density TTE network testing, applied to a flow information statistics and reporting system. The method includes:

[0033] Two pipeline operation modes are used to obtain flow information from each TTE network device and extract the network-wide unique identifier from the flow information. The network-wide unique identifier is mapped to a specified address. This address is used as the query address, and the table entry address of the index statistics table is obtained by querying the lookup table. The flow information is then written into the statistics table according to the index address, thereby realizing the statistics and reporting of high-density TTE test flow information.

[0034] The aforementioned streaming information statistics and reporting system includes: TTE network equipment, a statistics module, a polling module, a reporting module, and RAM or FIFO for intermediate storage; wherein,

[0035] TTE network devices are used to independently transmit flow information to the statistics module, or to run a statistics module in each TTE network device;

[0036] The statistics module is used to perform statistical analysis on the flow information provided by TTE network devices and obtain statistical results.

[0037] The polling module can operate independently or be integrated into the statistics module to poll multiple TTE network devices to obtain updated flow information or statistics.

[0038] The reporting module is used to encapsulate statistical results into a DMA message format that can be recognized by the upper layer at a specified time node.

[0039] refer to Figure 2a as well as Figure 2b , Figure 2a This is a schematic diagram of the first type of pipeline operation mode. Figure 2b This is a flowchart illustrating the first pipeline operation mode. The steps for statistical analysis and reporting of high-density TTE test stream information in the first pipeline operation mode of this invention include:

[0040] S101, cyclic arbitration of flow information from each TTE network device, and extraction of the network-wide unique identifier from the flow information;

[0041] The TTE network device flow information includes: TTE network device number, statistics, and associated valid signals. This information is stored in a register set, and a priority encoder is used to encode multiple TTE network devices for round-robin arbitration.

[0042] S102, based on the unique identifier obtained in S101, query the lookup table to obtain the table entry address of the index statistics table;

[0043] The statistics module maintains a register to store the addresses of the secondary tables to which the stream information to be learned is allocated. First, the first-level learning lookup table is queried according to the globally unique identifier in the TTE test stream. If the valid bit in the table entry is 1, it means that the entry has been learned, and its content will be used for subsequent address operations; the address allocation register remains unchanged. If the valid bit in the table entry is 0, the address allocation register is incremented by one, and the content in the secondary table address register is used for subsequent address operations.

[0044] S103, pre-read information from the statistics table according to the table entry address in S102, and update the lookup table when a new lookup table address is learned;

[0045] The information in the prefetch statistics table is used to update the flow information statistics already learned in S102. If the flow information in S102 has not yet been learned, the register with the allocated address and the valid bit are set to 1 in S103 and written to the learning lookup table.

[0046] S104, write the statistical flow information into the statistics table.

[0047] The reporting module maintains a timer of a specified size, and uploads the DMA message when the timer reaches a specified time node.

[0048] For stream information statistics that have been learned, the statistics need to be accumulated, which requires the statistics pre-read in S103; otherwise, it means that the stream has not been counted yet, and the statistics of this stream are directly written to the address allocated in the register.

[0049] refer to Figure 3 as well as Figure 4 The second pipeline operation mode for statistical analysis and reporting of high-density TTE test stream information includes the following steps:

[0050] S201, in each TTE network device, a statistics module is run to obtain the flow information of the corresponding TTE network device, and the lookup table is queried and learned according to the network-wide unique identifier in the TTE flow information to obtain the table entry address of the index statistics table.

[0051] For the learning lookup table in S201, the statistics module maintains a register to store the addresses of the entries in the secondary table (i.e., the addresses of the statistics table entries) to which the stream information to be learned is allocated. First, the first-level learning lookup table is queried according to the globally unique identifier in the TTE test stream. If the valid bit in the entry is 1, it means that the entry has been learned, and its content will be used for subsequent address operations; the address allocation register remains unchanged. If the valid bit in the entry is zero, the address allocation register is incremented by one, and the content in the secondary table address register is used for subsequent address operations.

[0052] S202, pre-read the flow information in the statistics table according to the table entry address in S201, update the bit code table used for subsequent polling, and update the lookup table when the address of the new lookup table is learned;

[0053] Information from the pre-fetched statistics table is used to update the statistics of the stream information already learned in S201. If the stream information in S201 has not yet been learned, the register with the allocated address and the valid bit are set to 1 in S201 and written to the learning lookup table. If a large number of statistics are needed at this time and require separate operation, the statistics table maintaining these statistics is read in S201. This invention designs statistics for the maximum and minimum delays for this scenario. In S202, the RAM storing the maximum and minimum delays is read using the learned first-level lookup table. The relationship between the delay of this stream and the value stored in the maximum and minimum delay RAM is determined. If it is greater than the maximum delay or less than the minimum delay, the maximum and minimum delay RAM is updated in S203 and the statistical stream information is written to the statistics table. Otherwise, the data of this stream stored in the maximum and minimum delay RAM is directly written to the stream information statistics table in S203. At the same time, a bit code table maintained by the pipeline is updated, and the bit corresponding to the address indicated by the learning lookup table is set to 1, indicating that the statistics of this stream have been updated within a statistical period.

[0054] S203, write the flow information collected in S202 into the statistics table.

[0055] For network flow statistics that have been learned, the statistics need to be accumulated using the statistics pre-fetched in S202; otherwise, it means that the flow has not been counted yet, and the statistics of this flow are directly written to the address allocated in the register.

[0056] The flow information reporting method for the high-density TTE network test consists of the following two reporting operation modes and corresponding statistical operation methods, which together constitute the flow information statistics and reporting system for the high-density TTE network test.

[0057] like Figure 5 As shown, for the first pipeline operation mode, the operation flow of the first high-density TTE network testing flow information reporting method provided in this embodiment of the invention includes the following steps:

[0058] S301, the statistics module completes the polling of the statistics table before the timer reaches the specified time node, and records the table entries that have been updated within a reporting cycle.

[0059] For polling the statistics table, a pointer is used to poll the RAM and determine the FLAG flag bit in the RAM. At the same time, the address of the table entry with the FLAG bit set to 1 is stored in the on-chip RAM using the pointer as the address. For this polling method, two pointers are designed to represent the address of the valid RAM that has been polled and the address that has been reported.

[0060] S302, the statistics module clears the entries that have been polled in the statistics table according to the entry addresses in S310;

[0061] Clearing the statistics entry refers to clearing the FLAG bit of the statistics RAM using the address of the RAM after the polling is completed. This is used to indicate that the statistics information of the stream has been logically read, preventing stream information that has not been updated in the next statistical period from being reported as well, thus increasing useless bandwidth overhead.

[0062] S303, when the polling module reaches the specified time node, reads the statistical data from the table entry address that has been updated within a reporting cycle, and encapsulates it into a DMA message format recognized by the upper layer.

[0063] Reading updated entries is performed using the reported address pointer. Specifically, when this pointer coincides with the address pointer of a valid RAM location polled for, it indicates that all updated stream information within that statistical period has been read. Meanwhile, the upper-layer recognized DMA message is implemented in the AXIS format in the patent, serving as a general DMA data bus format.

[0064] This reporting process, combined with the first pipelined operation mode, constitutes a high-density TTE network testing flow information statistics and reporting scheme. This method uses a first-level learning lookup table as an index table, reducing the size of on-chip statistical RAM used in high-density TTE network testing scenarios. For flow information with a small statistical volume, this operation mode makes the statistics and reporting system completely independent of the TTE network device, reducing inter-module coupling. Simultaneously, each report uses a polling method of the FLAG bits in the statistical RAM to determine the updated flow information within each reporting cycle, minimizing storage space waste during the reporting process.

[0065] like Figure 6 As shown, for the second pipeline operation mode, the operation flow of the first high-density TTE network testing flow information reporting method provided in this embodiment of the invention includes the following steps:

[0066] S401, before the timer's specified time node, each TTE network device independently polls the bit code table, sets the corresponding bit to zero after polling, and sends a request to the secondary polling module;

[0067] Bit table polling refers to the process of pulling up the corresponding bit of a RAM address each time information is written to it. After a specified time interval, the RAM address mask signal is pulled up. ANDing the mask signal with the code table signal yields the bit vector to be polled. Once the corresponding bit is found, it is set to 0, indicating that the RAM data corresponding to that bit has been uploaded. Polling stops when the bit vector is all 0s, signifying that all updated RAM data has been uploaded. This method avoids invalid reporting of unupdated data streams, uses a bit table instead of RAM flag bits for polling, reduces RAM fan-out, and is well-suited for statistics involving multiple variables.

[0068] If a bit is zero, it indicates that the statistical data corresponding to that bit has been logically reported; the second-level polling module polls the statistical module in each TTE network device.

[0069] S402, the polling module performs fair polling on the secondary polling requests submitted by multiple TTE network devices until all requests from TTE network devices have been processed; the secondary polling request is a request submitted to the secondary polling module by the statistics module in each TTE network device after polling its own bit code table;

[0070] Second-level polling refers to the process where, when the statistics module of any TTE network device submits a reporting request, the polling module will perform cyclic priority encoding on the request and reply with a polling success signal to the statistics module in the corresponding TTE network device based on the corresponding encoding result. When the module receives the polling success signal, it will output the data in the corresponding statistics RAM based on the current first-level polling result and put it into the FIFO to wait for the reporting module to read and assemble the packets.

[0071] S403: When the timer reaches the specified time node, the polling module directly reads the FIFO content of the secondary polling output, which is then encapsulated by the reporting module into a DMA message format recognized by the upper layer; the secondary polling output is statistical information for the reporting module to read.

[0072] The polling module performs fair polling of secondary polling requests from multiple TTE network devices as follows: It serves each requesting TTE network device once, writing the corresponding statistical information of the TTE network device into a FIFO, and then serves the next requesting TTE network device, until all requests from TTE network devices have been processed. The upper-layer recognized DMA messages are implemented in the AXIS format in this invention, serving as a general DMA data bus format.

[0073] This reporting process, combined with the second pipeline operation mode, constitutes a high-density TTE network testing flow information statistics and reporting scheme. This high-density TTE network testing flow information statistics and reporting scheme uses a first-level learning lookup table as the index table, reducing the size of on-chip statistical RAM used in high-density TTE network testing scenarios. For flow information with a large amount of statistics, such as the need to statistically analyze various information at the receiving end (e.g., alarm errors, serial number errors, fixed field errors, maximum and minimum latency, etc.), this approach is particularly useful.

[0074] This statistical pipeline operation mode runs in each TTE network device without complex polling operations. Therefore, various logics can be added to S402 and S403 of the pipeline to enrich the statistical information. This invention also designs a maximum and minimum latency statistical method for this statistical and reporting system. In S402, a learned first-level lookup table is used to read the RAM storing the maximum and minimum latency, and the relationship between the latency of the current flow and the value stored in the maximum and minimum latency RAM is determined. If it is greater than the maximum latency or less than the minimum latency, the maximum and minimum latency RAM is updated in S403, and the statistical flow information is written to the statistical table. Otherwise, the data of the current flow stored in the maximum and minimum latency RAM is directly written to the flow information statistical table in S403.

[0075] This system incorporates a polling operation after the pipeline operation is completed. This polling operation only polls the bit code table updated during the pipeline operation and does not read or write to the statistical RAM, thus reducing the fan-out of statistical data. Furthermore, the final statistical results are written into the FIFO for direct reading by the reporting module, reducing the use of on-chip cache space.

[0076] The system and method of the present invention will be further described below with reference to specific embodiments.

[0077] This invention relates to a streaming information statistics and reporting system for high-density TTE network testing. The system mainly consists of a statistics module and a reporting module to ensure that the streaming information extracted from high-density TTE streaming information can be fully statistically analyzed, and to improve on-chip resource utilization by using fewer resources.

[0078] TTE network devices are used to independently transmit flow information to the statistics module, or to run a statistics module in each TTE network device;

[0079] The statistics module is used to perform statistical analysis on the flow information provided by TTE network devices and obtain statistical results.

[0080] The polling module can operate independently or be integrated into the statistics module to poll multiple TTE network devices to obtain updated flow information or statistics.

[0081] The reporting module is used to encapsulate statistical results into a DMA message format that can be recognized by the upper layer at a specified time node.

[0082] Reference Figure 7 Taking a high-density TTE network test flow information statistics and reporting system designed for the first type of pipeline operation as an example, each TTE network device 10 processes the statistical information 20, which runs as follows: Figure 1 The pipeline shown polls and summarizes the statistical information of each TTE network device, and performs address self-learning according to the flow ID provided by each TTE network device 10, obtaining the address of each data flow and storing it in RAM 30. RAM stores the statistical information of each flow. The reporting module 40 runs the first reporting process, reads the TTE statistical flow information in RAM 30, and assembles it into a DMA message in AXIS bus format.

[0083] Reference Figure 8Taking a high-density TTE network testing flow information statistics and reporting system designed for the second pipeline operation as an example, module 50 represents the statistics module running in each TTE network device. Each statistics module runs the second pipeline operation mode. Whenever module 50 collects information about a flow, it raises the polling bit table inside the module, uploading only updated statistics RAM data. In S402, the learned lookup table can be used to read the RAM storing the maximum and minimum latency, and determine the relationship between the latency of the current flow and the value stored in the maximum and minimum latency RAM. If it is greater than the maximum latency or less than the minimum latency, then in S403, the maximum and minimum latency RAM is updated and the statistical flow information is written into the statistics table. Otherwise, the data of the flow stored in the maximum and minimum latency RAM is directly written into the flow information statistics table in S403. Module 60 needs to fairly poll the updated RAM address for each TTE network device based on the results of this pipeline operation, and write the results sequentially into the FIFO shown in module 70. Module 80 represents the reporting module, which directly reads from module 70 at a specified time and assembles it into a DMA message in AXIS bus format.

[0084] To demonstrate the inventiveness and technical value of the technical solution of this invention, this section provides specific product or related technology application examples of the technical solution claimed.

[0085] A specific application example of this invention is as follows: Figure 7 The high-density TTE network testing flow information statistics and reporting system is applied in the sending module of the TTE network test; such as Figure 8 The high-density TTE network test flow information statistics and reporting system is applied in the receiving module of the TTE network test.

[0086] Generally, for the transmitting modules of devices in a TTE network, the focus is on the amount of data transmitted and the transmission rate. This type of statistic requires less logic and is suitable for applications such as... Figure 7 This system is designed for high-density TTE network testing, focusing on flow information statistics and reporting. The system is isolated from TTE network devices, reducing coupling between systems. Pipeline design improves data processing capabilities and ensures normal operation under high-density traffic. After pipelined operations, a polling operation is implemented. This polling operation only polls the updated bit table during pipelined operations, without reading or writing to the statistics RAM, reducing fan-out of statistical data. Furthermore, the final statistical results are written to a FIFO for direct reading by the reporting module, reducing the use of on-chip cache space.

[0087] For the receiving modules of devices in a TTE network, there are many parameters that need to be reported, such as received traffic volume, receiving rate, alarm errors, serial number errors, fixed field errors, maximum and minimum latency, etc. When there are many statistics, it is suitable to use... Figure 8 This system presents a flow information statistics and reporting system for high-density TTE networks. After pipelined operations are completed, a polling operation is implemented. This polling operation only polls the updated bit table during pipelined operations, without reading or writing to the statistics RAM. This reduces the fan-out of statistical data, allowing various logic to be added to the statistics module pipeline to enrich the statistical information and increasing user operability. Finally, the statistics are written to a FIFO for direct reading by the reporting module, reducing the use of on-chip cache space.

[0088] Both systems can run simultaneously within the same TTE network device. The system module connection diagram in this case is as follows: Figure 9 As shown, running on the sending side as follows Figure 7 A high-density TTE network test flow information statistics and reporting system, on the receiving side, such as... Figure 8 A flow information statistics and reporting system for high-density TTE network testing.

[0089] It should be noted that embodiments of the present invention can be implemented in hardware, software, or a combination of both. The hardware portion can be implemented using dedicated logic; the software portion can be stored in memory and executed by a suitable instruction execution system, such as a microprocessor or dedicated-design hardware. Those skilled in the art will understand that the above-described devices and methods can be implemented using computer-executable instructions and / or included in processor control code, for example, such code provided on a carrier medium such as a disk, CD, or DVD-ROM, a programmable memory such as read-only memory (firmware), or a data carrier such as an optical or electronic signal carrier. The devices and modules of the present invention can be implemented by hardware circuitry such as very large-scale integrated circuits or gate arrays, semiconductors such as logic chips, transistors, or programmable hardware devices such as field-programmable gate arrays, programmable logic devices, etc., or by software executed by various types of processors, or by a combination of the above-described hardware circuitry and software, such as firmware.

[0090] Although this application has been described herein in conjunction with various embodiments, those skilled in the art will understand and implement other variations of the disclosed embodiments by reviewing the accompanying drawings, the disclosure, and the appended claims in carrying out the claimed application. In the claims, the word "comprising" does not exclude other components or steps, and "a" or "an" does not exclude a plurality.

[0091] The above description, in conjunction with specific preferred embodiments, provides a further detailed explanation of the present invention. It should not be construed that the specific implementation of the present invention is limited to these descriptions. For those skilled in the art, various simple deductions or substitutions can be made without departing from the concept of the present invention, and all such modifications and substitutions should be considered within the scope of protection of the present invention.

Claims

1. A high-density TTE network test flow information statistics and reporting method, characterized in that, The application is applied to a flow information statistics and reporting system, and a flow information statistics and reporting method of high-density TTE network testing comprises the following steps: Obtaining flow information from each TTE network device and extracting a global network unique identifier from the flow information; Mapping the global network unique identifier to a specified address; Taking the address as a query address and obtaining an index statistical table item address through a query lookup table mode; Writing the flow information into the statistical table according to the index address to realize statistics and reporting of the high-density TTE test flow information; The first pipeline operation mode comprises the following steps: S101, arbitrating the flow information from each TTE network device and extracting the global network unique identifier in the flow information; S102, querying the lookup table according to the global network unique identifier obtained in S101 to obtain the table item address of the index statistical table; S103, pre-reading the information in the statistical table according to the table item address of S102 and updating the lookup table in the case of learning a new lookup table address; S104, writing the statistical flow information into the statistical table.

2. The method of claim 1, wherein the method further comprises: The flow information statistics and reporting system comprises a TTE network device, a statistics module, a polling module, a reporting module and a RAM or FIFO for intermediate storage, wherein The TTE network device is used for independently transmitting flow information to the statistics module or running a statistics module in each TTE network device; The statistics module is used for performing statistics on the flow information provided by the TTE network device; The polling module is independently run or integrated in the statistics module and is used for polling a plurality of TTE network devices to obtain updated flow information or statistical quantities; The reporting module is used for encapsulating the statistical results into a DMA message format recognizable by an upper layer at a specified time node.

3. The method of claim 2, wherein the method further comprises: determining the flow information of the high-density TTE network test; and reporting the flow information of the high-density TTE network test. The reporting module maintains a timer of a specified size, and the reporting module uploads the DMA message when the timer reaches the specified time node.

4. The method of claim 2, wherein the method further comprises: determining the flow information of the high-density TTE network test; and reporting the flow information of the high-density TTE network test. The second pipeline operation mode comprises the following steps: S201, running the statistics module in each TTE network device to obtain the flow information of the corresponding TTE network device, querying and learning the lookup table according to the global network unique identifier in the TTE flow information to obtain the table item address of the index statistical table; S202, pre-reading the flow information in the statistical table according to the table item address of S201, updating the bit code table for the subsequent polling, and updating the lookup table in the case of learning a new lookup table address; S203, writing the statistical flow information in S202 into the statistical table.

5. The method of claim 3, wherein the method further comprises: determining the flow information statistics of the high-density TTE network test; and reporting the flow information statistics of the high-density TTE network test. For the first pipeline operation mode, the following process is performed: S301, the statistics module completes the polling of the statistical table before reaching the time node specified by the timer and records the table item addresses in the statistical table that are updated within a reporting period; S302, the statistics module clears the table items in the statistical table that have been polled according to the table item address of S310; S303, the polling module reads the statistical data in the address of the table updated in a reporting period when the timer reaches the specified time node, and encapsulates the data into a DMA message format recognized by the upper layer by the reporting module.

6. The method of claim 4, wherein the method further comprises: determining the flow information of the high-density TTE network test; and reporting the flow information of the high-density TTE network test. The reporting module maintains a timer of a specified size, and the reporting module uploads the DMA message when the timer reaches the specified time node.

7. The method of claim 6, wherein the method further comprises: determining the flow information statistics of the high-density TTE network test; and reporting the flow information statistics of the high-density TTE network test. For the second pipeline operation mode, the following process is performed: S401, before the timer reaches the specified time node, each TTE network device independently polls the bit code table, and sets the corresponding bit to zero after polling the bit, and sends a request to the secondary polling module; If the bit is zero, it indicates that the statistical data corresponding to the bit has been logically reported; the secondary polling module is a module for polling each TTE network device; S402, the polling module performs fair polling on the secondary polling requests from the plurality of TTE network devices until all the requests from the TTE network devices are processed; the secondary polling request is a request submitted by the statistical module in each TTE network device to the secondary polling module after polling the respective bit code table; S403, the polling module directly reads the FIFO content output by the secondary polling when the timer reaches the specified time node, and encapsulates the content into a DMA message format recognized by the upper layer by the reporting module; the secondary polling output is statistical information for the reporting module to read.

8. The method of claim 7, wherein the method further comprises: determining the flow information statistics of the high-density TTE network test; and reporting the flow information statistics of the high-density TTE network test. The process of the polling module performing fair polling on the secondary polling requests from the plurality of TTE network devices is as follows: For each TTE network device that makes a request, the statistical information of the corresponding TTE network device is written into the FIFO, and then the next TTE network device that makes a request is served, until all the requests from the TTE network devices are processed.

9. A high-density TTE network test flow information statistics and reporting system, characterized in that, A method for implementing the high-density TTE network test flow information statistics and reporting method according to any one of claims 1 to 8.