CN112218272A - Event subscription method, device and equipment - Google Patents

Event subscription method, device and equipment Download PDF

Info

Publication number
CN112218272A
CN112218272A CN201910619623.XA CN201910619623A CN112218272A CN 112218272 A CN112218272 A CN 112218272A CN 201910619623 A CN201910619623 A CN 201910619623A CN 112218272 A CN112218272 A CN 112218272A
Authority
CN
China
Prior art keywords
condition
network element
state attribute
subscription
event
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.)
Pending
Application number
CN201910619623.XA
Other languages
Chinese (zh)
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.)
Datang Mobile Communications Equipment Co Ltd
Original Assignee
Datang Mobile Communications Equipment 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 Datang Mobile Communications Equipment Co Ltd filed Critical Datang Mobile Communications Equipment Co Ltd
Priority to CN201910619623.XA priority Critical patent/CN112218272A/en
Publication of CN112218272A publication Critical patent/CN112218272A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W4/00Services specially adapted for wireless communication networks; Facilities therefor
    • H04W4/60Subscription-based services using application servers or record carriers, e.g. SIM application toolkits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W68/00User notification, e.g. alerting and paging, for incoming communication, change of service or the like
    • H04W68/02Arrangements for increasing efficiency of notification or paging channel

Abstract

The invention provides an event subscription method, an event subscription device and event subscription equipment, which are used for solving the problems of processing resources and bandwidth of an open interface with higher consumption capacity in the prior art. The method comprises the following steps: a network capability openness function (NEF) network element receives a subscription request message for a target event, which is sent by an Application Function (AF), wherein the subscription request message is used for indicating a trigger condition which needs to be met when the target event occurs, the trigger condition comprises condition information which needs to be met by each object in N objects which are aimed at by the target event and logic relationship information between the condition information of the N objects, and N is a positive integer greater than 1; and when the NEF network element determines that the trigger condition is met, sending a first notification message for indicating the occurrence of the target event to the AF.

Description

Event subscription method, device and equipment
Technical Field
The present invention relates to the field of communications technologies, and in particular, to an event subscription method, apparatus and device.
Background
In a core Network architecture of a Fifth Generation (5G) mobile communication technology, an Application Function (AF) interacts with a Network capability Exposure Function (NEF) Network element through a capability Exposure interface to obtain an open capability and an event of a 5G core Network, so as to adaptively adjust a policy of service processing.
Currently, generally, when determining to adjust a certain service processing policy, an AF needs to request a NEF network element to subscribe to multiple events, and each time the NEF network element determines that one of the events occurs, the NEF network element sends a corresponding notification to the AF through a capability open interface. And the AF analyzes the received notifications of the events according to the events and adaptively adjusts the strategy of service processing. It can be seen that with the development of 5G mobile communication technology, the number of Application Functions (AFs) will increase rapidly, resulting in a large number of notifications to be sent by the NEF network element to the AFs, which increases the processing resources of the capability openness interface and the consumption of processing bandwidth.
Disclosure of Invention
The invention provides an event subscription method, an event subscription device and event subscription equipment, which are used for solving the problems of processing resources and bandwidth of an open interface with higher consumption capacity in the prior art.
In a first aspect, an embodiment of the present invention provides an event subscription method, including:
a network capability openness function (NEF) network element receives a subscription request message for a target event, which is sent by an Application Function (AF), wherein the subscription request message is used for indicating a trigger condition which needs to be met when the target event occurs, the trigger condition includes condition information which needs to be met by each object in N objects which are aimed at by the target event and logic relationship information between the condition information of the N objects, and N is a positive integer greater than 1;
and when the NEF network element determines that the trigger condition is met, sending a first notification message for indicating the occurrence of the target event to the AF.
In an optional implementation manner, the condition information that the first object needs to satisfy includes identification information of the first object, a state attribute used for characterizing a state of the first object, and a first condition parameter that the state attribute of the first object needs to satisfy, where the first object is any one of the N objects;
the step of determining, by the NEF network element, that the trigger condition is satisfied includes:
the NEF network element acquires a state attribute value used for indicating the state of the first object according to the state attribute of the first object;
when the state attribute value of the first object matches the first condition parameter, the NEF network element determines that a condition indicated by the condition information of the first object is satisfied.
In an optional implementation manner, the acquiring, by the NEF network element, the current state attribute value of the first object according to the state attribute of the first object includes:
and when the NEF network element obtains the identification information of the first object, the state attribute of the first object and the first condition parameter by analyzing from the subscription request message, the NEF network element obtains the current state attribute value of the first object according to the state attribute of the first object.
In an optional implementation manner, the method further includes:
and when the NEF network element does not resolve any item of the identification information of the first object, the state attribute of the first object and the first condition parameter from the subscription request message, sending a second notification message for indicating that the subscription to the target event fails to the AF.
In a second aspect, an embodiment of the present invention provides an event subscription apparatus, which is configured in a network element of a network capability openness function NEF, and includes:
a receiving module, configured to receive a subscription request message for a target event sent by an application function AF, where the subscription request message is used to indicate a trigger condition that needs to be met when the target event occurs, where the trigger condition includes logical relationship information between condition information that needs to be met for each of N objects to which the target event is directed and the condition information of the N objects, and N is a positive integer greater than 1;
and the condition filtering module is used for sending a first notification message for indicating the occurrence of the target event to the AF when the trigger condition is determined to be met.
In an optional implementation manner, the condition information that the first object needs to satisfy includes identification information of the first object, a state attribute used for characterizing a state of the first object, and a first condition parameter that the state attribute of the first object needs to satisfy, where the first object is any one of the N objects;
the conditional filtering module is specifically configured to:
acquiring a state attribute value for indicating the state of the first object according to the state attribute of the first object;
when the state attribute value of the first object matches the first condition parameter, determining that a condition indicated by the condition information of the first object is satisfied.
In an optional implementation manner, when the condition filtering module obtains the current state attribute value of the first object according to the state attribute of the first object, the condition filtering module is specifically configured to:
and when the identification information of the first object, the state attribute of the first object and the first condition parameter are obtained by analyzing from the subscription request message, obtaining the current state attribute value of the first object according to the state attribute of the first object.
In an optional implementation manner, the conditional filtering module is further configured to:
and when any one of the identification information of the first object, the state attribute of the first object and the first condition parameter is not resolved from the subscription request message, sending a second notification message for indicating that the subscription to the target event fails to the AF.
In a third aspect, an embodiment of the present invention provides an event subscription device, which may be applied to a NEF, and includes:
a memory and a processor;
a memory for storing program instructions;
and the processor is used for calling the program instructions stored in the memory and executing the method of any implementation mode of the first aspect according to the obtained program.
In a fourth aspect, the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the above method.
In the above manner provided by the embodiment of the present invention, when determining to adjust a certain service processing policy, the AF may send a condition that needs to be satisfied by determining that the service processing policy needs to be adjusted as a subscription event to the NEF network element, so that the NEF network element receives a subscription request message for a target event sent by the AF, learns a trigger condition that needs to be satisfied when the target event occurs, that is, the trigger condition includes logical relationship information between condition information that needs to be satisfied by each of N objects to which the target event is directed and condition information of the N objects, and then sends a first notification message for indicating occurrence of the target event to the AF when determining that the trigger condition is satisfied. The complex trigger conditions corresponding to the subscribed events are analyzed at the NEF network element side, the events which do not meet the trigger conditions are filtered, the times of sending the notification to the AF by the NEF network element are reduced, the consumption of processing resources of the capability open interface can be reduced, and the bandwidth utilization rate is improved.
Drawings
Fig. 1 is a schematic structural diagram of a 5G core network architecture according to an embodiment of the present invention;
fig. 2 is a schematic flowchart of an event subscription method according to an embodiment of the present invention;
fig. 3 is a flowchart illustrating another event subscription method according to an embodiment of the present invention;
fig. 4 is a block diagram of an event subscription apparatus according to an embodiment of the present invention;
fig. 5 is an interaction diagram of an NEF network element and an AF according to an embodiment of the present invention;
fig. 6 is a schematic structural diagram of an event subscription device according to an embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention clearer, the present invention will be described in further detail with reference to the accompanying drawings, and it is apparent that the described embodiments are only a part of the embodiments of the present invention, not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The plurality of the present invention means two or more. "and/or" describes the association relationship of the associated objects, meaning that there may be three relationships, e.g., a and/or B, which may mean: a exists alone, A and B exist simultaneously, and B exists alone. The character "three types" generally indicates that the former and latter associated objects are in an "or" relationship. In addition, it should be understood that although the terms first, second, etc. may be used to describe messages in embodiments of the present invention, the data packets should not be limited to these terms. These terms are only used to distinguish messages from each other.
Capability openness is an important characteristic of a Fifth Generation (5G) mobile communication technology, and various Application Function (AF) Network elements use the capability opened by a 5G Core Network (5 GC) through a capability openness interface, such as sensing events such as terminal location, state, reachability, connection condition, traffic path change, and the like. The 5G mobile communication technology supports mass connection and high-speed movement, supports the optimization and adjustment of a service path, supports the characteristics of a local service area (LADN) and the like, and enables events in a 5G core network to be generated more frequently. And with commercialization of the 5G mobile communication technology, there are more and more AFs subscribing to various events through the capability open interface.
In the 3rd Generation Partnership Project (3 GPP) protocol standard, a Network element responsible for implementing a capability opening Function is a Network capability opening Function (NEF) Network element. In this case, the AF may interact with the NEF network element through the capability openness interface to obtain the capability of opening the 5G core network. The capability open interface adopts a service interface, the AF can adopt a subscription mode to subscribe various events of the 5G core network monitored by the NEF network element through the capability open interface, and when the subscribed events occur, the NEF network element informs a subscriber, namely the AF, through notification operation. The AF performs corresponding processing analysis according to the event notification after obtaining the event notification, such as triggering some services, automatically adjusting Quality of Service (QoS), and the like.
Currently, according to an event subscription and notification mechanism defined by the 3GPP protocol standard, the AF subscribes some fixed single events to the NEF network element only according to the definition of the capability open interface specification for the event subscription message, and the NEF network element simply judges whether the subscribed events occur, and notifies the AF if the subscribed events occur. Such as an AF subscription idle state indication (idlestaussindication), when a NEF network element monitors that a User Equipment (UE) enters an idle state, it determines that an event occurs, that is, reports an event notification to an AF. The NEF network element cannot process more complex conditional subscriptions, if the AF determines to adjust a certain service processing policy, it needs to consider a combinational logic relationship between multiple events, because the NEF cannot process a complex conditional subscription request, it needs to request the NEF network element to subscribe to multiple events related to the policy, and whenever the NEF network element determines that one of the events occurs, it sends a corresponding notification to the AF through the capability open interface. After receiving the notifications of the events, the AF analyzes the events according to the logical relationship between the events to be considered by the AF for adjusting the service processing policy, such as whether the events occur or not, and a plurality of relevant parameters corresponding to the events meet specific requirements, and the like. Therefore, the interaction between the NEF network element and the AF through the capability open interface is very frequent, and the NEF network element needs to send a notification to the AF continuously to provide a basis for analysis for the AF, which may greatly consume the processing resources and bandwidth of the capability open interface.
Based on this, embodiments of the present invention provide an event subscription method, apparatus, and device, so as to solve the problem of processing resources and bandwidth of an open interface with a large consumption capability in the prior art. The method, the device and the equipment are based on the same inventive concept, and because the principles of solving the problems of the method, the device and the equipment are similar, the implementation of the method, the device and the equipment can be mutually referred, and repeated parts are not repeated.
The embodiment of the invention can be applied to a 5G core Network, and the NEF Network element is used as a main Network element for realizing the opening of the Network capability, and safely opens the Network Function (NF) capability and events to third parties, application functions, edge computing and other applications.
In the 5G core network, the NEF network element cooperates with the related NF network element through a Service Based Interface (SBI) to realize capability openness, wherein the SBI interface includes: interfaces such as Namf, Nsmf, Nudm, Nnrf, Nnssf, Nnef, Nsmsf, Nudr, Npcf, Nlmf and the like, wherein the NF network element comprises: network elements such as a Network storage Function (NRF), a Network Slice Selection Function (NSSF), a Policy Control Function (PCF), a Unified Data Management (UDM), AN Access and Mobility Management Function (AMF), a Session Management Function (SMF), a Radio Access Network (Radio) Access Network (R) AN), a Data Network (Data Network, DN), a User Equipment (User Equipment, UE), and a User Plane Function (User Plane Function, UPF).
For convenience of understanding, referring to fig. 1, AN embodiment of the present invention provides a 5G core network architecture, specifically illustrating AN NEF network element, AN AF, and four NF network elements, which are AN, AMF, SMF, UE, and UPF, respectively. The NEF network element interacts with the AMF network element through a Namf interface to realize the opening of monitoring capabilities including UE (also called as a terminal) connection loss, accessibility, position information, communication faults, the number of UE in AN area and the like, the AMF interacts with the UE through AN N1 channel, and the AMF interacts with (R) AN through AN N2 channel; the NEF network element interacts with the SMF network element through AN Nsmf interface, and the SMF network element interacts with the UPF network element through AN N4 channel to realize session management, such as session establishment, modification and release, including channel (N3) maintenance between the UPF and the AN.
The AF subscribes, to the NEF network element, an event related to capability openness managed by another NF network element in the 5G core network, where the NF network element may be the aforementioned AMF network element, SMF network element, UPF network element, UE network element, and the like, the event is triggered by a state change of one or more objects in the network, for example, the state of a user equipment (also referred to as a terminal) may become reachable, and when the user equipment reaches a certain cell or a certain area triggers an event, the NEF network element sends a notification message corresponding to the subscription event to the AF.
The AF can define the trigger condition which needs to be met by subscribing the event according to the business processing strategy to be adjusted, the trigger condition is sent to the NEF network element through the capability open interface when the subscription request message is sent to the NEF network element, so that the NEF network element judges whether to send the event notice which shows the occurrence of the event to the AF by combining the trigger condition when monitoring the occurrence of the subscription event, some event notices which do not meet the trigger condition are filtered out at a notifier, namely the NEF network element, the event notice filtering mechanism at the NEF network element is strengthened, and the quantity of reported AF event notices is reduced.
For facilitating understanding of the embodiment of the present invention, a detailed description is first given of an event subscription method provided in the embodiment of the present invention.
Referring to fig. 2, an event subscription method includes:
step S201, the NEF network element receives a subscription request message for a target event sent by the application function AF.
The subscription request message is used for indicating a trigger condition which needs to be met when the target event occurs, the trigger condition comprises the logical relationship information between the condition information which needs to be met by each object in the N objects aimed at by the target event and the condition information of the N objects, and N is a positive integer greater than 1; the logic relation information indicates logic relations such as logical AND, logical OR and logical NOT, the logical AND indicates that a plurality of pieces of condition information simultaneously meet the conditions, the logical OR indicates that at least one of the plurality of pieces of condition information meets, the logical NOT indicates that the plurality of pieces of condition information do not meet, and the logic relations can be nested.
Specifically, when the method is applied to a 5G core network, the object represents a network function network element that manages a capability open-related event, and network element types represented by N objects may be the same, for example, N objects targeted by a target event are a first UE and a second UE respectively, and both belong to a user equipment network element type.
For convenience of understanding, the triggering condition is taken as an example that the cells where the first UE and the second UE are located are both the first cell, and the contents included in the triggering condition are described as follows: the trigger conditions in the example include two objects: a first UE and a second UE; the condition information required to be satisfied by each object is respectively as follows: the cell where the first UE is located is a first cell, and the cell where the second UE is located is a first cell; the logical relationship information between the condition information of the two objects is: logic and relationships.
Step S202, when the NEF network element determines that the trigger condition is satisfied, the NEF network element sends a first notification message for indicating the occurrence of the target event to the AF.
For example, in an example where the triggering condition is that the cells in which the positions of the first UE and the second UE are located are both the first cells, the NEF network element notifies that a target event corresponding to the AF occurs when determining that the cells in which the positions of the first UE and the second UE are located are both the first cells.
In the embodiment of the present invention, a network element of a network capability openness function NEF receives a subscription request message for a target event sent by an application function AF, learns a trigger condition that needs to be satisfied when the target event occurs, where the trigger condition includes condition information that needs to be satisfied for each of N objects to which the target event is directed and logical relationship information between the condition information of the N objects, and then sends a first notification message for indicating that the target event occurs to the AF when it is determined that the trigger condition is satisfied. The complex trigger conditions corresponding to the subscribed events are analyzed at the NEF network element side, the events which do not meet the trigger conditions are filtered, the times of sending the notification to the AF by the NEF network element are reduced, the consumption of processing resources of the capability open interface can be reduced, and the bandwidth utilization rate is improved.
Further, an embodiment of the present invention provides a specific implementation manner in which an NEF network element determines that a trigger condition is satisfied:
for convenience of understanding, first, a first object of the N objects is taken as an example, and how condition information for determining the first object is satisfied will be described.
The first object is any one of N objects, and the condition information required to be met by the first object comprises identification information of the first object, a state attribute used for representing the state of the first object and a first condition parameter required to be met by the state attribute of the first object; wherein, the state attribute comprises a position, the first condition parameter is a constraint condition for the state attribute value, such as the state attribute value is equal to, greater than or less than a certain value; the state attribute value is within a certain value range or not within a certain value range. For determining whether the remaining objects of the N objects satisfy their corresponding condition information, the following embodiment may also be referred to:
and the NEF network element acquires a state attribute value for indicating the current state of the first object according to the state attribute of the first object.
For example, the first object is a first UE, a state attribute used for characterizing a state of the first UE in condition information that the first UE needs to meet is a cell where the position is located, and a state attribute value to be acquired by the NEF network element is an identifier of a cell where the position of the current first UE is actually located, where the identifier may be a number, a name, an address, and other information preset for the cell and representing the cell.
In specific implementation, the NEF network element may obtain the state attribute value of the state where the first object is located by using the following method: and the NEF network element sends a subscription request to a network function network element for managing the state of the first object in a subscription mode, so that the network function network element feeds back a real-time notification of the state attribute value of the current state of the first object to the NEF network element. For example, in a 5G core network, an AMF network element provides a service of acquiring a current location of a User Equipment (UE), and a NEF network element may subscribe the current location of a first UE to the AMF network element to acquire an identifier of a cell where the current location of the first UE is actually located.
And (II) when the state attribute value of the first object is matched with the first condition parameter, the NEF network element determines that the condition indicated by the condition information of the first object is satisfied.
For example, the first object is a first UE, the first condition parameter that needs to be satisfied by the cell where the first UE is located is the identifier of the first cell, and if the identifier of the cell where the current location of the first UE is actually located is the identifier of the first cell, the NEF network element determines that the condition indicated by the condition information of the first UE is satisfied.
And when determining that the condition information of each object in the N objects is satisfied, the NEF network element determines that the logical relationship information among the condition information of the N objects is satisfied, and then sends a first notification message for indicating the occurrence of the target event to the AF.
Further, in consideration that there may be an invalid subscription request message in actual application, and the NEF network element determines whether the subscription request message is valid after receiving the subscription request message, in an optional implementation, the method further includes:
when the NEF network element obtains the identification information of the first object, the state attribute of the first object and the first condition parameter by analyzing from the subscription request message, the subscription request message is determined to be valid, and the NEF network element obtains the current state attribute value of the first object according to the state attribute of the first object.
And when the NEF network element does not resolve any one of the identification information of the first object, the state attribute of the first object and the first condition parameter from the subscription request message, determining that the subscription request message is invalid, and sending a second notification message for indicating that the subscription to the target event fails to the AF so that the AF performs subsequent processing according to the second notification message, such as sending a new subscription request message to the NEF network element again.
In an optional implementation manner, the AF uses a POST method, and when sending the subscription request message to the NEF network element, the POST message body carries the foregoing trigger condition. Optionally, a unified format recognizable by both the AF and NEF network elements is formulated for the trigger condition, so that the NEF network element receives the trigger condition, and the trigger condition is quickly parsed based on the unified format to determine whether any one of the identification information of the first object, the state attribute of the first object, and the first condition parameter is absent.
Further, referring to fig. 3, an embodiment of the present invention further provides another event subscription method, where the method is executed by an NEF network element, and on the basis of the event subscription method shown in fig. 2, a specific implementation manner that another NEF network element determines that a trigger condition is satisfied is specifically illustrated, where the specific implementation manner includes:
step S301, receiving a trigger condition required to be met by occurrence of a target event sent by AF;
the trigger condition includes the logical relationship information between the condition information that each object of the N objects is required to satisfy and the condition information of the N objects, where N is a positive integer greater than 1. The condition information comprises identification information of the object, state attributes used for representing the state of the object and first condition parameters required to be met by the state attributes of the object;
step S302, detecting whether the format of the trigger condition accords with a preset format, and if so, executing step S303; if not, go to step S309;
in an alternative embodiment, the preset format may be a character string that can be interpreted and executed, edited by an interpreted scripting language such as python, lua, etc., and optionally, a special character such as $maybe used as a placeholder for marking start to distinguish the object's identity, status attribute, and condition parameters that the status attribute needs to satisfy. For the sake of understanding, the trigger conditions are first: for example, the first UE is located in the first cell and the second UE is located in the second cell, the triggering condition is as follows:
$(UE=1).$(Location).$(cellId)==1and$(UE=2).$(Location).$(cellId)==2;
wherein the object placeholders are: and $ (UE) ═ xxxx), "x denotes occupancy, and UE denotes that the type of the object is user equipment, 'xxxx' denotes an identifier of the UE, in this example, a value of 1 denotes a first UE, and a value of 2 denotes a second UE.
The state attribute placeholder is: $ (Location), "L denotes occupancy, Location denotes that the type of the state attribute is Location;
condition parameter placeholder: and $ (cellId),' el denotes occupancy, cellId denotes that the type of the state attribute that needs to satisfy the condition parameter is the located cell, "" cellId ═ 1d denotes that the located cell is the first cell, "denotes that the located cell is 2" denotes that the located cell is the second cell.
and means that the logical relationship information between the condition information of the first UE and the second UE is a logical and relationship.
Step S303, analyzing the trigger condition, and constructing an object state parameter list based on the condition information required to be met by each object;
the object state parameter list is used for storing the state attribute corresponding to each object contained in the trigger condition obtained by analysis, and the state attribute value which is obtained by the NEF network element according to the state attribute and is used for indicating the state of each current object.
In specific implementation, if the format of the trigger condition is the above-mentioned character string that can be interpreted, the placeholder is replaced with the executable script variable when the trigger condition is parsed. Taking the triggering conditions as follows: for example, the first UE is located in the first cell and the second UE is located in the second cell, the trigger condition is analyzed to obtain an executable logic expression: ue1.location. cellid ═ 1and ue2.location. cellid ═ 2, from which the identification information of the object, the state attribute, are extracted and filled into the created state parameter list, as shown in table 1 below:
TABLE 1
Identification information of an object State attributes State attribute value
UE1 Location cellId
UE2 Location cellId
In step S304, an object state parameter list is initialized.
When an object state parameter list is constructed, the state attribute value of the state of each current object is obtained and written into the object state parameter list, so that the initialization operation of the object state parameter list is realized. For example, in the example where the trigger condition is that the first UE is located in the first cell and the second UE is located in the second cell, assuming that the current first UE is located in the first cell and the current second UE is located in the first cell when the object state parameter list is created, the initialized object parameter list is obtained in table 2 as follows:
TABLE 2
Identification information of an object State attributes State attribute value
UE1 Location cellId=1
UE2 Location cellId=1
Step S305, obtaining the current state attribute value of each object in real time to update the object state parameter list.
Step S306, according to the object state parameter list, judging whether the triggering condition is satisfied, if yes, executing step S307, if not, jumping to step S308: no treatment is performed.
In specific implementation, whether the logical relationship information among the current N objects is satisfied can be judged according to the state attribute value of the state of each current object in the object state parameter list.
For example, in the example where the above trigger condition is that the first UE is located in the first cell and the second UE is located in the second cell, assuming that the update simultaneously acquires that the current first UE is located in the first cell and the current second UE is located in the second cell, the following table 3 shows:
TABLE 3
Identification information of an object State attributes State attribute value
UE1 Location cellId=1
UE2 Location cellId=2
It may be determined that the logical relationship information between the current N objects, i.e., the logical and relationship, is satisfied.
Step S307, a first notification message for indicating the occurrence of the target event is sent to the AF.
Step S309, sending a second notification message indicating that subscription to the target event failed to the AF.
In the method provided by the embodiment of the present invention, the AF carries the trigger condition that the target event needs to meet in the subscription request message, the trigger condition may be described in a syntax format based on an interpreted script language, and may be combined to form a complex trigger condition, and may use the object defined in the corresponding language to represent each object of the event subscription, and dynamically add the attribute of the object according to the characteristics of the implementation language. The NEF network element can effectively filter the event, reduce the message quantity of the event notification AF, reduce the consumption of the processing resource of the capability open interface and improve the bandwidth utilization rate.
In response to the above event subscription method, referring to fig. 4, an embodiment of the present invention provides an event subscription apparatus 400, which is disposed in a network element of a network capability openness function NEF, and includes:
the receiving module 401 is configured to receive a subscription request message for a target event sent by an application function AF, where the subscription request message is used to indicate a trigger condition that needs to be met when the target event occurs, and the trigger condition includes logical relationship information between condition information that needs to be met by each of N objects targeted by the target event and the condition information of the N objects, where N is a positive integer greater than 1.
A condition filtering module 402, configured to send a first notification message indicating that a target event occurs to the AF when it is determined that the trigger condition is satisfied.
In the embodiment of the invention, a network capability openness function NEF network element receives a subscription request message for a target event sent by an application function AF, learns a trigger condition required to be met by the occurrence of the target event, wherein the trigger condition comprises condition information required to be met by each object in N objects targeted by the target event and logic relation information between the condition information of the N objects, and then sends a first notification message for indicating the occurrence of the target event to the AF when the trigger condition is determined to be met.
In an optional implementation manner, the condition information that the first object needs to satisfy includes identification information of the first object, a state attribute used for characterizing a state of the first object, and a first condition parameter that the state attribute of the first object needs to satisfy, where the first object is any one of the N objects;
the conditional filtering module 402 is specifically configured to:
acquiring a state attribute value used for indicating the state of the current first object according to the state attribute of the first object;
when the state attribute value of the first object matches the first condition parameter, it is determined that the condition indicated by the condition information of the first object is satisfied.
In an optional implementation manner, when the condition filtering module 402 obtains the state attribute value of the current first object according to the state attribute of the first object, it is specifically configured to:
and when the identification information of the first object, the state attribute of the first object and the first condition parameter are obtained by analyzing from the subscription request message, obtaining the current state attribute value of the first object according to the state attribute of the first object.
In an alternative embodiment, the condition filtering module 402 is further configured to:
and when any item of the identification information of the first object, the state attribute of the first object and the first condition parameter is not resolved from the subscription request message, sending a second notification message for indicating that the subscription to the target event fails to the AF.
Further, for convenience of understanding, referring to fig. 5, an embodiment of the present invention provides an interactive schematic diagram of an NEF network element and an AF, where in fig. 5, it is illustrated that in a 5G core network, when an AF subscribes an event to the NEF network element, a trigger condition that the event needs to satisfy is sent to the NEF network element, the NEF network element sends the trigger condition to a condition filtering module 402 that is set therein, the condition filtering module 402 subscribes the event in the 5G core network according to the trigger condition, obtains a state attribute value corresponding to a state attribute of an object targeted by the event in real time, and determines whether the trigger condition is satisfied; if not, only recording the state attribute value of the event related object, and not sending an event notification (namely, the first notification message) to the AF; if so, an event notification is sent to the AF.
In addition, fig. 5 also illustrates events related to capability openness managed by some network elements providing network function services in a 5G core network architecture, and as shown in fig. 5, the network elements providing network function services include: AMF, PCF, UDM, NRF, SMF, NSSF, UE, AN, UPF, DN, NEF interacts with the corresponding network element providing network function service through the corresponding SBI interface, for example, NEF interacts with AMF through Namf interface; the aforementioned network element parts providing network function services interact with each other through related channels, for example, the AN interacts with the UPF through the N3 channel. In specific implementation, the AF subscribes, to NEF network elements, the capabilities managed by these network elements to open related events.
In the embodiment of the present invention, the condition filtering module 502 is set in the NF network element, and after receiving the event that is sent by the AF and needs to satisfy the trigger condition, the condition filtering module 502 performs filtering processing without affecting other service flows of the NEF network element.
Corresponding to the above method, referring to fig. 6, an embodiment of the present invention provides an event subscription device 600, which is applied to a NEF network element, and includes:
a communication interface 601, a memory 602, and a processor 603;
the processor 603 communicates with other devices through the communication interface 601, for example, the other devices may be the aforementioned AFs. Among other things, communication interface 601 may provide a solution to the capability openness interface.
The processor 603 may send a first notification message/a second notification message, etc. to the AF through the communication interface 601; a memory 602 for storing program instructions; the processor 603 is configured to call the program instructions stored in the memory 602, and execute the method in the foregoing embodiment according to the obtained program.
In the embodiments of the present application, the processor may be a general-purpose processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, or a discrete hardware component, and may implement or execute the methods, steps, and logic blocks disclosed in the embodiments of the present application. A general purpose processor may be a microprocessor or any conventional processor or the like. The steps of a method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware processor, or may be implemented by a combination of hardware and software modules in a processor.
In this embodiment, the memory is used for storing program instructions, and the memory may be a nonvolatile memory, such as a Hard Disk Drive (HDD) or a solid-state drive (SSD), and may also be a volatile memory, such as a random-access memory (RAM). The memory can also be, but is not limited to, any other medium that can be used to carry or store desired program code in the form of instructions or data structures and that can be accessed by a computer. The memory in the embodiments of the present application may also be circuitry or any other device capable of performing a storage function for storing program instructions and/or data. In the embodiment of the present application, the specific connection medium among the communication interface, the memory, and the processor is not limited, for example, the bus may be divided into an address bus, a data bus, a control bus, and the like.
Further, an embodiment of the present invention provides a computer-readable storage medium storing computer instructions, which, when executed on a computer, cause the computer to perform the above-mentioned method.
As will be appreciated by one skilled in the art, embodiments of the present invention may be provided as a method, system, or computer program product. Accordingly, the present invention may take the form of an entirely hardware embodiment, an entirely software embodiment or an embodiment combining software and hardware aspects. Furthermore, the present invention may take the form of a computer program product embodied on one or more computer-usable storage media (including, but not limited to, disk storage, CD-ROM, optical storage, and the like) having computer-usable program code embodied therein.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems), and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flow diagrams and/or block diagrams, and combinations of flows and/or blocks in the flow diagrams and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. Therefore, it is intended that the appended claims be interpreted as including preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made in the present invention without departing from the scope of the invention. Thus, if such modifications and variations of the present invention fall within the scope of the claims of the present invention and their equivalents, the present invention is also intended to include such modifications and variations.

Claims (10)

1. An event subscription method, comprising:
a network capability openness function (NEF) network element receives a subscription request message for a target event, which is sent by an Application Function (AF), wherein the subscription request message is used for indicating a trigger condition which needs to be met when the target event occurs, the trigger condition includes condition information which needs to be met by each object in N objects which are aimed at by the target event and logic relationship information between the condition information of the N objects, and N is a positive integer greater than 1;
and when the NEF network element determines that the trigger condition is met, sending a first notification message for indicating the occurrence of the target event to the AF.
2. The method according to claim 1, wherein the condition information that the first object needs to satisfy includes identification information of the first object, a state attribute for characterizing a state of the first object, and a first condition parameter that the state attribute of the first object needs to satisfy, the first object being any one of the N objects;
the step of determining, by the NEF network element, that the trigger condition is satisfied includes:
the NEF network element acquires a state attribute value used for indicating the state of the first object according to the state attribute of the first object;
when the state attribute value of the first object matches the first condition parameter, the NEF network element determines that a condition indicated by the condition information of the first object is satisfied.
3. The method of claim 2, wherein the NEF network element obtaining the current state attribute value of the first object according to the state attribute of the first object comprises:
and when the NEF network element obtains the identification information of the first object, the state attribute of the first object and the first condition parameter by analyzing from the subscription request message, the NEF network element obtains the current state attribute value of the first object according to the state attribute of the first object.
4. The method of claim 3, further comprising:
and when the NEF network element does not resolve any item of the identification information of the first object, the state attribute of the first object and the first condition parameter from the subscription request message, sending a second notification message for indicating that the subscription to the target event fails to the AF.
5. An event subscription apparatus, configured to a network capability openness function NEF network element, includes:
a receiving module, configured to receive a subscription request message for a target event sent by an application function AF, where the subscription request message is used to indicate a trigger condition that needs to be met when the target event occurs, where the trigger condition includes logical relationship information between condition information that needs to be met for each of N objects to which the target event is directed and the condition information of the N objects, and N is a positive integer greater than 1;
and the condition filtering module is used for sending a first notification message for indicating the occurrence of the target event to the AF when the trigger condition is determined to be met.
6. The apparatus of claim 5, wherein the condition information that the first object needs to satisfy includes identification information of the first object, a state attribute for characterizing a state of the first object, and a first condition parameter that the state attribute of the first object needs to satisfy, the first object being any one of the N objects;
the conditional filtering module is specifically configured to:
acquiring a state attribute value for indicating the state of the first object according to the state attribute of the first object;
when the state attribute value of the first object matches the first condition parameter, determining that a condition indicated by the condition information of the first object is satisfied.
7. The apparatus of claim 6, wherein the condition filtering module, when obtaining the current state attribute value of the first object according to the state attribute of the first object, is specifically configured to:
and when the identification information of the first object, the state attribute of the first object and the first condition parameter are obtained by analyzing from the subscription request message, obtaining the current state attribute value of the first object according to the state attribute of the first object.
8. The apparatus of claim 7, wherein the conditional filtering module is further configured to:
and when any one of the identification information of the first object, the state attribute of the first object and the first condition parameter is not resolved from the subscription request message, sending a second notification message for indicating that the subscription to the target event fails to the AF.
9. An event subscription device, comprising:
a memory and a processor;
a memory for storing program instructions;
a processor for calling the program instructions stored in the memory and executing the method of any one of claims 1 to 4 according to the obtained program.
10. A computer readable storage medium having stored thereon computer instructions which, when run on a computer, cause the computer to perform the method of any of claims 1-4.
CN201910619623.XA 2019-07-10 2019-07-10 Event subscription method, device and equipment Pending CN112218272A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201910619623.XA CN112218272A (en) 2019-07-10 2019-07-10 Event subscription method, device and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201910619623.XA CN112218272A (en) 2019-07-10 2019-07-10 Event subscription method, device and equipment

Publications (1)

Publication Number Publication Date
CN112218272A true CN112218272A (en) 2021-01-12

Family

ID=74048055

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910619623.XA Pending CN112218272A (en) 2019-07-10 2019-07-10 Event subscription method, device and equipment

Country Status (1)

Country Link
CN (1) CN112218272A (en)

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114845276A (en) * 2022-04-19 2022-08-02 广州爱浦路网络技术有限公司 Method and platform for realizing network capability opening
WO2022166718A1 (en) * 2021-02-04 2022-08-11 大唐移动通信设备有限公司 Information processing method and apparatus, and processor-readable storage medium
CN115550849A (en) * 2022-10-08 2022-12-30 广州爱浦路网络技术有限公司 Terminal device selection method, device, network device and storage medium
CN115914220A (en) * 2022-09-27 2023-04-04 国网山西省电力公司 Edge computing equipment control method and device and storage medium
WO2023066164A1 (en) * 2021-10-20 2023-04-27 华为技术有限公司 Event opening method and device
WO2023143419A1 (en) * 2022-01-27 2023-08-03 维沃移动通信有限公司 Information transmission method and apparatus, and network function
WO2023213323A1 (en) * 2022-05-06 2023-11-09 中国移动通信有限公司研究院 Information opening method and apparatus, and related device and storage medium
WO2024008157A1 (en) * 2022-07-06 2024-01-11 中国电信股份有限公司 Information transmission method and apparatus, network device, and communication system
WO2024026689A1 (en) * 2022-08-02 2024-02-08 北京小米移动软件有限公司 Method and apparatus for providing wireless sensing service, and electronic device and storage medium

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878206A (en) * 2006-07-07 2006-12-13 华为技术有限公司 Event subscription method and system
EP3264727A1 (en) * 2016-07-01 2018-01-03 Nokia Solutions and Networks Oy Database, network entity and method for the support of user location change reporting
CN107566171A (en) * 2017-08-28 2018-01-09 东南大学 A kind of publish/subscribe distributed system is layered location of mistake method
CN107968805A (en) * 2016-10-20 2018-04-27 华为技术有限公司 A kind of event notification method and server
EP3328114A1 (en) * 2015-07-24 2018-05-30 Nec Corporation Service capability exposure function entity, home subscriber server, message transmission method, and non-temporary computer readable medium
CN109089255A (en) * 2017-06-14 2018-12-25 中国移动通信有限公司研究院 User location notification control method, device, system, equipment and storage medium
CN109891962A (en) * 2017-06-15 2019-06-14 Lg电子株式会社 Method and the network equipment for respond request
CN109952741A (en) * 2016-10-05 2019-06-28 康维达无线有限责任公司 The ability exposure of service instantiation
CN109996216A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Subscribe to request processing method, network entity and ability open platform

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN1878206A (en) * 2006-07-07 2006-12-13 华为技术有限公司 Event subscription method and system
EP3328114A1 (en) * 2015-07-24 2018-05-30 Nec Corporation Service capability exposure function entity, home subscriber server, message transmission method, and non-temporary computer readable medium
EP3264727A1 (en) * 2016-07-01 2018-01-03 Nokia Solutions and Networks Oy Database, network entity and method for the support of user location change reporting
CN109952741A (en) * 2016-10-05 2019-06-28 康维达无线有限责任公司 The ability exposure of service instantiation
CN107968805A (en) * 2016-10-20 2018-04-27 华为技术有限公司 A kind of event notification method and server
CN109089255A (en) * 2017-06-14 2018-12-25 中国移动通信有限公司研究院 User location notification control method, device, system, equipment and storage medium
CN109891962A (en) * 2017-06-15 2019-06-14 Lg电子株式会社 Method and the network equipment for respond request
CN107566171A (en) * 2017-08-28 2018-01-09 东南大学 A kind of publish/subscribe distributed system is layered location of mistake method
CN109996216A (en) * 2018-01-02 2019-07-09 中国移动通信有限公司研究院 Subscribe to request processing method, network entity and ability open platform

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP工作组: "Technical Report;3rd Generation Partnership Project;Technical Specification Group Services and System Aspects;Release 15 Description;Summary of Rel-15 Work Items(Release 15)", 《3GPP TR AB.CDE SP-181230》 *
SAMSUNG: "5G LAN Group Communication and Management", 《3GPP TSG SA WG2 MEETING #129 S2-181016》 *

Cited By (14)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2022166718A1 (en) * 2021-02-04 2022-08-11 大唐移动通信设备有限公司 Information processing method and apparatus, and processor-readable storage medium
CN114938496A (en) * 2021-02-04 2022-08-23 大唐移动通信设备有限公司 Information processing method and device and processor readable storage medium
US11910206B1 (en) 2021-02-04 2024-02-20 Datang Mobile Communications Equipment Co., Ltd. Information processing method, device and processor-readable storage medium
CN114938496B (en) * 2021-02-04 2023-03-31 大唐移动通信设备有限公司 Information processing method and device and processor readable storage medium
WO2023066164A1 (en) * 2021-10-20 2023-04-27 华为技术有限公司 Event opening method and device
WO2023143419A1 (en) * 2022-01-27 2023-08-03 维沃移动通信有限公司 Information transmission method and apparatus, and network function
CN114845276B (en) * 2022-04-19 2023-06-06 广州爱浦路网络技术有限公司 Method and platform for realizing network capability opening
CN114845276A (en) * 2022-04-19 2022-08-02 广州爱浦路网络技术有限公司 Method and platform for realizing network capability opening
WO2023213323A1 (en) * 2022-05-06 2023-11-09 中国移动通信有限公司研究院 Information opening method and apparatus, and related device and storage medium
WO2024008157A1 (en) * 2022-07-06 2024-01-11 中国电信股份有限公司 Information transmission method and apparatus, network device, and communication system
WO2024026689A1 (en) * 2022-08-02 2024-02-08 北京小米移动软件有限公司 Method and apparatus for providing wireless sensing service, and electronic device and storage medium
CN115914220A (en) * 2022-09-27 2023-04-04 国网山西省电力公司 Edge computing equipment control method and device and storage medium
CN115550849B (en) * 2022-10-08 2023-06-06 广州爱浦路网络技术有限公司 Terminal equipment selection method, device, network equipment and storage medium
CN115550849A (en) * 2022-10-08 2022-12-30 广州爱浦路网络技术有限公司 Terminal device selection method, device, network device and storage medium

Similar Documents

Publication Publication Date Title
CN112218272A (en) Event subscription method, device and equipment
US11438860B2 (en) Event subscription method, apparatus, and system
WO2021155579A1 (en) Data analysis method, apparatus and system
KR102426639B1 (en) Request processing method and corresponding entity
US20220408293A1 (en) Method and device for providing network analysis information for rfsp index selection in mobile communication network
KR20120043159A (en) Method and apparatus for dynamically pushing content over wireless networks
US20120317269A1 (en) Intelligent network management of network-related events
CN111405635B (en) Method, device and equipment for realizing capability opening and computer readable storage medium
WO2020145030A1 (en) Core network node and method
US20210176366A1 (en) Methods, apparatus and computer-readable mediums supporting subscriptions to events in a core network
US20230283492A1 (en) Traffic charging method, network device and storage medium
US20230396484A1 (en) Method, apparatus and computer program
CN114554550A (en) Communication method and device for 5G access network and edge cloud gateway
US11005959B1 (en) Systems and methods for asynchronous publish-subscribe messaging and acknowledgments
US11784837B2 (en) Methods, policy node and charging node for enabling spending limit control
WO2018228674A1 (en) Method for using context awareness for the coordination of management and mobile network service operation planes
US9204279B2 (en) System and method for charging future state status notifications
US20120315893A1 (en) Intelligent network management of subscriber-related events
US20240049032A1 (en) Analytics perfromance management
EP3949271A1 (en) Procedures for packet flow description management
WO2023179558A1 (en) Data collection method and communication device
EP4319082A1 (en) Method, apparatus and computer program
US20230065199A1 (en) Method, apparatus and computer program
RU2772710C2 (en) Method for processing request and corresponding object
EP4333488A1 (en) Methods and apparatuses for enhancing end-user experience of a subscriber moving from a home network to a visited network

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
RJ01 Rejection of invention patent application after publication

Application publication date: 20210112

RJ01 Rejection of invention patent application after publication