CN111225452B - Session management equipment and system - Google Patents

Session management equipment and system Download PDF

Info

Publication number
CN111225452B
CN111225452B CN201910360088.0A CN201910360088A CN111225452B CN 111225452 B CN111225452 B CN 111225452B CN 201910360088 A CN201910360088 A CN 201910360088A CN 111225452 B CN111225452 B CN 111225452B
Authority
CN
China
Prior art keywords
qos
session
terminal device
information
supported
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201910360088.0A
Other languages
Chinese (zh)
Other versions
CN111225452A (en
Inventor
丁明
段小嫣
余迪虎
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to PCT/CN2019/119474 priority Critical patent/WO2020108350A1/en
Publication of CN111225452A publication Critical patent/CN111225452A/en
Application granted granted Critical
Publication of CN111225452B publication Critical patent/CN111225452B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L5/00Arrangements affording multiple use of the transmission path
    • H04L5/003Arrangements for allocating sub-channels of the transmission path
    • H04L5/0053Allocation of signaling, i.e. of overhead other than pilot signals
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/0268Traffic management, e.g. flow control or congestion control using specific QoS parameters for wireless networks, e.g. QoS class identifier [QCI] or guaranteed bit rate [GBR]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W28/00Network traffic management; Network resource management
    • H04W28/02Traffic management, e.g. flow control or congestion control
    • H04W28/06Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information
    • H04W28/065Optimizing the usage of the radio link, e.g. header compression, information sizing, discarding information using assembly or disassembly of packets

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The embodiment of the invention discloses a session management device and a system, wherein the session management device comprises: a processor, a memory, a transceiver, and a bus; the processor invokes program code in the memory to perform the operations of sending a session establishment request message to the network device through the transceiver; receiving a session establishment response message sent by network equipment through a transceiver, wherein the session establishment response message carries the QoS (quality of service) information of a session; when the QoS information exceeds the QoS capability supported by the terminal equipment, reserving part of QoS information in the QoS information according to the QoS capability supported by the terminal equipment; the method includes transmitting, by a transceiver, a session modification request message to a network device, the session modification request message including first indication information indicating unreserved QoS information. The embodiment of the invention can solve the problem that the QoS information issued by the network equipment exceeds the support capability of the terminal equipment in the session establishment process.

Description

Session management equipment and system
Technical Field
The present invention relates to the field of wireless communications technologies, and in particular, to a session management device and a session management system.
Background
In the SESSION ESTABLISHMENT phase, for a situation that the number of quality of service (Qos) flows (flows), Qos rules (rules), and/or packet filters (packet filters) in the Qos rules carried in a PDU SESSION ESTABLISHMENT acknowledgement message issued by a network is greater than the maximum number supported by a terminal device, the fifth generation mobile communication (5G) protocol does not define how the terminal device should handle such an exception.
Therefore, how to solve the above-mentioned abnormality is still a problem to be solved.
Disclosure of Invention
The embodiment of the invention provides session management equipment and a session management system, which can solve the problem that QoS information issued by network equipment exceeds the support capability of terminal equipment in the session establishment process.
The embodiment of the invention can be realized by the following technical scheme:
in a first aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory and the transceiver can be connected with each other through a bus, and the transceiver is used for communicating with other communication equipment; the memory is used for storing program codes and data; the processor calls the program code in the memory to perform the following operations:
sending a session establishment request message to the network device through the transceiver, the session establishment request message being for requesting establishment of a session; receiving a session establishment response message sent by network equipment through a transceiver, wherein the session establishment response message carries QoS information of a session; when the QoS information of the session exceeds the QoS capability supported by the terminal equipment, reserving part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal equipment; sending a session modification request message to the network equipment through the transceiver, wherein the session modification request message comprises first indication information, and the first indication information is used for indicating the processor to reserve part of QoS information in the QoS information of the session.
In a possible design, the reserving a part of QoS information in the QoS information of the session includes one or a combination of the following: reserving a default QoS rule in the QoS information of the session and a QoS flow corresponding to the default QoS rule; a packet filter for preferentially reserving the QoS flow of guaranteed bit rate, the QoS rule of guaranteed bit rate and/or the QoS rule of guaranteed bit rate in the QoS information of the session; and a packet filter for preferentially reserving a QoS flow with a high priority, a QoS rule with a high priority, and/or a QoS rule with a high priority in the QoS information of the session.
In one possible design, the session modification request message further includes second indication information, where the second indication information is used to indicate that the Qos capability of the terminal device is insufficient.
In one possible design, the second indication is #26 instant resources (resource shortage).
In one possible design, the QoS capabilities supported by the terminal device include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; a maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the network device is a Session Management Function (SMF) device, and the sending the session establishment request message to the network device through the transceiver includes: sending, by a transceiver, a session establishment request message to an access and mobility management function (AMF) device, the session establishment request message being sent by the AMF to the SMF.
In a possible design, the network device is an SMF, and receiving, by the transceiver, a session establishment response message sent by the network device includes: a session establishment response message sent by the AMF is received by the transceiver, the session establishment response message being received by the AMF from the SMF.
In one possible design, the network device is an SMF, and the sending the session modification request message to the network device through the transceiver includes: and sending a session modification request message to the AMF through the transceiver, wherein the session modification request message is sent by the AMF to the SMF.
In a second aspect, an embodiment of the present invention provides a session management system, where the system includes: a terminal device and a network device; the terminal equipment is configured to send a session establishment request message to the network equipment, wherein the session establishment request message is used for requesting to establish a session; the network equipment is configured to send a session establishment response message to the terminal equipment, wherein the session establishment response message carries QoS information of a session; the terminal device is configured to reserve part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal device when the QoS information of the session exceeds the QoS capability supported by the terminal device; the terminal device is configured to send a session modification request message to the network device, where the session modification request message includes first indication information, and the first indication information is used to indicate that the terminal device does not reserve part of QoS information in the QoS information of the session. The network device is configured to release part of the QoS information of the session according to the first indication information.
In a possible design, the reserving a part of the QoS information of the session includes one or a combination of the following: reserving a default QoS rule in the QoS information of the session and a QoS flow corresponding to the default QoS rule; a packet filter for preferentially reserving QoS flows for guaranteed bit rates, QoS rules for guaranteed bit rates, and/or QoS rules for guaranteed bit rates in the QoS information of the session; and a packet filter included in the QoS flow with high priority, the QoS rule with high priority and/or the QoS rule with high priority in the QoS information of the session is preferentially reserved.
In one possible design, the session modification request message further includes second indication information, where the second indication information is used to indicate that the Qos capability of the terminal device is insufficient.
In one possible design, the second indication is #26 instant resources.
In one possible design, the QoS capabilities supported by the terminal device include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the network device is an SMF, the system further includes an AMF, and the terminal device is configured to send a session establishment request message to the network device, including: the terminal equipment is configured to send a session establishment request message to the AMF; the AMF is configured to send a session establishment request message to the SMF.
In one possible design, the network device is the SMF, and the system further includes an AMF, where the network device is configured to send a session establishment response message to the terminal device, and the session establishment response message includes: the SMF is configured to send a session establishment response message to the AMF; the AMF is configured to send a session establishment response message to the terminal device.
In one possible design, the network device is an SMF, the system further includes an AMF, and the terminal device is configured to send a session modification request message to the network device, including: the terminal equipment is configured to send a session modification request message to the AMF; the AMF is configured to send a session modification request message to the SMF.
In a third aspect, an embodiment of the present invention provides a session management method, where the method includes: the terminal equipment sends a session establishment request message to the network equipment, wherein the session establishment request message is used for requesting to establish a session; the terminal equipment receives a session establishment response message sent by the network equipment, wherein the session establishment response message carries QoS (quality of service) information of a session; when the QoS information of the session exceeds the QoS capability supported by the terminal equipment, reserving part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal equipment; the terminal equipment sends a session modification request message to the network equipment, wherein the session modification request message comprises first indication information, and the first indication information is used for indicating the processor to reserve part of QoS information in the QoS information of the session.
In the method described in the third aspect, the terminal device sends a session establishment request message to the network device, and receives a session establishment response message sent by the network device, where the session establishment response message carries QoS information of a session. When the QoS information of the session exceeds the QoS capability supported by the terminal equipment, the terminal equipment reserves part of QoS information in the QoS information of the session according to the QoS supporting capability of the terminal equipment, and indicates the QoS information which is not reserved in the QoS information of the session by the terminal equipment to the network equipment through the session modification request message. The embodiment of the invention solves the problem that the QoS information issued by the network equipment can not be supported due to the insufficient QoS capability of the terminal equipment in the session establishment process, and ensures the session context consistency between the terminal and the network equipment.
In a possible design, the reserving a part of the QoS information of the session includes one or a combination of the following: reserving a default QoS rule in the QoS information of the session and a QoS flow corresponding to the default QoS rule; a packet filter for preferentially reserving the QoS flow of guaranteed bit rate, the QoS rule of guaranteed bit rate and/or the QoS rule of guaranteed bit rate in the QoS information of the session; and a packet filter included in the QoS flow with high priority, the QoS rule with high priority and/or the QoS rule with high priority in the QoS information of the session is preferentially reserved.
In one possible design, the session modification request message further includes second indication information, where the second indication information is used to indicate that the Qos capability of the terminal device is insufficient.
In one possible design, the second indication is #26 instant resources.
In one possible design, the QoS capabilities supported by the terminal device include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In a possible design, the network device is an SMF, and the sending, by the terminal device, a session establishment request message to the network device includes: the terminal equipment sends a session establishment request message to the SMF through the AMF.
In a possible design, the network device is an SMF, and the receiving, by the terminal device, a session establishment response message sent by the network device includes: and the terminal equipment receives the session establishment response message sent by the SMF through the AMF.
In a possible design, the network device is an SMF, and the sending, by the terminal device, the session modification request message to the network device includes: the terminal equipment sends a session establishment request message to the SMF through the AMF.
In a fourth aspect, an embodiment of the present invention provides a terminal device, where the terminal device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory and the transceiver may be interconnected by a bus, the transceiver being for communication with other communication devices; the memory is used for storing program codes and data; the processor calls the program code in the memory to perform the following operations:
sending a session establishment request message to the network equipment through the transceiver, wherein the session establishment request message is used for requesting the establishment of a session and does not carry the QoS (quality of service) capability supported by the terminal; receiving a session establishment response message sent by network equipment through a transceiver, wherein the session establishment response message carries session QoS information, and the session QoS information is determined by the network equipment according to a preset QoS quantity;
or sending a session establishment request message to the network equipment through the transceiver, wherein the session establishment request message is used for requesting to establish a session and carries the QoS (quality of service) capability supported by the terminal; and receiving a session establishment response message sent by the network equipment through the transceiver, wherein the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to QoS capability supported by the terminal.
In one possible design, when the QoS capabilities supported by the terminal device itself are greater than the preset QoS number, the session establishment request message carries the QoS capabilities supported by the terminal device, and when the QoS capabilities supported by the terminal device itself are less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capabilities supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to QoS capabilities supported by the terminal device, and includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the preset QoS quantity, the user subscription information corresponding to the terminal equipment and the minimum value of the QoS capabilities supported by the terminal equipment.
In one possible design, the QoS information of the session is determined by the network device according to a preset QoS number, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
In one possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the preset QoS number includes one or a combination of the following parameters: a preset number of QoS flows; the number of preset QoS rules; the number of packet filters preset.
In one possible design, the network device is an SMF, and the sending the session establishment request message to the network device through the transceiver includes: the session establishment request message is sent by the transceiver to the AMF, the session establishment request message being sent by the AMF to the SMF.
In a possible design, the network device is an SMF, and the receiving, by the transceiver, a session establishment response message sent by the network device includes: and receiving a session establishment response message sent by the AMF through the transceiver, wherein the session establishment response message is received by the AMF from the SMF.
In one possible design, the network device is an SMF, the QoS information of the session is determined by the SMF according to QoS capability supported by the terminal device and user subscription information corresponding to the terminal device, and the user subscription information is obtained by the SMF through a Unified Data Management (UDM) device.
In a fifth aspect, an embodiment of the present invention provides a network device, where the network device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory and the transceiver may be interconnected by a bus, the transceiver being for communication with other communication devices; the memory is used for storing program codes and data; the processor calls the program code in the memory to perform the following operations:
receiving a session establishment request message sent by terminal equipment through a transceiver, wherein the session establishment request message is used for requesting to establish a session and does not carry QoS (quality of service) capability supported by a terminal; sending a session establishment response message to the terminal equipment through the transceiver, wherein the session establishment response message carries session QoS information, and the session QoS information is determined by the network equipment according to the preset QoS quantity;
or receiving a session establishment request message sent by the terminal equipment through the transceiver, wherein the session establishment request message is used for requesting to establish a session and carries the QoS (quality of service) capability supported by the terminal; and sending a session establishment response message to the terminal equipment through the transceiver, wherein the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to QoS capability supported by the terminal.
In one possible design, when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the session establishment request message carries the QoS capability supported by the terminal device, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capability supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to QoS capabilities supported by the terminal device, and includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the preset QoS quantity, the user subscription information corresponding to the terminal equipment and the minimum value of the QoS capabilities supported by the terminal equipment.
In one possible design, the QoS information of the session is determined by the network device according to a preset QoS number, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
In one possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; a maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
In a possible design, the network device is an SMF, and the receiving, by the transceiver, a session establishment request message sent by the terminal device includes: a session establishment request message sent by the AMF is received through the transceiver, the session establishment request message being received by the AMF from the terminal device.
In one possible design, the network device is an SMF, and the sending the session establishment response message to the terminal device through the transceiver includes: and sending a session establishment response message to the AMF through the transceiver, wherein the session establishment response message is sent by the AMF to the terminal equipment.
In one possible design, the network device is an SMF, the QoS information of the session is determined by the SMF according to the QoS capability supported by the terminal device and the user subscription information corresponding to the terminal device, and the user subscription information is obtained by the SMF through the UDM.
In a sixth aspect, an embodiment of the present invention provides a session management system, where the system includes: a terminal device and a network device; the terminal equipment is configured to send a session establishment request message to the network equipment, wherein the session establishment request message is used for requesting to establish a session and does not carry the QoS (quality of service) capability supported by the terminal; the network equipment is configured to send a session establishment response message to the terminal equipment, wherein the session establishment response message carries QoS information of a session, and the QoS information of the session is determined by the network equipment according to a preset QoS quantity;
or the terminal device is configured to send a session establishment request message to the network device, where the session establishment request message is used to request for establishing a session, and carries the QoS capability supported by the terminal; the network equipment is configured to send a session establishment response message to the terminal equipment, wherein the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to QoS capability supported by the terminal.
In one possible design, when the QoS capabilities supported by the terminal device itself are greater than the preset QoS number, the session establishment request message carries the QoS capabilities supported by the terminal device, and when the QoS capabilities supported by the terminal device itself are less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capabilities supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to QoS capabilities supported by the terminal device, and the method includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the session is determined by the network device according to the preset QoS quantity, the user subscription information corresponding to the terminal device and the minimum value of the QoS capabilities supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to a preset QoS number, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
In one possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; a maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
In one possible design, the network device is an SMF, the system further includes an AMF, and the terminal device is configured to send a session establishment request message to the network device, including: the terminal equipment is configured to send a session establishment request message to the AMF; the AMF is configured to send a session establishment request message to the SMF.
In one possible design, the network device is an SMF, and the system further includes an AMF, where the network device is configured to send a session establishment response message to the terminal device, and the session establishment response message includes: the SMF is configured to send a session establishment response message to the AMF; the AMF is configured to send a session establishment response message to the terminal device.
In one possible design, the network device is an SMF, and the system further includes a UDM, where the SMF is configured to send an acquisition request to the UDM, where the acquisition request is used to acquire user subscription information corresponding to the terminal device; the UDM is configured to send user subscription information to the SMF.
A terminal device sends a session establishment request message to a network device, wherein the session establishment request message is used for requesting to establish a session and does not carry a QoS capability supported by the terminal; the terminal equipment receives a session establishment response message sent by the network equipment, wherein the session establishment response message carries session QoS information, and the session QoS information is determined by the network equipment according to the preset QoS quantity;
or the terminal device sends a session establishment request message to the network device, wherein the session establishment request message is used for requesting to establish a session and carries the QoS capability supported by the terminal; the terminal equipment receives a session establishment response message sent by the network equipment, wherein the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to QoS capability supported by the terminal.
In the seventh aspect, when the session establishment request message carries the QoS capability supported by the terminal device, the network device may determine the QoS information of the session according to the QoS capability supported by the terminal device, and when the session establishment request message does not carry the QoS capability supported by the terminal device, the network device determines the QoS information of the session according to the preset QoS amount. And the terminal equipment receives a session establishment response message sent by the network equipment, wherein the session establishment response message carries the QoS information of the session. The embodiment of the invention solves the problem that the terminal equipment cannot support the QoS information issued by the network equipment due to the insufficient QoS capability of the terminal equipment in the session establishment process, realizes the differentiated processing of the terminal equipment with different QoS requirements, and can configure more QoS resources for the terminal equipment with high QoS requirements.
In one possible design, when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the session establishment request message carries the QoS capability supported by the terminal device, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capability supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to QoS capabilities supported by the terminal device, and includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the session is determined by the network device according to the preset QoS quantity, the user subscription information corresponding to the terminal device and the minimum value of the QoS capabilities supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to a preset QoS number, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
In one possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
In a possible design, the network device is an SMF, and the sending, by the terminal device, the session establishment request message to the network device includes: the terminal equipment sends a session establishment request message to the SMF through the AMF.
In a possible design, the network device is an SMF, and the receiving, by the terminal device, a session establishment response message sent by the network device includes: and the terminal equipment receives the session establishment response message sent by the SMF through the AMF.
In one possible design, the network device is an SMF, the QoS information of the session is determined by the SMF according to QoS capabilities supported by the terminal device and user subscription information corresponding to the terminal device, and the user subscription information is obtained by the SMF through the UDM.
In an eighth aspect, an embodiment of the present invention provides a session management method, where the method includes that a network device receives a session establishment request message sent by a terminal device, where the session establishment request message is used to request to establish a session, and the session establishment request message does not carry a QoS capability supported by the terminal; the network equipment sends a session establishment response message to the terminal equipment, wherein the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to the preset QoS quantity;
or, the network device receives a session establishment request message sent by the terminal device, where the session establishment request message is used to request to establish a session, and the session establishment request message carries a QoS capability supported by the terminal device; the network equipment sends a session establishment response message to the terminal equipment, wherein the session establishment response message carries the QoS information of the session, and the QoS information of the session is determined by the network equipment according to the QoS capability supported by the terminal.
In the method described in the eighth aspect, the network device receives a session establishment request message sent by the terminal device, and when the session establishment request message carries QoS capabilities supported by the terminal device, the network device determines QoS information of the session according to the QoS capabilities supported by the terminal device, and when the session establishment request message does not carry QoS capabilities supported by the terminal device, the network device determines the QoS information of the session according to a preset QoS amount. And the network equipment sends a session establishment response message to the terminal equipment, wherein the session establishment response message carries the QoS information of the session. The embodiment of the invention solves the problem that the terminal equipment can not support the QoS information issued by the network equipment due to the insufficient QoS capability of the terminal equipment in the session establishment process, realizes the differentiated processing of the terminal equipment with different QoS requirements, and can configure more QoS resources for the terminal equipment with high QoS requirements.
In one possible design, when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the session establishment request message carries the QoS capability supported by the terminal device, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capability supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to QoS capabilities supported by the terminal device, and includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the session is determined by the network device according to the preset QoS quantity, the user subscription information corresponding to the terminal device and the minimum value of the QoS capabilities supported by the terminal device.
In one possible design, the QoS information of the session is determined by the network device according to a preset QoS number, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
In one possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
In one possible design, the QoS information may include one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
In one possible design, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
In a possible design, the network device is an SMF, and the receiving, by the network device, a session establishment request message sent by the terminal device includes: the network equipment receives the session establishment request message sent by the SMF through the AMF.
In one possible design, the network device is an SMF, and the sending, by the network device, the session establishment response message to the terminal device includes: and the network equipment sends a session establishment response message to the terminal equipment through the AMF.
In one possible design, the network device is an SMF, the QoS information of the session is determined by the SMF according to the QoS capability supported by the terminal device and the user subscription information corresponding to the terminal device, and the user subscription information is obtained by the SMF through the UDM.
In a ninth aspect, an embodiment of the present invention provides a terminal device, where the terminal device may include a plurality of functional modules or units, and is configured to correspondingly execute the session management method provided in the third aspect.
In a tenth aspect, an embodiment of the present invention provides a terminal device, where the terminal device may include multiple functional modules or units, and is configured to correspondingly execute the session management method provided in the seventh aspect.
In an eleventh aspect, an embodiment of the present invention provides a network device, where the network device may include multiple functional modules or units, and is configured to correspondingly perform the session management method provided in the eighth aspect.
In a twelfth aspect, the present invention provides a communication chip, which may include: a processor, and one or more interfaces coupled to the processor. Wherein the processor is configured to call the implementation program of the session management method provided in the third aspect from the memory, and execute the instructions contained in the program. The interface may be configured to output a data processing result of the processor.
In a thirteenth aspect, the present invention provides a communication chip, which may include: a processor, and one or more interfaces coupled to the processor. Wherein the processor is configured to call the implementation program of the session management method provided in the seventh aspect from the memory, and execute the instructions contained in the program. The interface may be configured to output a data processing result of the processor.
In a fourteenth aspect, the present invention provides a communication chip, which may include: a processor, and one or more interfaces coupled to the processor. Wherein the processor is configured to call the implementation program of the session management method provided in the eighth aspect from the memory, and execute the instructions included in the program. The interface may be configured to output a data processing result of the processor.
In a fifteenth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the session management method described in the third aspect.
In a sixteenth aspect, an embodiment of the present invention provides a computer-readable storage medium, which stores instructions that, when executed on a computer, cause the computer to execute the session management method described in the above eighth aspect or the ninth aspect.
In a seventeenth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when run on a computer, causes the computer to perform the session management method described in the third aspect.
In an eighteenth aspect, embodiments of the present invention provide a computer program product containing instructions which, when run on a computer, cause the computer to perform the session management method described in the above eighth or ninth aspect.
Drawings
Fig. 1 is a schematic architecture diagram of a communication system according to an embodiment of the present invention;
fig. 2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
fig. 3 is a schematic structural diagram of a network device according to an embodiment of the present invention;
fig. 4 is a flowchart illustrating a session management method according to an embodiment of the present invention;
fig. 5 is a flowchart illustrating another session management method according to an embodiment of the present invention;
fig. 6 is a flowchart illustrating another session management method according to an embodiment of the present invention;
fig. 7 is a flowchart illustrating another session management method according to an embodiment of the present invention;
fig. 8 is a flowchart illustrating another session management method according to an embodiment of the present invention;
fig. 9 is a flowchart illustrating another session management method according to an embodiment of the present invention;
fig. 10 is a schematic structural diagram of another terminal device provided in the embodiment of the present invention;
fig. 11 is a schematic structural diagram of another terminal device provided in the embodiment of the present invention;
fig. 12 is a schematic structural diagram of another network device according to an embodiment of the present invention;
fig. 13 is a schematic structural diagram of a communication chip according to an embodiment of the present invention.
Detailed Description
The terminology used in the description of the embodiments of the invention herein is for the purpose of describing particular embodiments only and is not intended to be limiting of the invention.
Fig. 1 shows a network architecture of a communication system 100 according to an embodiment of the present invention. As shown in fig. 1, the communication system 100 may include: a terminal device 101, AN Access Network (AN) device 102, a User Plane Function (UPF) entity 103, a Data Network (DN) device 104, AN AMF entity 105, AN SMF entity 106, and a UDM entity 107. Among them, UPF103, AMF105, SMF106 and UDM107 are core network entities. Wherein:
terminal devices 101 may be distributed throughout communication system 100 and may be stationary or mobile. In some embodiments of the present invention, the terminal device 101 may be a mobile device, a mobile station (mobile station), a mobile unit (mobile unit), an M2M terminal, a wireless unit, a remote unit, a terminal agent, a mobile client, and the like, which are not limited by the embodiments of the present invention.
The (R) AN 102 may be a 5G base station, AN NR base station, or the like, and the terminal apparatus 101 may access the communication system 100 through the (R) AN 102. The (R) AN 102 may also be a network composed of a plurality of (R) AN 102 nodes, and may implement functions such as a wireless physical layer function, resource scheduling, and radio resource management. (R) AN 102 is connected to UPF103 via user plane interface N3 and may be used to transfer data for terminal equipment 101; the AN establishes a control plane signaling connection with the AMF105 through the control plane interface N2, and may be used to implement functions such as radio access bearer control.
The UPF103 may be used for packet routing and forwarding, QoS processing for the user plane, uplink traffic validation, transport level packet marking in the uplink and downlink, downlink packet buffering, and downlink data notification triggering, among other functions. The UPF103 is connected to the SMF106 via an N4 interface, the UPF103 is connected to the DN104 via an N6 interface, and the UPF103 is a session point for interconnecting external Protocol Data Units (PDUs) to a data network.
The AMF105 can be used for functions of authentication of the terminal device 101, selection of the SMF106, connection management, reachability management, mobility management, and the like. The AMF105 is connected to the SMF106 via an interface N11 and may be used to provide transmission of SM messages between the terminal device 101 and the SMF 106. The AMF105 may maintain and manage state information of the terminal device 101 as an anchor point for the N1 and N2 signaling connections.
The SMF106 is connected to the AMF105 through an N11 interface, and may be used for all control plane functions responsible for session management of the terminal device, including selection of the UPF103, address allocation of an Internet Protocol (IP) address, QoS attribute management of a session, and the like. The SMF106, connected to the UPF103 via interface N4, may control the insertion and removal of uplink classifiers and may also control the insertion and removal of UPFs 103 supporting branch points.
UDM107 is used for user identification processing, support of service/session continuity and user management functions, etc. UDM107 may be configured to store user subscription information corresponding to the terminal device. The UDM107 is connected to the AMF105 via an interface N8, the UDM107 is connected to the SMF106 via an interface N10, and the SMF106 and the AMF105 can obtain the above-mentioned subscription information from the UDM 107.
It should be noted that each entity shown in fig. 1 may be a single device physically, or two or more entities may be integrated on the same physical device, which is not limited in the embodiment of the present invention.
In the embodiment of the present invention, the communication system 100 may be a 5G communication system, an NR system, a future-evolution communication system, or the like.
In this embodiment of the present invention, the core network entity may also be referred to as a core network device or a network device.
The network architecture of the communication system 100 shown in fig. 1 is one possible implementation form of the QoS flow architecture. Based on the communication system 100, the terminal device 100 may establish one or more sessions with the core network, and the QoS flow is the smallest granularity that enables QoS differentiation in the above sessions.
The session may be a PDU session, which may be a connection established between the terminal device and the data network, which may be used to provide a PDU connection service, which may be of the IP protocol, ethernet or other type.
For convenience of understanding, the technical terms related to the embodiments of the present invention are described below.
QoS flow: the QoS flow is the finest QoS differentiation granularity in a PDU session. QoS Flow Identifiers (QFIs) are used to identify QoS flows in a 5G system, user plane data with the same QFI in a PDU session will get the same forwarding process (e.g. the same scheduling, the same admission threshold, etc.), and the QFIs are unique within one PDU session, i.e. there may be multiple (up to 64) QoS flows in one PDU session, but the QFIs of each QoS flow are different. In 5G systems, the QoS flow may be SMF pre-configured or established through a PDU session setup/modification procedure.
QoS flows include Guaranteed Bit Rate (GBR) QoS flows and Non-GBR QoS flows, whether a QoS flow is "GBR" or "Non-GBR" depending on its QoS configuration. The QoS configuration for a QoS flow contains QoS parameters as follows: the QoS configuration of each QoS flow includes QoS parameters of 5G QoS identifier (5G QoS identifier, 5QI) and Allocation and Retention Priority (ARP); the QoS configuration for each non-GBR QoS flow may also include a parameter that is a Reflective QoS Attribute (RQA); the QoS configuration for each GBR QoS flow may also contain parameters such as a Guaranteed Flow Bit Rate (GFBR) and a Maximum Flow Bit Rate (MFBR); the QoS configuration of each GBR QoS flow may also include parameters indicating control and maximum packet loss rate; each QoS flow is configured with a QFI corresponding thereto.
QoS rules: the QoS rules are used for executing classification and marking of uplink user plane data services, and the terminal equipment associates uplink data to corresponding QoS flows according to the QoS rules. These QoS rules may be provided to the terminal device by the network side (i.e., configured to the terminal device through signaling in the PDU session setup/modification procedure), pre-configured on the terminal device, or implicitly derived by the terminal device using a reflective QoS mechanism.
One QoS rule may comprise: QFI, Packet Filter Set (Packet Filter Set), priority of the associated QoS flow. One or more QoS rules may be associated with the same QoS flow. The QoS rules provided by the network side to the terminal device contain a QoS rule identifier that is unique within a PDU session and is generated by the SMF.
Each PDU session is configured with a default QoS rule, which is associated with a QoS flow. For IP-type or ethernet-type PDU sessions, the default QoS rule is the only one packet filter set in a PDU session that can contain the QoS rules of the packet filter that allows all upstream packets to pass through. For an Unstructured (Unstructured) type PDU session, the default QoS rules do not contain any set of packet filters, and define the way all data packets within the PDU session are processed.
A bag filter: the set of packet filters of the QoS rules at the end device side is used to identify the data flow, one set of packet filters may contain a plurality of packet filters, each packet filter may be downstream or upstream or bidirectional, and each packet filter corresponds to a packet filter identifier.
Referring to fig. 2, fig. 2 shows a terminal device 200 according to an embodiment of the present invention. As shown in fig. 2, the terminal device 200 may include: one or more terminal device processors 201, memory 202, communication interface 203, receiver 205, transmitter 206, coupler 207, antenna 208, terminal device interface 209. These components may be connected by a bus 204 or otherwise, which fig. 2 illustrates by way of example. Wherein:
the communication interface 203 may be used for the terminal device 200 to communicate with other communication devices, such as network devices. Specifically, the network device may be the network device 200 shown in fig. 3. Specifically, the communication interface 203 may be a 5G communication interface, or may be a communication interface of a future air interface. Not limited to the wireless communication interface, the terminal device 200 may also be configured with a wired communication interface 203 such as a Local Access Network (LAN) interface. Transmitter 206 may be configured to transmit signals output by terminal device processor 201. Receiver 205 may be used for receive processing of mobile communication signals received by antenna 208.
In some embodiments of the present invention, transmitter 206 and receiver 205 may be considered a wireless modem. In the terminal device 200, the number of the transmitters 206 and the receivers 205 may be one or more. The antenna 208 may be used to convert electromagnetic energy in the transmission line to electromagnetic energy in free space, or vice versa. The coupler 207 is used to divide the mobile communication signal received by the antenna 208 into a plurality of paths and distribute the plurality of paths to the plurality of receivers 205.
In addition to the transmitter 206 and receiver 205 shown in fig. 2, the terminal device 200 may also include other communication components, such as a GPS module, a bluetooth (bluetooth) module, a wireless fidelity (Wi-Fi) module, and the like. Not limited to wireless communication, the terminal device 200 may also be configured with a wired network interface (such as a LAN interface) to support wired communication.
The terminal device 200 may further include an input-output module. The input/output module may be used to implement interaction between the terminal device 200 and the terminal device/external environment, and may mainly include an audio input/output module, a key input module, a display, and the like. Specifically, the input/output module may further include: cameras, touch screens, sensors, and the like. The input/output modules communicate with the terminal device processor 201 through the terminal device interface 209.
The memory 202 is coupled to the terminal device processor 201 for storing various software programs and/or sets of instructions. In particular, the memory 202 may include high speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 202 may store an operating system (hereinafter referred to simply as a system), such as an embedded operating system like ANDROID, IOS, WINDOWS, or LINUX. The memory 202 may also store a network communication program that may be used to communicate with one or more additional devices, one or more terminal devices, one or more network devices.
In some embodiments of the present invention, the memory 202 may be used to store an implementation program of the session management method provided by one or more embodiments of the present invention on the terminal device 200 side. With regard to the implementation of the session management method provided by one or more embodiments of the present invention, please refer to the subsequent embodiments.
Terminal device processor 201 may be configured to read and execute computer readable instructions. Specifically, the terminal device processor 201 may be configured to call a program stored in the memory 202, for example, a program for implementing the session management method provided by one or more embodiments of the present invention on the terminal device 200 side, and execute instructions contained in the program.
It is understood that the terminal device 200 may be the terminal device 101 in the communication system 100 shown in fig. 1, and may be implemented as a mobile device, a mobile station (mobile station), a mobile unit (mobile unit), a wireless unit, a remote unit, a terminal device agent, a mobile client, and so on.
It should be noted that the terminal device 200 shown in fig. 2 is only one implementation manner of the embodiment of the present invention, and in practical applications, the terminal device 200 may also include more or less components, and is not limited herein.
Referring to fig. 3, fig. 3 illustrates a network device 300 provided by an embodiment of the invention. As shown in fig. 3, the network device 300 may include: one or more network device processors 301, memory 302, and a communication interface 303. These components may be connected by a bus 304 or otherwise, as illustrated in FIG. 3 by way of example of a bus connection. Wherein:
the communication interface 303 may be used for the network device 300 to communicate with other communication devices, such as terminal devices or other network devices. Specifically, the communication interface 303 may be a 5G communication interface, or may be a communication interface of a future air interface. Without being limited to a wireless communication interface, network device 300 may also be configured with a wired communication interface 303 to support wired communication, e.g., a backhaul link between one network device 300 and other network devices 300 may be a wired communication connection.
Memory 302 is coupled to network device processor 301 for storing various software programs and/or sets of instructions. In particular, the memory 302 may include high-speed random access memory, and may also include non-volatile memory, such as one or more magnetic disk storage devices, flash memory devices, or other non-volatile solid-state storage devices. The memory 302 may store an operating system (hereinafter referred to as a system), such as an embedded operating system (os) like uCOS, VxWorks, and RTLinux. The memory 302 may also store a network communication program that may be used to communicate with one or more additional devices, one or more terminal devices, and one or more network devices.
In embodiments of the present invention, network device processor 301 may be configured to read and execute computer readable instructions. Specifically, the network device processor 301 may be configured to call a program stored in the memory 302, for example, an implementation program of the session management method provided in one or more embodiments of the present invention on the network device 300 side, and execute instructions contained in the program.
It is to be appreciated that the network device 300 may be a core network entity in the communication system 100 shown in fig. 1, such as a UPF103, an AMF105, an SMF106, or a UDM 107.
It should be noted that the network device 300 shown in fig. 3 is only one implementation manner of the embodiment of the present invention, and in practical applications, the network device 300 may further include more or less components, which is not limited herein.
In the session establishment phase, for a case that the number of Qos flows, Qos rules, and/or packet filters in the Qos rules carried in a session establishment response message sent by the network is greater than the maximum number supported by the terminal device, the 5G protocol does not define how the terminal device should handle such an exception. Since the protocol does not define a method for handling such an exception, the terminal manufacturer generally handles the exception in the following manner. The method comprises the following steps: the terminal device does not execute session establishment, that is, the terminal device selects to release the packet filter in the newly added Qos flow, Qos rule and/or Qos rule issued by the network. The second method comprises the following steps: the terminal equipment selects to establish a session according to the self-supported capability, namely, the terminal equipment reserves part of information in a packet filter in the Qos flow, the Qos rule and/or the Qos rule issued by the network according to the self-supported capability. For the first method, since the session establishment is triggered by the Application (APP) service at the terminal device side, the normal service execution will be affected when the terminal device does not execute the session establishment; in addition, because the upper layer APP service is not established, the APP service will trigger session establishment again, and Qos resources delivered again by the network may still exceed Qos resources that can be supported by the terminal, the method may affect normal performance of the data service, and may also bring additional power consumption and signaling interaction. For the second method, the terminal only reserves part of Qos resources, but because the session establishment process does not notify the network side of session establishment exception, the method may cause inconsistency of session context information of the terminal device and the network side, and finally affect data services, where the session context information includes Qos flows and/or Qos rules.
Therefore, how to solve the above-mentioned abnormality is still a problem to be solved on the premise of ensuring the consistency of the session context information of the terminal device and the two ends of the network side and the normal operation of the data service.
In order to solve the above problem, an embodiment of the present invention further provides a session management method. Fig. 4 is a schematic flow chart of a session management method provided by an embodiment of the present invention. As shown in fig. 4, the session management method provided in the embodiment of the present invention includes, but is not limited to, steps S401 to S403. Possible implementations of embodiments of the method are described further below.
S401: the terminal equipment sends a session establishment request message to the network equipment, the network equipment receives the session establishment request message sent by the terminal equipment, and the session establishment request message is used for requesting to establish a session.
S402: the network equipment sends a session establishment response message to the terminal equipment, the terminal equipment receives the session establishment response message sent by the network equipment, and the session establishment response message carries QoS information of a session.
Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
Optionally, the QoS capability supported by the terminal device includes one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
S403: when the QoS information of the session exceeds the QoS capability supported by the terminal equipment, the terminal equipment reserves part of the QoS information in the QoS information of the session according to the QoS supporting capability of the terminal equipment.
Optionally, the QoS information of the session exceeds the support capability of the terminal, including one or more of the following situations: the number of the QoS flows in the QoS information of the session is larger than the maximum number of the QoS flows supported by the terminal equipment; the number of the QoS rules in the QoS information of the session is greater than the maximum number of the QoS rules supported by the terminal equipment; the number of packet filters in the QoS information of the session is greater than the maximum number of packet filters supported by the terminal device.
Optionally, the policy for retaining part of the QoS information of the session includes one or more of the following policies 1 to 3:
strategy 1: reserving a default QoS rule and a QoS flow corresponding to the default QoS rule;
strategy 2: packet filters (abbreviated as GBR packet filters) included in GBR QoS flows, GBR QoS flow-associated QoS rules (abbreviated as GBR QoS rules), and/or GBR QoS flow-associated QoS rules are preferentially reserved;
strategy 3: the high priority QoS flows, the high priority QoS rules, and/or the high priority packet filters included by the high priority QoS rules are preferentially retained.
In the embodiment of the present invention, if the policy for retaining part of the QoS information of the session includes multiple policies from policy 1 to policy 3, the execution order of the multiple policies is not limited.
Optionally, in case one: the policy for retaining part of the QoS information of the session includes policy 1 to policy 3, and the order of execution of policy 1 to policy 3 is policy 1, policy 2, and policy 3. The QoS information carried in the session establishment response message sent by the network equipment is called as first QoS information, the first QoS information comprises QoS flow and QoS rules, and the QoS rules comprise packet filters. The terminal device reserves part of the QoS information in the first QoS information according to the QoS supporting capability of the terminal device, which may include the steps of:
the method comprises the following steps: and if the first QoS information comprises a default QoS rule, reserving the default QoS rule, a packet filter in the default QoS rule and the QoS flow corresponding to the default QoS rule. Let the number of packet filters in the QoS flow, default QoS rule and default QoS rule associated with the default QoS rule be a1, B1 and C1, respectively. If the first condition is satisfied, executing the second step, wherein the first condition is one or a combination of the following conditions: a1 is less than the maximum number of QoS flows supported by the terminal equipment; b1 is less than the maximum number of QoS rules supported by the terminal device; c1 is less than the maximum number of packet filters supported by the end device.
Step two: the QoS information that has not been reserved in the first QoS information after step one is referred to as second QoS information. The GBR QoS flow, GBR QoS rules, and GBR packet filters are preferentially reserved in the second QoS information. The numbers of accumulated reserved QoS flows, QoS rules, and packet filters of step one and step two are a2, B2, and C2, respectively. If the second condition is satisfied, executing step three, wherein the second condition is one or a combination of the following conditions: a2 is less than the maximum number of QoS flows supported by the terminal equipment; b2 is less than the maximum number of QoS rules supported by the terminal device; c2 is less than the maximum number of packet filters supported by the end device.
Optionally, if the number of GBR QoS flows in the second QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1, the terminal device executes step three.
Optionally, if the number of GBR QoS flows in the second QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a1, the number of GBRQoS rules in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is greater than the maximum number of packet filters supported by the terminal device minus C1, then a part of the GBR packet filters are reserved in the second QoS information according to the packet filter reservation rule, and the number of packet filters reserved in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1. And if the second condition is met, the terminal equipment executes the step three.
Optionally, the packet filter retention rule is: at least one packet filter is reserved for each QoS rule, and the packet filters are randomly reserved in the packet filters contained in the QoS rules.
Optionally, the packet filter retention rule is: each QoS rule reserves at least one packet filter, and a QoS rule with a higher priority contains a packet filter with a higher priority than a QoS rule with a lower priority. On this basis, a packet filter having a high priority is preferentially retained among packet filters included in the plurality of QoS rules.
Optionally, if the number of GBR QoS flows in the second QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is greater than the maximum number of QoS rules supported by the terminal device minus B1, and the number of packet filters in the GBR QoS rules in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1, the GBR QoS rules with high priority are retained in the second QoS information, and the number of QoS rules retained in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. And if the second condition is met, the terminal equipment executes the step three.
Optionally, if the number of GBR QoS flows in the second QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is greater than the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is greater than the maximum number of packet filters supported by the terminal device minus C1, then the GBR QoS rules with high priority are retained in the second QoS information, and the number of QoS rules retained in the GBR QoS rules is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the number of packet filters included in the reserved GBR QoS rule in the second QoS information is greater than the maximum number of packet filters supported by the terminal device minus C1, then a part of the GBR packet filters is reserved according to the packet filter reservation rule among the packet filters included in the reserved GBR QoS rule, and the number of the GBR packet filters reserved in the second QoS information is equal to or less than the maximum number of packet filters supported by the terminal device minus C1. And if the second condition is met, the terminal equipment executes the step three.
Optionally, if the number of GBR QoS flows in the second QoS information is greater than the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1, then the QoS flow with high priority and the GBR QoS rule associated with the QoS flow are retained in the second QoS information, and the number of QoS flows retained in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. And if the second condition is met, the terminal equipment executes the step three.
Optionally, if the number of GBR QoS flows in the second QoS information is greater than the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is greater than the maximum number of packet filters supported by the terminal device minus C1, then the QoS flow with high priority and the GBR QoS rule associated with the QoS flow are retained in the second QoS information, and the number of GBR QoS flows retained in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the number of GBR packet filters included in the QoS rules associated with the reserved GBR QoS flow is still greater than C1, the GBR packet filters included in the QoS rules associated with the reserved GBR QoS flow are reserved according to the packet filter reservation rule, and the number of GBR packet filters reserved in the second QoS information is equal to or less than C1, which is the maximum number of packet filters supported by the terminal device. And if the second condition is met, the terminal equipment executes the step three.
Optionally, if the number of GBR QoS flows in the second QoS information is greater than the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is greater than the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1, then the QoS flow with high priority and the GBR QoS rule associated with the QoS flow are retained in the second QoS information, and the number of GBR QoS flows retained in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the number of the reserved GBRQoS flow-related QoS rules is still greater than the maximum number of QoS rules supported by the terminal device minus B1, then the QoS rules with high priority are reserved in the reserved GBR QoS flow-related QoS rules, and the number of the reserved GBR QoS rules in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. And if the second condition is met, the terminal equipment executes the step three.
Optionally, if the number of GBR QoS flows in the second QoS information is greater than the maximum number of QoS flows supported by the terminal device minus a1, the number of GBR QoS rules in the second QoS information is greater than the maximum number of QoS rules supported by the terminal device minus B1, and the number of GBR packet filters in the second QoS information is greater than the maximum number of packet filters supported by the terminal device minus C1, then the QoS flow with high priority and the GBR QoS rule associated with the QoS flow are retained in the second QoS information, and the number of QoS flows retained in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the number of the QoS rules associated with the reserved GBR QoS flow remains larger than the maximum number of QoS rules supported by the terminal device minus B1, the QoS rules with higher priority are reserved in the QoS rules associated with the reserved GBR QoS flow, and the number of the GBR QoS rules reserved in the second QoS information is equal to or less than the maximum number of QoS rules supported by the terminal device minus B1. If the number of GBR packet filters included in the reserved GBR QoS rule is still greater than the maximum number of packet filters supported by the terminal device minus C1, a packet filter is reserved in the GBR packet filters included in the reserved GBR QoS rule according to the packet filter reservation rule, and the number of GBR packet filters reserved in the second QoS information is equal to or less than the maximum number of packet filters supported by the terminal device minus C1. And if the second condition is met, the terminal equipment executes the step three.
Step three: and the QoS information which is not reserved in the second QoS information after the second step is called third QoS information. The third QoS information includes a high-priority QoS flow, a high-priority QoS rule, and a high-priority packet filter.
Optionally, if a2 is equal to the maximum number of QoS flows supported by the terminal device, B2 is equal to the maximum number of QoS rules supported by the terminal device, and C2 is less than the maximum number of packet filters supported by the terminal device, the packet filter is reserved according to the packet filter reservation rule, and the number of packet filters reserved by the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
Optionally, if a2 is equal to the maximum number of QoS flows supported by the terminal device, B2 is less than the maximum number of QoS rules supported by the terminal device, and C2 is less than the maximum number of packet filters supported by the terminal device, the QoS rules with higher priority in the third QoS information are preferentially reserved, and the number of QoS rules reserved by the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus B2. If the number of packet filters included in the QoS rule retained in the third QoS information is still greater than the maximum number of packet filters supported by the terminal device, a packet filter is retained in the packet filters included in the QoS rule retained according to the packet filter retention rule, and the number of packet filters retained in the third QoS information is equal to or less than the maximum number of packet filters supported by the terminal device minus C2.
Optionally, if a2 is less than the maximum number of QoS flows supported by the terminal device, B2 is equal to the maximum number of QoS rules supported by the terminal device, and C2 is less than the maximum number of packet filters supported by the terminal device, the QoS flows with high priority in the third QoS information and the QoS rules associated with the QoS flows are preferentially reserved, and the number of QoS flows reserved by the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a 2. If the number of packet filters included in the QoS rules associated with the reserved QoS flow is still greater than the maximum number of packet filters supported by the terminal device, a packet filter is reserved according to the packet filter reservation rule in the packet filters included in the QoS rules associated with the reserved QoS flow, and the number of packet filters reserved by the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
Optionally, if a2 is less than the maximum number of QoS flows supported by the terminal device, B2 is less than the maximum number of QoS rules supported by the terminal device, and C2 is less than the maximum number of packet filters supported by the terminal device, the QoS flows with high priority in the third QoS information and the QoS rules associated with the QoS flows are preferentially reserved, and the number of QoS flows reserved by the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a 2. If the number of the QoS rules associated with the QoS flow reserved in the third QoS information is still less than the maximum number of the QoS rules supported by the terminal device, the QoS rules with higher priority in the QoS rules associated with the QoS flow reserved in the third QoS information are preferentially reserved, and the number of the QoS rules reserved by the third QoS information is less than or equal to the maximum number of the QoS rules supported by the terminal device minus B2. If the number of packet filters included in the QoS rule retained in the third QoS information is still greater than the maximum number of packet filters supported by the terminal device, a packet filter is retained in the packet filters included in the QoS rule retained according to the packet filter retention rule, and the number of packet filters retained in the third QoS information is equal to or less than the maximum number of packet filters supported by the terminal device minus C2.
Optionally, if a2 is equal to the maximum number of QoS flows supported by the terminal device, B2 is less than the maximum number of QoS rules supported by the terminal device, and C2 is equal to the maximum number of packet filters supported by the terminal device, the QoS rules with higher priority in the third QoS information are preferentially reserved, and the number of QoS rules reserved by the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2.
Optionally, if a2 is less than the maximum number of QoS flows supported by the terminal device, B2 is equal to the maximum number of QoS rules supported by the terminal device, and C2 is equal to the maximum number of packet filters supported by the terminal device, the QoS flows with high priority in the third QoS information and the QoS rules associated with the QoS flows are preferentially reserved, and the number of QoS flows reserved by the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a 2.
Optionally, if a2 is less than the maximum number of QoS flows supported by the terminal device, B2 is less than the maximum number of QoS rules supported by the terminal device, and C2 is equal to the maximum number of packet filters supported by the terminal device, the QoS flows with high priority in the third QoS information and the QoS rules associated with the QoS flows are preferentially reserved, and the number of QoS flows reserved by the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus a 2. If the number of the QoS rules associated with the QoS flow reserved in the third QoS information is still less than the maximum number of the QoS rules supported by the terminal device, the QoS rules with higher priority in the QoS rules associated with the QoS flow reserved in the third QoS information are preferentially reserved, and the number of the QoS rules reserved by the third QoS information is less than or equal to the maximum number of the QoS rules supported by the terminal device minus B2.
Optionally, in case two: the policy for retaining part of the QoS information of the session includes policy 1 to policy 3, and the order of execution of policy 1 to policy 3 is policy 2, policy 1 and policy 3. The specific implementation of the terminal device reserving a part of QoS information in the QoS information according to the QoS supporting capability of the terminal device may refer to the specific implementation of the case one, and details are not described here again.
S404: the terminal device sends a session modification request message to the network device, the network device receives the session modification request message sent by the terminal device, the session modification request message contains first indication information, and the first indication information is used for indicating that the terminal device does not reserve part of QoS information in the QoS information of the session.
Optionally, the first indication information carries an identifier of the unreserved part of the QoS information.
It can be understood that, in order to ensure that the session contexts of the terminal and the network device are consistent, the session modification request message indicates to the network device a part of the QoS information that is not reserved by the terminal device in the QoS information of the session.
Optionally, the first indication information carries the QFI of the unreserved QoS flow, an identifier of the unreserved QoS rule, and an identifier of the unreserved packet filter.
Optionally, the session modification request message further includes second indication information, where the second indication information is used to indicate that the Qos capability of the terminal device is insufficient.
For example, the second indication information is #26 instant resources.
Optionally, the session modification request message further includes third indication information, where the third indication information is used to indicate a reason that the QoS capability of the terminal device is insufficient.
Optionally, the reason for insufficient QoS capability includes one or a combination of the following: insufficient QoS flow capability; insufficient QoS rules capability; the packet filter capacity is insufficient.
For example, the cause codes of insufficient QoS capability include # a, # B, and # C, which indicate insufficient QoS flow capability, insufficient QoS rule capability, and insufficient packet filter capability, respectively. For example, if the QoS rule capability is insufficient and the packet filter capability is insufficient, the third indication information includes cause codes # B and # C.
For example, the cause codes of insufficient QoS capability include # a, # B, # C, # D, # E, # F, and # G. # a, # B, and # C are used to indicate insufficient QoS flow capability, insufficient QoS rule capability, and insufficient packet filter capability, respectively; # D is used to indicate insufficient QoS flow capabilities and insufficient QoS rules capabilities; # E is used to indicate insufficient QoS rules capabilities and insufficient packet filter capabilities; # F is used to indicate that the QoS flow capability is insufficient; and insufficient capacity of the packet filter; # G is used to indicate insufficient QoS flow capability, insufficient QoS rules capability, and insufficient packet filter capability. For example, if the QoS rules capability is insufficient and the packet filter capability is insufficient, the third indication information includes a reason code # E.
Optionally, the baseband (MODEM) module of the terminal device informs an Application Program (AP) module of the terminal device through a general interface (e.g., AT command interface) that the QoS capability of the terminal device is insufficient.
Optionally, the baseband (MODEM) module of the terminal device informs an Application Program (AP) module of the terminal device through a general interface (e.g., AT command interface) to send the reason for the insufficient QoS capability of the terminal device.
S405: and the network equipment releases part of QoS information in the QoS information of the session according to the first indication information.
It can be understood that the network device releases the QoS information that is not reserved by the terminal device in the QoS information of the session, thereby ensuring that the session contexts at the two ends of the terminal and the network device are consistent, and further ensuring the normal operation of the data service.
In the embodiment of the invention, the network equipment receives the session establishment request message sent by the terminal equipment and sends the session establishment response message to the terminal equipment, wherein the session establishment response message carries the QoS information of the session. When the QoS information of the session exceeds the QoS capability supported by the terminal equipment, the terminal equipment reserves part of QoS information in the QoS information of the session according to the QoS supporting capability of the terminal equipment, and indicates the part of the QoS information which is not reserved in the QoS information of the session by the terminal equipment to the network equipment through the session modification request message. The embodiment of the invention solves the problem that the QoS information issued by the network equipment can not be supported due to the insufficient QoS capability of the terminal equipment in the session establishment process, and ensures the session context consistency between the terminal and the network equipment.
Optionally, if the network device is an SMF, the flow of the session management method is shown in fig. 5, where step S401 may further include S4011 and S4012, step S402 may further include S4021 and S4022, and step S404 may further include S4041 and S4042. Wherein the content of the first and second substances,
s4011: the terminal equipment sends a session establishment request message to the AMF, and the AMF receives the session establishment request message sent by the terminal equipment.
S4012: the AMF sends a session establishment request message to the SMF.
For example, the SESSION ESTABLISHMENT REQUEST message is a PDU SESSION ESTABLISHMENT REQUEST.
S4021: SMF sends session establishment response message to AMF, AMF receives session establishment response message sent by SMF, said session establishment response message carries QoS information of session.
S4022: and the AMF sends a session establishment response message to the terminal equipment, and the terminal equipment receives the session establishment response message sent by the AMF.
For example, the SESSION ESTABLISHMENT response message is a PDU SESSION ESTABLISHMENT response.
S4041: the terminal device sends a session modification request message to the AMF, the AMF receives the session modification request message sent by the terminal device, the session modification request message contains first indication information, and the first indication information is used for indicating that the terminal device does not reserve part of QoS information in the QoS information of the session.
S4042: the AMF sends a session modification request message to the SMF.
For example, the SESSION MODIFICATION REQUEST message is a PDU SESSION MODIFICATION REQUEST.
The embodiment of the invention provides a session management method. Fig. 6 is a schematic flowchart of a session management method according to an embodiment of the present invention. As shown in fig. 6, the session management method provided by the embodiment of the present invention includes, but is not limited to, steps S501 to S503. Possible implementations of embodiments of the method are described further below.
S501: the terminal equipment sends a session establishment request message to the network equipment, the network equipment receives the session establishment request message sent by the terminal equipment, the session establishment request message is used for requesting the establishment of a session, and the session establishment request message carries QoS (quality of service) capability supported by the terminal equipment.
Optionally, the following two implementation modes are provided in the embodiment of the present invention:
in the first embodiment, the session establishment request message carries the QoS capabilities supported by the terminal device regardless of whether the preset number is set or not and regardless of whether the QoS capabilities supported by the terminal device itself are greater than the preset QoS number or not.
In the second embodiment, when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the session establishment request message carries the QoS capability supported by the terminal device. And when the QoS capability supported by the terminal equipment is less than or equal to the preset QoS quantity, the session establishment request message does not carry the QoS capability supported by the terminal equipment.
Optionally, the preset QoS number is predefined by the terminal device and the operator, and the predefined QoS number of the terminal device and the operator can ensure service development of most users in the future.
Optionally, the QoS capability supported by the terminal device carried in the session establishment request message includes one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
Optionally, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
It can be understood that, in the second embodiment, the QoS number predefined by the terminal device and the operator may ensure the service development of most users in the future, and when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the terminal device carries the QoS capability supported by the terminal in the session establishment request message, so as to notify the network device that the QoS capability supported by the terminal device itself is greater than or equal to the preset QoS number, so as to obtain more QoS resources, thereby improving the data service processing capability of the terminal device.
S502: the network equipment generates a session establishment response message, the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to QoS capability supported by the terminal equipment.
Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
Optionally, in the first embodiment, the determining, by the network device according to the QoS capability supported by the terminal device, the QoS information of the session includes: if the network equipment judges that the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the network equipment determines the quantity of the QoS information of the session according to the minimum value of the QoS capability supported by the network equipment, the QoS quantity in the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment, wherein the quantity of the QoS information of the session is less than or equal to the minimum value; if the network device judges that the QoS capability supported by the terminal device is greater than the QoS capability supported by the network device, the network device determines the QoS information of the session according to the minimum value of the QoS quantity in the user subscription information corresponding to the terminal device and the QoS capability supported by the terminal device, wherein the quantity of the QoS information of the session is less than or equal to the minimum value.
Optionally, in the second embodiment, the determining, by the network device, the QoS information of the session according to the QoS capability supported by the terminal device includes: if the network equipment judges that the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the network equipment determines the number of the QoS information of the session according to the minimum value of the QoS capability supported by the network equipment, the QoS number in the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment, wherein the number of the QoS information of the session is less than or equal to the minimum value; if the network equipment judges that the QoS capability supported by the terminal equipment is greater than the QoS capability supported by the network equipment, the network equipment determines the QoS information of the session according to the minimum value of the preset QoS quantity, the QoS quantity in the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment, wherein the quantity of the QoS information of the session is less than or equal to the minimum value.
In the embodiment of the present invention, the QoS number in the user subscription information includes the number of subscribed QoS streams, the number of subscribed QoS rules, and/or the number of subscribed packet filters.
The following further describes a specific implementation manner of determining, by the network device, QoS information of a session according to QoS capabilities supported by the terminal device, by taking the second implementation manner as an example.
Optionally, in the second embodiment, if the QoS capability supported by the terminal device includes the maximum number of QoS flows supported by the terminal device, and the preset QoS number includes the preset number of QoS flows, the determining, by the network device, the number of QoS flows in the QoS information of the session according to the QoS capability supported by the terminal device includes:
if the network device judges that the maximum number of the QoS flows supported by the terminal device is less than or equal to the maximum number of the QoS flows supported by the network device, the network device determines the number of the QoS flows of the session according to the minimum value of the maximum number of the QoS flows supported by the network device, the number of the QoS flows subscribed in the user subscription information corresponding to the terminal device and the maximum number of the QoS flows supported by the terminal device, wherein the minimum value is a first numerical value, and the number of the QoS flows in the QoS information of the session is less than or equal to the first numerical value; if the network device judges that the maximum number of the QoS flows supported by the terminal device is larger than the maximum number of the QoS flows supported by the network device, the network device determines the number of the QoS flows of the session according to the minimum value of the preset number of the QoS flows, the number of the QoS flows subscribed in the user subscription information corresponding to the terminal device and the maximum number of the QoS flows supported by the terminal device, wherein the minimum value is a second numerical value, and the number of the QoS flows in the QoS information of the session is smaller than or equal to the second numerical value.
Optionally, in the second embodiment, if the QoS capability supported by the terminal device includes the maximum number of QoS rules supported by the terminal device, and the preset QoS number includes the number of preset QoS rules, the determining, by the network device, the number of QoS rules in the QoS information of the session according to the QoS capability supported by the terminal device includes:
if the network device judges that the maximum number of the QoS rules supported by the terminal device is less than or equal to the maximum number of the QoS rules supported by the network device, the network device determines the number of the QoS rules of the session according to the minimum value of the maximum number of the QoS rules supported by the network device, the number of the QoS rules subscribed in the user subscription information corresponding to the terminal device and the maximum number of the QoS rules supported by the terminal device, wherein the minimum value is a third numerical value, and the number of the QoS rules in the QoS information of the session is less than or equal to the third numerical value; if the network device judges that the maximum number of the QoS rules supported by the terminal device is greater than the maximum number of the QoS rules supported by the network device, the network device determines the number of the QoS rules of the session according to the minimum value of the preset number of the QoS rules, the number of the QoS rules subscribed in the user subscription information corresponding to the terminal device and the maximum number of the QoS rules supported by the terminal device, wherein the minimum value is a fourth numerical value, and the number of the QoS rules in the QoS information of the session is less than or equal to the fourth numerical value.
Optionally, in the second embodiment, if the QoS capability supported by the terminal device includes the maximum number of packet filters in the QoS rule supported by the terminal device, and the preset QoS number includes the preset number of packet filters, the determining, by the network device, the number of packet filters in the QoS information of the session according to the QoS capability supported by the terminal device includes:
if the network device judges that the maximum number of the packet filters supported by the terminal device is less than or equal to the maximum number of the packet filters supported by the network device, the network device determines the number of the packet filters of the session according to the minimum value of the maximum number of the packet filters supported by the network device, the number of the packet filters subscribed in the user subscription information corresponding to the terminal device and the maximum number of the packet filters supported by the terminal device, wherein the minimum value is a fifth numerical value, and the number of the packet filters in the QoS information of the session is less than or equal to the fifth numerical value; if the network device judges that the maximum number of the packet filters supported by the terminal device is larger than the maximum number of the packet filters supported by the network device, the network device determines the number of the session packet filters according to the minimum value of the preset number of the packet filters, the number of the packet filters subscribed in the user subscription information corresponding to the terminal device and the maximum number of the packet filters supported by the terminal device, wherein the minimum value is a sixth numerical value, and the number of the packet filters in the QoS information of the session is smaller than or equal to the sixth numerical value.
Optionally, in the second embodiment, if the QoS capabilities supported by the terminal device include the maximum number of QoS flows supported by the terminal device, the maximum number of QoS rules supported by the terminal device, and the maximum number of packet filters supported by the terminal device, the determining, by the network device, the number of QoS flows, QoS rules, and packet filters in the QoS information of the session according to the QoS capabilities supported by the terminal device may include the following steps:
the method comprises the following steps: the network equipment determines M QoS flows in the QoS information of the session, and the QoS parameter of each QoS flow comprises ARP and QFI corresponding to the QoS flow. If the maximum number of the QoS flows supported by the terminal equipment is less than or equal to the maximum number of the QoS flows supported by the network equipment, and M is less than or equal to a first value, if the maximum number of the QoS flows supported by the terminal equipment is greater than the maximum number of the QoS flows supported by the network equipment, M is less than or equal to a second value,
step two: the network device generates N QoS rules in the QoS information of the session according to the QoS strategy of the core network, the subscription information of the user and the like, wherein the N QoS rules comprise H packet filters. Any one of the N QoS rules is associated with one of the M QoS flows. The QoS rule includes the QFI, priority, and one or more packet filters of the associated QoS flow. If the maximum number of the QoS rules supported by the terminal equipment is less than or equal to the maximum number of the QoS rules supported by the network equipment, M is less than or equal to a third numerical value, and if the maximum number of the QoS rules supported by the terminal equipment is greater than the maximum number of the QoS rules supported by the network equipment, M is less than or equal to a fourth numerical value. If the maximum number of the packet filters supported by the terminal device is less than or equal to the maximum number of the packet filters supported by the network device, M is less than or equal to a fifth numerical value, and if the maximum number of the packet filters supported by the terminal device is greater than the maximum number of the packet filters supported by the network device, M is less than or equal to a sixth numerical value.
For the specific implementation of the first embodiment, reference may be made to the specific implementation of the second embodiment, which is not described herein again.
S503: the network equipment sends a session establishment response message to the terminal equipment, and the terminal equipment receives the session establishment response message sent by the network equipment.
In the embodiment of the invention, the session establishment request message sent by the terminal equipment to the network equipment carries the QoS capability supported by the terminal equipment, thereby informing the network equipment of the QoS capability supported by the terminal equipment. The network device may determine the QoS flow, the QoS rule, and/or the number of packet filters in the QoS information according to the QoS capability supported by the terminal device, and a session establishment response message sent by the network device to the terminal device carries the QoS information of the session. The embodiment of the invention solves the problem that the terminal equipment cannot support the QoS information issued by the network equipment due to the insufficient QoS capability of the terminal equipment in the session establishment process, realizes the differentiated processing of the terminal equipment with different QoS requirements, and can configure more QoS resources for the terminal equipment with high QoS requirements.
Optionally, if the network device is an SMF, the flow of the session management method is shown in fig. 7, where the step S501 may further include S5011 and S5012, the step S503 may further include S5031 and S5032, and the method shown in fig. 7 further includes steps S504 to S505. Wherein the content of the first and second substances,
s5011: the terminal equipment sends a session establishment request message to the AMF, the AMF receives the session establishment request message sent by the terminal equipment, the session establishment request message is used for requesting the establishment of a session, and the session establishment request message carries the QoS capability supported by the terminal equipment.
S5012: the AMF sends a session establishment request message to the SMF.
For example, the SESSION ESTABLISHMENT REQUEST message is a PDU SESSION ESTABLISHMENT REQUEST.
S5031: and the SMF sends a session establishment response message to the AMF, and the AMF receives the session establishment response message sent by the SMF.
S5032: and the AMF sends a session establishment response message to the terminal equipment, and the terminal equipment receives the session establishment response message sent by the AMF.
For example, the SESSION ESTABLISHMENT response message is a PDU SESSION ESTABLISHMENT response.
S504: the SMF sends an acquisition request to the UDM, and the UDM receives the acquisition request sent by the SMF, wherein the acquisition request is used for acquiring the user subscription information corresponding to the terminal equipment.
S505: and the UDM sends the user subscription information to the SMF, and the SMF receives the user subscription information sent by the UDM.
It is understood that the SMF obtains subscriber subscription information for determining the QoS information for the session.
The embodiment of the invention provides a session management method. Fig. 8 is a schematic flowchart of a session management method according to an embodiment of the present invention. As shown in fig. 8, the session management method provided in the embodiment of the present invention includes, but is not limited to, steps S506 to S508. Possible implementations of embodiments of the method are described further below.
S506: the terminal equipment sends a session establishment request message to the network equipment, the network equipment receives the session establishment request message sent by the terminal equipment, the session establishment request message is used for requesting to establish a session, and the session establishment request message does not carry QoS (quality of service) capability supported by the terminal equipment.
Optionally, the preset QoS number is predefined by the terminal device and the operator. The QoS quantity predefined by the terminal equipment and the operator can ensure the service development of most users in the future.
Optionally, the preset QoS quantity is a QoS capability supported by the network device.
Optionally, the preset QoS number is a QoS number in the user subscription information of the terminal device.
Optionally, the preset QoS number is a minimum value of QoS capability supported by the network device and a QoS number in the user subscription information.
Optionally, the preset QoS number is predefined by the terminal device and the operator. When the QoS capability supported by the terminal equipment is larger than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal equipment. And when the QoS capability supported by the terminal equipment is less than or equal to the preset QoS quantity, the session establishment request message does not carry the QoS capability supported by the terminal equipment.
Optionally, the QoS capability supported by the terminal device carried in the session establishment request message includes one or a combination of the following: a maximum number of QoS flows supported by the terminal device; a maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
Optionally, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
S507: the network equipment generates a session establishment response message, wherein the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network equipment according to the preset QoS quantity.
Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
Optionally, if the preset QoS quantity is predefined by the terminal device and the operator, the determining, by the network device, the QoS information of the session according to the preset QoS quantity includes: the network equipment determines the QoS information of the session according to the minimum value of the QoS capability supported by the network equipment, the QoS quantity in the user subscription information corresponding to the terminal equipment and the preset QoS quantity, wherein the quantity of the QoS information of the session is less than or equal to the minimum value.
Optionally, if the preset QoS number is predefined by the terminal device and the operator, the QoS capability supported by the terminal device includes a maximum number of QoS flows supported by the terminal device, and the preset QoS number includes a number of preset QoS flows, the network device determines, according to the preset QoS number, a number of QoS flows in the QoS information of the session, which includes: the network device determines the number of the QoS flows in the session QoS information according to the minimum value among the maximum number of the QoS flows supported by the network device, the QoS number in the user subscription information corresponding to the terminal device and the preset QoS flow number, wherein the number of the QoS flows in the session QoS information is less than or equal to the minimum value.
Optionally, if the preset QoS number is predefined by the terminal device and the operator, and the QoS capability supported by the terminal device includes the maximum number of QoS rules supported by the terminal device, and the preset QoS number includes the number of preset QoS rules, the network device determines, according to the preset QoS number, the number of QoS rules in the QoS information of the session, including: and the network equipment determines the number of the QoS rules in the QoS information of the session according to the minimum value among the maximum number of the QoS rules supported by the network equipment, the QoS number in the user subscription information corresponding to the terminal equipment and the preset QoS rule number, wherein the number of the QoS rules in the QoS information of the session is less than or equal to the minimum value.
Optionally, if the preset QoS number is predefined by the terminal device and the operator, and the QoS capability supported by the terminal device includes a maximum number of packet filters supported by the terminal device, and the preset QoS number includes a preset number of packet filters, the network device determines, according to the preset QoS number, a number of packet filters in the QoS information of the session, including: the network device determines the number of the QoS rules in the QoS information of the session according to the minimum value among the maximum number of the packet filters supported by the network device, the QoS number in the user subscription information corresponding to the terminal device and the preset number of the packet filters, wherein the number of the packet filters in the QoS information of the session is less than or equal to the minimum value.
Optionally, if the preset QoS amount is a QoS capability supported by the network device, the network device determines QoS information of the session according to the QoS capability supported by the network device, where the QoS information of the session is less than or equal to the QoS capability supported by the network device.
Optionally, if the preset QoS number is a QoS capability supported by the network device, and the preset QoS number includes a preset number of QoS streams, the network device determines, according to a maximum number of QoS streams supported by the network device, a number of QoS streams in the QoS information of the session, where the number of QoS streams in the QoS information of the session is less than or equal to the maximum number of QoS streams supported by the network device.
Optionally, if the preset QoS number is a QoS capability supported by the network device, and the preset QoS number includes a number of preset QoS rules, the network device determines, according to a maximum number of QoS rules supported by the network device, a number of QoS rules in the QoS information of the session, where the number of QoS rules in the QoS information of the session is less than or equal to the maximum number of QoS rules supported by the network device.
Optionally, if the preset QoS number is a QoS capability supported by the network device, and the preset QoS number includes a preset number of packet filters, the network device determines, according to the maximum number of packet filters supported by the network device, the number of packet filters in the QoS information of the session, where the number of packet filters in the QoS information of the session is less than or equal to the maximum number of packet filters supported by the network device.
Optionally, if the preset QoS amount is a QoS amount in user subscription information corresponding to the terminal device, the network device determines QoS information of a session according to the QoS amount in the user subscription information, where the QoS information of the session is less than or equal to the QoS amount in the user subscription information.
Optionally, if the preset QoS number is a QoS number in user subscription information corresponding to the terminal device, where the QoS number in the user subscription information includes a number of subscribed QoS streams, the network device determines, according to the number of subscribed QoS streams, a number of QoS streams in the QoS information of the session, and the number of QoS streams in the QoS information of the session is less than or equal to the number of subscribed QoS streams.
Optionally, if the preset QoS number is a QoS number in user subscription information corresponding to the terminal device, where the QoS number in the user subscription information includes a number of subscribed QoS rules, the network device determines, according to the number of the subscribed QoS rules, a number of QoS rules in the QoS information of the session, where the number of the QoS rules in the QoS information of the session is less than or equal to the number of the subscribed QoS rules.
Optionally, if the preset QoS number is a QoS number in user subscription information corresponding to the terminal device, where the QoS number in the user subscription information includes a number of subscribed packet filters, the network device determines, according to the number of subscribed packet filters, the number of packet filters in the QoS information of the session, and the number of packet filters in the QoS information of the session is less than or equal to the number of subscribed packet filters.
Optionally, if the preset QoS number is a minimum value between the QoS capability supported by the network device and the QoS number in the user subscription information, the network device determines the QoS information of the session according to the minimum value, where the QoS information of the session is less than or equal to the minimum value.
S508: the network equipment sends a session establishment response message to the terminal equipment, and the terminal equipment receives the session establishment response message sent by the network equipment.
Optionally, if the preset QoS quantity is predefined by the terminal device and the operator, the embodiment of the present invention may be combined with S501 to S503 in the first embodiment to form another session management method.
The embodiment of the invention also provides a session management method. Fig. 6 is a schematic flowchart of a session management method according to an embodiment of the present invention. As shown in fig. 6, the session management method provided in the embodiment of the present invention includes, but is not limited to, steps S601 to S606. Possible implementations of embodiments of the method are described further below.
S601: the terminal equipment sends a session establishment request message to the network equipment, the network equipment receives the session establishment request message sent by the terminal equipment, and the session establishment request message is used for requesting to establish a session.
S602: the network equipment generates a session establishment response message, the session establishment response message carries QoS information of a session, when the session establishment request message carries QoS capability supported by the terminal equipment, the QoS information of the session is determined by the network equipment according to the QoS capability supported by the terminal equipment, and when the session establishment request message does not carry the QoS capability supported by the terminal equipment, the QoS information of the session is determined by the network equipment according to the preset QoS quantity.
S603: the network equipment sends a session establishment response message to the terminal equipment, and the terminal equipment receives the session establishment response message sent by the network equipment.
For the specific implementation of S601-S603, reference is made to alternative embodiments of S501-S503 and S506-S508, which are not described herein again.
S604: when the QoS information of the session exceeds the QoS capability supported by the terminal equipment, the terminal equipment reserves part of the QoS information in the QoS information of the session according to the QoS supporting capability of the terminal equipment.
It can be understood that, if the session establishment request message does not carry the QoS capability supported by the terminal device, the QoS information of the session is determined by the network device according to the preset QoS quantity. If the QoS capability supported by the terminal device is less than the preset number, the QoS information of the session may exceed the QoS capability supported by the terminal device.
S605: the terminal device sends a session modification request message to the network device, the network device receives the session modification request message sent by the terminal device, the session modification request message includes first indication information, and the first indication information is used for indicating partial QoS information which is not reserved in the QoS information of the session by the terminal device.
The specific implementation of S604-S605 refers to the alternative embodiments of S403-S404, which are not described herein again.
S606: and the network equipment releases part of the QoS information in the QoS information of the session according to the first indication information.
In the embodiment of the present invention, the session establishment response message carries QoS information of a session, if the session establishment request message carries QoS capabilities supported by the terminal device, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, and if the session establishment request message does not carry QoS capabilities supported by the terminal device, the QoS information of the session is determined by the network device according to a preset QoS quantity. The terminal equipment receives a session establishment response message sent by the network equipment, if the QoS information of the session exceeds the QoS capability supported by the terminal equipment, the terminal equipment reserves part of QoS information in the QoS information of the session according to the QoS supporting capability of the terminal equipment, and sends a session modification request message to the network equipment, and the session modification request message indicates the unreserved part of QoS information of the terminal equipment in the QoS information of the session. The embodiment of the invention solves the problem that the terminal equipment cannot support the QoS information issued by the network equipment due to the insufficient QoS capability of the terminal equipment in the session establishment process, realizes the differentiated processing of the terminal equipment with different QoS requirements, and can configure more QoS resources for the terminal equipment with high QoS requirements.
Aiming at a scene of switching between different systems, the invention provides a session management method, which can comprise the following steps:
the terminal device is switched from the first communication system to the second communication system. If the QoS information of the session established in the first communication system by the terminal equipment exceeds the quantity of the preset QoS of the second communication system, the terminal equipment reserves part of the QoS information in the QoS information of the session according to the quantity of the preset QoS. The terminal device sends a session modification request message to a network device of the second communication system, the network device receives the session modification request message sent by the terminal device, the session modification request message carries fourth indication information and QoS capability supported by the terminal device, the fourth indication information is used for indicating part of the QoS information which is not reserved in the session QoS information of the terminal device, and the QoS capability supported by the terminal device is used for informing the maximum quantity of the QoS information supported by the terminal device of the network device. And the network equipment releases part of the QoS information in the QoS information of the session according to the fourth indication information. The network device sends a session modification response message to the terminal device, and the terminal device receives the session modification response message sent by the network device.
It can be understood that the QoS capability supported by the terminal device is used to inform the network device of the maximum amount of QoS information supported by the terminal device, so as to ensure that the QoS information issued by the network device does not exceed the QoS capability supported by the device in the subsequent session modification process.
Referring to fig. 10, fig. 10 is a schematic structural diagram of another terminal device provided in the embodiment of the present invention. As shown in fig. 10, the terminal device 700 may include: a first sending unit 701, a holding unit 702 and a first receiving unit 703. Wherein:
a first sending unit 701, configured to send a session establishment request message to a network device, where the session establishment request message is used to request to establish a session.
A first receiving unit 703 is configured to receive a session establishment response message sent by a network device, where the session establishment response message carries QoS information of a session.
A reserving unit 702, configured to reserve part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal device when the QoS information of the session exceeds the QoS capability supported by the terminal device.
The first sending unit 701 is further configured to send a session modification request message to the network device, where the session modification request message includes first indication information, and the first indication information is used to indicate that the processor does not reserve part of QoS information in the QoS information of the session.
Optionally, the reserving unit 702 reserves part of the QoS information in the QoS information of the session, where the part of the QoS information includes one or a combination of the following: reserving a default QoS rule in the QoS information of the session and a QoS flow corresponding to the default QoS rule; a packet filter for preferentially reserving the QoS flow of guaranteed bit rate, the QoS rule of guaranteed bit rate and/or the QoS rule of guaranteed bit rate in the QoS information of the session; and a packet filter for preferentially reserving a QoS flow with a high priority, a QoS rule with a high priority, and/or a QoS rule with a high priority in the QoS information of the session.
Optionally, the session modification request message further includes second indication information, where the second indication information is used to indicate that the Qos capability of the terminal device is insufficient.
Optionally, the second indication information is #26 instant resources.
Optionally, the QoS capability supported by the terminal device includes one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
Optionally, the network device is an SMF, and the sending, by the first sending unit 701, a session establishment request message to the network device includes: the first transmitting unit 701 transmits a session establishment request message to the SMF through the AMF.
Optionally, the network device is an SMF, and the receiving, by the first receiving unit 703, a session establishment response message sent by the network device includes: the first receiving unit 703 receives the session establishment response message sent by the SMF through the AMF.
Optionally, the network device is an SMF, and the sending, by the first sending unit 701, a session modification request message to the network device includes: the first transmitting unit 701 transmits a session establishment request message to the SMF through the AMF.
Referring to fig. 11, fig. 11 shows a schematic structural diagram of another terminal device according to an embodiment of the present invention. As shown in fig. 10, the terminal apparatus 800 may include: a second transmitting unit 801 and a second receiving unit 802.
A second sending unit 801, configured to send a session establishment request message to a network device, where the session establishment request message is used to request to establish a session, and the session establishment request message does not carry a QoS capability supported by a terminal; a second receiving unit 802, configured to receive a session establishment response message sent by a network device, where the session establishment response message carries QoS information of a session, and the QoS information of the session is determined by the network device according to a preset QoS quantity.
Or, the second sending unit 801 is configured to send a session establishment request message to the network device, where the session establishment request message is used to request to establish a session, and the session establishment request message carries a QoS capability supported by the terminal; a second receiving unit 802, configured to receive a session establishment response message sent by a network device, where the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network device according to QoS capability supported by a terminal.
Optionally, when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the session establishment request message carries the QoS capability supported by the terminal device, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capability supported by the terminal device.
Optionally, the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal device, and includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the preset QoS quantity, the user subscription information corresponding to the terminal equipment and the minimum value of the QoS capabilities supported by the terminal equipment.
Optionally, the QoS information of the session is determined by the network device according to a preset QoS quantity, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
Optionally, the QoS capability supported by the terminal device carried in the session establishment request message includes one or a combination of the following: a maximum number of QoS flows supported by the terminal device; a maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
Optionally, the preset QoS number includes one or a combination of the following parameters: a preset number of QoS flows; the number of preset QoS rules; the number of packet filters preset.
Optionally, the network device is an SMF, and the second sending unit 801 sends the session establishment request message to the network device, where the session establishment request message includes: the second transmission unit 801 transmits a session establishment request message to the SMF through the AMF.
Optionally, the network device is an SMF, and the receiving unit 802 receives a session establishment response message sent by the network device, including: the second receiving unit 802 receives the session establishment response message transmitted by the SMF through the AMF.
Optionally, the network device is an SMF, the QoS information of the session is determined by the SMF according to the QoS capability supported by the terminal device and the user subscription information corresponding to the terminal device, and the user subscription information is obtained by the SMF through the UDM.
Referring to fig. 12, fig. 12 is a schematic structural diagram of another terminal device provided in the embodiment of the present invention. As shown in fig. 12, terminal apparatus 900 may include: a third receiving unit 901 and a third transmitting unit 902.
A third receiving unit 901, configured to receive a session establishment request message sent by a terminal device, where the session establishment request message is used to request to establish a session, and the session establishment request message does not carry a QoS capability supported by the terminal; a third sending unit 902, configured to send a session establishment response message to the terminal device, where the session establishment response message carries QoS information of a session, and the QoS information of the session is determined by the network device according to a preset QoS quantity;
or, the third receiving unit 901 is configured to receive a session establishment request message sent by a terminal device, where the session establishment request message is used to request to establish a session, and the session establishment request message carries a QoS capability supported by the terminal; a third sending unit 902, configured to send a session establishment response message to the terminal device, where the session establishment response message carries QoS information of the session, and the QoS information of the session is determined by the network device according to QoS capability supported by the terminal.
Optionally, when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the session establishment request message carries the QoS capability supported by the terminal device, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS number, the session establishment request message does not carry the QoS capability supported by the terminal device.
Optionally, the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal device, and includes: if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the preset QoS quantity, the user subscription information corresponding to the terminal equipment and the minimum value of the QoS capabilities supported by the terminal equipment.
Optionally, the QoS information of the session is determined by the network device according to a preset QoS quantity, and includes: the QoS information of the session is determined by the network device according to a minimum value of QoS capabilities supported by the network device, user subscription information corresponding to the terminal device, and a preset QoS number.
Optionally, the QoS capability supported by the terminal device carried in the session establishment request message includes one or a combination of the following: a maximum number of QoS flows supported by the terminal device; maximum number of QoS rules supported by the terminal device; the maximum number of packet filters in the QoS rules supported by the terminal device.
Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein.
Optionally, the preset QoS number includes one or a combination of the following parameters: the number of preset QoS flows; the number of preset QoS rules; the number of packet filters preset.
Optionally, the network device is an SMF, and the third receiving unit 901 receives a session establishment request message sent by the terminal device, where the session establishment request message includes: the third receiving unit 901 receives the session establishment request message sent by the SMF through the AMF.
Optionally, the network device is an SMF, and the third sending unit 902 sends a session establishment response message to the terminal device, where the session establishment response message includes: the third sending unit 902 sends a session establishment response message to the terminal device through the AMF.
Optionally, the network device is an SMF, the SMF further includes an obtaining unit, the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal device and the user subscription information corresponding to the terminal device, and the user subscription information is obtained by the obtaining unit through the UDM.
Referring to fig. 13, fig. 13 shows a schematic structural diagram of a communication chip provided in the present invention. As shown in fig. 13, the communication chip 1000 may include: a processor 1001, and one or more interfaces 1002 coupled to the processor 1001. Wherein:
the processor 1001 may be used to read and execute computer readable instructions. In particular implementations, the processor 1001 may mainly include a controller, an operator, and a register. The controller is mainly responsible for instruction decoding and sending out control signals for operations corresponding to the instructions. The arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operation, shift operation, logic operation and the like, and can also perform address operation and conversion. The register is mainly responsible for storing register operands, intermediate operation results and the like temporarily stored in the instruction execution process. In a specific implementation, the hardware architecture of the processor 1001 may be an Application Specific Integrated Circuit (ASIC) architecture, an MIPS architecture, an ARM architecture, or an NP architecture, for example. The processor 1001 may be single-core or multi-core.
The interface 1002 may be used to input data to be processed to the processor 1001, and may output a processing result of the processor 1001 to the outside. In a specific implementation, the interface 1002 may be a general purpose input/output (GPIO) interface, and may be connected to a plurality of peripheral devices (e.g., a display (LCD), a camera (camara), a Radio Frequency (RF) module, and the like). The interface 1002 is connected to the processor 1001 through a bus 1003.
In the present invention, the processor 1001 may be configured to call, from the memory, an implementation program of the session management method provided in one or more embodiments of the present invention on the communication device side, and execute instructions contained in the implementation program. The interface 1002 may be used to output the results of the execution by the processor 1001. In the present invention, the interface 1002 may be specifically configured to output a resource allocation result of the processor 1001. For the session management method provided in one or more embodiments of the present invention, reference may be made to the foregoing embodiments, which are not described herein again.
It should be noted that the functions corresponding to the processor 1001 and the interface 1002 may be implemented by hardware design, may also be implemented by software design, and may also be implemented by a combination of software and hardware, which is not limited herein.
The steps of a method or algorithm described in connection with the embodiments disclosed herein may be embodied in hardware or in software executed by a processor. The software instructions may be comprised of corresponding software modules that may be stored in RAM, flash memory, ROM, erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), registers, a hard disk, a removable disk, a compact disc read-only memory (CD-ROM), or any other form of storage medium known in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an ASIC. Additionally, the ASIC may reside in a transceiver or relay device. Of course, the processor and the storage medium may reside as discrete components in a radio access network device or a terminal device.
Those skilled in the art will recognize that, in one or more of the examples described above, the functions described in connection with the embodiments of the invention may be implemented in hardware, software, firmware, or any combination thereof. When implemented in software, the functions may be stored on or transmitted over as one or more instructions or code on a computer-readable medium. Computer-readable media includes both computer storage media and communication media including any medium that facilitates transfer of a computer program from one place to another. A storage media may be any available media that can be accessed by a general purpose or special purpose computer.
The above embodiments are only intended to be illustrative of the embodiments of the present invention, and should not be construed as limiting the scope of the embodiments of the present invention, and any modifications, equivalent substitutions, improvements and the like made on the basis of the technical solutions of the embodiments of the present invention should be included in the scope of the embodiments of the present invention.

Claims (34)

1. A terminal device, comprising: a processor, a memory, and a transceiver; the transceiver is used for communicating with other communication equipment; the memory is used for storing program codes and data; the processor is used for calling the program codes in the memory to execute the following operations:
sending a session establishment request message to a network device through the transceiver, the session establishment request message being used for requesting establishment of a session;
receiving a session establishment response message sent by the network equipment through the transceiver, wherein the session establishment response message carries the QoS (quality of service) information of the session; the QoS information comprises one or a combination of the following: one or more QoS flows, one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein;
when the QoS information of the session exceeds the QoS capability supported by the terminal equipment, reserving part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal equipment; the QoS capability supported by the terminal equipment comprises one or the combination of the following: the maximum number of QoS flows supported by the terminal device, the maximum number of QoS rules supported by the terminal device, and the maximum number of packet filters in the QoS rules supported by the terminal device;
sending, by the transceiver, a session modification request message to the network device, where the session modification request message includes first indication information indicating a part of QoS information that is not reserved by the processor in QoS information of the session.
2. The terminal device according to claim 1, wherein the reserving a part of the QoS information of the session comprises one or a combination of the following:
reserving a default QoS rule in the QoS information of the session and a QoS flow corresponding to the default QoS rule;
a packet filter included in the QoS flow of guaranteed bit rate, the QoS rule of guaranteed bit rate, and/or the QoS rule of guaranteed bit rate in QoS information of the session is preferentially reserved;
and preferentially reserving the QoS flows with high priority, the QoS rules with high priority and/or a packet filter contained in the QoS rules with high priority in the QoS information of the session.
3. The terminal device according to claim 1 or 2, wherein the session modification request message further comprises second indication information, and the second indication information is used for indicating that the terminal device has insufficient Qos capability.
4. A session management system, the system comprising: a terminal device and a network device;
the terminal device is configured to send a session establishment request message to the network device, wherein the session establishment request message is used for requesting to establish a session;
the network equipment is configured to send a session establishment response message to the terminal equipment, wherein the session establishment response message carries the QoS (quality of service) information of the session; the QoS information comprises one or a combination of the following: one or more QoS flows, one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein;
the terminal equipment is configured to reserve part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal equipment when the QoS information of the session exceeds the QoS capability supported by the terminal equipment; the QoS capability supported by the terminal equipment comprises one or the combination of the following: the maximum number of QoS flows supported by the terminal device, the maximum number of QoS rules supported by the terminal device, and the maximum number of packet filters in the QoS rules supported by the terminal device;
the terminal device is configured to send a session modification request message to the network device, wherein the session modification request message includes first indication information, and the first indication information is used for indicating part of QoS information which is not reserved in the QoS information of the session by the terminal device;
the network equipment is configured to release part of QoS information in the QoS information of the session according to the first indication information.
5. The system according to claim 4, wherein the reserving a part of the QoS information of the session comprises one or a combination of the following:
reserving a default Qos rule in the QoS information of the session and a Qos flow corresponding to the default Qos rule;
a packet filter included in the QoS flow of guaranteed bit rate, the QoS rule of guaranteed bit rate, and/or the QoS rule of guaranteed bit rate in QoS information of the session is preferentially reserved;
and preferentially reserving the QoS flows with high priority, the QoS rules with high priority and/or the packet filters contained in the QoS rules with high priority in the QoS information of the session.
6. The system according to claim 4 or 5, wherein the session modification request message further comprises second indication information, and the second indication information is used for indicating that the Qos capability of the terminal device is insufficient.
7. A session management system, the system comprising: a terminal device and a network device;
the terminal device is configured to send a session establishment request message to the network device, wherein the session establishment request message is used for requesting to establish a session;
the network equipment is configured to send a session establishment response message to the terminal equipment, wherein the session establishment response message carries the QoS (quality of service) information of the session; the QoS information comprises one or a combination of the following: one or more QoS flows, one or more QoS rules, each of the one or more QoS rules including one or more packet filters therein;
when the session establishment request message carries the QoS capability supported by the terminal, the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal; when the session establishment request message does not carry the QoS capability supported by the terminal, the QoS information of the session is determined by the network equipment according to the preset QoS quantity;
the terminal equipment is configured to reserve part of QoS information in the QoS information of the session according to the QoS capability supported by the terminal equipment when the QoS information of the session exceeds the QoS capability supported by the terminal equipment; the QoS capability supported by the terminal equipment comprises one or the combination of the following: the maximum number of QoS flows supported by the terminal device, the maximum number of QoS rules supported by the terminal device, and the maximum number of packet filters in the QoS rules supported by the terminal device;
the terminal device is configured to send a session modification request message to the network device, where the session modification request message includes first indication information, and the first indication information is used to indicate that the terminal device does not reserve part of QoS information of the session.
8. The system according to claim 7, wherein when the QoS capability supported by the terminal device itself is greater than the preset QoS number, the QoS capability supported by the terminal device is carried in the session establishment request message, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS number, the QoS capability supported by the terminal device is not carried in the session establishment request message.
9. The system according to claim 7 or 8, wherein the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal device, and the method comprises:
if the QoS capability supported by the terminal equipment is less than or equal to the QoS capability supported by the network equipment, the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the QoS capability supported by the terminal equipment;
if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the session is determined by the network device according to the minimum value of the preset QoS quantity, the user subscription information corresponding to the terminal device and the QoS capability supported by the terminal device.
10. The system of claim 7, wherein the QoS information of the session is determined by the network device according to a preset QoS amount, and comprises:
and the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the preset QoS quantity.
11. The system of claim 8, wherein the QoS information of the session is determined by the network device according to a preset QoS amount, and comprises:
and the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the preset QoS quantity.
12. The system of claim 9, wherein the QoS information for the session is determined by the network device according to a preset QoS number, comprising:
and the QoS information of the session is determined by the network equipment according to the minimum value of the QoS capability supported by the network equipment, the user subscription information corresponding to the terminal equipment and the preset QoS quantity.
13. The system according to claim 7, wherein the preset QoS number comprises one or a combination of the following parameters:
a preset number of QoS flows;
the number of preset QoS rules;
the number of packet filters preset.
14. The system according to claim 8, wherein the preset QoS number comprises one or a combination of the following parameters:
a preset number of QoS flows;
the number of preset QoS rules;
the number of packet filters preset.
15. The system of claim 9, wherein the preset QoS number comprises one or a combination of the following parameters:
the number of preset QoS flows;
the number of preset QoS rules;
the number of packet filters preset.
16. The system according to any of claims 10 to 12, wherein the preset QoS number comprises one or a combination of the following parameters:
the number of preset QoS flows;
the number of preset QoS rules;
the number of packet filters preset.
17. The system according to claim 7, wherein the network device is a session management function, SMF, device, the system further comprising an access and mobility management function, AMF, device, and wherein the terminal device is configured to send a session establishment request message to the network device, comprising:
the terminal device is configured to send the session establishment request message to the AMF;
the AMF is configured to send the session establishment request message to the SMF.
18. The system of claim 8, wherein the network device is an SMF device, the system further comprising an AMF device, and wherein the terminal device is configured to send a session establishment request message to the network device, comprising:
the terminal equipment is configured to send the session establishment request message to the AMF;
the AMF is configured to send the session establishment request message to the SMF.
19. The system of claim 9, wherein the network device is an SMF device, wherein the system further comprises an AMF device, and wherein the terminal device is configured to send a session establishment request message to the network device, comprising:
the terminal equipment is configured to send the session establishment request message to the AMF;
the AMF is configured to send the session establishment request message to the SMF.
20. The system according to any of claims 10 to 15, wherein the network device is an SMF device, the system further comprising an AMF device, and the terminal device is configured to send a session establishment request message to the network device, including:
the terminal equipment is configured to send the session establishment request message to the AMF;
the AMF is configured to send the session establishment request message to the SMF.
21. The system of claim 16, wherein the network device is an SMF device, wherein the system further comprises an AMF device, and wherein the terminal device is configured to send a session establishment request message to the network device, comprising:
the terminal equipment is configured to send the session establishment request message to the AMF;
the AMF is configured to send the session establishment request message to the SMF.
22. The system of claim 7, wherein the network device is an SMF, wherein the system further comprises an AMF, wherein the network device is configured to send a session setup response message to the terminal device, and wherein the system comprises:
the SMF is configured to send the session establishment response message to the AMF;
the AMF is configured to send the session establishment response message to the terminal device.
23. The system of claim 8, wherein the network device is an SMF, wherein the system further comprises an AMF, wherein the network device is configured to send a session setup response message to the terminal device, and wherein the system comprises:
the SMF is configured to send the session establishment response message to the AMF;
the AMF is configured to send the session establishment response message to the terminal device.
24. The system of claim 9, wherein the network device is an SMF, and wherein the system further comprises an AMF, and wherein the network device is configured to send a session setup response message to the terminal device, comprising:
the SMF is configured to send the session establishment response message to the AMF;
the AMF is configured to send the session establishment response message to the terminal device.
25. The system according to any one of claims 10 to 15, 17 to 19, 21, wherein the network device is an SMF, the system further comprising an AMF, the network device being configured to send a session establishment response message to the terminal device, comprising:
the SMF is configured to send the session establishment response message to the AMF;
the AMF is configured to send the session establishment response message to the terminal device.
26. The system of claim 16, wherein the network device is an SMF, wherein the system further comprises an AMF, wherein the network device is configured to send a session setup response message to the terminal device, and wherein the network device comprises:
the SMF is configured to send the session establishment response message to the AMF;
the AMF is configured to send the session establishment response message to the terminal device.
27. The system of claim 20, wherein the network device is the SMF, wherein the system further comprises the AMF, wherein the network device is configured to send a session setup response message to the terminal device, comprising:
the SMF is configured to send the session establishment response message to the AMF;
the AMF is configured to send the session establishment response message to the terminal device.
28. The system of claim 7, wherein the network device is an SMF, the system further comprising a Unified Data Management (UDM) device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
29. The system of claim 8, wherein the network device is an SMF, the system further comprising a UDM device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
30. The system of claim 9, wherein the network device is an SMF, the system further comprising a UDM device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
31. The system according to any of claims 10 to 15, claims 17 to 19, claims 21 to 24, claims 26 to 27, wherein the network device is a SMF, the system further comprising a UDM device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
32. The system of claim 16, wherein the network device is an SMF, the system further comprising a UDM device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
33. The system of claim 20, wherein the network device is the SMF, wherein the system further comprises a UDM device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
34. The system of claim 25, wherein the network device is the SMF, wherein the system further comprises a UDM device, wherein,
the SMF is configured to send an acquisition request to the UDM, wherein the acquisition request is used for acquiring user subscription information corresponding to the terminal equipment;
the UDM is configured to send the user subscription information to the SMF.
CN201910360088.0A 2018-11-26 2019-04-30 Session management equipment and system Active CN111225452B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/119474 WO2020108350A1 (en) 2018-11-26 2019-11-19 Session management device and system

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
CN2018114212812 2018-11-26
CN201811421281 2018-11-26
CN2019103410918 2019-04-25
CN201910341091 2019-04-25

Publications (2)

Publication Number Publication Date
CN111225452A CN111225452A (en) 2020-06-02
CN111225452B true CN111225452B (en) 2022-08-19

Family

ID=70827493

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201910360088.0A Active CN111225452B (en) 2018-11-26 2019-04-30 Session management equipment and system

Country Status (2)

Country Link
CN (1) CN111225452B (en)
WO (1) WO2020108350A1 (en)

Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108370600A (en) * 2017-05-09 2018-08-03 华为技术有限公司 A kind of conversation managing method, terminal and system

Family Cites Families (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519583B (en) * 2013-09-27 2018-09-07 上海诺基亚贝尔股份有限公司 A kind of methods, devices and systems for carrying out data transmission and handling by dual link
CN106162759A (en) * 2015-04-13 2016-11-23 中兴通讯股份有限公司 The method of decision service quality Q oS, network side element and system
CN106162903B (en) * 2015-04-15 2019-07-05 中国移动通信集团公司 A kind of on-demand method and apparatus for calling QoS ability
US10849186B2 (en) * 2017-01-09 2020-11-24 Huawei Technologies Co., Ltd. System and methods for session management
US10542454B2 (en) * 2017-02-10 2020-01-21 Mediatek Inc. Control and management of reflective QoS

Patent Citations (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108370600A (en) * 2017-05-09 2018-08-03 华为技术有限公司 A kind of conversation managing method, terminal and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
PDU Session Release due to Semantic or Syntactical Errors;Qualcomm Incorporated, MediaTek Inc.;《3GPP TSG-CT WG1 Meeting #112 C1-185828》;20180825;第1页至第10页 *

Also Published As

Publication number Publication date
CN111225452A (en) 2020-06-02
WO2020108350A1 (en) 2020-06-04

Similar Documents

Publication Publication Date Title
CN110557786B (en) Method and device for establishing radio bearer and monitoring service flow
CN113411857B (en) Communication method and device
CN109121170B (en) Session management method, device, equipment and system
WO2019196847A1 (en) Communication method and apparatus
CN113630796B (en) Service quality monitoring method, equipment and system
US20220060935A1 (en) Communications Method and Apparatus
JP7177259B2 (en) Data transmission method and device
JP2020511083A (en) Service quality control method and device, SMF, UPF, UE, PCF and AN
CN114073043A (en) Method and device for managing Ethernet bridge port
CN109819477B (en) Method for processing request and corresponding entity
CN114830818A (en) QoS management method, relay terminal, PCF network element, SMF network element and remote terminal
CN109845389B (en) Communication method and device
CN113746585A (en) Time service method and communication device
WO2022047803A1 (en) Communication method and apparatus
CN111225452B (en) Session management equipment and system
US11575601B2 (en) Network device and packet processing method using same
EP4298773A1 (en) Adaptive forwarding handling of data packets
CN115802320A (en) Service processing method, device and system
CN114846774B (en) Communication method and device
CN113939044A (en) Communication method and device
WO2024040456A1 (en) Packet data convergence protocol (pdcp) entity processing method and apparatus, information sending method and apparatus, and storage medium
RU2772710C2 (en) Method for processing request and corresponding object
WO2023212940A1 (en) Time delay difference information reporting method and apparatus, device, and storage medium
CN116867000A (en) Data transmission method and communication device
CN115696462A (en) Network coding method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant