5GC-TSN fusion system and method

By setting up TSN converters in the 5G core network and UPF network elements, time synchronization and business flow scheduling between 5G and TSN are realized, which solves the communication delay and reliability problems in the industrial Internet and ensures differentiated guarantee of service quality.

CN118612798AInactive Publication Date: 2024-09-06E SURFING IOT CO LTD

Patent Information

Application Number
CN202411083930.8
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-08
Publication Date
2024-09-06
Estimated Expiration
Not applicable · inactive patent

Smart Images

  • Figure CN118612798A
    Figure CN118612798A
Patent Text Reader

Abstract

The invention discloses a 5GC-TSN fusion system and method, and the method comprises the steps: enabling an equipment side TSN converter to be disposed in a 5G gateway, and enabling the equipment side TSN converter to be connected with user equipment; a network side TSN converter is arranged in a UPF network element, the network side TSN converter is connected with a TSN system, and the network side TSN converter is connected with an equipment side TSN converter through a 5G base station; in the method, a 5G network and a TSN system are controlled to perform time synchronization; obtaining configuration service scheduling starting time and a service flow identification parameter, and binding the service flow identification parameter with the network card interface queue; and scheduling the service flow to be processed according to the configured queue scheduling control chain table, the service scheduling starting time, the service flow identification parameter and the network card interface queue. By implementing the technical scheme of the invention, fusion and time synchronization of 5G and TSN are realized, and accurate time delay scheduling can be carried out for service flows with different priorities.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of communication technologies, and more specifically to a 5GC-TSN fusion system and method. Background Art

[0002] The industrial Internet platform can realize the network interconnection of all elements of people, machines and objects, and closely connect and integrate equipment, production lines, factories, suppliers, products and customers. 5G is the key enabling technology of the industrial Internet. 5GC refers to the 5G core network. TSN (Time-Sensitive Networking) is one of the important technologies for industrial Internet to achieve reliable and deterministic transmission. The implementation of 5GC and TSN in the industrial Internet is an important foundation for future wireless communication and high-scalability manufacturing. When forwarding data, TSN can perform queue scheduling for business data of different priorities in the industrial Internet to achieve differentiated service guarantees. How to achieve the integration of 5GC and TSN to ensure low latency, high reliability and low jitter in industrial Internet communications is an urgent problem to be solved.

[0003] In view of this, it is necessary to provide a 5GC-TSN fusion system and method that can not only realize the fusion of 5GC and TSN, but also realize precise delay scheduling, so as to solve the above-mentioned defects. Summary of the invention

[0004] The purpose of the present invention is to provide a 5GC-TSN fusion system to solve the above-mentioned defects.

[0005] Another object of the present invention is to provide a 5GC-TSN fusion method to solve the above-mentioned defects.

[0006] In order to achieve the above-mentioned purpose, on the one hand, the present invention provides a 5GC-TSN fusion system, which includes: user equipment, a fusion network and a TSN system, wherein the fusion network includes a 5G core network and a TSN unit, the 5G core network includes a 5G gateway, a UPF network element and a 5G base station, and the TSN unit includes: a device-side TSN converter, which is arranged in the 5G gateway, and the device-side TSN converter is connected to the user equipment; a network-side TSN converter, which is arranged in the UPF network element, and the network-side TSN converter is connected to the TSN system and connected to the device-side TSN converter through the 5G base station; TSN AF, the TSN AF manages the network-side TSN converter and connects to the TSN system, wherein the network-side TSN converter adopts a dual-send and selective-receive mechanism to receive the uplink GTPU message sent by the 5G base station, and unpacks and deduplicates the uplink GTPU message to obtain uplink data, and sends the uplink data to the DN service, wherein the uplink GTPU message is a message obtained by the 5G gateway copying and marking the uplink message reported by the user equipment and encapsulating it through the 5G base station; and / or receives downlink data sent by the application server, and copies and encapsulates the downlink data according to the mac address of the user equipment to obtain the downlink GTPU message, and sends the downlink GTPU message to the base station.

[0007] A further technical solution is that the network-side TSN converter is configured with a service scheduling start time and service flow identification parameters to perform service flow scheduling.

[0008] In order to achieve the above-mentioned purpose, on another aspect, the present invention also provides a 5GC-TSN fusion method, which includes: if a power-on completion instruction is detected, controlling the 5G network and the TSN system to perform time synchronization; obtaining the configuration service scheduling start time and service flow identification parameters, and binding the service flow identification parameters to the network card interface queue; if a pending service flow is received, scheduling the pending service flow according to the configured queue scheduling control linked list, the service scheduling start time, the service flow identification parameters and the network card interface queue.

[0009] Its further technical solution is: controlling the user equipment, the 5G base station and the UPF network element to perform time synchronization; controlling the TSN system and the UPF network element to perform time synchronization to achieve time synchronization between the 5G network and the TSN system.

[0010] Its further technical solution is: using the 5G base station as the master clock and the UPF network element as the slave clock for time synchronization; using the 5G base station as the master clock and the user equipment as the slave clock for time synchronization, so as to achieve time synchronization among the user equipment, the 5G base station and the UPF network element.

[0011] Its further technical solution is: use the TSN system as the master clock and the UPF network element as the slave clock for time synchronization; or calculate the Sync message sending time when the TSN system is the master clock, and convert it into the original timestamp field of the Sync message; the UPF network element as the slave clock encapsulates the Sync message, and sends the encapsulated message to the user equipment for time adjustment, so as to achieve time synchronization between the 5G network and the TSN system.

[0012] Its further technical solution is: identifying whether the pending business flow is a TSN critical flow according to the TA time; if the pending business flow is the TSN critical flow, filling the pending business flow into the TSN queue; if the pending business flow is not the TSN critical flow, filling the pending business flow into the non-TSN queue; based on the business scheduling start time, scheduling the pending business flows in the TSN queue and the non-TSN queue according to the queue scheduling control linked list.

[0013] A further technical solution is: if the service flow to be processed is the TSN key flow, the service flow to be processed is filled into the TSN queue according to the priority order of the TSN queue.

[0014] Its further technical solution is: if the queue switch state corresponding to the TSN queue is in the open state, the pending business flow in the TSN queue is scheduled according to the state duration corresponding to the TSN queue; if the queue switch state corresponding to the non-TSN queue is in the open state, the pending business flow in the non-TSN queue is scheduled according to the queue number and the state duration corresponding to the non-TSN queue.

[0015] The embodiment of the present invention provides a 5GC-TSN fusion system and method, wherein, in the fusion system, by setting the device-side TSN converter in the 5G gateway and connecting the device-side TSN converter to the user equipment, and setting the network-side TSN converter in the UPF network element, connecting the network-side TSN converter to the TSN system, and connecting to the device-side TSN converter through the 5G base station, the fusion of 5G and TSN can be achieved; in the fusion method, the 5G network and the TSN system are controlled to perform time synchronization; the configuration service scheduling start time and service flow identification parameters are obtained, and the service flow identification parameters are bound to the network card interface queue; the service flow to be processed is scheduled according to the configured queue scheduling control list, service scheduling start time, service flow identification parameters and network card interface queue, which not only realizes the time synchronization between 5G and TSN and ensures the stable transmission of the service flow, but also can perform accurate delay scheduling for service flows of different priorities, thereby achieving differentiated service quality assurance.

[0016] The present invention will become more apparent from the following description taken in conjunction with the accompanying drawings, which are used to illustrate embodiments of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0017] Figure 1 It is a structural block diagram of a 5GC-TSN fusion system of the present invention; Figure 2 This is an application scenario diagram of a 5GC-TSN fusion system of the present invention; Figure 3 It is a schematic diagram of the process of uplink and downlink services of NW-TT in the 5GC-TSN fusion system of the present invention; Figure 4 A schematic diagram of a 5GC-TSN fusion method of the present invention; Figure 5 is a schematic diagram of a custom node of the present invention; Figure 6 The flowchart is a flow chart of the business flow scheduling execution of the present invention. DETAILED DESCRIPTION

[0018] The technical solutions in the embodiments will be described clearly and completely below in conjunction with the drawings in the embodiments of the present invention. Similar component numbers in the drawings represent similar components. Obviously, the embodiments described below are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0019] Reference Figure 1 to Figure 2The 5GC-TSN fusion system provided in the embodiment of the present invention includes user equipment, a fusion network and a TSN system, wherein the fusion network includes a 5G core network and a TSN unit, the 5G core network includes a 5G gateway, a UPF network element and a 5G base station, the TSN unit includes a device-side TSN converter, a network-side TSN converter and a TSN AF, the device-side TSN converter is arranged in the 5G gateway and connected to the user equipment; the network-side TSN converter is arranged in the UPF network element and connected to the TSN system, and is connected to the device-side TSN converter through the 5G base station; the TSN AF manages the network-side TSN converter and is connected to the TSN system. It should be noted that in this embodiment, if Figure 2 As shown, the 5G core network also includes UDM, AMF, SMF and PCF, among which SMF (Session Management Function) is one of the key network elements of the 5G core network; AMF is the Access and Mobility Management Function, which interacts with the access network through the N2 interface, interacts with the UE (user equipment) through the N1 interface, and interacts with all other network functions through the service-based interface; PCF is the Policy Control Function, which is the core part of the 5G core network policy control architecture; TSN AF refers to the Application Function entity in the Time Sensitive Network (TSN), in the scenario where the 5G system is integrated with the TSN, that is, in the 5GC-TSN integrated system in this embodiment, TSN AF is used to manage the bridge management information parameters at the TSN converter on the network side; and UPF (User Plane Function) is an important network element in the 5G core network. It should also be noted that, in this embodiment, for the convenience of understanding and description, the device-side TSN converter is called DS-TT, the network-side TSN converter is called NW-TT, the 5G base station is called gNB, and the user equipment is UE. It can be understood that this embodiment realizes the integration of 5G and TSN.

[0020] In certain embodiments, such as the present embodiment, the network-side TSN converter adopts a dual-send selective reception mechanism to receive the uplink GTPU message sent by the 5G base station, and decapsulates and deduplicates the uplink GTPU message to obtain uplink data, and sends the uplink data to the DN service, wherein the uplink GTPU message is a message obtained by the 5G gateway copying and marking the uplink message reported by the user device, and encapsulating it through the 5G base station; and / or receiving downlink data sent by the application server, and copying and encapsulating the downlink data according to the mac address of the user device to obtain a downlink GTPU message, and sending the downlink GTPU message to the base station. It should be noted that in the present embodiment, NW-TT adopts a dual-send selective reception mechanism based on the IEEE 802.1CB protocol, and the IEEE 802.1CB protocol defines a frame replication and elimination (FRER) method for achieving reliability. Specifically, as Figure 3 As shown in the figure, the workflow of NW-TT's uplink and downlink services is described: Step 101: After successfully establishing a Layer 2 session, the terminal device (user device) sends an uplink message, wherein the uplink message includes smac, dmac and data, wherein data is a data bearer, smac is a mac address of the sender, and dmac is a mac address of the destination. It should be noted that the terminal device is a user device; Step 102: After receiving the uplink message, the CPE copies the uplink message and adds an R-tag to the Ethernet header of the uplink message. The two messages have the same sequence value and are sent out from the two modules of the CPE respectively. The CPE is a 5G gateway. Step 103: RAN receives the message transmitted from the air interface (CPE to RAN), encapsulates the GTP header to obtain the uplink GTPU message, and sends the uplink GTPU message to UPF. RAN is the base station, that is, gNB; Step 104: UPF receives the uplink GTPU message, removes the GTP header in the uplink GTPU message, deduplicates the R-tag and removes the R-tag field to obtain the uplink data, and sends the uplink data to the DN service; Step 105: DN sends downlink data, where the downlink data includes smac, dmac and data; Step 106: UPF finds two Ethernet sessions according to dmac, copies the downlink data, adds R-tag and encapsulates the GTP header to obtain a downlink GTPU message, and sends the downlink GTPU message to RAN; Step 107: RAN decapsulates the downlink GTPU message and forwards it to the CPE side from the air interface; Step 108: The CPE removes duplication and R-tag marks from the decapsulated downlink GTPU message to obtain a downlink message, and forwards the downlink message to the terminal.

[0021] It should be noted that in this embodiment, the network-side TSN converter is configured with service scheduling start time and service flow identification parameters to perform service flow scheduling, and the specific configuration of NW-TT and the implementation of service flow scheduling will be introduced in detail in the 5GC-TSN fusion method. For the sake of simplicity, it will not be repeated.

[0022] Reference Figure 4 , Figure 4 The flowchart of an embodiment of a 5GC-TSN fusion method of the present invention is shown. The 5GC-TSN fusion method is applied to the network-side TSN converter in the 5GC-TSN fusion system. The specific implementation steps of the 5GC-TSN fusion method of the present invention are further described in detail below. Figure 4 As shown, the method includes steps S110-S130: S110: If a power-on completion instruction is detected, the 5G network is controlled to perform time synchronization with the TSN system.

[0023] In an embodiment of the present invention, the 5G network includes a user device, a 5G base station and a UPF network element. When a power-on completion instruction is detected, that is, after detecting that the NW-TT is powered on, the 5G network is controlled to perform time synchronization with the TSN system. Specifically, the user device, the 5G base station and the UPF network element are controlled to perform time synchronization; the TSN system and the UPF network element are controlled to perform time synchronization to achieve time synchronization between the 5G network and the TSN system. More specifically, the control of the user device, the 5G base station and the UPF network element to perform time synchronization includes: using the 5G base station as the master clock and the UPF network element as the slave clock for time synchronization; using the 5G base station as the master clock and the user device as the slave clock for time synchronization to achieve time synchronization between the user device, the 5G base station and the UPF network element. The controlling of the TSN system and the UPF network element for time synchronization to achieve time synchronization between the 5G network and the TSN system includes: taking the TSN system as the master clock and the UPF network element as the slave clock for time synchronization; or calculating the Sync message sending time when the TSN system is the master clock, and converting it into the original timestamp field of the Sync message; the UPF network element as the slave clock encapsulates the Sync message, and sends the encapsulated message to the user equipment for time adjustment to achieve time synchronization between the 5G network and the TSN system.

[0024] For ease of understanding, the specific steps for high-precision time synchronization between the 5G network and the TSN system are described as follows: Step 201: The 5G network uses the 1588 protocol for time synchronization. The gNB is connected to the UPF network element through the logical N3 port. The gNB uses the two-step mode as the Master Clock (master clock) to send Sync messages and Follow-Up messages respectively. The NW-TT in the UPF (slave clock) records the corresponding t1 timestamp and t2 timestamp respectively. The NW-TT sends Delay_Req and records the sending timestamp t3. Subsequently, the gNB sends Delay_Resp accordingly, and the NW-TT records the corresponding timestamp t4. At this point, the NW-TT has four timestamps t1 to t4. The total round-trip delay between the master clock and the slave clock can be calculated as [(t2–t1) + (t4–t3)]. Since the network is symmetrical, the one-way delay between the master clock and the slave clock is [(t2–t1) + (t4–t3)] / 2. Therefore, the clock deviation of the slave clock relative to the master clock is: Offset = (t2–t1) - [(t2–t1) + (t4–t3)] / 2 = [(t2–t1) - (t4–t3) ] / 2; Step 202: After the UE completes the air interface registration process, the gNB in ​​the 5G network is used as the MSater Clock and the UE is used as the slave clock. Time synchronization is performed through the 1588 protocol to achieve time synchronization among the UE, NW-TT and gNB, that is, time synchronization among the UE, UPF and gNB. Step 203: The UE initiates the establishment of an Ethernet layer 2 session to set up a data packet transmission channel for subsequent steps; Step 204: SMF and UPF network elements exchange terminal session tunnel related information through N4 port; Step 205: The TSN system is used as the Master Clock (master clock), and the NW-TT in the UPF network element is used as the Slave Master (slave clock) to run the two-step mode. The NW-TT sends a Pdelay_Req message to the master clock to initiate the calculation of the reverse transmission delay and record the sending time t3. After the TSN master clock receives the message, it records the receiving time t4. After the TSN system receives the Pdelay_Req message, it replies with a Pdelay_Resp message carrying t4 and records the sending time t5; after receiving the message, the NW-TT records the receiving time t6. After the master clock replies to the Pdelay_Resp message, it immediately sends a Pdelay_Resp_Follow_Up message carrying t5. At this point, NW-TT has six timestamps from t3 to t6, from which the total round-trip delay between TSN and NW-TT can be calculated as [(t4–t3) + (t6–t5)]. Since the network is symmetrical, the one-way delay between TSN and NW-TT is [(t4–t3) + (t6–t5)] / 2. Step 206: When the TSN system as the Master Clock sends a Sync message to the NW-TT Slave Master Clock, the NW-TT records a timestamp Tsi (Input timestamping, entering the system timestamp) for each Sync message; It should be noted that, in this embodiment, the time synchronization of the TSN system and the UPF network element implemented in step 105 and step 106 can also be implemented by the following steps 107 and step 108, and the one-step method is implemented in step 107 and step 108, while the two-step method is implemented in step 105 and step 106. The one-step method makes up for the traditional hardware capabilities; Step 207: The Tsi timestamp of step 106 is based on the 5G network time synchronized in step 102. In order to achieve time synchronization between the 5G network and the TSN system, it is necessary to combine the link delay between the NW-TT and the TSN master clock calculated in step 105 to calculate: the Tsi timestamp plus the link delay between the NW-TT and the TSN master clock is the Sync sending time of the TSN master clock, which is converted into the original timestamp field of the Sync message inside the NW-TT, where the original timestamp field is the originTimestamp field; Step 208: The UPF network element encapsulates the gPTP message modified in step 107 in the Layer 2 GTPU tunnel and sends it to the UE. The UE adjusts according to the timestamp carried by the originTimestamp of the received Sync message. Ultimately, high-precision time synchronization between the 5G network and the TSN system can be achieved, providing an accurate clock reference for the differentiated service scheduling provided in this example.

[0025] S120: Obtain the configuration service scheduling start time and service flow identification parameters, and bind the service flow identification parameters to the network card interface queue.

[0026] S130: If a service flow to be processed is received, the service flow to be processed is scheduled according to the configured queue scheduling control linked list, the service scheduling start time, the service flow identification parameter and the network card interface queue.

[0027] In the embodiment of the present invention, NW-TT proposes to implement queue scheduling of service flows of different priorities in combination with TA (Timeing Advance) based on the IEEE 802.1Qbv standard protocol. For ease of understanding, the following is divided into configuration and scheduling execution processes for explanation: The configuration process is as follows: Step 301: After NW-TT is powered on, the 5G network and the TSN system are synchronized with high precision time; Step 302: configure the NW-TT service scheduling start time, the format is divided into a combination of seconds and nanoseconds fields; Step 303: different service flow identification parameters are configured, which are used for the subsequent NW-TT to identify different service flows to achieve accurate differentiated service scheduling capabilities, wherein the service flow identification parameters include source MAC address, destination MAC address, VLAN ID, source IP address, destination IP address, etc., and in this embodiment, TA time can be configured for different service flows to prevent data packets from entering the queue due to insufficient network card scheduling capabilities, that is, the service flow identification parameters also include TA time; Step 304: configure the service flow identification parameters and bind them to the network card interface queue; Step 305: Configure the queue scheduling control linked list, define the node according to the number of queues, and complete the node's specified action based on the three attributes of queue number, queue switch state, and state duration. For ease of understanding, in this embodiment, 4 queues will be used, and the custom node diagram is as follows: Figure 5 As shown, in Figure 5 In the table, Gate state indicates the queue switch state. When Gate state is 0, it means closed, that is, the messages in the queue are not allowed to be sent; when a bit is 1, it means open, that is, the messages in the queue are allowed to be sent; and Interval is the state duration.

[0028] The scheduling execution process is to schedule the pending business flow according to the configured queue scheduling control linked list, the business scheduling start time, the business flow identification parameters and the network card interface queue. Specifically, identify whether the pending business flow is a TSN critical flow according to the TA time; if the pending business flow is the TSN critical flow, fill the pending business flow into the TSN queue; if the pending business flow is not the TSN critical flow, fill the pending business flow into the non-TSN queue; based on the business scheduling start time, schedule the pending business flows in the TSN queue and the non-TSN queue according to the queue scheduling control linked list. If the pending business flow is the TSN critical flow, fill the pending business flow into the TSN queue, including: if the pending business flow is the TSN critical flow, fill the pending business flow into the TSN queue according to the priority order of the TSN queue. The queue scheduling control linked list includes the queue numbers of the TSN queue and the non-TSN queue, the queue switch states corresponding to the queue numbers, and the state duration. The scheduling of the pending service flows in the TSN queue and the non-TSN queue according to the queue scheduling control linked list includes: if the queue switch state corresponding to the TSN queue is in the open state, the pending service flow in the TSN queue is scheduled according to the state duration corresponding to the TSN queue; if the queue switch state corresponding to the non-TSN queue is in the open state, the pending service flow in the non-TSN queue is scheduled according to the queue number and the state duration corresponding to the non-TSN queue. It can be understood that if the queue switch state corresponding to the TSN queue is in the closed state, the pending service flow in the TSN queue is not scheduled; if the queue switch state corresponding to the non-TSN queue is in the closed state, the pending service flow in the non-TSN queue is not scheduled. It should be noted that, in this embodiment, if the service flow to be processed is not the TSN key flow, the service flow to be processed is randomly filled into the non-TSN queue.

[0029] like Figure 6 As shown in the figure, the specific process of scheduling execution is as follows: Step 401: The UE user determines which service flows belong to TSN key flows, and then configures a record for identifying the flow in UPF / NW-TT according to the characteristics of the key flow. After identifying whether the service flow belongs to TSN key flow, NW-TT binds the service flow to the priority queue based on the pre-configured TA time of the service flow. In this embodiment, queue 0, queue 1, queue 2 and queue 3 are taken as examples, and the priority order is as follows: queue 0> queue 1> queue 2> queue 3; Step 402: When the N6 interface of the UPF receives the service flow, the NW-TT fails to identify the service flow as a TSN key flow according to the configuration, and places the service flow in a non-TSN queue; Step 403: When the N6 interface of the UPF receives the service flow, the NW-TT can identify the service flow as a TSN key flow according to the configuration. The NW-TT fills the service flow into a TSN queue with a higher priority, such as queue 0, according to the TA time. Queue 0 carries the transmission of this service. Step 404: The network card periodically sends the service flows of the four queues from the service scheduling start time. During the T0 time of each cycle, the gate of queue 0 is opened, and the gates of other queues are closed. The network card only sends the service flows in queue 0. Step 405: During the T1 period of this cycle, stop sending the service flow in queue 0, open the gates of the other three queues (queue 1, queue 2, and queue 3), and the network card sends the service flow that is not recognized or does not require deterministic scheduling; Step 406: Occupy network card resources within a cycle and send service data packets.

[0030] To summarize, in the embodiment of the present invention, the network-side TSN converter is integrated into the 5GC architecture as a functional module of the UPF network element, realizing how to use the precise time synchronization, service differentiated scheduling, high-reliability redundancy mechanism and other technologies of the 5G time-sensitive network (TSN) to solve the three major categories of deterministic periodic communication, deterministic non-periodic communication, and hybrid mode in the industrial Internet. The requirements for instruction delay, jitter, and high-reliability communication. In this embodiment, the NW-TT converter supports the clock domain synchronization of the 5G network and TSN; NW-TT follows the IEEE802.1Qbv standard, proposes the TA time quantity of differentiated services to be configured in advance, and implements the scheduling of the interface forwarding queue and the forwarding of the message according to the service flow identification parameters and the queue scheduling control list, so that the TSN key flow enters the TSN queue, and the non-TSN key flow enters the non-TSN queue, and then flexibly and periodically schedules the TSN queue and the non-TSN queue to achieve zero congestion packet loss when forwarding these service flows, so that the TSN key flow is controlled at the microsecond level when forwarding through the TSN; the IEEE 802.1CB protocol of the NW-TT converter defines the frame replication and elimination for reliability, prevents network service interruption and data loss caused by abnormalities such as network failures and packet loss, and improves the reliability of data communication. Therefore, in this embodiment, not only the integration and time synchronization of 5G and TSN are realized, and the stable transmission of service flows is guaranteed, but also accurate delay scheduling can be performed for service flows of different priorities, thereby achieving differentiated service quality assurance.

[0031] The present invention has been described above in conjunction with the best embodiments, but the present invention is not limited to the embodiments disclosed above, but should cover various modifications and equivalent combinations based on the essence of the present invention.

Claims

1. A 5GC-TSN fusion system, characterized in that: The 5GC-TSN fusion system includes user equipment, a fusion network and a TSN system, wherein the fusion network includes a 5G core network and a TSN unit, the 5G core network includes a 5G gateway, a UPF network element and a 5G base station, and the TSN unit includes: A device-side TSN converter, which is arranged in the 5G gateway, and the device-side TSN converter is connected to the user equipment; A network-side TSN converter, which is arranged in the UPF network element, the network-side TSN converter is connected to the TSN system, and is connected to the device-side TSN converter through the 5G base station; TSN AF, the TSN AF manages the network-side TSN converter and is connected to the TSN system; Among them, the network-side TSN converter adopts a dual-send and selective-receive mechanism to receive the uplink GTPU message sent by the 5G base station, and unpacks and deduplicates the uplink GTPU message to obtain uplink data, and sends the uplink data to the DN service, wherein the uplink GTPU message is a message after the 5G gateway copies and marks the uplink message reported by the user equipment and encapsulates it by the 5G base station; and / or receives the downlink data sent by the application server, and copies and encapsulates the downlink data according to the mac address of the user equipment to obtain a downlink GTPU message, and sends the downlink GTPU message to the base station.

2. The 5GC-TSN fusion system according to claim 1, characterized in that: The network-side TSN converter is configured with a service scheduling start time and service flow identification parameters to perform service flow scheduling.

3. A 5GC-TSN fusion method, applied to a network-side TSN converter in a 5GC-TSN fusion system, characterized in that: include: If the power-on completion command is detected, the 5G network is controlled to synchronize time with the TSN system; Obtaining the configuration service scheduling start time and service flow identification parameters, and binding the service flow identification parameters to the network card interface queue; If a service flow to be processed is received, the service flow to be processed is scheduled according to the configured queue scheduling control linked list, the service scheduling start time, the service flow identification parameter and the network card interface queue.

4. The 5GC-TSN fusion method according to claim 3, characterized in that: The 5G network includes user equipment, a 5G base station and a UPF network element, and the controlling of the 5G network to perform time synchronization with the TSN system includes: Controlling the user equipment, the 5G base station and the UPF network element to perform time synchronization; Control the TSN system and the UPF network element to perform time synchronization to achieve time synchronization between the 5G network and the TSN system.

5. The 5GC-TSN fusion method according to claim 4, characterized in that: The controlling the user equipment, the 5G base station, and the UPF network element to perform time synchronization includes: The 5G base station is used as the master clock and the UPF network element is used as the slave clock for time synchronization; The 5G base station is used as the master clock and the user equipment is used as the slave clock for time synchronization to achieve time synchronization among the user equipment, the 5G base station and the UPF network element.

6. The 5GC-TSN fusion method according to claim 4, characterized in that: The controlling the TSN system to perform time synchronization with the UPF network element to achieve time synchronization between the 5G network and the TSN system includes: The TSN system is used as the master clock and the UPF network element is used as the slave clock for time synchronization; or the Sync message sending time when the TSN system is used as the master clock is calculated and converted into the original timestamp field of the Sync message; The UPF network element serving as the slave clock encapsulates the Sync message and sends the encapsulated message to the user equipment for time adjustment to achieve time synchronization between the 5G network and the TSN system.

7. The 5GC-TSN fusion method according to claim 3, characterized in that: The service flow identification parameter includes a TA time amount, the network card interface queue includes a TSN queue and a non-TSN queue, and the scheduling of the service flow to be processed according to the configured queue scheduling control linked list, the service scheduling start time, the service flow identification parameter and the network card interface queue includes: Identify whether the service flow to be processed is a TSN key flow according to the TA time amount; If the service flow to be processed is the TSN key flow, filling the service flow to be processed into the TSN queue; If the service flow to be processed is not the TSN key flow, filling the service flow to be processed into the non-TSN queue; Based on the service scheduling start time, the to-be-processed service flows in the TSN queue and the non-TSN queue are scheduled according to the queue scheduling control linked list.

8. The 5GC-TSN fusion method according to claim 7, characterized in that: If the service flow to be processed is the TSN key flow, filling the service flow to be processed into the TSN queue includes: If the service flow to be processed is the TSN key flow, the service flow to be processed is filled into the TSN queue according to the priority order of the TSN queue.

9. The 5GC-TSN fusion method according to claim 7, characterized in that: The queue scheduling control linked list includes queue numbers of the TSN queue and the non-TSN queue, queue switch states corresponding to the queue numbers, and state durations, and scheduling the to-be-processed service flows in the TSN queue and the non-TSN queue according to the queue scheduling control linked list includes: If the queue switch state corresponding to the TSN queue is in an open state, scheduling the to-be-processed service flow in the TSN queue according to the state duration corresponding to the TSN queue; If the queue switch state corresponding to the non-TSN queue is in the open state, the to-be-processed service flow in the non-TSN queue is scheduled according to the queue number and the state duration corresponding to the non-TSN queue.

Citation Information

Patent Citations

  • Message transmission method and device

    CN115209398A

  • Time synchronization method and device, computer equipment and storage medium

    CN116782365A

  • UPF network element TSN key data flow grouping optimization processing method and device

    CN118354333A

Cited By

  • Data processing method and device based on terminal side TSN converter, equipment and medium

    CN119316371A

  • Data processing method, device, equipment and medium based on terminal-side TSN converter

    CN119316371B