A PDU session establishment method, terminal device and chip system

By adding identification information to application data packets in the 5G communication system and matching URSP in the baseband processor, the problem of difficulty in establishing a data transmission channel between the application and the application server is solved, improving data transmission efficiency and user experience.

CN114080054BActive Publication Date: 2024-09-24HUAWEI TECH CO LTD
View PDF 0 Cites 1 Cited by

Patent Information

Application Number
CN202010813681.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2020-08-13
Publication Date
2024-09-24
Estimated Expiration
2040-08-13

AI Technical Summary

Technical Problem

In the 5G communication system, when the data transmission channel between the application and the application server is established, the lack of valid identification information causes the baseband processor to be unable to match and select the appropriate URSP, resulting in the PDU session not being established, affecting data transmission efficiency.

Method used

By adding the identification information of the application program to the data packet in the application processor, and the baseband processor searches for the URSP corresponding to the identification information in the URSP list, determines the PDU session activation parameters to establish a PDU session, and provides a link between the application program and the application server. Provide data transmission channel.

Benefits of technology

Effective URSP matching and PDU session establishment are achieved, improving data transmission rate and user experience, and avoiding resource waste and network anomalies.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114080054B
    Figure CN114080054B
Patent Text Reader

Abstract

The present application relates to the field of communication technology, and provides a PDU session establishment method, a terminal device, and a chip system. The method is applied to a terminal device, and the terminal device includes an application processor and a baseband processor. A URSP list is stored in the baseband processor, and the URSP list includes at least one URSP. The method includes: the application processor obtains a first data packet of an application, adds identification information of the application to the first data packet to form a second data packet, and sends the second data packet to the baseband processor. The baseband processor searches the URSP list for the URSP corresponding to the identification information, determines the PDU session activation parameters according to the URSP, and establishes a PDU session according to the PDU session activation parameters, and the PDU session is used to transmit the second data packet. The PDU session establishment method provided in this embodiment can perform URSP matching selection and establish a PDU session through the baseband processor, and provide a data transmission channel for the application and the application server.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a PDU session establishment method, terminal equipment and chip system. Background Art

[0002] The fifth-generation mobile communication system (referred to as 5G communication system) includes multiple network slices (NS). Each network slice can provide different service carrying capabilities for different applications at the same time, thereby improving the flexibility and service adaptability of the 5G communication system.

[0003] Applications are usually installed on terminal devices. Since the communication between the application and the application server requires a data transmission channel, and the 5G communication system supports protocol data unit (PDU) connection services, a PDU session can be established between the terminal device and the network slice as a data transmission channel between the application and the application server. Summary of the invention

[0004] The present application provides a PDU session establishment method, terminal device and chip system, so as to perform URSP matching selection and establish a PDU session through a baseband processor, and provide a data transmission channel for an application program and an application server.

[0005] In order to achieve the above objectives, this application adopts the following technical solutions:

[0006] In a first aspect, an embodiment of the present application provides a PDU session establishment method, which is applied to a terminal device, wherein the terminal device includes an application processor and a baseband processor, wherein a URSP list is stored in the baseband processor, and the URSP list includes at least one URSP. The method includes:

[0007] The application processor obtains a first data packet of an application program; adds identification information of the application program to the first data packet to form a second data packet; and sends the second data packet to the baseband processor.

[0008] The baseband processor searches for the URSP corresponding to the identification information in the URSP list; and, according to the URSP corresponding to the identification information, determines a PDU session activation parameter; and, according to the PDU session activation parameter, establishes a PDU session, where the PDU session is used to transmit a second data packet.

[0009] The first data packet sent by the application to the application processor usually passes through the application processor to the baseband processor, and then is sent by the baseband processor to the core network device, and finally is sent by the core network device to the application server. Since the first data packet sent by the application may not include the identification information of the application, the baseband processor may not be able to perform URSP matching selection and establish a PDU session based on its identification information.

[0010] In this embodiment, the application processor first adds the identification information of the application to each first data packet of the application, forms a second data packet, and then sends the second data packet to the baseband processor. Subsequently, the baseband processor can obtain the identification information of the application, determine the corresponding URSP in the URSP list according to the identification information, and establish a PDU session according to the URSP. Therefore, the PDU session establishment method provided in this embodiment can perform URSP matching selection and establish a PDU session through the baseband processor, providing a data transmission channel for the application and the application server.

[0011] In some embodiments, the identification information is an application identifier App ID, or a user account identifier UID, wherein the AppID is used to uniquely identify the application, and the UID is used to uniquely identify a user account of the application.

[0012] In some embodiments, if the identification information is an App ID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: the baseband processor searches the URSP list for a URSP corresponding to the App ID.

[0013] Through the PDU session establishment method provided in this embodiment, the baseband processor can determine the App ID of the second data packet to be transmitted, and perform URSP matching selection and establish a PDU session based on the App ID, providing a data transmission channel between the application and the application server.

[0014] In some embodiments, if the identification information is a UID, the baseband processor searches for a URSP corresponding to the identification information in the URSP list, including: the baseband processor determines the App ID corresponding to the UID according to a preset correspondence table, the correspondence table includes the correspondence between the UID and the App ID; and, searches for the URSP corresponding to the App ID in the URSP list.

[0015] Through the PDU session establishment method provided in this embodiment, the baseband processor can determine the UID of the second data packet to be transmitted, and perform URSP matching selection and establish a PDU session based on the UID, providing a data transmission channel for the application and the application server.

[0016] In some embodiments, the application processor adds identification information of the application to the first data packet to form a second data packet, including: the application processor adds identification information of the application to an unoccupied field of the Ethernet header or Ethernet tail of the first data packet to form the second data packet.

[0017] By adding the identification information to an unoccupied field in the Ethernet header or the Ethernet tail of the first data packet, it is avoided that the application processor adds a new field to the first data packet, which helps to save resources.

[0018] In some embodiments, before the application processor obtains the first data packet of the application, the method also includes: the baseband processor sends a registration request to the core network device; and, receives a registration acceptance message sent by the core network device, the registration acceptance message carrying network slice selection auxiliary information AllowedNSSAI that the core network device allows the terminal device to use; and, stores the Allowed NSSAI.

[0019] It can be understood that after the baseband processor registers with the core network and stores the Allowed NSSAI locally, in the process of determining the PDU session activation parameters according to the URSP, the baseband processor can select the legal S-NSSAI in the URSP according to the Allowed NSSAI to establish the PDU session.

[0020] In some embodiments, after the baseband processor stores the Allowed NSSAI and before the application processor obtains the first data packet sent by the application, the method also includes: the baseband processor receives a terminal device management command sent by the core network device, the command carrying at least one URSP; and stores the at least one URSP to form a URSP list; and sends a terminal device management completion message to the core network device, the message being used to indicate that the baseband processor has processed the terminal device management command.

[0021] It can be understood that only after the baseband processor stores the URSP list locally can it execute the URSP matching strategy based on the URSP list locally according to the identification information of the application program to establish a PDU session.

[0022] In some embodiments, the PDU session activation parameters include single network slice selection assistance information S-NSSAI, a data network name DNN, and a protocol type; wherein the S-NSSAI is included in the allowed network slice selection assistance information AllowedNSSAI.

[0023] In some embodiments, the method further includes: the baseband processor receives a configuration update command sent by the core network device, the configuration update command carries a first URSP and a second URSP, the second URSP is an updated URSP of the first URSP; and, according to the configuration update command, replaces the first URSP in the URSP list with the second URSP.

[0024] This method can be used to update invalid URSPs in the URSP list, thereby avoiding network anomalies during the operation of the application to a certain extent.

[0025] In some embodiments, the baseband processor establishes a PDU session according to the PDU session activation parameter, including: the baseband processor determines an established PDU session; if there is no PDU session established according to the PDU session activation parameter in the established PDU session, the baseband processor establishes the PDU session according to the PDU session activation parameter. This method can avoid the problem of repeated establishment of PDU sessions according to the same PDU session activation parameter by the baseband processor to a certain extent, resulting in a waste of resources.

[0026] In some embodiments, the baseband processor is a modem.

[0027] In a second aspect, an embodiment of the present application provides a terminal device, which includes an application processor and a baseband processor. The baseband processor stores a terminal device routing selection strategy URSP list, and the URSP list includes at least one URSP.

[0028] The application processor is configured to obtain a first data packet of an application; add identification information of the application to the first data packet to form a second data packet; and send the second data packet to the baseband processor.

[0029] The baseband processor is configured to search for a URSP corresponding to the identification information in the URSP list; determine a PDU session activation parameter based on the URSP corresponding to the identification information; and establish a PDU session based on the PDU session activation parameter, where the PDU session is used to transmit a second data packet.

[0030] In some embodiments, the identification information is an application identifier App ID, or a user account identifier UID.

[0031] In some embodiments, if the identification information is an App ID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: the baseband processor searches the URSP list for a URSP corresponding to the App ID.

[0032] In some embodiments, if the identification information is a UID, the baseband processor searches for a URSP corresponding to the identification information in the URSP list, including: the baseband processor determines the App ID corresponding to the UID according to a preset correspondence table, the correspondence table including the correspondence between the UID and the App ID; and, searches for the URSP corresponding to the App ID in the URSP list.

[0033] In some embodiments, the application processor adds identification information of the application program to the first data packet to form a second data packet, specifically including:

[0034] The application processor adds identification information of the application program to an unoccupied field of the Ethernet header or the Ethernet tail of the first data packet to form a second data packet.

[0035] In some embodiments, before the application processor obtains the first data packet of the application, the baseband processor is also configured to send a registration request to the core network device; receive a registration acceptance message sent by the core network device, the registration acceptance message carrying the network slice selection auxiliary information Allowed NSSAI allowed by the core network device for the terminal device to use; and store the Allowed NSSAI.

[0036] In some embodiments, after the baseband processor stores the Allowed NSSAI and before the application processor obtains the first data packet sent by the application, the baseband processor is further configured to: receive a terminal device management command sent by a core network device, the command carrying at least one URSP; store the at least one URSP to form a URSP list; and send a terminal device management completion message to the core network device, which is used to indicate that the baseband processor has processed the terminal device management command.

[0037] In some embodiments, the PDU session activation parameters include single network slice selection assistance information S-NSSAI, a data network name DNN, and a protocol type; wherein the S-NSSAI is included in the allowed network slice selection assistance information AllowedNSSAI.

[0038] In some embodiments, the baseband processor is further configured to receive a configuration update command sent by a core network device, the configuration update command carrying a first URSP and a second URSP, the second URSP being an updated URSP of the first URSP; and, according to the configuration update command, replace the first URSP in the URSP list with the second URSP.

[0039] In some embodiments, the baseband processor establishes a PDU session according to the PDU session activation parameters, including: the baseband processor determines an established PDU session; if a PDU session established according to the PDU session activation parameters does not exist in the established PDU sessions, the baseband processor establishes a PDU session according to the PDU session activation parameters.

[0040] In some embodiments, the baseband processor is a modem.

[0041] In a third aspect, an embodiment of the present application provides a chip system, including a memory, an application processor and a baseband processor coupled to the memory, the application processor and the baseband processor executing a computer program stored in the memory to implement the PDU session establishment method provided in the first aspect above.

[0042] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, which stores a computer program. When the computer program is executed by an application processor and a baseband processor, the PDU session establishment method provided in the first aspect above is implemented.

[0043] In a fifth aspect, an embodiment of the present application provides a computer program product. When the computer program product is run on a terminal device, the terminal device executes the PDU session establishment method provided in the first aspect above.

[0044] It can be understood that the beneficial effects of the second to fifth aspects mentioned above can be found in the relevant description of the first aspect mentioned above, and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0045] Figure 1 A schematic block diagram of a 5G communication system architecture provided in an embodiment of the present application;

[0046] Figure 2 A schematic diagram of an application scenario of network slicing provided in an embodiment of the present application;

[0047] Figure 3 A schematic diagram of the structure of a terminal device provided in an embodiment of the present application;

[0048] Figure 4 A flowchart of the first stage of establishing a PDU session provided by an embodiment of the present application;

[0049] Figure 5 A flow chart of the second phase of establishing a PDU session provided by an embodiment of the present application;

[0050] Figure 6 A flowchart of the URSP matching strategy provided in the embodiment of the present application;

[0051] Figure 7 A flowchart of the first stage of establishing a PDU session provided by another embodiment of the present application;

[0052] Figure 8 A flowchart of a method for establishing a PDU session provided in another embodiment of the present application;

[0053] Fig. 9 A schematic diagram of the structure of a data packet provided in an embodiment of the present application.

[0054] Fig.10 A flowchart of the second phase of establishing a PDU session provided by another embodiment of the present application;

[0055] Fig.11 A flowchart of the second phase of PDU session establishment provided for some other embodiments of the present application. DETAILED DESCRIPTION

[0056] An embodiment of the present application provides a PDU session establishment method, which is applicable to 5G communication systems, communication systems above 5G, future evolved public land mobile networks (PLMN), and subsequent communication systems supporting the third generation partnership project (3GPP) protocol version, but the embodiment of the present application does not limit this.

[0057] The following uses a 5G communication system as an example to illustrate the PDU session establishment method provided in an embodiment of the present application.

[0058] Figure 1 This is a schematic block diagram of the 5G communication system architecture provided in the embodiment of the present application. Figure 1 As shown, the 5G communication system includes: terminal equipment 110, access network equipment 120, core network equipment 130 and data network 160 (data network, DN).

[0059] The terminal device 110 may be connected to the access network device 120 deployed by the operator through a wireless air interface, and then connected to the data network 160 through the core network device 130. In this embodiment, the terminal device 110 may be a user equipment (UE), such as a smart phone, a tablet computer, a laptop computer, a smart wearable device, a personal digital assistant (PDA), etc.

[0060] The access network device 120 is mainly used to implement wireless physical layer functions, resource scheduling and wireless resource management, wireless access control and mobility management, etc. In this embodiment, the access network device can be an access network (AN) or a radio access network (RAN) device.

[0061] The core network device 130 includes a management device 140 and a gateway device 150. Among them, the management device 140 may include functional units such as access & mobility management function (AMF), session management function (SMF), and policy control function (PCF). These functional units can work independently or be combined to implement certain control functions. For example, AMF, SMF, and PCF can work together to complete access control and mobility management functions such as access authentication, security encryption, and location registration of terminal devices, as well as session management functions such as establishment, release, and change of user plane transmission paths, as well as functions for analyzing some network slice-related data and terminal device-related data. The gateway device 150 is mainly used to establish a channel with the terminal device and forward data packets between the terminal device and the external data network on the channel.

[0062] The data network 160 may correspond to a variety of different business domains, such as IP multimedia subsystem (IMS), the Internet, and business areas related to third-party applications, and is mainly used to provide a variety of data business services for terminal devices, which may include network devices such as servers (such as third-party application servers), routers, and gateways.

[0063] It should be noted that Figure 1 This is only an exemplary architecture diagram of a 5G communication system. Figure 1 In addition to the functional units shown in , the network architecture of the 5G communication system may also include other functional units or functional entities, which is not limited in this embodiment.

[0064] The 5G communication system includes multiple network slices. A network slice is a logical network formed by combining related business functions, network resources and network configurations in a physical network to meet specific business requirements (such as latency, jitter, packet loss rate, bandwidth, etc. within a specific range). Through network slicing, the 5G communication system can provide different business carrying capabilities for different applications (such as game applications, chat applications, etc.) at the same time, thereby improving the flexibility, business adaptability and resource utilization of the 5G network architecture.

[0065] Application manufacturers (i.e., application providers) sign a network slicing service contract with an operator, so that users can communicate with the corresponding application server through the network slice when running the application, thereby improving the smoothness of the application running in the terminal device and improving the user experience. Specifically, when an application manufacturer signs a network slicing service contract with an operator, they will negotiate with the operator to determine a quality of service rule (QoS rules). Among them, QoSrules stipulate the basic parameters such as bandwidth, latency, and packet loss rate of the data transmitted by the contracted network slice. After the QoS rules are determined, the operator's core network equipment will generate a terminal device routing selection policy (UEroute selectionpolicy, URSP).

[0066] The terminal device selects the corresponding network slice for the application according to the URSP and establishes a PDU session with the network slice so that the application can communicate with the application server. Among them, the URSP includes a traffic descriptor and a route selection descriptor.

[0067] Traffic descriptors are used to describe the characteristics of traffic transmitted by terminal devices, and may include any of the following parameters: application identification (App ID), target internet protocol (IP) triplet, data network name (DNN), fully qualified domain name (FQDN) of the access target, etc. App ID is used to uniquely identify an application, and IP triplet includes destination IP address, destination port number, and protocol type.

[0068] The routing descriptor is used to describe the parameters required for the terminal device to activate the PDU session with the network slice, which may include parameters such as network slice selection assistance information (NSSAI), DNN, and protocol type. Among them, NSSAI usually includes multiple single network slice selection assistance information (single-NSSAI, S-NSSAI), and S-NSSAI is used to uniquely identify a single network slice. In addition, the protocol type can be transmission control protocol (TCP), user datagram protocol (UDP), etc.

[0069] In some embodiments, the core network device can send the corresponding URSP to the terminal device based on the contract information between the terminal device and the operator. Exemplarily, a user can sign a contract to purchase a directional 5G network slice package through the operator's business hall, call the operator's customer service phone, etc. The resources in the package may include: 100GB of multi-network slice directional traffic for specified applications, and these specified applications may include application A, application B, application C, application D, etc. After the contract is successfully signed, or after the terminal device is successfully registered in the core network device, the core network device will send the relevant URSP of all specified applications within the package to the terminal device corresponding to the contracted mobile phone number. Exemplarily, the relevant URSP may include the URSP corresponding to application A, application B, application C, and application D.

[0070] It should be noted that each application may have multiple URSPs. Taking application A as an example, as shown in Table 1, the URSP of application A sent by the core network includes URSP-A1, URSP-A2 and URSP-A3. In each URSP of application A, the traffic descriptor is usually different, and the routing descriptor can be the same or different. For example, the traffic descriptors of URSP-A1, URSP-A2 and URSP-A3 can be App ID, IP triplet and DNN respectively, and the routing descriptors can be NSSAI1+DNN+TCP, NSSAI1+DNN+TCP and NSSAI2+DNN+TCP respectively. Among them, NSSAI can be a routing list, in which multiple S-NSSAIs corresponding to the traffic descriptors are recorded in sequence according to different priorities. Exemplarily, as shown in Table 2, in the routing selection list corresponding to NSSAI1, S-NSSAI1, S-NSSAI2, S-NSSAI3, S-NSSAI4 and S-NSSAI5 are included in descending order of priority.

[0071] Table 1 URSP of Application A

[0072]

[0073] Table 2 Routing list

[0074] S-NSSAI1 S-NSSAI2 S-NSSAI3 S-NSSAI4 S-NSSAI5

[0075] Figure 2 Schematic diagram of application scenarios of network slicing provided in the embodiment of the present application. Figure 2 , the application in the terminal device can select the corresponding network slice according to the URSP and connect to the corresponding application server. The network slice used by the application in the terminal device is determined according to the network slice service signed by the application manufacturer and the operator. The correspondence between each application and the network slice may include the following (1) to (3):

[0076] (1) Different applications can connect to different application servers through different network slices. For example, see Figure 2 , application A can use the first network slice to connect to application server A-1, and application B uses the third network slice to connect to application server B.

[0077] (2) The same application can connect to different application servers through different network slices. For example, see Figure 2 , application A can use the first network slice to connect to application server A-1, or use the second network slice to connect to application server A-2.

[0078] (3) Different applications can connect to different application servers through the same network slice. For example, see Figure 2 , application C can use the fourth network slice to connect to application server C. Application D can use the fourth network slice to connect to application server D.

[0079] However, only after the terminal device establishes a PDU session with the network slice can the application use the PDU session to communicate with the application server through the network slice. To this end, an embodiment of the present application provides a PDU session establishment method for establishing a PDU session between a terminal device and a network slice, thereby increasing the data transmission rate and improving the user experience.

[0080] See also Figure 3 , the terminal device involved in the embodiments of the present application may include an application layer (APP), an application processor (AP) and a baseband processor (such as a modem). Among them, the application layer may include a series of application packages, which may include game applications, chat applications, short messages, calendars, cameras, videos, navigation, galleries, calls and other applications. The application processor is used to provide an application programming interface (API) and a programming framework to each application of the application layer. The application processor may include some predefined functions, such as a function for receiving events sent by the application framework layer. The modem is used to send and receive messages from other devices (such as core network devices), converting digital signals into analog signals through modulation at the transmitting end, and converting analog signals into digital signals through demodulation at the receiving end.

[0081] The PDU session establishment process provided in this embodiment can be divided into two stages. In the first stage, the terminal device registers with the core network device after powering on, replacing the subscriber identity module (SIM) card, or canceling the flight mode. And if the terminal device has a network slice configured for use, the core network device sends a URSP to the terminal device after the terminal device successfully registers. In the second stage, the terminal device establishes a PDU session based on different applications. Specifically, the terminal device can execute the URSP matching strategy through the application processor to establish a PDU session with the network slice; it can also execute the URSP matching strategy through the modem to establish a PDU session with the network slice, as shown below.

[0082] Combine the following Figure 3 The terminal device shown introduces the two stages of establishing a PDU session.

[0083] Figure 4 A flowchart of the first stage of establishing a PDU session provided by an embodiment of the present application. Figure 4 The method specifically includes the following steps S401 to S409.

[0084] S401, the modem sends a registration request to a core network device.

[0085] For example, after the terminal device is turned on, the SIM card is changed, or the flight mode is canceled, the modem automatically sends a registration request to the terminal device, thereby initiating a registration process to the core network device. Alternatively, after the modem receives a command sent by the application processor, it sends a registration request to the core network device.

[0086] S402, the core network device sends a registration acceptance message to the modem, and the registration acceptance message carries allowed network slice selection auxiliary information (Allowed NSSAI).

[0087] After receiving the registration request sent by the terminal device, the core network device will send a registration acceptance message (Registration Accept) to the modem of the terminal device, and the registration acceptance message carries the Allowed NSSAI. The Allowed NSSAI is the NSSAI that the core network device allows the terminal device to use.

[0088] S403, the modem sends the Allowed NSSAI to the application processor.

[0089] S404: The application processor stores the Allowed NSSAI.

[0090] It can be understood that, in combination with the process of determining the PDU session activation parameters shown in steps S601-S609 below, after the application processor stores the Allowed NSSAI locally, it can select the legal S-NSSAI in the URSP to establish a PDU session based on the Allowed NSSAI during the process of determining the PDU session activation parameters based on the URSP.

[0091] Through the above steps S401 to S404, the terminal device is successfully registered in the core network device. After the terminal device is successfully registered in the core network device, illustratively, if the mobile phone number currently used by the terminal device has signed a network slicing service, or some application manufacturers have configured the terminal device with a network slice of the application provided by them, the core network device continues to execute subsequent steps S405-S409 to send the URSP corresponding to the above network slicing service to the terminal device.

[0092] S405, the core network device sends a terminal device management command (Manage UE policy command) to the modem of the terminal device, and the command carries at least one URSP.

[0093] Exemplarily, if the mobile phone number currently used by the terminal device has signed a contract for the 5G directional network slicing package provided in the above embodiment, the core network device can send the relevant URSP of all specified applications within the scope of the package to the terminal device through the downlink non-access layer transmission channel (DL NAS Transport). Exemplarily, the relevant URSP may include URSPs corresponding to application A, application B, application C, and application D.

[0094] S406: The modem sends the at least one URSP to the application processor.

[0095] S407: The application processor stores the at least one URSP to form a URSP list.

[0096] Since there are multiple operators in the 5G communication system, the terminal device can only use the network slice when the SIM card installed in the terminal device and the network slice to be used belong to the same operator. Therefore, after receiving the URSP code stream sent by the modem, the application processor needs to decode and verify the legitimacy of the URSP. Among them, the legitimacy verification of the URSP refers to determining whether the PLMN identification code carried by the URSP is the same as the PLMN identification code of the SIM card currently communicating with the terminal device. If they are not the same, it means that the URSP is legal and the URSP is stored. If they are not the same, the URSP is not stored. Among them, the PLMN identification code is used to identify the operator to which it belongs.

[0097] Exemplarily, based on the mobile phone number currently used by the terminal device, the 5G directional network slicing package provided in the above embodiment is signed, and the URSP list may be as shown in Table 3. The URSP list includes all URSPs sent by the core network device to the terminal device, including URSPs corresponding to application A, application B, application C, and application D. In the URSP list, the priority of each URSP decreases in order from top to bottom.

[0098] It should be noted that the URSP list includes at least one default URSP for a default network slice (i.e., Default URSP). In the Default URSP, its traffic descriptor is Match All, and each application can use the default network slice.

[0099] Table 3 URSP list

[0100] URSP-A1 URSP-A2 URSP-A3 URSP-B1 URSP-B2 … Default URSP

[0101] S408, the application processor sends a terminal equipment management completion message (Manage UE policy complete) to the modem.

[0102] After storing the URSP, the application processor sends a terminal device management completion message to the modem, wherein the terminal device management completion message is used to notify the core network device that the terminal device has responded to the terminal device management command.

[0103] S409, the modem sends a terminal device management completion message to the core network device.

[0104] Specifically, the modem may send a terminal device management completion message to the core network device via an uplink non-access layer transport channel (UL NAS Transport).

[0105] It should be noted that in the above process, if the URSP verification is illegal, the application processor deletes the URSP, and the modem sends a terminal device management reject message (ManageUE policy reject) to the core network device via UL NAS Transport to notify the core network device that the terminal device has rejected the terminal device management command.

[0106] In addition, in some embodiments, after the terminal device successfully registers with the core network device, the URSP of the application program to which it has signed a contract may change, for example, from the first URSP to the second URSP. If the URSP changes, the core network device sends a configuration update command to the terminal device, and the configuration update command may carry the first URSP and the second URSP, and is used to instruct the application processor to replace the first URSP in the URSP list with the second URSP.

[0107] The second stage of establishing the PDU session is described below based on the content of the first stage of establishing the PDU session shown in steps S401 to S409.

[0108] Figure 5 A flow chart of the second phase of establishing a PDU session provided for an embodiment of the present application. In the method, the application processor of the terminal device executes the URSP matching strategy and controls the establishment of a PDU session with the network slice. The method specifically includes the following steps S501 to S506.

[0109] S501: The application processor monitors that an application program arrives at the foreground and runs.

[0110] It should be understood that in this embodiment, the running of the application includes foreground running and background running.

[0111] In some embodiments, foreground operation means that the user can currently operate and control the application program during the operation of the terminal device, while background operation means that the user cannot operate and control the application program during the operation of the terminal device.

[0112] In other embodiments, when the application is running in the foreground, the current application is in the active state, and when the application is running in the background, the application is in the inactivity state.

[0113] S502, in response to the application arriving at the foreground to run, the application processor obtains identification information of a data packet of the application. Exemplarily, the identification information of the data packet may be App ID, IP triplet, DNN, FQDN, etc.

[0114] S503: The application processor searches for a PDU session activation parameter in the URSP list according to the identification information and the URSP matching policy.

[0115] After the application processor monitors that the application has arrived at the foreground to run, the application processor can use the identification information to match and select the corresponding URSP according to the URSP matching strategy (see steps S601-S609 shown below), and select the PDU session activation parameters from the URSP, so as to activate the corresponding PDU session according to the PDU session activation parameters in subsequent steps.

[0116] S504: The application processor sends a PDU session establishment request to the modem according to the PDU session activation parameter.

[0117] Since different applications may use the same network slice, the network slice corresponding to the PDU session activation parameter may have been activated, that is, the PDU session between the terminal device and the network slice has been established. Therefore, in one possible implementation, the application processor may first determine whether the network slice corresponding to the PDU session activation parameter has been successfully activated before sending a PDU session establishment request to the modem according to the PDU session activation parameter. If it has been activated successfully, there is no need to activate it again to avoid repeated operations. If it is not activated successfully, a PDU session establishment request is sent to the modem according to the PDU session activation parameter to activate the network slice. It should be noted that activating a network slice refers to establishing a PDU session between the terminal device and the network slice.

[0118] Among them, the PDU session establishment request carries a PDU session activation parameter to request activation of the PDU session of the network slice corresponding to the PDU session activation parameter. For example, when the PDU session activation parameter is S-NSSAI1, the PDU session establishment request is used to request activation of the PDU session with the network slice identified as S-NSSAI1.

[0119] S505: The modem sends the PDU session establishment request to the core network device.

[0120] S506: The core network device sends a PDU session acceptance message to the modem.

[0121] The PDU session establishment accept message carries a PDU session activation parameter, which is used to indicate that the PDU session of the network slice corresponding to the PDU session activation parameter has been activated. For example, when the PDU session activation parameter includes S-NSSAI1, the PDU session establishment accept message is used to indicate that the PDU session of the network slice corresponding to S-NSSAI1 has been activated.

[0122] S507: The modem sends a PDU session acceptance message to the application processor.

[0123] Through the above steps S501-S507, the terminal device can establish a PDU session with the network slice by executing the URSP matching strategy through the application processor according to the identification information of the data packet of the application. After the PDU session is activated, the application processor binds the data packet route containing the identification information to the PDU session. Thereafter, the data packet including the identification information can be transmitted through the PDU session, realizing communication between the application and the application server through the network slice.

[0124] Figure 6 The flowchart of the URSP matching strategy provided in the embodiment of the present application describes the process of searching for PDU session activation parameters in the URSP list according to the identification information of the data packet and the URSP matching strategy in the above step S503. The URSP matching strategy can be applied to the application processor or the modem. Specifically, it includes the following steps S601 to S608.

[0125] S601, start traversing the URSP list according to priority.

[0126] S602: Determine whether there is an unvisited URSP in the URSP list. If there is no unvisited URSP, the PDU activation parameter selection fails. If there is an unvisited URSP, execute the next step S603.

[0127] S603, matching the traffic descriptor of the highest priority URSP among the unvisited URSPs according to the identification information. Exemplarily, if the highest priority URSP among the unvisited URSPs is URSP-A1, and its traffic descriptor includes App ID, then matching the App ID of the application with the traffic descriptor.

[0128] S604, determining whether the traffic descriptor is matched successfully.

[0129] Specifically, if the App ID of the application is different from the traffic descriptor of the currently accessed URSP, the traffic descriptor matching fails, and the process returns to step S602. If they are the same, the traffic descriptor matching succeeds, indicating that the URSP selection is successful, and the next step S605 is executed.

[0130] S605: Start traversing the route selection list of the URSP according to the priority.

[0131] S606: Determine whether there is an unvisited S-NSSAI in the routing list.

[0132] Specifically, if there is an unvisited S-NSSAI in the routing list, the next step S607 is executed. If there is no unvisited S-NSSAI in the routing list, the next step S609 is executed.

[0133] S607: Determine whether the S-NSSAI with the highest priority among the unvisited S-NSSAIs is in the Allowed NSSAI list.

[0134] Specifically, if the S-NSSAI with the highest priority among the unvisited S-NSSAIs is not in the Allowed NSSAI list, the process returns to step S606. If the S-NSSAI with the highest priority is in the Allowed NSSAI list, the process proceeds to step S608.

[0135] S608: Select the S-NSSAI and the remaining routing information in the currently visited URSP as PDU session activation parameters.

[0136] In this embodiment, the remaining routing information refers to the remaining information in the routing descriptor except NSSAI, such as DNN, protocol type, etc. For example, taking China Mobile, the operator of the network slice, as an example, its DNN is cmnet, and its protocol type can be TCP protocol or UDP protocol, etc.

[0137] S609, select the remaining routing descriptors in the currently accessed URSP as PDU session activation parameters. It should be noted that since the terminal device does not select S-NSSAI, the terminal device uses the default network slice according to information such as DNN and protocol type.

[0138] Through the above steps S601 to S609, the PDU session activation parameters corresponding to the identification information can be selected.

[0139] Figure 7 A flowchart of the first stage of establishing a PDU session is provided in another embodiment of the present application. Figure 7 The method specifically includes the following steps S701 to S706.

[0140] S701, the modem sends a registration request to a core network device.

[0141] For example, after the terminal device is turned on, the SIM card is changed, or the flight mode is canceled, the modem will automatically send a registration request to the terminal device, thereby initiating a registration process to the core network device. Alternatively, after the modem receives a command sent by the application processor, it sends a registration request to the core network device.

[0142] S702, the core network device sends a registration acceptance message to the modem, where the message carries Allowed NSSAI.

[0143] For the specific content of step S702, please refer to S402, which will not be repeated here in this embodiment.

[0144] S703: The modem stores the Allowed NSSAI.

[0145] It can be understood that, in combination with the process of determining the PDU session activation parameters shown in steps S601-S609 above, after the modem stores the Allowed NSSAI locally, in the process of determining the PDU session activation parameters according to the URSP, it can select the legal S-NSSAI in the URSP according to the Allowed NSSAI to establish a PDU session.

[0146] Through the above steps S701 to S703, the terminal device is successfully registered in the core network.

[0147] After the terminal device successfully registers with the core network device, for example, if the mobile phone number currently used by the terminal device has signed a contract for a network slicing service, or some application manufacturers have configured the terminal device with a network slice of the application it provides, the core network device continues to execute subsequent steps S704-S706 to send the URSP corresponding to the above-mentioned network slicing service to the terminal device.

[0148] S704, the core network device sends a terminal device management command to the modem, where the command carries at least one URSP.

[0149] In this embodiment, the core network may send a terminal device management command via a downlink non-access layer transport channel (DL NAS Transport) to transfer the relevant URSP to the terminal device.

[0150] S705: The modem stores the at least one URSP to form a URSP list.

[0151] Specifically, after receiving the URSP code stream sent by the application processor, the modem decodes and verifies the legitimacy of the URSP, and stores the URSP after verifying the legitimacy to form a URSP list. For details about the legitimacy verification, please refer to step S407, which will not be repeated in this embodiment.

[0152] S706, the modem sends a terminal device management completion message to the core network device.

[0153] Specifically, the modem may send a terminal device management completion message to the core network device via an uplink non-access layer transport channel (UL NAS Transport).

[0154] It can be understood that only after the baseband processor stores the URSP list locally can it execute the URSP matching strategy based on the URSP list locally according to the identification information of the application program to establish a PDU session.

[0155] Compared with the process of the first stage of establishing a PDU session shown in steps S401-S409, the process shown in steps S701-S706 is simpler. In steps S701-S706, after obtaining parameters such as Allowed NSSAI and URSP, the modem directly stores them locally without forwarding them to the application processor, which helps to improve the efficiency of registration and URSP delivery.

[0156] It should be noted that, during the process of the terminal device registering with the core network, if the URSP verification is not legal, the modem deletes the URSP and sends a terminal device management rejection message to the core network device.

[0157] In addition, in some embodiments, after the terminal device successfully registers with the core network, its URSP may change, for example, from the first URSP to the second URSP. If the URSP changes, the core network device sends a configuration update command to the terminal device, and the configuration update command may carry the first URSP and the second URSP, which is used to instruct the modem to replace the first URSP in the URSP list with the second URSP.

[0158] The second stage of establishing the PDU session is described below based on the content of the first stage of establishing the PDU session shown in steps S701-S706.

[0159] Figure 8 A flowchart of the second stage of establishing a PDU session provided for an embodiment of the present application describes a process in which the modem side executes a URSP matching strategy to establish a PDU session, specifically including the following steps S801 to S807.

[0160] S801, the application sends a first data packet to an application processor.

[0161] During the running process, the application usually generates a plurality of first data packets and sends the first data packets to the application processor.

[0162] S802: The application processor adds the App ID to the first data packet to form a second data packet.

[0163] The application processor adds an App ID to each received first data packet to identify the application program to which the first data packet belongs.

[0164] See also Fig. 9 , the software system architecture of the terminal device may include an application layer, a TCP layer, an IP layer, and a physical layer. In the terminal device, the user data generated by the application during operation can be transmitted to the core network device through the application layer, the TCP layer, the IP layer, and the physical layer in sequence. First, the application layer adds an application header to the user data to form application data, and sends the application data to the TCP layer. Secondly, the TCP layer adds a TCP header to the application data to form a TCP segment. Subsequently, the IP layer adds an IP header to the TCP segment to form an IP data packet. Among them, the maximum size of the IP data packet is 1500 bytes. Finally, the physical layer adds an Ethernet header and an Ethernet tail to the IP data packet to form an Ethernet frame. In this embodiment, the application processor can add an App ID to an invalid field in the Ethernet header or tail of the data packet. Among them, the invalid field refers to a field that is not occupied.

[0165] It can be understood that the application processor avoids adding a new field to the first data packet by adding the identification information to an invalid field in the Ethernet header or the Ethernet trailer of the first data packet.

[0166] S803: The application processor sends the second data packet to the modem.

[0167] S804: The modem searches the URSP list for PDU session activation parameters according to the App ID and the URSP matching policy.

[0168] In step S804, the specific content of the PDU session activation parameter is searched in the URSP list according to the App ID and the URSP matching strategy. Please refer to steps S601 to S609, which will not be repeated in this embodiment.

[0169] S805, the modem sends a PDU session establishment request (PDU session establishment request) to the core network device according to the PDU session activation parameters.

[0170] Since different applications are installed in the terminal device, these applications may use the same network slice and access the same server, so they may have the same PDU session activation parameters. Therefore, in this embodiment, when the modem sends a PDU session establishment request to the terminal device according to the PDU session activation parameters, it first determines whether there is an established PDU session established according to the PDU session activation parameters. If the PDU session does not exist, a PDU session establishment request is sent to the core network device to establish a PDU session. If the PDU session exists, the modem no longer repeatedly establishes a PDU session according to the PDU session activation parameters, and uses the established PDU session to transmit the second data packet.

[0171] The PDU session establishment request carries a PDU session activation parameter to request activation of a PDU session of a network slice corresponding to the PDU session activation parameter. For example, when the PDU session activation parameter includes S-NSSAI1, the PDU session establishment request is used to request activation of a PDU session with a network slice identified as S-NSSAI1.

[0172] S806: The core network device sends a PDU session acceptance message to the modem.

[0173] Among them, the PDU session establishment accept message carries a PDU session activation parameter, which is used to indicate that the PDU session of the network slice corresponding to the PDU session activation parameter has been activated. For example, when the PDU session activation parameter includes S-NSSAI1, the PDU session acceptance message is used to indicate that the PDU session of the network slice corresponding to S-NSSAI1 has been activated.

[0174] After the PDU session is activated, the modem will bind the data packet routing containing the App ID to the PDU session. After that, the data packet including the App ID can be transmitted through the PDU session, enabling communication between the application and the application server through network slicing.

[0175] Those skilled in the art can understand that the first data packet sent by the application to the application processor usually first passes through the application processor to the modem, then is sent by the modem to the core network device, and finally is sent by the core network device to the application server. Since the first data packet sent by the application may not include the identification information of the application, the modem cannot perform URSP matching selection and establish a PDU session based on its identification information.

[0176] In this embodiment, the application processor first adds the identification information of the application to each first data packet of the application, forms a second data packet, and then sends the second data packet to the modem. Subsequently, the modem can obtain the identification information of the application, determine the corresponding URSP in the URSP list according to the identification information, and establish a PDU session according to the URSP. Therefore, the PDU session establishment method provided in this embodiment can perform URSP matching selection and establish a PDU session through the modem, providing a data transmission channel for the application and the application server.

[0177] Fig.10 A flow chart of the second phase of PDU session establishment provided for another embodiment of the present application describes the process of the modem executing the URSP matching strategy to establish a PDU session with the network slice, including the following steps S1001 to S1007.

[0178] It should be noted that before the second stage of PDU session establishment provided in this embodiment, the terminal device also needs to execute the first stage process of PDU session establishment shown in steps S701 to S706, which will not be repeated here in this embodiment. In addition, the application processor also needs to send the correspondence table between the user account identification (User Identification, UID) and App ID of each application to the modem for storage, and the modem forwards it to the core network device. Among them, UID is used to uniquely identify an account of an application, which can be the registered mobile phone number, registered email address number, registered ID number, account identification (Identification, ID) assigned by the application server, etc.

[0179] S1001, an application sends a first data packet to an application processor.

[0180] During the running process, the application usually generates a plurality of first data packets and sends the first data packets to the application processor.

[0181] S1002: The application processor adds the UID to the first data packet to form a second data packet.

[0182] In this embodiment, for the method in which the application processor adds the UID in the first data packet, please refer to the method in which the application processor adds the App ID in the first data packet in step S802, which will not be repeated in this embodiment.

[0183] S1003: The application processor sends the second data packet to the modem.

[0184] S1004: The modem determines the App ID corresponding to the UID according to a preset correspondence table.

[0185] Exemplarily, the correspondence table between UID and App ID may be shown in Table 4. Exemplarily, UID-A of application A corresponds to App ID-A. UID-B of application B corresponds to App ID-B.

[0186] Table 4 Correspondence table

[0187] UID App ID UID-A App ID-A UID-B App ID-B UID-C App ID-C UID-D App ID-D … …

[0188] S1005: The modem searches for PDU session activation parameters in the URSP list according to the App ID and the URSP matching policy.

[0189] S1006: The modem sends a PDU session establishment request to the core network device according to the PDU session activation parameters.

[0190] S1007, the core network device sends a PDU session acceptance message to the modem.

[0191] The contents of steps S1005-S1007 refer to steps S804-S806, which will not be described in detail in this embodiment.

[0192] In this embodiment, the terminal device can use the UID to execute the URSP matching strategy through the modem to establish a PDU session with the network slice. After the PDU session is activated, the modem will bind the data packet routing containing the UID to the PDU session. Thereafter, the data packet including the UID can be transmitted through the PDU session, enabling communication between the application and the application server through the network slice.

[0193] Fig.11 The flowchart of the second phase of establishing a PDU session provided for some other embodiments of the present application describes the process in which the modem executes the URSP matching strategy in the modem and establishes a PDU session according to the IP triplet, FQND or DNN. The method includes the following steps S1101-S1105.

[0194] S1101, the application sends a data packet to the application processor.

[0195] S1102, the application processor sends the data packet to the modem.

[0196] S1103, the modem searches for a PDU session activation parameter in the URSP list according to any one of the IP triplet, FQND, and DNN of the data packet and the URSP matching strategy.

[0197] Among them, the process of determining the PDU session activation parameters according to any one of the IP triplet, FQND, and DNN, please refer to the process of determining the PDU session activation parameters according to the identification information shown in steps S601-S608, and this embodiment will not be repeated here.

[0198] S1104: The modem sends a PDU session establishment request to the core network device according to the PDU session activation parameters.

[0199] S1105, the core network device sends a PDU session acceptance message to the modem.

[0200] For steps S1104-S1105, please refer to steps S805-S806, which will not be described in detail in this embodiment.

[0201] In this embodiment, the terminal device can establish a PDU session with the network slice by executing the URSP matching strategy through the modem according to the IP triplet, FQND or DNN. After the PDU session is activated, the modem will bind the data packet route containing the IP triplet, FQND or DNN to the PDU session to realize communication between the application and the application server through the network slice.

[0202] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.

[0203] Based on the PDU session establishment method provided by the above embodiment, the embodiment further provides a terminal device, which includes an application processor and a baseband processor, and the baseband processor stores a terminal device routing strategy URSP list, and the URSP list includes at least one URSP. The application processor is configured to obtain a first data packet of an application; add identification information of the application to the first data packet to form a second data packet; and send the second data packet to the baseband processor. The baseband processor is configured to search for a URSP corresponding to the identification information in the URSP list; determine a PDU session activation parameter according to the URSP corresponding to the identification information; and establish a PDU session according to the PDU session activation parameter, and the PDU session is used to transmit the second data packet.

[0204] In some embodiments, the identification information is an application identifier App ID, or a user account identifier UID.

[0205] In some embodiments, if the identification information is an App ID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: the baseband processor searches the URSP list for a URSP corresponding to the App ID.

[0206] In some embodiments, if the identification information is a UID, the baseband processor searches for a URSP corresponding to the identification information in the URSP list, including: the baseband processor determines the App ID corresponding to the UID according to a preset correspondence table, the correspondence table including the correspondence between the UID and the App ID; and, searches for the URSP corresponding to the App ID in the URSP list.

[0207] In some embodiments, the application processor adds identification information of the application to the first data packet to form a second data packet, specifically including: the application processor adds identification information of the application to an unoccupied field of the Ethernet header or Ethernet tail of the first data packet to form the second data packet.

[0208] In some embodiments, before the application processor obtains the first data packet of the application, the baseband processor is also configured to send a registration request to the core network device; receive a registration acceptance message sent by the core network device, the registration acceptance message carrying the network slice selection auxiliary information Allowed NSSAI allowed by the core network device for the terminal device to use; and store the Allowed NSSAI.

[0209] In some embodiments, after the baseband processor stores the Allowed NSSAI and before the application processor obtains the first data packet sent by the application, the baseband processor is further configured to: receive a terminal device management command sent by the core network device, the command carrying the URSP; store the at least one URSP to form a URSP list; and send a terminal device management completion message to the core network device, which is used to indicate that the baseband processor has processed the terminal device management command.

[0210] In some embodiments, the PDU session activation parameters include single network slice selection assistance information S-NSSAI, a data network name DNN, and a protocol type; wherein the S-NSSAI is included in the allowed network slice selection assistance information AllowedNSSAI.

[0211] In some embodiments, the baseband processor is further configured to receive a configuration update command sent by a core network device, the configuration update command carrying a first URSP and a second URSP, the second URSP being an updated URSP of the first URSP; according to the configuration update command, the first URSP in the URSP list is replaced with the second URSP.

[0212] In some embodiments, the baseband processor establishes a PDU session according to the PDU session activation parameters, including: the baseband processor determines an established PDU session; if a PDU session established according to the PDU session activation parameters does not exist in the established PDU sessions, the baseband processor establishes a PDU session according to the PDU session activation parameters.

[0213] In some embodiments, the baseband processor is a modem.

[0214] An embodiment of the present application also provides a chip system, which includes a memory, an application processor and a baseband processor coupled to the memory, and the application processor and the baseband processor execute a computer program stored in the memory to implement the PDU session establishment method provided in the above embodiment.

[0215] An embodiment of the present application also provides a computer-readable storage medium, which stores a computer program, and is characterized in that when the computer program is executed by an application processor and a baseband processor, the PDU session establishment method provided in the above embodiment is implemented.

[0216] It should be understood that the computer-readable medium in this embodiment may include at least: any entity or device capable of carrying computer program code to a terminal device, a recording medium, a computer memory, a read-only memory (ROM), a random access memory (RAM), an electric carrier signal, a telecommunication signal, and a software distribution medium. For example, a USB flash drive, a mobile hard disk, a magnetic disk, or an optical disk. In some jurisdictions, according to legislation and patent practice, a computer-readable medium cannot be an electric carrier signal or a telecommunication signal.

[0217] The embodiment of the present application also provides a computer program product, which, when executed on a terminal device, enables the terminal device to execute the PDU session establishment method provided in the above embodiment. The computer program includes computer program code, which may be in source code form, object code form, executable file or some intermediate form.

[0218] Technical personnel in the relevant field can clearly understand that for the convenience and conciseness of description, the specific working processes of the network slice management system, application server and terminal device described above can refer to the corresponding processes in the aforementioned method embodiments and will not be repeated here.

[0219] It should be understood that in the description of the present application specification and the appended claims, the terms "first", "second", "third", etc. are only used to distinguish the descriptions and should not be understood as indicating or implying relative importance.

[0220] References to "one embodiment" or "some embodiments" etc. described in the specification of this application mean that one or more embodiments of the present application include specific features, structures or characteristics described in conjunction with the embodiment. Therefore, the statements "in one embodiment", "in some embodiments", "in some other embodiments", "in some other embodiments", etc. that appear in different places in this specification do not necessarily refer to the same embodiment, but mean "one or more but not all embodiments", unless otherwise specifically emphasized in other ways. The terms "including", "comprising", "having" and their variations all mean "including but not limited to", unless otherwise specifically emphasized in other ways.

[0221] Finally, it should be noted that the above is only a specific implementation of the present application, but the protection scope of the present application is not limited thereto. Any changes or substitutions within the technical scope disclosed in the present application should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A PDU session establishment method, applied to a terminal device, wherein the terminal device includes an application processor and a baseband processor, characterized in that: The baseband processor stores a terminal device routing selection strategy URSP list, wherein the URSP list includes at least one URSP; the method includes: The application processor obtains a first data packet of an application program, wherein the first data packet includes application data to be transmitted through a protocol data unit (PDU) session; and adding identification information of the application to the first data packet to form a second data packet; and, Sending the second data packet to the baseband processor; The baseband processor searches the URSP list for a URSP corresponding to the identification information; and Determining a PDU session activation parameter according to the URSP corresponding to the identification information; and A PDU session is established according to the PDU session activation parameters, and the PDU session is used to transmit the second data packet.

2. The method according to claim 1, characterized in that: The identification information is an application identifier App ID, or a user account identifier UID.

3. The method according to claim 2, characterized in that If the identification information is an App ID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: The baseband processor searches the URSP list for the URSP corresponding to the AppID.

4. The method according to claim 2, characterized in that: If the identification information is a UID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: The baseband processor determines the AppID corresponding to the UID according to a preset correspondence table, wherein the correspondence table includes a correspondence between the UID and the App ID; and, The URSP corresponding to the AppID is searched in the URSP list.

5. The method according to any one of claims 1 to 4, characterized in that: The application processor adds identification information of the application program to the first data packet to form a second data packet, including: The application processor adds the identification information to an unoccupied field of the Ethernet header or the Ethernet tail of the first data packet to form the second data packet.

6. The method according to any one of claims 1 to 4, characterized in that: Before the application processor obtains the first data packet of the application program, the method further includes: The baseband processor sends a registration request to the core network device; and, receiving a registration acceptance message sent by the core network device, wherein the registration acceptance message carries network slice selection auxiliary information Allowed NSSAI that the core network device allows the terminal device to use; and, The Allowed NSSAI is stored.

7. The method according to claim 6, characterized in that After the baseband processor stores the AllowedNSSAI and before the application processor obtains a first data packet sent by the application, the method further includes: The baseband processor receives a terminal device management command sent by the core network device, wherein the command carries the at least one URSP; and storing the at least one URSP to form a URSP list; and, A terminal device management completion message is sent to the core network device, where the message is used to indicate that the baseband processor has processed the terminal device management command.

8. The method according to claim 6, characterized in that The PDU session activation parameters include single network slice selection auxiliary information S-NSSAI, data network name DNN and protocol type; wherein the S-NSSAI is included in the Allowed NSSAI.

9. The method according to any one of claims 1 to 4, characterized in that: The method further comprises: The baseband processor receives a configuration update command sent by a core network device, where the configuration update command carries a first URSP and a second URSP, where the second URSP is a URSP after the first URSP is updated; and According to the configuration update command, the first URSP in the URSP list is replaced with the second URSP.

10. The method according to any one of claims 1 to 4, characterized in that: The baseband processor establishes a PDU session according to the PDU session activation parameter, including: If there is no PDU session established according to the PDU session activation parameter in the established PDU sessions, the baseband processor establishes the PDU session according to the PDU session activation parameter.

11. The method according to any one of claims 1 to 4, characterized in that: The baseband processor is a modem.

12. A terminal device, comprising an application processor and a baseband processor, characterized in that: The baseband processor stores a terminal device routing selection strategy URSP list, wherein the URSP list includes at least one URSP; The application processor is configured to: Acquire a first data packet of an application, wherein the first data packet includes application data to be transmitted through a protocol data unit (PDU) session; Adding identification information of the application to the first data packet to form a second data packet; Sending the second data packet to the baseband processor; The baseband processor is configured to: Searching the URSP list for a URSP corresponding to the identification information; Determine a PDU session activation parameter according to the URSP corresponding to the identification information; A PDU session is established according to the PDU session activation parameters, and the PDU session is used to transmit the second data packet.

13. The terminal device according to claim 12, characterized in that: The identification information is an application identifier App ID, or a user account identifier UID.

14. The terminal device according to claim 13, characterized in that: If the identification information is an App ID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: The baseband processor searches the URSP list for the URSP corresponding to the AppID.

15. The terminal device according to claim 13, characterized in that: If the identification information is a UID, the baseband processor searches the URSP list for a URSP corresponding to the identification information, including: The baseband processor determines the AppID corresponding to the UID according to a preset correspondence table, wherein the correspondence table includes a correspondence between the UID and the App ID; and, The URSP corresponding to the AppID is searched in the URSP list.

16. The terminal device according to any one of claims 12 to 15, characterized in that: The application processor adds identification information of the application program to the first data packet to form a second data packet, specifically comprising: The application processor adds the identification information to an unoccupied field of the Ethernet header or the Ethernet tail of the first data packet to form the second data packet.

17. The terminal device according to any one of claims 12 to 15, characterized in that: Before the application processor obtains the first data packet of the application program, the baseband processor is further configured to: Send a registration request to the core network device; Receive a registration acceptance message sent by the core network device, where the registration acceptance message carries network slice selection auxiliary information Allowed NSSAI that the core network device allows the terminal device to use; The Allowed NSSAI is stored.

18. The terminal device according to claim 17, characterized in that: After the baseband processor stores the Allowed NSSAI and before the application processor obtains a first data packet sent by the application, the baseband processor is further configured to: receiving a terminal device management command sent by the core network device, wherein the command carries the at least one URSP; storing the at least one URSP to form a URSP list; A terminal device management completion message is sent to the core network device, where the message is used to indicate that the baseband processor has processed the terminal device management command.

19. The terminal device according to claim 17, characterized in that: The PDU session activation parameters include single network slice selection auxiliary information S-NSSAI, data network name DNN and protocol type; The S-NSSAI is included in the Allowed NSSAI.

20. The terminal device according to any one of claims 12 to 15, characterized in that: The baseband processor is further configured to: receiving a configuration update command sent by a core network device, where the configuration update command carries a first URSP and a second URSP, where the second URSP is a URSP after the first URSP is updated; According to the configuration update command, the first URSP in the URSP list is replaced with the second URSP.

21. The terminal device according to any one of claims 12 to 15, characterized in that: The baseband processor establishes a PDU session according to the PDU session activation parameter, including: If the PDU session established according to the PDU session activation parameter does not exist in the established PDU sessions, the baseband processor establishes the PDU session according to the PDU session activation parameter.

22. The terminal device according to any one of claims 12 to 15, characterized in that: The baseband processor is a modem.

23. A chip system, characterized in that: The chip system includes a memory, an application processor and a baseband processor coupled to the memory, and the application processor and the baseband processor execute a computer program stored in the memory to implement the protocol data unit PDU session establishment method as claimed in any one of claims 1 to 11.

24. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by the application processor and the baseband processor, the protocol data unit (PDU) session establishment method according to any one of claims 1 to 11 is implemented.

Citation Information

Cited By

  • PDU session establishment method, terminal device, and chip system

    WO2022033345A1