CN114697161B - Semi-solid simulation system and simulation method for time-sensitive network - Google Patents

Semi-solid simulation system and simulation method for time-sensitive network Download PDF

Info

Publication number
CN114697161B
CN114697161B CN202111669633.8A CN202111669633A CN114697161B CN 114697161 B CN114697161 B CN 114697161B CN 202111669633 A CN202111669633 A CN 202111669633A CN 114697161 B CN114697161 B CN 114697161B
Authority
CN
China
Prior art keywords
simulation
data stream
equipment
data
vlan tag
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202111669633.8A
Other languages
Chinese (zh)
Other versions
CN114697161A (en
Inventor
何斌
陈松
朱海龙
谢人超
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Network Communication and Security Zijinshan Laboratory
Original Assignee
Network Communication and Security Zijinshan Laboratory
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 Network Communication and Security Zijinshan Laboratory filed Critical Network Communication and Security Zijinshan Laboratory
Priority to CN202111669633.8A priority Critical patent/CN114697161B/en
Publication of CN114697161A publication Critical patent/CN114697161A/en
Application granted granted Critical
Publication of CN114697161B publication Critical patent/CN114697161B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • H04L12/4645Details on frame tagging
    • H04L12/465Details on frame tagging wherein a single frame includes a plurality of VLAN tags
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B17/00Systems involving the use of models or simulators of said systems
    • G05B17/02Systems involving the use of models or simulators of said systems electric
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4604LAN interconnection over a backbone network, e.g. Internet, Frame Relay
    • H04L12/462LAN interconnection over a bridge based backbone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/46Interconnection of networks
    • H04L12/4641Virtual LANs, VLANs, e.g. virtual private networks [VPN]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/14Network analysis or design
    • H04L41/145Network analysis or design involving simulating, designing, planning or modelling of a network

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Computer Security & Cryptography (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Automation & Control Theory (AREA)
  • Small-Scale Networks (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a semi-solid simulation system and a simulation method for a time sensitive network, wherein a data acquisition device acquires original data and sends the original data to a conversion device; the conversion equipment is provided with a TAP unit which is used for adding a VLAN label to the original data to obtain a data stream added with the VLAN label; the simulation equipment receives the data stream added with the VLAN tag through the virtual network bridge; the simulation equipment is used for simulating and obtaining the forwarding characteristics of the data stream according to the VLAN tag information, and sending the forwarding characteristics of the data stream to the PC terminal for displaying; or the system also comprises entity equipment, the entity equipment receives the data stream added with the VLAN label through the virtual network bridge, and the entity equipment displays the data stream PC terminal. The simulation system fuses the real physical equipment and the simulation system, and can be used for performing simulation verification of the time-sensitive network protocol.

Description

Semi-solid simulation system and simulation method for time-sensitive network
Technical Field
The application relates to a method for realizing a semi-physical simulation system for a time-sensitive network, belonging to the technical field of semi-physical simulation.
Background
At present, commercial TSN switches supporting time-sensitive network TSN protocols are still immature in technology and still in a development and verification stage, and meanwhile, the interconnection of TSN switches of all factories is difficult. On the other hand, terminal equipment supporting TSN is not completely released from market, the commercial ecology of the current construction of TSN network is not mature, and there is no unified development standard of TSN terminal equipment. Taking the vehicle-mounted field as an example, commonly used vehicle-mounted sensor devices include: the devices such as the camera, the laser radar, the millimeter wave radar and the like can only support the traditional Ethernet protocol to transmit data, and can not transmit VLAN tag data and the clock synchronization function based on IEEE802.1AS, so that the sensor devices supporting the TSN network are not supported in the market at present. However, the current academic research of TSN is more and more widely conducted, and the algorithm simulation is more and more concentrated, and the application of the system is further apart from the application of physical simulation, so that development of a semi-physical network simulation system with TSN function is urgently needed.
The publication number CN105681101a is named: the patent I of the data packet processing method only realizes a half-entity forwarding mode of the data packet, but does not support the TSN data flow forwarding function and does not consider the characteristics of flow scheduling, simulation evaluation performance and the like.
Disclosure of Invention
Aiming at the technical problems, the application aims to provide a method for realizing a semi-solid simulation system for a time-sensitive network, which is used for interconnecting and communicating data acquisition equipment with simulation equipment and terminal display equipment so as to construct a semi-solid network experimental verification system.
In order to achieve the above object, the present application provides a technical solution comprising the following:
a semi-solid simulation method for a time-sensitive network, the method comprising:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment, the conversion equipment is provided with a TAP unit, and the TAP unit adds a VLAN tag to the original data to obtain a data stream added with the VLAN tag;
the conversion equipment sends the VLAN tag added data stream to simulation equipment through a virtual network bridge;
the simulation equipment simulates and obtains the forwarding characteristics of the data stream according to the VLAN tag information, and sends the forwarding characteristics of the data stream to a PC terminal for display;
or the conversion equipment sends the data stream to the entity equipment through the virtual network bridge, and the entity equipment displays the data stream PC terminal.
Further, the specific process of the simulation device to obtain the forwarding characteristics of the data stream according to the VLAN tag information is as follows:
analyzing the VLAN label by the simulation equipment, judging the priority of the current data flow, and distributing the data flow to a corresponding queue; then calculating a gating list according to the sending period of the data stream, and setting gating operation according to the gating list;
and the simulation equipment simulates and obtains the forwarding characteristics of the data stream so as to evaluate the rationality of the current gating setting.
Further, the forwarding characteristics include delay, jitter, and packet loss rate of the current data stream.
Further, the raw data is image data, distance data or radar data.
Further, the specific process of the switching device sending the VLAN tagged data stream to the emulation device through the virtual bridge is as follows:
the switching equipment comprises a first input end and a first output end, wherein a first TAP unit is added to the first input end network card, and a first TAP unit is added to the first output end network card;
the simulation equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the simulation equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the simulation device through the virtual network bridge.
Further, the specific process of adding a VLAN tag to the original data by the first TAP unit to obtain a VLAN tagged data stream is as follows:
the first TAP unit manages VLAN labels of the original data packet, and adds or deletes VLAN label information to the original data packet head field.
As a preferred embodiment of the present application, the switching device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
Further, the VLAN tag includes two fields, a TPID field and a TCI field, where the TPID field is a protocol identifier, and the TCI field is control information.
A semi-solid simulation system for a time-sensitive network, the system comprising:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment;
the switching equipment is provided with a TAP unit, and the TAP unit is used for adding a VLAN tag to the original data to obtain a VLAN tag added data stream;
the system also comprises simulation equipment, wherein the simulation equipment receives the VLAN tag added data stream through a virtual network bridge; the simulation equipment is used for obtaining the forwarding characteristics of the data stream in a simulation mode according to the VLAN tag information, and sending the forwarding characteristics of the data stream to a PC terminal for displaying;
or the system also comprises entity equipment, the entity equipment receives the data stream added with the VLAN label through the virtual network bridge, and the entity equipment displays the data stream PC terminal.
Further, the switching device comprises a first input end and a first output end, a first TAP unit is added on the first input end network card, and a first TAP unit is added on the first output end network card;
the simulation equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the simulation equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the simulation device through the virtual network bridge.
Further, the simulation device analyzes the VLAN tag, judges the priority of the current data stream, and distributes the data stream to a corresponding queue; then calculating a gating list according to the sending period of the data stream, and setting gating operation according to the gating list;
and the simulation equipment simulates and obtains the forwarding characteristics of the data stream so as to evaluate the rationality of the current gating setting.
Further, the simulation device is a TSN simulation switch, and the entity device is a TSN entity switch.
As a preferred embodiment of the present application, the switching device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
Further, the VLAN tag includes two fields, a TPID field and a TCI field, where the TPID field is a protocol identifier, and the TCI field is control information.
Advantageous effects
Compared with the prior art, the application has the beneficial effects that:
(1) The simulation system realizes the real-time fusion of the physical equipment and the simulation system, and compared with pure simulation based on pseudo random numbers, the simulation system is closer to a real application scene by simulating an original data packet sent by the real sensor end equipment, and provides a decision basis for the application of the evaluation end equipment in a time-sensitive network system. Meanwhile, the conversion end equipment is developed and realized based on general industrial personal computer hardware and Ubuntu RT real-time open source operating systems, the application development cost is low, and the conversion end equipment has rich application ecology.
(2) Compared with other half-solid simulation systems, the application solves the problem of application of time-sensitive network technology in half-solid simulation, and can realize fusion of common Ethernet transmitting terminal equipment and TSN network by constructing TSN conversion terminal equipment. Compared with pure physical equipment development, the semi-entity-based hybrid simulation mode greatly shortens the construction cost and period of the TSN system and has strong practicability.
(3) Compared with other semi-solid simulation systems, the application optimizes the timing of the simulation system and the external system clock, and ensures that the simulation time is consistent with the external system time.
(4) The semi-solid simulation system is flexible in implementation mode.
Drawings
FIG. 1 is a schematic diagram of an overall architecture of a semi-solid simulation system according to the present application;
FIG. 2 is a schematic flow chart of a method for implementing the semi-physical simulation system according to the present application;
FIG. 3 is a schematic diagram of an application example 1 of a TSN-based semi-solid simulation system according to the present application;
fig. 4 is a schematic diagram of an application example 2 of a TSN-based semi-solid simulation system according to the present application.
Detailed Description
Example 1:
the embodiment is a semi-entity simulation method for a time-sensitive network, which can realize interconnection between TSN stream end equipment and simulation equipment, and comprises the following steps:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment, the conversion equipment is provided with a TAP unit, and the TAP unit adds a VLAN tag to the original data to obtain a data stream added with the VLAN tag;
the conversion equipment sends the VLAN tag added data stream to simulation equipment through a virtual network bridge; the switching equipment comprises a first input end and a first output end, wherein a first TAP unit is added to the first input end network card, and a first TAP unit is added to the first output end network card;
the simulation equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the simulation equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the simulation device through the virtual network bridge.
The simulation equipment simulates and obtains the forwarding characteristics of the data stream according to the VLAN tag information, analyzes the VLAN tag, judges the priority of the current data stream, and distributes the data stream into a corresponding queue; then calculating a gating list according to the sending period of the data stream, and setting gating operation according to the gating list; in this embodiment, the forwarding feature includes delay and jitter of the current data stream.
And the simulation equipment simulates and obtains the forwarding characteristics of the data stream so as to evaluate the rationality of the current gating setting.
And finally, the forwarding characteristics of the data stream are sent to a PC terminal to display the forwarding characteristics.
Further, the specific process of adding a VLAN tag to the original data by the first TAP unit to obtain a VLAN tagged data stream is as follows:
the first TAP unit manages VLAN labels of the original data packet, and adds or deletes VLAN label information to the packet header field of the original data packet; the VLAN tag comprises two fields, namely a TPID field and a TCI field, wherein the TPID field is a protocol identifier, and the TCI field is control information.
As a preferred embodiment of the present application, the switching device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
The application mainly utilizes the traditional industrial personal computer based on X86 architecture to construct a set of general time-sensitive network TSN semi-solid simulation system so as to realize the conversion of the common Ethernet original data packet sent by the sensor into a time-sensitive stream with TSN characteristics, and can be in real-time butt joint with the OMNet++ simulation system to construct a set of complete semi-solid simulation system. The system can simulate and analyze the characteristics of forwarding processing delay, jitter and the like of the data packet in the switch, can verify the reliability of a TSN scheduling algorithm, and can also detect the application characteristics of sensor end equipment in a TSN network.
Example 2
A semi-solid simulation system for a time-sensitive network, the system comprising:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment;
the switching equipment is provided with a TAP unit, and the TAP unit is used for adding a VLAN tag to the original data to obtain a VLAN tag added data stream;
the system also comprises simulation equipment, wherein the simulation equipment receives the VLAN tag added data stream through a virtual network bridge; the simulation equipment is used for obtaining the forwarding characteristics of the data stream in a simulation mode according to the VLAN tag information, and sending the forwarding characteristics of the data stream to the PC terminal for displaying.
Further, the switching device comprises a first input end and a first output end, a first TAP unit is added on the first input end network card, and a first TAP unit is added on the first output end network card;
the simulation equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the simulation equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the simulation device through the virtual network bridge.
Further, the simulation device analyzes the VLAN tag, judges the priority of the current data stream, and distributes the data stream to a corresponding queue; then calculating a gating list according to the sending period of the data stream, and setting gating operation according to the gating list;
and the simulation equipment simulates and obtains the forwarding characteristics of the data stream so as to evaluate the rationality of the current gating setting.
Further, the simulation device is a TSN simulation switch, and the entity device is a TSN entity switch.
As a preferred embodiment of the present application, the switching device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
Further, the VLAN tag includes two fields, a TPID field and a TCI field, where the TPID field is a protocol identifier, and the TCI field is control information.
Referring to fig. 3, the implementation manner of the first semi-physical simulation system provided by the present application is described below with reference to fig. 3, and the method is implemented on a Ubuntu RT real-time operating system based on an omnet++ network simulation system, and includes the following steps:
s1: the industrial personal computer A is used as TSN data stream conversion equipment, the port 1 is abutted against vehicle-mounted sensor equipment such as a laser radar or a camera, and the port 2 is used as an output port to be abutted against the simulation switch;
s2: the industrial personal computer A sets Ubuntu RT real-time operation system and modifies the kernel of the operation system, such as: parameters such as kernel buffer memory and queue length are used for improving the data packet forwarding throughput and reducing forwarding delay;
s3: the input and output physical network card ports of the industrial personal computer A are respectively added with a corresponding virtual network bridge and a TAP unit;
s4: the laser radar is connected to an input port of the industrial personal computer A, an application program of the industrial personal computer A obtains laser radar original data through a TAP unit interface corresponding to the input port, the laser radar is ST flow according to service currently, a data packet header field is analyzed, if the VLAN tag field is not included, a current original data packet is marked with a VLAN tag label, and the VLAN tag label is forwarded through an output port; if the VLAN tag field is already carried, forwarding is directly to the output port. And finally, the industrial personal computer A forwards the VLAN tag field to the industrial personal computer B.
S5: the industrial personal computer B sets a Ubuntu RT real-time operating system and an OMNet++ simulation environment for the simulation equipment, receives data sent by the industrial personal computer A in real time, and starts a simulation program to simulate a TSN switch data packet forwarding processing flow. This embodiment focuses on the emulation implementation of the ieee802.1qbv protocol. The industrial personal computer B starts a simulation program and receives the data packet sent by the industrial personal computer A in real time, then judges the priority of the current flow according to VLAN label information of the data packet, and distributes the current flow into different queues according to different priorities. According to the ST critical stream sent by the current laser radar, a simulation program calculates and outputs a gating list based on an SMT (satisfaction module theory) algorithm according to the sending period of a laser radar data packet, and sets gating operation according to the gating list, so that the sending time of the ST critical stream is preferentially ensured, and the time delay and jitter of the ST critical stream can be controlled within a certain range under the condition of sudden background stream interference.
S6: the simulation program records and analyzes the time delay and jitter processed by the laser radar in the simulation switch in real time, so as to evaluate the rationality of the current gating setting.
S7: and the industrial personal computer B can send the information which can be forwarded in real time to the PC terminal for display through the output port.
Based on the semi-physical simulation system and the method for the time-sensitive network, general terminal Ethernet equipment can be used as follows: the standard Ethernet data stream sent by the camera, the laser radar, the millimeter wave radar, the ultrasonic radar and other equipment is converted into TSN data stream and is forwarded to the simulation system; and the simulation system receives the real terminal equipment data and simulates according to a simulation protocol.
The application can realize flow scheduling simulation and evaluate flow characteristics, and comprises: jitter, time delay, packet loss rate and the like, and has stronger practicability. The simulation system can be used for constructing a simulation TSN switch aiming at the physical terminal and verifying the performance of a TSN simulation protocol; the method can also be used as a virtual TSN network card and end equipment to interconnect to construct TSN flow conversion end equipment for testing the TSN physical prototype.
The basic principle is that interaction between a simulation system and an entity physical system is realized through a TAP virtual machine interface and a virtual network bridge technology of a Linux kernel, and the function of the TAP interface and the synchronization function are perfected based on an OMNet++ open source platform.
Example 3
The embodiment is a second implementation manner of a semi-entity simulation method for a time-sensitive network, by which a conversion end device and an entity TSN switch heterogeneous device can be interconnected, where the method includes:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment, the conversion equipment is provided with a TAP unit, and the TAP unit adds a VLAN tag to the original data to obtain a data stream added with the VLAN tag;
and the conversion equipment sends the data stream to the entity equipment through the virtual network bridge, and the entity equipment displays the data stream PC terminal. The specific process of the conversion device sending the VLAN tag added data stream to the simulation device through the virtual network bridge is as follows:
the switching equipment comprises a first input end and a first output end, wherein a first TAP unit is added to the first input end network card, and a first TAP unit is added to the first output end network card;
the entity equipment comprises a second input end and a second output end, a second TAP unit is added on a second input end network card, and a second TAP unit is added on a second output end network card; constructing a virtual network bridge between the conversion equipment and the entity equipment through the TAP unit; the conversion device sends the VLAN tag added data stream to the entity device through the virtual network bridge.
The first TAP unit adds a VLAN tag to the original data, and the specific process of obtaining the VLAN-tagged data stream is as follows:
the first TAP unit manages VLAN labels of the original data packet, and adds or deletes VLAN label information to the original data packet head field.
As a preferred embodiment of the present application, the switching device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
Example 4
In order to implement the above simulation method, this embodiment is a semi-physical simulation system for a time-sensitive network, where the system includes:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment;
the switching equipment is provided with a TAP unit, and the TAP unit is used for adding a VLAN tag to the original data to obtain a VLAN tag added data stream;
the system also comprises entity equipment, wherein the entity equipment receives the data stream added with the VLAN tag through the virtual network bridge, and the entity equipment displays the data stream PC terminal.
Further, the switching device comprises a first input end and a first output end, a first TAP unit is added on the first input end network card, and a first TAP unit is added on the first output end network card;
the entity equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the entity equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the entity device through the virtual network bridge.
The entity device is a TSN entity switch.
As a preferred embodiment of the present application, the switching device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
The VLAN tag comprises two fields, namely a TPID field and a TCI field, wherein the TPID field is a protocol identifier, and the TCI field is control information.
The VLAN tag in this embodiment includes two fields, a TPID field and a TCI field, where the TPID field is a protocol identifier and the TCI field is control information.
The application constructs a set of general time sensitive network TSN semi-entity simulation system based on the traditional industrial personal computer of X86 architecture, so as to convert the common Ethernet original data packet sent by the sensor into a time sensitive stream with TSN characteristic, and connect entity TSN exchanger equipment, thus realizing networking interconnection of heterogeneous equipment.
Referring to fig. 4, a schematic flow chart of a method for implementing a semi-entity heterogeneous device simulation system disclosed in an embodiment of the present application is provided, wherein a time-sensitive network experimental verification platform is built by a lidar sensor/camera sensor, a flow conversion industrial personal computer, a TSN entity switch, and a PC display device, and the method comprises the following steps:
s1: the industrial personal computer A is used as TSN data stream conversion equipment, the port 1 is in butt joint with the laser radar or camera and other vehicle-mounted sensor equipment, and the port 2 is used as an output port to be in butt joint with the TSN entity switch.
S2: the industrial personal computer A sets Ubuntu RT real-time operation system and modifies the kernel of the operation system, such as: parameters such as kernel buffer memory and queue length are used for improving the data packet forwarding throughput and reducing forwarding delay.
S3: and the input end of the industrial personal computer A is provided with a physical network card, a corresponding TAP unit (virtual network card) is added, the output end of the industrial personal computer A is provided with a corresponding TAP unit (virtual network card), and a corresponding virtual network bridge is added between the two virtual network cards.
S4: the laser radar is connected to an input port of the industrial personal computer A, an application program of the industrial personal computer A obtains laser radar original data through a TAP unit interface corresponding to the input port, analyzes a data packet header field, and if the data packet header field is not provided with a VLAN tag field, the current original data packet is marked with a VLAN tag label and is forwarded through an output port; if the VLAN tag field is already carried, forwarding is directly to the output port. And the industrial personal computer A forwards the VLAN tag field information to the TSN entity switch.
S5: and calculating a TSN switch gating list according to parameters such as the frame size, the period and the like of the data packet of the sensor equipment, setting the data stream sent by the laser radar sensor equipment as an ST stream, indicating that the data stream of the equipment is the highest priority, and finally, issuing the configuration information to the TSN switch.
S6: the TSN exchanger forwards the original data packet with the VLAN tag field removed to the PC terminal for display in real time through the output port.
The system provided in this embodiment, where the collectable raw data is image data, distance data or radar data, the method provided in this embodiment can implement industrial equipment, and the sensor equipment used includes, but is not limited to, the following equipment including: and the physical equipment such as the laser radar, the high-definition camera, the panoramic camera, the millimeter wave radar, the ultrasonic radar and the like are interconnected and communicated with the simulation equipment and the terminal display equipment, so that a semi-solid network experiment verification system is constructed.
The key point of the embodiment is that the common Ethernet data stream sent by the real common terminal equipment can be converted into TSN data stream and is in butt joint with the real TSN switch, so that a TSN network experimental platform is constructed.
The semi-solid simulation system is flexible in implementation mode. May include, but is not limited to, the following interconnection means: the simulation nodes in the real network, the simulation sub-networks in the real network, the real nodes in the simulation network, the simulation protocols in the real network nodes and the actual application are in the simulation network nodes.
In practical application, the real end equipment and the simulation TSN switch can be in butt joint networking, and the simulation end equipment and the real TSN switch can be in butt joint networking, so that data communication between the simulation system and the hardware equipment is realized.
The basic principle is that interaction between a simulation system and an entity physical system is realized through a TAP virtual machine interface and a virtual network bridge technology of a Linux kernel, and the function of the TAP interface and the synchronization function are perfected based on an OMNet++ open source platform.
In summary, by applying background flow to the simulation switch, the laser radar data flow is blocked, and the PC displays the blocking and blocking phenomenon of the laser radar background flow, so that the cloud image cannot be seen; by starting the gating operation, the priority of the laser radar data flow is ensured, and the Qos service quality of the key data flow is ensured.

Claims (14)

1. A semi-solid simulation method for a time-sensitive network, the method comprising:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment, the conversion equipment is provided with a TAP unit, and the TAP unit adds a VLAN tag to the original data to obtain a data stream added with the VLAN tag;
the conversion equipment sends the VLAN tag added data stream to simulation equipment through a virtual network bridge;
and the simulation equipment simulates and obtains the forwarding characteristics of the data stream according to the VLAN tag information, and sends the forwarding characteristics of the data stream to a PC terminal for displaying.
2. The semi-physical simulation method for a time-sensitive network according to claim 1, wherein the specific process of the simulation device to obtain the forwarding characteristics of the data stream according to the VLAN tag information is as follows:
analyzing the VLAN label by the simulation equipment, judging the priority of the current data flow, and distributing the data flow to a corresponding queue; then calculating a gating list according to the sending period of the data stream, and setting gating operation according to the gating list;
and the simulation equipment simulates and obtains the forwarding characteristics of the data stream so as to evaluate the rationality of the current gating setting.
3. A semi-solid emulation method for a time sensitive network according to claim 2, wherein said forwarding characteristics include delay, jitter, and packet loss rate of a current data flow.
4. A semi-solid state simulation method for a time sensitive network according to any of claims 1 to 3, wherein the raw data is image data, range data or radar data.
5. A semi-solid state simulation method for a time sensitive network as claimed in claim 4, wherein,
the specific process of the conversion device sending the VLAN tag added data stream to the simulation device through the virtual network bridge is as follows:
the switching equipment comprises a first input end and a first output end, wherein a first TAP unit is added to the first input end network card, and a first TAP unit is added to the first output end network card;
the simulation equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the simulation equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the simulation device through the virtual network bridge.
6. A semi-solid state simulation method for a time sensitive network as claimed in claim 5, wherein,
the first TAP unit adds a VLAN tag to the original data, and the specific process of obtaining the VLAN-tagged data stream is as follows:
the first TAP unit manages VLAN labels of the original data packet, and adds or deletes VLAN label information to the original data packet head field.
7. A semi-solid state simulation method for a time sensitive network as claimed in claim 5, wherein,
the conversion device recognizes whether the data stream is an ST stream, and if so, sets the data stream to the highest priority.
8. The method of claim 5, wherein the VLAN tag includes two fields, a TPID field, a TCI field, a protocol identifier, and a TCI field, and the TCI field is control information.
9. A semi-solid simulation system for a time sensitive network, the system comprising:
the data acquisition equipment acquires original data and sends the original data to the conversion equipment;
the switching equipment is provided with a TAP unit, and the TAP unit is used for adding a VLAN tag to the original data to obtain a VLAN tag added data stream;
the system also comprises simulation equipment, wherein the simulation equipment receives the VLAN tag added data stream through a virtual network bridge; the simulation equipment is used for obtaining the forwarding characteristics of the data stream in a simulation mode according to the VLAN tag information, and sending the forwarding characteristics of the data stream to the PC terminal for displaying.
10. The semi-solid state simulation system for a time sensitive network of claim 9 wherein the transition device comprises a first input and a first output, a first TAP unit being added to the first input network card and a first TAP unit being added to the first output network card;
the simulation equipment comprises a second input end and a second output end, a second TAP unit is added on the second input end network card, and a second TAP unit is added on the second output end network card; constructing a virtual network bridge between the conversion equipment and the simulation equipment through the TAP unit;
the conversion device sends the VLAN tag added data stream to the simulation device through the virtual network bridge.
11. The semi-solid emulation system for a time sensitive network of claim 10, wherein said emulation device parses said VLAN tag, determines a priority of a current data flow, and assigns said data flow to a corresponding queue; then calculating a gating list according to the sending period of the data stream, and setting gating operation according to the gating list;
and the simulation equipment simulates and obtains the forwarding characteristics of the data stream so as to evaluate the rationality of the current gating setting.
12. A semi-physical simulation system for a time sensitive network according to any of claims 9 to 11, wherein the simulation device is a TSN simulation switch and the physical device is a TSN physical switch.
13. A semi-solid simulation system for a time sensitive network according to claim 12 wherein said switching device identifies whether said data stream is an ST stream and if so, sets the data stream to the highest priority.
14. The semi-physical emulation system of claim 12, wherein said VLAN tag comprises two fields, a TPID, a TCI, a protocol identifier, and a control information.
CN202111669633.8A 2021-12-31 2021-12-31 Semi-solid simulation system and simulation method for time-sensitive network Active CN114697161B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111669633.8A CN114697161B (en) 2021-12-31 2021-12-31 Semi-solid simulation system and simulation method for time-sensitive network

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111669633.8A CN114697161B (en) 2021-12-31 2021-12-31 Semi-solid simulation system and simulation method for time-sensitive network

Publications (2)

Publication Number Publication Date
CN114697161A CN114697161A (en) 2022-07-01
CN114697161B true CN114697161B (en) 2023-10-13

Family

ID=82136895

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111669633.8A Active CN114697161B (en) 2021-12-31 2021-12-31 Semi-solid simulation system and simulation method for time-sensitive network

Country Status (1)

Country Link
CN (1) CN114697161B (en)

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557420A (en) * 2009-03-31 2009-10-14 北京航空航天大学 Realization method of high-efficiency network communication of a virtual machine monitor
CN105681101A (en) * 2016-02-29 2016-06-15 北京润科通用技术有限公司 Data packet processing method and device
CN108965171A (en) * 2018-07-19 2018-12-07 重庆邮电大学 Industrial wireless WIA-PA network and time-sensitive network conversion method and device
CN110943899A (en) * 2019-12-13 2020-03-31 重庆邮电大学 EPA industrial bus and time sensitive network adaptation system and method
CN111030980A (en) * 2019-08-09 2020-04-17 哈尔滨安天科技集团股份有限公司 Linux transparent network equipment platform implementation method, device and storage medium
CN112087461A (en) * 2020-09-11 2020-12-15 工业互联网创新中心(上海)有限公司 System, method, device and equipment for data circulation of MODBUS/TCP protocol in TSN network
CN112437114A (en) * 2020-10-30 2021-03-02 交控科技股份有限公司 TSN-based train comprehensive transmission bearing method and system
CN112688815A (en) * 2020-12-25 2021-04-20 网络通信与安全紫金山实验室 Vehicle-mounted network simulation system and method

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006262464A (en) * 2005-03-14 2006-09-28 Samsung Electronics Co Ltd METHOD OF GUARANTEEING QoS FOR SYNCHRONOUS DATA IN RESIDENTIAL ETHERNET SYSTEM INCLUDING LEGACY ETHERNET DEVICE
US20180276175A1 (en) * 2017-03-22 2018-09-27 National Instruments Corporation Direct Network Access by a Memory Mapped Peripheral Device for Scheduled Data Transfer on the Network

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101557420A (en) * 2009-03-31 2009-10-14 北京航空航天大学 Realization method of high-efficiency network communication of a virtual machine monitor
CN105681101A (en) * 2016-02-29 2016-06-15 北京润科通用技术有限公司 Data packet processing method and device
CN108965171A (en) * 2018-07-19 2018-12-07 重庆邮电大学 Industrial wireless WIA-PA network and time-sensitive network conversion method and device
CN111030980A (en) * 2019-08-09 2020-04-17 哈尔滨安天科技集团股份有限公司 Linux transparent network equipment platform implementation method, device and storage medium
CN110943899A (en) * 2019-12-13 2020-03-31 重庆邮电大学 EPA industrial bus and time sensitive network adaptation system and method
CN112087461A (en) * 2020-09-11 2020-12-15 工业互联网创新中心(上海)有限公司 System, method, device and equipment for data circulation of MODBUS/TCP protocol in TSN network
CN112437114A (en) * 2020-10-30 2021-03-02 交控科技股份有限公司 TSN-based train comprehensive transmission bearing method and system
CN112688815A (en) * 2020-12-25 2021-04-20 网络通信与安全紫金山实验室 Vehicle-mounted network simulation system and method

Also Published As

Publication number Publication date
CN114697161A (en) 2022-07-01

Similar Documents

Publication Publication Date Title
Ingram et al. Network interactions and performance of a multifunction IEC 61850 process bus
CN112688815B (en) Vehicle-mounted network simulation system and method
CN112511376A (en) Method and terminal for measuring TSN network forwarding time characteristic
CN105610641B (en) A kind of switch test system and its test method based on HWIL simulation
CN104253765A (en) Data packet switching method, data packet switching device, access switch and switching system
Rejeb et al. AFDX simulation based on TTEthernet model under OMNeT++
CN114697161B (en) Semi-solid simulation system and simulation method for time-sensitive network
CN113328956B (en) Message processing method and device
CN113141279B (en) Switch mesh test system and method
CN108768778B (en) Network delay calculation method, device, equipment and storage medium
CN102045256B (en) COTS (Commercial Off-The-Shelf) based bandwidth predistribution guarantee network function demonstration system
Morel et al. Network services management using programmable data planes for visual cloud computing
Krummacker et al. Tsn simulation: Time-aware shaper implemented in ns-3
CN113965470B (en) Aviation information network experiment simulation system
Ushakova et al. Research of productivity of software configurable infrastructure in vanet networks on the basis of models of hybrid data transmission devices
CN110417687A (en) A kind of message sends and receives method and device
CN115811489A (en) Exchange chip verification system and method based on UVM and storage medium
CN115384526A (en) Debugging system and debugging method
CN103414660A (en) Node device of sensing network capable of supporting sensing access and optical packet transmission
WO2021053966A1 (en) Information processing device, packet generation method, system, and program
CN107769968B (en) Debugging and testing system of SNMP (simple network management protocol) agent in AFDX (avionics full Duplex switched Ethernet) network
CN105391487B (en) Satellite link time delay simulator based on FPGA
Zheng et al. Design of time-triggered service processing flow on ethernet end system
Wang et al. Kalman prediction-based virtual network experimental platform for smart living
CN115022208B (en) TTE network flow monitoring equipment and method

Legal Events

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