WO2022237872A1 - 一种通信方法及装置 - Google Patents

一种通信方法及装置 Download PDF

Info

Publication number
WO2022237872A1
WO2022237872A1 PCT/CN2022/092468 CN2022092468W WO2022237872A1 WO 2022237872 A1 WO2022237872 A1 WO 2022237872A1 CN 2022092468 W CN2022092468 W CN 2022092468W WO 2022237872 A1 WO2022237872 A1 WO 2022237872A1
Authority
WO
WIPO (PCT)
Prior art keywords
session
message
network element
user plane
management function
Prior art date
Application number
PCT/CN2022/092468
Other languages
English (en)
French (fr)
Inventor
杨林平
胡先鸽
胡文
强鹂
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Priority to JP2023569906A priority Critical patent/JP2024520917A/ja
Priority to EP22806834.2A priority patent/EP4325987A1/en
Publication of WO2022237872A1 publication Critical patent/WO2022237872A1/zh
Priority to US18/507,637 priority patent/US20240080918A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/12Setup of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/27Transitions between radio resource control [RRC] states
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/38Connection release triggered by timers
    • 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
    • H04W76/00Connection management
    • H04W76/10Connection setup
    • H04W76/18Management of setup rejection or failure
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/20Manipulation of established connections
    • H04W76/22Manipulation of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/30Connection release
    • H04W76/32Release of transport tunnels
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W88/00Devices specially adapted for wireless communication networks, e.g. terminals, base stations or access point devices
    • H04W88/14Backbone network devices

Definitions

  • the embodiments of the present application relate to the field of wireless communication, and in particular, to a communication method and device.
  • both a user equipment (user equipment, UE) and a network side device can perform different operations on the same session.
  • the UE can trigger a request to establish user plane resources.
  • the network side device determines that it is necessary to modify the same protocol data unit (protocol data unit, PDU) session (PDU session) or release the same PDU session, the network side device can initiate the process of modifying or releasing the PDU session. Therefore, for the same PDU session, there may be a scenario in which the process of requesting to establish user plane resources initiated by the UE conflicts with the process of modifying or releasing the PDU session initiated by the network side device.
  • the above conflict scenario may cause the terminal device and the network element with the session management function to wait for the response message of the request operation initiated by both parties until their respective timers expire, thereby affecting the service process and user experience of the user.
  • Embodiments of the present application provide a communication method and device to solve the problem of conflicts between operations initiated by a UE and a network side device on the same PDU session.
  • the present application provides a communication method, the method including: a session management function network element initiates a process of a first operation for a first session, and during the execution of the first operation, the session management function network The element receives, from the access and mobility management functional network element, an establishment request for the user plane resource of the first session. The session management functional network element determines a subsequent process according to the type of the first operation.
  • the network element with the session management function can determine the follow-up operation process according to the type of the first operation, thereby effectively ensuring smooth user experience and service process.
  • the first operation is to modify the first session; when the session management function network element determines a follow-up process according to the type of the first operation, the session management function network element stops Modify the flow of the first session, and execute the flow of establishing the user plane resource of the first session.
  • the session management function network element suspends the process of modifying the first session, and executes the process of establishing the user plane resource of the first session, which can prevent the terminal device and the session management function network element from waiting for the response message of the request operation initiated by both parties , causing the respective timers to time out.
  • the session management function network element stops a first timer, where the first timer includes a timer waiting for a response message for modifying the first session.
  • the session management function network element After the session management function network element completes the process of establishing the user plane resource of the first session, the session management function network element re-initiates the process of modifying the first session.
  • the session management function network element can re-initiate the process of modifying the first session after completing the process of establishing the user plane resource of the first session.
  • the session management function network element when the session management function network element executes the process of establishing the user plane resource of the first session, the session management function network element sends the access and mobility management function network element Sending a first message, where the first message indicates that the user plane resources of the first session are successfully established.
  • the first message is an update session management context response message
  • the update session management context response message includes one or more of the following: user plane context state information or session management information
  • the user plane The context state information indicates that the state of the user plane resource of the first session is being activated
  • the session management information includes parameters related to establishment of the user plane resource of the first session.
  • the first operation is to release the first session; when the session management function network element determines a subsequent procedure according to the type of the first operation, the session management function network element refuses to A request is made for the establishment of user plane resources of the first session, and the process of releasing the first session is continued.
  • the session management function network element rejects the establishment request of the user plane resources of the first session, and continues to execute the process of releasing the first session, which can avoid the problem of the terminal device and the session management function network element waiting for the request operation initiated by both parties Response messages, which cause the respective timers to time out.
  • the session management function network element receives a response message for releasing the first session.
  • the session management function network element when the session management function network element rejects the establishment request of the user plane resource of the first session, the session management function network element sends the access and mobility management function network element Sending a second message, where the second message indicates that the establishment of the user plane resources of the first session fails.
  • the second message is an update session management context response message
  • the update session management context response message includes user plane context status information
  • the user plane context status information indicates the The state of the user plane resource is deactivated.
  • the second message includes a first cause value
  • the first cause value indicates a reason why the establishment of the user plane resource of the first session fails.
  • the cause of the failure to establish the user plane resource of the first session indicates that the first session is executing a process of releasing the first session.
  • the session management function network element before the session management function network element receives the response message for the first operation, the session management function network element receives the The above-mentioned establishment request for the user plane resource of the first session.
  • the establishment request for the user plane resource of the first session is an update session management context request message
  • the update session management context request message includes one or more of the following: operation type or An identifier of an activated session, the operation type indicates user plane activation, and the identifier of the activated session includes the identifier of the first session.
  • the type of the first operation is to modify the first session; when the session management function network element determines the follow-up procedure according to the type of the first operation, the session management function network The element rejects the establishment request of the user plane resource of the first session, and continues to execute the process of modifying the first session.
  • the session management function network element rejects the establishment request of the user plane resource of the first session, and continues to execute the process of modifying the first session, which can prevent the terminal device and the session management function network element from waiting for the request operation initiated by both parties.
  • Response messages which cause the respective timers to time out.
  • the type of the first operation is to modify the first session; when the session management function network element determines the follow-up procedure according to the type of the first operation, the session management function network The element continues to execute the process of modifying the first session and the process of establishing the user plane resources of the first session.
  • the session management function network element executes two processes at the same time, which can avoid the situation that the terminal device and the session management function network element respectively wait for the response message of the request operation initiated by both parties, causing their respective timers to time out.
  • the present application provides a communication device, which includes: a transceiver unit and a processing unit; the transceiver unit is configured to initiate a process of a first operation for a first session; during the execution process of the first operation
  • a request for establishing a user plane resource of the first session is received from an access and mobility management functional network element; the processing unit is configured to determine a subsequent procedure according to the type of the first operation.
  • the first operation is to modify the first session;
  • the processing unit is specifically configured to stop the process of modifying the first session, and execute the process of establishing the user plane resource of the first session process.
  • the processing unit is configured to stop a first timer, where the first timer includes a timer waiting for a response message for modifying the first session.
  • the transceiving unit is configured to re-initiate the process of modifying the first session after the process of establishing the user plane resource of the first session is completed.
  • the transceiving unit is configured to send a first message to the access and mobility management functional network element when executing the process of establishing the user plane resource of the first session, the The first message indicates that the user plane resources of the first session are established successfully.
  • the first message is an update session management context response message
  • the update session management context response message includes one or more of the following: user plane context state information or session management information
  • the user plane The context state information indicates that the state of the user plane resource of the first session is being activated
  • the session management information includes parameters related to establishment of the user plane resource of the first session.
  • the first operation is to release the first session;
  • the processing unit is specifically configured to reject the establishment request of the user plane resource of the first session, and continue to execute the process of releasing the first session.
  • the flow of a session is specifically configured to reject the establishment request of the user plane resource of the first session, and continue to execute the process of releasing the first session.
  • the transceiving unit is configured to receive a response message for releasing the first session.
  • the transceiving unit is configured to send a second message to the access and mobility management function network element when rejecting the establishment request of the user plane resource of the first session, the The second message indicates that the establishment of the user plane resources of the first session fails.
  • the second message is an update session management context response message
  • the update session management context response message includes user plane context status information
  • the user plane context status information indicates the The state of the user plane resource is deactivated.
  • the second message includes a first cause value
  • the first cause value indicates a reason why the establishment of the user plane resource of the first session fails.
  • the cause of the failure to establish the user plane resource of the first session indicates that the first session is executing a process of releasing the first session.
  • the transceiver unit is configured to, before the session management function network element receives the response message for the first operation, the session management function network element from the access and mobility
  • the network element with the property management function receives the establishment request for the user plane resource of the first session.
  • the establishment request for the user plane resource of the first session is an update session management context request message
  • the update session management context request message includes one or more of the following: operation type or An identifier of an activated session, the operation type indicates user plane activation, and the identifier of the activated session includes the identifier of the first session.
  • the type of the first operation is to modify the first session; the processing unit is configured to reject the first session when determining a subsequent process according to the type of the first operation The establishment request of the user plane resource, and continue to execute the process of modifying the first session.
  • the type of the first operation is used to modify the first session; the processing unit is configured to, when determining a subsequent process according to the type of the first operation, continue to execute the modification of the first session.
  • the technical effect of the second aspect and any possible design in the second aspect can refer to the technical effect of the corresponding first aspect and any possible design in the first aspect, and the repetition is no longer repeat.
  • the present application provides a communication method, which includes:
  • the session management functional network element sends a first message to the access and mobility management functional network element, where the first message is used to request a first operation, where the first operation includes modifying the first session or releasing the first session.
  • the session management function network element receives a second message from the access and mobility management function network element, and the second message is used to request A user plane resource for the first session is established.
  • the session management function network element determines that no response message to the first message is received and the second message is received, the session management function network element terminates the process of the first operation, and the session The management function network element executes the process of establishing the user plane resource of the first session.
  • the session management function network element suspends the current first operation process and executes the process of establishing the user plane resource of the first session, thereby preventing the terminal device and the session management function network element from waiting for the request operation initiated by both parties Responding to messages causes the respective timers to time out, thereby effectively ensuring smooth user experience and business processes.
  • the first operation is to modify the first session; when the session management function network element determines that no response message to the first message is received, and the second message, and the user plane resource for establishing the first session is not requested, the session management function network element terminates the process of the first operation, and the session management function network element executes the user plane for establishing the first session resource flow.
  • the session management function network element when the session management function network element does not receive a response message to the first message, and receives the second message and does not request user plane resources for establishing the first session, the session management function network element stops The flow of the first operation is to execute the flow of establishing the user plane resource of the first session.
  • the method further includes: the session management function network element stopping a first timer, where the first timer includes a timer waiting for a response message to the first message.
  • the session management function network element stops the first timer.
  • the method further includes: the session management functional network element sending first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the first indication information is used to make the terminal device discard the first message according to the first indication information.
  • the first message includes a PDU session modification instruction, and the PDU session modification instruction includes an identifier of the first session; if the The first operation is to release the first session, the first message includes a PDU session release instruction, and the PDU session release instruction includes an identifier of the first session.
  • the second message is an update session management context request message
  • the update session management context request message includes one or more of the following: an operation type or an identifier of an activated session, and the operation type Indicates that the user plane is activated, and the identifier of the activated session includes the identifier of the first session.
  • the process of establishing the user plane resources of the first session by the session management function network element may specifically include but not limited to one or more of the following steps: the session management function network element sends the user The functional network element on the plane sends a session modification request message, where the session modification request message is used to configure downlink tunnel information for the network element on the user plane.
  • the session management function network element receives a session modification response message from the user plane function network element, the session modification response message is used to respond to the session modification request message, and the session management function network element responds to the first
  • the second message sends a third message to the access and mobility management functional network element, where the third message indicates that the user plane resources of the first session are successfully established.
  • the third message is an update session management context response message
  • the update session management context response message includes one or more of the following: user plane context state information or session management information
  • the user plane The context state information indicates that the state of the user plane resource of the first session is being activated
  • the session management information includes parameters related to establishment of the user plane resource of the first session.
  • the session management function network element executes the process of establishing the user plane resource of the first session, the session management function network element sends the access and mobility management function network element Send the first message.
  • the present application provides a communication method, which includes:
  • the session management function network element sends a first message to the access and mobility management function network element, where the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session;
  • the session management function network element receives a second message from the access and mobility management function network element, and the second message is used to request to establish the User plane resources of the first session;
  • the session management function network element determines that no response message to the first message is received and the second message is received, the session management function network element responds to the The second message sends a third message to the access and mobility management function network element, where the third message is used to indicate that the user plane resources of the first session fail to be established or the user plane resources of the first session Created successfully.
  • the session management function network element sends a third message to the access and mobility management function network element.
  • the third message is used to indicate that the user plane resources of the first session have failed to be established or established successfully, thereby preventing the terminal device from interacting with the session.
  • the management function network elements wait for the response messages of the request operations initiated by both parties, resulting in the timeout of their respective timers, thereby effectively ensuring smooth user experience and service processes.
  • the first operation is to modify the first session; when the session management function network element determines that no response message for the first information is received and the second message, and the user plane resource for establishing the first session is not requested, the session management functional network element sends the third message to the access and mobility management functional network element in response to the second message.
  • the session management function network element when the session management function network element does not receive a response message to the first message, and receives the second message and does not request user plane resources for establishing the first session, the session management function network element responds Sending the third message to the access and mobility management functional network element based on the second message.
  • the third message when the third message is used to indicate that the user plane resources of the first session fail to be established, the third message includes a first cause value, and the first cause value indicates that the The reason why the user plane resources of the first session fail to be established.
  • the cause of the failure to establish the user plane resource of the first session indicates that the first session is executing the process of the first operation.
  • the third message when the third message is used to indicate that the user plane resource establishment of the first session fails, the third message is an update session management context response message and the first cause value,
  • the update session management context response message includes user plane context state information, and the user plane context state information indicates that the state of the user plane resource of the first session is deactivated.
  • the third message when the third message is used to indicate that the user plane resources of the first session are successfully established, the third message is an update session management context response message, and the update session management context response message
  • the message includes one or more of the following: user plane context state information or session management information, the user plane context state information indicates that the state of the user plane resources of the first session is being activated, and the session management information includes the second Parameters related to the establishment of user plane resources of a session.
  • the method further includes: the session management functional network element sending first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the first indication information is used to enable the terminal device to cache the first message or a response message to the first message according to the first indication information.
  • the first message includes a PDU session modification instruction, and the PDU session modification instruction includes the identifier of the first session;
  • the response message of the first information is a PDU session modification completion instruction, and the PDU session modification completion instruction includes the identifier of the first session;
  • the first message includes PDU session release instruction, the PDU session release instruction includes the identifier of the first session;
  • the response message to the first information is a PDU session release completion instruction, and the PDU session release completion instruction includes the first session logo.
  • the second message is an update session management context request message
  • the update session management context request message includes one or more of the following: an operation type or an identifier of an activated session, and the operation type Indicates that the user plane is activated, and the identifier of the activated session includes the identifier of the first session.
  • the session management function network element after the session management function network element sends the third message to the access and mobility management function network element, the session management function network element receives the message from the access and mobility A response message to the first information sent by the network element with the property management function.
  • the present application provides a communication method, the method including: a terminal device sends a service request message to a network element with an access and mobility management function, where the service request message is used to request user plane resources for establishing a first session;
  • the terminal device receives a first message from the access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session ;
  • the terminal device caches the first message or a response message to the first message until receiving a service acceptance message from the access and mobility management functional network element, and sends a message to the access and mobility
  • the management function network element sends the response message to the first message.
  • the terminal device may cache the first message or the response message to the first message until it receives a service acceptance message from the access and mobility management function network element, and sends a message to the access and mobility management function network element A response message to the first message is sent, thereby effectively ensuring user experience and smooth business process.
  • the terminal device includes a session management layer and a mobility management layer; before the terminal device caches a response message to the first message, the mobility management layer sends A layer sends the first message, and the mobility management layer receives a response message to the first message from the session management layer;
  • the mobility management layer first sends the first message to the session management layer, and then buffers the response message for the first message fed back by the session management layer.
  • the terminal device includes a session management layer and a mobility management layer; the terminal device caches the first message until receiving a service from the access and mobility management function network element receiving the message, when sending the response message to the first message to the access and mobility management functional network element, the mobility management layer buffers the first message until the service acceptance message is received, The mobility management layer sends the first message to the session management layer, the mobility management layer receives the response message for the first message from the session management layer, and the mobility The management layer sends a response message to the first message to the access and mobility management functional network element.
  • the mobility management layer first caches the first message, and then sends the first message to the session management layer after receiving the service reception message.
  • the terminal device receives first indication information from the access and mobility management functional network element, where the first indication information indicates the first operation, and at this time, the The terminal device caches the first message or the response message to the first message according to the first indication information.
  • the terminal device can cache the first message or a response message to the first message according to the first indication information.
  • the first message when the first operation is to modify the first session, the first message includes a PDU session modification instruction, and the PDU session modification instruction includes the identifier of the first session; for the The response message of the first message is a PDU session modification completion instruction, and the PDU session modification completion instruction includes the identifier of the first session; when the first operation is to release the first session, the first message includes the PDU session A release instruction, the PDU session release instruction includes the identifier of the first session, the response message to the first message is a PDU session release completion instruction, and the PDU session release completion instruction includes the identifier of the first session.
  • the service request message includes uplink data status information, where the uplink data status information indicates an identifier of the first session.
  • the service acceptance message includes an information element used to indicate a PDU session activation result, and the information element used to indicate a PDU session activation result indicates that the user plane resource of the first session is successfully established.
  • the service acceptance message includes an information element used to indicate a PDU session activation result, and the information element used to indicate a PDU session activation result indicates that the user plane resource establishment of the first session fails;
  • the service acceptance message includes an information element used to indicate the PDU session activation result and/or an information element used to indicate the error cause of the PDU session activation result, and the information element used to indicate the PDU session activation result indicates the first
  • the establishment of the user plane resource of a session fails, and the information element used to indicate the error cause of the PDU session activation result indicates the cause of the failure of the establishment of the user plane resource of the first session.
  • the reason why the establishment of the user plane resource of the first session fails includes that the first session is executing a process of the first operation.
  • the first operation is to modify the first session; after the terminal device sends a response message to the first message to the access and mobility management functional network element, It also includes: the terminal device resending the service request message to the access and mobility management functional network element.
  • the terminal device can re-initiate the process of requesting the establishment of the user plane resource of the first session.
  • the present application provides a communication method, the method including: a terminal device sends a service request message to a network element with an access and mobility management function, where the service request message is used to request user plane resources for establishing a first session; The terminal device receives a first message from the access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the the first session; when the terminal device determines that the service request message has been sent and no response message for the service message has been received, the terminal device discards the first message.
  • the terminal device can discard the first message.
  • the terminal device receives first indication information from the access and mobility management functional network element, where the first indication information is used to indicate the first operation; the terminal The device discarding the first message includes: the terminal device discarding the first message according to the first indication information.
  • the terminal device may discard the first message according to the first indication information.
  • the service request message includes uplink data status information, where the uplink data status information indicates an identifier of the first session.
  • the first message when the first operation is to modify the first session, the first message includes a PDU session modification instruction, and the PDU session modification instruction includes an identifier of the first session; in the When the first operation is to release the first session, the first message includes a PDU session release instruction, and the PDU session release instruction includes an identifier of the first session.
  • the present application provides a communication device, which includes: a transceiver unit and a processing unit; the transceiver unit is configured to send a first message to a network element with an access and mobility management function, and the first message uses After requesting a first operation, the first operation includes modifying the first session or releasing the first session; after sending the first message, receiving a second message from the access and mobility management functional network element, The second message is used to request user plane resources for establishing the first session.
  • the processing unit is configured to, when it is determined that a response message to the first message is not received and the second message is received, terminate the flow of the first operation, and execute the user interface for establishing the first session resource flow.
  • the first operation is to modify the first session;
  • the processing unit is configured to determine that no response message to the first message has been received and the second message is received message, and when there is no request to establish the user plane resource of the first session, stop the process of the first operation, and execute the process of establishing the user plane resource of the first session.
  • the processing unit is configured to stop a first timer, where the first timer includes a timer waiting for a response message to the first message.
  • the transceiving unit is configured to send first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the first message includes a PDU session modification instruction, and the PDU session modification instruction includes an identifier of the first session; if the The first operation is to release the first session, the first message includes a PDU session release instruction, and the PDU session release instruction includes an identifier of the first session.
  • the second message is an update session management context request message
  • the update session management context request message includes one or more of the following: an operation type or an identifier of an activated session, and the operation type Indicates that the user plane is activated, and the identifier of the activated session includes the identifier of the first session.
  • the process of the processing unit invoking the transceiver unit to execute the user plane resource establishment of the first session may specifically include the following steps: sending a session modification request message to the user plane functional network element, the The session modification request message is used to configure downlink tunnel information for the user plane network element, and receives a session modification response message from the user plane functional network element, the session modification response message is used to respond to the session modification request message, Sending a third message to the access and mobility management functional network element in response to the second message, where the third message indicates that the user plane resources of the first session are successfully established.
  • the third message is an update session management context response message
  • the update session management context response message includes one or more of the following: user plane context state information or session management information
  • the user plane The context state information indicates that the state of the user plane resource of the first session is being activated
  • the session management information includes parameters related to establishment of the user plane resource of the first session.
  • the transceiving unit is configured to send the first message to the access and mobility management functional network element after executing the procedure of establishing the user plane resource of the first session.
  • the present application provides a communication device, which includes: a transceiver unit and a processing unit; the transceiver unit is configured to send a first message to a network element with an access and mobility management function, and the first message is used for requesting a first operation, the first operation including modifying the first session or releasing the first session; after sending the first message, the transceiver unit is configured to receive a message from the access and mobility management functional network element A second message, where the second message is used to request the user plane resource for establishing the first session; when the processing unit determines that no response message to the first message is received and the second message is received , the transceiving unit is configured to send a third message to the access and mobility management functional network element in response to the second message, the third message is used to indicate the establishment of user plane resources of the first session failure or the user plane resource of the first session is established successfully.
  • the first operation is to modify the first session; when the session management function network element determines that no response message for the first information is received and the second message, and the user plane resource for establishing the first session is not requested, the session management functional network element sends the third message to the access and mobility management functional network element in response to the second message.
  • the third message when the third message is used to indicate that the user plane resources of the first session fail to be established, the third message includes a first cause value, and the first cause value indicates that the The reason why the user plane resources of the first session fail to be established.
  • the cause of the failure to establish the user plane resource of the first session indicates that the first session is executing the process of the first operation.
  • the third message when the third message is used to indicate that the user plane resource establishment of the first session fails, the third message is an update session management context response message and the first cause value,
  • the update session management context response message includes user plane context state information, and the user plane context state information indicates that the state of the user plane resource of the first session is deactivated.
  • the third message when the third message is used to indicate that the user plane resources of the first session are successfully established, the third message is an update session management context response message, and the update session management context response message
  • the message includes one or more of the following: user plane context state information or session management information, the user plane context state information indicates that the state of the user plane resources of the first session is being activated, and the session management information includes the second Parameters related to the establishment of user plane resources of a session.
  • the transceiving unit is configured to send first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the first message includes a PDU session modification instruction, and the PDU session modification instruction includes the identifier of the first session;
  • the response message of the first information is a PDU session modification completion instruction, and the PDU session modification completion instruction includes the identifier of the first session;
  • the first message includes PDU session release instruction, the PDU session release instruction includes the identifier of the first session;
  • the response message to the first information is a PDU session release completion instruction, and the PDU session release completion instruction includes the first session logo.
  • the second message is an update session management context request message
  • the update session management context request message includes one or more of the following: an operation type or an identifier of an activated session, and the operation type Indicates that the user plane is activated, and the identifier of the activated session includes the identifier of the first session.
  • the transceiver unit is configured to, after sending the third message to the access and mobility management function network element, receive a message from the access and mobility management function network element for A response message to the first information.
  • the present application provides a communication device, which includes: a transceiver unit and a processing unit; the transceiver unit is configured to send a service request message to a network element with an access and mobility management function, and the service request message uses A user plane resource for requesting establishment of a first session; receiving a first message from the access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the first A session or release of the first session; the processing unit is configured to cache the first message or a response message to the first message until the transceiver unit receives from the access and mobility management function A service acceptance message of a network element, invoking the transceiver unit to send the response message to the first message to the access and mobility management functional network element.
  • the device includes a session management layer and a mobility management layer; before buffering a response message to the first message, the mobility management layer sends the second message to the session management layer a message, the mobility management layer receives a response message to the first message from the session management layer;
  • the device includes a session management layer and a mobility management layer; after buffering the first message until receiving a service acceptance message from the network element with the access and mobility management function, send the message to the
  • the mobility management layer buffers the first message until the service acceptance message is received, and the mobility management The layer sends the first message to the session management layer, the mobility management layer receives the response message for the first message from the session management layer, and the mobility management layer sends the The access and mobility management functional network element sends a response message to the first message.
  • the transceiving unit is configured to receive first indication information from the access and mobility management functional network element, where the first indication information indicates the first operation; the A processing unit, configured to cache the first message or the response message to the first message according to the first indication information.
  • the first message when the first operation is to modify the first session, the first message includes a PDU session modification instruction, and the PDU session modification instruction includes the identifier of the first session; for the The response message of the first message is a PDU session modification completion instruction, and the PDU session modification completion instruction includes the identifier of the first session; when the first operation is to release the first session, the first message includes the PDU session A release instruction, the PDU session release instruction includes the identifier of the first session, the response message to the first message is a PDU session release completion instruction, and the PDU session release completion instruction includes the identifier of the first session.
  • the service request message includes uplink data status information, where the uplink data status information indicates an identifier of the first session.
  • the service acceptance message includes an information element used to indicate a PDU session activation result, and the information element used to indicate a PDU session activation result indicates that the user plane resource of the first session is successfully established.
  • the service acceptance message includes an information element used to indicate a PDU session activation result, and the information element used to indicate a PDU session activation result indicates that the user plane resource establishment of the first session fails;
  • the service acceptance message includes an information element used to indicate the PDU session activation result and an information element used to indicate the error cause of the PDU session activation result, and the information element used to indicate the PDU session activation result indicates that the first session
  • the establishment of the user plane resources of the first session fails, and the information element used to indicate the error cause of the PDU session activation result indicates the cause of the failure of the establishment of the user plane resources of the first session.
  • the reason why the establishment of the user plane resource of the first session fails includes that the first session is executing a process of the first operation.
  • the first operation is to modify the first session; after sending a response message to the first message to the access and mobility management function network element, the transceiver unit , configured to resend the service request message to the network element with the access and mobility management function.
  • the terminal device can re-initiate the process of requesting the establishment of the user plane resource of the first session.
  • the present application provides a communication device, which includes: a transceiver unit and a processing unit; the transceiver unit is configured to send a service request message to a network element with an access and mobility management function, and the service request message uses requesting to establish a user plane resource for a first session; receiving a first message from the access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the The first session is released or the first session is released; the processing unit is configured to discard the first message when it is determined that the service request message has been sent and no response message for the service message has been received.
  • the transceiving unit is configured to receive first indication information from the access and mobility management functional network element, where the first indication information is used to indicate the first operation;
  • the processing unit is configured to discard the first message according to the first indication information.
  • the service request message includes uplink data status information, where the uplink data status information indicates an identifier of the first session.
  • the first message when the first operation is to modify the first session, the first message includes a PDU session modification instruction, and the PDU session modification instruction includes an identifier of the first session; in the When the first operation is to release the first session, the first message includes a PDU session release instruction, and the PDU session release instruction includes an identifier of the first session.
  • the present application further provides a device.
  • the device can perform the method design described above.
  • the apparatus may be a chip or a circuit capable of performing the function corresponding to the above method, or a device including the chip or circuit.
  • the apparatus includes: a memory, configured to store computer executable program codes; and a processor, and the processor is coupled to the memory.
  • the program codes stored in the memory include instructions, and when the processor executes the instructions, the device or the device installed with the device executes the method in any one of the above possible designs.
  • the device may further include a communication interface, which may be a transceiver, or, if the device is a chip or a circuit, the communication interface may be an input/output interface of the chip, such as an input/output pin.
  • a communication interface which may be a transceiver, or, if the device is a chip or a circuit, the communication interface may be an input/output interface of the chip, such as an input/output pin.
  • the device includes corresponding functional units for respectively implementing the steps in the above method.
  • the functions may be implemented by hardware, or may be implemented by executing corresponding software through hardware.
  • Hardware or software includes one or more units corresponding to the functions described above.
  • the embodiment of the present application provides a computer-readable storage medium, the computer-readable storage medium stores a computer program, and when the computer program runs on the device, any one of the above-mentioned possible designs can be executed.
  • the embodiment of the present application provides a computer program product, the computer program product includes a computer program, and when the computer program is run on a device, the method in any one of the above possible designs is executed.
  • Fig. 1A is one of the architectural diagrams of the mobile communication system applied in the embodiment of the present application.
  • FIG. 1B is the second schematic diagram of the architecture of the mobile communication system applied in the embodiment of the present application.
  • FIG. 2 is a schematic diagram of a specific process of establishing user plane resources for a UE to initiate a PDU session in an embodiment of the present application
  • FIG. 3 is a schematic diagram of a PDU session modification process initiated by a network side device in an embodiment of the present application
  • FIG. 4 is a schematic diagram of a scene in which a PDU session modification process initiated by a network side device conflicts with a user plane resource establishment process of a PDU session initiated by a UE in an embodiment of the present application;
  • FIG. 5 is one of the overview flowcharts of a communication method in an embodiment of the present application.
  • FIG. 6 is the second overview flowchart of a communication method in an embodiment of the present application.
  • FIG. 7 is one of schematic diagrams of a terminal device sending a response message to a first message to a network element with an access and mobility management function in an embodiment of the present application;
  • FIG. 8 is a second schematic diagram of a terminal device sending a response message to a first message to a network element with an access and mobility management function in an embodiment of the present application;
  • FIG. 9 is one of the schematic diagrams of the process of conflicting between the PDU session modification process initiated by the network side device and the user plane resource establishment process initiated by the UE in the embodiment of the present application;
  • FIG. 10 is the second schematic diagram of the processing process in which the PDU session modification process initiated by the network side device conflicts with the user plane resource establishment process initiated by the UE in the embodiment of the present application;
  • FIG. 11 is the third schematic diagram of the conflict processing process between the PDU session modification process initiated by the network side device and the user plane resource establishment process initiated by the UE in the embodiment of the present application;
  • Fig. 12 is one of the structural schematic diagrams of a device in the embodiment of the present application.
  • Fig. 13 is the second structural schematic diagram of a device in the embodiment of the present application.
  • At least one item (piece) of a, b, or c can represent: a, b, c, a-b, a-c, b-c, or a-b-c, where a, b, c can be single or multiple .
  • WCDMA Wideband Code Division Multiple Access
  • general packet radio service general packet radio service, GPRS
  • long term evolution Long Term Evolution
  • LTE long term evolution
  • LTE frequency division duplex frequency division duplex, FDD
  • LTE time division duplex time division duplex
  • TDD time division duplex
  • UMTS universal mobile telecommunications system
  • WiMAX global interconnected microwave access Access
  • FIG. 1A and FIG. 1B are schematic structural diagrams of a mobile communication system applied by an embodiment of the present application.
  • the terminal device is connected to the wireless access device in a wireless manner, and the wireless access device is connected to the core network device in a wireless or wired manner.
  • the core network equipment and the wireless access equipment can be independent and different physical equipment, or the functions of the core network equipment and the logical functions of the wireless access equipment can be integrated on the same physical equipment, or they can be integrated on one physical equipment Part of the core network device functions and part of the wireless access device functions.
  • Terminal equipment can be fixed or mobile.
  • FIG. 1A and FIG. 1B are only schematic diagrams, and the communication system may also include other network devices.
  • Core network equipment includes session management network elements, access management network elements, and user plane function network elements.
  • Session management network element mainly used for session management, network interconnection protocol (internet protocol, IP) address allocation and management of terminal equipment, selection of terminals that can manage user equipment plane functions, policy control, or charging function interfaces, and downlink data notification etc.
  • the session management network element can be a session management function (session management function, SMF) network element.
  • SMF session management function
  • the session management function network element can still be an SMF network element, or have other names. Applications are not limited to this.
  • Nsmf is a service-based interface provided by SMF. SMF can communicate with other network functions through Nsmf.
  • Access management network element mainly used for mobility management and access management, etc., and can be used to implement functions other than session management in the mobility management entity (mobility management entity, MME) function, for example, lawful interception, or Functions such as access authorization (or authentication).
  • the access management network element can be an access and mobility management function (AMF) network element.
  • AMF access and mobility management function
  • the access management network element can still be an AMF network element, or have Other titles are not limited in this application.
  • Namf is a service-based interface provided by AMF. AMF can communicate with other network functions through Namf.
  • UPF User plane function
  • QoS quality of service
  • the user plane network element may be a user plane function (UPF) network element.
  • the user plane network element may still be a UPF network element, or have other names. This application There is no limit to this.
  • the wireless access device is a radio access network (radio access network, RAN), and is used to implement functions related to wireless access.
  • the wireless access device can be a base station (base station), an evolved base station (evolved NodeB, eNodeB), a transmission reception point (transmission reception point, TRP), a next generation base station (next generation NodeB, gNB) in a 5G mobile communication system,
  • the base station in the future mobile communication system or the access node in the WiFi system, etc.; it can also be a module or unit that completes some functions of the base station, for example, it can be a centralized unit (central unit, CU) or a distributed unit ( distributed unit, DU).
  • the embodiment of the present application does not limit the specific technology and specific device form adopted by the wireless access device.
  • a terminal device may also be called a terminal, a user equipment (user equipment, UE), a mobile station, a mobile terminal, and the like.
  • Terminal devices can be mobile phones, tablet computers, computers with wireless transceiver functions, virtual reality terminal devices, augmented reality terminal devices, wireless terminals in industrial control, wireless terminals in unmanned driving, wireless terminals in remote surgery, smart grids Wireless terminals in transportation security, wireless terminals in smart cities, wireless terminals in smart homes, etc.
  • the embodiment of the present application does not limit the specific technology and specific device form adopted by the terminal device.
  • the terminal device can be specifically divided into a 5GS session management (5GS session management, 5GSM) layer and a 5GS mobility management (5GS mobility management, 5GMM) layer.
  • 5GS session management 5GS session management, 5GSM
  • 5GMM 5GS mobility management
  • the 5GSM layer is responsible for session management of terminal equipment.
  • the 5GMM layer is responsible for the mobility management of terminal equipment, establishing service connections for upper layer service requests, and requesting the establishment of user plane resources for uplink data transmission.
  • the following describes the process of establishing user plane resources of the PDU session initiated by the UE.
  • the process shown in FIG. 2 is a non-conflict scenario.
  • the UE has registered to the 5G network, and the UE is in a connected state.
  • Step 201 UE sends a service request (service request) message to RAN.
  • Step 202 RAN sends N2 message (N2 message) to AMF.
  • the N2 message includes the service request message in step 201 .
  • Step 203 AMF sends an update session management context request (Nsmf_PDUSession_UpdateSMConext Request) message to SMF.
  • Nsmf_PDUSession_UpdateSMConext Request an update session management context request
  • the operation type indicates user plane activation (UP activate).
  • Step 204 The SMF sends a session modification request (N4 session modification request) message to the UPF.
  • the session modification request message is used to configure downlink tunnel information (downlink tunnel information) for UPF.
  • Step 205 The UPF sends a session modification response (N4 session modification response) message to the SMF.
  • the session modification response message is used to respond to the session modification request message in step 204 .
  • Step 206 The SMF sends an update session management context response (Nsmf_PDUSession_UpdateSMConext Response) message to the AMF.
  • the update session management context response message is used to respond to the update session management context request message in step 203 .
  • the SMF sends an update session management context response message to the AMF.
  • the update session management context response message includes, for example, one or more of the following: user plane context state information (UpCnxState) or session management information (for example, N2 SM information).
  • Step 207 AMF sends N2 request (N2 request) message to RAN.
  • the N2 request message includes a service accept (service accept) message and the session management information in step 206.
  • the AMF determines the service acceptance message according to the update session management context response message in step 206 .
  • the service acceptance message includes a PDU session reactivation result (PDU session reactivation result), and the PDU session reactivation result indicates that the user plane resource of the PDU session is established successfully.
  • PDU session reactivation result indicates that the user plane resource of the PDU session is established successfully.
  • the service acceptance message is used to respond to the service request message in step 201 .
  • Step 208 The RAN sends an RRC connection reconfiguration (RRC connection reconfiguration) message to the UE.
  • RRC connection reconfiguration RRC connection reconfiguration
  • the RRC connection reconfiguration message includes the service acceptance message in step 207 and DRB configuration information.
  • Step 209 the UE sends an RRC connection reconfiguration complete (RRC connection reconfiguration complete) message to the RAN.
  • RRC connection reconfiguration complete RRC connection reconfiguration complete
  • the RRC connection reconfiguration complete message is used to respond to the RRC connection reconfiguration message in step 208 .
  • Step 210 RAN sends N2 request acknowledgment (N2 request ACK) message to AMF.
  • the N2 request acknowledgment message includes session management information
  • the session management information includes a list of successfully established user plane resources of the PDU session.
  • Step 211 AMF sends an update session management context request message to SMF.
  • the update session management context request message includes the session management information in step 210 .
  • Step 212 The SMF sends an update session management context response message to the AMF.
  • the update session management context response message is used to respond to the update session management context request message in step 211 .
  • the UE needs to first enter the connected state from the idle state, and then perform the above procedure.
  • the process shown in FIG. 3 is a non-conflict scenario.
  • the UE has registered to the 5G network, and the UE is in a connected state.
  • Step 301 The SMF sends a N1N2 message transfer (Namf_Communication_N1N2MessageTransfer) message to the AMF.
  • N1N2 message transfer (Namf_Communication_N1N2MessageTransfer) message
  • the SMF determines to start the PDU session modification (PDU session modification) process
  • the SMF sends the N1N2 message transmission message to the AMF.
  • PDU Session Modification command PDU Session Modification command
  • the N1N2 transmission message does not include session management information (N2 SM information).
  • the N1 interface is an interface between the UE and the AMF, that is, a non-access stratum (non-access stratum, NAS) interface.
  • the N2 interface is the interface between the RAN and the AMF.
  • the PDU session modification instruction is a message sent to the UE
  • Step 302 The AMF sends a N1N2 message transmission response message to the SMF in response to the N1N2 message transmission message.
  • Step 303 The AMF sends an N2 request message to the RAN, the N2 request message includes a downlink non-access stratum transport (DL NAS TRANSPORT) message, and the downlink non-access stratum transport message includes a session management container in step 301 ( N1 SM container).
  • DL NAS TRANSPORT downlink non-access stratum transport
  • Step 304 the RAN sends a downlink non-access stratum transmission message to the UE.
  • Step 305 The UE sends a PDU Session Modification complete (PDU Session Modification complete) instruction to the RAN.
  • PDU Session Modification complete PDU Session Modification complete
  • Step 306 The RAN sends an N2 message to the AMF, and the N2 message includes the PDU session modification completion instruction in step 305.
  • Step 307 The AMF sends an update session management context request message to the SMF, and the update session management context request message includes a PDU session modification completion instruction.
  • Step 308 The SMF sends an update session management context response message to the AMF, where the update session management context response message is used to respond to the update session management context request message.
  • the PDU session modification command in the above process can also be replaced by a PDU session release command (PDU session release command), and at the same time, the PDU session modification completion command can also be replaced by a PDU session release completion (PDU session release complete) command.
  • the UE has registered to the 5G network, and the UE is in the connected state.
  • the following describes the scenario where the PDU session modification process initiated by the network side device and the user plane resource establishment process of the PDU session initiated by the UE conflict with the PDU session and the conflict handling process ,As shown in Figure 4.
  • Step 401 SMF sends N1N2 message transfer message to AMF.
  • the SMF determines to start the PDU session modification (PDU session modification) process, it sends the N1N2 message transmission message to the AMF.
  • PDU session modification PDU session modification
  • Step 402 The AMF sends a N1N2 message transmission response message to the SMF in response to the N1N2 message transmission message.
  • Step 403 The AMF sends an N2 request message to the RAN, the N2 request message includes a downlink non-access stratum transmission message, and the downlink non-access stratum transport message includes the session management container (N1 SM container) in step 401.
  • N1 SM container the session management container
  • Step 404 UE sends a service request message to RAN.
  • Step 405 the RAN sends a downlink non-access stratum transmission message to the UE.
  • Step 406 RAN sends N2 message to AMF.
  • the N2 message includes the service request message in step 404 .
  • Step 407 AMF sends an update session management context request message to SMF.
  • Step 408 The SMF triggers an exception process when determining that the timer expires.
  • the response message ie, the service acceptance message
  • the second timer here includes a timer for waiting for a service acceptance message.
  • the UE and the SMF each wait for the response message of the request operation initiated by the two parties, which eventually causes their respective timers to time out and triggers an abnormal process.
  • a similar situation may also occur in a scenario where the PDU session release process initiated by the network conflicts with the user plane resource establishment process initiated by the UE.
  • the PDU session modification instruction can also be replaced by a PDU session release instruction.
  • the PDU session modification (or release) process initiated by the network conflicts with the user plane resource establishment process initiated by the UE.
  • the UE initiates a service request process, the service request process includes uplink data status information, and the uplink data status information is used to activate the user plane resource of PDU session #1.
  • the SMF initiates a PDU session modification process requested by the network, and the PDU session modification process is used to modify PDU session #1.
  • the PDU session modification command can be suspended at AMF or UE.
  • the SMF After the SMF sends the PDU session modification instruction, the SMF will receive an update session management context request message (for example, Nsmf_PDUSession_UpdateSMConext Request) from the AMF, which is used to activate the user plane resource of the session that is requested to be modified.
  • update session management context request message for example, Nsmf_PDUSession_UpdateSMConext Request
  • Sub-case 1 The PDU session modification requested by the network is to modify the UE NAS parameters and NG-RAN node parameters (such as QoS configuration files) for the PDU session.
  • Sub-case 2 A network-initiated PDU session modification is to modify the UE NAS parameters for this PDU session (e.g. serving PLMN rate control).
  • SMF can Stop the PDU session modification process requested by the network in progress, and only execute the user plane resource establishment process of the PDU session.
  • NG-RAN node parameters may be updated.
  • the SMF can also re-initiate the PDU session modification process requested by the network for the PDU session.
  • the UE initiates a service request process, the service request process includes uplink data status information, and the uplink data status information is used to activate the user plane resource of PDU session #1.
  • the SMF initiates a request PDU session release process requested by the network, and the PDU session release process is used to release PDU session #1.
  • the PDU session release command can be suspended at AMF or UE.
  • the SMF After the SMF sends the PDU session release instruction, the SMF will receive an update session management context request message from the AMF, which is used to activate the user plane resources of the session requested to be released.
  • the SMF may not establish user plane resources for the PDU session, but continue to execute the PDU session release procedure requested by the network for the session.
  • the SMF suspends the ongoing PDU session modification process requested by the network, and only continues to execute the user plane resource establishment for the PDU session process.
  • the SMF does not establish the user plane resource for the PDU session, and continues to perform the PDU session release requested by the network for the PDU session process.
  • the session management function network element initiates the process of the first operation for the first session, and during the execution of the first operation, the session management function network element receives from the access and mobility management function network element
  • the establishment request of the user plane resource of a session for example, when there is a conflict between the establishment of the user plane resource of the same PDU session and the PDU session modification (or release) process requested by the network.
  • the network element with the session management function may determine a subsequent procedure according to the type of the first operation.
  • the session management function network element stops the process of modifying the first session, and executes the process of establishing the user plane resource of the first session .
  • the session management function network element stops the process of modifying the first session, and executes the process of establishing the user plane resource of the first session .
  • the session management function network element rejects the establishment request of the user plane resource of the first session, and continues to execute the process of releasing the first session.
  • the session management function network element rejects the establishment request of the user plane resource of the first session, and continues to execute the process of releasing the first session.
  • an embodiment of the present application provides a communication method, where the session management function network element determines the first operation process (for example, the PDU session modification process) and the process of establishing the user plane resource of the PDU session initiated by the terminal device.
  • the session management function network element aborts (aborts) the flow of the current first operation, and executes the flow of establishing user plane resources.
  • the embodiment shown in FIG. 5 is taken as an example for description.
  • Step 501 The session management function network element sends a first message to the access and mobility management function network element, the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session.
  • the first message is a PDU session modification instruction, and the PDU session modification instruction includes the identifier of the first session; if the first operation is to release the first session, the first message is a PDU session modification instruction.
  • the release instruction, the PDU session release instruction includes the identifier of the first session.
  • the session management function network element sends an N1N2 message transmission message to the access and mobility management function network element, the N1N2 message transmission message includes a session management container, the session management container includes the first message, and the first message includes the first session logo.
  • the access and mobility management function network element sends a downlink non-access stratum transmission message to the terminal device through the wireless access device, wherein the downlink non-access stratum transmission message includes the above session management container.
  • steps 301 to 304 as shown in FIG. 3 .
  • Step 502 The access and mobility management functional network element sends a second message to the session management functional network element, where the second message is used to request user plane resources for establishing the first session.
  • the terminal device sends a service request message to the wireless access device,
  • the service request message includes uplink data status information indicating the identity of the first session.
  • the wireless access device sends the N2 message to the access and mobility management functional network element.
  • N2 messages include service request messages.
  • the access and mobility management functional network element determines the second message according to the service request message.
  • the second message is an update session management context request message
  • the update session management context request message includes, for example, one or more of the following: an operation type or an identifier of an activated session, the operation type indicates user plane activation, and the activated session
  • the identifier of includes the identifier of the first session.
  • Step 503 When the session management function network element determines that no response message to the first information is received and the second message is received, the session management function network element terminates the process of the first operation, and the session management function network element performs the establishment of the first session The flow of user plane resources.
  • the session management function network element judges whether a response message to the first information is received. If the session management function network element receives the response message to the first message, the session management function network element executes the process of establishing the user plane resource of the first session, refer to the process shown in FIG. 2 . If the session management function network element does not receive a response message to the first message and receives the second message, that is, there is a conflict between the first operation and the user plane resource for establishing the first session, the session management function network element may first suspend the second message. In an operation process, the session management function network element executes the process of establishing the user plane resource of the first session.
  • the response message to the first information includes a PDU session modification completion instruction, and the PDU session modification completion instruction includes the identifier of the first session; if the first operation is to release the first session, for the first information
  • the response message includes a PDU session release completion instruction, and the PDU session release completion instruction includes the identifier of the first session.
  • the procedure for the session management function network element to terminate the first operation may include that the session management function network element does not wait for a response message to the first message.
  • the session management function network element stops a first timer, and the first timer includes a timer waiting for a response message to the first message. For example, assuming that the first operation is to modify the first session, the SMF terminates the process of the first operation, and the SMF does not wait for the PDU session modification completion instruction.
  • the process of establishing the user plane resources of the first session by the session management function network element may include, but not limited to, one or more of the following steps:
  • the session management function network element sends a session modification request message to the user plane function network element, and the session modification request message is used to configure downlink tunnel information for the user plane network element.
  • the session management function network element receives the session modification response message from the user plane function network element, the session modification response message is used to respond to the session modification request message, and the session management function network element responds to the second message to the access and mobility management function network element Sending a third message, where the third message indicates that the user plane resource of the first session is successfully established.
  • the third message is an update session management context response message.
  • the update session management context response message includes, for example, one or more of the following: user plane context status information or session management information, and the user plane context status information indicates the status of the user plane resources of the first session
  • the session management information includes relevant parameters of the user plane resource establishment of the first session.
  • the session management function network element executes the process of establishing the user plane resource of the first session, as shown in steps 204 to 206 .
  • the session management function network element determines that no response message to the first message is received, and the second message is received, and the establishment of the first session is not requested
  • the session management function network element stops the process of the first operation, and the session management function network element executes the process of establishing the user plane resource of the first session.
  • the session management function network element sends an N1N2 message transmission message to the access and mobility management function network element, the N1N2 message transmission message includes a session management container, the session management container includes a PDU session modification instruction, and the N1N2 message transmission message does not include session management information.
  • the session management function network element may send the first message to the terminal device again, that is, re-initiate the request for the first operation process.
  • the SMF re-initiates the process of requesting to modify the first session, for details, refer to the process shown in FIG. 3 .
  • the session management functional network element sends first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the session management function network element sends the N1N2 message transmission message to the access and mobility management function network element.
  • the N1N2 message transmission message includes, for example, one or more of the following: the identifier of the terminal device, the identifier of the first session, the session management container or the first indication information, the session management container includes a PDU session modification instruction, and the PDU session modification instruction includes the first The ID of the session.
  • the access and mobility management function network element sends an N2 request message to the wireless access device.
  • the N2 request message includes a downlink non-access stratum transmission message, and the downlink non-access stratum transmission message includes, for example, one or more of the following: session management container or The first instruction message.
  • the wireless access device sends a downlink non-access stratum transmission message to the terminal device.
  • the terminal device determines to send a service request message to the access and mobility management function network element, and does not receive a response message (ie, a service acceptance message) to the service request message
  • the first indication information indicates that the first operation is to modify the first
  • the terminal device may discard the first message according to the first indication information.
  • the terminal device may discard the first message according to the first indication information.
  • the session management function determines that the process of PDU session modification (or release) conflicts with the process of establishing the user plane resources of the PDU session initiated by the terminal device, the same PDU session If there is a conflict between the operation initiated by the network side device and the operation initiated by the terminal device, the network element with the session management function terminates the current PDU session modification (or release) process, and responds to the process of establishing the user plane resource of the first session, thereby avoiding the terminal device from interacting with The network elements with the session management function wait for the response messages of the request operations initiated by both parties, resulting in the timeout of their respective timers, thereby effectively ensuring smooth user experience and service processes.
  • an embodiment of the present application provides a communication method.
  • the session management function network element determines that the first operation process (for example, the PDU session release process) conflicts with the user plane resource establishment process of the PDU session initiated by the terminal device, the session management function network element responds to the user plane resource establishment process , sending a third message to the network element with the access and mobility management function, where the third message is used to indicate that the establishment of the user plane resource of the first session fails (that is, the establishment of the user plane resource is rejected).
  • the network element with the session management function rejects the establishment request of the user plane resource of the first session, and continues to execute the process of releasing the first session.
  • the session management function network element determines that the first operation process (for example, PDU session modification process) conflicts with the user plane resource establishment process of the PDU session initiated by the terminal device, the session management function network element responds to the user plane resource establishment process , sending a third message to the access and mobility management functional network element, where the third message is used to indicate that the user plane resource of the first session is successfully established (that is, the user plane resource is established).
  • the network element with the session management function continues to execute the process of requesting the establishment of the user plane resource of the first session and releasing the first session.
  • FIG. 6 is taken as an example for description.
  • Step 601 The session management functional network element sends a first message to the access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session.
  • the first message is a PDU session modification instruction, and the PDU session modification instruction includes the identifier of the first session; if the first operation is to release the first session, the first message is a PDU session modification instruction.
  • the release instruction, the PDU session release instruction includes the identifier of the first session.
  • the session management function network element sends an N1N2 message transmission message to the access and mobility management function network element, the N1N2 message transmission message includes a session management container, the session management container includes a first message, and the first message includes logo.
  • Step 602 The access and mobility management functional network element sends a first message to the terminal device.
  • the access and mobility management functional network element sends a downlink non-access stratum transmission message to the terminal device through the wireless access device, wherein the downlink non-access stratum transmission message includes the above session management container.
  • step 601 and step 602 may be the same or different.
  • steps 601 and 602 reference may be made to steps 301 to 304 shown in FIG. 3 .
  • Step 603 The terminal device sends a service request message to the access and mobility management functional network element, where the service request message is used to request user plane resources for establishing the first session.
  • the service request message includes uplink data status information, and the uplink data status information indicates the identifier of the first session.
  • the terminal device sends a service request message to the wireless access device.
  • the wireless access device sends an N2 message to the access and mobility management function network element, and the N2 message includes a service request message.
  • the N2 message includes a service request message.
  • Step 604 The access and mobility management functional network element sends a second message to the session management functional network element according to the service request message, and the second message is used to request user plane resources for establishing the first session.
  • the access and mobility management functional network element determines the second message according to the service request message in step 603 .
  • the second message is an update session management context request message.
  • the update session management context request message includes, for example, one or more of the following: the operation type or the identifier of the activated session, the operation type indicates user plane activation, and the activated session identifier includes the first An identifier for a session. For details, refer to step 3 shown in Figure 2 .
  • Step 605 When the session management function network element determines that no response message to the first information is received and the second message is received, the session management function network element sends the second message to the access and mobility management function network element in response to the second message. Three messages, the third message is used to indicate that the user plane resource of the first session fails to be established or the third message is used to indicate that the user plane resource of the first session is successfully established.
  • the third message when the third message is used to indicate that the user plane resources of the first session are successfully established, the third message is an update session management context response message, and the update session management context response message includes, for example, one or more of the following: plane context state information or session management information, where the user plane context state information indicates that the state of the user plane resources of the first session is being activated.
  • the session management information includes parameters related to the establishment of user plane resources of the first session.
  • the session management function network element determines that the PDU session modification process for the same PDU session conflicts with the user plane resource establishment process of the PDU session initiated by the terminal device, the session management function network element sends a request to the access and mobility management function The network element sends a third message, where the third message is used to indicate that the user plane resource of the first session is successfully established.
  • the third message when the third message is used to indicate that the user plane resources of the first session fail to be established, the third message is an update session management context response message, and the update session management context response message includes user plane context state information, and the user The plane context status information indicates that the status of the user plane resources of the first session is deactivated.
  • the third message may further include a first cause value, where the first cause value indicates the reason why the establishment of the user plane resource of the first session fails.
  • the first cause value indicates that the first session is executing the process of the first operation.
  • the session management function network element determines that the PDU session release process for the same PDU session conflicts with the user plane resource establishment process of the PDU session initiated by the terminal device, the session management function network element sends a request to the access and mobility management function The network element sends a third message, where the third message is used to indicate that the establishment of the user plane resources of the first session fails.
  • the session management function network element determines that no response message to the first message is received, and the second message is received, and the establishment of the first session is not requested
  • the session management functional network element sends a third message to the access and mobility management functional network element in response to the second message.
  • the session management function network element sends an N1N2 message transmission message to the access and mobility management function network element, the N1N2 message transmission message includes a session management container, the session management container includes a PDU session modification instruction, and the N1N2 message transmission message does not include session management information.
  • Step 606 The access and mobility management functional network element sends a service acceptance message to the terminal device according to the third message.
  • the third message is an update session management context response message.
  • the update session management context response message includes, for example, one or more of the following: user plane context status information or session management information, and the user plane context status information indicates that the first session The status of the user plane resource is Activating.
  • the access and mobility management function network element determines the service acceptance message according to the third message, the service acceptance message includes an information element used to indicate the PDU session activation result, and the information element used to indicate the PDU session activation result indicates the user plane of the first session The resource was created successfully.
  • the access and mobility management functional network element also sends the N2 request message to the wireless access device.
  • the N2 request message includes, for example, one or more of the following: a service acceptance message or updating session management information in a session management context response message.
  • the wireless access device sends a service acceptance message to the terminal device, and the wireless access device interacts with the terminal device according to the session management information to complete RRC connection reconfiguration. For details, refer to step 207 to step 212 in the embodiment shown in FIG. 2 .
  • the third message is an update session management context response message
  • the update session management context response message includes user plane context status information
  • the user plane context status information indicates that the status of the user plane resources of the first session is deactivated.
  • the access and mobility management function network element determines the service acceptance message according to the third message, the service acceptance message includes an information element used to indicate the PDU session activation result, and the information element used to indicate the PDU session activation result indicates the user plane of the first session Resource creation failed.
  • the third message is an update session management context response message
  • the update session management context response message includes user plane context state information and a first cause value
  • the user plane context state information indicates the state of the user plane resource of the first session
  • the first cause value indicates the reason why the establishment of the user plane resource of the first session failed.
  • the access and mobility management function network element determines the service acceptance message according to the third message, the service acceptance message includes an information element used to indicate the PDU session activation result and an information element used to indicate the error cause of the PDU session activation result, and is used to indicate the PDU
  • the information element of the session activation result indicates that the establishment of the user plane resources of the first session failed
  • the information element used to indicate the error cause of the PDU session activation result indicates the cause of the failure of the establishment of the user plane resources of the first session.
  • the information element of the first session The cause of the failure to establish the user plane resource indicates that the first session is executing the process of the first operation.
  • Step 607 The terminal device sends a response message to the first message to the access and mobility management functional network element.
  • the terminal device may cache the first message or a response message to the first message, and after receiving step 606, send a response message to the access and mobility management function network element.
  • the mobility management layer in the terminal device receives the first message from the access and mobility management functional network element.
  • the terminal device After the mobility management layer receives the first message from the network element with the access and mobility management function, because the terminal device initiates the process of requesting the establishment of the user plane resource of the first session and the process of the session management function network element initiates the request for the first operation The process conflicts.
  • the terminal device sends a response message to the first message to the session management function network element, but is not limited to the following scheme 1 (as shown in Figure 7) and scheme 2 (as shown in Figure 8 ):
  • Step 701 The mobility management layer receives a first message from an access and mobility management functional network element. (This may correspond to the above step 602).
  • Step 702 the mobility management layer sends a first message to the session management layer.
  • the session management functional network element also sends first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the session management function network element sends the N1N2 message transmission message to the access and mobility management function network element.
  • the N1N2 message transmission message includes, for example, one or more of the following: the identifier of the terminal device, the identifier of the first session, the session management container or the first indication information, and the session management container includes a PDU session release instruction (or a PDU session modification instruction),
  • the PDU session release command includes the identification of the first session.
  • the access and mobility management function network element sends an N2 request message to the wireless access device, the N2 request message includes a downlink non-access stratum transmission message, and the downlink non-access stratum transmission message includes a session management container and first indication information.
  • the wireless access device sends a downlink non-access stratum transmission message to the terminal device.
  • the mobility management layer sends the first message to the session management layer according to the first indication information.
  • Step 703 the session management layer sends a response message to the first message to the mobility management layer.
  • the response message to the first message may indicate that the first operation is completed.
  • Step 704 The mobility management layer caches the response message to the first message.
  • Step 705 The access and mobility management functional network element sends the service acceptance message in step 606 to the mobility management layer.
  • Step 706 The mobility management layer sends a response message to the first message to the access and mobility management functional network element (ie step 607).
  • the mobility management layer sends the first message to the session management layer , and cache the response message for the first message from the session management layer, until the service acceptance message in step 606 is received, the mobility management layer sends the cached response message for the first message to the access and mobility management Functional network elements, thus effectively ensuring smooth user experience and service processes.
  • Step 801 The mobility management layer receives a first message from a network element with a session management function. (This may correspond to the above step 602).
  • Step 802 The mobility management layer caches the first message.
  • the session management functional network element also sends first indication information to the access and mobility management functional network element, where the first indication information indicates the first operation.
  • the session management function network element sends the N1N2 message transmission message to the access and mobility management function network element.
  • the N1N2 message transmission message includes, for example, one or more of the following: the identifier of the terminal device, the identifier of the first session, the session management container or the first indication information, and the session management container includes a PDU session release instruction (or a PDU session modification instruction),
  • the PDU session release command includes the identification of the first session.
  • the access and mobility management function network element sends an N2 request message to the wireless access device, the N2 request message includes a downlink non-access stratum transmission message, and the downlink non-access stratum transmission message includes a session management container and first indication information.
  • the wireless access device sends a downlink non-access stratum transmission message to the terminal device.
  • the mobility management layer buffers the first message according to the first information.
  • Step 803 The access and mobility management function network element sends the service acceptance message in step 606 to the mobility management layer.
  • Step 804 the mobility management layer sends a first message to the session management layer.
  • step 801 and step 804 may be the same or different.
  • Step 805 the session management layer sends a response message to the first message to the mobility management layer.
  • Step 806 The mobility management layer sends a response message to the first message to the access and mobility management functional network element (that is, step 607).
  • the mobility management layer caches the first message until it receives For the service acceptance message in step 606, the mobility management layer sends the first message to the session management layer, receives a response message to the first message from the mobility management layer, and sends the mobility management layer to the access and mobility management functional network
  • the element sends a response message to the first message, thereby effectively ensuring smooth user experience and service process.
  • the cached message in scheme 1 is a response message to the first message
  • the cached message in scheme 2 is the first message.
  • Step 608 The access and mobility management function network element sends a response message to the first message to the session management network element.
  • the session management function network element determines that the process of PDU session modification (or release) conflicts with the process of establishing the user plane resource of the PDU session initiated by the terminal device, the same PDU session If there is a conflict between the operation initiated by the network side device and the operation initiated by the terminal device, the session management function network element sends a third message to the access and mobility management function network element, and the third message is used to indicate that the user plane resource establishment of the first session failed Or the third message is used to indicate that the user plane resource of the first session is successfully established, thereby preventing the terminal device and the session management function network element from waiting for the response message of the request operation initiated by both parties, causing their respective timers to time out, thereby Effectively ensure smooth user experience and business processes.
  • Embodiment 1 The UE has registered to the 5G network, and the UE is in the connected state.
  • steps 901 to 907 reference may be made to steps 401 to 407 in FIG. 4 , and repeated descriptions will not be repeated.
  • the SMF stops the timer for waiting for the PDU session modification complete instruction.
  • steps 909 to 917 reference may be made to steps 204 to 212 in FIG. 2 , and repeated descriptions will not be repeated.
  • the UE discards the PDU session modification instruction.
  • the N1N2 message transmission message also includes the first indication information
  • the AMF sends the N2 request message to the RAN
  • the downlink non-access stratum transmission message in the N2 request message also includes the first indication information.
  • the RAN sends a downlink non-access stratum transmission message to the UE.
  • the UE determines that a service request message has been sent to the AMF and has not received a response message (ie, a service acceptance message) for the service request message
  • the UE may discard the PDU session modification instruction according to the first indication information.
  • Execute the process of establishing the user plane resources of the PDU session with PDU Session ID 5, so as to effectively ensure smooth user experience and service process.
  • the above-mentioned embodiments are also applicable to the scenario where the PDU session release process initiated by the network side device conflicts with the user plane resource establishment process initiated by the UE and the conflict handling process.
  • Embodiment 2 The UE has registered to the 5G network, and the UE is in the connected state.
  • Step 1001 SMF sends N1N2 message transmission message to AMF.
  • the SMF determines to start the PDU session release procedure, it sends the N1N2 message transmission message to the AMF.
  • Step 1002 The AMF sends a N1N2 message transmission response message to the SMF in response to the N1N2 message transmission message.
  • Step 1003 The AMF sends an N2 request message to the RAN.
  • the N2 request message includes a downlink non-access stratum transport message, and the downlink non-access stratum transport message includes the session management container in step 1001.
  • Step 1004 UE sends a service request message to RAN.
  • Step 1005 the RAN sends a downlink non-access stratum transmission message to the UE.
  • Step 1006 RAN sends N2 message to AMF.
  • the N2 message includes the service request message in step 1004 .
  • Step 1007 AMF sends an update session management context request message to SMF.
  • Step 1009 AMF sends N2 message to RAN, and N2 message includes service acceptance message.
  • the AMF determines the Service Accept message according to the Update Session Management Context Response message.
  • the Service Accept message includes the PDU Session Activation Result.
  • the service acceptance message includes a PDU session activation result and an error cause of the PDU session activation result.
  • the error cause of the PDU session activation result may indicate other content, which is not limited here.
  • Step 1010 RAN sends a service acceptance message to UE.
  • the 5GMM layer can cache the PDU session release instruction, and after receiving the service acceptance message in step 1010, the 5GMM layer Send a PDU session release instruction to the 5GSM layer, the 5GSM layer sends a PDU session release completion instruction to the 5GMM layer, and the 5GMM layer sends a PDU session release completion instruction to the RAN.
  • the N1N2 message transmission message may further include first indication information, where the first indication information indicates that the first operation is to release the first session.
  • the AMF sends the N2 request message to the RAN
  • the downlink non-access stratum transmission message in the N2 request message also includes the first indication information.
  • the RAN sends a downlink non-access stratum transmission message to the UE.
  • the 5GMM layer in the UE After the 5GMM layer in the UE receives the PDU session release instruction and the first indication information, the 5GMM layer caches the PDU session release instruction according to the first indication information, and after receiving the service acceptance message in step 10, the 5GMM layer sends a message to the 5GSM layer Send a PDU session release instruction, the 5GSM layer sends a PDU session release completion instruction to the 5GMM layer, and the 5GMM layer sends a PDU session release completion instruction to the RAN.
  • the 5GMM layer in the UE receives the PDU session release instruction
  • the 5GMM layer sends a PDU session release instruction to the 5GSM layer
  • the 5GSM layer sends a PDU session release completion instruction to the 5GMM layer
  • the 5GMM layer can Cache the PDU session release completion instruction
  • the 5GMM layer sends the PDU session release completion instruction to the RAN.
  • the N1N2 message transmission message may further include first indication information, where the first indication information indicates that the first operation is to release the first session.
  • the AMF sends the N2 request message to the RAN
  • the downlink non-access stratum transmission message in the N2 request message also includes the first indication information.
  • the RAN sends a downlink non-access stratum transmission message to the UE.
  • the 5GMM layer in the UE After the 5GMM layer in the UE receives the PDU session release instruction and the first indication information, the 5GMM layer sends the PDU session release instruction to the 5GSM layer according to the first indication information, and the 5GSM layer sends the PDU session release completion instruction to the 5GMM layer, and the 5GMM layer
  • the PDU session release completion instruction may be cached, and after receiving the service acceptance message in step 10, the 5GMM layer sends the PDU session release completion instruction to the RAN.
  • Step 1012 RAN sends N2 message to AMF, and N2 message includes the PDU session release completion instruction in step 1111.
  • Step 1013 AMF sends an update session management context request message to the SMF, and the update session management context request message includes a PDU session release completion instruction.
  • Step 1014 The SMF sends an update session management context response message to the AMF, where the update session management context response message is used to respond to the update session management context request message.
  • the SMF sends an update context response message in response to the update context request message, updating
  • the context response message includes, for example, user plane context status information, or the update context response message includes, for example, user plane context status information and a cause value
  • the AMF sends a service acceptance message to the UE according to the update context response message, and the service acceptance message includes a PDU session activation result, or , the service acceptance message includes the PDU session activation result and the error cause of the PDU session activation result.
  • the UE responds to the PDU session release command and sends a PDU session release complete command.
  • the foregoing embodiments are also applicable to a scenario where a PDU session modification process initiated by a network side device conflicts with a user plane resource establishment process initiated by a UE, and the conflict handling process.
  • Embodiment 3 The UE has registered to the 5G network, and the UE is in a connected state.
  • steps 1101 to 1107 reference may be made to steps 401 to 407 in FIG. 4 , and repeated descriptions will not be repeated.
  • Step 1109 The AMF sends an N2 message to the RAN.
  • the N2 message includes, for example, one or more of the following: service acceptance message and session management information.
  • the AMF determines the Service Accept message according to the Update Session Management Context Response message.
  • the Service Accept message includes the PDU Session Activation Result.
  • Step 1110 RAN sends an RRC connection reconfiguration message to UE.
  • the RRC connection reconfiguration message includes, for example, one or more of the following: service acceptance message and DRB configuration information.
  • steps 1111 to 1114 reference may be made to steps 209 to 212 in FIG. 2 , and repeated descriptions will not be repeated.
  • the UE sends an RRC connection reconfiguration complete message to the RAN.
  • steps 1116 to 1118 reference may be made to steps 306 to 308 in FIG. 3 , and repeated descriptions will not be repeated.
  • steps 1111 to 1114 are independent from steps 1115 to 1117 and correspond to different processes respectively.
  • the SMF sends an update context response message in response to the update context request message, updating
  • the context response message includes, for example, one or more of the following: user plane context status information or session management information
  • the AMF sends a service acceptance message to the UE according to the update context response message, and the service acceptance message includes a PDU session activation result.
  • the UE responds to the PDU session modification instruction, sends the PDU session modification completion instruction, and completes the DRB configuration process through interaction with the RAN.
  • Fig. 12 shows a possible exemplary block diagram of an apparatus involved in the embodiment of the present application.
  • the apparatus 1200 includes: a transceiver module 1210 and a processing module 1220, and the transceiver module 1210 may include a receiving unit and a sending unit.
  • the processing module 1220 is used to control and manage the actions of the device 1200 .
  • the transceiver module 1210 is used to support the communication between the apparatus 1200 and other network entities.
  • the device 1200 may further include a storage unit for storing program codes and data of the device 1200 .
  • each module in the apparatus 1200 may be implemented by software.
  • the processing module 1220 may be a processor or a controller, such as a general-purpose central processing unit (central processing unit, CPU), a general-purpose processor, digital signal processing (digital signal processing, DSP), an application-specific integrated circuit (application specific integrated circuits, ASIC), field programmable gate array (field programmable gate array, FPGA) or other programmable logic devices, transistor logic devices, hardware components or any combination thereof. It can realize or execute various exemplary logical blocks, modules and circuits described in conjunction with the disclosed content of the embodiments of the present application.
  • the processor may also be a combination of computing functions, for example, a combination of one or more microprocessors, a combination of DSP and a microprocessor, and so on.
  • the transceiver module 1210 may be a communication interface, a transceiver or a transceiver circuit, etc., wherein the communication interface is collectively referred to as, in a specific implementation, the communication interface may include multiple interfaces, and the storage unit may be a memory.
  • the processing module 1220 in the device 1200 can support the device 1200 to perform the actions of the session management function network element in the above method examples, for example, it can support the device Step 1200 executes step 503 in FIG. 5 and step 908 in FIG. 9 .
  • the transceiver module 1210 may support the communication between the device 1200 and the access and mobility management functional network element, for example, the transceiver module 1210 may support the device 1200 to execute steps 501 and 503 in FIG. 5, and step 601 and steps in FIG. 604, step 605 and step 608, step 1001 among Fig. 10, step 1002, step 1007, step 1010, step 1010, step 1011, step 1016, step 1017, step 1101 among Fig. 11, step 1102, step 1107, step 1108, step 1113, step 1114, step 1117, step 1118.
  • the device 1200 includes:
  • the transceiver module 1210 is configured to initiate a process of a first operation for a first session; during the execution of the first operation, receive a user request for the first session from an access and mobility management functional network element face resource creation request;
  • the processing module 1220 is configured to determine a subsequent process according to the type of the first operation.
  • the first operation is to modify the first session; the processing module 1220 is configured to stop modifying the first session when determining a subsequent process according to the type of the first operation Execute the process of establishing the user plane resource of the first session.
  • the first operation is to release the first session;
  • the processing module 1220 is configured to reject the first session when determining a subsequent process according to the type of the first operation request for establishing user plane resources, and continue to execute the process of releasing the first session.
  • the device 1200 includes:
  • the transceiver module 1210 is configured to send a first message to an access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session ; After the session management function network element sends the first message, receiving a second message from the access and mobility management function network element, the second message is used to request establishment of the first session user plane resources;
  • the processing module 1220 is configured to, when it is determined that no response message to the first message is received and the second message is received, suspend the process of the first operation, and execute the user who establishes the first session flow of face resources.
  • the device 1200 includes:
  • the transceiver module 1210 is configured to send a first message to an access and mobility management functional network element, where the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session ; after sending the first message, receiving a second message from the access and mobility management function network element, where the second message is used to request user plane resources for establishing the first session;
  • the processing module 1220 determines that no response message for the first message is received and the second message is received
  • the transceiver module 1210 is configured to send the access and mobility
  • the management function network element sends a third message, where the third message is used to indicate that the establishment of the user plane resource of the first session fails or the establishment of the user plane resource of the first session succeeds.
  • the device 1200 may correspond to the session management function network element in the foregoing method embodiments, for example, the method in FIG.
  • the corresponding steps of the method of the session management function network element in the method embodiment can also achieve the beneficial effects of the foregoing method embodiments, and for the sake of brevity, details are not described here.
  • the processing module 1220 in the device 1200 can support the device 1200 to execute the actions of the session management function network element in the above method examples, for example, it can support the device 1200 to execute the Step 503, step 908 in FIG. 9 .
  • the transceiver module 1210 can support the communication between the device 1200 and the access and mobility management functional network element, for example, the transceiver module 1210 can support the device 1200 to execute steps 602, 603, 606 and 607 in FIG. 6, FIG. 7 Step 702 in step 703, step 804 in Fig. 8, step 805, step 904 in Fig. 9, step 905, step 913, step 914, step 1004 in Fig. 10, step 1005, step 1010, step 1011, Step 1104, step 1105, step 1110, step 1111, step 1115 in Fig. 11 .
  • the device 1200 includes:
  • the transceiver module 1210 is configured to send a service request message to an access and mobility management functional network element, where the service request message is used to request user plane resources for establishing the first session; A first message of a management function network element, where the first message is used to request a first operation, where the first operation includes modifying the first session or releasing the first session;
  • the processing module 1220 is configured to cache the first message or a response message to the first message until receiving a service acceptance message from the access and mobility management functional network element through the transceiver module 1210
  • the processing module 1220 invokes the transceiving module 1210 to send the response message to the first message to the access and mobility management functional network element.
  • the device 1200 includes:
  • the transceiver module 1210 is configured to: send a service request message to an access and mobility management functional network element, where the service request message is used to request user plane resources for establishing the first session; A first message of a management function network element, where the first message is used to request a first operation, where the first operation includes modifying the first session or releasing the first session;
  • the processing module 1220 is configured to: discard the first message when it is determined that the service request message has been sent and no response message for the service message has been received.
  • the apparatus 1200 may correspond to the method of the terminal device in the foregoing method embodiments, for example, the method in FIG.
  • the corresponding steps of the method of the terminal device in the embodiment can also achieve the beneficial effects of the foregoing method embodiments, and for the sake of brevity, details are not described here.
  • the processing module 1220 in the embodiment of the present application is a processor, and the transceiver module 1210 is a transceiver
  • the device 1200 involved in the embodiment of the present application may be the device 1300 shown in FIG. 13 .
  • Fig. 13 shows a schematic structural diagram of a communication device 1300 according to an embodiment of the present application.
  • the apparatus 1300 includes: a processor 1301 .
  • the processor 1301 when the device 1300 is a network element with a session management function or a chip in a network element with a session management function, in a possible implementation, when the processor 1301 is used to call an interface to perform the following actions: initiate the first session for the first session Operation flow: during the execution of the first operation, a request for establishing the user plane resources of the first session is received from the access and mobility management functional network element; the subsequent operation is determined according to the type of the first operation process.
  • the processor 1301 when the device 1300 is a session management function network element or a chip in a session management function network element, in a possible implementation, when the processor 1301 is used to call the interface to perform the following actions:
  • the network element sends a first message, the first message is used to request a first operation, and the first operation includes modifying the first session or releasing the first session; after the session management function network element sends the first message , receiving a second message from the access and mobility management functional network element, where the second message is used to request to establish user plane resources for the first session; when it is determined that no response to the first message is received When receiving the response message and receiving the second message, stop the process of the first operation, and execute the process of establishing the user plane resource of the first session.
  • the processor 1301 when the processor 1301 is used to call the interface to perform the following actions:
  • the network element sends a first message, where the first message is used to request a first operation, where the first operation includes modifying the first session or releasing the first session; after sending the first message, receiving the A second message from an entry and mobility management functional network element, where the second message is used to request user plane resources for establishing the first session; when it is determined that no response message to the first message is received and the received
  • sending a third message to the access and mobility management functional network element in response to the second message the third message is used to indicate that the establishment of the user plane resource of the first session failed or The user plane resource of the first session is successfully established.
  • apparatus 1300 may also be used to perform other steps and/or operations on the side of the session management function network element in the foregoing embodiments, and details are not described here for brevity.
  • the apparatus 1300 is a terminal device or a chip in a terminal device, in a possible implementation manner, when the processor 1301 is used to call an interface to perform the following actions:
  • Sending a service request message to an access and mobility management functional network element where the service request message is used to request user plane resources for establishing a first session; receiving a first message from the access and mobility management functional network element , the first message is used to request a first operation, the first operation includes modifying the first session or releasing the first session; buffering the first message or a response message to the first message until receiving a message from Sending the response message to the first message to the access and mobility management function network element for the service acceptance message of the access and mobility management function network element.
  • the apparatus 1300 is a terminal device or a chip in a terminal device, in a possible implementation manner, when the processor 1301 is used to call an interface to perform the following actions:
  • apparatus 1300 may also be used to perform other steps and/or operations on the terminal device side in the foregoing embodiments, and details are not described here for brevity.
  • the processor 1301 may call an interface to perform the above sending and receiving actions, where the called interface may be a logical interface or a physical interface, which is not limited thereto.
  • the physical interface can be implemented through a transceiver.
  • the apparatus 1300 further includes a transceiver 1303 .
  • the apparatus 1300 further includes a memory 1302, and the memory 1302 may store the program codes in the foregoing method embodiments, so as to be called by the processor 1301.
  • the apparatus 1300 includes a processor 1301, a memory 1302, and a transceiver 1303, the processor 1301, the memory 1302, and the transceiver 1303 communicate with each other through an internal connection path to transmit control and/or data signals.
  • the processor 1301, the memory 1302, and the transceiver 1303 may be implemented by a chip, and the processor 1301, the memory 1302, and the transceiver 1303 may be implemented in the same chip, or may be respectively implemented in different chips, Or a combination of any two of these functions can be implemented in one chip.
  • the memory 1302 may store program codes, and the processor 1301 calls the program codes stored in the memory 1302 to implement corresponding functions of the apparatus 1300 .
  • a processor may be an integrated circuit chip with signal processing capabilities.
  • each step of the above-mentioned method embodiments may be completed by an integrated logic circuit of hardware in a processor or instructions in the form of software.
  • the above-mentioned processor can be a general-purpose processor, a digital signal processor (digital signal processor, DSP), an application specific integrated circuit (application specific integrated circuit, ASIC), an off-the-shelf programmable gate array (field programmable gate array, FPGA) or other available Programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, system on chip (system on chip, SoC), central processor unit (central processor unit, CPU), or network processor (network processor, NP), can also be a digital signal processing circuit (digital signal processor, DSP), can also be a microcontroller (micro controller unit, MCU), can also be a programmable controller (programmable logic device, PLD) or other Integrated chip.
  • DSP digital signal processor
  • ASIC application specific integrated circuit
  • FPGA off-the-shelf programmable gate array
  • FPGA field programmable gate array
  • Programmable logic devices discrete gate or transistor logic devices, discrete hardware components, system on chip (system on chip, SoC), central processor unit
  • a general-purpose processor may be a microprocessor, or the processor may be any conventional processor, or the like.
  • the steps of the method disclosed in connection with the embodiments of the present application may be directly implemented by a hardware decoding processor, or implemented by a combination of hardware and software modules in the decoding processor.
  • the software module can be located in a mature storage medium in the field such as random access memory, flash memory, read-only memory, programmable read-only memory or electrically erasable programmable memory, register.
  • the storage medium is located in the memory, and the processor reads the information in the memory, and completes the steps of the above method in combination with its hardware.
  • the memory in the embodiments of the present application may be a volatile memory or a nonvolatile memory, or may include both volatile and nonvolatile memories.
  • the non-volatile memory can be read-only memory (read-only memory, ROM), programmable read-only memory (programmable ROM, PROM), erasable programmable read-only memory (erasable PROM, EPROM), electrically programmable Erases programmable read-only memory (electrically EPROM, EEPROM) or flash memory.
  • Volatile memory can be random access memory (RAM), which acts as external cache memory.
  • RAM random access memory
  • SRAM static random access memory
  • DRAM dynamic random access memory
  • DRAM synchronous dynamic random access memory
  • SDRAM double data rate synchronous dynamic random access memory
  • ESDRAM enhanced synchronous dynamic random access memory
  • SLDRAM direct memory bus random access memory
  • direct rambus RAM direct rambus RAM
  • sequence numbers of the above-mentioned processes do not mean the order of execution, and the order of execution of the processes should be determined by their functions and internal logic.
  • the various numerical numbers or serial numbers involved in the above-mentioned various processes are only for convenience of description, and shall not constitute any limitation to the implementation process of the embodiment of the present application.
  • the above is an example of the three elements of A, B and C to illustrate the optional items of the project.
  • the expression includes at least one of the following: A, B, ..., and X"
  • the applicable entries for this item can also be obtained according to the aforementioned rules.
  • the disclosed systems, devices and methods may be implemented in other ways.
  • the device embodiments described above are only illustrative.
  • the division of the units is only a logical function division. In actual implementation, there may be other division methods.
  • multiple units or components can be combined or May be integrated into another system, or some features may be ignored, or not implemented.
  • the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces, and the indirect coupling or communication connection of devices or units may be in electrical, mechanical or other forms.
  • the units described as separate components may or may not be physically separated, and the components shown as units may or may not be physical units, that is, they may be located in one place, or may be distributed to multiple network units. Part or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
  • each functional unit in each embodiment of the present application may be integrated into one processing unit, each unit may exist separately physically, or two or more units may be integrated into one unit.
  • the functions described above are realized in the form of software function units and sold or used as independent products, they can be stored in a computer-readable storage medium.
  • the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including Several instructions are used to make a computer device (which may be a personal computer, a server, or a network device, etc.) execute all or part of the steps of the methods described in the various embodiments of the present application.
  • the aforementioned storage medium includes: U disk, mobile hard disk, read-only memory ROM, random access memory RAM, magnetic disk or optical disk, and other media capable of storing program codes.

Landscapes

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

Abstract

一种通信方法及装置,该方法包括:会话管理功能网元发起针对第一会话的第一操作的流程,在第一操作的执行过程中,会话管理功能网元从接入和移动性管理功能网元接收针对第一会话的用户面资源的建立请求,会话管理功能网元根据第一操作决定后续流程。因此,会话管理功能网元可以根据第一操作决定后续操作流程,从而有效保证用户体验和业务进程流畅。

Description

一种通信方法及装置
相关申请的交叉引用
本申请要求在2021年05月12日提交中国专利局、申请号为202110518537.7、申请名称为“一种通信方法及装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。
技术领域
本申请实施例涉及无线通信领域,尤其涉及一种通信方法及装置。
背景技术
在通信系统中,用户设备(user equipment,UE)和网络侧设备都可以针对同一个会话执行不同的操作。例如,在5G下,如果UE有上行数据要发送,UE可以触发请求建立用户面资源。如果网络侧设备确定需要修改同一个协议数据单元(protocol data unit,PDU)会话(PDU session)或释放同一个PDU会话,网络侧设备可以发起修改或释放PDU会话的流程。因此,可能存在针对同一个PDU会话,UE发起的请求建立用户面资源的流程与网络侧设备发起的修改或释放PDU会话的流程出现冲突的场景。上述冲突场景有可能造成终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,直至各自的定时器超时,进而影响用户的业务进程和用户体验。
发明内容
本申请实施例提供一种通信方法及装置,用以解决UE与网络侧设备对同一个PDU会话发起的操作出现冲突的问题。
第一方面,本申请提供一种通信方法,该方法包括:会话管理功能网元发起针对第一会话的第一操作的流程,在所述第一操作的执行过程中,所述会话管理功能网元从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求。所述会话管理功能网元根据所述第一操作的类型决定后续流程。
采用上述方法,会话管理功能网元可以根据第一操作的类型决定后续操作流程,从而有效保证用户体验和业务进程流畅。
在一种可能的设计中,所述第一操作为修改所述第一会话;在所述会话管理功能网元根据所述第一操作的类型决定后续流程时,所述会话管理功能网元中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
采用上述设计,会话管理功能网元中止修改第一会话的流程,执行建立第一会话的用户面资源的流程,可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况。
在一种可能的设计中,所述会话管理功能网元停止第一定时器,所述第一定时器包括等待针对修改所述第一会话的响应消息的计时器。
在一种可能的设计中,在所述会话管理功能网元完成建立所述第一会话的用户面资源的流程之后,所述会话管理功能网元重新发起修改所述第一会话的流程。
采用上述设计,会话管理功能网元可以在完成建立第一会话的用户面资源的流程之后,重新发起修改第一会话的流程。
在一种可能的设计中,在所述会话管理功能网元执行建立所述第一会话的用户面资源的流程时,所述会话管理功能网元向所述接入和移动性管理功能网元发送第一消息,所述第一消息指示所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述第一消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
在一种可能的设计中,所述第一操作为释放所述第一会话;在所述会话管理功能网元根据所述第一操作的类型决定后续流程时,所述会话管理功能网元拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
采用上述设计,会话管理功能网元拒绝第一会话的用户面资源的建立请求,并继续执行释放第一会话的流程,可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况。
在一种可能的设计中,所述会话管理功能网元接收针对释放所述第一会话的响应消息。
在一种可能的设计中,在所述会话管理功能网元拒绝所述第一会话的用户面资源的建立请求时,所述会话管理功能网元向所述接入和移动性管理功能网元发送第二消息,所述第二消息指示所述第一会话的用户面资源建立失败。
在一种可能的设计中,所述第二消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为去激活。
在一种可能的设计中,所述第二消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
在一种可能的设计中,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行释放所述第一会话的流程。
在一种可能的设计中,在所述会话管理功能网元接收到针对所述第一操作的响应消息之前,所述会话管理功能网元从所述接入和移动性管理功能网元接收所述针对所述第一会话的用户面资源的建立请求。
在一种可能的设计中,所述针对所述第一会话的用户面资源的建立请求为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
在一种可能的设计中,所述第一操作的类型为修改所述第一会话;在所述会话管理功能网元根据所述第一操作的类型决定后续流程时,所述会话管理功能网元拒绝所述第一会话的用户面资源的建立请求,并继续执行修改所述第一会话的流程。
采用上述设计,会话管理功能网元拒绝第一会话的用户面资源的建立请求,并继续执行修改第一会话的流程,可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况。
在一种可能的设计中,所述第一操的类型作为修改所述第一会话;在所述会话管理功 能网元根据所述第一操作的类型决定后续流程时,所述会话管理功能网元继续执行修改所述第一会话的流程和建立所述第一会话的用户面资源的流程。
采用上述设计,会话管理功能网元同时执行两个流程,可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况。
第二方面,本申请提供一种通信装置,该装置包括:收发单元和处理单元;所述收发单元,用于发起针对第一会话的第一操作的流程;在所述第一操作的执行过程中,从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求;所述处理单元,用于根据所述第一操作的类型决定后续流程。
在一种可能的设计中,所述第一操作为修改所述第一会话;所述处理单元,具体用于中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
在一种可能的设计中,所述处理单元,用于停止第一定时器,所述第一定时器包括等待针对修改所述第一会话的响应消息的计时器。
在一种可能的设计中,所述收发单元,用于在完成建立所述第一会话的用户面资源的流程之后,重新发起修改所述第一会话的流程。
在一种可能的设计中,所述收发单元,用于在执行建立所述第一会话的用户面资源的流程时,向所述接入和移动性管理功能网元发送第一消息,所述第一消息指示所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述第一消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
在一种可能的设计中,所述第一操作为释放所述第一会话;所述处理单元,具体用于拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
在一种可能的设计中,所述收发单元,用于接收针对释放所述第一会话的响应消息。
在一种可能的设计中,所述收发单元,用于在拒绝所述第一会话的用户面资源的建立请求时,向所述接入和移动性管理功能网元发送第二消息,所述第二消息指示所述第一会话的用户面资源建立失败。
在一种可能的设计中,所述第二消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为去激活。
在一种可能的设计中,所述第二消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
在一种可能的设计中,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行释放所述第一会话的流程。
在一种可能的设计中,所述收发单元,用于在所述会话管理功能网元接收到针对所述第一操作的响应消息之前,所述会话管理功能网元从所述接入和移动性管理功能网元接收所述针对所述第一会话的用户面资源的建立请求。
在一种可能的设计中,所述针对所述第一会话的用户面资源的建立请求为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述 第一会话的标识。
在一种可能的设计中,所述第一操作的类型为修改所述第一会话;所述处理单元,用于在根据所述第一操作的类型决定后续流程时,拒绝所述第一会话的用户面资源的建立请求,并继续执行修改所述第一会话的流程。
在一种可能的设计中,所述第一操的类型作为修改所述第一会话;所述处理单元,用于在根据所述第一操作的类型决定后续流程时,继续执行修改所述第一会话的流程和建立所述第一会话的用户面资源的流程。
需要说明的是,第二方面及第二方面中的任意一种可能的设计的技术效果可以参照相应的第一方面及第一方面中任意一种可能的设计的技术效果,重复之处不再赘述。
第三方面,本申请提供一种通信方法,该方法包括:
会话管理功能网元向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话。在所述会话管理功能网元发送所述第一消息之后,所述会话管理功能网元接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源。在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述会话管理功能网元中止所述第一操作的流程,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程。
采用上述方法,会话管理功能网元在第一操作的流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,即针对同一个PDU会话网络侧设备发起的操作和终端设备发起的操作出现冲突,会话管理功能网元中止当前的第一操作的流程,执行建立第一会话的用户面资源的流程,进而可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况,从而有效保证用户体验和业务进程流畅。
在一种可能的设计中,所述第一操作为修改所述第一会话;在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,所述会话管理功能网元中止所述第一操作的流程,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程。
采用上述设计,当会话管理功能网元未接收到针对所述第一消息的响应消息,且接收到所述第二消息且未请求建立第一会话的用户面资源时,会话管理功能网元中止第一操作的流程,执行建立第一会话的用户面资源的流程。
在一种可能的设计中,还包括:所述会话管理功能网元停止第一定时器,所述第一定时器包括等待针对所述第一消息的响应消息的计时器。
采用上述设计,当会话管理功能网元中止第一操作的流程时,会话管理功能网元停止第一定时器。
在一种可能的设计中,还包括:所述会话管理功能网元向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
采用上述设计,该第一指示信息用于使终端设备根据第一指示信息丢弃第一消息。
在一种可能的设计中,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所 述第一会话的标识。
在一种可能的设计中,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
在一种可能的设计中,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程具体可以包括但不限于以下一个或多个步骤:所述会话管理功能网元向用户面功能网元发送会话修改请求消息,所述会话修改请求消息用于为所述用户面网元配置下行隧道信息。所述会话管理功能网元接收来自于所述用户面功能网元的会话修改响应消息,所述会话修改响应消息用于响应所述会话修改请求消息,所述会话管理功能网元响应所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息指示所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
在一种可能的设计中,在所述会话管理功能网元执行建立所述第一会话的用户面资源的流程之后,所述会话管理功能网元向所述接入和移动性管理功能网元发送所述第一消息。
第四方面,本申请提供一种通信方法,该方法包括:
会话管理功能网元向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在所述会话管理功能网元发送所述第一消息之后,所述会话管理功能网元接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息用于指示所述第一会话的用户面资源建立失败或所述第一会话的用户面资源建立成功。
采用上述方法,会话管理功能网元在第一操作的流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,即针对同一个PDU会话网络侧设备发起的操作和终端设备发起的操作出现冲突,会话管理功能网元向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立失败或建立成功,进而可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况,从而有效保证用户体验和业务进程流畅。
在一种可能的设计中,所述第一操作为修改所述第一会话;在所述会话管理功能网元确定未接收到针对所述第一信息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送所述第三消息。
采用上述设计,当会话管理功能网元未接收到针对所述第一消息的响应消息,且接收到所述第二消息且未请求建立第一会话的用户面资源时,会话管理功能网元响应于第二消息向接入和移动性管理功能网元发送第三消息。
在一种可能的设计中,在所述第三消息用于指示所述第一会话的用户面资源建立失败 时,所述第三消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
在一种可能的设计中,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行所述第一操作的流程。
在一种可能的设计中,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息为更新会话管理上下文响应消息和所述第一原因值,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态处于去激活。
在一种可能的设计中,在所述第三消息用于指示所述第一会话的用户面资源建立成功时,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
在一种可能的设计中,还包括:所述会话管理功能网元向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
采用上述设计,该第一指示信息用于使终端设备根据第一指示信息缓存第一消息或针对第一消息的响应消息。
在一种可能的设计中,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
在一种可能的设计中,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
在一种可能的设计中,在所述会话管理功能网元向所述接入和移动性管理功能网元发送第三消息之后,所述会话管理功能网元接收来自于所述接入和移动性管理功能网元的针对所述第一信息的响应消息。
第五方面,本申请提供一种通信方法,该方法包括:终端设备向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;所述终端设备接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;所述终端设备缓存所述第一消息或针对所述第一消息的响应消息,直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息。
采用上述方法,在会话管理功能网元发起的第一操作的流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,即针对同一个PDU会话网络侧设备发起的操作和终端设备发起的操作出现冲突,终端设备可以缓存第一消息或针对第一消息的响应消息,直至接收来自于接入和移动性管理功能网元的服务接受消息,向接入和移动性管理功能网元发送针对第一消息的响应消息,从而有效保证用户体验和业务进程流畅。
在一种可能的设计中,所述终端设备包括会话管理层和移动性管理层;在所述终端设备缓存针对所述第一消息的响应消息之前,所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的针对所述第一消息的响应消息;
采用上述设计,移动性管理层先向会话管理层发送第一消息,然后缓存会话管理层反馈的针对第一消息的响应消息。
在一种可能的设计中,所述终端设备包括会话管理层和移动性管理层;在所述终端设备缓存所述第一消息直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息时,所述移动性管理层缓存所述第一消息直至接收到所述服务接受消息,所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的所述针对所述第一消息的响应消息,所述移动性管理层向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息。
采用上述设计,移动性管理层先缓存第一消息,待接收到服务接收消息后再向会话管理层发送第一消息。
在一种可能的设计中,所述终端设备接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息指示所述第一操作,此时,所述终端设备根据所述第一指示信息缓存所述第一消息或所述针对所述第一消息的响应消息。
采用上述设计,终端设备可以根据第一指示信息缓存第一消息或针对第一消息的响应消息。
在一种可能的设计中,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一消息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识,针对所述第一消息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
在一种可能的设计中,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
在一种可能的设计中,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败;或者,所述服务接受消息包括用于指示PDU会话激活结果的信元和/或用于指示PDU会话激活结果错误原因的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败,所述用于指示PDU会话激活结果错误原因的信元指示所述第一会话的用户面资源建立失败的原因。
在一种可能的设计中,所述第一会话的用户面资源建立失败的原因包括所述第一会话正在执行所述第一操作的流程。
在一种可能的设计中,所述第一操作为修改所述第一会话;在所述终端设备向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息之后,还包括:所述终端设备向所述接入和移动性管理功能网元重新发送所述服务请求消息。
采用上述设计,终端设备可以重新发起请求第一会话的用户面资源建立的流程。
第六方面,本申请提供一种通信方法,该方法包括:终端设备向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;所述终端设备接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改所述第一会话或释放所述第一会话;在所述终端设备确定已发送所述服务请求消息且未接收到针对所述服务消息的响应消息时,所述终端设备丢弃所述第一消息。
采用上述设计,在会话管理功能网元发起的第一操作的流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,终端设备可以丢弃第一消息。
在一种可能的设计中,所述终端设备接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息用于指示所述第一操作;所述终端设备丢弃所述第一消息,包括:所述终端设备根据所述第一指示信息丢弃所述第一消息。
采用上述设计,终端设备可以根据第一指示信息丢弃第一消息。
在一种可能的设计中,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
在一种可能的设计中,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
第七方面,本申请提供一种通信装置,该装置包括:收发单元和处理单元;所述收发单元,用于向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在发送所述第一消息之后,接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源。所述处理单元,用于在确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,中止所述第一操作的流程,执行建立所述第一会话的用户面资源的流程。
在一种可能的设计中,所述第一操作为修改所述第一会话;所述处理单元,用于在确定未接收到针对所述第一消息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,中止所述第一操作的流程,执行建立所述第一会话的用户面资源的流程。
在一种可能的设计中,所述处理单元,用于停止第一定时器,所述第一定时器包括等待针对所述第一消息的响应消息的计时器。
在一种可能的设计中,所述收发单元,用于向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
在一种可能的设计中,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
在一种可能的设计中,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
在一种可能的设计中,所述处理单元调用所述收发单元执行建立所述第一会话的用户面资源的流程具体可以包括以下步骤:向用户面功能网元发送会话修改请求消息,所述会话修改请求消息用于为所述用户面网元配置下行隧道信息,接收来自于所述用户面功能网元的会话修改响应消息,所述会话修改响应消息用于响应所述会话修改请求消息,响应所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息指示所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
在一种可能的设计中,所述收发单元,用于在执行建立所述第一会话的用户面资源的流程之后,向所述接入和移动性管理功能网元发送所述第一消息。
第八方面,本申请提供一种通信装置,该装置包括:收发单元和处理单元;所述收发单元用于向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在发送所述第一消息之后,所述收发单元用于接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;在所述处理单元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述收发单元用于响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息用于指示所述第一会话的用户面资源建立失败或所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述第一操作为修改所述第一会话;在所述会话管理功能网元确定未接收到针对所述第一信息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送所述第三消息。
在一种可能的设计中,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
在一种可能的设计中,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行所述第一操作的流程。
在一种可能的设计中,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息为更新会话管理上下文响应消息和所述第一原因值,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态处于去激活。
在一种可能的设计中,在所述第三消息用于指示所述第一会话的用户面资源建立成功时,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
在一种可能的设计中,所述收发单元,用于向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
在一种可能的设计中,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
在一种可能的设计中,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
在一种可能的设计中,所述收发单元,用于在向所述接入和移动性管理功能网元发送第三消息之后,接收来自于所述接入和移动性管理功能网元的针对所述第一信息的响应消息。
第九方面,本申请提供一种通信装置,该装置包括:收发单元和处理单元;所述收发单元,用于向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;所述处理单元,用于缓存所述第一消息或针对所述第一消息的响应消息,直至通过所述收发单元接收来自于所述接入和移动性管理功能网元的服务接受消息,调用所述收发单元向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息。
在一种可能的设计中,所述装置包括会话管理层和移动性管理层;在缓存针对所述第一消息的响应消息之前,所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的针对所述第一消息的响应消息;
在一种可能的设计中,所述装置包括会话管理层和移动性管理层;在缓存所述第一消息直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息时,所述移动性管理层缓存所述第一消息直至接收到所述服务接受消息,所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的所述针对所述第一消息的响应消息,所述移动性管理层向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息。
在一种可能的设计中,所述收发单元,用于接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息指示所述第一操作;所述处理单元,用于根据所述第一指示信息缓存所述第一消息或所述针对所述第一消息的响应消息。
在一种可能的设计中,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一消息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识,针对所述第一消息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
在一种可能的设计中,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
在一种可能的设计中,所述服务接受消息包括用于指示PDU会话激活结果的信元, 所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立成功。
在一种可能的设计中,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败;或者,所述服务接受消息包括用于指示PDU会话激活结果的信元和用于指示PDU会话激活结果错误原因的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败,所述用于指示PDU会话激活结果错误原因的信元指示所述第一会话的用户面资源建立失败的原因。
在一种可能的设计中,所述第一会话的用户面资源建立失败的原因包括所述第一会话正在执行所述第一操作的流程。
在一种可能的设计中,所述第一操作为修改所述第一会话;在向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息之后,所述收发单元,用于向所述接入和移动性管理功能网元重新发送所述服务请求消息。
采用上述设计,终端设备可以重新发起请求第一会话的用户面资源建立的流程。
第十方面,本申请提供一种通信装置,该装置包括:收发单元和处理单元;所述收发单元,用于向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改所述第一会话或释放所述第一会话;所述处理单元,用于在确定已发送所述服务请求消息且未接收到针对所述服务消息的响应消息时,丢弃所述第一消息。
在一种可能的设计中,所述收发单元,用于接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息用于指示所述第一操作;所述处理单元,用于根据所述第一指示信息丢弃所述第一消息。
在一种可能的设计中,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
在一种可能的设计中,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
第十一方面,本申请还提供一种装置。该装置可以执行上述方法设计。该装置可以是能够执行上述方法对应的功能的芯片或电路,或者是包括该芯片或电路的设备。
在一种可能的实现方式中,该装置包括:存储器,用于存储计算机可执行程序代码;以及处理器,处理器与存储器耦合。其中存储器所存储的程序代码包括指令,当处理器执行所述指令时,使该装置或者安装有该装置的设备执行上述任意一种可能的设计中的方法。
其中,该装置还可以包括通信接口,该通信接口可以是收发器,或者,如果该装置为芯片或电路,则通信接口可以是该芯片的输入/输出接口,例如输入/输出管脚等。
在一种可能的设计中,该装置包括相应的功能单元,分别用于实现以上方法中的步骤。功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。硬件或软件包括一个或多个与上述功能相对应的单元。
第十二方面,本申请实施例提供一种计算机可读存储介质,所述计算机可读存储介质存储有计算机程序,当所述计算机程序在装置上运行时,执行上述任意一种可能的设计中 的方法。
第十三方面,本申请实施例提供一种计算机程序产品,所述计算机程序产品包括计算机程序,当所述计算机程序在装置上运行时,执行上述任意一种可能的设计中的方法。
附图说明
图1A为本申请的实施例应用的移动通信系统的架构示意图之一;
图1B为本申请的实施例应用的移动通信系统的架构示意图之二;
图2为本申请的实施例中UE发起PDU会话的用户面资源建立的具体流程示意图;
图3为本申请的实施例中网络侧设备发起的PDU会话修改流程示意图;
图4为本申请的实施例中网络侧设备发起的PDU会话修改流程与UE发起的PDU会话的用户面资源建立流程发生冲突的场景示意图;
图5为本申请的实施例中一种通信方法概述流程图之一;
图6为本申请的实施例中一种通信方法概述流程图之二;
图7为本申请的实施例中终端设备向接入和移动性管理功能网元发送针对第一消息的响应消息的示意图之一;
图8为本申请的实施例中终端设备向接入和移动性管理功能网元发送针对第一消息的响应消息的示意图之二;
图9为本申请的实施例中由网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突的处理过程的示意图之一;
图10为本申请的实施例中由网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突的处理过程的示意图之二;
图11为本申请的实施例中网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突处理过程示意图之三;
图12为本申请的实施例中一种装置的结构示意图之一;
图13为本申请的实施例中一种装置的结构示意图之二。
具体实施方式
下面将结合本申请实施例中的附图,对本申请实施例中的技术方案进行清楚、完整地描述。显然,所描述的实施例仅仅是本申请一部分实施例,而不是全部的实施例。本申请的说明书和权利要求书及上述附图中的术语“第一”、第二”以及相应术语标号等是用于区别类似的对象,而不必用于描述特定的顺序或先后次序。应该理解这样使用的术语在适当情况下可以互换,这仅仅是描述本申请的实施例中对相同属性的对象在描述时所采用的区分方式。此外,术语“包括”和“具有”以及他们的任何变形,意图在于覆盖不排他的包含,以便包含一系列单元的过程、方法、系统、产品或设备不必限于那些单元,而是可包括没有清楚地列出的或对于这些过程、方法、产品或设备固有的其它单元。
在本申请的描述中,除非另有说明,“/”表示或的意思,例如,A/B可以表示A或B;本申请中的“和/或”仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,在本申请的描述中,“至少一项”是指一项或者多项,“多项”是指两项或两项以上。“以下至少 一项(个)”或其类似表达,是指的这些项中的任意组合,包括单项(个)或复数项(个)的任意组合。例如,a,b,或c中的至少一项(个),可以表示:a,b,c,a-b,a-c,b-c,或a-b-c,其中a,b,c可以是单个,也可以是多个。
本申请实施例的技术方案可以应用于各种通信系统,例如:宽带码分多址(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),通用移动通信系统(universal mobile telecommunication system,UMTS),全球互联微波接入(worldwide interoperability for microwave access,WiMAX)通信系统,第五代(5th generation,5G)系统或未来的第六代通信系统等。
图1A和图1B是本申请的实施例应用的移动通信系统的架构示意图。终端设备通过无线的方式与无线接入设备相连,无线接入设备通过无线或有线方式与核心网设备连接。核心网设备与无线接入设备可以是独立的不同的物理设备,也可以是将核心网设备的功能与无线接入设备的逻辑功能集成在同一个物理设备上,还可以是一个物理设备上集成了部分核心网设备的功能和部分的无线接入设备的功能。终端设备可以是固定位置的,也可以是可移动的。图1A和图1B只是示意图,该通信系统中还可以包括其它网络设备。
核心网设备包括会话管理网元、接入管理网元、用户面功能网元等。
会话管理网元:主要用于会话管理、终端设备的网络互连协议(internet protocol,IP)地址分配和管理、选择可管理用户设备平面功能、策略控制、或收费功能接口的终结点以及下行数据通知等。在5G通信中,会话管理网元可以是会话管理功能(session management function,SMF)网元,在未来通信如6G通信中,会话管理功能网元仍可以是SMF网元,或者有其它名称,本申请对此不作限定。Nsmf是SMF提供的基于服务的接口,SMF可以通过Nsmf与其他的网络功能通信。
接入管理网元:主要用于移动性管理和接入管理等,可以用于实现移动性管理实体(mobility management entity,MME)功能中除会话管理之外的其它功能,例如,合法监听、或接入授权(或鉴权)等功能。在5G通信中,接入管理网元可以是接入管理功能(access and mobility management function,AMF)网元,在未来通信如6G通信中,接入管理网元仍可以是AMF网元,或者有其它名称,本申请对此不作限定。Namf是AMF提供的基于服务的接口,AMF可以通过Namf与其他的网络功能通信。
用户面网元(user plane function,UPF)网元:用于分组路由和转发、或用户面数据的服务质量(quality of service,QoS)处理等。在5G通信中,用户面网元可以是用户面功能(user plane function,UPF)网元,在未来通信如6G通信中,用户面网元仍可以是UPF网元,或者有其它名称,本申请对此不作限定。
无线接入设备为无线接入网络(radio access network,RAN),用于实现无线接入有关的功能。无线接入设备可以是基站(base station)、演进型基站(evolved NodeB,eNodeB)、发送接收点(transmission reception point,TRP)、5G移动通信系统中的下一代基站(next generation NodeB,gNB)、未来移动通信系统中的基站或WiFi系统中的接入节点等;也可以是完成基站部分功能的模块或单元,例如,可以是集中式单元(central unit,CU),也可以是分布式单元(distributed unit,DU)。本申请的实施例对无线接入设备所采用的具体技术和具体设备形态不做限定。
终端设备也可以称为终端、用户设备(user equipment,UE)、移动台、移动终端等。终端设备可以是手机、平板电脑、带无线收发功能的电脑、虚拟现实终端设备、增强现实终端设备、工业控制中的无线终端、无人驾驶中的无线终端、远程手术中的无线终端、智能电网中的无线终端、运输安全中的无线终端、智慧城市中的无线终端、智慧家庭中的无线终端等等。本申请的实施例对终端设备所采用的具体技术和具体设备形态不做限定。
此外,终端设备可以具体划分为5GS会话管理(5GS session management,5GSM)层和5GS移动性管理(5GS mobility management,5GMM)层。其中,5GSM层负责终端设备的会话管理。5GMM层用于负责终端设备的移动性管理,为上层业务请求建立业务连接,为上行数据发送请求用户面资源的建立。
以下对UE发起的PDU会话的用户面资源建立流程进行介绍,需要说明的是,图2所示的流程为非冲突场景。示例性地,UE已经注册到5G网络,且UE处于连接态。当前存在一个激活的PDU会话的上下文,例如,该PDU会话的标识为PDU Session ID=5。以下以PDU会话的标识为PDU Session ID=5为例,说明针对该PDU会话UE发起PDU会话的用户面资源建立的具体流程,如图2所示。
步骤201:UE向RAN发送服务请求(service request)消息。
服务请求消息包括上行链路数据状态(uplink data status)信息,上行链路数据状态信息指示PDU session ID(例如PDU Session ID=5)。
示例性地,上行链路数据状态信息指示PDU Session ID=5,表明UE请求建立PDU Session ID=5的PDU会话的用户面资源。
步骤202:RAN向AMF发送N2消息(N2message)。N2消息包括步骤201中的服务请求消息。
步骤203:AMF向SMF发送更新会话管理上下文请求(Nsmf_PDUSession_UpdateSMConext Request)消息。
AMF根据步骤202中的服务请求消息,确定UE请求建立PDU Session ID=5的PDU会话的用户面资源。更新会话管理上下文请求消息例如包括如下一个或多个:操作类型(operation type)或被激活的PDU会话(PDU session(s)to be-re-activated)的标识(例如PDU Session ID=5),操作类型指示用户面激活(UP activate)。
步骤204:SMF向UPF发送会话修改请求(N4session modification request)消息。
会话修改请求消息用于为UPF配置下行隧道信息(downlink tunnel information)。
步骤205:UPF向SMF发送会话修改响应(N4session modification response)消息。
会话修改响应消息用于响应步骤204中的会话修改请求消息。
步骤206:SMF向AMF发送更新会话管理上下文响应(Nsmf_PDUSession_UpdateSMConext Response)消息。更新会话管理上下文响应消息用于响应步骤203中的更新会话管理上下文请求消息。
SMF根据更新会话管理上下文请求消息中的操作类型和被激活的PDU会话的标识,确定UE请求建立PDU session ID=5的PDU会话的用户面资源。SMF向AMF发送更新会话管理上下文响应消息,更新会话管理上下文响应消息例如包括如下一个或多个:用户面上下文状态信息(UpCnxState)或会话管理信息(例如,N2 SM information)。用户面上下文状态信息(upConxState)指示PDU session ID=5的PDU会话的用户面资源的状态为正 在激活(activating)。会话管理信息包括PDU session ID=5的PDU会话的用户面资源建立的相关参数,例如,这里的用户面资源建立的相关参数例如可以包括但不限于如下一个或多个:PDU session ID(例如,PDU Session ID=5),QoS流标识,QoS配置等。
步骤207:AMF向RAN发送N2请求(N2 request)消息。N2请求消息包括服务接受(service accept)消息和步骤206中的会话管理信息。
AMF根据步骤206中的更新会话管理上下文响应消息确定服务接受消息。示例性地,服务接受消息包括PDU会话激活结果(PDU session reactivation result),PDU会话激活结果指示PDU会话的用户面资源建立成功。例如,PDU session ID=5所对应的比特位置为0,指示PDU session ID=5的PDU会话的用户面资源建立成功。其中,服务接受消息用于响应步骤201中的服务请求消息。
步骤208:RAN向UE发送RRC连接重配置(RRC connection reconfiguration)消息。
RAN根据N2请求消息中的会话管理信息确定DRB配置信息,DRB配置信息包括PDU Session ID(例如,PDU Session ID=5)。
RRC连接重配置消息包括步骤207中的服务接受消息和DRB配置信息。
步骤209:UE向RAN发送RRC连接重配置完成(RRC connection reconfiguration complete)消息。
RRC连接重配置完成消息用于响应步骤208中的RRC连接重配置消息。
步骤210:RAN向AMF发送N2请求确认(N2 request ACK)消息。
其中,N2请求确认消息中包括会话管理信息,该会话管理信息包括PDU会话的用户面资源建立成功的列表。此时,PDU会话的用户面资源建立成功的列表指示对PDU Session ID=5的PDU会话的用户面资源建立成功。
步骤211:AMF向SMF发送更新会话管理上下文请求消息。
更新会话管理上下文请求消息包括步骤210中的会话管理信息。
步骤212:SMF向AMF发送更新会话管理上下文响应消息。
更新会话管理上下文响应消息用于响应步骤211中的更新会话管理上下文请求消息。
SMF根据更新会话管理上下文请求消息中的会话管理信息,确定PDU Session ID=5的PDU会话的用户面资源建立成功。
可以理解的是,若UE处于空闲态,UE需要首先从空闲态进入连接态,然后执行上述流程。
以下对网络侧设备发起的PDU会话修改流程进行介绍,需要说明的是,图3所示的流程为非冲突场景。示例性地,UE已经注册到5G网络,且UE处于连接态。当前存在一个激活的PDU会话的上下文,例如,该PDU会话的标识为PDU Session ID=5。以下以PDU会话的标识为PDU Session ID=5为例,说明针对该PDU会话网络侧设备发起的PDU会话修改流程,如图3所示。
步骤301:SMF向AMF发送N1N2消息传输(Namf_Communication_N1N2MessageTransfer)消息。
示例性地,SMF在确定启动PDU会话修改(PDU session modification)流程时,SMF向AMF发送N1N2消息传输消息。
其中,N1N2消息传输消息例如包括以下一个或多个:UE的标识、PDU session ID(例 如,PDU Session ID=5)或会话管理容器(例如,N1 SM container),会话管理容器包括PDU会话修改指令(PDU Session Modification command),PDU会话修改指令包括PDU Session ID(例如PDU Session ID=5)。这里假设N1N2传输消息不包括会话管理信息(N2 SM information)。其中,N1接口为UE与AMF之间的接口,即非接入层(non-access stratum,NAS)接口。N2接口为RAN与AMF之间的接口。PDU会话修改指令是发送给UE的消息,会话管理信息是发送给RAN的消息。
步骤302:AMF响应于N1N2消息传输消息向SMF发送N1N2消息传输响应消息。
步骤303:AMF向RAN发送N2请求消息,N2请求消息包括下行非接入层传输(downlink non access stratum transport,DL NAS TRANSPORT)消息,下行非接入层传输消息包括步骤301中的会话管理容器(N1 SM container)。
步骤304:RAN向UE发送下行非接入层传输消息。
步骤305:UE向RAN发送PDU会话修改完成(PDU Session Modification complete)指令。
步骤306:RAN向AMF发送N2消息,N2消息包括步骤305中的PDU会话修改完成指令。
步骤307:AMF向SMF发送更新会话管理上下文请求消息,更新会话管理上下文请求消息包括PDU会话修改完成指令。
步骤308:SMF向AMF发送更新会话管理上下文响应消息,更新会话管理上下文响应消息用于响应更新会话管理上下文请求消息。
类似的,上述流程中的PDU会话修改指令还可以替换为PDU会话释放指令(PDU session release command),同时,PDU会话修改完成指令还可以替换为PDU会话释放完成(PDU session release complete)指令。
以下对UE与网络侧设备对同一个PDU会话发起的操作出现冲突的具体场景进行介绍:
UE已经注册到5G网络,且UE处于连接态。当前存在一个激活的PDU会话的上下文,例如,该PDU会话的标识为PDU Session ID=5。以下以PDU会话的标识为PDU Session ID=5为例,说明针对该PDU会话由网络侧设备发起的PDU会话修改流程与UE发起的PDU会话的用户面资源建立流程发生冲突的场景及冲突处理过程,如图4所示。
步骤401:SMF向AMF发送N1N2消息传输消息。
示例性地,SMF在确定启动PDU会话修改(PDU session modification)流程时,向AMF发送N1N2消息传输消息。
其中,N1N2消息传输消息例如可以包括如下一个或者多个:UE的标识、PDU session ID(例如,PDU Session ID=5)或会话管理容器(N1 SM container),会话管理容器包括PDU会话修改指令,PDU会话修改指令包括PDU Session ID(例如PDU Session ID=5)。这里假设N1N2传输消息不包括会话管理信息(N2 SM information)。
步骤402:AMF响应于N1N2消息传输消息向SMF发送N1N2消息传输响应消息。
步骤403:AMF向RAN发送N2请求消息,N2请求消息包括下行非接入层传输消息,下行非接入层传输消息包括步骤401中的会话管理容器(N1 SM container)。
步骤404:UE向RAN发送服务请求消息。服务请求消息包括上行链路数据状态信息,上行链路数据状态信息指示PDU session ID(例如PDU Session ID=5),其中,上行链路 数据状态信息指示PDU Session ID=5,表明UE请求建立PDU Session ID=5的PDU会话的用户面资源。
步骤405:RAN向UE发送下行非接入层传输消息。
步骤406:RAN向AMF发送N2消息。N2消息包括步骤404中的服务请求消息。
步骤407:AMF向SMF发送更新会话管理上下文请求消息。
AMF根据步骤406中的服务请求消息,确定UE请求建立PDU Session ID=5的PDU会话的用户面资源。更新会话管理上下文请求消息例如包括如下一个或多个:操作类型(operation type),或被激活的PDU会话的标识(例如PDU Session ID=5),操作类型指示用户面激活。
步骤408:SMF在确定定时器超时时触发异常流程。
SMF根据步骤407中的更新会话管理上下文请求消息确定UE请求建立PDU Session ID=5的PDU会话的用户面资源。由于SMF正在执行修改PDU session ID=5的PDU会话的流程,SMF不响应步骤407中的更新会话管理上下文请求消息。可以理解的是,因为协议对于该冲突场景没有描述,一般来说,SMF会处理协议明确描述的冲突场景,对于未描述的冲突场景,SMF不会处理。SMF在接收到UE针对PDU会话修改指令的响应消息(即PDU会话修改完成(PDU Session Modification complete)消息)时,SMF响应步骤407中的更新会话管理上下文请求消息。但是,若SMF未接收到PDU会话修改完成指令,SMF不会响应步骤407中的更新会话管理上下文请求消息。SMF将会等待PDU会话修改完成指令,直至第一定时器超时,则SMF重传PDU会话修改消息,并重启第一定时器,当第一定时器第K次超时时,SMF终止该修改PDU session ID=5的PDU会话的流程。其中,K为预设数值。其中,第一定时器包括等待PDU会话修改完成指令的定时器。
同理,UE根据步骤405中的PDU会话修改指令,确定SMF请求修改PDU session ID=5的PDU会话。由于UE正在执行请求建立PDU session ID=5的PDU会话的用户面资源的流程,UE不会响应PDU会话修改指令,且UE暂停(suspend)PDU会话修改指令的传输。UE在接收到AMF针对服务请求消息的响应消息(即服务接受消息)后,UE才会响应步骤405中的PDU会话修改指令。但是,若UE未接收到服务接受消息,UE不会响应步骤405中的PDU会话修改指令,UE将会等待服务接受消息,直至第二定时器超时,若UE在连接态发起请求建立PDU session ID=5的PDU会话的用户面资源的流程,则UE中止该流程,回到连接态;若UE在空闲态发起请求建立PDU session ID=5的PDU会话的用户面资源的流程,则UE中止该流程,释放任何与该流程相关的资源,进入空闲态。这里的第二定时器包括等待服务接受消息的定时器。
因此,UE与SMF各自等待双方的发起的请求操作的响应消息,最终导致各自的定时器超时,触发异常流程。
此外,类似情况还可能出现在网络发起的PDU会话释放流程与UE发起的用户面资源建立流程发生冲突的场景。示例性地,当UE处于连接态时,PDU会话修改指令还可以替换为PDU会话释放指令。或者,当UE处于空闲态时,类似情况也可能出现在网络发起的PDU会话修改(或释放)流程与UE发起的用户面资源建立流程发生冲突的场景。
基于上述图4所示的冲突场景,在网络请求的PDU会话修改过程中,可能会发生以下冲突:
1.UE发起服务请求流程,该服务请求流程包括上行链路数据状态信息,该上行链路数据状态信息用于激活PDU会话#1的用户面资源。同时,SMF发起网络请求的PDU会话修改流程,该PDU会话修改流程用于修改PDU会话#1。
2.根据现有的处理逻辑,在5GMM过程中,UE和AMF将会暂停5GSM消息的传输,因此,PDU会话修改指令可以在AMF或UE挂起。
3.在SMF发送PDU会话修改指令后,SMF将会从AMF接收更新会话管理上下文请求消息(例如,Nsmf_PDUSession_UpdateSMConext Request),该消息用于激活请求修改的会话的用户面资源。
在上述冲突案例中,SMF如何处理尚不清楚。
两个子案例需要被考虑:
子案例1:网络请求的PDU会话修改是修改针对该PDU会话的UE NAS参数和NG-RAN节点参数(例如QoS配置文件)。
子案例2:网络发起的PDU会话修改是修改针对该PDU会话的UE NAS参数(例如,服务PLMN速率控制)。
在上述两种子案例下,为了SMF处理简便且避免可能的非必要的5GSM重试(例如,在正在进行的服务请求过程中发生一些异常情况,从而延迟服务请求过程的竞争),因此,SMF可以中止正在进行的网络请求的PDU会话修改流程,仅执行PDU会话的用户面资源建立流程。针对上述子案例1,在由服务请求过程触发的用户面资源建立过程中,NG-RAN节点参数可能被更新。在PDU会话的用户面资源建立完成后,SMF还可以针对该PDU会话重新发起网络请求的PDU会话修改流程。
类似的,在网络侧设备请求PDU会话释放流程的过程中,可能出现会出现以下冲突场景:
1.UE发起服务请求流程,该服务请求流程包括上行链路数据状态信息,该上行链路数据状态信息用于激活PDU会话#1的用户面资源。同时,SMF发起网络请求的请求PDU会话释放流程,该PDU会话释放流程用于释放PDU会话#1。
2.根据第4.2款的规定,在5GMM过程中,UE和AMF将会暂停5GSM消息的传输,因此,PDU会话释放指令可以在AMF或UE挂起。
3.在SMF发送PDU会话释放指令后,SMF将会从AMF接收更新会话管理上下文请求消息,该消息用于激活请求释放的会话的用户面资源。
发明人在研究过程中,发现了上述冲突场景,并且发现在上述冲突案例中,SMF如何处理尚不清楚。
由于PDU会话将被释放,因此,此时为该PDU会话建立用户面资源的可能是没有意义的。因此,SMF可以不为PDU会话建立用户面资源,而继续执行针对该会话的网络请求的PDU会话释放流程。
综上,当针对同一个PDU会话的用户面资源建立与网络请求的PDU会话修改(或释放)流程发生冲突时,当前对此没有明确规定,导致SMF的实现行为尚不明确。
基于上述两类冲突的场景,本申请提出以下方案:
1.当针对同一个PDU会话的用户面资源建立与网络请求的PDU会话修改流程发生冲突时,SMF中止正在进行的网络请求的PDU会话修改流程,仅继续执行针对该PDU会话的用户面资源建立流程。
2.当针对同一个PDU会话的用户面资源建立与网络请求的PDU会话释放流程发生冲突时,SMF不建立针对该PDU会话的用户面资源,继续执行针对该PDU会话的网络请求的PDU会话释放流程。
在一些实施例中,会话管理功能网元发起针对第一会话的第一操作的流程,在第一操作的执行过程中,会话管理功能网元从接入和移动性管理功能网元接收针对第一会话的用户面资源的建立请求,例如,在针对同一个PDU会话的用户面资源建立与网络请求的PDU会话修改(或释放)流程发生冲突时。会话管理功能网元可以根据第一操作的类型决定后续流程。
例如,在第一操作为修改第一会话(即网络侧设备发起的第一会话修改流程)时,会话管理功能网元中止修改第一会话的流程,执行建立第一会话的用户面资源的流程。例如可以参阅图5以及其他附图所示实施例的相关内容。
在第一操作为释放第一会话(即网络发起的第一会话释放流程)时,会话管理功能网元拒绝第一会话的用户面资源的建立请求,并继续执行释放第一会话的流程。例如可以参阅图6以及其他附图所示实施例的相关内容。
基于上述冲突场景,本申请实施例提供一种通信方法,会话管理功能网元在确定第一操作的流程(例如,PDU会话修改流程)与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,会话管理功能网元中止(abort)当前第一操作的流程,执行用户面资源建立的流程。以下以图5所示的实施例为例进行说明。
步骤501:会话管理功能网元向接入和移动性管理功能网元发送第一消息,第一消息用于请求第一操作,第一操作包括修改第一会话或释放第一会话。
示例性地,若第一操作为修改第一会话,第一消息为PDU会话修改指令,PDU会话修改指令包括第一会话的标识;若第一操作为释放第一会话,第一消息为PDU会话释放指令,PDU会话释放指令包括第一会话的标识。
示例性地,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息,N1N2消息传输消息包括会话管理容器,会话管理容器包括该第一消息,第一消息包括第一会话的标识。接入和移动性管理功能网元通过无线接入设备向终端设备发送下行非接入层传输消息,其中,下行非接入层传输消息包括上述会话管理容器。
具体可以参考如图3所示中的步骤301至步骤304。
步骤502:接入和移动性管理功能网元向会话管理功能网元发送第二消息,第二消息用于请求建立第一会话的用户面资源。
由上述图2所示流程中的步骤201至步骤203可知,在接入和移动性管理功能网元向会话管理功能网元发送第二消息之前,终端设备向无线接入设备发送服务请求消息,服务请求消息包括上行链路数据状态信息,上行链路数据状态信息指示第一会话的标识。无线接入设备向接入和移动性管理功能网元发送N2消息。N2消息包括服务请求消息。接入和移动性管理功能网元根据服务请求消息确定第二消息。示例性地,第二消息为更新会话管理上下文请求消息,更新会话管理上下文请求消息例如包括如下一个或多个:操作类型或被激活的会话的标识,操作类型指示用户面激活,被激活的会话的标识包括第一会话的标识。
步骤503:在会话管理功能网元确定未接收到针对第一信息的响应消息且接收到第二 消息时,会话管理功能网元中止第一操作的流程,会话管理功能网元执行建立第一会话的用户面资源的流程。
会话管理功能网元在接收到第二消息时,会话管理功能网元判断是否接收到针对第一信息的响应消息。若会话管理功能网元接收到针对第一消息的响应消息,则会话管理功能网元执行建立第一会话的用户面资源的流程,参阅图2所示的流程。若会话管理功能网元未接收到针对第一消息的响应消息且接收到第二消息,即出现第一操作与建立第一会话的用户面资源冲突的情况,会话管理功能网元可以首先中止第一操作的流程,会话管理功能网元执行建立第一会话的用户面资源的流程。
若第一操作为修改第一会话,针对第一信息的响应消息包括PDU会话修改完成指令,PDU会话修改完成指令包括第一会话的标识;若第一操作为释放第一会话,针对第一信息的响应消息包括PDU会话释放完成指令,PDU会话释放完成指令包括第一会话的标识。
会话管理功能网元中止第一操作的流程可以包括会话管理功能网元不等待针对第一消息的响应消息。示例性地,所述会话管理功能网元停止第一定时器,第一定时器包括等待针对所述第一消息的响应消息的计时器。例如,假设第一操作为修改第一会话,SMF中止第一操作的流程,SMF不等待PDU会话修改完成指令。
会话管理功能网元执行建立第一会话的用户面资源的流程例如可以包括但不限于以下步骤中的一个或多个:
会话管理功能网元向用户面功能网元发送会话修改请求消息,会话修改请求消息用于为用户面网元配置下行隧道信息。会话管理功能网元接收来自于用户面功能网元的会话修改响应消息,会话修改响应消息用于响应会话修改请求消息,会话管理功能网元响应第二消息向接入和移动性管理功能网元发送第三消息,第三消息指示第一会话的用户面资源建立成功。第三消息为更新会话管理上下文响应消息,更新会话管理上下文响应消息例如包括如下一个或多个:用户面上下文状态信息或会话管理信息,用户面上下文状态信息指示第一会话的用户面资源的状态为正在激活,会话管理信息包括第一会话的用户面资源建立的相关参数。示例性地,结合图2所示,会话管理功能网元执行建立第一会话的用户面资源的流程,如步骤204至步骤206所示。
此外,在一些实施例中,若第一操作为修改第一会话,在会话管理功能网元确定未接收到针对第一消息的响应消息,且接收到第二消息,且未请求建立第一会话的用户面资源时,会话管理功能网元中止第一操作的流程,会话管理功能网元执行建立第一会话的用户面资源的流程。例如,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息,N1N2消息传输消息包括会话管理容器,会话管理容器包括PDU会话修改指令,且N1N2消息传输消息不包括会话管理信息。
进一步地,在一些实施例中,在会话管理功能网元执行建立第一会话的用户面资源的流程之后,会话管理功能网元可以向终端设备再次发送第一消息,即重新发起请求第一操作的流程。示例性地,SMF重新发起请求修改第一会话的流程,具体可以参考如图3所示的流程。
此外,在一些实施例中,会话管理功能网元向接入和移动性管理功能网元发送第一指示信息,第一指示信息指示第一操作。示例性地,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息。其中,N1N2消息传输消息例如包括如下一个或多个:终端设备的标识、第一会话的标识、会话管理容器或第一指示信息,会话管理容器包括PDU 会话修改指令,PDU会话修改指令包括第一会话的标识。接入和移动性管理功能网元向无线接入设备发送N2请求消息,N2请求消息包括下行非接入层传输消息,下行非接入层传输消息例如包括如下一个或多个:会话管理容器或第一指示信息。无线接入设备向终端设备发送下行非接入层传输消息。终端设备确定向接入和移动性管理功能网元发送服务请求消息,且未接收到针对服务请求消息的响应消息(即服务接受消息)时,在第一指示信息指示第一操作为修改第一会话时,终端设备可以根据第一指示信息丢弃第一消息。类似的,在第一指示信息指示第一操作为释放第一会话时,终端设备可以根据第一指示信息丢弃第一消息。
采用图5所示实施例提供的方法,会话管理功能网元在确定PDU会话修改(或释放)流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,即针对同一个PDU会话网络侧设备发起的操作和终端设备发起的操作出现冲突,会话管理功能网元中止当前的PDU会话修改(或释放)流程,响应建立第一会话的用户面资源的流程,进而可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况,从而有效保证用户体验和业务进程流畅。
基于上述冲突场景,本申请实施例提供一种通信方法。
会话管理功能网元在确定第一操作的流程(例如,PDU会话释放流程)与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,会话管理功能网元响应用户面资源建立的流程,向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立失败(即拒绝用户面资源建立)。此时,会话管理功能网元拒绝第一会话的用户面资源的建立请求,并继续执行释放第一会话的流程。
会话管理功能网元在确定第一操作的流程(例如,PDU会话修改流程)与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,会话管理功能网元响应用户面资源建立的流程,向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立成功(即执行用户面资源建立)。此时,会话管理功能网元继续执行第一会话的用户面资源的建立请求和释放第一会话的流程。
以下以图6所示的实施例为例进行说明。
步骤601:会话管理功能网元向接入和移动性管理功能网元发送第一消息,第一消息用于请求第一操作,第一操作包括修改第一会话或释放第一会话。
示例性地,若第一操作为修改第一会话,第一消息为PDU会话修改指令,PDU会话修改指令包括第一会话的标识;若第一操作为释放第一会话,第一消息为PDU会话释放指令,PDU会话释放指令包括第一会话的标识。
示例性地,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息,N1N2消息传输消息包括会话管理容器,会话管理容器包括第一消息,第一消息包括第一会话的标识。
步骤602:接入和移动性管理功能网元向终端设备发送第一消息。
示例性地,接入和移动性管理功能网元通过无线接入设备向终端设备发送下行非接入层传输消息,其中,下行非接入层传输消息包括上述会话管理容器。
需要说明的是,步骤601和步骤602中的“第一消息”可能是相同的,也可能是不相同的。上述步骤601和步骤602可以参考如图3所示中的步骤301至步骤304。
步骤603:终端设备向接入和移动性管理功能网元发送服务请求消息,服务请求消息用于请求建立第一会话的用户面资源。
其中,服务请求消息包括上行链路数据状态信息,上行链路数据状态信息指示第一会话的标识。
示例性地,终端设备向无线接入设备发送服务请求消息。无线接入设备向接入和移动性管理功能网元发送N2消息,N2消息包括服务请求消息。具体可以参考如图2所示中的步骤201和步骤202。
步骤604:接入和移动性管理功能网元根据服务请求消息向会话管理功能网元发送第二消息,第二消息用于请求建立第一会话的用户面资源。
示例性地,接入和移动性管理功能网元根据步骤603中的服务请求消息确定第二消息。第二消息为更新会话管理上下文请求消息,更新会话管理上下文请求消息例如包括如下一个或多个:操作类型或被激活的会话的标识,操作类型指示用户面激活,被激活的会话的标识包括第一会话的标识。具体可以参考如图2所示中的步骤3。
步骤605:在会话管理功能网元确定未接收到针对第一信息的响应消息且接收到第二消息时,会话管理功能网元响应于第二消息向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立失败或第三消息用于指示第一会话的用户面资源建立成功。
在一些实施例中,在第三消息用于指示第一会话的用户面资源建立成功时,第三消息为更新会话管理上下文响应消息,更新会话管理上下文响应消息例如包括如下一个或多个:用户面上下文状态信息或会话管理信息,用户面上下文状态信息指示第一会话的用户面资源的状态为正在激活。会话管理信息包括第一会话的用户面资源建立的相关参数,例如,这里的用户面资源建立的相关参数例如可以包括但不限于如下一个或多个:PDU session ID(例如,PDU Session ID=5),QoS流标识,QoS配置等。
例如,会话管理功能网元在确定针对同一个PDU会话的PDU会话修改流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,会话管理功能网元向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立成功。
在另一些实施例中,在第三消息用于指示第一会话的用户面资源建立失败时,第三消息为更新会话管理上下文响应消息,更新会话管理上下文响应消息包括用户面上下文状态信息,用户面上下文状态信息指示第一会话的用户面资源的状态处于去激活。此外,第三消息还可以包括第一原因值,第一原因值指示第一会话的用户面资源建立失败的原因。示例性地,第一原因值指示第一会话正在执行第一操作的流程。
例如,会话管理功能网元在确定针对同一个PDU会话的PDU会话释放流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,会话管理功能网元向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立失败。
此外,在一些实施例中,若第一操作为修改第一会话,在会话管理功能网元确定未接收到针对第一消息的响应消息,且接收到第二消息,且未请求建立第一会话的用户面资源时,会话管理功能网元响应于第二消息向接入和移动性管理功能网元发送第三消息。例如,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息,N1N2消息传输消息包括会话管理容器,会话管理容器包括PDU会话修改指令,且N1N2消息传输消息不包括会话管理信息。
步骤606:接入和移动性管理功能网元根据第三消息向终端设备发送服务接受消息。
在一些实施例中,第三消息为更新会话管理上下文响应消息,更新会话管理上下文响应消息例如包括如下一个或多个:用户面上下文状态信息或会话管理信息,用户面上下文状态信息指示第一会话的用户面资源的状态为正在激活。接入和移动性管理功能网元根据第三消息确定服务接受消息,服务接受消息包括用于指示PDU会话激活结果的信元,用于指示PDU会话激活结果的信元指示第一会话的用户面资源建立成功。
示例性地,接入和移动性管理功能网元还向无线接入设备发送N2请求消息。N2请求消息例如包括如下一个或多个:服务接受消息或更新会话管理上下文响应消息中的会话管理信息。无线接入设备向终端设备发送服务接受消息,无线接入设备根据会话管理信息与终端设备交互完成RRC连接重配置。具体可以参阅图2所示实施例中的步骤207至步骤212。
在一些实施例中,第三消息为更新会话管理上下文响应消息,更新会话管理上下文响应消息包括用户面上下文状态信息,用户面上下文状态信息指示第一会话的用户面资源的状态为去激活。接入和移动性管理功能网元根据第三消息确定服务接受消息,服务接受消息包括用于指示PDU会话激活结果的信元,用于指示PDU会话激活结果的信元指示第一会话的用户面资源建立失败。
在一些实施例中,第三消息为更新会话管理上下文响应消息,更新会话管理上下文响应消息包括用户面上下文状态信息和第一原因值,用户面上下文状态信息指示第一会话的用户面资源的状态处于去激活,第一原因值指示第一会话的用户面资源建立失败的原因。接入和移动性管理功能网元根据第三消息确定服务接受消息,服务接受消息包括用于指示PDU会话激活结果的信元和用于指示PDU会话激活结果错误原因的信元,用于指示PDU会话激活结果的信元指示第一会话的用户面资源建立失败,用于指示PDU会话激活结果错误原因的信元指示第一会话的用户面资源建立失败的原因,示例性地,第一会话的用户面资源建立失败的原因指示第一会话正在执行第一操作的流程。
步骤607:终端设备向接入和移动性管理功能网元发送针对第一消息的响应消息。
其中,终端设备可以缓存第一消息或针对第一消息的响应消息,并在接收到步骤606之后,向接入和移动性管理功能网元发送针对第一消息的响应消息。
其中,终端设备中的移动性管理层接收来自于接入和移动性管理功能网元的第一消息。
在移动性管理层接收来自于接入和移动性管理功能网元的第一消息之后,由于终端设备发起请求第一会话的用户面资源建立的流程与会话管理功能网元发起请求第一操作的流程发生冲突,在这种场景下,终端设备向会话管理功能网元发送针对第一消息的响应消息可以采用但不限于以下方案1(如图7所示)和方案2(如图8所示):
方案1:
步骤701:移动性管理层接收来自于接入和移动性管理功能网元的第一消息。(这里可以对应于上述步骤602)。
步骤702:移动性管理层向会话管理层发送第一消息。
示例性地,会话管理功能网元还向接入和移动性管理功能网元发送第一指示信息,第一指示信息指示第一操作。具体的,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息。其中,N1N2消息传输消息例如包括如下一个或多个:终端设备的标识、第一会话的标识、会话管理容器或第一指示信息,会话管理容器包括PDU会话释放 指令(或PDU会话修改指令),PDU会话释放指令包括第一会话的标识。接入和移动性管理功能网元向无线接入设备发送N2请求消息,N2请求消息包括下行非接入层传输消息,下行非接入层传输消息包括会话管理容器和第一指示信息。无线接入设备向终端设备发送下行非接入层传输消息。在第一指示信息指示第一操作为释放第一会话(或修改第一会话)时,移动性管理层根据第一指示信息向会话管理层发送第一消息。
需要说明的是,步骤701和步骤702中的“第一消息”可能是相同的,也可能是不相同的。步骤703:会话管理层向移动性管理层发送针对第一消息的响应消息。
示例性地,针对第一消息的响应消息可以指示完成第一操作。
步骤704:移动性管理层缓存针对第一消息的响应消息。
步骤705:接入和移动性管理功能网元向移动性管理层发送步骤606中的服务接受消息。
步骤706:移动性管理层向接入和移动性管理功能网元发送针对第一消息的响应消息(即步骤607)。
参阅图7所示,采用上述方案1,在PDU会话修改(或释放)流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,移动性管理层向会话管理层发送第一消息,且缓存来自于会话管理层的针对第一消息的响应消息,直至接收到步骤606中的服务接受消息,移动性管理层将缓存的针对第一消息的响应消息发送至接入和移动性管理功能网元,从而有效保证用户体验和业务进程流畅。
方案2:
步骤801:移动性管理层接收来自于会话管理功能网元的第一消息。(这里可以对应于上述步骤602)。
步骤802:移动性管理层缓存第一消息。
示例性地,会话管理功能网元还向接入和移动性管理功能网元发送第一指示信息,第一指示信息指示第一操作。具体的,会话管理功能网元向接入和移动性管理功能网元发送N1N2消息传输消息。其中,N1N2消息传输消息例如包括如下一个或多个:终端设备的标识、第一会话的标识、会话管理容器或第一指示信息,会话管理容器包括PDU会话释放指令(或PDU会话修改指令),PDU会话释放指令包括第一会话的标识。接入和移动性管理功能网元向无线接入设备发送N2请求消息,N2请求消息包括下行非接入层传输消息,下行非接入层传输消息包括会话管理容器和第一指示信息。无线接入设备向终端设备发送下行非接入层传输消息。在第一指示信息指示第一操作为释放第一会话(或修改第一会话)时,移动性管理层根据第一信息缓存第一消息。
步骤803:接入和移动性管理功能网元向移动性管理层发送步骤606中的服务接受消息。
步骤804:移动性管理层向会话管理层发送第一消息。
需要说明的是,步骤801和步骤804中的“第一消息”可能是相同的,也可能是不相同的。
步骤805:会话管理层向移动性管理层发送针对第一消息的响应消息。
步骤806:移动性管理层向接入和移动性管理功能网元发送针对第一消息的响应消息(即步骤607)。
参阅图8所示,采用上述方案2,在PDU会话修改(或释放)流程与终端设备发起的 PDU会话的用户面资源建立的流程发生冲突时,移动性管理层缓存第一消息,直至接收到步骤606中的服务接受消息,移动性管理层向会话管理层发送第一消息,接收来自于移动性管理层的针对第一消息的响应消息,移动性管理层向接入和移动性管理功能网元发送针对第一消息的响应消息,从而有效保证用户体验和业务进程流畅。与上述方案1相比,方案1缓存的消息为针对第一消息的响应消息,方案2缓存的消息为第一消息。
步骤608:接入和移动性管理功能网元向会话管理网元发送针对第一消息的响应消息。
采用图6所示实施例提供的方法,会话管理功能网元在确定PDU会话修改(或释放)流程与终端设备发起的PDU会话的用户面资源建立的流程发生冲突时,即针对同一个PDU会话网络侧设备发起的操作和终端设备发起的操作出现冲突,会话管理功能网元向接入和移动性管理功能网元发送第三消息,第三消息用于指示第一会话的用户面资源建立失败或第三消息用于指示第一会话的用户面资源建立成功,进而可以避免终端设备与会话管理功能网元各自等待双方的发起的请求操作的响应消息,导致各自的定时器超时的情况,从而有效保证用户体验和业务进程流畅。
以下结合具体实施例说明上述图5和图6所示的实施例。
实施例1:UE已经注册到5G网络,且UE处于连接态。当前存在一个激活的PDU会话的上下文,例如,该PDU会话的标识为PDU Session ID=5,针对该PDU会话的用户面资源未建立。以下以PDU会话的标识为PDU Session ID=5为例,说明针对该PDU会话由网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突的场景及冲突处理过程,如图9所示。
步骤901至步骤907可以参考图4中的步骤401至步骤407,重复之处不再赘述。
步骤908:SMF根据更新会话管理上下文请求消息中的操作类型和被激活的PDU会话的标识,确定UE请求建立PDU session ID=5的PDU会话的用户面资源,同时,SMF正在请求修改PDU session ID=5的PDU会话且未收到PDU会话修改完成指令,SMF中止PDU Session ID=5的PDU会话修改流程。
示例性地,SMF停止用于等待PDU会话修改完成指令的定时器。
步骤909至步骤917可以参考图2中的步骤204至步骤212,重复之处不再赘述。
在一些实施例中,UE丢弃PDU会话修改指令。
在一些实施例中,若N1N2消息传输消息还包括第一指示信息,则AMF在向RAN发送N2请求消息时,N2请求消息中的下行非接入层传输消息也包括第一指示信息。RAN向UE发送下行非接入层传输消息。在UE确定已向AMF发送服务请求消息,且未接收到针对服务请求消息的响应消息(即服务接受消息)时,若第一指示信息指示第一操作为修改PDU Session ID=5的PDU会话时,UE可以根据第一指示信息丢弃PDU会话修改指令。
在对PDU Session ID=5的PDU会话的用户面资源流程完成后(即在步骤917之后),SMF可以重启PDU session ID=5的PDU会话修改流程。
采用上述方法,针对PDU session ID=5的PDU会话,当网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突时,SMF中止PDU Session ID=5的PDU会话修改流程,执行建立PDU Session ID=5的PDU会话的用户面资源的流程,从而有效保证用户体验和业务进程流畅。
同理,上述实施例也适用于网络侧设备发起的PDU会话释放流程与UE发起的用户面 资源建立流程发生冲突的场景及冲突处理过程。
实施例2:UE已经注册到5G网络,且UE处于连接态。当前存在一个激活的PDU会话的上下文,例如,该PDU会话的标识为PDU Session ID=5,针对该PDU会话的用户面资源未建立。以下以PDU会话的标识为PDU Session ID=5为例,说明针对该PDU会话由网络侧设备发起的PDU会话释放流程与UE发起的用户面资源建立流程发生冲突的场景及冲突处理过程,如图10所示。
步骤1001:SMF向AMF发送N1N2消息传输消息。
示例性地,SMF在确定启动PDU会话释放流程时,向AMF发送N1N2消息传输消息。
其中,N1N2消息传输消息例如包括如下一个或多个:UE的标识、PDU session ID(例如,PDU Session ID=5)或会话管理容器,会话管理容器包括PDU会话释放指令,PDU会话释放指令包括PDU Session ID(例如PDU Session ID=5)。
步骤1002:AMF响应于N1N2消息传输消息向SMF发送N1N2消息传输响应消息。
步骤1003:AMF向RAN发送N2请求消息,N2请求消息包括下行非接入层传输消息,下行非接入层传输消息包括步骤1001中的会话管理容器。
步骤1004:UE向RAN发送服务请求消息。服务请求消息包括上行链路数据状态信息,上行链路数据状态信息指示PDU session ID(例如PDU Session ID=5),其中,上行链路数据状态信息指示PDU Session ID=5,表明UE请求建立PDU Session ID=5的PDU会话的用户面资源。
步骤1005:RAN向UE发送下行非接入层传输消息。
步骤1006:RAN向AMF发送N2消息。N2消息包括步骤1004中的服务请求消息。
步骤1007:AMF向SMF发送更新会话管理上下文请求消息。
AMF根据步骤1006中的服务请求消息,确定UE请求建立PDU Session ID=5的PDU会话的用户面资源。更新会话管理上下文请求消息例如包括如下一个或多个:操作类型或被激活的PDU会话的标识(例如PDU Session ID=5),操作类型指示用户面激活。
步骤1008:SMF根据更新会话管理上下文请求消息中的操作类型和被激活的PDU会话的标识,确定UE请求建立PDU session ID=5的PDU会话的用户面资源,同时,SMF正在请求释放PDU session ID=5的PDU会话且未接收到PDU会话释放完成指令,SMF向AMF发送更新会话管理上下文响应消息。更新会话管理上下文响应消息指示PDU session ID=5的PDU会话的用户面资源建立失败,更新会话管理上下文响应消息包括用户面上下文状态信息或更新会话管理上下文响应消息包括用户面上下文状态信息和原因值(cause),用户面上下文状态信息指示PDU session ID=5的PDU会话的用户面资源的状态为去激活,原因值指示PDU Session ID=5的PDU会话正在执行PDU会话释放流程。
步骤1009:AMF向RAN发送N2消息,N2消息包括服务接受消息。
AMF根据更新会话管理上下文响应消息确定服务接受消息。服务接受消息包括PDU会话激活结果。或者,服务接受消息包括PDU会话激活结果和PDU会话激活结果错误原因。PDU会话激活结果指示PDU session ID=5的PDU会话的用户面资源建立失败。例如,PDU session ID=5所对应的比特位置为1,则指示PDU session ID=5的PDU会话的用户面资源建立失败。PDU会话激活结果错误原因指示PDU Session ID=5的PDU会话的PDU会话释放流程正在进行。此外,PDU会话激活结果错误原因可以指示其他内容,此处不做限定。
步骤1010:RAN向UE发送服务接受消息。
步骤1011:UE根据步骤1009中的服务接受消息,确定PDU session ID=5的PDU会话的用户面资源建立失败,UE向RAN发送PDU会话释放完成指令。
具体的,在一种可能的实现方式中,UE中的5GMM层可以在接收到PDU会话释放指令后,5GMM层可以缓存PDU会话释放指令,并在接收到步骤1010中服务接受消息后,5GMM层向5GSM层发送PDU会话释放指令,5GSM层向5GMM层发送PDU会话释放完成指令,5GMM层向RAN发送PDU会话释放完成指令。
在一种可能的实现方式中,N1N2消息传输消息还可以包括第一指示信息,第一指示信息指示第一操作为释放第一会话。AMF在向RAN发送N2请求消息时,N2请求消息中的下行非接入层传输消息也包括第一指示信息。RAN向UE发送下行非接入层传输消息。UE中的5GMM层可以在接收到PDU会话释放指令和第一指示信息后,5GMM层根据第一指示信息缓存PDU会话释放指令,并在接收到步骤10中服务接受消息后,5GMM层向5GSM层发送PDU会话释放指令,5GSM层向5GMM层发送PDU会话释放完成指令,5GMM层向RAN发送PDU会话释放完成指令。
在一种可能的实现方式中,UE中的5GMM层可以在接收到PDU会话释放指令后,5GMM层向5GSM层发送PDU会话释放指令,5GSM层向5GMM层发送PDU会话释放完成指令,5GMM层可以缓存PDU会话释放完成指令,并在接收到步骤10中服务接受消息后,5GMM层向RAN发送PDU会话释放完成指令。
在一种可能的实现方式中,N1N2消息传输消息还可以包括第一指示信息,第一指示信息指示第一操作为释放第一会话。AMF在向RAN发送N2请求消息时,N2请求消息中的下行非接入层传输消息也包括第一指示信息。RAN向UE发送下行非接入层传输消息。UE中的5GMM层可以在接收到PDU会话释放指令和第一指示信息后,5GMM层根据第一指示信息向5GSM层发送PDU会话释放指令,5GSM层向5GMM层发送PDU会话释放完成指令,5GMM层可以缓存PDU会话释放完成指令,并在接收到步骤10中服务接受消息后,5GMM层向RAN发送PDU会话释放完成指令。
步骤1012:RAN向AMF发送N2消息,N2消息包括步骤1111中的PDU会话释放完成指令。
步骤1013:AMF向SMF发送更新会话管理上下文请求消息,更新会话管理上下文请求消息包括PDU会话释放完成指令。
步骤1014:SMF向AMF发送更新会话管理上下文响应消息,更新会话管理上下文响应消息用于响应更新会话管理上下文请求消息。
采用上述方法,针对PDU session ID=5的PDU会话,当网络侧设备发起的PDU会话释放流程与UE发起的用户面资源建立流程发生冲突时,SMF响应更新上下文请求消息发送更新上下文响应消息,更新上下文响应消息例如包括用户面上下文状态信息,或更新上下文响应消息例如包括用户面上下文状态信息和原因值,AMF根据更新上下文响应消息向UE发送服务接受消息,服务接受消息包括PDU会话激活结果,或者,服务接受消息包括PDU会话激活结果和PDU会话激活结果错误原因。UE在接收到服务接受消息后,响应PDU会话释放指令,发送PDU会话释放完成指令。
同理,上述实施例也适用于网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突的场景及冲突处理过程。
实施例3:UE已经注册到5G网络,且UE处于连接态。当前存在一个激活的PDU会话的上下文,例如,该PDU会话的标识为PDU Session ID=5,针对该PDU会话的用户面资源未建立。以下以PDU会话的标识为PDU Session ID=5为例,说明针对该PDU会话由网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突的场景及冲突处理过程,如图11所示。
步骤1101至步骤1107可以参考图4中的步骤401至步骤407,重复之处不再赘述。
步骤1108:SMF根据更新会话管理上下文请求消息中的操作类型和被激活的PDU会话的标识,确定UE请求建立PDU session ID=5的PDU会话的用户面资源,同时,SMF正在请求修改PDU session ID=5的PDU会话且未接收到PDU会话修改完成指令,SMF向AMF发送更新会话管理上下文响应消息。更新会话管理上下文响应消息指示PDU session ID=5的PDU会话的用户面资源建立成功,更新会话管理上下文响应消息例如包括如下一个或多个:用户面上下文状态信息或会话管理信息,用户面上下文状态信息指示PDU session ID=5的PDU会话的用户面资源的状态为正在激活,会话管理信息包括PDU session ID=5的PDU会话的用户面资源建立的相关参数,例如,这里的用户面资源建立的相关参数可以包括但不限于如下一个或多个:PDU session ID(例如,PDU Session ID=5),QoS流标识,QoS配置等。
步骤1109:AMF向RAN发送N2消息,N2消息例如包括如下一个或多个:服务接受消息和会话管理信息。
AMF根据更新会话管理上下文响应消息确定服务接受消息。服务接受消息包括PDU会话激活结果。其中,PDU会话激活结果指示PDU session ID=5的PDU会话的用户面资源建立成功。例如,PDU session ID=5所对应的比特位置为0,则指示PDU session ID=5的PDU会话的用户面资源建立成功。
步骤1110:RAN向UE发送RRC连接重配置消息。
RAN根据N2请求消息中的会话管理信息确定DRB配置信息,DRB配置信息包括PDU Session ID(例如,PDU Session ID=5)。
RRC连接重配置消息例如包括如下一个或多个:服务接受消息和DRB配置信息。
步骤1111至步骤1114可以参考图2中的步骤209至步骤212,重复之处不再赘述。
UE向RAN发送RRC连接重配置完成消息。
步骤1115:UE根据步骤1110中的服务接受消息,确定PDU session ID=5的PDU会话的用户面资源建立成功,UE向RAN发送PDU会话修改完成指令。
步骤1116至步骤1118可以参考图3中的步骤306至步骤308,重复之处不再赘述。
可以理解的是,步骤1111至步骤1114,与步骤1115至步骤1117相互独立,分别对应不同的流程。
采用上述方法,针对PDU session ID=5的PDU会话,当网络侧设备发起的PDU会话修改流程与UE发起的用户面资源建立流程发生冲突时,SMF响应更新上下文请求消息发送更新上下文响应消息,更新上下文响应消息例如包括如下一个或多个:用户面上下文状态信息或会话管理信息,AMF根据更新上下文响应消息向UE发送服务接受消息,服务接受消息包括PDU会话激活结果。UE在接收到服务接受消息后,响应PDU会话修改指令,发送PDU会话修改完成指令,同时通过与RAN的交互完成DRB配置过程。
图12示出了本申请实施例中所涉及的一种装置的可能的示例性框图,该装置1200包括:收发模块1210和处理模块1220,收发模块1210可以包括接收单元和发送单元。处理模块1220用于对装置1200的动作进行控制管理。收发模块1210用于支持装置1200与其他网络实体的通信。可选地,装置1200还可以包括存储单元,所述存储单元用于存储装置1200的程序代码和数据。
可选地,所述装置1200中各个模块可以是通过软件来实现。
可选地,处理模块1220可以是处理器或控制器,例如可以是通用中央处理器(central processing unit,CPU),通用处理器,数字信号处理(digital signal processing,DSP),专用集成电路(application specific integrated circuits,ASIC),现场可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、晶体管逻辑器件、硬件部件或者其任意组合。其可以实现或执行结合本申请实施例公开内容所描述的各种示例性的逻辑方框,模块和电路。所述处理器也可以是实现计算功能的组合,例如包含一个或多个微处理器组合,DSP和微处理器的组合等等。收发模块1210可以是通信接口、收发器或收发电路等,其中,该通信接口是统称,在具体实现中,该通信接口可以包括多个接口,存储单元可以是存储器。
当装置1200为会话管理功能网元或会话管理功能网元中的芯片时,装置1200中的处理模块1220可以支持装置1200执行上文中各方法示例中会话管理功能网元的动作,例如可以支持装置1200执行图5中的步骤503,图9中的步骤908。
收发模块1210可以支持装置1200与接入和移动性管理功能网元之间的通信,例如,收发模块1210可以支持装置1200执行图5中的步骤501,步骤503,图6中的步骤601,步骤604,步骤605和步骤608,图10中的步骤1001,步骤1002,步骤1007,步骤1010,步骤1010,步骤1011,步骤1016,步骤1017,图11中的步骤1101,步骤1102,步骤1107,步骤1108,步骤1113,步骤1114,步骤1117,步骤1118。
例如,可以如下:
在一种实现方式中,所述装置1200包括:
所述收发模块1210,用于发起针对第一会话的第一操作的流程;在所述第一操作的执行过程中,从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求;
所述处理模块1220,用于根据所述第一操作的类型决定后续流程。
在一种可能的设计中,所述第一操作为修改所述第一会话;所述处理模块1220,用于在根据所述第一操作的类型决定后续流程时,中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
在一种可能的设计中,所述第一操作为释放所述第一会话;所述处理模块1220,用于在根据所述第一操作的类型决定后续流程时,拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
在一种实现方式中,所述装置1200包括:
所述收发模块1210,用于向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在所述会话管理功能网元发送所述第一消息之后,接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;
所述处理模块1220,用于在确定未接收到针对所述第一消息的响应消息且接收到所述 第二消息时,中止所述第一操作的流程,执行建立所述第一会话的用户面资源的流程。
在一种实现方式中,所述装置1200包括:
所述收发模块1210,用于向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在发送所述第一消息之后,接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;在所述处理模块1220确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述收发模块1210,用于响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息用于指示所述第一会话的用户面资源建立失败或所述第一会话的用户面资源建立成功。
应理解,根据本申请实施例的装置1200可对应于前述方法实施例中会话管理功能网元,比如,图5中的方法,并且装置1200中的各个模块的操作和/或功能分别为了实现前述方法实施例中会话管理功能网元的方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。
当装置1200为终端设备或终端设备中的芯片时,装置1200中的处理模块1220可以支持装置1200执行上文中各方法示例中会话管理功能网元的动作,例如可以支持装置1200执行图5中的步骤503,图9中的步骤908。
收发模块1210可以支持装置1200与接入和移动性管理功能网元之间的通信,例如,收发模块1210可以支持装置1200执行图6中的步骤602,步骤603,步骤606和步骤607,图7中的步骤702,步骤703,图8中的步骤804,步骤805,图9中的步骤904,步骤905,步骤913,步骤914,图10中的步骤1004,步骤1005,步骤1010,步骤1011,图11中的步骤1104,步骤1105,步骤1110,步骤1111,步骤1115。
例如,可以如下:
在一种实现方式中,所述装置1200包括:
所述收发模块1210,用于向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;
所述处理模块1220,用于缓存所述第一消息或针对所述第一消息的响应消息,直至通过所述收发模块1210接收来自于所述接入和移动性管理功能网元的服务接受消息,所述处理模块1220调用所述收发模块1210向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息。
在一种实现方式中,所述装置1200包括:
所述收发模块1210用于:向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改所述第一会话或释放所述第一会话;
所述处理模块1220用于:在确定已发送所述服务请求消息且未接收到针对所述服务消息的响应消息时,丢弃所述第一消息。
应理解,根据本申请实施例的装置1200可对应于前述方法实施例中终端设备的方法,比如,图5中的方法,并且装置1200中的各个模块的操作和/或功能分别为了实现前述方 法实施例中终端设备的方法的相应步骤,因此也可以实现前述方法实施例中的有益效果,为了简洁,这里不作赘述。
当本申请实施例中的处理模块1220为处理器,收发模块1210为收发器时,本申请实施例所涉及的装置1200可以为图13所示的装置1300。
图13示出了根据本申请实施例的通信装置1300的示意性结构图。如图13所示,所述装置1300包括:处理器1301。
当装置1300为会话管理功能网元或会话管理功能网元中的芯片时,一种可能的实现方式中,当所述处理器1301用于调用接口执行以下动作:发起针对第一会话的第一操作的流程;在所述第一操作的执行过程中,从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求;根据所述第一操作的类型决定后续流程。
当装置1300为会话管理功能网元或会话管理功能网元中的芯片时,一种可能的实现方式中,当所述处理器1301用于调用接口执行以下动作:向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在所述会话管理功能网元发送所述第一消息之后,接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;在确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,中止所述第一操作的流程,执行建立所述第一会话的用户面资源的流程。
当装置1300为会话管理功能网元或会话管理功能网元中的芯片时,一种可能的实现方式中,当所述处理器1301用于调用接口执行以下动作:向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在发送所述第一消息之后,接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;在确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息用于指示所述第一会话的用户面资源建立失败或所述第一会话的用户面资源建立成功。
应理解,所述装置1300还可用于执行前文实施例中会话管理功能网元侧的其他步骤和/或操作,为了简洁,这里不作赘述。
当装置1300为终端设备或终端设备中的芯片时,一种可能的实现方式中,当所述处理器1301用于调用接口执行以下动作:
向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;缓存所述第一消息或针对所述第一消息的响应消息,直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息。
当装置1300为终端设备或终端设备中的芯片时,一种可能的实现方式中,当所述处理器1301用于调用接口执行以下动作:
向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改所述第一会话或释放所述第一会话;在确定已发送所述服务请求消息且未接收到针对所述服务消息的响应消息时,丢弃所述第一消 息。
应理解,所述装置1300还可用于执行前文实施例中终端设备侧的其他步骤和/或操作,为了简洁,这里不作赘述。
应理解,所述处理器1301可以调用接口执行上述收发动作,其中,调用的接口可以是逻辑接口或物理接口,对此不作限定。可选地,物理接口可以通过收发器实现。可选地,所述装置1300还包括收发器1303。
可选地,所述装置1300还包括存储器1302,存储器1302中可以存储上述方法实施例中的程序代码,以便于处理器1301调用。
具体地,若所述装置1300包括处理器1301、存储器1302和收发器1303,则处理器1301、存储器1302和收发器1303之间通过内部连接通路互相通信,传递控制和/或数据信号。在一个可能的设计中,处理器1301、存储器1302和收发器1303可以通过芯片实现,处理器1301、存储器1302和收发器1303可以是在同一个芯片中实现,也可能分别在不同的芯片实现,或者其中任意两个功能组合在一个芯片中实现。该存储器1302可以存储程序代码,处理器1301调用存储器1302存储的程序代码,以实现装置1300的相应功能。
上述本申请实施例揭示的方法可以应用于处理器中,或者由处理器实现。处理器可能是一种集成电路芯片,具有信号的处理能力。在实现过程中,上述方法实施例的各步骤可以通过处理器中的硬件的集成逻辑电路或者软件形式的指令完成。上述的处理器可以是通用处理器、数字信号处理器(digital signal processor,DSP)、专用集成电路(application specific integrated circuit,ASIC)、现成可编程门阵列(field programmable gate array,FPGA)或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件,还可以是系统芯片(system on chip,SoC),还可以是中央处理器(central processor unit,CPU),还可以是网络处理器(network processor,NP),还可以是数字信号处理电路(digital signal processor,DSP),还可以是微控制器(micro controller unit,MCU),还可以是可编程控制器(programmable logic device,PLD)或其他集成芯片。可以实现或者执行本申请实施例中的公开的各方法、步骤及逻辑框图。通用处理器可以是微处理器或者该处理器也可以是任何常规的处理器等。结合本申请实施例所公开的方法的步骤可以直接体现为硬件译码处理器执行完成,或者用译码处理器中的硬件及软件模块组合执行完成。软件模块可以位于随机存储器,闪存、只读存储器,可编程只读存储器或者电可擦写可编程存储器、寄存器等本领域成熟的存储介质中。该存储介质位于存储器,处理器读取存储器中的信息,结合其硬件完成上述方法的步骤。
可以理解,本申请实施例中的存储器可以是易失性存储器或非易失性存储器,或可包括易失性和非易失性存储器两者。其中,非易失性存储器可以是只读存储器(read-only memory,ROM)、可编程只读存储器(programmable ROM,PROM)、可擦除可编程只读存储器(erasable PROM,EPROM)、电可擦除可编程只读存储器(electrically EPROM,EEPROM)或闪存。易失性存储器可以是随机存取存储器(random access memory,RAM),其用作外部高速缓存。通过示例性但不是限制性说明,许多形式的RAM可用,例如静态随机存取存储器(static RAM,SRAM)、动态随机存取存储器(dynamic RAM,DRAM)、同步动态随机存取存储器(synchronous DRAM,SDRAM)、双倍数据速率同步动态随机存取存储器(double data rate SDRAM,DDR SDRAM)、增强型同步动态随机存取存储器 (enhanced SDRAM,ESDRAM)、同步连接动态随机存取存储器(synchlink DRAM,SLDRAM)和直接内存总线随机存取存储器(direct rambus RAM,DR RAM)。应注意,本文描述的系统和方法的存储器旨在包括但不限于这些和任意其它适合类型的存储器。
应理解,在本申请实施例中,编号“第一”、“第二”…仅仅为了区分不同的对象,比如为了区分不同的参数信息或者消息,并不对本申请实施例的范围构成限制,本申请实施例并不限于此。
还应理解,在本申请的各种实施例中,上述各过程的序号的大小并不意味着执行顺序的先后,各过程的执行顺序应以其功能和内在逻辑确定。上述各个过程涉及的各种数字编号或序号仅为描述方便进行的区分,而不应对本申请实施例的实施过程构成任何限定。
还应理解,本文中术语“和/或”,仅仅是一种描述关联对象的关联关系,表示可以存在三种关系,例如,A和/或B,可以表示:单独存在A,同时存在A和B,单独存在B这三种情况。另外,本文中字符“/”,一般表示前后关联对象是一种“或”的关系。
本申请中出现的类似于“项目包括如下中的一项或多项:A,B,以及C”表述的含义,如无特别说明,通常是指该项目可以为如下中任一个:A;B;C;A和B;A和C;B和C;A,B和C;A和A;A,A和A;A,A和B;A,A和C,A,B和B;A,C和C;B和B,B,B和B,B,B和C,C和C;C,C和C,以及其他A,B和C的组合。以上是以A,B和C共3个元素进行举例来说明该项目的可选用条目,当表达为“项目包括如下中至少一种:A,B,……,以及X”时,即表达中具有更多元素时,那么该项目可以适用的条目也可以按照前述规则获得。
本领域普通技术人员可以意识到,结合本文中所公开的实施例描述的各示例的单元及算法步骤,能够以电子硬件、或者计算机软件和电子硬件的结合来实现。这些功能究竟以硬件还是软件方式来执行,取决于技术方案的特定应用和设计约束条件。专业技术人员可以对每个特定的应用来使用不同方法来实现所描述的功能,但是这种实现不应认为超出本申请的范围。
所属领域的技术人员可以清楚地了解到,为描述的方便和简洁,上述描述的系统、装置和单元的具体工作过程,可以参考前述方法实施例中的对应过程,在此不再赘述。
在本申请所提供的几个实施例中,应该理解到,所揭露的系统、装置和方法,可以通过其它的方式实现。例如,以上所描述的装置实施例仅仅是示意性的,例如,所述单元的划分,仅仅为一种逻辑功能划分,实际实现时可以有另外的划分方式,例如多个单元或组件可以结合或者可以集成到另一个系统,或一些特征可以忽略,或不执行。另一点,所显示或讨论的相互之间的耦合或直接耦合或通信连接可以是通过一些接口,装置或单元的间接耦合或通信连接,可以是电性,机械或其它的形式。
所述作为分离部件说明的单元可以是或者也可以不是物理上分开的,作为单元显示的部件可以是或者也可以不是物理单元,即可以位于一个地方,或者也可以分布到多个网络单元上。可以根据实际的需要选择其中的部分或者全部单元来实现本实施例方案的目的。
另外,在本申请各个实施例中的各功能单元可以集成在一个处理单元中,也可以是各个单元单独物理存在,也可以两个或两个以上单元集成在一个单元中。
所述功能如果以软件功能单元的形式实现并作为独立的产品销售或使用时,可以存储在一个计算机可读取存储介质中。基于这样的理解,本申请的技术方案本质上或者说对现有技术做出贡献的部分或者该技术方案的部分可以以软件产品的形式体现出来,该计算机 软件产品存储在一个存储介质中,包括若干指令用以使得一台计算机设备(可以是个人计算机,服务器,或者网络设备等)执行本申请各个实施例所述方法的全部或部分步骤。而前述的存储介质包括:U盘、移动硬盘、只读存储器ROM、随机存取存储器RAM、磁碟或者光盘等各种可以存储程序代码的介质。
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。

Claims (104)

  1. 一种通信方法,其特征在于,该方法包括:
    会话管理功能网元发起针对第一会话的第一操作的流程;
    在所述第一操作的执行过程中,所述会话管理功能网元从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求;
    所述会话管理功能网元根据所述第一操作的类型决定后续流程。
  2. 如权利要求1所述的方法,其特征在于,所述第一操作为修改所述第一会话;
    所述会话管理功能网元根据所述第一操作的类型决定后续流程,包括:
    所述会话管理功能网元中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
  3. 如权利要求2所述的方法,其特征在于,还包括:
    所述会话管理功能网元停止第一定时器,所述第一定时器包括等待针对修改所述第一会话的响应消息的计时器。
  4. 如权利要求2或者3所述的方法,其特征在于,还包括:
    在所述会话管理功能网元完成建立所述第一会话的用户面资源的流程之后,所述会话管理功能网元重新发起修改所述第一会话的流程。
  5. 如权利要求2-4任一项所述的方法,其特征在于,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程包括:
    所述会话管理功能网元向所述接入和移动性管理功能网元发送第一消息,所述第一消息指示所述第一会话的用户面资源建立成功。
  6. 如权利要求5所述的方法,其特征在于,所述第一消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息和会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
  7. 如权利要求1所述的方法,其特征在于,所述第一操作为释放所述第一会话;
    所述会话管理功能网元根据所述第一操作的类型决定后续流程,包括:
    所述会话管理功能网元拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
  8. 如权利要求7所述的方法,其特征在于,还包括:
    所述会话管理功能网元接收针对释放所述第一会话的响应消息。
  9. 如权利要求7或8所述的方法,其特征在于,所述会话管理功能网元拒绝所述第一会话的用户面资源的建立请求包括:
    所述会话管理功能网元向所述接入和移动性管理功能网元发送第二消息,所述第二消息指示所述第一会话的用户面资源建立失败。
  10. 如权利要求9所述的方法,其特征在于,所述第二消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为去激活。
  11. 如权利要求9或10所述的方法,其特征在于,所述第二消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
  12. 如权利要求11所述的方法,其特征在于,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行释放所述第一会话的流程。
  13. 如权利要求1-12任一项所述的方法,其特征在于,在所述第一操作的执行过程中,所述会话管理功能网元从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求,包括:
    在所述会话管理功能网元接收到针对所述第一操作的响应消息之前,所述会话管理功能网元从所述接入和移动性管理功能网元接收所述针对所述第一会话的用户面资源的建立请求。
  14. 如权利要求1-13任一项所述的方法,其特征在于,所述针对所述第一会话的用户面资源的建立请求为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
  15. 一种通信装置,其特征在于,该装置包括:收发单元和处理单元;
    所述收发单元,用于发起针对第一会话的第一操作的流程;在所述第一操作的执行过程中,从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求;
    所述处理单元,用于根据所述第一操作的类型决定后续流程。
  16. 如权利要求15所述的装置,其特征在于,所述第一操作为修改所述第一会话;
    所述处理单元,具体用于中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
  17. 如权利要求16所述的装置,其特征在于,所述处理单元,还用于停止第一定时器,所述第一定时器包括等待针对修改所述第一会话的响应消息的计时器。
  18. 如权利要求15或者16所述的装置,其特征在于,所述收发单元,还用于在完成建立所述第一会话的用户面资源的流程之后,重新发起修改所述第一会话的流程。
  19. 如权利要求16-18任一项所述的装置,其特征在于,所述收发单元,还用于在执行建立所述第一会话的用户面资源的流程时,向所述接入和移动性管理功能网元发送第一消息,所述第一消息指示所述第一会话的用户面资源建立成功。
  20. 如权利要求19所述的装置,其特征在于,所述第一消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
  21. 如权利要求15所述的装置,其特征在于,所述第一操作为释放所述第一会话;
    所述处理单元,具体用于拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
  22. 如权利要求21所述的装置,其特征在于,所述收发单元,用于接收针对释放所述第一会话的响应消息。
  23. 如权利要求21或22所述的装置,其特征在于,所述收发单元,用于在拒绝所述第一会话的用户面资源的建立请求时,向所述接入和移动性管理功能网元发送第二消息,所述第二消息指示所述第一会话的用户面资源建立失败。
  24. 如权利要求23所述的装置,其特征在于,所述第二消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下 文状态信息指示所述第一会话的用户面资源的状态为去激活。
  25. 如权利要求23或24所述的装置,其特征在于,所述第二消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
  26. 如权利要求25所述的装置,其特征在于,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行释放所述第一会话的流程。
  27. 如权利要求15-26任一项所述的装置,其特征在于,所述收发单元,用于在所述会话管理功能网元接收到针对所述第一操作的响应消息之前,从所述接入和移动性管理功能网元接收所述针对所述第一会话的用户面资源的建立请求。
  28. 如权利要求15-27任一项所述的装置,其特征在于,所述针对所述第一会话的用户面资源的建立请求为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
  29. 一种通信装置,其特征在于,所述通信装置包括处理器;所述处理器执行存储在存储器中的计算机执行指令,以使所述通信装置执行如权利要求1-14中任意一项所述的方法。
  30. 一种计算机可读存储介质,其特征在于,所述存储介质中存储有计算机程序或指令,当所述计算机程序或指令被通信装置执行时,实现如权利要求1至14中任一项所述的方法。
  31. 一种通信系统,其特征在于,所述系统包括会话管理功能网元和接入和移动性管理功能网元;其中,
    所述会话管理功能网元,用于发起针对第一会话的第一操作的流程;在所述第一操作的执行过程中,从接入和移动性管理功能网元接收针对所述第一会话的用户面资源的建立请求;根据所述第一操作的类型决定后续流程;
    所述接入和移动性管理功能网元,用于向所述会话管理功能网元发送所述针对所述第一会话的用户面资源的建立请求。
  32. 如权利要求31所述的系统,其特征在于,所述第一操作为修改所述第一会话;
    所述会话管理功能网元,用于在根据所述第一操作的类型决定后续流程时,中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
  33. 如权利要求32所述的系统,其特征在于,所述会话管理功能网元,用于在完成建立所述第一会话的用户面资源的流程之后,重新发起修改所述第一会话的流程。
  34. 如权利要求31所述的系统,其特征在于,所述第一操作为释放所述第一会话;
    所述会话管理功能网元,用于在根据所述第一操作的类型决定后续流程时,拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
  35. 一种通信方法,其特征在于,该方法包括:
    会话管理功能网元发起针对第一会话的第一操作的流程;
    接入和移动性管理功能网元向所述会话管理功能网元发送针对所述第一会话的用户面资源的建立请求;
    所述会话管理功能网元在所述第一操作的执行过程中,接收到所述用户面资源的建立请求,则所述会话管理功能网元根据所述第一操作的类型决定后续流程。
  36. 如权利要求35所述的方法,其特征在于,所述第一操作为修改所述第一会话;所述会话管理功能网元根据所述第一操作的类型决定后续流程,包括:
    所述会话管理功能网元中止修改所述第一会话的流程,执行建立所述第一会话的用户面资源的流程。
  37. 如权利要求36所述的方法,其特征在于,所述方法还包括:
    所述会话管理功能网元在完成建立所述第一会话的用户面资源的流程之后,重新发起修改所述第一会话的流程。
  38. 如权利要求35所述的方法,其特征在于,所述第一操作为释放所述第一会话;
    所述会话管理功能网元根据所述第一操作的类型决定后续流程,包括:
    所述会话管理功能网元拒绝所述第一会话的用户面资源的建立请求,并继续执行释放所述第一会话的流程。
  39. 一种通信方法,其特征在于,该方法包括:
    会话管理功能网元向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;
    在所述会话管理功能网元发送所述第一消息之后,所述会话管理功能网元接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;
    在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述会话管理功能网元中止所述第一操作的流程,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程。
  40. 如权利要求39所述的方法,其特征在于,所述第一操作为修改所述第一会话;
    在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述会话管理功能网元中止所述第一操作的流程,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程,包括:
    在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,所述会话管理功能网元中止所述第一操作的流程,所述会话管理功能网元执行建立所述第一会话的用户面资源的流程。
  41. 如权利要求39或40所述的方法,其特征在于,还包括:
    所述会话管理功能网元停止第一定时器,所述第一定时器包括等待针对所述第一消息的响应消息的计时器。
  42. 如权利要求39-41任一项所述的方法,其特征在于,还包括:
    所述会话管理功能网元向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
  43. 如权利要求39-42任一项所述的方法,其特征在于,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
  44. 如权利要求39-43任一项所述的方法,其特征在于,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
  45. 如权利要求39-44任一项所述的方法,其特征在于,所述会话管理功能网元执行建 立所述第一会话的用户面资源的流程具体可以包括但不限于以下一个或多个步骤:所述会话管理功能网元向用户面功能网元发送会话修改请求消息,所述会话修改请求消息用于为所述用户面网元配置下行隧道信息;所述会话管理功能网元接收来自于所述用户面功能网元的会话修改响应消息,所述会话修改响应消息用于响应所述会话修改请求消息,所述会话管理功能网元响应所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息指示所述第一会话的用户面资源建立成功。
  46. 如权利要求45所述的方法,其特征在于,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
  47. 如权利要求39-46任一项所述的方法,其特征在于,在所述会话管理功能网元执行建立所述第一会话的用户面资源的流程之后,还包括:
    所述会话管理功能网元向所述接入和移动性管理功能网元发送所述第一消息。
  48. 一种通信方法,其特征在于,该方法包括:
    会话管理功能网元向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;
    在所述会话管理功能网元发送所述第一消息之后,所述会话管理功能网元接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;
    在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息用于指示所述第一会话的用户面资源建立失败或所述第一会话的用户面资源建立成功。
  49. 如权利要求48所述的方法,其特征在于,所述第一操作为修改所述第一会话;
    在所述会话管理功能网元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,包括:
    在所述会话管理功能网元确定未接收到针对所述第一信息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送所述第三消息。
  50. 如权利要求48或49所述的方法,其特征在于,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
  51. 如权利要求50所述的方法,其特征在于,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行所述第一操作的流程。
  52. 如权利要求50或51所述的方法,其特征在于,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息包括更新会话管理上下文响应消息和所述第一原因值,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态处于去激活。
  53. 如权利要求48或49所述的方法,其特征在于,在所述第三消息用于指示所述第一 会话的用户面资源建立成功时,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
  54. 如权利要求48-53任一项所述的方法,其特征在于,还包括:所述会话管理功能网元向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
  55. 如权利要求48-54任一项所述的方法,其特征在于,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
  56. 如权利要求48-55任一项所述的方法,其特征在于,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
  57. 如权利要求48-56任一项所述的方法,其特征在于,在所述会话管理功能网元向所述接入和移动性管理功能网元发送第三消息之后,所述会话管理功能网元接收来自于所述接入和移动性管理功能网元的针对所述第一信息的响应消息。
  58. 一种通信方法,其特征在于,该方法包括:
    终端设备向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;
    所述终端设备接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;
    所述终端设备缓存所述第一消息或针对所述第一消息的响应消息,直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息。
  59. 如权利要求58所述的方法,其特征在于,所述终端设备包括会话管理层和移动性管理层;
    在所述终端设备缓存针对所述第一消息的响应消息之前,还包括:
    所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的针对所述第一消息的响应消息。
  60. 如权利要求58或59所述的方法,其特征在于,所述终端设备包括会话管理层和移动性管理层;
    在所述终端设备缓存所述第一消息直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息,包括:
    所述移动性管理层缓存所述第一消息直至接收到所述服务接受消息,所述移动性管理 层向所述会话管理层发送所述第一消息;
    所述移动性管理层接收来自于所述会话管理层的所述针对所述第一消息的响应消息,所述移动性管理层向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息。
  61. 如权利要求58-60任一项所述的方法,其特征在于,还包括:
    所述终端设备接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息指示所述第一操作;
    所述终端设备根据所述第一指示信息缓存所述第一消息或所述针对所述第一消息的响应消息。
  62. 如权利要求58-61任一项所述的方法,其特征在于,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一消息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识,针对所述第一消息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
  63. 如权利要求58-62任一项所述的方法,其特征在于,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
  64. 如权利要求58-63任一项所述的方法,其特征在于,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立成功。
  65. 如权利要求58-63任一项所述的方法,其特征在于,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败;或者,所述服务接受消息包括用于指示PDU会话激活结果的信元和/或用于指示PDU会话激活结果错误原因的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败,所述用于指示PDU会话激活结果错误原因的信元指示所述第一会话的用户面资源建立失败的原因。
  66. 如权利要求65所述的方法,其特征在于,所述第一会话的用户面资源建立失败的原因包括所述第一会话正在执行所述第一操作的流程。
  67. 如权利要求58-66任一项所述的方法,其特征在于,所述第一操作为修改所述第一会话;
    在所述终端设备向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息之后,还包括:所述终端设备向所述接入和移动性管理功能网元重新发送所述服务请求消息。
  68. 一种通信方法,其特征在于,该方法包括:
    终端设备向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;
    所述终端设备接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改所述第一会话或释放所述第一会话;
    在所述终端设备确定已发送所述服务请求消息且未接收到针对所述服务消息的响应消息时,所述终端设备丢弃所述第一消息。
  69. 如权利要求68所述的方法,其特征在于,所述终端设备接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息用于指示所述第一操作;所述终端设备丢弃所述第一消息,包括:所述终端设备根据所述第一指示信息丢弃所述第一消息。
  70. 如权利要求68或69所述的方法,其特征在于,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
  71. 如权利要求68-70任一项所述的方法,其特征在于,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
  72. 一种通信装置,其特征在于,该装置包括:收发单元和处理单元;
    所述收发单元,用于向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在发送所述第一消息之后,接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;
    所述处理单元,用于在确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,中止所述第一操作的流程,执行建立所述第一会话的用户面资源的流程。
  73. 如权利要求72所述的通信装置,其特征在于,所述第一操作为修改所述第一会话;所述处理单元,用于在确定未接收到针对所述第一消息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,中止所述第一操作的流程,执行建立所述第一会话的用户面资源的流程。
  74. 如权利要求72或73所述的通信装置,其特征在于,所述处理单元,用于停止第一定时器,所述第一定时器包括等待针对所述第一消息的响应消息的计时器。
  75. 如权利要求72-74任一项所述的通信装置,其特征在于,所述收发单元,用于向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
  76. 如权利要求72-75任一项所述的通信装置,其特征在于,所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
  77. 如权利要求72-76任一项所述的通信装置,其特征在于,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
  78. 如权利要求72-77任一项所述的通信装置,其特征在于,所述处理单元调用所述收发单元执行建立所述第一会话的用户面资源的流程具体可以包括以下步骤:向用户面功能网元发送会话修改请求消息,所述会话修改请求消息用于为所述用户面网元配置下行隧道信息,接收来自于所述用户面功能网元的会话修改响应消息,所述会话修改响应消息用于响应所述会话修改请求消息,响应所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息指示所述第一会话的用户面资源建立成功。
  79. 如权利要求78所述的通信装置,其特征在于,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态 信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
  80. 如权利要求72-79任一项所述的通信装置,其特征在于,所述收发单元,用于在执行建立所述第一会话的用户面资源的流程之后,向所述接入和移动性管理功能网元发送所述第一消息。
  81. 一种通信装置,其特征在于,该装置包括:收发单元和处理单元;所述收发单元用于向接入和移动性管理功能网元发送第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;在发送所述第一消息之后,所述收发单元用于接收来自于所述接入和移动性管理功能网元的第二消息,所述第二消息用于请求建立所述第一会话的用户面资源;在所述处理单元确定未接收到针对所述第一消息的响应消息且接收到所述第二消息时,所述收发单元用于响应于所述第二消息向所述接入和移动性管理功能网元发送第三消息,所述第三消息用于指示所述第一会话的用户面资源建立失败或所述第一会话的用户面资源建立成功。
  82. 如权利要求81所述的通信装置,其特征在于,所述第一操作为修改所述第一会话;在所述会话管理功能网元确定未接收到针对所述第一信息的响应消息,且接收到所述第二消息,且未请求建立所述第一会话的用户面资源时,所述会话管理功能网元响应于所述第二消息向所述接入和移动性管理功能网元发送所述第三消息。
  83. 如权利要求81或82所述的通信装置,其特征在于,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息包括第一原因值,所述第一原因值指示所述第一会话的用户面资源建立失败的原因。
  84. 如权利要求83所述的通信装置,其特征在于,所述第一会话的用户面资源建立失败的原因指示所述第一会话正在执行所述第一操作的流程。
  85. 如权利要求83或84所述的通信装置,其特征在于,在所述第三消息用于指示所述第一会话的用户面资源建立失败时,所述第三消息包括更新会话管理上下文响应消息和所述第一原因值,所述更新会话管理上下文响应消息包括用户面上下文状态信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态处于去激活。
  86. 如权利要求81或82所述的通信装置,其特征在于,在所述第三消息用于指示所述第一会话的用户面资源建立成功时,所述第三消息为更新会话管理上下文响应消息,所述更新会话管理上下文响应消息包括如下一个或多个:用户面上下文状态信息或会话管理信息,所述用户面上下文状态信息指示所述第一会话的用户面资源的状态为正在激活,所述会话管理信息包括所述第一会话的用户面资源建立的相关参数。
  87. 如权利要求81-86任一项所述的通信装置,其特征在于,所述收发单元,用于向所述接入和移动性管理功能网元发送第一指示信息,所述第一指示信息指示所述第一操作。
  88. 如权利要求81-87任一项所述的通信装置,其特征在于,若所述第一操作为修改所述第一会话,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;若所述第一操作为释放所述第一会话,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识;针对所述第一信息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
  89. 如权利要求81-88任一项所述的通信装置,其特征在于,所述第二消息为更新会话管理上下文请求消息,所述更新会话管理上下文请求消息包括如下一个或多个:操作类型或被激活的会话的标识,所述操作类型指示用户面激活,所述被激活的会话的标识包括所述第一会话的标识。
  90. 如权利要求81-89任一项所述的通信装置,其特征在于,所述收发单元,用于在向所述接入和移动性管理功能网元发送第三消息之后,接收来自于所述接入和移动性管理功能网元的针对所述第一信息的响应消息。
  91. 一种通信装置,其特征在于,该装置包括:收发单元和处理单元;所述收发单元,用于向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改第一会话或释放第一会话;所述处理单元,用于缓存所述第一消息或针对所述第一消息的响应消息,直至通过所述收发单元接收来自于所述接入和移动性管理功能网元的服务接受消息,调用所述收发单元向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息。
  92. 如权利要求91所述的通信装置,其特征在于,所述装置包括会话管理层和移动性管理层;在缓存针对所述第一消息的响应消息之前,所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的针对所述第一消息的响应消息。
  93. 如权利要求91或92所述的通信装置,其特征在于,所述装置包括会话管理层和移动性管理层;在缓存所述第一消息直至接收来自于所述接入和移动性管理功能网元的服务接受消息,向所述接入和移动性管理功能网元发送所述针对所述第一消息的响应消息时,所述移动性管理层缓存所述第一消息直至接收到所述服务接受消息,所述移动性管理层向所述会话管理层发送所述第一消息,所述移动性管理层接收来自于所述会话管理层的所述针对所述第一消息的响应消息,所述移动性管理层向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息。
  94. 如权利要求91-93任一项所述的通信装置,其特征在于,所述收发单元,用于接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息指示所述第一操作;所述处理单元,用于根据所述第一指示信息缓存所述第一消息或所述针对所述第一消息的响应消息。
  95. 如权利要求91-94任一项所述的通信装置,其特征在于,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;针对所述第一消息的响应消息为PDU会话修改完成指令,所述PDU会话修改完成指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识,针对所述第一消息的响应消息为PDU会话释放完成指令,所述PDU会话释放完成指令包括所述第一会话的标识。
  96. 如权利要求91-95任一项所述的通信装置,其特征在于,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
  97. 如权利要求91-96任一项所述的通信装置,其特征在于,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一 会话的用户面资源建立成功。
  98. 如权利要求97所述的通信装置,其特征在于,所述服务接受消息包括用于指示PDU会话激活结果的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败;或者,所述服务接受消息包括用于指示PDU会话激活结果的信元和用于指示PDU会话激活结果错误原因的信元,所述用于指示PDU会话激活结果的信元指示所述第一会话的用户面资源建立失败,所述用于指示PDU会话激活结果错误原因的信元指示所述第一会话的用户面资源建立失败的原因。
  99. 如权利要求98所述的通信装置,其特征在于,所述第一会话的用户面资源建立失败的原因包括所述第一会话正在执行所述第一操作的流程。
  100. 如权利要求91-99任一项所述的通信装置,其特征在于,所述第一操作为修改所述第一会话;在向所述接入和移动性管理功能网元发送针对所述第一消息的响应消息之后,所述收发单元,用于向所述接入和移动性管理功能网元重新发送所述服务请求消息。
  101. 一种通信装置,其特征在于,该装置包括:收发单元和处理单元;所述收发单元,用于向接入和移动性管理功能网元发送服务请求消息,所述服务请求消息用于请求建立第一会话的用户面资源;接收来自于所述接入和移动性管理功能网元的第一消息,所述第一消息用于请求第一操作,所述第一操作包括修改所述第一会话或释放所述第一会话;所述处理单元,用于在确定已发送所述服务请求消息且未接收到针对所述服务消息的响应消息时,丢弃所述第一消息。
  102. 如权利要求101所述的通信装置,其特征在于,所述收发单元,用于接收来自于所述接入和移动性管理功能网元的第一指示信息,所述第一指示信息用于指示所述第一操作;所述处理单元,用于根据所述第一指示信息丢弃所述第一消息。
  103. 如权利要求101或102所述的通信装置,其特征在于,所述服务请求消息包括上行链路数据状态信息,所述上行链路数据状态信息指示所述第一会话的标识。
  104. 如权利要求101-103任一项所述的通信装置,其特征在于,在所述第一操作为修改第一会话时,所述第一消息包括PDU会话修改指令,所述PDU会话修改指令包括所述第一会话的标识;在所述第一操作为释放第一会话时,所述第一消息包括PDU会话释放指令,所述PDU会话释放指令包括所述第一会话的标识。
PCT/CN2022/092468 2021-05-12 2022-05-12 一种通信方法及装置 WO2022237872A1 (zh)

Priority Applications (3)

Application Number Priority Date Filing Date Title
JP2023569906A JP2024520917A (ja) 2021-05-12 2022-05-12 通信方法及び装置
EP22806834.2A EP4325987A1 (en) 2021-05-12 2022-05-12 Communication method and apparatus
US18/507,637 US20240080918A1 (en) 2021-05-12 2023-11-13 Communication Method and Apparatus

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110518537.7A CN115348685A (zh) 2021-05-12 2021-05-12 一种通信方法及装置
CN202110518537.7 2021-05-12

Related Child Applications (1)

Application Number Title Priority Date Filing Date
US18/507,637 Continuation US20240080918A1 (en) 2021-05-12 2023-11-13 Communication Method and Apparatus

Publications (1)

Publication Number Publication Date
WO2022237872A1 true WO2022237872A1 (zh) 2022-11-17

Family

ID=83946538

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092468 WO2022237872A1 (zh) 2021-05-12 2022-05-12 一种通信方法及装置

Country Status (5)

Country Link
US (1) US20240080918A1 (zh)
EP (1) EP4325987A1 (zh)
JP (1) JP2024520917A (zh)
CN (1) CN115348685A (zh)
WO (1) WO2022237872A1 (zh)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365727A (zh) * 2018-04-09 2019-10-22 华为技术有限公司 通信方法和相关装置
CN110636535A (zh) * 2018-06-25 2019-12-31 华为技术有限公司 一种数据传输方法及装置
CN111641582A (zh) * 2019-03-01 2020-09-08 华为技术有限公司 一种安全保护方法及装置
WO2020199733A1 (zh) * 2019-03-30 2020-10-08 华为技术有限公司 策略控制方法、设备及系统
CN111757312A (zh) * 2019-03-29 2020-10-09 华为技术有限公司 一种会话的处理方法及装置

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110365727A (zh) * 2018-04-09 2019-10-22 华为技术有限公司 通信方法和相关装置
CN110636535A (zh) * 2018-06-25 2019-12-31 华为技术有限公司 一种数据传输方法及装置
CN111641582A (zh) * 2019-03-01 2020-09-08 华为技术有限公司 一种安全保护方法及装置
CN111757312A (zh) * 2019-03-29 2020-10-09 华为技术有限公司 一种会话的处理方法及装置
WO2020199733A1 (zh) * 2019-03-30 2020-10-08 华为技术有限公司 策略控制方法、设备及系统

Also Published As

Publication number Publication date
CN115348685A (zh) 2022-11-15
JP2024520917A (ja) 2024-05-27
EP4325987A1 (en) 2024-02-21
US20240080918A1 (en) 2024-03-07

Similar Documents

Publication Publication Date Title
US20220248254A1 (en) Method of processing network slice based congestion, device and system thereof
JP7118237B2 (ja) 通信方法及び通信装置
KR102584730B1 (ko) 통신 네트워크에서 서비스 요청 절차를 처리하는 방법 및 시스템
US11750408B2 (en) Method and apparatus for updating UE policy, and computer storage medium
JP6950141B2 (ja) 通信方法および通信機器
US20220046751A1 (en) Connection Release Method and Apparatus
US11470671B2 (en) Activating a packet data unit (PDU) session using downlink information
US20230388389A1 (en) Communication method and communication apparatus
TW202019202A (zh) 方法、裝置及電腦程式
EP3799514A1 (en) RATE CONTROL METHOD, DEVICE AND SYSTEM

US20220272577A1 (en) Communication method and communication apparatus
WO2020088589A1 (zh) 切换方法、装置及终端
EP3703462B1 (en) COMMUNICATION METHODS AND, A COMMUNICATIONS APPARATUS, A COMMUNICATIONS SYSTEM, A COMPUTER 
READABLE STORAGE MEDIUM, AND A COMPUTER PROGRAM PRODUCT
WO2022237872A1 (zh) 一种通信方法及装置
WO2023087965A1 (zh) 一种通信方法及装置
WO2022127325A1 (zh) 终端控制方法、基站及存储介质
WO2019062794A1 (zh) 一种建立承载的方法及设备
WO2021085259A1 (ja) 無線端末及びその方法
WO2022253197A1 (zh) 一种通信方法及装置
US12035174B2 (en) Rate control method, apparatus, and system
EP3787259B1 (en) Message processing method, apparatus and system
WO2022198597A1 (zh) 小区重选场景下的数据传输方法、装置、设备及存储介质
CN117676741A (zh) QoS信息的发送方法、接收方法、装置、设备及介质

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

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 2023569906

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2022806834

Country of ref document: EP

ENP Entry into the national phase

Ref document number: 2022806834

Country of ref document: EP

Effective date: 20231114

NENP Non-entry into the national phase

Ref country code: DE