Core network session response message confirmation method, related system and storage medium

By introducing a session response message confirmation mechanism into the core network, the problem of session response message loss in the EPC system is solved, and message recovery and billing errors are avoided.

CN113015214BActive Publication Date: 2024-12-27ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911321016.1
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-19
Publication Date
2024-12-27
Estimated Expiration
2039-12-19

AI Technical Summary

Technical Problem

In EPC systems, session response messages may be lost, resulting in problems that cannot be recovered.

Method used

By introducing a session response message confirmation mechanism in the core network, receiving request messages for preset sessions, generating response messages, and saving and retransmitting response messages when the confirmation conditions are met, ensuring the recoverability of the message.

Benefits of technology

Responsive messages during sessions are realized, avoiding session billing errors and carrier losses.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113015214B_ABST
    Figure CN113015214B_ABST
Patent Text Reader

Abstract

The core network session response message confirmation method, related system and storage medium provided by the embodiment of the present invention generate a response message of the preset session by receiving a request message of the preset session, and when the response message of the preset session meets the confirmation condition, save the response message of the preset session to form a saved response message of the preset session; send the response message of the preset session; and retransmit the saved response message of the preset session when receiving information for retransmitting the request message. The embodiment of the present invention also provides a core network session response message confirmation method, a core network session response message confirmation system, and a computer-readable storage medium, which have the technical effect that the response message can be recovered during the session in some implementation processes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to but are not limited to the field of mobile communications, and specifically, relate to but are not limited to a core network session response message confirmation method, related devices and storage media. Background Art

[0002] In the EPC system, the control plane and media plane of PGW are unified, and CU (C refers to the control plane and U refers to the media plane) is in the same network element. In the 29.244 protocol, in order to forward messages closer to users, the CU is split into two network elements, SMF and UPF. SMF is responsible for session creation, and UPF is responsible for message forwarding. SMF controls the forwarding behavior of UPF through a series of PDR / FAR / QER / URR rules. Its basic model is as follows: Figure 1 As shown, the N4 / Sx port protocol stack model between SMF and UPF is as follows Figure 2 As shown in the figure, there is a UDP connection between SMF and UPF, that is, the session sending unit and receiving unit are connected by UDP. Since UDP connection is an unreliable connection, no matter what the network conditions are, the message may be lost due to various reasons when it is forwarded between networks. After the response message is lost, it is solved by retransmitting the request message. In this way, the key information elements in the lost response message cannot be recovered. Summary of the invention

[0003] The core network session response message confirmation method, related system and storage medium provided in the embodiment of the present invention mainly solve the technical problem that the response message cannot be restored during the session.

[0004] In order to solve the above technical problems, an embodiment of the present invention provides a method for confirming a core network session response message, wherein the method for confirming a core network session response message is applied to a core network receiving function unit, and the method includes:

[0005] Receive a request message for a preset session and generate a response message for the preset session;

[0006] When the response message of the preset session meets the confirmation condition, saving the response message of the preset session;

[0007] Sending a response message of a preset session;

[0008] When the information for retransmitting the request message is received, the response message of the preset session is retransmitted.

[0009] An embodiment of the present invention further provides a method for confirming a core network session response message, the method for confirming a core network session response message is applied to a core network session sending function unit, the method comprising:

[0010] Sending a request message for a preset session;

[0011] When no response message of the preset session is received, sending information for retransmitting the request message;

[0012] The receiving core network receives a response message of the preset session saved by the functional unit.

[0013] The embodiment of the present invention further provides a core network session response message confirmation system, the core network session response message confirmation system comprising: a session sending function unit, a receiving function unit;

[0014] The session sending functional unit is used to send a request message for a preset session; when no response message for the preset session is received, send information for retransmitting the request message;

[0015] The receiving function unit is used to receive the request message; when the response message of the preset session meets the confirmation condition, save the response message of the preset session; when receiving the information of retransmitting the request message, retransmit the response message of the preset session.

[0016] The embodiment of the present invention also provides a core network session response message confirmation system, the system comprising a processor, a memory and a communication bus;

[0017] The communication bus is used to realize the connection and communication between the processor and the memory;

[0018] The processor is used to execute one or more computer programs stored in the memory to implement the steps of the method for confirming a core network session response message as described above.

[0019] An embodiment of the present invention also provides a computer storage medium, wherein the computer-readable storage medium stores one or more programs, and the one or more programs can be executed by one or more processors to implement the steps of the method for confirming a core network session response message as described above.

[0020] The beneficial effects of the present invention are:

[0021] According to the core network session response message confirmation method, related system and storage medium provided by the embodiment of the present invention, a request message of a preset session is received, and then a response message of the preset session is sent; when the response message of the preset session meets the confirmation condition, the response message of the preset session is saved and the response message of the preset session is sent; when information for retransmitting the request message is received, the response message of the preset session is retransmitted. In some implementation processes, technical effects including but not limited to the recovery of response messages during the session can be achieved.

[0022] Other features and corresponding beneficial effects of the present invention are described in the latter part of the specification, and it should be understood that at least part of the beneficial effects become obvious from the description in the specification of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] Figure 1 A schematic diagram of a model in which SMF controls forwarding of UPF in the prior art;

[0024] Figure 2 It is a schematic diagram of the N4 / Sx port protocol stack model between SMF and UPF in the prior art;

[0025] Figure 3 This is a basic flow chart of a method for confirming a core network session response message according to a first embodiment of the present invention;

[0026] Figure 4 A schematic diagram of adding a response message (SRMC) supporting session messages to the control plane optionally in each embodiment of the present invention;

[0027] Figure 5 A schematic diagram of adding a response message (SRMC) supporting a session message to the media plane that is optional in each embodiment of the present invention;

[0028] Figure 6 A schematic diagram of optionally adding a flag (RMNC) to support response message confirmation required in various embodiments of the present invention;

[0029] Figure 7 A detailed flow chart of a method for confirming a core network session response message according to a second embodiment of the present invention;

[0030] Figure 8 This is a detailed flow chart of the core network session response message confirmation method of embodiment 3 of the present invention;

[0031] Fig. 9 This is a detailed flow chart of the core network session response message confirmation method of the fourth embodiment of the present invention;

[0032] Fig.10 This is a detailed flow chart of the core network session response message confirmation method of Embodiment 5 of the present invention;

[0033] Fig.11 A basic flow chart of another method for confirming a core network session response message according to Embodiment 6 of the present invention;

[0034] Fig.12 A schematic diagram of sending a response confirmation message for adding a session in various embodiments;

[0035] Fig.13 This is a detailed flow chart of the method for confirming a core network session response message according to Embodiment 7 of the present invention;

[0036] Fig.14 This is a schematic diagram of the composition of a core network session response message confirmation system according to Embodiment 6 of the present invention;

[0037] Fig.15 A structural diagram of a core network session response message confirmation system for implementing ninth embodiment of the present invention;

[0038] Fig.16 This is a structural diagram of another core network session response message confirmation system according to Embodiment 9 of the present invention. DETAILED DESCRIPTION

[0039] In order to make the purpose, technical solution and advantages of the present invention more clearly understood, the following is a further detailed description of the embodiments of the present invention through specific implementation methods combined with the accompanying drawings. It should be understood that the specific embodiments described herein are only used to explain the present invention and are not used to limit the present invention.

[0040] Embodiment 1:

[0041] In order to solve the problem that the response message cannot be restored during the session, the present invention provides a method for confirming a core network session response message, and the method proposed by the present invention is described below in conjunction with an embodiment.

[0042] See also Figure 3 , Figure 3 A basic flow chart of a method for confirming a core network session response message provided in Embodiment 1 of the present invention, the method comprising:

[0043] S301: Receive a request message for a preset session, and generate a response message for the preset session.

[0044] In this embodiment, the method is applied to the receiving function unit of the core network, and the receiving function unit may be the control plane or the media plane of the core network. When the session sending unit of the core network is the control plane of the core network, the media plane of the core network is the receiving function unit of the core network; when the session sending unit of the core network is the media plane of the core network, the control plane of the core network is the receiving function unit of the core network. The control plane of the core network may be SMF (Session Management Function) or GW-C, and the media plane of the core network may be UPF (User Plane Function) or GW-U. In this embodiment, the control plane of the core network and the media plane of the core network are not limited to the above four network elements. The preset session may be session establishment, session modification, session deletion, or session report, etc. When the preset session is session modification, it includes at least one of the following: user location movement, authorized QoS change, and access mode change. When the preset session is session modification or session report, the request message of the preset session includes the usage information required for the session modification or session report triggering. Before receiving the request message of the preset session, it may also include: establishing a basic session connection of the control plane or media plane of the core network. That is, the core network control plane sends a session establishment request to the core network media plane, and the core network media plane feeds back a session establishment response to the core network control plane, thereby completing the basic session connection.

[0045] S302: When the response message of the preset session meets the confirmation condition, the response message of the preset session is saved to form a saved response message of the preset session.

[0046] In this embodiment, the confirmation condition includes: when the session sending function unit and the receiving function unit send association request messages and / or association response messages to each other, adding a response message confirmation of the session message to the function feature unit of the session sending function unit and the function feature unit of the receiving function unit. In this embodiment, when the session sending function unit is the core network control plane, the receiving function unit is the core network media plane; when the session sending function unit is the core network media plane, that is, the receiving function unit is the core network control plane. When the response message of the preset session meets the confirmation condition, the response message of the preset session is saved. That is, before the response message of the preset session is saved, the control plane and the media plane negotiate, wherein the negotiation process is a negotiation of confirmation conditions, and the process includes: the control plane sends an association setting request and / or an association update request to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit (CP FunctionFeatures) of the control plane; the media plane sends back an association setting response and / or an association update response, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit (UP Function Features) of the media plane; the media plane sends an association setting request and / or an association update request to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit (UP Function Features) of the media plane. The control plane sends back an association setup response and / or an association update response to the media plane. If the control plane supports response message confirmation, the session response message confirmation (SRMC) flag is set in the function feature unit of the control plane. Figure 4 , the function feature unit on the media plane is set as the response message confirmation of the session message. Figure 5 shown.

[0047] In this embodiment, saving the response message of the preset session may include: when the response message of the preset session includes a usage report, saving the response message of the preset session. Saving the response message of the preset session may also be to directly add a flag indicating that the response message needs to be confirmed to the response message of the preset session for saving, thereby forming a saved response message of the preset session. Saving the response message of the preset session may also include: when the response message of the preset session includes a usage report, adding a flag indicating that the response message needs to be confirmed (RMNC, Response Message Need Confirm) to the response message of the preset session for saving, thereby forming a saved response message of the preset session. The addition of RMNC such as Figure 6 As shown, by extending the PFCP Header for Session Related Messages field in the 29244 protocol, the reserved bit 3 is used to add a flag that supports the response message need confirmation (Response Message Need Confirm, RMNC). It is worth noting that the addition of RMNC is not limited to the above bit 3, and other idle bits can be used to add RMNC. Other similar effects are achieved by extending similar fields in the Session Establishment message, Session Modification message, Session Deletion message, and Session Report message, all of which are within the scope of protection of this patent.

[0048] S303: Send a response message of the preset session.

[0049] In this embodiment, the receiving function unit sends a response message of the preset session to the session sending function unit.

[0050] S304: When receiving information that the session sending unit retransmits the request message of the preset session, retransmit the saved response message of the preset session.

[0051] After retransmitting the saved response message of the preset session, the method may further include: upon receiving a response confirmation message of the preset session, deleting the saved response message of the preset session.

[0052] In this embodiment, after saving the response message of the preset session, the method may further include: starting a timer. When receiving a request message for retransmitting the preset session, the saved response message of the preset session is retransmitted, and then when receiving a response confirmation message of the preset session sent by the session sending unit, the timer is stopped and the cached response message of the preset session is deleted. Among them, after starting the timer and retransmitting the saved response message of the preset session, the method may further include: when the timer exceeds the preset time, the saved response message of the preset session may be deleted.

[0053] In this embodiment, when the timer exceeds the preset time and no information is received from the session sending function unit for retransmitting the preset session request message and / or no response confirmation message is received from the session sending function unit, the saved preset session response message is deleted.

[0054] The method for confirming a core network session response message provided by an embodiment of the present invention receives a request message of a preset session from a session sending function unit through a receiving function unit. The receiving function unit generates a request message for session modification, and when the response message of the preset session meets the confirmation condition, the response message of the preset session is saved, and the response message of the preset session is fed back to the session sending function unit. Then, when the receiving function unit receives information of a retransmission request message, the saved response message of the preset session is retransmitted. The technical effect of being able to recover after the response message is lost during the session is achieved, thereby avoiding errors in session billing and causing losses to the operator.

[0055] Embodiment 2:

[0056] The method for confirming a core network session response message in an embodiment of the present invention achieves the technical effect of restoring a response message during a session. For ease of understanding, the method of the present invention is described below in conjunction with an application scenario of session modification.

[0057] Figure 7 A detailed flow chart of a core network session response message confirmation method provided in Embodiment 2 of the present invention, the method comprising:

[0058] S701: Receive a session modification request message, and generate a session modification response message.

[0059] In this embodiment, the method is applied to a receiving function unit of a core network, and the receiving function unit is a media plane UPF of the core network. The request message for session modification includes usage information required for triggering.

[0060] Before receiving the request message for session modification, the process also includes: establishing a basic session connection between the core network UPF and the SMF, that is, the SMF sends a session establishment request to the UPF, and the UPF feeds back a session establishment response to the SMF, thereby completing the basic session connection.

[0061] S702: When the session modification response message meets the confirmation condition, a flag indicating that the response message needs to be confirmed is directly added to the session modification response message for storage, thereby forming a stored session modification response message.

[0062] In this embodiment, before the flag that the response message needs to be confirmed is directly added to the response message of the session modification for storage, the control plane and the media plane negotiate, wherein the negotiation process is the negotiation of confirmation conditions, and the process includes: the control plane sends an association setting request and / or an association update request to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the functional feature unit of the control plane; the media plane sends back an association setting response and / or an association update response to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the functional feature unit of the media plane; the media plane sends an association setting request and / or an association update request to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the functional feature unit of the media plane. The control plane sends back an association setup response and / or an association update response to the media plane. If the control plane supports response message confirmation, the session message response message confirmation (SRMC) flag is set in the function feature unit of the control plane. The function feature unit of the control plane is set to the session message response message confirmation flag. Figure 4 , the function feature unit on the media plane is set as the response message confirmation of the session message. Figure 5 shown.

[0063] S703: Send a session modification response message.

[0064] S704: When receiving information about the retransmission session modification request message, retransmit the saved session modification response message.

[0065] S705: When receiving the response confirmation message of the preset session, delete the saved response message of the preset session.

[0066] The method for confirming a core network session response message provided by an embodiment of the present invention receives a request message for session modification, then generates a request message for session modification, and when the response message for session modification meets the confirmation condition, directly adds a flag indicating that the response message needs to be confirmed to the response message for session modification for storage, and then sends the response message for session modification, and when receiving information for retransmitting the request message for session modification, retransmits the saved response message for session modification, and deletes the saved response message for the preset session after receiving the response confirmation message for the preset session. The technical effect of being able to recover after the response message is lost during the session is achieved, avoiding errors in session billing and losses to operators.

[0067] Embodiment three:

[0068] The method for confirming a core network session response message in an embodiment of the present invention achieves the technical effect of restoring a response message during a session. For ease of understanding, the method of the present invention is described below in conjunction with an application scenario of session modification.

[0069] Figure 8 A detailed flow chart of a core network session response message confirmation method provided in Embodiment 3 of the present invention, the method comprising:

[0070] S801: Receive a session modification request message.

[0071] In this embodiment, the method is applied to a receiving function unit of a core network, and the receiving function unit is a media plane UPF of the core network. The request message for session modification includes usage information required for triggering the session modification.

[0072] Before receiving the request message for session modification, the process also includes: establishing a basic session connection between the core network UPF and the SMF, that is, the SMF sends a session establishment request to the UPF, and the UPF feeds back a session establishment response to the SMF, thereby completing the basic session connection.

[0073] S802: Generate a session modification response message.

[0074] S803: Determine whether the response message of the session modification satisfies the confirmation condition.

[0075] In this embodiment, the confirmation condition is the negotiation of the control plane and the media plane. The process includes: the control plane sends an association setting request and / or an association update request to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the control plane; the media plane sends back an association setting response and / or an association update response to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the media plane; the media plane sends an association setting request and / or an association update request to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the media plane; the control plane sends back an association setting response and / or an association update response to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the control plane, and the above-mentioned function feature unit of the control plane is set as the response message confirmation of the session message. Figure 4 ; The function feature unit on the media plane is set to the response message confirmation of the session message. Figure 5 When the response message satisfying the session modification meets the confirmation condition, S804 is executed, otherwise S809 is executed.

[0076] S804: Add the confirmation flag required by the response message to the response message of the session modification for storage, and start a timer.

[0077] S805: Send a response message of the saved session modification.

[0078] S806: Detect whether information about the request message for retransmitting the session modification is received and whether there is a saved response message for the session modification.

[0079] In this embodiment, when information of a request message for retransmitting session modification is received and the receiving unit saves a response message for session modification, S807 is executed; when information of a request message for retransmitting session modification is received but the receiving unit does not save a response message for session modification, S810 is executed.

[0080] S807: Retransmit the saved session modification response message.

[0081] S808: When receiving the session modification response confirmation message, terminate the timing of the timer and delete the saved session modification response message.

[0082] S809: Send a session modification response message.

[0083] In this step, the session modification response message sent is not the saved session modification response message, but the session modification response message originally to be fed back to the session sending unit.

[0084] S810: Retransmit the session modification request message.

[0085] S811, end.

[0086] The method for confirming a core network session response message provided by an embodiment of the present invention receives a request message for session modification, then generates a request message for session modification, and when the response message for session modification meets the confirmation condition, adds the confirmation flag required by the response message to the response message for session modification for storage, starts a timer, sends the saved response message for session modification, and then receives information for retransmitting the request message for session modification, and when the receiving unit saves the response message for session modification, retransmits the saved response message for session modification. When the response confirmation message for session modification is received, the timing of the timer is terminated and the saved response message for the preset session is deleted. When the response message for session modification does not meet the confirmation condition, the response message for session modification is sent, and when the information for retransmitting the request message for session modification is received, the request message for session modification is retransmitted. The method realizes that the response message can be recovered after being lost during the session, avoiding errors in session billing. The cached response message is deleted after the response message is effectively retransmitted, and the technical effect of not occupying extra space is achieved.

[0087] Embodiment 4:

[0088] The method for confirming a core network session response message in an embodiment of the present invention achieves the technical effect of recovering a response message during a session. For ease of understanding, the method of the present invention is described below in conjunction with an application scenario of session deletion.

[0089] Fig. 9 A detailed flow chart of a method for confirming a core network session response message provided in Embodiment 4 of the present invention, the method comprising:

[0090] S901. Receive a session deletion request message, and generate a session deletion response message.

[0091] In this embodiment, the method is applied to a receiving function unit of the core network, and the receiving function unit is a media plane UPF of the core network. Before receiving a request message for session deletion, the method may also include: establishing a basic session connection between the core network UPF and the SMF. That is, the SMF sends a session establishment request to the UPF, and the UPF feeds back a session establishment response to the SMF, thereby completing the basic session connection.

[0092] S902: Determine whether the response message of the session deletion satisfies the confirmation condition.

[0093] In this embodiment, the confirmation condition is the negotiation of the control plane and the media plane. The process includes: the control plane sends an association setting request and / or an association update request to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the control plane; the media plane sends back an association setting response and / or an association update response to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the media plane; the media plane sends an association setting request and / or an association update request to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the media plane; the control plane sends back an association setting response and / or an association update response to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the control plane, and the above-mentioned function feature unit of the control plane is set as the response message confirmation of the session message. Figure 4 ; The function feature unit on the media plane is set to the response message confirmation of the session message. Figure 5 When the response message for session deletion meets the confirmation condition, S903 is executed, otherwise S908 is executed.

[0094] S903: Add the confirmation flag required by the response message to the response message of the session deletion for storage, and start a timer.

[0095] S904: Send a response message of deleting the saved session.

[0096] S905: Detect whether information about a request message for retransmitting session deletion is received and whether there is a response message for saving session deletion.

[0097] In this embodiment, when information of a request message for retransmitting session deletion is received and the receiving unit saves a response message for session deletion, S906 is executed; when information of a request message for retransmitting session deletion is received but the receiving unit does not save a response message for session deletion, S909 is executed.

[0098] S906: Retransmit the response message of the saved session deletion.

[0099] S907: When the timer exceeds the preset time and no response confirmation message of the session deletion is received, the response message of the saved preset session is deleted.

[0100] S908: Send a response message of session deletion.

[0101] In this step, the session deletion response message sent is not the saved session deletion response message, but the session deletion response message originally to be fed back to the session sending unit.

[0102] S909: Retransmit the session deletion request message.

[0103] S910, end.

[0104] The method for confirming a core network session response message provided by an embodiment of the present invention receives a request message for session deletion, then generates a request message for session deletion, and when the response message for session deletion meets the confirmation condition, adds the confirmation flag required by the response message to the response message for session deletion for storage, starts a timer, sends the saved response message for session deletion, and then receives information for retransmitting the request message for session deletion, and when the receiving unit saves the response message for session deletion, retransmits the saved response message for session deletion. When the timer exceeds the preset time and the response confirmation message for session deletion is not received, the saved response message for the preset session is deleted. When the response message for session deletion does not meet the confirmation condition, a response message for session deletion is sent, and when information for retransmitting the request message for session deletion is received, the request message for session deletion is retransmitted. The technical effect that the response message can be recovered after being lost during the session, the cached response message is deleted after the response message is effectively retransmitted, and no extra space is occupied is achieved, thereby avoiding errors in session billing and causing losses to operators.

[0105] Embodiment five:

[0106] The method for confirming a core network session response message in an embodiment of the present invention achieves the technical effect of restoring a response message during a session. For ease of understanding, the method of the present invention is described below in conjunction with an application scenario of a session report.

[0107] Fig.10 A detailed flow chart of a core network session response message confirmation method provided in Embodiment 5 of the present invention, the method comprising:

[0108] S1001. Receive a session report request message, and generate a session report response message.

[0109] In this embodiment, the method is applied to a receiving unit of a core network, and the receiving unit is a control plane SMF of the core network. The request message of the session report includes usage information required for triggering the session report.

[0110] Before receiving the request message of the session report, the process also includes: establishing a basic session connection between the core network UPF and the SMF, that is, the SMF sends a session establishment request to the UPF, and the UPF feeds back a session establishment response to the SMF, thereby completing the basic session connection.

[0111] S1002: Determine whether the response message of the session report satisfies a confirmation condition.

[0112] In this embodiment, the confirmation condition is the negotiation of the control plane and the media plane. The process includes: the control plane sends an association setting request and / or an association update request to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the control plane; the media plane sends back an association setting response and / or an association update response to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the media plane; the media plane sends an association setting request and / or an association update request to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the media plane; the control plane sends back an association setting response and / or an association update response to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit of the control plane, and the above-mentioned function feature unit of the control plane is set as the response message confirmation of the session message. Figure 4 ; The function feature unit on the media plane is set to the response message confirmation of the session message. Figure 5 When the response message of the session report meets the confirmation condition, S1003 is executed, otherwise S1008 is executed.

[0113] S1003: Add a confirmation flag required for the response message to the response message of the session report for storage, and start a timer.

[0114] S1004: Send a response message of the saved session report.

[0115] S1005: Detect whether a request message for retransmitting the session report is received and whether a response message for saving the session report is received.

[0116] In this embodiment, when information of a request message for retransmitting a session report is received and the receiving unit saves a response message for the session report, S1006 is executed; when information of a request message for retransmitting a session report is received but the receiving unit does not save a response message for the session report, S1009 is executed.

[0117] S1006: Retransmit the saved response message of the session report.

[0118] S1007: When receiving the response confirmation message of the session report, terminate the timing of the timer and delete the saved response message of the session report.

[0119] S1008. Send a response message of the session report.

[0120] In this step, the response message for sending the session report is not the response message for the saved session report, but the response message for the session report originally to be fed back to the session sending unit.

[0121] S1009: Retransmit the session report request message.

[0122] S1010, end.

[0123] The method for confirming a core network session response message provided by an embodiment of the present invention receives a request message for a session report, then generates a request message for a session report, and when the response message for the session report meets the confirmation condition, adds the confirmation flag required by the response message to the response message for the session report for storage, starts a timer, sends the saved response message for the session report, and then receives information for retransmitting the request message for the session report, and when the receiving unit saves the response message for the session report, retransmits the saved response message for the session report. When the response confirmation message for the session report is received, the timing of the timer is terminated and the saved response message for the preset session is deleted. When the response message for the session report does not meet the confirmation condition, the response message for the session report is sent, and when the information for retransmitting the request message for the session report is received, the request message for the session report is retransmitted. The method realizes that the response message can be recovered after being lost during the session, thereby avoiding errors in session billing. The cached response message is deleted after the response message is effectively retransmitted, and the technical effect of not occupying extra space is achieved.

[0124] Embodiment six:

[0125] In order to solve the problem that the response message cannot be restored during the session, the present invention provides a method for confirming a core network session response message, and the method proposed by the present invention is described below in conjunction with an embodiment.

[0126] See also Fig.11 , Fig.11 A basic flow chart of a method for confirming a core network session response message provided in Embodiment 6 of the present invention, the method comprising:

[0127] S1101: Send a request message for a preset session.

[0128] In this embodiment, the method is applied to the session sending function unit of the core network, and the session sending function unit may be the control plane or the media plane of the core network. When the session sending function unit of the core network is the control plane of the core network, the media plane of the core network is the receiving function unit of the core network; when the session sending unit of the core network is the media plane of the core network, the control plane of the core network is the receiving unit of the core network. The control plane of the core network may be SMF (Session Management Function) or GW-C, and the media plane of the core network may be UPF (User Plane Function) or GW-U. In this embodiment, the control plane of the core network and the media plane of the core network are not limited to the above four network elements. The preset session may be session establishment, session modification, session deletion, or session report, etc. When the preset session is session modification, it includes at least one of the following: user location movement, authorized QoS change, and access mode change. When the preset session is session modification or session report, the request message of the preset session includes the usage information required for the session modification or session report triggering. Before receiving the request message of the preset session, it may also include: establishing a basic session connection of the control plane or the media plane of the core network. That is, the core network control plane sends a session establishment request to the core network media plane, and the core network media plane feeds back a session establishment response to the core network control plane, thereby completing the basic session connection.

[0129] In this embodiment, after sending the request message for the preset session, it also includes: sending association request messages and association response messages to each other with the core network receiving unit, and adding a response message confirmation of the session message to the functional feature unit of the session sending unit and the functional feature unit of the receiving unit. That is, the control plane sends an association setting request and / or an association update request to the media plane. If the control plane supports response message confirmation, a session message response message confirmation (SRMC) flag is set in the function feature unit (CP Function Features) of the control plane; the media plane sends back an association setting response and / or an association update response. If the media plane supports response message confirmation, a session message response message confirmation (SRMC) flag is set in the function feature unit (UP Function Features) of the media plane; the media plane sends an association setting request and / or an association update request to the control plane. If the media plane supports response message confirmation, a session message response message confirmation (SRMC) flag is set in the function feature unit of the media plane; the control plane sends back an association setting response and / or an association update response. If the control plane supports response message confirmation, a session message response message confirmation (SRMC) flag is set in the function feature unit of the control plane. The above-mentioned function characteristic unit in the control plane is set as the response message confirmation of the session message. Figure 4 , the function feature unit on the media plane is set as the response message confirmation of the session message. Figure 5 shown.

[0130] S1102: When no response message of the preset session is received, information of retransmitting a request message of the preset session is sent.

[0131] S1103: Receive a response message of the saved preset session sent by the core network receiving function unit.

[0132] In this embodiment, receiving a response message of a preset session is receiving a response message of a preset session saved and sent by a core network receiving function unit. Receiving a response message of a preset session may also include: receiving a response message of a preset session saved and sent by a core network receiving function unit, wherein the response message includes a flag (RMNC) indicating that the response message needs to be confirmed, such as Figure 6When the flag that the response message in the response message of the preset session needs to be confirmed is valid, a response confirmation message of the session is sent. The response confirmation message of the session can be a new session response confirmation message (Session Response Confirm) based on the 29244 protocol, which is used to confirm that the response message has been received. The confirmation message can be a response confirmation message that carries a message header to identify the session, such as Fig.12 shown.

[0133] The method for confirming a core network session response message provided by an embodiment of the present invention includes sending a request message of a preset session to a receiving function unit through a core network session sending function unit; when a response message of the preset session fed back by the receiving function unit is not received, information of retransmitting the request message of the preset session is sent to the receiving function unit, and a response message of the preset session resent by the receiving function unit is received. The technical effect of being able to recover after the response message is lost during the session is achieved.

[0134] Embodiment seven:

[0135] The method for confirming a core network session response message in an embodiment of the present invention achieves the technical effect of restoring a response message during a session. For ease of understanding, the method of the present invention is described below in conjunction with an application scenario of session establishment.

[0136] See also Fig.13 , Fig.13 A detailed flow chart of a method for confirming a core network session response message provided in Embodiment 7 of the present invention, the method is applied to a core network session sending unit, and the method includes:

[0137] S1301. Send a request message for establishing a session.

[0138] In this embodiment, the core network session sending functional unit is SMF.

[0139] S1302: Detect whether a response message for session establishment is received.

[0140] In this embodiment, when the SMF receives a response message for session establishment, S1307 is executed, otherwise S1303 is executed.

[0141] S1303: Send information of a request message for retransmitting session establishment.

[0142] In this embodiment, the SMF sends information of a request message for retransmitting the session establishment to the UPF.

[0143] S1304. Receive a response message of session establishment saved by a core network receiving unit.

[0144] In this embodiment, SMF receives the response message of session establishment fed back by UPF, and the response message of session establishment fed back by UPF is the response message of session establishment saved by UPF when generating the response message of session establishment and satisfying the confirmation condition, wherein the saved response message of session establishment includes the response message of session establishment requiring confirmation flag (RMNC flag), such as Figure 6 shown.

[0145] S1305: Check whether the response message for session establishment needs to confirm whether the flag is valid.

[0146] In this embodiment, when it is detected that the flag that the response message of the session establishment needs to be confirmed is valid, S1306 is executed; otherwise, S1307 is executed.

[0147] S1306: Send a response confirmation message for the session.

[0148] In this embodiment, SMF sends a session response confirmation message to UPF. The sent session response confirmation message may be a session response confirmation message (Session ResponseConfirm) added on the basis of the 29244 protocol to confirm that the response message has been received. The confirmation message may be a response confirmation message carrying a message header to identify the session, such as Fig.12 shown.

[0149] S1307, end.

[0150] The method for confirming a core network session response message provided by an embodiment of the present invention sends a request message for session establishment to UPF through SMF, and when the response message for session establishment is not received, information for retransmitting the request message for session establishment is sent to UPF, and then SMF receives the response message for session establishment, and when it detects that the confirmation flag required for the response message for session establishment is valid, it sends a response confirmation message for the session to UPF. The technical effect of being able to recover after the response message is lost during the session is achieved, avoiding errors in session billing and causing losses to operators.

[0151] Embodiment eight:

[0152] In order to solve the problem that the response message cannot be restored during the session, the present invention provides a core network session response message confirmation system, and the system proposed by the present invention is described below in conjunction with an embodiment.

[0153] See also Fig.14 , Fig.14 A schematic diagram of the core network session response message confirmation system provided in Embodiment 8 of the present invention, the system comprising: a session sending function unit 1401, a receiving function unit 1402;

[0154] The session sending function unit 1401 is used to send a request message for a preset session; when no response message for the preset session is received, send information for retransmitting the request message for the preset session;

[0155] The receiving function unit 1402 is used to receive a request message for a preset session and generate a response message for the preset session; when the response message for the preset session meets the confirmation condition, the response message for the preset session is saved to form a saved response message for the preset session; the receiving function unit is also used to retransmit the saved response message for the preset session when receiving information for retransmitting the request message for the preset session.

[0156] In this embodiment, the session sending function unit includes a first function feature unit, the receiving function unit includes a second function feature unit, and the confirmation condition includes: when the session sending function unit and the receiving function unit send association request messages and association response messages to each other, a response message confirmation of the session message is added to the first function feature unit and the second function feature unit. That is, the control plane and the media plane have a negotiation, wherein the negotiation process is a negotiation of confirmation conditions, and the process includes: the control plane sends an association setting request and / or an association update request to the media plane, and if the control plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit (CP Function Features) of the control plane; the media plane sends back an association setting response and / or an association update response to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit (UP Function Features) of the media plane; the media plane sends an association setting request and / or an association update request to the control plane, and if the media plane supports response message confirmation, a response message confirmation (SRMC, Session Response Message Confirm) flag of the session message is set in the function feature unit (UP Function Features) of the media plane. The control plane sends back an association setup response and / or an association update response to the media plane. If the control plane supports response message confirmation, the session response message confirmation (SRMC) flag is set in the function feature unit of the control plane. Figure 4 , the function feature unit on the media plane is set as the response message confirmation of the session message. Figure 5 shown.

[0157] The receiving functional unit also includes a timer, which is used to save the response message of the preset session in the receiving unit and start the timer. The timer may not be included in the receiving unit, but may be included in the system and outside the receiving unit. The receiving functional unit can control the timer to start.

[0158] The receiving function unit may also be used to add a response message confirmation requirement to the header field of the session-related message of the message forwarding control protocol, and saving the response message of the preset session may include: adding a response message confirmation requirement flag (RMNC) to the response message of the preset session for saving. Figure 6 shown.

[0159] The session sending function unit can also be used to receive the response message of the preset session saved by the receiving unit, and when the flag that the response message needs to be confirmed is valid, send the response confirmation message of the session, such as Fig.12 As shown;

[0160] The receiving function unit may also be configured to delete the saved response message of the preset session upon receiving the response confirmation message.

[0161] In this embodiment, the receiving function unit and the session sending function unit may be the control plane or the media plane of the core network. When the session sending unit of the core network is the control plane of the core network, the media plane of the core network is the receiving unit of the core network; when the session sending unit of the core network is the media plane of the core network, the control plane of the core network is the receiving unit of the core network. The control plane of the core network may be SMF (Session Management Function) or GW-C, and the media plane of the core network may be UPF (User Plane Function) or GW-U. In this embodiment, the control plane of the core network and the media plane of the core network are not limited to the above four network elements. The preset session may be session establishment, session modification, session deletion, or session report, etc. When the preset session is session modification, it includes at least one of the following: user location movement, authorized QoS change, and access mode change. When the preset session is session modification or session report, the request message of the preset session includes the usage information required for the session modification or session report trigger.

[0162] The method for confirming a core network session response message provided by an embodiment of the present invention receives a request message of a preset session from a session sending function unit through a receiving function unit. The receiving function unit generates a request message for session modification, and when the response message of the preset session meets the confirmation condition, the response message of the preset session is saved to form a saved response message of the preset session. When the receiving function unit receives information that the session sending function unit sends a request message for retransmission to the receiving function unit, the saved response message of the preset session is retransmitted. The technical effect of being able to recover after the response message is lost during the session is achieved, thereby avoiding errors in session billing and causing losses to the operator.

[0163] Embodiment nine:

[0164] In order to solve the problem that the response message cannot be restored during the session, the present invention provides a core network session response message confirmation system, and the system proposed by the present invention is described below in conjunction with an embodiment.

[0165] See also Fig.15 , Fig.15 A schematic diagram of the structure of a core network session response message confirmation system provided in Embodiment 9 of the present invention, the system comprising: a processor 1501, a memory 1502 and a communication bus 1503, wherein:

[0166] The communication bus 1503 is used to realize the connection and communication between the processor 1501 and the memory 1502;

[0167] The processor 1501 is used to execute one or more computer programs stored in the memory 1502 to implement at least one step in any one of the core network session response message confirmation methods in the above-mentioned embodiments 1 to 5.

[0168] See also Fig.16 , Fig.16 A schematic diagram of another core network session response message confirmation system structure provided in Embodiment 9 of the present invention, the system includes: a processor 1601, a memory 1602 and a communication bus 1603, wherein:

[0169] The communication bus 1603 is used to realize the connection and communication between the processor 1601 and the memory 1602;

[0170] The processor 1601 is used to execute one or more computer programs stored in the memory 1602 to implement at least one step in the method for confirming a core network session response message in the above-mentioned embodiment 6 and embodiment 7.

[0171] The present embodiment also provides a computer-readable storage medium, which includes volatile or non-volatile, removable or non-removable media implemented in any method or technology for storing information (such as computer-readable instructions, data structures, computer program modules or other data). Computer-readable storage media include, but are not limited to, RAM (Random Access Memory), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable read only memory), flash memory or other memory technology, CD-ROM (Compact Disc Read-Only Memory), digital versatile disk (DVD) or other optical disk storage, magnetic cassettes, magnetic tapes, magnetic disk storage or other magnetic storage devices, or any other medium that can be used to store desired information and can be accessed by a computer.

[0172] The computer-readable storage medium in this embodiment can be used to store one or more computer programs, and the one or more computer programs stored therein can be executed by a processor to implement at least one step of the method for confirming a core network session response message in any one of the above-mentioned embodiments one to five.

[0173] The computer-readable storage medium in this embodiment can be used to store one or more computer programs, and the one or more computer programs stored therein can be executed by a processor to implement at least one step of the method for confirming a core network session response message in the above-mentioned embodiments six and seven.

[0174] It can be seen that those skilled in the art should understand that all or some of the steps, systems, and functional modules / units in the above disclosed methods can be implemented as software (which can be implemented with computer program code executable by a computing device), firmware, hardware, and appropriate combinations thereof. In hardware implementations, the division between the functional modules / units mentioned in the above description does not necessarily correspond to the division of physical components; for example, a physical component can have multiple functions, or a function or step can be performed by several physical components in cooperation. Some or all physical components can be implemented as software executed by a processor, such as a central processing unit, a digital signal processor, or a microprocessor, or implemented as hardware, or implemented as an integrated circuit, such as an application-specific integrated circuit.

[0175] In addition, it is well known to those skilled in the art that communication media generally contain computer readable instructions, data structures, computer program modules or other data in modulated data signals such as carrier waves or other transmission mechanisms, and may include any information delivery media. Therefore, the present invention is not limited to any specific hardware and software combination.

[0176] The above contents are further detailed descriptions of the embodiments of the present invention in combination with specific implementation methods, and it cannot be determined that the specific implementation of the present invention is limited to these descriptions. For ordinary technicians in the technical field to which the present invention belongs, several simple deductions or substitutions can be made without departing from the concept of the present invention, which should be regarded as falling within the protection scope of the present invention.

Claims

1. A method for confirming a core network session response message, the method for confirming a core network session response message being applied to a core network receiving function unit, the method comprising: Receive a request message for a preset session and generate a response message for the preset session; When the response message of the preset session meets the confirmation condition, adding a flag indicating that the response message needs to be confirmed to the response message of the preset session for storage, thereby forming a saved response message of the preset session; Sending a response message of the preset session; When receiving information for retransmitting the request message, retransmitting the saved response message of the preset session; Among them, the core network includes a core network session sending functional unit and a core network receiving functional unit, and the confirmation conditions include: the session sending functional unit and the receiving functional unit send association request messages and association response messages to each other, and add response message confirmation of the session message to the functional feature unit of the session sending functional unit and the functional feature unit of the receiving functional unit.

2. The method for confirming a core network session response message as claimed in claim 1, characterized in that: Adding a flag indicating that the response message needs to be confirmed to the response message of the preset session for storage includes: when the response message of the preset session includes a usage report, adding a flag indicating that the response message needs to be confirmed to the response message of the preset session for storage.

3. The method for confirming a core network session response message as claimed in claim 1, characterized in that: The step of adding a flag indicating that the response message needs to be confirmed to the response message of the preset session for storage further includes: starting a timer.

4. The method for confirming a core network session response message as claimed in claim 1, characterized in that: After retransmitting the saved response message of the preset session, the method further includes: When the response confirmation message of the preset session is received, the saved response message of the preset session is deleted.

5. The method for confirming a core network session response message as claimed in claim 3, characterized in that: After retransmitting the saved response message of the preset session, the method further includes: When the response confirmation message of the preset session is received, the timing of the timer is stopped and the saved response message of the preset session is deleted.

6. A method for confirming a core network session response message, the method for confirming a core network session message being applied to a core network session sending function unit, the method comprising: Sending a request message for a preset session; When no response message of the preset session is received, sending information for retransmitting the request message; receiving a response message of the saved preset session sent by the core network receiving function unit, and sending a response confirmation message of the session when a response message confirmation flag in the response message of saving the preset session is valid; After sending the request message for the preset session, the method further includes: sending association request messages and association response messages to each other with the core network receiving function unit, and adding response message confirmation of the session message to the function feature unit of the session sending function unit and the function feature unit of the receiving function unit.

7. A core network session response message confirmation system, the core network session response message confirmation system comprising: A session sending functional unit and a receiving functional unit; The session sending functional unit is used to send a request message for a preset session; When no response message of the preset session is received, sending information for retransmitting the request message; The receiving function unit is used to receive the request message and generate a response message of the preset session; It is also used to add a response message that needs to be confirmed in the header field of the session-related message of the message forwarding control protocol; when the response message of the preset session meets the confirmation condition, a flag that the response message needs to be confirmed is added to the response message of the preset session for storage, so as to form a saved response message of the preset session; when the information of retransmitting the request message is received, the saved response message of the preset session is retransmitted; Among them, the session sending function unit includes a first function feature unit, the receiving function unit includes a second function feature unit, and the confirmation condition includes: when the session sending function unit and the receiving function unit send association request messages and association response messages to each other, a response message confirmation of the session message is added to the first function feature unit and the second function feature unit.

8. The core network session response message confirmation system according to claim 7, characterized in that: The receiving function unit also includes a timer; the timer is used to save the response message of the preset session in the receiving function unit and start the timer.

9. The core network session response message confirmation system according to claim 7, characterized in that: The session sending functional unit is further configured to receive a response message of the preset session, and when the flag indicating that the response message needs to be confirmed is valid, send a response confirmation message of the session; The receiving function unit is further configured to delete the saved response message of the preset session upon receiving the response confirmation message.

10. A core network session response message confirmation system, the system comprising a processor, a memory and a communication bus; The communication bus is used to realize the connection and communication between the processor and the memory; The processor is configured to execute one or more computer programs stored in the memory to implement the steps of the method for confirming a core network session response message according to any one of claims 1 to 5.

11. A core network session response message confirmation system, the system comprising a processor, a memory and a communication bus; The communication bus is used to realize the connection and communication between the processor and the memory; The processor is used to execute one or more computer programs stored in the memory to implement the steps of the method for confirming a core network session response message as claimed in claim 6.

12. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the steps of the method for confirming a core network session response message as described in any one of claims 1 to 5.

13. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores one or more computer programs, and the one or more computer programs can be executed by one or more processors to implement the steps of the method for confirming a core network session response message as described in claim 6.