CN116319558A - Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium - Google Patents

Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium Download PDF

Info

Publication number
CN116319558A
CN116319558A CN202211131175.7A CN202211131175A CN116319558A CN 116319558 A CN116319558 A CN 116319558A CN 202211131175 A CN202211131175 A CN 202211131175A CN 116319558 A CN116319558 A CN 116319558A
Authority
CN
China
Prior art keywords
ethernet
data
time
train
switching device
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
CN202211131175.7A
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.)
CRRC Qingdao Sifang Co Ltd
Original Assignee
CRRC Qingdao Sifang Co Ltd
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 CRRC Qingdao Sifang Co Ltd filed Critical CRRC Qingdao Sifang Co Ltd
Priority to CN202211131175.7A priority Critical patent/CN116319558A/en
Publication of CN116319558A publication Critical patent/CN116319558A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/16Flow control; Congestion control in connection oriented networks, e.g. frame relay
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/10Active monitoring, e.g. heartbeat, ping or trace-route
    • H04L43/106Active monitoring, e.g. heartbeat, ping or trace-route using time related information in packets, e.g. by adding timestamps
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/50Queue scheduling
    • H04L47/62Queue scheduling characterised by scheduling criteria
    • H04L47/625Queue scheduling characterised by scheduling criteria for service slots or service orders
    • H04L47/6275Queue scheduling characterised by scheduling criteria for service slots or service orders based on priority

Abstract

The application discloses a traffic scheduling method, ethernet switching equipment, an Ethernet switching device, a rail vehicle and a medium, which relate to the technical field of rail vehicle communication and are used for realizing train data transmission, aiming at the problem that the current train cannot adapt to increasing data volume when carrying out data transmission, the traffic scheduling method is provided, and the time distribution of the same time reference is carried out by selecting a master clock and adding corresponding time stamps for all Ethernet data frames according to an accurate time protocol; and further, data transmission of the train is carried out through a TSN protocol. And then a time schedule is created according to the time stamp so as to set a time window for expected transmission for each data frame, the current time window can only transmit the scheduled flow, and the timeliness of data transmission is ensured, so that data which are important like control data and have high real-time requirements cannot influence the time delay of the data because of sudden increase of the data quantity, and the transmission certainty of the data between the end and the end is stronger.

Description

Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium
Technical Field
The present disclosure relates to the field of railway vehicle communications technologies, and in particular, to a traffic scheduling method, an ethernet switching device, an apparatus, a railway vehicle, and a medium.
Background
With the increasing maturity of multimedia communication and intelligent operation and maintenance technology of trains, the train communication network needs to bear more information such as operation control and multimedia, the data volume transmitted in the train communication network is continuously increased, and the requirement on bandwidth is also higher and higher. And when the network traffic load is larger, particularly the burst traffic is larger, the time delay of control data is greatly influenced.
At present, the Ethernet adopts a Train Real-time data protocol (TRDP) protocol, the standard requirement of the minimum control period is less than 10ms, when the ground scene test network injects 20% burst flow, the time delay of control data passing through the switching equipment is increased by 380us, 20 switching equipment of the Train is grouped according to 8, the accumulated jitter theory is calculated to be 7.6ms, the control period of the current Train in the Real environment can exceed 10ms, and the actual requirement cannot be met more and more under the trend that the transmission data volume of the Train communication network is continuously increased.
Therefore, a traffic scheduling method is needed by those skilled in the art, so as to solve the problem that the current train cannot adapt to the increasing data volume when data transmission is performed, so as to provide time delay to meet the communication requirement of the train.
Disclosure of Invention
The purpose of the application is to provide a flow scheduling method, an Ethernet switching device, a railway vehicle and a medium, and solve the problem that the current train cannot adapt to increasing data volume when data transmission is carried out so as to provide time delay to meet the communication requirement of the train.
In order to solve the above technical problems, the present application provides a traffic scheduling method, including:
selecting a clock of any TSN switch as a master clock;
adding corresponding time stamps for all Ethernet data frames according to an accurate time protocol so as to perform time distribution;
creating a time schedule based on the time stamp of each Ethernet data frame and distributing to each TSN switch; the time schedule comprises a corresponding relation between Ethernet data frames and time windows; the time window is a preset time period and is used for guiding the TSN switch to release only the corresponding Ethernet data frame in the current time window for transmission.
Preferably, the method further comprises:
according to the data type of each Ethernet data frame, VLAN Tag based on priority is marked for the Ethernet data frame;
according to VLAN tags with different priorities, the corresponding Ethernet data frames are put into different queues;
based on a preset gate control list, the transmission ports are opened for each queue in turn periodically.
In order to solve the above technical problem, the present application further provides an ethernet switching device, including: ECN and ETB switch boards;
the ECN exchange board comprises a TSN chip and is used for realizing the function of an Ethernet exchanger based on a TSN protocol, when an Ethernet data frame is received, whether the Ethernet data frame corresponds to a current time window or not is judged according to a time schedule, and if so, the Ethernet data frame is released for transmission; the time schedule is generated according to each time stamp after adding corresponding time stamps to all Ethernet data frames according to an accurate time protocol, and comprises the corresponding relation between the Ethernet data frames and a time window;
the ETB exchange board comprises a TSN chip and is used for realizing data receiving and transmitting based on TSN protocol between two network segments when the trains are in reconnection.
Preferably, the ethernet switching device is powered by at least two power boards, and the ethernet switching device is powered by the power boards in parallel.
Preferably, the power panel is connected with the ethernet switching device through an address jumper, and the address jumpers corresponding to different positions are different.
Preferably, the method further comprises: a photoelectric conversion plate; the photoelectric conversion board is connected with the ECN exchange board and the ETB exchange board and is used for converting the Ethernet signal into an optical signal.
Preferably, at least two ECN exchange boards are mutually independent and are respectively connected with different network ports of the terminal sub-equipment.
In order to solve the technical problem, the application also provides a rail train which comprises the Ethernet switching equipment.
In order to solve the above technical problem, the present application further provides a flow scheduling device, including:
a memory for storing a computer program;
and a processor for implementing the steps of the traffic scheduling method as described above when executing the computer program.
In order to solve the above technical problem, the present application further provides a computer readable storage medium, on which a computer program is stored, which when executed by a processor, implements the steps of the flow scheduling method as described above.
According to the traffic scheduling method, a clock of any one time sensitive network (Time Sensitive Networking, TSN) switch is selected as a master clock, and corresponding time stamps are added to all Ethernet data frames according to an accurate time protocol so as to perform time distribution of the same time reference; further, data transmission of the train may be performed through a TSN protocol. Furthermore, a time schedule is created through the time stamp, so that a time window for expected transmission can be set for each data frame, the current time window can only transmit the scheduled flow (namely the corresponding data frame), timeliness of data transmission is guaranteed, data which are important like control data and have high requirements on real-time performance cannot influence the time delay of the data excessively due to sudden increase of the data quantity, the transmission certainty of the data between the ends is stronger, and the method is more suitable for the development trend of continuous increase of the data quantity of a train.
The Ethernet switching equipment, the flow scheduling device, the railway vehicle and the medium provided by the application correspond to the method and have the same effect.
Drawings
For a clearer description of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described, it being apparent that the drawings in the following description are only some embodiments of the present application, and that other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a flow chart of a flow scheduling method provided by the invention;
FIG. 2 is a flow chart of another flow scheduling method provided by the present invention;
fig. 3 is a block diagram of an ethernet switching device according to the present invention;
fig. 4 is a diagram illustrating an example of an ethernet switching device according to the present invention;
fig. 5 is a block diagram of a flow dispatching device provided by the invention.
Detailed Description
The following description of the technical solutions in the embodiments of the present application will be made clearly and completely with reference to the drawings in the embodiments of the present application, and it is apparent that the described embodiments are only some embodiments of the present application, but not all embodiments. All other embodiments obtained by those skilled in the art based on the embodiments herein without making any inventive effort are intended to fall within the scope of the present application.
The core of the application is to provide a traffic scheduling method, an Ethernet switching device, a railway vehicle and a medium.
In order to provide a better understanding of the present application, those skilled in the art will now make further details of the present application with reference to the drawings and detailed description.
Nowadays, multimedia technology and network communication technology are continuously developed, passengers traveling on rail transit have higher and higher communication demands, and accordingly on-board Wi-Fi equipment and the like are generated, so that the internet surfing demands of the passengers are met. Meanwhile, the requirements for multimedia communication and intelligent operation and maintenance in the train are increasingly improved, the communication network of the train needs to bear more operation control and multimedia information, the data volume is continuously increased, and the requirements on the bandwidth of the communication network are also higher and higher.
The communication network of the current train is mainly divided into two layers of an Ethernet train backbone network (Ethernet Train Backbone, ETB) at the train level and an Ethernet communication network (Ethernet Consist Network ECN) at the vehicle level. The ETB is responsible for train-to-train communication, namely train-level data transmission, and the ECN is responsible for data communication inside the vehicle or between carriages, namely vehicle-level data transmission. ETB operates at the L3 layer, i.e., the network layer, in the OSI model for enabling data communication between two network segments. ECN works in the L2 layer, i.e. the data link layer, mainly to implement the functions of the switch.
OSI model: this model divides the operation of network communication into 7 layers, namely a physical layer, a data link layer, a network layer, a transport layer, a session layer, a presentation layer and an application layer.
When the traffic load in the train communication network is larger, particularly when the burst traffic is larger, the delay of control data is greatly influenced, so that the real-time performance and the certainty of train data transmission are greatly influenced. Currently, the ethernet of the train generally adopts the TRDP protocol, which cannot meet the needs of the above development trend, and the influence of excessive data volume or sudden traffic on the delay of train control data becomes a problem to be solved by those skilled in the art.
To solve the above problem, this embodiment provides a traffic scheduling method, as shown in fig. 1, including:
s11: the clock of any TSN switch is selected as the master clock.
The TSN is a set of network protocol standard, adds certainty and reliability mechanism based on standard Ethernet, is compatible with standard Ethernet and can ensure certainty and reliability of key data transmission, and is a deterministic Ethernet working in the data link layer. TSN switches are also switching devices that support the TSN protocol.
S12: and adding corresponding time stamps to all the Ethernet data frames according to the accurate time protocol so as to perform time allocation.
The accurate time protocol is also called an accurate network time protocol and is used for synchronizing clocks of different types of equipment, so that the synchronization of clocks in the whole train communication network can be promoted.
The external network data frames are the train data which are packed into data frames, are collected by terminal sub-equipment arranged in a carriage and uploaded into a train communication network, and the Ethernet data frames are added with time stamps, namely a layer of marks are packed again, so that corresponding time is allocated for each Ethernet data frame.
S13: based on the time stamps of the ethernet data frames, a time schedule is created and distributed to the TSN switches.
From the above steps, each ethernet data frame has been assigned a time, marked in the form of a time stamp. Therefore, a time schedule can be created according to the method, and the time schedule comprises the corresponding relation between the Ethernet data frames and the time windows; the time window is a preset time period, and is used for guiding the TSN switch to release only the corresponding Ethernet data frame in the current time window for transmission.
When all TSN switches receive the schedule, and when the ethernet data frame is received again, it may be determined, according to the corresponding relationship in the schedule, whether the ethernet data frame is the scheduled traffic of the current time window (i.e. the ethernet data frame corresponding to the current time window), if yes, the TSN switch releases the ethernet data frame for transmission, and if not, one possible implementation is: the Ethernet data frame is firstly intercepted, and when the corresponding time window is reached, the Ethernet data frame is released for transmission.
According to the time schedule, the Ethernet data frames are enabled to pass through the communication network formed by the TSN switches only in the planned flow of the current window, other unplanned flows are prevented from being transmitted, and therefore data pressure in the train communication network is reduced, the influence on data transmission delay caused by overlarge data quantity is avoided, key data can be transmitted preferentially through distribution of the time schedule, train data can be distinguished whether the train data is light or heavy or not according to importance when the train data is transmitted, the train data is more flexible when in communication, and timeliness and certainty of the key data of the train can be guaranteed. Meanwhile, the data transmission based on the TSN protocol can ensure the certainty and reliability of key data transmission to a certain extent.
In addition to implementing preferential transmission of important data by configuring the above-described time schedule to ensure timeliness and certainty, the present example also provides another preferred embodiment to achieve the above-described effects, as shown in fig. 2, the above-described method further includes:
s21: and according to the data type of each Ethernet data frame, marking VLAN tags based on priority for the Ethernet data frames.
VLAN tags are also known as virtual local area network tags, and the priority-based VLAN Tag described above, i.e., VLAN Priority Tag, is also known as a local area network priority Tag, and is used to characterize the priority of the marked party.
It is easy to understand that the ethernet data frame is a transmission form of train data in the communication network, so that the data type of the ethernet data frame is based on the data type of the corresponding train data. And generally, the control data in the train data has a higher priority than other types of data, and the control data sent by the traction, braking and train control equipment has a higher priority than the control data sent by other equipment (such as air conditioning, lighting, water supply and the like). In practical application, a technician can divide train data into a plurality of priorities according to practical needs, and marks corresponding VLAN tags for corresponding Ethernet data frames through the steps, so that the priority information of the current Ethernet data frames can be obtained when the TSN switch receives the Ethernet data frames.
S22: and according to VLAN tags with different priorities, putting the corresponding Ethernet data frames into different queues.
It is easy to understand that the number of queues should be related to the number of preset different priorities, and in general, the number of queues is equal to the number of different priorities, that is, ethernet data frames with corresponding priorities are put into corresponding queues for classification management data transmission.
S23: based on a preset gate control list, the transmission ports are opened for each queue in turn periodically.
Based on a preset periodically triggered gate control list, cycling through all queues according to the priority order, and dynamically providing on/off control for the queues. In general, only the outlet of one queue is controlled to be opened at the same time, the outlets of all queues are opened periodically and reciprocally in turn, the Ethernet data frames in the queues are released for transmission, the transmission of train data in a communication network is realized, the transmission is of priority, and the train data with higher priority can be transmitted by the exchanger more preferentially.
It will be readily appreciated that the periodic opening of the transmission ports of each queue by the gating list is only one possible arrangement, and that many different arrangements exist in practical applications, for example, in one open period (i.e. each queue is open at least once), a higher priority may have multiple opportunities to open transmission ports, while a lower priority queue may have fewer, or even only once (at least once), opportunities to open transmission ports. A person skilled in the art can select a suitable setting manner of the gate control list according to actual needs, so this embodiment is not described herein.
According to the preferred scheme provided by the embodiment, VLAN tags based on priorities are marked on each Ethernet data frame according to the data types of train data, then each Ethernet data frame is put into a corresponding queue according to the VLAN tags with different priorities, and then the opening or closing of each queue is controlled by a preset gate control list, so that the transmission control of train data is realized based on the priority setting sequence. The transmission priority of important data in the train communication network is further ensured, so that the data which have great influence on the train operation, such as control data sent by traction, braking and train control equipment, can ensure the timeliness and the certainty of the transmission, thereby ensuring the stable and normal operation of the train.
In the foregoing embodiment, a detailed description is given of a traffic scheduling method, and this application further provides a corresponding embodiment of an ethernet switching device, as shown in fig. 3, including: ECN exchange board 31 and ETB exchange board 32;
the ECN switch board 31 includes a TSN chip, configured to implement a TSN protocol-based ethernet switch function, and when an ethernet data frame is received, determine, according to a time schedule, whether the ethernet data frame corresponds to a current time window, and if yes, release for transmission; the time schedule is generated according to each time stamp after adding corresponding time stamps to all Ethernet data frames according to an accurate time protocol, and comprises the corresponding relation between the Ethernet data frames and a time window.
The ETB board 32 includes a TSN chip for implementing TSN protocol-based data transceiving between two network segments when the trains are reconnecting.
It is to be readily understood that, to implement the data switching function, the complete ethernet switching device should further comprise: the hardware devices such as the chassis housing, the interface and interface unit, the power module, etc. are well known to those skilled in the art, and therefore, the description of the present embodiment is omitted herein.
In addition, high-power equipment such as a transformer and a converter is integrated in the train, wiring among the vehicle-mounted equipment is complex, a large number of cables and feeder lines enable the electromagnetic environment of the motor train unit to be very complex, and the higher the cable transmission rate is, the worse the electromagnetic interference resistance is, and the influence of electromagnetic interference is more likely to be caused. The present embodiment thus provides a preferred embodiment for solving the above-mentioned problems, where the ethernet switching device further includes: a photoelectric conversion plate 34;
an optical-to-electrical conversion board 34 is connected to the ECN and ETB switch boards 31 and 32 for converting the ethernet signals into optical signals.
The photoelectric conversion plate 34 provided by the embodiment can convert the electric signals of train data communication into optical signals, so that the photoelectric conversion plate is better suitable for the severe electromagnetic environment where a train is located, the electromagnetic interference resistance is improved, and the train data communication task is better completed.
Similarly, in order to avoid that train data cannot be normally communicated due to a failure of a board card implementing a switching function in the ethernet switching device, the embodiment further provides a preferred embodiment:
the ECN switch boards 31 are two and mutually independent, and are respectively connected with different network ports of the terminal sub-equipment.
It should be noted that the above-mentioned terminal sub-device is a device for uploading train data to the train communication network. The terminal sub-equipment is used for receiving and collecting train data, uploading the train data to the train communication network for transmission, and receiving the train data sent in the train communication network, and correspondingly processing the train data or completing corresponding functions according to the train data.
In this embodiment, through a plurality of ECN switch boards 31 that are connected with different network ports of the terminal sub-device respectively and mutually independent, redundancy in ECN communication is implemented, and when any ECN switch board 31 fails, other ECN switch boards 31 can support to implement ECN switch functions, so as to ensure normal transmission of train data.
Similarly, the present example also provides another preferred embodiment:
the ECN switch boards 31 are two and independent of each other, and are connected to the ECN switch boards 31 that are redundant with each other.
The purpose of this embodiment is the same as that described above, and in order to realize redundancy of the ETB network, when any ETB switch board 32 fails, the whole device cannot communicate, and by this redundancy method, the risk resistance capability of the ethernet switch device provided by this embodiment is improved.
The ethernet switching device provided in the present application includes an ECN switching board 31 and an ETB switching board 32 supporting a TSN protocol, where the ECN switching board 31 is configured to implement a TSN protocol-based ethernet switching function, and determine whether to release an ethernet data frame according to a time schedule; the ETB board 32 is configured to implement TSN protocol-based data transceiving between two network segments when the trains are reconnecting. Therefore, when the communication of the train data is realized, the control of the data transmission can be realized according to a preset time schedule, so that the current time window can only transmit the corresponding planned flow, other flows are not passed, resources such as the bandwidth of a train network are not occupied, the timely and definite transmission of the train data is ensured, and the effect of reducing the transmission delay is better under the application scene of flow burst.
As can be seen from the foregoing, the ethernet switching device needs a power supply device such as a power module to implement the function, and thus this embodiment provides a preferred embodiment:
the ethernet switching devices are powered by the power boards 33, and at least two power boards 33 are provided, and the power boards 33 are connected in parallel to provide power for the ethernet switching devices.
Similarly, the purpose of this embodiment is to realize redundancy of the ethernet switching device in power supply, and at least two power boards 33 are connected in parallel to supply power to the device, so that the device can still normally complete the function when any power board 33 fails, and the parallel power supply mode has better performance in the timeliness of taking over the power supply work relative to the primary-backup switching mode, so that uninterrupted work of the ethernet switching device is ensured to provide data switching service, and thus normal operation of the train communication network is further maintained.
The present embodiment also provides a preferred implementation manner for the connection manner of the power board 33 and the ethernet switch connected thereto, which is that:
the power panel 33 is connected to the ethernet switching device through address jumpers, and the address jumpers corresponding to different positions are different.
The above-mentioned power panel 33 can enable the ethernet switching device to realize identification of address codes by connecting the address jumper with the ethernet switching device, thereby obtaining the current address information of the device. It is readily understood that the ethernet switching devices described above are fully configured, including boards such as ETB switch board 32 and ECN switch board 31, and the functions performed by the ethernet switching devices may be different at different locations in the train. Whenever conditions such as train overhaul occur and the like, the Ethernet switching equipment needs to be detached and then needs to be reinstalled, the installation is not needed by manually calibrating the position, and the setting is not needed again when the installation position is wrong. The Ethernet switching device can acquire the current position information by identifying the address code of the connected address jumper, further determine the function to be realized according to the preconfigured information and start working, so that the technical effect that the Ethernet switching device is exchanged without updating software can be achieved.
To further illustrate an ethernet switching device provided herein, the following description is provided in connection with an example:
as can be seen from the above embodiments, as shown in fig. 3, the ECN switch board 31, the ETB switch board 32, and the photoelectric switch board in the ethernet switch device are disposed in a chassis of the device, and are connected to other devices through the interface unit 35 and an external interface, and are powered by at least two power boards 33 (only two are shown in fig. 3).
In one possible implementation, the ECN switch board 31 (CN 710) corresponds to a 16-way 100Mbps communication interface, which is used for accessing terminal sub-devices (such as traction, braking, charging, air conditioning equipment, etc.), so as to obtain train data. In another preferred manner, two ECN switch boards 31 are provided in the ethernet switch device, and the ethernet switch device may support 32 ethernet communications.
The ETB switch board 32 (BN 700) has an L3 layer switching function, and implements data transceiving of two network segments during reconnection, and supports TSN communication in response to a 5-way 100Mbps communication interface.
The optical-to-electrical switching board (CN 780) corresponds to a 2-way 10Gbps optical communication interface (two optical-to-electrical switching boards 34 can perform two-transmission and two-reception), and an optical fiber plug interface of ST type or FC type can be used.
The power panel 33 (PW 300) converts the DC110V input from the external vehicle into a power supply voltage required for the chassis. The two power boards 33 are identical and work independently, and form parallel redundant power supply. In normal time, the two power boards 33 supply power simultaneously and output in parallel; when one of the power boards 33 fails, the other power board 33 can still work normally to supply power to the device. The power panel 33 can use the address jumper to realize the function of identifying the address codes of the switching equipment, and each board card can realize the execution of the corresponding function by identifying different address codes, so that the equipment can be exchanged without updating software.
Further, this embodiment also provides a structure diagram of the ethernet switching device structure and the board configuration in practical application, as shown in fig. 4, including: two ECN switch boards 31 (CN 710), an ETB switch board 32 (BN 700), two photoelectric switch boards (CN 780), two power boards 33 (PW 300) and interfaces external to each board.
The board card configuration is shown in table 1 below.
TABLE 1 Board card configuration
Figure BDA0003850294700000101
It is easy to know that this embodiment only provides one possible implementation manner of the ethernet switching device in practical application, and the ethernet switching device provided in this application is not only the one mentioned in this embodiment, but also has the utility of supporting notification of TSN protocol for implementing communication between train data, where the ECN board 31 may implement control over data transmission according to a preset time schedule, so that only the corresponding scheduled traffic can be transmitted in the current time window, other traffic is not passed, and resources such as bandwidth of a train network are not occupied, so that timely and definite transmission of train data is ensured, and an effect of reducing transmission delay is better in an application scenario of traffic burst.
In addition, the present application further provides a rail vehicle, which includes the ethernet switching device described in the foregoing embodiment, and the same beneficial effects of the ethernet switching device may also be brought, and since the embodiment portion of the rail vehicle corresponds to the embodiment of the ethernet switching device, redundant descriptions are omitted herein.
Fig. 5 is a structural diagram of a flow rate scheduling device according to an embodiment of the present application, and as shown in fig. 5, a flow rate scheduling device includes: a memory 40 for storing a computer program;
a processor 41 for implementing the steps of a traffic scheduling method according to the above embodiment when executing a computer program.
The flow scheduling device provided in this embodiment may include, but is not limited to, a smart phone, a tablet computer, a notebook computer, a desktop computer, or the like.
Processor 41 may include one or more processing cores, such as a 4-core processor, an 8-core processor, etc., among others. The processor 41 may be implemented in hardware in at least one of a digital signal processor (Digital Signal Processor, DSP), a Field programmable gate array (Field-Programmable Gate Array, FPGA), a programmable logic array (Programmable Logic Array, PLA). The processor 41 may also comprise a main processor, which is a processor for processing data in an awake state, also called central processor (Central Processing Unit, CPU), and a coprocessor; a coprocessor is a low-power processor for processing data in a standby state. In some embodiments, the processor 41 may be integrated with an image processor (Graphics Processing Unit, GPU) for taking care of rendering and rendering of the content that the display screen is required to display. In some embodiments, the processor 41 may also include an artificial intelligence (Artificial Intelligence, AI) processor for processing computing operations related to machine learning.
Memory 40 may include one or more computer-readable storage media, which may be non-transitory. Memory 40 may also include high-speed random access memory, as well as non-volatile memory, such as one or more magnetic disk storage devices, flash memory storage devices. In this embodiment, the memory 40 is at least used for storing a computer program 401, where the computer program, when loaded and executed by the processor 41, can implement the relevant steps of a traffic scheduling method disclosed in any of the foregoing embodiments. In addition, the resources stored in the memory 40 may further include an operating system 402, data 403, and the like, where the storage manner may be transient storage or permanent storage. Operating system 402 may include, among other things, windows, unix, linux. The data 403 may include, but is not limited to, a traffic scheduling method, etc.
In some embodiments, a flow scheduler may further include a display 42, an input/output interface 43, a communication interface 44, a power supply 45, and a communication bus 46.
Those skilled in the art will appreciate that the configuration shown in fig. 5 is not limiting of a flow scheduler and may include more or fewer components than shown.
The flow scheduling device provided by the embodiment of the application comprises a memory and a processor, wherein the processor can realize the following method when executing a program stored in the memory: a traffic scheduling method.
According to the traffic scheduling device provided by the embodiment, the processor executes the computer program stored in the memory, so that only the planned traffic of the current window is passed in the communication network consisting of the TSN switch according to the time schedule, and other unplanned traffic is prevented from being transmitted, and therefore, the data pressure in the train communication network is reduced, the influence on the delay of data transmission caused by overlarge data quantity is avoided, key data can be transmitted preferentially through the distribution of the time schedule, the train data can be distinguished from the urgency according to the importance when being transmitted, the train data is more flexible when being communicated, and the timeliness and the certainty of the key data of the train are also ensured. Meanwhile, the data transmission based on the TSN protocol can ensure the certainty and reliability of key data transmission to a certain extent.
Finally, the present application also provides a corresponding embodiment of the computer readable storage medium. The computer-readable storage medium has stored thereon a computer program which, when executed by a processor, performs the steps as described in the method embodiments above.
It will be appreciated that the methods of the above embodiments, if implemented in the form of software functional units and sold or used as stand-alone products, may be stored on a computer readable storage medium. With such understanding, the technical solution of the present application, or a part contributing to the prior art or all or part of the technical solution, may be embodied in the form of a software product stored in a storage medium, performing all or part of the steps of the method described in the various embodiments of the present application. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
The computer readable storage medium provided in this embodiment, when the computer program stored therein is executed, can realize clock synchronization of a train communication network and add a time stamp to each ethernet data frame, thereby performing time allocation, which is stored in the form of a time schedule. The time schedule is distributed to all TSN exchanges, so that the TSN exchanges only release the planned flow of the current window, other unplanned flows are prevented from being transmitted, data pressure in a train communication network is reduced, influence on data transmission delay caused by overlarge data quantity is avoided, key data can be transmitted preferentially through distribution of the time schedule, the train data can be distinguished in light and heavy urgency according to importance, the train data is more flexible in communication, and timeliness and certainty of the key train data can be guaranteed.
The above describes in detail a traffic scheduling method, an ethernet switching device, a rail vehicle, and a medium provided in the present application. In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. For the device disclosed in the embodiment, since it corresponds to the method disclosed in the embodiment, the description is relatively simple, and the relevant points refer to the description of the method section. It should be noted that it would be obvious to those skilled in the art that various improvements and modifications can be made to the present application without departing from the principles of the present application, and such improvements and modifications fall within the scope of the claims of the present application.
It should also be noted that in this specification, relational terms such as first and second, and the like are used solely to distinguish one entity or action from another entity or action without necessarily requiring or implying any actual such relationship or order between such entities or actions. Moreover, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, method, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, method, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, method, article, or apparatus that comprises the element.

Claims (10)

1. A traffic scheduling method, comprising:
selecting a clock of any TSN switch as a master clock;
adding corresponding time stamps for all Ethernet data frames according to an accurate time protocol so as to perform time distribution;
creating a schedule and distributing to each of the TSN switches based on the time stamps of each of the ethernet data frames; wherein the time schedule comprises a corresponding relation between the Ethernet data frame and a time window; the time window is a preset time period, and is used for guiding the TSN switch to only release the corresponding Ethernet data frame in the current time window for transmission.
2. The traffic scheduling method of claim 1, further comprising:
marking VLAN tags based on priority for the Ethernet data frames according to the data types of the Ethernet data frames;
according to the VLAN tags with different priorities, the corresponding Ethernet data frames are put into different queues;
and periodically and sequentially opening transmission ports for each queue based on a preset gate control list.
3. An ethernet switching device, comprising: ECN and ETB switch boards;
the ECN exchange board comprises a TSN chip and is used for realizing the function of an Ethernet exchanger based on a TSN protocol, when an Ethernet data frame is received, whether the Ethernet data frame corresponds to a current time window or not is judged according to a time schedule, and if so, the Ethernet data frame is released for transmission; the time schedule is generated according to each time stamp after adding corresponding time stamps to all Ethernet data frames according to an accurate time protocol, and comprises the corresponding relation between the Ethernet data frames and the time window;
the ETB exchange board comprises the TSN chip and is used for realizing data receiving and transmitting based on TSN protocol between two network segments when the trains are in reconnection.
4. An ethernet switching device according to claim 3, wherein the ethernet switching device is powered by at least two power strips, and wherein the power strips are connected in parallel to power the ethernet switching device.
5. The ethernet switching device according to claim 4, wherein the power strip is connected to the ethernet switching device by an address jumper, and the address jumpers corresponding to different locations are different.
6. An ethernet switching device according to claim 3, further comprising: a photoelectric conversion plate; the photoelectric conversion board is connected with the ECN exchange board and the ETB exchange board and is used for converting the Ethernet signals into optical signals.
7. An ethernet switching device according to claim 3, wherein at least two ECN switching boards are independent of each other and are connected to different ports of the terminal sub-device.
8. A rail train comprising an ethernet switching device according to any of claims 3 to 7.
9. A traffic scheduling device, comprising:
a memory for storing a computer program;
processor for implementing the steps of the traffic scheduling method according to claim 1 or 2 when executing said computer program.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the traffic scheduling method according to claim 1 or 2.
CN202211131175.7A 2022-09-16 2022-09-16 Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium Pending CN116319558A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211131175.7A CN116319558A (en) 2022-09-16 2022-09-16 Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211131175.7A CN116319558A (en) 2022-09-16 2022-09-16 Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium

Publications (1)

Publication Number Publication Date
CN116319558A true CN116319558A (en) 2023-06-23

Family

ID=86831091

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211131175.7A Pending CN116319558A (en) 2022-09-16 2022-09-16 Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium

Country Status (1)

Country Link
CN (1) CN116319558A (en)

Similar Documents

Publication Publication Date Title
CA2690132C (en) Arbitration of memory transfers in a dsp system
CN105144637B (en) Interface arrangement and method for exchanging user data
CN102439944B (en) Architecture with optimized interfacing for an aircraft hybrid cockpit control panel system
CN102664918B (en) Blade server control method and console
CN109828933A (en) A kind of implementation method of the NCSI function of NCSI function network interface card and network interface card
CN103067201A (en) Multi-protocol communication manager
CN106603668A (en) Elevator internet-of-things intelligent box and system
CN109862034A (en) Data transmission processing system, gateway and data transmission processing method
CN103885821B (en) SCADA pre-procesors and its Multi-channel multi-line journey real-time scheduling method
CN116319558A (en) Traffic scheduling method, ethernet switching equipment, railway vehicle, device and medium
CN103226535B (en) A kind of microserver and management method thereof
CN111221265A (en) Bus information extraction device of rudder system in loop and semi-physical simulation method
CN110266709A (en) A kind of network board
CN210488542U (en) Control board before server based on I2C bus communication
CN213986631U (en) Telecommunication control device
CN102098535A (en) Video entertainment service call system of train
CN209330143U (en) A kind of CAN bus network
CN208924235U (en) Processor and network security device
CN113259789A (en) Electric power data forwarding terminal and forwarding method
CN209462412U (en) Network synthesis based on multimode optical cable controls equipment
CN218243548U (en) Vehicle wiring harness system and vehicle
CN101904106A (en) Method for transmitting data records
CN208271170U (en) A kind of debugging serial ports connection equipment
CN220105683U (en) Communication management machine
CN114500413B (en) Device connection method and device, and device connection chip

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