Session establishment method and device, related equipment, storage medium and computer program product

By selecting pre-configured port resources in network elements on the network side, the problem of high network overhead in AI real-time communication assistants is solved, and efficient use of network resources is achieved during session establishment, reducing network overhead.

CN121985018APending Publication Date: 2026-05-05CHINA MOBILE COMM LTD RES INST +1
View PDF 0 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
CHINA MOBILE COMM LTD RES INST
Filing Date
2024-10-30
Publication Date
2026-05-05

AI Technical Summary

Technical Problem

In network-based AI real-time communication assistants, there is a problem of high network overhead during the dialogue between users and AI entities, especially when maintaining long IMS call connections, which causes the occupation and consumption of network resources.

Method used

By selecting a suitable port from the pre-configured port resources in the network elements on the network side, a session with the terminal is established. The session is established using fixed-configuration network resources, avoiding additional consumption of network resources.

Benefits of technology

It reduces the network resource consumption during session establishment, lowers network overhead, and optimizes the efficiency of network resource utilization.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN121985018A_ABST
    Figure CN121985018A_ABST
Patent Text Reader

Abstract

The invention discloses a session establishment method and device, a network element, a terminal, a storage medium and a computer program product. The method comprises the following steps: a first network element receives first information sent by a terminal, 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; using the first information and second information to determine a first port configured by a first network element corresponding to the first session, the second information representing 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.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of network transmission technology, and in particular to a session establishment method, apparatus, related equipment, storage medium, and computer program product. Background Technology

[0002] With the rapid development of artificial intelligence (AI) technology, research has been conducted on new services combining real-time communication and AI, and their corresponding characteristics; among them, AI real-time communication assistants are a feature of a new type of service that has attracted considerable attention. For example... Figure 1 As shown, users interact with AI entities (which can be expressed as Agents in English) and issue commands through natural language (such as voice). After recognizing the user's semantics (which can also be understood as the user's intent), the AI ​​entity calls other services to meet the user's needs.

[0003] From a technical implementation perspective, AI real-time communication assistants can be implemented either on a terminal or over a network. In the network-based implementation, the AI ​​entity is deployed within the network, allowing it to recognize user intent and invoke relevant services.

[0004] Because terminals are limited by computing power and power consumption, their AI processing capabilities are limited. However, network-based AI real-time communication assistants can support larger AI models, thus providing stronger service capabilities. Therefore, in scenarios involving network-based AI real-time communication assistants (such as those provided by telecom operators), such as... Figure 2 As shown, the related technologies propose a scheme to overlay AI entities on Voice over Long-Term Evolution (VoLTE) / VoNR (VoNR) networks, enabling users to interact with AI entities through the IP Multimedia Subsystem (IMS) network.

[0005] However, there is a problem of high network overhead during the process of users interacting with AI entities. Summary of the Invention

[0006] To address the related technical issues, embodiments of this application provide a session establishment method, apparatus, related devices, storage medium, and computer program product.

[0007] The technical solution of this application embodiment is implemented as follows:

[0008] This application provides a session establishment method, applied to a first network element, including:

[0009] The receiving terminal sends first information, which is used to request the establishment of a first session for communication association between the terminal and the first entity, and the first session is used for data transmission between the terminal and the first network element.

[0010] Using the first information and the second information, the first port configured for the first network element corresponding to the first session is determined, and the second information represents one or more ports configured for the first network element.

[0011] A third message is sent to the terminal, the third message containing relevant information about the first port.

[0012] In the above scheme, determining the first port configured for the first network element corresponding to the first session using the first information and the second information includes:

[0013] If the first network element is configured with a port, then the configured port will be designated as the first port.

[0014] In the above scheme, determining the first port configured for the first network element corresponding to the first session using the first information and the second information includes:

[0015] If the first network element is configured with multiple ports, select one port from the configured ports and designate the selected port as the first port.

[0016] In the above scheme, the second information includes information about one or more ports that the first network element has configured for communication between one or more terminals and one or more first entities.

[0017] In the above scheme, the first information represents the type of the first session.

[0018] In the above scheme, the first session includes a long-connection session.

[0019] In the above scheme, the first information further includes information related to the second port configured on the terminal corresponding to the first session and fourth information, wherein the fourth information is used to identify the terminal, and the method further includes:

[0020] Using the first information and the relevant information of the first port, fifth information is generated. The fifth information represents the correspondence between the relevant information of the second port, the relevant information of the first port, and the fourth information. The fifth information is used to realize data transmission between the terminal and the first entity.

[0021] The method in the above scheme further includes:

[0022] Receive one or more data packets;

[0023] Using the fifth piece of information, one or more data packets are sent to the first entity.

[0024] In the above scheme, the step of using the fifth information to send the one or more data packets to the first entity includes:

[0025] For each of the one or more data packets, determine the relevant information of the second port and the relevant information of the first port corresponding to the data packet;

[0026] Using the fifth piece of information, the identifier-related information of the terminal associated with the relevant information of the second port and the relevant information of the first port is determined;

[0027] Send data packets to the first entity corresponding to the determined terminal.

[0028] The method in the above scheme further includes:

[0029] The established first bearer is used to carry data transmission associated with the first session, and the first bearer is capable of carrying signaling transmission;

[0030] or,

[0031] Establish a non-Guaranteed Bit Rate (non-GBR) bearer and use the non-GBR bearer to carry data transmission associated with the first session.

[0032] This application also provides a session establishment method, applied to a terminal, including:

[0033] Send first information to the first network element, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the first network element;

[0034] The system receives third information sent by the first network element, the third information containing relevant information about the first port configured by the first network element corresponding to the first session.

[0035] In the above scheme, the first information represents the type of the first session.

[0036] In the above scheme, the first session includes a long-connection session.

[0037] In the above scheme, the first information also includes information related to the second port configured by the terminal corresponding to the first session and fourth information, wherein the fourth information is used to identify the terminal.

[0038] This application embodiment also provides a session establishment apparatus, disposed in a first network element, including:

[0039] The first receiving unit is configured to receive first information sent by the terminal, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the first network element;

[0040] The determining unit is used to determine the first port configured by the first network element corresponding to the first session using the first information and the second information, wherein the second information represents one or more ports configured by the first network element.

[0041] The first sending unit is used to send third information to the terminal, the third information including relevant information of the first port.

[0042] This application embodiment also provides a session establishment device, disposed on a terminal, including:

[0043] The second sending unit is used to send first information to the first network element. The first information is used to request the establishment of a first session for communication association between the terminal and the first entity. The first session is used for data transmission between the terminal and the first network element.

[0044] The second receiving unit is used to receive third information sent by the first network element, the third information including relevant information of the first port configured by the first network element corresponding to the first session.

[0045] This application embodiment also provides a network element, including: a first processor and a first communication interface; wherein,

[0046] The first communication interface is used to receive first information sent by the terminal, the first information is used to request the establishment of a first session for communication association between the terminal and the first entity, and the first session is used for data transmission between the terminal and the network element;

[0047] The first processor is configured to use the first information and the second information to determine the first port configured for the network element corresponding to the first session, wherein the second information represents one or more ports configured for the network element; and to send third information to the terminal through the first communication interface, wherein the third information includes relevant information of the first port.

[0048] This application also provides a terminal, including: a second processor and a second communication interface; wherein,

[0049] The second communication interface is used to send first information to the network element, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the network element; and to receive third information sent by the network element, the third information containing relevant information of the first port configured by the network element corresponding to the first session.

[0050] This application also provides a network element, including: a first processor and a first memory for storing a computer program capable of running on the processor.

[0051] Wherein, when the first processor is used to run the computer program, it executes the steps of any of the methods described above for the first network element side.

[0052] This application also provides a terminal, including: a second processor and a second memory for storing computer programs capable of running on the processor.

[0053] Wherein, when the second processor is running the computer program, it executes the steps of any of the methods described above on the terminal side.

[0054] This application embodiment also provides a storage medium storing a computer program thereon, which, when executed by a processor, implements the steps of any of the methods described above on the first network element side, or implements the steps of any of the methods described above on the terminal side.

[0055] This application also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of any of the methods described above on the first network element side, or implements the steps of any of the methods described above on the terminal side.

[0056] The session establishment method, apparatus, related devices, storage medium, and computer program products provided in this application embodiment involve a first network element receiving first information sent by a terminal. The first information requests the establishment of a first session associated with communication between the terminal and a first entity. This first session is used for data transmission between the terminal and the first network element. Using the first and second information, a first port configured on the first network element corresponding to the first session is determined. The second information represents one or more ports already configured on the first network element. Third information, including information related to the first port, is sent to the terminal. The technical solution provided in this application embodiment, during communication between the terminal and a first entity (e.g., an AI entity), allows the first network element to select port resources corresponding to the session between the terminal and a network element in the network (e.g., an IMS network) from pre-configured port resources to establish the session. This process uses fixed-configuration network resources to establish the session without consuming additional network resources, thus reducing network overhead. Attached Figure Description

[0057] Figure 1 This is an architecture diagram of an AI real-time communication assistant in related technologies;

[0058] Figure 2 This is an architecture diagram of a network-based AI real-time communication assistant in related technologies;

[0059] Figure 3 A flowchart illustrating the process of establishing an IMS call;

[0060] Figure 4 This is a schematic flowchart of a method for establishing a session according to a first embodiment of this application;

[0061] Figure 5 This is a schematic flowchart illustrating the second method for establishing a session according to an embodiment of this application;

[0062] Figure 6 This application provides a flowchart illustrating the method for establishing a standby session.

[0063] Figure 7 This is a schematic diagram illustrating the method flow for releasing a standby session, as used in this application example.

[0064] Figure 8 This is a schematic diagram of the structure of a first session establishment device according to an embodiment of this application;

[0065] Figure 9 This is a schematic diagram of the second type of session establishment device according to an embodiment of this application;

[0066] Figure 10This is a schematic diagram of the network element structure in an embodiment of this application;

[0067] Figure 11 This is a schematic diagram of the terminal structure according to an embodiment of this application;

[0068] Figure 12 A schematic diagram of the system architecture for establishing sessions in the embodiments of this application. Detailed Implementation

[0069] The present application will now be described in further detail with reference to the accompanying drawings and embodiments.

[0070] For AI real-time communication assistants, in the case of terminal-based implementation, the AI ​​entity can be deployed on the terminal. In this way, after the terminal recognizes the user's intent locally, it can directly call network services.

[0071] exist Figure 2 In the illustrated scheme, when a user needs to interact with an AI entity within the network, an IMS call (which can also be understood as a voice channel) needs to be established between the terminal and the IMS network. In current VoLTE / VoNR networks, such as... Figure 3 As shown, the signaling overhead during IMS call establishment is very high. If an IMS call is established every time a user interacts with an AI entity, the signaling overhead will increase significantly, and the latency will be difficult to meet business requirements. Therefore, a long-lived IMS call connection needs to be established between the terminal and the IMS network to reduce signaling overhead.

[0072] However, maintaining a persistent IMS call connection consumes network resources, resulting in significant network overhead. Specifically, during the establishment of an IMS call, network devices (such as Session Border Controllers (SBCs)) temporarily allocate port and IP resources for the IMS call as an endpoint for receiving real-time media streams, and release the occupied port resources after the call ends. Maintaining a persistent IMS call connection would exhaust the port resources of core network devices.

[0073] Therefore, there is currently no solution to reduce the network resource consumption of long IMS call connections, thereby reducing network overhead.

[0074] Based on this, in various embodiments of this application, when a terminal initiates a session between the terminal and the network side, the network side selects the port resources required for the session from the pre-configured port resources and establishes the session based on the selected port resources. This effectively reduces the occupation of network resources and thus reduces network overhead.

[0075] This application provides a session establishment method, such as... Figure 4 As shown, applied to the first network element, the method includes:

[0076] Step 401: Receive first information sent by the terminal, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the first network element;

[0077] Step 402: Using the first information and the second information, determine the first port configured for the first network element corresponding to the first session, where the second information represents one or more ports configured for the first network element.

[0078] Step 403: Send third information to the terminal, the third information containing relevant information about the first port.

[0079] In practical applications, the first network element can be understood as a network element in the IMS network, such as the Proxy-Call Session Control Function (P-CSCF). This application embodiment does not limit the type of the first network element, as long as its function is implemented. In addition, the terminal can be called a user equipment (UE) or a user, etc. This application embodiment does not limit the name of the terminal, as long as its function is implemented.

[0080] In practical applications, in step 401, when the terminal determines that it needs to communicate with the first entity, the terminal can send the first information to the first network element to trigger the establishment of the first session. The first entity has at least the function of providing network services to the terminal, and the function is associated with AI, such as an AI entity. The first information can be sent through signaling (such as call signaling). This application embodiment does not limit the type of signaling. In this case, the terminal can send signaling to the first network element, and the signaling carries the first information.

[0081] Here, for the first session, a new session type (which may be called standby) can be predefined, and the type of session to be established can be indicated by the first information; wherein, in one embodiment, the first information represents the type of the first session.

[0082] In other words, based on the type represented by the first information, the first network element can know that the purpose of the terminal is to establish a first session of type standby (also known as a standby session).

[0083] In practical applications, after receiving the first information, the first network element can use one or more ports represented by the second information to select a corresponding first port for the first session; wherein, the second information may include information about one or more ports that the first network element has configured for the session for communication with one or more terminals and one or more first entities (which can also be understood as information about ports pre-configured by the network side for the standby type of session), and the information about each port may include port information and corresponding IP information.

[0084] Specifically, in one embodiment, the implementation of step 402 may include:

[0085] If the first network element is configured with a port, then the configured port will be designated as the first port.

[0086] Here, if only one port is configured for a standby session, the first network element can use that port as the first port and transmit data (such as media data) through the first port.

[0087] Specifically, in one embodiment, the implementation of step 402 may further include:

[0088] If the first network element is configured with multiple ports, select one port from the configured ports and designate the selected port as the first port.

[0089] In practical applications, if multiple ports are configured for standby sessions, the first network element can use a relevant algorithm (such as a round-robin algorithm or a hash algorithm, which is not limited in this embodiment) to select one port as the first port and transmit data through the first port.

[0090] In practical applications, after determining the first port, the first network element can send the third information to the terminal to establish the first session with the terminal. The first session may include a long-connection session, that is, after the session is established, it can be maintained for a period of time (which can be determined according to the duration of communication between the terminal and the first entity (e.g., 5 minutes or 1 day, which is not limited in this embodiment). In this way, it can avoid the need to temporarily establish a session every time the terminal and the first entity communicate, and reduce the signaling overhead in the session establishment process.

[0091] In practical applications, during the establishment of the first session, the first network element can also record the correspondence between port-related information on the network side and the terminal side, so that subsequent data transmission between the terminal and the first network element can be realized based on the recorded correspondence.

[0092] Specifically, in one embodiment, the first information may further include information related to the second port configured on the terminal corresponding to the first session and fourth information, wherein the fourth information is used to identify the terminal, and the method may further include:

[0093] Using the first information and the relevant information of the first port, fifth information is generated. The fifth information represents the correspondence between the relevant information of the second port, the relevant information of the first port, and the fourth information. The fifth information is used to realize data transmission between the terminal and the first entity.

[0094] In practical applications, the relevant information of the second port may include the second port information and the corresponding IP information. The fourth information can be understood as the identification information of the terminal, such as the terminal code number. This application embodiment does not limit the content of the fourth information, as long as its function is implemented.

[0095] In practical applications, by associating the relevant information of the second port, the relevant information of the first port, and the fourth information, the first network element can obtain and store the fifth information. Upon receiving subsequent data packets, the first network element can then perform data transmission between the terminal and the first entity based on the fifth information.

[0096] Based on this, in one embodiment, the method may further include:

[0097] Receive one or more data packets;

[0098] Using the fifth piece of information, one or more data packets are sent to the first entity.

[0099] In practical applications, the first network element can receive one or more data packets sent by one or more terminals based on relevant protocols; wherein, if the relevant protocol includes Real-time Transport Protocol (RTP), the data packet type can include RTP data packets. That is, the one or more data packets can be sent by different terminals through one or more sessions associated with communication between the terminals and the first entity.

[0100] Here, using the fifth information, the first network element can determine the terminal to which each data packet belongs, and thus transmit the data packet to the first entity corresponding to the terminal.

[0101] Specifically, in one embodiment, sending the one or more data packets to the first entity using the fifth information includes:

[0102] For each of the one or more data packets, determine the relevant information of the second port and the relevant information of the first port corresponding to the data packet;

[0103] Using the fifth piece of information, the identifier-related information of the terminal associated with the relevant information of the second port and the relevant information of the first port is determined;

[0104] Send data packets to the first entity corresponding to the determined terminal.

[0105] In practical applications, for each data packet transmitted between the terminal and the first network element, the first network element can determine the relevant information of the corresponding second port and the relevant information of the first port through the session associated with the data packet; wherein, the first port and the second port can be understood as the ports involved in the transmission of each data packet between the terminal and the first network element.

[0106] For example, when terminal 1 transmits data packet 1 through the first session, the first network element can determine the relevant information of the first port 1 and the relevant information of the second port 1 corresponding to the first session; when terminal 2 transmits data packet 2 through the second session, the first network element can determine the relevant information of the first port 2 and the relevant information of the second port 2 corresponding to the second session.

[0107] Next, using the fifth information, the first network element can determine the terminal identification information associated with the relevant information of the second port and the relevant information of the first port, thereby determining the terminal to which the data packet belongs. Since the first network element establishes data transmission channels between the first entity and the first network element for different terminals, and generates a correspondence between the identification information of different terminals and the relevant information of the third port corresponding to the established channels, the first network element can determine the relevant information of the third port corresponding to the data packet using the terminal identification information, and thus send the data packet to the corresponding first entity based on the relevant information of the third port.

[0108] In related technologies, since IMS calls use Guaranteed Bit Rate (GBR) bearer, after an IMS call is successfully established, the network side will reserve corresponding air interface resources for the user. This means that regardless of whether the terminal continuously sends media streams (which can also be understood as media data), these resources will not be used by other services or other users. In this case, maintaining a long IMS call connection will cause the occupation of air interface resources.

[0109] To address the aforementioned issues, the first network element can establish a new non-GBR bearer to carry the data transmission of the first session. In this way, when the terminal is not sending data, these resources can be used by other services or terminals, thereby reducing the occupation of air interface resources.

[0110] Based on this, in one embodiment, the method may further include:

[0111] Establish a non-GBR bearer and use the non-GBR bearer to carry data transmission associated with the first session.

[0112] In practical applications, the first network element can also use the established bearer to carry the data transmission of the first session, thus avoiding the occupation of additional wireless resources.

[0113] Based on this, in one embodiment, the method may further include:

[0114] The established first bearer is used to carry data transmission associated with the first session, and the first bearer is capable of carrying signaling transmission.

[0115] In practical applications, the first bearer can carry the transmission of signaling (such as IMS signaling). The first bearer can be established after the terminal registers in the network side. This application embodiment does not limit the type of the first bearer, as long as its function is implemented.

[0116] In other words, the first network element can utilize a first bearer capable of carrying signaling transmission to carry media transmission for the first session.

[0117] In practical applications, after step 403, upon receiving the sixth information sent by the terminal, the first network element can also clear the stored fifth information and release the data transmission channel associated with the terminal for data transmission between the first entity and the first network element. The sixth information is used to request the release of the first session, thereby releasing the resources of the first session and reducing the occupation of network resources.

[0118] Accordingly, embodiments of this application also provide a session establishment method, such as... Figure 5 As shown, applied to a terminal, the method includes:

[0119] Step 501: Send first information to the first network element, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the first network element;

[0120] Step 502: Receive third information sent by the first network element, wherein the third information contains relevant information about the first port configured by the first network element corresponding to the first session.

[0121] The session establishment method provided in this application embodiment involves a first network element receiving first information sent by a terminal. This first information requests the establishment of 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. Using the first and second information, a first port configured on the first network element corresponding to the first session is determined. The second information represents one or more ports already configured on the first network element. Third information is sent to the terminal, containing relevant information about the first port. The technical solution provided in this application embodiment, during communication between the terminal and a first entity (e.g., an AI entity), allows the first network element to select port resources corresponding to the session between the terminal and a network element in the network (e.g., an IMS network) from pre-configured port resources to establish the session. This process uses fixed-configuration network resources to establish the session without consuming additional network resources, thus reducing network overhead.

[0122] The following section provides a more detailed description of this application with reference to application examples.

[0123] In the application examples of this application, a new session type (i.e., standby session) is defined, and a scheme for establishing standby sessions is proposed.

[0124] Specifically, the process of establishing a standby session, such as Figure 6 As shown, it includes the following steps:

[0125] Step 601: The terminal sends a call request (which can be expressed as INVITE) to the network element in the IMS network (i.e., the first network element mentioned above). The call request carries at least the port information and IP information of the terminal side (i.e., the relevant information of the second port mentioned above), the standby session indication information (i.e., the first information mentioned above), and the Uniform Resource Identifier (URI) information of the standby session. The standby session indication information is used to indicate that the purpose of the current call is to establish a standby session, and the URI information of the standby session is used to identify the AI ​​entity called by the terminal (i.e., the first entity mentioned above).

[0126] Step 602: After receiving the call request, the network element in the IMS network sends a 200 OK response to the terminal (i.e., the third information mentioned above);

[0127] Here, after receiving a call request, the network element in the IMS network selects the endpoint information (i.e., the relevant information of the first port mentioned above) for the standby session from one or more pre-configured endpoint information (composed of port information and IP information), and then sends a 200 OK response to the terminal. The 200 OK response carries the endpoint information selected by the network side. For the standby session, a fixed endpoint can be used to send and receive real-time media, or an endpoint can be assigned to the standby session for each call using a polling or hashing method to send and receive real-time media.

[0128] In addition, when a terminal initiates a standby session, network elements in the IMS network can use the IMS signaling bearer (i.e., the first bearer mentioned above) to carry the media transmission of the standby session, or use a newly established non-GBR bearer to carry the media transmission of the standby session.

[0129] Step 603: During the standby session establishment process, the network elements in the IMS network record the correspondence between the terminal-side endpoint, the network-side endpoint, and the terminal identifier (i.e., the fifth information mentioned above), and then execute step 604.

[0130] Step 604: The network elements in the IMS network establish a media channel from the network element to the AI ​​entity for the terminal;

[0131] Step 605: The terminal sends an RTP stream to a network element in the IMS network;

[0132] Step 606: Network elements in the IMS network forward RTP flows according to the correspondence of records.

[0133] Here, network elements in the IMS network determine the terminal to which each data packet in the RTP stream belongs based on the recorded correspondence, and then forward the data packet to the AI ​​entity through the corresponding media channel.

[0134] Additionally, the process of releasing a standby session, such as... Figure 7 As shown, it includes the following steps:

[0135] Step 701: The terminal sends a disconnect request (which can be expressed as BYE in English) to the network element in the IMS network. The disconnect request carries at least the URI information of the standby session.

[0136] Step 702: After receiving the disconnection request, the network element in the IMS network clears the recorded correspondence between the terminal-side endpoint, the network-side endpoint, and the terminal identifier, and then executes step 703;

[0137] Step 703: The network element in the IMS network sends a 200 OK response to the terminal;

[0138] Step 704: The network element in the IMS network releases the media channel from the network element to the AI ​​entity for the terminal.

[0139] In the application example of this application, one or more ports are pre-configured on the network side specifically for standby sessions. In this way, while meeting the service requirements of AI real-time communication assistant, the network resource consumption of establishing standby sessions between the terminal and the IMS network can be effectively reduced.

[0140] To implement the method of the embodiments of this application, the embodiments of this application also provide a session establishment device, which is disposed on a first network element, such as... Figure 8 As shown, the device includes:

[0141] The first receiving unit 801 is used to receive first information sent by the terminal. The first information is used to request the establishment of a first session for communication association between the terminal and the first entity. The first session is used for data transmission between the terminal and the first network element.

[0142] The determining unit 802 is used to determine the first port configured by the first network element corresponding to the first session using the first information and the second information, wherein the second information represents one or more ports configured by the first network element.

[0143] The first sending unit 803 is used to send third information to the terminal, the third information including relevant information of the first port.

[0144] In one embodiment, the determining unit 802 is used to determine a configured port as the first port when the first network element is configured with a port.

[0145] In one embodiment, the determining unit 802 is configured to select one port from the configured ports when the first network element is configured with multiple ports, and determine the selected port as the first port.

[0146] In one embodiment, the first information further includes information related to the second port configured by the terminal corresponding to the first session and fourth information, wherein the fourth information is used to identify the terminal; the determining unit 802 is used to generate fifth information using the first information and the information related to the first port, wherein the fifth information represents the correspondence between the information related to the second port, the information related to the first port and the fourth information, and the fifth information is used to realize data transmission between the terminal and the first entity.

[0147] In one embodiment, the first receiving unit 801 is further configured to receive one or more data packets;

[0148] The first sending unit 803 is further configured to use the fifth information to send the one or more data packets to the first entity.

[0149] In one embodiment, the determining unit 802 is configured to, for each of the one or more data packets, determine the relevant information of a second port and the relevant information of a first port corresponding to the data packet; and use the fifth information to determine the identification information of the terminal associated with the relevant information of the second port and the relevant information of the first port;

[0150] The first sending unit 803 is used to send data packets to the first entity corresponding to the determined terminal.

[0151] In one embodiment, the determining unit 802 is further configured to:

[0152] The established first bearer is used to carry data transmission associated with the first session, and the first bearer is capable of carrying signaling transmission;

[0153] or,

[0154] Establish a non-GBR bearer and use the non-GBR bearer to carry data transmission associated with the first session.

[0155] In practical applications, the first receiving unit 801 and the second receiving unit 803 can be implemented by the communication interface in the session establishment device, and the determining unit 802 can be implemented by the processor in the session establishment device.

[0156] To implement the method of the embodiments of this application, the embodiments of this application also provide a session establishment device, which is set on a terminal, such as... Figure 9 As shown, the device includes:

[0157] The second sending unit 901 is used to send first information to the first network element. The first information is used to request the establishment of a first session for communication association between the terminal and the first entity. The first session is used for data transmission between the terminal and the first network element.

[0158] The second receiving unit 902 is used to receive third information sent by the first network element, the third information including relevant information of the first port configured by the first network element corresponding to the first session.

[0159] In practical applications, the second sending unit 901 and the second receiving unit 902 can be implemented by the communication interface in the session establishment device.

[0160] It should be noted that the session establishment device provided in the above embodiments is only illustrated by the division of the above program modules. In actual applications, the above processing can be assigned to different program modules as needed, that is, the internal structure of the device can be divided into different program modules to complete all or part of the processing described above. In addition, the session establishment device and the session establishment method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process can be found in the method embodiments, which will not be repeated here.

[0161] Based on the hardware implementation of the above program modules, and in order to implement the method on the first network element side of the embodiments of this application, the embodiments of this application also provide a network element, such as... Figure 10 As shown, the network element 1000 includes:

[0162] The first communication interface 1001 is capable of exchanging information with the terminal;

[0163] The first processor 1002 is connected to the first communication interface 1001 to enable information interaction with the terminal and to execute the methods provided by one or more technical solutions on the first network element side when running a computer program.

[0164] The computer program is stored in the first memory 1003.

[0165] Specifically, the first communication interface 1001 is used to receive first information sent by the terminal, the first information is used to request the establishment of a first session for communication association between the terminal and the first entity, and the first session is used for data transmission between the terminal and the network element;

[0166] The first processor 1002 is configured to use the first information and the second information to determine the first port configured in the network element corresponding to the first session, wherein the second information represents one or more ports configured in the network element; and to send third information to the terminal through the first communication interface 1001, wherein the third information includes relevant information of the first port.

[0167] In one embodiment, the first processor 1002 is configured to identify a configured port as the first port when the first network element is configured with a port.

[0168] In one embodiment, the first processor 1002 is configured to select one port from the configured ports when the first network element is configured with multiple ports, and to determine the selected port as the first port.

[0169] In one embodiment, the first information further includes information related to the second port configured by the terminal corresponding to the first session and fourth information, wherein the fourth information is used to identify the terminal; the first processor 1002 is further configured to generate fifth information using the first information and the information related to the first port, wherein the fifth information represents the correspondence between the information related to the second port, the information related to the first port and the fourth information, and the fifth information is used to realize data transmission between the terminal and the first entity.

[0170] In one embodiment, the first communication interface 1001 is further configured to:

[0171] Receive one or more data packets;

[0172] Using the fifth piece of information, one or more data packets are sent to the first entity.

[0173] In one embodiment, the first processor 1002 is configured to:

[0174] For each of the one or more data packets, determine the relevant information of the second port and the relevant information of the first port corresponding to the data packet;

[0175] Using the fifth piece of information, the identifier-related information of the terminal associated with the relevant information of the second port and the relevant information of the first port is determined;

[0176] Data packets are sent to the first entity corresponding to the determined terminal through the first communication interface 1001.

[0177] In one embodiment, the first processor 1002 is further configured to:

[0178] The established first bearer is used to carry data transmission associated with the first session, and the first bearer is capable of carrying signaling transmission;

[0179] or,

[0180] Establish a non-GBR bearer and use the non-GBR bearer to carry data transmission associated with the first session.

[0181] It should be noted that the specific processing procedures of the first communication interface 1001 and the first processor 1002 can be understood by referring to the above method.

[0182] Of course, in practical applications, the various components in network element 1000 are coupled together through bus system 1004. It can be understood that bus system 1004 is used to realize the connection and communication between these components. In addition to the data bus, bus system 1004 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 10 The general labeled all buses as Bus System 1004.

[0183] The first memory 1003 in this embodiment is used to store various types of data to support the operation of the network element 1000. Examples of such data include any computer program used to operate on the network element 1000.

[0184] The methods disclosed in the embodiments of this application can be applied to the first processor 1002, or implemented by the first processor 1002. The first processor 1002 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the first processor 1002. The first processor 1002 may be a general-purpose processor, a digital signal processor (DSP), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The first processor 1002 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the first memory 1003. The first processor 1002 reads the information in the first memory 1003 and completes the steps of the aforementioned method in combination with its hardware.

[0185] In an exemplary embodiment, the network element 1000 may be implemented by one or more application-specific integrated circuits (ASICs), DSPs, programmable logic devices (PLDs), complex programmable logic devices (CPLDs), field-programmable gate arrays (FPGAs), general-purpose processors, controllers, microcontrollers (MCUs), microprocessors, or other electronic components to perform the aforementioned method.

[0186] Based on the hardware implementation of the above program modules, and in order to implement the terminal-side method of the embodiments of this application, the embodiments of this application also provide a terminal, such as... Figure 11 As shown, the terminal 1100 includes:

[0187] The second communication interface 1101 is capable of exchanging information with network elements;

[0188] The second processor 1102 is connected to the second communication interface 1101 to enable information interaction with the network element and to execute the methods provided by one or more of the above-mentioned terminal side technical solutions when running a computer program.

[0189] The computer program is stored in the second memory 1103.

[0190] Specifically, the second communication interface 1101 is used to send first information to the network element, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the network element; and to receive third information sent by the network element, the third information containing relevant information of the first port configured by the network element corresponding to the first session.

[0191] It should be noted that the specific processing procedure of the second communication interface 1101 can be understood by referring to the above method.

[0192] Of course, in practical applications, the various components in terminal 1100 are coupled together through bus system 1104. It can be understood that bus system 1104 is used to realize the connection and communication between these components. In addition to a data bus, bus system 1104 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, in... Figure 11 The general designated all buses as Bus System 1104.

[0193] The second memory 1103 in this embodiment is used to store various types of data to support the operation of the terminal 1100. Examples of such data include any computer program used to operate on the terminal 1100.

[0194] The methods disclosed in the above embodiments of this application can be applied to the second processor 1102, or implemented by the second processor 1102. The second processor 1102 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method can be completed by the integrated logic circuit of the hardware or by instructions in the form of software in the second processor 1102. The second processor 1102 may be a general-purpose processor, a DSP, or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The second processor 1102 can implement or execute the methods, steps, and logic block diagrams disclosed in the embodiments of this application. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the methods disclosed in the embodiments of this application can be directly manifested as being executed by a hardware decoding processor, or being executed by a combination of hardware and software modules in the decoding processor. The software modules may be located in a storage medium, which is located in the second memory 1103. The second processor 1102 reads the information in the second memory 1103 and completes the steps of the aforementioned method in conjunction with its hardware.

[0195] In an exemplary embodiment, terminal 1100 may be implemented by one or more ASICs, DSPs, PLDs, CPLDs, FPGAs, general-purpose processors, controllers, MCUs, microprocessors, or other electronic components to perform the aforementioned method. It is understood that the memories (first memory 1003, second memory 1103) in the embodiments of this application may be volatile memory or non-volatile memory, or may include both. Specifically, non-volatile memory may be read-only memory (ROM), programmable read-only memory (PROM), erasable programmable read-only memory (EPROM), electrically erasable programmable read-only memory (EEPROM), ferromagnetic random access memory (FRAM), flash memory, magnetic surface memory, optical disc, or compact disc read-only memory (CD-ROM); magnetic surface memory may be disk storage or magnetic tape storage. Volatile memory can be random access memory (RAM), which is used as an external cache.By way of example, but not limitation, many forms of RAM are available, such as Static Random Access Memory (SRAM), Synchronous Static Random Access Memory (SSRAM), Dynamic Random Access Memory (DRAM), Synchronous Dynamic Random Access Memory (SDRAM), Double Data Rate Synchronous Dynamic Random Access Memory (DDRSDRAM), Enhanced Synchronous Dynamic Random Access Memory (ESDRAM), SyncLink Dynamic Random Access Memory (SLDRAM), and Direct Rambus Random Access Memory (DRRAM). The memories described in the embodiments of this application are intended to include, but are not limited to, these and any other suitable types of memory.

[0196] To implement the method provided in the embodiments of this application, the embodiments of this application also provide a session establishment system, such as... Figure 12 As shown, the system includes: network element 1201 and terminal 1202.

[0197] It should be noted that the specific processing procedures of network element 1201 and terminal 1202 have been detailed above and will not be repeated here.

[0198] In an exemplary embodiment, this application also provides a storage medium, namely a computer storage medium, specifically a computer-readable storage medium. For example, it may include a first memory 1003 storing a computer program, which can be executed by a first processor 1002 of a network element 1000 to complete the steps described in the aforementioned first network element-side method. Another example is a second memory 1103 storing a computer program, which can be executed by a second processor 1102 of a terminal 1100 to complete the steps described in the aforementioned terminal-side method. The computer-readable storage medium may be a memory such as FRAM, ROM, PROM, EPROM, EEPROM, Flash Memory, magnetic surface memory, optical disc, or CD-ROM.

[0199] In an exemplary embodiment, this application also provides a computer program product, including a computer program that can be executed by a first processor 1002 of a network element 1000 to complete the steps described in the aforementioned first network element-side method, or the computer program can be executed by a second processor 1102 of a terminal 1100 to complete the steps described in the aforementioned terminal-side method.

[0200] It should be noted that terms such as "first" and "second" are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence.

[0201] Furthermore, the technical solutions described in the embodiments of this application can be combined arbitrarily without conflict.

[0202] The above description is merely a preferred embodiment of this application and is not intended to limit the scope of protection of this application.

Claims

1. A session establishment method, characterized in that, Applied to the first network element, including: The receiving terminal sends first information, which is used to request the establishment of a first session for communication association between the terminal and the first entity, and the first session is used for data transmission between the terminal and the first network element. Using the first information and the second information, the first port configured for the first network element corresponding to the first session is determined, and the second information represents one or more ports configured for the first network element. A third message is sent to the terminal, the third message containing relevant information about the first port.

2. The method according to claim 1, characterized in that, The step of determining the first port configured for the first network element corresponding to the first session using the first information and the second information includes: If the first network element is configured with a port, then the configured port will be designated as the first port.

3. The method according to claim 1, characterized in that, The step of determining the first port configured for the first network element corresponding to the first session using the first information and the second information includes: If the first network element is configured with multiple ports, select one port from the configured ports and designate the selected port as the first port.

4. The method according to claim 1, characterized in that, The second information includes 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. The method according to claim 1, characterized in that, The first information represents the type of the first session.

6. The method according to claim 1, characterized in that, The first session includes a long-connection session.

7. The method according to claim 1, characterized in that, The first information further includes information related to the second port configured on the terminal corresponding to the first session and fourth information, wherein the fourth information is used to identify the terminal, and the method further includes: Using the first information and the relevant information of the first port, fifth information is generated. The fifth information represents the correspondence between the relevant information of the second port, the relevant information of the first port, and the fourth information. The fifth information is used to realize data transmission between the terminal and the first entity.

8. The method according to claim 7, characterized in that, The method further includes: Receive one or more data packets; Using the fifth piece of information, one or more data packets are sent to the first entity.

9. The method according to claim 8, characterized in that, The step of sending one or more data packets to the first entity using the fifth information includes: For each of the one or more data packets, determine the relevant information of the second port and the relevant information of the first port corresponding to the data packet; Using the fifth piece of information, the identifier-related information of the terminal associated with the relevant information of the second port and the relevant information of the first port is determined; Send data packets to the first entity corresponding to the determined terminal.

10. The method according to any one of claims 1 to 9, characterized in that, The method further includes: The established first bearer is used to carry data transmission associated with the first session, and the first bearer is capable of carrying signaling transmission; or, Establish a non-GBR bearer with a non-guaranteed bit rate, and use the non-GBR bearer to carry data transmission associated with the first session.

11. A session establishment method, characterized in that, Applied to terminals, including: Send first information to the first network element, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the first network element; The system receives third information sent by the first network element, the third information containing relevant information about the first port configured by the first network element corresponding to the first session.

12. The method according to claim 11, characterized in that, The first information represents the type of the first session.

13. The method according to claim 11, characterized in that, The first session includes a long-connection session.

14. The method according to claim 11, characterized in that, The first information also includes information related to the second port configured on the terminal corresponding to the first session and a fourth information, wherein the fourth information is used to identify the terminal.

15. A session establishment apparatus, characterized in that, The first network element includes: The first receiving unit is configured to receive first information sent by the terminal, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the first network element; The determining unit is used to determine the first port configured by the first network element corresponding to the first session using the first information and the second information, wherein the second information represents one or more ports configured by the first network element. The first sending unit is used to send third information to the terminal, the third information including relevant information of the first port.

16. A session establishment apparatus, characterized in that, Settings in the terminal include: The second sending unit is used to send first information to the first network element. The first information is used to request the establishment of a first session for communication association between the terminal and the first entity. The first session is used for data transmission between the terminal and the first network element. The second receiving unit is used to receive third information sent by the first network element, the third information including relevant information of the first port configured by the first network element corresponding to the first session.

17. A network element, characterized in that, include: A first processor and a first communication interface; wherein... The first communication interface is used to receive first information sent by the terminal, the first information is used to request the establishment of a first session for communication association between the terminal and the first entity, and the first session is used for data transmission between the terminal and the network element; The first processor is configured to use the first information and the second information to determine the first port configured for the network element corresponding to the first session, wherein the second information represents one or more ports configured for the network element; and to send third information to the terminal through the first communication interface, wherein the third information includes relevant information of the first port.

18. A terminal, characterized in that, include: A second processor and a second communication interface; wherein... The second communication interface is used to send first information to the network element, the first information being used to request the establishment of a first session for communication association between the terminal and the first entity, the first session being used for data transmission between the terminal and the network element; and to receive third information sent by the network element, the third information containing relevant information of the first port configured by the network element corresponding to the first session.

19. A network element, characterized in that, include: A first processor and a first memory for storing computer programs capable of running on the processor. Wherein, when the first processor is used to run the computer program, it performs the steps of the method according to any one of claims 1 to 10.

20. A terminal, characterized in that, include: A second processor and a second memory for storing computer programs that can run on the processor. Wherein, when the second processor is used to run the computer program, it performs the steps of the method according to any one of claims 11 to 14.

21. A storage medium having a computer program stored thereon, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10, or the steps of the method according to any one of claims 11 to 14.

22. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the steps of the method according to any one of claims 1 to 10, or the steps of the method according to any one of claims 11 to 14.