Message deterministic transmission method, transmission device and readable storage medium

By setting the shaping time and use time-sensitive communication auxiliary information in the TSN of the 5G system, the problem of changes in the packet transmission sequence caused by air interface jitter is solved, and the deterministic transmission and efficient data transmission of packets in the TSN are realized.

CN119155260APending Publication Date: 2024-12-17ZTE CORP
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202310725392.7
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-06-16
Publication Date
2024-12-17

AI Technical Summary

Technical Problem

In 5G systems, when packet transmission in a time-sensitive network (TSN), the transmission time and sequence change due to air interface jitter, which cannot meet the requirements of time synchronization and deterministic transmission.

Method used

By setting the shaping time between the network-side time-sensitive network converter (NW-TT) and the device-side time-sensitive network converter (DS-TT), we ensure the sequential shaping of packet transmission, and using the session management function SMF network element to send The plastic shaping time is combined with the up-down time sensitive communication auxiliary information of the base station, and the sending timing of the packet is adjusted to ensure that the packets are in the same order during the end-to-end transmission process.

Benefits of technology

Deterministic transmission of packets in TSN is realized, avoiding the influence of air interface jitter on message order, and ensuring accurate and efficient data transmission of time-sensitive communication.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119155260A_ABST
    Figure CN119155260A_ABST
Patent Text Reader

Abstract

The invention discloses a deterministic transmission method and transmission device of a message and a readable storage medium, when the message is transmitted among a DS-TT of a sending end, a base station, an NW-TT and a DS-TT of a receiving end, the sending sequence of the message is ensured through two-stage shaping, and the first-stage shaping is that when the NW-TT receives the message sent by the DS-TT of the sending end, the NW-TT sends the message to the sending end; determining that the difference value between the local time and the sending time of the message sent from the DS-TT of the sending end is greater than or equal to a first shaping duration, and performing downlink forwarding according to a sending period; the second-stage shaping is that when the DS-TT of the receiving end receives the message sent by the NW-TT downlink, the difference value between the local time and the entering time of the message entering the DS-TT of the sending end is judged to be greater than or equal to a second shaping duration, and the message is issued according to the sending period; according to the mode, the problem that the message transmission sequence is changed in the end-to-end transmission process of the message is avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of network communication technology, and in particular to a deterministic message transmission method, a transmission device, and a readable storage medium. Background Art

[0002] The 3GPP (The 3rd Generation Partnership Project) protocol supports the integration of TSN (Time Sensitive Network) and 5G. The 5G system bridge acts as one or more TSN bridges in TSN to implement TSC (Time Sensitive Communication) in the 5G network. Among them, NW-TT (network side TSN translator) and DS-TT (device side TSN translator) are provided in TSN. The ports on NW-TT support connection with TSN, and the ports on DS-TT also support connection with TSN, thereby realizing the connection between the entire 5G system bridge and TSN.

[0003] In the related technology, the DS-TT of one device sends the message to the NW-TT through the base station, and then the NW-TT sends the message to the DS-TT of the other device through the base station. In this process, when the air interface jitter occurs in the network, it is easy to cause the transmission time of the message in the network to change, thereby disrupting the arrival order of the message. This situation cannot meet the time synchronization and deterministic transmission requirements of TSN. Summary of the invention

[0004] The following is a summary of the subject matter described in detail herein. This summary is not intended to limit the scope of the claims.

[0005] The embodiments of the present application provide a method, a transmission device, and a readable storage medium for deterministic transmission of a message, which can ensure the determinism of message transmission in TSN.

[0006] In a first aspect, an embodiment of the present application provides a method for deterministic transmission of a message, which is applied to a network-side time-sensitive network converter NW-TT, and the deterministic transmission method includes:

[0007] Receive a first shaping duration sent by a session management function SMF network element, where the first shaping duration is determined according to a delay of a device-side time-sensitive network converter DS-TT sending a message to the NW-TT through an uplink air interface and a processing duration of the NW-TT processing the message;

[0008] receiving at least one message sent by the DS-TT of the sending end to the local area through the uplink of the base station, and determining the sending time of the message from the DS-TT of the sending end;

[0009] When the difference between the local time and the sending time of the message is greater than or equal to the first shaping duration, the message is sent downlink to the DS-TT of the receiving end through the base station.

[0010] In a second aspect, an embodiment of the present application provides a method for deterministic transmission of a message, which is applied to a device-side time-sensitive network converter DS-TT at a receiving end, and the deterministic transmission method includes:

[0011] A second shaping duration sent by a receiving session management function SMF network element, wherein the second shaping duration represents a maximum delay budget for transmitting a message from a DS-TT of a sending end to a DS-TT of a receiving end;

[0012] receiving at least one message sent downlink by a network-side time-sensitive network converter NW-TT through a base station, and determining an entry time of the message into the DS-TT of the sending end;

[0013] When the difference between the local time and the entry time of the message is greater than or equal to the second shaping duration, the message is sent downlink.

[0014] In a third aspect, an embodiment of the present application provides a method for deterministic transmission of a message, which is applied to a base station, and the method for deterministic transmission includes:

[0015] Receive uplink time-sensitive communication auxiliary information and downlink time-sensitive communication auxiliary information sent by a session management function SMF network element, wherein the difference between the burst arrival time of the uplink time-sensitive communication auxiliary information and the burst arrival time of the downlink time-sensitive communication auxiliary information is a first shaping duration, and the first shaping duration is determined according to the delay of the device-side time-sensitive network converter DS-TT sending a message to the network-side time-sensitive network converter NW-TT through the uplink air interface and the processing duration of the NW-TT processing the message;

[0016] When receiving a first message sent uplink by the DS-TT of the transmitting end, forwarding the first message to the NW-TT for processing according to the uplink time-sensitive communication auxiliary information;

[0017] When receiving the second message obtained after the NW-TT processes, the second message is forwarded to the DS-TT of the receiving end according to the downlink time-sensitive communication auxiliary information.

[0018] In a fourth aspect, an embodiment of the present application provides a transmission device, comprising at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the deterministic transmission method described in the first aspect, the second aspect or the third aspect.

[0019] In a fifth aspect, an embodiment of the present application provides a computer-readable storage medium, wherein the computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the deterministic transmission method as described above.

[0020] The deterministic transmission method, transmission device and readable storage medium of the message provided in the embodiments of the present application have at least the following beneficial effects: in a time-sensitive network TSN, when the message is transmitted between the DS-TT of the sender, the base station, the NW-TT and the DS-TT of the receiving end, the sending order of the message is guaranteed by two-level shaping, and the first-level shaping is that when the NW-TT receives the message sent by the DS-TT of the sender, it determines the difference between the local time and the sending time of the message from the DS-TT of the sender, and if the difference is greater than or equal to the first shaping duration, the message is sent downlink according to the sending period, and the first shaping duration is determined according to the uplink sending delay size of the DS-TT of the sender and the processing time of the message in the NW-TT, so as to ensure that the message is sorted into a suitable order in the NW-TT before being sent down; the second-level shaping is that the DS-T of the receiving end is When T receives a message sent downlink from NW-TT, it determines the difference between the local time and the entry time of the message into the DS-TT of the transmitter. If the difference is greater than or equal to the second shaping duration, the message is sent down according to the sending cycle. The second shaping duration is determined according to the maximum delay budget for the message to be transmitted from the DS-TT of the transmitter to the DS-TT of the receiver, which can ensure that the message is sorted into a suitable order in the DS-TT of the receiver before being sent down. During the first-level shaping and the second-level shaping process, the base station adjusts the sending timing of the uplink and downlink messages according to the uplink time-sensitive communication auxiliary information and the downlink time-sensitive communication auxiliary information. The above method ensures that the message transmission order will not change during the end-to-end transmission process, avoids the influence of air interface jitter on the message order, and realizes accurate and efficient data transmission in TSN.

[0021] Other features and advantages of the present application will be described in the following description, and partly become apparent from the description, or understood by practicing the present application. The purpose and other advantages of the present application can be realized and obtained by the structures specifically pointed out in the description, claims and drawings. BRIEF DESCRIPTION OF THE DRAWINGS

[0022] The accompanying drawings are used to provide further understanding of the technical solution of the present application and constitute a part of the specification. Together with the examples of the present application, they are used to explain the technical solution of the present application and do not constitute a limitation on the technical solution of the present application.

[0023] Figure 1 This is a network architecture diagram of a 5G network and TSN combined according to an embodiment of the present application;

[0024] Figure 2 It is a schematic diagram of the transmission direction of a message in a network provided by an embodiment of the present application;

[0025] Figure 3 It is a flowchart of deterministic transmission of messages on the NW-TT side provided by an embodiment of the present application;

[0026] Figure 4 This is a processing flow chart after NW-TT receives a message provided by an embodiment of the present application;

[0027] Figure 5 This is a flowchart of NW-TT downlink sending message provided by an embodiment of the present application;

[0028] Figure 6 It is a flowchart of deterministic transmission of a message on the DS-TT side of a receiving end provided by an embodiment of the present application;

[0029] Figure 7 This is a processing flow chart of a DS-TT receiving end after receiving a message provided by an embodiment of the present application;

[0030] Figure 8 This is a flow chart of a DS-TT downlink message sent by a receiving end provided by an embodiment of the present application;

[0031] Fig. 9 It is a flowchart of deterministic transmission of a message on a base station side provided by an embodiment of the present application;

[0032] Fig.10 It is a schematic diagram of the structure of a transmission device provided in one embodiment of the present application. DETAILED DESCRIPTION

[0033] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0034] Time-sensitive Networking (TSN), a protocol family that implements deterministic minimum time delay in non-deterministic Ethernet, defines a time-sensitive mechanism for Ethernet data transmission, adding determinism and reliability to standard Ethernet to ensure real-time, deterministic and reliable data transmission. The relevant standards mainly involve time synchronization, bounded low latency, high-reliability transmission and resource management.

[0035] Reference Figure 1 As shown in the 5G network element connection architecture diagram, the 3GPP protocol supports the integration of time-sensitive network TSN and 5G network to support time-sensitive communication in the 5G system. According to the 3GPP protocol, the 5G system 5GS bridge acts as one or more TSN bridges of TSN. For each 5GS bridge of TSN, the ports on NW-TT support connection with TSN, and the ports on DS-TT support connection with TSN, thereby realizing the connection between the entire 5GS bridge and TSN.

[0036] Specifically, refer to Figure 2 As shown, the message is sent from a terminal 1 (or end station, Figure 1 End Station 1 in the figure) or TSN Bridge 1 ( Figure 1 In the process of sending the data to the base station gNB, it first passes through the DS-TT corresponding to the terminal 1 / TSN bridge 1 (in Figure 1 The message is represented by UE-DS-TT1 in the figure), and then reaches the base station gNB, which processes the message and sends it to NW-TT ( Figure 1 The NW-TT is located in the UPF (User Plane Function) network element), and the NW-TT forwards the message, and the message is sent to the terminal N ( Figure 1 End Station N in the figure) or TSN bridge N ( Figure 1 In the forwarding process, the message passes through the DS-TT corresponding to the terminal N / TSN bridge N (in Figure 1 UE-DS-TT2 then forwards the message to terminal N / TSN bridge N.

[0037] In 5G networks, messages are mainly transmitted between network elements through corresponding air interfaces. When abnormal conditions occur in the network, transmission abnormalities will occur in the air interfaces. For example, air interface jitter will cause changes in the transmission duration and sequence of messages in the network. The determinism of downlink message transmission cannot be guaranteed, and the transmission requirements of TSN are not met.

[0038] Based on this, an embodiment of the present application provides a deterministic transmission method, a transmission device and a readable storage medium for messages. By setting the shaping duration, the received messages are shaped in transmission order to ensure the determinism of network transmission and avoid the impact of air interface jitter on the message order.

[0039] Reference Figure 3 As shown, an embodiment of the present application provides a deterministic transmission method, which is applied to NW-TT. The deterministic transmission method includes but is not limited to the following steps S100 to S300.

[0040] Step S100, receiving a first shaping duration sent by a session management function SMF network element, where the first shaping duration is determined according to a delay of the DS-TT sending a message to the NW-TT through an uplink air interface and a processing duration of the NW-TT processing the message;

[0041] Step S200, receiving at least one message sent by the DS-TT of the sending end to the local through the base station uplink, and determining the sending time of the message from the DS-TT of the sending end;

[0042] Step S300: When the difference between the local time and the time when the message is sent is greater than or equal to the first shaping duration, the message is sent downlink to the DS-TT of the receiving end through the base station.

[0043] The SMF (Session Management Function) network element sends the first shaping duration to NW-TT, and NW-TT can perform the first shaping on the TSN message according to the first shaping duration. The size of the first shaping duration is related to the DS-TT uplink forwarding delay and the processing duration of the message in NW-TT. Among them, the DS-TT uplink forwarding delay is the delay of the message from the DS-TT local port through the base station to the NW-TT forwarding process, and the processing duration of the message in NW-TT is the duration of the entire process of NW-TT receiving the message, processing it locally, and then forwarding it. When actually setting the size of the first shaping duration, in addition to directly adding the total duration obtained by adding the DS-TT uplink forwarding delay and the NW-TT processing time of the message as the first shaping duration, you can also use a duration related to these two durations, for example, set corresponding coefficients for the DS-TT uplink forwarding delay and the NW-TT processing time of the message, and then add the product of these two durations and the corresponding coefficients, and the result is the first shaping duration. The first shaping duration can also be determined by other means, the purpose is to ensure that when the NW-TT sends the message locally, the order of the messages sent is correct.

[0044] Specifically, NW-TT will first receive the information containing the first shaping duration sent by the SMF network element, and then NW-TT will receive at least one message sent by the DS-TT of the sender to the local area through the uplink of the base station. NW-TT determines the difference between the local time and the time when the message is sent from the DS-TT of the sender. When the message satisfies the condition that the difference is greater than or equal to the first shaping duration, NW-TT will send all the local to-be-sent messages that meet the above conditions in this downlink sending window, where the downlink sending window represents the gating rule corresponding to the periodic queuing forwarding of NW-TT. Periodic queuing forwarding enables the message to guarantee bounded delay in TSN, which is a common message scheduling rule in TSN and will not be further explained here.

[0045] In summary, the received message is cached in NW-TT and waits for a period of time, so that the cached message meets the condition that the difference is greater than or equal to the first shaping duration, and then the message is sent downlink. This process is the first level shaping of the message.

[0046] Reference Figure 4 As shown, in some embodiments, in order to facilitate the NW-TT to determine the time when the DS-TT uplink of the sending end sends the message, the message includes the sending timestamp of the DS-TT uplink sending message of the sending end; the sending time of the message from the DS-TT of the sending end in the above step S200 is determined, including:

[0047] Step S210, putting the message into the first local buffer;

[0048] Step S220: Determine the sending time of the message from the DS-TT of the sending end according to the sending timestamp of the cached message.

[0049] The DS-TT at the sending end sends a message to the NW-TT upstream, and adds a sending timestamp before sending the message. The sending timestamp indicates the time when the message is sent from the DS-TT at the sending end. When the NW-TT receives the message, it puts the received message into the first local buffer area, and then determines the sending time (sending timestamp t2) from the message. At the same time, it monitors whether the difference between the sending timestamp t2 of the message and the local time (which can be calculated as an absolute value) is greater than or equal to the first shaping duration. If so, the state of the message is set to the waiting state. In fact, since there may be more than one message in the first local buffer area, the NW-TT actually monitors the sending timestamp t2 of all local messages.

[0050] As mentioned above, in order to meet the bounded latency requirement of TSN, NW-TT sends out the messages in the waiting state periodically. Therefore, there are some messages in NW-TT whose sending timestamp t2 and the local time have a difference greater than the first shaping duration. Figure 5As shown, in the above step S300, when the difference between the local time and the sending time of the message is greater than or equal to the first shaping duration, the message is sent to the DS-TT of the receiving end through the base station downlink, including:

[0051] Step S310, determining the sending time of each message in the first local buffer area;

[0052] Step S320: When the difference between the local time and the sending time of the message is greater than or equal to the first shaping duration, the message is set as the first message to be sent;

[0053] Step S330: When the downlink sending window of NW-TT is reached, the first message to be sent is sent downlink to the DS-TT of the receiving end through the base station.

[0054] The message in the waiting-to-send state is determined as the first waiting-to-send message, which satisfies the difference between the sending time (sending timestamp t2) and the local time (which can be calculated as an absolute value) is greater than or equal to the first shaping duration. When the next downlink sending window in the NW-TT arrives, that is, the time of periodic queuing forwarding, that is, the downlink sending window, all the first waiting-to-send messages are sent downlink to the base station, and the base station then forwards the message to the DS-TT at the receiving end.

[0055] Among them, NW-TT is set in the UPF network element, and the local time of NW-TT is the local time of the N3 interface. The N3 interface is the communication interface between the UPF network element and the 5G wireless access network of the base station. The N3 interface is the interface between the 5G(R)AN (Radio Access Network) and the UPF, and is mainly used to transmit uplink and downlink user plane data between the 5G(R)AN and the UPF.

[0056] Reference Figure 6 As shown, an embodiment of the present application provides a deterministic transmission method, which is applied to DS-TT at a receiving end. The deterministic transmission method includes but is not limited to the following steps S400 to S600.

[0057] Step S400, receiving a second shaping duration sent by a session management function SMF network element, where the second shaping duration represents a maximum delay budget for transmitting a message from a DS-TT at a sending end to a DS-TT at a receiving end;

[0058] Step S500, receiving at least one message sent downlink by a network-side time-sensitive network converter NW-TT through a base station, and determining an entry time of the message into the DS-TT of the sending end;

[0059] Step S600: When the difference between the local time and the message entry time is greater than or equal to the second shaping duration, the message is sent downlink.

[0060] The SMF network element sends a second shaping duration to the DS-TT, and the DS-TT can perform a second shaping on the TSN message according to the second shaping duration. The size of the second shaping duration is related to the maximum delay budget (max Delay Budget, maxDB) of the message from the DS-TT of the sender to the DS-TT of the receiver. The DS-TT of the receiver determines the difference between the local time and the entry time of the message at the DS-TT of the sender. If the difference is greater than or equal to the second shaping duration, that is, greater than or equal to the maximum delay budget maxDB, these messages are sent downlink to the terminal station or TSN bridge. The second shaping duration can directly take the value of the maximum delay budget maxDB, or set other values ​​according to the maximum delay budget maxDB, for example, taking 1.1 times the maximum delay budget maxDB as the second shaping duration. The second shaping duration can also be determined by other means, the purpose of which is to ensure that when the DS-TT of the receiver sends the message locally, the order of the sent messages is correct.

[0061] Specifically, the DS-TT at the receiving end will first receive the information containing the second shaping duration sent by the SMF network element. The DS-TT at the receiving end receives at least one message sent downlink by the base station to the local area. The DS-TT at the receiving end determines the difference between the local time and the entry time of the message into the DS-TT of the sending end. When the message satisfies the condition that the difference is greater than or equal to the second shaping duration, the DS-TT at the receiving end will send all the local to-be-sent messages that meet the above conditions in this downlink sending window, where the downlink sending window represents the gating rule corresponding to the periodic queuing forwarding of the DS-TT at the receiving end. The periodic queuing forwarding enables the message to guarantee bounded delay in TSN, which is a common message scheduling rule in TSN and will not be further explained here.

[0062] In short, after the DS-TT at the receiving end receives the message, it caches the message and waits for a period of time so that the cached message meets the condition that the difference is greater than or equal to the second shaping duration, and then sends the message downlink. This process is the second-level shaping of the message.

[0063] In some embodiments, in order to facilitate the DS-TT at the receiving end to determine the time when the message enters the DS-TT at the sending end, the message includes an entry timestamp of the message entering the DS-TT at the sending end; Figure 7 As shown, in the above step S500, determining the entry time of the message into the DS-TT of the sending end includes:

[0064] Step S510, putting the message into the second local buffer area;

[0065] Step S520: Determine the entry time of the message into the DS-TT of the sending end according to the entry timestamp of the cached message.

[0066] The DS-TT at the sending end receives the uplink message and records the timestamp of the message entering the DS-TT at the sending end. The timestamp indicates the time when the message enters the DS-TT at the sending end. The DS-TT at the sending end adds the entry timestamp to the message and sends it to the NW-TT. Therefore, the message received by the NW-TT includes the entry time (entry timestamp t1) and the sending time (sending timestamp t2). When the DS-TT at the receiving end receives the message sent by the NW-TT, it monitors whether the difference between the entry timestamp t1 of the message and the local time (which can be calculated as an absolute value) is greater than or equal to the second shaping duration. If so, the state of the message is set to the waiting state. In fact, since there may be more than one message in the second local buffer area, the DS-TT at the receiving end actually monitors the entry timestamp t1 of all local messages.

[0067] As we know, in order to meet the bounded delay requirement of TSN, the DS-TT at the receiving end sends out the messages in the waiting state periodically. Therefore, there are some messages in the DS-TT at the receiving end whose difference between the entry timestamp t1 and the local time is greater than the second shaping duration. Figure 8 As shown, in the above step S600, when the difference between the local time and the message entry time is greater than or equal to the second shaping duration, the message is sent downlink, including:

[0068] Step S610, determining the sending time of each message in the second local buffer area;

[0069] Step S620: When the difference between the local time and the message entry time is greater than or equal to the second shaping duration, the message is set as the second message to be sent;

[0070] Step S630: When the downlink sending window of the DS-TT of the receiving end is reached, the second message to be sent is sent to the receiving end device corresponding to the DS-TT of the receiving end.

[0071] The message in the waiting-to-send state is determined as the second waiting-to-send message, which satisfies that the difference between the entry time (entry timestamp t1) and the local time (which can be calculated as an absolute value) is greater than or equal to the second shaping duration. When the next downlink sending window in the DS-TT of the receiving end arrives, that is, the time when the periodic queuing forwarding is reached, that is, the downlink sending window, all the second waiting-to-send messages are sent downlink to the end station or TSN bridge.

[0072] It can be understood that the above is a case where the DS-TT at the receiving end receives the message sent by the DS-TT at the sending end. If the DS-TT at the receiving end acts as the sending side and the DS-TT at the sending end acts as the receiving side, then the DS-TT at the receiving end implements the function of the DS-TT at the sending end, and the DS-TT at the sending end implements the function of the DS-TT at the receiving end. That is to say, the DS-TT at the sending end and the DS-TT at the receiving end are essentially equivalent, and implement corresponding functions in the uplink and downlink.

[0073] Reference Fig. 9 As shown, an embodiment of the present application provides a deterministic transmission method, which is applied to a base station. The deterministic transmission method includes but is not limited to the following steps S700 to S900.

[0074] Step S700, receiving uplink time-sensitive communication assistance information (uplink TSCAI, TSC Assistance Information) and downlink time-sensitive communication assistance information (downlink TSCAI) sent by the session management function SMF network element, wherein the difference between the burst arrival time of the uplink time-sensitive communication assistance information and the burst arrival time of the downlink time-sensitive communication assistance information is a preset fixed duration, and the preset fixed duration is determined according to the delay of the device-side time-sensitive network converter DS-TT sending a message to the network-side time-sensitive network converter NW-TT through the uplink air interface and the processing duration of the NW-TT processing the message;

[0075] Step S800, when receiving a first message sent uplink by the DS-TT of the transmitting end, forwarding the first message to the NW-TT for processing according to the uplink time-sensitive communication auxiliary information;

[0076] Step S900: When receiving the second message obtained after processing by the NW-TT, the second message is forwarded to the DS-TT of the receiving end according to the downlink time-sensitive communication auxiliary information.

[0077] Time Sensitive Communication Assistance Information (TSCAI) is used to indicate the way the base station forwards messages and describe the traffic characteristics of TSN services, including flow direction, burst arrival time, maximum burst size, periodicity, etc., so that the base station can prepare communication resources for periodic deterministic services in advance by configuring authorization, semi-static scheduling, dynamic authorization, etc., so that when TSN messages arrive, there is no need to pass scheduling requests to reduce waiting time. The base station can coordinate the forwarding process of messages from the sending end DS-TT through NW-TT to the receiving end DS-TT through uplink TSCAI and downlink TSCAI. Among them, the uplink TSCAI and downlink TSCAI have burst arrival times. The SMF network element sets the burst arrival time of the downlink TSCAI based on the burst arrival time in the uplink TSCAI. The burst arrival time (Burst Arrival Time) is expressed as BAT, that is, the BAT+T of the uplink TSCAI is the BAT of the downlink TSCAI, and then the SMF network element sends the uplink TSCAI and downlink TSCAI to the base station. The time T is determined according to the delay of the device-side time-sensitive network converter DS-TT sending a message to the network-side time-sensitive network converter NW-TT through the uplink air interface and the processing time of NW-TT processing the message. This time T may be equal to or unequal to the first shaping time. For example, the preset fixed time is the total time of the delay upper limit of the DS-TT at the sending end sending a message to NW-TT through the uplink air interface and the processing time of NW-TT processing the message.

[0078] In some embodiments, uplink time-sensitive communication auxiliary information is generated by the SMF network element based on auxiliary data sent by the centralized network configuration CNC (Centralized Network Configuration) network element, and downlink time-sensitive communication auxiliary information is generated by the SMF network element based on the uplink time-sensitive communication auxiliary information and a preset fixed duration.

[0079] In some embodiments, the uplink time-sensitive communication auxiliary information and the downlink time-sensitive communication auxiliary information sent by the session management function SMF network element in the above step S700 are received specifically as follows:

[0080] Receive uplink time-sensitive communication auxiliary information and downlink time-sensitive communication auxiliary information sent by the access and mobility management function (AMF) network element through the N2 interface;

[0081] Among them, the SMF network element sends uplink time-sensitive communication auxiliary information and downlink time-sensitive communication auxiliary information to the AMF network element through the N11 interface, and the N2 interface is the communication interface between the AMF network element and the 5G wireless access network of the base station.

[0082] The 5GS bridge realizes collaborative management with the CNC network element through the TSN AF (Application Function) network element, in which the uplink TSCAI is sent by the SMF to the base station, and the first shaping duration is configured in the SMF, and the first shaping duration is sent to the NW-TT through the N4 interface. The SMF also converts the uplink TSCAI and the first shaping duration to obtain the downlink TSCAI, and then the SMF sends the downlink TSCAI to the base station through the N2 interface. The SMF network element is connected to the AMF network element through the N11 interface.

[0083] The above three embodiments are respectively described for NW-TT, DS-TT at the receiving end and base station. The overall solution of this application is described in detail below.

[0084] Reference Figure 1 As shown in the figure, it is the implementation of a logical deterministic bridge based on two-level shaping, which is used to perform two-level shaping on the transmission duration and transmission order of TSN messages to ensure the determinism of network transmission in TSN. The first-level shaping occurs at the N3 interface, and the second-level shaping occurs at the UE-DS-TT. Figure 1 The DS-TT at the transmitting end is represented as UE-DS-TT1, and the DS-TT at the receiving end is represented as UE-DS-TT2.

[0085] First level plastic surgery:

[0086] The uplink message sent from UE-DS-TT1 is set as "UE-DS-TT1 out", and the downlink message is set as "N3 out" through the N3 interface. The 5GS bridge realizes collaborative management with the CNC through the TSN AF network element. The uplink TSCAI information is sent by the SMF network element to the base station (gNB). At the same time, the N3 first shaping time T of NW-TT is configured in the SMF network element (the length is the upper limit of the uplink air interface forwarding delay + the processing time of NW-TT), and then the first shaping time T is sent to NW-TT through the N4 port. The SMF network element converts the uplink TSCAI information and the first shaping time T to obtain the downlink TSCAI information, and then the SMF network element transmits the downlink TSCAI information to the gNB through the N2 port.

[0087] At the ingress time of the uplink UE-DS-TT1, the message is timestamped with t1. At the egress time of the uplink UE-DS-TT1, the message is timestamped with t2. The message passes through the gNB and reaches the UPF / NWTT. After the UE-DS-TT1 sends the message for a time period of T (the difference between the local time of NW-TT and the timestamp t2 is the first shaping time period T), the NW-TT sends the message from the N3 port. When the message is actually dequeued from the N3 port, the BAT of the downlink TSCAI is taken as the BAT+T of the uplink TSCAI, and the Flow Direction parameter of the TSCAI (message transmission direction) is changed from "uplink" to "downlink", and other parameters remain unchanged. The gNB controls the allocation of wireless resources and the scheduling of data based on the BAT parameter and other information provided by the TSCAI, thereby ensuring the time and order of message transmission, and achieving accurate and efficient data transmission.

[0088] Second level plastic surgery:

[0089] Configure the maximum delay maxDB of a message between two UEs on the TSN AF / SMF as the second shaping duration.

[0090] When the message arrives at UE-DS-TT2 and enters the cache area, UE-DS-TT2 compares the current local time with the timestamp t1 of the message in the cache area, obtains the difference, and determines whether the corresponding difference of the message reaches maxDB. If so, the message is transferred to the sending state and moved into the waiting-to-send area, and the message is sent out after the gate is reached.

[0091] In general, the main process steps include but are not limited to the following:

[0092] 1101: The uplink TSCAI information is sent by the SMF network element to the gNB. At the same time, the first shaping duration T of the N3 interface of the NW-TT is configured in the SMF network element, and then T is sent to the NW-TT through the N4 interface.

[0093] 1102: The BAT of the downlink TSCAI information is taken as the BAT of the uplink TSCAI + T. The Flow Direction parameter of TSCAI is changed from "uplink" to "downlink". The SMF passes the downlink TSCAI to the gNB through the N2 interface.

[0094] The above steps 1101 and 1102 are preparatory steps.

[0095] 1103: The end station or TSN bridge sends a message to UE-DS-TT1;

[0096] 1104: When the message enters UE-DS-TT1, the message is timestamped t1;

[0097] 1105: When the message leaves UE-DS-TT1, the message is timestamped with t2;

[0098] 1106: The message reaches the UPF / NW-TT through the gNB and enters the buffer area.

[0099] 1107: When the local time of the N3 interface minus the timestamp t2 of the message in the buffer is greater than or equal to T, the message is sent from the N3 interface;

[0100] 1108: The message arrives at the gNB. The gNB controls the sending of the message based on the BAT, periodicity and other parameter information provided by TSCAI.

[0101] 1109: The message arrives at UE-DS-TT2 and enters the buffer area;

[0102] 1110: UE-DS-TT2 compares the current local time with the timestamp t1 of the message in the buffer area to determine whether the message reaches the second shaping duration maxDB. If so, the message changes to the sending state and moves into the waiting-to-send area, and waits for the gate control to arrive before sending the message.

[0103] The path of TSCAI information is that TSN AF obtains information from CNC and sends TSCAI related information to SMF network element through PCF network element, and then SMF network element generates and sends it to gNB for use. After the downlink TSCAI is generated by SMF network element, it is passed to gNB through N2 interface. SMF network element sends T to UPF / NW-TT through N4 interface.

[0104] The terminal sends a message to UE-DS-TT1, UE-DS-TT1 transmits the message to UPF / NW-TT through gNB, UPF / NW-TT then sends the message to the network-side TSN bridge or receiving terminal, or UPF / NW-TT transmits the message to UE-DS-TT2 via gNB.

[0105] Configure the maximum delay maxDB of the message between two UEs on the AF / SMF network element. The AF / SMF network element sends maxDB to the DS-TT through the Ethernet port management process.

[0106] Therefore, it can be known that, in the current TSN network UE2UE scenario, when the message is transmitted between UE-DS-TT1, gNB, UPF / NW-TT, and UE-DS-TT2, due to abnormal conditions such as air interface jitter, the message transmission duration will be uncertain, resulting in changes in the transmission order of multiple messages of a stream, and ultimately causing network transmission uncertainty. Through the embodiments of the present application, in actual applications, by setting the parameter information of TSCAI and the first shaping duration and the second shaping duration, the gNB controls the transmission duration and sequence of the TSN stream message to ensure that the time and sequence of message sending are determined, and accurate and efficient data transmission is achieved.

[0107] An embodiment of the present application also provides a transmission device, including at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the aforementioned deterministic transmission method.

[0108] Reference Fig.10 , taking the control processor 1001 and the memory 1002 in the transmission device 1000 as an example that can be connected via a bus. The memory 1002, as a non-transitory computer-readable storage medium, can be used to store non-transitory software programs and non-transitory computer executable programs. In addition, the memory 1002 may include a high-speed random access memory, and may also include a non-transitory memory, such as at least one disk memory, a flash memory device, or other non-transitory solid-state storage device. In some embodiments, the memory 1002 may optionally include a memory remotely arranged relative to the control processor 1001, and these remote memories may be connected to the transmission device 1000 via a network. Examples of the above-mentioned network include, but are not limited to, the Internet, an intranet, a local area network, a mobile communication network, and combinations thereof.

[0109] Those skilled in the art will understand that Fig.10 The device structure shown in the figure does not constitute a limitation on the transmission device 1000, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0110] The embodiment of the present application also provides a computer-readable storage medium, which stores computer-executable instructions, and the computer-executable instructions are executed by one or more control processors, for example, Fig.10 The one or more control processors 1001 in the embodiment of the present invention may execute the deterministic transmission method in the embodiment of the present invention, for example, executing the above-described Figure 3 Steps S100 to S300 of the method, Figure 4 Steps S210 to S220 of the method, Figure 5 Steps S310 to S330 of the method, Figure 6 Steps S400 to S600 of the method, Figure 7 Steps S510 to S520 of the method, Figure 8 Steps S610 to S630 of the method and Fig. 9 Method steps S700 to S900.

[0111] The device embodiments described above are merely illustrative, and the units described as separate components may or may not be physically separated, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.

[0112] It will be appreciated by those skilled in the art that all or some of the steps and systems in the disclosed method above may be implemented as software, firmware, hardware and appropriate combinations thereof. Some physical components or all physical components may be implemented as software executed by a processor, such as a central processing unit, a digital signal processor or a microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as an application specific integrated circuit. Such software may be distributed on a computer-readable medium, which may include a computer storage medium (or a non-transitory medium) and a communication medium (or a temporary medium). As known to those skilled in the art, the term computer storage medium includes volatile and non-volatile, removable and non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, program modules or other data). Computer storage media include, but are not limited to, RAM, ROM, EEPROM, flash memory or other memory technologies, CD-ROM, digital versatile disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, disk storage or other magnetic storage devices, or any other medium that may be used to store desired information and may be accessed by a computer. Furthermore, it is well known to those skilled in the art that communication media typically embodies computer readable instructions, data structures, program modules, or other data in a modulated data signal such as a carrier wave or other transport mechanism, and may include any information delivery media.

[0113] The above is a specific description of the preferred implementation of the present application, but the present application is not limited to the above-mentioned implementation mode. Technical personnel familiar with the field can also make various equivalent deformations or substitutions without violating the spirit of the present application. These equivalent deformations or substitutions are all included in the scope defined by the claims of the present application.

Claims

1. A method for deterministic transmission of a message, applied to a network-side time-sensitive network converter NW-TT, characterized in that: The deterministic transmission method comprises: Receive a first shaping duration sent by a session management function SMF network element, where the first shaping duration is determined according to a delay of a device-side time-sensitive network converter DS-TT sending a message to the NW-TT through an uplink air interface and a processing duration of the NW-TT processing the message; receiving at least one message sent by the DS-TT of the sending end to the local area through the uplink of the base station, and determining the sending time of the message from the DS-TT of the sending end; When the difference between the local time and the sending time of the message is greater than or equal to the first shaping duration, the message is sent downlink to the DS-TT of the receiving end through the base station.

2. The deterministic transmission method according to claim 1, characterized in that: The first shaping duration is the total duration of the delay upper limit value of the DS-TT at the sending end sending the message to the NW-TT through the uplink air interface and the processing duration of the NW-TT processing the message.

3. The deterministic transmission method according to claim 1, characterized in that: The message includes a sending timestamp of the DS-TT uplink sending the message at the sending end; and determining the sending time of the message from the DS-TT of the sending end includes: Putting the message into a first local buffer; The sending time of the message from the DS-TT of the sending end is determined according to the cached sending timestamp of the message.

4. The deterministic transmission method according to claim 3, characterized in that: When the difference between the local time and the sending time of the message is greater than or equal to the first shaping duration, sending the message to the DS-TT of the receiving end through the base station downlink, comprising: Determining the sending time of each of the messages in the first local cache area; When the difference between the local time and the sending time of the message is greater than or equal to the first shaping duration, setting the message as the first message to be sent; When the downlink sending window of the NW-TT is reached, the first message to be sent is sent downlink to the DS-TT of the receiving end through the base station.

5. The deterministic transmission method according to any one of claims 1 to 4, characterized in that: The NW-TT is set in the user plane function UPF network element, the local time of the NW-TT is the local time of the N3 interface, and the N3 interface is the communication interface between the UPF network element and the 5G wireless access network of the base station.

6. A method for deterministic transmission of a message, applied to a device-side time-sensitive network converter DS-TT at a receiving end, characterized in that: The deterministic transmission method comprises: A second shaping duration sent by a receiving session management function SMF network element, wherein the second shaping duration represents a maximum delay budget for transmitting a message from a DS-TT of a sending end to a DS-TT of a receiving end; receiving at least one message sent downlink by a network-side time-sensitive network converter NW-TT through a base station, and determining an entry time of the message into the DS-TT of the sending end; When the difference between the local time and the entry time of the message is greater than or equal to the second shaping duration, the message is sent downlink.

7. The deterministic transmission method according to claim 6, characterized in that: The message includes an entry timestamp of the message entering the DS-TT of the transmitting end; and determining the entry time of the message entering the DS-TT of the transmitting end includes: Putting the message into a second local buffer; An entry time of the message entering the DS-TT of the sending end is determined according to the cached entry timestamp of the message.

8. The deterministic transmission method according to claim 7, characterized in that: When the difference between the local time and the entry time of the message is greater than or equal to the second shaping duration, sending the message downlink includes: Determining the sending time of each of the messages in the second local cache area; When the difference between the local time and the entry time of the message is greater than or equal to the second shaping duration, setting the message as the second message to be sent; When the downlink sending window of the DS-TT of the receiving end is reached, the second message to be sent is sent to the receiving end device corresponding to the DS-TT of the receiving end.

9. A method for deterministic transmission of a message, applied to a base station, characterized in that: The deterministic transmission method comprises: Receive uplink time-sensitive communication auxiliary information and downlink time-sensitive communication auxiliary information sent by a session management function SMF network element, wherein the difference between the burst arrival time of the uplink time-sensitive communication auxiliary information and the burst arrival time of the downlink time-sensitive communication auxiliary information is a preset fixed duration, and the preset fixed duration is determined according to the delay of the device-side time-sensitive network converter DS-TT sending a message to the network-side time-sensitive network converter NW-TT through the uplink air interface and the processing duration of the NW-TT processing the message; When receiving a first message sent uplink by the DS-TT of the transmitting end, forwarding the first message to the NW-TT for processing according to the uplink time-sensitive communication auxiliary information; When receiving the second message obtained after the NW-TT processes, the second message is forwarded to the DS-TT of the receiving end according to the downlink time-sensitive communication auxiliary information.

10. The deterministic transmission method according to claim 9, characterized in that: The uplink time-sensitive communication auxiliary information is generated by the SMF network element according to the auxiliary data sent by the centralized network configuration CNC network element, and the downlink time-sensitive communication auxiliary information is generated by the SMF network element according to the uplink time-sensitive communication auxiliary information and the preset fixed duration.

11. The deterministic transmission method according to claim 10, characterized in that: The preset fixed duration is the total duration of the delay upper limit value of the DS-TT at the sending end sending the message to the NW-TT through the uplink air interface and the processing duration of the NW-TT processing the message.

12. The deterministic transmission method according to claim 9, characterized in that: The receiving of uplink time-sensitive communication auxiliary information and downlink time-sensitive communication auxiliary information sent by the session management function SMF network element includes: Receiving the uplink time-sensitive communication auxiliary information and the downlink time-sensitive communication auxiliary information sent by the access and mobility management function AMF network element through the N2 interface; Among them, the SMF network element sends the uplink time-sensitive communication auxiliary information and the downlink time-sensitive communication auxiliary information to the AMF network element through the N11 interface, and the N2 interface is the communication interface between the AMF network element and the 5G wireless access network of the base station.

13. A transmission device, characterized in that: It includes at least one processor and a memory for communicating with the at least one processor; the memory stores instructions that can be executed by the at least one processor, and the instructions are executed by the at least one processor to enable the at least one processor to execute the deterministic transmission method as described in any one of claims 1 to 5, or execute the deterministic transmission method as described in any one of claims 6 to 8, or execute the deterministic transmission method as described in claims 9 to 12.

14. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer-executable instructions, and the computer-executable instructions are used to enable a computer to execute the deterministic transmission method according to any one of claims 1 to 12.

Citation Information

Patent Citations

  • Communication method and device

    CN113677005A

  • Network bridge end-to-end deterministic forwarding method, network bridge sending end and network bridge receiving end

    CN116260772A