WO2021022460A1 - 一种会话验证方法、电子设备及存储介质 - Google Patents

一种会话验证方法、电子设备及存储介质 Download PDF

Info

Publication number
WO2021022460A1
WO2021022460A1 PCT/CN2019/099318 CN2019099318W WO2021022460A1 WO 2021022460 A1 WO2021022460 A1 WO 2021022460A1 CN 2019099318 W CN2019099318 W CN 2019099318W WO 2021022460 A1 WO2021022460 A1 WO 2021022460A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
rsd
entity
terminal device
ursp
Prior art date
Application number
PCT/CN2019/099318
Other languages
English (en)
French (fr)
Inventor
杨皓睿
许阳
Original Assignee
Oppo广东移动通信有限公司
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 Oppo广东移动通信有限公司 filed Critical Oppo广东移动通信有限公司
Priority to PCT/CN2019/099318 priority Critical patent/WO2021022460A1/zh
Priority to EP19940601.8A priority patent/EP4007360A4/en
Priority to CN201980094500.7A priority patent/CN113615246A/zh
Publication of WO2021022460A1 publication Critical patent/WO2021022460A1/zh
Priority to US17/585,466 priority patent/US20220150991A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/02Communication route or path selection, e.g. power-based or shortest path routing
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W40/00Communication routing or communication path finding
    • H04W40/24Connectivity information management, e.g. connectivity discovery or connectivity update
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/08Access security
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W12/00Security arrangements; Authentication; Protecting privacy or anonymity
    • H04W12/60Context-dependent security
    • H04W12/69Identity-dependent
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/11Allocation or use of connection identifiers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W8/00Network data management
    • H04W8/02Processing of mobility data, e.g. registration information at HLR [Home Location Register] or VLR [Visitor Location Register]; Transfer of mobility data, e.g. between HLR, VLR or external networks
    • H04W8/08Mobility data transfer
    • H04W8/14Mobility data transfer between corresponding nodes
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W84/00Network topologies
    • H04W84/02Hierarchically pre-organised networks, e.g. paging networks, cellular networks, WLAN [Wireless Local Area Network] or WLL [Wireless Local Loop]
    • H04W84/04Large scale networks; Deep hierarchical networks
    • H04W84/042Public Land Mobile systems, e.g. cellular systems

Definitions

  • This application relates to the field of wireless communication technology, and in particular to a session verification method, electronic equipment and storage medium.
  • a terminal device after a terminal device initiates a protocol data unit (Protocol Data Unit, PDU) session establishment request message to the network device, the network device cannot determine whether the session established by the terminal device or the data transmitted using the session is correct .
  • PDU Protocol Data Unit
  • embodiments of the present application provide a session verification method, electronic device, and storage medium.
  • an embodiment of this application provides a session verification method, including: a terminal device receives a terminal device routing policy (User Equipment Route Selection Policy, URSP) sent by a policy control function PCF entity; the URSP includes a routing descriptor (Route Selection Descriptor, RSD) identifier (ID) or URSP rule ID; the terminal device sends session parameters to the first network element; the session parameters are used to verify the session established by the terminal device or use session transmission Is the data correct?
  • URSP User Equipment Route Selection Policy
  • the embodiments of the present application provide a session authentication method, including: an Access and Mobility Management Function (AMF) entity receives session parameters sent by a terminal device; the session parameters include at least: RSD ID And at least one of the service descriptor; or, at least one of the URSP rule ID and the service descriptor.
  • AMF Access and Mobility Management Function
  • an embodiment of the present application provides a session authentication method, including: a policy control function (PCF) entity sends a URSP to a terminal device; the URSP includes an RSD ID or a URSP rule ID.
  • PCF policy control function
  • an embodiment of the present application provides a session verification method, including: a Session Management Function (SMF) entity receives session parameters sent by an AMF entity;
  • SMF Session Management Function
  • the session parameters include at least: at least one of RSD ID and service descriptor, or at least one of URSP rule ID and said service descriptor;
  • the SMF entity sends the session parameters to the PCF entity, and the session parameters are used by the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • an embodiment of the present application provides a terminal device, and the terminal device includes:
  • the first receiving unit is configured as a URSP sent by a PCF entity; the URSP includes an RSD ID or a URSP rule ID;
  • the first sending unit is configured to send session parameters to the first network element; the session parameters are used to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the embodiments of the present application provide an access and mobility management functional entity, and the access and mobility management functional entity includes:
  • the second receiving unit is configured to receive session parameters sent by the terminal device
  • the session parameters include at least: at least one of RSD ID and service descriptor;
  • At least one of the URSP rule ID and the service descriptor is selected from the URSP rule ID and the service descriptor.
  • an embodiment of the present application provides a policy control function entity, and the policy control function entity includes:
  • the fifth sending unit is configured to send the URSP to the terminal device; the URSP includes the RSD ID or the URSP rule ID.
  • an embodiment of the present application provides a session management functional entity, and the session management functional entity includes:
  • the fourth receiving unit is configured to receive the session parameters sent by the AMF entity
  • the session parameters include at least: at least one of RSD ID and service descriptor, or at least one of URSP rule ID and said service descriptor;
  • the sixth sending unit is configured to send the session parameters to a PCF entity, where the session parameters are used by the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session are correct.
  • an embodiment of the present application provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above-mentioned terminal when the computer program is running. Steps of the session authentication method performed by the device.
  • an embodiment of the present application provides an access and mobility management functional entity, including a processor and a memory for storing a computer program that can be run on the processor, wherein the processor is used to run the computer program At the time, the steps of the session verification method executed by the access and mobility management function entity described above are executed.
  • an embodiment of the present application provides a policy control functional entity, including a processor and a memory for storing a computer program that can run on the processor, wherein when the processor is used to run the computer program, Perform the steps of the session verification method executed by the above policy control function entity.
  • an embodiment of the present application provides a session management functional entity, including a processor and a memory for storing a computer program that can run on the processor, wherein when the processor is used to run the computer program, Perform the steps of the session verification method executed by the above-mentioned session management functional entity.
  • an embodiment of the present application provides a storage medium that stores an executable program, and when the executable program is executed by a processor, the above-mentioned session verification method executed by the terminal device is implemented.
  • an embodiment of the present application provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the session verification method performed by the access and mobility management functional entity.
  • an embodiment of the present application provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the session verification method executed by the policy control function entity.
  • an embodiment of the present application provides a storage medium that stores an executable program, and when the executable program is executed by a processor, it implements the session verification method executed by the above-mentioned session management function entity.
  • the terminal device receives the URSP sent by the PCF entity; the URSP includes the routing RSD ID or the URSP rule ID; the terminal device sends the session parameters to the first network element; the session parameters are carried in the session parameters
  • the RSD ID or the URSP rule ID can verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • Figure 1 is a schematic diagram of the processing flow of obtaining the URSP by the terminal device of the application through the terminal device configuration update (UCU) process;
  • FIG. 2 is a schematic diagram of the composition structure of a communication system according to an embodiment of the application.
  • FIG. 3 is a schematic diagram of an optional processing flow of a session verification method applied to a terminal device according to an embodiment of the application;
  • FIG. 4 is a schematic diagram of an optional format of the RSD ID in an embodiment of this application.
  • FIG. 5 is a schematic diagram of another optional format of RSD ID according to an embodiment of the application.
  • FIG. 6 is a schematic diagram of an optional processing flow of the session verification method applied to the AMF entity according to the embodiment of the application;
  • FIG. 7 is a schematic diagram of an optional processing flow of a session verification method applied to a PCF entity according to an embodiment of the application
  • FIG. 8 is a schematic diagram of an optional processing flow of a session authentication method applied to an SMF entity according to an embodiment of the application
  • FIG. 9 is a schematic diagram of an optional processing flow of a session verification method applied to a communication system according to an embodiment of the application.
  • FIG. 10 is a schematic diagram of another optional processing flow of a session verification method applied to a communication system according to an embodiment of the application;
  • FIG. 11 is a schematic diagram of the composition structure of a terminal device according to an embodiment of the application.
  • FIG. 12 is a schematic diagram of the composition structure of an access and mobility management function entity according to an embodiment of the application.
  • FIG. 13 is a schematic diagram of the composition structure of a policy control function entity according to an embodiment of the application.
  • FIG. 14 is a schematic diagram of the composition structure of a session management function entity according to an embodiment of the application.
  • FIG. 15 is a schematic diagram of the hardware composition structure of an electronic device according to an embodiment of the application.
  • the network device configures the terminal device with URSP to standardize the characteristics of the PDU session (Session) that the terminal device requests to establish, and to specify the characteristics of the PDU Session that the data of an application should use.
  • URSP is composed of one or more URSP rules (rules), and each URSP rule includes a traffic descriptor and at least one RSD.
  • each RSD corresponds to an attribute of a PDU session, that is, the service data corresponding to Traffic descriptor can be transmitted in the PDU session corresponding to the RSD.
  • the RSD is used to determine the characteristics of the PDU Session that needs to be used, such as the data network name (Data Network Name, DNN) and the single network slice selection assistance information (Single Network Slice Selection Assistance Information, S-NSSAI).
  • the terminal device associates the application to the corresponding PDU session for transmission based on the URSP:
  • the terminal device uses the URSP rule in the URSP to check whether the characteristics of the data or request match On the Traffic Descriptor of a certain rule in the URSP rule; the viewing order is determined according to the priority (Precedence) in the Traffic Descriptor in the URSP rule, that is, the terminal device sequentially checks the characteristics of the data and the URP according to the priority order of the Traffic Descriptor. Matching situation.
  • the RSD list under the URSP rule is used to bind the PDU session.
  • the terminal device searches for a suitable PDU session according to the order of Precedence in the RSD, and preferentially uses the RSD with higher priority. If a certain parameter in the RSD has one or more values, the terminal device selects one of the parameters in combination with other parameters in the RSD to find whether the PDU session exists. If there is a corresponding PDU session, the application data is bound to the PDU session for transmission; if there is no corresponding PDU session, the terminal device triggers the establishment of the PDU session, and the terminal device is in the request message that triggers the establishment of the PDU session Report the attribute parameters of the PDU session.
  • the terminal device binds the application data to the PDU session for transmission; if the PDU session is not established successfully, the terminal device modifies other parameter combinations in the RSD or uses the parameter combination in the second priority RSD. Check again whether the PDU session exists. If a suitable PDU session cannot be found for binding according to the matched URSP rule, the terminal device searches for whether the Traffic Descriptor in the second-priority URSP rule can match the data characteristics of the application according to the priority order. When it can be matched, repeat the above-mentioned process of finding the PDU session.
  • the terminal device obtains the URSP through the terminal device configuration update (UE Configuration Update, UCU) process.
  • the PCF entity places the URP to be updated in a container and sends it to the AMF entity.
  • the AMF entity transparently transmits the container to the terminal device through a non-access stratum (NAS) message. If the terminal device is in an idle state, the terminal device needs to be in a state before the AMF entity transparently transmits the container to the terminal device. In the connected state, establish a NAS connection with the terminal device.
  • the terminal device After receiving the URSP, the terminal device sends a response message to the AMF entity through the container to indicate whether the URSP transmission is successful or unsuccessful; the AMF entity then transparently transmits the transmission result to the PCF entity through the container.
  • This application provides a session verification method.
  • the session verification method in the embodiments of this application can be applied to various communication systems, such as: global system of mobile communication (GSM) system, code division multiple access (code division multiple access) , CDMA) system, wideband code division multiple access (WCDMA) system, general packet radio service (GPRS), long term evolution (LTE) system, LTE frequency division duplex (frequency division duplex, FDD) system, LTE time division duplex (TDD) system, advanced long term evolution (LTE-A) system, new radio (NR) system, NR system Evolution system, LTE (LTE-based access to unlicensed spectrum, LTE-U) system on unlicensed frequency bands, NR (NR-based access to unlicensed spectrum, NR-U) system on unlicensed frequency bands, general mobile communication system (universal mobile telecommunication system, UMTS), worldwide interoperability for microwave access (WiMAX) communication system, wireless local area networks (WLAN), wireless fidelity (WiFi), next-generation communications System or
  • D2D device to device
  • M2M machine-to-machine
  • MTC machine type communication
  • V2V vehicle-to-vehicle
  • the network equipment involved in the embodiments of this application may be a common base station (such as a NodeB or eNB or gNB), a new radio controller (NR controller), a centralized network element (centralized unit), a new radio base station, Radio remote module, micro base station, relay, distributed unit, reception point (transmission reception point, TRP), transmission point (transmission point, TP), or any other equipment.
  • a common base station such as a NodeB or eNB or gNB
  • NR controller new radio controller
  • a centralized network element centralized unit
  • a new radio base station Radio remote module
  • micro base station relay, distributed unit, reception point (transmission reception point, TRP), transmission point (transmission point, TP), or any other equipment.
  • TRP transmission reception point
  • TP transmission point
  • the terminal device may be any terminal, for example, the terminal device may be a user equipment of machine type communication. That is to say, the terminal equipment can also be called user equipment (UE), mobile station (mobile station, MS), mobile terminal (mobile terminal), terminal (terminal), etc.
  • the terminal equipment can be connected via wireless
  • the radio access network (RAN) communicates with one or more core networks.
  • the terminal device may be a mobile phone (or called a "cellular" phone), a computer with a mobile terminal, etc., for example, the terminal device may also They are portable, pocket-sized, handheld, computer-built or vehicle-mounted mobile devices that exchange language and/or data with the wireless access network.
  • RAN radio access network
  • network equipment and terminal equipment can be deployed on land, including indoor or outdoor, handheld or vehicle-mounted; they can also be deployed on the water; they can also be deployed on airborne aircraft, balloons, and satellites.
  • the embodiments of the present application do not limit the application scenarios of network equipment and terminal equipment.
  • communication between network equipment and terminal equipment and between terminal equipment and terminal equipment can be carried out through licensed spectrum, or through unlicensed spectrum, or through licensed spectrum and Unlicensed spectrum for communication.
  • Network equipment and terminal equipment and between terminal equipment and terminal equipment can communicate through the spectrum below 7 gigahertz (gigahertz, GHz), or through the spectrum above 7 GHz, and can also use the frequency spectrum below 7 GHz.
  • the frequency spectrum above 7GHz communicates.
  • the embodiment of the present application does not limit the spectrum resource used between the network device and the terminal device.
  • D2D device to device
  • M2M machine-to-machine
  • MTC machine type communication
  • V2V vehicle-to-vehicle
  • the communication system 100 applied in the embodiment of the present application is shown in FIG. 2.
  • the communication system 100 may include a network device 110, and the network device 110 may be a device that communicates with a terminal device 120 (or called a communication terminal or terminal).
  • the network device 110 may provide communication coverage for a specific geographic area, and may communicate with terminal devices located in the coverage area.
  • the network device 110 may be a base station (Base Transceiver Station, BTS) in a GSM system or a CDMA system, a base station (NodeB, NB) in a WCDMA system, or an evolved base station in an LTE system (Evolutional Node B, eNB or eNodeB), or the wireless controller in the Cloud Radio Access Network (CRAN), or the network equipment can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, Wearable devices, hubs, switches, bridges, routers, network-side devices in 5G networks, or network devices in the future evolution of the Public Land Mobile Network (PLMN), etc.
  • BTS Base Transceiver Station
  • NodeB, NB base station
  • LTE Long Term Evolutional Node B
  • eNB evolved base station
  • CRAN Cloud Radio Access Network
  • the network equipment can be a mobile switching center, a relay station, an access point, a vehicle-mounted device, Wearable devices, hubs, switches
  • the communication system 100 also includes at least one terminal device 120 located within the coverage area of the network device 110.
  • the "terminal equipment” used here includes but is not limited to connection via wired lines, such as via public switched telephone networks (PSTN), digital subscriber lines (Digital Subscriber Line, DSL), digital cables, and direct cable connections ; And/or another data connection/network; and/or via a wireless interface, such as for cellular networks, wireless local area networks (WLAN), digital TV networks such as DVB-H networks, satellite networks, AM- FM broadcast transmitter; and/or another terminal device that is set to receive/send communication signals; and/or Internet of Things (IoT) equipment.
  • PSTN public switched telephone networks
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL Digital Subscriber Line
  • DSL
  • a terminal device set to communicate through a wireless interface may be referred to as a "wireless communication terminal", a “wireless terminal” or a “mobile terminal”.
  • mobile terminals include, but are not limited to, satellites or cellular phones; Personal Communications System (PCS) terminals that can combine cellular radio phones with data processing, fax, and data communication capabilities; can include radio phones, pagers, Internet/intranet PDA with internet access, web browser, memo pad, calendar, and/or Global Positioning System (GPS) receiver; and conventional laptop and/or palmtop receivers or others including radio phone transceivers Electronic device.
  • PCS Personal Communications System
  • GPS Global Positioning System
  • Terminal equipment can refer to access terminals, user equipment (UE), user units, user stations, mobile stations, mobile stations, remote stations, remote terminals, mobile equipment, user terminals, terminals, wireless communication equipment, user agents, or User device.
  • the access terminal can be a cellular phone, a cordless phone, a Session Initiation Protocol (SIP) phone, a wireless local loop (Wireless Local Loop, WLL) station, a personal digital processing (Personal Digital Assistant, PDA), with wireless communication Functional handheld devices, computing devices or other processing devices connected to wireless modems, in-vehicle devices, wearable devices, terminal devices in 5G networks, or terminal devices in the future evolution of PLMN, etc.
  • SIP Session Initiation Protocol
  • WLL Wireless Local Loop
  • PDA Personal Digital Assistant
  • direct terminal connection (Device to Device, D2D) communication may be performed between the terminal devices 120.
  • the 5G system or 5G network may also be referred to as a New Radio (NR) system or NR network.
  • NR New Radio
  • Figure 2 exemplarily shows one network device and two terminal devices.
  • the communication system 100 may include multiple network devices and the coverage of each network device may include other numbers of terminal devices. The embodiment does not limit this.
  • the communication system 100 may also include other network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • network entities such as a network controller and a mobility management entity, which are not limited in the embodiment of the present application.
  • the devices with communication functions in the network/system in the embodiments of the present application may be referred to as communication devices.
  • the communication device may include a network device 110 having a communication function and a terminal device 120.
  • the network device 110 and the terminal device 120 may be the specific devices described above, which will not be repeated here.
  • the communication device may also include other devices in the communication system 100, such as other network entities such as a network controller and a mobility management entity, which are not limited in this embodiment of the application.
  • An optional processing flow of the session verification method applied to terminal equipment provided by the embodiment of the present application, as shown in FIG. 3, includes the following steps:
  • Step S201 The terminal device receives the URSP sent by the PCF entity, where the URSP includes the RSD ID or the URSP rule ID.
  • each RSD has one RSD ID, and the RSD ID is unique in the terminal device.
  • the RSD ID is allocated by the home policy control function (H-PCF) entity.
  • the RSD ID in the URSP for HPLMN is allocated by the H-PCF entity; the RSD ID in the URSP for VPLMN is allocated by the roaming Policy control function (Visited Policy Control Function, V-PCF) entity allocation.
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID may include the PLMN ID, and the RSD ID may not include the PLMN ID.
  • the RSD ID is numbered according to the order of the RSD ID in the URSP.
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP, and/or the RSD ID includes the number of the RSD ID in the URSP rules serial number.
  • the RSD ID of HPLMN includes the ID of operator A in China
  • the RSD ID of VPLMN includes the ID of operator B.
  • RSD ID includes a mobile country code (Mobile Country Code, MCC), a mobile network number (Mobile Network Code, MNC), and the sequence number of the RSD ID in the URP.
  • MCC Mobile Country Code
  • MNC Mobile Network Code
  • the number of MCC, MNC and RSD ID in the URSP rule can be at the beginning of the URS ; That is, an RSD ID is divided into two parts and stored in the URSP rule.
  • Step S202 The terminal device sends the session parameters to the first network element.
  • the session parameter is used to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the first network element may be an AMF entity or an SMF entity.
  • the terminal device after the terminal device matches the appropriate URSP rule by using the service descriptor, the terminal device initiates a session establishment process and sends a NAS message to the AMF entity.
  • the first network element is an AMF entity
  • the terminal device sending session parameters to the first network element may include: the terminal device sends a NAS message to the AMF entity, where the NAS message includes a session establishment request message or Session modification request message.
  • the session parameters include at least: at least one of RSD ID and service descriptor; or, the session parameters include at least: at least one of the URSP rule ID and the service descriptor.
  • the session parameters are carried in the session establishment request message or the session modification request message; or, the session parameters are carried in the NAS message, and are not carried in the session establishment request message or the session modification request message; Alternatively, the session parameters are carried in the NAS message, and are also carried in the session establishment request message or the session modification request message. At least one of the RSD ID and/or service descriptor in the session parameters, or the URSP rule ID and/or the service descriptor in the session parameters is carried in the session establishment request message or In the case of the session modification request message, the first network element is an SMF entity.
  • At least one of the RSD ID and/or the service descriptor in the session parameters, or the URSP rule ID and/or the service descriptor in the session parameters is carried in the NAS message, not carried In the case in the session establishment request message or the session modification request message, the first network element is an AMF entity.
  • the session parameters may include at least one of RSD ID and service descriptor, or at least one of the URSP rule ID and service descriptor, and may also include the following: At least one item of: PDU session ID, terminal device ID, DNN, S-NSSA, and the request type is initial request; among them, DNN and S-NSSA come from the RSD in the URSP rule.
  • the content of the NAS message sent by the terminal device can be shown in Table 3 below; the PDU Session Establishment Request message is stored in the Payload container, and the NAS message includes the RSD ID and TrafficDescriptor.
  • An optional processing flow of the session verification method applied to the AMF entity provided by the embodiment of the application, as shown in FIG. 6, includes the following steps:
  • Step S301 The AMF entity receives the session parameters sent by the terminal device.
  • the session parameters include at least one of an RSD ID and a service descriptor; or, the session parameters include at least one of a URSP rule ID and the service descriptor.
  • the AMF entity receives a NAS message sent by a terminal device, and the NAS message includes a session establishment request message or a session modification request message.
  • the session parameters include at least: at least one of RSD ID and service descriptor; or, the session parameters include at least: at least one of the URSP rule ID and the service descriptor.
  • the session parameters are carried in the session establishment request message or the session modification request message; or, the session parameters are carried in the NAS message, and are not carried in the session establishment request message or the session modification request message; Alternatively, the session parameters are carried in the NAS message, and are also carried in the session establishment request message or the session modification request message.
  • the session parameters may include at least one of RSD ID and service descriptor, or at least one of the URSP rule ID and service descriptor, and may also include the following: At least one item of: PDU session ID, terminal device ID, DNN, S-NSSA, and the request type is the initial request.
  • each RSD has one RSD ID, and the RSD ID is unique in the terminal device.
  • the RSD ID is allocated by the home policy control function (H-PCF) entity.
  • H-PCF home policy control function
  • the RSD ID in the URSP for HPLMN is allocated by the H-PCF entity; the RSD ID in the URSP for the VPLMN is allocated by the roaming location.
  • Policy control function Visited Policy Control Function, V-PCF
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID may include the PLMN ID, and the RSD ID may not include the PLMN ID.
  • the RSD ID is numbered according to the order of the RSD ID in the URSP.
  • the RSD ID does not include the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the number of the RSD ID in the URSP rules serial number.
  • the format of the RSD ID can be as shown in Figure 4 or Figure 5.
  • step S301 the method further includes:
  • Step S302 The AMF entity sends the session parameters to the PCF entity.
  • the session parameter is used by the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the AMF entity when the terminal device is in HPLMN, the AMF entity sends the session parameters to the H-PCF entity.
  • the PCF entity In the case of the terminal device in the VPLMN, the PCF entity is a V-PCF entity.
  • Step S303 When the AMF entity receives the data sent by the PCF entity to verify that the session established by the terminal device or the data transmitted using the session is correct, the AMF entity selects an SMF entity for session establishment.
  • Step S304 In the case where the AMF entity receives the PCF entity to verify the session established by the terminal device or the data transmitted using the session is incorrect, the AMF entity sends a verification failure message to the terminal device; the verification failure message Carry the value of the reason for the failure.
  • the possible values of the cause value are verification failure, unrecognized parameters, and inability to route.
  • step S301 after step S301 is performed, the method further includes:
  • step S302' the AMF entity selects an SMF entity used to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the AMF entity selects the SMF entity based on DNN and/or S-NSSAI.
  • Step S303' the AMF entity sends the session parameters to the SMF entity.
  • the AMF entity sends at least one of PCF ID, terminal device ID, RSD ID, traffic descriptor, DNN, and S-NSSAI to the SMF entity selected in step S302'.
  • the SMF entity sends the session parameters to the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the SMF entity sends the session parameters to the H-PCF entity; in the roaming scenario, the SMF entity sends the session parameters to the V-PCF entity.
  • steps S301, S302, S303, and S304 can be implemented separately as an independent embodiment; steps S301, S302' and S303' can be implemented as an independent embodiment separately.
  • An optional processing flow of the session verification method applied to the PCF entity provided by the embodiment of the present application, as shown in FIG. 7, includes the following steps:
  • Step S401 The PCF entity sends a URSP to the terminal device.
  • the URSP includes RSD ID or URSP rule ID.
  • Each RSD has an RSD ID, and the RSD ID is unique in the terminal device.
  • the RSD ID is allocated by the H-PCF entity.
  • the RSD ID in the URSP of HPLMN is allocated by the H-PCF entity; the RSD ID in the URSP of the VPLMN is allocated by the V-PCF entity.
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID may include the PLMN ID, and the RSD ID may not include the PLMN ID.
  • the RSD ID is numbered according to the order of the RSD ID in the URSP.
  • the RSD ID does not include the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the number of the RSD ID in the URSP rules serial number.
  • the format of the RSD ID may be as shown in Figure 4 or Figure 5.
  • the method may further include:
  • Step S402 the PCF entity receives the session parameters.
  • the session parameters at least include: at least one of RSD ID and service descriptor, or at least one of the URSP rule ID and the service descriptor.
  • the session parameters can be sent by the AMF entity, and can also be sent by the SMF entity.
  • the method may further include:
  • Step S403 The PCF entity determines the RSD according to the session parameters.
  • the PCF entity determines the RSD according to the received session parameters; such as determining the RSD corresponding to the RSD ID according to the RSD ID in the session parameters, or determining the RSD corresponding to the URSP rule according to the URSP rule ID .
  • the PCF entity when the parameters other than the RSD ID in the session parameters are consistent with the parameters in the RSD determined by the PCF entity, the PCF entity further determines to confirm the session established by the terminal device or The data transferred using the session is correct. For example, compare the DNN and/or S-NSSAI contained in the session parameters with the parameters in the found RSD, and if they are the same or a subset of the parameters in the RSD determined by the PCF entity, they are considered consistent; if they are different or not The subset of parameters in the RSD determined by the PCF entity is considered inconsistent.
  • the PCF entity confirms the session established by the terminal device or uses the session transmission The data is incorrect.
  • the PCF entity queries the URSP according to the RSD ID and/or service descriptor in the session parameters, and searches the URSP rule corresponding to the RSD ID and/or service descriptor and the RSD in the URSP rule. Both the V-PCF entity and the H-PCF entity can confirm whether the session established by the terminal device or the data transmitted using the session is correct.
  • the V-PCF entity if the V-PCF entity cannot find the RSD in the URSP rule corresponding to the RSD ID and/or service descriptor, the V-PCF entity sends the session parameters to the H-PCF entity, The H-PCF entity searches for the RSD in the URSP rule corresponding to the RSD ID and/or service descriptor to confirm whether the session established by the terminal device or the data transmitted using the session is correct.
  • An optional processing flow of the session authentication method applied to SMF entities provided by the embodiment of the present application, as shown in FIG. 8, includes the following steps:
  • Step S501 The SMF entity receives the session parameters sent by the AMF entity.
  • the session parameters include at least: at least one of RSD ID and service descriptor, or at least one of URSP rule ID and said service descriptor.
  • the session parameters may also include at least one of the following: One item: PDU session ID, terminal device ID, DNN, S-NSSA, and the request type is the initial request.
  • one RSD ID corresponds to one RSD, and the RSD ID is unique in the terminal device.
  • the RSD ID is allocated by the H-PCF entity.
  • the RSD ID in the URSP of HPLMN is allocated by the H-PCF entity; the RSD ID in the URSP of the VPLMN is allocated by the V-PCF entity.
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID may include the PLMN ID, and the RSD ID may not include the PLMN ID.
  • the RSD ID is numbered according to the order of the RSD ID in the URSP.
  • the RSD ID does not include the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the number of the RSD ID in the URSP rules serial number.
  • the format of the RSD ID may be as shown in Figure 4 or Figure 5.
  • Step S502 The SMF entity sends the session parameters to the PCF entity.
  • the session parameters are used by the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the SMF entity sends the session parameters to the H-PCF entity; in the roaming scenario, the SMF entity sends the session parameters to the V-PCF entity.
  • the method may further include:
  • Step S503 When the session established by the terminal device or the data transmitted using the session is correct, the SMF entity sends a service descriptor to the UPF entity, and the service descriptor is used by the UPF entity to confirm whether the data is transmitted On the right conversation.
  • the method may further include:
  • Step S504 The SMF entity receives the notification message sent by the UPF entity, and the SMF entity releases the session based on the notification message.
  • an optional processing procedure of the session verification method applied to the communication system in the embodiment of the present application includes the following steps:
  • Step S601 The terminal device obtains the URSP from the PCF entity.
  • the description of the URSP is the same as the description of the URSP in the above step S201, and will not be repeated here.
  • Step S602 The terminal device sends the session parameters to the AMF entity.
  • the terminal device sends the session parameters to the AMF entity through a NAS message.
  • the description of the session parameters is the same as the description of the session parameters in the above step S202, and will not be repeated here.
  • step S603 the AMF entity sends the session parameters to the PCF entity.
  • the AMF entity transparently transmits the session parameters to the PCF entity through the container.
  • step S604 the PCF entity verifies whether the session established by the terminal device or the data transmitted using the session is correct based on the session parameters.
  • the PCF entity confirms the session established by the terminal device or the data transmitted using the session correct. For example, the DNN and/or S-NSSAI included in the session parameters are compared with the parameters in the found RSD, and if they are the same or a subset of the parameters in the RSD, they are considered consistent.
  • the PCF entity confirms the session established by the terminal device or uses the session transmission The data is incorrect.
  • the DNN and/or S-NSSAI included in the session parameters are compared with the parameters in the found RSD, and if they are not the same or are not a subset of the parameters in the RSD, it is considered inconsistent.
  • step S605 the PCF entity sends the verification result to the AMF entity.
  • Step S606 After confirming that the session established by the terminal device or the data transmitted using the session is correct, the AMF entity selects an SMF entity for session establishment.
  • the AMF entity sends the verified service descriptor or other parameters that can characterize data to the SMF entity, where the other parameters that can characterize data may be application identifiers, service server addresses, etc.; service descriptors or other parameters that can characterize
  • the data parameters are forwarded to the UPF entity through the SMF entity.
  • the UPF entity checks whether the uplink data is consistent with the service descriptor or other parameters that can characterize the data according to the service descriptor or other parameters that can characterize the data, so as to determine that the data is transferred on the correct session. If incorrect data is found, the data is discarded and the SMF entity is notified to release the session.
  • Step S607 When it is confirmed that the session established by the terminal device or the data transmitted using the session is incorrect, the AMF entity sends a verification failure message to the terminal device; the verification failure message carries the failure reason value .
  • the AMF entity returns the PDU session establishment request message received from the terminal device to the terminal device, and carries the cause value.
  • the reason value can be routing failure, selection of SMF entity failure, URSP verification failure, etc.
  • Step S601 is started.
  • RSD ID in the embodiment of this application can be replaced with the URSP rule ID.
  • Another optional processing procedure of the session verification method applied to the communication system in the embodiment of the present application, as shown in FIG. 10, includes the following steps:
  • Step S801 The terminal device obtains the URSP from the PCF entity.
  • step S801 is the same as the processing procedure of step S601 described above, and will not be repeated here.
  • Step S802 The terminal device sends the session parameters to the AMF entity.
  • step S802 is the same as the processing procedure of step S602 described above, and will not be repeated here.
  • step S803 the AMF entity selects an SMF entity, and sends the session parameters to the selected SMF entity.
  • the process of selecting the SMF entity by the AMF entity is the same as the above step S302', and will not be repeated here.
  • the processing procedure of the AMF entity sending the session parameters to the selected SMF entity is the same as the processing procedure in the above step S303', and will not be repeated here.
  • Step S804 The SMF entity sends the session parameters to the PCF entity.
  • the SMF entity sends the session parameters to the H-PCF entity; in the roaming scenario, the SMF entity sends the session parameters to the V-PCF entity.
  • step S805 the PCF entity verifies whether the session established by the terminal device or the data transmitted using the session is correct based on the session parameters.
  • the PCF entity determines the RSD according to the session parameters, and when the parameters in the session parameters other than the RSD ID are consistent with the parameters in the RSD, the PCF entity confirms that the terminal The session established by the device or the data transmitted using the session is correct.
  • the PCF entity determines the RSD according to the session parameters, and in the case that the parameters in the session parameters other than the RSD ID are inconsistent with the parameters in the RSD, the PCF entity confirms the The session established by the terminal device or the data transmitted using the session is incorrect.
  • the PCF entity queries the URSP according to the RSD ID and/or service descriptor in the session parameters, and searches the URSP rule corresponding to the RSD ID and/or service descriptor and the RSD in the URSP rule. Both the V-PCF entity and the H-PCF entity can confirm whether the session established by the terminal device or the data transmitted using the session is correct.
  • the V-PCF entity if the V-PCF entity cannot find the RSD in the URSP rule corresponding to the RSD ID and/or service descriptor, the V-PCF entity sends the session parameters to the H-PCF entity, The H-PCF entity searches for the RSD in the URSP rule corresponding to the RSD ID and/or service descriptor to confirm whether the session established by the terminal device or the data transmitted using the session is correct.
  • Step S806 the PCF entity sends the verification result to the SMF entity.
  • Step S807 After confirming that the session established by the terminal device or the data transmitted using the session is correct, the SMF entity performs a subsequent session establishment process.
  • the SMF entity sends a service descriptor to the UPF entity, and the service descriptor is used by the UPF entity to confirm whether the data is transmitted on the correct session.
  • the UPF entity checks whether the uplink data is consistent with the service descriptor or other parameters that can characterize the data according to the service descriptor or other parameters that can characterize the data, so as to determine that the data is transferred on the correct session. If incorrect data is found, the data is discarded and the SMF entity is notified to release the session.
  • Step S808 In the case where it is confirmed that the session established by the terminal device or the data transmitted using the session is incorrect, the SMF entity rejects the establishment of the session and carries a cause value.
  • the reason value can be URSP verification failure, etc.
  • the MM module in the NAS layer of the terminal device After the MM module in the NAS layer of the terminal device receives the cause value, it transfers it to the SM module, and the SM module stops the timer that is started when the session is established, and can restart step S801.
  • the size of the sequence number of the above-mentioned processes does not mean the order of execution.
  • the execution order of each process should be determined by its function and internal logic, and should not correspond to the embodiments of the present application.
  • the implementation process constitutes any limitation.
  • composition structure of the terminal device 900 includes:
  • the first receiving unit 901 is configured to receive the URSP sent by the PCF entity; the URSP includes the RSD ID or the URSP rule ID;
  • the first sending unit 902 is configured to send session parameters to the first network element; the session parameters are used to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the RSD ID is allocated by the H-PCF entity.
  • the terminal device in the case of the VPLMN, is allocated by the H-PCF entity for the RSD ID in the URSP of the HPLMN; and/or allocated by the V-PCF entity for the RSD ID in the URSP of the VPLMN .
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are all allocated by the H-PCF entity.
  • the RSD ID does not include the PLMN ID, and the RSD ID is numbered in the order of the RSD ID in the URSP.
  • the RSD ID includes the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the RSD ID in the URSP rules Number.
  • the first sending unit 902 is configured to send a NAS message to the first network element, where the NAS message includes a session establishment request message or a session modification request message.
  • the session parameters are carried in the session establishment request message or the session modification request message; or, the session parameters are carried in the NAS message, and are not carried in the session establishment request message or the session modification request. In the message; or, the session parameters are carried in the NAS message, and also in the session establishment request message or the session modification request message.
  • the session parameters include at least: at least one of RSD ID and service descriptor;
  • At least one of the URSP rule ID and the service descriptor is selected from the URSP rule ID and the service descriptor.
  • the RSD ID is unique in the terminal device.
  • an embodiment of the present application provides an access and mobility management functional entity.
  • the composition structure of the access and mobility management functional entity 1000 includes:
  • the second receiving unit 1001 is configured to receive session parameters sent by a terminal device
  • the session parameters include at least: at least one of the RSD ID and the service descriptor; or, at least one of the URSP rule ID and the service descriptor.
  • the access and mobility management function entity 1000 further includes:
  • the second sending unit 1002 sends the session parameters to the PCF entity, where the session parameters are used by the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the PCF entity when the terminal device is in HPLMN, the PCF entity is an H-PCF entity; or when the terminal device is in a VPLMN, the PCF entity is a V-PCF entity or an H-PCF entity. PCF entity.
  • the access and mobility management function entity 1000 further includes:
  • the first processing unit 1003 is configured to select an SMF entity for session establishment when the second receiving unit receives the data sent by the PCF entity to verify that the session established by the terminal device or the data transmitted using the session is correct .
  • the access and mobility management function entity 1000 further includes:
  • the third sending unit 1004 is configured to send a verification failure to the terminal device when the second receiving unit receives the verification of the session established by the terminal device or the data transmitted using the session sent by the PCF entity is incorrect The message; the verification failure message carries the value of the reason for the failure.
  • the access and mobility management function entity 1000 further includes:
  • the second processing unit 1005 is configured to select an SMF entity used to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the access and mobility management function entity 1000 further includes:
  • the fourth sending unit 1006 is configured to send the session parameters to the SMF entity, so that the SMF entity sends the session parameters to the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session correct.
  • the RSD ID is allocated by the H-PCF entity.
  • the RSD ID in the URSP for HPLMN is allocated by the H-PCF entity; and/or the RSD ID in the URSP for the VPLMN is allocated by the V-PCF entity.
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID does not include the PLMN ID, and the RSD ID is numbered in the order of the RSD ID in the URSP.
  • the RSD ID includes the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the RSD ID in the URSP rules Number.
  • the second receiving unit 1001 is configured to receive a NAS message sent by a terminal device, where the NAS message includes a session establishment request message or a session modification request message.
  • the session parameters are carried in the session establishment request message or the session modification request message; or, the session parameters are carried in the NAS message, and are not carried in the AMF entity receiving information.
  • the session establishment request message or the session modification request message sent by the terminal device are not carried in the AMF entity receiving information.
  • the RSD ID is unique in the terminal device.
  • an embodiment of the present application provides a policy control function entity.
  • the composition structure of the policy control function entity 2000 includes:
  • the fifth sending unit 2001 is configured to send a URSP to a terminal device; the URSP includes a routing descriptor identification RSD ID or a URSP rule ID.
  • the policy control function entity further includes: a third receiving unit 2002 configured to receive session parameters; the session parameters include at least one of RSD ID and service descriptor, or the URSP At least one of the rule ID and the service descriptor.
  • the session parameters are sent by an AMF entity; or, the session parameters are sent by an SMF entity.
  • the policy control function entity further includes: a third processing unit 2003 configured to determine the RSD according to the session parameter.
  • the third processing unit 2003 is configured to confirm the session established by the terminal device when the parameters other than the RSD ID in the session parameters are consistent with the parameters in the RSD Or the data transmitted using the session is correct;
  • the RSD ID is allocated by the H-PCF entity.
  • the RSD ID in the URSP for HPLMN is allocated by the H-PCF entity; and/or the RSD ID in the URSP for the VPLMN is allocated by the V-PCF entity.
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID does not include the PLMN ID, and the RSD ID is numbered in the order of the RSD ID in the URSP.
  • the RSD ID includes the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the RSD ID in the URSP rules Number.
  • the second receiving unit 1001 is configured to receive a NAS message sent by a terminal device, where the NAS message includes a session establishment request message or a session modification request message.
  • the session parameters are carried in the session establishment request message or the session modification request message; or, the session parameters are carried in the NAS message, and are not carried in the AMF entity receiving information.
  • the session establishment request message or the session modification request message sent by the terminal device are not carried in the AMF entity receiving information.
  • the RSD ID is unique in the terminal device.
  • an embodiment of the present application provides a session management function entity.
  • the composition structure of the session management function entity 3000 includes:
  • the fourth receiving unit 3001 is configured to receive session parameters sent by the AMF entity;
  • the session parameters include at least: at least one of an RSD ID and a service descriptor, or at least one of the URSP rule ID and the service descriptor;
  • the sixth sending unit 3002 is configured to send the session parameters to a policy control function PCF entity, where the session parameters are used by the PCF entity to verify whether the session established by the terminal device or the data transmitted using the session is correct.
  • the RSD ID is allocated by the H-PCF entity.
  • the RSD ID in the URSP for HPLMN is allocated by the H-PCF entity; and/or the RSD ID in the URSP for the VPLMN is allocated by the V-PCF entity.
  • the RSD ID in the URSP for HPLMN and the RSD ID in the URSP for VPLMN are both allocated by the H-PCF entity.
  • the RSD ID does not include the PLMN ID, and the RSD ID is numbered in the order of the RSD ID in the URSP.
  • the RSD ID includes the PLMN ID
  • the RSD ID includes the number of the RSD ID in the PLMN in the URSP
  • the RSD ID includes the RSD ID in the URSP rules Number.
  • the sixth sending unit 3002 is further configured to send the service descriptor to the user port function UPF entity when the session established by the terminal device or the data transmitted using the session is correct.
  • the service descriptor is used by the UPF entity to confirm whether the data is transmitted on the correct session;
  • the SMF entity refuses to establish the session or does not use the session to transmit data.
  • the fourth receiving unit 3001 is further configured to receive a notification message sent by the UPF entity and release the session when the data is not transmitted on the correct session.
  • An embodiment of the present application also provides a terminal device, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above-mentioned terminal device when the computer program is running. Steps of the session authentication method.
  • An embodiment of the present application also provides an access and mobility management functional entity, including a processor and a memory for storing a computer program that can run on the processor, where the processor is used to execute the computer program when the computer program is running. Steps of the session verification method executed by the access and mobility management function entity.
  • the embodiment of the present application also provides a policy control function entity, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above policy control when the computer program is running.
  • a policy control function entity including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above policy control when the computer program is running. The steps of the session authentication method performed by the functional entity.
  • An embodiment of the present application also provides a session management functional entity, including a processor and a memory for storing a computer program that can run on the processor, wherein the processor is used to execute the above-mentioned session management when the computer program is running.
  • the steps of the session authentication method performed by the functional entity are performed by the functional entity.
  • the electronic device 700 includes: at least one processor 701, a memory 702 and at least one network interface 704.
  • the various components in the electronic device 700 are coupled together through the bus system 705. It can be understood that the bus system 705 is used to implement connection and communication between these components.
  • the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clear description, various buses are marked as the bus system 705 in FIG. 15.
  • the memory 702 may be a volatile memory or a non-volatile memory, and may also include both volatile and non-volatile memory.
  • the non-volatile memory may be ROM, Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), and electrically erasable Programmable read-only memory (EEPROM, Electrically Erasable Programmable Read-Only Memory), magnetic random access memory (FRAM, ferromagnetic random access memory), flash memory (Flash Memory), magnetic surface memory, optical disk, or CD-ROM (CD) -ROM, Compact Disc Read-Only Memory); Magnetic surface memory can be disk storage or tape storage.
  • the volatile memory may be random access memory (RAM, Random Access Memory), which is used as an external cache.
  • RAM random access memory
  • SRAM static random access memory
  • SSRAM synchronous static random access memory
  • DRAM Dynamic Random Access Memory
  • SDRAM Synchronous Dynamic Random Access Memory
  • DDRSDRAM Double Data Rate Synchronous Dynamic Random Access Memory
  • ESDRAM enhanced Type synchronous dynamic random access memory
  • SLDRAM SyncLink Dynamic Random Access Memory
  • direct memory bus random access memory DRRAM, Direct Rambus Random Access Memory
  • DRRAM Direct Rambus Random Access Memory
  • the memory 702 described in the embodiment of the present application is intended to include, but is not limited to, these and any other suitable types of memory.
  • the memory 702 in the embodiment of the present application is used to store various types of data to support the operation of the electronic device 700. Examples of these data include: any computer program used to operate on the electronic device 700, such as the application program 7022.
  • the program for implementing the method of the embodiment of the present application may be included in the application program 7022.
  • the method disclosed in the foregoing embodiment of the present application may be applied to the processor 701 or implemented by the processor 701.
  • the processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, the steps of the foregoing method can be completed by hardware integrated logic circuits in the processor 701 or instructions in the form of software.
  • the aforementioned processor 701 may be a general-purpose processor, a digital signal processor (DSP, Digital Signal Processor), or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc.
  • the processor 701 may implement or execute the methods, steps, and logical block diagrams disclosed in the embodiments of the present application.
  • the general-purpose processor may be a microprocessor or any conventional processor.
  • the steps of the method disclosed in the embodiments of the present application can be directly embodied as being executed and completed by a hardware decoding processor, or executed by a combination of hardware and software modules in the decoding processor.
  • the software module may be located in a storage medium, and the storage medium is located in the memory 702.
  • the processor 701 reads the information in the memory 702 and completes the steps of the foregoing method in combination with its hardware.
  • the electronic device 700 may be used by one or more application specific integrated circuits (ASIC, Application Specific Integrated Circuit), DSP, programmable logic device (PLD, Programmable Logic Device), and complex programmable logic device (CPLD). , Complex Programmable Logic Device), FPGA, general-purpose processor, controller, MCU, MPU, or other electronic components to implement the foregoing method.
  • ASIC Application Specific Integrated Circuit
  • DSP digital signal processor
  • PLD programmable logic device
  • CPLD complex programmable logic device
  • FPGA field-programmable Logic Device
  • controller MCU
  • MPU or other electronic components to implement the foregoing method.
  • the embodiment of the present application also provides a storage medium for storing computer programs.
  • the storage medium can be applied to the terminal device in the embodiment of the present application, and the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present application.
  • the computer program causes the computer to execute the corresponding process in each method of the embodiment of the present application.
  • These computer program instructions can also be stored in a computer-readable memory that can guide a computer or other programmable data processing equipment to work in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture including the instruction device.
  • the device implements the functions specified in one process or multiple processes in the flowchart and/or one block or multiple blocks in the block diagram.
  • These computer program instructions can also be loaded on a computer or other programmable data processing equipment, so that a series of operation steps are executed on the computer or other programmable equipment to produce computer-implemented processing, so as to execute on the computer or other programmable equipment.
  • the instructions provide steps for implementing functions specified in a flow or multiple flows in the flowchart and/or a block or multiple blocks in the block diagram.

Landscapes

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

Abstract

本申请公开了一种会话验证方法,包括:终端设备接收策略控制功能实体发送的终端设备路由选择策略;所述终端设备路由选择策略包括路由选择描述符标识、或者终端设备路由选择策略规则标识;所述终端设备向第一网元发送会话参数;所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。本申请还公开了另一种会话验证方法、电子设备及存储介质。

Description

一种会话验证方法、电子设备及存储介质 技术领域
本申请涉及无线通信技术领域,尤其涉及一种会话验证方法、电子设备及存储介质。
背景技术
相关技术中,终端设备向网络设备发起协议数据单元(Protocol Data Unit,PDU)会话建立请求消息(session establishment request)后,网络设备无法确定所述终端设备建立的会话或使用会话传输的数据是否正确。
发明内容
为解决上述技术问题,本申请实施例提供一种会话验证方法、电子设备及存储介质。
第一方面,本申请实施例提供一种会话验证方法,包括:终端设备接收策略控制功能PCF实体发送的终端设备路由选择策略(User Equipment Route Selection Policy,URSP);所述URSP包括路由选择描述符(Route Selection Descriptor,RSD)标识(Identifier,ID)或者URSP规则ID;所述终端设备向第一网元发送会话参数;所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。
第二方面,本申请实施例提供一种会话验证方法,包括:接入和移动管理功能(Access and Mobility Management Function,AMF)实体接收终端设备发送的会话参数;所述会话参数至少包括:RSD ID和业务描述符中的至少一项;或者,URSP规则ID和所述业务描述符中的至少一项。
第三方面,本申请实施例提供一种会话验证方法,包括:策略控制功能(Policy Control Function,PCF)实体向终端设备发送URSP;所述URSP包括RSD ID或者URSP规则ID。
第四方面,本申请实施例提供一种会话验证方法,包括:会话管理功能(Session Management Function,SMF)实体接收AMF实体发送的会话参数;
所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者URSP规则ID和所述业务描述符中的至少一项;
所述SMF实体将所述会话参数发送至PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
第五方面,本申请实施例提供一种终端设备,所述终端设备包括:
第一接收单元,配置为PCF实体发送的URSP;所述URSP包括RSD ID或者URSP规则ID;
第一发送单元,配置为向第一网元发送会话参数;所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。
第六方面,本申请实施例提供一种接入和移动管理功能实体,所述接入和移动管理功能实体包括:
第二接收单元,配置为接收终端设备发送的会话参数;
所述会话参数至少包括:RSD ID和业务描述符中的至少一项;
或者,URSP规则ID和所述业务描述符中的至少一项。
第七方面,本申请实施例提供一种策略控制功能实体,所述策略控制功能实体包括:
第五发送单元,配置为向终端设备发送URSP;所述URSP包括RSD ID或者URSP规则ID。
第八方面,本申请实施例提供一种会话管理功能实体,所述会话管理功能实体包括:
第四接收单元,配置为接收AMF实体发送的会话参数;
所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者URSP规则ID和所述业务描述符中的至少一项;
第六发送单元,配置为将所述会话参数发送至PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
第九方面,本申请实施例提供一种终端设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述终端设备执行的会话验证方法的步骤。
第十方面,本申请实施例提供一种接入和移动管理功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述接入和移动管理功能实体执行的会话验证方法的步骤。
第十一方面,本申请实施例提供一种策略控制功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述策略控制功能实体执行的会话验证方法的步骤。
第十二方面,本申请实施例提供一种会话管理功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述会话管理功能实体执行的会话验证方法的步骤。
第十三方面,本申请实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述终端设备执行的会话验证方法。
第十四方面,本申请实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述接入和移动管理功能实体执行的会话验证方法。
第十五方面,本申请实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述策略控制功能实体执行的会话验证方法。
第十六方面,本申请实施例提供一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现上述会话管理功能实体执行的会话验证方法。
本申请实施例提供的会话验证方法,终端设备接收PCF实体发送的URSP;所述URSP包括路由RSD ID或者URSP规则ID;所述终端设备向第一网元发送会话参数;通过会话参数中携带的RSD ID或者URSP规则ID,能够验证所述终端设备建立的会话或使用会话传输的数据是否正确。
附图说明
图1为本申请终端设备通过终端设备配置更新(UCU)流程获取URSP的处理流程示意图;
图2为本申请实施例通信系统的组成结构示意图;
图3为本申请实施例应用于终端设备的会话验证方法的一种可选处理流程示意图;
图4为本申请实施例RSD ID的一种可选格式示意图;
图5为本申请实施例RSD ID的另一种可选格式示意图;
图6为本申请实施例应用于AMF实体的会话验证方法的一种可选处理流程示意图;
图7为本申请实施例应用于PCF实体的会话验证方法的一种可选处理流程示意图;
图8为本申请实施例应用于SMF实体的会话验证方法的一种可选处理流程示意图;
图9为本申请实施例应用于通信系统的会话验证方法的一种可选处理流程示意图;
图10为本申请实施例应用于通信系统的会话验证方法的另一种可选处理流程示意图;
图11为本申请实施例终端设备的组成结构示意图;
图12为本申请实施例接入和移动管理功能实体的组成结构示意图;
图13为本申请实施例策略控制功能实体的组成结构示意图;
图14为本申请实施例会话管理功能实体的组成结构示意图;
图15为本申请实施例电子设备的硬件组成结构示意图。
具体实施方式
为了能够更加详尽地了解本申请实施例的特点和技术内容,下面结合附图对本申请实施例的实现进行详细阐述,所附附图仅供参考说明之用,并非用来限定本申请实施例。
在对本申请实施例提供的会话验证方法进行详细说明之前,先对相关技术中URSP进行简要说明。
在5G网络中,网络设备通过给终端设备配置URSP,来规范终端设备请求建立的PDU会话(Session)的特性,并规定某个应用的数据应该使用的PDU Session的特性。
URSP的一种可选形式,如下表1所示:URSP由一个或多个URSP规则(rule)组成,每个URSP rule中包含业务描述符(Traffic descriptor)和至少一个RSD。
Figure PCTCN2019099318-appb-000001
表1
RSD的一种可选形式,如下表2所示,每一个RSD对应一个PDU会话的属性,即Traffic descriptor对应的业务数据可以在RSD对应的PDU会话中传输。RSD用于确定需要使用的PDU Session的特性,例如:数据网络名称(Data Network Name,DNN)和单个网络切片选择辅助信息(Single Network Slice Selection Assistance Information,S-NSSAI)。
Figure PCTCN2019099318-appb-000002
Figure PCTCN2019099318-appb-000003
表2
终端设备基于URSP将应用关联到相应的PDU会话上进行传输的处理过程为:当应用层出现数据或请求建立连接时,终端设备使用URSP中的URSP规则来查看该数据或请求的特征是否匹配到了URSP规则中的某一个规则的Traffic Descriptor上;查看的顺序是按照URSP规则中Traffic Descriptor中的优先级(Precedence)来决定,即终端设备基于Traffic Descriptor的优先级顺序依次查看数据的特征与URSP的匹配情况。当匹配到一个URSP规则时,就是用该URSP规则下的RSD列表进行PDU会话的绑定。
当匹配到URSP规则时,终端设备按照RSD中的Precedence的顺序来查找合适的PDU会话,并优先使用优先级高的RSD。如果RSD中的某个参数为一个或多个取值,则终端设备选择该参数中的一个与RSD中的其他参数组合查找PDU会话是否存在。若存在对应的PDU会话,则将该应用的数据绑定到该PDU会话上进行传输;若不存在对应的PDU会话,则终端设备触发建立PDU会话,终端设备在触发建立PDU会话的请求消息中上报PDU会话的属性参数。若PDU会话建立成功,终端设备将该应用的数据绑定到PDU会话上进行传输;若PDU会话建立不成功,终端设备修改RSD中的其他参数组合或者使用次优先级的RSD中的参数组合,再次查找PDU会话是否存在。若根据匹配到的URSP规则不能找到合适的PDU会话进行绑定,则终端设备根据优先级顺序查找次优先的URSP规则中的Traffic Descriptor是否能够匹配该应用的数据特征。在能够匹配上时,重复上述查找PDU会话的流程。
终端设备通过终端设备配置更新(UE Configuration Update,UCU)流程获取URSP,如图1所示,PCF实体将要更新的URSP放在一个容器(container)内,发送给AMF实体。AMF实体通过非接入层(Non-access stratum,NAS)消息将容器透传给终端设备,如果终端设备处于空闲状态,则在AMF实体透传容器至终端设备之前,需要使所述终端设备处于连接态,与终端设备建立NAS连接。终端设备接收到URSP后,通过容器向AMF实体发送响应消息,用于指示URSP传输成功或不成功;AMF实体再通过容器将传输结果透传给PCF实体。
本申请提供一种会话验证方法,本申请实施例的会话验证方法可以应用于各种通信系统,例如:全球移动通讯(global system of mobile communication,GSM)系统、码分多址(code division multiple access,CDMA)系统、宽带码分多址(wideband code division multiple access,WCDMA)系统、通用分组无线业务(general packet radio service,GPRS)、长期演进(long term evolution,LTE)系统、LTE频分双工(frequency division duplex,FDD)系统、LTE时分双工(time division duplex,TDD)系统、先进的长期演进(advanced long term evolution,LTE-A)系统、新无线(new radio,NR)系统、NR系统的演进系统、非授权频段上的LTE(LTE-based access to unlicensed spectrum,LTE-U)系统、非授权频段上的NR(NR-based access to unlicensed spectrum,NR-U)系统、通用移动通信系统(universal mobile telecommunication system,UMTS)、全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统、无线局域网(wireless local area networks,WLAN)、无线保真(wireless fidelity,WiFi)、下一代通 信系统或其他通信系统等。
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(device to device,D2D)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及车辆间(vehicle to vehicle,V2V)通信等,本申请实施例也可以应用于这些通信系统。
本申请实施例描述的系统架构以及业务场景是为了更加清楚的说明本申请实施例的技术方案,并不构成对于本申请实施例提供的技术方案的限定,本领域普通技术人员可知,随着网络架构的演变和新业务场景的出现,本申请实施例提供的技术方案对于类似的技术问题,同样适用。
本申请实施例中涉及的网络设备,可以是普通的基站(如NodeB或eNB或者gNB)、新无线控制器(new radio controller,NR controller)、集中式网元(centralized unit)、新无线基站、射频拉远模块、微基站、中继(relay)、分布式网元(distributed unit)、接收点(transmission reception point,TRP)、传输点(transmission point,TP)或者任何其它设备。本申请的实施例对网络设备所采用的具体技术和具体设备形态不做限定。为方便描述,本申请所有实施例中,上述为终端设备提供无线通信功能的装置统称为网络设备。
在本申请实施例中,终端设备可以是任意的终端,比如,终端设备可以是机器类通信的用户设备。也就是说,该终端设备也可称之为用户设备(user equipment,UE)、移动台(mobile station,MS)、移动终端(mobile terminal)、终端(terminal)等,该终端设备可以经无线接入网(radio access network,RAN)与一个或多个核心网进行通信,例如,终端设备可以是移动电话(或称为“蜂窝”电话)、具有移动终端的计算机等,例如,终端设备还可以是便携式、袖珍式、手持式、计算机内置的或者车载的移动装置,它们与无线接入网交换语言和/或数据。本申请实施例中不做具体限定。
可选的,网络设备和终端设备可以部署在陆地上,包括室内或室外、手持或车载;也可以部署在水面上;还可以部署在空中的飞机、气球和人造卫星上。本申请的实施例对网络设备和终端设备的应用场景不做限定。
可选的,网络设备和终端设备之间以及终端设备和终端设备之间可以通过授权频谱(licensed spectrum)进行通信,也可以通过非授权频谱(unlicensed spectrum)进行通信,也可以同时通过授权频谱和非授权频谱进行通信。网络设备和终端设备之间以及终端设备和终端设备之间可以通过7吉兆赫(gigahertz,GHz)以下的频谱进行通信,也可以通过7GHz以上的频谱进行通信,还可以同时使用7GHz以下的频谱和7GHz以上的频谱进行通信。本申请的实施例对网络设备和终端设备之间所使用的频谱资源不做限定。
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(device to device,D2D)通信,机器到机器(machine to machine,M2M)通信,机器类型通信(machine type communication,MTC),以及车辆间(vehicle to vehicle,V2V)通信等,本申请实施例也可以应用于这些通信系统。
示例性的,本申请实施例应用的通信系统100,如图2所示。该通信系统100可以包括网络设备110,网络设备110可以是与终端设备120(或称为通信终端、终端)通信的设备。网络设备110可以为特定的地理区域提供通信覆盖,并且可以与位于该覆盖区域内的终端设备进行通信。可选地,该网络设备110可以是GSM系统或CDMA系统中的基站(Base Transceiver Station,BTS),也可以是WCDMA系统中的基站(NodeB,NB),还可以是LTE系统中的演进型基站(Evolutional Node B,eNB或eNodeB),或者 是云无线接入网络(Cloud Radio Access Network,CRAN)中的无线控制器,或者该网络设备可以为移动交换中心、中继站、接入点、车载设备、可穿戴设备、集线器、交换机、网桥、路由器、5G网络中的网络侧设备或者未来演进的公共陆地移动网络(Public Land Mobile Network,PLMN)中的网络设备等。
该通信系统100还包括位于网络设备110覆盖范围内的至少一个终端设备120。作为在此使用的“终端设备”包括但不限于经由有线线路连接,如经由公共交换电话网络(Public Switched Telephone Networks,PSTN)、数字用户线路(Digital Subscriber Line,DSL)、数字电缆、直接电缆连接;和/或另一数据连接/网络;和/或经由无线接口,如,针对蜂窝网络、无线局域网(Wireless Local Area Network,WLAN)、诸如DVB-H网络的数字电视网络、卫星网络、AM-FM广播发送器;和/或另一终端设备的被设置成接收/发送通信信号的装置;和/或物联网(Internet of Things,IoT)设备。被设置成通过无线接口通信的终端设备可以被称为“无线通信终端”、“无线终端”或“移动终端”。移动终端的示例包括但不限于卫星或蜂窝电话;可以组合蜂窝无线电电话与数据处理、传真以及数据通信能力的个人通信系统(Personal Communications System,PCS)终端;可以包括无线电电话、寻呼机、因特网/内联网接入、Web浏览器、记事簿、日历以及/或全球定位系统(Global Positioning System,GPS)接收器的PDA;以及常规膝上型和/或掌上型接收器或包括无线电电话收发器的其它电子装置。终端设备可以指接入终端、用户设备(User Equipment,UE)、用户单元、用户站、移动站、移动台、远方站、远程终端、移动设备、用户终端、终端、无线通信设备、用户代理或用户装置。接入终端可以是蜂窝电话、无绳电话、会话启动协议(Session Initiation Protocol,SIP)电话、无线本地环路(Wireless Local Loop,WLL)站、个人数字处理(Personal Digital Assistant,PDA)、具有无线通信功能的手持设备、计算设备或连接到无线调制解调器的其它处理设备、车载设备、可穿戴设备、5G网络中的终端设备或者未来演进的PLMN中的终端设备等。
可选地,终端设备120之间可以进行终端直连(Device to Device,D2D)通信。
可选地,5G系统或5G网络还可以称为新无线(New Radio,NR)系统或NR网络。
图2示例性地示出了一个网络设备和两个终端设备,可选地,该通信系统100可以包括多个网络设备并且每个网络设备的覆盖范围内可以包括其它数量的终端设备,本申请实施例对此不做限定。
可选地,该通信系统100还可以包括网络控制器、移动管理实体等其他网络实体,本申请实施例对此不作限定。
应理解,本申请实施例中网络/系统中具有通信功能的设备可称为通信设备。以图2示出的通信系统100为例,通信设备可包括具有通信功能的网络设备110和终端设备120,网络设备110和终端设备120可以为上文所述的具体设备,此处不再赘述;通信设备还可包括通信系统100中的其他设备,例如网络控制器、移动管理实体等其他网络实体,本申请实施例中对此不做限定。
本申请实施例提供的应用于终端设备的会话验证方法的一种可选处理流程,如图3所示,包括以下步骤:
步骤S201,终端设备接收PCF实体发送的URSP,所述URSP包括RSD ID或URSP规则ID。
在一些实施例中,每个RSD具有一个RSD ID,并且,RSD ID在终端设备内唯一。在终端设备在归属地公共陆地移动网(Home Public Land Mobile Network,HPLMN)的情况下,RSD ID由归属地策略控制功能(Home Policy Control Function,H-PCF)实体分配。在终端设备在漫游地公共陆地移动网(Visited Policy Control Function,VPLMN) 的情况下,针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;针对VPLMN的URSP中的RSD ID,由漫游地策略控制功能(Visited Policy Control Function,V-PCF)实体分配。或者,终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
在一些实施例中,所述RSD ID可以包括PLMN ID,所述RSD ID也可以不包括PLMN ID。在所述RSD ID包括PLMN ID的情况下,所述RSD ID按照RSD ID在URSP内的顺序进行编号。在所述RSD ID不包括PLMN ID的情况下,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。
举例来说,中国的A运营商的终端设备漫游到其他国家的B运营商的网络,HPLMN的RSD ID包含中国的A运营商的ID、VPLMN的RSD ID包含B运营商的ID。
RSD ID的一种可选格式示意图,如图4所示,RSD ID包括移动国家码(Mobile Country Code,MCC)、移动网络号码(Mobile Network Code,MNC)和RSD ID在URSP内的顺序编号。RSD ID的另一种可选格式示意图,如图5所示,RSD ID包括MCC、MNC、RSD ID在URSP规则内的编号、以及RSD ID在URSP内的所述PLMN内的编号。在图5所示的RSD ID的格式中,MCC、MNC和RSD ID在URSP规则内的编号可以在URSP规则的开始部分,RSD ID在URSP内的所述PLMN内的编号可以在RSD的开始部分;即一个RSD ID分为两部分存放在URSP rule内。
步骤S202,终端设备向第一网元发送会话参数。
在一些实施例中,所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。所述第一网元可以为AMF实体或者SMF实体。
在一些实施例中,终端设备利用业务描述符匹配到合适的URSP rule后,终端设备发起会话建立流程,向AMF实体发送NAS消息。在该场景下,所述第一网元为AMF实体,所述终端设备向第一网元发送会话参数可以包括:终端设备向AMF实体发送NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。其中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项;或者,所述会话参数至少包括:所述URSP规则ID和所述业务描述符中的至少一项。相应的,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;或者,所述会话参数携带于NAS消息内,不携带于会话建立请求消息或会话修改请求消息内;或者,所述会话参数携带于NAS消息内,也携带于会话建立请求消息或会话修改请求消息内。在所述会话参数中的RSD ID和/或业务描述符中的至少一项,或者所述会话参数中的所述URSP规则ID和/或所述业务描述符携带于所述会话建立请求消息或会话修改请求消息内的情况,所述第一网元为SMF实体。在所述会话参数中的RSD ID和/或业务描述符中的至少一项,或者所述会话参数中的所述URSP规则ID和/或所述业务描述符携带于NAS消息内,不携带于所述会话建立请求消息或会话修改请求消息内的情况,所述第一网元为AMF实体。
在一些实施例中,所述会话参数除了包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项以外,还可以包括下述中的至少一项:PDU session ID、终端设备ID、DNN、S-NSSA、请求类型为初始请求;其中,DNN和S-NSSA来自于URSP规则中的RSD。终端设备发送的NAS消息的内容可以如下表3所示;PDU Session Establishment Request消息存放在Payload container内,并且NAS消息包括RSD ID以及Traffic Descriptor。
Figure PCTCN2019099318-appb-000004
表3
本申请实施例提供的应用于AMF实体的会话验证方法的一种可选处理流程,如图6所示,包括以下步骤:
步骤S301,AMF实体接收终端设备发送的会话参数。
在一些实施例中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项;或者,所述会话参数至少包括:URSP规则ID和所述业务描述符中的至少一项。
在一些实施例中,所述AMF实体接收终端设备发送的NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。其中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项;或者,所述会话参数至少包括:所述URSP规则ID和所述业务描述符中的至少一项。相应的,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;或者,所述会话参数携带于NAS消息内,不携带于会话建立请求消息或会话修改请求消息内;或者,所述会话参数携带于NAS消息内,也携带于会话建立请求消息或会话修改请求消息内。
在一些实施例中,所述会话参数除了包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项以外,还可以包括下述中的至少一项:PDU session ID、终端设备ID、DNN、S-NSSA、请求类型为初始请求。
在一些实施例中,每个RSD具有一个RSD ID,并且,RSD ID在终端设备内唯一。在终端设备在归属地公共陆地移动网(Home Public Land Mobile Network,HPLMN)的情况下,RSD ID由归属地策略控制功能(Home Policy Control Function,H-PCF)实体分配。在终端设备在漫游地公共陆地移动网(Visited Policy Control Function,VPLMN)的情况下,针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;针对VPLMN的URSP中的RSD ID,由漫游地策略控制功能(Visited Policy Control Function,V-PCF)实体分配。或者,终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
在一些实施例中,所述RSD ID可以包括PLMN ID,所述RSD ID也可以不包括PLMN ID。在所述RSD ID包括PLMN ID的情况下,所述RSD ID按照RSD ID在URSP内的顺序进行编号。在所述RSD ID不包括PLMN ID的情况下,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。其中,RSD ID的格式可如图4或图5所示。
在第一种实施例中,在执行步骤S301之后,所述方法还包括:
步骤S302,AMF实体将所述会话参数发送至PCF实体。
在一些实施例中,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,所述终端设备在HPLMN的情况下,所述AMF实体将所述会话参数发送至H-PCF实体。所述终端设备在VPLMN的情况下,所述PCF实体为V-PCF实体。
步骤S303,在AMF实体接收PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据正确的情况下,AMF实体选择用于进行会话建立的SMF实体。
步骤S304,在AMF实体接收PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据不正确的情况下,AMF实体向所述终端设备发送验证失败的消息;所述验证失败的消息携带失败的原因值。其中,原因值可能的取值为验证失败、不识别参数、无法进行路由等。
在第二种实施例中,在执行步骤S301之后,所述方法还包括:
步骤S302’,AMF实体选择用于验证所述终端设备建立的会话或使用会话传输的数据是否正确的SMF实体。
在一些实施例中,AMF实体根据DNN和/或S-NSSAI选择SMF实体。
步骤S303’,AMF实体将所述会话参数发送至所述SMF实体。
在一些实施例中,AMF实体将PCF ID、终端设备ID、RSD ID、traffic descriptor、DNN以及S-NSSAI中的至少一项发送至步骤S302’中所选择的SMF实体。所述SMF实体将所述会话参数发送至PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。在非漫游场景下,SMF实体将会话参数发送至H-PCF实体;在漫游场景下,SMF实体将会话参数发送至V-PCF实体。
需要说明的是,步骤S301、S302、S303和S304可以作为一个独立的实施例单独实施;步骤S301、S302’和S303’可以作为一个独立的实施例单独实施。
本申请实施例提供的应用于PCF实体的会话验证方法的一种可选处理流程,如图7所示,包括以下步骤:
步骤S401,PCF实体向终端设备发送URSP。
在一些实施例中,所述URSP包括RSD ID或URSP规则ID。每个RSD具有一个RSD ID,并且,RSD ID在终端设备内唯一。在终端设备在HPLMN的情况下,RSD ID由H-PCF实体分配。在终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;针对VPLMN的URSP中的RSD ID,由V-PCF实体分配。或者,终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
在一些实施例中,所述RSD ID可以包括PLMN ID,所述RSD ID也可以不包括PLMN ID。在所述RSD ID包括PLMN ID的情况下,所述RSD ID按照RSD ID在URSP内的顺序进行编号。在所述RSD ID不包括PLMN ID的情况下,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。所述RSD ID的格式可以如图4或图5所示。
在一些实施例中,所述方法还可以包括:
步骤S402,PCF实体接收会话参数。
在一些实施例中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项。所述会话参数可以由AMF实体发送,也可以由SMF实体发送。
在一些实施例中,所述方法还可以包括:
步骤S403,PCF实体根据所述会话参数确定RSD。
在一些实施例中,PCF实体根据接收到的会话参数,确定RSD;如根据会话参数中的RSD ID确定与所述RSD ID对应的RSD、或者根据URSP规则ID确定与所述URSP规则对应的RSD。
在一些实施例中,在所述会话参数中除所述RSD ID以外的参数与PCF实体所确定的RSD中的参数一致的情况下,所述PCF实体进一步确定确认所述终端设备建立的会话或使用会话传输的数据正确。例如,将会话参数中包含的DNN和/或S-NSSAI与查找到的RSD中的参数进行比较,如果相同或是PCF实体所确定的RSD中参数的子集,则认为一致;如果不同或不是PCF实体所确定的RSD中参数的子集,则认为不一致。
在另一些实施例中,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数不一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据不正确。
需要说明的是,PCF实体根据会话参数中的RSD ID和/或业务描述符查询URSP,在URSP中查找与RSD ID和/或业务描述符对应的URSP规则和URSP规则内的RSD。V-PCF实体和H-PCF实体均能够确认所述终端设备建立的会话或使用会话传输的数据是否正确。但是,在某些特定的场景下,若V-PCF实体无法找到与RSD ID和/或业务描述符对应的URSP规则内的RSD,V-PCF实体将所述会话参数发送至H-PCF实体,由H-PCF实体查找与RSD ID和/或业务描述符对应的URSP规则内的RSD,以确认所述终端设备建立的会话或使用会话传输的数据是否正确。
本申请实施例提供的应用于SMF实体的会话验证方法的一种可选处理流程,如图8所示,包括以下步骤:
步骤S501,SMF实体接收AMF实体发送的会话参数。
在一些实施例中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者URSP规则ID和所述业务描述符中的至少一项。
在另一些实施例中,所述会话参数除了包括RSD ID和业务描述符中的至少一项,或者URSP规则ID和所述业务描述符中的至少一项以外,还可以包括下述中的至少一项:PDU session ID、终端设备ID、DNN、S-NSSA、请求类型为初始请求。
针对RSD ID,一个RSD ID对应一个RSD,并且,RSD ID在终端设备内唯一。在终端设备在HPLMN的情况下,RSD ID由H-PCF实体分配。在终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;针对VPLMN的URSP中的RSD ID,由V-PCF实体分配。或者,终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
在一些实施例中,所述RSD ID可以包括PLMN ID,所述RSD ID也可以不包括PLMN ID。在所述RSD ID包括PLMN ID的情况下,所述RSD ID按照RSD ID在URSP内的顺序进行编号。在所述RSD ID不包括PLMN ID的情况下,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。所述RSD ID的格式可以如图4或图5所示。
步骤S502,SMF实体将所述会话参数发送至PCF实体。
其中,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在非漫游场景下,SMF实体将所述会话参数发送至H-PCF实体;在漫游场景下,SMF实体将所述会话参数发送至V-PCF实体。
在一些实施例中,所述方法还可以包括:
步骤S503,在所述终端设备建立的会话或使用会话传输的数据正确的情况下,所述SMF实体将业务描述符发送至UPF实体,所述业务描述符用于所述UPF实体确认数据是否传输在正确的会话上。
在所述数据未传输在正确的会话上的情况下,所述方法还可以包括:
步骤S504,SMF实体接收所述UPF实体发送的通知消息,所述SMF实体基于所述通知消息释放所述会话。
基于上述应用于各网元的会话验证方法的描述,本申请实施例应用于通信系统的会话验证方法的一种可选处理流程,如图9所示,包括以下步骤:
步骤S601,终端设备从PCF实体获取URSP。
这里,针对URSP的说明,与上述步骤S201中针对URSP的说明相同,这里不再赘述。
步骤S602,终端设备将会话参数发送至AMF实体。
在一些实施例中,终端设备通过NAS消息将会话参数发送至AMF实体。
这里,针对会话参数的说明,与上述步骤S202中针对会话参数的说明相同,这里不再赘述。
步骤S603,AMF实体将会话参数发送至PCF实体。
在一些实施例中,AMF实体通过容器将会话参数透传至PCF实体。
步骤S604,PCF实体基于会话参数验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据正确。例如,将会话参数中包含的DNN和/或S-NSSAI与查找到的RSD中的参数进行比较,如果相同或是RSD中参数的子集,则认为一致。
在另一些实施例中,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数不一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据不正确。例如,将会话参数中包含的DNN和/或S-NSSAI与查找到的RSD中的参数进行比较,如果不相同或不是RSD中参数的子集,则认为不一致。
步骤S605,PCF实体将验证结果发送至AMF实体。
步骤S606,在确认所述终端设备建立的会话或使用会话传输的数据正确的情况下,AMF实体选择用于进行会话建立的SMF实体。
AMF实体将校验通过的业务描述符或其他可以表征数据的参数发送给SMF实体,其中,所述其他可以表征数据的参数可以是应用标识、业务的服务器地址等;业务描述符或其他可以表征数据的参数经SMF实体转发给UPF实体。当数据传输开始后,UPF实体根据业务描述符或其他可以表征数据的参数来检验上行数据是否与业务描述符或其他可以表征数据的参数一致,以确定数据传输在正确的会话上。如果发现不正确的数据,则抛弃数据,并通知SMF实体释放会话。
步骤S607,在确认所述终端设备建立的会话或使用会话传输的数据不正确的情况下,所述AMF实体向所述终端设备发送验证失败的消息;所述验证失败的消息携带失 败的原因值。
在一些实施例中,AMF实体将从终端设备接收到的PDU会话建立请求消息返给终端设备,并携带原因值。原因值可以为路由失败、选择SMF实体失败、URSP验证失败等。
终端设备NAS层内的移动管理(Mobility Management,MM)模块收到该原因值后,将其转给会话管理(Session Management,SM)模块,SM模块停止会话建立时开启的定时器,并可以重新开始执行步骤S601。
需要说明的是,本申请实施例中RSD ID可以用URSP规则ID替换。
基于上述应用于各网元的会话验证方法的描述,本申请实施例应用于通信系统的会话验证方法的另一种可选处理流程,如图10所示,包括以下步骤:
步骤S801,终端设备从PCF实体获取URSP。
在一些实施例中,步骤S801的处理过程与上述步骤S601的处理过程相同,这里不再赘述。
步骤S802,终端设备将会话参数发送至AMF实体。
在一些实施例中,步骤S802的处理过程与上述步骤S602的处理过程相同,这里不再赘述。
步骤S803,AMF实体选择SMF实体,并将会话参数发送至所选择的SMF实体。
在一些实施例中,AMF实体选择SMF实体的处理过程,与上述步骤S302’相同,这里不再赘述。
AMF实体将会话参数发送至所选择的SMF实体的处理过程,与上述步骤S303’中的处理过程相同,这里不再赘述。
步骤S804,SMF实体将会话参数发送至PCF实体。
在非漫游场景下,SMF实体将所述会话参数发送至H-PCF实体;在漫游场景下,SMF实体将所述会话参数发送至V-PCF实体。
步骤S805,PCF实体基于会话参数验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,PCF实体根据所述会话参数确定RSD,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据正确。
在另一些实施例中,PCF实体根据所述会话参数确定RSD,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数不一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据不正确。
需要说明的是,PCF实体根据会话参数中的RSD ID和/或业务描述符查询URSP,在URSP中查找与RSD ID和/或业务描述符对应的URSP规则和URSP规则内的RSD。V-PCF实体和H-PCF实体均能够确认所述终端设备建立的会话或使用会话传输的数据是否正确。但是,在某些特定的场景下,若V-PCF实体无法找到与RSD ID和/或业务描述符对应的URSP规则内的RSD,V-PCF实体将所述会话参数发送至H-PCF实体,由H-PCF实体查找与RSD ID和/或业务描述符对应的URSP规则内的RSD,以确认所述终端设备建立的会话或使用会话传输的数据是否正确。
步骤S806,PCF实体将验证结果发送至SMF实体。
步骤S807,在确认所述终端设备建立的会话或使用会话传输的数据正确的情况下,SMF实体执行后续会话建立过程。
所述SMF实体将业务描述符发送至UPF实体,所述业务描述符用于所述UPF实体确认数据是否传输在正确的会话上。当数据传输开始后,UPF实体根据业务描述符或 其他可以表征数据的参数来检验上行数据是否与业务描述符或其他可以表征数据的参数一致,以确定数据传输在正确的会话上。如果发现不正确的数据,则抛弃数据,并通知SMF实体释放会话。
步骤S808,在确认所述终端设备建立的会话或使用会话传输的数据不正确的情况下,所述SMF实体拒绝会话建立,并携带原因值。原因值可以为URSP验证失败等。
终端设备NAS层内的MM模块收到该原因值后,将其转给SM模块,SM模块停止会话建立时开启的定时器,并可以重新开始执行步骤S801。
应理解,在本申请的各种实施例中,上述个过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定,而不应对本申请实施例的实施过程构成任何限定。
为实现上述会话验证方法,本申请实施例提供一种终端设备,所述终端设备900的组成结构,如图11所示,包括:
第一接收单元901,配置为接收PCF实体发送的URSP;所述URSP包括RSD ID或者URSP规则ID;
第一发送单元902,配置为向第一网元发送会话参数;所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,所述终端设备在HPLMN的情况下,所述RSD ID由H-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;和/或,针对VPLMN的URSP中的RSD ID,V-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
在一些实施例中,所述RSD ID不包括PLMN ID,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
在一些实施例中,所述RSD ID包括PLMN ID,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。
在一些实施例中,所述第一发送单元902,配置为向所述第一网元发送NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
在一些实施例中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;或者,所述会话参数携带于NAS消息内,不携带于会话建立请求消息或会话修改请求消息内;或者,所述会话参数携带于NAS消息内,也携带于会话建立请求消息或会话修改请求消息内。
在一些实施例中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项;
或者,所述URSP规则ID和所述业务描述符中的至少一项。
在一些实施例中,所述RSD ID在所述终端设备内唯一。
为实现上述会话验证方法,本申请实施例提供一种接入和移动管理功能实体,所述接入和移动管理功能实体1000的组成结构,如图12所示,包括:
第二接收单元1001,配置为接收终端设备发送的会话参数;
所述会话参数至少包括:RSD ID和业务描述符中的至少一项;或者,URSP规则ID和所述业务描述符中的至少一项。
在一些实施例中,所述接入和移动管理功能实体1000还包括:
第二发送单元1002,将所述会话参数发送至PCF实体,所述会话参数用于所述PCF 实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,所述终端设备在HPLMN的情况下,所述PCF实体为H-PCF实体;或者,所述终端设备在VPLMN的情况下,所述PCF实体为V-PCF实体或H-PCF实体。
在一些实施例中,所述接入和移动管理功能实体1000还包括:
第一处理单元1003,配置为在所述第二接收单元接收所述PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据正确的情况下,选择用于进行会话建立的SMF实体。
在一些实施例中,所述接入和移动管理功能实体1000还包括:
第三发送单元1004,配置为在所述第二接收单元接收所述PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据不正确的情况下,向所述终端设备发送验证失败的消息;所述验证失败的消息携带失败的原因值。
在一些实施例中,所述接入和移动管理功能实体1000还包括:
第二处理单元1005,配置为选择用于验证所述终端设备建立的会话或使用会话传输的数据是否正确的SMF实体。
在一些实施例中,所述接入和移动管理功能实体1000还包括:
第四发送单元1006,配置为将所述会话参数发送至所述SMF实体,以使所述SMF实体将所述会话参数发送至PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,所述终端设备在HPLMN的情况下,所述RSD ID由H-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID由H-PCF实体分配;和/或,针对VPLMN的URSP中的RSD ID由V-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
在一些实施例中,所述RSD ID不包括PLMN ID,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
在一些实施例中,所述RSD ID包括PLMN ID,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。
在一些实施例中,所述第二接收单元1001,配置为接收终端设备发送的NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
在一些实施例中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;或者,所述会话参数携带于所述NAS消息内,不携带于所述AMF实体接收所述终端设备发送的所述会话建立请求消息或会话修改请求消息内。
在一些实施例中,所述RSD ID在所述终端设备内唯一。
为实现上述会话验证方法,本申请实施例提供一种策略控制功能实体,所述策略控制功能实体2000的组成结构,如图13所示,包括:
第五发送单元2001,配置为向终端设备发送URSP;所述URSP包括路由选择描述符标识RSD ID或者URSP规则ID。
在一些实施例中,所述策略控制功能实体还包括:第三接收单元2002,配置为接收会话参数;所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项。
在一些实施例中,所述会话参数由AMF实体发送;或者,所述会话参数由SMF实体发送。
在一些实施例中,所述策略控制功能实体还包括:第三处理单元2003,配置为根据所述会话参数确定RSD。
在一些实施例中,所述第三处理单元2003,配置为在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数一致的情况下,确认所述终端设备建立的会话或使用会话传输的数据正确;
或者,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数不一致的情况下,确认所述终端设备建立的会话或使用会话传输的数据不正确。
在一些实施例中,所述终端设备在HPLMN的情况下,所述RSD ID由H-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID由H-PCF实体分配;和/或,针对VPLMN的URSP中的RSD ID由V-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
在一些实施例中,所述RSD ID不包括PLMN ID,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
在一些实施例中,所述RSD ID包括PLMN ID,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。
在一些实施例中,所述第二接收单元1001,配置为接收终端设备发送的NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
在一些实施例中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;或者,所述会话参数携带于所述NAS消息内,不携带于所述AMF实体接收所述终端设备发送的所述会话建立请求消息或会话修改请求消息内。
在一些实施例中,所述RSD ID在所述终端设备内唯一。
为实现上述会话验证方法,本申请实施例提供一种会话管理功能实体,所述会话管理功能实体3000的组成结构,如图14所示,包括:
第四接收单元3001,配置为接收AMF实体发送的会话参数;
所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项;
第六发送单元3002,配置为将所述会话参数发送至策略控制功能PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
在一些实施例中,所述终端设备在HPLMN的情况下,所述RSD ID由H-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID由H-PCF实体分配;和/或,针对VPLMN的URSP中的RSD ID由V-PCF实体分配。
在一些实施例中,所述终端设备在VPLMN的情况下,针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
在一些实施例中,所述RSD ID不包括PLMN ID,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
在一些实施例中,所述RSD ID包括PLMN ID,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号,和/或所述RSD ID包括所述RSD ID在URSP规则内的编号。
在一些实施例中,所述第六发送单元3002,还配置为在所述终端设备建立的会话或使用会话传输的数据正确的情况下,将业务描述符发送至用户端口功能UPF实体,所述业务描述符用于所述UPF实体确认数据是否传输在正确的会话上;
或者,在所述终端设备建立的会话或使用会话传输的数据不正确的情况下,所述SMF实体拒绝会话建立或不使用会话传输数据。
在一些实施例中,所述第四接收单元3001,还配置为在所述数据未传输在正确的会话上的情况下,接收所述UPF实体发送的通知消息,释放所述会话。
本申请实施例还提供一种终端设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述终端设备执行的会话验证方法的步骤。
本申请实施例还提供一种接入和移动管理功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述接入和移动管理功能实体执行的会话验证方法的步骤。
本申请实施例还提供一种策略控制功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述策略控制功能实体执行的会话验证方法的步骤。
本申请实施例还提供一种会话管理功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,所述处理器用于运行所述计算机程序时,执行上述会话管理功能实体执行的会话验证方法的步骤。
图15是本申请实施例的电子设备(终端设备、接入和移动管理功能实体、策略控制功能实体或会话管理功能实体)的硬件组成结构示意图,电子设备700包括:至少一个处理器701、存储器702和至少一个网络接口704。电子设备700中的各个组件通过总线系统705耦合在一起。可理解,总线系统705用于实现这些组件之间的连接通信。总线系统705除包括数据总线之外,还包括电源总线、控制总线和状态信号总线。但是为了清楚说明起见,在图15中将各种总线都标为总线系统705。
可以理解,存储器702可以是易失性存储器或非易失性存储器,也可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是ROM、可编程只读存储器(PROM,Programmable Read-Only Memory)、可擦除可编程只读存储器(EPROM,Erasable Programmable Read-Only Memory)、电可擦除可编程只读存储器(EEPROM,Electrically Erasable Programmable Read-Only Memory)、磁性随机存取存储器(FRAM,ferromagnetic random access memory)、快闪存储器(Flash Memory)、磁表面存储器、光盘、或只读光盘(CD-ROM,Compact Disc Read-Only Memory);磁表面存储器可以是磁盘存储器或磁带存储器。易失性存储器可以是随机存取存储器(RAM,Random Access Memory),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(SRAM,Static Random Access Memory)、同步静态随机存取存储器(SSRAM,Synchronous Static Random Access Memory)、动态随机存取存储器(DRAM,Dynamic Random Access Memory)、同步动态随机存取存储器(SDRAM,Synchronous Dynamic Random Access Memory)、双倍数据速率同步动态随机存取存储器(DDRSDRAM,Double Data Rate Synchronous Dynamic Random Access Memory)、增强型同步动态随机存取存储器(ESDRAM,Enhanced Synchronous Dynamic Random Access Memory)、同步连接动态随机存取存储器(SLDRAM,SyncLink Dynamic Random Access  Memory)、直接内存总线随机存取存储器(DRRAM,Direct Rambus Random Access Memory)。本申请实施例描述的存储器702旨在包括但不限于这些和任意其它适合类型的存储器。
本申请实施例中的存储器702用于存储各种类型的数据以支持电子设备700的操作。这些数据的示例包括:用于在电子设备700上操作的任何计算机程序,如应用程序7022。实现本申请实施例方法的程序可以包含在应用程序7022中。
上述本申请实施例揭示的方法可以应用于处理器701中,或者由处理器701实现。处理器701可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法的各步骤可以通过处理器701中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器701可以是通用处理器、数字信号处理器(DSP,Digital Signal Processor),或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件等。处理器701可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者任何常规的处理器等。结合本申请实施例所公开的方法的步骤,可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于存储介质中,该存储介质位于存储器702,处理器701读取存储器702中的信息,结合其硬件完成前述方法的步骤。
在示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(ASIC,Application Specific Integrated Circuit)、DSP、可编程逻辑器件(PLD,Programmable Logic Device)、复杂可编程逻辑器件(CPLD,Complex Programmable Logic Device)、FPGA、通用处理器、控制器、MCU、MPU、或其他电子元件实现,用于执行前述方法。
本申请实施例还提供了一种存储介质,用于存储计算机程序。
可选的,该存储介质可应用于本申请实施例中的终端设备,并且该计算机程序使得计算机执行本申请实施例的各个方法中的相应流程,为了简洁,在此不再赘述。
本申请是参照根据本申请实施例的方法、设备(系统)、和计算机程序产品的流程图和/或方框图来描述的。应理解可由计算机程序指令实现流程图和/或方框图中的每一流程和/或方框、以及流程图和/或方框图中的流程和/或方框的结合。可提供这些计算机程序指令到通用计算机、专用计算机、嵌入式处理机或其他可编程数据处理设备的处理器以产生一个机器,使得通过计算机或其他可编程数据处理设备的处理器执行的指令产生用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的装置。
这些计算机程序指令也可存储在能引导计算机或其他可编程数据处理设备以特定方式工作的计算机可读存储器中,使得存储在该计算机可读存储器中的指令产生包括指令装置的制造品,该指令装置实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能。
这些计算机程序指令也可装载到计算机或其他可编程数据处理设备上,使得在计算机或其他可编程设备上执行一系列操作步骤以产生计算机实现的处理,从而在计算机或其他可编程设备上执行的指令提供用于实现在流程图一个流程或多个流程和/或方框图一个方框或多个方框中指定的功能的步骤。
以上所述,仅为本申请的较佳实施例而已,并非用于限定本申请的保护范围,凡在本申请的精神和原则之内所作的任何修改、等同替换和改进等,均应包含在本申请的保护范围之内。

Claims (120)

  1. 一种会话验证方法,所述方法包括:
    终端设备接收策略控制功能PCF实体发送的终端设备路由选择策略URSP;所述URSP包括路由选择描述符标识RSD ID或者URSP规则ID;
    所述终端设备向第一网元发送会话参数;所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  2. 根据权利要求1所述的方法,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  3. 根据权利要求1所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID,由漫游地策略控制功能V-PCF实体分配。
  4. 根据权利要求1所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
  5. 根据权利要求1至4任一项所述的方法,其中,所述RSD ID不包括PLMN ID。
  6. 根据权利要求5所述的方法,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  7. 根据权利要求1至4任一项所述的方法,其中,所述RSD ID包括PLMN ID。
  8. 根据权利要求7所述的方法,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  9. 根据权利要求7或8所述的方法,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  10. 根据权利要求1至9任一项所述的方法,其中,所述终端设备向第一网元发送会话参数,包括:
    所述终端设备向所述第一网元发送非接入层NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
  11. 根据权利要求10所述的方法,其中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;
    或者,所述会话参数携带于NAS消息内,不携带于会话建立请求消息或会话修改请求消息内;
    或者,所述会话参数携带于NAS消息内,也携带于会话建立请求消息或会话修改请求消息内。
  12. 根据权利要求1至11任一项所述的方法,其中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项;
    或者,所述URSP规则ID和所述业务描述符中的至少一项。
  13. 根据权利要求1至12任一项所述的方法,其中,所述RSD ID在所述终端设备内唯一。
  14. 根据权利要求1至13任一项所述的方法,其中,所述第一网元为接入和移动管理功能AMF实体或会话管理功能SMF实体。
  15. 一种会话验证方法,所述方法包括:
    接入和移动管理功能AMF实体接收终端设备发送的会话参数;
    所述会话参数至少包括:路由选择描述符标识RSD ID和业务描述符中的至少一项;
    或者,终端设备路由选择策略URSP规则ID和所述业务描述符中的至少一项。
  16. 根据权利要求15所述的方法,其中,所述方法还包括:
    所述AMF实体将所述会话参数发送至策略控制功能PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  17. 根据权利要求16所述的方法,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述PCF实体为归属地策略控制功能H-PCF实体;
    或者,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,所述PCF实体为漫游地策略控制功能V-PCF实体或H-PCF实体。
  18. 根据权利要求17所述的方法,其中,所述方法还包括:
    在所述AMF实体接收所述PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据正确的情况下,所述AMF实体选择用于进行会话建立的会话管理功能SMF实体。
  19. 根据权利要求17所述的方法,其中,所述方法还包括:
    在所述AMF实体接收所述PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据不正确的情况下,所述AMF实体向所述终端设备发送验证失败的消息;所述验证失败的消息携带失败的原因值。
  20. 根据权利要求15所述的方法,其中,所述方法还包括:
    所述AMF实体选择用于验证所述终端设备建立的会话或使用会话传输的数据是否正确的SMF实体。
  21. 根据权利要求20所述的方法,其中,所述方法还包括:
    所述AMF实体将所述会话参数发送至所述SMF实体,以使所述SMF实体将所述会话参数发送至PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  22. 根据权利要求15至21任一项所述的方法,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  23. 根据权利要求15至21任一项所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID由漫游地策略控制功能V-PCF实体分配。
  24. 根据权利要求15至21任一项所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
  25. 根据权利要求15至24任一项所述的方法,其中,所述RSD ID不包括PLMN ID。
  26. 根据权利要求25所述的方法,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  27. 根据权利要求15至24任一项所述的方法,其中,所述RSD ID包括PLMN ID。
  28. 根据权利要求27所述的方法,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  29. 根据权利要求27或28所述的方法,其中,所述RSD ID包括所述RSD ID在 URSP规则内的编号。
  30. 根据权利要求15至29任一项所述的方法,其中,所述AMF实体接收终端设备发送的会话参数,包括:
    所述AMF实体接收终端设备发送的非接入层NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
  31. 根据权利要求30所述的方法,其中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;
    或者,所述会话参数携带于所述NAS消息内,不携带于所述AMF实体接收所述终端设备发送的所述会话建立请求消息或会话修改请求消息内;
    或者,所述会话参数携带于所述NAS消息内,也携带于所述AMF实体接收所述终端设备发送的所述会话建立请求消息或会话修改请求消息内。
  32. 根据权利要求15至31任一项所述的方法,其中,所述RSD ID在所述终端设备内唯一。
  33. 一种会话验证方法,所述方法包括:
    策略控制功能PCF实体向终端设备发送终端设备路由选择策略URSP;
    所述URSP包括路由选择描述符标识RSD ID或者URSP规则ID。
  34. 根据权利要求33所述的方法,其中,所述方法还包括:
    所述PCF实体接收会话参数;
    所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项。
  35. 根据权利要求34所述的方法,其中,所述会话参数由接入和移动管理功能AMF实体发送;
    或者,所述会话参数由会话管理功能SMF实体发送。
  36. 根据权利要求34或35所述的方法,其中,所述方法还包括:
    所述PCF实体根据所述会话参数确定RSD。
  37. 根据权利要求36所述的方法,其中,
    在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据正确;
    或者,在所述会话参数中除所述RSD ID以外的参数与所述RSD中的参数不一致的情况下,所述PCF实体确认所述终端设备建立的会话或使用会话传输的数据不正确。
  38. 根据权利要求33至37任一项所述的方法,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  39. 根据权利要求33至37一项所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID由漫游地策略控制功能V-PCF实体分配。
  40. 根据权利要求33至37任一项所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
  41. 根据权利要求33至40任一项所述的方法,其中,所述RSD ID不包括PLMN ID。
  42. 根据权利要求41所述的方法,其中,所述RSD ID按照RSD ID在URSP内的 顺序进行编号。
  43. 根据权利要求33至40任一项所述的方法,其中,所述RSD ID包括PLMN ID。
  44. 根据权利要求43所述的方法,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  45. 根据权利要求43或44所述的方法,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  46. 一种会话验证方法,所述方法包括:
    会话管理功能SMF实体接收接入和移动管理功能AMF实体发送的会话参数;
    所述会话参数至少包括:路由选择描述符标识RSD ID和业务描述符中的至少一项,或者终端设备路由选择策略URSP规则ID和所述业务描述符中的至少一项;
    所述SMF实体将所述会话参数发送至策略控制功能PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  47. 根据权利要求46所述的方法,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  48. 根据权利要求46所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID由漫游地策略控制功能V-PCF实体分配。
  49. 根据权利要求46所述的方法,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
  50. 根据权利要求46至49任一项所述的方法,其中,所述RSD ID不包括PLMN ID。
  51. 根据权利要求50所述的方法,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  52. 根据权利要求46至49任一项所述的方法,其中,所述RSD ID包括PLMN ID。
  53. 根据权利要求52所述的方法,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  54. 根据权利要求52或53所述的方法,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  55. 根据权利要求46至54任一项所述的方法,其中,所述方法还包括:
    在所述终端设备建立的会话或使用会话传输的数据正确的情况下,所述SMF实体将业务描述符发送至用户端口功能UPF实体,所述业务描述符用于所述UPF实体确认数据是否传输在正确的会话上;
    或者,在所述终端设备建立的会话或使用会话传输的数据不正确的情况下,所述SMF实体拒绝会话建立或不使用会话传输数据。
  56. 根据权利要求55所述的方法,其中,在所述数据未传输在正确的会话上的情况下,所述方法还包括:
    所述SMF实体接收所述UPF实体发送的通知消息;
    所述SMF实体释放所述会话。
  57. 一种终端设备,所述终端设备包括:
    第一接收单元,配置为接收策略控制功能PCF实体发送的终端设备路由选择策略 URSP;所述URSP包括路由选择描述符标识RSD ID或者URSP规则ID;
    第一发送单元,配置为向第一网元发送会话参数;所述会话参数用于验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  58. 根据权利要求57所述的终端设备,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  59. 根据权利要求57所述的终端设备,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID,由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID,由漫游地策略控制功能V-PCF实体分配。
  60. 根据权利要求57所述的终端设备,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID,均由H-PCF实体分配。
  61. 根据权利要求57至60任一项所述的终端设备,其中,所述RSD ID不包括PLMN ID。
  62. 根据权利要求61所述的终端设备,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  63. 根据权利要求57至60任一项所述的终端设备,其中,所述RSD ID包括PLMN ID。
  64. 根据权利要求63所述的终端设备,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  65. 根据权利要求63或64所述的终端设备,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  66. 根据权利要求57至65任一项所述的终端设备,其中,所述第一发送单元,配置为向所述第一网元发送非接入层NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
  67. 根据权利要求66所述的终端设备,其中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;
    或者,所述会话参数携带于NAS消息内,不携带于会话建立请求消息或会话修改请求消息内;
    或者,所述会话参数携带于NAS消息内,也携带于会话建立请求消息或会话修改请求消息内。
  68. 根据权利要求57至67任一项所述的终端设备,其中,所述会话参数至少包括:RSD ID和业务描述符中的至少一项;
    或者,所述URSP规则ID和所述业务描述符中的至少一项。
  69. 根据权利要求57至68任一项所述的终端设备,其中,所述RSD ID在所述终端设备内唯一。
  70. 根据权利要求57至69任一项所述的终端设备,其中,所述第一网元为接入和移动管理功能AMF实体或会话管理功能SMF实体。
  71. 一种接入和移动管理功能实体,所述接入和移动管理功能实体包括:
    第二接收单元,配置为接收终端设备发送的会话参数;
    所述会话参数至少包括:路由选择描述符标识RSD ID和业务描述符中的至少一项;
    或者,终端设备路由选择策略URSP规则ID和所述业务描述符中的至少一项。
  72. 根据权利要求71所述的接入和移动管理功能实体,其中,所述接入和移动管理功能实体还包括:
    第二发送单元,将所述会话参数发送至策略控制功能PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  73. 根据权利要求72所述的接入和移动管理功能实体,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述PCF实体为归属地策略控制功能H-PCF实体;
    或者,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,所述PCF实体为漫游地策略控制功能V-PCF实体或H-PCF。
  74. 根据权利要求73所述的接入和移动管理功能实体,其中,所述移动管理功能实体还包括:
    第一处理单元,配置为在所述第二接收单元接收所述PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据正确的情况下,选择用于进行会话建立的会话管理功能SMF实体。
  75. 根据权利要求73所述的接入和移动管理功能实体,其中,所述接入和移动管理功能实体还包括:
    第三发送单元,配置为在所述第二接收单元接收所述PCF实体发送的验证所述终端设备建立的会话或使用会话传输的数据不正确的情况下,向所述终端设备发送验证失败的消息;所述验证失败的消息携带失败的原因值。
  76. 根据权利要求71所述的接入和移动管理功能实体,其中,所述接入和移动管理功能实体还包括:
    第二处理单元,配置为选择用于验证所述终端设备建立的会话或使用会话传输的数据是否正确的SMF实体。
  77. 根据权利要求76所述的接入和移动管理功能实体,其中,所述接入和移动管理功能实体还包括:
    第四发送单元,配置为将所述会话参数发送至所述SMF实体,以使所述SMF实体将所述会话参数发送至PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  78. 根据权利要求71至77任一项所述的接入和移动管理功能实体,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  79. 根据权利要求71至77任一项所述的接入和移动管理功能实体,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID由漫游地策略控制功能V-PCF实体分配。
  80. 根据权利要求71至77任一项所述的接入和移动管理功能实体,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
  81. 根据权利要求71至80任一项所述的接入和移动管理功能实体,其中,所述RSD ID不包括PLMN ID。
  82. 根据权利要求81所述的接入和移动管理功能实体,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  83. 根据权利要求71至80任一项所述的接入和移动管理功能实体,其中,所述RSD ID包括PLMN ID。
  84. 根据权利要求83所述的接入和移动管理功能实体,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  85. 根据权利要求83或84所述的接入和移动管理功能实体,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  86. 根据权利要求71至85任一项所述的移动管理功能实体,其中,所述第二接收单元,配置为接收终端设备发送的非接入层NAS消息,所述NAS消息中包含会话建立请求消息或者会话修改请求消息。
  87. 根据权利要求86所述的接入和移动管理功能实体,其中,所述会话参数携带于所述会话建立请求消息或所述会话修改请求消息内;
    或者,所述会话参数携带于所述NAS消息内,不携带于所述AMF实体接收所述终端设备发送的所述会话建立请求消息或会话修改请求消息内;
    或者,所述会话参数携带于所述NAS消息内,也携带于所述AMF实体接收所述终端设备发送的所述会话建立请求消息或会话修改请求消息内。
  88. 根据权利要求71至87任一项所述的接入和移动管理功能实体,其中,所述RSD ID在所述终端设备内唯一。
  89. 一种策略控制功能实体,所述策略控制功能实体包括:
    第五发送单元,配置为向终端设备发送终端设备路由选择策略URSP;
    所述URSP包括路由选择描述符标识RSD ID或者URSP规则ID。
  90. 根据权利要求89所述的策略控制功能实体,其中,所述策略控制功能实体还包括:
    第三接收单元,配置为接收会话参数;
    所述会话参数至少包括:RSD ID和业务描述符中的至少一项,或者所述URSP规则ID和所述业务描述符中的至少一项。
  91. 根据权利要求90所述的策略控制功能实体,其中,所述会话参数由接入和移动管理功能AMF实体发送;
    或者,所述会话参数由会话管理功能SMF实体发送。
  92. 根据权利要求90或91所述的策略控制功能实体,其中,所述策略控制功能实体还包括:
    第三处理单元,配置为根据所述会话参数确定RSD。
  93. 根据权利要求92所述的策略控制功能实体,其中,所述第三处理单元,配置为在所述会话参数中除所述RSDID以外的参数与所述RSD中的参数一致的情况下,确认所述终端设备建立的会话或使用会话传输的数据正确;
    或者,在所述会话参数中除所述RSDID以外的参数与所述RSD中的参数不一致的情况下,确认所述终端设备建立的会话或使用会话传输的数据不正确。
  94. 根据权利要求89至93任一项所述的策略控制功能实体,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  95. 根据权利要求89至93任一项所述的策略控制功能实体,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID由漫游地策略控制功能V-PCF实体分配。
  96. 根据权利要求89至93任一项所述的策略控制功能实体,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
  97. 根据权利要求89至96任一项所述的策略控制功能实体,其中,所述RSD ID不包括PLMN ID。
  98. 根据权利要求97所述的策略控制功能实体,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  99. 根据权利要求89至96任一项所述的策略控制功能实体,其中所述RSD ID包括PLMN ID。
  100. 根据权利要求99所述的策略控制功能实体,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  101. 根据权利要求99或100所述的策略控制功能实体,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  102. 一种会话管理功能实体,所述会话管理功能实体包括:
    第四接收单元,配置为接收接入和移动管理功能AMF实体发送的会话参数;
    所述会话参数至少包括:路由选择描述符标识RSD ID和业务描述符中的至少一项,或者终端设备路由选择策略URSP规则ID和所述业务描述符中的至少一项;
    第六发送单元,配置为将所述会话参数发送至策略控制功能PCF实体,所述会话参数用于所述PCF实体验证所述终端设备建立的会话或使用会话传输的数据是否正确。
  103. 根据权利要求102所述的会话管理功能实体,其中,所述终端设备在归属地公共陆地移动网HPLMN的情况下,所述RSD ID由归属地策略控制功能H-PCF实体分配。
  104. 根据权利要求102所述的会话管理功能实体,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID由H-PCF实体分配;
    和/或,针对VPLMN的URSP中的RSD ID由漫游地策略控制功能V-PCF实体分配。
  105. 根据权利要求102所述的会话管理功能实体,其中,所述终端设备在漫游地公共陆地移动网VPLMN的情况下,
    针对HPLMN的URSP中的RSD ID和针对VPLMN的URSP中的RSD ID均由H-PCF实体分配。
  106. 根据权利要求102至105任一项所述的会话管理功能实体,其中,所述RSD ID不包括PLMN ID。
  107. 根据权利要求106所述的会话管理功能实体,其中,所述RSD ID按照RSD ID在URSP内的顺序进行编号。
  108. 根据权利要求102至105任一项所述的会话管理功能实体,其中,所述RSD ID包括PLMN ID。
  109. 根据权利要求108所述的会话管理功能实体,其中,所述RSD ID包括所述RSD ID在URSP内的所述PLMN内的编号。
  110. 根据权利要求108或109所述的会话管理功能实体,其中,所述RSD ID包括所述RSD ID在URSP规则内的编号。
  111. 根将权利要求102至110任一项所述的会话管理功能实体,其中,所述第六发送单元,还配置为在所述终端设备建立的会话或使用会话传输的数据正确的情况下, 将业务描述符发送至用户端口功能UPF实体,所述业务描述符用于所述UPF实体确认数据是否传输在正确的会话上;
    或者,在所述终端设备建立的会话或使用会话传输的数据不正确的情况下,所述SMF实体拒绝会话建立或不使用会话传输数据。
  112. 根据权利要求111所述的会话管理功能实体,其中,所述第四接收单元,还配置为在所述数据未传输在正确的会话上的情况下,接收所述UPF实体发送的通知消息,释放所述会话。
  113. 一种终端设备,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求1至14任一项所述的会话验证方法的步骤。
  114. 一种接入和移动管理功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求15至32任一项所述的会话验证方法的步骤。
  115. 一种策略控制功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求33至45任一项所述的会话验证方法的步骤。
  116. 一种会话管理功能实体,包括处理器和用于存储能够在处理器上运行的计算机程序的存储器,其中,
    所述处理器用于运行所述计算机程序时,执行权利要求46至56任一项所述的会话验证方法的步骤。
  117. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求1至14任一项所述的会话验证方法。
  118. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求15至32任一项所述的会话验证方法。
  119. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求33至45任一项所述的会话验证方法。
  120. 一种存储介质,存储有可执行程序,所述可执行程序被处理器执行时,实现权利要求46至56任一项所述的会话验证方法。
PCT/CN2019/099318 2019-08-05 2019-08-05 一种会话验证方法、电子设备及存储介质 WO2021022460A1 (zh)

Priority Applications (4)

Application Number Priority Date Filing Date Title
PCT/CN2019/099318 WO2021022460A1 (zh) 2019-08-05 2019-08-05 一种会话验证方法、电子设备及存储介质
EP19940601.8A EP4007360A4 (en) 2019-08-05 2019-08-05 SESSION VERIFICATION METHOD, ELECTRONIC DEVICE AND STORAGE MEDIA
CN201980094500.7A CN113615246A (zh) 2019-08-05 2019-08-05 一种会话验证方法、电子设备及存储介质
US17/585,466 US20220150991A1 (en) 2019-08-05 2022-01-26 Session verification method, user equipment, and policy control function entity

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2019/099318 WO2021022460A1 (zh) 2019-08-05 2019-08-05 一种会话验证方法、电子设备及存储介质

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US17/585,466 Continuation US20220150991A1 (en) 2019-08-05 2022-01-26 Session verification method, user equipment, and policy control function entity

Publications (1)

Publication Number Publication Date
WO2021022460A1 true WO2021022460A1 (zh) 2021-02-11

Family

ID=74502527

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2019/099318 WO2021022460A1 (zh) 2019-08-05 2019-08-05 一种会话验证方法、电子设备及存储介质

Country Status (4)

Country Link
US (1) US20220150991A1 (zh)
EP (1) EP4007360A4 (zh)
CN (1) CN113615246A (zh)
WO (1) WO2021022460A1 (zh)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023213309A1 (zh) * 2022-05-06 2023-11-09 维沃移动通信有限公司 Ursp规则的验证方法、装置及网络侧设备

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2024035195A1 (ko) * 2022-08-12 2024-02-15 엘지전자 주식회사 무선 통신 시스템에서 ursp 규칙 식별자를 생성하는 방법 및 장치
CN117692982A (zh) * 2022-09-02 2024-03-12 维沃移动通信有限公司 路由选择策略执行情况处理方法、装置及设备

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109548175A (zh) * 2017-08-15 2019-03-29 华为技术有限公司 一种会话处理方法及装置
CN109819485A (zh) * 2017-11-21 2019-05-28 华为技术有限公司 一种通信方法、装置及系统
CN110049519A (zh) * 2018-01-15 2019-07-23 华为技术有限公司 会话建立方法、会话转移方法、设备和存储介质

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US10841084B2 (en) * 2017-02-03 2020-11-17 Qualcomm Incorporated Session management authorization token
US20190007992A1 (en) * 2017-07-03 2019-01-03 Electronics And Telecommunications Research Institute Network triggered service request method and user equipment (ue) triggered service request method
EP4362434A2 (en) * 2017-08-11 2024-05-01 Huawei Technologies Co., Ltd. Pdu type setting method, ue policy setting method, and related entity
CN114125817A (zh) * 2017-12-13 2022-03-01 华为技术有限公司 用户策略的获取
WO2019190166A1 (ko) * 2018-03-29 2019-10-03 엘지전자 주식회사 Ladn을 위한 pdu 세션 수립 절차를 수행하는 방법, 사용자 장치 및 네트워크 노드
CN113016215B (zh) * 2018-11-16 2024-03-29 联想(新加坡)私人有限公司 不支持通过非3gpp接入的nas的ue的接入网络选择
US10602422B1 (en) * 2018-12-10 2020-03-24 Verizon Patent And Licensing Inc. Application-based user equipment route selection policy mapping

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN109548175A (zh) * 2017-08-15 2019-03-29 华为技术有限公司 一种会话处理方法及装置
CN109819485A (zh) * 2017-11-21 2019-05-28 华为技术有限公司 一种通信方法、装置及系统
CN110049519A (zh) * 2018-01-15 2019-07-23 华为技术有限公司 会话建立方法、会话转移方法、设备和存储介质

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
See also references of EP4007360A4 *

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2023213309A1 (zh) * 2022-05-06 2023-11-09 维沃移动通信有限公司 Ursp规则的验证方法、装置及网络侧设备

Also Published As

Publication number Publication date
EP4007360A1 (en) 2022-06-01
US20220150991A1 (en) 2022-05-12
EP4007360A4 (en) 2022-08-17
CN113615246A (zh) 2021-11-05

Similar Documents

Publication Publication Date Title
US20210022063A1 (en) Data transmission method and apparatus
WO2021007785A1 (zh) 一种策略映射方法及装置、终端
WO2020014983A1 (zh) 会话管理方法、终端设备和网络设备
EP4040813A1 (en) Communication method, device and apparatus
US20220150991A1 (en) Session verification method, user equipment, and policy control function entity
US20220240122A1 (en) Method for qos control and apparatus
WO2020102989A1 (zh) 注册的方法、终端设备和网络设备
WO2020206677A1 (zh) 一种配置策略的方法及装置、网络设备、终端
WO2021087910A1 (zh) 用于连接网络的方法和设备
WO2021056576A1 (zh) 一种业务传输方法及装置、通信设备
CN116390203A (zh) 选择网络的方法和装置
WO2020087308A1 (zh) 一种业务处理方法、设备及存储介质
WO2021088007A1 (zh) 无线通信的方法、终端设备和网络设备
WO2020252793A1 (zh) 一种选择网络的方法、设备及存储介质
EP3793222B1 (en) Method for vehicle to everything communication, and terminal
WO2020199105A1 (zh) 数据绑定方法、信息更新方法及装置、终端
WO2020061851A1 (zh) 无线通信方法和基站
WO2021134760A1 (zh) 一种传输模式切换方法、电子设备及存储介质
WO2020077966A1 (zh) 一种参数配置方法、终端设备及存储介质
WO2020077669A1 (zh) 一种参数配置方法、终端设备及存储介质
WO2021056356A1 (zh) 一种业务请求方法、电子设备及存储介质
WO2020087546A1 (zh) 一种网络信息传输方法、获取方法、网络设备及终端设备
US20230102218A1 (en) Data transmission method and device, and storage medium
WO2022021371A1 (zh) 一种会话建立方法、电子设备及存储介质
WO2022205383A1 (zh) 一种中继方式确定方法、电子设备及存储介质

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: 19940601

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 2019940601

Country of ref document: EP

Effective date: 20220224