Data transmission method, device and equipment for time-sensitive network, medium and program
By building a network simulation topology model of the energy management system and performing time synchronization, the traffic scheduling results and gated list are generated, and the data transmission reliability and real-time nature of the energy management system under multiple operating conditions is solved, achieving efficient and reliable data transmission.
Patent Information
- Application Number
- CN202411661502.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-20
- Publication Date
- 2025-02-18
AI Technical Summary
How to improve the data transmission reliability and real-time of energy management systems under multi-work conditions, especially when the data volume increases greatly after the introduction of energy storage systems and new energy power generation systems.
By building a network simulation topology model of the energy management system, time synchronization is performed, traffic scheduling results are generated, and gating lists and traffic release time are generated to achieve accurate control and prediction of data stream transmission.
It realizes high reliability and real-time data transmission, improves the system's time synchronization accuracy and the certainty of data packet arrival.
Smart Images

Figure CN119484409A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of data transmission, and in particular to a data transmission method, apparatus, device, medium and program for a time-sensitive network. Background Art
[0002] As one of the main energy consumers in the power system, rail transit consumes a large amount of electricity for electric locomotive traction every year. Therefore, reducing traction energy consumption and improving the flexibility and efficiency of the energy supply system are of great practical significance to the realization of my country's "dual carbon" goals. The rail transit "grid-source-storage-vehicle" collaborative energy supply system introduces energy storage systems and new energy power generation systems on the basis of the traditional traction power supply architecture. As the control center of the "grid-source-storage-vehicle" collaborative energy supply system, the Energy Management System (EMS) needs to solve the problem of real-time data transmission of the power system, traction power supply system, energy storage system (ESS) and new energy system under multiple working conditions to improve the time synchronization accuracy of the system.
[0003] With the introduction of energy storage systems and new energy power generation systems, the amount of data that the energy management system needs to receive and transmit has greatly increased, which has higher requirements for the real-time and reliability of data transmission. Therefore, how to make the communication system work efficiently and stably has become an important part of the operation of the energy management system. Ethernet is the most commonly used local area network technology at present. It has significant advantages such as high communication rate, large amount of information, and perfect network management functions. It can be used for information interaction in energy management systems within a limited network space. Ethernet communication is based on the TCP / IP protocol. The transport layer of the TCP / IP protocol provides two services: User Datagram Protocol (UDP) and Transmission Control Protocol (TCP). Among them, UDP is a connectionless protocol, that is, it does not establish a communication connection with the other party, but directly sends the data packet to the other party. Therefore, the UDP protocol communication has high real-time performance, low cost and high efficiency. Using the UDP protocol can ensure the real-time performance of communication and save communication costs, but it also reduces the reliability of communication. As a connection-oriented and highly reliable protocol, TCP establishes a reliable link between the communicating parties through a three-way handshake, and uses sequence numbers and confirmation mechanisms during the communication process. It uses mechanisms such as timeout retransmission, congestion control and flow control to ensure that all sent data packets can reach the destination. Therefore, the reliability of TCP protocol communication is high, but the various mechanisms used in TCP to ensure reliable transmission also reduce the real-time performance of communication. At the same time, it uses traditional Ethernet for transmission and cannot guarantee deterministic delay.
[0004] The energy management system includes energy scheduling of multiple energy nodes (wind power converters, photovoltaic converters, energy storage converters, grid-connected converters, energy storage elements, traction trains, etc.). The communication interfaces and methods of different nodes may be different, and even include large differences in communication requirements such as wired and wireless. In the prior art, a hybrid flow scheduling mechanism based on time-aware shaper is constructed, and the greedy taboo search algorithm is called to determine the gating list of TAS protocol flow scheduling, which solves the problem of untimely transmission of GOOSE1A. However, its flow scheduling method is not suitable for the "grid-source-storage-vehicle" collaborative energy supply system; and the SCADA system communication network of wired and wireless hybrid networking. The communication network structure adopts a one-master-multiple-slave mode, in which the wired communication network selects RS-485 bus and Ethernet for networking communication; the wireless communication network is divided into high-speed Wi-Fi and low-speed ZigBee technology to realize networking communication, which meets the requirements of data collection and operation monitoring of different types of microgrid systems, but its reliability needs to be improved, and it cannot provide deterministic delay.
[0005] In summary, how to improve the reliability and high real-time performance of data transmission in the energy management system under multiple working conditions has become an urgent problem to be solved.
[0006] Public Content
[0007] The present application provides a data transmission method, device, equipment, medium and program for a time-sensitive network. The network simulation topology model of the energy management system is used to design the corresponding transmission traffic on this basis. The time-sensitive network traffic scheduling algorithm can obtain accurate clock synchronization capabilities, and the sending time point of the queue data is controlled by the gating list. The time when the data packet arrives at the next node can be predicted, thereby achieving reliability and high real-time performance of data transmission.
[0008] In the first aspect, the present application provides a data transmission method for a time-sensitive network, including: obtaining communication topology information and data information of an energy management system, and constructing a network simulation topology model of the energy management system based on the communication topology information and the data information; performing time synchronization on the network simulation topology model to obtain a time synchronization model corresponding to the energy management system; performing traffic scheduling on the energy management system according to the time synchronization model to obtain a traffic scheduling result; generating a gating list and traffic release time of the energy management system according to the traffic scheduling result; and using the gating list and traffic release time to control data flow transmission of the energy management system.
[0009] In some embodiments, a network simulation topology model of an energy management system is constructed based on communication topology information and data information, including: determining the communication topology relationship of system nodes in the energy management system based on the communication topology information; determining the communication information between system nodes based on the data information; and constructing the topology relationship between system nodes based on the communication topology relationship and the communication information to obtain a network simulation topology model of the energy management system.
[0010] In some embodiments, a network simulation topology model is time synchronized to obtain a time synchronization model corresponding to the energy management system, including: selecting a master clock and a slave clock from system nodes in the network simulation topology model; calculating the clock deviation between each slave clock and the master clock; and performing clock correction on the slave clock according to the clock deviation to obtain a time synchronization model corresponding to the energy management system.
[0011] In some embodiments, the clock deviation between each slave clock and the master clock is calculated, including: the master clock sends Sync1 message information to the slave clock and records the sending timestamp; the slave clock receives the first event-type message information sent by the master clock, and records the first sending timestamp and the first receiving timestamp; the slave clock sends a second event-type message information in response to the master clock to obtain a second sending timestamp; the master clock receives the second event-type message information and records the second receiving timestamp; generates timestamp message information based on the first sending timestamp, the first receiving timestamp, the second sending timestamp and the second receiving timestamp; sends the timestamp message information to the slave clock, and the slave clock calculates the clock deviation according to the first sending timestamp, the first receiving timestamp, the second sending timestamp and the second receiving timestamp in the timestamp message information.
[0012] In some embodiments, traffic scheduling is performed on an energy management system according to a time synchronization model to obtain a traffic scheduling result, including: obtaining a switch port set and a data flow set in the time synchronization model; determining a data transmission operation according to the switch port set and the data flow set; calculating the cumulative network delay of the data transmission operation, and performing traffic scheduling according to the cumulative network delay to obtain a traffic scheduling result of the energy management system.
[0013] In some embodiments, a gating list and a traffic release time are used to control data flow transmission of an energy management system, including: priority filtering of data traffic in the energy management system to obtain priority cache queues corresponding to different priorities; determining a transmission gate state of each priority cache queue according to the gating list and the traffic release time; and performing data flow transmission on the data traffic according to the transmission gate state.
[0014] In the second aspect, the present application provides a data transmission device for a time-sensitive network, including: a network simulation topology model construction module, which is used to obtain the communication topology information and data information of the energy management system, and construct the network simulation topology model of the energy management system according to the communication topology information and the data information; a time synchronization module, which is used to synchronize the network simulation topology model and obtain the time synchronization model corresponding to the energy management system; a traffic scheduling module, which is used to schedule the traffic of the energy management system according to the time synchronization model and obtain the traffic scheduling result; a gating list and traffic release time generation module, which is used to generate the gating list and traffic release time of the energy management system according to the traffic scheduling result; a data flow transmission control module, which is used to control the data flow transmission of the energy management system using the gating list and the traffic release time.
[0015] In a third aspect, the present application provides a computer device, including a memory, a processor, and a computer program stored in the memory, wherein the processor executes the computer program to implement the steps of a data transmission method for a time-sensitive network in the above aspect.
[0016] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, which, when executed by a processor, implements the steps of a method for data transmission in a time-sensitive network according to the above aspect.
[0017] In a fifth aspect, the present application provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of a data transmission method for a time-sensitive network in the above aspect.
[0018] The present application provides a data transmission method, device, equipment, medium and program for a time-sensitive network. The method constructs a network simulation topology model of an energy management system according to the communication topology and data information, and synchronizes the network simulation topology model in time, thereby providing more accurate time triggering and achieving more precise and timely data transmission; the energy management system after time synchronization is subjected to traffic scheduling to generate a gating list and traffic release time, which can control the sending time point of the data traffic, predict the time when the data packet arrives at the next node, and improve the reliability and real-time performance of data transmission. BRIEF DESCRIPTION OF THE DRAWINGS
[0019] The present application will be described in more detail below based on embodiments and with reference to the accompanying drawings:
[0020] Figure 1 A schematic diagram showing a flow chart of a method for data transmission in a time-sensitive network according to a first embodiment of the present application;
[0021] Figure 2 A schematic diagram showing the structure of the communication topology relationship of the energy management system in the first embodiment of the present application;
[0022] Figure 3 A structural diagram showing the communication relationship of the energy management system in the first embodiment of the present application;
[0023] Figure 4 A schematic diagram showing a network simulation topology model of an energy management system in Embodiment 1 of the present application is shown;
[0024] Figure 5 A schematic diagram of the process of performing time synchronization in Embodiment 1 of the present application is shown;
[0025] Figure 6 A schematic diagram showing the flow scheduling result in the first embodiment of the present application;
[0026] Figure 7 A schematic diagram showing the end-to-end delay result of the coordination controller in the first embodiment of the present application;
[0027] Figure 8 A schematic diagram showing the end-to-end delay result of the energy management system in the first embodiment of the present application;
[0028] Fig. 9 A schematic diagram showing the packet loss rate of each system node in the energy management system in the first embodiment of the present application;
[0029] Fig.10 A functional module diagram of a data transmission device of a time-sensitive network in Embodiment 3 of the present application is shown;
[0030] Fig.11 A schematic diagram of the structure of an electronic device for implementing a method for transmitting data in a time-sensitive network according to a fourth embodiment of the present invention is shown.
[0031] In the drawings, the same reference numerals are used for the same components, and the drawings are not drawn to scale. DETAILED DESCRIPTION
[0032] In order to enable those skilled in the art to better understand the technical solution of the present application, and to fully understand and implement how the present application applies technical means to solve technical problems and achieve the corresponding technical effects, the technical solution in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application. Obviously, the described embodiments are only embodiments of a part of the present application, not all embodiments. The embodiments of the present application and the various features in the embodiments can be combined with each other without conflict, and the technical solutions formed are all within the scope of protection of the present application. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in the field without making creative work should belong to the scope of protection of the present application.
[0033] It should be noted that the terms "first", "second", etc. in the specification and claims of the present application and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchangeable where appropriate, so that the embodiments of the present application described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any of their variations are intended to cover non-exclusive inclusions, for example, a process, method, device, product or equipment comprising a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or equipment.
[0034] It should be noted that the steps shown in the flowcharts of the accompanying drawings can be executed in a computer device such as a set of computer executable instructions, and that, although a logical order is shown in the flowcharts, in some cases, the steps shown or described can be executed in an order different from that shown here.
[0035] Embodiment 1
[0036] Figure 1 A flow chart of a method for data transmission in a time-sensitive network provided in an embodiment of the present application. Figure 1 As shown, a data transmission method for a time-sensitive network includes:
[0037] S1. Obtain communication topology information and data information of the energy management system, and construct a network simulation topology model of the energy management system according to the communication topology information and data information.
[0038] In one embodiment, communication topology information is an abstract representation of the device connections and layout in the energy management system, which describes the arrangement of nodes (such as computers, routers, switches, etc.) in the energy management system and the connection relationships between them; data information is data transmission and communication information between nodes in the energy management system.
[0039] Among them, the energy management system is the control center of the "grid-source-storage-vehicle" collaborative energy supply system. The energy management system includes the energy scheduling of multiple energy nodes (wind power inverters, photovoltaic inverters, energy storage inverters, grid-connected inverters, energy storage elements, traction trains, etc.). The communication interfaces and methods of different nodes may be different, and even include large differences in communication requirements such as wired and wireless.
[0040] In one embodiment, a network simulation topology model of an energy management system is constructed based on communication topology information and data information, including: determining the communication topology relationship of system nodes in the energy management system based on the communication topology information; determining the communication information between system nodes based on the data information; and constructing the topology relationship between system nodes based on the communication topology relationship and the communication information to obtain a network simulation topology model of the energy management system.
[0041] In one embodiment, the energy management system needs to collect data information such as the inverter data of the 10kV distribution system, the photovoltaic system data, the energy storage system data, the traction converter boost unit, and the environmental detection device data, and issue reference instructions under the control of the energy storage system, the photovoltaic system, the 10kV distribution system, and the traction boost unit. At the same time, the energy dispatching situation of the energy management system and the monitoring data collected on the field side are uploaded to the duty room of the traction station. Specifically, Figure 2 shown.
[0042] The energy management system needs to establish communication with the coordination controller, environmental monitoring device, and background monitoring in the traction station to obtain communication information. Figure 3 shown.
[0043] In detail, the energy management system communicates with the coordination controller to obtain the operating data of the on-site photovoltaic storage system, power conversion system and related loads, and issues energy dispatch instructions through the coordination controller; the energy management system establishes communication with the environmental monitoring device to obtain on-site meteorological parameters; the energy management system establishes communication with the background (traction station duty room), and all the visual interfaces of the energy management system are displayed on the server in the duty room, realizing the monitoring of the "grid-source-storage-vehicle" energy supply system and the relay protection system.
[0044] Among them, the coordination controller and the energy management system are used in conjunction. The coordination controller determines the working mode of the energy flow diagram based on the system operation instructions and power instructions issued by the energy management system, combined with relevant information such as protection status, load status, and converter node power, and then performs power distribution calculations, and then issues power supply reference values, circuit breaker switching and other instructions to make the power value of the grid-connected point the expected value.
[0045] There are two upper-level communication objects for coordinated control, namely the energy management system located in the same container and the background system located in the personnel duty / monitoring room. The coordinated controller mainly receives data such as power reference values issued by the upper-level energy management system; transmits power information and corresponding protection and switch status information to the upper-level energy management system; and transmits power information and corresponding protection and switch status information to the background.
[0046] The coordinated controller will receive the active and reactive information of the traction load. The receiving form is that a set of load monitoring equipment directly collects the traction network voltage and feeder current, calculates the power information, and the load monitoring equipment communicates with the coordinated control in the form of 1 or 2 Ethernet interfaces; directly receives the active and reactive information of the 10KV load from the 10kV converter; receives the status information of a set of 10kV grid-connected converters and 3 sets of 27.5kV grid-connected converter switch cabinets, and monitors the opening and closing status of the DC switch.
[0047] There are three groups of grid-connected converters, which obtain the voltage command U1ref, power command P1ref Q1ref, circuit breaker action A1ord and working mode issued by the coordination controller, collect the AC grid voltage on the high-voltage side of the multi-winding transformer, the AC current on the high-voltage side of the multi-winding transformer, the AC current on the low-voltage side of the multi-winding transformer, the bus DC voltage, the circuit breaker switch status, and the protection status, realize active and reactive power control, bus DC voltage control, current inner loop control and local protection, and upload the protection / switch status Sp1, power P1act Q1act and remaining capacity, and output multi-module converter pulses and circuit breaker switch actions.
[0048] There are three groups of energy storage inverters, which obtain the voltage command A1ord, power command and working mode issued by the coordination controller, collect DC bus voltage, energy storage inverter current, battery SOC, circuit breaker switch status, protection status, realize active and reactive power control, island DC voltage control, current inner loop control and mode switching, and upload protection / switch status, current power and current SOC to the coordination controller, and output energy storage inverter pulses and circuit breaker switch actions.
[0049] There are three groups of PV inverters, which obtain the power instructions, circuit breaker action A1ord and working mode issued by the coordination controller, collect PV voltage, PV current, circuit breaker switch status and protection status, realize PV power calculation, working mode, MTTP control and power limit control, and upload the protection / switch status and current power to the coordination controller, and output PV inverter pulses and circuit breaker switch actions.
[0050] 10kV intercommunication converters obtain the voltage command U1ref, power command, circuit breaker action A1ord and working mode issued by the coordination controller, collect 10kV transformer network voltage, 10kV transformer current, bus DC voltage, circuit breaker switch status, protection status, realize active and reactive power tracking control, DC inner loop control, mode switching and protection, and upload protection / switch status, power P1act Q1act and remaining capacity to the coordination controller, and output converter pulses and circuit breaker switch actions.
[0051] In summary, through the above communication topology and data information, a network simulation topology model of key information in the "grid-source-storage-vehicle" energy management system can be built on the OMNET++ network simulation platform. Figure 4 shown.
[0052] Exemplarily, three switches supporting time-sensitive network functions are used in the network simulation topology model, wherein the ethg[0] port of switch switch0 is connected to the energy management system (ems), the ethg[1] port is connected to the coordination controller (xietiao), the ethg[2] port is connected to the ethg[0] port of switch switch1, the ethg[3] port is connected to the ethg[0] port of switch switch2, the ethg[4] port is connected to the 10kV load (fuhe1), and the ethg[5] port is connected to the 27.5kV load (fuhe2).
[0053] The ethg[0] port of switch switch1 is connected to the ethg[2] port of switch switch0, the ethg[1] port is connected to photovoltaic inverter 1 (guangfu1), the ethg[2] port is connected to photovoltaic inverter 2 (guangfu2), the ethg[3] port is connected to photovoltaic inverter 3 (guangfu3), the ethg[4] port is connected to energy storage inverter 1 (chuneng1), the ethg[5] port is connected to energy storage inverter 2 (chuneng2), and the ethg[6] port is connected to energy storage inverter 3 (chuneng3).
[0054] The ethg[0] port of switch2 is connected to the ethg[3] port of switch0, the ethg[1] port is connected to grid-connected converter 1 (bingbian1), and the ethg[2] port is connected to grid-connected converter 2
[0055] (bingbian2), ethg[3] port is connected to grid-connected converter 3 (bingbian3), and ethg[4] port is connected to 10kV converter (bian10).
[0056] S2. Time synchronization is performed on the network simulation topology model to obtain a time synchronization model corresponding to the energy management system.
[0057] In one embodiment, after obtaining the network simulation topology model, it is necessary to select a suitable traffic scheduling algorithm, then design the corresponding traffic and topology input according to the format specified by the algorithm, then run the algorithm to obtain the traffic scheduling result, and finally perform simulation configuration to obtain the simulation result.
[0058] Among them, time-sensitive networking (TSN) can introduce energy management systems to perform real-time and controllable traffic scheduling. Time-sensitive networking requires that all devices in the entire TSN domain must have a unified time reference in order to achieve strict shaping, scheduling and control of data traffic.
[0059] In one embodiment, a network simulation topology model is time synchronized to obtain a time synchronization model corresponding to the energy management system, including: selecting a master clock and a slave clock from system nodes in the network simulation topology model; calculating the clock deviation between each slave clock and the master clock; and performing clock correction on the slave clock according to the clock deviation to obtain a time synchronization model corresponding to the energy management system.
[0060] In one embodiment, a clock of a system node is selected as a master clock among system nodes in a network simulation topology model, so that the clocks of all node devices in the network simulation topology model are based on this clock. The best master clock algorithm (BMCA) can be used to quickly select the master clock in a time-sensitive domain, and other slave clocks are synchronized with the master clock based on the master clock.
[0061] Furthermore, the clock deviation between each slave clock and the master clock is calculated, including: the master clock sends Sync1 message information to the slave clock and records the sending timestamp; the slave clock receives the first event-type message information sent by the master clock, and records the first sending timestamp and the first receiving timestamp; the slave clock sends a second event-type message information in response to the master clock to obtain a second sending timestamp; the master clock receives the second event-type message information and records the second receiving timestamp; generates timestamp message information based on the first sending timestamp, the first receiving timestamp, the second sending timestamp and the second receiving timestamp; sends the timestamp message information to the slave clock, and the slave clock calculates the clock deviation according to the first sending timestamp, the first receiving timestamp, the second sending timestamp and the second receiving timestamp in the timestamp message information.
[0062] The master clock first sends Sync1 message information to the slave clock and records the first sending timestamp t1;
[0063] The slave clock receives the Sync1 message information and records the first receiving timestamp t2. The slave clock sends the response Sync2 message information, feeds back the timestamp t2 information to the master clock, and records the second sending timestamp t3 information. The master clock receives the Sync2 message information and records the second receiving timestamp t4. After sending the response message Sync2, the slave clock continues to send the Follow_Up message information and feeds back the timestamp t3 information to the master clock. After the master clock obtains all the timestamps t1, t2, t3, and t4, it forms the Follow_Up2 message information containing all the timestamp information. The master clock sends the Follow_Up2 message information to the slave clock.
[0064] After sending the response message Sync2, the slave clock continues to send Follow_Up message information and feeds back the timestamp t3 information to the master clock; after the master clock obtains the information of all timestamps t1, t2, t3, and t4, it forms the Follow_Up2 message information containing all timestamp information; the master clock sends the Follow_Up2 message information to the slave clock, and the slave clock can calculate the clock deviation through all timestamps t1, t2, t3, and t4 in the Follow_Up2 message information. The time synchronization process can be as follows: Figure 5 shown.
[0065] Specifically, the clock deviation between each slave clock and the master clock is calculated using the following formula:
[0066]
[0067] Where, offset represents the clock deviation, t 4 Indicates the second receiving timestamp in the timestamp message information, t 3 Indicates the second sending timestamp in the timestamp message information, t 2 Indicates the first receiving timestamp in the timestamp message information, t 1 Indicates the first sending timestamp in the timestamp message information.
[0068] In one embodiment, the slave clock is calibrated by clock deviation, thereby ensuring the clock synchronization of each system node, achieving high-precision and high-reliability timing synchronization, and improving the accuracy of subsequent data stream transmission.
[0069] S3. Perform flow scheduling on the energy management system according to the time synchronization model to obtain a flow scheduling result.
[0070] In one embodiment, traffic scheduling is a link for data transmission in a time synchronization model, for example, a data link for data stream transmission through a switch port. The energy scheduling status of each system node in the energy management system can be determined through traffic scheduling.
[0071] In one embodiment, traffic scheduling is performed on an energy management system according to a time synchronization model to obtain a traffic scheduling result, including: obtaining a switch port set and a data flow set in the time synchronization model; determining a data transmission operation according to the switch port set and the data flow set; calculating a cumulative network delay of the data transmission operation, and performing traffic scheduling according to the cumulative network delay to obtain a traffic scheduling result of the energy management system.
[0072] In one embodiment, the set of all switch ports in the time synchronization model can be expressed as P = {P 1 ,...,P m}. The time-sensitive flow corresponds to the process, with F = {F 1 ,...,F n} represents a set of flows. Each flow F i A series of data transfer operations Each output port on a given path of the flow has a transmission operation, and each data transmission operation is mapped to an output switch port through the relationship between the data transmission operation and the interactive machine port R:O→P.
[0073] Specifically, the cumulative network delay of the data transmission operation is calculated using the following formula:
[0074]
[0075] Among them, D i,j Represents the i-th data stream F i The jth data transfer operation O i,j The cumulative network delay, d prop represents the propagation delay, d proc Indicates processing delay, Represents data flow F i The transmission delay of the kth data transfer operation in .
[0076] In detail, the flow scheduling algorithm adopted by the present invention is the No-wait Flow Scheduling Problem (NW-FSP). The algorithm is evolved from the famous scheduling problem in operations research - the No-wait Job Shop Scheduling Problem (NW-JSP). The Job Shop Scheduling Problem (JSP) is generally described as: given the processing technology of each workpiece, the sequence of machines used by each workpiece, and the processing time of each process of each workpiece, arrange a processing sequence of workpieces so that n workpieces to be processed are processed on m machines to meet the optimization of a certain performance index. The performance index used in the present invention is "minimizing the maximum completion time", and the problem needs to meet the following assumptions and constraints: 1. The machine does not fail and starts processing workpieces from time zero; 2. The same machine can only process one workpiece at the same time. The same workpiece can only be processed on one machine at the same time; 3. The processing procedures of the workpiece strictly abide by the processing time. Once started, it must not be interrupted, and preemptive processing is not allowed between procedures; 4. The process route of each workpiece is fixed, that is, the sequence of the workpiece using the machine is given; the processing time of each workpiece in each procedure in the process route is fixed, but there is no sequence constraint between the procedures of different workpieces.
[0077] In detail, the mathematical model of the job shop scheduling problem can be described by the following formula:
[0078]
[0079] stc ik -t ik +M(1-a ihk )≥c ih (2)
[0080] c jk -c ik +M(1-x ijk )≥t jk (3)c ik ≥0 (4)
[0081] a ihk , x ijk =0,1(5)i,j=1,2,…,n; h,k=1,2,…,m (6)
[0082] Among them, t ik and c ik represents the processing time and completion time of workpiece i on machine k. In formula (5), a ihk =1 means that machine h processes workpiece i before machine k; x iik=1 means that workpiece i is processed on machine k before workpiece j; otherwise, both are 0. M is a large number, then formula (2) represents the front-end constraint relationship of the process; formula (3) represents the non-blocking constraint relationship of the process; formula (1) is the objective function, which represents the minimization of the maximum completion time of the performance indicator.
[0083] Among them, the No-Wait Job Shop Scheduling Problem (NW-JSP) adds an additional constraint: a job cannot be interrupted after it starts. It must run to completion, with no time interval between the processing of operations on the job. With this constraint, the schedule can be defined by the start time of each job alone.
[0084] Applying the above no-wait job shop scheduling problem to the traffic scheduling of time-sensitive networks is called the no-wait flow scheduling problem (NW-FSP). The overall goal is to define the time when the traffic is injected into the network by the network card from the source end, and the time to open and close the door at the corresponding port of the switch. The basic idea of mapping NW-JSP to NW-FSP is to map the switch as a machine that performs forwarding operations. The time-sensitive traffic then corresponds to a sequence of forwarding operations, with one forwarding operation for each switch along a given path of the flow. The data flow should be forwarded immediately without delay, which intuitively corresponds to the no-wait property of NW-JSP.
[0085] In one embodiment, for traffic scheduling in a time-sensitive network, network delay is more complex than the processing time of the NW-JSP (No-wait Flow Scheduling Problem, NW-FSP) job operation. Network delay can be decomposed into several types of delays, namely, the propagation delay of the signal along the link, the processing delay used to decide on which port to forward the incoming packet, the queuing delay of the packet in the queue of the outgoing port, and the transmission delay of the packet on the path. And the switch performs storage and forwarding, so the time intervals for propagation, processing, queuing, and transmission of each data flow are strictly arranged in sequence and do not overlap. Before processing a data packet, the data packet must be completely received and placed in an internal buffer, and then the information flow processing checks the header field and decides which output queue the traffic should enter. When the processing is completed, the packet can be transmitted on the output link as long as it is guaranteed to be at the head of the queue.
[0086] Due to physical limitations, two data streams cannot be transmitted through the same egress port at the same time, otherwise their electrical signals will interfere with each other. Therefore, the transmission intervals of two data streams using the same egress port must not overlap.
[0087] Based on the above conditions, the switch corresponds to the machine that performs forwarding operations on NW-JSP. The set of all switch ports in the network is represented as P = {P 1 , ..., P m}. The time-sensitive flow corresponds to the process, with F = {F 1 , ..., F n} represents a set of flows. Each flow F i A series of transfer operations Each output port on a given path of the flow has a transfer operation. The relation R: O→P maps each transfer operation to an output switching port, that is, the relation R corresponds to the mapping of the job process to the machine in NW-JSP. i and relation R are NW-FSP parameters that determine the path of flow through the network.
[0088] Furthermore, in addition to transmission delay, we must also consider propagation delay and processing delay. Processing delay and propagation delay are determined according to the characteristics of switches and links, respectively. Assume that the processing delay d of all switches and links in the network is proc and propagation delay d prop The same. And due to the no-wait feature, the queue delay is defined to be zero.
[0089] Therefore, unlike adjacent operations in the NW-JSP process, adjacent transmission operations on adjacent switches cannot be processed back-to-back without a time interval. After a switch port completes the transmission of the last bit of a packet, the bit must be transmitted to the adjacent switch, which then needs to process the packet before transmission on the next outgoing port can begin. Therefore, we need to consider the propagation and processing delays before each transmission interval. i,j Defined as flow F i The transmission operation O i,j The previous accumulated network delay (processing, propagation and transmission delay) is used to schedule the energy management system as the objective function of traffic scheduling to obtain the final traffic scheduling result.
[0090] In detail, two conflicting data transfer operations using the same output port i,k and O j,l The basic constraint of no overlap in time can be defined as follows:
[0091] t j -t i ≥D i,k -(D j,l-1 +d prop +d proc )
[0092] t i -tj ≥D j,l -(D i,k-1 +d prop +d proc )
[0093] Among them, t i and t j Represent the source data flow F i and F j The above constraints ensure that in flow F i Before the first bit of a data stream is transmitted through a switch port, the stream F j The last bit of the data stream must have been transmitted through this port, and vice versa. jl-1 +d prop +d proc It means that after the previous port has transmitted the data flow, the data flow is propagated to the next switch and the data packet is processed there. The data flow is queued in the queue for a period of time. After the data flow is processed, it is transmitted immediately without waiting in the outgoing queue of the port (the no-wait forwarding feature of NW-FSP). Therefore, the data flow passes through the network "uninterruptedly" with minimal network delay. Another advantage of no-wait forwarding is that the queue size of the real-time flow is the smallest at this time, and the switch can dedicate this memory to high-priority traffic.
[0094] For example, in the NW-FSP algorithm, the set of all traffic start times is defined as T = {t 1 ,...,t n}, which is the time when the data flow is injected at the source. Given the start time, the data flow schedule (gate opening time) for transmitting the data flow on the switch can be calculated. Moment, O i,k Need to be on port R(O i,k ) to perform transmission operations. This schedule table will be repeated in each cycle, that is, t = 0s is defined as the beginning of a cycle.
[0095] Similar to the original NW-JSP, NW-FSP is expressed as an integer linear program (ILP) as follows:
[0096] minC max
[0097] The constraints are as follows:
[0098]
[0099] Among them, the constraints of formula (7) and formula (8) correspond to the constraints of formula (4) and formula (5) respectively. Formula (7) and formula (8) are the results of transforming formula (4) and formula (5) to conform to integer linear programming (ILP). To this end, through the binary variable x i,k,j,l ∈{0,1} For each pair of conflicting forwards with the same outgoing port, perform operation {O i,k O j,l}. Collect all such conflicting forwarding operation pairs K = {{O i,k O j,l}|R(O i,k )=R(O j,l )∧O i,k ≠O j,l}. c is a large constant (actually infinity). Depending on the value of x, either the first or second constraint is valid when the right-hand side of the equation evaluates to 0. Since infinity is larger than any value, the linear constraint evaluates to true, ensuring the correctness of the constraint.
[0100] In one embodiment, traffic scheduling can determine the time for opening and closing the door of the corresponding port of the switch under minimum delay and the time for the traffic to be injected into the network from the source end by the network card, thereby achieving high reliability and high real-time performance of data stream transmission.
[0101] S4. Generate a gating list and flow release time of the energy management system according to the flow scheduling result.
[0102] In one embodiment, a gate control list (GCL): each port contains an ordered list of gate operation states. Each gate operation changes the transmission state of the gate associated with each port traffic queue. In the gate control list, T01 represents the time point T01, O represents the state of the transmission gate at this time point as open, and C represents the state of the transmission gate as closed. The gate control list will cyclically execute the gate transmission operation states at each time point. The traffic release time (OFFSET) represents the traffic scheduling time of the corresponding traffic instance on the terminal system.
[0103] In one embodiment, a gating list and a traffic release time of an energy management system are generated according to the traffic scheduling result, including: when the traffic scheduling result is a successful scheduling, extracting information parameters of the traffic scheduling; and generating a gating list and a traffic release time of the energy management system according to the information parameters.
[0104] For example, the design input flow is shown in Table 1 below:
[0105] Table 1
[0106] id src dst size period deadline jitter 0 4 [3] 500 500000 408400 408400 1 5 [3] 500 500000 408400 408400 2 6 [3] 500 500000 408400 408400 3 7
[16] 1000 1000000 408400 408400 4 8
[16] 1000 1000000 408400 408400 5 9
[16] 1000 1000000 408400 408400
[0107] Among them, id represents the unique ID of each flow; src represents the source address of the flow; dst represents the destination address of the flow; size represents the packet size of each flow (in bytes); period represents the period of the flow (in ns); deadline represents the relative flow deadline requirement (in ns);
[0108] Jitter indicates the maximum end-to-end delay difference requirement (in ns). This table shows that 6 data streams are input, combined with Figure 4 In the simulation topology, the six data flows are respectively sending a data flow from guangfu1 to the node xietiao, a data flow from guangfu2 to the node xietiao, a data flow from guangfu3 to the node xietiao, a data flow from chuneng1 to the node ems, a data flow from chuneng2 to the node ems, and a data flow from chuneng3 to the node ems. This data is input into the NW-FSP algorithm as the actual data flow.
[0109] Furthermore, Table 2 is Figure 4 Data description of the network simulation topology model. There can be 17 nodes (0,…,16) in the network simulation topology model. This data is input into the NW-FSP algorithm as the topology of traffic transmission, where link represents a directional link connecting two ports; q_num represents the number of available queues for time-triggered (critical) traffic; rate represents the link bandwidth in bit / ns, for example, 1=1Gbps, 0.1=100Mbps, 0.01=10Mbps; t_proc represents the processing time (including switching structure and ingress processing); t_prop represents the propagation delay on the link after transmission.
[0110] Table 2
[0111]
[0112]
[0113] Specifically, based on the designs in Table 1 and Table 2, the traffic scheduling results can be as follows: Figure 6 shown.
[0114] In one embodiment, the information parameters include the index of the traffic instance corresponding to each transmitted data stream, the traffic scheduling time of the corresponding traffic instance on the terminal system, and the switch status of the queue composed of the directional links of the two switch ports. Specifically, the gating list can be shown in Table 3, and the traffic release time can be shown in Table 4.
[0115] Table 3
[0116]
[0117]
[0118] In Table 3, link indicates a directional link connecting two ports; queue indicates which queue is open between the start and end time; start indicates the relative time when the queue is opened within the super cycle; end indicates the relative time when the queue is closed within the super cycle; and cycle indicates the cycle of the GCL.
[0119] Table 4
[0120]
[0121]
[0122] In Table 4, stream represents the sent data stream; ins represents the index of the corresponding traffic instance; offset represents the traffic scheduling time of the corresponding traffic instance on the terminal system.
[0123] In one embodiment, the gating list and the traffic release time can be used to control the opening and closing of different traffic in the queue of the switch output port accurately to the nanosecond level. And by controlling the sending time point of the queue data through the gating list, the time when the data packet arrives at the next node can be predicted, thereby achieving the certainty of data flow transmission.
[0124] S5. Use the gating list and traffic release time to control data flow transmission of the energy management system.
[0125] In one embodiment, a time-aware shaping mechanism (TAS) is used to control the opening and closing of different flows in the queues of the switch egress port with precision to the nanosecond level.
[0126] The core of TAS lies in the gating mechanism, which is to control the switching of the queues of the switch output port by setting a gating list associated with time, thereby allowing or prohibiting data forwarding of the corresponding queues and realizing the control of data flow transmission.
[0127] In one embodiment, a gating list and a flow release time are used to control data flow transmission in an energy management system, including: priority filtering of data flow in the energy management system to obtain priority cache queues corresponding to different priorities; determining a transmission gate state of each priority cache queue according to the gating list and the flow release time; and performing data flow transmission on the data flow according to the transmission gate state.
[0128] In one embodiment, data traffic can be mapped to a variety of different priority cache queues according to the value of the priority code field PCP in the message VLAN tag in the data traffic transmitted by the time energy management system, wherein the priority cache queue passes in and out data frames in a first-in-first-out order, and when the state of the transmission gate is open (Open), the data cached in the queue will be transmitted in sequence. On the contrary, when the transmission gate is closed (Close), the queue is prohibited from transmitting. The data cached in each queue has an upper limit, which is the maximum service data unit. By controlling the sending time point of the data traffic in the priority cache queue through the gating list and traffic release, the time when the data packet arrives at the next node can be predicted, thereby improving the reliability and real-time performance of data transmission.
[0129] In detail, the above OFFSET and GCL can be configured into the network simulation software OMNET++ to simulate and obtain corresponding simulation results, thereby realizing data flow transmission control of the energy management system.
[0130] Among them, the end-to-end delay result of node xietiao (i.e., coordination controller) is as follows Figure 7 As shown, the end-to-end delay results of the energy management system are as follows Figure 8 As shown, the packet loss rate of each system node is as follows Fig. 9 As shown above, it can be seen that the end-to-end delay of the end node is at the microsecond level, and the packet loss rate of each system node is 0. Therefore, the time-sensitive network traffic scheduling strategy of the energy management system proposed in the present invention has the characteristics of high reliability and high real-time performance.
[0131] Embodiment 2
[0132] On the basis of the above embodiments, in order to more clearly understand the present application, a second embodiment is used below to further explain the situation in which the first embodiment of the present application needs to more quickly build a network simulation topology model of the energy management system based on the communication topology information and data information.
[0133] In the embodiment of the present application, a network simulation topology model of the energy management system is constructed according to the communication topology information and the data information, including:
[0134] Determine system nodes in the energy management system based on communication topology information;
[0135] Determine the data transmission relationship between system nodes according to the data information;
[0136] The simulation topology relationship of the system nodes is constructed according to the data transmission relationship to obtain the network simulation topology model of the energy management system.
[0137] In one embodiment, the communication topology information is an abstract representation of the connection and layout of the equipment in the energy management system, which describes the arrangement of the system nodes (such as computers, routers, switches, etc.) in the energy management system and the connection relationship between them; the data information is the data transmission and communication information between the nodes in the energy management system. In addition, the system nodes for data transmission can be determined by the communication topology information, and the data flow direction between the system nodes can be determined according to the data information to obtain the data transmission relationship.
[0138] In detail, a network simulation topology model of key information in the "grid-source-storage-vehicle" energy management system can be directly built according to the preset network simulation platform, reducing the confirmation of topological relationships and improving the efficiency of building the network simulation topology model.
[0139] Embodiment 3
[0140] Based on the above embodiments, Fig.10 This is a functional module diagram of a data transmission device for a time-sensitive network provided in an embodiment of the present application. Fig.10 As shown, a data transmission device of a time-sensitive network includes:
[0141] The data transmission device 100 of the time-sensitive network of this embodiment can be installed in an electronic device. According to the functions to be implemented, the data transmission device 100 of the time-sensitive network may include a network simulation topology model construction module 101, a time synchronization module 102, a traffic scheduling module 103, a gating list and traffic release time generation module 104 and a data stream transmission control module 105. The module of this application may also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, which are stored in the memory of the electronic device.
[0142] In this embodiment, the functions of each module / unit are as follows:
[0143] The network simulation topology model building module 101 is used to obtain the communication topology information and data information of the energy management system, and build a network simulation topology model of the energy management system according to the communication topology information and the data information;
[0144] The time synchronization module 102 is used to synchronize the network simulation topology model and obtain a time synchronization model corresponding to the energy management system;
[0145] The flow scheduling module 103 is used to perform flow scheduling on the energy management system according to the time synchronization model to obtain a flow scheduling result;
[0146] A gating list and flow release time generating module 104, used to generate a gating list and flow release time of the energy management system according to the flow scheduling result;
[0147] The data flow transmission control module 105 is used to control the data flow transmission of the energy management system by using the gating list and the flow release time.
[0148] In detail, each module in the time-sensitive network data transmission device 100 in the embodiment of the present application adopts the same technical means as the time-sensitive network data transmission method in embodiment 1 when used, and can produce the same technical effects, which will not be repeated here.
[0149] Embodiment 4
[0150] like Fig.11 As shown, this embodiment also provides a computer electronic device, which may include a processor 110, a memory 111, a communication bus 112, and a communication interface 113, and may also include a computer program stored in the memory 111 and executable on the processor 110, such as a ubiquitous computing resource allocation program.
[0151] Among them, the processor 110 can be composed of integrated circuits in some embodiments, for example, it can be composed of a single packaged integrated circuit, or it can be composed of multiple integrated circuits packaged with the same function or different functions, including one or more central processing units (CPU), microprocessors, digital processing chips, graphics processors and various control chips. Combination, etc.
[0152] The memory 111 includes at least one type of readable storage medium, including flash memory, mobile hard disk, multimedia card, card-type memory (such as SD or DX memory, etc.), magnetic memory, magnetic disk, optical disk, etc.
[0153] The communication bus 112 may be a peripheral component interconnect (PCI) bus or an extended industry standard architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 111 and at least one processor 110, etc.
[0154] The communication interface 113 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices.
[0155] In some implementations of this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the method of the above embodiment are implemented.
[0156] In some implementations of this embodiment, a computer-readable storage medium is provided, on which a computer program is stored, characterized in that when the computer program is executed by a processor, the steps of the method of the above embodiment are implemented.
[0157] In some implementations of this embodiment, a computer program product is provided, including a computer program / instructions, characterized in that the steps of the method of the above embodiment are implemented when the computer program is executed by a processor.
[0158] The processor may include, but is not limited to, one or more processors or microprocessors, etc. Each processor may be an application specific integrated circuit (ASIC), a digital signal processor (DSP), a digital signal processing device (DSPD), a programmable logic device (PLD), a field programmable gate array (FPGA), a controller, a microcontroller, a microprocessor or other electronic components, and is used to execute the steps of the above-mentioned embodiment method.
[0159] Computer-readable storage media can be implemented by any type of volatile or non-volatile storage device or a combination thereof. Computer-readable storage media may include, but are not limited to, for example, random access memory (RAM), read-only memory (ROM), flash memory, EPROM memory, EEPROM memory, registers, computer storage media (such as hard disks, floppy disks, solid-state drives, removable disks, Blu-ray disks, etc.).
[0160] The computer-readable storage medium may also store at least one computer executable program / instruction, which may be, for example, a computer-readable instruction. The computer-readable storage medium includes, but is not limited to, for example, a volatile memory and / or a non-volatile memory. The volatile memory may include, for example, a random access memory (RAM) and / or a cache memory (cache), etc. The computer-readable storage medium may include, for example, a read-only memory (ROM), a hard disk, a flash memory, etc. For example, a non-transitory computer-readable storage medium may be connected to a computing device such as a computer, and then, when the computing device runs the computer-readable instructions stored on the computer-readable storage medium, the various methods described above may be performed.
[0161] In addition, the computer device may also include (but not limited to) a data bus, an input / output (I / O) bus, a display, and input / output devices (eg, keyboard, mouse, speaker, etc.), etc.
[0162] The processor may communicate with external devices via an I / O bus via a wired or wireless network.
[0163] In one embodiment, the at least one computer executable instruction may also be compiled into or constitute a software product / computer program product, wherein one or more computer executable instructions are executed by a processor to perform the various functions and / or method steps in the embodiments described in the present technology.
[0164] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can also be implemented in other ways. The device embodiments described above are merely schematic. For example, the flowcharts and block diagrams in the accompanying drawings show the possible architecture, functions and operations of the devices, methods and computer program products according to the multiple embodiments of the present application. In this regard, each box in the flowchart or block diagram can represent a module, a program segment or a part of the code, and the above-mentioned module, program segment or a part of the code contains one or more executable instructions for implementing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two consecutive boxes can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram and / or flowchart, and the combination of boxes in the block diagram and / or flowchart can be implemented with a dedicated hardware-based device that performs a specified function or action, or can be implemented with a combination of dedicated hardware and computer instructions.
[0165] It should be noted that, in this application, the terms "include", "comprises" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element limited by the sentence "includes a ..." does not exclude the existence of other identical elements in the process, method, article or device including the element.
[0166] Although the implementation methods disclosed in this application are as above, the above contents are only the implementation methods adopted for facilitating the understanding of this application, and are not intended to limit this application. Any technician in the technical field to which this application belongs can make any modifications and changes in the form and details of the implementation without departing from the spirit and scope disclosed in this application, but the scope of patent protection of this application shall still be based on the scope defined in the attached claims.
Claims
1. A data transmission method for a time-sensitive network, characterized in that: include: Acquire communication topology information and data information of the energy management system, and construct a network simulation topology model of the energy management system according to the communication topology information and the data information; Performing time synchronization on the network simulation topology model to obtain a time synchronization model corresponding to the energy management system; Performing flow scheduling on the energy management system according to the time synchronization model to obtain a flow scheduling result; Generate a gating list and flow release time of the energy management system according to the flow scheduling result; The gating list and the flow release time are used to control data flow transmission of the energy management system.
2. The method for data transmission in a time-sensitive network according to claim 1, characterized in that: The step of constructing a network simulation topology model of the energy management system according to the communication topology information and the data information includes: Determine the communication topology relationship of the system nodes in the energy management system according to the communication topology information; Determine the communication information between the system nodes according to the data information; A topological relationship between the system nodes is constructed according to the communication topological relationship and the communication information to obtain a network simulation topological model of the energy management system.
3. The method for data transmission in a time-sensitive network according to claim 1, characterized in that: The time synchronization of the network simulation topology model to obtain a time synchronization model corresponding to the energy management system includes: Selecting a master clock and a slave clock from system nodes in the network simulation topology model; Calculating a clock deviation between each of the slave clocks and the master clock; The slave clock is corrected according to the clock deviation to obtain a time synchronization model corresponding to the energy management system.
4. The method for data transmission in a time-sensitive network according to claim 3, characterized in that: The calculating the clock deviation between each of the slave clocks and the master clock comprises: The master clock sends Sync1 message information from the slave clock and records the sending timestamp; The slave clock receives the first event-type message information sent by the master clock, and records a first sending timestamp and a first receiving timestamp; The slave clock sends a second event-type message of response to the master clock to obtain a second sending timestamp; The master clock receives the second event-type message information and records a second receiving timestamp; Generate timestamp message information based on the first sending timestamp, the first receiving timestamp, the second sending timestamp, and the second receiving timestamp; The timestamp message information is sent to the slave clock, and the slave clock calculates a clock deviation according to the first sending timestamp, the first receiving timestamp, the second sending timestamp, and the second receiving timestamp in the timestamp message information.
5. The method for data transmission in a time-sensitive network according to claim 1, characterized in that: The performing flow scheduling on the energy management system according to the time synchronization model to obtain a flow scheduling result includes: Acquire a switch port set and a data flow set in the time synchronization model; Determine a data transmission operation according to the switch port set and the data flow set; The accumulated network delay of the data transmission operation is calculated, and traffic scheduling is performed according to the accumulated network delay to obtain a traffic scheduling result of the energy management system.
6. The method for data transmission in a time-sensitive network according to claim 1, characterized in that: The using the gating list and the flow release time to control the data flow transmission of the energy management system includes: Priority filtering is performed on data traffic in the energy management system to obtain priority cache queues corresponding to different priorities; Determine the transmission gate state of each priority cache queue according to the gating list and the traffic release time; The data flow is transmitted according to the transmission gate state.
7. A data transmission device for a time-sensitive network, characterized in that: include: A network simulation topology model building module, used to obtain communication topology information and data information of the energy management system, and build a network simulation topology model of the energy management system according to the communication topology information and the data information; A time synchronization module, used to perform time synchronization on the network simulation topology model to obtain a time synchronization model corresponding to the energy management system; A flow scheduling module, used for performing flow scheduling on the energy management system according to the time synchronization model to obtain a flow scheduling result; A gating list and flow release time generating module, used to generate a gating list and flow release time of the energy management system according to the flow scheduling result; A data flow transmission control module is used to control the data flow transmission of the energy management system by using the gating list and the flow release time.
8. A computer device comprising a memory, a processor and a computer program stored in the memory, characterized in that: The processor executes the computer program to implement the steps of the data transmission method for a time-sensitive network according to any one of claims 1 to 6.
9. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the data transmission method for a time-sensitive network as claimed in any one of claims 1 to 6 are implemented.
10. A computer program product, comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the data transmission method for a time-sensitive network as claimed in any one of claims 1 to 6 are implemented.