CN113382432B - 5G network service providing method, device and equipment - Google Patents

5G network service providing method, device and equipment Download PDF

Info

Publication number
CN113382432B
CN113382432B CN202110931707.4A CN202110931707A CN113382432B CN 113382432 B CN113382432 B CN 113382432B CN 202110931707 A CN202110931707 A CN 202110931707A CN 113382432 B CN113382432 B CN 113382432B
Authority
CN
China
Prior art keywords
network element
control plane
plane network
operation state
amf
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110931707.4A
Other languages
Chinese (zh)
Other versions
CN113382432A (en
Inventor
彭艺
曹孟
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
New H3C Technologies Co Ltd
Original Assignee
New H3C Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by New H3C Technologies Co Ltd filed Critical New H3C Technologies Co Ltd
Priority to CN202110931707.4A priority Critical patent/CN113382432B/en
Publication of CN113382432A publication Critical patent/CN113382432A/en
Application granted granted Critical
Publication of CN113382432B publication Critical patent/CN113382432B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • H04L41/0663Performing the actions predefined by failover planning, e.g. switching to standby network elements

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the application discloses a 5G network service providing method, a device and equipment. The method and the device can detect the operation state of a first control plane network element providing 5G network service for the terminal in a control plane network element set deployed in a 5G core network through a 5G core network control device, so that when the operation state of the first control plane network element is detected to be changed from normal to fault, a second control plane network element (namely, a substitute network element) with a normal operation state is selected from the control plane network element set, and the interconnection network element of the first control plane network element is indicated to be associated with the second control plane network element, so that the interconnection network element provides the 5G network service for the terminal through interaction with the second control plane network element, interconnection between the interconnection network element of the first control plane network element and different substitute network elements is avoided, and further terminal service abnormity caused by interconnection between the interconnection network element of the first control plane network element and different substitute network elements can be avoided.

Description

5G network service providing method, device and equipment
Technical Field
The present application relates to the field of communications, and in particular, to a method, an apparatus, and a device for providing 5G network services.
Background
When the core network control plane network elements are deployed in a set, if one network element in the control plane network element set that provides the 5G network service for the terminal has a fault, after learning about the fault, each network element (such as a base station, a user plane network element, or other control plane network elements, which are denoted as interconnected network elements) interconnected with the network element selects one other network element from the control plane network element set to replace the faulty network element (which is denoted as a substitute network element) to continue the service.
If the alternative network elements selected by the respective interconnected network elements are not the same network element, an abnormality in the terminal service may be caused, for example, a concurrency condition may occur in a process that cannot be concurrent at this time, and the concurrent processing of the process may cause an abnormality in the terminal service.
Disclosure of Invention
The application discloses a method, a device and equipment for providing a 5G network service, which are used for avoiding service abnormity caused by the fact that alternative network elements selected by interconnected network elements of the network elements are not the same network element when the network elements in a control plane network element set are in fault.
According to a first aspect of the embodiments of the present application, a method for providing a 5G network service is provided, where the method is applied to a 5G core network control device, and includes:
detecting the operation state of a first control plane network element which provides 5G network service for a terminal in a control plane network element set deployed in a 5G core network;
when the operation state of the first control plane network element is detected to be changed from normal to fault, selecting a second control plane network element with a normal operation state from the control plane network element set, and sending a notification message to an interconnection network element of the first control plane network element, wherein the notification message is used for instructing the interconnection network element to switch the contexts of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, and instructing the interconnection network element to provide 5G network service for the terminals through interaction with the second control plane network element.
According to a second aspect of the embodiments of the present application, there is provided a 5G network service providing apparatus, where the apparatus is applied to a 5G core network control device, and the apparatus includes:
an operation state detection unit, configured to detect an operation state of a first control plane network element, which provides a 5G network service for a terminal, in a control plane network element set deployed in a 5G core network;
and a notification message sending unit, configured to, when it is detected that the operation state of the first control plane network element changes from normal to a fault, select a second control plane network element with a normal operation state from the control plane network element set, and send a notification message to an inter-network element of the first control plane network element, where the notification message is used to instruct the inter-network element to switch contexts of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, and instruct the inter-network element to provide a 5G network service for the terminals by interacting with the second control plane network element.
Optionally, the apparatus further comprises:
a subscription notification receiving unit, configured to receive a first subscription notification sent by an internetwork element before sending a notification message to the internetwork element of a first control plane network element, where the first subscription notification is used to subscribe to an operation state of the first control plane network element;
the sending of the notification message to the inter-network element of the first control plane network element by the notification message sending unit includes: and sending the notification message to the internet element which has sent the subscription notification and is the first control plane network element.
Optionally, the detecting, by the operation state detecting unit, an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network includes:
receiving heartbeat messages sent by a first control plane network element according to a period;
when the heartbeat message sent by the first control plane network element is not received within the specified time, determining that the operation state of the first control plane network element is changed from normal to fault, otherwise, determining that the operation state of the first control plane network element is normal; wherein the specified duration is greater than a period of sending the heartbeat message by the first control plane network element.
According to a third aspect of embodiments of the present application, there is provided an electronic apparatus including: a processor and a memory;
the memory for storing machine executable instructions;
the processor is used for reading and executing the machine executable instructions stored in the memory so as to realize the 5G network service providing method.
The technical scheme provided by the embodiment of the application can have the following beneficial effects:
as can be seen from the above technical solutions, in the solution provided by the present application, the 5G core network control device may detect an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network, so that when detecting that the operation state of the first control plane network element changes from normal to failure, a second control plane network element (i.e. an alternative network element) with normal operation state is selected from the above control plane network element set, and instruct an internetworking element of the first control plane network element to switch the context of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, so that the inter-networking element provides 5G network services for the terminal by interacting with the second control plane network element, thereby avoiding the inter-networking element of the first control plane network element from being interconnected with different alternative network elements, and further, terminal service abnormity caused by interconnection of the interconnected network element of the first control plane network element and different substitute network elements can be avoided.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the application.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present specification and together with the description, serve to explain the principles of the specification.
Fig. 1 is a flowchart of a method for implementing 5G network service provision provided in an embodiment of the present application;
fig. 2 is a schematic flow chart of application 5G network service provision provided in an embodiment of the present application;
fig. 3 is a schematic diagram of an apparatus for implementing 5G network service provision provided in an embodiment of the present application;
fig. 4 is a schematic diagram of a hardware structure of an electronic device according to an embodiment of the present application.
Detailed Description
Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, like numbers in different drawings represent the same or similar elements unless otherwise indicated. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with the present application. Rather, they are merely examples of apparatus and methods consistent with certain aspects of the present application, as detailed in the appended claims.
The terminology used herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the application. As used in this application and the appended claims, the singular forms "a", "an", and "the" are intended to include the plural forms as well, unless the context clearly indicates otherwise. It should also be understood that the term "and/or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
It is to be understood that although the terms first, second, third, etc. may be used herein to describe various information, such information should not be limited to these terms. These terms are only used to distinguish one type of information from another. For example, first information may also be referred to as second information, and similarly, second information may also be referred to as first information, without departing from the scope of the present application. The word "if" as used herein may be interpreted as "at … …" or "when … …" or "in response to a determination", depending on the context.
In order to make the technical solutions provided in the embodiments of the present application better understood and make the above objects, features and advantages of the embodiments of the present application more comprehensible, the technical solutions in the embodiments of the present application are described in further detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a flowchart of a method for providing 5G network services according to an embodiment of the present disclosure. As an embodiment, the process shown in fig. 1 may be applied to a 5G core Network control device, where the 5G core Network control device may be a 5G core Network control plane Network element NRF (Network storage Function) or a control Network element newly added to a 5G core Network.
As shown in fig. 1, the process may include the following steps:
step 101, detecting an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network.
First, it should be noted that the control plane network element set includes a plurality of control plane network elements, the control plane network elements are deployed in a 5G network architecture in a set manner, data between the control plane network elements in the same control plane network element set is shared (for example, terminal context data: when a terminal accesses a 5G network, a core network control plane network element such as an AMF (Access and Mobility Management function) network element, an SMF (Session Management function) network element may store temporary information related to the terminal, such as capability information, location information, Session information, and the like of the terminal), and the control plane network elements in the same control plane network element set may provide the same 5G network service for the terminal, so as to provide redundancy of functions of the control plane network elements.
Illustratively, taking a control plane network element set as an AMF network element set as an example, the AMF network element set includes a plurality of AMF network elements, when one AMF network element in the AMF network element set provides a service for a certain terminal to access a 5G network inside a certain industrial park, other AMF network elements in the AMF network element set also share information related to the terminal, and the other AMF network elements also provide the service for the terminal to access the 5G network inside the certain industrial park.
As an embodiment, based on the control plane network element set, the device may determine the operation state of each control plane network element in the control plane network element set by receiving a heartbeat message sent by each control plane network element in the control plane network element set according to a period.
Optionally, for any control plane network element in the control plane network element set, if the heartbeat message sent by the control plane network element is not received within a specified time, it is determined that the operation state of the control plane network element changes from normal to failure, otherwise, if the heartbeat message sent by the control plane network element is received within the specified time, it is determined that the operation state of the control plane network element is normal. Wherein the specified duration is longer than the period of sending heartbeat messages by the control plane network element.
And step 102, when detecting that the operation state of the first control plane network element changes from normal to fault, selecting a second control plane network element with a normal operation state from the control plane network element set.
As an embodiment, before the embodiment of the present application, the present device needs to first obtain registration information of each control plane network element in a control plane network element set, where the registration information of the control plane network element at least includes: the priority of the control plane network element, the weight of the control plane network element, etc. Optionally, the heartbeat message of each control plane network element in the control plane network element set received by the device also carries current load information of each control plane network element.
Optionally, based on the registration information and the current load of each control plane network element, when the device does not receive the heartbeat message sent by the first control plane network element within the specified time, it may be determined that the operation state of the first control plane network element changes from normal to failure, and at this time, a second control plane network element with a normal operation state may be selected from the control plane network element set, and the second control plane network element with a normal operation state may be selected according to the priority, the weight, and the current load of each control plane network element in the control plane network element set, where the priority of the second control plane network element in the control plane network element set is the highest, and/or the current load calculated according to the weight is the smallest, so as to select an optimal control plane network element from the current control plane network element set as the second control plane network element to replace the first control plane network element.
Step 103, sending a notification message to the inter-network element of the first control plane network element, where the notification message is used to instruct the inter-network element to switch the contexts of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, and instruct the inter-network element to provide a 5G network service for the terminals through interaction with the second control plane network element.
In this embodiment of the present application, before sending a notification message to an inter-network element of a first control plane network element, the present device receives a first subscription notification sent by the inter-network element, where the first subscription notification is used to subscribe to an operation state of the first control plane network element.
As an embodiment, the first subscription notification is sent to the device when the inter-networking element learns that the 5G network service is provided for the terminal by interacting with the first control plane network element. After receiving the first subscription notification, the device records a corresponding relationship between the internet element and the first control plane network element, and further, when detecting that the operating state of the first control plane network element changes from normal to failure, may search for the internet element of the first control plane network element through the recorded corresponding relationship, and send the notification message to the internet element that has sent the subscription notification and is the first control plane network element.
In this embodiment of the application, the notification message may instruct the inter-networking element to switch the contexts of all the terminals locally associated with the first control plane network element to be associated with the second control plane network element. It should be noted that the reason why the inter-connected network element is to instruct the inter-connected network element to modify the contexts of all the terminals associated with the first control plane network element is that, in the 5G network, a context is established for a terminal between network elements providing 5G network services for the terminal, and the established contexts have relevance (for example, the AMF network element records a base station where the user terminal resides, and also records an SMF network element where a PDU (Protocol Data Unit) session of the user terminal resides, and similarly, the base station and the SMF network element record the AMF network element accessed by the user terminal), and the context instructs objects that each network element needs to interact to provide 5G network services for the terminal.
Optionally, after sending the notification message to the inter-network element, the device may further receive a second subscription notification sent by the inter-network element, where the second subscription notification is used to subscribe to an operation state of the second control plane network element, and the second subscription notification is sent after the inter-network element receives the notification message and learns that the inter-network element needs to provide a 5G network service for the terminal through interaction with the second control plane network element.
Optionally, after sending the notification message to the inter-network element, the device may further receive a unsubscribe notification sent by the inter-network element, where the unsubscribe notification is used to indicate that the device no longer subscribes to the operation state of the first control plane network element. Since the inter-connected network element no longer provides the 5G network service for the terminal by interacting with the first control plane network element, the inter-connected network element does not need to know the operation state of the first control plane network element, and in order to reduce unnecessary interaction and resource waste, the device may not send a notification message including the operation state of the first control plane network element to the inter-connected network element after receiving the unsubscribe notification sent by the inter-connected network element.
Thus, the flow shown in fig. 1 is completed.
As can be seen from the flow shown in fig. 1, the 5G core network control device may detect an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network, so that when detecting that the operation state of the first control plane network element changes from normal to failure, a second control plane network element (i.e. an alternative network element) with normal operation state is selected from the above control plane network element set, and instruct an internetworking element of the first control plane network element to switch the context of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, so that the inter-networking element provides 5G network services for the terminal by interacting with the second control plane network element, thereby avoiding the inter-networking element of the first control plane network element from being interconnected with different alternative network elements, and further, terminal service abnormity caused by interconnection of the interconnected network element of the first control plane network element and different substitute network elements can be avoided.
The above examples are merely for convenience of understanding, and the embodiments of the present application are not particularly limited.
It should be noted that, because any network element in the 5G core network needs to be registered in the NRF network element, the registration information of each control plane network element in the control plane network element set in this embodiment may be all stored in the NRF network element. Meanwhile, if the NRF network elements in this embodiment are also deployed in a collective manner, when registering in an NRF network element, one NRF network element may be selected from the NRF network element collection for registration according to load balancing. Further, since data between the NRF network elements in the NRF network element set is shared, when the subsequent inter-network element subscribes to the NRF network element in the operation state of the first control plane network element, it is only necessary to consider load balancing of the NRF network element, and any NRF network element selected from the NRF network element set can subscribe to the operation state of the first control plane network element.
And optionally, the registration information based on the network element is stored in the NRF network element, and if the device is a control network element newly added to the 5G core network, the device may obtain the registration information of each control plane network element in the control plane network element set by accessing the NRF network element.
For ease of understanding, the description of the 5G network service provision in the present application is described below in conjunction with the embodiment shown in fig. 2:
the AMF network elements are deployed in a set manner (the AMF network elements in the AMF network element set share the context information of the terminal), the SMF network elements are deployed in a single instance, and the 5G core network control device in the present application is an NRF network element as an example:
first, before implementing this embodiment, when deploying each AMF network element instance in the AMF set, after starting any AMF network element instance, a registration request is initiated to the NRF network element, where the request carries an identifier of the AMF network element instance and an identifier of the AMF set, for example, the identifier of the AMF set may be denoted as AMFs-m, the identifier of the AMF network element instance may be denoted as AMF-1-k (where m and k are arbitrary values), and values of k in identifiers of different AMF network element instances in the AMF set are different. The identifiers of the AMF network element instances in the AMF network element sets are different, and the identifiers of the AMF network element sets are also different. Optionally, the registration request may also carry the priority, the weight, and the current load information of the AMF network element instance in the AMF network element set.
In this embodiment of the present application, after receiving a registration request of any AMF network element instance, an NRF network element sends, to the AMF network element, a response for instructing the AMF network element to send a heartbeat message to the NRF network element, where the response also carries a period for the AMF network element to send the heartbeat message, so that the NRF detects an operation state of the AMF network element instance by receiving the heartbeat message sent by the AMF network element instance according to the period.
Optionally, in this embodiment, if the NRF network element receives the heartbeat message sent by the AMF network element instance within the specified time duration, it is determined that the operation state of the AMF network element instance is normal, and if the NRF network element does not receive the heartbeat message sent by the AMF network element instance within the specified time duration, it is determined that the operation state of the AMF network element instance changes from normal to failure.
Based on the above deployment, as shown in step 1 in fig. 2, when a user terminal in an RRC (Radio Resource Control) idle state (i.e., a user terminal and a 5G network do not establish network communication) initiates a procedure of accessing the 5G network, such as a registration request, a service request, and the like, the user terminal will interact with a base station and establish an RRC connection, the base station will select an AMF network element from an AMF network element set (taking the AMFs-1 set shown in fig. 2 as an example, the AMFs-1 set includes n AMF network elements, namely, AMF-1-1 and AMF-1-2 … AMF-1-n) according to local configuration and information reported by the user terminal (as step 2 in fig. 2), where the AMF network element selected by the base station in this embodiment is the AMF-1-1 network element.
Further, the base station establishes the context of the user terminal, stores the association relationship between the user terminal and the AMF-1-1 network element, and subsequently realizes the 5G network service provided for realizing the service flow related to the user terminal through interaction with the AMF-1-1 network element. Meanwhile, the base station will forward the non-access stratum message of the user terminal to the AMF-1-1 network element, and the AMF-1-1 network element will establish the context of the user terminal and store the relevant information of the user terminal, such as the current location information of the cell, tracking area, base station, etc. where the user terminal is located.
In this embodiment, after selecting the AMF-1-1 network element to provide the 5G network service for the user terminal, as shown in step 4 in fig. 2, the base station sends a subscription notification for subscribing to the operation state of the AMF-1-1 network element to the NRF network element. The subscription notification carries an identifier of the AMF-1-1 network element instance, and optionally, if the identifier of the AMF-1-1 network element instance is unique in the AMF set, the subscription notification also needs to carry an AMF set identifier: AMFS-1.
As an embodiment, after the user terminal accesses the network, if a PDU session establishment procedure is initiated, as shown in step 5 in fig. 2, the AMF-1-1 network element selects an SMF network element from the 5G core network according to a network slice, a data network name, and location information of the user terminal related to the PDU session, so as to implement the PDU session, and then the AMF-1-1 network element interacts with the SMF network element in a subsequent service procedure related to the PDU session initiated by the user terminal. The specific processes of selecting the AMF-1-1 network element and selecting the SMF-1-1 network element by the base station may refer to related technologies, and are not described herein again.
After the AMF-1-1 network element determines the SMF network element providing the network service related to the PDU session for the user terminal, the AMF-1-1 network element updates the context for the user terminal or establishes an additional context to store the association relationship between the specific PDU session of the user terminal and the SMF network element. And after receiving the message related to the user terminal forwarded by AMF-1-1, the SMF network element also establishes a context to store the association relationship between the specific PDU session of the user terminal and the AMF-1-1 network element.
In this embodiment, after the SMF network element establishes the context, it becomes another inter-connection network element of the AMF-1-1 network element, as shown in step 6 in fig. 2, the SMF network element may send a subscription notification for subscribing to the operation state of the AMF-1-1 network element to the NRF network element with reference to the base station.
In a specific implementation, when the NRF network element detects that the heartbeat message of the AMF-1-1 is not received within a specified time (the specified time is longer than the period of sending the heartbeat message to the AMF-1-1 network element indicated by the NRF network element) (as in step 8 in fig. 2), the AMF-1-1 operation state is considered as a failure.
At the moment, the NRF network element can inquire whether the interconnected network element subscribed with the AMF-1-1 network element operation state exists at present through the identification of the AMF-1-1 network element, if so, the AMFS-1 set which the AMF-1-1 network element belongs to is searched through the identification of the AMF-1-1 network element, then an AMF network element example with a normal operation state is screened from the AMFS-1 set, and one AMF network element example is selected from the AMF network element examples with the normal operation state to replace the failed AMF-1-1 network element.
Optionally, if the registration request sent by each AMF network element instance to the NRF network element includes the priority and weight information corresponding to each AMF network element instance, and the heartbeat message sent by each AMF network element instance to the NRF network element carries the current load information corresponding to each AMF network element instance, then one AMF network element instance may be selected to replace the failed AMF-1-1 network element according to the priority, weight and current load corresponding to each AMF instance.
For example, the NRF network element may preferentially compare the priorities of the AMF network element instances, and replace the failed AMF-1-1 network element with the AMF network element instance with the highest priority, and when there are at least two AMF network elements with the same and the highest priorities, the formula may be used: the weight is 1-load/100, the AMF network element with the minimum current load calculated according to the weight in the AMF network elements with the maximum priority is calculated, the AMF network element with the minimum current load calculated according to the weight is used for replacing the failed AMF-1-1 network element, and each AMF network element is according to a formula: the larger the value calculated by the weight (1-load/100), the smaller the current load calculated by the AMF network element according to the weight, where the weight may be related to the capability of each AMF network element to process the service, and the larger the capability of the AMF to process the service, the larger the corresponding weight value.
Taking the selected AMF network element example of the AMF-1-1 network element replacing the fault as an example of the AMF-1-2 network element, after selecting the AMF-1-2 network element, as shown in step 9.1 and step 9.2 in fig. 2, the NRF network element sends a notification message to each of the base station and the SMF network element which have subscribed to the operation state of the AMF-1-1 network element before, where the notification message indicates that the network element receiving the notification message switches the AMF-1-1 network element in the context of all associated terminals to the AMF-1-2 network element, that is, the subsequent base station and the SMF network element provide a 5G network service for the terminals by interacting with the AMF-1-2 network element. Illustratively, the notification message may carry information indicating the AMF-1-1 network element failure and an identifier of the AMF-1-2 network element instance.
In the embodiment of the application, after receiving the notification message of the NRF network element, the base station and the SMF network element respectively switch the contexts of all the user terminals locally associated with the AMF-1-1 to be associated with the AMF-1-2. Meanwhile, optionally, if the AMF-1-1 network element subscribes to a specific event to the base station, the base station may switch the address information of the AMF-1-1 network element in an event notification callback URI (Uniform Resource Location) to the address information of the AMF-1-2 network element; and if the AMF-1-1 network element subscribes to a specific event in the SMF, the SMF network element can also switch the address information of the AMF-1-1 network element in the event notification callback URI into the address information of the AMF-1-2 network element. Subsequently, the base station and the SMF network element interact with the AMF-1-2 network element, so that 5G network service is provided for the user terminal which belongs to the AMF-1-1 once.
After the base station and the SMF network element switch the contexts of all the user terminals associated with the AMF-1-1 to be associated with the AMF-1-2 network element, the base station and the SMF network element may respectively send a subscription notification for subscribing to the operation state of the AMF-1-2 network element to the NRF network element, as shown in steps 11 and 12 in fig. 2. The base station, the AMF-1-2 network element and the SMF network element provide 5G network services to the terminal UE through interaction, and further, if the subsequent NRF network element detects that the operation state of the AMF-1-2 network element is a failure, the above steps are repeated, and another normal AMF network element capable of replacing the AMF-1-2 network element is selected from the AMFs-1 network element set again.
Optionally, the base station and the SMF network element may further send a unsubscribe notification for unsubscribing the operation state of the AMF-1-1 network element to the NRF network element, so as to reduce resource waste.
It should be noted that the base station and the SMF network element in the foregoing embodiment are only part of network elements interconnected with the AMF network element example, and actually, the network elements interconnected with the AMF example further include network elements such as UDM (Unified Data Management, Unified Data Management Function) and PCF (Policy Control Function), and the NRF network element is similar to the base station and the SMF network element for the 5G core network Control plane network elements, and the fault switching of the AMF network element example is not described here again.
In addition, when the user terminal in the RRC connected state is switched to cause the AMF serving the user terminal to change, the NRF senses the failure of the new AMF instance and subscribes/notifies the network element interconnected with the new AMF instance of the operation state of the new AMF instance, which is similar to the foregoing process and is not described herein again.
It should be noted that, in the above embodiment, the AMF network element is deployed in a set manner as an example for explanation, but the embodiment of the present application may also be directed to other core network control plane network elements deployed in a set manner, which is not limited in the present application.
The method provided by the embodiment of the application is described above. The following describes the apparatus provided in the embodiments of the present application:
referring to fig. 3, fig. 3 is a schematic diagram of an apparatus for implementing 5G network service provision according to an embodiment of the present application, where the embodiment of the apparatus is applied to a 5G core network control device. The device includes:
an operation state detection unit 301, configured to detect an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network;
a notification message sending unit 302, configured to, when it is detected that the operation state of the first control plane network element changes from normal to a fault, select a second control plane network element whose operation state is normal from the control plane network element set, and send a notification message to an inter-network element of the first control plane network element, where the notification message is used to instruct the inter-network element to switch contexts of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, and instruct the inter-network element to provide a 5G network service for the terminals through interaction with the second control plane network element.
Optionally, the apparatus further comprises:
a subscription notification receiving unit, configured to receive a first subscription notification sent by an internetwork element before sending a notification message to the internetwork element of a first control plane network element, where the first subscription notification is used to subscribe to an operation state of the first control plane network element;
the sending, by the notification message sending unit 302, a notification message to an inter-network element of a first control plane network element includes: and sending the notification message to the internet element which has sent the subscription notification and is the first control plane network element.
Optionally, the apparatus further comprises:
a receiving unit, configured to receive a second subscription notification sent by the inter-network element, where the second subscription notification is used to subscribe to an operation state of the second control plane network element; and/or receiving a unsubscribe notification sent by the internetworking element, where the unsubscribe notification is used to indicate that the internetworking element no longer subscribes to the operating state of the first control plane network element.
Optionally, the detecting, by the operation state detecting unit 301, an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network includes:
receiving heartbeat messages sent by a first control plane network element according to a period;
when the heartbeat message sent by the first control plane network element is not received within the specified time, determining that the operation state of the first control plane network element is changed from normal to fault, otherwise, determining that the operation state of the first control plane network element is normal; wherein the specified duration is greater than a period of sending the heartbeat message by the first control plane network element.
Optionally, the apparatus further comprises: a registration information obtaining unit, configured to obtain registration information of each control plane network element in the control plane network element set, where the registration information of the control plane network element at least includes: the priority of the control plane network element and the weight of the control plane network element;
the selecting, by the notification message sending unit 302, a second control plane network element with a normal operation state from the control plane network element set includes:
obtaining the current load of each control plane network element in the control plane network element set;
and selecting a second control plane network element with a normal operation state according to the priority, the weight and the current load of each control plane network element in the control plane network element set, wherein the priority of the second control plane network element in the control plane network element set is the highest, and/or the current load calculated according to the weight is the minimum.
Optionally, the 5G core network control device is: a control network element newly added to the 5G core network control plane network element NRF network element or the 5G core network.
Thus, the structure of the embodiment of the apparatus shown in FIG. 3 is completed.
Correspondingly, an embodiment of the present application further provides a hardware structure diagram of an electronic device, and specifically, as shown in fig. 4, the electronic device may be the device implementing the 5G network service providing method. As shown in fig. 4, the hardware structure includes: a processor and a memory.
Wherein the memory is to store machine executable instructions;
the processor is used for reading and executing the machine executable instructions stored by the memory so as to realize the corresponding 5G network service providing method embodiment shown above.
For one embodiment, the memory may be any electronic, magnetic, optical, or other physical storage device that may contain or store information such as executable instructions, data, and the like. For example, the memory may be: volatile memory, non-volatile memory, or similar storage media. In particular, the Memory may be a RAM (random Access Memory), a flash Memory, a storage drive (e.g., a hard disk drive), a solid state disk, any type of storage disk (e.g., an optical disk, a DVD, etc.), or similar storage medium, or a combination thereof.
So far, the description of the electronic apparatus shown in fig. 4 is completed.
The above description is only exemplary of the present application and should not be taken as limiting the present application, as any modification, equivalent replacement, or improvement made within the spirit and principle of the present application should be included in the scope of protection of the present application.

Claims (10)

1. A5G network service providing method is applied to a 5G core network control device, and comprises the following steps:
detecting an operation state of a first control plane network element providing 5G network service for a terminal in a control plane network element set deployed in a 5G core network, wherein the control plane network element set comprises at least two control plane network elements; the context data between the first control plane network element and other control plane network elements in the control plane network element set are shared, and the other control plane network elements have the same capability of providing 5G network service for the terminal as the first control plane network element;
when the operation state of the first control plane network element is detected to be changed from normal to fault, selecting a second control plane network element with a normal operation state from the control plane network element set, and sending a notification message to an interconnection network element of the first control plane network element, wherein the notification message is used for instructing the interconnection network element to switch the contexts of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, and instructing the interconnection network element to provide 5G network service for the terminals through interaction with the second control plane network element.
2. The method of claim 1, wherein before sending the notification message to the inter-networking element of the first control plane network element, the method further comprises:
receiving a first subscription notification sent by the internetwork element, where the first subscription notification is used for subscribing to an operation state of the first control plane network element;
the sending the notification message to the inter-network element of the first control plane network element includes: and sending the notification message to the internet element which has sent the subscription notification and is the first control plane network element.
3. The method of claim 1, wherein after sending the notification message to the inter-networking element of the first control plane network element, the method further comprises:
receiving a second subscription notification sent by the internetwork element, where the second subscription notification is used for subscribing to an operation state of the second control plane network element; and/or the presence of a gas in the gas,
and receiving a unsubscribe notification sent by the internetworking element, wherein the unsubscribe notification is used for representing that the first control plane network element is not subscribed any more.
4. The method of claim 1, wherein the detecting an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network comprises:
receiving heartbeat messages sent by a first control plane network element according to a period;
when the heartbeat message sent by the first control plane network element is not received within the specified time, determining that the operation state of the first control plane network element is changed from normal to fault, otherwise, determining that the operation state of the first control plane network element is normal; wherein the specified duration is greater than a period of sending the heartbeat message by the first control plane network element.
5. The method of claim 1, further comprising:
acquiring registration information of each control plane network element in a control plane network element set, wherein the registration information of the control plane network elements at least comprises: the priority of the control plane network element and the weight of the control plane network element;
selecting a second control plane network element with a normal operation state from the control plane network element set comprises:
obtaining the current load of each control plane network element in the control plane network element set;
and selecting a second control plane network element with a normal operation state according to the priority, the weight and the current load of each control plane network element in the control plane network element set, wherein the priority of the second control plane network element in the control plane network element set is the highest, and/or the current load calculated according to the weight is the minimum.
6. The method according to any one of claims 1 to 5,
the 5G core network control equipment is as follows: a control network element newly added to the 5G core network control plane network element NRF network element or the 5G core network.
7. A5G network service providing device is applied to a 5G core network control device, and the device comprises:
an operation state detection unit, configured to detect an operation state of a first control plane network element providing a 5G network service for a terminal in a control plane network element set deployed in a 5G core network, where the control plane network element set includes at least two control plane network elements; the context data between the first control plane network element and other control plane network elements in the control plane network element set are shared, and the other control plane network elements have the same capability of providing 5G network service for the terminal as the first control plane network element;
and a notification message sending unit, configured to, when it is detected that the operation state of the first control plane network element changes from normal to a fault, select a second control plane network element with a normal operation state from the control plane network element set, and send a notification message to an inter-network element of the first control plane network element, where the notification message is used to instruct the inter-network element to switch contexts of all terminals locally associated with the first control plane network element to be associated with the second control plane network element, and instruct the inter-network element to provide a 5G network service for the terminals by interacting with the second control plane network element.
8. The apparatus of claim 7, further comprising:
a subscription notification receiving unit, configured to receive a first subscription notification sent by an internetwork element before sending a notification message to the internetwork element of a first control plane network element, where the first subscription notification is used to subscribe to an operation state of the first control plane network element;
the sending of the notification message to the inter-network element of the first control plane network element by the notification message sending unit includes: and sending the notification message to the internet element which has sent the subscription notification and is the first control plane network element.
9. The apparatus of claim 7, wherein the detecting, by the operation status detecting unit, the operation status of a first control plane network element providing a 5G network service for the terminal in a control plane network element set deployed in a 5G core network comprises:
receiving heartbeat messages sent by a first control plane network element according to a period;
when the heartbeat message sent by the first control plane network element is not received within the specified time, determining that the operation state of the first control plane network element is changed from normal to fault, otherwise, determining that the operation state of the first control plane network element is normal; wherein the specified duration is greater than a period of sending the heartbeat message by the first control plane network element.
10. An electronic device, comprising: a processor and a memory;
the memory for storing machine executable instructions;
the processor is configured to read and execute the machine executable instructions stored by the memory to implement the method of any one of claims 1 to 6.
CN202110931707.4A 2021-08-13 2021-08-13 5G network service providing method, device and equipment Active CN113382432B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110931707.4A CN113382432B (en) 2021-08-13 2021-08-13 5G network service providing method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110931707.4A CN113382432B (en) 2021-08-13 2021-08-13 5G network service providing method, device and equipment

Publications (2)

Publication Number Publication Date
CN113382432A CN113382432A (en) 2021-09-10
CN113382432B true CN113382432B (en) 2021-11-23

Family

ID=77577151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110931707.4A Active CN113382432B (en) 2021-08-13 2021-08-13 5G network service providing method, device and equipment

Country Status (1)

Country Link
CN (1) CN113382432B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114143730B (en) * 2022-01-29 2022-09-16 阿里巴巴达摩院(杭州)科技有限公司 Signaling processing method, communication system, electronic device, and storage medium
CN114143728B (en) * 2022-01-29 2022-06-21 阿里巴巴达摩院(杭州)科技有限公司 Message processing method, communication system, electronic device, and storage medium
CN114978910B (en) * 2022-08-02 2022-10-25 广东省新一代通信与网络创新研究院 Time sensitivity realization method and system of virtualization core network

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729505A (en) * 2017-10-31 2019-05-07 大唐移动通信设备有限公司 A kind of method for processing business and the network equipment
CN109936843A (en) * 2018-05-11 2019-06-25 华为技术有限公司 Subscribe to update method, equipment and system
CN111629450A (en) * 2019-02-28 2020-09-04 华为技术有限公司 Data transmission method, related device, program product and storage medium

Family Cites Families (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109428749B (en) * 2017-08-28 2022-04-22 华为技术有限公司 Network management method and related equipment
CN110535676B (en) * 2018-05-25 2022-03-18 中兴通讯股份有限公司 SMF dynamic disaster tolerance realization method, device, equipment and storage medium
CN110913437B (en) * 2018-09-14 2021-01-29 华为技术有限公司 Communication method and network element
CN110958719B (en) * 2018-09-27 2023-05-30 中兴通讯股份有限公司 UE migration method, NRF, standby SMF, system and storage medium
CN109413667A (en) * 2018-10-24 2019-03-01 广东工业大学 A kind of 5G element tasks processing method and system, NRF, storage medium
CN112788085B (en) * 2019-11-11 2022-08-09 华为技术有限公司 Data caching method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109729505A (en) * 2017-10-31 2019-05-07 大唐移动通信设备有限公司 A kind of method for processing business and the network equipment
CN109936843A (en) * 2018-05-11 2019-06-25 华为技术有限公司 Subscribe to update method, equipment and system
CN111629450A (en) * 2019-02-28 2020-09-04 华为技术有限公司 Data transmission method, related device, program product and storage medium

Also Published As

Publication number Publication date
CN113382432A (en) 2021-09-10

Similar Documents

Publication Publication Date Title
CN113382432B (en) 5G network service providing method, device and equipment
US20220191665A1 (en) Event notification method, apparatus and storage medium
US7957775B2 (en) Low battery notification service for wireless device users
CN110535676B (en) SMF dynamic disaster tolerance realization method, device, equipment and storage medium
CN113068232B (en) Switching method and device of edge application server
CN113169897A (en) Method and apparatus for analyzing function discovery
CN109548037B (en) Control method, distributed unit, centralized unit and storage medium
CN110958719B (en) UE migration method, NRF, standby SMF, system and storage medium
CN110958718A (en) PDU session reconstruction method, device, system and storage medium
CN112218342B (en) Method, device and system for realizing core network sub-slice disaster recovery
EP4241435A1 (en) Methods, systems, and computer readable media for providing optimized binding support function (bsf) packet data unit (pdu) session binding discovery responses
US20140359340A1 (en) Subscriptions that indicate the presence of application servers
CN103533528A (en) Method and terminal for activating PDN (packet data network)
WO2019162862A1 (en) Dead network function (nf) service producer detection
CN114338769A (en) Access request processing method and device
WO2022022907A1 (en) Network functionality (nf) aware service provision based on service communication proxy (scp)
CN114390454A (en) Message transmission method, system, electronic device and storage medium
US20240244414A1 (en) Session binding relationship processing method and apparatus, electronic device, and readable medium
CN113824595B (en) Link switching control method and device and gateway equipment
WO2021234029A1 (en) Service request handling
CN115243278A (en) Method, system and storage medium for improving reliability of indirect communication
CN116095722A (en) Network element management method, device, related equipment and storage medium
CN116321110B (en) Service subscription method, device, service providing network element and storage medium
US12075343B2 (en) Methods, systems, and computer readable media for network slice selection function recovery
US11979824B2 (en) Service request handling

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant