Session data management method, device, system, electronic device and storage medium

By configuring hot backup SMF network elements in the 5G core network, detecting and handling faults, and publishing service addresses to the data center gateway to forward messages, the signaling storm problem caused by SMF network element failure is solved, ensuring network stability.

CN117560705BActive Publication Date: 2024-11-29CHINA TELECOM CORP LTD TECHNOLOGY INNOVATION CENTER +1
View PDF 1 Cites 0 Cited by

Patent Information

Application Number
CN202311767945.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-20
Publication Date
2024-11-29
Estimated Expiration
2043-12-20

AI Technical Summary

Technical Problem

In 5G core network, SMF network element failure may trigger a network signaling storm, resulting in repeated registration of user terminals and paralysis of core networks.

Method used

By configuring the first SMF network element and the second SMF network element of the hot backup relationship, the first SMF network element is detected whether the first SMF network element is faulty, and the service address it undertakes is posted to the data center gateway when a failure occurs, and the data center gateway intercepts and forwards it. The service message reaches the unfailed second SMF network element to ensure that the service data management is not interrupted.

Benefits of technology

This avoids user terminal downlink and network signaling storm caused by SMF network element failure, and ensures the stability and network resilience of 5G mobile network.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117560705B_ABST
    Figure CN117560705B_ABST
Patent Text Reader

Abstract

The present disclosure provides a session data management method, device, system, electronic device and storage medium, which relates to the field of communication technology. The method includes: detecting whether the first SMF network element fails by a second SMF network element that serves as a hot backup with the first SMF network element; when the first SMF network element fails, the second SMF network element publishes the service address of the first SMF network element to the data center gateway; the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address, and forwards it to the second SMF network element; the second SMF network element manages the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element. The present disclosure enables the access network equipment and other network elements in the core network except the SMF network element to not perceive the failure of the SMF network element, and will not take the user terminal on the failed SMF network element offline, thereby not causing the network signaling storm problem caused by re-registration.
Need to check novelty before this filing date? Find Prior Art

Description

Background Art

[0002] SMF (Session Management Function) is the network element in the core network responsible for creating, updating and deleting PDU (Protocol Data Unit) sessions. In the current core network (for example, 5G core network), once the SMF network element fails, the AMF (Access and Mobility Management Function) network element will sense the failure of the SMF network element, and then all user terminals whose sessions are established on the SMF network element will be offline. These user terminals will initiate core network re-registration or IMS network re-registration in a short period of time, triggering network-side service flow control. After the subsequent process is flow controlled, the user terminal will re-initiate the registration process. When the user terminal registration process fails, it will trigger the process of repeatedly initiating registration, resulting in repeated superposition of various user signaling, thereby triggering a signaling storm in the core network and IMS network, and in severe cases, causing the entire 5G mobile network to be paralyzed.

[0003] 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

[0004] The present disclosure provides a session data management method, device, system, electronic device and storage medium, which at least to a certain extent overcome the technical problem in the related art that a failure of an SMF network element may cause a network signaling storm.

[0005] 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.

[0006] According to one aspect of the present disclosure, a session data management method is provided, which is applied to a second session management function SMF network element, the method comprising: detecting whether a first SMF network element fails, wherein the first SMF network element and the second SMF network element serve as hot backups for each other's user session data; when the first SMF network element fails, publishing the service address of the first SMF network element to undertake the service to a data center gateway; receiving a service message to be sent to the first SMF network element forwarded by the data center gateway, wherein the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address; and managing the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element.

[0007] In some embodiments, before detecting whether the first SMF network element fails, the method further includes: exchanging respective network element device information with the first SMF network element, wherein the network element device information at least includes: a business address of the undertaken business.

[0008] In some embodiments, the network element device information further includes at least one of the following information: N4 interface address, session identifier, and fully qualified domain name FQDN.

[0009] In some embodiments, detecting whether a first SMF network element fails includes: detecting whether a heartbeat message from the first SMF network element is received; if no heartbeat message from the first SMF network element is received, determining that the first SMF network element fails; if a heartbeat message from the first SMF network element is received, determining that the first SMF network element does not fail.

[0010] In some embodiments, the data center gateway includes: a first data center gateway and a second data center gateway, the first SMF network element is the SMF network element under the first data center gateway, and the second SMF network element is the SMF network element under the second data center gateway; wherein, publishing the business address of the first SMF network element to undertake the business to the data center gateway includes: publishing the business address of the first SMF network element to undertake the business to the second data center gateway; forwarding the business address of the first SMF network element to undertake the business to the first data center gateway through the second data center gateway; receiving the business message to be sent to the first SMF network element forwarded by the data center gateway, including: intercepting the business message to be sent to the first SMF network element according to the received business address through the first data center gateway, and forwarding it to the second data center gateway; receiving the business message to be sent to the first SMF network element forwarded by the second data center gateway.

[0011] In some embodiments, the user session data includes at least one of the following information of each user terminal: user identification information, user subscription data, registration access and mobility management function AMF network element information, and user plane function UPF network element information where the session is located.

[0012] According to another aspect of the present disclosure, a session data management device is also provided, which is applied to a second SMF network element, and the device includes: a faulty network element detection module, used to detect whether a fault occurs in the first SMF network element, wherein the first SMF network element and the second SMF network element serve as hot backups for each other's respective user session data; a faulty network element service address publishing module, used to publish the service address of the first SMF network element undertaking the service to the data center gateway when the first SMF network element fails; a faulty network element service message interception module, used to receive a service message to be sent to the first SMF network element forwarded by the data center gateway, wherein the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address; a session data management module, used to manage the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element.

[0013] In some embodiments, the device further includes: a network element equipment information exchange module, used to exchange respective network element equipment information with the first SMF network element, wherein the network element equipment information at least includes: a business address of the undertaken business.

[0014] According to another aspect of the present disclosure, a core network system is also provided, which includes: a first SMF network element, a second SMF network element and a data center gateway; wherein the first SMF network element and the second SMF network element hot-backup each other's user session data; when the first SMF network element fails, the second SMF network element publishes the business address of the first SMF network element to undertake the business to the data center gateway; the data center gateway is used to intercept the business message to be sent to the first SMF network element according to the received business address, and forward it to the second SMF network element; the second SMF network element is also used to manage the session data of the corresponding business on the first SMF network element according to the user session data of the first SMF network element.

[0015] In some embodiments, the system also includes: an AMF network element, a UPF network element or a unified data management UDM network element; wherein the data center gateway is also used to forward the service message to be sent by the AMF network element, the UPF network element or the UDM network element to the first SMF network element to the second SMF network element.

[0016] 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 any one of the above-mentioned session data management methods by executing the executable instructions.

[0017] 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 session data management method described in any one of the above is implemented.

[0018] According to another aspect of the present disclosure, a computer program product is provided, including a computer program, wherein when the computer program is executed by a processor, the computer program implements any one of the above session data management methods.

[0019] The session data management method, device, system, electronic device and storage medium provided in the embodiments of the present disclosure configure a first SMF network element and a second SFM network element for hot backup of respective user session data. When the second SMF network element detects that the first SMF network element has failed, the service address of the service undertaken by the first SMF network element is sent to the data center gateway, so that after the data center gateway receives the service messages sent to these service addresses, it forwards the service messages to the second SMF network element where the failure has occurred, so that the second SMF network element can manage the session data of the corresponding service on the first SMF network element.

[0020] Through the session management solution provided by the embodiment of the present disclosure, the access network equipment (such as base stations) and other network elements in the core network except the SMF network element (such as AMF network elements, UPF network elements and UDM network elements, etc.) will not perceive the failure of the SMF network element, and the user terminal on the faulty SMF network element will not be taken offline, thereby avoiding network signaling storm problems caused by re-registration of user terminals.

[0021] 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

[0022] 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.

[0023] Figure 1 A schematic diagram of an application system architecture in an embodiment of the present disclosure is shown;

[0024] Figure 2 A flow chart of a session data management method according to an embodiment of the present disclosure is shown;

[0025] Figure 3 A flow chart of an optional session data management method in an embodiment of the present disclosure is shown;

[0026] Figure 4 A schematic diagram of a core network system architecture in an embodiment of the present disclosure is shown;

[0027] Figure 5 A flow chart showing the interaction between SMF network elements belonging to the same data center gateway in a session management system in which hot backup is provided for each other in an embodiment of the present disclosure;

[0028] Figure 6 A flow chart showing the interaction between SMF network elements belonging to different data center gateways in a session management system in an embodiment of the present disclosure, in which SMF network elements serve as hot backup for each other;

[0029] Figure 7 A schematic diagram of a session data management device according to an embodiment of the present disclosure is shown;

[0030] Figure 8 A structural block diagram of an electronic device in an embodiment of the present disclosure is shown. 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, before introducing the embodiments of the present disclosure, several terms involved in the embodiments of the present disclosure are first explained as follows:

[0034] AMF: Access and Mobility Management Function, a core network element, is mainly used to implement registration management, connection management, access management, mobility management, security and access management, and authorization-related functions.

[0035] SMF: Session Management Function, a core network element, mainly used to implement functions such as creation, update and deletion of PDU sessions.

[0036] UDM: Unified Data Management, a core network element, is mainly used to manage user identification, contract data, authentication data, etc., as well as user service element registration management.

[0037] UPF: User Plane Function, a core network element, mainly used to implement functions such as the transmission of user plane network traffic.

[0038] FQDN: Fully Qualified Domain Name, a complete domain name, including the host name and domain name suffix, is used to uniquely identify and locate a host or service on the network.

[0039] The specific implementation of the embodiment of the present disclosure is described in detail below with reference to the accompanying drawings.

[0040] Figure 1 FIG. 1 shows an exemplary application system architecture diagram to which the session data management method in the embodiment of the present disclosure can be applied. Figure 1 As shown, the system architecture may include: user terminal 10, access network equipment 20 and core network 30. The core network 30 is provided with core network elements for implementing various functions, including but not limited to Figure 1 The AMF network element 301, UPF network element 302, UDM network element 303, data center gateway 304 and SMF network element 305 are shown in FIG. SMF network elements include but are not limited to Figure 1 The first SMF network element 305A and the second SMF network element 305B are shown in FIG. The first SMF network element 305A and the second SMF network element 305B are respectively used to manage sessions of different services.

[0041] In the embodiment of the present disclosure, the medium providing the communication link between the user terminal 10 and the access network device 20 may be a wired network or a wireless network.

[0042] 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, the data exchanged through the network is represented by technologies and / or formats including Hyper Text Mark-up Language (HTML), Extensible Markup Language (XML), etc. 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.

[0043] In some implementations, the user terminal 10 in the embodiment of the present disclosure may also be referred to as UE (User Equipment). In a specific implementation, the user terminal may be a mobile phone, a tablet computer (Tablet Personal Computer), a laptop computer (Laptop Computer), a personal digital assistant (Personal Digital Assistant, PDA), a mobile Internet device (Mobile Internet Device, MID), a wearable device (Wearable Device) or a vehicle-mounted device, etc. It should be noted that the specific type of the user terminal is not limited in the embodiment of the present invention.

[0044] In some implementations, the access network device 20 in the embodiments of the present disclosure may be a base station, a relay, an access point, etc. The base station may be a base station of 5G or later versions (e.g., 5G NR NB), or a base station in other communication systems (e.g., an eNB base station). It should be noted that the specific type of the network side device is not limited in the embodiments of the present disclosure.

[0045] Those skilled in the art will know that Figure 1The number of terminals, networks, and network-side devices in the example is only illustrative, and any number of terminals, networks, and network-side devices may be provided according to actual needs. The embodiments of the present disclosure are not limited to this.

[0046] Under the above system architecture, a session data management 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.

[0047] In some embodiments, the session data management method provided in the embodiments of the present disclosure can be executed by the second SMF network element 305B of the above-mentioned system architecture; in other embodiments, the session data management method provided in the embodiments of the present disclosure can be implemented by the second SMF network element 305B in the above-mentioned system architecture through interaction with the first SMF network element 305A, the data center gateway 304, etc.

[0048] Figure 2 A flow chart of a session data management method in an embodiment of the present disclosure is shown as follows: Figure 2 As shown, the session data management method provided in the embodiment of the present disclosure may include the following steps:

[0049] S202, detect whether the first SMF network element fails, wherein the first SMF network element and the second SMF network element hot-backup each other's user session data.

[0050] It should be noted that the first SMF network element and the second SMF network element in the present embodiment refer to SMF network elements that serve as hot backups for each other. The first SMF network element can be any SMF network element in the core network, and the second SMF network element refers to an SMF network element that serves as a hot backup for the first SMF network element. The first SMF network element may correspond to multiple second SMF network elements, and the second SMF network element may also correspond to multiple first SMF network elements.

[0051] In the actual implementation process, those skilled in the art can arbitrarily configure the first SMF network element and the second SMF network element as hot backups for each other. In the embodiments of the present disclosure, the second SMF network element is used as an example to describe whether the first SMF network element has failed. In some embodiments, the session data management method provided in the embodiments of the present disclosure can also be applied to the scenario where the first SMF network element detects whether the second SMF network element has failed.

[0052] In some embodiments, the second SMF network element can determine whether the first SMF network element fails by detecting a heartbeat message from the first SMF network element. Similarly, the first SMF network element can also determine whether the second SMF network element fails by detecting a heartbeat message from the second SMF network element.

[0053] In one embodiment, the above S202 can be implemented specifically through the following steps: detecting whether a heartbeat message from the first SMF network element is received; if the heartbeat message from the first SMF network element is not received, determining that the first SMF network element has a fault; if the heartbeat message from the first SMF network element is received, determining that the first SMF network element has not a fault. In a specific implementation, each SMF network element of the core network can send a heartbeat message regularly. If the second SMF network element does not receive a heartbeat message from the first SMF network element within a preset time, it is determined that the first SMF network element has a sending fault.

[0054] In some embodiments, the user session data of the first SMF network element and the second SMF network element which serve as hot backups for each other may include but is not limited to at least one of the following information of each user terminal carried by each of them: user identification information, user subscription data, registration access and mobility management function AMF network element information, and user plane function UPF network element information where the session is located.

[0055] S204: When the first SMF network element fails, the business address of the first SMF network element taking over the business is published to the data center gateway.

[0056] It should be noted that when the second SMF network element detects that the first SMF network element has a failure, it publishes the business address of the first SMF network element to the data center gateway, so that the data center gateway can identify and intercept the business message to be forwarded to the first SMF network element based on the received business address, and forward it to the second SMF network element, so that the second SMF network element can take over the business of the first SMF network element.

[0057] In some embodiments, the business address in the embodiments of the present disclosure refers to an address that provides business services, which can be but is not limited to an IP address.

[0058] S206, receiving the service message to be sent to the first SMF network element forwarded by the data center gateway, wherein the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address.

[0059] It should be noted that after receiving the business address of the business undertaken by the first SMF network element published by the second SMF network element, the data center gateway can identify and intercept business messages sent by other devices to the first SMF network element. The business messages here can be business messages sent by user terminals or business messages sent by other core network elements (such as AMF network elements, UPF network elements or UDM network elements, etc.).

[0060] S208, manage the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element.

[0061] It should be noted that since the user session data of the first SMF network element has been synchronized in advance on the second SMF network element, after receiving the service message sent to the first SMF network element by other devices forwarded by the data center gateway, the corresponding service can be processed directly.

[0062] In some embodiments, in the disclosed embodiments, the second SMF network element actively detects the fault status of the first SMF network element. Therefore, when the first SMF network element returns to normal, it only needs to notify the data center gateway to delete the service address of the service carried by the first SMF network element from the forwarding table of the second SMF network element. During the entire process from the occurrence of the fault to the fault recovery, other core network elements or access network devices that communicate with the SMF network element will not be aware of it.

[0063] In some embodiments, when there are multiple SMF network elements in the core network, the SMF network elements that serve as hot backups for each other can be configured according to predetermined rules. Each SMF network element can have more than one backup SMF network element. When a certain SMF network element has multiple backup SMF network elements, the services taken over by each backup SMF network element can also be configured according to the business volume. It is only necessary to configure the business addresses taken over by each backup SMF network element on the data center gateway.

[0064] As can be seen from the above, the session data management method provided in the embodiment of the present disclosure configures the first SMF network element and the second SFM network element for hot backup of respective user session data (user session context data, etc.). When the second SMF network element detects that the first SMF network element has failed, the business address of the business undertaken by the first SMF network element is sent to the data center gateway, so that after the data center gateway receives the business messages sent to these business addresses, it forwards the business messages to the second SMF network element where no failure has occurred, so that the second SMF network element can manage the session data of the corresponding business on the first SMF network element.

[0065] Through the session management solution provided by the embodiment of the present disclosure, the access network equipment (such as base stations) and other network elements in the core network except the SMF network element (such as AMF network elements, UPF network elements and UDM network elements, etc.) will not perceive the failure of the SMF network element, and will not take the user terminal on the faulty SMF network element offline, thereby avoiding network signaling storm problems caused by re-registration of the user terminal.

[0066] The first SMF network element and the second SMF network element in the embodiment of the present disclosure are usually SMF network elements that undertake different services, and the services undertaken by the first SMF network element and the second SMF network element may change. Therefore, in some embodiments, before detecting whether the first SMF network element fails, Figure 3 As shown, the session data management method provided in the embodiment of the present disclosure may also include the following steps:

[0067] S200, exchanging respective network element equipment information with the first SMF network element, wherein the network element equipment information at least includes: a business address of the undertaken business.

[0068] Furthermore, in some embodiments, the network element device information exchanged between the first SMF network element and the second SMF network element may also include but is not limited to at least one of the following information: N4 interface address, session identifier and fully qualified domain name FQDN.

[0069] It should be noted that the first SMF network element and the second SMF network element in the embodiment of the present disclosure may be SMF network elements connected to the same data center gateway, or may be SMF network elements connected to different data center gateways. Therefore, in some embodiments, when the data center gateway includes a first data center gateway and a second data center gateway, and the first SMF network element is an SMF network element under the first data center gateway, and the second SMF network element is an SMF network element under the second data center gateway; Figure 3 As shown, the above S204 can be implemented specifically through the following steps:

[0070] S2042, publishing the business address of the first SMF network element to undertake the business to the second data center gateway;

[0071] S2044, forward the business address of the first SMF network element undertaking the business to the first data center gateway through the second data center gateway.

[0072] For example, Figure 3 As shown, the above S206 can be implemented specifically through the following steps:

[0073] S2062, intercepting the service message to be sent to the first SMF network element according to the received service address through the first data center gateway, and forwarding it to the second data center gateway;

[0074] S2064, receive the business message forwarded by the second data center gateway to be sent to the first SMF network element.

[0075] Based on the same inventive concept, the present disclosure also provides a core network system, as described in the following embodiments. Since the principle of solving the problem in the system embodiment is similar to that in the above method embodiment, the implementation of the system embodiment can refer to the implementation of the above method embodiment, and the repeated parts will not be repeated.

[0076] Figure 4 A schematic diagram of a core network system in an embodiment of the present disclosure is shown. Figure 4 As shown, the core network system includes: a first SMF network element 305A, a second SMF network element 305B and a data center gateway 304;

[0077] Among them, the first SMF network element 305A and the second SMF network element 305B hot-back up each other's user session data; when the first SMF network element 305A fails, the second SMF network element 305B publishes the business address of the first SMF network element 305A to undertake the business to the data center gateway; the data center gateway 304 is used to intercept the business message to be sent to the first SMF network element 305A according to the received business address, and forward it to the second SMF network element 305B; the second SMF network element 305B is also used to manage the session data of the corresponding business on the first SMF network element 305A according to the user session data of the first SMF network element 305A.

[0078] In some embodiments, the core network system provided in the embodiments of the present disclosure may also include: AMF network element 301, UPF network element 302 or UDM network element 303; wherein, the AMF network element 301, UPF network element 302 or UDM network element 303 respectively communicate with the data center gateway 304, and the data center gateway 304 is also used to forward the business message to be sent by the AMF network element 301, UPF network element 302 or UDM network element 303 to the first SMF network element 305A to the second SMF network element 305B.

[0079] Figure 5 A flow chart of the interaction between SMF network elements in the same data center gateway and the session management system in the embodiment of the present disclosure is shown, as shown in FIG. Figure 5 As shown, specifically including:

[0080] S1, the first SMF network element and the second SMF network element exchange their respective network element equipment information, and synchronize their respective user session data in real time or regularly under normal working conditions;

[0081] S2, the first SMF network element fails;

[0082] S3, the second SMF network element publishes the service address of the service carried by the first SMF network element to the data center gateway;

[0083] S4, the data center gateway forwards the service message sent by the AMF network element, UPF network element or UDM network element to the first SMF network element to the second SMF network element, so that the second SMF network element takes over the service of the first SMF network element.

[0084] Figure 6 A flow chart of the interaction between SMF network elements belonging to different data center gateways in the embodiment of the present disclosure is shown, such as Figure 6 As shown, specifically including:

[0085] S1, the first SMF network element and the second SMF network element exchange their respective network element equipment information, and synchronize their respective user session data in real time or regularly under normal working conditions;

[0086] S2, the first SMF network element fails;

[0087] S3, the second SMF network element publishes the service address of the service carried by the first SMF network element to the second data center gateway;

[0088] S4, the second data center gateway forwards the service address of the service carried by the first SMF network element to the first data center gateway;

[0089] S5, the first data center gateway forwards the service message sent by the AMF network element, UPF network element or UDM network element to the first SMF network element to the second data center gateway;

[0090] S6, the second data center gateway forwards the business message sent by the AMF network element, UPF network element or UDM network element to the first SMF network element to the second SMF network element, so that the second SMF network element takes over all the business of the first SMF network element.

[0091] Based on the same inventive concept, the present disclosure also provides a session data management device, 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.

[0092] Figure 7 A schematic diagram of a session data management device in an embodiment of the present disclosure is shown. Figure 7 As shown, the device includes: a faulty network element detection module 701, a faulty network element service address publishing module 702, a faulty network element service message interception module 703 and a session data management module 704.

[0093] Among them, the faulty network element detection module 701 is used to detect whether the first SMF network element has a fault, wherein the first SMF network element and the second SMF network element hot-backup each other's respective user session data; the faulty network element service address publishing module 702 is used to publish the service address of the first SMF network element to undertake the service to the data center gateway when the first SMF network element fails; the faulty network element service message interception module 703 is used to receive the service message forwarded by the data center gateway to be sent to the first SMF network element, wherein the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address; the session data management module 704 is used to manage the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element.

[0094] In some embodiments, the session data management device provided in the embodiments of the present disclosure may also include: a network element device information exchange module 705, which is used to exchange respective network element device information with the first SMF network element, wherein the network element device information at least includes: a business address of the undertaken business.

[0095] In some embodiments, the above network element device information may also include but is not limited to at least one of the following information: N4 interface address, session identifier and fully qualified domain name FQDN.

[0096] In some embodiments, the above-mentioned user session data may include but is not limited to at least one of the following information of each user terminal: user identification information, user subscription data, registration access and mobility management function AMF network element information, and user plane function UPF network element information where the session is located.

[0097] In some embodiments, the above-mentioned faulty network element detection module 701 is also used to: detect whether a heartbeat message is received from the first SMF network element; if no heartbeat message is received from the first SMF network element, it is determined that the first SMF network element has a fault; if a heartbeat message is received from the first SMF network element, it is determined that the first SMF network element has not a fault.

[0098] In some embodiments, the data center gateway includes: a first data center gateway and a second data center gateway, the first SMF network element is the SMF network element under the first data center gateway, and the second SMF network element is the SMF network element under the second data center gateway; wherein the above-mentioned faulty network element service address publishing module 702 is also used to: publish the service address of the first SMF network element to undertake the service to the second data center gateway; forward the service address of the first SMF network element to undertake the service to the first data center gateway through the second data center gateway; the above-mentioned faulty network element service message interception module 703 is also used to: intercept the service message to be sent to the first SMF network element according to the received service address through the first data center gateway, and forward it to the second data center gateway; receive the service message to be sent to the first SMF network element forwarded by the second data center gateway.

[0099] It should be noted that the examples and application scenarios implemented by the above modules and corresponding steps are the same, but are not limited to the contents disclosed in the above method embodiments. It should be noted that the above modules as part of the device can be executed in a computer system such as a set of computer executable instructions.

[0100] To summarize, the session data management solution provided in the embodiment of the present disclosure exchanges respective network element device information (including N4 interface address, HTTP interface address, SMF instance id, FQDN, etc.) between SMF network elements in a hot standby relationship with each other, and synchronizes and backs up the dynamic session data (user IMSI, contract data, registration AMF information, UPF information where the session is located, etc.) of each user terminal in real time; when a certain SMF network element (i.e., the first SMF network element in the embodiment of the present disclosure) fails, the backup SMF network element (i.e., the second SMF network element in the embodiment of the present disclosure) that is in hot standby with it can quickly sense the failure of the SMF network element through the heartbeat message, and thus publish the business address of the business undertaken by the failed SMF network element to the data center gateway, and the backup SMF network element starts to take over the business of the failed SMF network element.

[0101] For AMF network elements or other core network elements, the service address (IP address) of the faulty SMF network element is still reachable, so the fault of the SMF network element will not be sensed. When an external device sends a service message to the faulty SMF network element, the data center gateway DCGW sends the service message originally sent to the faulty SMF network element to the backup SMF network element according to the received service address, and the backup SMF completely takes over the service of the faulty SMF through the synchronized user session data under normal conditions. When the SMF fails, the base station and other network elements will not sense the failure, and the user will not initiate re-registration, which reduces the risk of signaling storms caused by network element failures and ensures the network resilience of the 5G mobile network in response to network element failures.

[0102] It can be seen that the session data management solution provided in the embodiment of the present disclosure shares respective user context data between SMF network elements that serve as hot backups for each other. After one of the SMF network elements fails, the backup SMF network element can take over the user services on the failed SMF network element. The surrounding devices do not perceive the SMF failure, the failure process is not triggered, the user does not go offline, and the user does not initiate re-registration. This can reduce the risk of signaling storms caused by network element failures and ensure the network resilience of the 5G mobile network in response to network element failures.

[0103] 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".

[0104] Refer to the following Figure 8 The electronic device 800 according to this embodiment of the present disclosure is described. Figure 8The electronic device 800 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.

[0105] like Figure 8 As shown, the electronic device 800 is in the form of a general computing device. The components of the electronic device 800 may include but are not limited to: at least one processing unit 810, at least one storage unit 820, and a bus 830 connecting different system components (including the storage unit 820 and the processing unit 810).

[0106] Wherein, the storage unit stores a program code, and the program code can be executed by the processing unit 810, so that the processing unit 810 executes the steps described in the above "Exemplary Method" section of this specification according to various exemplary embodiments of the present disclosure. For example, the processing unit 810 can execute the following steps of the above method embodiment: detect whether the first SMF network element fails, wherein the first SMF network element and the second SMF network element are hot backups for each other's user session data; when the first SMF network element fails, publish the business address of the first SMF network element to undertake the business to the data center gateway; receive the business message to be sent to the first SMF network element forwarded by the data center gateway, wherein the data center gateway intercepts the business message to be sent to the first SMF network element according to the received business address; according to the user session data of the first SMF network element, manage the session data of the corresponding business on the first SMF network element.

[0107] The storage unit 820 may include a readable medium in the form of a volatile storage unit, such as a random access memory unit (RAM) 8201 and / or a cache memory unit 8202 , and may further include a read-only memory unit (ROM) 8203 .

[0108] The storage unit 820 may also include a program / utility 8204 having a set (at least one) of program modules 8205, such program modules 8205 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.

[0109] Bus 830 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.

[0110] The electronic device 800 may also communicate with one or more external devices 840 (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 800, and / or communicate with any device that enables the electronic device 800 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 850. Furthermore, the electronic device 800 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 860. As shown, the network adapter 860 communicates with other modules of the electronic device 800 via a bus 830. 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 800, 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.

[0111] 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.

[0112] In particular, according to an embodiment of the present disclosure, the process described above with reference to the flowchart may be implemented as a computer program product, which includes: a computer program, which implements the above session data management method when executed by a processor.

[0113] In an exemplary embodiment of the present disclosure, a computer-readable storage medium is also provided, which may be a readable signal medium or a readable storage medium. The computer-readable storage medium stores a program product capable of implementing the above-mentioned method of the present disclosure. 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, and when the program product is run on a user terminal, the program code is used to cause the user terminal to execute the steps according to various exemplary implementations of the present disclosure described in the above “Exemplary Method” section of this specification.

[0114] 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.

[0115] 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.

[0116] 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.

[0117] 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).

[0118] 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.

[0119] 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.

[0120] 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.

[0121] 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 session data management method, characterized in that: Applied to the second session management function SMF network element, including: Detect whether a first SMF network element fails, wherein the first SMF network element and the second SMF network element are hot backups for each other's user session data; When the first SMF network element fails, the business address of the first SMF network element undertaking the business is published to the data center gateway; Receiving a service message to be sent to the first SMF network element forwarded by the data center gateway, wherein the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address; According to the user session data of the first SMF network element, manage the session data of the corresponding service on the first SMF network element; Before detecting whether the first SMF network element fails, the method further includes: Exchange respective network element equipment information with the first SMF network element, wherein the network element equipment information at least includes: a business address of the undertaken business; Among them, the service message is a service message to be sent by the user terminal to the first SMF network element or a service message to be sent by other core network elements to the first SMF network element.

2. The session data management method according to claim 1, characterized in that: The network element device information also includes at least one of the following information: N4 interface address, session identifier and fully qualified domain name FQDN.

3. The session data management method according to claim 1, characterized in that: Detecting whether the first SMF network element fails, including: Detect whether a heartbeat message from the first SMF network element is received; If no heartbeat message is received from the first SMF network element, it is determined that the first SMF network element fails; If a heartbeat message is received from the first SMF network element, it is determined that the first SMF network element has not failed.

4. The session data management method according to claim 1, characterized in that: The data center gateway includes: a first data center gateway and a second data center gateway, the first SMF network element is an SMF network element under the first data center gateway, and the second SMF network element is an SMF network element under the second data center gateway; Among them, publishing the business address of the first SMF network element to undertake the service to the data center gateway includes: publishing the business address of the first SMF network element to undertake the service to the second data center gateway; forwarding the business address of the first SMF network element to undertake the service to the first data center gateway through the second data center gateway; Receiving the service message to be sent to the first SMF network element forwarded by the data center gateway, including: intercepting the service message to be sent to the first SMF network element according to the received service address by the first data center gateway, and forwarding it to the second data center gateway; receiving the service message to be sent to the first SMF network element forwarded by the second data center gateway.

5. The session data management method according to any one of claims 1 to 4, characterized in that: The user session data includes at least one of the following information of each user terminal: user identification information, user subscription data, registration access and mobility management function AMF network element information, and user plane function UPF network element information where the session is located.

6. A session data management device, characterized in that: Applied to the second SMF network element, including: A faulty network element detection module, used to detect whether a fault occurs in a first SMF network element, wherein the first SMF network element and the second SMF network element are hot backups of each other's user session data; A faulty network element service address publishing module, used for publishing the service address of the first SMF network element to undertake the service to the data center gateway when the first SMF network element fails; A faulty network element service message interception module, used to receive a service message forwarded by the data center gateway to be sent to the first SMF network element, wherein the data center gateway intercepts the service message to be sent to the first SMF network element according to the received service address; A session data management module, used to manage the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element; Wherein, the device further comprises: A network element device information exchange module, used to exchange respective network element device information with the first SMF network element, wherein the network element device information at least includes: a business address of the undertaken business; Among them, the service message is a service message to be sent by the user terminal to the first SMF network element or a service message to be sent by other core network elements to the first SMF network element.

7. A core network system, characterized in that: include: A first SMF network element, a second SMF network element and a data center gateway; Among them, the first SMF network element and the second SMF network element hot-backup each other's user session data; when the first SMF network element fails, the second SMF network element publishes the business address of the first SMF network element to undertake the business to the data center gateway; The data center gateway is used to intercept the service message to be sent to the first SMF network element according to the received service address, and forward it to the second SMF network element; The second SMF network element is further used to manage the session data of the corresponding service on the first SMF network element according to the user session data of the first SMF network element; Before the second SMF network element detects whether the first SMF network element fails, the first SMF network element and the second SMF network element exchange their respective network element equipment information, and the network element equipment information at least includes: the business address of the undertaken business; Among them, the service message is a service message to be sent by the user terminal to the first SMF network element or a service message to be sent by other core network elements to the first SMF network element.

8. The core network system according to claim 7, characterized in that: The system also includes: an AMF network element, a UPF network element or a unified data management UDM network element; Among them, the data center gateway is also used to forward the business message of the AMF network element, UPF network element or UDM network element to be sent to the first SMF network element to the second SMF network element.

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 session data management method according to 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 session data management method according to any one of claims 1 to 5 is implemented.

Citation Information

Patent Citations

  • Method for realizing disaster tolerance and related equipment

    CN111225401A