Search

CN-121985018-A - Session establishment method, apparatus, related device, storage medium and computer program product

CN121985018ACN 121985018 ACN121985018 ACN 121985018ACN-121985018-A

Abstract

The application discloses a session establishment method, a session establishment device, a network element, a terminal, a storage medium and a computer program product. The method comprises the steps of receiving first information sent by a terminal by a first network element, wherein the first information is used for requesting to establish a first session associated with communication between the terminal and a first entity, the first session is used for data transmission between the terminal and the first network element, determining a first port configured by the first network element corresponding to the first session by utilizing the first information and second information, the second information characterizes one or more ports configured by the first network element, and sending third information to the terminal, wherein the third information comprises related information of the first port.

Inventors

  • SONG YUE

Assignees

  • 中国移动通信有限公司研究院
  • 中国移动通信集团有限公司

Dates

Publication Date
20260505
Application Date
20241030

Claims (20)

  1. 1. A method for session establishment, applied to a first network element, comprising: Receiving first information sent by a terminal, wherein the first information is used for requesting to establish a first session associated with communication between the terminal and a first entity, and the first session is used for data transmission between the terminal and a first network element; determining a first port configured by a first network element corresponding to the first session by using the first information and the second information, wherein the second information characterizes one or more ports configured by the first network element; And sending third information to the terminal, wherein the third information comprises the related information of the first port.
  2. 2. The method of claim 1, wherein the determining the first port configured by the first network element corresponding to the first session using the first information and the second information comprises: in the case where the first network element configures one port, the configured one port is determined as the first port.
  3. 3. The method of claim 1, wherein the determining the first port configured by the first network element corresponding to the first session using the first information and the second information comprises: in the case where the first network element is configured with a plurality of ports, one port is selected from the configured plurality of ports, and the selected port is determined as the first port.
  4. 4. The method of claim 1, wherein the second information comprises information about one or more ports that the first network element has configured for a session for communication with one or more terminals and one or more first entities.
  5. 5. The method of claim 1, wherein the first information characterizes a type of the first session.
  6. 6. The method of claim 1, wherein the first session comprises a long connection session.
  7. 7. The method of claim 1, wherein the first information further comprises information regarding a second port configured by a terminal corresponding to the first session and fourth information, the fourth information being used to identify the terminal, the method further comprising: Generating fifth information by using the first information and the related information of the first port, wherein the fifth information represents a corresponding relation among the related information of the second port, the related information of the first port and the fourth information, and the fifth information is used for realizing data transmission between the terminal and the first entity.
  8. 8. The method of claim 7, wherein the method further comprises: Receiving one or more data packets; And transmitting the one or more data packets to the first entity by using the fifth information.
  9. 9. The method of claim 8, wherein the sending the one or more data packets to the first entity using fifth information comprises: For each data packet in the one or more data packets, determining the related information of the second port and the related information of the first port corresponding to the data packet; determining identification related information of the terminal associated with the related information of the second port and the related information of the first port by using the fifth information; and sending the data packet to the first entity corresponding to the determined terminal.
  10. 10. The method according to any one of claims 1 to 9, further comprising: Carrying data transmissions associated with the first session using an established first bearer, the first bearer being capable of carrying signaling transmissions; Or alternatively And establishing a non-guaranteed bit rate non-GBR bearer, and utilizing the non-GBR bearer to carry data transmission associated with the first session.
  11. 11. A session establishment method, applied to a terminal, comprising: transmitting first information to a first network element, wherein the first information is used for requesting to establish a first session associated with communication between the terminal and a first entity, and the first session is used for data transmission between the terminal and the first network element; And receiving third information sent by the first network element, wherein the third information comprises related information of a first port configured by the first network element corresponding to the first session.
  12. 12. The method of claim 11, wherein the first information characterizes a type of the first session.
  13. 13. The method of claim 11, wherein the first session comprises a long connection session.
  14. 14. The method of claim 11, wherein the first information further comprises information regarding a second port configured by a terminal corresponding to the first session and fourth information, the fourth information being used to identify the terminal.
  15. 15. A session establishment apparatus, arranged in a first network element, comprising: A first receiving unit, configured to receive first information sent by a terminal, where the first information is used to request to establish a first session associated with communication between the terminal and a first entity, and the first session is used for data transmission between the terminal and the first network element; a determining unit, configured to determine a first port configured by a first network element corresponding to the first session by using the first information and second information, where the second information characterizes one or more ports configured by the first network element; And the first sending unit is used for sending third information to the terminal, wherein the third information comprises the related information of the first port.
  16. 16. A session establishment apparatus, characterized by being provided at a terminal, comprising: A second sending unit, configured to send first information to a first network element, where the first information is used to request to establish a first session associated with communication between the terminal and a first entity, and the first session is used for data transmission between the terminal and the first network element; and the second receiving unit is used for receiving third information sent by the first network element, wherein the third information comprises related information of a first port configured by the first network element corresponding to the first session.
  17. 17. A network element is characterized by comprising a first processor and a first communication interface, wherein, The first communication interface is configured to receive first information sent by a terminal, where the first information is used to request to establish a first session associated with communication between the terminal and a first entity, and the first session is used for data transmission between the terminal and the network element; The first processor is configured to determine a first port configured by a network element corresponding to the first session by using the first information and the second information, where the second information characterizes one or more ports configured by the network element, and send third information to the terminal through the first communication interface, where the third information includes information related to the first port.
  18. 18. A terminal is characterized by comprising a second processor and a second communication interface, wherein, The second communication interface is configured to send first information to a network element, where the first information is used to request to establish a first session associated with communication between the terminal and a first entity, the first session is used for data transmission between the terminal and the network element, and receive third information sent by the network element, where the third information includes information about a first port configured by the network element corresponding to the first session.
  19. 19. A network element comprising a first processor and a first memory for storing a computer program capable of running on the processor, Wherein the first processor is adapted to perform the steps of the method of any of claims 1 to 10 when the computer program is run.
  20. 20. A terminal comprising a second processor and a second memory for storing a computer program capable of running on the processor, Wherein the second processor is adapted to perform the steps of the method of any of claims 11 to 14 when the computer program is run.

Description

Session establishment method, apparatus, related device, storage medium and computer program product Technical Field The present application relates to the field of network transmission technologies, and in particular, to a session establishment method, apparatus, related device, storage medium, and computer program product. Background With the rapid development of artificial intelligence (AI, artificial Intelligence) technology, new services and corresponding characteristics of real-time communication and AI are researched, wherein AI real-time communication assistant is a new service characteristic with higher attention. As shown in fig. 1, a user performs a dialogue with an AI entity (english may be expressed as an Agent) (also may be understood as an AI model) by means of a natural language (such as voice) and issues an instruction, so that the AI entity, after recognizing the user semantics (also may be understood as the user intention), meets the user requirements by calling other services (english may be expressed as services). From the technical implementation point of view, the AI real-time communication assistant can be implemented based on a terminal or a network. In the case of network-based implementation, the AI entity is deployed in the network, so that the network-side AI entity, after recognizing the user's intention, can invoke the relevant service. Since the terminal may be limited by computational power and power consumption, so that the AI processing capability is limited, and the network-based AI real-time communication assistant can support a larger AI model, so as to provide a stronger service capability, in the scenario of the network-based AI real-time communication assistant (such as the operator providing the AI real-time communication assistant), as shown in fig. 2, a scheme of superimposing AI entities on a Long Term Evolution Voice-over-terminal Voice-over-Voice (VoNR, voice over New Radio) network is proposed in the related art, so that a user can talk with AI entities through an internet protocol (IP, internet Protocol) multimedia subsystem (IMS, IP Multimedia Subsystem) network. However, in the process of the user talking to the AI entity, there is a problem of large network overhead. Disclosure of Invention To solve the related technical problems, embodiments of the present application provide a session establishment method, apparatus, related device, storage medium, and computer program product. The technical scheme of the embodiment of the application is realized as follows: The embodiment of the application provides a session establishment method which is applied to a first network element and comprises the following steps: Receiving first information sent by a terminal, wherein the first information is used for requesting to establish a first session associated with communication between the terminal and a first entity, and the first session is used for data transmission between the terminal and a first network element; determining a first port configured by a first network element corresponding to the first session by using the first information and the second information, wherein the second information characterizes one or more ports configured by the first network element; And sending third information to the terminal, wherein the third information comprises the related information of the first port. In the above solution, the determining, by using the first information and the second information, the first port configured by the first network element corresponding to the first session includes: in the case where the first network element configures one port, the configured one port is determined as the first port. In the above solution, the determining, by using the first information and the second information, the first port configured by the first network element corresponding to the first session includes: in the case where the first network element is configured with a plurality of ports, one port is selected from the configured plurality of ports, and the selected port is determined as the first port. In the above solution, the second information includes information about one or more ports configured by the first network element for a session for communication with one or more terminals and one or more first entities. In the above scheme, the first information characterizes a type of the first session. In the above scheme, the first session includes a long connection session. In the above solution, the first information further includes information about a second port configured by the terminal corresponding to the first session and fourth information, where the fourth information is used to identify the terminal, and the method further includes: Generating fifth information by using the first information and the related information of the first port, wherein the fifth information represents a corresponding relation among the related information of the second