WO2020108350A1 - Session management device and system - Google Patents

Session management device and system Download PDF

Info

Publication number
WO2020108350A1
WO2020108350A1 PCT/CN2019/119474 CN2019119474W WO2020108350A1 WO 2020108350 A1 WO2020108350 A1 WO 2020108350A1 CN 2019119474 W CN2019119474 W CN 2019119474W WO 2020108350 A1 WO2020108350 A1 WO 2020108350A1
Authority
WO
WIPO (PCT)
Prior art keywords
qos
terminal device
session
information
supported
Prior art date
Application number
PCT/CN2019/119474
Other languages
French (fr)
Chinese (zh)
Inventor
丁明
段小嫣
余迪虎
Original Assignee
华为技术有限公司
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 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2020108350A1 publication Critical patent/WO2020108350A1/en

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

Definitions

  • the invention relates to the technical field of wireless communication, in particular to a session management device and system.
  • Qos quality of service
  • Rule Qos rule
  • Qos rule packet filter carried in the PDU SESSIONESTABLISHMENT ACCEPT message delivered by the network
  • the number of (packet) filters is greater than the maximum number supported by the terminal device.
  • 5th generation (5G) protocol does not define how the terminal device should handle such anomalies.
  • the embodiments of the present invention provide a session management device and system, which can solve the abnormality that the QoS information delivered by the network device during the session establishment process exceeds the support capability of the terminal device.
  • an embodiment of the present invention provides a terminal device, the terminal device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver can be connected to each other through a bus, and the transceiver is used to communicate with other communication devices Communication; the memory is used to store program code and data; the processor calls the program code in the memory to perform the following operations:
  • the session establishment request message is sent to the network device through the transceiver, and the session establishment request message is used to request the establishment of the session;
  • the session establishment response message sent by the network device is received through the transceiver, and the session establishment response message carries the QoS information of the session;
  • the QoS information exceeds the QoS capability supported by the terminal device, part of the QoS information in the QoS information of the above session is retained according to the QoS capability supported by the terminal device;
  • a session modification request message is sent to the network device through the transceiver, and the session modification request message includes the first indication Information, the first indication information is used to instruct the processor to retain some QoS information in the QoS information of the session.
  • part of the QoS information in the QoS information of the above-mentioned session is retained, including one or a combination of the following: the default Qos rule in the QoS information of the above-mentioned session and the Qos flow corresponding to the default Qos rule are reserved; The Qos flow with guaranteed bit rate, the Qos rule with guaranteed bit rate and/or the packet filter included with the Qos rule with guaranteed bit rate in the QoS information of the session; the Qos flow with a higher priority in the QoS information of the above session is preferentially retained, The packet filter included in the Qos rule with high priority and/or the Qos rule with high priority.
  • the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  • the second indication information is #26 insufficient resources (insufficient resources).
  • the above-mentioned QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the packets in the QoS rules supported by the terminal device The maximum number of filters.
  • 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 contains One or more packet filters.
  • the network device is a session management function (SMF) device
  • sending the session establishment request message to the network device through the transceiver includes the following: access to the access and mobility management function through the transceiver andmobility management function (AMF)
  • AMF mobility management function
  • the device sends a session establishment request message, and the session establishment request message is sent by the AMF to the SMF.
  • the network device is SMF
  • receiving the session establishment response message sent by the network device through the transceiver includes: receiving the session establishment response message sent by the AMF through the transceiver.
  • the session establishment response message is received by the AMF from the SMF of.
  • the network device is SMF
  • sending the session modification request message to the network device through the transceiver includes: sending the session modification request message to the AMF through the transceiver, and the session modification request message is sent by the AMF to the SMF.
  • an embodiment of the present invention provides a session management system including: a terminal device and a network device; the terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request the establishment of a session; the network The device is configured to send a session establishment response message to the terminal device, and the session establishment response message carries the QoS information of the session; the terminal device is configured to retain the QoS capability supported by the terminal device when the QoS information of the above session exceeds the QoS capability supported by the terminal device Part of the QoS information in the QoS information of the session; the terminal device is configured to send a session modification request message to the network device, the session modification request message includes first indication information, and the first indication information is used to indicate that the terminal device is in the QoS information of the session Some unreserved QoS information.
  • the network device is configured to release part of the QoS information in the QoS information of the session according to the first indication information.
  • part of the QoS information in the QoS information of the above session is retained, including one or a combination of the following: the default Qos rule in the QoS information of the above session is retained, and the Qos flow corresponding to the default Qos rule; priority Retain the guaranteed bit rate Qos flow, the guaranteed bit rate Qos rule and/or the packet filter included in the guaranteed bit rate Qos rule in the QoS information of the above session; preferentially retain the high priority Qos in the QoS information of the above session Packet filters included in flows, high-priority Qos rules, and/or high-priority Qos rules.
  • the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  • the second indication information is #26 insufficient resources.
  • the above-mentioned QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the packets in the QoS rules supported by the terminal device The maximum number of filters.
  • 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 contains One or more packet filters.
  • the network device is SMF
  • the above system further includes AMF
  • the above terminal device is configured to send a session establishment request message to the network device, including: the terminal device is configured to send a session establishment request message to AMF; AMF is configured to send The session establishment request message is sent to SMF.
  • the network device is the SMF, and the above system further includes an AMF.
  • the network device is configured to send a session establishment response message to the terminal device.
  • the SMF is configured to send a session establishment response message to the AMF; the AMF is configured as Send the session establishment response message to the terminal device.
  • the network device is SMF
  • the above system further includes AMF
  • the above terminal device is configured to send a session modification request message to the network device, including: the terminal device is configured to send a session modification request message to AMF; AMF is configured to send The session modification request message is sent to SMF.
  • an embodiment of the present invention provides a session management method.
  • the method includes: a terminal device sends a session establishment request message to a network device, and the session establishment request message is used to request a session establishment; the terminal device receives the session establishment sent by the network device The response message carries the session QoS information in the session establishment response message; when the session QoS information exceeds the QoS capability supported by the terminal device, part of the QoS information in the session QoS information is retained according to the QoS capability supported by the terminal device; the terminal device A session modification request message is sent to the network device, the session modification request message includes first indication information, and the first indication information is used to indicate a part of QoS information that the processor does not retain in the QoS information of the session.
  • the terminal device sends a session establishment request message to the network device, and receives the session establishment response message sent by the network device, where the session establishment response message carries the QoS information of the session.
  • the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device, and indicates to the network device that the terminal device is in the session modification request message. QoS information not retained in the QoS information of the above session.
  • the problem that the QoS information delivered by the network device cannot be supported due to the insufficient QoS capability of the terminal device during the session establishment process is solved, and the session context at both ends of the terminal and the network device is ensured to be consistent.
  • part of the QoS information in the QoS information of the above-mentioned session is retained, including one or a combination of the following: the default Qos rule in the QoS information of the above-mentioned session and the Qos flow corresponding to the default Qos rule are reserved; The Qos flow with guaranteed bit rate, the Qos rule with guaranteed bit rate and/or the packet filter included with the Qos rule with guaranteed bit rate in the QoS information of the session; the Qos flow with a higher priority in the QoS information of the above session is preferentially retained, The packet filter included in the Qos rule with high priority and/or the Qos rule with high priority.
  • the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  • the second indication information is #26 insufficient resources.
  • the above-mentioned QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the packets in the QoS rules supported by the terminal device The maximum number of filters.
  • 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 contains One or more packet filters.
  • the network device is SMF
  • the above terminal device sends a session establishment request message to the network device, including: the terminal device sends a session establishment request message to SMF through AMF.
  • the network device is SMF
  • the terminal device receiving the session establishment response message sent by the network device includes: the terminal device receives the session establishment response message sent by SMF through AMF.
  • the network device is SMF
  • the above terminal device sends a session modification request message to the network device, including: the terminal device sends a session establishment request message to SMF through AMF.
  • an embodiment of the present invention provides a terminal device.
  • the terminal device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver can be connected to each other through a bus, and the transceiver is used to communicate with other communication devices.
  • Communication; the memory is used to store program code and data; the processor calls the program code in the memory to perform the following operations:
  • the session establishment request message is sent to the network device through the transceiver, and the session establishment request message is used to request the establishment of the session.
  • the session establishment request message does not carry the QoS capability supported by the terminal;
  • the response message carries the QoS information of the session, and the QoS information of the session is determined by the network device according to the preset number of QoS;
  • the session establishment request message is sent to the network device through the transceiver, and the session establishment request message is used to request the establishment of the session, and the session establishment request message carries the QoS capability supported by the terminal; the session establishment response message sent by the network device is received through the transceiver, and the session The establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including:
  • the QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
  • the above 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 contains one or more Packet filter.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • sending the session establishment request message to the network device through the transceiver includes: sending the session establishment request message to the AMF through the transceiver, and the session establishment request message is sent by the AMF to the SMF.
  • the network device is SMF
  • receiving the session establishment response message sent by the network device through the transceiver includes: receiving the session establishment response message sent by the AMF through the transceiver.
  • the session establishment response message is received by the AMF from the SMF of.
  • the network device is SMF
  • the QoS information of the above session is determined by the SMF based on the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device.
  • the user subscription information is SMF through unified data management (unified data management) , UDM) obtained from the device.
  • an embodiment of the present invention provides a network device, including: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver can be connected to each other through a bus, and the transceiver is used to communicate with other communication devices Communication; the memory is used to store program code and data; the processor calls the program code in the memory to perform the following operations:
  • the session establishment request message is used to request the establishment of the session.
  • the session establishment request message does not carry the QoS capabilities supported by the terminal;
  • the session establishment response message is sent to the terminal device through the transceiver.
  • the response message carries the QoS information of the session, and the QoS information of the session is determined by the network device according to the preset number of QoS;
  • the session establishment request message is used to request the establishment of the session.
  • the session establishment request message carries the QoS capability supported by the terminal; the session establishment response message is sent to the terminal device through the transceiver.
  • the establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including:
  • the QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
  • the above 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 contains one or more Packet filter.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • receiving the session establishment request message sent by the terminal device through the transceiver includes: receiving the session establishment request message sent by the AMF through the transceiver.
  • the session establishment request message is received by the AMF from the terminal device Arrived.
  • the network device is SMF
  • sending the session establishment response message to the terminal device through the transceiver includes: sending the session establishment response message to the AMF through the transceiver, and the session establishment response message is sent by the AMF to the terminal device.
  • the network device is SMF
  • the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device.
  • the user subscription information is obtained by SMF through UDM.
  • an embodiment of the present invention provides a session management system.
  • the system includes: a terminal device and a network device; the terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request the establishment of a session.
  • the establishment request message does not carry the QoS capabilities supported by the terminal; the network device is configured to send a session establishment response message to the terminal device, and the session establishment response message carries the QoS information of the session.
  • the QoS information of the session is based on the preset amount of QoS definite;
  • the terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request session establishment, and the session establishment request message carries the QoS capabilities supported by the terminal;
  • the network device is configured to send the session establishment response message to the terminal device,
  • the session establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including:
  • the QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
  • the above 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 contains one or more Packet filter.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • the above system further includes AMF
  • the above terminal device is configured to send a session establishment request message to the network device, including: the terminal device is configured to send a session establishment request message to AMF; AMF is configured to send The session establishment request message is sent to SMF.
  • the network device is SMF, and the above system further includes AMF.
  • the above network device is configured to send a session establishment response message to the terminal device, including: SMF is configured to send a session establishment response message to AMF; AMF is configured to configure the session The establishment response message is sent to the terminal device.
  • the network device is SMF
  • the above system further includes UDM, wherein SMF is configured to send an acquisition request to UDM, and the acquisition request is used to acquire user subscription information corresponding to the terminal device; UDM is configured to send user subscription to SMF information.
  • an embodiment of the present invention provides a session management method.
  • the method includes: a terminal device sends a session establishment request message to a network device.
  • the session establishment request message is used to request a session establishment, and the session establishment request message does not carry terminal support.
  • QoS capability the terminal device receives the session establishment response message sent by the network device, and the session establishment response message carries the QoS information of the session.
  • the QoS information of the above session is determined by the network device according to the preset number of QoS;
  • the terminal device sends a session establishment request message to the network device.
  • the session establishment request message is used to request the session establishment.
  • the session establishment request message carries the QoS capability supported by the terminal; the terminal device receives the session establishment response message sent by the network device, and the session establishment response
  • the message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the terminal device sends a session establishment request message to the network device.
  • the network device may determine the QoS of the session according to the QoS capabilities supported by the terminal device Information, when the session establishment request message does not carry the QoS capabilities supported by the terminal device, the network device determines the QoS information of the session according to the preset number of QoS.
  • the terminal device receives the session establishment response message sent by the network device, and the session establishment response message carries the QoS information of the session.
  • the embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements
  • the terminal equipment is configured with more QoS resources.
  • the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including:
  • the QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
  • the above 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 contains one or more Packet filter.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • the above terminal device sends a session establishment request message to the network device, including: the terminal device sends a session establishment request message to SMF through AMF.
  • the network device is SMF
  • the terminal device receiving the session establishment response message sent by the network device includes: the terminal device receives the session establishment response message sent by SMF through AMF.
  • the network device is SMF
  • the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device.
  • the user subscription information is obtained by SMF through UDM.
  • an embodiment of the present invention provides a session management method.
  • the method includes: a network device receives a session establishment request message sent by a terminal device.
  • the session establishment request message is used to request a session establishment, and the session establishment request message does not carry a terminal Supported QoS capability; the network device sends a session establishment response message to the terminal device.
  • the session establishment response message carries the session QoS information.
  • the session QoS information is determined by the network device according to the preset number of QoS;
  • the network device receives the session establishment request message sent by the terminal device, and the session establishment request message is used to request to establish a session, and the session establishment request message carries the QoS capabilities supported by the terminal; the network device sends a session establishment response message to the terminal device, and the session establishment response The message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the network device receives the session establishment request message sent by the terminal device, and when the session establishment request message carries the QoS capability supported by the terminal device, the network device determines the QoS of the session according to the QoS capability supported by the terminal device Information, when the session establishment request message does not carry the QoS capabilities supported by the terminal device, the network device determines the QoS information of the session according to the preset number of QoS.
  • the network device sends a session establishment response message to the terminal device, and the session establishment response message carries the QoS information of the session.
  • the embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements
  • the terminal equipment is configured with more QoS resources.
  • the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including:
  • the QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
  • the above 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 contains one or more Packet filter.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • the network device receives the session establishment request message sent by the terminal device, including: the network device receives the session establishment request message sent by SMF through AMF.
  • the network device is SMF, and the above network device sends a session establishment response message to the terminal device, including: the network device sends a session establishment response message to the terminal device through AMF.
  • the network device is SMF
  • the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device.
  • the user subscription information is obtained by SMF through UDM.
  • an embodiment of the present invention provides a terminal device.
  • the terminal device may include a plurality of functional modules or units for correspondingly performing the session management method provided in the third aspect.
  • an embodiment of the present invention provides a terminal device.
  • the terminal device may include a plurality of functional modules or units for correspondingly performing the session management method provided in the seventh aspect.
  • an embodiment of the present invention provides a network device.
  • the network device may include multiple function modules or units for correspondingly performing the session management method provided in the eighth aspect.
  • the present invention provides a communication chip.
  • the communication chip may include: a processor, and one or more interfaces coupled to the processor.
  • the processor may be used 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 used to output the data processing result of the processor.
  • the present invention provides a communication chip.
  • the communication chip may include: a processor, and one or more interfaces coupled to the processor.
  • the processor may be used 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 used to output the data processing result of the processor.
  • the present invention provides a communication chip.
  • the communication chip may include: a processor, and one or more interfaces coupled to the processor.
  • the processor may be used to call the implementation program of the session management method provided in the eighth aspect from the memory, and execute the instructions contained in the program.
  • the interface may be used to output the data processing result of the processor.
  • an embodiment of the present invention provides a computer-readable storage medium having instructions stored thereon, which when run on a computer, causes the computer to execute the session management method described in the third aspect.
  • an embodiment of the present invention provides a computer-readable storage medium having instructions stored on it, which when run on a computer, causes the computer to execute the session described in the eighth or ninth aspect Management methods.
  • an embodiment of the present invention provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute the session management method described in the third aspect above.
  • an embodiment of the present invention provides a computer program product containing instructions that, when run on a computer, cause the computer to execute the session management method described in the eighth aspect or the ninth aspect.
  • FIG. 1 is a schematic structural 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 schematic flowchart of a session management method provided by an embodiment of the present invention.
  • FIG. 5 is a schematic flowchart of another session management method according to an embodiment of the present invention.
  • FIG. 6 is a schematic flowchart of another session management method according to an embodiment of the present invention.
  • FIG. 7 is a schematic flowchart of another session management method according to an embodiment of the present invention.
  • FIG. 8 is a schematic flowchart of another session management method according to an embodiment of the present invention.
  • FIG. 9 is a schematic flowchart of another session management method according to an embodiment of the present invention.
  • FIG. 10 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • FIG. 11 is a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • FIG. 12 is a schematic structural diagram of another network device device provided by 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.
  • FIG. 1 shows a network architecture of a communication system 100 according to an embodiment of the present invention.
  • the communication system 100 may include: a terminal device 101, an (R) access network (AN) device 102, a user plane function (UPF) entity 103, and a data network (DN) Device 104, AMF entity 105, SMF entity 106 and UDM entity 107.
  • R access network
  • UPF user plane function
  • DN data network
  • the terminal device 101 may be distributed throughout the communication system 100, and may be stationary or mobile.
  • the terminal device 101 may be a mobile device, mobile station (mobile station), mobile unit (mobile unit), M2M terminal, wireless unit, remote unit, terminal agent, mobile client, etc.
  • the embodiments of the invention are not limited thereto.
  • (R) AN 102 may be a 5G base station, an NR base station, etc., and the terminal device 101 may access the communication system 100 through (R) AN 102.
  • (R) AN 102 may also be a network composed of multiple (R) AN 102 nodes, which can implement functions such as wireless physical layer functions, resource scheduling, and wireless resource management.
  • (R) AN 102 is connected to UPF 103 through user plane interface N3, which can be used to transmit data of terminal device 101; AN establishes a control plane signaling connection through control plane interface N2 and AMF 105, which can be used to implement wireless access bearer control, etc.
  • UPF 103 can be used for packet routing and forwarding, user plane QoS processing, uplink traffic verification, transmission-level packet marking in uplink and downlink, downlink packet buffering, and downlink data notification trigger.
  • UPF103 is connected to SMF106 through the N4 interface, and UPF103 is connected to the DN104 through the N6 interface.
  • UPF103 is a conversation point where an external protocol data unit (protocol, data, unit, PDU) and data network are interconnected.
  • AMF 105 can be used for terminal device 101 authentication, SMF 106 selection, connection management, reachability management, liquidity management and other functions.
  • AMF 105 is connected to SMF 106 through interface N11 and can be used to provide transmission of SM messages between terminal device 101 and SMF 106.
  • the AMF 105 can serve as an anchor point for N1 and N2 signaling connections, and maintain and manage the state information of the terminal device 101.
  • SMF 106 is connected to AMF 105 through the N11 interface, and can be used for all control plane functions responsible for terminal device session management, including UPF 103 selection, network protocol (internet protocol, IP) address allocation, and session QoS attribute management.
  • SMF 106 is connected to UPF 103 through interface N4, which can control the insertion and removal of uplink classifiers, and can also control the insertion and removal of UPF 103 that supports branch points.
  • UDM107 is used for user identification processing, supporting service/session continuity and user management. UDM107 can be used to store user subscription information corresponding to terminal devices. UDM107 is connected to AMF 105 through interface N8, and UDM107 is connected to SMF 106 through interface N10. AMF 105 and SMF 106 can obtain the above user subscription information from UDM 107.
  • each entity shown in FIG. 1 may be a single device physically, or two or more entities are integrated on the same physical device, which is not limited in this embodiment of the present invention.
  • the communication system 100 may be a 5G communication system, an NR system, or a future evolution communication system.
  • 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 a possible implementation form of the QoS flow architecture.
  • the terminal device 100 may establish one or more sessions with the core network, and the QoS flow is the minimum granularity for realizing QoS differentiation in the above sessions.
  • the above-mentioned session may be a PDU session.
  • the above-mentioned PDU session may be a connection established between a terminal device and a data network.
  • the connection may be used to provide PDU connection services.
  • the type of the connection may be IP protocol, Ethernet, or other types.
  • QoS flow is the finest granularity of QoS differentiation in PDU session.
  • the QoS flow identifier (qos) identifier is used to identify the QoS flow in the 5G system.
  • the user plane data with the same QFI in the PDU session will get the same forwarding processing (such as the same scheduling, the same access limit, etc.)
  • QFI should be unique within a PDU session, which means that a PDU session can have multiple (up to 64) QoS flows, but the QFI of each QoS flow is different.
  • the QoS flow may be pre-configured by SMF or established through the PDU session establishment/modification process.
  • the QoS flow includes guaranteed bit rate (guaranteed bit rate, GBR) QoS flow and non-GBR QoS flow. Whether a QoS flow is "GBR" or “Non-GBR” depends on its QoS configuration.
  • the QoS configuration of a QoS flow includes the following QoS parameters:
  • the QoS configuration of each QoS flow includes the QoS parameters of 5G Qos identifier (5G Qos identifier, 5QI) and allocation and retention priority (allocation and retention priority, ARP) ;
  • the QoS configuration of each non-GBR QoS flow may also include the reflected Qos attribute (reflective Qos attribute, RQA);
  • the QoS configuration of each GBR QoS flow also includes the parameter of the guaranteed flow bit rate (guaranteed flow bit rate, GFBR) and maximum flow bit rate (maximum flow bit rate, MFBR);
  • the QoS configuration of each GBR QoS flow may also
  • QoS rules are used to perform classification and marking of upstream user plane data services, and terminal devices associate upstream data to corresponding QoS flows according to QoS rules. These QoS rules may be provided to the terminal device by the network side (that is, configured to the terminal device through signaling in the PDU session establishment/modification process), pre-configured on the terminal device, or implicitly derived by the terminal device using the reflective QoS mechanism.
  • a QoS rule may include: QFI of the associated QoS flow, Packet Filter Set, and priority.
  • One or more QoS rules can be associated with the same QoS flow.
  • the QoS rules provided by the network side to the terminal device include a QoS rule identifier, which is unique in the PDU session and generated by the SMF.
  • Each PDU session must be configured with a default QoS rule, which is associated with a QoS flow.
  • the default QoS rule is that the only packet filtering set in a PDU session can contain QoS rules that allow all upstream packets to pass through the packet filter.
  • the default QoS rules do not contain any packet filter sets, and the default QoS rules define how all data packets in the PDU session are handled.
  • Packet filter The packet filter set of QoS rules on the terminal device side is used to identify the data flow.
  • a packet filter set can contain multiple packet filters, and each packet filter can be downstream or upstream or bidirectional. Each packet filter corresponds to a packet filter identifier.
  • FIG. 2 shows a terminal device 200 provided by an embodiment of the present invention.
  • 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, and terminal device interface 209. These components may be connected through the bus 204 or other means.
  • FIG. 2 takes the connection through the bus as an example. among them:
  • the communication interface 203 may be used for the terminal device 200 to communicate with other communication devices, such as network devices.
  • the network device may be the network device 200 shown in FIG. 3.
  • the communication interface 203 may be a 5G communication interface or a communication interface of a new air interface in the future.
  • the terminal device 200 may also be configured with a wired communication interface 203, such as a local access network (LAN) interface.
  • the transmitter 206 may be used to transmit the signal output by the terminal device processor 201.
  • the receiver 205 can be used for receiving and processing the mobile communication signal received by the antenna 208.
  • the transmitter 206 and the receiver 205 may be regarded as a wireless modem.
  • the number of the transmitter 206 and the receiver 205 may be one or more.
  • the antenna 208 may be used to convert electromagnetic energy in the transmission line into electromagnetic waves in free space, or convert electromagnetic waves in free space into electromagnetic energy in transmission lines.
  • the coupler 207 is used to divide the mobile communication signal received by the antenna 208 into multiple channels and distribute it to multiple receivers 205.
  • the terminal device 200 may further include other communication components, such as a GPS module, a Bluetooth module, a wireless fidelity (Wi-Fi) module, and so on. 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.
  • a wired network interface such as a LAN interface
  • the terminal device 200 may further include an input and output module.
  • the input and output module can be used to implement the interaction between the terminal device 200 and the terminal device/external environment, and can mainly include an audio input and output module, a key input module, and a display.
  • the input and output module may further include: a camera, a touch screen, a sensor, and so on.
  • the input and 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 and is used to store various software programs and/or multiple sets of instructions.
  • the memory 202 may include a high-speed random access memory, and may also include a 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 as a system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX.
  • the memory 202 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminal devices, and one or more network devices.
  • 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.
  • the implementation of the session management method provided by one or more embodiments of the present invention please refer to the subsequent embodiments.
  • the terminal device processor 201 may be used to read and execute computer-readable instructions. Specifically, the terminal device processor 201 may be used to call a program stored in the memory 202, for example, an implementation program of the session management method provided by one or more embodiments of the present invention on the terminal device 200 side, and execute the instructions contained in the program .
  • 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 agents, mobile clients, etc.
  • terminal device 200 shown in FIG. 2 is only an implementation manner of the embodiment of the present invention. In actual applications, the terminal device 200 may further include more or fewer components, which is not limited herein.
  • FIG. 3 shows a network device 300 provided by an embodiment of the present invention.
  • the network device 300 may include: one or more network device processors 301, a memory 302, and a communication interface 303. These components may be connected through the bus 304 or other types.
  • FIG. 3 takes the connection through the bus as an example. among them:
  • 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.
  • the communication interface 303 may be a 5G communication interface or a communication interface of a new air interface in the future.
  • the network device 300 may also be configured with a wired communication interface 303 to support wired communication.
  • the backhaul link between one network device 300 and other network devices 300 may be a wired communication connection.
  • the memory 302 is coupled to the network device processor 301 and is used to store various software programs and/or multiple sets of instructions.
  • the memory 302 may include a high-speed random access memory, and may also include a 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 embedded operating systems such as uCOS, VxWorks, and RTLinux.
  • the memory 302 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminal devices, and one or more network devices.
  • the network device processor 301 may be used to read and execute computer-readable instructions. Specifically, the network device processor 301 may be used to call a program stored in the memory 302, for example, an implementation program of the session management method provided by one or more embodiments of the present invention on the network device 300 side, and execute instructions contained in the program .
  • the network device 300 may be a core network entity in the communication system 100 shown in FIG. 1, such as UPF 103, AMF 105, SMF 106, or UDM 107.
  • the network device 300 shown in FIG. 3 is only an implementation manner of the embodiment of the present invention. In practical applications, the network device 300 may further include more or fewer components, which is not limited herein.
  • the number of packet filters in the Qos flow, Qos rules, and/or Qos rules carried in the session establishment response message delivered by the network is greater than the maximum number supported by the terminal device.
  • the 5G protocol does not define How should the terminal equipment deal with such anomalies. Since the protocol does not define the method for handling such anomalies, terminal manufacturers usually use the following methods for handling.
  • Method 1 The terminal device does not perform 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 delivered by the network.
  • Method 2 The terminal device chooses to establish a session according to the capabilities supported by the terminal device, that is, the terminal device retains part of the information in the Qos flow, Qos rules, and/or packet filters in the Qos rules delivered by the network according to the capabilities supported by the terminal device.
  • the session establishment is triggered by the application (APP) service on the terminal device side, the non-execution of the terminal device will affect the normal service execution; in addition, because the upper-layer APP service is not established, the APP service will trigger the session establishment again
  • the Qos resources delivered by the network may still exceed the Qos resources that the terminal can support. Therefore, this method will affect the normal operation of the data service, and will also bring additional power consumption and signaling interaction.
  • APP application
  • the terminal only retains part of the Qos resources, but since the network establishment session is not notified of abnormal session establishment during the session establishment process, this method will lead to inconsistent session context information between the terminal device and the network side, which will ultimately affect data services.
  • the information includes Qos flow and/or Qos rules.
  • an embodiment of the present invention also provides a session management method.
  • 4 is a schematic flowchart of a session management method provided by an embodiment of the present invention. As shown in FIG. 4, the session management method provided by the embodiment of the present invention includes but is not limited to steps S401 to S403. The possible implementation of the method embodiment is further described below.
  • the terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device.
  • the session establishment request message is used to request the establishment of a session.
  • the network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
  • the session establishment response message carries session QoS information.
  • the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, and each of the one or more QoS rules includes one or more packet filters Device.
  • the QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the maximum packet filter in the QoS rules supported by the terminal device Quantity.
  • the QoS information of the session exceeds the support capability of the terminal, including one or more of the following cases: the number of QoS flows in the QoS information of the session is greater than the maximum number of QoS flows supported by the terminal device; the QoS of the session The number of QoS rules in the information is greater than the maximum number of QoS rules supported by the terminal device; the number of packet filters in the QoS information of the above session is greater than the maximum number of packet filters supported by the terminal device.
  • the strategies for retaining part of the QoS information in the QoS information of the above-mentioned session include one or more of the following strategies 1 to 3:
  • Strategy 1 Keep the default QoS rules and the QoS flow corresponding to the default QoS rules
  • GBR Qos rules Prioritize the retention of GBR QoS flow, GBR QoS flow associated QoS rules (referred to as GBR Qos rules) and/or GBR QoS flow associated QoS rules contained in packet filters (referred to as GBR packet filters);
  • Strategy 3 Prioritize the retention of high priority QoS flows, high priority QoS rules and/or packet filters contained in high priority QoS rules.
  • the execution order of the multiple strategies is not limited.
  • the strategy for retaining part of the QoS information in the QoS information of the session includes strategy 1 to strategy 3, and the execution order of strategy 1 to strategy 3 is strategy 1, strategy 2, and strategy 3.
  • the QoS information carried in the session establishment response message sent by the network device is called first QoS information, and the first QoS information includes QoS flow and QoS rules, and the QoS rules include packet filters.
  • the terminal device reserves part of the QoS information in the first QoS information according to the QoS support capability of the terminal device, and may include the following steps:
  • Step 1 If the first QoS information includes the default QoS rule, the default QoS rule, the packet filter in the default QoS rule, and the QoS flow corresponding to the default QoS rule are retained. 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 met, step two is performed, and 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 device; B1 is less than the maximum number of QoS rules supported by the terminal device; C1 is less than the terminal device The maximum number of packet filters supported.
  • Step 2 QoS information that has not been retained in the first QoS information after step 1 is called second QoS information.
  • second QoS information QoS information that has not been retained in the first QoS information after step 1 is called second QoS information.
  • GBR QoS flows, GBR QoS rules, and GBR packet filters are preferentially reserved.
  • the cumulative number of reserved QoS flows, QoS rules and packet filters in steps 1 and 2 are A2, B2 and C2, respectively. If the second condition is met, step 3 is performed, and 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 device; B2 is less than the maximum number of QoS rules supported by the terminal device; C2 is less than the terminal device The maximum number of packet filters supported.
  • the terminal device performs step three.
  • the terminal device performs step three.
  • the packet filter retention rule is: each QoS rule reserves at least one packet filter, and based on this, the packet filter is randomly retained among the packet filters included in the multiple QoS rules.
  • the packet filter retention rules are: each QoS rule reserves at least one packet filter, and the QoS rules with high priority contain packet filters with higher priority than those with QoS rules with low priority. On this basis, among the packet filters included in multiple QoS rules, the packet filters with higher priority are reserved first.
  • 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 B1.
  • the number of packet filters in the GBR QoS rule 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 the high priority GBR QoS rule is retained in the second QoS information.
  • the second The number of QoS rules retained in the QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the second condition is satisfied, the terminal device performs step three.
  • 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 B1.
  • 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, and the high-priority GBR QoS rules are retained in the second QoS information.
  • the above-mentioned GBR QoS rules retain The number of QoS rules is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1.
  • the terminal device performs step three.
  • the terminal device performs step three.
  • 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.
  • 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 rules associated with the QoS flow are retained in the second QoS information ,
  • the number of reserved GBR QoS flows in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1.
  • the terminal device performs step three.
  • 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 2.
  • 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 QoS flow with high priority and the GBR QoS rules associated with the QoS flow are retained in the second QoS information
  • the number of reserved GBR QoS flows in the second QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1.
  • the terminal device performs step three.
  • 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 2.
  • 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, and the high-priority QoS flow and the GBR QoS rules associated with the QoS flow are retained in the second QoS information.
  • 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.
  • the QoS rules with high priority are retained in the QoS rules associated with the reserved GBR QoS flow, second The number of GBR QoS rules retained in the QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1.
  • the terminal device performs step three.
  • Step 3 QoS information that has not been retained in the second QoS information after step 2 is called third QoS information.
  • third QoS information QoS information that has not been retained in the second QoS information after step 2 is called third QoS information.
  • a QoS flow with a high priority, a QoS rule with a high priority, and a packet filter with a high priority are retained in priority.
  • the packet filter reservation rule is reserved For some packet filters, the number of packet filters reserved in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
  • the third QoS information is preferentially retained For QoS rules with high priority, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus B2.
  • the packet filters included in the reserved QoS rules in the third QoS information are reserved according to the packet filter retention rules For some packet filters, the number of packet filters reserved in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
  • the third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2.
  • the packet filters included in the QoS rules associated with the reserved QoS flow are filtered based on packets
  • the reserved rule of the filter retains part of the packet filters, and the number of the reserved packet filters of the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
  • the third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2.
  • the QoS rules associated with the QoS flow retained in the third QoS information are preferentially retained Rules, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2.
  • the packet filters included in the reserved QoS rules in the third QoS information are reserved according to the packet filter retention rules For some packet filters, the number of packet filters reserved in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
  • the third QoS information is preferentially retained For QoS rules with high priority, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2.
  • the third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2.
  • the third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2.
  • the QoS rules associated with the QoS flow retained in the third QoS information are preferentially retained Rules, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2.
  • case 2 the strategy for retaining part of the QoS information in the QoS information of the above-mentioned session includes strategy 1 to strategy 3, and the execution order of strategy 1 to strategy 3 is strategy 2, strategy 1, and strategy 3.
  • strategy 1 to strategy 3 the execution order of strategy 1 to strategy 3 is strategy 2, strategy 1, and strategy 3.
  • the terminal device sends a session modification request message to the network device, and 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 to indicate the QoS information of the terminal device in the session Part of the QoS information that is not reserved.
  • the first indication information carries an identifier of some QoS information that is not reserved.
  • the session modification request message is used to indicate to the network device that the terminal device does not retain part of the QoS information in the QoS information of the session.
  • the first indication information carries the QFI of the unreserved QoS flow, the identifier of the unreserved QoS rule, and the identifier of the unreserved packet filter.
  • the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  • the second instruction information is #26 insufficient resources.
  • the session modification request message further includes third indication information, and the third indication information is used to indicate a cause of insufficient QoS capability of the terminal device.
  • the causes of insufficient QoS capabilities include one or a combination of the following: insufficient QoS flow capabilities; insufficient QoS rule capabilities; and insufficient packet filter capabilities.
  • the reason codes for insufficient QoS capabilities include #A, #B, and #C.
  • #A, #B, and #C are used to indicate insufficient QoS flow capabilities, insufficient QoS rule capabilities, and insufficient packet filter capabilities, respectively.
  • the third indication information includes reason codes #B and #C.
  • the reason codes for insufficient QoS capabilities 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 packet filter capability;
  • #D is used to indicate insufficient QoS flow capability and insufficient QoS rule capability;
  • #E is used to indicate QoS rule Insufficient capabilities and insufficient packet filter capabilities;
  • #F is used to indicate insufficient QoS flow capabilities; and packet filter insufficient capabilities;
  • #G is used to indicate insufficient QoS flow capabilities, insufficient QoS rule capabilities, and insufficient packet filter capabilities.
  • the third indication information includes reason code #E.
  • the baseband (MODEM) module of the terminal device notifies the application program (AP) module of the terminal device through a common interface (such as an AT command interface) that the terminal device has insufficient QoS capabilities.
  • a common interface such as an AT command interface
  • the baseband (MODEM) module of the terminal device notifies the application program (AP) module of the terminal device through a common interface (for example, the AT command interface) to send the cause of the insufficient QoS capability of the terminal device.
  • a common interface for example, the AT command interface
  • S405 The network device releases part of the QoS information in the QoS information of the session according to the first instruction information.
  • the network device ensures that the session context of the terminal and the network device is consistent, and further guarantees the normal operation of the data service.
  • the network device receives the session establishment request message sent by the terminal device, and sends a session establishment response message to the terminal device, where the session establishment response message carries session QoS information.
  • the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device, and indicates to the network device that the terminal device is in the session modification request message. Part of the QoS information not retained in the QoS information of the above session.
  • the problem that the QoS information delivered by the network device cannot be supported due to the insufficient QoS capability of the terminal device during the session establishment process is solved, and the session context at both ends of the terminal and the network device is ensured to be consistent.
  • the flow of the above session management method is shown in FIG. 5, wherein the foregoing step S401 may further include S4011 and S4012, the foregoing step S402 may further include S4021 and S4022, and the foregoing step S404 may further Including S4041 and S4042. among them,
  • the terminal device sends a session establishment request message to the AMF, and the AMF receives the session establishment request message sent by the terminal device.
  • S4012 AMF sends a session establishment request message to SMF.
  • the above session establishment request message is PDU SESSION ESTABLISHMENT REQUEST.
  • the SMF sends a session establishment response message to the AMF.
  • the AMF receives the session establishment response message sent by the SMF.
  • the session establishment response message carries the QoS information of the session.
  • the AMF sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the AMF.
  • the above session establishment response message is PDU SESSIONESTABLISHMENT ACCEPT.
  • 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 includes first indication information.
  • the first indication information is used to indicate that the terminal device is not in the QoS information of the session. Some reserved QoS information.
  • S4042 AMF sends a session modification request message to SMF.
  • the above session modification request message is PDU SESSION MODIFICATION REQUEST.
  • An embodiment of the present invention provides a session management method.
  • 6 is a schematic flowchart of a session management method provided by 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. The possible implementation of the method embodiment is further described below.
  • the terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device.
  • the above session establishment request message is used to request session establishment, and the session establishment request message carries the QoS capabilities supported by the terminal device.
  • the session establishment request message carries the QoS capability supported by the terminal device.
  • the session establishment request message when the QoS capability supported by the terminal device itself is greater than the preset number of QoS, the session establishment request message carries the QoS capability supported by the terminal device.
  • the session establishment request message does not carry the QoS capability supported by the terminal device.
  • the above-mentioned preset number of QoS is pre-defined by the terminal device and the operator, and the number of QoS pre-defined by the terminal device and the operator can ensure the business development of most users in the future.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the terminal equipment and the operator pre-defined number of QoS can ensure the business development of most users in the future.
  • the terminal equipment When the terminal equipment itself supports a QoS capability greater than the preset number of QoS, the terminal equipment establishes a session
  • the request message carries the QoS capabilities supported by the terminal, and is used to inform the network device that the terminal device supports the QoS capability greater than or equal to the preset number of QoS, so as to obtain more QoS resources, thereby improving the data service processing capability of the terminal device.
  • the network device generates a session establishment response message, and the session establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device.
  • the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, and each QoS rule in the one or more QoS rules includes one or more packet filters.
  • the network device determines the QoS information of the session according to the QoS capability supported by the terminal device, including: if the network device determines that the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the network device determines The QoS capability supported by the network device, the number of QoS in the user subscription information corresponding to the terminal device and the minimum value among the QoS capabilities supported by the terminal device determine the amount of QoS information for the session, and the amount of QoS information for the session is less than or equal to the minimum value; If the network device determines 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 number of QoS in the user subscription information corresponding to the terminal device and the minimum value of the QoS capabilities supported by the terminal device, The number of QoS information of the session is less than or equal to the minimum value.
  • the network device determines the QoS information of the session according to the QoS capabilities supported by the terminal device, including: if the network device determines that the QoS capabilities supported by the terminal device is less than or equal to the QoS capabilities supported by the network device, the network device determines The QoS capability supported by the network device, the number of QoS in the user subscription information corresponding to the terminal device and the minimum value among the QoS capabilities supported by the terminal device determine the amount of QoS information for the session, and the amount of QoS information for the session is less than or equal to the minimum value; If the network device determines 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 minimum number of QoS capabilities supported by the terminal device according to the preset QoS number, the QoS number in the user subscription information corresponding to the terminal device Determine the QoS information of the session. The number of QoS information of the session is less than or equal to the minimum
  • the number of QoS in the user subscription information includes the number of subscribed QoS flows, the number of subscribed QoS rules, and/or the number of subscribed packet filters.
  • the following uses the second embodiment as an example to further describe a specific implementation manner in which the network device determines the QoS information of the session according to the QoS capabilities supported by the terminal device.
  • the network device supports The QoS capability determines the number of QoS flows in the QoS information of the above session, including:
  • the network device determines that the maximum number of QoS flows supported by the terminal device is less than or equal to the maximum number of QoS flows supported by the network device, the network device subscribes to the QoS in the user subscription information corresponding to the terminal device according to the maximum number of QoS flows supported by the network device
  • the minimum value of the number of flows and the maximum number of QoS flows supported by the terminal device determines the number of QoS flows of the session, the minimum value is a first value, and the number of QoS flows in the QoS information of the session is less than or equal to the first value ;
  • the network device determines that the maximum number of QoS flows supported by the terminal device is greater than the maximum number of QoS flows supported by the network device, the network device subscribes to the QoS flows subscribed in the user subscription information corresponding to the terminal device according to the preset number of QoS flows
  • the minimum value of the number and the maximum number of QoS flows supported by the terminal device determines the number of QoS flows of
  • the network device supports The QoS capability determines the number of QoS rules in the session's QoS information, including:
  • the network device determines that the maximum number of QoS rules supported by the terminal device is less than or equal to the maximum number of QoS rules supported by the network device, the network device subscribes to the QoS in the user subscription information corresponding to the terminal device according to the maximum number of QoS rules supported by the network device
  • the minimum of the number of rules and the maximum number of QoS rules supported by the terminal device determines the number of QoS rules for the session, the minimum value is a third value, and the number of QoS rules in the QoS information of the session is less than or equal to the third value ;
  • the network device determines that the maximum number of QoS rules supported by the terminal device is greater than the maximum number of QoS rules supported by the network device, the network device subscribes to the QoS rules in the user subscription information corresponding to the terminal device according to the preset number of QoS rules
  • the minimum value of the number and the maximum number of QoS rules supported by the terminal device determines the number of QoS rules of the session,
  • the network device determines the number of packet filters in the QoS information of the session according to the QoS capabilities supported by the terminal device, including:
  • the network device determines that the maximum number of packet filters supported by the terminal device is less than or equal to the maximum number of packet filters supported by the network device, the network device determines the maximum number of packet filters supported by the network device and the user subscription information corresponding to the terminal device.
  • the minimum value of the number of subscribed packet filters and the maximum number of packet filters supported by the terminal device determines the number of packet filters of the session. The minimum value is the fifth value.
  • the packet filter in the QoS information of the session The number is less than or equal to the above fifth value; if the network device determines that the maximum number of packet filters supported by the terminal device is greater than the maximum number of packet filters supported by the network device, the network device corresponds to the terminal device according to the preset number of packet filters. The minimum value of the number of packet filters subscribed in the user subscription information and the maximum number of packet filters supported by the terminal device determines the number of session packet filters. The minimum value is the sixth value.
  • the QoS information in the session The number of packet filters is less than or equal to the above-mentioned sixth value.
  • 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, then The network device determines 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. The following steps may be included:
  • Step 1 The network device determines the M QoS flows in the QoS information of the above session, and the QoS parameters of each QoS flow include the ARP and QFI corresponding to the QoS flow. If the maximum number of QoS flows supported by the terminal device is less than or equal to the maximum number of QoS flows supported by the network device, and M is less than or equal to the first value, if the maximum number of QoS flows supported by the terminal device is greater than the maximum number of QoS flows supported by the network device, M is less than or equal to the second value,
  • Step 2 The network device generates N QoS rules in the QoS information of the above session according to the QoS policy of the core network and the user's subscription information, etc.
  • the N QoS rules include H packet filters. Any one of the N QoS rules is associated with one of the M QoS flows.
  • the QoS rule contains the QFI, priority and one or more packet filters of the associated QoS flow. If the maximum number of QoS rules supported by the terminal device is less than or equal to the maximum number of QoS rules supported by the network device, and M is less than or equal to the third value, if the maximum number of QoS rules supported by the terminal device is greater than the maximum number of QoS rules supported by the network device, M is less than or equal to the fourth value.
  • M is less than or equal to the fifth value, if the maximum number of packet filters supported by the terminal device is greater than the packet filters supported by the network device. The maximum number, M is less than or equal to the sixth value.
  • S503 The network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
  • the session establishment request message sent by the terminal device to the network device carries the QoS capabilities supported by the terminal device, thereby notifying the network device of the QoS capabilities supported by the terminal device.
  • the network device may determine the number of QoS flows, QoS rules and/or packet filters in the QoS information according to the QoS capabilities supported by the terminal device, and the session establishment response message sent by the network device to the terminal device carries the QoS information of the session.
  • the embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements
  • the terminal equipment is configured with more QoS resources.
  • the flow of the above session management method is shown in FIG. 7, wherein the foregoing step S501 may further include S5011 and S5012, and the foregoing step S503 may further include S5031 and S5032, the method shown in FIG. 7 Steps S504-S505 are also included. among them,
  • the terminal device sends a session establishment request message to the AMF.
  • the AMF receives the session establishment request message sent by the terminal device.
  • the above session establishment request message is used to request the session establishment.
  • the session establishment request message carries the QoS capabilities supported by the terminal device.
  • S5012 AMF sends a session establishment request message to SMF.
  • the above session establishment request message is PDU SESSION ESTABLISHMENT REQUEST.
  • S5031 SMF sends a session establishment response message to AMF, and AMF receives the session establishment response message sent by SMF.
  • the AMF sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the AMF.
  • the above session establishment response message is PDU SESSIONESTABLISHMENT ACCEPT.
  • the SMF sends an acquisition request to the UDM, and the UDM receives the acquisition request sent by the SMF.
  • the above acquisition request is used to acquire user subscription information corresponding to the terminal device.
  • UDM sends the above user subscription information to SMF, and SMF receives the user subscription information sent by UDM.
  • SMF obtains user subscription information, which is used to determine the QoS information of the session.
  • An embodiment of the present invention provides a session management method.
  • 8 is a schematic flowchart of a session management method provided by an embodiment of the present invention. As shown in FIG. 8, the session management method provided by the embodiment of the present invention includes but is not limited to steps S506 to S508. The possible implementation of the method embodiment is further described below.
  • the terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device.
  • the session establishment request message is used to request session establishment, and the session establishment request message does not carry the QoS capabilities supported by the terminal device.
  • the aforementioned preset number of QoS is pre-defined by the terminal device and the operator.
  • the number of QoS pre-defined by terminal equipment and operators can ensure the business development of most users in the future.
  • the preset number of QoS is the QoS capability supported by the network device.
  • the preset QoS quantity is the QoS quantity in the user subscription information of the terminal device.
  • the preset QoS quantity is the minimum value of the QoS capabilities supported by the network device and the QoS quantity in the user subscription information.
  • the aforementioned preset number of QoS is pre-defined by the terminal device and the operator.
  • the session establishment request message carries the QoS capability supported by the terminal device.
  • the session establishment request message does not carry the QoS capability supported by the terminal device.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device generates a session establishment response message, and the session establishment response message carries QoS information of the session.
  • the QoS information of the session is determined by the network device according to a preset number of QoS.
  • the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, and each QoS rule in the one or more QoS rules includes one or more packet filters.
  • the network device determines the QoS information of the session according to the preset number of QoS, including: the network device according to the QoS capabilities supported by the network device, the terminal device The minimum value of the number of QoS in the corresponding user subscription information and the preset number of QoS determines the QoS information of the session, and the number of QoS information of the session is less than or equal to the minimum value.
  • the network device determines the number of QoS flows in the QoS information of the session according to the preset number of QoS, including: the maximum number of QoS flows supported by the network device according to the network device, the number of QoS in the user subscription information corresponding to the terminal device.
  • the minimum value among the preset number of QoS flows determines the number of QoS flows in the QoS information of the session, and the number of QoS flows in the QoS information of the session is less than or equal to the minimum value.
  • the network device determines the number of QoS rules in the QoS information of the session according to the preset number of QoS, including: the maximum number of QoS rules supported by the network device according to the network device, the number of QoS in the user subscription information corresponding to the terminal device.
  • the minimum value among the number of preset QoS rules determines the number of QoS rules in the QoS information of the session, and the number of QoS rules in the QoS information of the session is less than or equal to the minimum value.
  • the preset QoS number includes the preset packet The number of filters
  • the network device determines the number of packet filters in the QoS information of the session according to the preset number of QoS, including: the maximum number of packet filters supported by the network device according to the network device, user subscription information corresponding to the terminal device
  • the minimum value among the number of QoSs in the preset number of packet filters determines the number of QoS rules 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 minimum value.
  • the network device determines the QoS information of the session according to the QoS capabilities supported by the network device, and the QoS information of the session is less than or equal to the QoS capabilities supported by the network device.
  • the network device determines the session according to the maximum number of QoS flows supported by the network device.
  • the number of QoS flows in the QoS information of the session, the number of QoS flows in the QoS information of the above session is less than or equal to the maximum number of QoS flows supported by the network device.
  • the network device determines the session according to the maximum number of QoS rules supported by the network device.
  • the number of QoS rules in the QoS information of the above, the number of QoS rules in the QoS information of the above session is less than or equal to the maximum number of QoS rules supported by the network device.
  • the network device is determined 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, and the number of packet filters in the QoS information of the session are less than or equal to the maximum number of packet filters supported by the network device.
  • the network device determines the QoS information of the session according to the QoS quantity in the user subscription information, and the QoS information of the session is less than or equal to the above The number of QoS in user subscription information.
  • the network device determines whether the number of QoS flows in the QoS information of the session.
  • the number of QoS flows in the QoS information of the session is less than or equal to the number of subscribed QoS flows.
  • the network device according to the number of subscribed QoS rules Determine the number of QoS rules in the QoS information of the session.
  • the number of QoS rules in the QoS information of the session is less than or equal to the number of subscribed QoS rules.
  • the network device according to the subscribed packet filters The number of determines the number of packet filters in the QoS information of the session.
  • the number of packet filters in the QoS information of the above session is less than or equal to the number of subscribed packet filters.
  • the network device determines the QoS information of the session according to the minimum value, and the QoS of the session The information is less than or equal to the above minimum value.
  • S508 The network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
  • this embodiment of the present invention may be combined with S501-S503 in the first implementation mode as another session management method.
  • An embodiment of the present invention also provides a session management method.
  • 6 is a schematic flowchart of a session management method provided by 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 S601 to S606. The possible implementation of the method embodiment is further described below.
  • the terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device.
  • the session establishment request message is used to request the establishment of a session.
  • the network device generates a session establishment response message, and the session establishment response message carries the QoS information of the session.
  • the session establishment request message carries the QoS capability supported by the terminal device
  • the QoS information of the session is the QoS supported by the network device according to the terminal device
  • the capability is determined.
  • the QoS information of the session is determined by the network device according to the preset number of QoS.
  • the network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
  • S601-S603 refer to the optional embodiments of S501-S503 and S506-S508, which will not be repeated here.
  • the QoS information of the session is determined by the network device according to the preset number of QoS. If the QoS capability supported by the terminal device is less than the preset preset number, the QoS information of the session may exceed the QoS capability supported by the terminal device.
  • the terminal device sends a session modification request message to the network device, and 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 to indicate the QoS information of the terminal device in the session Part of the QoS information that is not reserved.
  • S604-S605 refer to the optional embodiments of S403-S404, which will not be repeated here.
  • the network device releases part of the QoS information in the QoS information of the session according to the first instruction information.
  • the session establishment response message carries the QoS information of the session. If the session establishment request message carries the QoS capability supported by the terminal device, the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal device. If the session establishment request message does not carry the QoS capabilities supported by the terminal device, the QoS information of the session is determined by the network device according to the preset number of QoS. The terminal device receives the session establishment response message sent by the network device.
  • the terminal device If the QoS information of the session exceeds the QoS capability supported by the terminal device, the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device, and sends The network device sends a session modification request message, and in the session modification request message, instructs the terminal device to retain some QoS information in the QoS information of the session.
  • the embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements
  • the terminal equipment is configured with more QoS resources.
  • the present invention provides a session management method, which may include:
  • the terminal device switches from the first communication system to the second communication system. If the QoS information of the session established by the terminal device in the first communication system exceeds the preset QoS quantity of the second communication system, the terminal device retains part of the QoS information in the QoS information of the session according to the preset QoS quantity.
  • the terminal device sends a session modification request message to the 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 the fourth indication information and the QoS capabilities supported by the terminal device.
  • the fourth indication The information is used to indicate that the terminal device does not retain some QoS information in the QoS information of the session, and the QoS capability supported by the terminal device is used to inform the network device of the maximum number of QoS information supported by the terminal device.
  • the network device releases part of the QoS information in the QoS information of the session according to the fourth instruction information.
  • the above 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.
  • the QoS capability supported by the terminal device is used to inform the above-mentioned network device of the maximum amount of QoS information supported by the terminal device, so as to ensure that in the subsequent session modification process, the QoS information delivered by the network device will not exceed the QoS capability supported by the device .
  • FIG. 10 shows a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • the terminal device 700 may include: a first sending unit 701, a reservation unit 702, and a first receiving unit 703. among them:
  • the first sending unit 701 is configured to send a session establishment request message to the network device, and the session establishment request message is used to request establishment of a session.
  • the first receiving unit 703 is configured to receive a session establishment response message sent by a network device, and the session establishment response message carries session QoS information.
  • the reservation unit 702 is configured to reserve part of the 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.
  • the session modification request message includes first indication information, and the first indication information is used to indicate a part of QoS information that the processor does not retain in the QoS information of the session .
  • the reservation unit 702 retains part of the QoS information in the QoS information of the session, including one or a combination of: retaining the default Qos rule and the Qos flow corresponding to the default Qos rule in the QoS information of the session; preferentially retaining the above The Qos flow with guaranteed bit rate, the Qos rule with guaranteed bit rate and/or the packet filter included with the Qos rule with guaranteed bit rate in the QoS information of the session; the Qos flow with a higher priority in the QoS information of the above session is preferentially retained, The packet filter included in the Qos rule with high priority and/or the Qos rule with high priority.
  • the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  • the second indication information is #26 insufficient resources.
  • the QoS capabilities supported by the terminal device include one or a 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; the packet filter in the QoS rules supported by the terminal device maximum quantity.
  • 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 contains one or more Packet filters.
  • the network device is an SMF
  • the above-mentioned first sending unit 701 sends a session establishment request message to the network device, including: the first sending unit 701 sends a session establishment request message to the SMF through the AMF.
  • the network device is an SMF
  • the above-mentioned first receiving unit 703 receives the session establishment response message sent by the network device, including: the first receiving unit 703 receives the session establishment response message sent by the SMF through the AMF.
  • the network device is an SMF
  • the above-mentioned first sending unit 701 sends a session modification request message to the network device, including: the first sending unit 701 sends a session establishment request message to the SMF through the AMF.
  • FIG. 11 shows a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • the terminal device 800 may include: a second sending unit 801 and a second receiving unit 802.
  • the second sending unit 801 is used to send a session establishment request message to the network device.
  • the session establishment request message is used to request session establishment, and the session establishment request message does not carry the QoS capabilities supported by the terminal; the second receiving unit 802 is used to receive the network
  • the session establishment response message sent by the device carries the session QoS information.
  • the session QoS information is determined by the network device according to a preset number of QoS.
  • the second sending unit 801 is used to send a session establishment request message to the network device, the session establishment request message is used to request the establishment of a session, and the session establishment request message carries the QoS capabilities supported by the terminal; the second receiving unit 802 is used to receive The session establishment response message sent by the network device.
  • the session establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the session establishment request message carries the QoS capability supported by the terminal.
  • the session The establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capabilities supported by the network device, the QoS information of the session is based on the network device The minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device and the QoS capability supported by the terminal device is determined; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the above session is the network The device is determined according to the preset number of QoS, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is based on the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the preset The minimum value of the number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
  • the above 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 includes one or more packet filters .
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • the second sending unit 801 sends the session establishment request message to the network device, including: the second sending unit 801 sends the session establishment request message to the SMF through the AMF.
  • the network device is SMF
  • the second receiving unit 802 receives the session establishment response message sent by the network device, including: the second receiving unit 802 receives the session establishment response message sent by the SMF through AMF.
  • the network device is SMF
  • the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device.
  • the user subscription information is obtained by SMF through UDM.
  • FIG. 12 shows a schematic structural diagram of another terminal device according to an embodiment of the present invention.
  • the terminal device 900 may include: a third receiving unit 901 and a third sending unit 902.
  • the third receiving unit 901 is used to receive the session establishment request message sent by the terminal device.
  • the session establishment request message is used to request the session establishment.
  • the session establishment request message does not carry the QoS capability supported by the terminal;
  • the third sending unit 902 is used to send The terminal device sends a session establishment response message, and the session establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to a preset number of QoS;
  • the third receiving unit 901 is used to receive a session establishment request message sent by the terminal device, the session establishment request message is used to request establishment of a session, and the session establishment request message carries the QoS capabilities supported by the terminal; the third sending unit 902 is used to Send a session establishment response message to the terminal device.
  • the session establishment response message carries the QoS information of the session.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
  • the session establishment request message carries the QoS capability supported by the terminal.
  • the session The establishment request message does not carry the QoS capabilities supported by the terminal.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capabilities supported by the network device, the QoS information of the session is based on the network device The minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device and the QoS capability supported by the terminal device is determined; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the above session is the network The device is determined according to the preset number of QoS, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
  • the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is based on the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the preset The minimum value of the number of QoS is determined.
  • the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
  • the above 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 includes one or more packet filters .
  • the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
  • the network device is SMF
  • the third receiving unit 901 receives the session establishment request message sent by the terminal device, including: the third receiving unit 901 receives the session establishment request message sent by SMF through AMF.
  • the network device is SMF
  • the third sending unit 902 sends the session establishment response message to the terminal device, including: the third sending unit 902 sends the session establishment response message to the terminal device through the AMF.
  • the network device is SMF
  • the SMF further includes an acquisition unit.
  • the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device.
  • the user subscription information is obtained by the acquisition unit through UDM Acquired.
  • FIG. 13 shows a schematic structural diagram of a communication chip provided by the present invention.
  • the communication chip 1000 may include a processor 1001 and one or more interfaces 1002 coupled to the processor 1001. among them:
  • the processor 1001 may be used to read and execute computer-readable instructions.
  • the processor 1001 may mainly include a controller, an arithmetic unit, and a register.
  • the controller is mainly responsible for instruction decoding and issues control signals for the operations corresponding to the instructions.
  • the arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logical operations, and can also perform address operations and conversions.
  • the register is mainly responsible for saving the register operand and intermediate operation result temporarily stored during the execution of the instruction.
  • the hardware architecture of the processor 1001 may be an application-specific integrated circuit (application specific integrated circuits, ASIC) architecture, a MIPS architecture, an ARM architecture, an NP architecture, or the like.
  • ASIC application specific integrated circuits
  • MIPS magnetic tape
  • ARM magnetic resonance imaging
  • NP neuronal neural network
  • the processor 1001 may be single-core or multi-core.
  • the interface 1002 can be used to input data to be processed to the processor 1001, and can output the processing result of the processor 1001 to the outside.
  • the interface 1002 may be a general input/output (GPIO) interface, which may be connected to multiple peripheral devices (such as a display (LCD), a camera (camara), a radio frequency (radio frequency, RF) module, etc.) connection.
  • GPIO general input/output
  • the interface 1002 is connected to the processor 1001 through a bus 1003.
  • the processor 1001 may be used to call a program for implementing the session management method provided by one or more embodiments of the present invention on the communication device side from the memory, and execute the instructions contained in the program.
  • the interface 1002 may be used to output the execution result of the processor 1001.
  • the interface 1002 may be specifically used to output the resource allocation result of the processor 1001.
  • processor 1001 and the interface 1002 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited herein.
  • the steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present invention may be implemented by hardware, or by a processor executing software instructions.
  • Software instructions can be composed of corresponding software modules, which can be stored in RAM, flash memory, ROM, erasable programmable read only memory (erasable programmable rom, EPROM), electrically erasable programmable read only memory (electrically eraprom, EEPROM), registers, hard drives, removable hard drives, read-only compact discs (CD-ROM), or any other form of storage medium well known in the art.
  • An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium.
  • the storage medium may also be a component of the processor.
  • the processor and the storage medium may be located in the ASIC.
  • the ASIC may be located in a transceiver or a relay device.
  • the processor and the storage medium may also exist as discrete components in the radio access network device or terminal device.
  • Computer-readable media includes computer storage media and communication media, where communication media includes any medium that facilitates transfer of a computer program from one place to another.
  • the storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.

Abstract

Disclosed in the embodiments of the present invention are a session management device and system. The session management device comprises: a processor, a memory, a transceiver, and a bus. The processor invokes a program code in the memory to execute the following operations: sending a session establishment request message to a network device by means of the transceiver; receiving, by means of the transceiver, a session establishment response message sent by the network device, wherein the session establishment response message carries quality of service QoS information of the session; if the QoS information exceeds the QoS capability supported by a terminal device, reserving part of the QoS information according to the QoS capability supported by the terminal device; and sending a session modification request message to the network device by means of the transceiver, wherein the session modification request message comprises first indication information, and said information is used for indicating unreserved QoS information. The implementation of the embodiments of the present application can solve the abnormality that the QoS information issued by the network device exceeds the capability supported by the terminal device during the session establishment process.

Description

一种会话管理设备及系统Session management equipment and system 技术领域Technical field
本发明涉及无线通信技术领域,尤其涉及一种会话管理设备及系统。The invention relates to the technical field of wireless communication, in particular to a session management device and system.
背景技术Background technique
在会话建立阶段中,针对网络下发的PDU SESSION ESTABLISHMENT ACCEPT消息中携带的新增服务质量(quality of service,Qos)流(Flow)、Qos规则(Rule)和/或Qos规则中的包过滤器(packet filter)的数量大于终端设备支持的最大数量这一情况,第五代移动通信(the 5th generation,5G)协议没有定义终端设备该如何处理这种异常。In the session establishment phase, for the newly added quality of service (Qos) flow (Flow), Qos rule (Rule) and/or Qos rule packet filter carried in the PDU SESSIONESTABLISHMENT ACCEPT message delivered by the network The number of (packet) filters is greater than the maximum number supported by the terminal device. The 5th generation (5G) protocol does not define how the terminal device should handle such anomalies.
因而,如何解决上述异常,还是有待解决的问题。Therefore, how to solve the above-mentioned anomalies is still a problem to be solved.
发明内容Summary of the invention
本发明实施例提供了一种会话管理设备及系统,能够解决在会话建立过程中网络设备下发的QoS信息超出终端设备支持能力的这种异常。The embodiments of the present invention provide a session management device and system, which can solve the abnormality that the QoS information delivered by the network device during the session establishment process exceeds the support capability of the terminal device.
本发明实施例具体可以通过如下技术方案实现:The embodiments of the present invention can be specifically implemented by the following technical solutions:
第一方面,本发明实施例提供了一种终端设备,该终端设备包括:处理器、存储器、收发器和总线;处理器、存储器以及收发器可以通过总线相互连接,收发器用于与其他通信设备通信;存储器用于存储程序代码和数据;处理器调用存储器中的程序代码执行如下操作:In a first aspect, an embodiment of the present invention provides a terminal device, the terminal device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver can be connected to each other through a bus, and the transceiver is used to communicate with other communication devices Communication; the memory is used to store program code and data; the processor calls the program code in the memory to perform the following operations:
通过收发器向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话;通过收发器接收网络设备发送的会话建立响应消息,会话建立响应消息中携带会话的QoS信息;当上述会话的QoS信息超出终端设备支持的QoS能力时,根据终端设备支持的QoS能力保留上述会话的QoS信息中的部分QoS信息;通过收发器向网络设备发送会话修改请求消息,会话修改请求消息包括第一指示信息,第一指示信息用于指示处理器在上述会话的QoS信息中未保留的部分QoS信息。The session establishment request message is sent to the network device through the transceiver, and the session establishment request message is used to request the establishment of the session; the session establishment response message sent by the network device is received through the transceiver, and the session establishment response message carries the QoS information of the session; When the QoS information exceeds the QoS capability supported by the terminal device, part of the QoS information in the QoS information of the above session is retained according to the QoS capability supported by the terminal device; a session modification request message is sent to the network device through the transceiver, and the session modification request message includes the first indication Information, the first indication information is used to instruct the processor to retain some QoS information in the QoS information of the session.
在一个可能的设计中,上述保留上述会话的QoS信息中的部分QoS信息,包括以下之一或组合:保留上述会话的QoS信息中的默认Qos规则和默认Qos规则对应的Qos流;优先保留上述会话的QoS信息中的保证比特速率的Qos流、保证比特速率的Qos规则和/或保证比特速率的Qos规则包含的包过滤器;优先保留上述会话的QoS信息中的优先级高的Qos流、优先级高的Qos规则和/或优先级高的Qos规则包含的包过滤器。In a possible design, part of the QoS information in the QoS information of the above-mentioned session is retained, including one or a combination of the following: the default Qos rule in the QoS information of the above-mentioned session and the Qos flow corresponding to the default Qos rule are reserved; The Qos flow with guaranteed bit rate, the Qos rule with guaranteed bit rate and/or the packet filter included with the Qos rule with guaranteed bit rate in the QoS information of the session; the Qos flow with a higher priority in the QoS information of the above session is preferentially retained, The packet filter included in the Qos rule with high priority and/or the Qos rule with high priority.
在一个可能的设计中,会话修改请求消息还包括第二指示信息,第二指示信息用于指示终端设备Qos能力不足。In a possible design, the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
在一个可能的设计中,第二指示信息为#26 insufficient resources(资源不足)。In a possible design, the second indication information is #26 insufficient resources (insufficient resources).
在一个可能的设计中,上述终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the above-mentioned QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the packets in the QoS rules supported by the terminal device The maximum number of filters.
在一个可能的设计中,其特征在于,上述QoS信息包括以下内容之一或组合:一个或多 个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, it is characterized in that 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 contains One or more packet filters.
在一个可能的设计中,网络设备为会话管理功能(session management function,SMF)设备,上述通过收发器向网络设备发送会话建立请求消息,包括:通过收发器向接入和移动性管理功能(access andmobility management function,AMF)设备发送会话建立请求消息,会话建立请求消息是AMF向SMF发送的。In a possible design, the network device is a session management function (SMF) device, and sending the session establishment request message to the network device through the transceiver includes the following: access to the access and mobility management function through the transceiver andmobility management function (AMF) The device sends a session establishment request message, and the session establishment request message is sent by the AMF to the SMF.
在一个可能的设计中,网络设备为SMF,上述通过收发器接收网络设备发送的会话建立响应消息,包括:通过收发器接收AMF发送的会话建立响应消息,会话建立响应消息是AMF从SMF接收到的。In a possible design, the network device is SMF, and receiving the session establishment response message sent by the network device through the transceiver includes: receiving the session establishment response message sent by the AMF through the transceiver. The session establishment response message is received by the AMF from the SMF of.
在一个可能的设计中,网络设备为SMF,上述通过收发器向网络设备发送会话修改请求消息,包括:通过收发器向AMF发送会话修改请求消息,会话修改请求消息是AMF向SMF发送。In a possible design, the network device is SMF, and sending the session modification request message to the network device through the transceiver includes: sending the session modification request message to the AMF through the transceiver, and the session modification request message is sent by the AMF to the SMF.
第二方面,本发明实施例提供了一种会话管理系统,该系统包括:终端设备和网络设备;终端设备配置为向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话;网络设备配置为向终端设备发送会话建立响应消息,会话建立响应消息中携带会话的QoS信息;终端设备配置为当上述会话的QoS信息超出终端设备支持的QoS能力时,根据终端设备支持的QoS能力保留上述会话的QoS信息中的部分QoS信息;终端设备配置为向网络设备发送会话修改请求消息,会话修改请求消息包括第一指示信息,第一指示信息用于指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。网络设备配置为根据第一指示信息释放会话的QoS信息中的部分QoS信息。In a second aspect, an embodiment of the present invention provides a session management system including: a terminal device and a network device; the terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request the establishment of a session; the network The device is configured to send a session establishment response message to the terminal device, and the session establishment response message carries the QoS information of the session; the terminal device is configured to retain the QoS capability supported by the terminal device when the QoS information of the above session exceeds the QoS capability supported by the terminal device Part of the QoS information in the QoS information of the session; the terminal device is configured to send a session modification request message to the network device, the session modification request message includes first indication information, and the first indication information is used to indicate that the terminal device is in the QoS information of the session Some unreserved QoS information. The network device is configured to release part of the QoS information in the QoS information of the session according to the first indication information.
在一个可能的设计中,上述保留上述会话的QoS信息中的部分QoS信息,包括以下之一或组合:保留上述会话的QoS信息中的默认Qos规则,以及该默认Qos规则对应的Qos流;优先保留上述会话的QoS信息中的保证比特速率的Qos流、保证比特速率的Qos规则和/或保证比特速率的Qos规则包含的包过滤器;优先保留上述会话的QoS信息中的优先级高的Qos流、优先级高的Qos规则和/或优先级高的Qos规则包含的包过滤器。In a possible design, part of the QoS information in the QoS information of the above session is retained, including one or a combination of the following: the default Qos rule in the QoS information of the above session is retained, and the Qos flow corresponding to the default Qos rule; priority Retain the guaranteed bit rate Qos flow, the guaranteed bit rate Qos rule and/or the packet filter included in the guaranteed bit rate Qos rule in the QoS information of the above session; preferentially retain the high priority Qos in the QoS information of the above session Packet filters included in flows, high-priority Qos rules, and/or high-priority Qos rules.
在一个可能的设计中,会话修改请求消息还包括第二指示信息,第二指示信息用于指示终端设备Qos能力不足。In a possible design, the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
在一个可能的设计中,第二指示信息为#26 insufficient resources。In a possible design, the second indication information is #26 insufficient resources.
在一个可能的设计中,上述终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the above-mentioned QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the packets in the QoS rules supported by the terminal device The maximum number of filters.
在一个可能的设计中,其特征在于,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, it is characterized in that 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 contains One or more packet filters.
在一个可能的设计中,网络设备为SMF,上述系统还包括AMF,上述终端设备配置为向网络设备发送会话建立请求消息,包括:终端设备配置为向AMF发送会话建立请求消息;AMF配置为将会话建立请求消息发送至SMF。In a possible design, the network device is SMF, the above system further includes AMF, and the above terminal device is configured to send a session establishment request message to the network device, including: the terminal device is configured to send a session establishment request message to AMF; AMF is configured to send The session establishment request message is sent to SMF.
在一个可能的设计中,网络设备为所述SMF,上述系统还包括AMF,上述网络设备配置为向终端设备发送会话建立响应消息,包括:SMF配置为向AMF发送会话建立响应消息;AMF配置为将会话建立响应消息发送至终端设备。In a possible design, the network device is the SMF, and the above system further includes an AMF. The network device is configured to send a session establishment response message to the terminal device. The SMF is configured to send a session establishment response message to the AMF; the AMF is configured as Send the session establishment response message to the terminal device.
在一个可能的设计中,网络设备为SMF,上述系统还包括AMF,上述终端设备配置为向网络设备发送会话修改请求消息,包括:终端设备配置为向AMF发送会话修改请求消息;AMF配置为将会话修改请求消息发送至SMF。In a possible design, the network device is SMF, the above system further includes AMF, the above terminal device is configured to send a session modification request message to the network device, including: the terminal device is configured to send a session modification request message to AMF; AMF is configured to send The session modification request message is sent to SMF.
第三方面,本发明实施例提供了一种会话管理方法,该方法包括:终端设备向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话;终端设备接收网络设备发送的会话建立响应消息,会话建立响应消息中携带会话的QoS信息;当上述会话的QoS信息超出终端设备支持的QoS能力时,根据终端设备支持的QoS能力保留上述会话的QoS信息中的部分QoS信息;终端设备向网络设备发送会话修改请求消息,会话修改请求消息包括第一指示信息,第一指示信息用于指示处理器在上述会话的QoS信息中未保留的部分QoS信息。In a third aspect, an embodiment of the present invention provides a session management method. The method includes: a terminal device sends a session establishment request message to a network device, and the session establishment request message is used to request a session establishment; the terminal device receives the session establishment sent by the network device The response message carries the session QoS information in the session establishment response message; when the session QoS information exceeds the QoS capability supported by the terminal device, part of the QoS information in the session QoS information is retained according to the QoS capability supported by the terminal device; the terminal device A session modification request message is sent to the network device, the session modification request message includes first indication information, and the first indication information is used to indicate a part of QoS information that the processor does not retain in the QoS information of the session.
实施第三方面所描述的方法,终端设备向网络设备发送会话建立请求消息,并接收网络设备发送的会话建立响应消息,上述会话建立响应消息中携带会话的QoS信息。当上述会话的QoS信息超出大于终端设备支持的QoS能力时,终端设备根据终端设备的QoS支持能力保留上述会话的QoS信息中的部分QoS信息,并通过会话修改请求消息向网络设备指示终端设备在上述会话的QoS信息中未保留的QoS信息。通过本发明实施例,解决了会话建立过程中终端设备QoS能力不足导致的无法支持网络设备下发的QoS信息的问题,并保证了终端和网络设备两端会话上下文一致。Implementing the method described in the third aspect, the terminal device sends a session establishment request message to the network device, and receives the session establishment response message sent by the network device, where 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 device, the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device, and indicates to the network device that the terminal device is in the session modification request message. QoS information not retained in the QoS information of the above session. Through the embodiments of the present invention, the problem that the QoS information delivered by the network device cannot be supported due to the insufficient QoS capability of the terminal device during the session establishment process is solved, and the session context at both ends of the terminal and the network device is ensured to be consistent.
在一个可能的设计中,上述保留上述会话的QoS信息中的部分QoS信息,包括以下之一或组合:保留上述会话的QoS信息中的默认Qos规则和默认Qos规则对应的Qos流;优先保留上述会话的QoS信息中的保证比特速率的Qos流、保证比特速率的Qos规则和/或保证比特速率的Qos规则包含的包过滤器;优先保留上述会话的QoS信息中的优先级高的Qos流、优先级高的Qos规则和/或优先级高的Qos规则包含的包过滤器。In a possible design, part of the QoS information in the QoS information of the above-mentioned session is retained, including one or a combination of the following: the default Qos rule in the QoS information of the above-mentioned session and the Qos flow corresponding to the default Qos rule are reserved; The Qos flow with guaranteed bit rate, the Qos rule with guaranteed bit rate and/or the packet filter included with the Qos rule with guaranteed bit rate in the QoS information of the session; the Qos flow with a higher priority in the QoS information of the above session is preferentially retained, The packet filter included in the Qos rule with high priority and/or the Qos rule with high priority.
在一个可能的设计中,会话修改请求消息还包括第二指示信息,第二指示信息用于指示终端设备Qos能力不足。In a possible design, the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
在一个可能的设计中,第二指示信息为#26 insufficient resources。In a possible design, the second indication information is #26 insufficient resources.
在一个可能的设计中,上述终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the above-mentioned QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the packets in the QoS rules supported by the terminal device The maximum number of filters.
在一个可能的设计中,其特征在于,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, it is characterized in that 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 contains One or more packet filters.
在一个可能的设计中,网络设备为SMF,上述终端设备向网络设备发送会话建立请求消息,包括:终端设备通过AMF向SMF发送会话建立请求消息。In a possible design, the network device is SMF, and the above terminal device sends a session establishment request message to the network device, including: the terminal device sends a session establishment request message to SMF through AMF.
在一个可能的设计中,网络设备为SMF,上述终端设备接收网络设备发送的会话建立响应消息,包括:终端设备通过AMF接收SMF发送的会话建立响应消息。In a possible design, the network device is SMF, and the terminal device receiving the session establishment response message sent by the network device includes: the terminal device receives the session establishment response message sent by SMF through AMF.
在一个可能的设计中,网络设备为SMF,上述终端设备向网络设备发送会话修改请求消息,包括:终端设备通过AMF向SMF发送会话建立请求消息。In a possible design, the network device is SMF, and the above terminal device sends a session modification request message to the network device, including: the terminal device sends a session establishment request message to SMF through AMF.
第四方面,本发明实施例提供了一种终端设备,该终端设备包括:处理器、存储器、收发器和总线;处理器、存储器以及收发器可以通过总线相互连接,收发器用于与其他通信设备通信;存储器用于存储程序代码和数据;处理器调用存储器中的程序代码执行如下操作:According to a fourth aspect, an embodiment of the present invention provides a terminal device. The terminal device includes: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver can be connected to each other through a bus, and the transceiver is used to communicate with other communication devices. Communication; the memory is used to store program code and data; the processor calls the program code in the memory to perform the following operations:
通过收发器向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话, 会话建立请求消息中不携带终端支持的QoS能力;通过收发器接收网络设备发送的会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的;The session establishment request message is sent to the network device through the transceiver, and the session establishment request message is used to request the establishment of the session. The session establishment request message does not carry the QoS capability supported by the terminal; The response message carries the QoS information of the session, and the QoS information of the session is determined by the network device according to the preset number of QoS;
或者,通过收发器向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中携带终端支持的QoS能力;通过收发器接收网络设备发送的会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备根据终端支持的QoS能力确定的。Or, the session establishment request message is sent to the network device through the transceiver, and the session establishment request message is used to request the establishment of the session, and the session establishment request message carries the QoS capability supported by the terminal; the session establishment response message sent by the network device is received through the transceiver, and the session The establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
在一个可能的设计中,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。In a possible design, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
在一个可能的设计中,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
在一个可能的设计中,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
在一个可能的设计中,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
在一个可能的设计中,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, the above 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 contains one or more Packet filter.
在一个可能的设计中,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。In a possible design, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
在一个可能的设计中,网络设备为SMF,上述通过收发器向网络设备发送会话建立请求消息,包括:通过收发器向AMF发送会话建立请求消息,会话建立请求消息是AMF向SMF发送的。In a possible design, the network device is SMF, and sending the session establishment request message to the network device through the transceiver includes: sending the session establishment request message to the AMF through the transceiver, and the session establishment request message is sent by the AMF to the SMF.
在一个可能的设计中,网络设备为SMF,上述通过收发器接收网络设备发送的会话建立响应消息,包括:通过收发器接收AMF发送的会话建立响应消息,会话建立响应消息是AMF从SMF接收到的。In a possible design, the network device is SMF, and receiving the session establishment response message sent by the network device through the transceiver includes: receiving the session establishment response message sent by the AMF through the transceiver. The session establishment response message is received by the AMF from the SMF of.
在一个可能的设计中,网络设备为SMF,上述会话的QoS信息是SMF根据终端设备支持的QoS能力和终端设备对应的用户签约信息确定的,用户签约信息是SMF通过统一数据管理(unified data management,UDM)设备中获取的。In a possible design, the network device is SMF, and the QoS information of the above session is determined by the SMF based on the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device. The user subscription information is SMF through unified data management (unified data management) , UDM) obtained from the device.
第五方面,本发明实施例提供了一种网络设备,该网络设备包括:处理器、存储器、收发器和总线;处理器、存储器以及收发器可以通过总线相互连接,收发器用于与其他通信设备通信;存储器用于存储程序代码和数据;处理器调用存储器中的程序代码执行如下操作:According to a fifth aspect, an embodiment of the present invention provides a network device, including: a processor, a memory, a transceiver, and a bus; the processor, the memory, and the transceiver can be connected to each other through a bus, and the transceiver is used to communicate with other communication devices Communication; the memory is used to store program code and data; the processor calls the program code in the memory to perform the following operations:
通过收发器接收终端设备发送的会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中不携带终端支持的QoS能力;通过收发器向终端设备发送会话建立 响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的;Receive the session establishment request message sent by the terminal device through the transceiver. The session establishment request message is used to request the establishment of the session. The session establishment request message does not carry the QoS capabilities supported by the terminal; the session establishment response message is sent to the terminal device through the transceiver. The response message carries the QoS information of the session, and the QoS information of the session is determined by the network device according to the preset number of QoS;
或者,通过收发器接收终端设备发送的会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中携带终端支持的QoS能力;通过收发器向终端设备发送会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备根据终端支持的QoS能力确定的。Or, receive the session establishment request message sent by the terminal device through the transceiver. The session establishment request message is used to request the establishment of the session. The session establishment request message carries the QoS capability supported by the terminal; the session establishment response message is sent to the terminal device through the transceiver. The establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
在一个可能的设计中,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。In a possible design, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
在一个可能的设计中,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
在一个可能的设计中,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
在一个可能的设计中,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
在一个可能的设计中,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, the above 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 contains one or more Packet filter.
在一个可能的设计中,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。In a possible design, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
在一个可能的设计中,网络设备为SMF,上述通过收发器接收终端设备发送的会话建立请求消息,包括:通过收发器接收AMF发送的会话建立请求消息,会话建立请求消息是AMF从终端设备接收到的。In a possible design, the network device is SMF, and receiving the session establishment request message sent by the terminal device through the transceiver includes: receiving the session establishment request message sent by the AMF through the transceiver. The session establishment request message is received by the AMF from the terminal device Arrived.
在一个可能的设计中,网络设备为SMF,上述通过收发器向终端设备发送会话建立响应消息,包括:通过收发器向AMF发送会话建立响应消息,会话建立响应消息是AMF向终端设备发送的。In a possible design, the network device is SMF, and sending the session establishment response message to the terminal device through the transceiver includes: sending the session establishment response message to the AMF through the transceiver, and the session establishment response message is sent by the AMF to the terminal device.
在一个可能的设计中,网络设备为SMF,上述会话的QoS信息是SMF根据终端设备支持的QoS能力和终端设备对应的用户签约信息确定的,用户签约信息是SMF通过UDM中获取的。In a possible design, the network device is SMF, and the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device. The user subscription information is obtained by SMF through UDM.
第六方面,本发明实施例提供了一种会话管理系统,该系统包括:终端设备和网络设备;终端设备配置为向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中不携带终端支持的QoS能力;网络设备配置为向终端设备发送会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的;In a sixth aspect, an embodiment of the present invention provides a session management system. The system includes: a terminal device and a network device; the terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request the establishment of a session. The establishment request message does not carry the QoS capabilities supported by the terminal; the network device is configured to send a session establishment response message to the terminal device, and the session establishment response message carries the QoS information of the session. The QoS information of the session is based on the preset amount of QoS definite;
或者,终端设备配置为向网络设备发送会话建立请求消息,会话建立请求消息用于请求 建立会话,会话建立请求消息中携带终端支持的QoS能力;网络设备配置为向终端设备发送会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备根据终端支持的QoS能力确定的。Or, the terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request session establishment, and the session establishment request message carries the QoS capabilities supported by the terminal; the network device is configured to send the session establishment response message to the terminal device, The session establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
在一个可能的设计中,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。In a possible design, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
在一个可能的设计中,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
在一个可能的设计中,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
在一个可能的设计中,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
在一个可能的设计中,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, the above 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 contains one or more Packet filter.
在一个可能的设计中,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。In a possible design, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
在一个可能的设计中,网络设备为SMF,上述系统还包括AMF,上述终端设备配置为向网络设备发送会话建立请求消息,包括:终端设备配置为向AMF发送会话建立请求消息;AMF配置为将会话建立请求消息发送至SMF。In a possible design, the network device is SMF, the above system further includes AMF, and the above terminal device is configured to send a session establishment request message to the network device, including: the terminal device is configured to send a session establishment request message to AMF; AMF is configured to send The session establishment request message is sent to SMF.
在一个可能的设计中,网络设备为SMF,上述系统还包括AMF,上述网络设备配置为向终端设备发送会话建立响应消息,包括:SMF配置为向AMF发送会话建立响应消息;AMF配置为将会话建立响应消息发送至终端设备。In a possible design, the network device is SMF, and the above system further includes AMF. The above network device is configured to send a session establishment response message to the terminal device, including: SMF is configured to send a session establishment response message to AMF; AMF is configured to configure the session The establishment response message is sent to the terminal device.
在一个可能的设计中,网络设备为SMF,上述系统还包括UDM,其中,SMF配置为向UDM发送获取请求,获取请求用于获取终端设备对应的用户签约信息;UDM配置为向SMF发送用户签约信息。In a possible design, the network device is SMF, and the above system further includes UDM, wherein SMF is configured to send an acquisition request to UDM, and the acquisition request is used to acquire user subscription information corresponding to the terminal device; UDM is configured to send user subscription to SMF information.
第七方面,本发明实施例提供了一种会话管理方法,该方法包括:终端设备向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中不携带终端支持的QoS能力;终端设备接收网络设备发送的会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的;In a seventh aspect, an embodiment of the present invention provides a session management method. The method includes: a terminal device sends a session establishment request message to a network device. The session establishment request message is used to request a session establishment, and the session establishment request message does not carry terminal support. QoS capability; the terminal device receives the session establishment response message sent by the network device, and the session establishment response message carries the QoS information of the session. The QoS information of the above session is determined by the network device according to the preset number of QoS;
或者,终端设备向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中携带终端支持的QoS能力;终端设备接收网络设备发送的会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备根据终端支持的QoS能力确定的。Or, the terminal device sends a session establishment request message to the network device. The session establishment request message is used to request the session establishment. The session establishment request message carries the QoS capability supported by the terminal; the terminal device receives the session establishment response message sent by the network device, and the session establishment response The message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
实施第七方面所描述的方法,终端设备向网络设备发送会话建立请求消息,当会话建立 请求消息中携带终端设备支持的QoS能力时,网络设备可以根据终端设备支持的QoS能力确定上述会话的QoS信息,当会话建立请求消息中不携带终端设备支持的QoS能力时,网络设备根据预设的QoS数量确定上述会话的QoS信息。终端设备接收网络设备发送的会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息。通过本发明实施例解决了会话建立过程中终端设备QoS能力不足导致的终端设备无法支持网络设备下发的QoS信息的问题,实现了不同QoS需求的终端设备的差异化处理,可以为QoS高需求的终端设备配置更多的QoS资源。Implementing the method described in the seventh aspect, the terminal device sends a session establishment request message to the network device. When the session establishment request message carries the QoS capabilities supported by the terminal device, the network device may determine the QoS of the session according to the QoS capabilities supported by the terminal device Information, when the session establishment request message does not carry the QoS capabilities supported by the terminal device, the network device determines the QoS information of the session according to the preset number of QoS. The terminal device receives the session establishment response message sent by the network device, and the session establishment response message carries the QoS information of the session. The embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements The terminal equipment is configured with more QoS resources.
在一个可能的设计中,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。In a possible design, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
在一个可能的设计中,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
在一个可能的设计中,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
在一个可能的设计中,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
在一个可能的设计中,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, the above 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 contains one or more Packet filter.
在一个可能的设计中,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。In a possible design, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
在一个可能的设计中,网络设备为SMF,上述终端设备向网络设备发送会话建立请求消息,包括:终端设备通过AMF向SMF发送会话建立请求消息。In a possible design, the network device is SMF, and the above terminal device sends a session establishment request message to the network device, including: the terminal device sends a session establishment request message to SMF through AMF.
在一个可能的设计中,网络设备为SMF,上述终端设备接收网络设备发送的会话建立响应消息,包括:终端设备通过AMF接收SMF发送的会话建立响应消息。In a possible design, the network device is SMF, and the terminal device receiving the session establishment response message sent by the network device includes: the terminal device receives the session establishment response message sent by SMF through AMF.
在一个可能的设计中,网络设备为SMF,上述会话的QoS信息是SMF根据终端设备支持的QoS能力和终端设备对应的用户签约信息确定的,用户签约信息是SMF通过UDM中获取的。In a possible design, the network device is SMF, and the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device. The user subscription information is obtained by SMF through UDM.
第八方面,本发明实施例提供了一种会话管理方法,该方法包括:网络设备接收终端设备发送的会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中不携带终端支持的QoS能力;网络设备向终端设备发送会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的;In an eighth aspect, an embodiment of the present invention provides a session management method. The method includes: a network device receives a session establishment request message sent by a terminal device. The session establishment request message is used to request a session establishment, and the session establishment request message does not carry a terminal Supported QoS capability; the network device sends a session establishment response message to the terminal device. The session establishment response message carries the session QoS information. The session QoS information is determined by the network device according to the preset number of QoS;
或者,网络设备接收终端设备发送的会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中携带终端支持的QoS能力;网络设备向终端设备发送会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备 根据终端支持的QoS能力确定的。Or, the network device receives the session establishment request message sent by the terminal device, and the session establishment request message is used to request to establish a session, and the session establishment request message carries the QoS capabilities supported by the terminal; the network device sends a session establishment response message to the terminal device, and the session establishment response The message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
实施第八方面所描述的方法,网络设备接收终端设备发送的会话建立请求消息,当会话建立请求消息中携带终端设备支持的QoS能力时,网络设备根据终端设备支持的QoS能力确定上述会话的QoS信息,当会话建立请求消息中不携带终端设备支持的QoS能力时,则网络设备根据预设的QoS数量确定上述会话的QoS信息。网络设备向终端设备发送会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息。通过本发明实施例解决了会话建立过程中终端设备QoS能力不足导致的终端设备无法支持网络设备下发的QoS信息的问题,实现了不同QoS需求的终端设备的差异化处理,可以为QoS高需求的终端设备配置更多的QoS资源。Implementing the method described in the eighth aspect, the network device receives the session establishment request message sent by the terminal device, and when the session establishment request message carries the QoS capability supported by the terminal device, the network device determines the QoS of the session according to the QoS capability supported by the terminal device Information, when the session establishment request message does not carry the QoS capabilities supported by the terminal device, the network device determines the QoS information of the session according to the preset number of QoS. The network device sends a session establishment response message to the terminal device, and the session establishment response message carries the QoS information of the session. The embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements The terminal equipment is configured with more QoS resources.
在一个可能的设计中,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。In a possible design, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal, and when the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity At this time, the session establishment request message does not carry the QoS capabilities supported by the terminal.
在一个可能的设计中,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is The network device is determined according to the minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the QoS capability supported by the terminal device; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS of the above session The information is determined by the network device according to the preset QoS number, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
在一个可能的设计中,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。In a possible design, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is the network device according to the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device and The minimum value of the preset number of QoS is determined.
在一个可能的设计中,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。In a possible design, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the terminal device support The maximum number of packet filters in the QoS rules.
在一个可能的设计中,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。In a possible design, the above 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 contains one or more Packet filter.
在一个可能的设计中,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。In a possible design, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
在一个可能的设计中,网络设备为SMF,上述网络设备接收终端设备发送的会话建立请求消息,包括:网络设备通过AMF接收SMF发送的会话建立请求消息。In a possible design, the network device is SMF, and the network device receives the session establishment request message sent by the terminal device, including: the network device receives the session establishment request message sent by SMF through AMF.
在一个可能的设计中,网络设备为SMF,上述网络设备向终端设备发送会话建立响应消息,包括:网络设备通过AMF向终端设备发送会话建立响应消息。In a possible design, the network device is SMF, and the above network device sends a session establishment response message to the terminal device, including: the network device sends a session establishment response message to the terminal device through AMF.
在一个可能的设计中,网络设备为SMF,上述会话的QoS信息是SMF根据终端设备支持的QoS能力和终端设备对应的用户签约信息确定的,用户签约信息是SMF通过UDM中获取的。In a possible design, the network device is SMF, and the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device. The user subscription information is obtained by SMF through UDM.
第九方面,本发明实施例提供了一种终端设备,该终端设备可包括多个功能模块或单元,用于相应的执行第三方面所提供的会话管理方法。According to a ninth aspect, an embodiment of the present invention provides a terminal device. The terminal device may include a plurality of functional modules or units for correspondingly performing the session management method provided in the third aspect.
第十方面,本发明实施例提供了一种终端设备,该终端设备可包括多个功能模块或单元,用于相应的执行第七方面所提供的会话管理方法。According to a tenth aspect, an embodiment of the present invention provides a terminal device. The terminal device may include a plurality of functional modules or units for correspondingly performing the session management method provided in the seventh aspect.
第十一方面,本发明实施例提供了一种网络设备,该网络设备可包括多个功能模块或单 元,用于相应的执行第八方面所提供的会话管理方法。According to an eleventh aspect, an embodiment of the present invention provides a network device. The network device may include multiple function modules or units for correspondingly performing the session management method provided in the eighth aspect.
第十二方面,本发明提供了一种通信芯片,该通信芯片可包括:处理器,以及耦合于所述处理器的一个或多个接口。其中,所述处理器可用于从存储器中调用第三方面所提供的会话管理方法的实现程序,并执行该程序包含的指令。所述接口可用于输出所述处理器的数据处理结果。In a twelfth aspect, the present invention provides a communication chip. The communication chip may include: a processor, and one or more interfaces coupled to the processor. Wherein, the processor may be used 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 used to output the data processing result of the processor.
第十三方面,本发明提供了一种通信芯片,该通信芯片可包括:处理器,以及耦合于所述处理器的一个或多个接口。其中,所述处理器可用于从存储器中调用第七方面所提供的会话管理方法的实现程序,并执行该程序包含的指令。所述接口可用于输出所述处理器的数据处理结果。In a thirteenth aspect, the present invention provides a communication chip. The communication chip may include: a processor, and one or more interfaces coupled to the processor. Wherein, the processor may be used 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 used to output the data processing result of the processor.
第十四方面,本发明提供了一种通信芯片,该通信芯片可包括:处理器,以及耦合于所述处理器的一个或多个接口。其中,所述处理器可用于从存储器中调用第八方面所提供的会话管理方法的实现程序,并执行该程序包含的指令。所述接口可用于输出所述处理器的数据处理结果。According to a fourteenth aspect, the present invention provides a communication chip. The communication chip may include: a processor, and one or more interfaces coupled to the processor. Wherein, the processor may be used to call the implementation program of the session management method provided in the eighth aspect from the memory, and execute the instructions contained in the program. The interface may be used to output the data processing result of the processor.
第十五方面,本发明实施例提供了一种计算机可读存储介质,可读存储介质上存储有指令,当其在计算机上运行时,使得计算机执行上述第三方面描述的会话管理方法。According to a fifteenth aspect, an embodiment of the present invention provides a computer-readable storage medium having instructions stored thereon, which when run on a computer, causes the computer to execute the session management method described in the third aspect.
第十六方面,本发明实施例提供了一种计算机可读存储介质,可读存储介质上存储有指令,当其在计算机上运行时,使得计算机执行上述第八方面或第九方面描述的会话管理方法。According to a sixteenth aspect, an embodiment of the present invention provides a computer-readable storage medium having instructions stored on it, which when run on a computer, causes the computer to execute the session described in the eighth or ninth aspect Management methods.
第十七方面,本发明实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第三方面描述的会话管理方法。According to a seventeenth aspect, an embodiment of the present invention provides a computer program product containing instructions, which when executed on a computer, causes the computer to execute the session management method described in the third aspect above.
第十八方面,本发明实施例提供了一种包含指令的计算机程序产品,当其在计算机上运行时,使得计算机执行上述第八方面或第九方面描述的会话管理方法。In an eighteenth aspect, an embodiment of the present invention provides a computer program product containing instructions that, when run on a computer, cause the computer to execute the session management method described in the eighth aspect or the ninth aspect.
附图说明BRIEF DESCRIPTION
图1是本发明实施例涉及的一种通信系统的架构示意图;FIG. 1 is a schematic structural diagram of a communication system according to an embodiment of the present invention;
图2是本发明实施例提供的一种终端设备的结构示意图;2 is a schematic structural diagram of a terminal device according to an embodiment of the present invention;
图3是本发明实施例提供的一种网络设备设备的结构示意图;3 is a schematic structural diagram of a network device according to an embodiment of the present invention;
图4是本发明实施例提供的一种会话管理方法的流程示意图;4 is a schematic flowchart of a session management method provided by an embodiment of the present invention;
图5是本发明实施例提供的另一种会话管理方法的流程示意图;5 is a schematic flowchart of another session management method according to an embodiment of the present invention;
图6是本发明实施例提供的另一种会话管理方法的流程示意图;6 is a schematic flowchart of another session management method according to an embodiment of the present invention;
图7是本发明实施例提供的另一种会话管理方法的流程示意图;7 is a schematic flowchart of another session management method according to an embodiment of the present invention;
图8是本发明实施例提供的另一种会话管理方法的流程示意图;8 is a schematic flowchart of another session management method according to an embodiment of the present invention;
图9是本发明实施例提供的另一种会话管理方法的流程示意图;9 is a schematic flowchart of another session management method according to an embodiment of the present invention;
图10是本发明实施例提供的另一种终端设备的结构示意图;10 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
图11是本发明实施例提供的另一种终端设备的结构示意图;11 is a schematic structural diagram of another terminal device according to an embodiment of the present invention;
图12是本发明实施例提供的另一种网络设备设备的结构示意图;12 is a schematic structural diagram of another network device device provided by an embodiment of the present invention;
图13是本发明实施例提供的一种通信芯片的结构示意图。13 is a schematic structural diagram of a communication chip according to an embodiment of the present invention.
具体实施方式detailed description
本发明的实施方式部分使用的术语仅用于对本发明的具体实施例进行解释,而非旨在限定本发明。The terms used in the embodiment of the present invention are only used to explain specific examples of the present invention and are not intended to limit the present invention.
图1示出了本发明实施例涉及的一种通信系统100的网络架构。如图1所示,通信系统100可以包括:终端设备101、(R)接入网(accessnetwork,AN)设备102、用户面功能(user plane function,UPF)实体103、数据网(datanetwork,DN)设备104、AMF实体105、SMF实体106和UDM实体107。其中,UPF103、AMF105、SMF106和UDM107均为核心网实体。其中: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 (R) access network (AN) device 102, a user plane function (UPF) entity 103, and a data network (DN) Device 104, AMF entity 105, SMF entity 106 and UDM entity 107. Among them, UPF103, AMF105, SMF106 and UDM107 are all core network entities. among them:
终端设备101可以分布在整个通信系统100中,可以是静止的,也可以是移动的。在本发明的一些实施例中,终端设备101可以是移动设备、移动台(mobile station)、移动单元(mobile unit)、M2M终端、无线单元,远程单元、终端代理、移动客户端等等,本发明实施例对此并不限定。The terminal device 101 may be distributed throughout the 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, mobile station (mobile station), mobile unit (mobile unit), M2M terminal, wireless unit, remote unit, terminal agent, mobile client, etc. The embodiments of the invention are not limited thereto.
(R)AN 102可以为5G基站、NR基站等,终端设备101通过(R)AN 102可以接入通信系统100。(R)AN 102也可以为由多个(R)AN 102节点组成的网络,可以实现无线物理层功能、资源调度和无线资源管理等功能。(R)AN 102通过用户面接口N3和UPF 103相连,可以用于传送终端设备101的数据;AN通过控制面接口N2和AMF105建立控制面信令连接,可以用于实现无线接入承载控制等功能。(R) AN 102 may be a 5G base station, an NR base station, etc., and the terminal device 101 may access the communication system 100 through (R) AN 102. (R) AN 102 may also be a network composed of multiple (R) AN 102 nodes, which can implement functions such as wireless physical layer functions, resource scheduling, and wireless resource management. (R) AN 102 is connected to UPF 103 through user plane interface N3, which can be used to transmit data of terminal device 101; AN establishes a control plane signaling connection through control plane interface N2 and AMF 105, which can be used to implement wireless access bearer control, etc. Features.
UPF 103可以用于分组路由和转发、用户平面的QoS处理、上行链路流量验证、上行链路和下行链路中的传输级分组标记、下行数据包缓冲和下行数据通知触发等功能。UPF 103通过N4接口和SMF106相连,UPF103通过N6接口和DN104相连,UPF103是外部协议数据单元(protocol data unit,PDU)与数据网络互连的会话点。 UPF 103 can be used for packet routing and forwarding, user plane QoS processing, uplink traffic verification, transmission-level packet marking in uplink and downlink, downlink packet buffering, and downlink data notification trigger. UPF103 is connected to SMF106 through the N4 interface, and UPF103 is connected to the DN104 through the N6 interface. UPF103 is a conversation point where an external protocol data unit (protocol, data, unit, PDU) and data network are interconnected.
AMF 105可以用于终端设备101的认证、SMF 106选择、连接管理、可达性管理、流动性管理等功能。AMF 105通过接口N11和SMF 106相连,可以用于为终端设备101和SMF 106之间的SM消息提供传输。AMF105可以作为N1和N2信令连接的锚点,维护和管理终端设备101的状态信息。 AMF 105 can be used for terminal device 101 authentication, SMF 106 selection, connection management, reachability management, liquidity management and other functions. AMF 105 is connected to SMF 106 through interface N11 and can be used to provide transmission of SM messages between terminal device 101 and SMF 106. The AMF 105 can serve as an anchor point for N1 and N2 signaling connections, and maintain and manage the state information of the terminal device 101.
SMF 106通过N11接口和AMF 105相连,可以用于负责终端设备会话管理的所有控制面功能,包括UPF 103选择、网络协议(internet protocol,IP)地址分配、会话的QoS属性管理等。SMF 106通过接口N4和UPF103连接,可以控制上行链路分类器的插入和移除,还可以控制支持分支点的UPF 103的插入和移除。 SMF 106 is connected to AMF 105 through the N11 interface, and can be used for all control plane functions responsible for terminal device session management, including UPF 103 selection, network protocol (internet protocol, IP) address allocation, and session QoS attribute management. SMF 106 is connected to UPF 103 through interface N4, which can control the insertion and removal of uplink classifiers, and can also control the insertion and removal of UPF 103 that supports branch points.
UDM107用于用户识别处理、支持服务/会话连续性和用户管理等功能。UDM107可以用于存储终端设备对应的用户签约信息。UDM107通过接口N8和AMF 105相连,UDM107通过接口N10和SMF 106相连,AMF 105和SMF 106可以从UDM 107获取上述用户签约信息。UDM107 is used for user identification processing, supporting service/session continuity and user management. UDM107 can be used to store user subscription information corresponding to terminal devices. UDM107 is connected to AMF 105 through interface N8, and UDM107 is connected to SMF 106 through interface N10. AMF 105 and SMF 106 can obtain the above user subscription information from UDM 107.
需要说明的是,图1所示的各个实体在物理上可以是单个的设备,也可以是两个或者两个以上的实体集成在同一个物理设备上,本发明实施例对此并不限定。It should be noted that each entity shown in FIG. 1 may be a single device physically, or two or more entities are integrated on the same physical device, which is not limited in this embodiment of the present invention.
本发明实施例中,通信系统100可以是5G通信系统、NR系统或未来演进的通信系统等。In the embodiment of the present invention, the communication system 100 may be a 5G communication system, an NR system, or a future evolution communication system.
本发明实施例中,核心网实体也可以称为核心网设备或网络设备。In the embodiment of the present invention, the core network entity may also be referred to as a core network device or a network device.
图1所示的通信系统100的网络架构是QoS流架构的一种可能的实现形式。基于通信系统100,终端设备100可以与核心网之间建立一个或多个会话,QoS流是在上述会话中实现QoS区分的最小粒度。The network architecture of the communication system 100 shown in FIG. 1 is a 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 minimum granularity for realizing QoS differentiation in the above sessions.
上述会话可以是PDU会话,上述PDU会话可以是终端设备与数据网络之间建立的连接,该连接可以用于提供PDU连接服务,上述连接的类型可以是IP协议、以太网或其他类型。The above-mentioned session may be a PDU session. The above-mentioned PDU session may be a connection established between a terminal device and a data network. The connection may be used to provide PDU connection services. The type of the connection may be IP protocol, Ethernet, or other types.
为便于理解,下面对本发明实施例涉及的技术名词进行介绍说明。For ease of understanding, the following describes technical terms involved in the embodiments of the present invention.
QoS流:QoS流是PDU会话中最精细的QoS区分粒度。QoS流标识符(qos flow identifier, QFI)用于识别5G系统中的QoS流,PDU会话中具有相同QFI的用户平面数据会获得相同的转发处理(如相同的调度、相同的准入门限等),QFI在一个PDU会话内要唯一,也就是说一个PDU会话可以有多条(最多64条)QoS流,但每条QoS流的QFI都是不同的。在5G系统中,QoS流可以是SMF预配置的或通过PDU会话建立/修改流程来建立的。QoS flow: QoS flow is the finest granularity of QoS differentiation in PDU session. The QoS flow identifier (qos) identifier is used to identify the QoS flow in the 5G system. The user plane data with the same QFI in the PDU session will get the same forwarding processing (such as the same scheduling, the same access limit, etc.) QFI should be unique within a PDU session, which means that a PDU session can have multiple (up to 64) QoS flows, but the QFI of each QoS flow is different. In the 5G system, the QoS flow may be pre-configured by SMF or established through the PDU session establishment/modification process.
QoS流包括保证比特率(guaranteed bit rate,GBR)QoS流和非GBR QoS流,一个QoS流是“GBR”还是“Non-GBR”取决于它的QoS配置。一个QoS流的QoS配置包含的QoS参数如下:每条QoS流的QoS配置都会包含的QoS参数为5G Qos标识符(5G Qos identifier,5QI)以及分配和保留优先级(allocation and retention priority,ARP);每条非GBR QoS流的QoS配置可能还会包含的参数为反射Qos属性(reflective Qos attribute,RQA);每条GBR QoS流的QoS配置还会包含的参数为保证流比特率(guaranteed flow bit rate,GFBR)和最大流比特率(maximum flow bit rate,MFBR);每条GBR QoS流的QoS配置可能还会包含的参数为指示控制和最大丢包率;每条QoS流配置有一个与之对应的QFI。QoS flow includes guaranteed bit rate (guaranteed bit rate, GBR) QoS flow and non-GBR QoS flow. Whether a QoS flow is "GBR" or "Non-GBR" depends on its QoS configuration. The QoS configuration of a QoS flow includes the following QoS parameters: The QoS configuration of each QoS flow includes the QoS parameters of 5G Qos identifier (5G Qos identifier, 5QI) and allocation and retention priority (allocation and retention priority, ARP) ; The QoS configuration of each non-GBR QoS flow may also include the reflected Qos attribute (reflective Qos attribute, RQA); the QoS configuration of each GBR QoS flow also includes the parameter of the guaranteed flow bit rate (guaranteed flow bit rate, GFBR) and maximum flow bit rate (maximum flow bit rate, MFBR); the QoS configuration of each GBR QoS flow may also contain parameters for indication control and maximum packet loss rate; each QoS flow configuration has a Corresponding QFI.
QoS规则:QoS规则用于执行上行用户面数据业务的分类和标记,终端设备根据QoS规则将上行数据关联到对应的QoS流。这些QoS规则可以是网络侧提供给终端设备的(即在PDU会话建立/修改流程中通过信令配置给终端设备)、在终端设备上预配置的或者终端设备使用反射QoS机制隐式推导出来。QoS rules: QoS rules are used to perform classification and marking of upstream user plane data services, and terminal devices associate upstream data to corresponding QoS flows according to QoS rules. These QoS rules may be provided to the terminal device by the network side (that is, configured to the terminal device through signaling in the PDU session establishment/modification process), pre-configured on the terminal device, or implicitly derived by the terminal device using the reflective QoS mechanism.
一个QoS规则可以包含:关联的QoS流的QFI、包过滤器集(Packet Filter Set)、优先级。一或多个QoS规则可以关联同一个QoS流。网络侧提供给终端设备的QoS规则包含QoS规则标识符,该标识符在PDU会话中是唯一的并且由SMF生成。A QoS rule may include: QFI of the associated QoS flow, Packet Filter Set, and priority. One or more QoS rules can be associated with the same QoS flow. The QoS rules provided by the network side to the terminal device include a QoS rule identifier, which is unique in the PDU session and generated by the SMF.
每个PDU会话都要配置一个默认的QoS规则,默认的QoS规则关联到一条QoS流上。对于IP类型或以太网类型的PDU会话,默认QoS规则是在PDU会话中唯一的一个包过滤集可以包含允许所有上行数据包通过的包过滤器的QoS规则。对于非结构化(Unstructured)类型的PDU会话,默认QoS规则不包含任何包过滤器集,默认QoS规则定义PDU会话内的所有数据包的处理方式。Each PDU session must be 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 that the only packet filtering set in a PDU session can contain QoS rules that allow all upstream packets to pass through the packet filter. For unstructured (Unstructured) PDU sessions, the default QoS rules do not contain any packet filter sets, and the default QoS rules define how all data packets in the PDU session are handled.
包过滤器:终端设备侧的QoS规则的包过滤器集是用于标识数据流的,一个包过滤器集可以包含多个包过滤器,每个包过滤器可以是下行或上行或双向的,每个包过滤器对应一个包过滤器标识符。Packet filter: The packet filter set of QoS rules on the terminal device side is used to identify the data flow. A packet filter set can contain multiple packet filters, and each packet filter can be downstream or upstream or bidirectional. Each packet filter corresponds to a packet filter identifier.
参考图2,图2示出了本发明实施例提供的终端设备200。如图2所示,终端设备200可包括:一个或多个终端设备处理器201、存储器202、通信接口203、接收器205、发射器206、耦合器207、天线208、终端设备接口209。这些部件可通过总线204或者其他方式连接,图2以通过总线连接为例。其中:Referring to FIG. 2, FIG. 2 shows a terminal device 200 provided by 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, and terminal device interface 209. These components may be connected through the bus 204 or other means. FIG. 2 takes the connection through the bus as an example. among them:
通信接口203可用于终端设备200与其他通信设备,例如网络设备,进行通信。具体的,网络设备可以是图3所示的网络设备200。具体的,通信接口203可以是5G通信接口,也可以是未来新空口的通信接口。不限于无线通信接口,终端设备200还可以配置有有线的通信接口203,例如局域接入网(local access network,LAN)接口。发射器206可用于对终端设备处理器201输出的信号进行发射处理。接收器205可用于对天线208接收的移动通信信号进行接收处理。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 a communication interface of a new air interface in the future. 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. The transmitter 206 may be used to transmit the signal output by the terminal device processor 201. The receiver 205 can be used for receiving and processing the mobile communication signal received by the antenna 208.
在本发明的一些实施例中,发射器206和接收器205可看作一个无线调制解调器。在终端设备200中,发射器206和接收器205的数量均可以是一个或者多个。天线208可用于将传输线中的电磁能转换成自由空间中的电磁波,或者将自由空间中的电磁波转换成传输线中 的电磁能。耦合器207用于将天线208接收到的移动通信信号分成多路,分配给多个的接收器205。In some embodiments of the present invention, the transmitter 206 and the receiver 205 may be regarded as a wireless modem. In the terminal device 200, the number of the transmitter 206 and the receiver 205 may be one or more. The antenna 208 may be used to convert electromagnetic energy in the transmission line into electromagnetic waves in free space, or convert electromagnetic waves in free space into electromagnetic energy in transmission lines. The coupler 207 is used to divide the mobile communication signal received by the antenna 208 into multiple channels and distribute it to multiple receivers 205.
除了图2所示的发射器206和接收器205,终端设备200还可包括其他通信部件,例如GPS模块、蓝牙(bluetooth)模块、无线高保真(wireless fidelity,Wi-Fi)模块等。不限于无线通信,终端设备200还可以配置有线网络接口(如LAN接口)来支持有线通信。In addition to the transmitter 206 and the receiver 205 shown in FIG. 2, the terminal device 200 may further include other communication components, such as a GPS module, a Bluetooth module, a wireless fidelity (Wi-Fi) module, and so on. 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.
终端设备200还可包括输入输出模块。输入输出模块可用于实现终端设备200和终端设备/外部环境之间的交互,可主要包括音频输入输出模块、按键输入模块以及显示器等。具体的,输入输出模块还可包括:摄像头、触摸屏以及传感器等等。其中,输入输出模块均通过终端设备接口209与终端设备处理器201进行通信。The terminal device 200 may further include an input and output module. The input and output module can be used to implement the interaction between the terminal device 200 and the terminal device/external environment, and can mainly include an audio input and output module, a key input module, and a display. Specifically, the input and output module may further include: a camera, a touch screen, a sensor, and so on. The input and output modules communicate with the terminal device processor 201 through the terminal device interface 209.
存储器202与终端设备处理器201耦合,用于存储各种软件程序和/或多组指令。具体的,存储器202可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器202可以存储操作系统(下述简称系统),例如ANDROID,IOS,WINDOWS,或者LINUX等嵌入式操作系统。存储器202还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个网络设备进行通信。The memory 202 is coupled to the terminal device processor 201 and is used to store various software programs and/or multiple sets of instructions. Specifically, the memory 202 may include a high-speed random access memory, and may also include a 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 as a system), such as an embedded operating system such as ANDROID, IOS, WINDOWS, or LINUX. The memory 202 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminal devices, and one or more network devices.
在本发明的一些实施例中,存储器202可用于存储本发明的一个或多个实施例提供的会话管理方法在终端设备200侧的实现程序。关于本发明的一个或多个实施例提供的会话管理方法的实现,请参考后续实施例。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. For the implementation of the session management method provided by one or more embodiments of the present invention, please refer to the subsequent embodiments.
终端设备处理器201可用于读取和执行计算机可读指令。具体的,终端设备处理器201可用于调用存储于存储器202中的程序,例如本发明的一个或多个实施例提供的会话管理方法在终端设备200侧的实现程序,并执行该程序包含的指令。The terminal device processor 201 may be used to read and execute computer-readable instructions. Specifically, the terminal device processor 201 may be used to call a program stored in the memory 202, for example, an implementation program of the session management method provided by one or more embodiments of the present invention on the terminal device 200 side, and execute the instructions contained in the program .
可以理解的,终端设备200可以是图1示出的通信系统100中的终端设备101,可实施为移动设备,移动台(mobile station),移动单元(mobile unit),无线单元,远程单元,终端设备代理,移动客户端等等。It can be 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 agents, mobile clients, etc.
需要说明的,图2所示的终端设备200仅仅是本发明实施例的一种实现方式,实际应用中,终端设备200还可以包括更多或更少的部件,这里不作限制。It should be noted that the terminal device 200 shown in FIG. 2 is only an implementation manner of the embodiment of the present invention. In actual applications, the terminal device 200 may further include more or fewer components, which is not limited herein.
参考图3,图3示出了本发明实施例提供的网络设备300。如图3所示,网络设备300可包括:一个或多个网络设备处理器301、存储器302、通信接口303。这些部件可通过总线304或者其他式连接,图3以通过总线连接为例。其中:Referring to FIG. 3, FIG. 3 shows a network device 300 provided by an embodiment of the present invention. As shown in FIG. 3, the network device 300 may include: one or more network device processors 301, a memory 302, and a communication interface 303. These components may be connected through the bus 304 or other types. FIG. 3 takes the connection through the bus as an example. among them:
通信接口303可用于网络设备300与其他通信设备,例如终端设备或其他网络设备,进行通信。具体的,通信接口303可以是5G通信接口,也可以是未来新空口的通信接口。不限于无线通信接口,网络设备300还可以配置有有线的通信接口303来支持有线通信,例如一个网络设备300与其他网络设备300之间的回程链接可以是有线通信连接。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 a communication interface of a new air interface in the future. Not limited to the wireless communication interface, the network device 300 may also be configured with a wired communication interface 303 to support wired communication. For example, the backhaul link between one network device 300 and other network devices 300 may be a wired communication connection.
存储器302与网络设备处理器301耦合,用于存储各种软件程序和/或多组指令。具体的,存储器302可包括高速随机存取的存储器,并且也可包括非易失性存储器,例如一个或多个磁盘存储设备、闪存设备或其他非易失性固态存储设备。存储器302可以存储操作系统(下述简称系统),例如uCOS、VxWorks、RTLinux等嵌入式操作系统。存储器302还可以存储网络通信程序,该网络通信程序可用于与一个或多个附加设备,一个或多个终端设备,一个或多个网络设备进行通信。The memory 302 is coupled to the network device processor 301 and is used to store various software programs and/or multiple sets of instructions. Specifically, the memory 302 may include a high-speed random access memory, and may also include a 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 embedded operating systems such as uCOS, VxWorks, and RTLinux. The memory 302 may also store a network communication program, which may be used to communicate with one or more additional devices, one or more terminal devices, and one or more network devices.
本发明实施例中,网络设备处理器301可用于读取和执行计算机可读指令。具体的,网 络设备处理器301可用于调用存储于存储器302中的程序,例如本发明的一个或多个实施例提供的会话管理方法在网络设备300侧的实现程序,并执行该程序包含的指令。In the embodiment of the present invention, the network device processor 301 may be used to read and execute computer-readable instructions. Specifically, the network device processor 301 may be used to call a program stored in the memory 302, for example, an implementation program of the session management method provided by one or more embodiments of the present invention on the network device 300 side, and execute instructions contained in the program .
可以理解的,网络设备300可以是图1示出的通信系统100中的核心网实体,例如UPF 103、AMF 105、SMF 106或UDM 107。It can be understood that the network device 300 may be a core network entity in the communication system 100 shown in FIG. 1, such as UPF 103, AMF 105, SMF 106, or UDM 107.
需要说明的,图3所示的网络设备300仅仅是本发明实施例的一种实现方式,实际应用中,网络设备300还可以包括更多或更少的部件,这里不作限制。It should be noted that the network device 300 shown in FIG. 3 is only an implementation manner of the embodiment of the present invention. In practical applications, the network device 300 may further include more or fewer components, which is not limited herein.
在会话建立阶段中,针对网络下发的会话建立响应消息中携带的Qos流、Qos规则和/或Qos规则中的包过滤器的数量大于终端设备支持的最大数量这一情况,5G协议没有定义终端设备该如何处理这种异常。由于协议没有定义这种异常的处理方法,终端厂商通常利用以下方法进行处理。方法一:终端设备不执行会话建立,即终端设备选择释放网络下发的新增Qos流、Qos规则和/或Qos规则中的包过滤器。方法二:终端设备选择按照自身支持的能力建立会话,即终端设备按照自身支持的能力保留网络下发的Qos流、Qos规则和/或Qos规则中的包过滤器中的部分信息。针对方法一,由于会话建立是终端设备侧应用程序(application,APP)业务触发的,终端设备不执行会话建立会影响正常业务执行;此外,由于上层APP业务没有建立,APP业务将再次触发会话建立,网络再次下发的Qos资源可能依旧超出终端能够支持的Qos资源,因此,该方法会影响数据业务的正常进行,并且还会带来额外的功耗和信令交互。针对方法二,终端仅保留部分Qos资源,但由于在会话建立流程中没有通知网络侧会话建立异常,该方法会导致终端设备与网络侧两端的会话上下文信息不一致,最终影响数据业务,上述会话上下文信息包括Qos流和/或Qos规则。In the session establishment phase, the number of packet filters in the Qos flow, Qos rules, and/or Qos rules carried in the session establishment response message delivered by the network is greater than the maximum number supported by the terminal device. The 5G protocol does not define How should the terminal equipment deal with such anomalies. Since the protocol does not define the method for handling such anomalies, terminal manufacturers usually use the following methods for handling. Method 1: The terminal device does not perform 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 delivered by the network. Method 2: The terminal device chooses to establish a session according to the capabilities supported by the terminal device, that is, the terminal device retains part of the information in the Qos flow, Qos rules, and/or packet filters in the Qos rules delivered by the network according to the capabilities supported by the terminal device. For the first method, since the session establishment is triggered by the application (APP) service on the terminal device side, the non-execution of the terminal device will affect the normal service execution; in addition, because the upper-layer APP service is not established, the APP service will trigger the session establishment again The Qos resources delivered by the network may still exceed the Qos resources that the terminal can support. Therefore, this method will affect the normal operation of the data service, and will also bring additional power consumption and signaling interaction. For method two, the terminal only retains part of the Qos resources, but since the network establishment session is not notified of abnormal session establishment during the session establishment process, this method will lead to inconsistent session context information between the terminal device and the network side, which will ultimately affect data services. The information includes Qos flow and/or Qos rules.
因而,如何在保障终端设备与网络侧两端的会话上下文信息一致,以及数据业务的正常进行的前提下解决上述异常,还是有待解决的问题。Therefore, there is still a problem to be solved on how to resolve the above exceptions on the premise of ensuring that the session context information at both ends of the terminal device and the network side is consistent and the data service is normally performed.
为解决上述问题,本发明实施例还提供了一种会话管理方法。图4是本发明实施例提供的会话管理方法的示意性流程图。如图4所示,本发明实施例提供的会话管理方法包括但不限于步骤S401至S403。下面对该方法实施例的可能实现方式做进一步的描述。In order to solve the above problems, an embodiment of the present invention also provides a session management method. 4 is a schematic flowchart of a session management method provided by an embodiment of the present invention. As shown in FIG. 4, the session management method provided by the embodiment of the present invention includes but is not limited to steps S401 to S403. The possible implementation of the method embodiment is further described below.
S401:终端设备向网络设备发送会话建立请求消息,网络设备接收终端设备发送的会话建立请求消息,上述会话建立请求消息用于请求建立会话。S401: The terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device. The session establishment request message is used to request the establishment of a session.
S402:网络设备向终端设备发送会话建立响应消息,终端设备接收网络设备发送的会话建立响应消息,上述会话建立响应消息中携带会话的QoS信息。S402: The network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device. The session establishment response message carries session QoS information.
可选的,QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,所述一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, and each of the one or more QoS rules includes one or more packet filters Device.
可选的,终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。Optionally, the QoS capabilities supported by the terminal device include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the maximum packet filter in the QoS rules supported by the terminal device Quantity.
S403:当上述会话的QoS信息超出终端设备支持的QoS能力时,终端设备根据终端设备的QoS支持能力保留上述会话的QoS信息中的部分QoS信息。S403: When the QoS information of the session exceeds the QoS capability supported by the terminal device, the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device.
可选的,上述会话的QoS信息超出终端的支持能力,包括以下一种或多种情况:上述会话的QoS信息中的QoS流的数量大于终端设备支持的QoS流的最大数量;上述会话的QoS信息中的QoS规则的数量大于终端设备支持的QoS规则的最大数量;上述会话的QoS信息中的包过滤器的数量大于终端设备支持的包过滤器的最大数量。Optionally, the QoS information of the session exceeds the support capability of the terminal, including one or more of the following cases: the number of QoS flows in the QoS information of the session is greater than the maximum number of QoS flows supported by the terminal device; the QoS of the session The number of QoS rules in the information is greater than the maximum number of QoS rules supported by the terminal device; the number of packet filters in the QoS information of the above session is greater than the maximum number of packet filters supported by the terminal device.
可选的,保留上述会话的QoS信息中的部分QoS信息的策略包括以下策略1至策略3 中的一个或多个:Optionally, the strategies for retaining part of the QoS information in the QoS information of the above-mentioned session include one or more of the following strategies 1 to 3:
策略1:保留默认QoS规则和默认QoS规则对应的QoS流;Strategy 1: Keep the default QoS rules and the QoS flow corresponding to the default QoS rules;
策略2:优先保留GBR QoS流、GBR QoS流关联的QoS规则(简称为GBR Qos规则)和/或GBR QoS流关联的QoS规则包含的包过滤器(简称为GBR包过滤器);Strategy 2: Prioritize the retention of GBR QoS flow, GBR QoS flow associated QoS rules (referred to as GBR Qos rules) and/or GBR QoS flow associated QoS rules contained in packet filters (referred to as GBR packet filters);
策略3:优先保留优先级高的QoS流、优先级高的QoS规则和/或优先级高的所QoS规则包含的包过滤器。Strategy 3: Prioritize the retention of high priority QoS flows, high priority QoS rules and/or packet filters contained in high priority QoS rules.
本发明实施例中,若保留上述会话的QoS信息中的部分QoS信息的策略包括策略1至策略3中的多个策略,则对这多个策略的执行顺序不作限定。In the embodiment of the present invention, if the strategy for retaining part of the QoS information in the QoS information of the session includes multiple strategies in strategy 1 to strategy 3, the execution order of the multiple strategies is not limited.
可选的,情况一:保留上述会话的QoS信息中的部分QoS信息的策略包括策略1至策略3,策略1至策略3的执行顺序为策略1、策略2和策略3。将网络设备发送的会话建立响应消息中携带的QoS信息称为第一QoS信息,第一QoS信息中包含QoS流和QoS规则,QoS规则中包含包过滤器。终端设备根据终端设备的QoS支持能力保留第一QoS信息中的部分QoS信息,可以包括以下步骤:Optionally, case 1: the strategy for retaining part of the QoS information in the QoS information of the session includes strategy 1 to strategy 3, and the execution order of strategy 1 to strategy 3 is strategy 1, strategy 2, and strategy 3. The QoS information carried in the session establishment response message sent by the network device is called first QoS information, and the first QoS information includes QoS flow and QoS rules, and the QoS rules include packet filters. The terminal device reserves part of the QoS information in the first QoS information according to the QoS support capability of the terminal device, and may include the following steps:
步骤一:若第一QoS信息中包括默认QoS规则,则保留默认QoS规则、默认QoS规则中的包过滤器和默认QoS规则对应的QoS流。设默认QoS规则关联的QoS流、默认QoS规则和默认QoS规则中的包过滤器的数量分别为A1、B1和C1。若满足第一条件,则执行步骤二,第一条件为以下条件之一或组合:A1小于终端设备支持的QoS流的最大数量;B1小于终端设备支持的QoS规则的最大数量;C1小于终端设备支持的包过滤器的最大数量。Step 1: If the first QoS information includes the default QoS rule, the default QoS rule, the packet filter in the default QoS rule, and the QoS flow corresponding to the default QoS rule are retained. 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 met, step two is performed, and 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 device; B1 is less than the maximum number of QoS rules supported by the terminal device; C1 is less than the terminal device The maximum number of packet filters supported.
步骤二:将步骤一之后第一QoS信息中尚未保留的QoS信息称为第二QoS信息。在第二QoS信息中优先保留GBR QoS流、GBR QoS规则和GBR包过滤器。步骤一和步骤二累计保留的QoS流、QoS规则和包过滤器的数量分别为A2、B2和C2。若满足第二条件,则执行步骤三,第二条件为以下条件之一或组合:A2小于终端设备支持的QoS流的最大数量;B2小于终端设备支持的QoS规则的最大数量;C2小于终端设备支持的包过滤器的最大数量。Step 2: QoS information that has not been retained in the first QoS information after step 1 is called second QoS information. In the second QoS information, GBR QoS flows, GBR QoS rules, and GBR packet filters are preferentially reserved. The cumulative number of reserved QoS flows, QoS rules and packet filters in steps 1 and 2 are A2, B2 and C2, respectively. If the second condition is met, step 3 is performed, and 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 device; B2 is less than the maximum number of QoS rules supported by the terminal device; C2 is less than the terminal device The maximum number of packet filters supported.
可选的,若第二QoS信息中GBR QoS流的数量小于等于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1、第二QoS信息中GBR包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1,则终端设备执行步骤三。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, 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 terminal device performs step three.
可选的,若第二QoS信息中GBR QoS流的数量小于等于终端设备支持的QoS流的最大数量减A1,第二QoS信息中GBRQoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1、第二QoS信息中GBR包过滤器的数量大于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中依据包过滤器保留规则保留部分GBR包过滤器,第二QoS信息中保留的包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1。若满足第二条件,则终端设备执行步骤三。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 B1, 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 part of the GBR packet filters are retained in the second QoS information according to the packet filter retention rules, the second QoS The number of packet filters retained in the message is less than or equal to the maximum number of packet filters supported by the terminal device minus C1. If the second condition is satisfied, the terminal device performs step three.
可选的,包过滤器保留规则是:每个QoS规则至少保留一个包过滤器,在此基础在多个QoS规则包含的包过滤器中随机保留包过滤器。Optionally, the packet filter retention rule is: each QoS rule reserves at least one packet filter, and based on this, the packet filter is randomly retained among the packet filters included in the multiple QoS rules.
可选的,包过滤器保留规则是:每个QoS规则至少保留一个包过滤器,优先级高的QoS规则包含的包过滤器的优先级高于优先级低的QoS规则包含的包过滤器。在此基础在多个QoS规则包含的包过滤器中优先保留优先级高的包过滤器。Optionally, the packet filter retention rules are: each QoS rule reserves at least one packet filter, and the QoS rules with high priority contain packet filters with higher priority than those with QoS rules with low priority. On this basis, among the packet filters included in multiple QoS rules, the packet filters with higher priority are reserved first.
可选的,若第二QoS信息中GBR QoS流的数量小于等于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量大于终端设备支持的QoS规则的最大数量 减B1、第二QoS信息中GBR QoS规则中的包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中保留优先级高的GBR QoS规则,第二QoS信息中保留的QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1。若满足第二条件,则终端设备执行步骤三。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 B1. The number of packet filters in the GBR QoS rule 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 the high priority GBR QoS rule is retained in the second QoS information. The second The number of QoS rules retained in the QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the second condition is satisfied, the terminal device performs step three.
可选的,若第二QoS信息中GBR QoS流的数量小于等于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量大于终端设备支持的QoS规则的最大数量减B1、第二QoS信息中GBR包过滤器的数量大于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中保留优先级高的GBR QoS规则,上述GBR QoS规则中保留的QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1。若第二QoS信息中已保留的GBR QoS规则中包含的包过滤器的数量大于终端设备支持的包过滤器的最大数量减C1,则在上述已保留的GBR QoS规则包含的包过滤器中依据包过滤器保留规则保留部分GBR包过滤器,第二QoS信息中保留的GBR包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1。若满足第二条件,则终端设备执行步骤三。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 B1. 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, and the high-priority GBR QoS rules are retained in the second QoS information. The above-mentioned GBR QoS rules retain The number of 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, the basis is included in the packet filters included in the reserved GBR QoS rule The packet filter retention rule retains some GBR packet filters, and the number of GBR packet filters retained in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1. If the second condition is satisfied, the terminal device performs step three.
可选的,若第二QoS信息中GBR QoS流的数量大于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1、第二QoS信息中GBR包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中保留优先级高的QoS流以及该QoS流关联的GBR QoS规则,第二QoS信息中保留的QoS流的数量小于等于终端设备支持的QoS规则的最大数量减B1。若满足第二条件,则终端设备执行步骤三。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, 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 associated with the QoS flow are retained in the second QoS information Rules, 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 second condition is satisfied, the terminal device performs step three.
可选的,若第二QoS信息中GBR QoS流的数量大于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1、第二QoS信息中GBR包过滤器的数量大于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中保留优先级高的QoS流以及该QoS流关联的GBR QoS规则,第二QoS信息中保留的GBR QoS流的数量小于等于终端设备支持的QoS规则的最大数量减B1。若上述保留的GBR QoS流关联的QoS规则包含的GBR包过滤器的数量依旧大于终端设备支持的包过滤器的最大数量减C1,则在上述保留的GBR QoS流关联的QoS规则包含的GBR包过滤器中依据包过滤器保留规则保留部分包过滤器,第二QoS信息中保留的GBR包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1。若满足第二条件,则终端设备执行步骤三。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. 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 rules associated with the QoS flow are retained in the second QoS information , The number of reserved GBR QoS flows 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 the maximum number of packet filters supported by the terminal device minus C1, the GBR packets included in the QoS rules associated with the reserved GBR QoS flow Part of the packet filter is retained in the filter according to the packet filter retention rule, and the number of GBR packet filters retained in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1. If the second condition is satisfied, the terminal device performs step three.
可选的,若第二QoS信息中GBR QoS流的数量大于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量大于终端设备支持的QoS规则的最大数量减B1、第二QoS信息中GBR包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中保留优先级高的QoS流以及该QoS流关联的GBR QoS规则,第二QoS信息中保留的GBR QoS流的数量小于等于终端设备支持的QoS规则的最大数量减B1。若上述保留的GBR QoS流关联的QoS规则的数量依旧大于终端设备支持的QoS规则的最大数量减B1,则在上述保留的GBR QoS流关联的QoS规则中保留优先级高的QoS规则,第二QoS信息中保留的GBR QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1。若满足第二条件,则终端设备执行步骤三。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 2. 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 rules associated with the QoS flow are retained in the second QoS information , The number of reserved GBR QoS flows 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 QoS rules associated with the reserved GBR QoS flow is still greater than the maximum number of QoS rules supported by the terminal device minus B1, the QoS rules with high priority are retained in the QoS rules associated with the reserved GBR QoS flow, second The number of GBR QoS rules retained in the QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B1. If the second condition is satisfied, the terminal device performs step three.
可选的,若第二QoS信息中GBR QoS流的数量大于终端设备支持的QoS流的最大数量减A1、第二QoS信息中GBR QoS规则的数量大于终端设备支持的QoS规则的最大数量减 B1、第二QoS信息中GBR包过滤器的数量大于终端设备支持的包过滤器的最大数量减C1,则在第二QoS信息中保留优先级高的QoS流以及该QoS流关联的GBR QoS规则,上述第二QoS信息中保留的QoS流的数量小于等于终端设备支持的QoS规则的最大数量减B1。若上述保留的GBR QoS流关联的QoS规则的数量依旧大于终端设备支持的QoS规则的最大数量减B1,则在上述保留的GBR QoS流关联的QoS规则中保留优先级高的QoS规则,第二QoS信息中保留的GBR QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B1。若上述保留的GBR QoS规则包含的GBR包过滤器的数量依旧大于终端设备支持的包过滤器的最大数量减C1,则在上述保留的GBR QoS规则包含的GBR包过滤器中依据包过滤器保留规则保留部分包过滤器,第二QoS信息中保留的GBR包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C1。若满足第二条件,则终端设备执行步骤三。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 2. 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, and the high-priority QoS flow and the GBR QoS rules associated with the QoS flow are retained in the second QoS information. 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 QoS rules associated with the reserved GBR QoS flow is still greater than the maximum number of QoS rules supported by the terminal device minus B1, the QoS rules with high priority are retained in the QoS rules associated with the reserved GBR QoS flow, second The number of GBR QoS rules retained in the 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 above reserved GBR QoS rules is still greater than the maximum number of packet filters supported by the terminal device minus C1, then the GBR packet filters included in the above reserved GBR QoS rules are reserved based on the packet filters The rule retains some packet filters, and the number of GBR packet filters retained in the second QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C1. If the second condition is satisfied, the terminal device performs step three.
步骤三:将步骤二之后第二QoS信息中尚未保留的QoS信息称为第三QoS信息。在第三QoS信息中优先保留优先级高的QoS流、优先级高的QoS规则和优先级高的包过滤器。Step 3: QoS information that has not been retained in the second QoS information after step 2 is called third QoS information. In the third QoS information, a QoS flow with a high priority, a QoS rule with a high priority, and a packet filter with a high priority are retained in priority.
可选的,若A2等于终端设备支持的QoS流的最大数量、B2等于终端设备支持的QoS规则的最大数量、C2小于终端设备支持的包过滤器的最大数量,则依据包过滤器保留规则保留部分包过滤器,第三QoS信息保留的包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减C2。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, then the packet filter reservation rule is reserved For some packet filters, the number of packet filters reserved in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
可选的,若A2等于终端设备支持的QoS流的最大数量、B2小于终端设备支持的QoS规则的最大数量、C2小于终端设备支持的包过滤器的最大数量,则优先保留第三QoS信息中优先级高的QoS规则,第三QoS信息保留的QoS规则的数量小于等于终端设备支持的包过滤器的最大数量减B2。若第三QoS信息中保留的QoS规则包含的包过滤器的数量依旧大于终端设备支持的包过滤器的最大数量,则在上述保留的QoS规则包含的包过滤器中依据包过滤器保留规则保留部分包过滤器,第三QoS信息保留的包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减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 third QoS information is preferentially retained For QoS rules with high priority, the number of QoS rules retained in 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 reserved QoS rules in the third QoS information is still greater than the maximum number of packet filters supported by the terminal device, the packet filters included in the reserved QoS rules are reserved according to the packet filter retention rules For some packet filters, the number of packet filters reserved in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
可选的,若A2小于终端设备支持的QoS流的最大数量、B2等于终端设备支持的QoS规则的最大数量、C2小于终端设备支持的包过滤器的最大数量,则优先保留第三QoS信息中优先级高的QoS流以及该QoS流关联的QoS规则,第三QoS信息保留的QoS流的数量小于等于终端设备支持的QoS流的最大数量减A2。若上述保留的QoS流关联的QoS规则包含的包过滤器的数量依旧大于终端设备支持的包过滤器的最大数量,则在上述保留的QoS流关联的QoS规则包含的包过滤器中依据包过滤器保留规则保留部分包过滤器,第三QoS信息保留的包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减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 third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2. 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, then the packet filters included in the QoS rules associated with the reserved QoS flow are filtered based on packets The reserved rule of the filter retains part of the packet filters, and the number of the reserved packet filters of the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
可选的,若A2小于终端设备支持的QoS流的最大数量、B2小于终端设备支持的QoS规则的最大数量、C2小于终端设备支持的包过滤器的最大数量,则优先保留第三QoS信息中优先级高的QoS流以及该QoS流关联的QoS规则,第三QoS信息保留的QoS流的数量小于等于终端设备支持的QoS流的最大数量减A2。若第三QoS信息中保留的QoS流关联的QoS规则的数量依旧小于终端设备支持的QoS规则的最大数量,则优先保留第三QoS信息中保留的QoS流关联的QoS规则中优先级高的QoS规则,第三QoS信息保留的QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B2。若第三QoS信息中保留的QoS规则包含的包过滤器的数量依旧大于终端设备支持的包过滤器的最大数量,则在上述保留的QoS规则包含的包过滤器中依据包过滤器保留规则保留部分包过滤器,第三QoS信息保留的包过滤器的数量小于等于终端设备支持的包过滤器的最大数量减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 third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2. If the number of QoS rules associated with the QoS flow retained in the third QoS information is still less than the maximum number of QoS rules supported by the terminal device, the QoS rules associated with the QoS flow retained in the third QoS information are preferentially retained Rules, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2. If the number of packet filters included in the reserved QoS rules in the third QoS information is still greater than the maximum number of packet filters supported by the terminal device, the packet filters included in the reserved QoS rules are reserved according to the packet filter retention rules For some packet filters, the number of packet filters reserved in the third QoS information is less than or equal to the maximum number of packet filters supported by the terminal device minus C2.
可选的,若A2等于终端设备支持的QoS流的最大数量、B2小于终端设备支持的QoS规则的最大数量、C2等于终端设备支持的包过滤器的最大数量,则优先保留第三QoS信息中优先级高的QoS规则,第三QoS信息保留的QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B2。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 third QoS information is preferentially retained For QoS rules with high priority, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2.
可选的,若A2小于终端设备支持的QoS流的最大数量、B2等于终端设备支持的QoS规则的最大数量、C2等于于终端设备支持的包过滤器的最大数量,则优先保留第三QoS信息中优先级高的QoS流以及该QoS流关联的QoS规则,第三QoS信息保留的QoS流的数量小于等于终端设备支持的QoS流的最大数量减A2。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 third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2.
可选的,若A2小于终端设备支持的QoS流的最大数量、B2小于终端设备支持的QoS规则的最大数量、C2等于于终端设备支持的包过滤器的最大数量,则优先保留第三QoS信息中优先级高的QoS流以及该QoS流关联的QoS规则,第三QoS信息保留的QoS流的数量小于等于终端设备支持的QoS流的最大数量减A2。若第三QoS信息中保留的QoS流关联的QoS规则的数量依旧小于终端设备支持的QoS规则的最大数量,则优先保留第三QoS信息中保留的QoS流关联的QoS规则中优先级高的QoS规则,第三QoS信息保留的QoS规则的数量小于等于终端设备支持的QoS规则的最大数量减B2。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 third QoS information is preferentially retained For the QoS flow with high priority and the QoS rules associated with the QoS flow, the number of QoS flows retained in the third QoS information is less than or equal to the maximum number of QoS flows supported by the terminal device minus A2. If the number of QoS rules associated with the QoS flow retained in the third QoS information is still less than the maximum number of QoS rules supported by the terminal device, the QoS rules associated with the QoS flow retained in the third QoS information are preferentially retained Rules, the number of QoS rules retained in the third QoS information is less than or equal to the maximum number of QoS rules supported by the terminal device minus B2.
可选的,情况二:保留上述会话的QoS信息中的部分QoS信息的策略包括策略1至策略3,策略1至策略3的执行顺序为策略2、策略1和策略3。终端设备根据终端设备的QoS支持能力保留QoS信息中的部分QoS信息的具体实施方式可以参考情况一的具体实施方式,此处不再赘述。Optionally, case 2: the strategy for retaining part of the QoS information in the QoS information of the above-mentioned session includes strategy 1 to strategy 3, and the execution order of strategy 1 to strategy 3 is strategy 2, strategy 1, and strategy 3. For a specific implementation manner in which the terminal device retains part of the QoS information in the QoS information according to the QoS support capability of the terminal device, reference may be made to the specific implementation manner in case 1, and details are not described herein again.
S404:终端设备向网络设备发送会话修改请求消息,网络设备接收终端设备发送的会话修改请求消息,会话修改请求消息包含第一指示信息,第一指示信息用于指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。S404: The terminal device sends a session modification request message to the network device, and 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 to indicate the QoS information of the terminal device in the session Part of the QoS information that is not reserved.
可选的,第一指示信息中携带未被保留的部分QoS信息的标识符。Optionally, the first indication information carries an identifier of some QoS information that is not reserved.
可以理解,为保证终端和网络设备两端的会话上下文一致,通过会话修改请求消息向网络设备指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。It can be understood that, in order to ensure that the session contexts at both ends of the terminal and the network device are consistent, the session modification request message is used to indicate to the network device that the terminal device does not retain part of the QoS information in the QoS information of the session.
可选的,第一指示信息中携带未保留的QoS流的QFI、未保留的QoS规则的标识符和未保留的包过滤器的标识符。Optionally, the first indication information carries the QFI of the unreserved QoS flow, the identifier of the unreserved QoS rule, and the identifier of the unreserved packet filter.
可选的,所述会话修改请求消息还包含第二指示信息,第二指示信息用于指示所述终端设备Qos能力不足。Optionally, the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
例如,第二指示信息为#26 insufficient resources。For example, the second instruction information is #26 insufficient resources.
可选的,所述会话修改请求消息还包含第三指示信息,第三指示信息用于指示终端设备QoS能力不足的原因。Optionally, the session modification request message further includes third indication information, and the third indication information is used to indicate a cause of insufficient QoS capability of the terminal device.
可选的,QoS能力不足的原因包括以下之一或组合:QoS流能力不足;QoS规则能力不足;包过滤器能力不足。Optionally, the causes of insufficient QoS capabilities include one or a combination of the following: insufficient QoS flow capabilities; insufficient QoS rule capabilities; and insufficient packet filter capabilities.
例如,QoS能力不足的原因代码包括#A、#B和#C,#A、#B和#C分别用于指示QoS流能力不足、QoS规则能力不足和包过滤器能力不足。举例来说,若QoS规则能力不足和包过滤器能力不足,则所述第三指示信息包含原因代码#B和#C。For example, the reason codes for insufficient QoS capabilities include #A, #B, and #C. #A, #B, and #C are used to indicate insufficient QoS flow capabilities, insufficient QoS rule capabilities, and insufficient packet filter capabilities, respectively. For example, if the QoS rule capability is insufficient and the packet filter capability is insufficient, the third indication information includes reason codes #B and #C.
例如,QoS能力不足的原因代码包括#A、#B、#C、#D、#E、#F和#G。#A、#B和#C分别用于指示QoS流能力不足、QoS规则能力不足和包过滤器能力不足;#D用于指示QoS流能力不足和QoS规则能力不足;#E用于指示QoS规则能力不足和包过滤器能力不足;#F用 于指示QoS流能力不足;和包过滤器能力不足;#G用于指示QoS流能力不足、QoS规则能力不足和包过滤器能力不足。举例来说,若QoS规则能力不足和包过滤器能力不足,则所述第三指示信息包含原因代码#E。For example, the reason codes for insufficient QoS capabilities 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 packet filter capability; #D is used to indicate insufficient QoS flow capability and insufficient QoS rule capability; #E is used to indicate QoS rule Insufficient capabilities and insufficient packet filter capabilities; #F is used to indicate insufficient QoS flow capabilities; and packet filter insufficient capabilities; #G is used to indicate insufficient QoS flow capabilities, insufficient QoS rule capabilities, and insufficient packet filter capabilities. For example, if the QoS rule capability is insufficient and the packet filter capability is insufficient, the third indication information includes reason code #E.
可选的,终端设备的基带(MODEM)模块通过通用接口(例如AT命令接口)告知终端设备的应用程序(AP)模块终端设备QoS能力不足。Optionally, the baseband (MODEM) module of the terminal device notifies the application program (AP) module of the terminal device through a common interface (such as an AT command interface) that the terminal device has insufficient QoS capabilities.
可选的,终端设备的基带(MODEM)模块通过通用接口(例如AT命令接口)告知终端设备的应用程序(AP)模块发送终端设备QoS能力不足的原因。Optionally, the baseband (MODEM) module of the terminal device notifies the application program (AP) module of the terminal device through a common interface (for example, the AT command interface) to send the cause of the insufficient QoS capability of the terminal device.
S405:网络设备根据第一指示信息释放上述会话的QoS信息中的部分QoS信息。S405: The network device releases part of the QoS information in the QoS information of the session according to the first instruction information.
可以理解,网络设备通过释放上述会话的QoS信息中的终端设备未保留的QoS信息,保证了终端和网络设备两端会话上下文一致,进一步保障了数据业务的正常进行。It can be understood that, by releasing the QoS information not retained by the terminal device in the QoS information of the session, the network device ensures that the session context of the terminal and the network device is consistent, and further guarantees the normal operation of the data service.
本发明实施例中,网络设备接收终端设备发送的会话建立请求消息,向终端设备发送会话建立响应消息,上述会话建立响应消息中携带会话的QoS信息。当上述会话的QoS信息超出大于终端设备支持的QoS能力时,终端设备根据终端设备的QoS支持能力保留上述会话的QoS信息中的部分QoS信息,并通过会话修改请求消息向网络设备指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。通过本发明实施例,解决了会话建立过程中终端设备QoS能力不足导致的无法支持网络设备下发的QoS信息的问题,并保证了终端和网络设备两端会话上下文一致。In the embodiment of the present invention, the network device receives the session establishment request message sent by the terminal device, and sends a session establishment response message to the terminal device, where the session establishment response message carries session QoS information. When the QoS information of the session exceeds the QoS capability supported by the terminal device, the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device, and indicates to the network device that the terminal device is in the session modification request message. Part of the QoS information not retained in the QoS information of the above session. Through the embodiments of the present invention, the problem that the QoS information delivered by the network device cannot be supported due to the insufficient QoS capability of the terminal device during the session establishment process is solved, and the session context at both ends of the terminal and the network device is ensured to be consistent.
可选的,若上述网络设备为SMF,上述会话管理方法的流程如图5所示,其中,前述步骤S401可进一步包括S4011和S4012,前述步骤S402可进一步包括S4021和S4022,前述步骤S404可进一步包括S4041和S4042。其中,Optionally, if the above network device is SMF, the flow of the above session management method is shown in FIG. 5, wherein the foregoing step S401 may further include S4011 and S4012, the foregoing step S402 may further include S4021 and S4022, and the foregoing step S404 may further Including S4041 and S4042. among them,
S4011:终端设备向AMF发送会话建立请求消息,AMF接收终端设备发送的会话建立请求消息。S4011: The terminal device sends a session establishment request message to the AMF, and the AMF receives the session establishment request message sent by the terminal device.
S4012:AMF向SMF发送会话建立请求消息。S4012: AMF sends a session establishment request message to SMF.
例如,上述会话建立请求消息为PDU SESSION ESTABLISHMENT REQUEST。For example, the above session establishment request message is PDU SESSION ESTABLISHMENT REQUEST.
S4021:SMF向AMF发送会话建立响应消息,AMF接收SMF发送的会话建立响应消息,上述会话建立响应消息中携带会话的QoS信息。S4021: The SMF sends a session establishment response message to the AMF. The AMF receives the session establishment response message sent by the SMF. The session establishment response message carries the QoS information of the session.
S4022:AMF向终端设备发送会话建立响应消息,终端设备接收AMF发送的会话建立响应消息。S4022: The AMF sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the AMF.
例如,上述会话建立响应消息为PDU SESSION ESTABLISHMENT ACCEPT。For example, the above session establishment response message is PDU SESSIONESTABLISHMENT ACCEPT.
S4041:终端设备向AMF发送会话修改请求消息,AMF接收终端设备发送的会话修改请求消息,会话修改请求消息包含第一指示信息,第一指示信息用于指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。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 includes first indication information. The first indication information is used to indicate that the terminal device is not in the QoS information of the session. Some reserved QoS information.
S4042:AMF向SMF发送会话修改请求消息。S4042: AMF sends a session modification request message to SMF.
例如,上述会话修改请求消息为PDU SESSION MODIFICATION REQUEST。For example, the above session modification request message is PDU SESSION MODIFICATION REQUEST.
本发明实施例提出了一种会话管理方法。图6是本发明实施例提供的会话管理方法的示意性流程图。如图6所示,本发明实施例提供的会话管理方法包括但不限于步骤S501至S503。下面对该方法实施例的可能实现方式做进一步的描述。An embodiment of the present invention provides a session management method. 6 is a schematic flowchart of a session management method provided by 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. The possible implementation of the method embodiment is further described below.
S501:终端设备向网络设备发送会话建立请求消息,网络设备接收终端设备发送的会话建立请求消息,上述会话建立请求消息用于请求建立会话,会话建立请求消息携带终端设备支持的QoS能力。S501: The terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device. The above session establishment request message is used to request session establishment, and the session establishment request message carries the QoS capabilities supported by the terminal device.
可选的,本发明实施例中有如下两种实施方式:Optionally, there are the following two implementation manners in the embodiments of the present invention:
第一实施方式,不论是否设置预设的数量,以及不论终端设备自身支持的QoS能力是否大于预设的QoS数量,会话建立请求消息均携带终端设备支持的QoS能力。In the first embodiment, regardless of whether a preset quantity is set and whether the QoS capability supported by the terminal device itself is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal device.
第二实施方式,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端设备支持的QoS能力。当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端设备支持的QoS能力。According to the second embodiment, when the QoS capability supported by the terminal device itself is greater than the preset number of QoS, the session establishment request message carries the QoS capability supported by the terminal device. When the QoS capability supported by the terminal device itself is less than or equal to the preset number of QoS, the session establishment request message does not carry the QoS capability supported by the terminal device.
可选的,上述预设的QoS数量是终端设备和运营商预先定义的,终端设备和运营商预先定义的QoS数量可以保证未来大部分用户的业务开展。Optionally, the above-mentioned preset number of QoS is pre-defined by the terminal device and the operator, and the number of QoS pre-defined by the terminal device and the operator can ensure the business development of most users in the future.
可选的,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。Optionally, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
可选的,上述预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。Optionally, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
可以理解,第二实施方式下,终端设备和运营商预先定义的QoS数量可以保证未来大部分用户的业务开展,当终端设备自身支持的QoS能力大于预设的QoS数量时,终端设备在会话建立请求消息中携带终端支持的QoS能力,用于告知网络设备终端设备自身支持的QoS能力大于等于预设的QoS数量,以便获取更多QoS资源,从而提高本终端设备的数据业务处理能力。It can be understood that in the second embodiment, the terminal equipment and the operator pre-defined number of QoS can ensure the business development of most users in the future. When the terminal equipment itself supports a QoS capability greater than the preset number of QoS, the terminal equipment establishes a session The request message carries the QoS capabilities supported by the terminal, and is used to inform the network device that the terminal device supports the QoS capability greater than or equal to the preset number of QoS, so as to obtain more QoS resources, thereby improving the data service processing capability of the terminal device.
S502:网络设备生成会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的。S502: The network device generates a session establishment response message, and the session establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device.
可选的,QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, and each QoS rule in the one or more QoS rules includes one or more packet filters.
可选的,第一实施方式下,网络设备根据终端设备支持的QoS能力确定会话的QoS信息,包括:若网络设备判断终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息中的QoS数量和终端设备支持的QoS能力中的最小值确定会话的QoS信息的数量,上述会话的QoS信息的数量小于等于上述最小值;若网络设备判断终端设备支持的QoS能力大于网络设备支持的QoS能力,则网络设备根据终端设备对应的用户签约信息中的QoS数量和终端设备支持的QoS能力中的最小值确定会话的QoS信息,上述会话的QoS信息的数量小于等于上述最小值。Optionally, in the first embodiment, the network device determines the QoS information of the session according to the QoS capability supported by the terminal device, including: if the network device determines that the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the network device determines The QoS capability supported by the network device, the number of QoS in the user subscription information corresponding to the terminal device and the minimum value among the QoS capabilities supported by the terminal device determine the amount of QoS information for the session, and the amount of QoS information for the session is less than or equal to the minimum value; If the network device determines 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 number of QoS in the user subscription information corresponding to the terminal device and the minimum value of the QoS capabilities supported by the terminal device, The number of QoS information of the session is less than or equal to the minimum value.
可选的,第二实施方式下,网络设备根据终端设备支持的QoS能力确定会话的QoS信息,包括:若网络设备判断终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息中的QoS数量和终端设备支持的QoS能力中的最小值确定会话的QoS信息的数量,上述会话的QoS信息的数量小于等于上述最小值;若网络设备判断终端设备支持的QoS能力大于网络设备支持的QoS能力,则网络设备根据预设的QoS数量、终端设备对应的用户签约信息中的QoS数量和终端设备支持的QoS能力中的最小值确定会话的QoS信息,上述会话的QoS信息的数量小于等于上述最小值。Optionally, in the second embodiment, the network device determines the QoS information of the session according to the QoS capabilities supported by the terminal device, including: if the network device determines that the QoS capabilities supported by the terminal device is less than or equal to the QoS capabilities supported by the network device, the network device determines The QoS capability supported by the network device, the number of QoS in the user subscription information corresponding to the terminal device and the minimum value among the QoS capabilities supported by the terminal device determine the amount of QoS information for the session, and the amount of QoS information for the session is less than or equal to the minimum value; If the network device determines 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 minimum number of QoS capabilities supported by the terminal device according to the preset QoS number, the QoS number in the user subscription information corresponding to the terminal device Determine the QoS information of the session. The number of QoS information of the session is less than or equal to the minimum value.
本发明实施例中,用户签约信息中的QoS数量包含订阅的QoS流的数量、订阅的QoS规则的数量和/或订阅的包过滤器的数量。In the embodiment of the present invention, the number of QoS in the user subscription information includes the number of subscribed QoS flows, the number of subscribed QoS rules, and/or the number of subscribed packet filters.
下面以第二实施方式为例,对网络设备根据终端设备支持的QoS能力确定会话的QoS信 息的具体实施方式进行进一步描述。The following uses the second embodiment as an example to further describe a specific implementation manner in which the network device determines the QoS information of the session according to the QoS capabilities supported by the terminal device.
可选的,第二实施方式下,若终端设备支持的QoS能力包括终端设备支持的QoS流的最大数量,且预设的QoS数量包括预设的QoS流的数量,则网络设备根据终端设备支持的QoS能力确定上述会话的QoS信息中的QoS流的数量,包括: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 network device supports The QoS capability determines the number of QoS flows in the QoS information of the above session, including:
若网络设备判断终端设备支持的QoS流的最大数量小于等于网络设备支持的QoS流的最大数量,则网络设备根据网络设备支持的QoS流的最大数量、终端设备对应的用户签约信息中订阅的QoS流的数量和终端设备支持的QoS流的最大数量中的最小值确定会话的QoS流的数量,上述最小值为第一数值,上述会话的QoS信息中的QoS流的数量小于等于上述第一数值;若网络设备判断终端设备支持的QoS流的最大数量大于网络设备支持的QoS流的最大数量,则网络设备根据预设的QoS流的数量、终端设备对应的用户签约信息中订阅的QoS流的数量和终端设备支持的QoS流的最大数量中的最小值确定会话的QoS流的数量,上述最小值为第二数值,上述会话的QoS信息中的QoS流的数量小于等于上述第二数值。If the network device determines that the maximum number of QoS flows supported by the terminal device is less than or equal to the maximum number of QoS flows supported by the network device, the network device subscribes to the QoS in the user subscription information corresponding to the terminal device according to the maximum number of QoS flows supported by the network device The minimum value of the number of flows and the maximum number of QoS flows supported by the terminal device determines the number of QoS flows of the session, the minimum value is a first value, and the number of QoS flows in the QoS information of the session is less than or equal to the first value ; If the network device determines that the maximum number of QoS flows supported by the terminal device is greater than the maximum number of QoS flows supported by the network device, the network device subscribes to the QoS flows subscribed in the user subscription information corresponding to the terminal device according to the preset number of QoS flows The minimum value of the number and the maximum number of QoS flows supported by the terminal device determines the number of QoS flows of the session. The minimum value is a second value, and the number of QoS flows in the QoS information of the session is less than or equal to the second value.
可选的,第二实施方式下,若终端设备支持的QoS能力包括终端设备支持的QoS规则的最大数量,且预设的QoS数量包括预设的QoS规则的数量,则网络设备根据终端设备支持的QoS能力确定会话的QoS信息中的QoS规则的数量,包括: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 preset number of QoS rules, the network device supports The QoS capability determines the number of QoS rules in the session's QoS information, including:
若网络设备判断终端设备支持的QoS规则的最大数量小于等于网络设备支持的QoS规则的最大数量,则网络设备根据网络设备支持的QoS规则的最大数量、终端设备对应的用户签约信息中订阅的QoS规则的数量和终端设备支持的QoS规则的最大数量中的最小值确定会话的QoS规则的数量,上述最小值为第三数值,上述会话的QoS信息中的QoS规则的数量小于等于上述第三数值;若网络设备判断终端设备支持的QoS规则的最大数量大于网络设备支持的QoS规则的最大数量,则网络设备根据预设的QoS规则的数量、终端设备对应的用户签约信息中订阅的QoS规则的数量和终端设备支持的QoS规则的最大数量中的最小值确定会话的QoS规则的数量,上述最小值为第四数值,上述会话的QoS信息中的QoS规则的数量小于等于上述第四数值。If the network device determines that the maximum number of QoS rules supported by the terminal device is less than or equal to the maximum number of QoS rules supported by the network device, the network device subscribes to the QoS in the user subscription information corresponding to the terminal device according to the maximum number of QoS rules supported by the network device The minimum of the number of rules and the maximum number of QoS rules supported by the terminal device determines the number of QoS rules for the session, the minimum value is a third value, and the number of QoS rules in the QoS information of the session is less than or equal to the third value ; If the network device determines that the maximum number of QoS rules supported by the terminal device is greater than the maximum number of QoS rules supported by the network device, the network device subscribes to the QoS rules in the user subscription information corresponding to the terminal device according to the preset number of QoS rules The minimum value of the number and the maximum number of QoS rules supported by the terminal device determines the number of QoS rules of the session, the minimum value is a fourth value, and the number of QoS rules in the QoS information of the session is less than or equal to the fourth value.
可选的,第二实施方式下,若终端设备支持的QoS能力包括终端设备支持的QoS规则中的包过滤器的最大数量,且预设的QoS数量包括预设的包过滤器的数量,则网络设备根据终端设备支持的QoS能力确定会话的QoS信息中的包过滤器的数量,包括:Optionally, in the second embodiment, if the QoS capabilities supported by the terminal device include the maximum number of packet filters in the QoS rules supported by the terminal device, and the preset number of QoS includes the preset number of packet filters, then The network device determines the number of packet filters in the QoS information of the session according to the QoS capabilities supported by the terminal device, including:
若网络设备判断终端设备支持的包过滤器的最大数量小于等于网络设备支持的包过滤器的最大数量,则网络设备根据网络设备支持的包过滤器的最大数量、终端设备对应的用户签约信息中订阅的包过滤器的数量和终端设备支持的包过滤器的最大数量中的最小值确定会话的包过滤器的数量,上述最小值为第五数值,上述会话的QoS信息中的包过滤器的数量小于等于上述第五数值;若网络设备判断终端设备支持的包过滤器的最大数量大于网络设备支持的包过滤器的最大数量,则网络设备根据预设的包过滤器的数量、终端设备对应的用户签约信息中订阅的包过滤器的数量和终端设备支持的包过滤器的最大数量中的最小值确定会话包过滤器的数量,上述最小值为第六数值,上述会话的QoS信息中的包过滤器的数量小于等于上述第六数值。If the network device determines that the maximum number of packet filters supported by the terminal device is less than or equal to the maximum number of packet filters supported by the network device, the network device determines the maximum number of packet filters supported by the network device and the user subscription information corresponding to the terminal device. The minimum value of the number of subscribed packet filters and the maximum number of packet filters supported by the terminal device determines the number of packet filters of the session. The minimum value is the fifth value. The packet filter in the QoS information of the session The number is less than or equal to the above fifth value; if the network device determines that the maximum number of packet filters supported by the terminal device is greater than the maximum number of packet filters supported by the network device, the network device corresponds to the terminal device according to the preset number of packet filters The minimum value of the number of packet filters subscribed in the user subscription information and the maximum number of packet filters supported by the terminal device determines the number of session packet filters. The minimum value is the sixth value. The QoS information in the session The number of packet filters is less than or equal to the above-mentioned sixth value.
可选的,第二实施方式下,若终端设备支持的QoS能力包括终端设备支持的QoS流的最大数量、终端设备支持的QoS规则的最大数量和终端设备支持的包过滤器的最大数量,则网络设备根据终端设备支持的QoS能力确定会话的QoS信息中的QoS流、QoS规则和包过滤器的数量可以包括以下步骤: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, then The network device determines 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. The following steps may be included:
步骤一:网络设备确定上述会话的QoS信息中的M个QoS流,每个QoS流的QoS参数均包含该QoS流对应ARP和QFI。若终端设备支持的QoS流的最大数量小于等于网络设备支持的QoS流的最大数量,M小于等于第一数值,若终端设备支持的QoS流的最大数量大于网络设备支持的QoS流的最大数量,M小于等于第二数值,Step 1: The network device determines the M QoS flows in the QoS information of the above session, and the QoS parameters of each QoS flow include the ARP and QFI corresponding to the QoS flow. If the maximum number of QoS flows supported by the terminal device is less than or equal to the maximum number of QoS flows supported by the network device, and M is less than or equal to the first value, if the maximum number of QoS flows supported by the terminal device is greater than the maximum number of QoS flows supported by the network device, M is less than or equal to the second value,
步骤二:网络设备根据核心网的QoS策略和用户的签约信息等生成上述会话的QoS信息中的N个QoS规则,N个QoS规则包含H个包过滤器。N个QoS规则中的任一QoS规则关联上述M个QoS流中的一个QoS流。该QoS规则包含关联的QoS流的QFI、优先级和一或多个包过滤器。若终端设备支持的QoS规则的最大数量小于等于网络设备支持的QoS规则的最大数量,M小于等于第三数值,若终端设备支持的QoS规则的最大数量大于网络设备支持的QoS规则的最大数量,M小于等于第四数值。若终端设备支持的包过滤器的最大数量小于等于网络设备支持的包过滤器的最大数量,M小于等于第五数值,若终端设备支持的包过滤器的最大数量大于网络设备支持的包过滤器的最大数量,M小于等于第六数值。Step 2: The network device generates N QoS rules in the QoS information of the above session according to the QoS policy of the core network and the user's subscription information, etc. The N QoS rules include H packet filters. Any one of the N QoS rules is associated with one of the M QoS flows. The QoS rule contains the QFI, priority and one or more packet filters of the associated QoS flow. If the maximum number of QoS rules supported by the terminal device is less than or equal to the maximum number of QoS rules supported by the network device, and M is less than or equal to the third value, if the maximum number of QoS rules supported by the terminal device is greater than the maximum number of QoS rules supported by the network device, M is less than or equal to the fourth value. If the maximum number of packet filters supported by the terminal device is less than or equal to the maximum number of packet filters supported by the network device, M is less than or equal to the fifth value, if the maximum number of packet filters supported by the terminal device is greater than the packet filters supported by the network device The maximum number, M is less than or equal to the sixth value.
第一实施方式的具体实施方式可以参考第二实施方式的具体实施方式,此处不再赘述。For the specific implementation manner of the first embodiment, reference may be made to the specific implementation manner of the second embodiment, and details are not described herein again.
S503:网络设备向终端设备发送会话建立响应消息,终端设备接收网络设备发送的会话建立响应消息。S503: The network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
本发明实施例中,终端设备向网络设备发送的会话建立请求消息中携带终端设备支持的QoS能力,从而告知网络设备终端设备支持的QoS能力。网络设备可以根据终端设备支持的QoS能力确定QoS信息中的QoS流、QoS规则和/或包过滤器的数量,网络设备向终端设备发送的会话建立响应消息携带上述会话的QoS信息。通过本发明实施例解决了会话建立过程中终端设备QoS能力不足导致的终端设备无法支持网络设备下发的QoS信息的问题,实现了不同QoS需求的终端设备的差异化处理,可以为QoS高需求的终端设备配置更多的QoS资源。In the embodiment of the present invention, the session establishment request message sent by the terminal device to the network device carries the QoS capabilities supported by the terminal device, thereby notifying the network device of the QoS capabilities supported by the terminal device. The network device may determine the number of QoS flows, QoS rules and/or packet filters in the QoS information according to the QoS capabilities supported by the terminal device, and the session establishment response message sent by the network device to the terminal device carries the QoS information of the session. The embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements The terminal equipment is configured with more QoS resources.
可选的,若上述网络设备为SMF,上述会话管理方法的流程如图7所示,其中,前述步骤S501可进一步包括S5011和S5012,前述步骤S503可进一步包括S5031和S5032,图7所示方法还包括步骤S504-S505。其中,Optionally, if the above network device is SMF, the flow of the above session management method is shown in FIG. 7, wherein the foregoing step S501 may further include S5011 and S5012, and the foregoing step S503 may further include S5031 and S5032, the method shown in FIG. 7 Steps S504-S505 are also included. among them,
S5011:终端设备向AMF发送会话建立请求消息,AMF接收终端设备发送的会话建立请求消息,上述会话建立请求消息用于请求建立会话,会话建立请求消息携带终端设备支持的QoS能力。S5011: The terminal device sends a session establishment request message to the AMF. The AMF receives the session establishment request message sent by the terminal device. The above session establishment request message is used to request the session establishment. The session establishment request message carries the QoS capabilities supported by the terminal device.
S5012:AMF向SMF发送会话建立请求消息。S5012: AMF sends a session establishment request message to SMF.
例如,上述会话建立请求消息为PDU SESSION ESTABLISHMENT REQUEST。For example, the above session establishment request message is PDU SESSION ESTABLISHMENT REQUEST.
S5031:SMF向AMF发送会话建立响应消息,AMF接收SMF发送的会话建立响应消息。S5031: SMF sends a session establishment response message to AMF, and AMF receives the session establishment response message sent by SMF.
S5032:AMF向终端设备发送会话建立响应消息,终端设备接收AMF发送的会话建立响应消息。S5032: The AMF sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the AMF.
例如,上述会话建立响应消息为PDU SESSION ESTABLISHMENT ACCEPT。For example, the above session establishment response message is PDU SESSIONESTABLISHMENT ACCEPT.
S504:SMF向UDM发送获取请求,UDM接收SMF发送的获取请求,上述获取请求用于获取终端设备对应的用户签约信息。S504: The SMF sends an acquisition request to the UDM, and the UDM receives the acquisition request sent by the SMF. The above acquisition request is used to acquire user subscription information corresponding to the terminal device.
S505:UDM向SMF发送上述用户签约信息,SMF接收UDM发送的用户签约信息。S505: UDM sends the above user subscription information to SMF, and SMF receives the user subscription information sent by UDM.
可以理解,SMF获取用户签约信息,用于确定上述会话的QoS信息。It can be understood that SMF obtains user subscription information, which is used to determine the QoS information of the session.
本发明实施例提出了一种会话管理方法。图8是本发明实施例提供的会话管理方法的示意性流程图。如图8所示,本发明实施例提供的会话管理方法包括但不限于步骤S506至S508。 下面对该方法实施例的可能实现方式做进一步的描述。An embodiment of the present invention provides a session management method. 8 is a schematic flowchart of a session management method provided by an embodiment of the present invention. As shown in FIG. 8, the session management method provided by the embodiment of the present invention includes but is not limited to steps S506 to S508. The possible implementation of the method embodiment is further described below.
S506:终端设备向网络设备发送会话建立请求消息,网络设备接收终端设备发送的会话建立请求消息,上述会话建立请求消息用于请求建立会话,会话建立请求消息不携带终端设备支持的QoS能力。S506: The terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device. The session establishment request message is used to request session establishment, and the session establishment request message does not carry the QoS capabilities supported by the terminal device.
可选的,上述预设的QoS数量是终端设备和运营商预先定义的。终端设备和运营商预先定义的QoS数量可以保证未来大部分用户的业务开展。Optionally, the aforementioned preset number of QoS is pre-defined by the terminal device and the operator. The number of QoS pre-defined by terminal equipment and operators can ensure the business development of most users in the future.
可选的,上述预设的QoS数量是网络设备支持的QoS能力。Optionally, the preset number of QoS is the QoS capability supported by the network device.
可选的,上述预设的QoS数量是终端设备的用户签约信息中的QoS数量。Optionally, the preset QoS quantity is the QoS quantity in the user subscription information of the terminal device.
可选的,上述预设的QoS数量是网络设备支持的QoS能力和用户签约信息中的QoS数量的最小值。Optionally, the preset QoS quantity is the minimum value of the QoS capabilities supported by the network device and the QoS quantity in the user subscription information.
可选的,上述预设的QoS数量是终端设备和运营商预先定义的。当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端设备支持的QoS能力。当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端设备支持的QoS能力。Optionally, the aforementioned preset number of QoS is pre-defined by the terminal device and the operator. When the QoS capability supported by the terminal device itself is greater than the preset number of QoS, the session establishment request message carries the QoS capability supported by the terminal device. When the QoS capability supported by the terminal device itself is less than or equal to the preset number of QoS, the session establishment request message does not carry the QoS capability supported by the terminal device.
可选的,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。Optionally, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
可选的,上述预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。Optionally, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
S507:网络设备生成会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的。S507: The network device generates a session establishment response message, and the session establishment response message carries QoS information of the session. The QoS information of the session is determined by the network device according to a preset number of QoS.
可选的,QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。Optionally, the QoS information includes one or a combination of the following: one or more QoS flows; one or more QoS rules, and each QoS rule in the one or more QoS rules includes one or more packet filters.
可选的,若上述预设的QoS数量是终端设备和运营商预先定义的,则网络设备根据预设的QoS数量确定会话的QoS信息,包括:网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息中的QoS数量和预设的QoS数量中的最小值确定会话的QoS信息,上述会话的QoS信息的数量小于等于上述最小值。Optionally, if the above-mentioned preset number of QoS is predefined by the terminal device and the operator, the network device determines the QoS information of the session according to the preset number of QoS, including: the network device according to the QoS capabilities supported by the network device, the terminal device The minimum value of the number of QoS in the corresponding user subscription information and the preset number of QoS determines the QoS information of the session, and the number of QoS information of the session is less than or equal to the minimum value.
可选的,若上述预设的QoS数量是终端设备和运营商预先定义的,且终端设备支持的QoS能力包括终端设备支持的QoS流的最大数量,预设的QoS数量包括预设的QoS流的数量,则网络设备根据预设的QoS数量确定会话的QoS信息中的QoS流的数量,包括:网络设备根据网络设备支持的QoS流的最大数量、终端设备对应的用户签约信息中的QoS数量和预设的QoS流的数量中的最小值确定上述会话的QoS信息中的QoS流的数量,上述会话的QoS信息中的QoS流的数量小于等于上述最小值。Optionally, if the above-mentioned preset number of QoS is pre-defined by the terminal device and the operator, and the QoS capability supported by the terminal device includes the maximum number of QoS flows supported by the terminal device, the preset QoS number includes the preset QoS flow Number, the network device determines the number of QoS flows in the QoS information of the session according to the preset number of QoS, including: the maximum number of QoS flows supported by the network device according to the network device, the number of QoS in the user subscription information corresponding to the terminal device The minimum value among the preset number of QoS flows determines the number of QoS flows in the QoS information of the session, and the number of QoS flows in the QoS information of the session is less than or equal to the minimum value.
可选的,若上述预设的QoS数量是终端设备和运营商预先定义的,且终端设备支持的QoS能力包括终端设备支持的QoS规则的最大数量,预设的QoS数量包括预设的QoS规则的数量,则网络设备根据预设的QoS数量确定会话的QoS信息中的QoS规则的数量,包括:网络设备根据网络设备支持的QoS规则的最大数量、终端设备对应的用户签约信息中的QoS数量和预设的QoS规则的数量中的最小值确定上述会话的QoS信息中的QoS规则的数量,上述会话的QoS信息中的QoS规则的数量小于等于上述最小值。Optionally, if the preset number of QoS is defined in advance by the terminal device and the operator, and the QoS capabilities supported by the terminal device include the maximum number of QoS rules supported by the terminal device, the preset number of QoS includes the preset QoS rules Number, the network device determines the number of QoS rules in the QoS information of the session according to the preset number of QoS, including: the maximum number of QoS rules supported by the network device according to the network device, the number of QoS in the user subscription information corresponding to the terminal device The minimum value among the number of preset QoS rules determines the number of QoS rules in the QoS information of the session, and the number of QoS rules in the QoS information of the session is less than or equal to the minimum value.
可选的,若上述预设的QoS数量是终端设备和运营商预先定义的,且终端设备支持的 QoS能力包括终端设备支持的包过滤器的最大数量,预设的QoS数量包括预设的包过滤器的数量,则网络设备根据预设的QoS数量确定会话的QoS信息中的包过滤器的数量,包括:网络设备根据网络设备支持的包过滤器的最大数量、终端设备对应的用户签约信息中的QoS数量和预设的包过滤器的数量中的最小值确定上述会话的QoS信息中的QoS规则的数量,上述会话的QoS信息中的包过滤器的数量小于等于上述最小值。Optionally, if the above-mentioned preset number of QoS is pre-defined by the terminal device and the operator, and the QoS capability supported by the terminal device includes the maximum number of packet filters supported by the terminal device, the preset QoS number includes the preset packet The number of filters, the network device determines the number of packet filters in the QoS information of the session according to the preset number of QoS, including: the maximum number of packet filters supported by the network device according to the network device, user subscription information corresponding to the terminal device The minimum value among the number of QoSs in the preset number of packet filters determines the number of QoS rules 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 minimum value.
可选的,若上述预设的QoS数量是网络设备支持的QoS能力,则网络设备根据网络设备支持的QoS能力确定上述会话的QoS信息,上述会话的QoS信息小于等于网络设备支持的QoS能力。Optionally, if the preset number of QoS is the QoS capabilities supported by the network device, the network device determines the QoS information of the session according to the QoS capabilities supported by the network device, and the QoS information of the session is less than or equal to the QoS capabilities supported by the network device.
可选的,若上述预设的QoS数量是网络设备支持的QoS能力,且预设的QoS数量包括预设的QoS流的数量,则网络设备根据网络设备支持的QoS流的最大数量确定上述会话的QoS信息中的QoS流的数量,上述会话的QoS信息中的QoS流的数量小于等于网络设备支持的QoS流的最大数量。Optionally, if the preset number of QoS is the QoS capability supported by the network device, and the preset number of QoS includes the preset number of QoS flows, the network device determines the session according to the maximum number of QoS flows supported by the network device The number of QoS flows in the QoS information of the session, the number of QoS flows in the QoS information of the above session is less than or equal to the maximum number of QoS flows supported by the network device.
可选的,若上述预设的QoS数量是网络设备支持的QoS能力,且预设的QoS数量包括预设的QoS规则的数量,则网络设备根据网络设备支持的QoS规则的最大数量确定上述会话的QoS信息中的QoS规则的数量,上述会话的QoS信息中的QoS规则的数量小于等于网络设备支持的QoS规则的最大数量。Optionally, if the preset number of QoS is the QoS capabilities supported by the network device, and the preset number of QoS includes the number of preset QoS rules, the network device determines the session according to the maximum number of QoS rules supported by the network device The number of QoS rules in the QoS information of the above, the number of QoS rules in the QoS information of the above session is less than or equal to the maximum number of QoS rules supported by the network device.
可选的,若上述预设的QoS数量是网络设备支持的QoS能力,且预设的QoS数量包括预设的包过滤器的数量,则网络设备根据网络设备支持的包过滤器的最大数量确定上述会话的QoS信息中的包过滤器的数量,上述会话的QoS信息中的包过滤器的数量小于等于网络设备支持的包过滤器的最大数量。Optionally, if the preset number of QoS is the QoS capabilities supported by the network device, and the preset number of QoS includes the preset number of packet filters, the network device is determined 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, and the number of packet filters in the QoS information of the session are less than or equal to the maximum number of packet filters supported by the network device.
可选的,若上述预设的QoS数量是终端设备对应的用户签约信息中的QoS数量,则网络设备根据上述用户签约信息中的QoS数量确定会话的QoS信息,上述会话的QoS信息小于等于上述用户签约信息中的QoS数量。Optionally, if the preset QoS quantity is the QoS quantity in the user subscription information corresponding to the terminal device, the network device determines the QoS information of the session according to the QoS quantity in the user subscription information, and the QoS information of the session is less than or equal to the above The number of QoS in user subscription information.
可选的,若上述预设的QoS数量是终端设备对应的用户签约信息中的QoS数量,上述用户签约信息中的QoS数量包括订阅的QoS流的数量,则网络设备根据订阅的QoS流的数量确定会话的QoS信息中的QoS流的数量,上述会话的QoS信息中的QoS流的数量小于等于订阅的QoS流的数量。Optionally, if the preset number of QoS is the number of QoS in the user subscription information corresponding to the terminal device, and the number of QoS in the user subscription information includes the number of subscribed QoS flows, then the network device according to the number of subscribed QoS flows Determine the number of QoS flows in the QoS information of the session. The number of QoS flows in the QoS information of the session is less than or equal to the number of subscribed QoS flows.
可选的,若上述预设的QoS数量是终端设备对应的用户签约信息中的QoS数量,上述用户签约信息中的QoS数量包括订阅的QoS规则的数量,则网络设备根据订阅的QoS规则的数量确定会话的QoS信息中的QoS规则的数量,上述会话的QoS信息中的QoS规则的数量小于等于订阅的QoS规则的数量。Optionally, if the preset number of QoS is the number of QoS in the user subscription information corresponding to the terminal device, and the number of QoS in the user subscription information includes the number of subscribed QoS rules, then the network device according to the number of subscribed QoS rules Determine the number of QoS rules in the QoS information of the session. The number of QoS rules in the QoS information of the session is less than or equal to the number of subscribed QoS rules.
可选的,若上述预设的QoS数量是终端设备对应的用户签约信息中的QoS数量,上述用户签约信息中的QoS数量包括订阅的包过滤器的数量,则网络设备根据订阅的包过滤器的数量确定会话的QoS信息中的包过滤器的数量,上述会话的QoS信息中的包过滤器的数量小于等于订阅的包过滤器的数量。Optionally, if the preset QoS quantity is the QoS quantity in the user subscription information corresponding to the terminal device, and the QoS quantity in the user subscription information includes the number of subscribed packet filters, then the network device according to the subscribed packet filters The number of determines the number of packet filters in the QoS information of the session. The number of packet filters in the QoS information of the above session is less than or equal to the number of subscribed packet filters.
可选的,若上述预设的QoS数量是网络设备支持的QoS能力和上述用户签约信息中的QoS数量之间的最小值,则网络设备根据上述最小值确定会话的QoS信息,上述会话的QoS信息小于等于上述最小值。Optionally, if the preset number of QoS is the minimum value between the QoS capability supported by the network device and the number of QoS in the user subscription information, the network device determines the QoS information of the session according to the minimum value, and the QoS of the session The information is less than or equal to the above minimum value.
S508:网络设备向终端设备发送会话建立响应消息,终端设备接收网络设备发送的会话建立响应消息。S508: The network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
可选的,若上述预设的QoS数量是终端设备和运营商预先定义的,本发明实施例可以与第一实施方式下的S501-S503结合为另一种会话管理方法。Optionally, if the above-mentioned preset number of QoS is pre-defined by the terminal device and the operator, this embodiment of the present invention may be combined with S501-S503 in the first implementation mode as another session management method.
本发明实施例还提供了一种会话管理方法。图6是本发明实施例提供的会话管理方法的示意性流程图。如图6所示,本发明实施例提供的会话管理方法包括但不限于步骤S601至S606。下面对该方法实施例的可能实现方式做进一步的描述。An embodiment of the present invention also provides a session management method. 6 is a schematic flowchart of a session management method provided by 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 S601 to S606. The possible implementation of the method embodiment is further described below.
S601:终端设备向网络设备发送会话建立请求消息,网络设备接收终端设备发送的会话建立请求消息,上述会话建立请求消息用于请求建立会话。S601: The terminal device sends a session establishment request message to the network device, and the network device receives the session establishment request message sent by the terminal device. The session establishment request message is used to request the establishment of a session.
S602:网络设备生成会话建立响应消息,会话建立响应消息中携带会话的QoS信息,当会话建立请求消息中携带终端设备支持的QoS能力时,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,当会话建立请求消息中未携带终端设备支持的QoS能力时,上述会话的QoS信息是网络设备根据预设的QoS数量确定的。S602: The network device generates a session establishment response message, and the session establishment response message carries the QoS information of the session. When the session establishment request message carries the QoS capability supported by the terminal device, the QoS information of the session is the QoS supported by the network device according to the terminal device The capability is determined. When 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 number of QoS.
S603:网络设备向终端设备发送会话建立响应消息,终端设备接收网络设备发送的会话建立响应消息。S603: The network device sends a session establishment response message to the terminal device, and the terminal device receives the session establishment response message sent by the network device.
S601-S603具体的实施方式参考S501-S503以及S506-S508的可选实施例,此处不再赘述。For specific implementations of S601-S603, refer to the optional embodiments of S501-S503 and S506-S508, which will not be repeated here.
S604:当上述会话的QoS信息超出终端设备支持的QoS能力时,终端设备根据终端设备的QoS支持能力保留上述会话的QoS信息中的部分QoS信息。S604: When the QoS information of the session exceeds the QoS capability supported by the terminal device, the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device.
可以理解,若会话建立请求消息中未携带终端设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量确定的。若终端设备支持的QoS能力小于预设的预设数量,则上述会话的QoS信息有可能超出终端设备支持的QoS能力。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 number of QoS. If the QoS capability supported by the terminal device is less than the preset preset number, the QoS information of the session may exceed the QoS capability supported by the terminal device.
S605:终端设备向网络设备发送会话修改请求消息,网络设备接收终端设备发送的会话修改请求消息,会话修改请求消息包含第一指示信息,第一指示信息用于指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。S605: The terminal device sends a session modification request message to the network device, and 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 to indicate the QoS information of the terminal device in the session Part of the QoS information that is not reserved.
S604-S605具体的实施方式参考S403-S404的可选实施例,此处不再赘述。For specific implementations of S604-S605, refer to the optional embodiments of S403-S404, which will not be repeated here.
S606:网络设备根据第一指示信息释放上述会话的QoS信息中的部分QoS信息。S606: The network device releases part of the QoS information in the QoS information of the session according to the first instruction information.
本发明实施例中,会话建立响应消息中携带会话的QoS信息,若会话建立请求消息中携带终端设备支持的QoS能力,则上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,若会话建立请求消息中未携带终端设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量确定的。终端设备接收网络设备发送的会话建立响应消息,若上述会话的QoS信息超出终端设备支持的QoS能力,则终端设备根据终端设备的QoS支持能力保留上述会话的QoS信息中的部分QoS信息,并向网络设备发送会话修改请求消息,在会话修改请求消息中指示终端设备在上述会话的QoS信息中未保留的部分QoS信息。通过本发明实施例解决了会话建立过程中终端设备QoS能力不足导致的终端设备无法支持网络设备下发的QoS信息的问题,实现了不同QoS需求的终端设备的差异化处理,可以为QoS高需求的终端设备配置更多的QoS资源。In the embodiment of the present invention, the session establishment response message carries the QoS information of the session. If the session establishment request message carries the QoS capability supported by the terminal device, the QoS information of the session is determined by the network device according to the QoS capability supported by the terminal device. If the session establishment request message does not carry the QoS capabilities supported by the terminal device, the QoS information of the session is determined by the network device according to the preset number of QoS. The terminal device receives the session establishment response message sent by the network device. If the QoS information of the session exceeds the QoS capability supported by the terminal device, the terminal device retains part of the QoS information in the QoS information of the session according to the QoS support capability of the terminal device, and sends The network device sends a session modification request message, and in the session modification request message, instructs the terminal device to retain some QoS information in the QoS information of the session. The embodiment of the present invention solves the problem that the terminal device cannot support the QoS information delivered by the network device due to the insufficient QoS capability of the terminal device during the session establishment process, and realizes the differentiated processing of terminal devices with different QoS requirements, which can be used for high QoS requirements The terminal equipment is configured with more QoS resources.
针对异系统切换场景,本发明提供了一种会话管理方法,该方法可以包括:For different system switching scenarios, the present invention provides a session management method, which may include:
终端设备从第一通信系统切换至第二通信系统。若终端设备在第一通信系统中建立的会话的QoS信息超过第二通信系统预设QoS的数量,则终端设备根据上述预设QoS的数量保留上述会话的QoS信息中的部分QoS信息。终端设备向第二通信系统的网络设备发送会话修改请求消息,上述网络设备接收终端设备发送的会话修改请求消息,会话修改请求消息中携带第四指示信息和终端设备支持的QoS能力,第四指示信息用于指示终端设备在上述会话的 QoS信息中未保留的部分QoS信息,终端设备支持的QoS能力用于告知上述网络设备终端设备支持的QoS信息的最大数量。上述网络设备根据第四指示信息释放上述会话的QoS信息中的部分QoS信息。上述网络设备向终端设备发送会话修改响应消息,终端设备接收网络设备发送的会话修改响应消息。The terminal device switches from the first communication system to the second communication system. If the QoS information of the session established by the terminal device in the first communication system exceeds the preset QoS quantity of the second communication system, the terminal device retains part of the QoS information in the QoS information of the session according to the preset QoS quantity. The terminal device sends a session modification request message to the 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 the fourth indication information and the QoS capabilities supported by the terminal device. The fourth indication The information is used to indicate that the terminal device does not retain some QoS information in the QoS information of the session, and the QoS capability supported by the terminal device is used to inform the network device of the maximum number of QoS information supported by the terminal device. The network device releases part of the QoS information in the QoS information of the session according to the fourth instruction information. The above 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.
可以理解,终端设备支持的QoS能力用于告知上述网络设备终端设备支持的QoS信息的最大数量,从而保证在后续的会话修改流程中,网络设备下发的QoS信息不会超过设备支持的QoS能力。It can be understood that the QoS capability supported by the terminal device is used to inform the above-mentioned network device of the maximum amount of QoS information supported by the terminal device, so as to ensure that in the subsequent session modification process, the QoS information delivered by the network device will not exceed the QoS capability supported by the device .
参见图10,图10示出了本发明实施例提供的另一种终端设备的结构示意图。如图10所示,终端设备700可包括:第一发送单元701、保留单元702和第一接收单元703。其中:Referring to FIG. 10, FIG. 10 shows a schematic structural diagram of another terminal device according to an embodiment of the present invention. As shown in FIG. 10, the terminal device 700 may include: a first sending unit 701, a reservation unit 702, and a first receiving unit 703. among them:
第一发送单元701,用于向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话。The first sending unit 701 is configured to send a session establishment request message to the network device, and the session establishment request message is used to request establishment of a session.
第一接收单元703,用于接收网络设备发送的会话建立响应消息,会话建立响应消息中携带会话的QoS信息。The first receiving unit 703 is configured to receive a session establishment response message sent by a network device, and the session establishment response message carries session QoS information.
保留单元702,用于当上述会话的QoS信息超出终端设备支持的QoS能力时,根据终端设备支持的QoS能力保留上述会话的QoS信息中的部分QoS信息。The reservation unit 702 is configured to reserve part of the 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.
第一发送单元701,还用于向网络设备发送会话修改请求消息,会话修改请求消息包括第一指示信息,第一指示信息用于指示处理器在上述会话的QoS信息中未保留的部分QoS信息。The first sending unit 701 is further configured to send a session modification request message to the network device. The session modification request message includes first indication information, and the first indication information is used to indicate a part of QoS information that the processor does not retain in the QoS information of the session .
可选的,上述保留单元702保留上述会话的QoS信息中的部分QoS信息,包括以下之一或组合:保留上述会话的QoS信息中的默认Qos规则和默认Qos规则对应的Qos流;优先保留上述会话的QoS信息中的保证比特速率的Qos流、保证比特速率的Qos规则和/或保证比特速率的Qos规则包含的包过滤器;优先保留上述会话的QoS信息中的优先级高的Qos流、优先级高的Qos规则和/或优先级高的Qos规则包含的包过滤器。Optionally, the reservation unit 702 retains part of the QoS information in the QoS information of the session, including one or a combination of: retaining the default Qos rule and the Qos flow corresponding to the default Qos rule in the QoS information of the session; preferentially retaining the above The Qos flow with guaranteed bit rate, the Qos rule with guaranteed bit rate and/or the packet filter included with the Qos rule with guaranteed bit rate in the QoS information of the session; the Qos flow with a higher priority in the QoS information of the above session is preferentially retained, The packet filter included in the Qos rule with high priority and/or the Qos rule with high priority.
可选的,会话修改请求消息还包括第二指示信息,第二指示信息用于指示终端设备Qos能力不足。Optionally, the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
可选的,第二指示信息为#26 insufficient resources。Optionally, the second indication information is #26 insufficient resources.
可选的,上述终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。Optionally, the QoS capabilities supported by the terminal device include one or a 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; the packet filter in the QoS rules supported by the terminal device maximum quantity.
可选的,其特征在于,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。Optionally, it is characterized in that 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 contains one or more Packet filters.
可选的,网络设备为SMF,上述第一发送单元701向网络设备发送会话建立请求消息,包括:第一发送单元701通过AMF向SMF发送会话建立请求消息。Optionally, the network device is an SMF, and the above-mentioned first sending unit 701 sends a session establishment request message to the network device, including: the first sending unit 701 sends a session establishment request message to the SMF through the AMF.
可选的,网络设备为SMF,上述第一接收单元703接收网络设备发送的会话建立响应消息,包括:第一接收单元703通过AMF接收SMF发送的会话建立响应消息。Optionally, the network device is an SMF, and the above-mentioned first receiving unit 703 receives the session establishment response message sent by the network device, including: the first receiving unit 703 receives the session establishment response message sent by the SMF through the AMF.
可选的,网络设备为SMF,上述第一发送单元701向网络设备发送会话修改请求消息,包括:第一发送单元701通过AMF向SMF发送会话建立请求消息。Optionally, the network device is an SMF, and the above-mentioned first sending unit 701 sends a session modification request message to the network device, including: the first sending unit 701 sends a session establishment request message to the SMF through the AMF.
参见图11,图11示出了本发明实施例提供的另一种终端设备的结构示意图。如图10所示,终端设备800可包括:第二发送单元801和第二接收单元802。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 device 800 may include: a second sending unit 801 and a second receiving unit 802.
第二发送单元801,用于向网络设备发送会话建立请求消息,会话建立请求消息用于请 求建立会话,会话建立请求消息中不携带终端支持的QoS能力;第二接收单元802,用于接收网络设备发送的会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的。The second sending unit 801 is used to send a session establishment request message to the network device. The session establishment request message is used to request session establishment, and the session establishment request message does not carry the QoS capabilities supported by the terminal; the second receiving unit 802 is used to receive the network The session establishment response message sent by the device carries the session QoS information. The session QoS information is determined by the network device according to a preset number of QoS.
或者,第二发送单元801,用于向网络设备发送会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中携带终端支持的QoS能力;第二接收单元802,用于接收网络设备发送的会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备根据终端支持的QoS能力确定的。Or, the second sending unit 801 is used to send a session establishment request message to the network device, the session establishment request message is used to request the establishment of a session, and the session establishment request message carries the QoS capabilities supported by the terminal; the second receiving unit 802 is used to receive The session establishment response message sent by the network device. The session establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
可选的,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。Optionally, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal. When the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity, the session The establishment request message does not carry the QoS capabilities supported by the terminal.
可选的,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。Optionally, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capabilities supported by the network device, the QoS information of the session is based on the network device The minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device and the QoS capability supported by the terminal device is determined; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the above session is the network The device is determined according to the preset number of QoS, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
可选的,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。Optionally, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is based on the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the preset The minimum value of the number of QoS is determined.
可选的,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。Optionally, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
可选的,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。Optionally, the above 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 includes one or more packet filters .
可选的,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。Optionally, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
可选的,网络设备为SMF,第二发送单元801向网络设备发送会话建立请求消息,包括:第二发送单元801通过AMF向SMF发送会话建立请求消息。Optionally, the network device is SMF, and the second sending unit 801 sends the session establishment request message to the network device, including: the second sending unit 801 sends the session establishment request message to the SMF through the AMF.
可选的,网络设备为SMF,第二接收单元802接收网络设备发送的会话建立响应消息,包括:第二接收单元802通过AMF接收SMF发送的会话建立响应消息。Optionally, the network device is SMF, and the second receiving unit 802 receives the session establishment response message sent by the network device, including: the second receiving unit 802 receives the session establishment response message sent by the SMF through AMF.
可选的,网络设备为SMF,上述会话的QoS信息是SMF根据终端设备支持的QoS能力和终端设备对应的用户签约信息确定的,用户签约信息是SMF通过UDM中获取的。Optionally, the network device is SMF, and the QoS information of the session is determined by the SMF according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device. The user subscription information is obtained by SMF through UDM.
参见图12,图12示出了本发明实施例提供的另一种终端设备的结构示意图。如图12所示,终端设备900可包括:第三接收单元901和第三发送单元902。Referring to FIG. 12, FIG. 12 shows a schematic structural diagram of another terminal device according to an embodiment of the present invention. As shown in FIG. 12, the terminal device 900 may include: a third receiving unit 901 and a third sending unit 902.
第三接收单元901,用于接收终端设备发送的会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中不携带终端支持的QoS能力;第三发送单元902,用于向终端设备发送会话建立响应消息,会话建立响应消息中携带会话的QoS信息,上述会话的QoS信息是网络设备根据预设的QoS数量确定的;The third receiving unit 901 is used to receive the session establishment request message sent by the terminal device. The session establishment request message is used to request the session establishment. The session establishment request message does not carry the QoS capability supported by the terminal; the third sending unit 902 is used to send The terminal device sends a session establishment response message, and the session establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to a preset number of QoS;
或者,第三接收单元901,用于接收终端设备发送的会话建立请求消息,会话建立请求消息用于请求建立会话,会话建立请求消息中携带终端支持的QoS能力;第三发送单元902, 用于向终端设备发送会话建立响应消息,会话建立响应消息中携带上述会话的QoS信息,上述会话的QoS信息是网络设备根据终端支持的QoS能力确定的。Or, the third receiving unit 901 is used to receive a session establishment request message sent by the terminal device, the session establishment request message is used to request establishment of a session, and the session establishment request message carries the QoS capabilities supported by the terminal; the third sending unit 902 is used to Send a session establishment response message to the terminal device. The session establishment response message carries the QoS information of the session. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal.
可选的,当终端设备自身支持的QoS能力大于预设的QoS数量时,会话建立请求消息中携带终端支持的QoS能力,当终端设备自身支持的QoS能力小于等于预设的QoS数量时,会话建立请求消息中不携带终端支持的QoS能力。Optionally, when the QoS capability supported by the terminal device is greater than the preset QoS quantity, the session establishment request message carries the QoS capability supported by the terminal. When the QoS capability supported by the terminal device itself is less than or equal to the preset QoS quantity, the session The establishment request message does not carry the QoS capabilities supported by the terminal.
可选的,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力确定的,包括:若终端设备支持的QoS能力小于等于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的;若终端支持的QoS能力大于网络设备支持的QoS能力,则上述会话的QoS信息是网络设备根据预设的QoS数量、终端设备对应的用户签约信息和终端设备支持的QoS能力中的最小值确定的。Optionally, the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including: If the QoS capability supported by the terminal device is less than or equal to the QoS capabilities supported by the network device, the QoS information of the session is based on the network device The minimum value of the QoS capability supported by the network device, the user subscription information corresponding to the terminal device and the QoS capability supported by the terminal device is determined; if the QoS capability supported by the terminal is greater than the QoS capability supported by the network device, the QoS information of the above session is the network The device is determined according to the preset number of QoS, the user subscription information corresponding to the terminal device, and the minimum value of the QoS capabilities supported by the terminal device.
可选的,上述会话的QoS信息是网络设备根据预设的QoS数量确定的,包括:上述会话的QoS信息是网络设备根据网络设备支持的QoS能力、终端设备对应的用户签约信息和预设的QoS数量中的最小值确定的。Optionally, the QoS information of the session is determined by the network device according to a preset number of QoS, including: The QoS information of the session is based on the QoS capability supported by the network device, the user subscription information corresponding to the terminal device, and the preset The minimum value of the number of QoS is determined.
可选的,会话建立请求消息中携带的终端设备支持的QoS能力包括以下之一或组合:终端设备支持的QoS流的最大数量;终端设备支持的QoS规则的最大数量;终端设备支持的QoS规则中的包过滤器的最大数量。Optionally, the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of: the maximum number of QoS flows supported by the terminal device; the maximum number of QoS rules supported by the terminal device; the QoS rules supported by the terminal device The maximum number of packet filters in.
可选的,上述QoS信息包括以下内容之一或组合:一个或多个QoS流;一个或多个QoS规则,一个或多个QoS规则中的每个QoS规则中包含一个或多个包过滤器。Optionally, the above 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 includes one or more packet filters .
可选的,预设的QoS数量包括以下参数之一或组合:预设的QoS流的数量;预设的QoS规则的数量;预设的包过滤器的数量。Optionally, the preset number of QoS includes one or a combination of the following parameters: the preset number of QoS flows; the preset number of QoS rules; and the preset number of packet filters.
可选的,网络设备为SMF,第三接收单元901接收终端设备发送的会话建立请求消息,包括:第三接收单元901通过AMF接收SMF发送的会话建立请求消息。Optionally, the network device is SMF, and the third receiving unit 901 receives the session establishment request message sent by the terminal device, including: the third receiving unit 901 receives the session establishment request message sent by SMF through AMF.
可选的,网络设备为SMF,第三发送单元902向终端设备发送会话建立响应消息,包括:第三发送单元902通过AMF向终端设备发送会话建立响应消息。Optionally, the network device is SMF, and the third sending unit 902 sends the session establishment response message to the terminal device, including: the third sending unit 902 sends the session establishment response message to the terminal device through the AMF.
可选的,网络设备为SMF,SMF还包括获取单元,上述会话的QoS信息是网络设备根据终端设备支持的QoS能力和终端设备对应的用户签约信息确定的,用户签约信息是获取单元通过UDM中获取的。Optionally, the network device is SMF, and the SMF further includes an acquisition unit. The QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device and the user subscription information corresponding to the terminal device. The user subscription information is obtained by the acquisition unit through UDM Acquired.
参见图13,图13示出了本发明提供的一种通信芯片的结构示意图。如图13所示,通信芯片1000可包括:处理器1001,以及耦合于处理器1001的一个或多个接口1002。其中:Referring to FIG. 13, FIG. 13 shows a schematic structural diagram of a communication chip provided by 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. among them:
处理器1001可用于读取和执行计算机可读指令。具体实现中,处理器1001可主要包括控制器、运算器和寄存器。其中,控制器主要负责指令译码,并为指令对应的操作发出控制信号。运算器主要负责执行定点或浮点算数运算操作、移位操作以及逻辑操作等,也可以执行地址运算和转换。寄存器主要负责保存指令执行过程中临时存放的寄存器操作数和中间操作结果等。具体实现中,处理器1001的硬件架构可以是专用集成电路(application specific integrated circuits,ASIC)架构、MIPS架构、ARM架构或者NP架构等等。处理器1001可以是单核的,也可以是多核的。The processor 1001 may be used to read and execute computer-readable instructions. In a specific implementation, the processor 1001 may mainly include a controller, an arithmetic unit, and a register. Among them, the controller is mainly responsible for instruction decoding and issues control signals for the operations corresponding to the instructions. The arithmetic unit is mainly responsible for performing fixed-point or floating-point arithmetic operations, shift operations, and logical operations, and can also perform address operations and conversions. The register is mainly responsible for saving the register operand and intermediate operation result temporarily stored during the execution of the instruction. In a specific implementation, the hardware architecture of the processor 1001 may be an application-specific integrated circuit (application specific integrated circuits, ASIC) architecture, a MIPS architecture, an ARM architecture, an NP architecture, or the like. The processor 1001 may be single-core or multi-core.
接口1002可用于输入待处理的数据至处理器1001,并且可以向外输出处理器1001的处理结果。具体实现中,接口1002可以是通用输入输出(general purpose input output,GPIO)接口,可以和多个外围设备(如显示器(LCD)、摄像头(camara)、射频(radio frequency, RF)模块等等)连接。接口1002通过总线1003与处理器1001相连。The interface 1002 can be used to input data to be processed to the processor 1001, and can output the processing result of the processor 1001 to the outside. In a specific implementation, the interface 1002 may be a general input/output (GPIO) interface, which may be connected to multiple peripheral devices (such as a display (LCD), a camera (camara), a radio frequency (radio frequency, RF) module, etc.) connection. The interface 1002 is connected to the processor 1001 through a bus 1003.
本发明中,处理器1001可用于从存储器中调用本发明的一个或多个实施例提供的会话管理方法在通信设备侧的实现程序,并执行该程序包含的指令。接口1002可用于输出处理器1001的执行结果。本发明中,接口1002可具体用于输出处理器1001的资源分配结果。关于本发明的一个或多个实施例提供的会话管理方法可参考前述各个实施例,这里不再赘述。In the present invention, the processor 1001 may be used to call a program for implementing the session management method provided by one or more embodiments of the present invention on the communication device side from the memory, and execute the instructions contained in the program. The interface 1002 may be used to output the execution result of the processor 1001. In the present invention, the interface 1002 may be specifically used to output the resource allocation result of the processor 1001. For the session management method provided by one or more embodiments of the present invention, reference may be made to the foregoing embodiments, and details are not described herein again.
需要说明的,处理器1001、接口1002各自对应的功能既可以通过硬件设计实现,也可以通过软件设计来实现,还可以通过软硬件结合的方式来实现,这里不作限制。It should be noted that the corresponding functions of the processor 1001 and the interface 1002 can be implemented by hardware design, software design, or a combination of software and hardware, which is not limited herein.
结合本发明实施例公开内容所描述的方法或者算法的步骤可以硬件的方式来实现,也可以是由处理器执行软件指令的方式来实现。软件指令可以由相应的软件模块组成,软件模块可以被存放于RAM、闪存、ROM、可擦除可编程只读存储器(erasable programmable rom,EPROM)、电可擦可编程只读存储器(electrically eprom,EEPROM)、寄存器、硬盘、移动硬盘、只读光盘(CD-ROM)或者本领域熟知的任何其它形式的存储介质中。一种示例性的存储介质耦合至处理器,从而使处理器能够从该存储介质读取信息,且可向该存储介质写入信息。当然,存储介质也可以是处理器的组成部分。处理器和存储介质可以位于ASIC中。另外,该ASIC可以位于收发机或中继设备中。当然,处理器和存储介质也可以作为分立组件存在于无线接入网设备或终端设备中。The steps of the method or algorithm described in conjunction with the disclosure of the embodiments of the present invention may be implemented by hardware, or by a processor executing software instructions. Software instructions can be composed of corresponding software modules, which can be stored in RAM, flash memory, ROM, erasable programmable read only memory (erasable programmable rom, EPROM), electrically erasable programmable read only memory (electrically eraprom, EEPROM), registers, hard drives, removable hard drives, read-only compact discs (CD-ROM), or any other form of storage medium well known in the art. An exemplary storage medium is coupled to the processor so that the processor can read information from the storage medium and can write information to the storage medium. Of course, the storage medium may also be a component of the processor. The processor and the storage medium may be located in the ASIC. In addition, the ASIC may be located in a transceiver or a relay device. Of course, the processor and the storage medium may also exist as discrete components in the radio access network device or terminal device.
本领域技术人员应该可以意识到,在上述一个或多个示例中,本发明实施例所描述的功能可以用硬件、软件、固件或它们的任意组合来实现。当使用软件实现时,可以将这些功能存储在计算机可读介质中或者作为计算机可读介质上的一个或多个指令或代码进行传输。计算机可读介质包括计算机存储介质和通信介质,其中通信介质包括便于从一个地方向另一个地方传送计算机程序的任何介质。存储介质可以是通用或专用计算机能够存取的任何可用介质。Those skilled in the art should be aware that in the above one or more examples, the functions described in the embodiments of the present invention may be implemented by hardware, software, firmware, or any combination thereof. When implemented in software, these functions can be stored in a computer-readable medium or transmitted as one or more instructions or code on a computer-readable medium. Computer-readable media includes computer storage media and communication media, where communication media includes any medium that facilitates transfer of a computer program from one place to another. The storage medium may be any available medium that can be accessed by a general-purpose or special-purpose computer.
以上的具体实施方式,对本发明实施例的目的、技术方案和有益效果进行了进一步详细说明,所应理解的是,以上仅为本发明实施例的具体实施方式而已,并不用于限定本发明实施例的保护范围,凡在本发明实施例的技术方案的基础之上,所做的任何修改、等同替换、改进等,均应包括在本发明实施例的保护范围之内。The above specific embodiments further describe the objectives, technical solutions, and beneficial effects of the embodiments of the present invention in detail. It should be understood that the above are only specific implementations of the embodiments of the present invention, and are not intended to limit the implementation of the present invention. The protection scope of the examples shall be included in the protection scope of the embodiments of the present invention on the basis of the technical solutions of the embodiments of the present invention, and any modifications, equivalent replacements, improvements, etc. made.

Claims (20)

  1. 一种终端设备,其特征在于,包括:处理器、存储器和收发器;所述收发器用于与其他通信设备通信;所述存储器用于存储程序代码和数据;所述处理器用于调用所述存储器中的程序代码执行如下操作:A terminal device, comprising: a processor, a memory, and a transceiver; the transceiver is used to communicate with other communication devices; the memory is used to store program codes and data; and the processor is used to call the memory The program code in performs the following operations:
    通过所述收发器向网络设备发送会话建立请求消息,所述会话建立请求消息用于请求建立会话;Sending a session establishment request message to the network device through the transceiver, where the session establishment request message is used to request the establishment of a session;
    通过所述收发器接收所述网络设备发送的会话建立响应消息,所述会话建立响应消息中携带所述会话的服务质量QoS信息;Receiving, by the transceiver, a session establishment response message sent by the network device, where the session establishment response message carries the quality of service QoS information of the session;
    当所述会话的QoS信息超出所述终端设备支持的QoS能力时,根据所述终端设备支持的QoS能力保留所述会话的QoS信息中的部分QoS信息;When the QoS information of the session exceeds the QoS capabilities supported by the terminal device, retain part of the QoS information in the QoS information of the session according to the QoS capabilities supported by the terminal device;
    通过所述收发器向所述网络设备发送会话修改请求消息,所述会话修改请求消息包括第一指示信息,所述第一指示信息用于指示所述处理器在所述会话的QoS信息中未保留的部分QoS信息。Sending a session modification request message to the network device through the transceiver, where the session modification request message includes first indication information, and the first indication information is used to indicate that the processor does not include in the QoS information of the session Some reserved QoS information.
  2. 根据权利要求1所述的终端设备,其特征在于,所述保留所述会话的QoS信息中的部分QoS信息,包括以下之一或组合:The terminal device according to claim 1, wherein part of the QoS information in the QoS information for retaining the session includes one or a combination of the following:
    保留所述会话的QoS信息中的默认Qos规则和默认Qos规则对应的Qos流;Retaining the default Qos rule in the QoS information of the session and the Qos flow corresponding to the default Qos rule;
    优先保留所述会话的QoS信息中的保证比特速率的所述Qos流、保证比特速率的所述Qos规则和/或保证比特速率的所述Qos规则包含的包过滤器;Preferentially retaining the Qos flow of the guaranteed bit rate, the Qos rule of the guaranteed bit rate and/or the packet filter included in the Qos rule of the guaranteed bit rate in the QoS information of the session;
    优先保留所述会话的QoS信息中的优先级高的所述Qos流、优先级高的所述Qos规则和/或优先级高的所述Qos规则包含的包过滤器。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 is preferentially reserved in the QoS information of the session.
  3. 根据权利要求1或2所述的终端设备,其特征在于,所述会话修改请求消息还包括第二指示信息,所述第二指示信息用于指示所述终端设备Qos能力不足。The terminal device according to claim 1 or 2, wherein the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  4. 根据权利要求1至3任一项所述的终端设备,其特征在于,所述终端设备支持的QoS能力包括以下之一或组合:The terminal device according to any one of claims 1 to 3, wherein the QoS capabilities supported by the terminal device include one or a combination of the following:
    所述终端设备支持的QoS流的最大数量;The maximum number of QoS flows supported by the terminal device;
    所述终端设备支持的QoS规则的最大数量;The maximum number of QoS rules supported by the terminal device;
    所述终端设备支持的QoS规则中的包过滤器的最大数量。The maximum number of packet filters in the QoS rules supported by the terminal device.
  5. 根据权利要求1至4任一项所述的终端设备,其特征在于,所述QoS信息包括以下内容之一或组合:The terminal device according to any one of claims 1 to 4, wherein the QoS information includes one or a combination of the following:
    一个或多个所述QoS流;One or more of the QoS flows;
    一个或多个所述QoS规则,所述一个或多个所述QoS规则中的每个QoS规则中包含一个或多个所述包过滤器。One or more of the QoS rules, and each of the one or more of the QoS rules includes one or more of the packet filters.
  6. 一种会话管理系统,其特征在于,所述系统包括:终端设备和网络设备;A session management system, characterized in that the system includes: terminal equipment and network equipment;
    所述终端设备配置为向所述网络设备发送会话建立请求消息,所述会话建立请求消息用于请求建立会话;The terminal device is configured to send a session establishment request message to the network device, and the session establishment request message is used to request the establishment of a session;
    所述网络设备配置为向所述终端设备发送会话建立响应消息,所述会话建立响应消息中携带所述会话的服务质量QoS信息;The network device is configured to send a session establishment response message to the terminal device, where the session establishment response message carries the quality of service QoS information of the session;
    所述终端设备配置为当所述会话的QoS信息超出所述终端设备支持的QoS能力时,根据所述终端设备支持的QoS能力保留所述会话的QoS信息中的部分QoS信息;The terminal device is configured to retain part of the QoS information in the QoS information of the session according to the QoS capabilities supported by the terminal device when the QoS information of the session exceeds the QoS capabilities supported by the terminal device;
    所述终端设备配置为向所述网络设备发送会话修改请求消息,所述会话修改请求消息包括第一指示信息,所述第一指示信息用于指示所述终端设备在所述会话的QoS信息中未保留的部分QoS信息;The terminal device is configured to send a session modification request message to the network device, the session modification request message includes first indication information, and the first indication information is used to indicate that the terminal device is in the QoS information of the session Some unreserved QoS information;
    所述网络设备配置为根据所述第一指示信息释放所述会话的QoS信息中的部分QoS信息。The network device is configured to release part of the QoS information in the QoS information of the session according to the first indication information.
  7. 根据权利要求6所述的系统,其特征在于,所述保留所述会话的QoS信息中的部分QoS信息,包括以下之一或组合:The system according to claim 6, wherein the part of the QoS information in the QoS information for retaining the session includes one or a combination of the following:
    保留所述会话的QoS信息中的默认Qos规则和默认Qos规则对应的Qos流;Retaining the default Qos rule in the QoS information of the session and the Qos flow corresponding to the default Qos rule;
    优先保留所述会话的QoS信息中的保证比特速率的所述Qos流、保证比特速率的所述Qos规则和/或保证比特速率的所述Qos规则包含的包过滤器;Preferentially retaining the Qos flow of the guaranteed bit rate, the Qos rule of the guaranteed bit rate and/or the packet filter included in the Qos rule of the guaranteed bit rate in the QoS information of the session;
    优先保留所述会话的QoS信息中的优先级高的所述Qos流、优先级高的所述Qos规则和/或优先级高的所述Qos规则包含的包过滤器。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 is preferentially reserved in the QoS information of the session.
  8. 根据权利要求6或7所述的系统,其特征在于,所述会话修改请求消息还包括第二指示信息,所述第二指示信息用于指示所述终端设备Qos能力不足。The system according to claim 6 or 7, wherein the session modification request message further includes second indication information, and the second indication information is used to indicate that the terminal device has insufficient Qos capability.
  9. 根据权利要求6至8任一项所述的系统,其特征在于,所述终端设备支持的QoS能力包括以下之一或组合:The system according to any one of claims 6 to 8, wherein the QoS capabilities supported by the terminal device include one or a combination of the following:
    所述终端设备支持的QoS流的最大数量;The maximum number of QoS flows supported by the terminal device;
    所述终端设备支持的QoS规则的最大数量;The maximum number of QoS rules supported by the terminal device;
    所述终端设备支持的QoS规则中的包过滤器的最大数量。The maximum number of packet filters in the QoS rules supported by the terminal device.
  10. 根据权利要求6至9任一项所述的系统,其特征在于,所述QoS信息包括以下内容之一或组合:The system according to any one of claims 6 to 9, wherein the QoS information includes one or a combination of the following:
    一个或多个所述QoS流;One or more of the QoS flows;
    一个或多个所述QoS规则,所述一个或多个所述QoS规则中的每个QoS规则中包含一个或多个所述包过滤器。One or more of the QoS rules, and each of the one or more of the QoS rules includes one or more of the packet filters.
  11. 一种会话管理系统,其特征在于,所述系统包括:终端设备和网络设备;A session management system, characterized in that the system includes: terminal equipment and network equipment;
    所述终端设备配置为向所述网络设备发送会话建立请求消息,所述会话建立请求消息用于请求建立会话,所述会话建立请求消息中不携带所述终端支持的服务质量QoS能力;The terminal device is configured to send a session establishment request message to the network device, the session establishment request message is used to request to establish a session, and the session establishment request message does not carry the quality of service QoS capabilities supported by the terminal;
    所述网络设备配置为向所述终端设备发送会话建立响应消息,所述会话建立响应消息中携带所述会话的QoS信息,所述会话的QoS信息是所述网络设备根据预设的QoS数量确定的;The network device is configured to send a session establishment response message to the terminal device, 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 a preset number of QoS of;
    或者,or,
    所述终端设备配置为向所述网络设备发送会话建立请求消息,所述会话建立请求消息用于请求建立会话,所述会话建立请求消息中携带所述终端支持的QoS能力;The terminal device is configured to send a session establishment request message to the network device, 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;
    所述网络设备配置为向所述终端设备发送会话建立响应消息,所述会话建立响应消息中携带所述会话的QoS信息,所述会话的QoS信息是所述网络设备根据所述终端支持的QoS能力确定的。The network device is 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 the QoS supported by the network device according to the terminal Ability to determine.
  12. 根据权利要求11所述的系统,其特征在于,当所述终端设备自身支持的QoS能力大于所述预设的QoS数量时,所述会话建立请求消息中携带所述终端支持的QoS能力,当所述终端设备自身支持的QoS能力小于等于所述预设的QoS数量时,所述会话建立请求消息中不携带所述终端支持的QoS能力。The system according to claim 11, wherein 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 when 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.
  13. 根据权利要求11或12所述的系统,其特征在于,所述会话的QoS信息是所述网络 设备根据所述终端设备支持的QoS能力确定的,包括:The system according to claim 11 or 12, wherein the QoS information of the session is determined by the network device according to the QoS capabilities supported by the terminal device, including:
    若所述终端设备支持的QoS能力小于等于所述网络设备支持的QoS能力,则所述会话的QoS信息是所述网络设备根据所述网络设备支持的QoS能力、所述终端设备对应的用户签约信息和所述终端设备支持的QoS能力中的最小值确定的;If the QoS capability supported by the terminal device is less than or equal to the QoS capability supported by the network device, the QoS information of the session is that the network device subscribes to the user corresponding to the terminal device according to the QoS capability supported by the network device The minimum value of the information and the QoS capability supported by the terminal device is determined;
    若所述终端支持的QoS能力大于所述网络设备支持的QoS能力,则所述会话的QoS信息是所述网络设备根据所述预设的QoS数量、所述终端设备对应的用户签约信息和所述终端设备支持的QoS能力中的最小值确定的。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 the network device according to the preset number of QoS, the user subscription information corresponding to the terminal device and the The minimum value of the QoS capabilities supported by the terminal equipment is determined.
  14. 根据权利要求11至13任一项所述的系统,其特征在于,所述会话的QoS信息是所述网络设备根据预设的QoS数量确定的,包括:The system according to any one of claims 11 to 13, wherein the QoS information of the session is determined by the network device according to a preset number of QoS, including:
    所述会话的QoS信息是所述网络设备根据所述网络设备支持的QoS能力、所述终端设备对应的用户签约信息和所述预设的QoS数量中的最小值确定的。The QoS information of the session is determined by the network device according to the minimum value among the QoS capabilities supported by the network device, the user subscription information corresponding to the terminal device, and the preset number of QoS.
  15. 根据权利要求11至14任一项所述的系统,其特征在于,所述会话建立请求消息中携带的所述终端设备支持的QoS能力包括以下之一或组合:The system according to any one of claims 11 to 14, wherein the QoS capabilities supported by the terminal device carried in the session establishment request message include one or a combination of the following:
    所述终端设备支持的QoS流的最大数量;The maximum number of QoS flows supported by the terminal device;
    所述终端设备支持的QoS规则的最大数量;The maximum number of QoS rules supported by the terminal device;
    所述终端设备支持的QoS规则中的包过滤器的最大数量。The maximum number of packet filters in the QoS rules supported by the terminal device.
  16. 根据权利要求11至15任一项所述的系统,其特征在于,所述QoS信息包括以下内容之一或组合:The system according to any one of claims 11 to 15, wherein the QoS information includes one or a combination of the following:
    一个或多个所述QoS流;One or more of the QoS flows;
    一个或多个所述QoS规则,所述一个或多个所述QoS规则中的每个QoS规则中包含一个或多个所述包过滤器。One or more of the QoS rules, and each of the one or more of the QoS rules includes one or more of the packet filters.
  17. 根据权利要求11至16任一项所述的系统,其特征在于,所述预设的QoS数量包括以下参数之一或组合:The system according to any one of claims 11 to 16, wherein the preset number of QoS includes one or a combination of the following parameters:
    预设的所述QoS流的数量;The preset number of the QoS flows;
    预设的所述QoS规则的数量;The preset number of the QoS rules;
    预设的所述包过滤器的数量。The preset number of the packet filters.
  18. 根据权利要求11至17任一项所述的系统,其特征在于,所述网络设备为会话管理功能SMF设备,所述系统还包括接入和移动性管理功能AMF设备,所述终端设备配置为向所述网络设备发送会话建立请求消息,包括:The system according to any one of claims 11 to 17, wherein the network device is a session management function SMF device, the system further includes an access and mobility management function AMF device, and the terminal device is configured as Sending a session establishment request message to the network device, including:
    所述终端设备配置为向所述AMF发送所述会话建立请求消息;The terminal device is configured to send the session establishment request message to the AMF;
    所述AMF配置为将所述会话建立请求消息发送至所述SMF。The AMF is configured to send the session establishment request message to the SMF.
  19. 根据权利要求11至18任一项所述的系统,其特征在于,所述网络设备为所述SMF,所述系统还包括所述AMF,所述网络设备配置为向所述终端设备发送会话建立响应消息,包括:The system according to any one of claims 11 to 18, wherein the network device is the SMF, the system further includes the AMF, and the network device is configured to send session establishment to the terminal device Response message, including:
    所述SMF配置为向所述AMF发送所述会话建立响应消息;The SMF is configured to send the session establishment response message to the AMF;
    所述AMF配置为将所述会话建立响应消息发送至所述终端设备。The AMF is configured to send the session establishment response message to the terminal device.
  20. 根据权利要求11至19任一项所述的系统,其特征在于,所述网络设备为所述SMF,所述系统还包括统一数据管理UDM设备,其中,The system according to any one of claims 11 to 19, wherein the network device is the SMF, and the system further includes a unified data management UDM device, wherein,
    所述SMF配置为向所述UDM发送获取请求,所述获取请求用于获取所述终端设备对应的用户签约信息;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;
    所述UDM配置为向所述SMF发送所述用户签约信息。The UDM is configured to send the user subscription information to the SMF.
PCT/CN2019/119474 2018-11-26 2019-11-19 Session management device and system WO2020108350A1 (en)

Applications Claiming Priority (6)

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

Publications (1)

Publication Number Publication Date
WO2020108350A1 true WO2020108350A1 (en) 2020-06-04

Family

ID=70827493

Family Applications (1)

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

Country Status (2)

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

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519583A (en) * 2013-09-27 2015-04-15 上海贝尔股份有限公司 Method, device and system for performing data transmission and processing through double connection
WO2016165307A1 (en) * 2015-04-13 2016-10-20 中兴通讯股份有限公司 Method for deciding quality of service (qos), network side network element and system
CN106162903A (en) * 2015-04-15 2016-11-23 中国移动通信集团公司 A kind of on-demand method and apparatus calling QoS ability

Family Cites Families (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10728952B2 (en) * 2017-01-09 2020-07-28 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
KR20190088536A (en) * 2017-05-09 2019-07-26 후아웨이 테크놀러지 컴퍼니 리미티드 Session management method, terminal, and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104519583A (en) * 2013-09-27 2015-04-15 上海贝尔股份有限公司 Method, device and system for performing data transmission and processing through double connection
WO2016165307A1 (en) * 2015-04-13 2016-10-20 中兴通讯股份有限公司 Method for deciding quality of service (qos), network side network element and system
CN106162903A (en) * 2015-04-15 2016-11-23 中国移动通信集团公司 A kind of on-demand method and apparatus calling QoS ability

Non-Patent Citations (2)

* Cited by examiner, † Cited by third party
Title
3GPP: "3rd Generation Partnership Project; Technical Specification Group Radio Access Network; NG-RAN; NG Application", 3GPP TS 38.413 V15.1.0, 30 September 2018 (2018-09-30), DOI: 20200213135736Y *
HUAWEI ET AL.: "[Offline 104] TP on QoS parameters and signaling for backhaul bearer setup", 3GPP TSG-RAN WG2#104, R2-1818745, 16 November 2018 (2018-11-16), XP051495011, DOI: 20200213135949A *

Also Published As

Publication number Publication date
CN111225452B (en) 2022-08-19
CN111225452A (en) 2020-06-02

Similar Documents

Publication Publication Date Title
JP7183416B2 (en) Time-dependent networking communication method and apparatus
CN110557786B (en) Method and device for establishing radio bearer and monitoring service flow
WO2020001572A1 (en) Communication method and apparatus
US20220060935A1 (en) Communications Method and Apparatus
CN114073043B (en) Method and device for managing Ethernet bridge ports
CN109392024B (en) Method for controlling service quality flow and related equipment
US20210092792A1 (en) Communication method and apparatus
JP7177259B2 (en) Data transmission method and device
JP2022191337A (en) Quality-of-service monitoring method, system and device
WO2021032131A1 (en) User plane information reporting method and apparatus
WO2020073159A1 (en) Notification control in a communication system
WO2022016948A1 (en) Communication method and apparatus
WO2018233451A1 (en) Communication method, apparatus, and system
WO2019096306A1 (en) Request processing method, and corresponding entity
CN113162788A (en) Method and communication device for transmitting report information and communication system
CN114286394A (en) Data transmission method and device
EP3595345A1 (en) Control plane connection management method and device
WO2022047803A1 (en) Communication method and apparatus
WO2023143177A1 (en) Communication methods and communication apparatuses
WO2020108350A1 (en) Session management device and system
KR102168177B1 (en) Network function and method for processing packet using the same
WO2021004393A1 (en) Method and device for supporting port control
WO2020029747A1 (en) Radio resource control (rrc) connection establishment method and related device
WO2024032603A1 (en) Communication method and apparatus
WO2023212940A1 (en) Time delay difference information reporting method and apparatus, device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 19891378

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

122 Ep: pct application non-entry in european phase

Ref document number: 19891378

Country of ref document: EP

Kind code of ref document: A1