Deterministic UPF implementation method and system based on CUNOS

Through the universal operating system of white box devices based on CUNOS, we build offload UPF and local UPF that support deterministic data processing, solving the problems of high cost and inability to upgrade equipment in the existing technology, and realizing deterministic data transmission in fully connected factories. Reduces investment risks and promotes the development of 5G deterministic technology.

CN118488104BActive Publication Date: 2024-10-18CHONGQING DIGITAL INTELLIGENCE FUSION INNOVATION TECH CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202410392592.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-04-02
Publication Date
2024-10-18
Estimated Expiration
2044-04-02

AI Technical Summary

Technical Problem

The existing 3GPP R16, R17, and R18 TSN evolution solutions have problems such as high cost and high investment risk in operator deployment. UPF equipment is a black box closed architecture and cannot support deterministic technology upgrades. It cannot meet the requirements of fully connected factories, etc. Deterministic data transmission requirements for local application scenarios.

Method used

Adopt a common operating system for white box devices based on CUNOS to build a shunt UPF and a local UPF that support deterministic data processing. Through shunting and transfer, it is connected to the local deterministic industrial network to achieve a deterministic data transmission network that integrates wired and wireless. Programmable FPGA and ASIC hardware are used to implement deterministic data processing, support protocols such as time synchronization and frame preemption, and dynamically arrange pipeline resources to maximize utilization.

Benefits of technology

It realizes deterministic wireless data communication services in typical areas such as fully connected factories, reduces the deterministic upgrade costs and investment risks of 5G networks, meets the deterministic data transmission needs of local areas, and promotes the rapid development and development of 5G deterministic technology. Market cultivation.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118488104B_ABST
    Figure CN118488104B_ABST
Patent Text Reader

Abstract

The present invention belongs to the field of deterministic transmission technology, and specifically discloses a method and system for implementing deterministic UPF based on CUNOS, the method comprising the following steps: establishing an anchor UPF and a shunt UPF, the shunt UPF activates the shunt when a terminal that has signed a local ordinary service and a deterministic service initiates a session request, the SMF inserts the shunt into the user session, and for uplink traffic, distinguishes and forwards Internet service messages that need to be sent to the main anchor UPF and local deterministic or ordinary messages of the local anchor UPF; for downlink traffic, aggregates messages from the anchor UPF and forwards them to the base station through the N3 interface. By adopting this technical solution, a shunt UPF and a local UPF that support deterministic data processing are constructed to realize deterministic wireless data communication services in typical areas such as fully connected factories.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of deterministic transmission equipment, and relates to a method and system for realizing a deterministic UPF (User Plane Function, user plane network element) based on CUNOS (Cloud Network Integration System, universal operating system for white box devices). Background Art

[0002] Deterministic transmission is widely used in scenarios such as intelligent manufacturing. Its characteristic is that data packets arrive precisely at the set time, which requires key technical support such as high-precision time synchronization, precise forwarding scheduling, and redundant transmission. At present, three major standard system organizations are formulating corresponding deterministic standards, namely TSN (Time Sensitive Networking) formulated by IEEE (Institute of Electrical and Electronics Engineers), DetNet (Deterministic network) formulated by IETF (The Internet Engineering Task Force), and TSC (time sensitive communication) formulated by 3GPP (3rd Generation Partnership Project). Among them, TSN has obvious advantages in terms of standards and industrial scale, and is also the inevitable direction of evolution supported by fieldbus and industrial Ethernet, which are widely used in existing industrial manufacturing scenarios. Therefore, it is the preferred network integration object for 5G applications in industrial manufacturing scenarios.

[0003] 3GPP has gradually provided deterministic support for 5G since version R16. The 5G and TSN network integration solution of the R16 version connects 5G to the TSN network. Based on URLLC (Ultra Reliable Low Latency Communications) technology, it further reduces latency and jitter, improves reliability, and meets deterministic applications in industrial manufacturing scenarios on a larger scale. In the R17 version, 5G itself supports TSC and can independently provide deterministic services without the need to integrate with the TSN network, making deployment easier and more flexible. In the R18 version, 5G integrates DetNet technology, which can interconnect with the industrial Internet distributed in various places and complete large-scale industrial chain collaboration.

[0004] UPF is the only network element in 5GC (5G Core) that processes user data plane data. It is connected to gNB (next Generation Node B) through N3 interface, to SMF (Session Management Function) network element through N4 interface, to the Internet through N6 interface, and to other UPFs through N9 interface. UPF serves as the connection anchor between 5G network and public service Internet and local industrial network of fully connected factories. Core network data is forwarded to the Internet and local network, as well as MEC (Multi-access Edge Computin) through UPF.

[0005] Based on the C / U separation architecture of 5GC, the control plane NF (Network Functions) is centrally deployed in the DC (Data Center), and the UPF is deployed at the edge of the network. This can reduce transmission latency, achieve local diversion of data traffic, and alleviate the data transmission pressure of the core network, thereby improving network data processing efficiency and meeting the application scenarios of vertical industries in terms of ultra-low latency, ultra-high bandwidth and security.

[0006] However, the existing 3GPP R16, R17, and R18 TSN evolution solutions still have the following problems in operator deployment:

[0007] 1) Ethernet is gradually phasing out switching technology. Ethernet's "best effort" has been proven to be the most efficient technology for utilizing network equipment, which can greatly reduce network costs. The vast majority of 5G network scenarios are Internet services, which do not require deterministic transmission. Most of the demand for deterministic transmission is concentrated in relatively independent local areas such as industrial production. The deterministic upgrade of the entire 5G network will result in large initial investment but low utilization rate, which poses a great risk to operators.

[0008] 2) Deterministic technology is developing rapidly, and TSN technology is also in constant improvement and development. Equipment based on deterministic dedicated chips cannot adapt to the continuous evolution of technology after being deployed in large quantities at the current stage of technological change, and the investment risk is relatively high. However, if determinism is not deployed and the technology is mature, it will not be possible to promote the deterministic development of 5G networks, meet the urgent needs of fully connected factories for deterministic data transmission, and cultivate the market.

[0009] 3) UPF is a key device for solving local application scenarios such as fully connected factories. However, most of the existing UPFs are black-box closed architectures, not open white-box architectures. UPF devices cannot support determinism, nor can they upgrade to the rapidly changing 5G deterministic technology. Summary of the invention

[0010] The object of the present invention is to provide a method and system for implementing a deterministic UPF based on CUNOS, so as to realize a deterministic data transmission network integrating wired and wireless.

[0011] In order to achieve the above object, the basic scheme of the present invention is: a deterministic UPF implementation method based on CUNOS, comprising the following steps:

[0012] Based on the CUNOS architecture, establish anchor UPF and diversion UPF;

[0013] The traffic diversion UPF activates the traffic diversion when the terminal that subscribes to the local common service and deterministic service initiates a session request, and the session management function network element SMF inserts the traffic diversion into the user session;

[0014] The offload UPF is connected to the anchor UPF through the N9 interface. For the uplink traffic, after identification according to the offload rules, it distinguishes the Internet service messages that need to be sent to the main anchor UPF and the local deterministic or ordinary messages of the local anchor UPF and forwards them;

[0015] For downlink traffic, the packets from the anchor UPF are aggregated and forwarded to the base station through the N3 interface;

[0016] When the user equipment (UE) activates the protocol data unit (PDU) Internet data session, the main anchor point UPF connects to the Internet through the N6 interface, provides users with Internet access services, and completes billing, monitoring, and service control;

[0017] When the local anchor point UPF activates local diversion, it forwards local ordinary data to the local ordinary network through the N6 interface, forwards local deterministic data to the local industrial deterministic network, and completes billing, monitoring, and business control.

[0018] The working principle and beneficial effects of this basic solution are as follows: This technical solution is based on the universal operating system CUNOS of white box devices, builds a diversion UPF and a local UPF that support deterministic data processing, realizes deterministic wireless data communication services in typical areas such as fully connected factories, and realizes a deterministic data transmission network that integrates wired and wireless by connecting with the local industrial deterministic network and deterministic terminals of the fully connected factory.

[0019] A white box programmable approach is used to implement deterministic support for UPF, the core device that connects 5G and local networks in typical scenarios such as fully connected factories. UPF is connected to the local deterministic industrial network through diversion and switching. This method of implementing deterministic support for local wireless and wired networks through UPF key nodes has the advantages of low investment and short implementation cycle.

[0020] Realize deterministic data transmission in local areas without the need for deterministic upgrades of the entire 5G network, solve users' urgent needs for deterministic data transmission during the period of rapid development and change of 5G deterministic technology, cultivate the 5G deterministic application market, and promote the deterministic evolution of 5G.

[0021] Furthermore, the offload UPF and the local anchor UPF realize deterministic connection and transmission between the offload UPF and the local anchor UPF through the underlying deterministic data processing module and the deterministic N9 port;

[0022] The deterministic master clock is deployed in the offload UPF and sent to the base station through the N3 interface. The base station broadcasts the deterministic clock to achieve accurate clock synchronization between the terminal and the local deterministic network.

[0023] Alternatively, the deterministic master clock is deployed in the base station, and the shunt UPF and the local anchor UPF are used as deterministic slave clocks to synchronize with the base station's master clock to achieve precise clock synchronization.

[0024] In order to simultaneously process ordinary Internet service data and deterministic data in UPF, multi-pipeline fusion and independent module methods are adopted in FPGA (Field Programmable Gate Array). The CUNOS high-level dynamically combines the type of PDU session to dynamically arrange the pipeline and realize the maximum utilization of FPGA resources.

[0025] Furthermore, based on the CUNOS architecture, anchor UPF and diversion UPF are established. The specific methods are as follows:

[0026] The CUNOS architecture controls the signaling connection between UPFs and between UPF and 5GC through the management and control signaling interface. UPF uses the N4 and N9 modules of the application layer of the CUNOS architecture to interact with 5GC and other UPFs.

[0027] UPF modules and communication modules are added to the application layer of the CUNOS architecture to support UPF functions and communication deterministic services;

[0028] The UPF function supports tunneling, coupling N4 / N9 sessions, local offload, forwarding strategy, QoS (Quality of Service) strategy, data packet caching and forwarding functions;

[0029] The communication module implements support for deterministic services through a communication protocol.

[0030] Build offload UPF and local UPF that support deterministic data processing to implement deterministic wireless data communication services in typical areas such as fully connected factories.

[0031] Furthermore, the specific protocols of the communication module include:

[0032] Time synchronization protocol: used to distribute accurate time references between UPF devices and local communication (TSN) master clocks, supporting time synchronization based on 5G broadcast clocks; time synchronization implements the management and configuration of communication TSN clock protocols by extending CUNOS clock synchronization, and the underlying white box hardware implements the time calculation and synchronization functions of the PTP (Precision Time Protocol) protocol of the communication module (such as TSN) through timestamp reception and transmission;

[0033] Scheduled traffic enhancement protocol: Using the time-aware shaper to control the priority of traffic for deterministic delivery, CUNOS completes the time slot management and allocation of the time-aware shaper based on the deterministic PDU (Protocol Data Unit) session parameters, and transmits them to the underlying white box hardware gating list through the communication module. The underlying hardware generates gating parameters based on the gating list to complete the sending of different types of data in the queue at a specific time;

[0034] Flow-by-flow filtering and supervision & round-robin queuing and forwarding protocol: CUNOS implements the high-level flow filtering management strategy of the protocol by providing flow identifiers for sessions based on deterministic PDU session parameters, and passes them to the underlying white box hardware through the communication module. The white box hardware identifies the flow by mapping the flow identifier to the internal priority value of the determined class; the flow filter of the underlying white box hardware directs the traffic to the output queue corresponding to the internal priority value through the flow gate, and detects and blocks specific errors that do not meet the internal priority value requirements;

[0035] Frame preemption protocol: CUNOS marks urgent data packets as "Express" and preemptible data packets as "Preemptable", and passes them to the underlying white box hardware through the communication module. During data transmission processing, the white box hardware suspends the transmission of the "Preemptable" data packet when the "Express" data packet is being transmitted, and resumes the transmission from the interrupted position when the "Express" data packet is transmitted.

[0036] Frame replication and elimination reliability protocol: The communication module uses redundancy mechanisms to avoid downtime. The strategy and routing establishment and management of dynamic replication and static replication are completed in CUNOS. The underlying white box hardware completes the replication of redundant data packets on the sending end, as well as the detection and deletion of redundant data packets on the receiving end.

[0037] The communication module part implements the support of communication services based on the functional modules of open source or commercial communication (such as TSN) software, and completes the communication IEEE 802.1AS-REV time synchronization protocol, 802.1Qbv planned flow enhancement protocol, 802.1Qci flow-by-flow filtering and supervision protocol, 802.1Qch round-robin queuing and forwarding protocol, IEEE 802.3br / IEEE 802.1Qbu802.1Qcc frame preemption protocol, and IEEE 802.1CB frame replication and elimination reliability protocol.

[0038] Furthermore, the UPF white box hardware is a UPF device that supports deterministic data processing. It uses a programmable FPGA to implement deterministic data processing; it uses ASIC to implement the interconnection between modules of the FPGA pipeline, as well as the basic switching and forwarding functions of the UPF.

[0039] The complex business logic in the protocol is implemented by the functional modules in CUNOS based on the CPU, and the high-speed data operation module is implemented by the FPGA and ASIC of the underlying white box hardware. The upper and lower layers interact through the enhanced SAI.

[0040] Furthermore, SAI enhancements are made to the protocol management of the UPF white box hardware and communication modules to support dynamic connection logic during the PDU session between independent modules in the FPGA pipeline and the ASIC rack, as well as the fusion structure of the FPGA pipeline and ASIC;

[0041] The enhanced part is enhanced through the SAI interface library and SAI function to complete the data encapsulation and sending of the SAI request, and realize the delay control of the SAI request to the hardware platform. After the hardware platform receives the SAI request, it is allocated to the corresponding white box hardware part of the FPGA platform and ASIC platform according to the label of the destination platform and the UPF white box hardware, and performs SAI unpacking and secondary encapsulation;

[0042] CUNOS uses the open network operating system ONL as the Base OS (basic OS), and is used with the open network installation environment ONIE to load the upper-level NOS. After starting ONIE, the UPF white box hardware automatically searches the cloud for the latest version of the CUNOS installer image that supports UPF, transfers the image to the white box hardware, and then starts the ONIE installer to load the enhanced CUNOS operating system to the UPF white box hardware, allowing the UPF white box hardware to run the downloaded CUNOS, making the UPF white box hardware a UPF device that supports deterministic data processing.

[0043] Since the underlying hardware is a hardware structure that conforms to FPGA and ASIC, SAI is enhanced for protocol management of hardware structure and communication (such as TSN), supporting dynamic connection logic between independent modules in the FPGA pipeline and ASIC bracket PDU session, as well as the fusion structure of pipeline and ASIC.

[0044] Furthermore, a deterministic offload strategy is deployed to offload deterministic data to the local industrial deterministic network through the local anchor point. The specific method is as follows:

[0045] Deterministic policy delivery: When the UE initiates a deterministic PDU session request, indicating that the terminal's session requires deterministic transmission, the access and mobility management function network element AMF allocates SMF to the UE. The SMF establishes a policy association with the PCF network element through the Npcf_SMPolicyControl_Create message that the SMF supports deterministic processing, and completes the policy delivery;

[0046] PCF queries the user contract data according to the user information carried in the Npcf_SMPolicyControl_Create Request message from SMF. If the user contract data includes the local deterministic service package, PCF includes the diversion rules in the message sent by Npcf_SMPolicyControl_Create Response message to instruct UPF how to handle the diversion of deterministic sessions.

[0047] Deterministic PDU session establishment and deterministic traffic diversion: After the PCF sends user information to the SMF, the SMF selects the primary anchor point UPF that meets the service requirements for the UE, the SMF sends the service policy, and establishes a PDU session between the UE-base station-primary anchor point UPF;

[0048] SMF makes decisions based on conditions such as DNN (Data Network Name), slices, DNAI (Data Network Access Identifier), and UPF deterministic processing capabilities, and selects appropriate offload UPF and local UPF;

[0049] SMF establishes a Packet Forward Control Protocol (PFCP) session for each selected UPF and inserts it into the current user session. In the process of establishing the PFCP session, SMF sends a PDR cell to the diversion UPF to inform the diversion UPF of the diversion rules that need to be enabled and the service processing to be performed when receiving a deterministically marked message during the diversion process;

[0050] Session modification: The current UE establishes a regular PDU session between UE-base station-primary anchor UPF. SMF obtains the uplink and downlink endpoints of its tunnel from each network element through PFCP messages between each UPF and Namf_Communication_N1N2MessageTransfer messages between SMF and AMF, and transmits them to the opposite network element of the changed network element. SMF updates the PDU session to a deterministic offload PDU session between UE-base station-offload UPF-local UPF.

[0051] Deterministic offloading takes effect: After the offloading function is turned on, the user's deterministic data message arrives at the offloading UPF. The offloading UPF matches the message through the PDR and forwards it to the local UPF. The TSN processing module of the local UPF completes the deterministic processing of the data after processing. The local UPF continues to forward the message to the communication (such as TSN) switch of the local industrial deterministic network based on the PDR, and finally completes the user's deterministic data communication service;

[0052] For downlink service messages, it is the reverse process of the uplink. The messages from the local / Internet are forwarded to the diversion UPF after the local anchor point / main anchor point UPF matches the business rules. The diversion UPF aggregates the messages from the two anchor point UPFs, gives priority to the deterministic code stream, and then forwards the messages from the Internet to the base station together.

[0053] To realize the deterministic data of fully connected factory terminals to be diverted to the local industrial deterministic network through local anchor points, it is necessary to deploy corresponding deterministic diversion strategies to support the deterministic diversion of UPF.

[0054] Furthermore, the UPF selection and insertion method is as follows:

[0055] If multiple UPFs are deployed locally, during the activation of the diversion process, SMF selects the appropriate UPF from multiple UPFs and inserts it into the user session. The specific steps are as follows:

[0056] SMF determines the offload UPF based on the user's location, the connection information between the access base station and UPF, the user's slice information, and the information of the local UPF with deterministic forwarding capability connected to the offload UPF, and inserts the UPF information into the user session, so that the user's deterministic session is transmitted to the selected offload UPF through the tunnel;

[0057] The data is transmitted through the offload UPF to the local UPF and then forwarded to the local industrial deterministic network.

[0058] Simple operation and easy to use.

[0059] Furthermore, the ratio of deterministic data flow to non-deterministic data flow changes dynamically, and a pipeline and application-specific integrated circuit ASIC hybrid method is adopted to handle the scenario of UPF's dynamic non-deterministic data flow and deterministic data flow mixing;

[0060] The deterministic processing modules of each pipeline are independent and the modules are connected to each other through ASIC.

[0061] Due to the programmable nature of ASIC, deterministic modules on the pipeline can be dynamically scheduled through high-level processes.

[0062] The present invention also provides a deterministic UPF system based on the method of the present invention, comprising a 5G core network, a main anchor point UPF, a shunt anchor point UPF, a local anchor point UPF, a local industrial network, a local common network and a mobile deterministic terminal;

[0063] The main anchor point UPF is connected to the DN of the 5G core network through the N6 interface, the offload anchor point UPF is connected to the main anchor point UPF and the local anchor point UPF respectively through the N9 interface, the offload anchor point UPF is connected to the network element of the 5G core network through the N4 interface, and the offload anchor point UPF is connected to the mobile deterministic terminal through the N3 interface;

[0064] The local industrial network and the local ordinary network are both connected to the local anchor point UPF.

[0065] Based on CUNOS, the universal operating system for China Unicom's white box devices, this system builds a diversion UPF and local UPF that support deterministic data processing, and implements deterministic wireless data communication services in typical areas such as fully connected factories. By connecting to the local industrial deterministic network and deterministic terminals of the fully connected factory, a deterministic data transmission network that integrates wired and wireless is realized. BRIEF DESCRIPTION OF THE DRAWINGS

[0066] Figure 1 It is a structural diagram of a deterministic UPF implementation system based on CUNOS of the present invention;

[0067] Figure 2 It is a table schematic diagram of the CUNOS architecture of the CUNOS-based deterministic UPF implementation method of the present invention;

[0068] Figure 3 It is a structural diagram of the CUNOS architecture of the CUNOS-based deterministic UPF implementation system of the present invention. DETAILED DESCRIPTION

[0069] Embodiments of the present invention are described in detail below, examples of which are shown in the accompanying drawings, wherein the same or similar reference numerals throughout represent the same or similar elements or elements having the same or similar functions. The embodiments described below with reference to the accompanying drawings are exemplary and are only used to explain the present invention, and cannot be understood as limiting the present invention.

[0070] In the description of the present invention, it is necessary to understand that the terms "longitudinal", "lateral", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the accompanying drawings, and are only for the convenience of describing the present invention and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present invention.

[0071] In the description of the present invention, unless otherwise specified and limited, it should be noted that the terms "installed", "connected" and "connected" should be understood in a broad sense. For example, it can be a mechanical connection or an electrical connection, or it can be the internal connection between two components. It can be a direct connection or an indirect connection through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms can be understood according to the specific circumstances.

[0072] The present invention discloses a method for implementing a deterministic UPF (User Plane Function) based on CUNOS. Based on CUNOS, a universal operating system for white box devices of China Unicom, a shunting UPF and a local UPF supporting deterministic data processing are constructed to implement deterministic wireless data communication services in typical areas such as fully connected factories. By connecting with the local industrial deterministic network and deterministic terminals of the fully connected factory, a wired and wireless converged deterministic data transmission network is implemented. The deterministic UPF implementation method includes the following steps:

[0073] like Figure 2As shown, based on the CUNOS architecture, anchor UPF (UPF PSA) and diversion UPF (ULCL UPF) are established. The anchor UPF is divided into main anchor UPF and local anchor UPF. The white box programmable method is used to realize the support of determinism of 5G and local network connection core equipment UPF in typical scenarios such as fully connected factories. UPF is connected to the local deterministic industrial network through diversion and switching. This method of realizing deterministic support of local wireless and wired networks through UPF key nodes facilitates operators to uniformly manage access to equipment, and has the advantages of low investment and short implementation cycle.

[0074] The traffic diversion UPF implements the Uplink Classifier function. The traffic diversion UPF activates the traffic diversion when the terminal that has signed a local common service and a deterministic service initiates a session request. The session management function network element SMF inserts the traffic diversion into the user session. The UPF interacts with the SMF through the N4 interface, is directly controlled and managed by the SMF, and performs service flow processing according to various policies issued by the SMF.

[0075] The offload UPF is connected to the anchor UPF through the N9 interface. For the uplink traffic, after identification according to the offload rules, it distinguishes the Internet service messages that need to be sent to the main anchor UPF and the local deterministic or ordinary messages of the local anchor UPF and forwards them;

[0076] For downlink traffic, the packets from the anchor UPF are aggregated and forwarded to the base station through the N3 interface;

[0077] When the user equipment UE activates the protocol data unit (PDU) Internet data session, the main anchor point UPF connects to the Internet through the N6 interface, provides users with Internet access services, and completes functions such as billing, monitoring, and service control;

[0078] When the local anchor UPF activates local diversion, it forwards local common data to the local common network through the N6 interface, and forwards local deterministic data to the local industrial deterministic network, and completes functions such as billing, monitoring, and service control. The diversion strategy and forwarding strategy that support deterministic processing can be deployed in the UPF, or can be deployed uniformly by the 5G core network (5GC) and then issued. The signaling of UPF deterministic code stream diversion and forwarding implemented by 5GC includes four processes: policy issuance, PDU session establishment and deterministic diversion, deterministic session modification, and deterministic diversion effectiveness.

[0079] In this technical solution, PDU refers to the way of exchanging data between user equipment (UE) and data network (DN) in 5G network. PDU connection service refers to the service of exchanging PDU data packets between user equipment (UE) and data network (DN). This service is implemented by establishing a PDU session initiated by UE or application server (AF). A PDU session refers to the process of communication between user terminal (UE) and data network (DN). After the PDU session is established, it is equivalent to establishing a data transmission channel between UE and DN.

[0080] PDU sessions can support multiple types of data sessions, including IPv4, IPv6, Ethernet, and unstructured. These session types determine the data format and protocol for interaction between UE and DN. PDU sessions are established, modified, and released through the N1 interface (NAS SM signaling between UE and SMF).

[0081] In 5G networks, PDU sessions also involve the management of multiple types of information, such as number, IMSI, IMEI, PDU session ID, session type, uplink and downlink rates, billing ID, roaming status information, UE IP information, PCF information, QoS information, tunnel information, destination address, SMF identifier, slice information (if supported), default DRB information, data network name, AMF information, user location information, session management information, UPF ID, online billing identifier, offline billing identifier, etc.

[0082] The concept of PDU session is very important in 5G networks, because it is not only related to data transmission and processing, but also involves multiple aspects such as quality of service (QoS), billing, network security slicing, etc. Through PDU session, 5G networks can provide customized connection and service quality assurance for different applications and services.

[0083] In a preferred embodiment of the present invention, the shunt UPF and the local anchor UPF realize deterministic connection and transmission between the shunt UPF and the local anchor UPF through the underlying deterministic data processing module (a ready-made deterministic processing module card can be used and inserted into the host) and the deterministic N9 port;

[0084] The deterministic master clock is deployed in the offload UPF and sent to the base station through the N3 interface. The base station broadcasts the deterministic clock to achieve accurate clock synchronization between the terminal and the local deterministic network.

[0085] Alternatively, the deterministic master clock is deployed in the base station, and the shunt UPF and the local anchor UPF are used as deterministic slave clocks to synchronize with the base station's master clock to achieve precise clock synchronization.

[0086] In a preferred solution of the present invention, based on the CUNOS architecture, an anchor UPF and a shunt UPF are established, and the specific method is as follows:

[0087] To adapt to the rapid evolution of 5G deterministic technology and the development of TSN technology itself, the deterministic UPF white box hardware uses programmable FPGA to implement deterministic data processing, and ASIC to implement the interconnection between modules of the FPGA pipeline, as well as the basic switching and forwarding functions of UPF. This white box hardware architecture not only realizes hardware programmability to adapt to the development of deterministic technology, but also takes into account the overall data processing capabilities of UPF, effectively reducing costs.

[0088] The CUNOS system architecture includes the application layer, business logic layer, intermediate adaptation layer, hardware driver layer, and system layer. The application layer includes the DC module, DB module, and NESVC module. The DC module processes the reception and transmission of user data, the DB module manages configuration data and status data, and the NESVC module is used for data table verification, inter-table verification, data delivery, and abnormal rollback. The application layer accepts the unified management of open network devices by the high-level network through the interface with the external OMC (Operation and Maintenance Center). The application layer connects to the 5G bearer network in accordance with the China Unicom white box domain Yang model standard.

[0089] The business layer completes the business logic functions corresponding to the application layer, such as startup, parameter setting, resource allocation, protocol call, protocol parameter setting, protocol status operation, module and protocol data maintenance, etc. The business layer also collects various data information from the bottom layer, such as alarms, performance statistics, and the operating status of each module and protocol, to provide services for the application layer. In view of the insufficient support of the FRR open source protocol stack for 5G bearer networks, CUNOS has carried out secondary development and integration, integrating some commercial protocol stack modules to enable CUNOS to meet the characteristics of 5G bearer networks.

[0090] The middle layer includes the middle adaptation layer and the hardware driver layer. The middle adaptation layer completes the conversion and adaptation between the upper and lower layer functions, integrates and integrates incompatible parameters, data, and behavior actions according to actual conditions, so that the upper layer functions can be mapped to the hardware components for execution. The middle adaptation layer is mainly divided into board adaptation, port mapping, business layer module adaptation, message sending and receiving, interrupt adaptation, SAI interface call, etc.

[0091] The SAI interface shields and abstracts the SDK of the hardware driver layer chip, so that the intermediate adaptation layer can complete the delivery and adaptation of functional features for chips from different manufacturers. Since the basic SAI feature set mainly meets the scenarios of data center switches, CUNOS has added a new SAI development module for 5G bearer requirements, and enhanced the existing SAI module for 5G bearer requirements to meet the 5G bearer network feature requirements.

[0092] The hardware driver layer mainly provides software driving for the underlying hardware components, such as RAM, FLASH, FPGA, CPLD, RTC, ASIC chip, and CPU bus, so that they can complete corresponding functions according to software instructions, such as driver software functions and OCP's ONLP software abstraction functions.

[0093] The CUNOS architecture controls the signaling connection between UPFs and between UPF and 5GC through the management and control signaling interface. UPF uses the N4 and N9 modules of the application layer of the CUNOS architecture to interact with 5GC and other UPFs. The local anchor UPF must realize the connection of the data diverted by the diverted UPF connected through the N9 interface, as well as the connection of ordinary data and deterministic data to the local ordinary network and the local industrial network, so as to realize the support of local wireless and wired converged networks for deterministic data transmission.

[0094] UPF modules and communication (such as TSN) modules are added to the application layer of the CUNOS architecture to support UPF functions and communication deterministic services;

[0095] UPF function support includes tunneling, coupling N4 / N9 sessions, local traffic distribution, forwarding strategy, QoS strategy, packet caching and forwarding functions;

[0096] The communication module supports deterministic services through communication protocols.

[0097] Preferably, the UPF white box hardware is a UPF device that supports deterministic data processing, which uses a programmable FPGA to implement deterministic data processing; and uses ASIC to implement the interconnection between modules of the FPGA pipeline, as well as the basic switching and forwarding functions of the UPF.

[0098] The complex business logic in the protocol of the communication module is implemented by the functional module in CUNOS based on the CPU, and the high-speed data operation module is implemented by the FPGA and ASIC of the underlying white box hardware. The TSN part implements the support of TSN business based on the functional module of open source or commercial TSN software. Since there are a large number of open source or commercial software implementation schemes for existing TSN, in order to simplify the implementation of TSN, the TSN part of this embodiment implements the support of TSN business based on the functional module of open source or commercial TSN software, mainly the IEEE 802.1AS-REV time synchronization protocol, 802.1Qbv planned flow enhancement protocol, 802.1Qci per-stream filtering and supervision protocol, 802.1Qch circular queuing and forwarding protocol, IEEE 802.3br / IEEE 802.1Qbu802.1Qcc frame preemption protocol, IEEE 802.1CB frame replication and elimination reliability protocol.

[0099] The upper and lower layers interact through enhanced communication modules based on China Unicom's white box operating system CUNOS, which facilitates operators to uniformly access and manage equipment from different manufacturers. Since the general white box hardware platform running CUNOS cannot process high-speed deterministic data, the underlying hardware determinism is implemented using programmable FPGA, which can be dynamically upgraded to adapt to the continuous evolution of current deterministic technology.

[0100] White box open technology is adopted to realize UPF functions through underlying programming of FPGA hardware while increasing support for deterministic data processing. While the underlying FPGA programmable hardware implementation brings dynamic upgrades, it also brings problems of high cost and high complexity. The data processing of UPF is divided into deterministic, ordinary data and process data. The fusion of FPGA and ASIC (Application Specific Integrated Circuit) and mature switching chips is adopted to improve data processing performance while significantly reducing equipment costs. ASIC hardware forwarding chips are inexpensive, have underlying data exchange capabilities, and have multiple hardware tables and search engines. They can quickly index and search for routes and other related data for high-speed data forwarding.

[0101] Since TSN (Time-Sensitive Networking) is the most mature deterministic network technology currently, the embodiment can implement the deterministic support of UPF with the TSN protocol as the core, and other deterministic transmission standards can also be implemented with reference to this embodiment.

[0102] In a preferred embodiment of the present invention, the specific protocol of the communication module includes:

[0103] Time synchronization protocol (IEEE 802.1AS-REV): used to distribute accurate time references between UPF devices and local communication (such as TSN) master clocks, and supports time synchronization based on 5G broadcast clocks; time synchronization implements the management and configuration of communication TSN clock protocols by extending CUNOS clock synchronization, and the underlying white box hardware implements the time calculation and synchronization functions of the PTP (Precision Time Protocol) protocol of the communication module (such as TSN) through timestamp reception and transmission;

[0104] Scheduled Traffic Enhancement Protocol (IEEE 802.1Qbv): Uses time-aware shapers to control the priority of traffic for deterministic delivery. CUNOS manages and allocates time slots for time-aware shapers based on deterministic PDU (Protocol Data Unit) session parameters, which are passed to the underlying white box hardware gating list through the communication module (such as TSN). The underlying hardware generates gating parameters based on the gating list to complete the sending of different types of data in the queue at specific times.

[0105] Per-flow filtering and policing (IEEE 802.1Qci) & Round Robin Queuing and Forwarding Protocol (IEEE 802.1Qch): CUNOS implements the high-level flow filtering management strategy of the protocol by providing flow identifiers for sessions based on deterministic PDU session parameters, and passes them to the underlying white box hardware through the communication module. The white box hardware identifies the flow by mapping the flow identifier to the internal priority value of the determined class; the flow filter of the underlying white box hardware directs the traffic to the output queue corresponding to the internal priority value through the flow gate, and detects and blocks specific errors that do not meet the internal priority value requirements;

[0106] Frame preemption protocol (IEEE 802.3br, IEEE 802.1Qbu): CUNOS marks urgent data packets as "Express" and preemptible data packets as "Preemptable", and passes them to the underlying white box hardware through the communication module. During data transmission processing, the white box hardware suspends its own transmission of the "Preemptable" data packet when the "Express" data packet is being transmitted, and resumes transmission from the interrupted position when the "Express" data packet transmission is completed;

[0107] Frame Replication and Elimination Reliability Protocol (IEEE 802.1CB): The communication module uses redundancy mechanisms to avoid downtime. The strategy and routing establishment and management of dynamic replication and static replication are completed in CUNOS. The underlying white box hardware completes the replication of redundant data packets at the sender, as well as the detection and deletion of redundant data packets at the receiver, thereby realizing the frame replication and elimination reliability (FRER) of TSN.

[0108] The communication module part implements the support of communication services based on the functional modules of open source or commercial communication (such as TSN) software, and completes the communication IEEE 802.1AS-REV time synchronization protocol, 802.1Qbv planned flow enhancement protocol, 802.1Qci flow-by-flow filtering and supervision protocol, 802.1Qch round-robin queuing and forwarding protocol, IEEE 802.3br / IEEE 802.1Qbu802.1Qcc frame preemption protocol, and IEEE 802.1CB frame replication and elimination reliability protocol.

[0109] In a preferred solution of the present invention, since the underlying hardware is a hardware structure that conforms to FPGA and ASIC, the protocol management of the UPF white box hardware and the communication module is enhanced by SAI (Software Abstraction Interface), supporting the dynamic connection logic during the session between the independent modules in the FPGA pipeline and the ASIC bracket PDU, as well as the fusion structure of the FPGA pipeline and ASIC;

[0110] The enhanced part is enhanced through the SAI interface library and SAI function to complete the data encapsulation and sending of the SAI request, and realize the delay control of the SAI request to the hardware platform. After the hardware platform receives the SAI request, it is allocated to the corresponding white box hardware part of the FPGA platform and ASIC platform according to the label of the destination platform and the UPF white box hardware for SAI unpacking and secondary encapsulation.

[0111] The hardware driver layer expands the driver support for the white box hardware that integrates FPGA and ASIC. CUNOS uses the open network operating system ONL (Open Network Linux) as the Base OS, and is equipped with the open network installation environment ONIE (Open Network Install Environment) to load the upper NOS. The above-mentioned UPF-extended CUNOS supporting deterministic data processing included in the implementation example is deployed in the cloud as the OS (operating system). After starting ONIE, the UPF white box hardware automatically searches for the latest version of the CUNOS installation program image supporting UPF in the cloud, transfers the image to the white box hardware, and then starts the ONIE installation program to load the enhanced CUNOS operating system into the UPF white box hardware, so that the UPF white box hardware runs the downloaded CUNOS, making the UPF white box hardware a UPF device that supports deterministic data processing.

[0112] In a preferred solution of the present invention, a deterministic offloading strategy is deployed to offload deterministic data to a local industrial deterministic network through a local anchor point. The specific method is as follows:

[0113] Deterministic policy delivery: When the UE initiates a deterministic PDU session request, indicating that the terminal's session requires deterministic transmission, the access and mobility management function network element AMF (Access and Mobility Management Function, AMF is one of the key components in the 5G core network. AMF is responsible for handling access and mobility management tasks related to user equipment (UE, User Equipment)) assigns SMF to the UE. SMF communicates with the PCF network element (Policy Control Function, PCF is a key network function in the 5G core network. Its main function is to implement policy control. PCF is responsible for formulating and executing network behavior policies. These policies can cover mobility, quality of service (QoS), billing, traffic control and other aspects. PCF works with other network elements in the 5G network through a unified policy framework to ensure the quality and efficiency of network services) to establish SMF (Session Management Function, SMF is a key component in the 5G core network and is responsible for session management functions. The role of SMF in the 5G network is similar to that of SGW (Serving Gateway) and PGW (PDN) in the 4G network. Gateway), but implemented in a more efficient and modular way) supports deterministic policy association and completes policy delivery;

[0114] PCF queries the user contract data according to the user information carried in the Npcf_SMPolicyControl_Create Request message from SMF. If the user contract data includes the local deterministic service package, PCF includes the diversion rules in the message sent by Npcf_SMPolicyControl_Create Response message to instruct UPF how to handle the diversion of deterministic sessions.

[0115] Deterministic PDU session establishment and deterministic traffic diversion: After PCF sends user information to SMF, SMF selects a suitable primary anchor point UPF (primary anchor point connected to the Internet) that meets the service requirements for the UE, SMF sends service policies, and establishes a PDU session between UE-base station-primary anchor point UPF;

[0116] SMF makes decisions based on conditions such as DNN (Data Network Name), slices, DNAI (Data Network Access Identifier), and UPF deterministic processing capabilities, and selects the appropriate diversion UPF amount local UPF that meets the decision;

[0117] SMF establishes a Packet Forwarding Control Protocol PFCP (PFCP is a protocol used in 5G networks. It is part of the user plane function, especially in the context of the user plane function (UPF). PFCP is a control protocol for transmitting user plane data between UPF nodes in the 5G core network and between UPF and the data network. PFCP is a key component in the 5G network architecture. It enables the 5G network to efficiently handle large amounts of user data traffic while supporting a variety of service types and application scenarios. Through PFCP, the 5G network can achieve flexible traffic management, efficient resource utilization and high-quality user experience) session with the selected UPF and inserts it into the current user session. In the process of establishing a PFCP session, SMF sends a PDR cell (PDR is a cell used to carry policy control information, including rule names, forwarding actions, business processing actions, etc.) to the diversion UPF to notify the diversion UPF of the diversion rules that need to be enabled, as well as the business processing performed when receiving a deterministically marked message during the diversion process;

[0118] Session modification: The current UE establishes a regular PDU session between UE-base station-primary anchor UPF. SMF obtains the uplink and downlink endpoints of its tunnel from each network element through PFCP messages between each UPF and Namf_Communication_N1N2MessageTransfer messages between SMF and AMF, and transmits them to the opposite network element of the changed network element. SMF updates the PDU session to a deterministic offload PDU session between UE-base station-offload UPF-local UPF.

[0119] After the above series of signaling processes, the offload UPF, local UPF, and base station can conduct a deterministic code stream offload session;

[0120] Deterministic offloading takes effect: After the offloading function is turned on, the user's deterministic data message arrives at the offloading UPF. The offloading UPF matches the message through the PDR and forwards it to the local UPF. The TSN processing module of the local UPF completes the deterministic processing of the data after processing. The local UPF continues to forward the message to the communication (such as TSN) switch of the local industrial deterministic network based on the PDR, and finally completes the user's deterministic data communication service;

[0121] For downlink service messages, it is the reverse process of the uplink. The messages from the local / Internet are forwarded to the diversion UPF after the local anchor point / main anchor point UPF matches the business rules. The diversion UPF aggregates the messages from the two anchor point UPFs, gives priority to the deterministic code stream, and then adopts a "best effort" approach to the messages from the Internet and forwards them to the base station together.

[0122] More preferably, the traffic diversion strategy and forwarding strategy supporting deterministic processing in UPF can be deployed in UPF, or can be deployed uniformly by the 5G core network (5GC) and then issued. UPF obtains the traffic diversion strategy and forwarding strategy supporting deterministic processing in the following ways:

[0123] 1) PCF delivery: Configure complete diversion and forwarding policies that support deterministic processing on PCF (Policy Control Function, 5GC's unified policy framework, providing policy rules). When a deterministic user is activated, PCF delivers the complete policy to SMF, which is processed by SMF and finally reaches the diversion UPF and local UPF, so that the diversion UPF and local UPF support the processing and forwarding of deterministic code streams.

[0124] 2) SMF distribution: Configure the same and complete policy supporting deterministic diversion and forwarding on SMF (Session Management Function, responsible for processing user services) and diversion UPF at the same time. When a user activates a deterministic service, SMF will issue the policy name supporting deterministic diversion and forwarding to the diversion UPF and local UPF based on the DNN (Data Network Name) signed by the user (network slices are built locally for deterministic data. The network slices are identified by a unique DNN. The terminal's deterministic services can sign deterministic network slices. When the terminal activates the service, 5GC forwards the deterministic code stream to the local industrial network through DNN). The diversion UPF and local UPF enable the diversion and forwarding policy supporting deterministic processing based on the received policy name.

[0125] 3) PCF is sent down through SMF: Configure the name of the diversion and forwarding policy that supports deterministic processing on PCF, and configure the complete policy on SMF and UPF. When the deterministic user is activated, PCF sends the policy name that needs to be enabled to SMF according to the user's contracted DNN. After SMF processing, the policy name is sent down to UPF. The diversion UPF and local UPF enable the corresponding diversion and forwarding policy that supports deterministic processing based on the received policy name.

[0126] 4) MPF delivery: Configure complete diversion and forwarding policies that support deterministic processing on MPF, and synchronously configure corresponding policy names on PCF and SMF. The policies configured on MPF ​​are synchronized with the diversion UPF and local UPF in real time. When the user activates the deterministic service, the diversion UPF and local UPF receive the policy name through "SMF delivery" or "PCF delivery through SMF", and enable the corresponding deterministic diversion and forwarding policies.

[0127] In a preferred embodiment of the present invention, the method for selecting and inserting UPF is as follows:

[0128] If multiple UPFs are deployed locally, during the activation of the diversion process, SMF selects the appropriate UPF from multiple UPFs and inserts it into the user session. The specific steps are as follows:

[0129] SMF determines the offload UPF based on the user's location, the connection information between the access base station and UPF, the user's slice information, and the information of the local UPF with deterministic forwarding capability connected to the offload UPF, and inserts the UPF information into the user session, so that the user's deterministic session is transmitted to the selected offload UPF through the tunnel;

[0130] The data is transmitted through the offload UPF to the local UPF and then forwarded to the local industrial deterministic network.

[0131] In a preferred solution of the present invention, the programmable plane adopts a parallel and pipeline fusion method. In view of the large differences in the processing processes of different data streams in UPF and the dynamic changes in the ratio of deterministic data streams and non-deterministic data streams, a pipeline and application-specific integrated circuit ASIC (Application-Specific Integrated Circuit) hybrid method is adopted to handle the scenario of the dynamic non-deterministic data stream and deterministic data stream of UPF.

[0132] The deterministic processing modules of each pipeline are independent, and the modules are connected to each other through ASIC. The CUNOS operating system implements the configuration of the control table and the management of other ASICs by calling the P4 Runtime of the extended P4 module. The data plane of the ASIC processes the forwarding of data packets through match-action based on the control table. The specific steps are as follows:

[0133] 1) ULCL extraction and clearing: By extracting ULCL, determine whether the code stream is a local deterministic code stream; divert the deterministic local data stream and forward it to the TSN pipeline corresponding to the PDU session for processing, clear the ULCL in the code stream, and assign an internal feature word to uniquely identify the code stream.

[0134] 2) Match: By querying the matching table, if the data flow attribute corresponding to the ULCL is a local deterministic session, the entry address of the TSN processing pipeline corresponding to the PDU session is obtained;

[0135] 3) Action: forwards data to the entry module of the TSN processing pipeline.

[0136] The modules implemented by the FPGA programmable plane include:

[0137] 1) Quality of Service (QoS) module: TSN requires the network to provide strict bandwidth guarantees and low-latency transmission. Cooperating with the QoS function of high-level software, it supports real-time traffic priority, bandwidth reservation and traffic scheduling functions;

[0138] 2) Traffic scheduling module: schedules and manages real-time traffic to ensure that the transmission of real-time traffic meets the timing requirements. It processes and schedules deterministic traffic through the matching rules and action sets of flow table items.

[0139] 3) Delay control module: Provides strict delay control capability for bit streams to ensure the timing reliability of real-time communications. By adding delay measurement and control mechanisms, it can monitor and adjust traffic delays.

[0140] Time synchronization module: Maintains precise time synchronization with nodes of the TSN network to facilitate timing control and coordination in real-time communication.

[0141] In order to simultaneously process ordinary Internet service data and deterministic data in UPF, FPGA adopts multi-pipeline fusion and independent module methods. Through the CUNOS high-level dynamic combination of PDU session types, the pipeline is dynamically arranged to achieve maximum utilization of FPGA resources.

[0142] The present invention also provides a deterministic UPF system based on the method of the present invention, such as Figure 1 As shown, it includes 5G core network, main anchor point UPF, diversion anchor point UPF, local anchor point UPF, local industrial network, local ordinary network and mobile deterministic terminal.

[0143] The white box architecture uses a general-purpose CPU plus a programmable high-speed data processing chip, such as FPGA (Field Programmable Gate Array) as the core processing unit. Since FPGA is a hardware circuit and the logic circuit can be programmed through erasable programming, FPGA has flexibility and high speed, and is suitable for processing high-speed data circuits. FPGA and CPU communicate at high speed through the PCIe interface, and its embedded RAM, internal logic capacity, and network high-speed interface can meet the requirements of high-speed network processing. The implementation code of FPGA programming has good cross-platform portability and is suitable for hardware from different manufacturers. In order to take into account the programmable characteristics and reduce the cost and complexity of UPF, the hardware structure of this embodiment adopts an architecture that combines programmable high-speed data processing chips and switching chips. The design idea is that the FPGA programmable part completes the logic processing of UPF core data diversion, data deterministic transmission, and generates various control tables, giving full play to the advantages of programmable flexibility. The underlying data exchange is implemented by ASIC programming, giving full play to the advantages of ASIC's low cost, strong processing function, and partial programmability. In order to meet the expansion of different input and output ports, different processing planes are interconnected through switching chips, such as Figure 3 shown.

[0144] The main anchor point UPF is electrically connected to the DN of the 5G core network through the N6 interface, the diversion anchor point UPF is electrically connected to the main anchor point UPF and the local anchor point UPF respectively through the N9 interface, the diversion anchor point UPF is electrically connected to the network elements of the 5G core network through the N4 interface, the diversion anchor point UPF is electrically connected to the mobile deterministic terminal through the N3 interface, the local industrial network and the local ordinary network are both electrically connected to the local anchor point UPF, and the deterministic data of the wireless terminal is forwarded by UPF to the local wired industrial network.

[0145] The present invention aims at typical scenarios such as fully connected factories with deterministic data requirements, and realizes deterministic data transmission in local areas without the need for deterministic upgrades of the entire 5G network. It solves the urgent needs of users for deterministic data transmission during the period of rapid development and change of 5G deterministic technology, cultivates the 5G deterministic application market, and promotes the deterministic evolution of 5G.

[0146] The present invention has positive significance for promoting the cultivation of the deterministic market of 5G, adapting to the rapid evolution of 5G deterministic technology, meeting the urgent demand for deterministic technology in application scenarios such as fully connected factories, and promoting the development of 5G technology.

[0147] In the description of this specification, the description with reference to the terms "one embodiment", "some embodiments", "examples", "specific examples", or "some examples" means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described may be combined in any one or more embodiments or examples in a suitable manner.

[0148] Although the embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions and variations may be made to the embodiments without departing from the principles and spirit of the present invention, and that the scope of the present invention is defined by the claims and their equivalents.

Claims

1. A method for implementing deterministic UPF based on CUNOS, characterized in that: The steps include: Based on the CUNOS architecture, establish anchor UPF and diversion UPF; The traffic diversion UPF activates the traffic diversion when the terminal that subscribes to the local common service and deterministic service initiates a session request, and the session management function network element SMF inserts the traffic diversion into the user session; The offload UPF is connected to the anchor UPF through the N9 interface. For the uplink traffic, after identification according to the offload rules, it distinguishes the Internet service messages that need to be sent to the main anchor UPF and the local deterministic or ordinary messages of the local anchor UPF and forwards them; For downlink traffic, the packets from the anchor UPF are aggregated and forwarded to the base station through the N3 interface; When the user equipment UE activates the protocol data unit PDU Internet data session, the main anchor point UPF connects to the Internet through the N6 interface, provides users with Internet access services, and completes billing, monitoring, and service control; When the local anchor UPF activates local offload, it forwards local common data to the local common network through the N6 interface, forwards local deterministic data to the local industrial deterministic network, and completes billing, monitoring, and service control; Deploy a deterministic offload strategy to offload deterministic data to the local industrial deterministic network through the local anchor point. The specific method is as follows: Deterministic policy delivery: When the UE initiates a deterministic PDU session request, indicating that the terminal's session requires deterministic transmission, the access and mobility management function network element AMF allocates SMF to the UE. The SMF establishes a policy association with the PCF network element through the Npcf_SMPolicyControl_Create message that the SMF supports deterministic processing, and completes the policy delivery; PCF queries the user contract data according to the user information carried in the Npcf_SMPolicyControl_Create Request message from SMF. If the user contract data includes the local deterministic service package, PCF includes the diversion rules in the message sent by Npcf_SMPolicyControl_Create Response message to instruct UPF how to handle the diversion of deterministic sessions. Deterministic PDU session establishment and deterministic traffic diversion: After the PCF sends user information to the SMF, the SMF selects the primary anchor point UPF that meets the service requirements for the UE, the SMF sends the service policy, and establishes a PDU session between the UE-base station-primary anchor point UPF; SMF makes decisions based on deterministic processing capabilities and selects the offload UPF and local UPF that meet the decision; SMF establishes a Packet Forward Control Protocol (PFCP) session with the selected UPFs and inserts it into the current user session. In the process of establishing a PFCP session, SMF sends a PDR cell to the offload UPF to inform the offload UPF of the offload rules that need to be enabled and the service processing to be performed when receiving a deterministically marked message during the offload process; Session modification: The current UE establishes a regular PDU session between UE-base station-primary anchor UPF. SMF obtains the uplink and downlink endpoints of its tunnel from each network element through PFCP messages between each UPF and Namf_Communication_N1N2MessageTransfer messages between SMF and AMF, and transmits them to the opposite network element of the changed network element. SMF updates the PDU session to a deterministic offload PDU session between UE-base station-offload UPF-local UPF. Deterministic offloading takes effect: After the offloading function is turned on, the user's deterministic data message reaches the offloading UPF. The offloading UPF matches the message through the PDR and forwards it to the local UPF. The TSN processing module of the local UPF completes the deterministic processing of the data after processing. The local UPF continues to forward the message to the communication switch of the local industrial deterministic network based on the PDR, and finally completes the user's deterministic data communication service; For downlink service messages, it is the reverse process of the uplink. The messages from the local / Internet are forwarded to the diversion UPF after the local anchor point / main anchor point UPF matches the business rules. The diversion UPF aggregates the messages from the two anchor point UPFs, gives priority to the deterministic code stream, and then forwards the messages from the Internet to the base station together.

2. The method for implementing a deterministic UPF based on CUNOS according to claim 1, characterized in that: The offload UPF and the local anchor UPF realize deterministic connection and transmission between the offload UPF and the local anchor UPF through the underlying deterministic data processing module and the deterministic N9 port; The deterministic master clock is deployed in the offload UPF and sent to the base station through the N3 interface. The base station broadcasts the deterministic clock to achieve accurate clock synchronization between the terminal and the local deterministic network. Alternatively, the deterministic master clock is deployed in the base station, and the shunt UPF and the local anchor UPF are used as deterministic slave clocks to synchronize with the base station's master clock to achieve precise clock synchronization.

3. The method for implementing a deterministic UPF based on CUNOS according to claim 1, characterized in that: Based on the CUNOS architecture, anchor UPF and diversion UPF are established. The specific methods are as follows: The CUNOS architecture controls the signaling connection between UPFs and between UPF and 5GC through the management and control signaling interface. UPF uses the N4 and N9 modules of the application layer of the CUNOS architecture to interact with 5GC and other UPFs. UPF modules and communication modules are added to the application layer of the CUNOS architecture to support UPF functions and communication deterministic services; The UPF function supports tunneling, coupling N4 / N9 sessions, local traffic distribution, forwarding strategy, QoS strategy, packet caching and forwarding functions; The communication module implements support for deterministic services through a communication protocol.

4. The method for implementing a deterministic UPF based on CUNOS as claimed in claim 3, characterized in that: The specific protocols of the communication module include: Time synchronization protocol: used to distribute accurate time references between UPF devices and local communication master clocks, and supports time synchronization based on 5G broadcast clocks; time synchronization implements the management and configuration of communication clock protocols by extending CUNOS clock synchronization, and the underlying white box hardware implements the time calculation and synchronization functions of the PTP protocol of the communication module through timestamp reception and transmission; Scheduled traffic enhancement protocol: Using the time-aware shaper to control the traffic priority of deterministic delivery, CUNOS completes the time slot management and allocation of the time-aware shaper based on the deterministic PDU session parameters, and transmits it to the underlying white box hardware gating list through the communication module. The underlying hardware generates gating parameters based on the gating list to complete the sending of different types of data in the queue at a specific time; Flow-by-flow filtering and supervision, round-robin queuing and forwarding protocol: CUNOS implements the high-level flow filtering management strategy of the protocol by providing flow identifiers for sessions based on deterministic PDU session parameters, and passes them to the underlying white box hardware through the communication module. The white box hardware identifies the flow by mapping the flow identifier to the internal priority value of the determined class; the flow filter of the underlying white box hardware directs the traffic to the output queue corresponding to the internal priority value through the flow gate, and detects and prevents errors that do not meet the internal priority value requirements; Frame preemption protocol: CUNOS marks the urgent data packet as "Express" and the preemptible data packet as "Preemptable", and passes it to the underlying white box hardware through the communication module. During the data transmission processing, the white box hardware suspends the transmission of the "Preemptable" data packet when the "Express" data packet is being transmitted, and resumes the transmission from the interrupted position when the "Express" data packet is transmitted. Frame replication and elimination reliability protocol: The communication module uses redundancy mechanisms to avoid downtime. The strategy and routing establishment and management of dynamic replication and static replication are completed in CUNOS. The underlying white box hardware completes the replication of redundant data packets on the sending end, as well as the detection and deletion of redundant data packets on the receiving end.

5. The method for implementing a deterministic UPF based on CUNOS as claimed in claim 3, characterized in that: The UPF white box hardware is a UPF device that supports deterministic data processing. It uses programmable FPGA to implement deterministic data processing; it uses ASIC to implement the interconnection between modules of the FPGA pipeline, as well as the basic switching and forwarding functions of UPF.

6. The method for implementing a deterministic UPF based on CUNOS as claimed in claim 3, characterized in that: SAI enhancements to the protocol management of UPF white box hardware and communication modules, supporting dynamic connection logic between independent modules in the FPGA pipeline and the ASIC rack PDU session, as well as the fusion structure of the FPGA pipeline and ASIC; The enhanced part is enhanced through the SAI interface library and SAI function to complete the data encapsulation and sending of the SAI request, and realize the delay control of the SAI request to the hardware platform. After the hardware platform receives the SAI request, it is allocated to the corresponding white box hardware part of the FPGA platform and ASIC platform according to the label of the destination platform and the UPF white box hardware, and performs SAI unpacking and secondary encapsulation; CUNOS uses the open network operating system ONL as the Base OS, and is used with the open network installation environment ONIE to load the upper-level NOS. After starting ONIE, the UPF white box hardware automatically searches the cloud for the latest version of the CUNOS installer image that supports UPF, transfers the image to the white box hardware, and then starts the ONIE installer to load the enhanced CUNOS operating system to the UPF white box hardware, allowing the UPF white box hardware to run the downloaded CUNOS, making the UPF white box hardware a UPF device that supports deterministic data processing.

7. The method for implementing a deterministic UPF based on CUNOS according to claim 1, characterized in that: The method of selecting and inserting UPF is as follows: If multiple UPFs are deployed locally, during the activation of the diversion process, SMF selects the appropriate UPF from multiple UPFs and inserts it into the user session. The specific steps are as follows: SMF determines the offload UPF based on the user's location, the connection information between the access base station and UPF, the user's slice information, and the information of the local UPF with deterministic forwarding capability connected to the offload UPF, and inserts the UPF information into the user session, so that the user's deterministic session is transmitted to the selected offload UPF through the tunnel; The data is transmitted through the offload UPF to the local UPF and then forwarded to the local industrial deterministic network.

8. The method for implementing a deterministic UPF based on CUNOS according to claim 1, characterized in that: The ratio of deterministic data flow to non-deterministic data flow changes dynamically. A pipeline and application-specific integrated circuit ASIC hybrid method is used to handle the scenario where the dynamic non-deterministic data flow and deterministic data flow of UPF are mixed. The deterministic processing modules of each pipeline are independent and the modules are connected to each other through ASIC.

9. A deterministic UPF system based on the method according to any one of claims 1 to 8, characterized in that: Including 5G core network, main anchor UPF, offload anchor UPF, local anchor UPF, local industrial network, local common network and mobile deterministic terminal; The main anchor point UPF is connected to the DN of the 5G core network through the N6 interface, the offload anchor point UPF is connected to the main anchor point UPF and the local anchor point UPF respectively through the N9 interface, the offload anchor point UPF is connected to the network element of the 5G core network through the N4 interface, and the offload anchor point UPF is connected to the mobile deterministic terminal through the N3 interface; The local industrial network and the local ordinary network are both connected to the local anchor point UPF.

Citation Information

Patent Citations

  • Data distribution method, device and equipment, functional entity and storage medium

    CN113993118A

  • Cross-network-element deterministic forwarding method and device, network element and storage medium

    CN117354233A