Private network data processing method and system, storage medium, and electronic device

By using base stations, service offloading devices, and network forwarding devices to form primary and backup links in 5G toB private networks, and utilizing link state detection protocols to achieve automatic switching between primary and backup links, the high complexity and high cost of dedicated UPF (User-Defined Filter) offloading solutions are solved, ensuring high-reliability offloading of private network data and meeting the high availability requirements of industrial applications.

WO2026045880A1PCT designated stage Publication Date: 2026-03-05ZTE CORP
View PDF 4 Cites 0 Cited by

Patent Information

Application Number
PCT/CN2025/113330
Authority / Receiving Office
WO · WO
Patent Type
Applications
Current Assignee / Owner
Priority Date
2024-08-30
Filing Date
2025-08-07
Publication Date
2026-03-05

AI Technical Summary

Technical Problem

In existing 5G toB private network application scenarios, the dedicated UPF sinking solution has high networking complexity and cost, and the reliability of service offloading cannot be guaranteed when introducing other private network service offloading equipment, making it difficult to meet the high availability requirements of industrial application scenarios.

Method used

The system employs base stations, service offloading primary equipment, and network forwarding equipment to form primary and backup links. The operational status is detected through a link status detection protocol, and the system switches to the backup link when the primary link fails, ensuring high-reliability offloading of private network data.

Benefits of technology

It reduces the cost of deploying the dedicated core network, enables primary and backup switching between primary and backup links, ensures high-reliability offloading and forwarding of private network data, and meets the high availability requirements of industrial application scenarios.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN2025113330_05032026_PF_FP_ABST
    Figure CN2025113330_05032026_PF_FP_ABST
Patent Text Reader

Abstract

Embodiments of the present disclosure provide a private network data processing method and system, a storage medium, and an electronic device. The method is applied to a service offloading master device, and comprises: starting operation state detection of a master link on the basis of a master-standby deployment configuration, and determining the operation state of the master link; determining a target transmission link on the basis of the operation state, the target transmission link being the master link or a standby link; and forwarding uplink private data of a UE to a private network on the basis of the target transmission link, and forwarding downlink private data of the private network to the UE. The present disclosure can solve the problems in the related art of high complexity and high cost of using a private UPF sinking scheme for private network data for networking, and of the need of ensuring service offloading reliability when other private network service offloading devices are introduced. Reliable data transmission channels of existing public core networks are reused, private core network sinking deployment costs are reduced, and the master-standby switchover between a master link and a standby link is implemented, thereby ensuring high-reliability offloading and forwarding of private network data.
Need to check novelty before this filing date? Find Prior Art

Description

A method, system, storage medium, and electronic device for private network data processing.

[0001] Cross-references to related applications

[0002] This disclosure is based on and claims priority to Chinese Patent Application No. 2024112136379, filed on August 30, 2024, entitled “A Private Network Data Processing Method, System, Storage Medium, and Electronic Device”, and incorporates the entire contents of that patent application by reference. Technical Field

[0003] This disclosure relates to the field of wireless communication technology, and more specifically, to a private network data processing method, system, storage medium, and electronic device. Background Technology

[0004] Existing 5G toB private network applications employ either User Plane Function (UPF) offloading or dedicated MEC offloading of local network data. The dedicated UPF offloading solution suffers from high network complexity and high investment and deployment costs for industrial field equipment. The dedicated Multi-access Edge Computing (MEC) offloading solution forwards uplink dedicated data from the base station to a dedicated MEC connected in series at the N3 interface, instead of forwarding it to the UPF, and then offloads it to the local network. However, the base station-MEC interface specification is not defined by 3GPP or industry-wide standards, and each manufacturer uses its own custom protocol standards. This poses a risk of MEC downtime or related transmission interruptions, making it difficult to meet the high availability requirements of industrial applications.

[0005] There is currently no solution to the problems of high complexity and cost in using dedicated UPF sinking schemes for private network data in related technologies, and the need to ensure the reliability of service offloading when introducing other private network service offloading equipment. Summary of the Invention

[0006] This disclosure provides a private network data processing method, system, storage medium, and electronic device to at least solve the problems in related technologies where the use of a dedicated UPF sinking scheme for private network data is complex and costly, and the reliability of service offloading needs to be guaranteed when other private network service offloading equipment is introduced.

[0007] According to one embodiment of this disclosure, a private network data processing system is provided. The system includes: a base station, a primary service offloading device, a backup service offloading device, and a network forwarding device. The network forwarding device is connected to the private network. The base station is connected to the primary service offloading device and the network forwarding device to form a primary link for service data forwarding. The base station is connected to the backup service offloading device and the network forwarding device to form a backup link for service data forwarding.

[0008] The service offloading primary device is used to initiate the operation status detection of the primary link according to the primary and backup deployment configuration, determine the operation status of the primary link, and determine the target transmission link according to the operation status, wherein the target transmission link is the primary link or the backup link; and forward the uplink dedicated data of the UE to the dedicated network according to the target transmission link, and forward the downlink dedicated data of the dedicated network to the UE.

[0009] According to another embodiment of this disclosure, a private network data processing method is also provided, applied to a service offloading primary device, the method comprising:

[0010] The primary link's operational status is detected and determined according to the primary / backup deployment configuration. The primary link is formed by connecting the base station with the service offloading primary device and the network forwarding device.

[0011] The target transmission link is determined based on the operating status, wherein the target transmission link is the primary link or the backup link, and the backup link is formed by connecting the base station with the service offloading backup equipment and the network forwarding equipment;

[0012] According to the target transmission link, the uplink dedicated data of the UE is forwarded to the dedicated network, and the downlink dedicated data of the dedicated network is forwarded to the UE.

[0013] According to yet another embodiment of this disclosure, a computer program product is also provided, including computer program instructions, wherein the computer program instructions cause a computer to perform the steps in any of the above method embodiments.

[0014] According to yet another embodiment of this disclosure, a computer-readable storage medium is also provided, wherein a computer program is stored therein, wherein the computer program is configured to perform the steps in any of the above method embodiments when executed.

[0015] According to yet another embodiment of this disclosure, an electronic device is also provided, including a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the steps in any of the above method embodiments. Attached Figure Description

[0016] Figure 1 is a hardware structure block diagram of a computer device for a private network data processing method according to an embodiment of the present disclosure;

[0017] Figure 2 is a flowchart of a private network data processing method according to an embodiment of the present disclosure;

[0018] Figure 3 is a block diagram of a private network data processing system according to an embodiment of the present disclosure;

[0019] Figure 4 is an architecture diagram of a service offloading system for primary and backup deployment of 5G MEC and UPF according to an embodiment of the present disclosure.

[0020] Figure 5 is a second architecture diagram of a service offloading system for primary and backup deployment of 5G MEC and UPF according to an embodiment of the present disclosure.

[0021] Figure 6 is a flowchart of primary / standby switching according to an embodiment of the present disclosure;

[0022] Figure 7 is a schematic diagram of the service port and local port linkage mapping network of a single service link and a single local link according to this embodiment;

[0023] Figure 8 is a schematic diagram of the service port and local port linkage mapping network of the multi-service link and multi-local link according to this embodiment;

[0024] Figure 9 is a schematic diagram of bidirectional forwarding detection linked to general route encapsulation detection or static routing according to this embodiment;

[0025] Figure 10 is a schematic diagram of MEC local port linkage service port linkage detection according to this embodiment;

[0026] Figure 11 is a schematic diagram of MEC service port linkage local port linkage detection according to this embodiment;

[0027] Figure 12 is a flowchart of the linkage between the local port and the service port of the MEC according to an embodiment of the present disclosure;

[0028] Figure 13 is a flowchart of MEC initiating MEC-UPF link primary / backup switchover according to an embodiment of the present disclosure. Detailed Implementation

[0029] The embodiments of this disclosure will be described in detail below with reference to the accompanying drawings and examples.

[0030] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this disclosure are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence.

[0031] The method embodiments provided in this disclosure can be executed in a computer device or similar computing device. Taking a computer device as an example, FIG1 is a hardware structure block diagram of a computer device for a private network data processing method according to an embodiment of this disclosure. As shown in FIG1, the computer device may include one or more (only one is shown in FIG1) processors 102 (processor 102 may include, but is not limited to, processing devices such as microprocessors MCUs or programmable logic devices) and a memory 104 for storing data. The computer device may also include a transmission device 106 for communication functions and an input / output device 108. It will be understood by those skilled in the art that the structure shown in FIG1 is only illustrative and does not limit the structure of the computer device. For example, the computer device may also include more or fewer components than shown in FIG1, or have a different configuration than shown in FIG1.

[0032] The memory 104 can be used to store computer programs, such as application software programs and modules, like the computer program corresponding to the private network data processing method in this embodiment. The processor 102 executes various functional applications and single-board matching by running the computer program stored in the memory 104, thus implementing the above-described method. The memory 104 may include high-speed random access memory and non-volatile memory, such as one or more magnetic storage devices, flash memory, or other non-volatile solid-state memory. In some instances, the memory 104 may further include memory remotely located relative to the processor 102, and these remote memories can be connected to computer devices via a network. Examples of such networks include, but are not limited to, the Internet, corporate intranets, local area networks, mobile communication networks, and combinations thereof.

[0033] The transmission device 106 is used to receive or send data via a network. Specific examples of the network described above may include a wireless network provided by a communication provider for the computer equipment. In one example, the transmission device 106 includes a Network Interface Controller (NIC), which can connect to other network devices via a base station to communicate with the Internet. In another example, the transmission device 106 may be a Radio Frequency (RF) module used for wireless communication with the Internet.

[0034] This embodiment provides a private network data processing method running on the aforementioned computer equipment. Figure 2 is a flowchart of the private network data processing method according to an embodiment of this disclosure. As shown in Figure 2, it is applied to the primary device for service offloading, and the process includes the following steps:

[0035] Step S202: Start the operation status detection of the primary link according to the primary and backup deployment configuration, and determine the operation status of the primary link. The primary link is formed by the connection between the base station and the service offloading primary equipment and network forwarding equipment.

[0036] In this embodiment, the operation status detection of the primary link can be based on a link state detection protocol. The link detection protocol is not limited to Generic Routing Encapsulation (GRE) and Bidirectional Forwarding Detection (BFD).

[0037] Step S204: Determine the target transmission link based on the operating status. The target transmission link is either the primary link or the backup link. The backup link is formed by connecting the base station with the service offloading backup equipment and the network forwarding equipment.

[0038] In this embodiment of the disclosure, step S204 may specifically include: determining the target transmission link as the primary link when the primary link is operating normally in the above-mentioned operating state; and determining the target transmission link as the backup link when the primary link is abnormal in the operating state.

[0039] Step S206: Forward the UE's uplink dedicated data to the dedicated network according to the target transmission link, and forward the dedicated downlink data of the dedicated network to the UE.

[0040] Through the above steps S202 to 206, the high complexity and cost of using a dedicated UPF sinking scheme for private network data in related technologies can be solved, as well as the problem of unreliability of service offloading when introducing other private network service offloading equipment. It inherits the reliable transmission channel of existing public core network data, reduces the deployment cost of dedicated core network sinking, and realizes the primary and backup switching between primary and backup links, ensuring high reliability of private network data offloading and forwarding.

[0041] In this embodiment of the disclosure, step S206 may specifically include:

[0042] S2061, If ​​the target transmission link is the primary link, it receives uplink private network data sent by the base station, sends the uplink private network data to the private network through the primary link, and receives downlink private data from the private network forwarded by the network forwarding device, and forwards the downlink private data to the UE through the base station.

[0043] S2062, if the target transmission link is a backup link, notify the base station to forward the uplink dedicated data to the private network through the backup link, and notify the network forwarding device to forward the downlink dedicated data to the UE through the backup link. Furthermore, if the status of the local interface on the primary link is abnormal, when a link control keep-alive request message is received from the base station, instruct the base station to forward the uplink dedicated data to the private network through the backup link. Specifically, this can be done by stopping sending link control keep-alive response messages to the base station or by actively sending a link control message with the link status field set to blocked to the base station. The local interface is the interface with the network forwarding device.

[0044] S2063, In the event of an abnormal status of the service port, the network forwarding device is notified to forward downlink dedicated data to the UE through the backup link. Specifically, this can be done by: stopping the sending of link control keep-alive messages to the network forwarding device or by actively sending a link control message with the link status field set to blocked to the network forwarding device. Here, the service port is the interface with the base station, and the local port is the interface with the network forwarding device.

[0045] In this embodiment of the disclosure, the primary service offloading device is deployed in the dedicated network transmission link as the primary link's service offloading device, forming a primary and backup dedicated network transmission link with other service offloading devices.

[0046] Through the above steps S202 to S206, the high complexity and cost of using a dedicated UPF sinking scheme for private network data in related technologies can be solved, as well as the problem of unreliability of service offloading when introducing other private network service offloading equipment. It inherits the reliable transmission channel of existing public core network data, reduces the deployment cost of dedicated core network sinking, and realizes the primary and backup switching between the primary and backup links, ensuring high reliability of private network data offloading and forwarding.

[0047] In one embodiment, the status of the service port and the local port on the primary link can also be determined, thereby determining whether the status of the primary link is normal or abnormal. Specifically, this may include:

[0048] S11, detect whether the status of the service port on the primary link is abnormal. The service port is the interface with the base station. Further, if the transmission link with the base station fails, or the service port actively disconnects the transmission link due to a local port failure, or the service port actively disconnects the transmission link due to a failure of other service ports, determine that the status of the service port on the primary link is abnormal; if the transmission link with the base station is restored, or the local port failure is restored, or the failure of other service ports is restored, determine that the status of the service port on the primary link has returned to normal.

[0049] S12, detect whether the status of the local port on the primary link is abnormal. This local port is the interface with the network forwarding device. Further, if the transmission link with the network forwarding device is interrupted, the local port disconnects the transmission link due to a service port failure, or the local port disconnects the transmission link due to another local port failure, determine that the status of the local port on the primary link is abnormal; if the transmission link with the network forwarding device is restored, the service port failure is resolved, or the other local port failure is resolved, determine that the status of the local port on the primary link returns to normal.

[0050] S13: If the status of the service port or local port on the primary link is abnormal, determine that the primary link is abnormal; if the status of the service port and local port on the primary link is normal, determine that the primary link is normal or has recovered to normal.

[0051] In this embodiment, the primary service offloading device can be a MEC or a dedicated MEC, and the backup service offloading device can be a UPF. The MEC and UPF are deployed in a primary and backup configuration and work together to offload services, fully utilizing two transmission links to achieve primary and backup deployment. The MEC is deployed in the base station equipment room, making deployment simple and providing high service offloading capabilities. The UPF offers high transmission reliability and saves the cost of deploying a dedicated UPF. Using the MEC as an independent detection and decision-making device for primary / backup failover allows it to be used with general-purpose UPFs and switches, eliminating the need for primary / backup failover functionality support from the UPF and switches. The primary / backup failover latency is within seconds, meeting the requirements for high network availability.

[0052] In one embodiment, the method can further establish a linkage relationship between the service port and the local port, and link the service port and the local port, or link the state changes of the service port and other service ports, and link the state changes of the local port and the service port, or the local port and other local ports, specifically including:

[0053] S21, Generate the linkage relationship between the service port and the local port on the primary link; if the service offloading primary device is connected to a service port belonging to multiple base stations to a single local port, the linkage relationship includes the linkage relationship between the service port on the primary link and other service ports; if the service offloading primary device is connected to a local port belonging to multiple local networks to a single service port, the linkage relationship includes the linkage relationship between the local port on the primary link and other local ports, where the service port is the interface with the base station and the local port is the interface with the network forwarding device.

[0054] S22, based on the linkage relationship, link the status change of the service port to the status change of the local port or other service ports. Further, obtain the link status between the service port and the local port, determine whether the link status no longer changes. If the determination result is yes, update the link status between the service port and the local port; if the determination result is no, obtain the current link status between the service port and the local port, and sequentially link the link status of the local port to the link status of the service port until the link status between the service port and the local port no longer changes.

[0055] S23, link the status change of the local port to the status change of the service port or other local ports, wherein the port transmission interruption is linked to the port being blocked, and the port transmission recovery is linked to the port being unblocked.

[0056] This disclosure can be applied to industrial applications. In high-reliability industrial applications using 5G toB private networks, the network forwarding device can be a switch or a UPF. A dedicated MEC is deployed on the base station chassis or a separate chassis in the industrial field. The base station is dual-connected to both the dedicated MEC and the UPF. Simultaneously, the campus Packet Data Network (PDN) server is dual-connected to both the dedicated MEC and the UPF through primary and backup switches. The UPF in the MEC+UPF primary / backup deployment can be a public network UPF, connected to the primary and backup switches via a transmission network. In industrial parks such as power grids, large ports, mines, and steel smelting plants, private network UPFs can be configured. Therefore, the UPF in the MEC+UPF primary / backup deployment can also be a private network UPF, connected to the primary and backup switches. The N3 port between the base station and the UPF is connected in series with the dedicated MEC device. Uplink data from the base station can be sent to the UPF or the dedicated MEC. Uplink private network data is offloaded to the local PDN server via the MEC or UPF, while downlink data from the campus PDN server is forwarded to the base station via the MEC or UPF. When the MEC equipment and transmission connection are normal, user uplink data (i.e., the UE's dedicated uplink data mentioned above) is forwarded by the base station to the dedicated MEC and offloaded to the local PDN server. Downlink data sent from the local PDN server to the user (i.e., the downlink private network data mentioned above) is forwarded by the MEC to the base station via the primary route at the switch. In scenarios where the MEC equipment and transmission connection fail, user uplink data is forwarded by the base station to the UPF and offloaded to the local PDN server. Downlink data sent from the local PDN server to the user is forwarded by the UPF to the base station via the backup route at the switch.

[0057] In high-reliability industrial applications, the wireless side implements dual-bearer, dual-channel protection, thus providing high-reliability service transmission and forwarding guarantees simultaneously on both the core network and the wired side. The base station and the campus PDN server connect to the MEC and UPF via dual connectivity. The MEC serves as the primary link, providing low forwarding latency, while the UPF serves as the backup link, providing reliable backup forwarding guarantees. The MEC independently detects and decides on failover, while the base station, switches, and UPF collaborate to control the primary / backup failover latency to within seconds in the event of a fault. This invention proposes a networking scheme with dedicated MEC and core network primary / backup deployment, leveraging the convenience of dedicated MEC deployment and its high-performance service offloading capabilities. Depending on the campus size and service reliability requirements, a dedicated core network or a public core network can be flexibly selected. When using the existing public core network as a backup link, it inherits the reliable data transmission channel of the existing public core network, reducing the deployment cost of the dedicated core network. Simultaneously, primary / backup functionality between different systems can be achieved without signaling interaction between the dedicated MEC and UPF.

[0058] This disclosure also provides a private network data processing system. Figure 3 is a block diagram of the private network data processing system according to an embodiment of this disclosure. As shown in Figure 3, the system includes: a base station, a primary service offloading device, a backup service offloading device, and a network forwarding device. The network forwarding device is connected to the private network. The base station is connected to the primary service offloading device and the network forwarding device to form a primary link for service data forwarding. The base station is connected to the backup service offloading device and the network forwarding device to form a backup link for service data forwarding.

[0059] The service offloads the primary device to initiate the operation status detection of the primary link according to the primary and backup deployment configuration, determine the operation status of the primary link, and determine the target transmission link based on the operation status. The target transmission link is either the primary link or the backup link. Based on the target transmission link, the uplink dedicated data of the UE is forwarded to the dedicated network, and the downlink dedicated data of the dedicated network is forwarded to the UE.

[0060] The primary service offloading device, also known as the private network service offloading device, identifies services, provides network communication and computing resources, and offloads services to the local network. The primary service offloading device can be an MEC, a NodeEngine, or other service offloading devices. This embodiment uses a dedicated MEC, or simply MEC, as an example. The dedicated MEC serves as the primary link forwarding device for UE access to the campus server, connected in series between the base station and the UPF N3 port, and also connected to the primary and backup switches. When the MEC primary link is active, UE uplink data can access the local PDN server through the base station-MEC-primary / backup switch; downlink data from the PDN server is sent to the UE through the primary / backup switch-MEC-base station. The dedicated MEC establishes a linkage relationship between the base station-side service port link and the local network-side local port link, and periodically detects the status of the linked network nodes. By blocking / unblocking the linked link nodes, it achieves synchronous switching of uplink and downlink services to the UPF backup link or back to the MEC primary link.

[0061] Service offloading backup equipment, also known as private network service offloading backup equipment, performs service identification, provides network communication resources, and offloads services to the local network. Specifically, it can be a UPF (User-Defined Network). Taking a UPF as an example, the UPF acts as a backup link forwarding device for UEs accessing the campus server. It connects to the base station on port N3 and to the PDN server via the primary / backup switch on port N6, and publishes routing information to the primary / backup switch. The UPF can be a private network UPF within the campus or a public network UPF. When the UPF backup link is activated, the UPF receives uplink data from the base station and forwards it to the local PDN server via the primary / backup switch; downlink data from the PDN server is sent to the UE via the primary / backup switch-UPF-base station.

[0062] In one embodiment, the service offloading primary device is further configured to determine the target transmission link as the primary link when the primary link is in normal or has recovered to normal operation; and to determine the target transmission link as the backup link when the primary link is in abnormal operation.

[0063] In one embodiment, the service offloading primary device is further configured to detect whether the status of the service port on the primary link is abnormal, wherein the service port is the interface between the service offloading primary device and the base station; detect whether the status of the local port on the primary link is abnormal, wherein the local port is the interface between the service offloading primary device and the network forwarding device; if the status of the service port or the local port on the primary link is abnormal, determine that the primary link is abnormal; if the status of the service port and the local port on the primary link is normal, determine that the primary link is normal or has recovered to normal.

[0064] In one embodiment, the service offloading primary device is further configured to: determine that the state of the service port on the primary link is abnormal in the event of a transmission link failure with the base station, a service port actively disconnecting the transmission link due to a local port failure, or a service port actively disconnecting the transmission link due to another service port failure; determine that the state of the service port on the primary link returns to normal in the event of a transmission link failure with the base station being resolved, a local port failure being resolved, or another service port failure being resolved; determine that the state of the local port on the primary link is abnormal in the event of a transmission link interruption with the network forwarding device, a local port disconnecting the transmission link due to a service port failure, or a local port disconnecting the transmission link due to another local port failure; and determine that the state of the local port on the primary link returns to normal in the event of a transmission link interruption being resolved with the network forwarding device being resolved, a service port failure being resolved, or another local port failure being resolved.

[0065] In one embodiment, the service offloading primary device is further configured to generate port linkage relationships between service ports and local ports at both ends of a primary link; when a service port belonging to multiple base stations is connected to one local port, port linkage relationships between service ports and other service ports on the primary link are generated; when a service port belonging to multiple private networks is connected to one service port, port linkage relationships between local ports and other local ports on the primary link are generated; based on the linkage relationships, the state changes of the service port are linked to the state changes of the local port or other service ports, and the state changes of the local port are linked to the state changes of the service port and other local ports, wherein, port transmission interruption linkage is associated with port blocking, and port transmission recovery linkage is associated with port deblocking; the linkage relationship between service ports and local ports on the primary link is generated, wherein the service port is the interface between the service offloading primary device and the base station, and the local port is the interface between the service offloading primary device and the network forwarding device; based on the linkage relationships, the state changes of the service port are linked to the state changes of the local port, and the state changes of the local port are linked to the state changes of the service port.

[0066] In one embodiment, the base station is configured to: if the target transmission link is the primary link, confirm that the target link is the primary link based on the link status of the service offloading primary device, send uplink private network data to the service offloading primary device, and forward downlink private network data forwarded by the service offloading primary device to the UE; if the target transmission link is a backup link, confirm that the target link is a backup link based on the link status of the service offloading primary device, forward uplink private network data to the service offloading backup device, and forward downlink private network data forwarded by the service offloading backup device to the UE.

[0067] The service offload function is used to indicate whether the target transmission link is the primary or backup link by confirming the link status. Specifically, it instructs the base station and network forwarding equipment to know whether the current target transmission link is the primary or backup link. If the target transmission link is the primary link, the uplink private network data forwarded by the base station is forwarded to the network forwarding equipment, and the downlink dedicated data forwarded by the network forwarding equipment is forwarded to the base station. If the target transmission link is the backup link, the base station is instructed to forward the uplink dedicated data to the private network through the backup link, and the network forwarding equipment is instructed to forward the downlink dedicated data to the UE through the backup link.

[0068] The service offloading backup equipment is used to forward uplink dedicated data forwarded by the base station to the network forwarding equipment and downlink dedicated data forwarded by the network forwarding equipment to the base station if the target transmission link is a backup link.

[0069] The network forwarding device is used to: if the target transmission link is the primary link, confirm that the target link is the primary link based on the link status of the service offloading primary device, forward the uplink private network data forwarded by the service offloading primary device to the private network, and forward the downlink private network data to the service offloading primary device; if the target transmission link is a backup link, forward the uplink private network data forwarded by the base station to the service offloading backup device, and confirm that the target link is a backup link based on the link status of the service offloading primary device, forward the downlink private network data to the service offloading backup device.

[0070] The base station connects the MEC and UPF using a dual-connectivity approach, as does the campus PDN. The dedicated MEC serves as the primary service offloading device, performing service identification, resource calculation, and local service offloading. The public or private network UPF serves as the backup service offloading device, providing a backup forwarding channel for service identification and offloading. The MEC achieves node-to-node linkage between the base station-MEC service interface and the MEC-campus PDN local interface. This ensures that when the MEC primary link fails, the UPF backup link is activated. When the MEC primary link recovers, services carried on the UPF backup link automatically switch back to the MEC primary link, while simultaneously ensuring synchronous switching of uplink and downlink data between the UE and the campus PDN between the primary and backup links.

[0071] The base station establishes dual connections with the dedicated MEC and UPF, and decides whether to forward uplink data from the UE to the primary MEC link or the backup UPF link. The base station periodically checks the link connection status with the MEC and UPF. If the base station-MEC link is normal, the uplink data decision is to use the primary MEC link: encapsulating the UE's private network slice data in a tunnel and forwarding it to the MEC. If the base station-MEC link is abnormal, the uplink data decision is to use the backup UPF link: sending the UE's private network slice data to the UPF. In the downlink direction, the base station receives data from either the primary MEC link or the backup UPF link and forwards it to the UE.

[0072] Specifically, the network forwarding equipment can be a primary or backup switch. The campus PDN server is dual-connected to the MEC and UPF through the primary and backup switches. The primary and backup switches are configured with transmission protocols to detect the link status with the MEC or UPF, deciding whether to forward downlink data from the PDN server to the primary link of the MEC or the backup link of the UPF. The primary and backup switches periodically check the link connection status with the MEC and UPF, and perform switching between the primary link of the MEC and the backup link of the UPF based on routing status and priority. If the primary / backup switch-MEC link is normal, downlink data will use the primary link of the MEC: forwarding data from the campus PDN server to the MEC; if the base station-MEC link is abnormal, downlink data will use the backup link of the UPF: sending data from the campus PDN server to the UPF. In the uplink direction, the primary and backup switches receive data from the primary link of the MEC or the backup link of the UPF and forward it to the campus PDN server.

[0073] In one embodiment, the service offloading primary device is further configured to, when the status of the local interface on the primary link is abnormal, stop sending a link control keep-alive response message to the base station or indicate blockage through the status bit field of the protocol message upon receiving a link control keep-alive request message sent by the base station, wherein the local interface is the interface between the service offloading primary device and the network forwarding device; and when the status of the service interface is abnormal, stop sending a link control keep-alive message to the network forwarding device or indicate blockage through the status bit field of the protocol message, wherein the service interface is the interface between the service offloading primary device and the base station, and the local interface is the interface between the service offloading primary device and the network forwarding device;

[0074] The base station is also used to forward uplink dedicated data to the dedicated network via a backup link when it does not receive a link control keep-alive response message or receives a protocol message with the status bit set to block.

[0075] The network forwarding device is also used to forward downlink dedicated data to the UE via a backup link when no link control keep-alive message is received or the status bit of the received protocol message is blocked.

[0076] In one embodiment, the base station is further configured to initiate operation status detection of the primary link and the backup link, select an uplink valid route based on the link status detection results, configure the priority of the primary link to be greater than the priority of the backup link, and forward uplink private network data based on the uplink valid route;

[0077] The network forwarding device is also used to initiate primary link status detection and backup link status detection, select downlink valid routes based on the link status detection results, configure the priority of the primary link to be higher than the priority of the backup link, and forward downlink private network data based on the downlink valid routes.

[0078] In one embodiment, the base station is further configured to determine that the primary link is abnormal in the event of a transmission link failure between the primary service offloading device and the service offloading device, a service port actively disconnecting the transmission link due to a local port failure, or a service port actively disconnecting the transmission link due to other service ports; and to determine that the primary link has returned to normal in the event of a transmission link failure between the primary service offloading device and the service offloading device being resolved, a local port failure being resolved, or other service port failures being resolved; when the primary link is normal, the route of the primary link is selected as the uplink valid route; when the primary link is abnormal, the route of the backup link is selected as the uplink valid route; the service port is the interface between the primary service offloading device and the base station; and the local port is the interface between the primary service offloading device and the network forwarding device.

[0079] The network forwarding device is also used to determine that the primary link is abnormal in the event of a transmission link failure between the primary device for service offloading, a transmission link disconnection of the local port due to a service port failure, or a transmission link disconnection of the local port due to a failure of other local ports; and to determine that the primary link has returned to normal in the event of a transmission link failure between the primary device for service offloading, a service port failure, or a failure of other local ports; when the primary link is normal, the route of the primary link is selected as the effective downlink route; when the primary link is abnormal, the route of the backup link is selected as the effective downlink route.

[0080] The embodiments of this disclosure are described in detail below with examples.

[0081] This disclosure embodiment enables service offloading of 5G MEC and UPF primary / backup deployments. Specifically, on the link where a mobile terminal (toB) user accesses a local server via service offloading, an additional inter-system service offloading device is deployed to offload private network services locally. The base station and the local server are dual-connected to both service offloading devices, and the system selects the link where the service offloading device is located in real time to forward uplink or downlink user data. Figure 4 is an architecture diagram of the 5G MEC and UPF primary / backup deployment service offloading system according to this disclosure embodiment. As shown in Figure 4, the UE accesses the campus server and transmits data streams with the private network through the primary link. Figure 5 is an architecture diagram of the 5G MEC and UPF primary / backup deployment service offloading system according to this disclosure embodiment. As shown in Figure 5, when the UE accesses the campus server, the primary link switches to the backup link, and data stream transmission between the UE and the private network is achieved through the backup link. The 5G MEC and UPF primary / backup deployment service offloading system includes:

[0082] The primary service offloading device identifies services, provides network communication and computing resources, and offloads services to the local network. The primary service offloading device for the private network can be an MEC, NodeEngine, or other service offloading devices. The MEC acts as the primary link forwarding device for UE access to the campus server, connected in series between the base station and the UPF N3 port. The MEC can be deployed in the base station chassis or a standalone chassis in the campus equipment room, connecting to the base station and UPF via fiber optic access transmission network. The MEC-base station interface is the service port; multiple service ports are formed when the MEC establishes communication links with multiple external base stations. The MEC also connects to multiple local PDN servers through primary and backup switches. The MEC-primary and backup switch interface is the local port; the MEC can establish multiple local ports with the primary and backup switches. Link detection protocols are configured on both the service port and the local port of the MEC.

[0083] When the primary link is active, UE uplink data can access the local PDN server via base station-MEC-primary / backup switch; downlink data from the PDN server is sent to the UE via primary / backup switch-MEC-base station. The dedicated MEC establishes a linkage relationship between the base station-side service port link and the local network-side local port link, and periodically detects the status of the linked network nodes. By blocking / unblocking the linked link nodes, uplink and downlink services are synchronously switched to the UPF backup link or switched back to the MEC primary link.

[0084] UPF (Service Offloading Backup Device): Performs service identification, provides network communication resources, and offloads services to the local network. As a backup link forwarding device for UE access to the campus server, the UPF connects to the base station via port N3 and to the PDN server via the primary / backup switch via port N6, publishing routing information to the primary / backup switch. The UPF can be a private network UPF within the campus or a public network UPF at the county / city level. When the UPF backup link is active, the UPF receives uplink data from the UE sent by the base station and forwards it to the local PDN server via the primary / backup switch; downlink data from the PDN server is sent to the UE via the primary / backup switch-UPF-base station.

[0085] Base Station: Establishes dual connections with the dedicated MEC and UPF, and decides whether to forward uplink data from the UE to the MEC primary link or the UPF backup link. The base station connects to the transmission network via fiber optic cable from the panel port and can be deployed in the same chassis or equipment room as the MEC. The base station connects to the MEC via an internal switching chip or the transmission network, and to the UPF via the transmission network. The base station periodically checks the link connection status with the MEC and UPF. If the base station-MEC link is normal, the uplink data decision is to use the MEC primary link: encapsulating the UE's private network slice data in a tunnel and forwarding it to the MEC; if the base station-MEC link is abnormal, the uplink data decision is to use the UPF backup link: sending the UE's private network slice data to the UPF. In the downlink direction, the base station receives data from the MEC primary link or the UPF backup link and forwards it to the UE.

[0086] Primary and Backup Switches: The campus PDN server connects the MEC and UPF via primary and backup switches. The primary and backup switches are configured with transmission protocols to detect the link status with the MEC or UPF, deciding whether to forward downlink data from the PDN server to the primary link of the MEC or the backup link of the UPF. As shown in Figures 4 and 5, Port1 of the primary and backup switches connects to the MEC, Port2 connects to the UPF via the transmission network, and Port3 connects to the campus PDN server. Link detection protocols, routing, and forwarding decisions are configured on the primary and backup switches. The primary and backup switches periodically detect the link connection status with the MEC and UPF, and perform switching between the primary link of the MEC and the backup link of the UPF based on the routing status and priority. If the primary / backup switch-MEC link is normal, downlink data is decided to use the primary link of the MEC: forwarding data from the campus PDN server to the MEC; if the base station-MEC link is abnormal, downlink data is decided to use the backup link of the UPF: sending data from the campus PDN server to the UPF. In the uplink direction, the primary and backup switches receive data from the primary link of the MEC or the backup link of the UPF and forward it to the campus PDN server.

[0087] As shown in Figure 4, when the primary link of the MEC+UPF primary / backup deployment is activated, the communication link between the MEC and the base station is normal, the eth1 port connected to the local network is activated, and the link communication with the primary / backup switch is normal. As shown in Figure 5, uplink and downlink service data are forwarded from the backup link: at this time, the communication link between the MEC and the base station is disconnected, the eth1 port of the MEC connected to the local network is deactivated, and the UE accesses the campus PDN server through the UPF-primary / backup switch; downlink data from the campus PDN server is forwarded to the UPF-base station-UE through the primary / backup switch.

[0088] The primary / backup link switching of the 5G MEC and UPF primary / backup deployment service offloading system can specifically include: Based on the characteristics of 5G network slicing and the reliability requirements of campus network resource deployment, and according to the network slicing reliability networking requirements, a dedicated MEC orchestrates and generates a linkage relationship between the service port and the local port, and configures a link detection protocol on the service port and the local port. A peer-to-peer link detection protocol is configured on the interface between the base station and the MEC, and an uplink routing policy is also configured. A peer-to-peer link detection protocol is configured on the interface between the primary / backup switch and the MEC, and a downlink routing policy is also configured. The MEC periodically detects the link status of the service port and the local port, and executes service linkage between the service port and the local port to achieve real-time switching of the primary / backup link in the MEC and UPF primary / backup service offloading system. Figure 6 is a flowchart of the primary / backup switching according to an embodiment of this disclosure. As shown in Figure 6, it includes the following steps:

[0089] Step S610: MEC generates a network linking service ports and local ports.

[0090] Based on the QoS level and reliability requirements of B2B industrial park services, wireless network slicing, base station transmission resources, and local network APP server transmission resources are planned to generate a service linkage network between the MEC's ​​service ports connecting to the base station and the local ports connecting to the park server. The service linkage mechanism of the service ports and local ports is explained as follows: Each linkage line on the MEC contains two ports, namely a service port and a local port. If the state of one port automatically affects the state change of the other port, it actually triggers the synchronization of the packet transmission and reception enable states of the two ports. Multiple service port and local port linkage lines on the MEC form a service linkage network.

[0091] Campus servers APP1 and APP2 have high reliability requirements and are dual-connected to both MEC and UPF. Services on private network slice A and private network slice B access campus servers APP1 and APP2 respectively. Campus server APP3 has low reliability requirements, is single-connected to MEC, and corresponds to other slice services. The IP address of the MEC service port eth0 is IP_MECB, and the IP address of the local port eth1 is IP_MECL. A tunnel is established between the base station and the MEC service port to transmit service data, such as a GRE tunnel. The base station service IP and IP_MECB are the outer IP address of the GRE tunnel. A BFD session is established between the MEC local port and the switch connected to the server APP. The interface IP addresses corresponding to the BFD session are IP_MECL and IP_APP.

[0092] Figure 7 is a schematic diagram of the service port and local port linkage mapping network according to this embodiment of single service link and single local link. As shown in Figure 7, this master-slave network configuration is relatively simple, with n base stations establishing n linkage relationships. The private network multi-slice services of the base station are carried on a single service IP address IP_A channel, and the local port multi-APP services are mapped to a single BFD session. This example takes 3 base stations as an example, establishing a service linkage network of 3 service ports (gNodeB1, gNodeB2, gNodeB3) and 1 local port (APP1+APP2), with linkage relationships of L1AB12, L2AB12 and L3AB12. Taking L1AB12 as an example, the letter "L" represents the linkage relationship (Linkage), the number "1" represents gNodeB1, the letter "AB" represents slice A and slice B, and the number "12" represents APP1 and APP2.

[0093] Local port 12 on the MEC is associated with APP1 and APP2. The linkage relationships corresponding to local port 12 include L1AB12, L2AB12, and L3AB12. If the transmission link between the MEC and APP1 / APP2 fails, the MEC will block the service port links of slice A and slice B on gNodeB1, gNodeB2, and gNodeB3. Therefore, all service data will use the UPF backup channel.

[0094] The linkage relationship corresponding to service port 1 on the MEC is L1AB12. If the transmission link between the MEC and gNodeB1 fails, according to the linkage relationship (L1AB12), the MEC blocks local port link 12 of APP1 / APP2. According to the linkage relationships (L2AB12, L3AB12), the MEC continues to block service port links 2 and 3 of slice A and slice B on gNodeB2 and gNodeB3. Therefore, all service data goes through the UPF backup channel.

[0095] Figure 8 is a schematic diagram of the service port and local port linkage mapping network according to this embodiment of the multi-service link and multi-local link. As shown in Figure 8, the primary and backup deployment is relatively complex, but each slice is independent and does not affect each other, resulting in higher reliability. n base stations and m independent APPs establish n×m linkage relationships. The private network multi-slice services of the base stations are carried on two service IP addresses, IP_A and IP_B, and the local port multi-APP services are mapped to two BFD sessions. This embodiment takes 3 base stations and 2 APPs as an example. The service port and local port service linkage network establishes 6 linkage relationships: L1A1, L2A1, L3A1, L1B2, L2B2, and L3B2. Taking L1A1 as an example, the letter "L" represents the linkage relationship (Linkage), the number "1" represents gNodeB1, the letter "A" represents slice A, and the number "1" represents APP1.

[0096] If the transmission link between MEC and APP1 fails, the impact on local port 1 only includes L1A1, L2A1, and L3A1. In this case, MEC will block service port link 1 of slice A on gNodeB1, gNodeB2, and gNodeB3. Service data of APP1 corresponding to slice A on gNodeB1, gNodeB2, and gNodeB3 will use the UPF backup channel, but service data of APP2 corresponding to slice B on gNodeB1, gNodeB2, and gNodeB3 will still use the MEC primary channel.

[0097] If the transmission link IP_A corresponding to slice A between MEC and gNodeB1 fails, the impact on local interface 1 only includes L1A1, L2A1, and L3A1. Therefore, MEC blocks local interface link 1 between gNodeB1 and APP1. Simultaneously, based on the linkage relationships L2A1 and L3A1, MEC blocks service interface links 2 and 3 of slice A on gNodeB2 and gNodeB3. Thus, service data for slice A on gNodeB1, gNodeB2, and gNodeB3 will use the UPF backup channel, but service data for slice B on gNodeB1, gNodeB2, and gNodeB3 will still use the MEC primary channel.

[0098] Step S620: Configure the link state detection protocol, uplink / downlink routing policy, and forwarding policy.

[0099] Link state detection protocols must be configured on the ports of the base station, MEC, and primary / backup switches. For dual connections between the base station and the MEC and UPF, routing and forwarding policies need to be configured.

[0100] Figure 9 is a schematic diagram of BFD bidirectional forwarding detection linked to GRE general route encapsulation detection or static routing according to this embodiment. As shown in Figure 9, the principle of uplink link primary / backup switching is as follows: Uplink data sent from the base station's N3 port to the UPF uses ordinary IP routing. A GRE link is configured between the base station and the MEC. Therefore, the base station needs to encapsulate the original N3 port data in a GRE tunnel before sending it to the MEC. The base station-side GRE routing priority is configured to be higher than the IP routing priority. When the GRE link fails or the MEC actively disconnects the GRE link due to a local port failure, the uplink data is switched to the UPF backup link. When the GRE link failure is recovered or the local port failure is recovered, both GRE routing and IP routing are effective. However, because the GRE routing has a higher priority, the primary / backup switch switches the uplink data back to the MEC's ​​primary link.

[0101] Downlink primary / backup switchover principle: A BFD session is configured between the switch and the MEC, and the BFD session is linked to static routes. The switch is configured with BGP and receives BGP route advertisements from the UPF. Simultaneously, a forwarding policy is configured on the switch: static routes have higher priority than BGP routes. The MEC configures a peer-to-peer BFD session on the switch side on its local port and implements BFD linked to the service port's GRE. When the transmission link corresponding to the BFD session on the MEC is interrupted, or when the MEC disconnects the BFD session on its local port due to a service port failure, downlink data is switched to the UPF backup link. When the transmission link corresponding to the BFD session on the MEC is restored, or when the MEC service port failure is resolved, because the MEC's ​​primary link has higher routing priority, the primary and backup switches switch the downlink data back to the MEC's ​​primary link.

[0102] Step S630: MEC initiates service port and local port link detection and status linkage.

[0103] Both the service port and the local port have two states: link state and admin state. The link state reflects the transmission link status, while the admin state is the link blocking (admin down) and link unblocking (admin up) caused by linkage.

[0104] MEC enables peer devices (base stations / primary / backup switches) to detect changes in link status by setting the management state of the local link on a linked link. The method is as follows: when the MEC's ​​uplink is set to admin down, the MEC will no longer respond to keep-alive response messages or actively send control request messages. When the MEC's ​​uplink is set to admin up, the MEC will resume responding to keep-alive response messages or can actively send control request messages.

[0105] MEC synchronizes the states of both ends of a linked link on its own device to achieve a change in the associated state of the local port and service port of a linked link, thereby triggering a synchronous switchover of the uplink and downlink of the services carried on this linked link. MEC traverses the port states of all linked links on the linked network to achieve primary / backup link switching for all services on the linked network. Service linkage execution process: The service port and local port of a linked link are labeled X or Y. Changes in the link state of X or Y require synchronous updates to the management state of all nodes on the entire linked network. The X link state of a linked link triggers a management state update of Y, and a change in the management state of Y triggers updates to the X port management state of other linked links associated with Y. Traversing the link states of all X links on the linked network completes the update of the management state of Y for the entire linked network.

[0106] Figure 10 is a schematic diagram of MEC local port linkage detection according to this embodiment. As shown in Figure 10, the linkage sequence of MEC local port linkage with service port is: 1. Local port BFD link status change (link up <-> link down) -> 2. Execute BFD link linkage with GRE link status change (admin up <-> admin down) -> 3. Execute GRE link linkage with other BFD link status changes (admin up <-> admin down). Figure 11 is a schematic diagram of MEC service port linkage detection according to this embodiment. As shown in Figure 11, the linkage sequence of MEC service port linkage with local port is: 1. Service port GRE link status change (link up <-> link down) -> 2. Execute GRE link linkage with BFD link status change (admin up <-> admin down) -> 3. Execute BFD link linkage with other GRE link status changes (admin up <-> admin down).

[0107] Figure 12 is a flowchart of the linkage between the local port and the service port of the MEC according to an embodiment of the present disclosure. As shown in Figure 12, the linkage process between the local port and the service port of the MEC includes the following steps:

[0108] Step S1200: After the business linkage cycle is over, MEC starts executing the business linkage between the local port and the business port.

[0109] Step S1201: The MEC initializes the link status and management status of all local ports and service ports, and obtains the current link status of the local ports and service ports. Specifically, they can all be initialized to link up and admin up.

[0110] In step S1202, the MEC monitors the link status and management status of the local port and service port to determine if they will no longer change. If the status changes, continue executing S1203, S1204, and S1205 until the status no longer changes. Finally, execute step S1206.

[0111] Step S1203: MEC reads the current local port and service port link status.

[0112] Step S1204: MEC performs a local port link status linkage management status traversal.

[0113] Step S1205: MEC performs a status traversal of the service port link status linkage management.

[0114] Step S1206: MEC updates the management status of local ports and service ports.

[0115] Specifically, step S1204 further includes: if the link status of local port i is down and its management status changes to down, and the management status of the service port j associated with local port i is up, then the management status of service port j is set to down. At the same time, all other local ports k associated with service port j are traversed, and if the link status of local port k is up, then the management status of local port k is set to down.

[0116] Specifically, step S1205 further includes: if the link status or management status of the service port j associated with local port i becomes down, and if the management status of local port i is up, then set the management status of local port i to down.

[0117] Step S640: MEC initiates MEC-UPF link primary / backup switchover.

[0118] Figure 13 is a flowchart of MEC initiating MEC-UPF link primary / standby failover according to an embodiment of the present disclosure. As shown in Figure 13, it includes the following steps:

[0119] Step S1300: MEC starts the MEC-UPF link to perform primary / backup switchover.

[0120] Step S1301: After the detection cycle is over, the MEC reads the status of all service port GRE links and local port BFD links, and detects the link status and management status of each link.

[0121] In step S1302, the MEC detects whether the link status and management status of BFD or GRE are down. If so, proceed to step S1303, and then proceed to step S1404.

[0122] Step S1303: Uplink and downlink data are switched from the MEC primary link to the UPF backup link. The sub-steps of S1303 include:

[0123] S1303a, MEC stops sending BFD control messages to the peer switch; when MEC receives a GRE keep-alive request, it stops sending GRE keep-alive responses to the base station.

[0124] In the S1303b, after the primary and backup switches detect a BFD link failure, they switch the downlink to the backup UPF link.

[0125] S1303c: After the base station detects that the GRE link keep-alive has failed, it switches the uplink to the backup UPF link.

[0126] If MEC detects that both BFD and GRE links are updated to "up" in step S1302, then proceed to step S1304.

[0127] Step S1304, uplink and downlink data are switched back from the UPF backup link to the MEC primary link. S1304 may further include:

[0128] S1304a, the MEC resumes sending BFD control messages to the peer switch; when the MEC receives a GRE keep-alive request, it resumes sending a GRE keep-alive response to the base station.

[0129] S1304b: After the primary and backup switches detect that the BFD link has been restored, they will switch the downlink to the primary MEC link.

[0130] S1304c: After the base station detects that the GRE link has been restored to keep-alive, it will switch the uplink to the primary MEC link.

[0131] In 5G MEC and UPF primary / backup deployment scenarios, when the primary / backup link switches over, the service interruption time can be controlled within seconds.

[0132] This disclosure also provides a computer program product, including computer program instructions, wherein the computer program instructions cause a computer to implement the steps in any of the above method embodiments.

[0133] Embodiments of this disclosure also provide a computer-readable storage medium storing a computer program configured to perform the steps in any of the above method embodiments when executed.

[0134] In one exemplary embodiment, the aforementioned computer-readable storage medium may include, but is not limited to, various media capable of storing computer programs, such as a USB flash drive, read-only memory (ROM), random access memory (RAM), portable hard disk, magnetic disk, or optical disk.

[0135] Embodiments of this disclosure also provide an electronic device including a memory and a processor, the memory storing a computer program and the processor being configured to run the computer program to perform the steps in any of the above method embodiments.

[0136] In one exemplary embodiment, the electronic device may further include a transmission device and an input / output device, wherein the transmission device is connected to the processor and the input / output device is connected to the processor.

[0137] Specific examples in this embodiment can be found in the examples described in the above embodiments and exemplary implementations, and will not be repeated here.

[0138] It is obvious to those skilled in the art that the modules or steps of this disclosure described above can be implemented using general-purpose computing devices. They can be centralized on a single computing device or distributed across a network of multiple computing devices. They can be implemented using computer-executable program code, and thus can be stored in a storage device for execution by a computing device. In some cases, the steps shown or described can be performed in a different order than those presented herein, or they can be fabricated as separate integrated circuit modules, or multiple modules or steps can be fabricated as a single integrated circuit module. Thus, this disclosure is not limited to any particular combination of hardware and software.

[0139] The above description is merely a preferred embodiment of this disclosure and is not intended to limit this disclosure. Various modifications and variations can be made to this disclosure by those skilled in the art. Any modifications, equivalent substitutions, improvements, etc., made within the principles of this disclosure should be included within the scope of protection of this disclosure.

Claims

1. A private network data processing method, applied to a primary device for service offloading, the method comprising: The primary link's operational status is detected and determined according to the primary / backup deployment configuration. The primary link is formed by connecting the base station with the service offloading primary device and the network forwarding device. The target transmission link is determined based on the operating status, wherein the target transmission link is the primary link or the backup link, and the backup link is formed by connecting the base station with the service offloading backup equipment and the network forwarding equipment; According to the target transmission link, the uplink dedicated data of the user equipment (UE) is forwarded to the dedicated network, and the downlink dedicated data of the dedicated network is forwarded to the UE.

2. The method according to claim 1, wherein, Determining the target transmission link based on the operating status includes: If the primary link is operating normally in the specified operating state, then the target transmission link is determined to be the primary link. If the primary link is in an abnormal operating state, the target transmission link is determined to be the backup link.

3. The method according to claim 2, wherein, The method further includes: Detect whether the status of the service port on the primary link is abnormal, wherein the service port is the interface with the base station; Detect whether the status of the local port on the primary link is abnormal, wherein the local port is the interface with the network forwarding device; If the status of the service port or the local port on the primary link is abnormal, the primary link is determined to be abnormal; if the status of the service port and the local port on the primary link is normal, the primary link is determined to be normal or has recovered to normal.

4. The method according to claim 3, wherein, Detecting whether the status of the service port on the primary link is abnormal includes: In the event of a transmission link failure with the base station, a service port actively disconnecting the transmission link due to a local port failure, or a service port actively disconnecting the transmission link due to a failure of other service ports, the status of the service port on the primary link is determined to be abnormal. In the event that the transmission link between the base station is restored from failure, the local port is restored from failure, or the other service port is restored from failure, the status of the service port on the primary link is determined to be normal. Detecting whether the status of the local port on the primary link is abnormal includes: In the event that the transmission link between the network forwarding device and the local port is interrupted, the local port disconnects the transmission link due to a failure of the service port, or the local port disconnects the transmission link due to a failure of other local ports, the state of the local port on the primary link is determined to be abnormal. If the transmission link between the network forwarding device is interrupted and restored, the service port is fault-free and restored, or other local ports are fault-free and restored, the status of the local port on the primary link is determined to be restored to normal.

5. The method according to claim 1, wherein, Forwarding uplink dedicated data of the UE to the dedicated network according to the target transmission link, and forwarding downlink dedicated data of the dedicated network to the UE, includes: If the target transmission link is the primary link, the system receives uplink private network data sent by the base station, sends the uplink private network data to the private network through the primary link, and receives downlink private data of the private network forwarded by the network forwarding device, and forwards the downlink private data to the UE through the base station. If the target transmission link is the backup link, the base station is notified to forward the uplink dedicated data to the dedicated network through the backup link; the network forwarding device is notified to forward the downlink dedicated data to the UE through the backup link.

6. The method according to claim 5, wherein, The base station is notified to forward the uplink dedicated data to the dedicated network through the backup link; Notifying the network forwarding device to forward the downlink dedicated data to the UE via the backup link includes: In the event of an abnormal state of the local interface on the primary link, upon receiving a link control keep-alive request message from the base station, the system instructs the base station to forward the uplink dedicated data to the dedicated network via the backup link by either ceasing to send link control keep-alive response messages to the base station or actively sending a link control message with the link status field set to blocked. The local interface is the interface with the network forwarding device. In the event of an abnormal status of the service port, the network forwarding device is notified to forward the downlink dedicated data to the UE through the backup link by either ceasing to send link control keep-alive messages to the network forwarding device or actively sending link control messages carrying a blocked link status field to the network forwarding device. Here, the service port is the interface with the base station, and the local port is the interface with the network forwarding device.

7. The method according to claim 1, wherein, The method further includes: Generate the linkage relationship between the service port and the local port on the primary link; if the service offloading primary device is connected to one local port from the service ports belonging to multiple base stations, the linkage relationship includes the linkage relationship between the service port and other service ports on the primary link; if the service offloading primary device is connected to one service port from the local port belonging to multiple local networks, the linkage relationship includes the linkage relationship between the local port and other local ports on the primary link, wherein the service port is the interface with the base station, and the local port is the interface with the network forwarding device; According to the linkage relationship, the state change of the service port is linked to the state change of the local port or the other service ports, and the state change of the local port is linked to the state change of the service port or the other local ports. Among them, the port transmission interruption linkage is associated with the port being blocked, and the port transmission recovery linkage is associated with the port being unblocked.

8. The method according to claim 7, wherein, Linking the state changes of the service port to the state changes of the local port based on the aforementioned linkage relationship includes: Obtain the link status between the service port and the local port; Determine whether the link status of the link no longer changes; If the determination result is yes, update the link status between the service port and the local port; If the determination result is negative, the current link status of the service port and the local port is obtained, and the link status of the local port is sequentially linked with the link status of the service port until the link status of the service port and the local port no longer changes.

9. A private network data processing system, the system comprising: The system includes a base station, a primary service offloading device, a backup service offloading device, and a network forwarding device. The network forwarding device is connected to a private network. The base station is connected to the primary service offloading device and the network forwarding device to form a primary link for service data forwarding. The base station is also connected to the backup service offloading device and the network forwarding device to form a backup link for service data forwarding. The service offloading primary device is used to initiate the operation status detection of the primary link according to the primary and backup deployment configuration, determine the operation status of the primary link, and determine the target transmission link according to the operation status, wherein the target transmission link is the primary link or the backup link; according to the target transmission link, the uplink dedicated data of the user equipment (UE) is forwarded to the dedicated network, and the downlink dedicated data of the dedicated network is forwarded to the UE.

10. The system according to claim 9, wherein, The service offloading primary device is also used to determine the target transmission link as the primary link when the operating status is that the primary link is normal or has recovered to normal; and to determine the target transmission link as the backup link when the operating status is that the primary link is abnormal.

11. The system according to claim 10, wherein, The primary service offloading device is also used to detect whether the status of the service port on the primary link is abnormal, wherein the service port is the interface between the primary service offloading device and the base station; detect whether the status of the local port on the primary link is abnormal, wherein the local port is the interface between the primary service offloading device and the network forwarding device; if the status of the service port or the local port on the primary link is abnormal, determine that the primary link is abnormal; if the status of the service port and the local port on the primary link is normal, determine that the primary link is normal or has recovered to normal.

12. The system according to claim 11, wherein, The service offloading primary device is also used to determine the abnormal status of the service port on the primary link in the event of a transmission link failure with the base station, a local port failure triggering the service port to actively disconnect the transmission link, or other service port failure triggering the service port to actively disconnect the transmission link. In the event that the transmission link between the base station and the local port is restored, or the other service port is restored, the status of the service port on the primary link is determined to be normal. In the event that the transmission link between the base station and the network forwarding device is interrupted, the local port is disconnected due to a service port failure, or the local port is disconnected due to another local port failure, the status of the local port on the primary link is determined to be abnormal. In the event that the transmission link between the base station and the network forwarding device is restored, the service port is restored, or the other local port is restored, the status of the local port on the primary link is determined to be normal.

13. The system according to claim 12, wherein, The primary service offloading device is further configured to generate port linkage relationships between the service ports and local ports at both ends of the primary link; when a service port belonging to multiple base stations is connected to one local port, it generates port linkage relationships between the service ports and other service ports on the primary link; when a local port belonging to multiple private networks is connected to one service port, it generates port linkage relationships between the local port and other local ports on the primary link; according to the linkage relationships, the state changes of the service port are linked to the state changes of the local port or other service ports, and the state changes of the local port are linked to the state changes of the service port and other local ports, wherein, port transmission interruption linkage is associated with port blocking, and port transmission recovery linkage is associated with port deblocking; generating linkage relationships between the service ports and local ports on the primary link, wherein the service port is the interface between the primary service offloading device and the base station, and the local port is the interface between the primary service offloading device and the network forwarding device; according to the linkage relationships, the state changes of the service port are linked to the state changes of the local port, and the state changes of the local port are linked to the state changes of the service port.

14. The system according to claim 9, wherein, The base station is configured to: if the target transmission link is the primary link, confirm that the target link is the primary link based on the link status of the service offloading primary device, send the uplink private network data to the service offloading primary device, and forward the downlink private network data forwarded by the service offloading primary device to the UE; if the target transmission link is the backup link, confirm that the target link is the backup link based on the link status of the service offloading primary device, forward the uplink private network data to the service offloading backup device, and forward the downlink private network data forwarded by the service offloading backup device to the UE; The service offloading primary device is also used to confirm, respectively, via link status, whether the target transmission link is the primary link or the backup link for the base station and the network forwarding device; if the target transmission link is the primary link, the uplink private network data forwarded by the base station is forwarded to the network forwarding device, and the downlink dedicated data forwarded by the network forwarding device is forwarded to the base station; if the target transmission link is the backup link, the base station is instructed to forward the uplink dedicated data to the private network via the backup link; The network forwarding device is instructed to forward the downlink dedicated data to the UE via the backup link; The service offloading backup device is used to forward the uplink dedicated data forwarded by the base station to the network forwarding device and forward the downlink dedicated data forwarded by the network forwarding device to the base station if the target transmission link is the backup link. The network forwarding device is configured to, if the target transmission link is the primary link, confirm that the target link is the primary link based on the link status of the service offloading primary device, forward the uplink private network data forwarded by the service offloading primary device to the private network, and forward the downlink private network data to the service offloading primary device; If the target transmission link is the backup link, the uplink private network data forwarded by the base station is forwarded to the service offloading backup device, and the target link is confirmed to be the backup link according to the link status of the service offloading primary device, and the downlink private network data is forwarded to the service offloading backup device.

15. The system according to claim 14, wherein, The primary service offloading device is further configured to, when the status of the local port on the primary link is abnormal, stop sending link control keep-alive response messages to the base station or indicate blockage through the protocol message status bit field upon receiving a link control keep-alive request message sent by the base station, wherein the local port is the interface between the primary service offloading device and the network forwarding device; and when the status of the service port is abnormal, stop sending link control keep-alive messages to the network forwarding device or indicate blockage through the protocol message status bit field, wherein the service port is the interface between the primary service offloading device and the base station, and the local port is the interface between the primary service offloading device and the network forwarding device. The base station is also configured to forward the uplink dedicated data to the dedicated network through the backup link when it does not receive the link control keep-alive response message or receives a protocol message with the status bit set to blocked. The network forwarding device is further configured to forward the downlink dedicated data to the UE via the backup link when it does not receive the link control keep-alive message or receives a protocol message with the status bit set to blocked.

16. The system according to claim 9, wherein, The base station is also used to initiate the operation status detection of the primary link and the operation status detection of the backup link, select an effective uplink route based on the link status detection results, configure the priority of the primary link to be greater than the priority of the backup link, and forward the uplink private network data based on the effective uplink route. The network forwarding device is also used to initiate the primary link status detection and the backup link status detection, select the downlink valid route according to the link status detection result, configure the priority of the primary link to be greater than the priority of the backup link, and forward the downlink private network data based on the downlink valid route.

17. The system according to claim 16, wherein, The base station is further configured to determine that the primary link is abnormal in the event of a transmission link failure between the base station and the primary service offloading device, a service port actively disconnecting the transmission link due to a local port failure, or a service port actively disconnecting the transmission link due to other service ports; and to determine that the primary link has returned to normal in the event of a transmission link failure between the base station and the primary service offloading device being resolved, a local port failure being resolved, or other service port failures being resolved. When the primary link is normal, the route of the primary link is selected as the effective uplink route; when the primary link is abnormal, the route of the backup link is selected as the effective uplink route. Here, the service port is the interface between the service offloading primary device and the base station, and the local port is the interface between the service offloading primary device and the network forwarding device. The network forwarding device is further configured to determine that the primary link is abnormal in the event of a transmission link failure between the primary device for service offloading, a service port failure causing the local port to disconnect the transmission link, or a failure of other local ports causing the local port to disconnect the transmission link; and to determine that the primary link has returned to normal in the event of a transmission link failure between the primary device for service offloading, a service port failure, or a failure of other local ports. When the primary link is normal, the route of the primary link is selected as the downlink valid route; when the primary link is abnormal, the route of the backup link is selected as the downlink valid route.

18. A computer-readable storage medium storing a computer program, wherein, The computer program is configured to execute the method described in any one of claims 1 to 8 when it is run.

19. An electronic device, wherein, The method includes a memory and a processor, wherein the memory stores a computer program and the processor is configured to run the computer program to perform the method according to any one of claims 1 to 8.

Citation Information

Patent Citations

  • Method and system for implementing high availability cluster based on quorum disk and dual link

    CN109495312A

  • Data transmission method and device based on backup routing, equipment and storage medium

    CN117395190A

  • Data transmission method, system, device, equipment, medium and product

    CN118075193A

  • Local Traffic Offload Function with Overloaded S5 and SGI Interface

    US20220022025A1