Service guarantee method and device, network function, storage medium and computer program product

By sending information to the second network function in the terminal roaming state, and managing GBR bearer based on quality and difference analysis data, the problem of invalid GBR bearer in the existing technology is solved, and efficient resource utilization and business guarantee improvement are achieved. .

CN119095104APending Publication Date: 2024-12-06CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411178549.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-08-26
Publication Date
2024-12-06

AI Technical Summary

Technical Problem

When users are in a roaming scenario, the existing technology is difficult to effectively ensure the quality of service (QoS), resulting in invalid GBR carrying and wasted resources.

Method used

By sending information to the second network function when the terminal is in a roaming state, it will avoid directly establishing invalid GBR bearers, determine whether QoS can be guaranteed based on the quality difference analysis data, and delete invalid GBR bearers when specific conditions are met .

Benefits of technology

It effectively avoids resource waste, saves signaling overhead and network resources, and improves the accuracy and efficiency of business guarantees.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119095104A_ABST
    Figure CN119095104A_ABST
Patent Text Reader

Abstract

The invention discloses a service guarantee method and device, a network function, a storage medium and a computer program product, and the method comprises the steps that a first network function sends first information to a second network function when a terminal is in a roaming state and the QoS of a first service of the terminal cannot be guaranteed; wherein the first information represents that the visited network of the terminal cannot guarantee the QoS (Quality of Service) of the first service of the terminal, and is used for triggering or indicating to initiate session reconstruction for the terminal.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a service assurance method, device, network function, storage medium and computer program product. Background Art

[0002] When a user is in a roaming scenario, a guaranteed bit rate (GBR) bearer is established for the user's quality of service (QoS) guarantee service. However, there is a situation where the established GBR bearer is invalid, that is, the QoS guarantee is invalid, resulting in a waste of resources. Summary of the invention

[0003] To solve related technical problems, the embodiments of the present application provide a service assurance method, device, network function, storage medium and computer program product.

[0004] The technical solution of the embodiment of the present application is implemented as follows:

[0005] The embodiment of the present application provides a service assurance method, which is applied to a first network function, and the method includes:

[0006] When the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed, sending the first information to the second network function;

[0007] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0008] In the above scheme, the method further comprises:

[0009] When the terminal is in a roaming state and the QoS of the first service of the terminal can be guaranteed, a first request is sent to the second network function, where the first request is used to subscribe to quality difference analysis data.

[0010] In the above scheme, the method further comprises:

[0011] Based on the second information, it is determined that the QoS of the first service cannot be guaranteed, or that the QoS of the first service can be guaranteed; the second information indicates the QoS guarantee capability of the visited network of the terminal.

[0012] In the above solution, the second information includes one or more of the following:

[0013] third information, the third information indicating wireless resources available in a visited network of the terminal;

[0014] fourth information, the fourth information indicating whether congestion occurs in a visited network of the terminal, or indicating a degree of congestion of the visited network of the terminal;

[0015] fifth information, the fifth information indicating reserved resources of a visited network of the terminal;

[0016] sixth information, the sixth information indicating that the visited network of the terminal cannot guarantee the QoS of a second service, the second service being the same as the first service or belonging to the same category;

[0017] a first value, where the first value represents a quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, where the second services are the same as the first services or belong to the same category;

[0018] a second value, wherein the second value represents a quotient of the first number and the second number; wherein the first number represents the number of invalid GBR bearers, and the second number represents the total number of established GBR bearers;

[0019] A third value is determined based on historical data, and represents the QoS guarantee success rate of the second service within a first time period and / or in a first network state; wherein, the first time period represents the service period of the first service, the first network state is the same as the current network state of the terminal's visited network or the similarity is greater than or equal to a first threshold, and the second service is the same as the first service or belongs to the same category.

[0020] In the above scheme, the method further comprises:

[0021] When one or more of the following conditions are met, it is determined that the QoS of the first service cannot be guaranteed:

[0022] The visited network of the terminal is congested;

[0023] The fourth value is less than or equal to the second threshold, and the fourth value represents the size of the reserved resources of the visited network of the terminal;

[0024] The fifth value is greater than or equal to the third threshold, and the fifth value represents the number of terminals for which the visited network of the terminal provides QoS guarantee;

[0025] The QoS guarantee success rate of the second service is less than or equal to a fourth threshold, and the second service is the same as the first service or belongs to the same category;

[0026] receiving seventh information, wherein the seventh information indicates that an invalid QoS guarantee and / or GBR bearer exists in a visited network of the terminal;

[0027] The GBR bearer of the second service is deleted, and the second service is the same as the first service or belongs to the same category.

[0028] The embodiment of the present application also provides a service assurance method, which is applied to a third network function, and the method includes:

[0029] When the terminal is in a roaming state and meets a first condition, a session reestablishment is initiated for the terminal.

[0030] In the above solution, the first condition includes one or more of the following:

[0031] The terminal does not have a first service in progress, where the first service is a service for which the terminal has a QoS guarantee requirement;

[0032] First information is received, where the first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, where the first service is a service for which the terminal has a QoS guarantee requirement.

[0033] In the above scheme, the method further comprises:

[0034] When the terminal is in a roaming state and receives the eighth information sent by the fourth network function and / or the ninth information sent by the fifth network function, initiating session reconstruction for the terminal; wherein,

[0035] The fourth network function and the fifth network function are located in the home network of the terminal, the eighth information represents that the terminal does not have an ongoing first service and / or does not have traffic for the first service, and the ninth information indicates that the QoS of the first service of the terminal cannot be guaranteed; the first service is a service for which the terminal has a QoS guarantee requirement.

[0036] In the above scheme, the ninth information is sent by the fifth network function when the first information sent by the second network function is received, and the ninth information includes a first identifier; the first identifier indicates that the QoS of the first service of the terminal cannot be guaranteed; the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal.

[0037] The embodiment of the present application also provides a service assurance method, which is applied to the second network function, and the method includes:

[0038] receiving first information sent by a first network function; wherein,

[0039] The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

[0040] In the above scheme, the method further comprises:

[0041] The first information is sent to a fifth network function; the fifth network function is located in a home network of the terminal.

[0042] The embodiment of the present application also provides a service assurance device, the device comprising:

[0043] A first sending module, configured to send first information to a second network function when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed;

[0044] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0045] The embodiment of the present application also provides a service assurance device, the device comprising:

[0046] The reestablishment module is used to initiate session reestablishment for the terminal when the terminal is in a roaming state and satisfies a first condition.

[0047] The embodiment of the present application also provides a service assurance device, the device comprising:

[0048] A receiving module is used to receive first information sent by a first network function; wherein,

[0049] The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

[0050] The embodiment of the present application further provides a first network function, including: a first processor and a first communication interface; wherein,

[0051] The first communication interface is used to send the first information to the second network function when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed;

[0052] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0053] The embodiment of the present application further provides a third network function, including: a second processor and a second communication interface; wherein,

[0054] The second processor is configured to initiate session reestablishment for the terminal when the terminal is in a roaming state and the first condition is met.

[0055] The embodiment of the present application further provides a second network function, including: a third processor and a third communication interface; wherein,

[0056] The third communication interface is used to receive the first information sent by the first network function; wherein,

[0057] The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

[0058] The embodiment of the present application also provides a network function, including a processor and a memory for storing a computer program that can be run on the processor,

[0059] In which, when the processor is used to run the computer program, it executes the steps of any method on the first network function side, or executes the steps of any method on the third network function side, or executes the steps of any method on the second network function side.

[0060] An embodiment of the present application also provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of any method on the first network function side, or implements the steps of any method on the third network function side, or implements the steps of any method on the second network function side.

[0061] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any method on the first network function side, or implements the steps of any method on the third network function side, or implements the steps of any method on the second network function side.

[0062] In the service assurance method, device, network function, storage medium and computer program product provided by the embodiments of the present application, when the terminal is in roaming state and cannot guarantee the QoS of the first service of the terminal, a first message is sent to the second network function; wherein the first message indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reconstruction for the terminal. The above scheme can initiate session reconstruction for the terminal when the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, avoiding the situation where the directly established GBR bearer causes the established GBR bearer to be invalid, thereby avoiding resource waste and saving signaling overhead and network resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0063] Figure 1 This is an example diagram of a service assurance process in a scenario where a connected user enters a roaming state, to which an embodiment of the present application is applicable in the related art;

[0064] Figure 2 This is a flowchart of a service assurance method according to an embodiment of the present application;

[0065] Figure 3 This is a flow chart of another service assurance method according to an embodiment of the present application;

[0066] Figure 4 This is a flowchart of another service assurance method according to an embodiment of the present application;

[0067] Figure 5 This is a schematic diagram of the service assurance process of the embodiment of the present application;

[0068] Figure 6 This is a schematic diagram of the structure of a service assurance device according to an embodiment of the present application;

[0069] Figure 7 This is a schematic diagram of the structure of another service assurance device according to an embodiment of the present application;

[0070] Figure 8 This is a schematic diagram of the structure of another service assurance device according to an embodiment of the present application;

[0071] Fig. 9 This is a schematic diagram of the first network function structure of an embodiment of the present application;

[0072] Fig.10 This is a schematic diagram of the third network function structure of the embodiment of the present application;

[0073] Fig.11 This is a schematic diagram of the second network function structure of an embodiment of the present application. DETAILED DESCRIPTION

[0074] At present, for scenarios where users are in roaming state, for idle users, the session will be reestablished after crossing provinces, and then the Policy Control Function (PCF) will select the Network Data Analytics Function (NWDAF) of the visited location to provide services based on the Tracking Area Identity (TAI); for connected users, the session needs to be maintained across provinces, mainly through the NWDAF of the home location to perceive the roaming, the NWDAF of the visited location performs quality difference analysis, and returns the QoS guarantee policy to the NWDAF of the home location, and then establishes a GBR dedicated bearer, which is also called a GBR bearer. It can be understood that the user is a contracted guarantee user, that is, the user has signed a QoS guarantee service.

[0075] For example, Figure 1 An example of the service assurance process for a connected user entering the roaming state is given, including:

[0076] Step 1: The home network side of the user equipment (UE) activates the protocol data unit (PDU) session of the UE.

[0077] Step 2: The PCF discovers the home NWDAF according to the TAI when the UE is initially activated, and initiates a QoS_ANALYSIS subscription to the home NWDAF.

[0078] Step 3: The home NWDAF subscribes to the anchor session management function (A-SMF) for quality analysis data, the changed TAI of the UE, and the changed access and mobility management function (AMF) identity (ID, identification).

[0079] Step 4: A-SMF forwards the quality difference analysis subscription to the anchor user plane function (A-UPF, Anchor User Plane Function).

[0080] Step 5: When a connected UE moves across provinces, the UE's network connection inserts an intermediate session management function (I-SMF) and an intermediate user plane function (I-UPF), and the UE's TAI and AMF ID change.

[0081] Step 6: A-SMF reports the UE’s current TAI and AMF ID to the home NWDAF.

[0082] Step 7: The home NWDAF discovers the visited NWDAF that can provide quality difference analysis service from the Network Repository Function (NRF) based on the new TAI.

[0083] Step 8: The home NWDAF initiates or requests a QoS assurance analysis service, namely, a quality difference analysis service, to the visited NWDAF.

[0084] Step 9: The visiting NWDAF subscribes to the quality difference analysis data from the home NWDAF.

[0085] Step 10: A-UPF reports the quality difference analysis data to the local NWDAF.

[0086] Step 11: The home NWDAF transmits the quality difference analysis data reported by the A-UPF to the visited NWDAF.

[0087] Step 12: The visited NWDAF outputs the QoS guarantee policy to the home NWDAF based on the quality difference analysis data, wireless load conditions, and service information.

[0088] Step 13: The home NWDAF receives the QoS guarantee policy and passes it to the PCF, which triggers the establishment of a GBR dedicated bearer.

[0089] Step 14: Delete the invalid GBR dedicated bearer.

[0090] For the scenario where a connected user enters the roaming state, due to the congestion of radio resources in the visited network, insufficient reserved radio resources, too many protected users, etc., the protection effect will be poor. At this time, the A-UPF will report invalid protection and delete the UE's GBR dedicated bearer. For this invalid protection scenario, all the previous steps are useless, resulting in a waste of resources.

[0091] Based on this, in various embodiments of the present application, when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed, a first message is sent to the second network function; wherein the first message indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reconstruction for the terminal. The above scheme can initiate session reconstruction for the terminal when the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, avoiding the situation where the directly established GBR bearer causes the established GBR bearer to be invalid, thereby avoiding resource waste and saving signaling overhead and network resources.

[0092] The present application is further described in detail below in conjunction with the accompanying drawings and embodiments.

[0093] The embodiment of the present application provides a service assurance method, which is applied to a first network function, and the first network function may be a visited NWDAF, that is, an NWDAF of a visited location or a visited network. Figure 2 As shown, the method includes:

[0094] Step 201: When a terminal is in a roaming state and the QoS of a first service of the terminal cannot be guaranteed, first information is sent to a second network function.

[0095] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0096] Here, when the terminal is in a roaming state and the first network function confirms that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, the first information is sent to the second network function.

[0097] The terminal is also called UE, which can be a mobile phone, tablet computer, wearable device, etc. The terminal is in roaming state, for example, the terminal moves across provinces or countries. The first service of the terminal may be a contract guarantee service, that is, a service for which the terminal has QoS guarantee requirements, and the first service includes a live broadcast service and / or a virtual reality (VR) service. The second network function may be a home NWDAF, that is, the NWDAF of the home or home network. When the terminal is in roaming state, the home network of the terminal is different from the visited network. When the terminal is in non-roaming state, the home network of the terminal may be the same as the visited network.

[0098] In this embodiment, when the terminal is in roaming state and the visited network of the terminal cannot guarantee the QoS of the terminal's first service, a session reconstruction (such as PDU session reconstruction) can be initiated for the terminal to avoid directly establishing a GBR bearer, which may cause the established GBR bearer to be invalid, thereby avoiding waste of resources.

[0099] In one embodiment, the service assurance method further includes:

[0100] When the terminal is in a roaming state and the QoS of the first service of the terminal can be guaranteed, a first request is sent to the second network function, where the first request is used to subscribe to quality difference analysis data.

[0101] The quality difference analysis data may include one or more of the following: service ID, service flow ID, maximum uplink bandwidth, minimum uplink bandwidth, maximum downlink bandwidth and minimum downlink bandwidth of the terminal's visited network.

[0102] In this embodiment, when the QoS of the first service of the terminal can be guaranteed, the quality difference analysis data is subscribed to ensure that a GBR bearer is subsequently established for the first service, thereby avoiding waste of resources.

[0103] In one embodiment, the service assurance method further includes:

[0104] Based on the second information, it is determined that the QoS of the first service cannot be guaranteed, or that the QoS of the first service can be guaranteed; the second information indicates the QoS guarantee capability of the visited network of the terminal.

[0105] Here, the first network function obtains or determines the second information, and determines whether the visited network of the terminal can guarantee the QoS of the first service based on the second information.

[0106] The second information may indicate one or more of the following: the wireless resources available in the terminal's visited network; whether the terminal's visited network is congested; the degree of congestion in the terminal's visited network; the reserved resources in the terminal's visited network; whether the terminal's visited network can guarantee the QoS of the second service; the success rate of QoS guarantee for the second service; the number of terminals for which the terminal's visited network provides QoS guarantee; whether the terminal's visited network has invalid QoS guarantee and / or GBR bearer. The second service is the same as the first service or belongs to the same category.

[0107] For example, when one or more of the following conditions are met, it is determined that the QoS of the first service can be guaranteed:

[0108] The network at the terminal's destination is not congested.

[0109] The fourth value is greater than the second threshold, and the fourth value represents the size of the reserved resources of the visited network of the terminal, that is, the size of the reserved resources of the visited network of the terminal can meet the resource demand of the first service of the terminal;

[0110] The fifth value is less than the third threshold, and the fifth value represents the number of terminals for which the visited network of the terminal provides QoS guarantee;

[0111] The QoS guarantee success rate of the second service is greater than the fourth threshold.

[0112] In this embodiment, whether the QoS of the first service can be guaranteed is determined based on the QoS guarantee capability of the terminal's visited network, which can improve the accuracy of the determination result and provide a reference for whether to establish a GBR bearer subsequently, so as to avoid waste of resources caused by establishing a GBR bearer when the QoS guarantee capability is insufficient.

[0113] In one embodiment, the second information includes one or more of the following:

[0114] third information, the third information indicating wireless resources available in a visited network of the terminal;

[0115] fourth information, the fourth information indicating whether congestion occurs in a visited network of the terminal, or indicating a degree of congestion of the visited network of the terminal;

[0116] fifth information, the fifth information indicating reserved resources of a visited network of the terminal;

[0117] sixth information, the sixth information indicating that the visited network of the terminal cannot guarantee the QoS of a second service, where the second service is the same as or belongs to the same category as the first service;

[0118] a first value, where the first value represents a quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, where the second services are the same as the first services or belong to the same category;

[0119] a second value, wherein the second value represents a quotient of the first number and the second number; wherein the first number represents the number of invalid GBR bearers, and the second number represents the total number of established GBR bearers;

[0120] A third value is determined based on historical data, and represents the QoS guarantee success rate of the second service within a first time period and / or in a first network state; wherein, the first time period represents the service period of the first service, the first network state is the same as the current network state of the terminal's visited network or the similarity is greater than or equal to a first threshold, and the second service is the same as the first service or belongs to the same category.

[0121] Here, the first numerical value represents the quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, which may be the quotient of the number of second services for which QoS guarantee is invalid and the total number of second services in the second time period, and / or the quotient of the number of second services for which QoS guarantee is invalid and the total number of second services in the third time period, and / or the quotient of the number of second services for which QoS guarantee is invalid and the total number of second services. Among them, the second time period represents the time period in which the number of QoS guaranteed services is greater than or equal to the fifth threshold, and the second time period can be understood as a busy service period; the third time period represents the time period in which the number of QoS guaranteed services is less than the sixth threshold, and the third time period can be understood as a service idle period; the fifth threshold and the sixth threshold can be the same or different.

[0122] The third value is determined based on historical data, and represents the QoS guarantee success rate of the second service within the first time period and / or under the first network state. The first time period is a historical time period, representing the service period of the first service. For example, it is the 18th day, and the service period of the first service is from 1:00 to 2:00. The first time period may include from 1:00 to 2:00 on each day from the 2nd to the 10th. The first network state is a historical network state. The first network state is the same as the current network state of the terminal's visited network, or the similarity is greater than or equal to the first threshold, and the first threshold can be set according to actual needs. The QoS guarantee success rate of the second service can be represented by the quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, and can also be represented by the quotient of the number of invalid GBR bearers and the total number of established GBR bearers.

[0123] It should be noted that the first value and / or the second value and / or the third value may be used to evaluate whether the terminal can have a better service guarantee effect in the roaming state.

[0124] In this embodiment, the content of the second information is clarified, and the second information may include resource conditions of the visited network of the terminal, and / or historical QoS guarantee conditions, further ensuring the accuracy of determining whether the QoS of the first service can be guaranteed based on the second information.

[0125] In one embodiment, the service assurance method further includes:

[0126] When one or more of the following conditions are met, it is determined that the QoS of the first service cannot be guaranteed:

[0127] The visited network of the terminal is congested;

[0128] The fourth value is less than or equal to the second threshold, and the fourth value represents the size of the reserved resources of the visited network of the terminal;

[0129] The fifth value is greater than or equal to the third threshold, and the fifth value represents the number of terminals for which the visited network of the terminal provides QoS guarantee;

[0130] The QoS guarantee success rate of the second service is less than or equal to a fourth threshold, and the second service is the same as the first service or belongs to the same category;

[0131] receiving seventh information, wherein the seventh information indicates that an invalid QoS guarantee and / or GBR bearer exists in a visited network of the terminal;

[0132] The GBR bearer of the second service is deleted, and the second service is the same as the first service or belongs to the same category.

[0133] Among them, the second threshold, the third threshold and the fourth threshold can all be set according to actual needs.

[0134] Here, the fourth threshold includes the seventh threshold and / or the eighth threshold and / or the ninth threshold; the QoS guarantee success rate of the second service is less than or equal to the fourth threshold, including one or more of the following:

[0135] The first value is less than or equal to the seventh threshold; the first value represents the quotient of the number of second services for which QoS guarantee is invalid and the total number of second services;

[0136] The second value is less than or equal to the eighth threshold; the second value represents the quotient of the first number and the second number; the first number represents the number of invalid GBR bearers, and the second number represents the total number of established GBR bearers;

[0137] The third value is less than or equal to the ninth threshold; the third value represents the QoS guarantee success rate of the second service in the first time period and / or in the first network state.

[0138] It should be understood that the seventh threshold, the eighth threshold and the ninth threshold may be the same or different.

[0139] In this embodiment, the situation where the QoS of the first service cannot be guaranteed is clearly identified, and omission of the situation where the QoS of the first service cannot be guaranteed is avoided as much as possible, and the determination efficiency can be improved.

[0140] The embodiment of the present application also provides a service assurance method, which is applied to a third network function, and the third network function may be an A-SMF or a home SMF. Figure 3 As shown, the method includes:

[0141] Step 301: When a terminal is in roaming state and satisfies a first condition, initiating session reestablishment for the terminal.

[0142] Here, for example, when the terminal is in roaming state and there is no ongoing first service on the terminal, session reconstruction is initiated for the terminal; wherein the first service is a service for which the terminal has QoS guarantee requirements, and the ongoing first service can be understood as an unterminated first service.

[0143] For another example, when the terminal is in roaming state, the terminal is a contract-guaranteed terminal, and the terminal does not have an ongoing first service, session reestablishment is initiated for the terminal; wherein the contract-guaranteed terminal is a terminal that requires QoS guarantee for the service.

[0144] For another example, when the terminal is in a roaming state and receives first information, a session reestablishment is initiated for the terminal; wherein the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal.

[0145] In actual applications, if the terminal is not a contract-guaranteed terminal, the session of the terminal will not be deleted, that is, session reconstruction will not be initiated for the terminal.

[0146] In this embodiment, the third network function directly initiates session reestablishment for the terminal based on the terminal being in roaming state and satisfying the first condition, thereby improving session reestablishment efficiency and saving network resources.

[0147] In one embodiment, the first condition includes one or more of the following:

[0148] The terminal does not have a first service in progress, where the first service is a service for which the terminal has a QoS guarantee requirement;

[0149] First information is received, where the first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, where the first service is a service for which the terminal has a QoS guarantee requirement.

[0150] In this embodiment, the first condition includes that the terminal does not have an ongoing first service and / or receives the first information, and the content of the first condition is clarified to help improve the efficiency of session reconstruction.

[0151] In one embodiment, the service assurance method further includes:

[0152] When the terminal is in a roaming state and receives the eighth information sent by the fourth network function and / or the ninth information sent by the fifth network function, initiating session reconstruction for the terminal; wherein,

[0153] The fourth network function and the fifth network function are located in the home network of the terminal, the eighth information represents that the terminal does not have an ongoing first service and / or does not have traffic for the first service, and the ninth information indicates that the QoS of the first service of the terminal cannot be guaranteed; the first service is a service for which the terminal has a QoS guarantee requirement.

[0154] Here, when the terminal is in a roaming state and receives the eighth information sent by the fourth network function, initiating session reconstruction for the terminal; or,

[0155] When the terminal is in a roaming state and receives the ninth information sent by the fifth network function, initiating session reestablishment for the terminal; or,

[0156] When the terminal is in a roaming state and receives the eighth information sent by the fourth network function and the ninth information sent by the fifth network function, a session reestablishment is initiated for the terminal. The fourth network function may be an A-UPF, and the fifth network function may be a PCF.

[0157] In this embodiment, the eighth information sent by the fourth network function is received, indicating that the terminal does not have the ongoing first service, and the ninth information sent by the fifth network function is received, indicating that the fifth network function has received the first information forwarded by the second network function. This further clarifies the conditions for initiating session reconstruction for the terminal and improves the accuracy and efficiency of session reconstruction.

[0158] In one embodiment, the ninth information is sent by the fifth network function when the first information sent by the second network function is received, and the ninth information includes a first identifier; the first identifier indicates that the QoS of the first service of the terminal cannot be guaranteed; the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal.

[0159] The second network function may be a home location NWDAF. The first identifier may be in the form of a field, which is not specifically limited.

[0160] In actual applications, when the fifth network function receives the first information sent by the second network function, it triggers the fifth network function deletion policy and indicates the reason for the policy deletion by adding a first identifier; the deleted policy here can be the QoS guarantee policy of the service or the session policy.

[0161] In this embodiment, the sending conditions of the ninth information are clarified, and the ninth information includes the first identifier, and the first identifier indicates that the QoS of the first service of the terminal cannot be guaranteed, which can help improve the accuracy and efficiency of session reconstruction.

[0162] The embodiment of the present application also provides a service assurance method, which is applied to a second network function, and the second network function may be a home NWDAF, a home or home network NWDAF. Figure 4 As shown, the method includes:

[0163] Step 401: Receive first information sent by a first network function.

[0164] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0165] Here, the first network function may be a visited location NWDAF. The first service of the terminal may be a contracted guaranteed service, that is, a service for which the terminal has a QoS guarantee requirement.

[0166] In this embodiment, the first information sent by the first network function is received by the second network function, thereby triggering or instructing to initiate session reconstruction for the terminal, clarifying the conditions for session reconstruction, helping to improve the efficiency of session reconstruction, and saving network resources.

[0167] In one embodiment, the service assurance method further includes:

[0168] The first information is sent to a fifth network function; the fifth network function is located in a home network of the terminal.

[0169] Here, the fifth network function may be PCF.

[0170] In this embodiment, the second network function sends the first information to the fifth network function, which can trigger the fifth network function to delete the policy and ensure that the subsequent third network function receives the ninth information sent by the fifth network function, thereby performing session reconstruction and helping to improve the accuracy of session reconstruction.

[0171] The present application is described in further detail below in conjunction with application examples.

[0172] The service assurance method provided in this application is aimed at the scenario where the terminal is in roaming state, and the service assurance process diagram is as follows: Figure 5 As shown, in Figure 5 In the above, UE corresponds to the terminal, the visited NWDAF corresponds to the first network function, the home NWDAF corresponds to the second network function, the A-SMF corresponds to the third network function, the A-UPF corresponds to the fourth network function, and the PCF corresponds to the fifth network function. Figure 5 As shown, the service assurance method includes:

[0173] Step 1: The UE's home network activates the UE's PDU session.

[0174] Step 2: The PCF discovers the home NWDAF according to the TAI when the UE is initially activated, and initiates a QoS_ANALYSIS subscription to the home NWDAF.

[0175] Step 3: The home NWDAF subscribes to the quality analysis data, the changed TAI of the UE, and the changed AMF ID from the A-SMF.

[0176] Step 4: A-SMF forwards the quality difference analysis subscription to A-UPF.

[0177] Step 5: When the UE moves across provinces, the UE's network connection is inserted into the I-SMF and I-UPF, and the UE's TAI and AMF ID change.

[0178] Step 6: When the second condition is met, the A-SMF initiates session reestablishment for the UE; if the second condition is not met, execute step 7.

[0179] Here, the second condition includes one or more of the following:

[0180] The terminal (ie, UE) is in roaming state, the terminal is a contracted terminal, and the terminal does not have any ongoing first service;

[0181] The terminal is in a roaming state, the terminal is a contract-protected terminal, and receives the eighth information sent by the A-UPF; the eighth information indicates that the terminal does not have an ongoing first service and / or does not have traffic of the first service;

[0182] The terminal is in a roaming state and receives first information; the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal;

[0183] The terminal is in a roaming state and receives the ninth information sent by the PCF; the ninth information indicates that the QoS of the first service of the terminal cannot be guaranteed; wherein,

[0184] The first service is a service for which the terminal has a QoS guarantee requirement.

[0185] Specifically, A-SMF detects that I-SMF is connected, considers that the terminal is in roaming state, and further identifies whether the terminal is a contract-protected terminal. If the terminal is not a contract-protected terminal, it waits for the terminal service to end and rebuilds the PDU session; if the terminal is a contract-protected terminal, it queries the information of the first service of the terminal locally, and the information of the first service includes the service ID, for example, the service ID is SubApp (contracted application) ID, and is sent to A-UPF; A-UPF detects whether the terminal has an ongoing first service and / or whether there is traffic for the first service. If the terminal does not have an ongoing first service and / or there is no traffic for the first service, it returns the eighth information to A-SMF, and A-SMF directly rebuilds the session; if the terminal has an ongoing first service and / or traffic for the first service, execute step 7.

[0186] Step 7: A-SMF reports the UE’s current TAI and AMF ID to the home NWDAF.

[0187] Step 8: The home NWDAF discovers the visited NWDAF that can provide quality difference analysis service from the NRF based on the new TAI.

[0188] Step 9: The home NWDAF initiates or requests a QoS assurance analysis service, namely, a quality difference analysis service, to the visited NWDAF.

[0189] Step 10: The visited NWDAF determines that the QoS of the first service cannot be guaranteed or can be guaranteed based on the second information, wherein the second information indicates the QoS guarantee capability of the visited network of the terminal.

[0190] If it is determined that the QoS of the first service can be guaranteed, steps 11 to 15 are performed; if it is determined that the QoS of the first service cannot be guaranteed, steps 16 to 17 are performed.

[0191] Step 11: The visiting NWDAF subscribes to the quality difference analysis data from the home NWDAF.

[0192] Step 12: A-UPF reports the quality difference analysis data to the local NWDAF.

[0193] Step 13: The home NWDAF transmits the quality difference analysis data reported by the A-UPF to the visited NWDAF.

[0194] Step 14: The visited NWDAF outputs the QoS guarantee policy to the home NWDAF based on the quality difference analysis data, wireless load conditions, and service information.

[0195] Step 15: The home NWDAF receives the QoS guarantee policy and passes it to the PCF, which triggers the establishment of a GBR dedicated bearer (ie, a GBR bearer).

[0196] Step 16: The visited NWDAF sends the first information to the home NWDAF.

[0197] Step 17: The home NWDAF triggers or instructs to initiate session reestablishment for the UE based on the received first information sent by the visited NWDAF.

[0198] Specifically, the home NWDAF receives the first information sent by the visited NWDAF and sends the first information to the PCF; the PCF triggers the policy deletion, indicates the reason for the policy deletion by adding a first identifier, and sends the ninth information to the A-SMF, indicating that the QoS of the first service of the terminal cannot be guaranteed.

[0199] The service assurance method provided in the present application, for the scenario where the terminal is in a roaming state, pre-finely judges whether the conditions for session reconstruction are met, including determining whether the visited network of the terminal can guarantee the QoS of the terminal's first service, and A-SMF and A-UPF jointly determine whether the terminal has an ongoing first service, so that the session reconstruction is triggered by A-SMF or the NWDAF of the home location, which can reduce invalid processes, solve the problem of invalid assurance of the terminal, improve the service assurance effect, and avoid resource waste; and for the terminal in the roaming state, when the session is maintained, the data channel of the terminal is "terminal-base station-I-UPF-A-UPF-network", while the data channel of the terminal corresponding to the session reconstruction is "terminal-base station-I-UPF-network", which can reduce the detour of the data channel and is conducive to improving the service assurance experience.

[0200] In order to implement the service assurance method on the first network function side of the embodiment of the present application, the embodiment of the present application also provides a service assurance device, which is arranged on the first network function, such as Figure 6 As shown, the device comprises:

[0201] A first sending module 601 is configured to send first information to a second network function when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed;

[0202] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0203] In one embodiment, the first sending module 601 is further used to send a first request to the second network function when the terminal is in roaming state and the QoS of the first service of the terminal can be guaranteed, wherein the first request is used to subscribe to quality difference analysis data.

[0204] In one embodiment, the device further comprises:

[0205] The determination module is used to determine that the QoS of the first service cannot be guaranteed, or that the QoS of the first service can be guaranteed based on second information; the second information indicates the QoS guarantee capability of the visited network of the terminal.

[0206] In one embodiment, the second information includes one or more of the following:

[0207] third information, the third information indicating wireless resources available in a visited network of the terminal;

[0208] fourth information, the fourth information indicating whether congestion occurs in a visited network of the terminal, or indicating a degree of congestion of the visited network of the terminal;

[0209] fifth information, the fifth information indicating reserved resources of a visited network of the terminal;

[0210] sixth information, the sixth information indicating that the visited network of the terminal cannot guarantee the QoS of a second service, the second service being the same as the first service or belonging to the same category;

[0211] a first value, where the first value represents a quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, where the second services are the same as the first services or belong to the same category;

[0212] a second value, wherein the second value represents a quotient of the first number and the second number; wherein the first number represents the number of invalid GBR bearers, and the second number represents the total number of established GBR bearers;

[0213] A third value is determined based on historical data, and represents the QoS guarantee success rate of the second service within a first time period and / or in a first network state; wherein, the first time period represents the service period of the first service, the first network state is the same as the current network state of the terminal's visited network or the similarity is greater than or equal to a first threshold, and the second service is the same as the first service or belongs to the same category.

[0214] In one embodiment, the determining module is specifically configured to determine that the QoS of the first service cannot be guaranteed when one or more of the following conditions are met:

[0215] The visited network of the terminal is congested;

[0216] The fourth value is less than or equal to the second threshold, and the fourth value represents the size of the reserved resources of the visited network of the terminal;

[0217] The fifth value is greater than or equal to the third threshold, and the fifth value represents the number of terminals for which the visited network of the terminal provides QoS guarantee;

[0218] The QoS guarantee success rate of the second service is less than or equal to a fourth threshold, and the second service is the same as the first service or belongs to the same category;

[0219] receiving seventh information, wherein the seventh information indicates that an invalid QoS guarantee and / or GBR bearer exists in a visited network of the terminal;

[0220] The GBR bearer of the second service is deleted, and the second service is the same as the first service or belongs to the same category.

[0221] In actual application, the first sending module 601 and the determining module may be implemented by a processor and a communication interface of the service assurance device.

[0222] In order to implement the service assurance method on the third network function side of the embodiment of the present application, the embodiment of the present application also provides a service assurance device, which is arranged on the third network function, such as Figure 7 As shown, the device comprises:

[0223] The reestablishment module 701 is configured to initiate session reestablishment for the terminal when the terminal is in a roaming state and satisfies a first condition.

[0224] In one embodiment, the first condition includes one or more of the following:

[0225] The terminal does not have a first service in progress, where the first service is a service for which the terminal has a QoS guarantee requirement;

[0226] First information is received, where the first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, where the first service is a service for which the terminal has a QoS guarantee requirement.

[0227] In one embodiment, the reconstruction module 701 is further configured to initiate session reconstruction for the terminal when the terminal is in a roaming state and receives the eighth information sent by the fourth network function and / or the ninth information sent by the fifth network function; wherein,

[0228] The fourth network function and the fifth network function are located in the home network of the terminal, the eighth information represents that the terminal does not have an ongoing first service and / or does not have traffic for the first service, and the ninth information indicates that the QoS of the first service of the terminal cannot be guaranteed; the first service is a service for which the terminal has a QoS guarantee requirement.

[0229] In one embodiment, the ninth information is sent by the fifth network function when the first information sent by the second network function is received, and the ninth information includes a first identifier; the first identifier indicates that the QoS of the first service of the terminal cannot be guaranteed; the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal.

[0230] In actual application, the above reconstruction module 701 can be implemented by a processor and a communication interface of the service assurance device.

[0231] In order to implement the service assurance method on the second network function side of the embodiment of the present application, the embodiment of the present application also provides a service assurance device, which is arranged on the second network function, such as Figure 8 As shown, the device comprises:

[0232] The receiving module 801 is used to receive the first information sent by the first network function; wherein,

[0233] The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

[0234] In one embodiment, the device further comprises:

[0235] The second sending module is used to send the first information to a fifth network function; the fifth network function is located in the home network of the terminal.

[0236] In actual application, the above-mentioned receiving module 801 and the second sending module can be implemented by a processor and a communication interface of the service guarantee device.

[0237] It should be noted that the service assurance device provided in the above embodiment only uses the division of the above program modules as an example to illustrate when performing service assurance. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device is divided into different program modules to complete all or part of the above-described processing. In addition, the service assurance device provided in the above embodiment and the service assurance method embodiment belong to the same concept, and the specific implementation process is detailed in the method embodiment, which will not be repeated here.

[0238] Based on the hardware implementation of the above program module, and in order to implement the method of the first network function side of the embodiment of the present application, the embodiment of the present application also provides a first network function, such as Fig. 9 As shown, the first network function 900 includes:

[0239] The first communication interface 901 is capable of exchanging information with other network nodes;

[0240] The first processor 902 is connected to the first communication interface 901 to implement information exchange with other network nodes, and is used to execute the method provided by one or more technical solutions of the first network function side when running a computer program. The computer program is stored in the first memory 903.

[0241] Specifically, the first communication interface 901 is used to send the first information to the second network function when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed;

[0242] The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

[0243] In one embodiment, the first communication interface 901 is further used to send a first request to the second network function when the terminal is in roaming state and the QoS of the first service of the terminal can be guaranteed, and the first request is used to subscribe to quality difference analysis data.

[0244] In one embodiment, the first processor 902 is used to determine that the QoS of the first service cannot be guaranteed, or that the QoS of the first service can be guaranteed based on second information; the second information indicates the QoS guarantee capability of the visited network of the terminal.

[0245] In one embodiment, the second information includes one or more of the following:

[0246] third information, the third information indicating wireless resources available in a visited network of the terminal;

[0247] fourth information, the fourth information indicating whether congestion occurs in a visited network of the terminal, or indicating a degree of congestion of the visited network of the terminal;

[0248] fifth information, the fifth information indicating reserved resources of a visited network of the terminal;

[0249] sixth information, the sixth information indicating that the visited network of the terminal cannot guarantee the QoS of a second service, where the second service is the same as or belongs to the same category as the first service;

[0250] a first value, where the first value represents a quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, where the second services are the same as the first services or belong to the same category;

[0251] a second value, wherein the second value represents a quotient of the first number and the second number; wherein the first number represents the number of invalid GBR bearers, and the second number represents the total number of established GBR bearers;

[0252] A third value is determined based on historical data, and represents the QoS guarantee success rate of the second service within a first time period and / or in a first network state; wherein, the first time period represents the service period of the first service, the first network state is the same as the current network state of the terminal's visited network or the similarity is greater than or equal to a first threshold, and the second service is the same as the first service or belongs to the same category.

[0253] In one embodiment, the first processor 902 is specifically configured to determine that the QoS of the first service cannot be guaranteed when one or more of the following conditions are met:

[0254] The visited network of the terminal is congested;

[0255] The fourth value is less than or equal to the second threshold, and the fourth value represents the size of the reserved resources of the visited network of the terminal;

[0256] The fifth value is greater than or equal to the third threshold, and the fifth value represents the number of terminals for which the visited network of the terminal provides QoS guarantee;

[0257] The QoS guarantee success rate of the second service is less than or equal to a fourth threshold, and the second service is the same as the first service or belongs to the same category;

[0258] receiving seventh information, wherein the seventh information indicates that an invalid QoS guarantee and / or GBR bearer exists in a visited network of the terminal;

[0259] The GBR bearer of the second service is deleted, and the second service is the same as the first service or belongs to the same category.

[0260] It should be noted that the specific processing process of the first processor 902 and the first communication interface 901 can be understood by referring to the above method.

[0261] Of course, in actual application, the various components in the first network function 900 are coupled together through the bus system 904. It can be understood that the bus system 904 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 904 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig. 9 Various buses are labeled as bus system 904.

[0262] The first memory 903 in the embodiment of the present application is used to store various types of data to support the operation of the first network function 900. Examples of such data include: any computer program used to operate on the first network function 900.

[0263] The method disclosed in the above embodiment of the present application can be applied to the first processor 902, or implemented by the first processor 902. The first processor 902 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of hardware or software instructions in the first processor 902. The above-mentioned first processor 902 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The first processor 902 can implement or execute the methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the first memory 903, and the first processor 902 reads the information in the first memory 903, and completes the steps of the above method in combination with its hardware.

[0264] In an exemplary embodiment, the first network function 900 can be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to execute the aforementioned method.

[0265] Based on the hardware implementation of the above program module, and in order to implement the method of the third network function side of the embodiment of the present application, the embodiment of the present application also provides a third network function, such as Fig.10 As shown, the third network function 1000 includes:

[0266] The second communication interface 1001 is capable of exchanging information with other network nodes;

[0267] The second processor 1002 is connected to the second communication interface 1001 to implement information exchange with other network nodes, and is used to execute the method provided by one or more technical solutions of the third network function side when running the computer program. The computer program is stored in the second memory 1003.

[0268] Specifically, the second processor 1002 is configured to initiate session reestablishment for the terminal when the terminal is in a roaming state and the first condition is met.

[0269] In one embodiment, the first condition includes one or more of the following:

[0270] The terminal does not have a first service in progress, where the first service is a service for which the terminal has a QoS guarantee requirement;

[0271] First information is received, where the first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, where the first service is a service for which the terminal has a QoS guarantee requirement.

[0272] In one embodiment, the second processor 1002 is further configured to initiate session reestablishment for the terminal when the terminal is in a roaming state and receives the eighth information sent by the fourth network function and / or the ninth information sent by the fifth network function; wherein,

[0273] The fourth network function and the fifth network function are located in the home network of the terminal, the eighth information represents that the terminal does not have an ongoing first service and / or does not have traffic for the first service, and the ninth information indicates that the QoS of the first service of the terminal cannot be guaranteed; the first service is a service for which the terminal has a QoS guarantee requirement.

[0274] In one embodiment, the ninth information is sent by the fifth network function when the first information sent by the second network function is received, and the ninth information includes a first identifier; the first identifier indicates that the QoS of the first service of the terminal cannot be guaranteed; the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal.

[0275] It should be noted that the specific processing process of the second processor 1002 and the second communication interface 1001 can be understood by referring to the above method.

[0276] Of course, in actual application, the various components in the third network function 1000 are coupled together through the bus system 1004. It can be understood that the bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1004 also includes a power bus, a control bus and a status signal bus. However, for the sake of clarity, Fig.10 Various buses are labeled as bus system 1004 .

[0277] The second memory 1003 in the embodiment of the present application is used to store various types of data to support the operation of the third network function 1000. Examples of such data include: any computer program used to operate on the third network function 1000.

[0278] The method disclosed in the above embodiment of the present application can be applied to the second processor 1002, or implemented by the second processor 1002. The second processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the hardware integrated logic circuit or software instructions in the second processor 1002. The above-mentioned second processor 1002 may be a general-purpose processor, DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The second processor 1002 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the second memory 1003, and the second processor 1002 reads the information in the second memory 1003 and completes the steps of the above method in combination with its hardware.

[0279] In an exemplary embodiment, the third network function 1000 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0280] Based on the hardware implementation of the above program module, and in order to implement the method of the second network function side of the embodiment of the present application, the embodiment of the present application also provides a second network function, such as Fig.11 As shown, the second network function 1100 includes:

[0281] The third communication interface 1101 is capable of exchanging information with other network nodes;

[0282] The third processor 1102 is connected to the third communication interface 1101 to implement information exchange with other network nodes, and is used to execute the method provided by one or more technical solutions of the second network function side when running the computer program. The computer program is stored in the third memory 1103.

[0283] Specifically, the third communication interface 1101 is used to receive the first information sent by the first network function; wherein,

[0284] The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

[0285] In one embodiment, the third communication interface 1101 is further used to send the first information to a fifth network function; the fifth network function is located in the home network of the terminal.

[0286] It should be noted that the specific processing process of the third processor 1102 and the third communication interface 1101 can be understood by referring to the above method.

[0287] Of course, in actual application, the various components in the second network function 1100 are coupled together through the bus system 1104. It can be understood that the bus system 1104 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 1104 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.11 Various buses are labeled as bus system 1104 .

[0288] The third memory 1103 in the embodiment of the present application is used to store various types of data to support the operation of the second network function 1100. Examples of such data include: any computer program used to operate on the second network function 1100.

[0289] The method disclosed in the above embodiment of the present application can be applied to the third processor 1102, or implemented by the third processor 1102. The third processor 1102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by an integrated logic circuit of the hardware in the third processor 1102 or an instruction in the form of software. The above-mentioned third processor 1102 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc. The third processor 1102 can implement or execute the various methods, steps and logic block diagrams disclosed in the embodiments of the present application. A general-purpose processor may be a microprocessor or any conventional processor, etc. In combination with the steps of the method disclosed in the embodiment of the present application, it can be directly embodied as a hardware decoding processor to execute, or it can be executed by a combination of hardware and software modules in the decoding processor. The software module may be located in a storage medium, which is located in the third memory 1103, and the third processor 1102 reads the information in the third memory 1103 and completes the steps of the above method in combination with its hardware.

[0290] In an exemplary embodiment, the second network function 1100 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general purpose processors, controllers, MCUs, Microprocessors, or other electronic components to perform the aforementioned methods.

[0291] It can be understood that the memory (first memory 903, second memory 1003, third memory 1103) of the embodiment of the present application can be a volatile memory or a non-volatile memory, and can also 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), a magnetic random access memory (FRAM), a ferromagnetic random access memory, a flash memory, a magnetic surface memory, an optical disc, or a compact disc read-only memory (CD-ROM); the magnetic surface memory can be a disk memory or a tape 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), synchronous static random access memory (SSRAM), 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 dynamic random access memory (SLDRAM, SyncLink Dynamic Random Access Memory), and direct RAM bus random access memory (DRRAM, Direct Rambus Random Access Memory).The memories described in the embodiments of the present application are intended to include, but are not limited to, these and any other suitable types of memories.

[0292] The embodiment of the present application also provides a network function, including a processor and a memory for storing a computer program that can be run on the processor,

[0293] In which, when the processor is used to run the computer program, it executes the steps of any method on the first network function side, or executes the steps of any method on the third network function side, or executes the steps of any method on the second network function side.

[0294] An embodiment of the present application also provides a storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the computer program implements the steps of any method on the first network function side, or implements the steps of any method on the third network function side, or implements the steps of any method on the second network function side.

[0295] In an exemplary embodiment, the embodiment of the present application further provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium, for example, including a first memory 903 storing a computer program, and the computer program can be executed by the first processor 902 of the first network function 900 to complete the steps of the aforementioned first network function side method. For another example, a second memory 1003 storing a computer program is included, and the computer program can be executed by the second processor 1002 of the third network function 1000 to complete the steps of the aforementioned third network function side method. For another example, a third memory 1103 storing a computer program is included, and the computer program can be executed by the third processor 1102 of the second network function 1100 to complete the steps of the aforementioned second network function side method. The computer-readable storage medium can be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disk, or CD-ROM.

[0296] An embodiment of the present application also provides a computer program product, including a computer program, which, when executed by a processor, implements the steps of any method on the first network function side, or implements the steps of any method on the third network function side, or implements the steps of any method on the second network function side.

[0297] It should be noted that: "first", "second", etc. are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. The term "and / or" herein is only a description of the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the term "one or more" herein represents any combination of at least two of any one or more of a plurality of items. For example, including one or more of A, B, and C can represent including any one or at least two or more elements selected from the set consisting of A, B, and C.

[0298] In addition, the technical solutions described in the embodiments of the present application can be combined arbitrarily without conflict.

[0299] The above description is only a preferred embodiment of the present application and is not intended to limit the protection scope of the present application.

Claims

1. A service assurance method, characterized in that: Applied to a first network function, the method comprises: When the terminal is in a roaming state and the quality of service QoS of the first service of the terminal cannot be guaranteed, sending the first information to the second network function; The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

2. The method according to claim 1, characterized in that The method further comprises: When the terminal is in a roaming state and the QoS of the first service of the terminal can be guaranteed, a first request is sent to the second network function, where the first request is used to subscribe to quality difference analysis data.

3. The method according to claim 1 or 2, characterized in that: The method further comprises: Based on the second information, it is determined that the QoS of the first service cannot be guaranteed, or that the QoS of the first service can be guaranteed; the second information indicates the QoS guarantee capability of the visited network of the terminal.

4. The method according to claim 3, characterized in that The second information includes one or more of the following: third information, the third information indicating wireless resources available in a visited network of the terminal; fourth information, the fourth information indicating whether congestion occurs in a visited network of the terminal, or indicating a degree of congestion of the visited network of the terminal; fifth information, the fifth information indicating reserved resources of a visited network of the terminal; sixth information, the sixth information indicating that the visited network of the terminal cannot guarantee the QoS of a second service, where the second service is the same as or belongs to the same category as the first service; a first value, where the first value represents a quotient of the number of second services for which QoS guarantee is invalid and the total number of second services, where the second services are the same as the first services or belong to the same category; a second value, wherein the second value represents a quotient of the first number and the second number; wherein the first number represents the number of invalid guaranteed bit rate GBR bearers, and the second number represents the total number of established GBR bearers; A third value is determined based on historical data, and represents the QoS guarantee success rate of the second service within a first time period and / or in a first network state; wherein, the first time period represents the service period of the first service, the first network state is the same as the current network state of the terminal's visited network or the similarity is greater than or equal to a first threshold, and the second service is the same as the first service or belongs to the same category.

5. The method according to any one of claims 1 to 2 and 4, characterized in that: The method further comprises: When one or more of the following conditions are met, it is determined that the QoS of the first service cannot be guaranteed: The visited network of the terminal is congested; The fourth value is less than or equal to the second threshold, and the fourth value represents the size of the reserved resources of the visited network of the terminal; The fifth value is greater than or equal to the third threshold, and the fifth value represents the number of terminals for which the visited network of the terminal provides QoS guarantee; The QoS guarantee success rate of the second service is less than or equal to a fourth threshold, and the second service is the same as the first service or belongs to the same category; receiving seventh information, wherein the seventh information indicates that an invalid QoS guarantee and / or GBR bearer exists in a visited network of the terminal; The GBR bearer of the second service is deleted, and the second service is the same as the first service or belongs to the same category.

6. A service assurance method, characterized in that: Applied to a third network function, the method comprises: When the terminal is in a roaming state and meets a first condition, a session reestablishment is initiated for the terminal.

7. The method according to claim 6, characterized in that The first condition includes one or more of the following: The terminal does not have a first service in progress, where the first service is a service for which the terminal has a QoS guarantee requirement; First information is received, where the first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, where the first service is a service for which the terminal has a QoS guarantee requirement.

8. The method according to claim 6 or 7, characterized in that: The method further comprises: When the terminal is in a roaming state and receives the eighth information sent by the fourth network function and / or the ninth information sent by the fifth network function, initiating session reconstruction for the terminal; wherein, The fourth network function and the fifth network function are located in the home network of the terminal, the eighth information represents that the terminal does not have an ongoing first service and / or does not have traffic for the first service, and the ninth information indicates that the QoS of the first service of the terminal cannot be guaranteed; the first service is a service for which the terminal has a QoS guarantee requirement.

9. The method according to claim 8, characterized in that The ninth information is sent by the fifth network function when the first information sent by the second network function is received, and the ninth information includes a first identifier; the first identifier indicates that the QoS of the first service of the terminal cannot be guaranteed; the first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal.

10. A service assurance method, characterized in that: Applied to the second network function, the method comprises: receiving first information sent by a first network function; wherein, The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

11. The method according to claim 10, characterized in that The method further comprises: The first information is sent to a fifth network function; the fifth network function is located in a home network of the terminal.

12. A service assurance device, characterized in that: The device comprises: A first sending module, configured to send first information to a second network function when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed; The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

13. A service assurance device, characterized in that: The device comprises: The reestablishment module is used to initiate session reestablishment for the terminal when the terminal is in a roaming state and satisfies a first condition.

14. A service assurance device, characterized in that: The device comprises: A receiving module is used to receive first information sent by a first network function; wherein, The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

15. A first network function, characterized in that: include: A first processor and a first communication interface; wherein, The first communication interface is used to send the first information to the second network function when the terminal is in a roaming state and the QoS of the first service of the terminal cannot be guaranteed; The first information indicates that the visited network of the terminal cannot guarantee the QoS of the first service of the terminal, and is used to trigger or instruct to initiate session reestablishment for the terminal.

16. A third network function, characterized in that: include: A second processor and a second communication interface; wherein, The second processor is configured to initiate session reestablishment for the terminal when the terminal is in a roaming state and the first condition is met.

17. A second network function, characterized in that: include: A third processor and a third communication interface; wherein, The third communication interface is used to receive the first information sent by the first network function; wherein, The first information indicates that a visited network of the terminal cannot guarantee the QoS of a first service of the terminal, and is used to trigger or instruct initiation of session reestablishment for the terminal.

18. A network function, characterized in that comprising a processor and a memory for storing a computer program capable of being executed on the processor, When the processor is used to run the computer program, it executes the steps of the method described in any one of claims 1 to 5, or executes the steps of the method described in any one of claims 6 to 9, or executes the steps of the method described in any one of claims 10 to 11.

19. A storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 5, or the steps of the method described in any one of claims 6 to 9, or the steps of the method described in any one of claims 10 to 11.

20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the computer program implements the steps of the method described in any one of claims 1 to 5, or the steps of the method described in any one of claims 6 to 9, or the steps of the method described in any one of claims 10 to 11.