5G private network fault detection method, device, electronic device and storage medium
By combining the two-way forwarding detection technology and the message forwarding control protocol PFCP, rapid fault detection and automatic service switching between UPF network elements and data network are realized, solving the problem of long-term fault detection in the existing technology and improving the network's automated management capabilities.
Patent Information
- Application Number
- CN202211014868.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-23
- Publication Date
- 2025-03-21
- Estimated Expiration
- 2042-08-23
AI Technical Summary
In the prior art, when the edge UPF network element fails to the enterprise campus network, manual discovery is required, which takes a lot of time to discover the fault and lacks automated link failure detection methods.
The two-way forwarding detection technology is used and the message forwarding control protocol PFCP is combined to achieve rapid fault detection between the UPF network element and the data network by obtaining and processing network failure information, and automatically switch services to other UPF network elements.
It realizes rapid fault detection between UPF network elements and data network, reduces fault detection time, avoids manual intervention, and improves the network's automated management capabilities.
Smart Images

Figure CN115379486B_ABST
Abstract
Description
Background Art
[0002] As an important network functional unit of the 5th Generation Mobile Communication Technology (5G) core network, the User Plane Function (UPF) network element is responsible for the core functions of data traffic processing and routing, and undertakes the user plane function of the 5G core network. As a bridge connecting operators and vertical industries, UPF network elements have gradually moved from the core layer of operators to the access layer of industry customers, making lower transmission delays and less network congestion possible. At the same time, customers are paying more and more attention to the detection and timely handling of network faults. When the edge UPF network element fails to the enterprise campus network, it is necessary to provide a method for rapid fault detection.
[0003] In the prior art, when the edge UPF network element to the enterprise campus network fails, the fault is discovered in the following ways: one way is that the customer discovers that the service cannot be used normally, and after self-checking, it is found that it is a network failure and reports the fault to the network operator; the other way is that the operator's network administrator discovers the alarm of the UPF network element interface failure and the bearer network failure through the network management system, and determines that the network has a fault. However, the above two methods are passive detection, and no network link detection means are deployed. The UPF network element and the session management function (SMF) network element cannot automatically sense the failure of the link between the UPF network element and the data network (DN), and manual discovery is required, resulting in a lot of time-consuming fault discovery.
[0004] It should be noted that the information disclosed in the above background technology section is only used to enhance the understanding of the background of the present disclosure, and therefore may include information that does not constitute the prior art known to ordinary technicians in the field. Summary of the invention
[0005] The present disclosure provides a 5G private network fault detection method, device, electronic device and storage medium, which at least to a certain extent overcome the problem in the related art that manual discovery of network faults results in a lot of time spent on fault discovery.
[0006] Other features and advantages of the present disclosure will become apparent from the following detailed description, or may be learned in part by the practice of the present disclosure.
[0007] According to one aspect of the present disclosure, a 5G private network fault detection method is provided, which is applied to a first user plane function UPF network element, including: obtaining first network fault information sent by a bidirectional forwarding detection technology function package, wherein the first network fault information includes network fault information between the first UPF network element and the data network; according to a message forwarding control protocol PFCP, writing the first network fault information into a session report request of the PFCP to obtain second network fault information; sending the second network fault information to an SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0008] In one embodiment of the present disclosure, according to the message forwarding control protocol PFCP, the first network fault information is written into the session report request of the PFCP, and the second network fault information is obtained, including: by extending the report type of the PFCP session report request, marking the Flags field to indicate the first network fault information, and obtaining the second network fault information.
[0009] In one embodiment of the present disclosure, the method further includes: establishing a link with a data network according to a bidirectional forwarding detection technology.
[0010] According to one aspect of the present disclosure, a fault detection method for a 5G private network is provided, which is applied to a session management function SMF network element, including: obtaining second network fault information, wherein the second network fault information is obtained according to a message forwarding control protocol PFCP by writing the first network fault information between a first user plane function UPF network element and a data network sent by a bidirectional forwarding detection technology function packet into a session report request of the PFCP; and switching the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0011] In one embodiment of the present disclosure, the method further includes: sending a session deletion message to the first UPF network element to notify the first UPF network element to release session resources corresponding to the session deletion message.
[0012] In one embodiment of the present disclosure, a 5G private network fault detection system is provided, including: a first user plane function UPF network element, a second UPF network element and a session management function SMF network element; wherein, the first user plane function UPF network element is used to obtain first network fault information sent by a bidirectional forwarding detection technology function package, and according to a message forwarding control protocol PFCP, write the first network fault information into a session report request of the PFCP to obtain second network fault information; send the second network fault information to the SMF network element; the session management function SMF network element is used to obtain the second network fault information; according to the second network fault information, switch the service carried by the first UPF network element to the second UPF network element; wherein, the first network fault information includes network fault information between the first UPF network element and the data network.
[0013] According to another aspect of the present disclosure, a fault detection device for a 5G private network is provided, which is applied to a first user plane function UPF network element, including: a first information acquisition module, used to obtain first network fault information sent by a bidirectional forwarding detection technology function package, wherein the first network fault information includes network fault information between the first UPF network element and the data network; an information writing module, used to write the first network fault information into a session report request of the PFCP according to a message forwarding control protocol PFCP, to obtain second network fault information; an information sending module, used to send the second network fault information to an SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0014] According to another aspect of the present disclosure, a fault detection device for a 5G private network is provided, which is applied to a session management function SMF network element, including: an information acquisition module, used to obtain second network fault information, wherein the second network fault information is obtained according to a message forwarding control protocol PFCP by writing the first network fault information between the first user plane function UPF network element and the data network sent by a bidirectional forwarding detection technology function packet into a session report request of the PFCP; a network element switching module, used to switch the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0015] According to another aspect of the present disclosure, an electronic device is provided, comprising: a processor; and a memory for storing executable instructions of the processor; wherein the processor is configured to execute the above-mentioned 5G private network fault detection method by executing the executable instructions.
[0016] According to another aspect of the present disclosure, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the above-mentioned 5G private network fault detection method is implemented.
[0017] According to another aspect of the present disclosure, a computer program product is provided, including computer instructions, which are stored in a computer-readable storage medium, and the computer instructions, when executed by a processor, are operating instructions for implementing any of the above-mentioned 5G private network fault detection methods.
[0018] A 5G private network fault detection method provided by an embodiment of the present disclosure is applied to a first user plane function UPF network element, including: obtaining first network fault information sent by a bidirectional forwarding detection technology function package, wherein the first network fault information includes network fault information between the first UPF network element and the data network; writing the first network fault information into a session report request of the PFCP according to the message forwarding control protocol PFCP to obtain second network fault information; sending the second network fault information to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information. The present disclosure combines the bidirectional forwarding detection technology with the message forwarding control protocol to realize rapid detection of network faults between the UPF network element and the data network.
[0019] It is to be understood that the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the present disclosure. BRIEF DESCRIPTION OF THE DRAWINGS
[0020] The accompanying drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present disclosure, and together with the specification are used to explain the principles of the present disclosure. Obviously, the accompanying drawings described below are only some embodiments of the present disclosure, and for ordinary technicians in this field, other accompanying drawings can be obtained based on these accompanying drawings without creative work.
[0021] Figure 1 A schematic diagram showing a structure of a fault detection system for a 5G private network in an embodiment of the present disclosure is shown;
[0022] Figure 2 A flow chart of a fault detection method for a 5G private network applied to a first user plane function UPF network element in an embodiment of the present disclosure is shown;
[0023] Figure 3 A flow chart of another fault detection method for a 5G private network applied to a first user plane function UPF network element in an embodiment of the present disclosure is shown;
[0024] Figure 4A flow chart of a fault detection method for a 5G private network applied to a first user plane function UPF network element in an embodiment of the present disclosure is shown;
[0025] Figure 5 A flow chart of a fault detection method for a 5G private network applied to a session management function SMF network element in an embodiment of the present disclosure is shown;
[0026] Figure 6 A flow chart of a 5G private network fault detection method in an embodiment of the present disclosure is shown;
[0027] Figure 7 A schematic diagram of a fault detection device for a 5G private network applied to a first user plane function UPF network element in an embodiment of the present disclosure is shown;
[0028] Figure 8 A schematic diagram of a fault detection device for a 5G private network applied to a session management function SMF network element in an embodiment of the present disclosure is shown;
[0029] Fig. 9 A structural block diagram of an electronic device according to an embodiment of the present disclosure is shown;
[0030] Fig.10 A schematic diagram showing a computer-readable storage medium in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0031] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that the disclosure will be more comprehensive and complete and to fully convey the concepts of the example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.
[0032] In addition, the accompanying drawings are only schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the figures represent the same or similar parts, and their repeated description will be omitted. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or implemented in one or more hardware modules or integrated circuits, or implemented in different networks and / or processor devices and / or microcontroller devices.
[0033] For ease of understanding, several terms involved in the present disclosure are explained below:
[0034] BFD: Bidirectional Forwarding Detection, bidirectional forwarding detection;
[0035] PFCP: Packet Forwarding Control Protocol, message forwarding control protocol;
[0036] DN: Data Network, data network;
[0037] UE:User Equipment, user terminal;
[0038] PDU: Protocol Data Unit, protocol data unit;
[0039] DNN: Data Network Name, DNN is the name of the data network provided by the PDU session.
[0040] Figure 1 A schematic diagram of an exemplary system architecture of a 5G private network fault detection method or a 5G private network fault detection device that can be applied to an embodiment of the present disclosure is shown.
[0041] like Figure 1 As shown, the system architecture 100 may include a first user plane function UPF network element 101, a second UPF network element 102, a session management function SMF network element 103 and a network 104.
[0042] The network 104 is used as a medium to provide a communication link between the first user plane function UPF network element 101, the second UPF network element 102 and the session management function SMF network element 103, and can be a wired network or a wireless network.
[0043] Optionally, the wireless network or wired network described above uses standard communication technology and / or protocol. The network is usually the Internet, but it can also be any network, including but not limited to a local area network (LAN), a metropolitan area network (MAN), a wide area network (WAN), a mobile, wired or wireless network, a dedicated network or any combination of a virtual private network). In some embodiments, technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. are used to represent data exchanged through the network. In addition, conventional encryption technologies such as Secure Socket Layer (SSL), Transport Layer Security (TLS), Virtual Private Network (VPN), Internet Protocol Security (IPsec) can also be used to encrypt all or some links. In other embodiments, customized and / or dedicated data communication technologies can also be used to replace or supplement the above data communication technologies.
[0044] Among them, the first user plane function UPF network element is used to obtain the first network fault information sent by the bidirectional forwarding detection technology function package, and write the first network fault information into the session report request of the PFCP according to the message forwarding control protocol PFCP to obtain the second network fault information; send the second network fault information to the SMF network element; the session management function SMF network element is used to obtain the second network fault information; according to the second network fault information, the service carried by the first UPF network element is switched to the second UPF network element; wherein the first network fault information includes the network fault information between the first UPF network element and the data network.
[0045] Those skilled in the art will know that Figure 1 The number of the first user plane function UPF network element, the second UPF network element, the session management function SMF network element and the network is only illustrative, and any number of the first user plane function UPF network element, the second UPF network element and the session management function SMF network element may be provided according to actual needs. The embodiments of the present disclosure are not limited to this.
[0046] The present exemplary implementation is described in detail below with reference to the accompanying drawings and embodiments.
[0047] A 5G private network fault detection method is provided in an embodiment of the present disclosure, and the method can be executed by any electronic device with computing and processing capabilities.
[0048] Figure 2 A flow chart of a fault detection method for a 5G private network applied to a first user plane function UPF network element in an embodiment of the present disclosure is shown, as shown in FIG. Figure 2 As shown, the 5G private network fault detection method provided in the embodiment of the present disclosure includes the following steps:
[0049] S202, obtaining the first network fault information sent by the bidirectional forwarding detection technology function package, wherein the first network fault information includes the network fault information between the first UPF network element and the data network.
[0050] It should be noted that the above-mentioned two-way forwarding detection technology may be the application of BFD technology, in which a session needs to be established between two different devices in order to execute network services based on the established session. The above-mentioned function package may be a program package that completes the function of the two-way forwarding detection technology. The above-mentioned data network may be a communication network for transmitting data services, which is a world, national and regional network composed of data switches as transfer points.
[0051] For example, in one instance, the first UPF network element establishes communication with the DN, and detects a link failure between the first UPF network element and the DN through BFD.
[0052] S204: According to the Message Forwarding Control Protocol PFCP, write the first network fault information into a session report request of the PFCP to obtain the second network fault information.
[0053] It should be noted that the above-mentioned message forwarding control protocol can be PFCP, which is used for interaction between the control plane and the user plane, wherein the PFCP message entity consists of a variable-length message header and zero or more message IEs.
[0054] For example, in one instance, the first UPF network element and the SMF network element of the core network both implement the Report Type of the PFCP Session Report Request message in the extended PFCP protocol, utilize the 8th bit currently reserved in the Flags field, and add a new reporting type DNLE (DN Link Error) to indicate a network failure from the first UPF network element to the DN.
[0055] S206, sending the second network fault information to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0056] It should be noted that the above-mentioned second UPF network element is different from the first UPF network element, and the second UPF network element can establish a link with the data network for communication.
[0057] For example, in a specific instance, after the edge UPF (equivalent to the first UPF network element mentioned above) detects a fault with the customer network DN through BFD, it sends a PFCP Session Report Request message to the SMF of the core network for all online users of the DNN, and sets the 8th Bit of Flags to 1, informing the core network that this UPF has a fault with the customer network and that the SMF needs to migrate the users of the DNN to other UPFs.
[0058] In a specific implementation, the present disclosure combines the bidirectional forwarding detection technology with the message forwarding control protocol to achieve rapid detection of network faults between the UPF network element and the data network, thereby improving the efficiency of discovering network faults.
[0059] In one embodiment of the present disclosure, Figure 3 As shown, the 5G private network fault detection method provided in the embodiment of the present disclosure can determine the second network fault information through the following steps, and can accurately transmit the UPF where the network fault occurs:
[0060] S302: Extending the report type of the PFCP session report request and marking the Flags field to indicate the first network fault information to obtain the second network fault information.
[0061] For example, in a specific example, in order to report the network fault to the SMF of the core network, the Report Type IE of the PFCP Session Report Request of the PFCP protocol is extended, and the 8th Bit of Flags is set to 1 to indicate the fault of the UPF network element to the DN link.
[0062] In one embodiment of the present disclosure, Figure 4 As shown, the 5G private network fault detection method provided in the embodiment of the present disclosure can establish a link with the data network through the following steps, and can accurately detect the UPF where the network fault occurs:
[0063] S402: Establish a link with the data network based on the bidirectional forwarding detection technology.
[0064] For example, in a specific example, the mature BFD protocol is used to quickly detect network failures from UPF to the enterprise campus. UPF implements the linkage between BFD and user sessions. When a network failure is detected through BFD, subsequent processing is performed on the user sessions belonging to the enterprise campus.
[0065] Figure 5 A flow chart of a fault detection method for a 5G private network applied to a session management function SMF network element in an embodiment of the present disclosure is shown, as shown in FIG. Figure 5 As shown, the 5G private network fault detection method provided in the embodiment of the present disclosure includes the following steps:
[0066] S502, obtaining second network fault information, wherein the second network fault information is obtained according to the message forwarding control protocol PFCP by writing the first network fault information between the first user plane function UPF network element and the data network sent by the bidirectional forwarding detection technology function packet into the session report request of PFCP.
[0067] It should be noted that the above-mentioned message forwarding control protocol may be PFCP, which is used for the interaction between the control plane and the user plane, wherein the PFCP message entity is composed of a variable-length message header and zero or more message IEs. The above-mentioned two-way forwarding detection technology may be the application of BFD technology, in which a session needs to be established between two different devices in order to execute network services based on the established session. The above-mentioned functional package may be a program package that completes the function of the two-way forwarding detection technology. The above-mentioned data network may be a communication network for transmitting data services, which is a world, national and regional network composed of data switches as transfer points.
[0068] S504: According to the second network fault information, the service carried by the first UPF network element is switched to the second UPF network element.
[0069] In a specific implementation, the UPF disclosed in the present invention realizes the linkage between BFD and user sessions. When UPF detects a network failure to an enterprise campus, UPF sends a fault reporting message to SMF for all user sessions belonging to the enterprise campus. Based on the original PFCP protocol process, a new reporting type is added by utilizing the fields reserved by the protocol to realize automatic reporting of network failures, triggering the SMF of the core network to automatically migrate services to other UPFs.
[0070] In one embodiment, the fault detection method flow of the 5G private network applied to the session management function SMF network element also includes: sending a session deletion message to the first UPF network element to notify the first UPF network element to release the session resources corresponding to the session deletion message.
[0071] For example, in a specific instance, after the edge UPF network element detects a fault with the customer network DN through BFD, it sends a PFCP Session Report Request message to the SMF network element of the core network for all online users of the DNN, sets the 8th Bit of Flags to 1, and informs the core network that the UPF (equivalent to the first UPF network element mentioned above) has a fault in the customer network and that the SMF network element is required to migrate the users of the DNN to other UPF network elements (equivalent to the second UPF network element mentioned above); upon receiving the request message, the SMF network element selects other UPF network elements (equivalent to the second UPF network element mentioned above) as the session anchor point to establish a PFCP session for the DNN user and migrates the service to other UPF network elements; at the same time, it sends a session deletion message to the original edge UPF network element (equivalent to the first UPF network element mentioned above) to notify the UPF to delete the corresponding user session context and release resources.
[0072] Figure 6 A flow chart of a 5G private network fault detection method in an embodiment of the present disclosure is shown as follows: Figure 6 As shown, the 5G private network fault detection method provided in the embodiment of the present disclosure includes the following steps:
[0073] S601, UE sends uplink service traffic to DN through SMF network element and UPF network element;
[0074] S602, DN sends the downlink service traffic to UE through UPF network element and SMF network element;
[0075] S603, BFD detects a link failure from the first UPF network element to the DN;
[0076] S604, both the edge UPF and the SMF of the core network implement the Report Type of the PFCP Session ReportRequest message in the extended PFCP protocol, utilize the 8th bit currently reserved in the Flags field, and add a new reporting type DNLE (DN Link Error) to indicate a network failure from the first UPF network element to the DN;
[0077] S605, after the edge UPF (equivalent to the first UPF network element) detects the network failure between the edge UPF and the DN, it sends a PFCP Session Report Request message to the SMF network element for all users of the DNN, and the eighth bit of the Flags field in the message is set to 1 to inform the SMF network element that the user session needs to be migrated to other UPFs (equivalent to the second UPF network element). After the SMF network element receives the PFCP Session Report Request message from the edge UPF, it parses the eighth bit of the Flags field and sets it to 1, and learns that there is a network failure from the user to the DN. The SMF network element selects other UPFs (equivalent to the second UPF network element) to establish a PFCP session for the user to achieve service migration;
[0078] S606, the SMF network element deletes the session at the edge UPF (equivalent to the first UPF network element mentioned above) to release resources.
[0079] Among them, the BFD detection configured on the edge UPF to the customer network DN can adjust the BFD detection time interval according to actual requirements to achieve rapid fault detection.
[0080] The present disclosure deploys BFD between UPF and DN. The whole process is triggered by BFD and PFCP protocols to achieve millisecond-level fault detection. After the fault is detected, automatic fault reporting and automatic user service migration are achieved, which takes a short time and does not require manual intervention.
[0081] Based on the same inventive concept, a 5G private network fault detection device is also provided in the embodiments of the present disclosure, as described in the following embodiments. Since the principle of solving the problem in the device embodiment is similar to that in the above method embodiment, the implementation of the device embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.
[0082] Figure 7 A schematic diagram of a fault detection device for a 5G private network applied to a first user plane function UPF network element in an embodiment of the present disclosure is shown, Figure 7 As shown, the device includes: a first information acquisition module 71, an information writing module 72, an information sending module 73 and a link establishment module 74.
[0083] Among them, the first information acquisition module 71 is used to obtain the first network fault information sent by the bidirectional forwarding detection technology function package, wherein the first network fault information includes the network fault information between the first UPF network element and the data network; the information writing module 72 is used to write the first network fault information into the session report request of the PFCP according to the message forwarding control protocol PFCP to obtain the second network fault information; the information sending module 73 is used to send the second network fault information to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0084] In one embodiment of the present disclosure, the information writing module 72 is further used to: obtain the second network fault information by extending the report type of the PFCP session report request and marking the Flags field to indicate the first network fault information.
[0085] In one embodiment of the present disclosure, the above-mentioned 5G private network fault detection device applied to the first user plane function UPF network element also includes a link establishment module 74: used to establish a link with the data network based on the bidirectional forwarding detection technology.
[0086] Figure 8 A schematic diagram of a fault detection device for a 5G private network applied to a session management function SMF network element in an embodiment of the present disclosure is shown. Figure 8 As shown, the device includes: an information acquisition module 81, a network element switching module 82 and a session deletion module 83.
[0087] Among them, the information acquisition module 81 is used to obtain the second network fault information, wherein the second network fault information is obtained according to the message forwarding control protocol PFCP by writing the first network fault information between the first user plane function UPF network element and the data network sent by the bidirectional forwarding detection technology function package into the session report request of PFCP; the network element switching module 82 is used to switch the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
[0088] In one embodiment of the present disclosure, the above-mentioned fault detection device for the 5G private network applied to the session management function SMF network element also includes a session deletion module 83: used to send a session deletion message to the first UPF network element, used to notify the first UPF network element to release the session resources corresponding to the session deletion message.
[0089] Those skilled in the art will appreciate that various aspects of the present disclosure may be implemented as systems, methods or program products. Therefore, various aspects of the present disclosure may be specifically implemented in the following forms, namely: complete hardware implementation, complete software implementation (including firmware, microcode, etc.), or a combination of hardware and software, which may be collectively referred to herein as "circuits", "modules" or "systems".
[0090] Refer to the following Fig. 9 The electronic device 900 according to this embodiment of the present disclosure is described. Fig. 9 The electronic device 900 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present disclosure.
[0091] like Fig. 9 As shown, the electronic device 900 is in the form of a general computing device. The components of the electronic device 900 may include but are not limited to: at least one processing unit 910, at least one storage unit 920, and a bus 930 connecting different system components (including the storage unit 920 and the processing unit 910).
[0092] The storage unit stores program codes, which can be executed by the processing unit 910, so that the processing unit 910 executes the steps described in the above “exemplary method” section of this specification according to various exemplary embodiments of the present disclosure.
[0093] For example, the processing unit 910 can execute the following steps of the above method embodiment: obtain the first link fault information sent by the bidirectional forwarding detection technology function package, wherein the first link fault information includes the link fault information between the first UPF network element and the data network; according to the message forwarding control protocol PFCP, write the first link fault information into the session report request of PFCP to obtain the second link fault information; send the second link fault information to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second link fault information.
[0094] For example, the processing unit 910 may execute the following steps of the above method embodiment: by extending the report type of the PFCP session report request, marking the Flags field to indicate the first link failure information, and obtaining the second link failure information.
[0095] For example, the processing unit 910 may execute the following steps of the above method embodiment: establishing a link with the data network according to the bidirectional forwarding detection technology.
[0096] For example, the processing unit 910 can execute the following steps of the above method embodiment: obtaining second link fault information, wherein the second link fault information is obtained according to the message forwarding control protocol PFCP by writing the first link fault information between the first user plane function UPF network element and the data network sent by the bidirectional forwarding detection technology function package into the session report request of PFCP; according to the second link fault information, switching the service carried by the first UPF network element to the second UPF network element.
[0097] For example, the processing unit 910 may execute the following steps of the above method embodiment: sending a session deletion message to the first UPF network element to notify the first UPF network element to release the session resources corresponding to the session deletion message.
[0098] The storage unit 920 may include a readable medium in the form of a volatile storage unit, such as a random access storage unit (RAM) 9201 and / or a cache storage unit 9202 , and may further include a read-only storage unit (ROM) 9203 .
[0099] The storage unit 920 may also include a program / utility 9204 having a set (at least one) of program modules 9205, such program modules 9205 including but not limited to: an operating system, one or more application programs, other program modules, and program data, each of which or some combination may include an implementation of a network environment.
[0100] Bus 930 may represent one or more of several types of bus structures, including a memory unit bus or memory unit controller, a peripheral bus, an accelerated graphics port, a processing unit, or a local bus using any of a variety of bus architectures.
[0101] The electronic device 900 may also communicate with one or more external devices 940 (e.g., keyboards, pointing devices, Bluetooth devices, etc.), may also communicate with one or more devices that enable a user to interact with the electronic device 900, and / or may communicate with any device that enables the electronic device 900 to communicate with one or more other computing devices (e.g., routers, modems, etc.). Such communication may be performed via an input / output (I / O) interface 950. Furthermore, the electronic device 900 may also communicate with one or more networks (e.g., local area networks (LANs), wide area networks (WANs), and / or public networks, such as the Internet) via a network adapter 960. As shown, the network adapter 960 communicates with other modules of the electronic device 900 via a bus 930. It should be understood that, although not shown in the figure, other hardware and / or software modules may be used in conjunction with the electronic device 900, including but not limited to: microcode, device drivers, redundant processing units, external disk drive arrays, RAID systems, tape drives, and data backup storage systems, etc.
[0102] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a terminal device, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0103] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, and the computer-readable storage medium may be a readable signal medium or a readable storage medium. Fig.10 A schematic diagram of a computer-readable storage medium in an embodiment of the present disclosure is shown. Fig.10 As shown, a program product capable of implementing the above method of the present disclosure is stored on the computer-readable storage medium 1000. In some possible implementations, various aspects of the present disclosure may also be implemented in the form of a program product, which includes a program code. When the program product is run on a terminal device, the program code is used to enable the terminal device to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of this specification.
[0104] For example, when the program product in the embodiment of the present disclosure is executed by a processor, the method implements the following steps: obtaining the first link fault information sent by the bidirectional forwarding detection technology function package, wherein the first link fault information includes the link fault information between the first UPF network element and the data network; according to the message forwarding control protocol PFCP, writing the first link fault information into the session report request of the PFCP to obtain the second link fault information; sending the second link fault information to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second link fault information.
[0105] For example, when the program product in the embodiment of the present disclosure is executed by a processor, the method implements the following steps: by extending the report type of the PFCP session report request, marking the Flags field to indicate the first link failure information, and obtaining the second link failure information.
[0106] For example, when the program product in the embodiment of the present disclosure is executed by a processor, the method implements the following steps: establishing a link with a data network according to a bidirectional forwarding detection technology.
[0107] For example, when the program product in the embodiment of the present disclosure is executed by a processor, the method implements the following steps: obtaining second link fault information, wherein the second link fault information is obtained according to the message forwarding control protocol PFCP by writing the first link fault information between the first user plane function UPF network element and the data network sent by the bidirectional forwarding detection technology function package into the session report request of the PFCP; according to the second link fault information, switching the service carried by the first UPF network element to the second UPF network element.
[0108] For example, when the program product in the embodiment of the present disclosure is executed by a processor, the method implements the following steps: sending a session deletion message to the first UPF network element to notify the first UPF network element to release the session resources corresponding to the session deletion message.
[0109] More specific examples of computer-readable storage media in the present disclosure may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0110] In the present disclosure, a computer readable storage medium may include a data signal propagated in baseband or as part of a carrier wave, wherein a readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. A readable signal medium may also be any readable medium other than a readable storage medium, which may send, propagate, or transmit a program for use by or in conjunction with an instruction execution system, apparatus, or device.
[0111] Alternatively, the program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to wireless, wired, optical cable, RF, etc., or any suitable combination of the foregoing.
[0112] In a specific implementation, the program code for performing the operations of the present disclosure may be written in any combination of one or more programming languages, including object-oriented programming languages such as Java, C++, etc., and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as a separate software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server. In the case of a remote computing device, the remote computing device may be connected to the user computing device through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computing device (e.g., using an Internet service provider to connect through the Internet).
[0113] It should be noted that, although several modules or units of the device for action execution are mentioned in the above detailed description, this division is not mandatory. In fact, according to the embodiments of the present disclosure, the features and functions of two or more modules or units described above can be embodied in one module or unit. On the contrary, the features and functions of one module or unit described above can be further divided into multiple modules or units to be embodied.
[0114] In addition, although the steps of the method in the present disclosure are described in a specific order in the drawings, this does not require or imply that the steps must be performed in this specific order, or that all the steps shown must be performed to achieve the desired results. Additionally or alternatively, some steps may be omitted, multiple steps may be combined into one step, and / or one step may be decomposed into multiple steps, etc.
[0115] Through the description of the above implementation, it is easy for those skilled in the art to understand that the example implementation described here can be implemented by software, or by software combined with necessary hardware. Therefore, the technical solution according to the implementation of the present disclosure can be embodied in the form of a software product, which can be stored in a non-volatile storage medium (which can be a CD-ROM, a USB flash drive, a mobile hard disk, etc.) or on a network, including several instructions to enable a computing device (which can be a personal computer, a server, a mobile terminal, or a network device, etc.) to execute the method according to the implementation of the present disclosure.
[0116] Those skilled in the art will readily appreciate other embodiments of the present disclosure after considering the specification and practicing the invention disclosed herein. The present disclosure is intended to cover any variations, uses or adaptations of the present disclosure, which follow the general principles of the present disclosure and include common knowledge or customary techniques in the art that are not disclosed in the present disclosure. The description and examples are intended to be exemplary only, and the true scope and spirit of the present disclosure are indicated by the appended claims.
Claims
1. A 5G private network fault detection method, characterized in that: Applied to the first user plane function UPF network element, including: Obtaining first network fault information sent by a bidirectional forwarding detection technology function package, wherein the first network fault information includes network fault information between the first UPF network element and the data network; According to the message forwarding control protocol PFCP, the first network fault information is written into the session report request of the PFCP to obtain the second network fault information, wherein the second network fault information includes marking the eighth bit of the Flags field by extending the report type of the PFCP session report request, and adding a reporting type of the data network link fault; The second network fault information is sent to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
2. The 5G private network fault detection method according to claim 1, characterized in that: According to the message forwarding control protocol PFCP, writing the first network fault information into the session report request of the PFCP, and obtaining the second network fault information includes: The second network fault information is obtained by extending the report type of the PFCP session report request and marking the Flags field to indicate the first network fault information.
3. The 5G private network fault detection method according to claim 1, characterized in that: The method further comprises: Based on the bidirectional forwarding detection technology, a link with the data network is established.
4. A 5G private network fault detection method, characterized in that: Applied to the session management function SMF network element, including: Obtain second network fault information, wherein the second network fault information is obtained according to the message forwarding control protocol PFCP by writing the first network fault information between the first user plane function UPF network element and the data network sent by the bidirectional forwarding detection technology function package into the session report request of the PFCP, wherein the second network fault information includes marking the 8th bit of the Flags field by extending the report type of the PFCP session report request, and adding a new reporting type of data network link failure; According to the second network fault information, the service carried by the first UPF network element is switched to the second UPF network element.
5. The 5G private network fault detection method according to claim 4, characterized in that: The method further comprises: A session deletion message is sent to the first UPF network element to notify the first UPF network element to release the session resources corresponding to the session deletion message.
6. A 5G private network fault detection system, characterized in that: include: A first user plane function UPF network element, a second UPF network element and a session management function SMF network element; Among them, the first user plane function UPF network element is used to obtain the first network fault information sent by the bidirectional forwarding detection technology function package, and write the first network fault information into the session report request of the PFCP according to the message forwarding control protocol PFCP to obtain the second network fault information, wherein the second network fault information includes marking the 8th bit of the Flags field by extending the report type of the PFCP session report request, and adding a reporting type of a data network link fault; sending the second network fault information to the SMF network element; The session management function SMF network element is used to obtain the second network fault information; according to the second network fault information, the service carried by the first UPF network element is switched to the second UPF network element; Among them, the first network fault information includes network fault information between the first UPF network element and the data network.
7. A 5G private network fault detection device, characterized in that: Applied to the first user plane function UPF network element, including: A first information acquisition module is used to acquire first network fault information sent by a bidirectional forwarding detection technology function package, wherein the first network fault information includes network fault information between the first UPF network element and the data network; An information writing module, used for writing the first network fault information into the session report request of the PFCP according to the message forwarding control protocol PFCP, to obtain the second network fault information, wherein the second network fault information includes marking the 8th bit of the Flags field by extending the report type of the PFCP session report request, and adding a reporting type of a data network link fault; An information sending module is used to send the second network fault information to the SMF network element, so that the SMF network element switches the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
8. A 5G private network fault detection device, characterized in that: Applied to the session management function SMF network element, including: An information acquisition module, used to acquire second network fault information, wherein the second network fault information is obtained according to the message forwarding control protocol PFCP by writing the first network fault information between the first user plane function UPF network element and the data network sent by the bidirectional forwarding detection technology function package into the session report request of the PFCP, and the second network fault information includes marking the 8th bit of the Flags field by extending the report type of the PFCP session report request, and adding a reporting type of the data network link fault; A network element switching module is used to switch the service carried by the first UPF network element to the second UPF network element according to the second network fault information.
9. An electronic device, characterized in that: include: processor; as well as A memory, configured to store executable instructions of the processor; The processor is configured to execute the 5G private network fault detection method described in any one of claims 1 to 5 by executing the executable instructions.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the 5G private network fault detection method described in any one of claims 1 to 5 is implemented.
Citation Information
Patent Citations
User plane network element fault processing method and device
CN112867039A
Session establishment method, communication system, electronic equipment and storage medium
CN114143905A
Address management method, device and system
CN114363285A
Method for Releasing PDU Sessions when an Error has Occurred at a UPF Port on the 5G Core Network
KR102198246B1