CN116321110B - Service subscription method, device, service providing network element and storage medium - Google Patents

Service subscription method, device, service providing network element and storage medium Download PDF

Info

Publication number
CN116321110B
CN116321110B CN202310602195.6A CN202310602195A CN116321110B CN 116321110 B CN116321110 B CN 116321110B CN 202310602195 A CN202310602195 A CN 202310602195A CN 116321110 B CN116321110 B CN 116321110B
Authority
CN
China
Prior art keywords
service
network element
information
request information
consumption
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
CN202310602195.6A
Other languages
Chinese (zh)
Other versions
CN116321110A (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.)
Shenzhen Ailing Network Co ltd
Original Assignee
Shenzhen Ailing Network 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 Shenzhen Ailing Network Co ltd filed Critical Shenzhen Ailing Network Co ltd
Priority to CN202310602195.6A priority Critical patent/CN116321110B/en
Publication of CN116321110A publication Critical patent/CN116321110A/en
Application granted granted Critical
Publication of CN116321110B publication Critical patent/CN116321110B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/18Processing of user or subscriber data, e.g. subscribed services, user preferences or user profiles; Transfer of user or subscriber data
    • H04W8/20Transfer of user or subscriber data
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W60/00Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
    • H04W60/06De-registration or detaching
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/25Maintenance of established connections

Abstract

The application provides a service subscription method, a device, a service providing network element and a storage medium, and relates to the technical field of communication. The method comprises the following steps: acquiring service request information of a service consumption network element, wherein the service request information comprises: service type and notification acquisition identifier; detecting service information generated by a target service corresponding to the service type according to the service type; if the service information generated by the target service is detected, acquiring the identification according to the notification, and sending the service information to the service consumption network element. The application can reduce the subscription and unsubscribe processes between network elements and reduce the signaling load of the core network.

Description

Service subscription method, device, service providing network element and storage medium
Technical Field
The present application relates to the field of communications technologies, and in particular, to a service subscription method, a device, a service providing network element, and a storage medium.
Background
With the further development of the fifth generation (5th generation,5G) mobile communication network system, the 5G network architecture is further improved.
In the 5G network architecture, there are a large number of service subscription and unsubscribe procedures between network elements during registration, deregistration, session establishment, session release, 5G virtualized network group creation, deletion, and terminal positioning of the terminal device, resulting in a very high signaling load of the core network.
In addition, the service subscribed to by the network element does not necessarily need to be executed, resulting in low use efficiency of the subscription process.
Disclosure of Invention
The application aims to provide a service subscription method, a device, a service providing network element and a storage medium aiming at the defects in the prior art so as to reduce subscription and unsubscribe processes among the network elements and reduce the signaling load of a core network.
In order to achieve the above purpose, the technical scheme adopted by the embodiment of the application is as follows:
in a first aspect, an embodiment of the present application provides a service subscription method, applied to a service providing network element, where the method includes:
obtaining service request information of a service consumption network element, wherein the service request information comprises the following steps: service type and notification acquisition identifier;
according to the service type, detecting service information generated by a target service corresponding to the service type;
and if the service information generated by the target service is detected, acquiring an identifier according to the notification, and sending the service information to the service consumption network element.
Optionally, the obtaining the service request information of the service consumption network element includes:
the service request information is obtained from a preset network element configuration file, and the service request information further comprises: the identity of the service consumption network element;
According to the service type, detecting service information generated by a target service corresponding to the service type includes:
and detecting service information generated aiming at a target service corresponding to the service type of the service consumption network element according to the service type and the identification of the service consumption network element.
Optionally, the obtaining the service request information of the service consumption network element includes:
sending a state information acquisition request aiming at the service consumption network element to a network element storage function NRF network element;
receiving service request information of the service consumption network element sent by the NRF network element; the service request information is sent when the service consumption network element registers with the NRF network element.
Optionally, the method further comprises:
and if the service request information is detected to be deleted, stopping sending the service information to the service consumption network element under the condition that the service information generated by the target service is detected.
Optionally, if the service request information is detected to be deleted, before stopping sending the service information to the service consumption network element when the service information generated by the target service is detected, the method further includes:
And reading a preset network element configuration file, and if the preset network element configuration file does not contain the service request information, determining that the service request information is deleted.
Optionally, if the service request information is detected to be deleted, before stopping sending the service information to the service consumption network element when the service information generated by the target service is detected, the method further includes:
the NRF network element of the receiving network element storage function sends a state information update notification for the service consumption network element;
and determining that the service request information is deleted according to the state information update notification.
Optionally, the target service corresponding to the service type is any one of access and mobility management subscription data change service, mobility management policy data change service, session management data service, session management policy data change service, virtualized network group information change service and positioning protocol service.
In a second aspect, an embodiment of the present application further provides a service subscription apparatus, applied to a service providing network element, where the apparatus includes:
the request information acquisition module is used for acquiring service request information of the service consumption network element, and the service request information comprises: service type and notification acquisition identifier;
The service information detection module is used for detecting service information generated by a target service corresponding to the service type according to the service type;
and the service information sending module is used for sending the service information to the service consumption network element according to the notification acquisition identifier if the service information generated by the target service is detected.
Optionally, the request information obtaining module is specifically configured to obtain the service request information from a preset network element configuration file, where the service request information further includes: the identity of the service consumption network element;
the service information detection module is specifically configured to detect, according to the service type and the identifier of the service consumption network element, service information generated for a target service corresponding to the service type of the service consumption network element.
Optionally, the request information obtaining module includes:
an information acquisition request sending unit, configured to send an information acquisition request for the service consumption network element to a network element storage function NRF network element;
a request information acquisition unit, configured to receive service request information of the service consumption network element sent by the NRF network element; the service request information is sent when the service consumption network element registers with the NRF network element.
Optionally, the apparatus further includes:
and the request information detection module is used for stopping sending the service information to the service consumption network element when detecting the service information generated by the target service if detecting that the service request information is deleted.
Optionally, before the request information detection module, the apparatus further includes:
and the confirmation module is used for reading a preset network element configuration file, and determining that the service request information is deleted if the service request information is not included in the preset network element configuration file.
Optionally, before the request information detection module, the apparatus further includes:
a notification receiving module, configured to receive a state information update notification sent by an NRF network element, which is specific to the service consumption network element;
and the confirmation module is also used for determining that the service request information is deleted according to the state information update notification.
Optionally, the target service corresponding to the service type is any one of access and mobility management subscription data change service, mobility management policy data change service, session management data service, session management policy data change service, virtualized network group information change service and positioning protocol service.
In a third aspect, an embodiment of the present application further provides a service providing network element, including:
a transceiver, a processor, and a storage medium;
the transceiver is used for receiving and transmitting data;
the storage medium stores program instructions executable by the processor;
the processor is configured to invoke the program instructions stored in the storage medium to perform the steps of the service subscription method according to any of the first aspects.
In a fourth aspect, embodiments of the present application also provide a computer-readable storage medium having stored thereon a computer program which, when executed by a processor, performs the steps of the service subscription method according to any of the first aspects.
The beneficial effects of the application are as follows:
the application provides a service subscription method, a device, a service providing network element and a storage medium, wherein in the process of starting the service providing network element, the service providing network element directly acquires service request information of a service consumption network element, so as to send service information of target service to the service consumption network element according to the service request information of the service consumption network element, in the subsequent process, the service consumption network element can realize the function of providing service to the service consumption network element by the service providing network element without initiating a subscription request to the service providing network element, the subscription process is not required to be initiated, the signaling load of a core network is reduced, the subscription process in the signaling interaction process of the core network is reduced, and the problem of waste of core network resources caused by low utilization rate in the subscription process is avoided.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings that are needed in the embodiments will be briefly described below, it being understood that the following drawings only illustrate some embodiments of the present application and therefore should not be considered as limiting the scope, and other related drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
FIG. 1 is a diagram of a network architecture according to an embodiment of the present application;
fig. 2 is a schematic diagram of a registration process interaction of a conventional terminal device;
fig. 3 is a schematic diagram of a de-registration process interaction of a conventional terminal device;
fig. 4 is a schematic interaction diagram of a session establishment procedure of a conventional terminal device;
fig. 5 is a schematic interaction diagram of a session release procedure of a conventional terminal device;
FIG. 6 is a schematic diagram illustrating the interaction of a conventional 5G virtualized network group creation process;
fig. 7 is a flowchart of a service subscription method according to an embodiment of the present application;
fig. 8 is a second flowchart of a service subscription method according to an embodiment of the present application;
fig. 9 is a flowchart of a service subscription method according to an embodiment of the present application;
fig. 10 is a registration interaction diagram of a service consumption network element according to an embodiment of the present application;
Fig. 11 is a subscription interaction diagram of a service providing network element according to an embodiment of the present application;
fig. 12 is a flowchart of a service subscription method according to an embodiment of the present application;
fig. 13 is an interaction diagram of a notification service providing network element according to an embodiment of the present application;
fig. 14 is a schematic structural diagram of a service subscription device according to an embodiment of the present application;
fig. 15 is a schematic diagram of a service providing network element according to an embodiment of the present application.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present application more apparent, the technical solutions of the embodiments of the present application will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present application, and it is apparent that the described embodiments are some embodiments of the present application, but not all embodiments of the present application.
Thus, the following detailed description of the embodiments of the application, as presented in the figures, is not intended to limit the scope of the application, as claimed, but is merely representative of selected embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
Furthermore, the terms first, second and the like in the description and in the claims and in the above-described figures, are used for distinguishing between similar objects and not necessarily for describing a particular sequential or chronological order. It is to be understood that the data so used may be interchanged where appropriate such that the embodiments of the application described herein may be implemented in sequences other than those illustrated or otherwise described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
It should be noted that the features of the embodiments of the present application may be combined with each other without conflict.
Before introducing the service subscription method provided by the embodiment of the application, an application scene is described.
Referring to fig. 1, a network architecture diagram provided in an embodiment of the present application, as shown in fig. 1, the network architecture may specifically include the following network elements:
1. Terminal Equipment (UE): a user equipment, terminal, access terminal, subscriber unit, subscriber station, mobile station, remote terminal, mobile device, user terminal, wireless communication device, user agent, or user device may also be referred to.
2. Access Network (AN): the network access function is provided for authorized users in a specific area, and transmission tunnels with different qualities can be used according to the level of the users, the requirements of services and the like. An access network implementing access network functions based on wireless communication technology may be referred to as a radio access network (Radio Access Network, RAN). The radio access network can manage radio resources, provide access services for the terminal, and further complete forwarding of control signals and user data between the terminal and the core network, and generally provide the radio access network through the base station.
3. Access and mobility management function (access and mobility management function, AMF) network elements: the method is mainly used for mobility management, access management and the like, and can be used for realizing other functions besides session management in the functions of a mobility management entity (mobility management entity, MME), such as legal interception, access authorization (or authentication) and the like.
4. Session management function (Session Management Function, SMF) network element: the method is mainly used for session management, internet protocol (Internet Protocol, IP) address allocation and management of the UE, terminal nodes of a selective manageable user plane function, policy control or charging function interface, downlink data notification and the like.
5. An authentication service function (Authentication Server Function, AUSF) network element is specifically responsible for user authentication data related processing in cooperation with the UDM.
6. Network open function (Network Exposure Function, NEF) network element: for securely opening services and capabilities provided by 3GPP network functions, etc., to the outside.
7. Network function storage function (Network Repository Function, NRF) network element: NRF is used for registration, storage and management of Network Function (NF) network elements. Each NF in the network must register with the NRF.
8. Policy control function (Policy Control Function, PCF) network element: a unified policy framework for guiding network behavior, providing policy rule information for control plane function network elements (e.g., AMF, SMF network elements, etc.), and the like.
9. A unified data management (Unified Data Management, UDM) network element stores static subscription information of a user and registered dynamic information, such as AMF to which the user is currently connected, authentication status or registration status of the user, etc.
10. -application function (Application Function, AF) network element: the AF interacts with the core network to provide services, the functions of which include: accessing a network opening function, interacting with a policy framework to perform policy management and control, and the like.
11. User plane function (User Plane Function, UPF) network element: i.e. a data plane gateway. Quality of service (quality of service, qoS) handling, etc. for packet routing and forwarding, or user plane data. User data may be accessed to a Data Network (DN) through the network element.
12. Unified data warehouse functions (Unified Data Repository, UDR) network elements support UDM storage and retrieval of subscription data, PCF storage and retrieval of policy data, storage and retrieval of structured services, application data of NEF.
It should be understood that the network architecture applied to the embodiments of the present application is merely an exemplary network architecture described from the perspective of a conventional point-to-point architecture and a service architecture, and the network architecture to which the embodiments of the present application are applicable is not limited thereto, and any network architecture capable of implementing the functions of the respective network elements described above is applicable to the embodiments of the present application. It should be understood that the foregoing network elements may communicate through a preset interface, which is not described herein. It should also be understood that the AMF network element, SMF network element, AUSF network element, NEF network element, NRF network element, PCF network element, UDM network element, AF network element, UPF network element, and UDR network element may be understood as network elements for implementing different functions in a core network, where the core network elements may be separate devices, or may be integrated in the same device to implement different functions, which is not limited in this application.
Please refer to fig. 2, which is an interactive schematic diagram of a registration flow of the existing terminal device, as shown in fig. 2, in the process of registering the terminal device to the core network, the AMF network element needs to subscribe to the notification of the change of the access and mobility management subscription data to the UDM network element, as shown in steps 14c and 14e in fig. 2, after subscribing to the notification of the change of the access and mobility management subscription data, when the change of the access and mobility management subscription data occurs, the UDM network element notifies the AMF network element; in the process of registering to the core network, the PCF network element needs to subscribe the mobility management policy data change notification to the UDR network element, as shown in step 16 in fig. 2, after subscribing the mobility management policy data change notification, when the mobility management policy data changes, the UDR network element notifies the PCF network element.
Please refer to fig. 3, which is an interactive schematic diagram of a de-registration flow of the existing terminal device, as shown in fig. 3, when the terminal device de-registers from the core network, the AMF network element needs to subscribe to the access and mobility management subscription data change notification to the UDM network element, as shown in step 5b in fig. 3, after the access and mobility management subscription data change notification is de-subscribed, when the access and mobility management subscription data change occurs, the UDM network element will not notify the AMF network element; when the terminal device is unregistered from the core network, the PCF network element needs to subscribe to the mobility management policy data change notification to the UDR network element, as shown in step 5a in fig. 3, after the mobility management policy data change notification is subscribed, when the mobility management policy data is changed, the UDR network element will not notify the PCF network element any more.
Referring to fig. 4, an interactive schematic diagram of a session establishment procedure of an existing terminal device is shown in fig. 4, in which, in a process of establishing a session with a core network, an SMF network element needs to subscribe a session management data change notification to a UDM network element, in step 4 in fig. 4, after subscribing to the session management data change notification, the UDM network element notifies the SMF network element when session management data is changed; in the process of establishing a session with the core network, the PCF network element needs to subscribe a session management policy data change notification to the UDR network element, as shown in step 7b in fig. 4, after subscribing the session management policy data change notification, when the session management policy data is changed, the UDR notifies the PCF network element.
Please refer to fig. 5, which is an interactive schematic diagram of a session release flow of the existing terminal device, as shown in fig. 5, in which the SMF network element needs to subscribe to a session management data change notification to the UDM network element in the process of releasing the session with the core network, as shown in step 14 in fig. 5, after subscribing to the session management data change notification, the UDM network element will not notify the SMF network element any more when the session management data is changed; in the process of releasing the session with the core network, the PCF network element needs to subscribe to the session management policy data change notification to the UDR network element, as in step 12 in fig. 5, after subscribing to the session management policy data change notification, when the session management policy data is changed, the UDR will not notify the PCF network element any more.
Referring to fig. 6, an interactive schematic diagram of a flow created for a conventional 5G virtualized network group is shown in fig. 6, and NF network elements such as AMF network elements, SMF network elements, PCF network elements, etc. need to obtain notification of a change of 5G virtualized network (Virtualization Network, VN) group information, if a notification of 5G VN group information needs to be subscribed to a UDM network element, as shown in step 0 in fig. 6, after subscribing to the notification of 5G VN group information change, when the 5G VN group information changes, the UDM notifies the NF network element; when the 5G VN group is deleted by the AF, the NF network element needs to subscribe to a 5G VN group information change notification (not shown in the figure) to the UDM network element, and after subscribing to the 5G VN group information change notification, when the 5G VN group information changes, the UDM will not notify the NF network element any more.
In addition to the scenario shown in fig. 2-6 above, in the 5G positioning procedure, the LMF network element needs to subscribe to the AMF network element for the positioning protocol message, and after the positioning procedure is finished, the LMF network element needs to subscribe to the AMF network element for the positioning protocol message. Wherein the positioning protocol message comprises: long term evolution positioning protocol (Long term evolution Positioning Protocol, LPP) messages for the UE and NR positioning protocol (NR Positioning Protocol a, NRPPa) messages for the base station side positioning device.
The processes of registering, deregistering, establishing a session, and releasing a session of the terminal device in the core network are frequent in the core network, and the subscription process and the deregistration process exist in a large amount due to the large number of terminal devices, so that the signaling load of the core network is very high. However, since the change of subscription data, management data and policy data does not occur on each terminal device, and after each registration and session establishment procedure is completed, in general, the data change occurs in a small number of scenes, and the number of involved terminal devices is small, so that the usage rate of the subscription process is not high, and the subscription must correspond to the subscription, thereby seriously wasting the resources of the core network. Similar problems exist for 5G VN groups and positioning procedures.
It should be noted that the above scenario is merely an exemplary subscription and unsubscribe scenario in the core network, and the scenario to which the embodiments of the present application are directed is not limited to the above exemplary scenario.
Based on this, the embodiment of the application is to provide a service subscription method, in which a service providing network element directly obtains service request information of a service consuming network element, so as to send service information of a target service to the service consuming network element according to the service request information of the service consuming network element, and the service providing network element can provide service to the service consuming network element without subscribing the service providing network element to the service, thereby reducing signaling load of a core network, reducing subscription process in a signaling interaction flow of the core network, and avoiding waste of core network resources caused by low utilization rate of the subscription process.
Referring to fig. 7, a first flowchart of a service subscription method according to an embodiment of the present application is shown in fig. 7, where the method may include:
s10: acquiring service request information of a service consumption network element, wherein the service request information comprises: service type and notification acquisition identity.
In this embodiment, the service consumption network element (NF service consumer) is a network element that needs to subscribe to a service, the service providing network element (NF service server) is a network element that provides a service, the service type is used to indicate the service required by the service consumption network element, and the service type is used to notify to obtain a unique identifier of the network element identified as receiving information corresponding to the service, which is typically the unique identifier of the service consumption network element, and the identifier may be a uniform resource locator (Uniform Resource Locator, URL), for example.
The process of the service providing network element obtaining the service request information of the service consuming network element is performed in the process of starting the service providing network element, the service providing network element obtains the service type and the notification obtaining identification required by the service consuming network element, which is equivalent to subscribing the service consuming network element for the target service corresponding to the service type, and the service consuming network element does not need to initiate the service subscription request to the service providing network element in the subsequent registration process, session establishment process and the like of the terminal equipment.
For example, the service consumption network element may be, for example, an AMF network element, an SMF network element, a PCF network element, or the like, and the service providing network element may be, for example, a UDM network element, a UDR network element, or the like, which is not limited in this embodiment.
S20: and detecting service information generated by the target service corresponding to the service type according to the service type.
In this embodiment, the service providing network element determines, according to the service type, a target service provided by the service consuming network element, where the target service may be a service function of the service providing network element in the 5G core network, and after the service providing network element determines, according to the service type, the service providing network element detects whether service information corresponding to the target service is changed.
In some embodiments, the target service corresponding to the service type may be any one of an access and mobility management subscription data change service, a mobility management policy data change service, a session management data service, a session management policy data change service, a virtualized network group information change service, and a positioning protocol service.
Specifically, if the service consumption network element is an AMF network element, the target service may be an access and mobility management data change service; if the service consumption network element is a PCF network element, the target service can be a mobility management policy change service or a session management policy data change service; if the service consumption network element is an SMF network element, the target service can be session management data service; in the process of creating the 5G virtualized network group, the target service can be a virtualized network group information changing service; in the positioning process, the service consumption network element is an LMF network element, and the target service can be a positioning protocol service.
S30: if the service information generated by the target service is detected, acquiring the identification according to the notification, and sending the service information to the service consumption network element.
In this embodiment, when detecting that the service information related to the target service is changed, the service providing network element obtains the identifier according to the notification, and sends the changed service information to the service consuming network element.
In the service subscription method provided in the above embodiment, in the process of starting the service providing network element, the service providing network element directly obtains the service request information of the service consuming network element, so as to send the service information of the target service to the service consuming network element according to the service request information of the service consuming network element, in the subsequent process, the service consuming network element can realize the function of the service providing network element for providing the service to the service consuming network element without initiating a subscription request to the service providing network element, the subscription process is not required to be initiated, the signaling load of the core network is reduced, the subscription process in the signaling interaction process of the core network is reduced, and the problem of waste of core network resources due to low use rate in the subscription process is avoided.
A possible implementation manner of the service providing network element to obtain the service request information of the service consuming network element is described below with reference to the embodiments.
In a possible implementation manner, please refer to fig. 8, which is a second flowchart of a service subscription method provided in an embodiment of the present application, as shown in fig. 8, the process of S10 obtaining service request information of a service consumption network element may include:
s11: acquiring service request information from a preset network element configuration file, wherein the service request information further comprises: identification of the service consumption network element.
The step S20 of detecting service information generated by the target service corresponding to the service type according to the service type may include:
s21: and detecting service information generated by target service corresponding to the service type of the service consumption network element according to the service type and the identification of the service consumption network element.
S30: if the service information generated by the target service is detected, acquiring the identification according to the notification, and sending the service information to the service consumption network element.
In this embodiment, the preset network element configuration file is a configuration file of a service providing network element, and is used to store relevant configuration information of the service providing network element, where the configuration file includes service request information of multiple service consumption network elements, and the multiple service consumption network elements are network elements that are specified in a core network and can provide services for the service providing network element. The service request information of each service consumption network element includes: the identification of the service consumption network element, the service type and the notification acquisition identification.
In the process of starting the service providing network element, the service providing network element can read the preset network element configuration file so as to acquire service request information of a plurality of service consumption network elements from the preset network element configuration file.
Because there may be at least two service consumption network elements with the same type in the core network, if the service types required by the service consumption network elements with the same type are the same, the service providing network element needs to determine the service providing network element subscribed to the target service according to the identifier of the service consumption network element, so as to detect whether the service information of the target service for the service consumption network element is changed.
For example, if the service providing network element UDM obtains service request information of the service consuming network element AMF1 and service request information of the service consuming network element AMF2 from a preset network element configuration file, and the services required by the service providing network element UDM are access and mobility management subscription data change services, the service providing network element UDM needs to detect whether access and mobility management subscription data for the AMF1 network element and the AMF2 network element are changed respectively, and if the access and mobility management subscription data of the AMF1 network element are changed, the changed access and mobility management subscription data are sent to the AMF1 network element according to the URL of the AMF1 network element; if the access and mobility management subscription data of the AMF2 network element are changed, the changed access and mobility management subscription data are sent to the AMF2 network element according to the URL of the AMF2 network element.
According to the service subscription method provided by the embodiment, the service request information is configured in the preset network element configuration file of the service providing network element, so that the process that the service consumption network element sends the subscription request and the subscription request to the service providing network element is omitted, the signaling load of the core network is reduced, and the problem of waste of core network resources due to low utilization rate in the subscription process is avoided.
In another possible implementation manner, please refer to fig. 9, which is a flowchart of a service subscription method provided by an embodiment of the present application, as shown in fig. 9, the step S10 of obtaining service request information of a service consumption network element may include:
s12: and sending a state information acquisition request for the service consumption network element to the NRF network element.
S13: receiving service request information of a service consumption network element sent by an NRF network element; the service request information is sent when the service consumer network element registers with the NRF network element.
S20: and detecting service information generated by the target service corresponding to the service type according to the service type.
S30: if the service information generated by the target service is detected, acquiring the identification according to the notification, and sending the service information to the service consumption network element.
In this embodiment, an NRF network element is disposed in a core network, where the NRF network element is configured to register, manage and detect states of all NF network elements, so as to implement automatic management of all NF network elements, and when each NF network element is started, register and register in the NRF network element is necessary to provide a corresponding service in the core network, and a sideband interface (Side Band Interface, SBI) is used to communicate between each NF network element and the NRF network element, where the SBI interface may include: namf, nsmf, nudm, nnrf, nnssf, nausf, nnef, nmsf, nudr, npcf, nlmf, etc.
For example, please refer to fig. 10, which is a registration interaction diagram of a service consumption network element provided by an embodiment of the present application, as shown in fig. 10, when the service consumption network element initiates a registration request to an NRF network element, registration information is carried in the registration request, where the registration information includes: the service provides an identification of the network element, a service type and a notification acquisition identification.
Referring to fig. 11, in a subscription interaction diagram of a service providing network element provided by the embodiment of the present application, as shown in fig. 11, after the service providing network element is successfully registered in an NRF network element, a state information acquisition request for a service consumption network element is sent to the NRF network element to request for subscribing to state information of the service consumption network element, after the NRF network element receives the state information acquisition request sent by the service providing network element, according to an identifier of the service consumption network element requested by the service providing network element and an identifier of the service providing network element in the registration request of the service consumption network element, if it is determined that the two are matched with each other, service request information of the service consumption network element is sent to the service providing network element, where the service request information includes: service type and notification acquisition identity.
In one possible implementation manner, heartbeat is kept among the service consumption network element, the NRF network element and the service providing network element, that is, the service consumption network element sends registration information to the NRF network element at regular time, the NRF network element judges whether the registration information changes according to the registration information received at regular time, and if the registration information changes, the NRF network element sends updated service request information to the service providing network element again.
The two ways of obtaining the service request information provided in the foregoing embodiments may adopt a second way to obtain the service request information from the NRF network element when the NRF network element is provided in the core network, and directly configure the service request information in a preset network element configuration file of the service providing network element when the NRF network element is not deployed in the core network.
According to the service subscription method provided by the embodiment, the service consumption network element sends the registration information to the NRF network element in the registration process, so that the NRF network element sends the service request information of the service consumption network element to the service providing network element in the registration process of the service providing network element, the process that the service consumption network element sends the subscription request and the subscription-removing request to the service providing network element is omitted, the signaling load of the core network is reduced, and the problem of waste of core network resources caused by low utilization rate in the subscription process is avoided.
The method for replacing the subscription process in each 5G function flow needs to be implemented under the condition that the service request information of the service consumption network element is obtained in the service providing network element starting process to replace the subscription process in each 5G function flow.
In one possible implementation, if the service request information is detected to be deleted, sending the service information to the service consumption network element is stopped when the service information generated by the target service is detected.
In this embodiment, the service providing network element periodically acquires the service request information of the service consuming network element, and if the service request information is not acquired, it is determined that the service request information of the service consuming network element is deleted, which is equivalent to the service consuming network element unsubscribing from the target service, in which case, the service providing network element will not notify the service consuming network element after detecting that the service information generated by the target service is changed.
Two possible implementations of determining that service request information is deleted are described below in connection with embodiments.
In some embodiments, before stopping sending the service information to the service consumption network element if the service request information is detected to be deleted and the service information generated by the target service is detected, the method may further include:
and reading a preset network element configuration file, and if the preset network element configuration file does not contain the service request information, determining that the service request information is deleted.
In this embodiment, the service providing network element periodically reads the service request information of the service consuming network element in the preset network element configuration file, and if the service request information of the service consuming network element is not read, determines that the service request information of the service consuming network element is deleted. The process of deleting the service request information of the service consumption network element from the preset network element configuration file is equivalent to canceling the subscription target service.
In other embodiments, please refer to fig. 12, which is a flowchart of a service subscription method provided in an embodiment of the present application, as shown in fig. 12, before stopping sending service information to a service consumption network element when detecting service information generated by a target service if detecting that service request information is deleted, the method may further include:
s41: the receiving NRF network element sends a status information update notification for the service consuming network element.
S42: and determining that the service request information is deleted according to the state information update notification.
In this embodiment, when the service consumption network element determines that the target service is no longer needed, a registration information update notification is sent to the NRF network element, where the registration information update notification does not include registration information.
Referring to fig. 13, in an interaction diagram of a notification service providing network element provided by an embodiment of the present application, as shown in fig. 13, an NRF network element determines that registration information is deleted according to a registration information update notification, and the NRF network element sends a status information update notification to the service providing network element, where the status information update notification does not include service request information of a service consumption network element, and the service providing network element determines that the service request information is deleted according to the status information update notification, which is equivalent to the service consumption network element unsubscribing from a target service.
According to the service subscription method provided by the embodiment, the service request information of the service consumption network element is deleted to replace the subscription-removing process of the service consumption network element, so that the signaling load of the core network is reduced.
Two ways of implementing subscription and unsubscribing are described below in connection with examples.
In a first example, the core network does not include an NRF network element, a UDM network element is used as a service providing network element, an AMF network element is used as a service consuming network element, a network element configuration file of the UDM network element defines an identifier of the AMF network element, an access and mobility management subscription data change notification service, and a URL for acquiring notification is acquired, the UDM network element acquires the service request information by reading the network element configuration file, and when the access and mobility management subscription data change, the UDM network element sends service information to the AMF network element according to the URL for acquiring notification; when AMF network element no longer needs the service, deleting the service request information from the network element configuration file of UDM network element, and when the access and mobility management subscription data change, UDM network element does not send notice to AMF network element. And deleting the subscription process and the unsubscribe process in the original registration process.
In a second example, the core network includes an NRF network element, a UDM network element is used as a service providing network element, an AMF network element is used as a service consuming network element, when the AMF network element initiates registration to the NRF, the UDM network element that provides the service, the access and mobility management subscription data change notification service, and the URL that obtains the notification are placed in registration information, after the UDM network element successfully registers to the NRF network element, the UDM network element subscribes to the state information of the AMF network element, and the NRF network element sends the registration information of the AMF network element to the UDM network element, and when the registration information of the AMF network element changes, the UDM network element is notified.
After the UDM network element acquires the access and mobility management subscription data change notification service required by the AMF network element and the URL for acquiring the notification, when the access and mobility management subscription data change, the UDM network element sends service information to the AMF network element according to the URL for acquiring the notification; when the AMF network element does not need the service, the AMF network element deletes the registration information, the NRF network element sends a change notification of the registration information to the UDM network element, and when the access and mobility management subscription data change, the UDM network element does not send a notification to the AMF network element.
On the basis of the method embodiment, the embodiment of the application also provides a service subscription device which is applied to the service providing network element. Referring to fig. 14, a schematic structural diagram of a service subscription device according to an embodiment of the present application, as shown in fig. 14, the device may include:
The request information obtaining module 10 is configured to obtain service request information of a service consumption network element, where the service request information includes: service type and notification acquisition identifier;
the service information detection module 20 is configured to detect service information generated by a target service corresponding to a service type according to the service type;
and the service information sending module 30 is configured to send the service information to the service consumption network element according to the notification acquisition identifier if the service information generated by the target service is detected.
Optionally, the request information obtaining module 10 is specifically configured to obtain service request information from a preset network element configuration file, where the service request information further includes: an identification of a service consumption network element;
the service information detection module 20 is specifically configured to detect, according to the service type and the identifier of the service consumption network element, service information generated by a target service corresponding to the service type of the service consumption network element.
Optionally, the request information acquisition module 10 includes:
an information acquisition request sending unit, configured to send an information acquisition request for a service consumption network element to a network element storage function NRF network element;
a request information acquisition unit, configured to receive service request information of a service consumption network element sent by an NRF network element; the service request information is sent when the service consumer network element registers with the NRF network element.
Optionally, the apparatus further comprises:
and the request information detection module is used for stopping sending the service information to the service consumption network element when detecting the service information generated by the target service if detecting that the service request information is deleted.
Optionally, before the request information detection module, the apparatus further includes:
and the confirmation module is used for reading the preset network element configuration file, and determining that the service request information is deleted if the service request information is not included in the preset network element configuration file.
Optionally, before the request information detection module, the apparatus further includes:
a notification receiving module, configured to receive a state information update notification sent by an NRF network element for a service consumption network element;
and the confirmation module is also used for confirming that the service request information is deleted according to the state information update notification.
Optionally, the target service corresponding to the service type is any one of an access and mobility management subscription data changing service, a mobility management policy data changing service, a session management data service, a session management policy data changing service, a virtualized network group information changing service and a positioning protocol service.
The foregoing apparatus is used for executing the method provided in the foregoing embodiment, and its implementation principle and technical effects are similar, and are not described herein again.
The above modules may be one or more integrated circuits configured to implement the above methods, for example: one or more application specific integrated circuits (Application Specific Integrated Circuit, abbreviated as ASICs), or one or more microprocessors, or one or more field programmable gate arrays (Field Programmable Gate Array, abbreviated as FPGAs), etc. For another example, when a module above is implemented in the form of a processing element scheduler code, the processing element may be a general-purpose processor, such as a central processing unit (Central Processing Unit, CPU) or other processor that may invoke the program code. For another example, the modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).
Referring to fig. 15, a schematic diagram of a service providing network element provided in an embodiment of the present application, as shown in fig. 15, the service providing network element 100 includes: a transceiver 110, a processor 120, and a storage medium 130; the transceiver 110 is used for receiving and transmitting data; the storage medium 130 stores program instructions executable by the processor 120; the processor 120 is operative to invoke program instructions stored in the storage medium 130 to perform the method embodiments described above.
In one embodiment, the present application further provides a computer readable storage medium, where a computer program is stored, and when the computer program is executed by a processor, the method embodiment is performed.
In the several embodiments provided by the present application, it should be understood that the disclosed apparatus and method may be implemented in other manners. For example, the apparatus embodiments described above are merely illustrative, e.g., the division of the units is merely a logical function division, and there may be additional divisions when actually implemented, e.g., multiple units or components may be combined or integrated into another system, or some features may be omitted or not performed. Alternatively, the coupling or direct coupling or communication connection shown or discussed with each other may be an indirect coupling or communication connection via some interfaces, devices or units, which may be in electrical, mechanical or other form.
The units described as separate units may or may not be physically separate, and units shown as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
In addition, each functional unit in the embodiments of the present invention may be integrated in one processing unit, or each unit may exist alone physically, or two or more units may be integrated in one unit. The integrated units may be implemented in hardware or in hardware plus software functional units.
The integrated units implemented in the form of software functional units described above may be stored in a computer readable storage medium. The software functional unit is stored in a storage medium, and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) or a processor (english: processor) to perform some of the steps of the methods according to the embodiments of the invention. And the aforementioned storage medium includes: u disk, mobile hard disk, read-Only Memory (ROM), random access Memory (Random Access Memory, RAM), magnetic disk or optical disk, etc.
The foregoing is merely illustrative of embodiments of the present invention, and the present invention is not limited thereto, and any changes or substitutions can be easily made by those skilled in the art within the technical scope of the present invention, and the present invention is intended to be covered by the present invention. Therefore, the protection scope of the invention is subject to the protection scope of the claims.

Claims (9)

1. A service subscription method, applied to a service providing network element, the method comprising:
obtaining service request information of a service consumption network element, wherein the service request information comprises the following steps: the service request information is obtained from a preset network element configuration file of the service providing network element when a network element storage function NRF network element is not deployed in a core network or from the NRF network element when the NRF network element is deployed in the core network;
according to the service type, detecting service information generated by a target service corresponding to the service type;
if the service information generated by the target service is detected, acquiring an identifier according to the notification, and sending the service information to the service consumption network element;
the obtaining the service request information of the service consumption network element includes:
the service request information is obtained from a preset network element configuration file, and the service request information further comprises: the identity of the service consumption network element; or alternatively, the process may be performed,
sending an information acquisition request for the service consumption network element to a network element storage function NRF network element; receiving service request information of the service consumption network element sent by the NRF network element; the service request information is sent when the service consumption network element registers with the NRF network element.
2. The method of claim 1, wherein detecting service information generated by a target service corresponding to the service type according to the service type comprises:
and detecting service information generated aiming at a target service corresponding to the service type of the service consumption network element according to the service type and the identification of the service consumption network element.
3. The method of claim 1, wherein the method further comprises:
and if the service request information is detected to be deleted, stopping sending the service information to the service consumption network element under the condition that the service information generated by the target service is detected.
4. The method of claim 3, wherein if the service request information is detected to be deleted, before stopping sending the service information to the service consuming network element if the service information generated by the target service is detected, the method further comprises:
and reading a preset network element configuration file, and if the preset network element configuration file does not contain the service request information, determining that the service request information is deleted.
5. The method of claim 3, wherein if the service request information is detected to be deleted, before stopping sending the service information to the service consuming network element if the service information generated by the target service is detected, the method further comprises:
The NRF network element of the receiving network element storage function sends a state information update notification for the service consumption network element;
and determining that the service request information is deleted according to the state information update notification.
6. The method according to any one of claims 1-5, wherein the target service corresponding to the service type is any one of an access and mobility management subscription data change service, a mobility management policy data change service, a session management data service, a session management policy data change service, a virtualized network group information change service, and a positioning protocol service.
7. A service subscription apparatus for use with a service providing network element, the apparatus comprising:
the request information acquisition module is used for acquiring service request information of the service consumption network element, and the service request information comprises: the service request information is obtained from a preset network element configuration file of the service providing network element when a network element storage function NRF network element is not deployed in a core network or from the NRF network element when the NRF network element is deployed in the core network;
the service information detection module is used for detecting service information generated by a target service corresponding to the service type according to the service type;
The service information sending module is used for sending the service information to the service consumption network element according to the notification acquisition identifier if the service information generated by the target service is detected;
the request information obtaining module is specifically configured to obtain the service request information from a preset network element configuration file, where the service request information further includes: the identity of the service consumption network element; or alternatively, the process may be performed,
the request information acquisition module is further configured to send an information acquisition request for the service consumption network element to a network element storage function NRF network element; receiving service request information of the service consumption network element sent by the NRF network element; the service request information is sent when the service consumption network element registers with the NRF network element.
8. A service providing network element, comprising:
a transceiver, a processor, and a storage medium;
the transceiver is used for receiving and transmitting data;
the storage medium stores program instructions executable by the processor;
the processor is configured to invoke the program instructions stored in the storage medium to perform the steps of the service subscription method according to any of claims 1-6.
9. A computer-readable storage medium, characterized in that the storage medium has stored thereon a computer program which, when executed by a processor, performs the steps of the service subscription method according to any of claims 1 to 6.
CN202310602195.6A 2023-05-26 2023-05-26 Service subscription method, device, service providing network element and storage medium Active CN116321110B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310602195.6A CN116321110B (en) 2023-05-26 2023-05-26 Service subscription method, device, service providing network element and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310602195.6A CN116321110B (en) 2023-05-26 2023-05-26 Service subscription method, device, service providing network element and storage medium

Publications (2)

Publication Number Publication Date
CN116321110A CN116321110A (en) 2023-06-23
CN116321110B true CN116321110B (en) 2023-08-18

Family

ID=86832750

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310602195.6A Active CN116321110B (en) 2023-05-26 2023-05-26 Service subscription method, device, service providing network element and storage medium

Country Status (1)

Country Link
CN (1) CN116321110B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200116844A (en) * 2019-04-02 2020-10-13 한국전자통신연구원 Network data collection method from network function device for network data analytic function
WO2022062920A1 (en) * 2020-09-25 2022-03-31 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for service registration and service discovery
WO2022218947A2 (en) * 2021-04-13 2022-10-20 Telefonaktiebolaget Lm Ericsson (Publ) Methods and systems for providing information regarding supported features

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20220116770A1 (en) * 2019-01-10 2022-04-14 Convida Wireless, Llc Apparatus, system, method, and computer-readable medium for performing a message service and identity service in a 5g network
CN113518319B (en) * 2020-04-09 2023-03-17 华为技术有限公司 Service processing method, device and system for proximity service

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20200116844A (en) * 2019-04-02 2020-10-13 한국전자통신연구원 Network data collection method from network function device for network data analytic function
WO2022062920A1 (en) * 2020-09-25 2022-03-31 Telefonaktiebolaget Lm Ericsson (Publ) Method and apparatus for service registration and service discovery
WO2022218947A2 (en) * 2021-04-13 2022-10-20 Telefonaktiebolaget Lm Ericsson (Publ) Methods and systems for providing information regarding supported features

Also Published As

Publication number Publication date
CN116321110A (en) 2023-06-23

Similar Documents

Publication Publication Date Title
US20210076192A1 (en) Communications Method and Apparatus
CN110049070B (en) Event notification method and related equipment
EP3952367A1 (en) Event notification method and device, and storage medium
CN115442771A (en) Method and device for subscribing service
US11533666B2 (en) Communication method, communications apparatus, and communications system
CN110519709B (en) Context management method and device
WO2019033796A1 (en) Session processing method and related device
US20230388776A1 (en) Methods, network function nodes and computer readable media for event subscription management
US20210329504A1 (en) Communication method and apparatus
JP2023518344A (en) Exposure and Discovery of Distributed Network Functions Serving User Equipment or PPDU Sessions
US11412355B2 (en) Method, device, and system for optimizing short message signaling
CN116601917A (en) Method and apparatus for secure communication
EP3884647B1 (en) Methods of operating service control nodes
JP2022546268A (en) Service provision method and device using multiple SIMs
CN110519749B (en) API information transmission method and device
CN116321110B (en) Service subscription method, device, service providing network element and storage medium
US20230104162A1 (en) Using dnai to identify a smf supporting connection to a local dn
CN115915137A (en) Network function service authorization method and device
US20230021904A1 (en) Method and Apparatus for Signaling Session Terminations in a Communication Network
KR20210055542A (en) Method and apparatus for communicationg of an user euqiptment having mulitple subscriber inoformation in a wireless communication system
WO2021180170A1 (en) Method and apparatus for handover
WO2021233375A1 (en) Ip address allocation in a wireless communication network
WO2023017693A1 (en) User equipment, server, and method therefore
US20240121741A1 (en) Methods, Network Function Nodes and Computer Readable Media for Event Subscription Management
US20220353668A1 (en) Methods, network function nodes and computer readable media for contents communication management

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