A conversation message interaction method, device and computer-readable storage medium

By introducing a support for session reporting message mechanism in the EPC system, the key information loss problem caused by unreliable transmission of messages between CUs is solved, the reliability of message transmission is improved, and the usage loss and billing errors are avoided.

CN112995260BActive Publication Date: 2024-12-10ZTE CORP
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN201911304402.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2019-12-17
Publication Date
2024-12-10
Estimated Expiration
2039-12-17

AI Technical Summary

Technical Problem

In EPC systems, unreliable transmission of messages between CUs leads to loss of critical information, resulting in problems such as loss of usage and billing errors.

Method used

By introducing a support session report message mechanism in session message interaction, when the user plane receives the session request message generated by the control plane, the session report request message carrying key information is sent to the control plane and the message is cached; the control plane receives the session report when the session report is received. After requesting a message, it is associated with the corresponding transaction for processing, and a session report response message is generated to send to the user plane, and the user plane generates a session response message and sends it to the control plane.

Benefits of technology

Improve the reliability of message transmission between the control plane and the user plane, avoid the loss of key information in the response message, and reduce the loss of usage and billing errors.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN112995260B_ABST
    Figure CN112995260B_ABST
Patent Text Reader

Abstract

The embodiment of the present invention provides a session message interaction method, device and computer storage medium, wherein a user plane receives a session request message generated by a control plane according to a trigger condition; when it is determined that the control plane supports a session report message, a session report request message carrying key information corresponding to a session is sent to the control plane, and the session report request message is cached; the control plane receives the session report request message, associates the message with a transaction corresponding to the session request message for processing, and generates a session report response message and sends it to the user plane; the user plane generates a session response message and sends it to the control plane; by adding support for the session report message, the key information of the session is set in the session report request message for reporting, and in some implementation processes, the loss of key information in the response message due to the inability to cache the response message is avoided, thereby improving the reliability of message transmission between the control plane and the user plane.
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 communication technology, and specifically, relate to, but are not limited to, a conversation message interaction method, device, and computer-readable storage medium. Background Art

[0002] In the original EPC (Evolved Packet Core) system, the control plane and user plane of PGW are unified, and CU is in the same network element. In the 29.244 protocol, in order to forward messages closer to users, CU is separated into two network elements: SMF (Session Management Function) and UPF (User Plane Function). SMF is responsible for session creation and UPF is responsible for message forwarding. SMF controls the forwarding behavior of UPF through PDR (Packet Detection Rule) / FAR (Forwarding Action Rule) / QER (QoS Enforcement Rule) / URR (Usage Reporting Rule) and other rules. For the basic model, see Figure 1 shown.

[0003] The N4 / Sx port protocol stack model between SMF and UPF is shown in Figure 2 As shown, there is a UDP connection between SMF and UPF. Since UDP connection is an unreliable connection, no matter what the network conditions are, messages may be lost due to various reasons when being forwarded between networks. In order to prevent this situation from affecting the business, a message retransmission and confirmation mechanism is defined in the 29244 protocol. However, there is a problem with this mechanism. Whether the request message or the response message is discarded, it is solved by retransmitting the request. However, in the case where the query information is carried in the response message, the key information elements in the response message cannot be cached and cannot be recovered, resulting in usage loss, billing errors and other problems. Summary of the invention

[0004] The session message interaction method and device provided by the embodiments of the present invention mainly solve the technical problem of key information loss caused by unreliable message transmission between CUs in the related art.

[0005] In order to solve the above technical problems, an embodiment of the present invention provides a session message interaction method, which is applied to a user plane, including:

[0006] receiving a session request message sent by a control plane, where the session request message is generated by the control plane according to a trigger condition;

[0007] Determining that the control plane supports session report messages, sending a session report request message carrying key information corresponding to the session to the control plane, and buffering the session report request message;

[0008] receiving a session report response message sent by the control plane, where the session report response message is generated by the control plane when associating the session report request message with a transaction corresponding to the session request message for processing;

[0009] A session response message is generated and sent to the control plane.

[0010] An embodiment of the present invention provides a session message interaction method, which is applied to a control plane, including:

[0011] Generate a corresponding session request message according to the trigger condition and send it to the user plane;

[0012] receiving a session report request message sent by the user plane and carrying key information corresponding to the session;

[0013] Associating the session report request message with a transaction corresponding to the session request message for processing, generating a session report response message and sending it to the user plane;

[0014] Receive a session response message sent by the user plane.

[0015] The embodiment of the present invention further provides a conversation message interaction device, comprising: a first receiving unit, a first sending unit;

[0016] The first receiving unit is configured to receive a session request message sent by a control plane, where the session request message is generated by the control plane according to a trigger condition;

[0017] The first sending unit is configured to send a session report request message carrying key information corresponding to the session to a control plane, and cache the session report request message;

[0018] The first receiving unit is further configured to receive a session report response message sent by the control plane, where the session report response message is generated by the control plane when the session report request message is associated with a transaction corresponding to the session request message for processing;

[0019] The first sending unit is further configured to generate a session response message and send the message to the control plane.

[0020] The embodiment of the present invention further provides a conversation message interaction device, comprising: a second receiving unit, a second sending unit and a processing unit;

[0021] The second sending unit is used to generate a corresponding session request message according to the trigger condition and send it to the user plane;

[0022] The second receiving unit is configured to receive a session report request message sent by the user plane and carrying key information corresponding to the session;

[0023] The processing unit is used to associate the session report request message with the transaction corresponding to the session request message for processing;

[0024] The second sending unit is further configured to generate a session report response message and send it to the user plane;

[0025] The second receiving unit is further configured to receive a session response message sent by the user plane.

[0026] An embodiment of the present invention further 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 conversation message interaction method as described above.

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

[0028] According to the session message interaction method, device and computer storage medium provided by the embodiments of the present invention, the user plane receives the session request message generated by the control plane according to the trigger condition; when it is determined that the control plane supports the session report message, the session report request message carrying the key information corresponding to the session is sent to the control plane, and the session report request message is cached; the control plane receives the session report request message, associates it with the transaction corresponding to the session request message for processing, and generates a session report response message and sends it to the user plane; the user plane generates a session response message and sends it to the control plane; by adding support for the session report message, the key information of the session is set in the session report request message for reporting, and in some implementation processes, the loss of key information in the response message due to the inability to cache the response message is avoided, thereby improving the reliability of message transmission between the control plane and the user plane.

[0029] 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

[0030] Figure 1 It is the basic model of message forwarding in the core network CU separation architecture;

[0031] Figure 2 It is the N4 / Sx port protocol stack model between SMF and UPF;

[0032] Figure 3 Schematic diagram of the message interaction process for the CU separation architecture;

[0033] Figure 4 This is a flow chart of a conversation message interaction method according to the first embodiment of the present invention;

[0034] Figure 5 A schematic diagram of a process of a control plane notifying a user plane of support for a session report message according to a first embodiment of the present invention;

[0035] Figure 6 A schematic diagram of an example process of a control plane notifying a user plane of support for a session report message according to a first embodiment of the present invention;

[0036] Figure 7 This is a flow chart of a conversation message interaction method according to Embodiment 2 of the present invention;

[0037] Figure 8 This is a flow chart of a conversation message interaction method according to Embodiment 3 of the present invention;

[0038] Fig. 9 This is a flow chart of an example of a method for interacting with a session message according to Embodiment 3 of the present invention;

[0039] Fig.10 This is a flowchart of another example of the session message interaction method according to the third embodiment of the present invention;

[0040] Fig.11 This is a flow chart of a conversation message interaction method according to a fourth embodiment of the present invention;

[0041] Fig.12 The figure is a flowchart of an example of a conversation message interaction method according to the fourth embodiment of the present invention. DETAILED DESCRIPTION

[0042] 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.

[0043] Embodiment 1:

[0044] Before introducing the session message interaction method provided by the embodiment of the present invention, the network architecture and message interaction mechanism applied by the session message interaction method provided by the embodiment of the present invention are first described.

[0045] The core network system introduces the CU separation architecture, which includes the control plane and the user plane. The control plane can be SMF or PGW_C, and the user plane can be UPF or PGW_U. There is an N4 interface between UPF and SMF, and SMF can manage various forwarding rules on UPF through the N4 interface. Four different rules can be managed on the N4 interface between SMF and UPF, the packet detection rule (Packet Detection Rule, PDR) and three different "execution" rules, namely the forwarding behavior rule FAR (Forwarding Action Rule, FAR), the usage reporting rule (Usage Reporting Rule, URR) and the quality of service (Quality of Service, QoS) enforcement rule (QoS Enforcement Rule, QER).

[0046] A typical scenario of the message interaction mechanism between the control plane and the user plane is shown in Figure 3 As shown, the specific steps include:

[0047] S301. The control plane sends a session establishment request message to the user plane.

[0048] S302: After receiving the session establishment request, the user plane sends a session establishment response message to the control plane.

[0049] S303: The control plane triggers the UPF to request usage according to the conditions.

[0050] S304: The control plane sends the Session Modification Request message carrying the Query URR to the user plane, and caches the Session Modification Request message at the same time.

[0051] It should be noted that the Query URR indicates the usage information that needs to be reported.

[0052] S305. After receiving the Session Modification Request message, the user plane sends a Session Modification Response message carrying UsageReport to the control plane.

[0053] It should be noted that the user plane sends a response message, so the message will not be cached.

[0054] S306: The control plane does not receive the Session Modification Response message, and the waiting time for the response from the user plane times out. The control plane then resends the Session Modification Request message carrying the Query URR to the user plane.

[0055] 307. Determine whether the user plane continues to process the Session Modification Request message. If so, execute S308. If not, execute S309.

[0056] S308. After receiving the Session Modification Request, the user plane regenerates the Session Modification Response;

[0057] It should be noted that, since the user plane does not cache the Session Modification Response message, the Usage Report carried in the regenerated Session Modification Response message is different from the Usage Report carried in the first Session Modification Response message, resulting in the loss of this part of the usage.

[0058] S309: After receiving the Session Modification Request, the user plane ignores the resent Session Modification Request message.

[0059] It should be noted that, since the user plane does not cache the Session Modification Response message, the user plane ignores the resent request and the control plane waits for a timeout, resulting in the loss of this portion of usage.

[0060] In the embodiment of the present invention, in order to avoid the loss of key information in the response message due to the inability to cache the response message, which further leads to problems such as usage loss and billing errors, a session message interaction method is provided. For the specific process, please refer to Figure 4 As shown, the following steps are included:

[0061] S401. Receive a session request message sent by a control plane, where the session request message is generated by the control plane according to a trigger condition.

[0062] In the embodiment of the present invention, the session request information includes but is not limited to a Session Modification Request message (session modification request message) and a Session Deletion Request message (session deletion request message).

[0063] It should be noted that the control plane generates a session request message according to the triggering conditions. For example, if the user plane is triggered to report usage information, a Session Modification Request message is generated and sent to the user plane; if the N4 port session release is triggered, a Session Deletion Request message is generated and sent to the user plane.

[0064] In the embodiment of the present invention, when the control plane sends a Session Modification Request message to the user plane, the Session Modification Request message carries Query URR information for indicating usage information that needs to be reported.

[0065] It should be understood that according to the protocol requirements, before the control plane generates a session request message, the session establishment message interaction must be performed. For example, the control plane generates a session establishment request message and sends it to the user plane. After receiving the session establishment request message, the user plane generates a corresponding session establishment response message and sends it to the control plane. After receiving the session establishment response message, the control plane can proceed to subsequent steps.

[0066] S402: Determine that the control plane supports session report messages, send a session report request message carrying key information corresponding to the session to the control plane, and cache the session report request message.

[0067] In an embodiment of the present invention, after receiving a session request message, the user plane determines whether the control plane supports session report messages, and determines whether the control plane supports session report messages. If the control plane supports session report messages, a session report request message (Session Report Request message) carrying key information corresponding to the session is sent to the control plane, and the session report request message is cached; if the control plane does not support session report messages, a session response message is sent to the control plane.

[0068] In an embodiment of the present invention, a session message is defined, and the response message of this session message does not carry key information, but is reported through a subsequent new message session report message. For example, by extending the CPFunction Features field in the 29244 protocol, as shown in Table 1, support for New Message Report Usage (NMRU) is added, and a session message response is defined that does not carry Usage Report information, but is reported through a subsequent new message SessionReport Request, as a protocol supplement; specifically, when the control plane queries URR in the Session ModificationRequest message, the user plane may not carry Usage Report in the Session Modification Response message, but immediately initiate a new message Usage Report Request to report usage.

[0069] Table 1

[0070] Bytes / Bits Feature interface type 5 / 3 NMRU Sxa,Sxb,Sxc,N4 The CP feature supports delayed reporting of usage information.

[0071] It should be noted that the bytes / bits in Table 1 are for illustration only, and using other bytes / bits to implement the same features falls within the protection scope of the present invention.

[0072] In the embodiment of the present invention, the ReportType field of the Session Report Request in the 29244 protocol is extended and its reserved bit 5 is used to add support for Session Report For Query URR (SRQU), see Table 2 for details.

[0073] Table 2

[0074]

[0075] It should be noted that the embodiment of the present invention indicates that the Usage Report is a Query URR report in a Session Modification Request by using the Report Type field in the Session Report Request. Other methods of achieving similar effects by extending similar fields in the Session Report message all fall within the protection scope of the present invention.

[0076] In the embodiment of the present invention, the control plane notifies the user plane that the control plane supports the session report message by sending a notification of supporting the session report message to the user plane. For the specific process, see Figure 5 As shown, the following steps are included:

[0077] S501, the control plane sends an association request message with a supported session report message identifier to the user plane;

[0078] S502: After receiving the association request message, the user plane generates an association response message and sends it to the control plane.

[0079] Specifically, the support session report message identifier may be support NMRU, and the support session report message identifier may be set to set the NMRU identifier. The control plane may notify the user plane through the Association Setup Request message and the Association Update Request message. For the specific process, see Figure 6 As shown, the steps are as follows:

[0080] S601, the control plane sends an Association Setup Request message to the user plane, and sets the NMRU flag in the CP Function Features of the Association Setup Request message;

[0081] S602: The user plane sends an Association Setup Response message to the control plane.

[0082] S603, the control plane sends an Association Update Request message to the user plane, and sets the NMRU flag in the CP Function Features of the Association Update Request message;

[0083] S604: The user plane sends an Association Update Response message to the control plane.

[0084] In the embodiment of the present invention, the negotiation between the control plane and the user plane to support the session report message can be performed when the power is plugged in, and can be performed once every period of time, without affecting the interaction of session messages between the control plane and the user plane.

[0085] In the embodiment of the present invention, the key information carried in the session report request message may be an SRQU identifier. It should be noted that the SRQU identifier includes but is not limited to a sequence number of a Session Modification Request message and a sequence number of a Session Deletion Request message.

[0086] S403: Receive a session report response message sent by the control plane, where the session report response message is generated by the control plane when the session report request message is associated with a transaction corresponding to the session request message for processing.

[0087] In the embodiment of the present invention, after receiving the session report request message, the control plane needs to associate it with the transaction corresponding to the session so as to perform corresponding processing, and at the same time generate a session report response message (Session Report Response message) and send it to the user plane.

[0088] It should be noted that, in the embodiment of the present invention, the session request message may be a Session ModificationRequest message or a Session Deletion Request message; when the session request message is a SessionModificationRequest message, the session report request message is associated with the Session Modification transaction for processing; when the session request message is a Session DeletionRequest message, the session report request message is associated with the Session Deletion transaction for processing.

[0089] Optionally, in some application scenarios of the embodiments of the present invention, due to various reasons, the user plane does not receive the session report response message sent by the control plane, then the user plane will resend the session report request message to the control plane, and the control plane will re-associate the session report request message with the transaction corresponding to the session for processing.

[0090] S404: Generate a session response message and send it to the control plane.

[0091] In the embodiment of the present invention, after the user plane receives the session report response message, it is necessary to confirm that the control plane has processed the session report request message, and then generate a session response message and send it to the control plane.

[0092] It should be noted that, in the embodiment of the present invention, the session response message does not carry key information corresponding to the session, such as Usage Report.

[0093] In some application scenarios of the embodiments of the present invention, when the user plane determines that the control plane does not support the session report message, after the user plane receives the session request message sent by the control plane, the user plane sends the session response message to the control plane, caches the session response message and starts the timer; when the control plane does not receive the session response message, the session request message is resent to the user plane; after receiving the session request message, the user plane determines that the message is a retransmission message, finds the cached session response message and sends it to the control plane.

[0094] It should be noted that when the control plane receives the session response message, it will not send any message to the user plane. After the timer exceeds the preset time threshold, the user plane releases the cached session response message.

[0095] In the case where the control plane does not support the session report message, the session response message carries key information corresponding to the session.

[0096] The session message interaction method provided by the embodiment of the present invention comprises the following steps: a user plane receives a session request message generated by a control plane according to a trigger condition; when it is determined that the control plane supports a session report message, a session report request message carrying key information corresponding to the session is sent to the control plane, and the session report request message is cached; the control plane receives the session report request message, associates the message with a transaction corresponding to the session request message for processing, and generates a session report response message and sends it to the user plane; the user plane generates a session response message and sends it to the control plane; by adding support for the session report message, the key information of the session is set in the session report request message and reported, thereby avoiding the loss of key information in the response message due to the inability to cache the response message, and improving the reliability of message transmission between the control plane and the user plane.

[0097] Embodiment 2:

[0098] Based on the above embodiment, the embodiment of the present invention further fully describes the method for session message interaction. Figure 7 As shown, the specific steps include:

[0099] S701, the control plane sends a session establishment request message to the user plane;

[0100] S702: The user plane receives the session establishment request message and sends a session establishment response message to the control plane;

[0101] S703: The control plane generates a corresponding session request message according to the trigger condition and sends it to the user plane;

[0102] S704, the user plane determines whether the control supports the session report message, if yes, execute S705; if no, execute S709;

[0103] S705. The user plane sends a session report request message carrying key information corresponding to the session to the control plane, and caches the session report request message;

[0104] S706: The control plane receives the corresponding session report request message, associates it with the transaction corresponding to the session request message for processing, and generates a session report response message and sends it to the user plane;

[0105] S707: confirm whether the user plane receives the session report response message. If yes, execute S708; if no, execute S705;

[0106] S708. The user plane receives the session report response message, confirms that the control plane has processed the session report request message, generates a session response message and sends it to the control plane;

[0107] S709: The user plane sends a session response message carrying key information corresponding to the session to the control plane, caches the session response message and starts a timer for timing;

[0108] S710, detecting whether the control plane receives a session response message, if not, executing S711, if yes, executing S713;

[0109] S711. The control plane resends the session request message to the user plane.

[0110] S712: Determine that the resent session request message is a retransmission message, and send the cached session response message to the control plane;

[0111] S713: The control plane does not send any message to the user plane.

[0112] S714: After the timer exceeds a preset time threshold, the user plane releases the cached session response message.

[0113] In an embodiment of the present invention, the control plane notifies the user plane that the control plane supports the session report message by sending a notification of supporting the session report message to the user plane; specifically, the supported session report message identifier may be supported NMRU, and the supported session report message identifier may be set as the NMRU identifier.

[0114] It should be noted that the explanation of the same steps or concepts in the embodiment of the present invention as those in the above embodiment can refer to the description in the above embodiment. Other technical effects of the embodiment of the present invention can refer to the description in the above embodiment, which will not be repeated here.

[0115] The session message interaction method provided by the embodiment of the present invention, when determining that the control plane supports the session report message, by adding support for the session report message, the key information of the session is set in the session report request message for reporting; when determining that the control plane does not support the session report message, by caching the session response message carrying the key information corresponding to the session, the cache time of the session response message is set by a timer, and the cached session response message is released after the timer times out; on the basis of not changing the protocol framework, the loss of key information in the response message due to the unreliable transmission of the message between the control plane and the user plane is avoided, and the reliability of the message transmission between the control plane and the user plane is further improved.

[0116] Embodiment three:

[0117] The embodiment of the present invention provides a session message interaction method. The embodiment of the present invention describes the situation where the control plane supports session report messages. Figure 8 The following is a flow chart of a method for interacting with a session message provided by an embodiment of the present invention. Figure 8 As shown, the steps of the embodiment of the present invention may include:

[0118] S801. The control plane sends a session establishment request message to the user plane.

[0119] S802: The user plane receives the session establishment request message and sends a session establishment response message to the control plane.

[0120] It should be noted that session establishment is a basic process of the protocol.

[0121] S803: The control plane generates a corresponding session request message according to the trigger condition and sends it to the user plane.

[0122] In the embodiment of the present invention, the session request information includes but is not limited to a Session Modification Request message and a Session Deletion Request message.

[0123] It should be noted that the control plane generates a session request message according to the triggering conditions. For example, if the user plane is triggered to report usage information, a Session Modification Request message is generated and sent to the user plane; if the N4 port session release is triggered, a Session Deletion Request message is generated and sent to the user plane.

[0124] S804: The user plane sends a session report request message carrying key information corresponding to the session to the control plane, and buffers the session report request message at the same time.

[0125] In the embodiment of the present invention, a session message is defined. The response message of the session message does not carry key information, but is reported through a subsequent new message session report message.

[0126] Specifically, by extending the CP Function Features field in the 29244 protocol, support for NMRU is added, and a session message response message is defined that does not carry key information Usage Report information, but is reported through a subsequent new message Session Report Request as a protocol supplement.

[0127] S805: The control plane receives the session report request message, associates it with the transaction corresponding to the session request message for processing, and generates a session report response message and sends it to the user plane.

[0128] In the embodiment of the present invention, after receiving the session report request message, the control plane needs to associate it with the transaction corresponding to the session for processing, and at the same time generate a session report response message and send it to the user plane.

[0129] It should be noted that, in the embodiment of the present invention, the session request message may be a Session ModificationRequest message or a Session Deletion Request message; when the session request message is a SessionModificationRequest message, the session report request message is associated with the Session Modification transaction for processing; when the session request message is a Session DeletionRequest message, the session report request message is associated with the Session Deletion transaction for processing.

[0130] Optionally, in some application scenarios of the embodiments of the present invention, due to various reasons, the user plane does not receive the session report response message sent by the control plane, then the user plane will resend the session report request message to the control plane, and the control plane will re-associate the session report request message with the transaction corresponding to the session for processing.

[0131] S806: Confirm whether the user plane has received the session report response message. If so, execute S807; if not, execute S804.

[0132] S807: The user plane receives the session report response message, confirms that the control plane has processed the session report request message, generates a session response message and sends it to the control plane.

[0133] It should be noted that, in the embodiment of the present invention, the session response message does not carry key information corresponding to the session, such as Usage Report.

[0134] The following takes the session request messages, namely Session Modification Request message and Session Deletion Request message, as examples to further explain in detail.

[0135] Example 1:

[0136] Fig. 9 For a diagram of the interaction flow of the session message interaction method when the session request message is a Session Modification Request message, see Fig. 9 As shown, the specific steps include:

[0137] S901, the control plane sends a session establishment request message to the user plane;

[0138] S902: The user plane receives the session establishment request message and sends a session establishment response message to the control plane;

[0139] S903: The control plane triggers the user plane to report usage information;

[0140] S904. The control plane sends a Session Modification Request message carrying the Query URR to the user plane.

[0141] S905: If the user plane determines that the control plane supports NMUR, the user plane carries the SRQU identifier in the Session Report Request message and sends it to the control plane, and caches the Session Report Request message at the same time;

[0142] S906. After receiving the Session Report Request, the control plane associates it with the Session Modification transaction for processing;

[0143] S907. Reply a Session Report Response message to the user plane at the same time;

[0144] S908. After receiving the Session Report Response message, the user plane confirms that the control plane has processed the Session Report Request message;

[0145] S909. Send the Session Modification Response message to the control plane.

[0146] In step S904, Query URR is used to indicate the usage information that needs to be reported.

[0147] In step S907, in some examples, due to some reason, the user plane does not receive the Session ReportResponse message sent by the control plane, then the user plane sends the Session Report Request message buffered in step S905 to the control plane, and the control plane performs corresponding processing again.

[0148] Example 2:

[0149] Fig.10For a diagram of the interaction flow of the session message interaction method when the session request message is a Session Modification Request message, see Fig.10 As shown, the specific steps include:

[0150] S1001, the control plane sends a session establishment request message to the user plane;

[0151] S1002: The user plane receives the session establishment request message and sends a session establishment response message to the control plane;

[0152] S1003: The control plane triggers the release of the N4 interface session.

[0153] S1004. The control plane sends a Session Deletion Request message to the user plane.

[0154] S1005. If the user plane determines that the control plane supports NMUR, the user plane carries the SRQU identifier in the Session Report Request message and sends it to the control plane, and caches the Session Report Request message at the same time;

[0155] S1006: After receiving the Session Report Request, the control plane associates it with the Session Deletion transaction for processing.

[0156] S1007. At the same time, reply the Session Report Response message to the user plane;

[0157] S1008. After receiving the Session Report Response message, the user plane confirms that the control plane has processed the Session Report Request message;

[0158] S1009. Send a Session Deletion Response message to the control plane.

[0159] In step S1004, the Session Deletion Request message is used to instruct to delete the session.

[0160] In step S1007, in some examples, due to some reason, the user plane does not receive the Session ReportResponse message sent by the control plane, then the user plane sends the Session Report Request message buffered in step S1005 to the control plane, and the control plane performs corresponding processing again.

[0161] The session message interaction method provided in the embodiment of the present invention, when determining that the control plane supports the session report message, by adding support for the session report message, sets the key information of the session in the session report request message for reporting; on the basis of not changing the protocol framework, it avoids the loss of key information in the response message due to the unreliable transmission of messages between the control plane and the user plane, further avoids the problems of usage loss, billing errors, etc., and improves the reliability of message transmission between the control plane and the user plane.

[0162] Embodiment 4:

[0163] An embodiment of the present invention provides a session message interaction method. The embodiment of the present invention describes a situation where the control plane does not support session report messages. Fig.11 The following is a flow chart of a method for interacting with a session message provided by an embodiment of the present invention. Fig.11 As shown, the steps of the embodiment of the present invention may include:

[0164] S1101, the control plane sends a session establishment request message to the user plane;

[0165] S1102: The user plane receives the session establishment request message and sends a session establishment response message to the control plane;

[0166] S1103: The control plane generates a corresponding session request message according to the trigger condition and sends it to the user plane;

[0167] S1104. The user plane sends a session response message carrying key information corresponding to the session to the control plane, and caches the session response message and starts a timer for timing;

[0168] S1105. Detect whether the control plane receives the session response message. If not, execute S1106. If yes, execute S1108.

[0169] S1106. The control plane resends the session request message to the user plane.

[0170] S1107: Determine that the resent session request message is a retransmission message, and send the cached session response message to the control plane;

[0171] S1108: The control plane does not send any message to the user plane;

[0172] S1109: After the timer exceeds a preset time threshold, the user plane releases the cached session response message.

[0173] In the embodiment of the present invention, the session response message carries key information corresponding to the session. In order to avoid the loss of key information in the response message due to unreliable transmission, the session response message is cached in the user plane, but it cannot be cached permanently. A time limit is set and implemented through a timer. After the timer exceeds a preset time threshold, the user plane releases the cached session response message.

[0174] The following uses the Session Modification Request message as an example to further explain the details. Fig.12 As shown, the steps include:

[0175] S1201, the control plane sends a session establishment request message to the user plane;

[0176] S1202: The user plane receives the session establishment request message and sends a session establishment response message to the control plane;

[0177] S1203: The control plane triggers the user plane to report usage information;

[0178] S1204. The control plane sends a Session Modification Request message carrying the Query URR to the user plane.

[0179] S1205: The user plane determines that the control plane does not support NMUR, and the user plane sends a Session ModificationResponse message to the control plane;

[0180] S1206. The user plane caches the Session Modification Response message and starts a timer for timing.

[0181] S1207. The user plane sends a Session Modification Response message to the control plane.

[0182] S1208: The control plane does not receive the Session Modification Response message, and resends the Session Modification Request message to the user plane;

[0183] S1209. After receiving the Session Modification Request, the user plane determines that the Session Modification Request message is a retransmission message, and sends the cached Session Modification Response message to the control plane;

[0184] It should be noted that if the control plane receives the Session Modification Response message, it does not send any message to the user plane. After the timer exceeds the preset time threshold, the user plane releases the cached Session Modification Response message.

[0185] The session message interaction method provided by the embodiment of the present invention, when it is determined that the control plane does not support the session report message, caches the session response message carrying the key information corresponding to the session, sets the cache time of the session response message through a timer, and releases the cached session response message after the timer times out; on the basis of not changing the protocol framework, the loss of key information in the response message due to the unreliable transmission of the message between the control plane and the user plane is avoided, and the reliability of the message transmission between the control plane and the user plane is further improved.

[0186] Embodiment five:

[0187] This embodiment also provides a conversation message interaction device, which includes a first receiving unit and a first sending unit;

[0188] A first receiving unit, configured to receive a session request message sent by a control plane, where the session request message is generated by the control plane according to a trigger condition;

[0189] A first sending unit, configured to send a session report request message carrying key information corresponding to a session to a control plane, and cache the session report request message;

[0190] The first receiving unit is further configured to receive a session report response message sent by the control plane, where the session report response message is generated by the control plane when the session report request message is associated with a transaction corresponding to the session for processing;

[0191] The first sending unit is further configured to generate a session response message and send it to the control plane.

[0192] This embodiment provides a conversation message interaction device, which further includes a second receiving unit, a second sending unit, and a processing unit;

[0193] A second sending unit, configured to generate a corresponding session request message according to the trigger condition and send the message to the user plane;

[0194] A second receiving unit, configured to receive a session report request message sent by a user plane and carrying key information corresponding to a session;

[0195] A processing unit, configured to associate the session report request message with a transaction corresponding to the session for processing;

[0196] The second sending unit is further used to generate a session report response message and send it to the user plane;

[0197] The second receiving unit is further configured to receive a session response message sent by the user plane.

[0198] It should be noted that the session message interaction device provided in the embodiment of the present invention is used to implement at least one step of the session message interaction method in the above embodiments 1 to 4, and the description in the above embodiments may be referred to, which will not be repeated here.

[0199] Embodiment six:

[0200] 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.

[0201] 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 conversation message interaction method in the above-mentioned embodiments 1 to 4.

[0202] 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 session message interaction method, applied to a user plane, comprising: receiving a session request message sent by a control plane, where the session request message is generated by the control plane according to a trigger condition; Determining that the control plane supports session report messages, sending a session report request message carrying key information corresponding to the session to the control plane, and buffering the session report request message; receiving a session report response message sent by the control plane, where the session report response message is generated by the control plane when associating the session report request message with a transaction corresponding to the session request message for processing; A session response message is generated and sent to the control plane.

2. The conversation message interaction method according to claim 1, characterized in that: The method further comprises: receiving an association request message for supporting a session report message sent by the control plane, wherein the association request message is provided with an identifier of supporting the session report message; An association response message corresponding to the association request message is sent to the control plane.

3. The conversation message interaction method according to claim 1, characterized in that: The method further comprises: If the user plane does not receive the session report response message, the session report request message is resent to the control plane.

4. The conversation message interaction method according to claim 1, characterized in that: The generating of the session response message and sending it to the control plane comprises: Confirm that the control plane has processed the session report request message.

5. The conversation message interaction method according to claim 1, characterized in that: After receiving the session request message sent by the control plane, the method further includes: Determining that the control plane does not support the session report message, sending a session response message carrying key information corresponding to the session to the control plane, and buffering the session response message and starting a timer for timing; receiving a session request message resent by the control plane; Determine that the resent session request message is a retransmission message, and send the session response message to the control plane.

6. The conversation message interaction method according to claim 5, characterized in that: If the control plane does not support the session report message, sending the session response message to the control plane also includes: After the timing of the timer exceeds a preset time threshold, the cached session response message is released.

7. A session message interaction method, applied to a control plane, comprising: Generate a corresponding session request message according to the trigger condition and send it to the user plane; In a case where the control plane supports session report messages, receiving a session report request message sent by the user plane and carrying key information corresponding to the session, wherein the session report request message is cached in the user plane; Associating the session report request message with a transaction corresponding to the session request message for processing, generating a session report response message and sending it to the user plane; Receive a session response message sent by the user plane.

8. The conversation message interaction method according to claim 7, characterized in that: The method further comprises: The session report request message resent by the user plane is received.

9. The conversation message interaction method according to claim 7, characterized in that: The method further comprises: Sending an association request message provided with an identifier for supporting the session report message to the user plane, wherein the association request message is used to notify the user plane that it supports the session report message; An association response message sent by the user plane is received.

10. The conversation message interaction method according to claim 7, characterized in that: After generating a corresponding session request message according to the trigger condition and sending it to the user plane, it also includes: detecting whether a session response message is received, where the session response message is generated after the user plane determines that the control plane does not support the session report message; If the answer is no, the session request message is resent to the user plane; if the answer is yes, no message is sent to the user plane.

11. A conversation message interaction device, comprising: A first receiving unit and a first sending unit; The first receiving unit is configured to receive a session request message sent by a control plane, where the session request message is generated by the control plane according to a trigger condition; The first sending unit is configured to send a session report request message carrying key information corresponding to the session to a control plane, and cache the session report request message; The first receiving unit is further configured to receive a session report response message sent by the control plane, where the session report response message is generated by the control plane when the session report request message is associated with a transaction corresponding to the session request message for processing; The first sending unit is further configured to generate a session response message and send the message to the control plane.

12. A conversation message interaction device, comprising: A second receiving unit, a second sending unit and a processing unit; The second sending unit is used to generate a corresponding session request message according to the trigger condition and send it to the user plane; The second receiving unit is configured to receive a session report request message sent by the user plane and carrying key information corresponding to the session when the control plane supports the session report message, wherein the session report request message is cached in the user plane; The processing unit is used to associate the session report request message with the transaction corresponding to the session request message for processing; The second sending unit is further configured to generate a session report response message and send it to the user plane; The second receiving unit is further configured to receive a session response message sent by the user plane.

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 conversation message interaction method according to any one of claims 1 to 10.