Event monitoring method and device, electronic equipment and storage medium
By monitoring the network switching of user equipment and resend event information, the problem of lack of subscription information on the AMF side is solved, and the accuracy of event information and the stability of monitoring functions are improved.
Patent Information
- Application Number
- CN202310762149.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2023-06-26
- Publication Date
- 2025-01-03
AI Technical Summary
In the 45G network switching scenario, when the UE switches from 4G to 5G, the AMF side may lack or incorrect subscription information, resulting in inaccurate event information and need to be resynchronized.
By monitoring whether the user equipment is connected to the 5G network and triggering a subscription request when the target network is switched, the registration information is used to determine the network switching situation and resend event information to improve the accuracy of event information.
It improves the accuracy of event information sending when user equipment switches from 4G network to 5G network scenarios, ensuring that the event monitoring function is not affected during network switching.
Smart Images

Figure CN119255309A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of computer technology, and in particular to an event monitoring method, device, electronic device, and storage medium. Background Art
[0002] Currently, in the 4G to 5G network handover scenario, when the UE (User Equipment) switches from 4G to 5G, in some cases, the AMF (Access and Mobility Management Function) side does not have subscription information or the subscription information is inaccurate, and the subscription information needs to be resynchronized to the AMF. For example, when a user switches from 4G to 5G for the first time, or when a user switches from 5G to 4G and the AMF clears the local subscription record, the AMF side may not have the time information corresponding to the subscription request.
[0003] It can be seen that how to improve the accuracy of event information sent by user devices is a technical issue worthy of attention. Summary of the Invention
[0004] In view of this, in order to solve some or all of the above technical problems, the embodiments of the present application provide an event monitoring method, device, electronic device and storage medium.
[0005] In a first aspect, an embodiment of the present application provides an event monitoring method, the method comprising:
[0006] Determine whether the user device is connected to the 5G network;
[0007] When it is determined that the user equipment accesses the 5G network, triggering a first subscription request, wherein the first subscription request carries a network switching monitoring event;
[0008] Determining whether the user equipment performs a target network handover, wherein the target network handover indicates that the user equipment switches from a 4G network to the 5G network;
[0009] In a case where the user equipment performs the target network handover, a second subscription request is triggered, and event information corresponding to the second subscription request is sent to the user equipment.
[0010] In a possible implementation, before determining whether the user equipment performs target network handover, the method further includes:
[0011] determining registration information of the user equipment; and
[0012] The determining whether the user equipment performs target network switching includes:
[0013] Based on the registration information, it is determined whether the user equipment performs a target network handover.
[0014] In one possible implementation, determining the registration information of the user equipment includes:
[0015] receiving a location update request from the user equipment;
[0016] Saving the 4G registration information corresponding to the location update request;
[0017] receiving a 5G registration request from the user equipment;
[0018] Saving the 5G registration information corresponding to the 5G registration request; and
[0019] The determining, based on the registration information, whether the user equipment performs target network switching includes:
[0020] Based on the 4G registration information and the 5G registration information, it is determined whether the user equipment performs a target network handover.
[0021] In one possible implementation, the determining, based on the 4G registration information and the 5G registration information, whether the user equipment performs target network switching includes:
[0022] determining whether the first saving time is before the second saving time, and obtaining discrimination information, wherein the first saving time is the saving time of the 4G registration information, and the second saving time is the saving time of the 5G registration information;
[0023] In a case where the determination information indicates that the first saving time is before the second saving time, it is determined that the user equipment performs target network switching.
[0024] In a possible implementation, the 4G registration information and the 5G registration information are stored by a first network element; and
[0025] In the case where the user equipment performs the target network handover, the method further includes:
[0026] Control the first network element to send a notification message to the second network element, wherein the notification message carries information indicating that the user equipment is switched from a 4G network to a 5G network;
[0027] Control the second network element to return a success response message to the first network element for the notification message.
[0028] In one possible implementation, triggering the second subscription request includes:
[0029] Controlling the second network element to trigger a second subscription request, wherein the second subscription request carries an event monitored in the 4G network;
[0030] Controlling the second network element to send a second subscription request to the first network element;
[0031] After the first network element forwards the second subscription request to the third network element, a success response message returned by the third network element in response to the second subscription request is received.
[0032] In a possible implementation, the sending event information corresponding to the second subscription request to the user equipment includes:
[0033] controlling the third network element to detect event information corresponding to the second subscription request;
[0034] storing the event information in the third network element;
[0035] Controlling the third network element to detect an event, and sending the event notification information to the user equipment.
[0036] In a second aspect, an embodiment of the present application provides an event monitoring device, the device comprising:
[0037] A first determining unit, configured to determine whether the user equipment is connected to a 5G network;
[0038] A first triggering unit is configured to trigger a first subscription request when it is determined that the user equipment accesses the 5G network, wherein the first subscription request carries a network switching monitoring event;
[0039] A second determining unit is configured to determine whether the user equipment performs a target network handover, wherein the target network handover indicates that the user equipment switches from a 4G network to the 5G network;
[0040] The second triggering unit is configured to trigger a second subscription request when the user equipment switches the target network, and send event information corresponding to the second subscription request to the user equipment.
[0041] In a possible implementation, before determining whether the user equipment performs target network handover, the apparatus further includes:
[0042] A third determining unit is configured to determine the registration information of the user equipment; and
[0043] The determining whether the user equipment performs target network switching includes:
[0044] Based on the registration information, it is determined whether the user equipment performs a target network handover.
[0045] In one possible implementation, determining the registration information of the user equipment includes:
[0046] receiving a location update request from the user equipment;
[0047] Saving the 4G registration information corresponding to the location update request;
[0048] receiving a 5G registration request from the user equipment;
[0049] Saving the 5G registration information corresponding to the 5G registration request; and
[0050] The determining, based on the registration information, whether the user equipment performs target network switching includes:
[0051] Based on the 4G registration information and the 5G registration information, it is determined whether the user equipment performs a target network handover.
[0052] In one possible implementation, the determining, based on the 4G registration information and the 5G registration information, whether the user equipment performs target network switching includes:
[0053] determining whether the first saving time is before the second saving time, and obtaining discrimination information, wherein the first saving time is the saving time of the 4G registration information, and the second saving time is the saving time of the 5G registration information;
[0054] In a case where the determination information indicates that the first saving time is before the second saving time, it is determined that the user equipment performs target network switching.
[0055] In a possible implementation, the 4G registration information and the 5G registration information are stored by a first network element; and
[0056] In a case where the user equipment performs the target network handover, the apparatus further includes:
[0057] A first control unit is configured to control the first network element to send a notification message to the second network element, wherein the notification message carries information indicating that the user equipment is switched from a 4G network to a 5G network;
[0058] The second control unit is configured to control the second network element to return a success response message to the first network element for the notification message.
[0059] In one possible implementation, triggering the second subscription request includes:
[0060] Controlling the second network element to trigger a second subscription request, wherein the second subscription request carries an event monitored in the 4G network;
[0061] Controlling the second network element to send a second subscription request to the first network element;
[0062] After the first network element forwards the second subscription request to the third network element, a success response message returned by the third network element in response to the second subscription request is received.
[0063] In a possible implementation, the sending event information corresponding to the second subscription request to the user equipment includes:
[0064] controlling the third network element to detect event information corresponding to the second subscription request;
[0065] storing the event information in the third network element;
[0066] Controlling the third network element to detect an event, and sending the event notification information to the user equipment.
[0067] In a third aspect, an embodiment of the present application provides an electronic device, including:
[0068] memory for storing computer programs;
[0069] The processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method of any embodiment of the event monitoring method of the first aspect of the present application is implemented.
[0070] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon. When the computer program is executed by a processor, the method of any embodiment of the event monitoring method of the first aspect described above is implemented.
[0071] In a fifth aspect, an embodiment of the present application provides a computer program, which includes a computer-readable code. When the computer-readable code runs on a device, the processor in the device implements a method as in any embodiment of the event monitoring method of the first aspect mentioned above.
[0072] The event monitoring method provided in the embodiment of the present application can determine whether the user device is connected to the 5G network, and then, when it is determined that the user device is connected to the 5G network, trigger a first subscription request, wherein the first subscription request carries a network switching monitoring event, and then determine whether the user device performs a target network switch, wherein the target network switch indicates that the user device switches from the 4G network to the 5G network, and then, when the user device performs the target network switch, trigger a second subscription request, and send event information corresponding to the second subscription request to the user device. Thus, when the user device is connected to the 5G network, the network switching event can be monitored, and then, if it is monitored that the user device switches from the 4G network to the 5G network, the subscription request is re-triggered through the 5G network, and then the event information corresponding to the re-triggered subscription request can be sent to the user device. In this way, the accuracy of sending event information to the user device in the scenario where the user device switches from the 4G network to the 5G network can be improved. BRIEF DESCRIPTION OF THE DRAWINGS
[0073] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the invention and, together with the description, serve to explain the principles of the invention.
[0074] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following briefly introduces the drawings required for use in the embodiments or the description of the prior art. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0075] One or more embodiments are exemplarily illustrated by pictures in the corresponding drawings. These exemplifications do not constitute limitations on the embodiments. Elements with the same reference numerals in the drawings are represented as similar elements. Unless otherwise stated, the figures in the drawings do not constitute proportional limitations.
[0076] Figure 1 A flowchart of an event monitoring method provided in an embodiment of the present application;
[0077] Figure 2 A flowchart of another event monitoring method provided in an embodiment of the present application;
[0078] Figure 3A A structural block diagram of an event monitoring method provided in an embodiment of the present application;
[0079] Figure 3B A schematic diagram of network element interactions involved in an event monitoring method provided in an embodiment of the present application;
[0080] Figure 4A schematic diagram of the structure of an event monitoring device provided in an embodiment of the present application;
[0081] Figure 5 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0082] Various exemplary embodiments of the present application will now be described in detail with reference to the accompanying drawings. It is apparent that the described embodiments are only a portion of the embodiments of the present application, rather than all of the embodiments. It should be noted that, unless otherwise specifically stated, the relative arrangement of components and steps, numerical expressions, and numerical values described in these embodiments do not limit the scope of the present application.
[0083] Those skilled in the art will understand that the terms "first" and "second" in the embodiments of the present application are only used to distinguish between different steps, devices, modules and other objects, and neither represent any specific technical meaning nor indicate the logical order between them.
[0084] It should also be understood that in this embodiment, “a plurality of” may refer to two or more than two, and “at least one” may refer to one, two or more than two.
[0085] It should also be understood that any component, data or structure mentioned in the embodiments of the present application can generally be understood as one or more, unless explicitly limited or otherwise indicated in the context.
[0086] In addition, the term "and / or" in this application is simply a description of the association relationship between related objects, indicating that three relationships can exist. For example, A and / or B can represent three situations: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this application generally indicates that the related objects are in an "or" relationship.
[0087] It should also be understood that the description of each embodiment in this application focuses on the differences between the embodiments, and the same or similar aspects can be referenced with each other. For the sake of brevity, they will not be described one by one.
[0088] The following description of at least one exemplary embodiment is merely illustrative in nature and is in no way intended to limit the present disclosure, its application, or uses.
[0089] Technologies, methods, and equipment known to ordinary technicians in the relevant art may not be discussed in detail, but where appropriate, the above technologies, methods, and equipment should be considered part of the specification.
[0090] It should be noted that like reference numerals and letters refer to like items in the following figures, and therefore, once an item is defined in one figure, it need not be further discussed in subsequent figures.
[0091] It should be noted that, unless there is a conflict, the embodiments and features in the embodiments of this application can be combined with each other. To facilitate understanding of the embodiments of this application, the application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments. Obviously, the embodiments described are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making creative work are within the scope of protection of this application.
[0092] In order to solve the technical problem in the prior art of how to improve the accuracy of event information sent by user equipment, the present application provides an event monitoring method, which can improve the accuracy of event information sent by user equipment.
[0093] Figure 1 A flow chart of an event monitoring method provided in an embodiment of the present application. This method can be applied to one or more electronic devices such as smart phones, laptops, desktop computers, portable computers, servers, etc. In addition, the execution subject of this method can be hardware or software. When the above-mentioned execution subject is hardware, the execution subject can be one or more of the above-mentioned electronic devices. For example, a single electronic device can execute this method, or multiple electronic devices can cooperate with each other to execute this method. When the above-mentioned execution subject is software, this method can be implemented as multiple software or software modules, or as a single software or software module. No specific limitation is made here.
[0094] like Figure 1 As shown, the method specifically includes:
[0095] Step 101: Determine whether the user equipment is connected to the 5G network.
[0096] In this embodiment, the user equipment may be any device capable of connecting to a 4G network and a 5G network.
[0097] Step 102: When it is determined that the user equipment accesses the 5G network, trigger a first subscription request, wherein the first subscription request carries a network switching monitoring event.
[0098] In this embodiment, once the user equipment accesses the 5G network, a first subscription request carrying a network switching (CN type change) monitoring event can be triggered to monitor whether the user equipment has performed a network switch.
[0099] Step 103: Determine whether the user equipment performs target network switching, wherein the target network switching indicates that the user equipment switches from the 4G network to the 5G network.
[0100] In this embodiment, since the subscription request carrying the network switching monitoring event (ie, the first subscription request) is triggered in the above step 102, it can be determined whether the user equipment is switched from the 4G network to the 5G network.
[0101] Step 104: When the user equipment switches to the target network, trigger a second subscription request, and send event information corresponding to the second subscription request to the user equipment.
[0102] In this embodiment, after the user equipment switches from the 4G network to the 5G network, the second subscription request may be retriggered. Thereafter, if event information corresponding to the second subscription request is detected, the event information corresponding to the second subscription request may be sent to the user equipment.
[0103] In addition, the above steps 101 to 104 can be performed by one or more network elements in the 5G core network. In this embodiment, the specific network element performing the above steps 101 to 104 is not limited. In practice, the network element performing the above steps can be determined according to specific needs.
[0104] In some optional implementations of this embodiment, the event information corresponding to the second subscription request may be sent to the user equipment in the following manner:
[0105] The first step is to control the third network element to detect event information corresponding to the second subscription request.
[0106] The third network element may include an AMF (Access and Mobility Management Function). As an example, the third network element may be responsible for detecting and reporting some events.
[0107] In addition, the above-mentioned third network element can support UEs with different mobility management requirements. The AMF network element can perform the following main tasks: non-access stratum (NAS) signaling termination, NAS signaling security, access stratum security control, core network inter-node signaling for mobility between 3GPP access networks, idle mode UE reachability (including control and execution of paging retransmissions), registration area management, support for intra-system and inter-system mobility, access authentication, access authorization, etc.
[0108] The second step is to save the event information in the third network element.
[0109] The third step is to control the third network element to detect an event (ie, event information corresponding to the second subscription request), and to send the event notification information to the user equipment.
[0110] It is understood that in the above optional implementation, the third network element can be responsible for detecting the event information corresponding to the second subscription request and saving the corresponding event information. After receiving the UDM (Unified Data Management) subscription request, the third network element can save the subscription information and send the event notification information to the user equipment. This improves the accuracy of sending the event information corresponding to the second subscription request to the user equipment.
[0111] The event monitoring method provided in the embodiment of the present application can determine whether the user device is connected to the 5G network, and then, when it is determined that the user device is connected to the 5G network, trigger a first subscription request, wherein the first subscription request carries a network switching monitoring event, and then determine whether the user device performs a target network switch, wherein the target network switch indicates that the user device switches from the 4G network to the 5G network, and then, when the user device performs the target network switch, trigger a second subscription request, and send event information corresponding to the second subscription request to the user device. Thus, when the user device is connected to the 5G network, the network switching event can be monitored, and then, if it is monitored that the user device switches from the 4G network to the 5G network, the subscription request is re-triggered through the 5G network, and then the event information corresponding to the re-triggered subscription request can be sent to the user device. In this way, the accuracy of sending event information to the user device in the scenario where the user device switches from the 4G network to the 5G network can be improved.
[0112] Figure 2 A flowchart of another event monitoring method provided in an embodiment of the present application.
[0113] like Figure 2 As shown, the method specifically includes:
[0114] Step 201: Determine whether the user equipment is connected to the 5G network.
[0115] In this embodiment, step 201 and Figure 1 Step 101 in the corresponding embodiment is basically the same and will not be described again here.
[0116] Step 202: When it is determined that the user equipment accesses the 5G network, trigger a first subscription request, wherein the first subscription request carries a network switching monitoring event.
[0117] In this embodiment, step 202 and Figure 1 Step 102 in the corresponding embodiment is basically the same and will not be described again here.
[0118] Step 203: Determine the registration information of the user equipment.
[0119] In this embodiment, the registration information may include location information of the user equipment.
[0120] Step 204: Based on the registration information, determine whether the user equipment performs a target network switch, wherein the target network switch indicates that the user equipment switches from the 4G network to the 5G network.
[0121] In this embodiment, the location information of the user device included in the registration information can be used to determine whether the network connected to the user device has switched from a 4G network to a 5G network, thereby determining whether the user device has switched from a 4G network to the 5G network.
[0122] Step 205: When the user equipment switches to the target network, trigger a second subscription request, and send event information corresponding to the second subscription request to the user equipment.
[0123] In this embodiment, step 205 and Figure 1 Step 104 in the corresponding embodiment is basically the same and will not be described again here.
[0124] In some optional implementations of this embodiment, the following method may be used to determine the registration information of the user equipment:
[0125] The first step is to receive a location update request from the user equipment.
[0126] The second step is to save the 4G registration information corresponding to the location update request.
[0127] The third step is to receive a 5G registration request from the user equipment.
[0128] The fourth step is to save the 5G registration information corresponding to the 5G registration request.
[0129] On this basis, the following method can be used to determine whether the user equipment performs target network switching based on the registration information:
[0130] Based on the 4G registration information and the 5G registration information, it is determined whether the user equipment performs a target network handover.
[0131] It can be understood that in the above optional implementation method, the UE can initiate an Update_Location_Request request (also known as a location update request) to the HSS (Home Subscriber Server) + UDM through the MME (Mobility Management Entity). After that, the HSS + UDM returns a success response message to the MME and saves the 4G registration information. Subsequently, the AMF can trigger a registration request to the HSS + UDM through the Nudm_UEContextManagement_Registration interface. The HSS + UDM returns a success response message to the AMF and saves the 5G registration information. Finally, the HSS + UDM determines whether the UE switches from 4G to 5G based on the locally saved registration information status. In this way, it is possible to determine whether the user equipment is switched from the 4G network to the 5G network based on the 4G registration information and the 5G registration information, thereby improving the accuracy of determining whether the user equipment is switched from the 4G network to the 5G network.
[0132] In some application scenarios of the above optional implementation manner, the following manner may be adopted to determine whether the user equipment performs target network handover based on the 4G registration information and the 5G registration information:
[0133] First, it is determined whether the first saving time is before the second saving time to obtain judgment information.
[0134] The first saving time is the saving time of the 4G registration information, and the second saving time is the saving time of the 5G registration information. Furthermore, there is no saving time of other registration information (including 4G registration information and 5G registration information) between the first saving time and the second saving time.
[0135] The determination information indicates whether the first save time is before the second save time.
[0136] Afterwards, when the determination information indicates that the first saving time is before the second saving time, it is determined that the user equipment performs target network switching.
[0137] It can be understood that in the above application scenario, by comparing the saving time of the 4G registration information and the saving time of the 5G registration information, it is determined whether the user equipment is switched from the 4G network to the 5G network, thereby improving the accuracy of judging whether the user equipment is switched from the 4G network to the 5G network.
[0138] In some application scenarios of the above optional implementation manner, the 4G registration information and the 5G registration information are stored by the first network element.
[0139] The first network element may include the HSS and UDM, also known as the converged network element. The UDM is responsible for registration management, forwarding event monitoring subscriptions, and detecting and reporting some subscription events. It corresponds to the HSS functional entity in the EPS (Evolved Packet System) network. The HSS is responsible for registration management and event monitoring in the EPS network.
[0140] On this basis, when the user equipment performs the target network handover, the following steps may also be performed:
[0141] First, the first network element is controlled to send a notification message to the second network element.
[0142] The notification message carries information indicating that the user equipment has switched from a 4G network to a 5G network.
[0143] The second network element may include a Subscriber Data Model (NEF). For example, the second network element may be responsible for providing an open interface and open data to external vendors (e.g., AF), such as terminal status, location, periodic update time, device-card binding status, policy control, and QoS (Quality of Service) capabilities. AF refers to various application layer services.
[0144] Afterwards, the second network element is controlled to return a success response message to the first network element for the notification message.
[0145] It can be understood that in the above application scenario, the first network element (such as UDM) can trigger a notification message to the second network element (such as NEF) through the network element interface (such as Nudm_EventExposure_Notify), which carries a notification message that the UE status is switched from 4G to 5G. In this way, in the form of a notification message, it is more timely to judge whether the user equipment is switched from the 4G network to the 5G network.
[0146] In some cases of the above application scenarios, the second subscription request can be triggered in the following manner:
[0147] First, the second network element is controlled to trigger a second subscription request.
[0148] The second subscription request carries the events monitored in the 4G network.
[0149] The second network element may include a NEF.
[0150] Afterwards, the second network element is controlled to send a second subscription request to the first network element.
[0151] The first network element may include an HSS and a UDM.
[0152] Then, after the first network element forwards the second subscription request to the third network element, a success response message returned by the third network element in response to the second subscription request is received.
[0153] Among them, the third network element may include AMF.
[0154] It can be understood that in the above case, the second network element (such as NEF) can determine that the subscription request (that is, the above-mentioned second subscription request) needs to be re-triggered based on the UE status carried in the notification from the first network element (such as HSS, UDM) that it is switched from 4G to 5G. The second network element obtains all locally stored subscription information and re-triggers the subscription request to the first network element. The first network element determines that the subscription event carried by the second network element can be detected by a third network element. The first network element forwards the subscription request to the third network element and saves the subscription information.
[0155] It should be noted that, in addition to the above contents, this embodiment may also include Figure 1 The corresponding technical features described in the corresponding embodiments are realized Figure 1 For details on the technical effects of the event monitoring method shown, please refer to Figure 1 For the sake of brevity, the relevant description will not be repeated here.
[0156] The event monitoring method provided in the embodiment of the present application determines whether the user device is switched from the 4G network to the 5G network through the registration information of the user device, thereby improving the accuracy of determining whether the user device is switched from the 4G network to the 5G network.
[0157] The following is an illustrative description of the embodiments of the present application, but it should be noted that the embodiments of the present application may have the features described below, but the following description does not constitute a limitation on the scope of protection of the embodiments of the present application.
[0158] Currently, when a UE moves from EPS to 5GS (5G System), the existing solution usually needs to ensure that complete subscription information exists on the UDM side. Scenarios where there is no complete information on the UDM side are not considered. Scenarios where there is no complete subscription information include: the UE switches to the 5GS domain for the first time and the UDM has no subscription information, or the subscription records stored on the UDM side are aged and cleared during the switching process. In addition, the existing solution requires both UDM and AMF to support the new attributes before it can take effect, which makes the implementation complex. For scenarios where only some sites support the new attributes, the problem cannot be solved. In addition, the existing solution requires the UDM side to save complete subscription information (that is, the event information corresponding to the subscription request), and the UDM storage overhead is large. For some subscription information that is maintained through message interaction between AMF and NEF (such as the maximum number of reports (maxNumOfReports information), the UDM cannot perceive the changes. Therefore, if the UDM local data synchronization is used directly, there is a risk of inaccurate event information.
[0159] In practice, with the increasing automation of IoT devices, monitoring of these devices is becoming increasingly common. Operators need to quickly detect device status changes and respond promptly to them to improve the user experience, such as tracking vehicle connection anomalies. IoT devices may experience handovers between 4G and 5G networks during use, ensuring that event monitoring functions are not affected during these handovers.
[0160] To solve the above problems, this method can adopt the following steps:
[0161] In the first step, NEF (Subscriber Data Model, network capability exposure function, also known as the second network element) subscribes to the CN type change event (also known as the network switching monitoring event) from UDM (Unified Data Management, also known as the first network element).
[0162] In the second step, the UDM detects the handover status of the UE (ie the above-mentioned user equipment) and notifies the NEF.
[0163] In the third step, NEF receives the UE status switch to 5G and re-triggers the subscription request (that is, the second subscription request mentioned above) to UDM.
[0164] In the fourth step, UDM receives the subscription request (that is, the second subscription request mentioned above) and forwards it to AMF.
[0165] In the fifth step, AMF (ie, the third network element mentioned above) saves the latest subscription information (ie, the event information mentioned above) and detects corresponding event changes.
[0166] Therefore, this method can ensure the validity of AMF subscription records.
[0167] Specifically, this method can be performed according to the following process:
[0168] Please refer to Figure 3A and Figure 3B . Please refer to Figure 3A , Figure 3A A structural block diagram of an event monitoring method provided in an embodiment of the present application. Figure 3B A schematic diagram of network element interactions involved in an event monitoring method provided in an embodiment of the present application.
[0169] exist Figure 3B 1. The UE initiates an Update_Location_Request request (location update request) to the HSS+UDM (converged network element) through the MME to perform the 4G registration process.
[0170] 2. HSS+UDM returns a success response message to MME and saves the 4G registration information.
[0171] 3. NEF triggers a subscription request to HSS+UDM via the Nudm_EventExposure_Subscribe interface, carrying the monitoring event CN type change. The Nudm_EventExposure_Subscribe interface is used to provide the AMF event subscription function.
[0172] 4. HSS+UDM saves the subscription record for subsequent reporting and notification, and returns a success response to NEF.
[0173] 5. AMF triggers a registration request to HSS+UDM through the Nudm_UEContextManagement_Registration interface to perform the 5G registration process.
[0174] 6. HSS+UDM returns a success response message to AMF and saves the 5G registration information.
[0175] 7. HSS+UDM determines whether the UE switches from 4G to 5G based on the locally saved registration information status. UDM triggers a notification message to NEF through the Nudm_EventExposure_Notify interface, carrying the UE status of switching from 4G to 5G.
[0176] 8. NEF returns a success response message to HSS+UDM.
[0177] 9. NEF determines that the user equipment has switched from 4G to 5G based on the UE status carried in the HSS+UDM notification, and then re-triggers the subscription request. NEF obtains all locally saved subscription information and re-triggers the UDM subscription request (that is, the second subscription request mentioned above).
[0178] 10. UDM determines that NEF carries the subscription event, which is detected by AMF. UDM forwards the subscription request to AMF and saves the subscription information.
[0179] 11. AMF receives the UDM subscription request, saves the subscription information, and returns a subscription success response message to UDM.
[0180] 12. UDM returns a subscription success response message to NEF.
[0181] It should be noted that, in addition to the contents recorded above, this embodiment may also include the technical features described in the above embodiments, thereby achieving the technical effects of the event monitoring method shown above. Please refer to the above description for details. For the sake of brevity, no further details will be given here.
[0182] The event monitoring method provided in the embodiment of the present application performs signaling analysis. When the 45G network is switched, the NEF re-triggers the subscription request after receiving the CN type change notification. In this way, the validity and integrity of the AMF subscription record in the 45G switching scenario can be improved, and the complexity of obtaining the AMF subscription record can be simplified. The accuracy of monitoring events is improved to better meet user needs. In addition, this method is implemented based on the original subscription and notification process, and has no new attribute dependence on UDM and AMF. The subscription data is obtained directly from the NEF, which can ensure the integrity and accuracy of the subscription data.
[0183] Figure 4 This is a schematic diagram of the structure of an event monitoring device provided in an embodiment of the present application. Specifically comprising:
[0184] A first determining unit 401 is configured to determine whether the user equipment is connected to a 5G network;
[0185] A first triggering unit 402 is configured to trigger a first subscription request when it is determined that the user equipment has accessed the 5G network, wherein the first subscription request carries a network switching monitoring event;
[0186] A second determining unit 403 is configured to determine whether the user equipment performs a target network handover, wherein the target network handover indicates that the user equipment switches from the 4G network to the 5G network;
[0187] The second triggering unit 404 is configured to trigger a second subscription request when the user equipment switches to the target network, and send event information corresponding to the second subscription request to the user equipment.
[0188] In a possible implementation, before determining whether the user equipment performs target network handover, the apparatus further includes:
[0189] A third determining unit (not shown in the figure) is configured to determine the registration information of the user equipment; and
[0190] The determining whether the user equipment performs target network switching includes:
[0191] Based on the registration information, it is determined whether the user equipment performs a target network handover.
[0192] In one possible implementation, determining the registration information of the user equipment includes:
[0193] receiving a location update request from the user equipment;
[0194] Saving the 4G registration information corresponding to the location update request;
[0195] receiving a 5G registration request from the user equipment;
[0196] Saving the 5G registration information corresponding to the 5G registration request; and
[0197] The determining, based on the registration information, whether the user equipment performs target network switching includes:
[0198] Based on the 4G registration information and the 5G registration information, it is determined whether the user equipment performs a target network handover.
[0199] In one possible implementation, the determining, based on the 4G registration information and the 5G registration information, whether the user equipment performs target network switching includes:
[0200] determining whether the first saving time is before the second saving time, and obtaining discrimination information, wherein the first saving time is the saving time of the 4G registration information, and the second saving time is the saving time of the 5G registration information;
[0201] In a case where the determination information indicates that the first saving time is before the second saving time, it is determined that the user equipment performs target network switching.
[0202] In a possible implementation, the 4G registration information and the 5G registration information are stored by a first network element; and
[0203] In a case where the user equipment performs the target network handover, the apparatus further includes:
[0204] A first control unit (not shown in the figure) is configured to control the first network element to send a notification message to the second network element, wherein the notification message carries information indicating that the user equipment has switched from a 4G network to a 5G network;
[0205] The second control unit (not shown in the figure) is used to control the second network element to return a success response message to the first network element for the notification message.
[0206] In one possible implementation, triggering the second subscription request includes:
[0207] Controlling the second network element to trigger a second subscription request, wherein the second subscription request carries an event monitored in the 4G network;
[0208] Controlling the second network element to send a second subscription request to the first network element;
[0209] After the first network element forwards the second subscription request to the third network element, a success response message returned by the third network element in response to the second subscription request is received.
[0210] In a possible implementation, the sending event information corresponding to the second subscription request to the user equipment includes:
[0211] controlling the third network element to detect event information corresponding to the second subscription request;
[0212] storing the event information in the third network element;
[0213] Controlling the third network element to detect an event, and sending the event notification information to the user equipment.
[0214] The event monitoring device provided in this embodiment can be as follows Figure 4 The event monitoring device shown in can execute all the steps of the above-mentioned event monitoring methods, thereby achieving the technical effects of the above-mentioned event monitoring methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0215] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 5The electronic device 500 shown includes: at least one processor 501, a memory 502, at least one network interface 504 and another user interface 503. The various components in the electronic device 500 are coupled together via a bus system 505. It is understood that the bus system 505 is used to achieve connection and communication between these components. In addition to including a data bus, the bus system 505 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, the bus system 505 is not shown in FIG. Figure 5 Various buses are labeled as bus system 505.
[0216] The user interface 503 may include a display, a keyboard, or a pointing device (eg, a mouse, a trackball, a touchpad, or a touch screen).
[0217] It is understood that the memory 502 in the embodiment of the present application can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example and not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link DRAM (SLDRAM), and direct RAM bus random access memory (DRRAM). The memory 502 described herein is intended to include, but is not limited to, these and any other suitable types of memory.
[0218] In some embodiments, the memory 502 stores the following elements, executable units, or data structures, or a subset thereof, or an extended set thereof: an operating system 5021 and application programs 5022 .
[0219] Among them, the operating system 5021 includes various system programs, such as the framework layer, core library layer, and driver layer, which are used to implement various basic services and handle hardware-based tasks. The application 5022 includes various application programs, such as a media player (Media Player), a browser (Browser), etc., which are used to implement various application services. The program that implements the method of the embodiment of the present application can be included in the application 5022.
[0220] In this embodiment, by calling a program or instruction stored in the memory 502, specifically, a program or instruction stored in the application 5022, the processor 501 is configured to execute the method steps provided in each method embodiment, for example, including:
[0221] Determine whether the user device is connected to the 5G network;
[0222] When it is determined that the user equipment accesses the 5G network, triggering a first subscription request, wherein the first subscription request carries a network switching monitoring event;
[0223] Determining whether the user equipment performs a target network handover, wherein the target network handover indicates that the user equipment switches from a 4G network to the 5G network;
[0224] In a case where the user equipment performs the target network handover, a second subscription request is triggered, and event information corresponding to the second subscription request is sent to the user equipment.
[0225] The methods disclosed in the above embodiments of the present application can be applied to or implemented by processor 501. Processor 501 may be an integrated circuit chip with signal processing capabilities. During implementation, each step of the above method can be completed by hardware integrated logic circuits in processor 501 or by software instructions. The above processor 501 can be a general-purpose processor, a digital signal processor (DSP), an application-specific integrated circuit (ASIC), a field programmable gate array (FPGA), or other programmable logic devices, discrete gate or transistor logic devices, or discrete hardware components. The methods, steps, and logic block diagrams disclosed in the embodiments of the present application can be implemented or executed. The general-purpose processor can be a microprocessor or any conventional processor. The steps of the methods disclosed in the embodiments of the present application can be directly implemented and executed by a hardware decoding processor, or by a combination of hardware and software units in the decoding processor. The software units can be located in a storage medium mature in the art, such as random access memory, flash memory, read-only memory, programmable read-only memory, electrically erasable programmable memory, registers, etc. The storage medium is located in the memory 502 , and the processor 501 reads the information in the memory 502 and completes the steps of the above method in combination with its hardware.
[0226] It is understood that the embodiments described herein may be implemented using hardware, software, firmware, middleware, microcode, or a combination thereof. For hardware implementation, the processing unit may be implemented in one or more application-specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers, microprocessors, or other electronic units or combinations thereof for performing the above-mentioned functions of the present application.
[0227] For software implementation, the techniques described above can be implemented by a unit that performs the functions described above. The software code can be stored in a memory and executed by a processor. The memory can be implemented in the processor or external to the processor.
[0228] The electronic device provided in this embodiment may be Figure 5 The electronic device shown in can execute all the steps of the above-mentioned event monitoring methods, thereby achieving the technical effects of the above-mentioned event monitoring methods. Please refer to the above related description for details. For the sake of brevity, it will not be repeated here.
[0229] The present application also provides a storage medium (computer-readable storage medium). The storage medium stores one or more programs. The storage medium may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, hard disk, or solid-state drive; and the memory may also include a combination of the aforementioned types of memory.
[0230] When one or more programs in the storage medium can be executed by one or more processors, the event monitoring method executed on the electronic device side can be implemented.
[0231] The processor is configured to execute the event monitoring program stored in the memory to implement the following steps of the event monitoring method executed on the electronic device side:
[0232] Determine whether the user device is connected to the 5G network;
[0233] When it is determined that the user equipment accesses the 5G network, triggering a first subscription request, wherein the first subscription request carries a network switching monitoring event;
[0234] Determining whether the user equipment performs a target network handover, wherein the target network handover indicates that the user equipment switches from a 4G network to the 5G network;
[0235] In a case where the user equipment performs the target network handover, a second subscription request is triggered, and event information corresponding to the second subscription request is sent to the user equipment.
[0236] Professionals should also be further aware that the units and algorithm steps of each example described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of the two. In order to clearly illustrate the interchangeability of hardware and software, the above description has generally described the components and steps of each example according to their functions. Whether these functions are performed in hardware or software depends on the specific application and design constraints of the technical solution. Professionals and technicians can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0237] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein may be implemented using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), internal memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0238] It should be understood that the terms used herein are for the purpose of describing specific example embodiments only and are not intended to be limiting. Unless the context clearly indicates otherwise, the singular forms "one", "an" and "said" as used herein may also be meant to include plural forms. The terms "comprise", "include", "contain" and "have" are inclusive and therefore specify the presence of stated features, steps, operations, elements and / or parts, but do not exclude the presence or addition of one or more other features, steps, operations, elements, parts, and / or combinations thereof. The method steps, processes, and operations described herein are not to be construed as necessarily requiring them to be performed in the specific order described or illustrated, unless the order of execution is clearly indicated. It should also be understood that additional or alternative steps may be used.
[0239] The foregoing description is intended only to provide specific embodiments of the present invention, which will enable those skilled in the art to understand and implement the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present invention. Therefore, the present invention is not intended to be limited to the embodiments shown herein, but is intended to be accorded the widest scope consistent with the principles and novel features claimed herein.
Claims
1. An event monitoring method, characterized in that: The method comprises: Determine whether the user equipment is connected to the 5G network; In the case of determining that the user equipment accesses the 5G network, triggering a first subscription request, wherein the first subscription request carries a network switching monitoring event; Determine whether the user equipment performs a target network switch, wherein the target network switch indicates that the user equipment switches from a 4G network to the 5G network; In the case where the user equipment performs the target network switching, a second subscription request is triggered, and event information corresponding to the second subscription request is sent to the user equipment.
2. The method according to claim 1, characterized in that Before determining whether the user equipment performs target network switching, the method further includes: determining registration information of the user equipment; and The determining whether the user equipment performs target network switching includes: Based on the registration information, it is determined whether the user equipment performs a target network handover.
3. The method according to claim 2, characterized in that The determining the registration information of the user equipment includes: Receiving a location update request of the user equipment; Saving the 4G registration information corresponding to the location update request; Receiving a 5G registration request of the user equipment; Saving the 5G registration information corresponding to the 5G registration request; and The determining, based on the registration information, whether the user equipment performs a target network handover includes: Based on the 4G registration information and the 5G registration information, determine whether the user equipment performs a target network switch.
4. The method according to claim 3, characterized in that The determining whether the user equipment performs target network switching based on the 4G registration information and the 5G registration information includes: Determine whether the first saving time is before the second saving time, and obtain discrimination information, wherein the first saving time is the saving time of the 4G registration information, and the second saving time is the saving time of the 5G registration information; When the determination information indicates that the first saving time is before the second saving time, it is determined that the user equipment performs target network switching.
5. The method according to claim 3, characterized in that: The 4G registration information and the 5G registration information are stored by the first network element; as well as In the case where the user equipment performs the target network switching, the method further includes: Control the first network element to send a notification message to the second network element, wherein the notification message carries information indicating that the user equipment switches from a 4G network to a 5G network; Control the second network element to return a success response message to the first network element for the notification message.
6. The method according to claim 5, characterized in that The triggering of the second subscription request includes: Control the second network element to trigger a second subscription request, wherein the second subscription request carries an event monitored in the 4G network; Controlling the second network element to send a second subscription request to the first network element; After the first network element forwards the second subscription request to the third network element, a success response message returned by the third network element in response to the second subscription request is received.
7. The method according to any one of claims 1 to 6, characterized in that: The sending the event information corresponding to the second subscription request to the user equipment includes: Controlling the third network element to detect event information corresponding to the second subscription request; storing the event information in the third network element; Control the third network element to detect an event, and send the event notification information to the user equipment.
8. An event monitoring device, characterized in that: The device comprises: A first determining unit, configured to determine whether the user equipment is connected to a 5G network; A first triggering unit is configured to trigger a first subscription request when it is determined that the user equipment accesses the 5G network, wherein the first subscription request carries a network switching monitoring event; A second determining unit is used to determine whether the user equipment performs a target network switch, wherein the target network switch indicates that the user equipment switches from the 4G network to the 5G network; The second triggering unit is used to trigger a second subscription request when the user equipment switches the target network, and send event information corresponding to the second subscription request to the user equipment.
9. An electronic device, characterized in that: include: Memory for storing computer programs; A processor is used to execute the computer program stored in the memory, and when the computer program is executed, the method described in any one of claims 1 to 7 is implemented.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the method described in any one of claims 1 to 7 is implemented.
Citation Information
Cited By
Event monitoring method and apparatus, electronic device, and storage medium
EP4716302A1
