CN114785717A - Method, apparatus, device and medium for determining maximum time delay of time-sensitive network - Google Patents

Method, apparatus, device and medium for determining maximum time delay of time-sensitive network Download PDF

Info

Publication number
CN114785717A
CN114785717A CN202210417582.8A CN202210417582A CN114785717A CN 114785717 A CN114785717 A CN 114785717A CN 202210417582 A CN202210417582 A CN 202210417582A CN 114785717 A CN114785717 A CN 114785717A
Authority
CN
China
Prior art keywords
time information
time
data
delay
information mapping
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202210417582.8A
Other languages
Chinese (zh)
Inventor
孔祥明
李长龙
刘超
王达
张旭东
吕家辉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
FAW Group Corp
Original Assignee
FAW Group Corp
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by FAW Group Corp filed Critical FAW Group Corp
Priority to CN202210417582.8A priority Critical patent/CN114785717A/en
Publication of CN114785717A publication Critical patent/CN114785717A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/04Processing captured monitoring data, e.g. for logfile generation
    • H04L43/045Processing captured monitoring data, e.g. for logfile generation for graphical visualisation of monitoring data

Landscapes

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

Abstract

The invention discloses a method, a device, equipment and a medium for determining the maximum time delay of a time-sensitive network. The method comprises the following steps: acquiring first time information of a target data stream flowing through a first test access point and second time information of the target data stream flowing through a second test access point; generating a first time information mapping chart of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart with time as an abscissa and a time interval of two adjacent frames of data flowing through the test access point as an ordinate; and determining the maximum time delay of the network to be tested according to the first time information mapping chart and the second time information mapping chart. The technical scheme can solve the problem that single-frame test data are difficult to capture in a large-flow deployed network scene, can not be influenced by the test data, and achieves the aim of quickly capturing the maximum time delay of the data.

Description

Method, apparatus, device and medium for determining maximum time delay of time-sensitive network
Technical Field
The present invention relates to the field of internet technologies, and in particular, to a method, an apparatus, a device, and a medium for determining a maximum delay of a time-sensitive network.
Background
With the popularization of automatic driving and intelligent cabins, the demand of an on-board network for transmitting data by using the Ethernet is increasing. However, the conventional ethernet cannot guarantee the quality of service of the transmitted data, that is, the service can meet the requirements of synchronization, delay, jitter, reliability, and the like, and the time-sensitive network is the key to solve these problems. In a vehicle-mounted network in which a time-sensitive network is deployed, the delay of testing a data stream becomes increasingly important. For streaming data that is present in a time-sensitive network in the form of a data stream, continuously verifying the maximum latency of the data over a period of time is a particularly critical parameter for both the network design engineer and the test engineer.
At present, when testing a time-sensitive network data stream, existing testing equipment either observes and compares the time delay one by one at the start point and the terminal of a link through which the data stream flows, or simulates and sends a special data stream so as to separate and compare the data stream among a plurality of data streams to calculate the time delay between the start point and the end point of the test link. After the time delay of the multi-frame data is obtained, the maximum time delay is determined by comparing the time delay of the data of each frame.
However, there are certain application limitations of the two solutions in the prior art. The single-frame testing method is simple to operate, is applicable to scenes with large difference of event type data and time delay, but is difficult to capture problems and realize automatic testing in the scene of large flow of Ethernet. The mode of simulating and sending the special data stream can only be tested in an undeployed network, but cannot be tested in a deployed network, and both methods are difficult to achieve the purpose of quickly monitoring the time delay of the specified data stream in the deployed network.
Disclosure of Invention
The invention provides a method, a device, equipment and a storage medium for determining the maximum time delay of a time-sensitive network, which are used for solving the problem that single-frame test data is difficult to capture in a large-flow deployed network scene, can not be restricted by the test data and achieve the aim of rapidly capturing the maximum time delay of the data.
According to an aspect of the present invention, there is provided a method for determining a maximum delay of a time-sensitive network, the method being performed by a data stream test system, the data stream test system including a data transmitting terminal and a data receiving terminal; the data sending end and the data receiving end are connected through a network to be tested; a first test access point is arranged between the data sending end and the network to be tested, and a second test access point is arranged between the network to be tested and the data receiving end; the method comprises the following steps:
acquiring first time information of a target data stream flowing through a first test access point and second time information of the target data stream flowing through a second test access point;
generating a first time information mapping chart of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart with time as an abscissa and a time interval of two adjacent frames of data flowing through the test access point as an ordinate;
and determining the maximum time delay of the network to be tested according to the first time information mapping chart and the second time information mapping chart.
According to another aspect of the present invention, there is provided a maximum delay determining apparatus for a time-sensitive network, the apparatus being configured in a data stream test system, the data stream test system including a data transmitting end and a data receiving end; the data sending end and the data receiving end are connected through a network to be tested; a first test access point is arranged between the data sending end and the network to be tested, and a second test access point is arranged between the network to be tested and the data receiving end; the device comprises:
the time information acquisition module is used for acquiring first time information of the target data stream flowing through the first test access point and second time information of the target data stream flowing through the second test access point;
the time information mapping map generating module is used for generating a first time information mapping map of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart taking time as an abscissa and taking the time interval of two adjacent frames of data flowing through the test access point as an ordinate;
and the maximum time delay determining module is used for determining the maximum time delay of the network to be tested according to the first time information mapping chart and the second time information mapping chart.
According to another aspect of the present invention, there is provided an electronic apparatus including:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor, the computer program being executable by the at least one processor to enable the at least one processor to perform the method of determining maximum latency of a time sensitive network according to any of the embodiments of the present invention.
According to another aspect of the present invention, there is provided a computer-readable storage medium storing computer instructions for causing a processor to implement a method for determining a maximum delay time of a time-sensitive network according to any one of the embodiments of the present invention when executed.
According to the technical scheme of the embodiment of the invention, the time information of the target data stream flowing through the two test access points is obtained, the time information mapping graphs are respectively constructed, and the purpose of quickly determining the maximum time delay of the network to be tested is realized according to the time information mapping graphs corresponding to the two test access points. The scheme solves the problem that single-frame test data are difficult to capture in a large-flow deployed network scene, is beneficial to avoiding the influence of the test data and improves the capture efficiency of the maximum time delay.
It should be understood that the statements in this section do not necessarily identify key or critical features of the embodiments of the present invention, nor do they necessarily limit the scope of the invention. Other features of the present invention will become apparent from the following description.
Drawings
In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the drawings required to be used in the description of the embodiments are briefly introduced below, and it is obvious that the drawings in the description below are only some embodiments of the present invention, and it is obvious for those skilled in the art that other drawings can be obtained according to the drawings without creative efforts.
Fig. 1A is a flowchart of a method for determining a maximum delay of a time-sensitive network according to an embodiment of the present invention;
FIG. 1B is a schematic diagram of a dataflow test provided in accordance with an embodiment of the present invention;
fig. 2A is a flowchart of a maximum delay determining method for a time-sensitive network according to a second embodiment of the present invention;
FIG. 2B is a frame interval point diagram of a first test access point provided in accordance with an embodiment of the present invention;
FIG. 2C is a frame interval point line graph of a second test access point provided in accordance with a second embodiment of the present invention;
fig. 2D is a diagram of a result of superimposing time information according to the second embodiment of the present invention;
fig. 3 is a schematic structural diagram of a maximum delay determining apparatus of a time-sensitive network according to a third embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device implementing the method for determining maximum delay in a time-sensitive network according to an embodiment of the present invention.
Detailed Description
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be obtained by a person skilled in the art without making any creative effort based on the embodiments in the present invention, shall fall within the protection scope of the present invention.
It should be noted that the terms "first," "second," and the like in the description and claims of the present invention and in the drawings described above are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used is interchangeable under appropriate circumstances such that the embodiments of the invention described herein are capable of operation in sequences other than those illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
Example one
Fig. 1A is a flowchart of a method for determining a maximum delay of a time-sensitive network according to an embodiment of the present invention, where the method is applicable to a case of determining a maximum delay of a time-sensitive network, and the method can be performed by a maximum delay determining apparatus of a time-sensitive network, and the apparatus can be implemented in a form of hardware and/or software, and the apparatus can be configured in an electronic device. As shown in fig. 1A, the method includes:
s110, acquiring first time information of the target data stream flowing through the first test access point and second time information of the target data stream flowing through the second test access point.
The scheme can be executed by a data stream test system, and the data stream test system can comprise a data sending end and a data receiving end. The data sending end and the data receiving end are connected through a network to be tested; and a first test access point is arranged between the data sending end and the network to be tested, and a second test access point is arranged between the network to be tested and the data receiving end.
Fig. 1B is a schematic diagram of a data flow test provided according to an embodiment of the invention. As shown in fig. 1B, the data sending end may be a data sending node Talker, and the data receiving end may be a data receiving node Listener. The Network to be tested may be a vehicular Network configured with a time sensitive Network, such as the vehicular ethernet Network in fig. 1B. The two TAP points in fig. 1B may be test access points for testing the data stream. The first test access point may be a TAP point on the Talker side and the second test access point may be a TAP point on the Listener side. The target data stream may be sent from the Talker, through the network to be tested, and received to the Listener. The target data stream includes at least two frames of data, which may be all data streams sent by the data sending end, or a part of data streams obtained by intercepting all data streams according to a certain rule. For example, the target data stream may be the first 10 frame data streams of the data stream sent by the data sending end. The target data stream may also be a combined data stream obtained by acquiring one frame of data every 5 frames of data in a data stream sent by the data sending end.
The data flow test system can monitor the data flow conditions of the two test access points and record the time information of the data flow through each test access point. When the target data stream passes through each test access point and reaches the data receiving end, the data stream test system obtains the time information of each data stream in the target data stream passing through each test access point. For example, the time when the first frame data in the target data stream flows through the first test access point is 7:00:01, and the time when the first frame data in the target data stream flows through the second test access point is 7:00: 03.
S120, generating a first time information mapping chart of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart with time as an abscissa and a time interval of two adjacent frames of data flowing through the test access point as an ordinate.
The data flow test system can calculate the time interval of two adjacent frames of data flowing through the same test access point according to the first time information, and then construct a first time information mapping chart by taking the flowing time of the frame data as an abscissa and taking the time interval of two adjacent frames of data flowing through the same test access point as an ordinate. It should be noted that the first frame data does not have the previous data, and thus, the first frame data may not have the corresponding point. Similarly, the data testing system may also construct a second time information map according to the second time information.
S130, determining the maximum time delay of the network to be tested according to the first time information mapping chart and the second time information mapping chart.
The data stream test system may perform a frame-by-frame delay calculation according to the abscissa time data of the point corresponding to each frame of data in the first time information map and the abscissa time data of the point corresponding to each frame of data in the second time information map. Assume that the abscissa of the point corresponding to the second frame data in the second time information map is 7:00:01, the abscissa of the point corresponding to the second frame data in the first time information map is 6: 59:59, the data stream test system can calculate the time delay of the second frame data to be 2 seconds through subtraction. It should be noted that the above assumption is only for explaining a calculation manner of the data delay, and in practical applications, a recording manner of the network time is more accurate, and the data delay is usually within a millisecond. For example, the network delay can achieve a smoother data transmission effect within 1-30 ms.
The data flow test system can calculate the time delay of each frame data through the abscissa time data of the point corresponding to each frame data in the first time information mapping chart and the abscissa time data of the point corresponding to each frame data in the second time information mapping chart. Comparing and arranging the time delay of each frame data, and the data flow test system can obtain the maximum time delay of the network to be tested.
In one possible solution, optionally, after generating the first time information map of the target data stream, the method further includes:
and determining the frame data sending stability of the data sending end according to the first time information mapping chart.
In the scheme, the data flow test system can test the sending stability of the frame data of the data sending end according to the time interval that two adjacent frame data in the first time information mapping chart flow through the same test access point, namely the ordinate data corresponding to each point. The data flow test system can count the variation value of the ordinate data between each point and judge the sending stability of the frame data according to the magnitude of the variation value. The data flow testing system can also count the number of the change values of the ordinate data among the points exceeding a preset threshold value, and judge the sending stability of the frame data according to the percentage of the number of the points exceeding the threshold value.
The scheme can visually determine the sending stability of the frame data of the data sending end through the time information mapping chart, is favorable for timely discovering and improving abnormal data sending conditions, and ensures good operation of the network.
According to the technical scheme, the time information of the target data stream flowing through the two test access points is obtained, the time information mapping graphs are respectively constructed, and the purpose of quickly determining the maximum time delay of the network to be tested is achieved according to the time information mapping graphs corresponding to the two test access points. The scheme solves the problem that single-frame test data are difficult to capture in a large-flow deployed network scene, is beneficial to avoiding the influence of the test data and improves the capture efficiency of the maximum time delay.
Example two
Fig. 2A is a flowchart of a method for determining a maximum delay of a time-sensitive network according to a second embodiment of the present invention, which is optimized based on the second embodiment. As shown in fig. 2A, the method includes:
s210, acquiring first time information of the target data stream flowing through the first test access point and second time information of the target data stream flowing through the second test access point.
S220, generating a first time information mapping chart of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart with time as an abscissa and a time interval of two adjacent frames of data flowing through the test access point as an ordinate.
Fig. 2B is a frame interval point line diagram of a first test access point provided according to a second embodiment of the present invention, and fig. 2C is a frame interval point line diagram of a second test access point provided according to a second embodiment of the present invention. In this embodiment, as shown in fig. 2B, the first time information map may be a frame interval point line map of the first test access point. Among them, t1, t2, t3, and t4 in fig. 2B correspond to t1, t2, t3, and t4 in fig. 1B, respectively. As shown in fig. 2C, the second time information map may be a frame interval point line map of the second test access point. Among them, t1 ', t 2', t3 'and t 4' in fig. 2C correspond to t1 ', t 2', t3 'and t 4' in fig. 1B, respectively.
S230, overlapping the second time information mapping chart with the first time information mapping chart, and translating the point in the second time information mapping chart by a target distance to obtain a time information overlapping result chart; and the target distance is a coordinate distance mapped by a time difference of first frame data in the target data stream flowing through the second test access point and the first test access point.
Fig. 2D is a time information superposition result diagram provided according to the second embodiment of the present invention, and it can be understood that the data stream testing system may superpose the second time information map and the first time information map to obtain the time information superposition result diagram shown in fig. 2D. To achieve a more intuitive comparison, the point in the second time information map may be shifted by the target distance. Wherein the target distance may be a coordinate distance mapped by a time difference of the first frame data flowing through the second test access point and the first test access point, i.e. t1-the coordinate distance to which t1 is mapped. In fact, the target distance is a coordinate distance to which the time delay of the first frame data is mapped. By the above-described shift operation, t1 in the second time information mapMay be aligned with t1 in the first time information map. The other frame data except the first frame data stream may be based on the frame data corresponding theretoThe position of the point is used for judging the time delay size.
S240, determining the maximum time delay of the network to be tested according to the comparison result of the second time information mapping point and the first time information mapping point corresponding to each frame data in the time information superposition result graph.
Under the scene that the time delay difference of each frame of data is large, a network tester can directly determine the frame of data with the maximum time delay by observing the time information superposition result graph, and then calculate the maximum time delay according to the first time information and the second time information of the frame of data through the data stream test system. The data flow testing system can also determine the maximum time delay of the network to be tested according to the abscissa of the first time information mapping point, the abscissa of the second time information mapping point and the time delay of the first frame data of the frame data in the current time information superposition result graph.
In this scheme, optionally, the determining a maximum time delay of the network to be tested according to a comparison result between a second time information mapping point and a first time information mapping point corresponding to each frame data in the time information superposition result diagram includes:
determining a comparison result of the frame data time delay and the first frame data time delay according to the transverse position of a second time information mapping point and a first time information mapping point corresponding to each frame data;
and determining the maximum time delay of the network to be tested according to the comparison result of the frame data time delay and the first frame data time delay.
In a common scene, the data stream testing system may determine the size of the current frame data delay and the first frame data delay according to the horizontal position of the second time information mapping point and the first time information mapping point corresponding to each frame of data, so as to eliminate the frame data delay smaller than the first frame data delay. The data flow testing system can further compare the time delay of the rest frame data with the time delay of the first frame data on specific values, and finally the maximum time delay of the network to be tested is obtained.
The scheme can reduce the calculation range of the time delay, thereby realizing faster positioning of the maximum time delay.
Specifically, the determining a comparison result between the frame data delay and the first frame data delay according to the horizontal position of the second time information mapping point and the first time information mapping point corresponding to each frame data includes:
if the second time information mapping point corresponding to the frame data is located in the first direction of the first time information mapping point, the frame data time delay is greater than the first frame data time delay;
if the second time information mapping point corresponding to the frame data is located in the second direction of the first time information mapping point, the frame data time delay is smaller than the first frame data time delay;
wherein the first direction is opposite to the second direction.
As shown in fig. 2D, it is easy to understand that if the second time information mapping point is located on the right side of the first time information mapping point in the time information superposition result diagram, the time delay of the frame data corresponding to the time information mapping point is larger than the time delay of the first frame data. For example, the second time information mapping point corresponding to t 2' is located at the right side of the first time information mapping point corresponding to t 2. If the second time information mapping point is on the left side of the first time information mapping point, it means that the time delay of the frame data corresponding to the time information mapping point is smaller than the time delay of the first frame data. For example, the second time information mapping point corresponding to t 4' is left of the first time information mapping point corresponding to t 4.
The scheme can visually compare the time delay of each frame data with the time delay of the first frame data, is favorable for shortening the searching range of the maximum time delay, and can quickly and accurately determine the maximum time delay while reducing the time delay calculation amount.
On the basis of the above scheme, optionally, determining the maximum time delay of the network to be tested according to the comparison result between the frame data time delay and the first frame data time delay includes:
if the frame data time delay is larger than the first frame data time delay, calculating the transverse distance between a second time information mapping point and a first time information mapping point of each group of time information mapping points larger than the first frame data time delay;
and determining the maximum time delay of the network to be tested according to the comparison result of the transverse distance.
After determining the magnitude of each frame data delay and the first data delay, if there is a frame data delay greater than the first frame data delay, the data flow test system may calculate the lateral distance between the second time information mapping point and the first time information mapping point for each set of time information mapping points greater than the first frame data delay, and further compare the numerical difference in the lateral position on the distance level. And comparing the transverse distances, and sequencing according to a certain sequence to obtain the maximum time delay of the network to be tested.
The scheme can accurately determine the maximum time delay of the network to be tested, and is favorable for improving the positioning efficiency of the maximum time delay.
In one possible implementation, optionally, after determining the comparison result between the frame data delay and the first frame data delay, the method further includes:
and if the frame data time delay is not larger than the first frame data time delay, taking the first frame data time delay as the maximum time delay of the network to be tested.
If the frame data time delay is not larger than the first frame data time delay, the subsequent frame data time delay is smaller than the first frame data time delay, and the data flow test system can determine the first frame data time delay as the maximum time delay of the network to be tested.
According to the scheme, when the frame data time delay is not larger than the first frame data time delay, the first frame data time delay is used as the maximum time delay, and the reliability of determining the maximum time delay is guaranteed.
According to the technical scheme, the time information of the target data stream flowing through the two test access points is obtained, the time information mapping graphs are respectively constructed, and the purpose of quickly determining the maximum time delay of the network to be tested is achieved according to the time information mapping graphs corresponding to the two test access points. The scheme solves the problem that single-frame test data are difficult to capture in a large-flow deployed network scene, is beneficial to avoiding the influence of the test data and improves the capture efficiency of the maximum time delay.
EXAMPLE III
Fig. 3 is a schematic structural diagram of a maximum delay determining apparatus of a time-sensitive network according to a third embodiment of the present invention. The device is configured to be executed by a data flow test system, and the data flow test system comprises a data sending end and a data receiving end; the data sending end and the data receiving end are connected through a network to be tested; a first test access point is arranged between the data sending end and the network to be tested, and a second test access point is arranged between the network to be tested and the data receiving end; as shown in fig. 3, the apparatus includes:
a time information obtaining module 310, configured to obtain first time information that a target data stream flows through a first test access point and second time information that the target data stream flows through a second test access point;
a time information map generating module 320, configured to generate a first time information map of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart with time as an abscissa and a time interval of two adjacent frames of data flowing through the test access point as an ordinate;
a maximum delay determining module 330, configured to determine a maximum delay of the network to be tested according to the first time information map and the second time information map.
In this embodiment, optionally, the maximum delay determining module 330 includes:
a time information superposition result graph generating unit, configured to superpose the second time information map and the first time information map, and shift a point in the second time information map by a target distance to obtain a time information superposition result graph; the target distance is a coordinate distance mapped by a time difference of first frame data in a target data stream flowing through a second test access point and flowing through a first test access point;
and the maximum time delay determining unit is used for determining the maximum time delay of the network to be tested according to the comparison result of the second time information mapping point and the first time information mapping point corresponding to each frame data in the time information superposition result graph.
On the basis of the foregoing scheme, optionally, the maximum delay determining unit includes:
a comparison result determining subunit, configured to determine a comparison result between the frame data delay and the first frame data delay according to a horizontal position of a second time information mapping point and a first time information mapping point corresponding to each frame data;
and the maximum time delay determining subunit is used for determining the maximum time delay of the network to be tested according to the comparison result of the frame data time delay and the first frame data time delay.
In a possible implementation, optionally, the comparison result determining subunit is specifically configured to:
if the second time information mapping point corresponding to the frame data is located in the first direction of the first time information mapping point, the frame data time delay is greater than the first frame data time delay;
if the second time information mapping point corresponding to the frame data is located in the second direction of the first time information mapping point, the frame data time delay is smaller than the first frame data time delay;
wherein the first direction is opposite to the second direction.
On the basis of the above scheme, optionally, the maximum delay determining subunit is specifically configured to:
if the frame data time delay is larger than the first frame data time delay, calculating the transverse distance between a second time information mapping point and a first time information mapping point of each group of time information mapping points larger than the first frame data time delay;
and determining the maximum time delay of the network to be tested according to the comparison result of the transverse distance.
In another possible implementation, optionally, the comparison result determining subunit is further configured to:
and if the frame data time delay is not larger than the first frame data time delay, taking the first frame data time delay as the maximum time delay of the network to be tested.
Optionally, the time information map generating module 320 is further configured to:
and determining the frame data sending stability of the data sending end according to the first time information mapping chart.
The maximum time delay determining device of the time-sensitive network provided by the embodiment of the invention can execute the maximum time delay determining method of the time-sensitive network provided by any embodiment of the invention, and has the corresponding functional modules and the beneficial effects of the executing method.
Example four
FIG. 4 illustrates a block diagram of an electronic device 410 that may be used to implement an embodiment of the invention. Electronic devices are intended to represent various forms of digital computers, such as laptops, desktops, workstations, personal digital assistants, servers, blade servers, mainframes, and other appropriate computers. The electronic device may also represent various forms of mobile devices, such as personal digital assistants, cellular phones, smart phones, wearable devices (e.g., helmets, glasses, watches, etc.), and other similar computing devices. The components shown herein, their connections and relationships, and their functions, are meant to be exemplary only, and are not meant to limit implementations of the inventions described and/or claimed herein.
As shown in fig. 4, the electronic device 410 includes at least one processor 411, and a memory communicatively connected to the at least one processor 411, such as a Read Only Memory (ROM)412, a Random Access Memory (RAM)413, and the like, wherein the memory stores computer programs executable by the at least one processor, and the processor 411 may perform various appropriate actions and processes according to the computer programs stored in the Read Only Memory (ROM)412 or the computer programs loaded from the storage unit 418 into the Random Access Memory (RAM) 413. In the RAM 413, various programs and data required for the operation of the electronic device 410 can also be stored. The processor 411, the ROM 412, and the RAM 413 are connected to each other through a bus 414. An input/output (I/O) interface 415 is also connected to bus 414.
Various components in the electronic device 410 are connected to the I/O interface 415, including: an input unit 416 such as a keyboard, a mouse, or the like; an output unit 417 such as various types of displays, speakers, and the like; a storage unit 418, such as a magnetic disk, optical disk, or the like; and a communication unit 419 such as a network card, modem, wireless communication transceiver, or the like. The communication unit 419 allows the electronic device 410 to exchange information/data with other devices through a computer network such as the internet and/or various telecommunication networks.
Processor 411 can be a variety of general and/or special purpose processing components with processing and computing capabilities. Some examples of processor 411 include, but are not limited to, a Central Processing Unit (CPU), a Graphics Processing Unit (GPU), various specialized Artificial Intelligence (AI) computing chips, various processors running machine learning model algorithms, a Digital Signal Processor (DSP), and any suitable processor, controller, microcontroller, or the like. The processor 411 performs the various methods and processes described above, such as the maximum latency determination method for a time sensitive network.
In some embodiments, the maximum latency determination method for a time sensitive network may be implemented as a computer program tangibly embodied in a computer-readable storage medium, such as storage unit 418. In some embodiments, part or all of the computer program may be loaded and/or installed onto electronic device 410 via ROM 412 and/or communications unit 419. When the computer program is loaded into the RAM 413 and executed by the processor 411, one or more steps of the method for determining maximum latency of a time sensitive network described above may be performed. Alternatively, in other embodiments, the processor 411 may be configured by any other suitable means (e.g., by means of firmware) to perform a maximum latency determination method for a time-sensitive network.
Various implementations of the systems and techniques described here above may be implemented in digital electronic circuitry, integrated circuitry, Field Programmable Gate Arrays (FPGAs), Application Specific Integrated Circuits (ASICs), Application Specific Standard Products (ASSPs), system on a chip (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and/or combinations thereof. These various embodiments may include: implemented in one or more computer programs that are executable and/or interpretable on a programmable system including at least one programmable processor, which may be special or general purpose, receiving data and instructions from, and transmitting data and instructions to, a storage system, at least one input device, and at least one output device.
Computer programs for implementing the methods of the present invention can be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general purpose computer, special purpose computer, or other programmable data processing apparatus, such that the computer programs, when executed by the processor, cause the functions/acts specified in the flowchart and/or block diagram block or blocks to be performed. A computer program can execute entirely on a machine, partly on a machine, as a stand-alone software package partly on a machine and partly on a remote machine or entirely on a remote machine or server.
In the context of the present invention, a computer-readable storage medium may be a tangible medium that can contain, or store a computer program for use by or in connection with an instruction execution system, apparatus, or device. A computer readable storage medium may include, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any suitable combination of the foregoing. Alternatively, the computer readable storage medium may be a machine readable signal medium. More specific examples of a machine-readable storage medium would include an electrical connection based on one or more wires, a portable computer diskette, a hard disk, a Random Access Memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
To provide for interaction with a user, the systems and techniques described here can be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to a user; and a keyboard and a pointing device (e.g., a mouse or a trackball) by which a user can provide input to the electronic device. Other kinds of devices may also be used to provide for interaction with a user; for example, feedback provided to the user can be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form, including acoustic, speech, or tactile input.
The systems and techniques described here can be implemented in a computing system that includes a back-end component (e.g., as a data server), or that includes a middleware component (e.g., an application server), or that includes a front-end component (e.g., a user computer having a graphical user interface or a web browser through which a user can interact with an implementation of the systems and techniques described here), or any combination of such back-end, middleware, or front-end components. The components of the system can be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: local Area Networks (LANs), Wide Area Networks (WANs), blockchain networks, and the internet.
The computing system may include clients and servers. A client and server are generally remote from each other and typically interact through a communication network. The relationship of client and server arises by virtue of computer programs running on the respective computers and having a client-server relationship to each other. The server can be a cloud server, also called a cloud computing server or a cloud host, and is a host product in a cloud computing service system, so that the defects of high management difficulty and weak service expansibility in the traditional physical host and VPS service are overcome.
It should be understood that various forms of the flows shown above may be used, with steps reordered, added, or deleted. For example, the steps described in the present invention may be executed in parallel, sequentially, or in different orders, and are not limited herein as long as the desired results of the technical solution of the present invention can be achieved.
The above-described embodiments should not be construed as limiting the scope of the invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions may be made, depending on design requirements and other factors. Any modification, equivalent replacement, and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (10)

1. A method for determining the maximum time delay of a time-sensitive network is characterized in that the method is executed by a data flow test system, and the data flow test system comprises a data sending end and a data receiving end; the data sending end and the data receiving end are connected through a network to be tested; a first test access point is arranged between the data sending end and the network to be tested, and a second test access point is arranged between the network to be tested and the data receiving end; the method comprises the following steps:
acquiring first time information of a target data stream flowing through a first test access point and second time information of the target data stream flowing through a second test access point;
generating a first time information mapping chart of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart taking time as an abscissa and taking the time interval of two adjacent frames of data flowing through the test access point as an ordinate;
and determining the maximum time delay of the network to be tested according to the first time information mapping chart and the second time information mapping chart.
2. The method of claim 1, wherein determining the maximum latency of the network under test based on the first time information map and the second time information map comprises:
superposing the second time information mapping chart and the first time information mapping chart, and translating the point in the second time information mapping chart by a target distance to obtain a time information superposition result chart; the target distance is a coordinate distance mapped by a time difference of first frame data in the target data stream flowing through the second test access point and the first test access point;
and determining the maximum time delay of the network to be tested according to the comparison result of the second time information mapping point and the first time information mapping point corresponding to each frame data in the time information superposition result graph.
3. The method according to claim 2, wherein the determining the maximum delay of the network to be tested according to the comparison result between the second time information mapping point and the first time information mapping point corresponding to each frame data in the time information superposition result graph comprises:
determining a comparison result of the frame data time delay and the first frame data time delay according to the transverse position of the second time information mapping point and the first time information mapping point corresponding to each frame data;
and determining the maximum time delay of the network to be tested according to the comparison result of the frame data time delay and the first frame data time delay.
4. The method of claim 2, wherein determining the comparison result of the frame data delay and the first frame data delay according to the lateral position of the second time information mapping point and the first time information mapping point corresponding to each frame data comprises:
if the second time information mapping point corresponding to the frame data is located in the first direction of the first time information mapping point, the frame data time delay is greater than the first frame data time delay;
if the second time information mapping point corresponding to the frame data is located in the second direction of the first time information mapping point, the frame data time delay is smaller than the first frame data time delay;
wherein the first direction is opposite to the second direction.
5. The method of claim 4, wherein the determining the maximum delay of the network to be tested according to the comparison result of the frame data delay and the first frame data delay comprises:
if the frame data time delay is larger than the first frame data time delay, calculating the transverse distance between a second time information mapping point and a first time information mapping point of each group of time information mapping points larger than the first frame data time delay;
and determining the maximum time delay of the network to be tested according to the comparison result of the transverse distance.
6. The method of claim 5, wherein after determining the comparison of the frame data delay to the first frame data delay, the method further comprises:
and if the frame data time delay is not larger than the first frame data time delay, taking the first frame data time delay as the maximum time delay of the network to be tested.
7. The method of claim 1, wherein after generating the first time information map of the target data stream, the method further comprises:
and determining the sending stability of the frame data of the data sending end according to the first time information mapping chart.
8. The device for determining the maximum time delay of the time-sensitive network is characterized by being configured in a data flow test system, wherein the data flow test system comprises a data sending end and a data receiving end; the data sending end and the data receiving end are connected through a network to be tested; a first test access point is arranged between the data sending end and the network to be tested, and a second test access point is arranged between the network to be tested and the data receiving end; the device comprises:
the time information acquisition module is used for acquiring first time information of the target data stream flowing through the first test access point and second time information of the target data stream flowing through the second test access point;
the time information mapping map generating module is used for generating a first time information mapping map of the target data stream according to the first time information; generating a second time information mapping chart of the target data stream according to the second time information; the time information mapping chart is a scatter chart with time as an abscissa and a time interval of two adjacent frames of data flowing through the test access point as an ordinate;
and the maximum time delay determining module is used for determining the maximum time delay of the network to be tested according to the first time information mapping chart and the second time information mapping chart.
9. An electronic device, characterized in that the electronic device comprises:
at least one processor; and
a memory communicatively coupled to the at least one processor; wherein the content of the first and second substances,
the memory stores a computer program executable by the at least one processor to enable the at least one processor to perform the method of determining maximum latency of a time sensitive network of any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that it stores computer instructions for causing a processor, when executed, to implement the method for maximum latency determination of a time-sensitive network of any one of claims 1 to 7.
CN202210417582.8A 2022-04-20 2022-04-20 Method, apparatus, device and medium for determining maximum time delay of time-sensitive network Pending CN114785717A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202210417582.8A CN114785717A (en) 2022-04-20 2022-04-20 Method, apparatus, device and medium for determining maximum time delay of time-sensitive network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202210417582.8A CN114785717A (en) 2022-04-20 2022-04-20 Method, apparatus, device and medium for determining maximum time delay of time-sensitive network

Publications (1)

Publication Number Publication Date
CN114785717A true CN114785717A (en) 2022-07-22

Family

ID=82430633

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202210417582.8A Pending CN114785717A (en) 2022-04-20 2022-04-20 Method, apparatus, device and medium for determining maximum time delay of time-sensitive network

Country Status (1)

Country Link
CN (1) CN114785717A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN111585836A (en) * 2020-04-26 2020-08-25 工业互联网创新中心(上海)有限公司 Network testing method and device
US20200403876A1 (en) * 2019-06-21 2020-12-24 At&T Intellectual Property I, L.P. Mapping Network Topology for Latency Sensitive Applications in a Mobile network
CN113179441A (en) * 2021-03-26 2021-07-27 卡莱特云科技股份有限公司 Synchronous playing method, device, system and computer equipment

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20200403876A1 (en) * 2019-06-21 2020-12-24 At&T Intellectual Property I, L.P. Mapping Network Topology for Latency Sensitive Applications in a Mobile network
CN111585836A (en) * 2020-04-26 2020-08-25 工业互联网创新中心(上海)有限公司 Network testing method and device
CN113179441A (en) * 2021-03-26 2021-07-27 卡莱特云科技股份有限公司 Synchronous playing method, device, system and computer equipment

Similar Documents

Publication Publication Date Title
CN116149304B (en) Vehicle diagnosis system, method, equipment and storage medium
CN115396289A (en) Fault alarm determination method and device, electronic equipment and storage medium
CN116069774B (en) Data cleaning method, device and medium based on wireless timeout intelligent analysis
CN114785717A (en) Method, apparatus, device and medium for determining maximum time delay of time-sensitive network
CN115293096B (en) Line generation method, device, electronic equipment and storage medium
CN115174426B (en) Output message detection method and device, electronic equipment and storage medium
CN114723413B (en) Real-time processing method, device, equipment and medium for stream data
CN115102850B (en) Configuration comparison method, device, electronic equipment and storage medium
CN115361308B (en) Industrial control network data risk determination method, device, equipment and storage medium
CN116017707A (en) Burst data sending method, device, equipment and medium
CN117201228A (en) Data recharging method and device, electronic equipment and storage medium
CN116028228A (en) Bitmap memory occupation detection method, device, equipment and storage medium
CN117557140A (en) Method, device, equipment and medium for evaluating network planning quality of power communication network
CN115146379A (en) Simulation scene evaluation method and device, electronic equipment and storage medium
CN116321397A (en) 5G network time delay determining method and device, electronic equipment and storage medium
CN117278774A (en) Video resource recording and playing method, device, equipment and medium
CN115470193A (en) Radar data simulation method, device, equipment and medium
CN117041099A (en) Method, device, equipment and medium for determining delay time
CN117009111A (en) Data processing method, device, equipment and medium
CN115665150A (en) Processing unit deployment strategy verification method and device, electronic equipment and medium
CN115865757A (en) Detection method and device for differential cable, electronic equipment and storage medium
CN116467136A (en) Smoothness monitoring method, device and equipment for application program and storage medium
CN117439836A (en) Communication rate determining method, device, electronic equipment and storage medium
CN116303010A (en) Test method, device, equipment and medium based on business process test model
CN117472774A (en) Interface testing method, device, electronic equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination