WO2022267872A1 - Network slice selection method and related apparatus - Google Patents

Network slice selection method and related apparatus Download PDF

Info

Publication number
WO2022267872A1
WO2022267872A1 PCT/CN2022/097210 CN2022097210W WO2022267872A1 WO 2022267872 A1 WO2022267872 A1 WO 2022267872A1 CN 2022097210 W CN2022097210 W CN 2022097210W WO 2022267872 A1 WO2022267872 A1 WO 2022267872A1
Authority
WO
WIPO (PCT)
Prior art keywords
network slice
pdu session
ursp
network
terminal device
Prior art date
Application number
PCT/CN2022/097210
Other languages
French (fr)
Chinese (zh)
Inventor
韩耀辉
宋平
赵志华
Original Assignee
华为技术有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 华为技术有限公司 filed Critical 华为技术有限公司
Publication of WO2022267872A1 publication Critical patent/WO2022267872A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W48/00Access restriction; Network selection; Access point selection
    • H04W48/18Selecting a network or a communication service
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W76/00Connection management
    • H04W76/10Connection setup

Definitions

  • the present application relates to the field of communication technologies, and in particular to a network slice selection method and related devices.
  • Network slicing refers to the integration of 5G networks into different functional requirements (such as billing, policy control, security, mobility, etc.) and different performance requirements (such as delay, mobility, reliability, etc.) Multiple logical subnets with different characteristics and isolated from each other are virtualized on a set of physical devices.
  • Terminal equipment can access network slices with different characteristics according to the terminal routing selection policy (UE route selection policy, URSP) code stream issued by the network equipment.
  • the terminal device establishes a protocol data unit session (protocol data unit session, PDU session) according to the URSP code stream, so as to access one of the multiple network slices associated with the URSP code stream.
  • protocol data unit session protocol data unit session, PDU session
  • the network slice used may not be suitable for the terminal device, and even if the PDU session is successfully established, the terminal device cannot use the network slice, thereby causing waste of resources.
  • Embodiments of the present application provide a method for selecting a network slice and a related device, which can avoid resource waste caused by terminal equipment using inappropriate network slices to establish a PDU session.
  • the embodiments of the present application provide a network slice selection method.
  • the terminal device obtains the routing strategy (URSP) code stream sent by the network device; according to the first parameter and the slice or service type (SST) field, from multiple network slices associated with the URSP code stream, determine the A network slice of a protocol data unit PDU session is established, and a PDU session is established based on the network slice used for establishing the PDU session.
  • the SST field is a field used in the URSP code stream to identify the type of each network slice in the multiple network slices associated with the URSP code stream.
  • the first parameter is a pre-configured parameter associated with the terminal device, and the first parameter is used to identify a network slice type applicable to the terminal device.
  • the network slice determined by the terminal device based on the first parameter and the SST field is a suitable network slice for the terminal device itself, that is, the terminal device adopts a suitable Network slicing to establish PDU sessions can avoid resource waste caused by terminal devices using inappropriate network slicing to establish PDU sessions.
  • the above-mentioned URSP code stream includes URSP rules with different priorities, and each URSP rule includes routing options with different priorities; the terminal device, according to the first parameter and the slice or service type (SST) field, From the multiple network slices associated with the URSP code stream, determine the network slice used to establish the PDU session. Among the multiple network slices associated with the URSP stream, select the first network slice; if the SST field of the first network slice matches the first parameter, determine the first network slice as the network used to establish the PDU session slice.
  • SST slice or service type
  • the terminal device first selects the first network slice according to the rules stipulated in the protocol (that is, the priority of URSP code stream and URSP rules).
  • the rules stipulated in the protocol that is, the priority of URSP code stream and URSP rules.
  • the terminal device can also configure a dialing factor for each group of routings associated with the URSP code stream, and the initial value of the dialing factor is the first value; the first value is a real number; Based on the first routing selection corresponding to the network slice used to establish the PDU session, in the case that each second network slice fails to establish the PDU session, the dialing factor of the first routing selection is subtracted from the second value that is not zero ; The second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
  • the terminal device is configured with a dialing factor for each group of routing, and when all the network slices in a routing that are applicable to the terminal device fail to establish a PDU session, the dialing factor of the routing is subtracted by a value that is not equal to A second value of zero to mark the routing to use when establishing a PDU session fails. Therefore, when the terminal device re-establishes the PDU session, the route selection used when the previous establishment of the PDU session fails, is beneficial to improve the efficiency of the terminal device in establishing the PDU session.
  • the terminal device may also configure a dialing factor for the network slice whose SST field matches the first parameter among the multiple network slices associated with the URSP, and the initial value of the dialing factor is the first value; the first The value is a real number; if the PDU session establishment fails based on the network slice used to establish the PDU session, the dialing factor of the network slice used to establish the PDU session is subtracted from a second value that is not zero.
  • the terminal device configures the dialing factor for the network slice applicable to the terminal device among multiple network slices, and when the terminal device fails to establish a PDU session using one of the network slices, the dialing factor of the network slice is subtracted by a value that is not equal to The second value of zero is used to mark the network slice used when the terminal device fails to establish the PDU session. Therefore, when the terminal device re-establishes the PDU session, the network slicing used when the PDU session fails to be established before is beneficial to improve the efficiency of the terminal device in establishing the PDU session.
  • the terminal device when it successfully establishes the PDU session based on the network slice used to establish the PDU session, it configures the dialing factor for the network slice used to establish the PDU session, and the initial value of the dialing factor is the first A value; the first value is a real number.
  • the terminal device configures the dial factor for the network slice used when the PDU session is established successfully, so as to mark the network slice used by the terminal device when the PDU session is successfully established. Therefore, it is beneficial for the terminal device to directly use the network slice configured with the dialing factor when re-establishing the PDU session, thereby improving the success rate of establishing the PDU session for the terminal device.
  • the terminal device can also determine whether the network where the terminal device is located changes, or the URSP code stream used to establish the PDU session at the current moment when the established PDU session is disconnected and reconnected to the network Whether there is a change; when the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, according to the dialing factor of the routing rule associated with the URSP code stream, or the dialing factor of the associated network slice, from the URSP Determine the network slice used to establish the PDU session among the multiple network slices associated with the code stream; establish the PDU session based on the network slice used to establish the PDU session.
  • the terminal device disconnects the established PDU session and reconnects to the network, if the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, the terminal device is based on the dialing factor of the routing rule. Or the dialing factor of the network slice to determine the network slice used to establish the PDU session.
  • This method can prevent the terminal device from using the routing or network slicing used when the PDU session failed to be established before, thereby improving the success rate of the terminal device to establish the PDU session.
  • the dialing factor is configured for each group of routing selections in the multiple routing selections associated with the URSP code stream .
  • the network slice used to establish the PDU session in the slice can refer to: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of routing selection level, select the second route selection in order of priority from high to low; when the dialing factor of the second route selection is greater than the first threshold, select the third network slice from the plurality of network slices associated with the second route selection; If the SST field of the third network slice matches the first parameter, the third network slice is determined as the network slice for establishing the PDU session.
  • a dialing factor is configured for each group of multiple routings associated with the URSP code stream. Then, the value of the dialing factor of the routing selection is greater than the first threshold, which can indicate that the number of times the terminal device fails to establish a PDU session using the network slice in the routing selection is within a certain range before the PDU session is disconnected, and the terminal device uses the routing selection.
  • the network slice in the route selection has a higher probability of successfully establishing a PDU session, and the terminal device can still use the network slice in the routing selection to establish a PDU session, which is beneficial to improve the success rate of the terminal device in establishing a PDU session.
  • the URSP Determining the network slice used to establish a PDU session among the multiple network slices associated with the code stream can also refer to: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the URSP rule The priority of the route selection and the priority of the route selection, select the second route selection in order of priority from high to low; when the dial factor of the second route selection is equal to the first value, select the associated multiple network slices from the second route , select the third network slice; if the SST field of the third network slice matches the first parameter, determine the third network slice as the network slice for establishing the PDU session.
  • the routing factor whose value is the first value is the routing selection that the terminal device has not used before.
  • the terminal device can use the network slices in these routing selections to establish a PDU session, which can also improve the terminal device.
  • the success rate of establishing a PDU session is because the routing factor whose value is the first value is the routing selection that the terminal device has not used before.
  • the second value is a positive number
  • the terminal device is configured with a dialing factor for the network slice applicable to the terminal device among multiple network slices; then, the terminal device is in the network where the terminal device is located Or when the URSP code stream used to establish the PDU session at the current moment has not changed, according to the dialing factor of the network slice associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, It can refer to: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of routing selection, select according to the order of priority from high to low
  • a third network slice configured with a dialing factor; when the dialing factor of the third network slice is greater than a first threshold or equal to a first value, determine the third network slice as a network slice for establishing a PDU session.
  • the terminal device configures the dialing factor for the network slice used when the PDU session is established successfully, then the URSP code used by the terminal device to establish the PDU session on the network where the terminal device is located or at the current moment
  • the dialing factor of the network slice associated with the URSP code stream determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream. It can also refer to: the network slice where the terminal device is located Or when the URSP code stream used to establish the PDU session at the current moment does not change, determine the network slice configured with the dial factor as the network slice used to establish the PDU session.
  • the terminal device directly uses the network slice configured with the dial factor to establish the PDU session, which can make the terminal device successfully establish the PDU session, that is, the success rate of the terminal device to establish the PDU session is improved.
  • the terminal device when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment changes, it indicates that the previously used URSP code stream is no longer applicable to the establishment of the current PDU session , so the terminal device clears the value of each dialing factor, and executes the first parameter, and the slice or service type (SST) field, from the multiple network slices associated with the URSP code stream, to determine the protocol data unit PDU session used to establish The steps of network slicing.
  • SST slice or service type
  • the present application further provides a communication device.
  • the communication device is capable of realizing some or all functions of the terminal device described in the first aspect above.
  • the function of the communication device may have the functions of some or all embodiments of the terminal device described in the first aspect of the present application, or may have the function of independently implementing any one of the embodiments of the present application.
  • the functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware.
  • the hardware or software includes one or more units or modules corresponding to the above functions.
  • the structure of the communication device may include a processing unit and a communication unit, and the processing unit is configured to support the communication device to perform corresponding functions in the foregoing method.
  • the communication unit is used to support communication between the communication device and other communication devices.
  • the communication device may further include a storage unit, which is used to be coupled with the processing unit and the transceiver unit, and stores necessary program instructions and data of the communication device.
  • the communication device includes:
  • a processing unit configured to acquire a routing policy (URSP) code stream sent by a network device;
  • URSP routing policy
  • the processing unit is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, wherein,
  • the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify A field of the type of each network slice in the multiple network slices associated with the URSP code stream;
  • the processing unit is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
  • the transceiver unit may be a transceiver or a communication interface
  • the storage unit may be a memory
  • the processing unit may be a processor
  • the communication device includes:
  • a processor configured to obtain a routing policy (URSP) code stream sent by a network device;
  • URSP routing policy
  • the processor is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, wherein,
  • the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify A field of the type of each network slice in the multiple network slices associated with the URSP code stream;
  • the processor is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
  • the communication device is a chip or a chip system.
  • the processing unit may also be embodied as a processing circuit or a logic circuit; the transceiver unit may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip or chip system.
  • the processor may be used to perform, for example but not limited to, baseband related processing
  • the transceiver may be used to perform, for example but not limited to, radio frequency transceiving.
  • the above-mentioned devices may be respectively arranged on independent chips, or at least partly or all of them may be arranged on the same chip.
  • processors can be further divided into analog baseband processors and digital baseband processors.
  • the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be set on an independent chip.
  • a digital baseband processor can be integrated with various application processors (such as but not limited to graphics processors, multimedia processors, etc.) on the same chip.
  • application processors such as but not limited to graphics processors, multimedia processors, etc.
  • SoC System on a Chip
  • the present application further provides a processor configured to execute the above various methods.
  • the process of sending the above information and receiving the above information in the above method can be understood as the process of outputting the above information by the processor and the process of receiving the input of the above information by the processor.
  • the processor When outputting the above information, the processor outputs the above information to the transceiver for transmission by the transceiver. After the above information is output by the processor, other processing may be required before reaching the transceiver.
  • the processor receives the above-mentioned input information
  • the transceiver receives the above-mentioned information and inputs it to the processor. Furthermore, after the transceiver receives the above information, the above information may need to be processed before being input to the processor.
  • the acquisition of the URSP code stream mentioned in the foregoing method can be understood as the processor inputting the URSP code stream.
  • the above-mentioned processor may be a processor dedicated to performing these methods, or may be a processor that executes computer instructions in a memory to perform these methods, such as a general-purpose processor.
  • the above-mentioned memory can be a non-transitory (non-transitory) memory, such as a read-only memory (Read Only Memory, ROM), which can be integrated with the processor on the same chip, or can be respectively arranged on different chips.
  • ROM read-only memory
  • the embodiment does not limit the type of the memory and the arrangement of the memory and the processor.
  • the present application further provides a communication system, where the system includes at least one terminal device and at least one network device according to the above aspect.
  • the system may further include other devices that interact with the terminal device and the network device in the solution provided by the present application.
  • the present application provides a computer-readable storage medium for storing computer software instructions, and when the instructions are executed by a communication device, the method described in the above-mentioned first aspect is implemented.
  • the present application further provides a computer program product including instructions, which, when run on a communication device, cause the communication device to execute the method described in the first aspect above.
  • the present application provides a chip system, which includes a processor and a communication interface, the communication interface is used to input and/or output information, and the processor is used to execute a computer executable program, so that the installed
  • the terminal device of the chip system executes the functions involved in the first aspect. For example, at least one of the data and information involved in the above methods is determined or processed.
  • the chip system further includes a memory, and the memory is configured to store necessary program instructions and data of the terminal.
  • the system-on-a-chip may consist of chips, or may include chips and other discrete devices.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • Fig. 2 is a schematic structural diagram of a URSP code stream provided by an embodiment of the present application
  • FIG. 3 is a schematic structural diagram of network slice selection auxiliary information for a single network slice provided by an embodiment of the present application
  • FIG. 4 is a schematic flow diagram of establishing a PDU session provided by an embodiment of the present application.
  • FIG. 5 is a schematic flowchart of a network slice selection method provided in an embodiment of the present application.
  • FIG. 6 is a schematic flowchart of another network slice selection method provided by an embodiment of the present application.
  • FIG. 7 is a block diagram of an implementation of establishing a PDU session provided by an embodiment of the present application.
  • FIG. 8 is a schematic flowchart of another network slice selection method provided by an embodiment of the present application.
  • FIG. 9 is another implementation block diagram of establishing a PDU session provided by an embodiment of the present application.
  • FIG. 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application.
  • Fig. 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application.
  • FIG. 12 is a schematic structural diagram of a chip provided by an embodiment of the present application.
  • FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application.
  • the communication system may include but not limited to a network device and a terminal device.
  • the number and form of devices shown in FIG. 1 are for example and do not constitute a limitation to the embodiment of the present application. In practical applications, two or more network devices and two or more terminal devices may be included.
  • the communication system shown in FIG. 1 is described by taking one network device and one terminal device, and the network device can provide services for the terminal device as an example.
  • the network equipment in FIG. 1 is an example of a base station
  • the terminal equipment is an example of a customer premise equipment (CPE) product. Understandably, the terminal device is not limited to CPE products, and may also be any user equipment capable of communicating with network devices, such as mobile phones and tablets.
  • CPE customer premise equipment
  • the technical solutions of the embodiments of the present application can be applied to various communication systems.
  • the fourth-generation mobile communication (4th-generation, 4G) system the fifth-generation mobile communication (5th-generation, 5G) system, the sixth-generation mobile communication (6th-generation, 6G) system and with the continuous development of communication technology Development
  • the technical solution of the embodiment of the present application can also be used in a subsequent evolved communication system, such as a seventh-generation mobile communication (7th-generation, 7G) system and so on.
  • the network device is a CN device in a core network (core network, CN).
  • the CN may include one or more CN devices.
  • the CN may include access and mobility management function (access and mobility management function, AMF) network elements, session management function (session management function, SMF) ) network element, user plane function (UPF) network element, policy control function (PCF) network element, unified data management (unified data management, UDM) network element, application function (application function, AF) ) Network elements, etc.
  • AMF access and mobility management function
  • SMF session management function
  • PCF policy control function
  • UDM unified data management
  • UDM application function
  • AF application function
  • the AMF network element is a control plane network element provided by the operator network, responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning temporary user IDs, authenticating and authorizing users, etc. .
  • the SMF network element is a control plane network element provided by the operator network, and is responsible for managing the protocol data unit (protocol data unit, PDU) session of the terminal device.
  • a PDU session is a channel for transmitting PDUs, and terminal devices need to transmit PDUs to and from a data network (DN) through the PDU session.
  • the PDU session is established, maintained and deleted by the SMF network element.
  • SMF network elements include session management (such as session establishment, modification and release, including tunnel maintenance between UPF and RAN), selection and control of UPF network elements, service and session continuity (service and session continuity, SSC) mode selection, Session-related functions such as roaming.
  • the UPF network element is the gateway provided by the operator, and is the gateway for communication between the operator's network and the DN.
  • the UPF network element includes functions related to the user plane such as data packet routing and transmission, packet detection, quality of service (QoS) processing, uplink packet detection, and downlink data packet storage.
  • QoS quality of service
  • the PCF network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the SMF network element.
  • Policies may include accounting-related policies, QoS-related policies, and authorization-related policies.
  • the AF network element is a functional network element that provides various capability exposure services. It provides an interface for an external third-party server to interact with the core network, and can interact with the core network through it, including interacting with the policy management framework for policy management.
  • CN may also include other possible network elements, such as network exposure function (network exposure function, NEF) network element, unified data repository (unified data repository, UDR) network element, network data analysis function ( network data analytics function, NWDAF) network element.
  • network exposure function network exposure function
  • UDR unified data repository
  • NWDAF network data analysis function
  • the terminal device includes a handheld device with a wireless connection function, or a processing device connected to a wireless modem.
  • the terminal equipment can communicate with the core network via the wireless access network, and the terminal equipment can include user equipment (user equipment, UE), wireless terminal equipment, mobile terminal equipment, and device-to-device communication (device-to-device, D2D) Terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) ) terminal equipment, subscriber unit, subscriber station, mobile station, remote station, access point (access point, AP), remote terminal, access terminal, user terminal, user agent, or user equipment, etc.
  • user equipment user equipment
  • UE wireless terminal equipment
  • mobile terminal equipment and device-to-device communication
  • V2X vehicle to everything
  • M2M/MTC machine-to-machine/machine-type communications
  • IoT Internet of things
  • UE may include mobile phones (or “cellular” phones), computers with mobile terminal equipment, portable, pocket, hand-held, computer built-in mobile devices, and the like.
  • PCS personal communication service
  • cordless telephone cordless telephone
  • session initiation protocol session initiation protocol
  • WLL wireless local loop
  • PDA personal digital assistant
  • UE is used to refer to terminal equipment in the following text.
  • This embodiment of the present application is applicable to a terminal device assigned a network slice type, for example, a mobile broadband (mobile broadband, MBB) product, or a CPE product included in an MBB product, and so on.
  • a mobile broadband (mobile broadband, MBB) product for example, a mobile broadband (mobile broadband, MBB) product, or a CPE product included in an MBB product, and so on.
  • MBB mobile broadband
  • CPE CPE product included in an MBB product
  • Embodiments disclosed in the application will present various aspects, embodiments or features of the application around a system including a plurality of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc. and/or may not include all of the devices, components, modules etc. discussed in connection with the figures. In addition, combinations of these schemes can also be used.
  • Network slicing refers to the integration of 5G networks into different functional requirements (such as billing, policy control, security, mobility, etc.) and different performance requirements (such as delay, mobility, reliability, etc.) Multiple logical subnets with different characteristics and isolated from each other are virtualized on a set of physical devices. Thus, terminal devices can access network slices with different characteristics.
  • Terminal routing selection policy (UE route selection policy, URSP) code stream.
  • the URSP code stream is the code stream that the network device sends to the UE through signaling when the UE completes network registration, and is used for the UE to establish a protocol data unit session (protocol data unit session, PDU session).
  • protocol data unit session protocol data unit session
  • a URSP code stream includes one or more URSP rules (URSP rule), each URSP rule includes a precedence value (precedence value), the precedence value of the URSP rule is used to indicate the order in which the UE uses the URSP rule , UE can determine the priority of URSP rule according to the precedence value of URSP rule.
  • each URSP rule also includes a triplet information, and one or more sets of route selection (route selection).
  • the triplet information includes an Internet Protocol (Internet Protocol, IP) address, protocol type, and port number.
  • Each group of route selection includes a precedence value. The precedence value of the route selection is used to indicate the order in which the UE uses the route selection.
  • Each group of route selection also includes a network slice selection assistance information (NSSAI), a data network name (data network name, DNN)/Internet Protocol type (Internet Protocol type, IP_type).
  • NSSAI network slice selection assistance information
  • DNN data network name
  • IP_type Internet Protocol type
  • S-NSSAI single network slice network slice selection assistance information
  • the S-NSSAI includes a first field for representing the type or service type (slice/service type, SST) of a single network slice, and the first field is 1 byte ( byte).
  • the first field is 1 byte ( byte).
  • the value of the first field is 1, it means that the network slice type or service type is enhanced mobile broadband (eMBB) type, and at this time, the first field can also correspond to 1 byte binary 00000001 ;
  • the value of the first field is 2, it means that the network slice type or service type is low-latency high-reliability communication (ultra-reliable&low-latency communication, URLLC) type, and the first field can also correspond to 1 byte at this time
  • the binary value is 00000010; when the value of the first field is 3, it means that the network slice type or service type is a massive machine type communication (mMTC) type, and the first field can also correspond to 1byte binary 00000011.
  • mMTC massive machine type communication
  • the S-NSSAI also includes a second field for identifying a slice differentiator (slice differentiator, SD), the second field includes 3 bytes, and the SD is used to distinguish multiple network slices of the same SST.
  • SD is optional in the URSP code stream, that is, SD is included or not included in the URSP code stream.
  • the terminal device initiates a registration request to the network device, that is, requests to register with the network; Through CPOLICYRPT signaling, the URSP code stream is notified to the terminal device; thus, the terminal device parses out the triplet information and traffic descriptor (traffic descriptor) carried in the URSP code stream according to the protocol standard, and according to the URSP code stream in the URSP code stream.
  • the priority value of the rule and the priority value of the route selection sort the URSP rule and the route selection; the terminal device then selects the appropriate network slice in the order of high priority first and then low priority (that is, carrying the S- NSSAI network slicing) to establish a PDU session; after the terminal device uses a certain network slice to successfully establish a PDU session (that is, the dial-up is successful), it will send the triplet information corresponding to the network slice used to establish the PDU session to the routing process of the terminal device
  • the upper layer application of the terminal device obtains various types of NSSAI from the modem through the AT (Attention) command and the C5GNSSAIRDP command.
  • the network slice selection auxiliary information configured by the terminal device (configure NSSAI), and the network slice selection auxiliary information rejected by the terminal device (reject NSSAI).
  • the S-NSSAI parsed by the subsequent terminal device from the URSP code stream must be included in the allowed NSSAI.
  • the network slice used may not be suitable for the terminal device. Even if the PDU session is established successfully, the terminal device The problem that the network slicing cannot be used also causes waste of resources of the established PDU sessions.
  • the terminal device is an MBB product
  • the MBB product is a product of a specified service type, and only supports network slices of type eMBB.
  • the highest priority determined in the highest priority URSP stream The URSP rule and the network slice type corresponding to the rote selection with the highest priority in the URSP rule are uRLLC types, that is, the network slice corresponding to the rote selection with the highest priority in the URSP rule with the highest priority is not suitable for this MBB product. That is to say, even if the MBB product uses this network slice to successfully establish a PDU session, but the MBB product cannot use this network slice, or the communication efficiency is low when using this network slice for network communication, then the established PDU session will be blocked. Waste, that is, the waste of the PDU session resources.
  • the embodiment of the present application provides a network slice selection method 100 .
  • the terminal device when the terminal device establishes a PDU session, it obtains the routing policy URSP code stream sent by the network device, and according to the first parameter and the corresponding SST field (first field), from the plurality of network slices, determine a network slice for establishing a PDU session, and establish a PDU session based on the determined network slice.
  • the first parameter is a pre-configured parameter used to identify the network slice type applicable to the terminal device, so the network slice determined by the terminal device according to the first parameter and the SST field is a suitable network slice for the terminal device itself, that is, the terminal
  • the device uses an appropriate network slice to establish a PDU session, which can avoid the waste of resources caused by the terminal device using an inappropriate network slice to establish a PDU session.
  • the embodiment of the present application also proposes a network slice selection method 200 when a terminal device initially registers successfully on a network and establishes a PDU session.
  • the network slice selection method 200 is different from the network slice selection method 100 in that, before the terminal device initially establishes a PDU session based on the determined network slice, it can also configure dialing for each of the multiple routing options associated with the URSP Factor (dialup factor).
  • the terminal device subtracts the dialing factor corresponding to the first routing selection, which is not zero
  • the second value of wherein each second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
  • This method marks the first routing selection in which the terminal device fails to establish a PDU session using all the network slices applicable to the terminal device in the first routing selection, so that the dialing factor corresponding to the routing selection corresponding to the network slice that fails to establish a PDU session is different.
  • the dialing factor corresponding to the route selection corresponding to the network slice where the PDU session is successfully established or the PDU session has not been established. Therefore, it is beneficial to improve the success rate of establishing a PDU session by selecting a network slice for establishing a PDU session according to the dialing factor selected by each route when the terminal device disconnects the established PDU session and establishes the PDU session again.
  • the embodiment of the present application also proposes a network slice selection method 300 for the terminal device when the established PDU session is disconnected, the network re-registration succeeds, and the PDU session is established.
  • the network slice selection method 300 when the terminal device disconnects the established PDU session and reconnects to the network, and the network where the terminal device is located has not changed, or the URSP code stream used to establish the PDU session has not changed, it is Based on the dialing factor corresponding to the route selection associated with the URSP code stream, or based on the dialing factor corresponding to the network slice associated with the URSP code stream, the network slice used to establish the PDU session is determined from multiple network slices. This method can prevent the terminal device from establishing a PDU session by using a failed route selection or network slicing before the established PDU session is disconnected, thereby improving the efficiency of the terminal device in establishing a PDU session.
  • FIG. 5 is a schematic flowchart of the network slice selection method 100 .
  • the network slice selection method 100 is described from the perspective of a terminal device.
  • the network slice selection method 100 includes but not limited to the following steps:
  • the terminal device obtains the routing policy (URSP) code stream sent by the network device.
  • URSP routing policy
  • the terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field.
  • the first parameter is the network slice with the terminal.
  • the pre-configured parameters associated with the device the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify the type of each network slice in the multiple network slices associated with the URSP code stream field.
  • the URSP code stream includes multiple URSP rules, each URSP rule includes multiple groups of routing options, each group of routing options includes an NSSAI, and the NSSAI includes one or more S-NSSAI, so the NSSAI Corresponds to one or more network slices, so the URSP code stream is associated with multiple network slices.
  • the URSP code stream includes multiple URSP rules with different priorities, and each URSP rule includes multiple routing options with different priorities, and the priority of each URSP rule is based on the priority of each URSP rule. The value is determined, and the priority of each route selection is determined according to the priority value of each route selection.
  • the terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, specifically, the terminal device According to the priority of the URSP rule and the priority of routing selection, the first network slice is selected from the multiple network slices associated with the URSP code stream in order of priority from high to low; the SST field of the first network slice and the first If the parameters match, the first network slice is determined as the network slice used to establish the PDU session.
  • SST slice or service type
  • the terminal device determines the multiple network slices corresponding to the routing selection with the highest priority in the URSP rule with the highest priority. If the routing selection with the highest priority corresponds to The SST field of the first network slice in the multiple network slices matches the first parameter, that is, the network slice type indicated by the SST field of the first network slice is the same as the network slice type identified by the first parameter, then the first network slice is Network slice used by end devices to establish PDU sessions.
  • the terminal device checks whether the SST field of the fourth network slice after the first network slice matches the first parameter in order of priority from high to low.
  • a parameter matching when the SST field of the fourth network slice matches the first parameter, determine the SST field of the fourth network slice as the network slice for establishing the PDU session.
  • the terminal device determines the multiple networks corresponding to the route with the second highest priority in the URSP rule with the highest priority slice, if the SST field of the fifth network slice among the multiple network slices corresponding to the route with the second highest priority matches the first parameter, then the fifth network slice is the network slice used by the terminal device to establish the PDU session.
  • the terminal device When the SST field of each network slice corresponding to the route with the second highest priority does not match the first parameter, the terminal device continues to determine the route with lower priority in the URSP rule with the highest priority For the corresponding multiple network slices, until the SST field of a certain network slice in the multiple network slices matches the first parameter, determine the network slice for establishing the PDU session.
  • the terminal device When the terminal device traverses all the network slices corresponding to the route selection in the URSP rule with the highest priority, and none of the network slices used to establish the PDU session is determined, the terminal device continues to follow the priority in the URSP rule with the second highest priority. Traverse each routing selection in the URSP rule with the second highest priority from high to low until the network slice used to establish the PDU session is determined.
  • the terminal device determines whether the SST field matches the first parameter according to the above byte (ie, the first field) used to represent the SST field. That is to say, after the terminal device determines a plurality of network slices corresponding to a route selection, if the network slice type indicated by the SST field of the first network slice among the multiple network slices is the same as the network slice type identified by the first parameter , then the first network slice is a network slice used to establish a PDU session.
  • the URSP code stream received by the terminal device includes URSP rule#1 with priority A and URSP rule#2 with priority B.
  • URSP rule#1 includes route selection#1 with priority A, route selection#2 with priority B, route selection#3 with priority C, route selection#1 includes network slice A, and route selection#2 includes network Slice B and network slice C.
  • URSP rule#2 with priority B includes route selection#4 with priority B and route selection#5 with priority C.
  • the priority of A is higher than the priority of B, and the priority of B is higher than the priority of C.
  • the terminal device When the terminal device establishes a PDU session, it determines that the URSP rule with the highest priority in the URSP code stream is URSP rule#1, and the route selection with the highest priority in URSP rule#1 is route selection#1, then determine the route selection#1
  • the SST field of the network slice A is used to indicate whether the network slice type is the same as the network slice type identified by the first parameter. For example, if the network slice type identified by the first parameter is eMBB type, and the value of the SST field of network slice A is 2, then the network slice type corresponding to network slice A is uRLLC type, that is, the SST field of network slice A is the same as the first The parameters do not match, and network slice A is not the network slice for establishing the PDU session.
  • the terminal device continues to judge whether the SST field of each network slice in route selection#2 with the second highest priority in URSP rule#1 matches the first parameter. If the value of the SST field of network slice C is 1, the network The network slice type of slice C is eMBB type, that is, the SST field of network slice C matches the first parameter, then network slice C is a network slice applicable to terminal devices, and is also a network slice used to establish a PDU session.
  • eMBB type that is, the SST field of network slice C matches the first parameter
  • the terminal device obtains the routing policy (URSP) code stream sent by the network device, which may specifically include: the terminal device initiates a registration request to the network device, and when the registration is successful, receives the URSP code stream from the network device flow. Thereby, the terminal device parses the URSP code stream, and obtains the priority of each URSP rule in the URSP code stream and the priority of the route selection included in each URSP rule.
  • URSP routing policy
  • the terminal device establishes a PDU session based on the network slice used to establish the PDU session.
  • the terminal device when it successfully establishes the PDU based on the network slice used to establish the PDU session, it sends the triplet information corresponding to the network slice to the routing process of the terminal device, so that the routing process Configure the network card information so that the terminal device can use the network slice.
  • the terminal device when the terminal device establishes the PDU session, it is established based on the network slice determined by the first parameter used to identify the network slice type applicable to itself and the SST fields corresponding to the multiple network slices associated with the URSP code stream. . Therefore, end devices are PDU sessions established with appropriate network slices. When the PDU session is established successfully, the terminal device can use the network slice, thereby avoiding resource waste caused by the terminal device establishing a PDU session by using an inappropriate network slice.
  • the embodiment of the present application also proposes a network slice selection method 200 when a terminal device initially registers successfully on a network and establishes a PDU session.
  • FIG. 6 is a schematic flowchart of a network slice selection method 200 .
  • the network slice selection method 200 includes but not limited to:
  • the terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field.
  • the first parameter is the network slice with the terminal.
  • the pre-configured parameters associated with the device the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify the type of each network slice in the multiple network slices associated with the URSP code stream field.
  • the terminal device configures a dialing factor for each of the multiple routings associated with the URSP code stream, and the initial value of the dialing factor is a first value; the first value is a real number.
  • S203a may also be executed before S201, or may also be executed between S201 and S202.
  • the URSP code stream includes multiple sets of routing options, so the URSP code stream is associated with multiple sets of routing options.
  • the terminal device will pre-configure a dial factor for each group of routing, and the initial value of each dial factor is the first value.
  • the first value may be any value, for example, the first value is 0, 1, and so on. That is, there is a dialing factor for each group of routing options in the URSP code stream.
  • the terminal device establishes a PDU session based on the network slice used to establish the PDU session.
  • the terminal device subtracts the dialing factor of the first routing selection from zero the second value of .
  • the second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
  • the second value is any value that is not zero, for example, the second value is -1, 0, 2, and so on.
  • the routing selection to which the network slice used to establish the PDU session belongs is the first routing selection.
  • the terminal device fails to establish a PDU session based on the first network slice corresponding to the first routing continue to use the network slice corresponding to the first routing whose SST field matches the first parameter to establish a PDU session.
  • the terminal device fails to establish a PDU session for all network slices whose SST field matches the first parameter based on the first route selection it subtracts the second value from the dialing factor of the first route selection, that is, the terminal device selects the first route based on the first parameter.
  • the dialing factor selected by the first route is subtracted from the second value.
  • This method is beneficial to improve the success rate of establishing the PDU session according to the dialing factor selected by each route when the terminal device disconnects the established PDU session and establishes the PDU session again.
  • the terminal device does not determine the network slice used to establish the PDU session from the routing with the dial factor being the third value, and the third value is the value obtained by subtracting the second value from the first value, that is, the terminal device does not determine the network slice used to establish the PDU session from the
  • the network slice for re-establishing the PDU session is determined in the routing selection of the unsuccessful PDU session establishment, so that the success rate of the PDU session establishment can be improved.
  • the terminal device determines that the URSP rule with the highest priority is URSP rule#1 according to the priority of the URSP rule and the priority of routing selection, and the routing selection with the highest priority in URSP rule#1 is routing #a, Routing #a includes network slice A, network slice B, and network slice C.
  • the network slice types indicated by the SST field of network slice A and network slice C are the same as the network slice type identified by the first parameter, and the network slice type indicated by the SST field of network slice B is different from the network slice type identified by the first parameter. Then, the terminal device first determines that network slice A is a network slice for establishing a PDU session.
  • the terminal device When the terminal device fails to establish the PDU session by using the network slice A, it determines that the network slice C is a network slice for establishing the PDU session. If the terminal device fails to establish a PDU session using network slice C, it means that the terminal device fails to establish a PDU session using the network slice applicable to the terminal device in routing #a. At this time, the terminal device subtracts the dialing factor of routing #a from the first binary value.
  • the terminal device further includes: the terminal device parses the URSP code stream, and obtains the priority of each URSP rule in the URSP code stream and the priority of the route selection included in each URSP rule .
  • the terminal device when the terminal device completes the network registration for the first time, it parses the URSP code stream from the network device, and determines the priority of each URSP rule and the priority of each route selection in the URSP code stream. The terminal device configures a dialing factor for each route associated with the URSP code stream, and the initial value of the dialing factor is the first value.
  • the terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, that is, according to the applicable network of the terminal device
  • the slice type determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream.
  • the dial factor of the route selection corresponding to the network slice is stored locally, that is, the dial factor of the route selection corresponding to the network slice is not processed; if the terminal device adopts the determined If the PDU fails to be established for the network slice, the second value is subtracted from the value of the dialing factor of the route selection corresponding to the network slice, and again according to the first parameter and the slice or service type (SST) field, from the associated URSP stream Among multiple network slices, determine the network slice used to establish the protocol data unit PDU session until the terminal device successfully establishes the PDU session.
  • SST slice or service type
  • the terminal device does not process the initial configuration value (first value) of the dialing factor of the route selection corresponding to the route selection corresponding to the network slice adopted when the PDU session is established successfully.
  • the value of the dialing factor of the route selection corresponding to the network slice is also an initial value (first value).
  • the terminal device when the terminal device completes network registration for the first time, it obtains the routing policy (URSP) code stream sent by the network device; according to the first parameter used to identify the network slice type applicable to the terminal device, and the URSP code stream
  • the SST fields corresponding to the associated multiple network slices determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP stream; and configure a dial factor for each routing associated with the URSP stream ; Therefore, in the first routing selection corresponding to the network slice used to establish the PDU session, if the second network slice applicable to the terminal device fails to establish the PDU session, the dialing factor of the first routing selection is reduced by Go to the second value that is not zero. Therefore, it is beneficial for the terminal device to establish the PDU session according to the dialing factor selected by the route when the established PDU session fails and to establish the PDU session again, thereby improving the success rate of the terminal device for re-establishing the PDU session.
  • URSP routing policy
  • the URSP code stream received by the terminal device is associated with five routing options, such as routing #a, routing #b, routing #c, routing #d, and routing #e.
  • the terminal device configures a dialing factor for each of the five routing options associated with the URSP.
  • the initial value (ie, the first value) of the dialing factor is preset as 1, and the second value is preset as 1.
  • the dial factors corresponding to routing #b, routing #c, routing #d, and routing #e are still the initial configuration values (ie, the first value, which is 1). Therefore, it is beneficial for the terminal device to establish a PDU session again after the established PDU session is disconnected.
  • each dial factor it can select the route from the network slice corresponding to the network slice that failed to establish the PDU session before the PDU session was disconnected# a (i.e., from the routing selection whose dialing factor is 1), that is, from routing #b, routing #c, routing #d, routing #e, select a network slice suitable for the terminal device, Re-establishing the PDU session can prevent the terminal device from re-establishing the PDU session by using the routing #a of the network slice that failed to establish the PDU session before, thereby improving the efficiency of the terminal device in establishing the PDU session.
  • the terminal device will not attempt to establish a PDU session multiple times using the route selection corresponding to the network slice that failed to establish a PDU session before, so that the network device will not reject the terminal device to establish a PDU session multiple times for the unsuccessful network slice, and then
  • There is no risk of network devices detaching terminal devices that is, there is no network device that considers a terminal device that has repeatedly attempted to establish a PDU session with unsuccessful network slicing to be an untrusted terminal device, thereby marking the terminal device as a dangerous terminal device, and thus the terminal device cannot request registration from the network device.
  • the terminal device successfully establishes a PDU by using a determined network slice, add a third value to the dialing factor of the route selection corresponding to the network slice, that is, add the first value corresponding to the route selection to The third value, the third value is any value that is not zero; if the terminal device is based on the first route selection corresponding to the network slice used to establish the PDU session, all the second network slices fail to establish the PDU session,
  • the dial factor selected by the first route is stored locally, that is, the dial factor selected by the first route is not processed.
  • the embodiment of the present application does not limit the specific processing operation performed on the dialing factor of the route selection corresponding to the network slice when the terminal device succeeds or fails to establish the PDU by using the determined network slice.
  • the above S203a may be replaced by the following S203b.
  • the terminal device configures a dialing factor for the network slice whose SST field matches the first parameter among the multiple network slices associated with the URSP code stream.
  • the initial value of each dialing factor is the first value, and the first value is a real number.
  • the network slice whose SST field matches the first parameter belongs to the network slice applicable to the terminal device. That is to say, the terminal device configures the dialing factor for the network slice whose network slice type is a network slice type applicable to the terminal device.
  • the dialing factor is used to mark the network slice applicable to the terminal device in the network slice associated with the URSP code stream.
  • the terminal device does not configure the dialing factor for the network slices whose network slice type does not belong to the network slice type applicable to the terminal device among the multiple network slices associated with the above URSP code stream.
  • the network slices associated with the URSP stream include network slice A, network slice B, network slice C, and network slice D.
  • the network slice types indicated by the SST fields of network slice A, network slice C, and network slice D are the same as the first If the types of network slices identified by the parameters are the same, the terminal device configures a dialing factor for each network slice in network slice A, network slice C, and network slice D, and the initial value of the dialing factor is 2.
  • the terminal device when the terminal device disconnects the established PDU session and re-establishes the PDU session, and the network where the terminal device is located or the URSP code stream for establishing the PDU has not changed, the terminal device will follow the priority of the URSP rule and the priority of the route selection Select the third network slice configured with the dialing factor in order of priority from high to low, and determine whether the third network slice is a network slice for establishing a PDU session according to the dialing factor of the third network slice. It can be seen that the terminal device does not need to judge again whether the SST field of the third network slice matches the first parameter, thereby improving the efficiency of re-establishing the PDU session of the terminal device.
  • the dialing factor is used to mark the network slice associated with the URSP code stream, the network slice that is applicable to the terminal device and the network slice that successfully establishes the PDU session, that is, the network slice configured with the dialing factor is not only a network slice applicable to the terminal device, It is also a network slice where the terminal device successfully establishes a PDU session.
  • a network slice that is not configured with a dial factor is a network slice that is not applicable to the terminal device, or a network slice that is applicable to the terminal device, but it is also a network slice that the terminal device uses when it fails to establish a PDU session.
  • the terminal device only adds a dialing factor to the network slice when the network slice determined according to the first parameter and the SST field is used to successfully establish a PDU session, that is, the dialing factor is marked by the dialing factor
  • a network slice is a network slice applicable to a terminal device, and it is also a network slice for a terminal device to successfully establish a PDU session. Then, when the terminal device disconnects the established PDU session and establishes the PDU session again, and the network where the terminal device is located or the code stream for establishing the PDU has not changed, the terminal device can directly use the network slice marked with the dial factor to establish PDU session.
  • the terminal device uses the network slice to establish a PDU session, the PDU session can be successfully established, thereby preventing the terminal device from establishing a PDU session using the previously unsuccessful network slice, thereby significantly improving the probability of the terminal device successfully establishing a PDU session again.
  • FIG. 8 is a schematic flowchart of the network slice selection method 300.
  • the network slice selection method 300 includes but is not limited to:
  • the geographic location of the terminal device changes, which may cause the network where the terminal device is located to change, for example, the cell where the terminal device is located changes, and the base station accessed changes.
  • the terminal device will receive the URSP code stream from the network device again, and the URSP code stream may be the same as or different from the URSP code stream of the terminal device before the disconnection of the established PDU session .
  • the terminal device determines whether the network where the terminal device is located changes according to the IP address of the network to which the terminal device is connected. When the IP address of the network that the terminal device can connect to has not changed, it indicates that the network where the terminal device is located has not changed; when the IP address that the terminal device can connect to changes, it indicates that the network where the terminal device is located has changed.
  • the terminal device receives the URSP code stream from the network device when the established PDU session is disconnected and reconnects to the network. At this time, the terminal device combines the URSP code stream with the established PDU session Compare the URSP code stream used before disconnection. If the received URSP code stream is the same as the URSP code stream used before the established PDU session was disconnected, the terminal device determines that the URSP code stream used to re-establish the PDU session has not changed; if the received URSP code stream is the same as If the URSP code stream used before the disconnection of the established PDU session is different, the terminal device determines that the URSP code stream used when establishing the PDU session again changes.
  • the terminal device does not receive the URSP code stream from the network device when the established PDU session is disconnected and reconnected to the network. At this time, the terminal device determines the URSP code stream of the currently established PDU session There is no change, that is, the terminal device can continue to use the URSP code stream used before the disconnection of the established PDU session to re-establish the PDU session.
  • the terminal device selects the route associated with the URSP code stream or the dialing factor of the associated network slice from the URSP code stream associated Among the multiple network slices, the network slice used to establish the PDU session is determined.
  • the URSP code stream used by the terminal device before the established PDU session is disconnected can continue to be used, and the terminal device
  • the network slice used to establish the PDU session can be determined from multiple network slices associated with the URSP according to the dialing factor of the routing selection associated with the URSP code stream, or the dialing factor of the associated network slice. That is to say, when the terminal device establishes a PDU again, it no longer only determines the network slice used to establish the PDU session from multiple network slices according to the priority of each URSP rule and the priority of each route selection in the URSP code stream.
  • each route selection or the dialing factor of each network slice
  • the route selection or network slicing used to establish the PDU session when successful can improve the efficiency of the terminal device successfully establishing the current PDU session.
  • the second value is a positive number.
  • the above-mentioned second value is a positive number, and when the terminal device initially accesses the network to establish a PDU session, it configures the dialing factor for each group of routing selections in the multiple routings associated with the URSP code stream, then the above-mentioned terminal device is associated with the URSP code stream
  • the dialing factor of routing selection, the network slice used to establish the PDU session is determined from the multiple network slices associated with the URSP code stream, which refers to the URSP code stream used to establish the PDU session on the network where the terminal device is located or at the current moment
  • the first threshold may be preset by the terminal device.
  • the second value is a positive number and the value of the dialing factor of the routing selection is greater than the first threshold, which can indicate that the number of times the terminal device fails to establish a PDU session using the network slice in the routing selection is within a certain range before the PDU session is disconnected.
  • the device adopts the network slice in the route selection to establish a PDU session with a higher probability of success, and the terminal device can still use the network slice in the route selection to establish the PDU session. Therefore, when the dialing factor of the second routing selection is greater than the first threshold, the terminal device selects a network slice for establishing a PDU session from multiple network slices associated with the second routing selection.
  • the value of the dialing factor of the route selection is less than the first threshold, it indicates that the number of times the terminal device fails to establish a PDU session using the network slice associated with the route selection exceeds a certain range before the established PDU session is disconnected, that is, the number of failures If there are too many, it may be considered as an untrustworthy terminal device by the network device. If the terminal device uses the network slice associated with the routing to establish a PDU session again, there will be a risk of being detach by the network device, that is, the terminal device will no longer be able to access In the network corresponding to the network slice in the route selection. Therefore, when the value of the dialing factor of a routing is smaller than the first threshold, the terminal device will not use the network slice associated with the routing to establish a PDU session.
  • the first value is 2 and the second value is 1. If the terminal device fails to establish a PDU session using all network slices applicable to itself in routing #a when initially establishing a PDU session, then the value of the dialing factor of routing #a is the first value minus the second value, that is 2-1 equals 1. Then, when the terminal device establishes a PDU session again, it determines the network slice used to establish the PDU session according to the priority of the URSP rule, the priority of routing selection, and the dialing factor of routing selection.
  • the terminal device determines the highest priority routing in the highest priority URSP rule, and in the case that the dialing factor of the highest priority routing is greater than 1 (first threshold), it is determined that the highest priority
  • the network slice used to establish the PDU session is determined in the route selection of the route, that is, among the network slices included in the route selection with the highest priority, the network slice whose SST field matches the first parameter is the network slice used to establish the PDU session. Therefore, the terminal device does not establish a PDU session by using the network slice in the routing selection (routing #a) used when the PDU session failed to be established before, which can improve the success rate of the terminal device to establish a PDU session again.
  • the above-mentioned second value is a positive number, and when the terminal device initially accesses the network to establish a PDU session, among the network slices associated with the URSP code stream, the network slice type belongs to the network slice type applicable to the terminal device.
  • dialing factor the above-mentioned terminal device selects the network slice used to establish a PDU session from multiple network slices according to the dialing factor of multiple network slices associated with the URSP code stream, which means: the network where the terminal device is located or the current
  • the URSP code stream used to establish the PDU session has not changed at all times, according to the priority of the URSP rule and the priority of routing selection, select the third network slice configured with the dial factor in the order of priority from high to low;
  • the dialing factor of the third network slice is greater than the first threshold, the third network slice is determined as the network slice for establishing the PDU session.
  • the second value is a negative number.
  • the above-mentioned second value is a negative number, and when the terminal device initially accesses the network to establish a PDU session, each group of routing selections associated with the URSP code stream is configured with a dialing factor, then the above-mentioned terminal device configures the dialing factor according to the route associated with the URSP code stream
  • the selected dialing factor determines the network slice used to establish the PDU session from multiple network slices, which means: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, according to The priority of the URSP rule and the priority of the route selection, determine the second route selection according to the order of priority from high to low, when the dial factor of the second route selection is less than the first threshold, select the multiple associated routes from the second route In the network slice, select the third network slice; if the SST field of the third network slice matches the first parameter, determine the third network slice as the network slice for establishing the PDU session.
  • the dialing factor of the routing selection used is subtracted from the second value, and the obtained value is a positive value, That is, the routing selection corresponding to the dialing factor whose value of the dialing factor is greater than the initial value at this time is the routing selection adopted when the PDU session failed to be established before. Then, only the value less than the first value minus the second value is the route not used by the terminal device or the route adopted when the PDU session is established successfully. Therefore, the terminal device determines that the network slice whose SST field matches the first parameter is the network slice used to establish the PDU session among the multiple network slices associated with the second routing whose dialing factor value is less than the first threshold.
  • the first value is 2, and the first value is -1. If the terminal device fails to establish a PDU session using all applicable network slices in routing #a when initially establishing a PDU session, then the value of the dialing factor of routing #a is the first value minus the second value, which is 2 -(-1) is equal to 3, then when the terminal device establishes a PDU session again, first determine the second route selection according to the priority of the URSP rule and the priority of the route selection, and when the dialing factor of the determined second route selection is less than 3 In the case of (the first threshold value), the network slice used to establish the PDU session is determined from the multiple network slices in the second routing selection, so that the terminal device does not use the routing selection used when the previous establishment of the PDU session failed, It can improve the success rate of re-establishing the PDU session of the terminal device.
  • the above-mentioned second value is a negative number, and when the terminal device initially accesses the network to establish a PDU session, among the network slices associated with the URSP code stream, the network slice type belongs to the network slice type applicable to the terminal device.
  • Add a dial factor the above-mentioned terminal device selects the network slice for establishing a PDU session from multiple network slices according to the dialing factor of multiple network slices associated with the URSP code stream, which means: in the network where the terminal device is located or at the current moment When the URSP code stream used to establish the PDU session has not changed, according to the priority of the URSP rule and the priority of routing selection, select the third network slice configured with the dial factor in the order of priority from high to low; When the dialing factor of the three network slices is smaller than the first threshold, the third network slice is determined as the network slice for establishing the PDU session.
  • the terminal device configures a dialing factor for each group of multiple routing selections associated with the URSP code stream when it initially accesses the network to establish a PDU session
  • the above-mentioned terminal device configures the dialing factor according to the URSP
  • the dialing factor of the routing selection associated with the code stream determines the network slice used to establish the PDU session from multiple network slices.
  • the second routing Selecting a third network slice among multiple associated network slices; in the case that the SST field of the third network slice matches the first parameter, determining the third network slice as the network slice for establishing the PDU session.
  • the routing factor whose value is the first value is the routing selection that the terminal device has not used before.
  • the terminal device can use the network slices in these routing selections to establish a PDU session, which can also improve the terminal device.
  • the success rate of establishing a PDU session is because the routing factor whose value is the first value is the routing selection that the terminal device has not used before.
  • the terminal device Regardless of whether the above-mentioned second value is a positive number or a negative number, if the terminal device initially accesses the network to establish a PDU session, among the network slices associated with the URSP code stream, the network slice type belongs to the network slice type applicable to the terminal device If a dialing factor is added, the above-mentioned terminal device determines the network slice used to establish a PDU session from multiple network slices according to the dialing factor of multiple network slices associated with the URSP code stream.
  • the third network configured with the dial factor in the order of priority from high to low Slicing: when the dialing factor of the third network slice is equal to the first value, determine the third network slice as the network slice for establishing the PDU session.
  • the terminal device Since the terminal device uses the dialing factor to mark the network slices associated with the URSP stream before the established PDU session is disconnected, it is suitable for the network slice of the terminal device, so the network slice with the dialing factor of the first value is the network slice that the terminal device does not The network slice that is used and applicable to the terminal device, or the network slice that successfully establishes the PDU session and is applicable to the terminal device. Therefore, the terminal device selects the network slice for establishing the PDU session from the network slices whose dialing factor is the first value according to the priority of the URSP rule and the priority of routing selection, so that the terminal device can use the network slice that is suitable for the terminal device. The network slicing also establishes the PDU session for the network slice that has not failed to establish the PDU session before, so that the success rate of re-establishing the PDU session for the terminal device can be improved.
  • a dialing factor is added to the network slice used when the PDU session is established successfully, and the URSP code stream of the terminal device does not change.
  • the network slice configured with the dial factor can be directly used to establish the PDU session, thereby improving the success rate of the terminal device establishing the PDU session, and preventing the terminal device from repeatedly establishing the PDU session using the previously unsuccessful network slice.
  • the terminal device establishes a PDU session based on the network slice.
  • the terminal device clears the value of each dial factor, and executes according to the first parameter, and
  • the slice or service type (SST) field determines the steps for establishing the network slice for the protocol data unit PDU session from the multiple network slices associated with the URSP code stream.
  • the terminal device when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment changes, the terminal device will not use the established PDU session when it connects to the network again after the PDU session is disconnected. If the routing or network slicing is adopted, the network slice marked with the dialing factor by the terminal device is not applicable, so the terminal device needs to clear the value of the dialing factor of each routing or network slice, so that the terminal device uses the new A PDU session is established between the URSP code stream and the network slice associated with the URSP code stream.
  • FIG. 9 for an implementation block diagram of the embodiment of the present application. It can be seen from Figure 9 that when the established PDU session is disconnected and the network registration is completed again, the terminal device parses the URSP code stream from the network device, and then determines the location of the terminal device after parsing the URSP code stream. Whether the network changes, or whether the URSP code stream used to establish the PDU session changes.
  • the terminal device determines that the network where it is located has not changed, or the URSP used to establish the PDU session has not changed, then determine the priority of each URSP rule and the priority of each route selection in the URSP code stream used to establish the PDU session, According to the priority of each URSP rule, the priority of each route selection, and the dialing factor of routing selection or network slice, determine the network slice used to establish the PDU session, and use the determined network slice to establish the PDU session.
  • the terminal device stores the adopted network slice or the dialing factor of the routing to which the adopted network slice belongs, that is, does not process the dialing factor of the network slice or the dialing factor of the routing to which the network slice belongs ;
  • the terminal device adopts a route selection and all network slices applicable to the terminal device fail to establish PDU sessions the value of the dialing factor of the route selection used is subtracted from the second value to record that the failure to establish the PDU session is the route adopted choose.
  • the terminal device determines that the network it is in has changed, or the URSP used to establish the PDU session has changed, the terminal device will clear all the dialing factor values, and perform the determination of the priority of each URSP rule and each route selection in the URSP code stream priority steps.
  • the terminal device when the terminal device disconnects the established PDU session and reconnects to the network, and the network where the terminal device is located has not changed, or the URSP code stream used to establish the PDU session has not changed, it is based on network slicing
  • the dialing factor of the routing selection associated with the URSP code stream, or the dialing factor of the associated network slice determines the network slice used to establish the PDU session from multiple network slices, which can prevent the terminal device from disconnecting the established PDU session
  • the previously adopted failed route selection or network slicing establishes the PDU session, thereby improving the efficiency of the terminal device in establishing the PDU session.
  • the terminal device may include a hardware structure and/or a software module, and realize the above-mentioned functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
  • the embodiment of the present application provides a communication device 1000 .
  • the communication apparatus 1000 may be a component of a terminal device (for example, an integrated circuit, a chip, etc.).
  • the communication device 1000 may also be another communication unit, configured to implement the method in the method embodiment of the present application.
  • the communication device 1000 may include: a communication unit 1001 and a processing unit 1002 .
  • a storage unit 1003 may also be included.
  • one or more units in Figure 10 may be implemented by one or more processors, or by one or more processors and memory; or by one or more processors and a transceiver; or by one or more processors, memories, and a transceiver, which is not limited in this embodiment of the present application.
  • the processor, memory, and transceiver can be set independently or integrated.
  • the communication device 1000 has the function of realizing the terminal device described in the embodiment of this application.
  • the communication device 1000 includes a terminal device that executes the modules or units or means (means) corresponding to the steps involved in the terminal device described in the embodiments of this application, and the functions, units or means (means) can be implemented by software, or by Hardware implementation may also be implemented by executing corresponding software through hardware, or may also be implemented through a combination of software and hardware.
  • the communication device 1000 may include:
  • the processing unit 1002 is configured to obtain the routing policy (URSP) code stream sent by the network device;
  • URSP routing policy
  • the processing unit 1002 is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field , wherein the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is the A field for identifying the type of each network slice in the multiple network slices associated with the URSP code stream;
  • SST slice or service type
  • the processing unit 1002 is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
  • the URSP code stream includes URSP rules with different priorities, and each of the URSP rules includes routing options with different priorities; the processing unit 1002 according to the first parameter, and slice or service The type (SST) field, from the multiple network slices associated with the URSP code stream, determines the network slice used to establish the PDU session, specifically for: according to the priority of the URSP rule and the priority of the routing selection , selecting a first network slice from the plurality of network slices associated with the URSP code stream in order of priority from high to low; when the SST field of the first network slice matches the first parameter , determining the first network slice as the network slice used to establish the PDU session.
  • SST slice or service The type
  • the processing unit 1002 is further configured to: configure a dialing factor for each group of routings in the multiple groups of routings associated with the URSP code stream, and the initial value of the dialing factor is the first A value; the first value is a real number; in the first routing selection corresponding to the network slice used to establish the PDU session, if each second network slice fails to establish a PDU session, the first A dialing factor of routing, minus a second value that is not zero; the second network slice is a network slice in the first routing whose SST field matches the first parameter.
  • the processing unit 1002 is further configured to: among the multiple network slices associated with the URSP, configure a dialing factor for the network slice whose SST field matches the first parameter,
  • the initial value of the dialing factor is a first value; the first value is a real number; in the case of failure to establish a PDU session based on the network slice used to establish a PDU session, use the The dialing factor of the network slice, minus a second non-zero value.
  • the processing unit 1002 is further configured to: if the establishment of the PDU session based on the network slice used for establishing the PDU session succeeds, for the network slice used for establishing the PDU session
  • the dialing factor is configured for the network slice, and the initial value of the dialing factor is a first value; the first value is a real number.
  • the processing unit 1002 is further configured to: when the established PDU session is disconnected and the network is reconnected, determine whether the network where the processing unit is located changes, or the current Whether the URSP code stream used to establish the PDU session changes at any time; when the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, according to the routing rules associated with the URSP code stream
  • the dial factor, or the dial factor of the associated network slice determines the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream; establishes the PDU based on the network slice used to establish the PDU session session.
  • the second numerical value is a positive number; when the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment does not change, the processing unit 1002, according to The dialing factor of the routing rule associated with the URSP code stream is used to determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, specifically for: the network where the processing unit is located or When the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of the routing, select the second routing according to the order of priority from high to low; When the dialing factor of the second routing selection is greater than the first threshold, select a third network slice from the plurality of network slices associated with the second routing selection; the SST field of the third network slice and the first If the parameters match, determine the third network slice as the network slice used to establish the PDU session.
  • the processing unit 1002 when the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment has not changed, the processing unit 1002, according to the route associated with the URSP code stream
  • the regular dialing factor which is used to determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, is specifically used for: the network where the terminal device is located or the current time used to establish the PDU session
  • the URSP code stream does not change, according to the priority of the URSP rule and the priority of the routing, select the second routing in the order of priority from high to low; the dialing factor of the second routing When it is equal to the first value, select a third network slice from the plurality of network slices associated with the second routing; when the SST field of the third network slice matches the first parameter, Determining the third network slice as the network slice used to establish the PDU session.
  • the second value is a positive number; when the processing unit 1002 does not change the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment, According to the dial factor of the network slice associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, specifically for: in the network where the terminal device is located Or when the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of the routing selection, select the URSP configured with the dial factor in order of priority from high to low.
  • a third network slice when the dialing factor of the third network slice is greater than a first threshold, or equal to the first value, determine the third network slice as the network slice used to establish the PDU session .
  • the processing unit 1002 when the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment has not changed, the processing unit 1002, according to the network associated with the URSP code stream The dialing factor of the slice, which is used to determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, specifically used for: the network where the terminal device is located or the current moment used to establish the PDU session.
  • the URSP code stream does not change, it is determined that the network slice configured with the dialing factor is the network slice used to establish the PDU session.
  • the processing unit 1002 may also set the value of each dialing factor to Clearing, and performing the step of determining the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field.
  • SST slice or service type
  • FIG. 11 is a schematic structural diagram of the communication device 1100 .
  • the communication apparatus 1100 may be a terminal device, or may be a chip, a chip system, or a processor that supports the terminal device to implement the above method.
  • the device can be used to implement the methods described in the above method embodiments, and for details, refer to the descriptions in the above method embodiments.
  • the communication device 1100 may include one or more processors 1101 .
  • the processor 1101 may be a general-purpose processor or a special-purpose processor. For example, it may be a baseband processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or a central processing unit (Central Processing Unit, CPU).
  • the baseband processor can be used to process communication protocols and communication data
  • the central processing unit can be used to control communication devices (such as base stations, baseband chips, terminals, terminal chips, DU or CU, etc.), execute software programs, and process Data for Software Programs.
  • the communication device 1100 may include one or more memories 1102, on which instructions 1104 may be stored, and the instructions may be executed on the processor 1101, so that the communication device 1100 executes the above method Methods described in the Examples.
  • data may also be stored in the memory 1102 .
  • the processor 1101 and the memory 1102 can be set separately or integrated together.
  • the memory 1102 may include but not limited to hard disk (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD) and other non-volatile memory, random access memory (Random Access Memory, RAM), erasable and programmable Read-only memory (Erasable Programmable ROM, EPROM), read-only memory (Read-Only Memory, ROM) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM), etc.
  • the communication device 1100 may further include a transceiver 1105 .
  • the transceiver 1105 may be called a transceiver unit, a transceiver, or a transceiver circuit, etc., and is used to realize a transceiver function.
  • the transceiver 1105 may include a receiver and a transmitter, and the receiver may be called a receiver or a receiving circuit, etc., for realizing a receiving function; the transmitter may be called a transmitter, or a sending circuit, for realizing a sending function.
  • the communication device 1100 is a terminal device: the processor 1101 is used to execute S101, S102, and S103 in the network slice selection method 100, and to execute S201-S204 in the network slice selection method 200, and to execute the network slice selection method 300 S301-S303 in.
  • the processor 1101 may include a transceiver for implementing receiving and sending functions.
  • the transceiver may be a transceiver circuit, or an interface, or an interface circuit.
  • the transceiver circuits, interfaces or interface circuits for realizing the functions of receiving and sending can be separated or integrated together.
  • the above-mentioned transceiver circuit, interface or interface circuit can be used for code/data reading and writing, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transfer.
  • the processor 1101 may store instructions 1103, and the instructions 1103 run on the processor 1101, and may cause the communication device 1100 to execute the methods described in the foregoing method embodiments.
  • the instruction 1103 may be fixed in the processor 1101, in this case, the processor 1101 may be implemented by hardware.
  • the communication device 1100 may include a circuit, and the circuit may implement the function of sending or receiving or communicating in the foregoing method embodiments.
  • the processor and the transceiver described in the embodiment of the present application can be implemented in integrated circuit (integrated circuit, IC), analog IC, radio frequency integrated circuit RFIC, mixed signal IC, application specific integrated circuit (application specific integrated circuit, ASIC), printed circuit board (printed circuit board, PCB), electronic equipment, etc.
  • the processor and transceiver can also be fabricated using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
  • CMOS complementary metal oxide semiconductor
  • NMOS nMetal-oxide-semiconductor
  • PMOS P-type Metal oxide semiconductor
  • BJT bipolar junction transistor
  • BiCMOS bipolar CMOS
  • SiGe silicon germanium
  • GaAs gallium arsenide
  • the communication device described in the above embodiments may be the first communication device or the second communication device, but the scope of the communication device described in the embodiment of the present application is not limited thereto, and the structure of the communication device may not be limited by FIG. 11 .
  • a communication device may be a stand-alone device or may be part of a larger device.
  • the communication device may be:
  • a set of one or more ICs may also include storage components for storing data and instructions;
  • ASIC such as a modem (modulator)
  • the communication device may be a chip or a chip system
  • the chip 1200 shown in FIG. 12 includes a processor 1201 and a communication interface 1202 .
  • the number of processors 1201 may be one or more, and the number of communication interfaces 1202 may be more than one.
  • the chip 1200 may further include a memory 1203 .
  • the processor 1201 is configured to acquire a routing policy (URSP) code stream sent by a network device;
  • URSP routing policy
  • the processor 1201 is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field , wherein the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is the A field for identifying the type of each network slice in the multiple network slices associated with the URSP code stream;
  • SST slice or service type
  • the processor 1201 is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
  • the communication device 1100 and the chip 1200 may also execute the implementation described in the communication device 1000 above.
  • various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functions are implemented by hardware or software depends on the specific application and overall system design requirements. Those skilled in the art can use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the protection scope of the embodiments of the present application.
  • the embodiment of the present application and the method embodiments shown in the network slice selection method 100 to the network slice selection method 300 above are based on the same idea, and the technical effects they bring are also the same.
  • the description of the embodiment shown in 300 is not repeated here.
  • the present application also provides a computer-readable storage medium for storing computer software instructions, and when the instructions are executed by a communication device, the functions of any one of the above method embodiments are realized.
  • the present application also provides a computer program product, which is used for storing computer software instructions, and when the instructions are executed by a communication device, the functions of any one of the above method embodiments are realized.
  • the present application also provides a computer program, which, when running on a computer, can realize the functions of any one of the above method embodiments.
  • all or part may be implemented by software, hardware, firmware or any combination thereof.
  • software When implemented using software, it may be implemented in whole or in part in the form of a computer program product.
  • the computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part.
  • the computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices.
  • the computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.).
  • the computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media.
  • the available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)) etc.
  • a magnetic medium for example, a floppy disk, a hard disk, a magnetic tape
  • an optical medium for example, a high-density digital video disc (digital video disc, DVD)
  • a semiconductor medium for example, a solid state disk (solid state disk, SSD)

Abstract

Provided in the present application are a network slice selection method and a related apparatus. The method comprises: a terminal device acquiring a UE route selection policy (URSP) code stream which is sent by a network device; according to a first parameter and a slice or service type (SST) field, determining, from a plurality of network slices which are associated with the URSP code stream, a network slice that is used for establishing a protocol data unit (PDU) session; and establishing the PDU session on the basis of the network slice which is used for establishing the PDU session, wherein the SST field is a field in the URSP code stream that is used for identifying the type of each of the plurality of network slices which are associated with the URSP code stream; and the first parameter is a pre-configured parameter which is associated with the terminal device, and the first parameter is used for identifying a network slice type which is applicable to the terminal device. By means of the method, resource waste caused by a terminal device establishing a PDU session by using an inappropriate network slice can be avoided.

Description

一种网络切片选择方法及相关装置A network slice selection method and related device
本申请要求于2021年6月21日提交中国国家知识产权局、申请号为202110686904.4、申请名称为“一种网络切片选择方法及相关装置”的中国专利申请的优先权,其全部内容通过引用结合在本申请中。This application claims the priority of a Chinese patent application filed with the State Intellectual Property Office of China on June 21, 2021, with application number 202110686904.4, and application title "A Method for Selecting Network Slices and Related Devices", the entire contents of which are incorporated by reference in this application.
技术领域technical field
本申请涉及通信技术领域,尤其涉及一种网络切片选择方法及相关装置。The present application relates to the field of communication technologies, and in particular to a network slice selection method and related devices.
背景技术Background technique
目前,在独立组网(standalone,SA)网络下,网络切片已成为第五代移动通信(5th-generation,5G)网络的必选特性。网络切片是指针对特定服务、特定用户的不同功能需求(如计费,策略控制,安全,移动性等)、不同性能需求(如时延,移动性,可靠性等),将5G网络在同一套物理设备上虚拟出多个具有不同特点且相互隔离的逻辑子网。Currently, under the standalone (SA) network, network slicing has become a mandatory feature of the fifth-generation mobile communication (5th-generation, 5G) network. Network slicing refers to the integration of 5G networks into different functional requirements (such as billing, policy control, security, mobility, etc.) and different performance requirements (such as delay, mobility, reliability, etc.) Multiple logical subnets with different characteristics and isolated from each other are virtualized on a set of physical devices.
终端设备(user equipment,UE)可根据网络设备下发的终端路由选择策略(UE route selection policy,URSP)码流,接入具有不同特性的网络切片。具体的,终端设备根据URSP码流建立协议数据单元会话(protocol data unit session,PDU session),以接入该URSP码流关联的多个网络切片中的一个网络切片。Terminal equipment (user equipment, UE) can access network slices with different characteristics according to the terminal routing selection policy (UE route selection policy, URSP) code stream issued by the network equipment. Specifically, the terminal device establishes a protocol data unit session (protocol data unit session, PDU session) according to the URSP code stream, so as to access one of the multiple network slices associated with the URSP code stream.
然而,终端设备按照上述方式建立PDU会话时,采用的网络切片可能不适合该终端设备,存在即使该PDU会话建立成功,终端设备也无法使用该网络切片的问题,进而造成资源浪费。However, when a terminal device establishes a PDU session in the above manner, the network slice used may not be suitable for the terminal device, and even if the PDU session is successfully established, the terminal device cannot use the network slice, thereby causing waste of resources.
发明内容Contents of the invention
本申请实施例提供了一种网络切片选择方法及相关装置,可避免终端设备采用不合适的网络切片建立PDU会话而造成的资源浪费。Embodiments of the present application provide a method for selecting a network slice and a related device, which can avoid resource waste caused by terminal equipment using inappropriate network slices to establish a PDU session.
第一方面,本申请实施例提供一种网络切片选择方法。该方法中,终端设备获取网络设备发送的路由选择策略(URSP)码流;根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,并基于该用于建立PDU会话的网络切片建立PDU会话。SST字段是URSP码流中用于标识URSP码流关联的多个网络切片中每个网络切片的类型的字段。第一参数是与终端设备关联的预先配置的参数,且第一参数用于标识终端设备适用的网络切片类型。In a first aspect, the embodiments of the present application provide a network slice selection method. In this method, the terminal device obtains the routing strategy (URSP) code stream sent by the network device; according to the first parameter and the slice or service type (SST) field, from multiple network slices associated with the URSP code stream, determine the A network slice of a protocol data unit PDU session is established, and a PDU session is established based on the network slice used for establishing the PDU session. The SST field is a field used in the URSP code stream to identify the type of each network slice in the multiple network slices associated with the URSP code stream. The first parameter is a pre-configured parameter associated with the terminal device, and the first parameter is used to identify a network slice type applicable to the terminal device.
由于第一参数用于标识终端设备适用的网络切片类型,因此终端设备根据该第一参数和SST字段确定的网络切片对于终端设备自身而言,是合适的网络切片,即终端设备是采用合适的网络切片建立PDU会话的,可避免终端设备采用不合适的网络切片建立PDU会话造成的资源浪费。Since the first parameter is used to identify the type of network slice applicable to the terminal device, the network slice determined by the terminal device based on the first parameter and the SST field is a suitable network slice for the terminal device itself, that is, the terminal device adopts a suitable Network slicing to establish PDU sessions can avoid resource waste caused by terminal devices using inappropriate network slicing to establish PDU sessions.
一种可选的实施方式中,上述URSP码流包括不同优先级的URSP规则,每个URSP规则包括不同优先级的路由选择;终端设备根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立PDU会话的网络切片,可指:终端设备根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序从URSP码流关联的多个网络切片中,选择第一网络切片;在第一网络切片的SST字段与第一参数匹配的情 况下,将第一网络切片确定为用于建立所述PDU会话的网络切片。In an optional implementation manner, the above-mentioned URSP code stream includes URSP rules with different priorities, and each URSP rule includes routing options with different priorities; the terminal device, according to the first parameter and the slice or service type (SST) field, From the multiple network slices associated with the URSP code stream, determine the network slice used to establish the PDU session. Among the multiple network slices associated with the URSP stream, select the first network slice; if the SST field of the first network slice matches the first parameter, determine the first network slice as the network used to establish the PDU session slice.
可见,终端设备还是先按照协议规定的规则(即URSP码流和URSP规则的优先级)选择第一网络切片,在网络切片的SST字段指示的网络切片类型与第一参数标识的网络切片相同时,将第一网络切片确定用于建立PDU会话的网络切片,使得确定的网络切片是终端设备自身适用的网络切片。It can be seen that the terminal device first selects the first network slice according to the rules stipulated in the protocol (that is, the priority of URSP code stream and URSP rules). When the network slice type indicated by the SST field of the network slice is the same as the network slice identified by the first parameter , determining the first network slice as a network slice for establishing the PDU session, so that the determined network slice is a network slice applicable to the terminal device itself.
一种可选的实施方式中,终端设备还可为URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,拨号因子的初始值为第一数值;第一数值为实数;在基于用于建立PDU会话的网络切片对应的第一路由选择中,每个第二网络切片建立PDU会话均失败的情况下,将第一路由选择的拨号因子,减去不为零的第二数值;第二网络切片为第一路由选择中,SST字段与第一参数匹配的网络切片。In an optional implementation, the terminal device can also configure a dialing factor for each group of routings associated with the URSP code stream, and the initial value of the dialing factor is the first value; the first value is a real number; Based on the first routing selection corresponding to the network slice used to establish the PDU session, in the case that each second network slice fails to establish the PDU session, the dialing factor of the first routing selection is subtracted from the second value that is not zero ; The second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
可见,终端设备为每组路由选择均配置了一个拨号因子,且在采用一个路由选择中所有适用于终端设备的网络切片建立PDU会话均失败时,将该路由选择的拨号因子减去一个不为零的第二数值,以标记建立PDU会话失败时所采用的路由选择。从而有利于终端设备重新建立PDU会话时,之前建立PDU会话失败时所采用的路由选择,进而有利于提高终端设备建立PDU会话的效率。It can be seen that the terminal device is configured with a dialing factor for each group of routing, and when all the network slices in a routing that are applicable to the terminal device fail to establish a PDU session, the dialing factor of the routing is subtracted by a value that is not equal to A second value of zero to mark the routing to use when establishing a PDU session fails. Therefore, when the terminal device re-establishes the PDU session, the route selection used when the previous establishment of the PDU session fails, is beneficial to improve the efficiency of the terminal device in establishing the PDU session.
另一种可选的实施方式中,终端设备还可为URSP关联的多个网络切片中,SST字段与第一参数匹配的网络切片配置拨号因子,拨号因子的初始值为第一数值;第一数值为实数;在基于用于建立PDU会话的网络切片建立PDU会话失败的情况下,将用于建立PDU会话的网络切片的拨号因子,减去不为零的第二数值。In another optional implementation manner, the terminal device may also configure a dialing factor for the network slice whose SST field matches the first parameter among the multiple network slices associated with the URSP, and the initial value of the dialing factor is the first value; the first The value is a real number; if the PDU session establishment fails based on the network slice used to establish the PDU session, the dialing factor of the network slice used to establish the PDU session is subtracted from a second value that is not zero.
可见,终端设备是为多个网络切片中,适用于终端设备的网络切片配置拨号因子,且终端设备采用其中的一个网络切片建立PDU会话失败时,将该网络切片的拨号因子减去一个不为零的第二数值,以标记终端设备建立PDU会话失败时采用的网络切片。从而有利于终端设备重新建立PDU会话时,之前建立PDU会话失败时所采用的网络切片,进而有利于提高终端设备建立PDU会话的效率。It can be seen that the terminal device configures the dialing factor for the network slice applicable to the terminal device among multiple network slices, and when the terminal device fails to establish a PDU session using one of the network slices, the dialing factor of the network slice is subtracted by a value that is not equal to The second value of zero is used to mark the network slice used when the terminal device fails to establish the PDU session. Therefore, when the terminal device re-establishes the PDU session, the network slicing used when the PDU session fails to be established before is beneficial to improve the efficiency of the terminal device in establishing the PDU session.
又一种可选的实施方式中,终端设备在基于用于建立PDU会话的网络切片建立PDU会话成功的情况下,为用于建立PDU会话的网络切片配置拨号因子,拨号因子的初始值为第一数值;第一数值为实数。In yet another optional implementation manner, when the terminal device successfully establishes the PDU session based on the network slice used to establish the PDU session, it configures the dialing factor for the network slice used to establish the PDU session, and the initial value of the dialing factor is the first A value; the first value is a real number.
可见,该实施方式下,终端设备是为建立PDU会话成功时采用的网络切片配置拨号因子,以标记终端设备建立PDU会话成功时所采用的网络切片。从而有利于终端设备重新建立PDU会话时,可直接采用被配置有拨号因子的网络切片,进而有利于提高终端设备建立PDU会话的成功率。It can be seen that in this embodiment, the terminal device configures the dial factor for the network slice used when the PDU session is established successfully, so as to mark the network slice used by the terminal device when the PDU session is successfully established. Therefore, it is beneficial for the terminal device to directly use the network slice configured with the dialing factor when re-establishing the PDU session, thereby improving the success rate of establishing the PDU session for the terminal device.
一种可选的实施方式中,终端设备还可在已建立的PDU会话断开且重新连接网络时,确定终端设备所处的网络是否发生变化,或当前时刻建立PDU会话所采用的URSP码流是否发生变化;在终端设备所处的网络或当前建立PDU会话所采用的URSP码流未发生变化时,根据URSP码流关联的路由规则的拨号因子,或关联的网络切片的拨号因子,从URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片;基于用于建立PDU会话的网络切片建立PDU会话。In an optional implementation, the terminal device can also determine whether the network where the terminal device is located changes, or the URSP code stream used to establish the PDU session at the current moment when the established PDU session is disconnected and reconnected to the network Whether there is a change; when the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, according to the dialing factor of the routing rule associated with the URSP code stream, or the dialing factor of the associated network slice, from the URSP Determine the network slice used to establish the PDU session among the multiple network slices associated with the code stream; establish the PDU session based on the network slice used to establish the PDU session.
可见,终端设备在已建立的PDU会话断开且重新连接网络时,若终端设备所处的网络或当前建立PDU会话所采用的URSP码流未发生变化,则终端设备是根据路由规则的拨号因子或网络切片的拨号因子,确定用于建立PDU会话的网络切片,该方式可避免终端设备采用之前建立PDU会话失败时采用的路由选择或网络切片,进而可提高终端设备建立PDU会话的 成功率。It can be seen that when the terminal device disconnects the established PDU session and reconnects to the network, if the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, the terminal device is based on the dialing factor of the routing rule. Or the dialing factor of the network slice to determine the network slice used to establish the PDU session. This method can prevent the terminal device from using the routing or network slicing used when the PDU session failed to be established before, thereby improving the success rate of the terminal device to establish the PDU session.
一种可选的实施方式中,当上述第二数值为正数,且终端设备在初始接入网络建立PDU会话时,为URSP码流关联的多组路由选择中的每组路由选择配置拨号因子。那么,终端设备在本终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP码流关联的路由规则的拨号因子,从URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,可指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序选择第二路由选择;在第二路由选择的拨号因子大于第一阈值时,从第二路由选择关联的多个网络切片中,选择第三网络切片;在第三网络切片的SST字段与第一参数匹配的情况下,将第三网络切片确定为用于建立PDU会话的网络切片。In an optional implementation manner, when the above-mentioned second value is a positive number, and the terminal device establishes a PDU session when initially accessing the network, the dialing factor is configured for each group of routing selections in the multiple routing selections associated with the URSP code stream . Then, when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the dialing factor of the routing rule associated with the URSP code stream, multiple networks associated with the URSP code stream The network slice used to establish the PDU session in the slice can refer to: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of routing selection level, select the second route selection in order of priority from high to low; when the dialing factor of the second route selection is greater than the first threshold, select the third network slice from the plurality of network slices associated with the second route selection; If the SST field of the third network slice matches the first parameter, the third network slice is determined as the network slice for establishing the PDU session.
可见,当上述第二数值为正数,且终端设备在初始接入网络建立PDU会话时,为URSP码流关联的多组路由选择中的每组路由选择配置拨号因子。那么,路由选择的拨号因子的值大于第一阈值,可表明终端设备在PDU会话断开之前,采用该路由选择中的网络切片建立PDU会话失败的次数在一定范围内,终端设备采用该路由选择中的网络切片建立PDU会话成功的概率较大,则终端设备仍可采用该路由选择中的网络切片建立PDU会话,有利于提高终端设备建立PDU会话的成功率。It can be seen that when the above-mentioned second value is a positive number and the terminal device establishes a PDU session when initially accessing the network, a dialing factor is configured for each group of multiple routings associated with the URSP code stream. Then, the value of the dialing factor of the routing selection is greater than the first threshold, which can indicate that the number of times the terminal device fails to establish a PDU session using the network slice in the routing selection is within a certain range before the PDU session is disconnected, and the terminal device uses the routing selection. The network slice in the route selection has a higher probability of successfully establishing a PDU session, and the terminal device can still use the network slice in the routing selection to establish a PDU session, which is beneficial to improve the success rate of the terminal device in establishing a PDU session.
另一种可选的实施方式中,终端设备在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP码流关联的路由规则的拨号因子,从URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,还可指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序选择第二路由选择;在第二路由选择的拨号因子等于第一数值时,从第二路由选择关联的多个网络切片中,选择第三网络切片;在第三网络切片的SST字段与第一参数匹配的情况下,将第三网络切片确定为用于建立PDU会话的网络切片。In another optional implementation manner, when the terminal device is in the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the dialing factor of the routing rule associated with the URSP code stream, the URSP Determining the network slice used to establish a PDU session among the multiple network slices associated with the code stream can also refer to: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the URSP rule The priority of the route selection and the priority of the route selection, select the second route selection in order of priority from high to low; when the dial factor of the second route selection is equal to the first value, select the associated multiple network slices from the second route , select the third network slice; if the SST field of the third network slice matches the first parameter, determine the third network slice as the network slice for establishing the PDU session.
这是由于拨号因子的值为第一数值的路由选择是终端设备之前未采用过的路由选择,终端设备再次建立PDU会话时可采用这些路由选择中的网络切片建立PDU会话,也可提高终端设备建立PDU会话的成功率。This is because the routing factor whose value is the first value is the routing selection that the terminal device has not used before. When the terminal device establishes a PDU session again, it can use the network slices in these routing selections to establish a PDU session, which can also improve the terminal device. The success rate of establishing a PDU session.
又一种可选的实施方式中,第二数值为正数,且终端设备为多个网络切片中,适用于终端设备的网络切片配置了拨号因子;那么,终端设备在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP码流关联的网络切片的拨号因子,从URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,可指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序选择被配置有拨号因子的第三网络切片;在第三网络切片的拨号因子大于第一阈值,或等于第一数值时,将第三网络切片确定为用于建立PDU会话的网络切片。In another optional implementation manner, the second value is a positive number, and the terminal device is configured with a dialing factor for the network slice applicable to the terminal device among multiple network slices; then, the terminal device is in the network where the terminal device is located Or when the URSP code stream used to establish the PDU session at the current moment has not changed, according to the dialing factor of the network slice associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, It can refer to: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of routing selection, select according to the order of priority from high to low A third network slice configured with a dialing factor; when the dialing factor of the third network slice is greater than a first threshold or equal to a first value, determine the third network slice as a network slice for establishing a PDU session.
又一种可选的实施方式中,若终端设备为建立PDU会话成功时所采用的网络切片配置了拨号因子,那么终端设备在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP码流关联的网络切片的拨号因子,从URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,还可指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,确定配置有拨号因子的网络切片为用于建立PDU会话的网络切片。In yet another optional implementation manner, if the terminal device configures the dialing factor for the network slice used when the PDU session is established successfully, then the URSP code used by the terminal device to establish the PDU session on the network where the terminal device is located or at the current moment When the flow does not change, according to the dialing factor of the network slice associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream. It can also refer to: the network slice where the terminal device is located Or when the URSP code stream used to establish the PDU session at the current moment does not change, determine the network slice configured with the dial factor as the network slice used to establish the PDU session.
可见,终端设备直接采用被配置有拨号因子的网络切片建立PDU会话,可使得终端设备建立PDU会话成功,即提高了终端设备建立PDU会话的成功率。It can be seen that the terminal device directly uses the network slice configured with the dial factor to establish the PDU session, which can make the terminal device successfully establish the PDU session, that is, the success rate of the terminal device to establish the PDU session is improved.
一种可选的实施方式中,终端设备在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流发生变化时,表明之前采用的URSP码流不再适用于当前PDU会话的建立,因此终端设备将各拨号因子的值清除,并执行根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片的步骤。In an optional implementation, when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment changes, it indicates that the previously used URSP code stream is no longer applicable to the establishment of the current PDU session , so the terminal device clears the value of each dialing factor, and executes the first parameter, and the slice or service type (SST) field, from the multiple network slices associated with the URSP code stream, to determine the protocol data unit PDU session used to establish The steps of network slicing.
第二方面,本申请还提供一种通信装置。该通信装置具有实现上述第一方面所述的终端设备的部分或全部功能。比如,该通信装置的功能可具备本申请中第一方面所述的终端设备的部分或全部实施例中的功能,也可以具备单独实施本申请中的任一个实施例的功能。所述功能可以通过硬件实现,也可以通过硬件执行相应的软件实现。所述硬件或软件包括一个或多个与上述功能相对应的单元或模块。In a second aspect, the present application further provides a communication device. The communication device is capable of realizing some or all functions of the terminal device described in the first aspect above. For example, the function of the communication device may have the functions of some or all embodiments of the terminal device described in the first aspect of the present application, or may have the function of independently implementing any one of the embodiments of the present application. The functions described above may be implemented by hardware, or may be implemented by executing corresponding software on the hardware. The hardware or software includes one or more units or modules corresponding to the above functions.
在一种可能的设计中,该通信装置的结构中可包括处理单元和通信单元,所述处理单元被配置为支持通信装置执行上述方法中相应的功能。所述通信单元用于支持通信装置与其他通信装置之间的通信。所述通信装置还可以包括存储单元,所述存储单元用于与处理单元和收发单元耦合,其保存通信装置必要的程序指令和数据。In a possible design, the structure of the communication device may include a processing unit and a communication unit, and the processing unit is configured to support the communication device to perform corresponding functions in the foregoing method. The communication unit is used to support communication between the communication device and other communication devices. The communication device may further include a storage unit, which is used to be coupled with the processing unit and the transceiver unit, and stores necessary program instructions and data of the communication device.
一种实施方式中,所述通信装置包括:In one embodiment, the communication device includes:
处理单元,用于获取网络设备发送的路由选择策略(URSP)码流;A processing unit, configured to acquire a routing policy (URSP) code stream sent by a network device;
处理单元,还用于根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,其中,所述第一参数是与所述终端设备关联的预先配置的参数,所述第一参数用于标识所述终端设备适用的网络切片类型,所述SST字段是所述URSP码流中用于标识所述URSP码流关联的多个网络切片中每个网络切片的类型的字段;The processing unit is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, wherein, The first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify A field of the type of each network slice in the multiple network slices associated with the URSP code stream;
处理单元,还用于基于所述用于建立PDU会话的网络切片建立PDU会话。The processing unit is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
另外,该方面中,上行通信装置其他可选的实施方式可参见上述第一方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the uplink communication device, reference may be made to the relevant content of the first aspect above, which will not be described in detail here.
作为示例,收发单元可以为收发器或通信接口,存储单元可以为存储器,处理单元可以为处理器。As an example, the transceiver unit may be a transceiver or a communication interface, the storage unit may be a memory, and the processing unit may be a processor.
一种实施方式中,所述通信装置包括:In one embodiment, the communication device includes:
处理器,用于获取网络设备发送的路由选择策略(URSP)码流;A processor, configured to obtain a routing policy (URSP) code stream sent by a network device;
处理器,还用于根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,其中,所述第一参数是与所述终端设备关联的预先配置的参数,所述第一参数用于标识所述终端设备适用的网络切片类型,所述SST字段是所述URSP码流中用于标识所述URSP码流关联的多个网络切片中每个网络切片的类型的字段;The processor is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, wherein, The first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify A field of the type of each network slice in the multiple network slices associated with the URSP code stream;
处理器,还用于基于所述用于建立PDU会话的网络切片建立PDU会话。The processor is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
另外,该方面中,上行通信装置其他可选的实施方式可参见上述第一方面的相关内容,此处不再详述。In addition, in this aspect, for other optional implementation manners of the uplink communication device, reference may be made to the relevant content of the first aspect above, which will not be described in detail here.
另一种实施方式中,该通信装置为芯片或芯片系统。所述处理单元也可以体现为处理电路或逻辑电路;所述收发单元可以是该芯片或芯片系统上的输入/输出接口、接口电路、输出电路、输入电路、管脚或相关电路等。In another implementation manner, the communication device is a chip or a chip system. The processing unit may also be embodied as a processing circuit or a logic circuit; the transceiver unit may be an input/output interface, interface circuit, output circuit, input circuit, pin or related circuit on the chip or chip system.
在实现过程中,处理器可用于进行,例如但不限于,基带相关处理,收发器可用于进行,例如但不限于,射频收发。上述器件可以分别设置在彼此独立的芯片上,也可以至少部分的或者全部的设置在同一块芯片上。例如,处理器可以进一步划分为模拟基带处理器和数字基带处理器。其中,模拟基带处理器可以与收发器集成在同一块芯片上,数字基带处理器可以设置在独立的芯片上。随着集成电路技术的不断发展,可以在同一块芯片上集成的器件越来越多。例如,数字基带处理器可以与多种应用处理器(例如但不限于图形处理器,多媒体处理器等)集成在同一块芯片之上。这样的芯片可以称为系统芯片(System on a Chip,SoC)。将各个器件独立设置在不同的芯片上,还是整合设置在一个或者多个芯片上,往往取决于产品设计的需要。本申请实施例对上述器件的实现形式不做限定。During implementation, the processor may be used to perform, for example but not limited to, baseband related processing, and the transceiver may be used to perform, for example but not limited to, radio frequency transceiving. The above-mentioned devices may be respectively arranged on independent chips, or at least partly or all of them may be arranged on the same chip. For example, processors can be further divided into analog baseband processors and digital baseband processors. Wherein, the analog baseband processor can be integrated with the transceiver on the same chip, and the digital baseband processor can be set on an independent chip. With the continuous development of integrated circuit technology, more and more devices can be integrated on the same chip. For example, a digital baseband processor can be integrated with various application processors (such as but not limited to graphics processors, multimedia processors, etc.) on the same chip. Such a chip can be called a system chip (System on a Chip, SoC). Whether each device is independently arranged on different chips or integrated and arranged on one or more chips often depends on the needs of product design. The embodiments of the present application do not limit the implementation forms of the foregoing devices.
第三方面,本申请还提供一种处理器,用于执行上述各种方法。在执行这些方法的过程中,上述方法中有关发送上述信息和接收上述信息的过程,可以理解为由处理器输出上述信息的过程,以及处理器接收输入的上述信息的过程。在输出上述信息时,处理器将该上述信息输出给收发器,以便由收发器进行发射。该上述信息在由处理器输出之后,还可能需要进行其他的处理,然后才到达收发器。类似的,处理器接收输入的上述信息时,收发器接收该上述信息,并将其输入处理器。更进一步的,在收发器收到该上述信息之后,该上述信息可能需要进行其他的处理,然后才输入处理器。In a third aspect, the present application further provides a processor configured to execute the above various methods. In the process of executing these methods, the process of sending the above information and receiving the above information in the above method can be understood as the process of outputting the above information by the processor and the process of receiving the input of the above information by the processor. When outputting the above information, the processor outputs the above information to the transceiver for transmission by the transceiver. After the above information is output by the processor, other processing may be required before reaching the transceiver. Similarly, when the processor receives the above-mentioned input information, the transceiver receives the above-mentioned information and inputs it to the processor. Furthermore, after the transceiver receives the above information, the above information may need to be processed before being input to the processor.
基于上述原理,举例来说,前述方法中提及的获取URSP码流可以理解为处理器输入URSP码流。Based on the above principles, for example, the acquisition of the URSP code stream mentioned in the foregoing method can be understood as the processor inputting the URSP code stream.
对于处理器所涉及的发射、发送和接收等操作,如果没有特殊说明,或者,如果未与其在相关描述中的实际作用或者内在逻辑相抵触,则均可以更加一般性的理解为处理器输出和接收、输入等操作,而不是直接由射频电路和天线所进行的发射、发送和接收操作。For the transmitting, sending and receiving operations involved in the processor, if there is no special description, or if it does not conflict with its actual function or internal logic in the relevant description, it can be understood more generally as the processor output and Operations such as receiving and inputting, rather than transmitting, sending and receiving operations directly performed by radio frequency circuits and antennas.
在实现过程中,上述处理器可以是专门用于执行这些方法的处理器,也可以是执行存储器中的计算机指令来执行这些方法的处理器,例如通用处理器。上述存储器可以为非瞬时性(non-transitory)存储器,例如只读存储器(Read Only Memory,ROM),其可以与处理器集成在同一块芯片上,也可以分别设置在不同的芯片上,本申请实施例对存储器的类型以及存储器与处理器的设置方式不做限定。During implementation, the above-mentioned processor may be a processor dedicated to performing these methods, or may be a processor that executes computer instructions in a memory to perform these methods, such as a general-purpose processor. The above-mentioned memory can be a non-transitory (non-transitory) memory, such as a read-only memory (Read Only Memory, ROM), which can be integrated with the processor on the same chip, or can be respectively arranged on different chips. The embodiment does not limit the type of the memory and the arrangement of the memory and the processor.
第四方面,本申请还提供了一种通信系统,该系统包括上述方面的至少一个终端设备和至少一个网络设备。在另一种可能的设计中,该系统还可以包括本申请提供的方案中与终端设备、网络设备进行交互的其他设备。In a fourth aspect, the present application further provides a communication system, where the system includes at least one terminal device and at least one network device according to the above aspect. In another possible design, the system may further include other devices that interact with the terminal device and the network device in the solution provided by the present application.
第五方面,本申请提供了一种计算机可读存储介质,用于储存计算机软件指令,当所述指令被通信装置执行时,实现上述第一方面所述的方法。In a fifth aspect, the present application provides a computer-readable storage medium for storing computer software instructions, and when the instructions are executed by a communication device, the method described in the above-mentioned first aspect is implemented.
第六方面,本申请还提供了一种包括指令的计算机程序产品,当其在通信装置上运行时,使得通信装置执行上述第一方面所述的方法。In a sixth aspect, the present application further provides a computer program product including instructions, which, when run on a communication device, cause the communication device to execute the method described in the first aspect above.
第七方面,本申请提供了一种芯片系统,该芯片系统包括处理器和通信接口,所述通信接口用于输入和/或输出信息,所述处理器用于执行计算机可执行程序,使得安装有所述芯片系统的终端设备执行第一方面所涉及的功能。例如,确定或处理上述方法中所涉及的数据和信息中的至少一种。在一种可能的设计中,所述芯片系统还包括存储器,所述存储器,用于保存终端必要的程序指令和数据。该芯片系统,可以由芯片构成,也可以包括芯片和其他分立器件。In a seventh aspect, the present application provides a chip system, which includes a processor and a communication interface, the communication interface is used to input and/or output information, and the processor is used to execute a computer executable program, so that the installed The terminal device of the chip system executes the functions involved in the first aspect. For example, at least one of the data and information involved in the above methods is determined or processed. In a possible design, the chip system further includes a memory, and the memory is configured to store necessary program instructions and data of the terminal. The system-on-a-chip may consist of chips, or may include chips and other discrete devices.
附图说明Description of drawings
图1是本申请实施例提供的一种通信系统的结构示意图;FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application;
图2是本申请实施例提供的一种URSP码流的结构示意图;Fig. 2 is a schematic structural diagram of a URSP code stream provided by an embodiment of the present application;
图3是本申请实施例提供的一种单个网络切片的网络切片选择辅助信息的结构示意图;FIG. 3 is a schematic structural diagram of network slice selection auxiliary information for a single network slice provided by an embodiment of the present application;
图4是本申请实施例提供的一种PDU会话建立的流程示意图;FIG. 4 is a schematic flow diagram of establishing a PDU session provided by an embodiment of the present application;
图5是本申请实施例提供的一种网络切片选择方法的流程示意图;FIG. 5 is a schematic flowchart of a network slice selection method provided in an embodiment of the present application;
图6是本申请实施例提供的另一种网络切片选择方法的流程示意图;FIG. 6 is a schematic flowchart of another network slice selection method provided by an embodiment of the present application;
图7是本申请实施例提供的一种建立PDU会话的实现框图;FIG. 7 is a block diagram of an implementation of establishing a PDU session provided by an embodiment of the present application;
图8是本申请实施例提供的又一种网络切片选择方法的流程示意图;FIG. 8 is a schematic flowchart of another network slice selection method provided by an embodiment of the present application;
图9是本申请实施例提供的另一种建立PDU会话的实现框图;FIG. 9 is another implementation block diagram of establishing a PDU session provided by an embodiment of the present application;
图10是本申请实施例提供的一种通信装置的结构示意图;FIG. 10 is a schematic structural diagram of a communication device provided by an embodiment of the present application;
图11是本申请实施例提供的另一种通信装置的结构示意图;Fig. 11 is a schematic structural diagram of another communication device provided by an embodiment of the present application;
图12是本申请实施例提供的一种芯片的结构示意图。FIG. 12 is a schematic structural diagram of a chip provided by an embodiment of the present application.
具体实施方式detailed description
下面结合本申请实施例中的附图对本申请实施例中的技术方案进行清楚、完整的描述。The technical solutions in the embodiments of the present application will be clearly and completely described below in conjunction with the drawings in the embodiments of the present application.
首先,为了更好的理解本申请实施例公开的网络切片选择方法,对本申请实施例适用的通信系统进行描述。First, in order to better understand the method for selecting a network slice disclosed in the embodiment of the present application, the communication system to which the embodiment of the present application is applicable is described.
请参见图1,图1为本申请实施例提供的一种通信系统的结构示意图。该通信系统可包括但不限于一个网络设备、一个终端设备。图1所示的设备数量和形态用于举例并不构成对本申请实施例的限定,实际应用中可以包括两个或两个以上的网络设备,两个或两个以上的终端设备。图1所示的通信系统以一个网络设备,一个终端设备,且该网络设备能够为终端设备提供服务为例进行阐述。其中,图1中的网络设备以基站为例,终端设备以终端前置设备(customer premise equipment,CPE)产品为例。可理解的,终端设备不限于CPE产品,也可以是手机、平板等任何可以和网络设备进行通信的用户设备。Please refer to FIG. 1 . FIG. 1 is a schematic structural diagram of a communication system provided by an embodiment of the present application. The communication system may include but not limited to a network device and a terminal device. The number and form of devices shown in FIG. 1 are for example and do not constitute a limitation to the embodiment of the present application. In practical applications, two or more network devices and two or more terminal devices may be included. The communication system shown in FIG. 1 is described by taking one network device and one terminal device, and the network device can provide services for the terminal device as an example. Wherein, the network equipment in FIG. 1 is an example of a base station, and the terminal equipment is an example of a customer premise equipment (CPE) product. Understandably, the terminal device is not limited to CPE products, and may also be any user equipment capable of communicating with network devices, such as mobile phones and tablets.
本申请实施例的技术方案可应用于各种通信系统中。例如,第四代移动通信(4th-generation,4G)系统,第五代移动通信(5th-generation,5G)系统、第六代移动通信(6th-generation,6G)系统以及随着通信技术的不断发展,本申请实施例的技术方案还可用于后续演进的通信系统,如第七代移动通信(7th-generation,7G)系统等等。The technical solutions of the embodiments of the present application can be applied to various communication systems. For example, the fourth-generation mobile communication (4th-generation, 4G) system, the fifth-generation mobile communication (5th-generation, 5G) system, the sixth-generation mobile communication (6th-generation, 6G) system and with the continuous development of communication technology Development, the technical solution of the embodiment of the present application can also be used in a subsequent evolved communication system, such as a seventh-generation mobile communication (7th-generation, 7G) system and so on.
本申请实施例中,网络设备是核心网(core network,CN)中的CN设备。CN中可以包括一个或多个CN设备,以5G通信系统为例,CN中可以包括接入和移动性管理功能(access and mobility management function,AMF)网元、会话管理功能(session management function,SMF)网元、用户面功能(user plane function,UPF)网元、策略控制功能(policy control function,PCF)网元、统一数据管理(unified data management,UDM)网元、应用功能(application function,AF)网元等。In the embodiment of the present application, the network device is a CN device in a core network (core network, CN). The CN may include one or more CN devices. Taking the 5G communication system as an example, the CN may include access and mobility management function (access and mobility management function, AMF) network elements, session management function (session management function, SMF) ) network element, user plane function (UPF) network element, policy control function (PCF) network element, unified data management (unified data management, UDM) network element, application function (application function, AF) ) Network elements, etc.
AMF网元是由运营商网络提供的控制面网元,负责终端设备接入运营商网络的接入控制和移动性管理,例如包括移动状态管理,分配用户临时身份标识,认证和授权用户等功能。The AMF network element is a control plane network element provided by the operator network, responsible for access control and mobility management of terminal equipment accessing the operator network, such as including mobility status management, assigning temporary user IDs, authenticating and authorizing users, etc. .
SMF网元是由运营商网络提供的控制面网元,负责管理终端设备的协议数据单元(protocol data unit,PDU)会话。PDU会话是一个用于传输PDU的通道,终端设备需要通过PDU会话与数据网络(data network,DN)互相传送PDU。PDU会话由SMF网元负责建 立、维护和删除等。SMF网元包括会话管理(如会话建立、修改和释放,包含UPF和RAN之间的隧道维护)、UPF网元的选择和控制、业务和会话连续性(service and session continuity,SSC)模式选择、漫游等会话相关的功能。The SMF network element is a control plane network element provided by the operator network, and is responsible for managing the protocol data unit (protocol data unit, PDU) session of the terminal device. A PDU session is a channel for transmitting PDUs, and terminal devices need to transmit PDUs to and from a data network (DN) through the PDU session. The PDU session is established, maintained and deleted by the SMF network element. SMF network elements include session management (such as session establishment, modification and release, including tunnel maintenance between UPF and RAN), selection and control of UPF network elements, service and session continuity (service and session continuity, SSC) mode selection, Session-related functions such as roaming.
UPF网元是由运营商提供的网关,是运营商网络与DN通信的网关。UPF网元包括数据包路由和传输、包检测、服务质量(quality of service,QoS)处理、上行包检测、下行数据包存储等用户面相关的功能。The UPF network element is the gateway provided by the operator, and is the gateway for communication between the operator's network and the DN. The UPF network element includes functions related to the user plane such as data packet routing and transmission, packet detection, quality of service (QoS) processing, uplink packet detection, and downlink data packet storage.
PCF网元是由运营商提供的控制面功能,用于向SMF网元提供PDU会话的策略。策略可以包括计费相关策略、QoS相关策略和授权相关策略等。The PCF network element is a control plane function provided by the operator, and is used to provide the policy of the PDU session to the SMF network element. Policies may include accounting-related policies, QoS-related policies, and authorization-related policies.
AF网元是提供各种能力开放服务的功能网元,提供外部第三方服务器与核心网交互的接口,能够通过其与核心网进行交互,包括能够和策略管理框架交互进行策略管理。The AF network element is a functional network element that provides various capability exposure services. It provides an interface for an external third-party server to interact with the core network, and can interact with the core network through it, including interacting with the policy management framework for policy management.
此外,尽管未示出,CN中还可以包括其它可能的网元,比如网络开放功能(network exposure function,NEF)网元、统一数据仓储(unified data repository,UDR)网元、网络数据分析功能(network data analytics function,NWDAF)网元。In addition, although not shown, CN may also include other possible network elements, such as network exposure function (network exposure function, NEF) network element, unified data repository (unified data repository, UDR) network element, network data analysis function ( network data analytics function, NWDAF) network element.
本申请实施例中,终端设备包括具有无线连接功能的手持式设备、或连接到无线调制解调器的处理设备。该终端设备可以经无线接入网与核心网进行通信,该终端设备可以包括用户设备(user equipment,UE)、无线终端设备、移动终端设备、设备到设备通信(device-to-device,D2D)终端设备、车到一切(vehicle to everything,V2X)终端设备、机器到机器/机器类通信(machine-to-machine/machine-type communications,M2M/MTC)终端设备、物联网(internet of things,IoT)终端设备、订户单元、订户站,移动站、远程站、接入点(access point,AP)、远程终端、接入终端、用户终端、用户代理、或用户装备等。例如,可以包括移动电话(或称为“蜂窝”电话),具有移动终端设备的计算机,便携式、袖珍式、手持式、计算机内置的移动装置等。例如,个人通信业务(personal communication service,PCS)电话、无绳电话、会话发起协议(session initiation protocol,SIP)话机、无线本地环路(wireless local loop,WLL)站、个人数字助理(personal digital assistant,PDA)、等设备;还可以包括受限设备,例如功耗较低的设备,或存储能力有限的设备,或计算能力有限的设备等。本申请中后文用UE指代终端设备。In this embodiment of the present application, the terminal device includes a handheld device with a wireless connection function, or a processing device connected to a wireless modem. The terminal equipment can communicate with the core network via the wireless access network, and the terminal equipment can include user equipment (user equipment, UE), wireless terminal equipment, mobile terminal equipment, and device-to-device communication (device-to-device, D2D) Terminal equipment, vehicle to everything (V2X) terminal equipment, machine-to-machine/machine-type communications (M2M/MTC) terminal equipment, Internet of things (IoT) ) terminal equipment, subscriber unit, subscriber station, mobile station, remote station, access point (access point, AP), remote terminal, access terminal, user terminal, user agent, or user equipment, etc. For example, it may include mobile phones (or "cellular" phones), computers with mobile terminal equipment, portable, pocket, hand-held, computer built-in mobile devices, and the like. For example, personal communication service (PCS) telephone, cordless telephone, session initiation protocol (session initiation protocol, SIP) telephone, wireless local loop (wireless local loop, WLL) station, personal digital assistant (personal digital assistant, PDA), and other devices; it can also include limited devices, such as devices with low power consumption, or devices with limited storage capabilities, or devices with limited computing capabilities. In this application, UE is used to refer to terminal equipment in the following text.
本申请实施例可适用于被指定了网络切片类型的终端设备,比如,移动宽带(mobile broadband,MBB)产品,或者MBB产品包括的CPE产品,等等。This embodiment of the present application is applicable to a terminal device assigned a network slice type, for example, a mobile broadband (mobile broadband, MBB) product, or a CPE product included in an MBB product, and so on.
为了便于理解本申请公开的实施例,作以下两点说明。In order to facilitate understanding of the embodiments disclosed in the present application, the following two points are explained.
(1)本申请公开的实施例中场景以无线通信网络中5G新空口(new radio,NR)网络的场景为例进行说明,应当指出的是,本申请公开的实施例中的方案还可以应用于其他无线通信网络中,相应的名称也可以用其他无线通信网络中的对应功能的名称进行替代。(1) The scenario in the embodiments disclosed in the present application is described by taking the scenario of the 5G new air interface (new radio, NR) network in the wireless communication network as an example. It should be pointed out that the solutions in the embodiments disclosed in the present application can also be applied In other wireless communication networks, corresponding names may also be replaced by names of corresponding functions in other wireless communication networks.
(2)本申请公开的实施例将围绕包括多个设备、组件、模块等的系统来呈现本申请的各个方面、实施例或特征。应当理解和明白的是,各个系统可以包括另外的设备、组件、模块等,并且/或者可以并不包括结合附图讨论的所有设备、组件、模块等。此外,还可以使用这些方案的组合。(2) Embodiments disclosed in the application will present various aspects, embodiments or features of the application around a system including a plurality of devices, components, modules, and the like. It is to be understood and appreciated that the various systems may include additional devices, components, modules, etc. and/or may not include all of the devices, components, modules etc. discussed in connection with the figures. In addition, combinations of these schemes can also be used.
其次,对本申请实施例涉及的相关概念进行简单的介绍。Secondly, a brief introduction is given to related concepts involved in the embodiments of the present application.
1.网络切片。1. Network slicing.
网络切片是指针对特定服务、特定用户的不同功能需求(如计费,策略控制,安全,移动性等)、不同性能需求(如时延,移动性,可靠性等),将5G网络在同一套物理设备上虚拟出的多个具有不同特性且相互隔离的逻辑子网。从而,终端设备可接入具有不同特性的网络切 片。Network slicing refers to the integration of 5G networks into different functional requirements (such as billing, policy control, security, mobility, etc.) and different performance requirements (such as delay, mobility, reliability, etc.) Multiple logical subnets with different characteristics and isolated from each other are virtualized on a set of physical devices. Thus, terminal devices can access network slices with different characteristics.
2.终端路由选择策略(UE route selection policy,URSP)码流。2. Terminal routing selection policy (UE route selection policy, URSP) code stream.
URSP码流是网络设备在UE完成网络注册时,通过信令下发给UE,且用于UE建立协议数据单元会话(protocol data unit session,PDU session)的码流。The URSP code stream is the code stream that the network device sends to the UE through signaling when the UE completes network registration, and is used for the UE to establish a protocol data unit session (protocol data unit session, PDU session).
如图2所示,一个URSP码流包括一个或多个URSP规则(URSP rule),每个URSP rule包括一个优先值(precedence value),该URSP rule的precedence value用于指示UE使用URSP rule的顺序,UE可根据URSP rule的precedence value确定URSP rule的优先级。另外,每个URSP rule还包括一个三元组信息,以及一组或多组路由选择(route selection)。三元组信息包括互联网协议(Internet Protocol,IP)地址、协议类型、端口号。每组route selection包括一个precedence value,该route selection的precedence value用于指示UE使用route selection的顺序,UE可根据route selection的precedence value确定该route selection的优先级。每组route selection中还包括一个网络切片选择辅助信息(network slice selection assistance information,NSSAI)、一个数据网络名称(data network name,DNN)/互联网协议类型(Internet Protocol type,IP_type)。每个NSSAI包括一个或多个单网络切片的网络切片选择辅助信息(S-NSSAI)。As shown in Figure 2, a URSP code stream includes one or more URSP rules (URSP rule), each URSP rule includes a precedence value (precedence value), the precedence value of the URSP rule is used to indicate the order in which the UE uses the URSP rule , UE can determine the priority of URSP rule according to the precedence value of URSP rule. In addition, each URSP rule also includes a triplet information, and one or more sets of route selection (route selection). The triplet information includes an Internet Protocol (Internet Protocol, IP) address, protocol type, and port number. Each group of route selection includes a precedence value. The precedence value of the route selection is used to indicate the order in which the UE uses the route selection. The UE can determine the priority of the route selection according to the precedence value of the route selection. Each group of route selection also includes a network slice selection assistance information (NSSAI), a data network name (data network name, DNN)/Internet Protocol type (Internet Protocol type, IP_type). Each NSSAI includes one or more single network slice network slice selection assistance information (S-NSSAI).
其中,S-NSSAI如图3所示,该S-NSSAI包括用于表示单个网络切片的类型或服务类型(slice/service type,SST)的第一字段,该第一字段为1个字节(byte)。目前,当该第一字段的取值为1时,表示网络切片的类型或服务类型为增强型移动宽带(enhanced mobile broadband,eMBB)类型,此时第一字段也可以对应到1byte的二进制的00000001;当该第一字段的取值为2时,表示网络切片的类型或服务类型为低时延高可靠通信(ultra-reliable&low-latency communication,URLLC)类型,此时第一字段也可以对应到1byte的二进制的00000010;当该第一字段的取值为3时,表示网络切片的类型或服务类型为大规模机器类型通信(massive machine type communication,mMTC)类型,此时第一字段也可以对应到1byte的二进制的00000011。Wherein, the S-NSSAI is shown in Figure 3, the S-NSSAI includes a first field for representing the type or service type (slice/service type, SST) of a single network slice, and the first field is 1 byte ( byte). At present, when the value of the first field is 1, it means that the network slice type or service type is enhanced mobile broadband (eMBB) type, and at this time, the first field can also correspond to 1 byte binary 00000001 ; When the value of the first field is 2, it means that the network slice type or service type is low-latency high-reliability communication (ultra-reliable&low-latency communication, URLLC) type, and the first field can also correspond to 1 byte at this time The binary value is 00000010; when the value of the first field is 3, it means that the network slice type or service type is a massive machine type communication (mMTC) type, and the first field can also correspond to 1byte binary 00000011.
另外,该S-NSSAI还包括用于标识切片分类器(slice differentiator,SD)的第二字段,该第二字段包括3byte,SD用于区分相同SST的多个网络切片。该SD在URSP码流中是可选的,即URSP码流中包括SD,或不包括SD。In addition, the S-NSSAI also includes a second field for identifying a slice differentiator (slice differentiator, SD), the second field includes 3 bytes, and the SD is used to distinguish multiple network slices of the same SST. The SD is optional in the URSP code stream, that is, SD is included or not included in the URSP code stream.
再次,对本申请所要解决的技术问题进行简单的描述。Again, briefly describe the technical problem to be solved in this application.
目前,基于网络切片的PDU session的建立流程如图4所示,终端设备向网络设备发起注册请求,即请求注册网络;网络设备响应该注册请求,并在确定终端设备注册网络成功时,网络设备通过CPOLICYRPT信令,将URSP码流告知给终端设备;从而,终端设备根据协议标准解析出该URSP码流中携带的三元组信息和流量描述符(traffic descriptor),并根据URSP码流中URSP rule的优先值和route selection的优先值,对URSP rule和route selection进行排序;终端设备再依次按照先高优先级后低优先级的顺序,选择合适的网络切片(即携带终端设备允许的S-NSSAI的网络切片)建立PDU session;终端设备采用某一网络切片建立PDU session成功(即拨号成功)后,将建立PDU session所采用的网络切片对应的三元组信息发送到本终端设备的路由进程,以便进行网卡信息的配置。另外,终端设备解析URSP码流后,终端设备的上层应用通过AT(Attention)命令和C5GNSSAIRDP命令从modem获取各类NSSAI,各类NSSAI包括终端设备允许的网络切片选择辅助信息(allowed NSSAI)、给终端设备配置的网络切片选择辅助信息(configure NSSAI)、拒绝终端设备接入的网络切片选择辅 助信息(reject NSSAI)。后续终端设备从URSP码流中解析出的S-NSSAI需在该allowed NSSAI中。At present, the establishment process of a PDU session based on network slicing is shown in Figure 4. The terminal device initiates a registration request to the network device, that is, requests to register with the network; Through CPOLICYRPT signaling, the URSP code stream is notified to the terminal device; thus, the terminal device parses out the triplet information and traffic descriptor (traffic descriptor) carried in the URSP code stream according to the protocol standard, and according to the URSP code stream in the URSP code stream The priority value of the rule and the priority value of the route selection sort the URSP rule and the route selection; the terminal device then selects the appropriate network slice in the order of high priority first and then low priority (that is, carrying the S- NSSAI network slicing) to establish a PDU session; after the terminal device uses a certain network slice to successfully establish a PDU session (that is, the dial-up is successful), it will send the triplet information corresponding to the network slice used to establish the PDU session to the routing process of the terminal device , in order to configure the network card information. In addition, after the terminal device parses the URSP code stream, the upper layer application of the terminal device obtains various types of NSSAI from the modem through the AT (Attention) command and the C5GNSSAIRDP command. The network slice selection auxiliary information configured by the terminal device (configure NSSAI), and the network slice selection auxiliary information rejected by the terminal device (reject NSSAI). The S-NSSAI parsed by the subsequent terminal device from the URSP code stream must be included in the allowed NSSAI.
终端设备采用上述根据URSP码流中URSP rule的优先级和rote selection的优先级确定的网络切片建立PDU会话时,采用的网络切片可能不适合该终端设备,存在即使该PDU会话建立成功,终端设备也无法使用该网络切片的问题,进而造成已建立的PDU会话的资源浪费。例如,终端设备是MBB产品,该MBB产品是指定服务类型的产品,且只支持类型为eMBB的网络切片,若终端设备按照协议标准,在优先级最高的URSP码流中确定的优先级最高的URSP rule以及该URSP rule中优先级最高的rote selection对应的网络切片类型是uRLLC类型,即该优先级最高的URSP rule中优先级最高的rote selection对应的网络切片不适合该MBB产品。也就是说,即使MBB产品采用该网络切片建立PDU session成功,但MBB产品无法使用该网络切片,或者使用该网络切片进行网络通信时,其通信效率较低,那么已建立的PDU session就会被浪费,即造成该PDU session资源的浪费。When a terminal device establishes a PDU session using the above-mentioned network slice determined according to the priority of URSP rule and rote selection in the URSP code stream, the network slice used may not be suitable for the terminal device. Even if the PDU session is established successfully, the terminal device The problem that the network slicing cannot be used also causes waste of resources of the established PDU sessions. For example, the terminal device is an MBB product, the MBB product is a product of a specified service type, and only supports network slices of type eMBB. If the terminal device follows the protocol standard, the highest priority determined in the highest priority URSP stream The URSP rule and the network slice type corresponding to the rote selection with the highest priority in the URSP rule are uRLLC types, that is, the network slice corresponding to the rote selection with the highest priority in the URSP rule with the highest priority is not suitable for this MBB product. That is to say, even if the MBB product uses this network slice to successfully establish a PDU session, but the MBB product cannot use this network slice, or the communication efficiency is low when using this network slice for network communication, then the established PDU session will be blocked. Waste, that is, the waste of the PDU session resources.
本申请实施例提供了一种网络切片选择方法100。该网络切片选择方法100中,终端设备在建立PDU会话时,获取网络设备发送的路由选择策略URSP码流,根据第一参数和URSP码流关联的多个网络切片分别对应的SST字段(第一字段),从该多个网络切片中,确定用于建立PDU会话的网络切片,并基于确定的网络切片建立PDU会话。第一参数是用于标识终端设备适用的网络切片类型的预先配置的参数,因此终端设备根据该第一参数和SST字段确定的网络切片对于终端设备自身而言,是合适的网络切片,即终端设备是采用合适的网络切片建立PDU会话的,可避免终端设备采用不合适的网络切片建立PDU会话造成的资源浪费。The embodiment of the present application provides a network slice selection method 100 . In the network slice selection method 100, when the terminal device establishes a PDU session, it obtains the routing policy URSP code stream sent by the network device, and according to the first parameter and the corresponding SST field (first field), from the plurality of network slices, determine a network slice for establishing a PDU session, and establish a PDU session based on the determined network slice. The first parameter is a pre-configured parameter used to identify the network slice type applicable to the terminal device, so the network slice determined by the terminal device according to the first parameter and the SST field is a suitable network slice for the terminal device itself, that is, the terminal The device uses an appropriate network slice to establish a PDU session, which can avoid the waste of resources caused by the terminal device using an inappropriate network slice to establish a PDU session.
本申请实施例还针对终端设备初始注册网络成功,建立PDU会话时,提出一种网络切片选择方法200。该网络切片选择方法200与网络切片选择方法100的不同之处在于,终端设备在基于确定的网络切片初始建立PDU会话之前,还可为URSP关联的多个路由选择中的每个路由选择配置拨号因子(dialup factor)。从而终端设备在基于用于建立PDU会话的网络切片对应的第一路由选择中,所有第二网络切片建立PDU会话均失败的情况下,将第一路由选择对应的拨号因子,减去不为零的第二数值,其中,每个第二网络切片为第一路由选择中,SST字段与第一参数匹配的网络切片。该方式标记了终端设备采用第一路由选择中的所有适用于终端设备的网络切片建立PDU会话均失败的第一路由选择,使得建立PDU会话失败的网络切片对应的路由选择对应的拨号因子,不同于建立PDU会话成功或尚未建立过PDU会话的网络切片对应的路由选择对应的拨号因子。从而有利于提高终端设备在已建立的PDU会话断开,再次建立PDU会话时,根据各路由选择的拨号因子选择用于建立PDU会话的网络切片建立PDU会话的成功率。The embodiment of the present application also proposes a network slice selection method 200 when a terminal device initially registers successfully on a network and establishes a PDU session. The network slice selection method 200 is different from the network slice selection method 100 in that, before the terminal device initially establishes a PDU session based on the determined network slice, it can also configure dialing for each of the multiple routing options associated with the URSP Factor (dialup factor). Therefore, in the case where the first routing selection corresponding to the network slice used to establish the PDU session fails to establish a PDU session for all the second network slices, the terminal device subtracts the dialing factor corresponding to the first routing selection, which is not zero The second value of , wherein each second network slice is a network slice whose SST field matches the first parameter in the first routing selection. This method marks the first routing selection in which the terminal device fails to establish a PDU session using all the network slices applicable to the terminal device in the first routing selection, so that the dialing factor corresponding to the routing selection corresponding to the network slice that fails to establish a PDU session is different. The dialing factor corresponding to the route selection corresponding to the network slice where the PDU session is successfully established or the PDU session has not been established. Therefore, it is beneficial to improve the success rate of establishing a PDU session by selecting a network slice for establishing a PDU session according to the dialing factor selected by each route when the terminal device disconnects the established PDU session and establishes the PDU session again.
另外,本申请实施例还针对终端设备在已建立的PDU会话断开,重新注册网络成功、建立PDU会话时,提出一种网络切片选择方法300。该网络切片选择方法300中,终端设备在已建立的PDU会话断开且重新连接网络,且终端设备所处的网络未发生变化,或建立PDU会话所采用的URSP码流未发生变化时,是基于URSP码流关联的路由选择对应的拨号因子,或基于URSP码流关联的网络切片对应的拨号因子,从多个网络切片中确定用于建立PDU会话的网络切片的。该方式可避免终端设备采用已建立的PDU会话断开前采用的失败的路由选择或网络切片建立PDU会话,从而可提高终端设备建立PDU会话的效率。In addition, the embodiment of the present application also proposes a network slice selection method 300 for the terminal device when the established PDU session is disconnected, the network re-registration succeeds, and the PDU session is established. In the network slice selection method 300, when the terminal device disconnects the established PDU session and reconnects to the network, and the network where the terminal device is located has not changed, or the URSP code stream used to establish the PDU session has not changed, it is Based on the dialing factor corresponding to the route selection associated with the URSP code stream, or based on the dialing factor corresponding to the network slice associated with the URSP code stream, the network slice used to establish the PDU session is determined from multiple network slices. This method can prevent the terminal device from establishing a PDU session by using a failed route selection or network slicing before the established PDU session is disconnected, thereby improving the efficiency of the terminal device in establishing a PDU session.
本申请实施例提出一种网络切片选择方法100。图5是该网络切片选择方法100的流程示意图。该网络切片选择方法100是从终端设备的角度进行阐述。该网络切片选择方法100包括但不限于以下步骤:The embodiment of this application proposes a network slice selection method 100 . FIG. 5 is a schematic flowchart of the network slice selection method 100 . The network slice selection method 100 is described from the perspective of a terminal device. The network slice selection method 100 includes but not limited to the following steps:
S101.终端设备获取网络设备发送的路由选择策略(URSP)码流。S101. The terminal device obtains the routing policy (URSP) code stream sent by the network device.
S102.终端设备根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,第一参数是与终端设备关联的预先配置的参数,第一参数用于标识该终端设备适用的网络切片类型,SST字段是URSP码流中用于标识URSP码流关联的多个网络切片中每个网络切片的类型的字段。S102. The terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field. The first parameter is the network slice with the terminal The pre-configured parameters associated with the device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify the type of each network slice in the multiple network slices associated with the URSP code stream field.
从上述及图2可知,该URSP码流包括多个URSP rule,每个URSP rule包括多组路由选择,每组路由选择中包括一个NSSAI,该NSSAI包括一个或多个S-NSSAI,因此该NSSAI对应一个或多个网络切片,从而该URSP码流关联多个网络切片。As can be seen from the above and Figure 2, the URSP code stream includes multiple URSP rules, each URSP rule includes multiple groups of routing options, each group of routing options includes an NSSAI, and the NSSAI includes one or more S-NSSAI, so the NSSAI Corresponds to one or more network slices, so the URSP code stream is associated with multiple network slices.
一种可选的实施方式中,该URSP码流包括多个优先级不同的URSP rule,每个URSP rule包括多个优先级不同的路由选择,各URSP rule的优先级是根据各URSP rule的优先值确定的,各route selection的优先级是根据各route selection的优先值确定的。因此,终端设备根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,具体可指:终端设备根据URSP rule的优先级和路由选择的优先级,按照优先级从高到低的顺序从URSP码流关联的多个网络切片中选择第一网络切片;在第一网络切片的SST字段与第一参数匹配的情况下,将该第一网络切片确定为用于建立PDU会话的网络切片。In an optional embodiment, the URSP code stream includes multiple URSP rules with different priorities, and each URSP rule includes multiple routing options with different priorities, and the priority of each URSP rule is based on the priority of each URSP rule. The value is determined, and the priority of each route selection is determined according to the priority value of each route selection. Therefore, the terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, specifically, the terminal device According to the priority of the URSP rule and the priority of routing selection, the first network slice is selected from the multiple network slices associated with the URSP code stream in order of priority from high to low; the SST field of the first network slice and the first If the parameters match, the first network slice is determined as the network slice used to establish the PDU session.
可理解的,终端设备根据URSP rule的优先级和路由选择的优先级,确定出优先级最高的URSP rule中优先级最高的路由选择对应的多个网络切片,若该优先级最高的路由选择对应的多个网络切片中的第一网络切片的SST字段与第一参数匹配,即第一网络切片的SST字段指示的网络切片类型与第一参数标识的网络切片类型相同,则第一网络切片就是终端设备用于建立PDU会话的网络切片。Understandably, according to the priority of the URSP rule and the priority of the routing selection, the terminal device determines the multiple network slices corresponding to the routing selection with the highest priority in the URSP rule with the highest priority. If the routing selection with the highest priority corresponds to The SST field of the first network slice in the multiple network slices matches the first parameter, that is, the network slice type indicated by the SST field of the first network slice is the same as the network slice type identified by the first parameter, then the first network slice is Network slice used by end devices to establish PDU sessions.
另外,终端设备在第一网络切片的SST字段与第一参数不匹配的情况下,按照优先级从高到低的顺序,考察位于第一网络切片之后的第四网络切片的SST字段是否与第一参数匹配,在第四网络切片的SST字段与第一参数匹配时,将该第四网络切片的SST字段确定为用于建立PDU会话的网络切片。In addition, when the SST field of the first network slice does not match the first parameter, the terminal device checks whether the SST field of the fourth network slice after the first network slice matches the first parameter in order of priority from high to low. A parameter matching, when the SST field of the fourth network slice matches the first parameter, determine the SST field of the fourth network slice as the network slice for establishing the PDU session.
终端设备在该优先级最高的路由选择对应的每个网络切片的SST字段与第一参数均不匹配的情况下,确定优先级最高的URSP rule中优先级次高的路由选择对应的多个网络切片,若该优先级次高的路由选择对应的多个网络切片中的第五网络切片的SST字段与第一参数匹配,则该第五网络切片是终端设备用于建立PDU会话的网络切片。终端设备在该优先级次高的路由选择对应的每个网络切片的SST字段与第一参数匹配还均不匹配的情况下,继续在优先级最高的URSP rule中确定优先级更低的路由选择对应的多个网络切片,直至该多个网络切片中某个网络切片的SST字段与第一参数匹配时,确定用于建立PDU会话的网络切片。When the SST field of each network slice corresponding to the route with the highest priority does not match the first parameter, the terminal device determines the multiple networks corresponding to the route with the second highest priority in the URSP rule with the highest priority slice, if the SST field of the fifth network slice among the multiple network slices corresponding to the route with the second highest priority matches the first parameter, then the fifth network slice is the network slice used by the terminal device to establish the PDU session. When the SST field of each network slice corresponding to the route with the second highest priority does not match the first parameter, the terminal device continues to determine the route with lower priority in the URSP rule with the highest priority For the corresponding multiple network slices, until the SST field of a certain network slice in the multiple network slices matches the first parameter, determine the network slice for establishing the PDU session.
当终端设备遍历该优先级最高的URSP rule中所有路由选择对应的网络切片,均未确定出用于建立PDU会话的网络切片时,终端设备继续在优先级次高的URSP rule中,按照优先级从高到低的原则遍历优先级次高的URSP rule中每个路由选择,直至确定出用于建立PDU会话的网络切片。When the terminal device traverses all the network slices corresponding to the route selection in the URSP rule with the highest priority, and none of the network slices used to establish the PDU session is determined, the terminal device continues to follow the priority in the URSP rule with the second highest priority. Traverse each routing selection in the URSP rule with the second highest priority from high to low until the network slice used to establish the PDU session is determined.
其中,终端设备是根据上述用于表示SST字段的一个byte(即第一字段),确定SST字段是否与第一参数匹配。也就是说,终端设备在确定了一个路由选择对应的多个网络切片后, 若该多个网络切片中的第一网络切片的SST字段指示的网络切片类型与第一参数标识的网络切片类型相同,则该第一网络切片是用于建立PDU会话的网络切片。Wherein, the terminal device determines whether the SST field matches the first parameter according to the above byte (ie, the first field) used to represent the SST field. That is to say, after the terminal device determines a plurality of network slices corresponding to a route selection, if the network slice type indicated by the SST field of the first network slice among the multiple network slices is the same as the network slice type identified by the first parameter , then the first network slice is a network slice used to establish a PDU session.
示例性的,终端设备接收到的URSP码流包括优先级为A的URSP rule#1,优先级为B的URSP rule#2。URSP rule#1包括优先级为A的route selection#1、优先级为B的route selection#2,优先级为C的route selection#3,route selection#1包括网络切片A,route selection#2包括网络切片B和网络切片C。优先级为B的URSP rule#2包括优先级为B的route selection#4和优先级为C的route selection#5。A的优先级大于B的优先级,B的优先级大于C的优先级。终端设备在建立PDU会话时,确定URSP码流中优先级最高的URSP rule为URSP rule#1,且URSP rule#1中优先级最高的route selection为route selection#1,则确定该route selection#1中网络切片A的SST字段用于指示的网络切片类型是否与第一参数标识的网络切片类型相同。例如,第一参数标识的网络切片类型为eMBB类型,而网络切片A的SST字段的值为2,则该网络切片A对应的网络切片类型为uRLLC类型,即网络切片A的SST字段与第一参数不匹配,网络切片A不是建立PDU会话的网络切片。然后,终端设备继续判断URSP rule#1中优先级次高的route selection#2中的各网络切片的SST字段与第一参数是否匹配,若网络切片C的SST字段的值为1,则该网络切片C的网络切片类型为eMBB类型,即网络切片C的SST字段与第一参数匹配,那么网络切片C是终端设备适用的网络切片,也是用于建立PDU会话的网络切片。Exemplarily, the URSP code stream received by the terminal device includes URSP rule#1 with priority A and URSP rule#2 with priority B. URSP rule#1 includes route selection#1 with priority A, route selection#2 with priority B, route selection#3 with priority C, route selection#1 includes network slice A, and route selection#2 includes network Slice B and network slice C. URSP rule#2 with priority B includes route selection#4 with priority B and route selection#5 with priority C. The priority of A is higher than the priority of B, and the priority of B is higher than the priority of C. When the terminal device establishes a PDU session, it determines that the URSP rule with the highest priority in the URSP code stream is URSP rule#1, and the route selection with the highest priority in URSP rule#1 is route selection#1, then determine the route selection#1 The SST field of the network slice A is used to indicate whether the network slice type is the same as the network slice type identified by the first parameter. For example, if the network slice type identified by the first parameter is eMBB type, and the value of the SST field of network slice A is 2, then the network slice type corresponding to network slice A is uRLLC type, that is, the SST field of network slice A is the same as the first The parameters do not match, and network slice A is not the network slice for establishing the PDU session. Then, the terminal device continues to judge whether the SST field of each network slice in route selection#2 with the second highest priority in URSP rule#1 matches the first parameter. If the value of the SST field of network slice C is 1, the network The network slice type of slice C is eMBB type, that is, the SST field of network slice C matches the first parameter, then network slice C is a network slice applicable to terminal devices, and is also a network slice used to establish a PDU session.
一种可选的实施方式中,终端设备获取网络设备发送的路由选择策略(URSP)码流,具体可包括:终端设备向网络设备发起注册请求,在注册成功时,接收来自网络设备的URSP码流。从而,终端设备解析该URSP码流,获得该URSP码流中各URSP rule的优先级和各URSP rule包括的route selection的优先级。In an optional implementation manner, the terminal device obtains the routing policy (URSP) code stream sent by the network device, which may specifically include: the terminal device initiates a registration request to the network device, and when the registration is successful, receives the URSP code stream from the network device flow. Thereby, the terminal device parses the URSP code stream, and obtains the priority of each URSP rule in the URSP code stream and the priority of the route selection included in each URSP rule.
S103.终端设备基于用于建立PDU会话的网络切片建立PDU会话。S103. The terminal device establishes a PDU session based on the network slice used to establish the PDU session.
一种可选的实施方式中,终端设备在基于用于建立PDU会话的网络切片建立PDU成功时,将该网络切片对应的三元组信息发送至本终端设备的路由进程中,以便该路由进程进行网卡信息的配置,从而使得终端设备可使用该网络切片。In an optional implementation manner, when the terminal device successfully establishes the PDU based on the network slice used to establish the PDU session, it sends the triplet information corresponding to the network slice to the routing process of the terminal device, so that the routing process Configure the network card information so that the terminal device can use the network slice.
本申请实施例中,终端设备建立该PDU会话时,是基于用于标识自身适用的网络切片类型的第一参数和URSP码流关联的多个网络切片分别对应的SST字段确定的网络切片建立的。因此,终端设备是采用合适的网络切片建立的PDU会话。当该PDU会话建立成功时,终端设备可使用该网络切片,从而可避免终端设备采用不合适的网络切片建立PDU会话造成的资源浪费。In the embodiment of this application, when the terminal device establishes the PDU session, it is established based on the network slice determined by the first parameter used to identify the network slice type applicable to itself and the SST fields corresponding to the multiple network slices associated with the URSP code stream. . Therefore, end devices are PDU sessions established with appropriate network slices. When the PDU session is established successfully, the terminal device can use the network slice, thereby avoiding resource waste caused by the terminal device establishing a PDU session by using an inappropriate network slice.
本申请实施例还针对终端设备初始注册网络成功,建立PDU会话时,提出一种网络切片选择方法200。图6为网络切片选择方法200的流程示意图。该网络切片选择方法200包括但不限于:The embodiment of the present application also proposes a network slice selection method 200 when a terminal device initially registers successfully on a network and establishes a PDU session. FIG. 6 is a schematic flowchart of a network slice selection method 200 . The network slice selection method 200 includes but not limited to:
S201.终端设备在首次完成网络注册时,获取网络设备发送的路由选择策略(URSP)码流。S201. When the terminal device completes network registration for the first time, acquires a routing policy (URSP) code stream sent by the network device.
S202.终端设备根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,第一参数是与终端设备关联的预先配置的参数,第一参数用于标识该终端设备适用的网络切片类型,SST字段是URSP码流中用于标识URSP码流关联的多个网络切片中每个网络切片的类型的字段。S202. The terminal device determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field. The first parameter is the network slice with the terminal The pre-configured parameters associated with the device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify the type of each network slice in the multiple network slices associated with the URSP code stream field.
S201和S202的实施方式可参见上述S101、S102的实施方式,不再赘述。For the implementation manners of S201 and S202, reference may be made to the above implementation manners of S101 and S102, and details are not repeated here.
S203a.终端设备为URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,拨号因子的初始值为第一数值;第一数值为实数。S203a. The terminal device configures a dialing factor for each of the multiple routings associated with the URSP code stream, and the initial value of the dialing factor is a first value; the first value is a real number.
可理解的,本申请实施例不限定S203a和S201、S202的执行顺序。也就是说,S203a也可在S201之前执行,或者也可以在S201和S202之间执行。Understandably, the embodiment of the present application does not limit the execution order of S203a, S201, and S202. That is to say, S203a may also be executed before S201, or may also be executed between S201 and S202.
从上述可知,URSP码流包括多组路由选择,因此URSP码流关联多组路由选择。It can be known from the above that the URSP code stream includes multiple sets of routing options, so the URSP code stream is associated with multiple sets of routing options.
终端设备会预先为每组路由选择配置一个拨号因,每个拨号因子的初始值均为第一数值。第一数值可以是任意值,比如第一数值为0,1,等等。也就是说,URSP码流中的每组路由选择都存在一个拨号因子。The terminal device will pre-configure a dial factor for each group of routing, and the initial value of each dial factor is the first value. The first value may be any value, for example, the first value is 0, 1, and so on. That is, there is a dialing factor for each group of routing options in the URSP code stream.
S204.终端设备基于用于建立PDU会话的网络切片建立PDU会话。S204. The terminal device establishes a PDU session based on the network slice used to establish the PDU session.
S205.终端设备在基于用于建立PDU会话的网络切片对应的第一路由选择中,所有第二网络切片建立PDU会话均失败的情况下,将第一路由选择的拨号因子,减去不为零的第二数值。第二网络切片为第一路由选择中,SST字段与第一参数匹配的网络切片。S205. In the first routing selection corresponding to the network slice used to establish the PDU session, if all the second network slices fail to establish the PDU session, the terminal device subtracts the dialing factor of the first routing selection from zero the second value of . The second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
该第二数值是不为零的任一数值,比如,第二数值为-1,0,2,等等。The second value is any value that is not zero, for example, the second value is -1, 0, 2, and so on.
可理解的,用于建立PDU会话的网络切片所属的路由选择是第一路由选择。当终端设备基于第一路由选择对应的第一网络切片建立PDU会话失败时,继续采用该第一路由选择对应的其他网络切片中,SST字段与第一参数匹配的网络切片建立PDU会话。终端设备在基于第一路由选择中,SST字段与第一参数匹配的所有网络切片建立PDU会话均失败时,将第一路由选择的拨号因子减去第二数值,即终端设备基于第一路由选择中,所有终端设备适用的网络切片建立PDU会话均失败时,将第一路由选择的拨号因子减去第二数值。It can be understood that the routing selection to which the network slice used to establish the PDU session belongs is the first routing selection. When the terminal device fails to establish a PDU session based on the first network slice corresponding to the first routing, continue to use the network slice corresponding to the first routing whose SST field matches the first parameter to establish a PDU session. When the terminal device fails to establish a PDU session for all network slices whose SST field matches the first parameter based on the first route selection, it subtracts the second value from the dialing factor of the first route selection, that is, the terminal device selects the first route based on the first parameter. In this method, when all network slices applicable to the terminal device fail to establish PDU sessions, the dialing factor selected by the first route is subtracted from the second value.
该方式有利于提高终端设备在已建立的PDU会话断开,再次建立PDU会话时,根据各路由选择的拨号因子建立PDU会话的成功率。例如,终端设备不从拨号因子为第三数值的路由选择中确定用于建立PDU会话的网络切片,第三数值为第一数值减去第二数值后得到的数值,即终端设备不从已建立的PDU会话断开前建立PDU会话时,建立PDU会话不成功的路由选择中确定再次建立PDU会话的网络切片,从而可提高建立PDU会话的成功率。This method is beneficial to improve the success rate of establishing the PDU session according to the dialing factor selected by each route when the terminal device disconnects the established PDU session and establishes the PDU session again. For example, the terminal device does not determine the network slice used to establish the PDU session from the routing with the dial factor being the third value, and the third value is the value obtained by subtracting the second value from the first value, that is, the terminal device does not determine the network slice used to establish the PDU session from the When the PDU session is established before the PDU session is disconnected, the network slice for re-establishing the PDU session is determined in the routing selection of the unsuccessful PDU session establishment, so that the success rate of the PDU session establishment can be improved.
示例性的,终端设备根据URSP rule的优先级和路由选择的优先级,确定出优先级最高的URSP rule为URSP rule#1,URSP rule#1中优先级最高的路由选择为路由选择#a,路由选择#a包括网络切片A、网络切片B,以及网络切片C。网络切片A和网络切片C的SST字段指示的网络切片类型均和第一参数标识的网络切片类型相同,网络切片B的SST字段指示的网络切片类型和第一参数标识的网络切片类型不相同。那么,终端设备先确定出网络切片A是用于建立PDU会话的网络切片。终端设备在采用网络切片A建立PDU会话失败时,再确定出网络切片C是用于建立PDU会话的网络切片。若终端设备采用网络切片C建立PDU会话也失败,代表终端设备采用路由选择#a中适用于终端设备的网络切片建立PDU会话均失败,此时终端设备将路由选择#a的拨号因子减去第二数值。Exemplarily, the terminal device determines that the URSP rule with the highest priority is URSP rule#1 according to the priority of the URSP rule and the priority of routing selection, and the routing selection with the highest priority in URSP rule#1 is routing #a, Routing #a includes network slice A, network slice B, and network slice C. The network slice types indicated by the SST field of network slice A and network slice C are the same as the network slice type identified by the first parameter, and the network slice type indicated by the SST field of network slice B is different from the network slice type identified by the first parameter. Then, the terminal device first determines that network slice A is a network slice for establishing a PDU session. When the terminal device fails to establish the PDU session by using the network slice A, it determines that the network slice C is a network slice for establishing the PDU session. If the terminal device fails to establish a PDU session using network slice C, it means that the terminal device fails to establish a PDU session using the network slice applicable to the terminal device in routing #a. At this time, the terminal device subtracts the dialing factor of routing #a from the first binary value.
一种可选的实施方式中,终端设备在执行S201之后,还包括:终端设备解析该URSP码流,获得该URSP码流中各URSP rule的优先级和各URSP rule包括的route selection的优先级。In an optional implementation manner, after executing S201, the terminal device further includes: the terminal device parses the URSP code stream, and obtains the priority of each URSP rule in the URSP code stream and the priority of the route selection included in each URSP rule .
本申请实施例的实现框图可参见图7。如图7所示,终端设备在首次完成网络注册时,解析来自网络设备的URSP码流,确定该URSP码流中各URSP rule的优先级和各route selection的优先级。终端设备为URSP码流关联的每个路由选择配置拨号因子,拨号因子的初始值为第一数值。终端设备再根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,即根据终端 设备适用的网络切片类型,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片。若终端设备采用确定的网络切片建立PDU成功,则将该网络切片对应的路由选择的拨号因子存储在本地,也即不对该网络切片对应的路由选择的拨号因子做处理操作;若终端设备采用确定的网络切片建立PDU失败,则将该网络切片对应的路由选择的拨号因子的值减去第二数值,并再次根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,直至终端设备建立PDU会话成功。Refer to FIG. 7 for an implementation block diagram of the embodiment of the present application. As shown in Figure 7, when the terminal device completes the network registration for the first time, it parses the URSP code stream from the network device, and determines the priority of each URSP rule and the priority of each route selection in the URSP code stream. The terminal device configures a dialing factor for each route associated with the URSP code stream, and the initial value of the dialing factor is the first value. The terminal device then determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, that is, according to the applicable network of the terminal device The slice type determines the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream. If the terminal device uses the determined network slice to successfully establish the PDU, the dial factor of the route selection corresponding to the network slice is stored locally, that is, the dial factor of the route selection corresponding to the network slice is not processed; if the terminal device adopts the determined If the PDU fails to be established for the network slice, the second value is subtracted from the value of the dialing factor of the route selection corresponding to the network slice, and again according to the first parameter and the slice or service type (SST) field, from the associated URSP stream Among multiple network slices, determine the network slice used to establish the protocol data unit PDU session until the terminal device successfully establishes the PDU session.
另一种实施方式中,终端设备对于建立PDU会话成功时所采用的网络切片对应的路由选择,对该路由选择的拨号因子的初始配置值(第一数值)不做处理。对于未使用过的网络切片,网络切片对应的路由选择的拨号因子的值也为初始值(第一数值)。In another implementation manner, the terminal device does not process the initial configuration value (first value) of the dialing factor of the route selection corresponding to the route selection corresponding to the network slice adopted when the PDU session is established successfully. For an unused network slice, the value of the dialing factor of the route selection corresponding to the network slice is also an initial value (first value).
本申请实施例中,终端设备在首次完成网络注册时,获取网络设备发送的路由选择策略(URSP)码流;根据用于标识该终端设备适用的网络切片类型的第一参数,以及URSP码流关联的多个网络切片分别对应的SST字段,从URSP码流关联的多个网络切片中,确定用于建立PDU会话的网络切片;并为URSP码流关联的每个路由选择配置了一个拨号因子;从而终端设备在基于用于建立PDU会话的网络切片对应的第一路由选择中,所有终端设备适用的第二网络切片建立PDU会话均失败的情况下,将第一路由选择的拨号因子,减去不为零的第二数值。从而有利于终端设备在已建立的PDU会话失败,再次建立PDU会话时,根据路由选择的拨号因子建立PDU会话,进而有利于提高终端设备再次建立PDU会话的成功率。In the embodiment of the present application, when the terminal device completes network registration for the first time, it obtains the routing policy (URSP) code stream sent by the network device; according to the first parameter used to identify the network slice type applicable to the terminal device, and the URSP code stream The SST fields corresponding to the associated multiple network slices determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP stream; and configure a dial factor for each routing associated with the URSP stream ; Therefore, in the first routing selection corresponding to the network slice used to establish the PDU session, if the second network slice applicable to the terminal device fails to establish the PDU session, the dialing factor of the first routing selection is reduced by Go to the second value that is not zero. Therefore, it is beneficial for the terminal device to establish the PDU session according to the dialing factor selected by the route when the established PDU session fails and to establish the PDU session again, thereby improving the success rate of the terminal device for re-establishing the PDU session.
示例性的,假设终端设备接收到的URSP码流关联有5个路由选择,如路由选择#a、路由选择#b、路由选择#c、路由选择#d、路由选择#e。终端设备为URSP关联的这5个路由选择分别配置一个拨号因子,拨号因子的初始值(即第一数值)预设为1,第二数值预设为1。则当终端设备采用5个路由选择中的路由选择#a中,SST与第一参数匹配的所有网络切片,建立PDU会话均失败时,会将该路由选择#a对应的拨号因子,在初始配置值(即第一数值,为1)的基础上,减去第二数值,从而该路由选择#a的拨号因子变为1-1=0。而路由选择#b、路由选择#c、路由选择#d、路由选择#e各自对应的拨号因子仍然是初始配置值(即第一数值,为1)。从而,有利于终端设备在已建立的PDU会话断开后,再次建立PDU会话时,可根据每个拨号因子的值,从除开PDU会话断开前建立PDU会话失败的网络切片对应的路由选择#a(即从路由选择的拨号因子为1的路由选择)中,即,从路由选择#b、路由选择#c、路由选择#d、路由选择#e中,选择适用于终端设备的网络切片,重新建立PDU会话,即可避免终端设备再次采用之前建立PDU会话不成功的网络切片所属的路由选择#a再次建立PDU会话,进而可提高终端设备建立PDU会话的效率。Exemplarily, it is assumed that the URSP code stream received by the terminal device is associated with five routing options, such as routing #a, routing #b, routing #c, routing #d, and routing #e. The terminal device configures a dialing factor for each of the five routing options associated with the URSP. The initial value (ie, the first value) of the dialing factor is preset as 1, and the second value is preset as 1. Then, when the terminal device adopts the route selection #a among the 5 routes, all network slices whose SST matches the first parameter fail to establish a PDU session, the dial factor corresponding to the route selection #a will be set in the initial configuration value (that is, the first value, which is 1), the second value is subtracted, so that the dialing factor of the routing #a becomes 1-1=0. However, the dial factors corresponding to routing #b, routing #c, routing #d, and routing #e are still the initial configuration values (ie, the first value, which is 1). Therefore, it is beneficial for the terminal device to establish a PDU session again after the established PDU session is disconnected. According to the value of each dial factor, it can select the route from the network slice corresponding to the network slice that failed to establish the PDU session before the PDU session was disconnected# a (i.e., from the routing selection whose dialing factor is 1), that is, from routing #b, routing #c, routing #d, routing #e, select a network slice suitable for the terminal device, Re-establishing the PDU session can prevent the terminal device from re-establishing the PDU session by using the routing #a of the network slice that failed to establish the PDU session before, thereby improving the efficiency of the terminal device in establishing the PDU session.
另外,终端设备不会多次采用之前建立PDU会话不成功的网络切片对应的路由选择尝试建立PDU会话,从而网络设备也不会针对该不成功的网络切片多次拒绝终端设备建立PDU会话,进而不存在网络设备分离(detach)终端设备的风险,即不存在网络设备认为多次采用不成功的网络切片尝试建立PDU会话的终端设备是不可信的终端设备,从而将该终端设备标记为危险终端设备,进而终端设备无法向该网络设备请求注册。In addition, the terminal device will not attempt to establish a PDU session multiple times using the route selection corresponding to the network slice that failed to establish a PDU session before, so that the network device will not reject the terminal device to establish a PDU session multiple times for the unsuccessful network slice, and then There is no risk of network devices detaching terminal devices, that is, there is no network device that considers a terminal device that has repeatedly attempted to establish a PDU session with unsuccessful network slicing to be an untrusted terminal device, thereby marking the terminal device as a dangerous terminal device, and thus the terminal device cannot request registration from the network device.
一种可选的实施方式中,若终端设备采用确定的网络切片建立PDU成功,则将该网络切片对应的路由选择的拨号因子加上第三数值,即将该路由选择对应的第一数值加上第三数值,第三数值为不为零的任一数值;若终端设备基于用于建立PDU会话的网络切片对应的第一路由选择中,所有第二网络切片建立PDU会话均失败的情况下,将第一路由选择的拨号因子存储在本地,也即不对第一路由选择的拨号因子做处理操作。本申请实施例不限定终端设备采 用确定的网络切片建立PDU成功或失败时,对该网络切片对应的路由选择的拨号因子进行的具体处理操作。In an optional implementation manner, if the terminal device successfully establishes a PDU by using a determined network slice, add a third value to the dialing factor of the route selection corresponding to the network slice, that is, add the first value corresponding to the route selection to The third value, the third value is any value that is not zero; if the terminal device is based on the first route selection corresponding to the network slice used to establish the PDU session, all the second network slices fail to establish the PDU session, The dial factor selected by the first route is stored locally, that is, the dial factor selected by the first route is not processed. The embodiment of the present application does not limit the specific processing operation performed on the dialing factor of the route selection corresponding to the network slice when the terminal device succeeds or fails to establish the PDU by using the determined network slice.
另一种可选的实施方式中,上述S203a可被替换为下述的S203b。In another optional implementation manner, the above S203a may be replaced by the following S203b.
S203b:终端设备为URSP码流关联的多个网络切片中,SST字段与第一参数匹配的网络切片配置拨号因子,每个拨号因子的初始值为第一数值,第一数值为实数。S203b: The terminal device configures a dialing factor for the network slice whose SST field matches the first parameter among the multiple network slices associated with the URSP code stream. The initial value of each dialing factor is the first value, and the first value is a real number.
可理解的,SST字段与第一参数匹配的网络切片,是属于终端设备适用的网络切片。也就是说,终端设备为网络切片类型是终端设备适用的网络切片类型的网络切片配置了拨号因子。该拨号因子用于标记URSP码流关联的网络切片中,终端设备适用的网络切片。而终端设备没有为上述URSP码流关联的多个网络切片中,网络切片类型不属于终端设备适用的网络切片类型的网络切片配置拨号因子。It can be understood that the network slice whose SST field matches the first parameter belongs to the network slice applicable to the terminal device. That is to say, the terminal device configures the dialing factor for the network slice whose network slice type is a network slice type applicable to the terminal device. The dialing factor is used to mark the network slice applicable to the terminal device in the network slice associated with the URSP code stream. However, the terminal device does not configure the dialing factor for the network slices whose network slice type does not belong to the network slice type applicable to the terminal device among the multiple network slices associated with the above URSP code stream.
示例性的,URSP码流关联的网络切片包括网络切片A、网络切片B、网络切片C、网络切片D,网络切片A、网络切片C以及网络切片D的SST字段指示的网络切片类型与第一参数标识的网络切片类型相同,则终端设备为网络切片A、网络切片C以及网络切片D中的每个网络切片均配置一个拨号因子,拨号因子的初始值为2。Exemplarily, the network slices associated with the URSP stream include network slice A, network slice B, network slice C, and network slice D. The network slice types indicated by the SST fields of network slice A, network slice C, and network slice D are the same as the first If the types of network slices identified by the parameters are the same, the terminal device configures a dialing factor for each network slice in network slice A, network slice C, and network slice D, and the initial value of the dialing factor is 2.
那么,终端设备在已建立的PDU会话断开,重新建立PDU会话,且终端设备所处的网络或建立PDU的URSP码流未发生变化时,终端设备根据URSP rule的优先级和route selection的优先级,按照优先级从高到低的顺序,选择被配置有拨号因子的第三网络切片,并根据第三网络切片的拨号因子,确定第三网络切片是否是用于建立PDU会话的网络切片。可见,终端设备无需再次判断第三网络切片的SST字段是否与第一参数匹配,从而可提高终端设备重新建立PDU会话的效率。Then, when the terminal device disconnects the established PDU session and re-establishes the PDU session, and the network where the terminal device is located or the URSP code stream for establishing the PDU has not changed, the terminal device will follow the priority of the URSP rule and the priority of the route selection Select the third network slice configured with the dialing factor in order of priority from high to low, and determine whether the third network slice is a network slice for establishing a PDU session according to the dialing factor of the third network slice. It can be seen that the terminal device does not need to judge again whether the SST field of the third network slice matches the first parameter, thereby improving the efficiency of re-establishing the PDU session of the terminal device.
又一种可选的实施方式中,上述S203a和S205不执行,S204之后执行下述S206。In yet another optional implementation manner, the above S203a and S205 are not executed, and the following S206 is executed after S204.
S206:终端设备在基于用于建立PDU会话的网络切片建立PDU会话成功时,为所采用的网络切片配置一个拨号因子,拨号因子的值为第一数值,第一数值为实数。S206: When the terminal device successfully establishes the PDU session based on the network slice used to establish the PDU session, configure a dialing factor for the adopted network slice, where the value of the dialing factor is a first value, and the first value is a real number.
该方式中,拨号因子用于标记URSP码流关联的网络切片中,终端设备适用的网络切片且建立PDU会话成功的网络切片,即被配置了拨号因子的网络切片既是终端设备适用的网络切片,也是终端设备建立PDU会话成功的网络切片。没有被配置有拨号因子的网络切片,是终端设备不适用的网络切片,或者是终端设备适用的网络切片,但也是终端设备建立PDU会话失败时所采用的网络切片。In this method, the dialing factor is used to mark the network slice associated with the URSP code stream, the network slice that is applicable to the terminal device and the network slice that successfully establishes the PDU session, that is, the network slice configured with the dialing factor is not only a network slice applicable to the terminal device, It is also a network slice where the terminal device successfully establishes a PDU session. A network slice that is not configured with a dial factor is a network slice that is not applicable to the terminal device, or a network slice that is applicable to the terminal device, but it is also a network slice that the terminal device uses when it fails to establish a PDU session.
可理解的,该实施方式中,终端设备是在采用上述根据第一参数和SST字段确定的网络切片,建立PDU会话成功时,才为该网络切片增加一个拨号因子,即被该拨号因子标记的网络切片是终端设备适用的网络切片,也是终端设备建立PDU会话成功的网络切片。那么,终端设备在已建立的PDU会话断开,再次建立PDU会话,且终端设备所处的网络或建立PDU的码流未发生变化时,终端设备可直接采用被标记有拨号因子的网络切片建立PDU会话。终端设备采用该网络切片建立PDU会话时,可成功建立PDU会话,从而可避免终端设备采用之前采用的不成功的网络切片建立PDU会话,进而可明显提高终端设备再次建立PDU会话成功的概率。It can be understood that in this embodiment, the terminal device only adds a dialing factor to the network slice when the network slice determined according to the first parameter and the SST field is used to successfully establish a PDU session, that is, the dialing factor is marked by the dialing factor A network slice is a network slice applicable to a terminal device, and it is also a network slice for a terminal device to successfully establish a PDU session. Then, when the terminal device disconnects the established PDU session and establishes the PDU session again, and the network where the terminal device is located or the code stream for establishing the PDU has not changed, the terminal device can directly use the network slice marked with the dial factor to establish PDU session. When the terminal device uses the network slice to establish a PDU session, the PDU session can be successfully established, thereby preventing the terminal device from establishing a PDU session using the previously unsuccessful network slice, thereby significantly improving the probability of the terminal device successfully establishing a PDU session again.
在终端设备的位置发生变化,或者终端设备网络不稳定情况下,终端设备存在与网络设备断开连接的情况,即终端设备已建立的PDU会话断开。此时,终端设备需要重新发起网络注册请求,并在网络注册成功时再次发起PDU会话的建立。因此,本申请实施例针对已建立 的PDU会话断开,重新注册网络成功时,建立PDU会话,提出一种网络切片选择方法300,图8为网络切片选择方法300的流程示意图。该网络切片选择方法300包括但不限于:When the location of the terminal device changes or the network of the terminal device is unstable, the terminal device may be disconnected from the network device, that is, the established PDU session of the terminal device is disconnected. At this point, the terminal device needs to re-initiate the network registration request, and re-initiate the establishment of the PDU session when the network registration is successful. Therefore, the embodiment of the present application proposes a network slice selection method 300 for establishing a PDU session when the established PDU session is disconnected and the network re-registration succeeds. FIG. 8 is a schematic flowchart of the network slice selection method 300. The network slice selection method 300 includes but is not limited to:
S301.终端设备在已建立的PDU会话断开且重新连接网络时,确定终端设备所处的网络是否发生变化,或建立PDU会话所采用的URSP码流是否发生变化。S301. When the terminal device disconnects the established PDU session and reconnects to the network, determine whether the network where the terminal device is located changes, or whether the URSP code stream used to establish the PDU session changes.
终端设备在PDU会话断开后,所处的地理位置发生变化,可能会造成终端设备所处的网络发生变化,例如,终端设备所处小区发生变化、接入的基站发生变化。当终端设备所处的网络发生变化时,终端设备会再次接收来自网络设备的URSP码流,该URSP码流可与终端设备在已建立的PDU会话断开之前的URSP码流相同,或者不相同。After the PDU session is disconnected, the geographic location of the terminal device changes, which may cause the network where the terminal device is located to change, for example, the cell where the terminal device is located changes, and the base station accessed changes. When the network of the terminal device changes, the terminal device will receive the URSP code stream from the network device again, and the URSP code stream may be the same as or different from the URSP code stream of the terminal device before the disconnection of the established PDU session .
一种可选的实施方式中,终端设备根据本终端设备可连接网络的IP地址确定本终端设备所处的网络是否发生变化。当终端设备可连接网络的IP地址未发生变化时,表明该终端设备所处的网络未发生变化;当终端设备可连接的IP地址发生变化时,表明该终端设备所处的网络发生变化。In an optional implementation manner, the terminal device determines whether the network where the terminal device is located changes according to the IP address of the network to which the terminal device is connected. When the IP address of the network that the terminal device can connect to has not changed, it indicates that the network where the terminal device is located has not changed; when the IP address that the terminal device can connect to changes, it indicates that the network where the terminal device is located has changed.
一种可选的实施方式中,终端设备在已建立的PDU会话断开且重新连接网络时,接收到来自网络设备的URSP码流,此时终端设备将该URSP码流与已建立的PDU会话断开前所采用的URSP码流进行对比。若接收到的URSP码流与已建立的PDU会话断开前所采用的URSP码流相同,则终端设备确定再次建立PDU会话所采用的URSP码流未发生变化;若接收到的URSP码流与已建立的PDU会话断开前所采用的URSP码流不相同,则终端设备确定再次建立PDU会话时所采用的URSP码流发生变化。In an optional implementation, the terminal device receives the URSP code stream from the network device when the established PDU session is disconnected and reconnects to the network. At this time, the terminal device combines the URSP code stream with the established PDU session Compare the URSP code stream used before disconnection. If the received URSP code stream is the same as the URSP code stream used before the established PDU session was disconnected, the terminal device determines that the URSP code stream used to re-establish the PDU session has not changed; if the received URSP code stream is the same as If the URSP code stream used before the disconnection of the established PDU session is different, the terminal device determines that the URSP code stream used when establishing the PDU session again changes.
另一种可选的实施方式中,终端设备在已建立的PDU会话断开且重新连接网络时,未接收到来自网络设备的URSP码流,此时终端设备确定当前建立PDU会话的URSP码流未发生变化,即终端设备可继续采用已建立的PDU会话断开前所采用的URSP码流重新建立PDU会话。In another optional implementation, the terminal device does not receive the URSP code stream from the network device when the established PDU session is disconnected and reconnected to the network. At this time, the terminal device determines the URSP code stream of the currently established PDU session There is no change, that is, the terminal device can continue to use the URSP code stream used before the disconnection of the established PDU session to re-establish the PDU session.
S302.终端设备在终端设备所处的网络或建立PDU会话所采用的URSP码流未发生变化时,根据URSP码流关联的路由选择,或关联的网络切片的拨号因子,从URSP码流关联的多个网络切片中,确定用于建立PDU会话的网络切片。S302. When the network where the terminal device is located or the URSP code stream used to establish the PDU session does not change, the terminal device selects the route associated with the URSP code stream or the dialing factor of the associated network slice from the URSP code stream associated Among the multiple network slices, the network slice used to establish the PDU session is determined.
可理解的,若终端设备所处的网络或建立PDU会话所采用的URSP码流未发生变化,则终端设备在已建立的PDU会话断开之前所采用的URSP码流可继续使用,且终端设备可根据URSP码流关联的路由选择的拨号因子,或关联的网络切片的拨号因子,从URSP关联的多个网络切片中确定用于建立PDU会话的网络切片。也就是说,终端设备再次建立PDU的时候,不再是仅根据URSP码流中各URSP rule的优先级和各route selection的优先级从多个网络切片中确定用于建立PDU会话的网络切片,还参考了各路由选择的拨号因子,或各网络切片的拨号因子,这样可以参考终端设备之前建立PDU会话时所采用路由选择或网络切片的情况,从而有利于终端设备不采用之前建立PDU会话不成功时采用的路由选择或网络切片建立PDU会话,进而可提高终端设备成功建立当前PDU会话的效率。Understandably, if the network where the terminal device is located or the URSP code stream used to establish the PDU session has not changed, the URSP code stream used by the terminal device before the established PDU session is disconnected can continue to be used, and the terminal device The network slice used to establish the PDU session can be determined from multiple network slices associated with the URSP according to the dialing factor of the routing selection associated with the URSP code stream, or the dialing factor of the associated network slice. That is to say, when the terminal device establishes a PDU again, it no longer only determines the network slice used to establish the PDU session from multiple network slices according to the priority of each URSP rule and the priority of each route selection in the URSP code stream. It also refers to the dialing factor of each route selection, or the dialing factor of each network slice, so that the routing or network slicing used by the terminal device when establishing a PDU session before can be referred to, which is beneficial to the terminal device not using the previous PDU session establishment. The route selection or network slicing used to establish the PDU session when successful can improve the efficiency of the terminal device successfully establishing the current PDU session.
以下结合上述第二数值的不同情况,阐述根据URSP码流关联的路由选择或网络切片的拨号因子,从多个网络切片中,确定用于建立PDU会话的网络切片的几种实施方式。In the following, several implementations of determining the network slice used to establish the PDU session from multiple network slices according to the routing selection associated with the URSP code stream or the dialing factor of the network slice are described below in conjunction with different situations of the above-mentioned second value.
1.第二数值为正数。1. The second value is a positive number.
1.1,情况1。1.1, Case 1.
上述第二数值为正数,且终端设备在初始接入网络建立PDU会话时,为URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,则上述终端设备根据URSP码流关联的路由选择的拨号因子,从URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片, 是指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序确定第二路由选择,在第二路由选择的拨号因子大于第一阈值时,从第二路由选择关联的多个网络切片中,选择第三网络切片;在第三网络切片的SST字段与第一参数匹配的情况下,将第三网络切片确定为用于建立所述PDU会话的网络切片。The above-mentioned second value is a positive number, and when the terminal device initially accesses the network to establish a PDU session, it configures the dialing factor for each group of routing selections in the multiple routings associated with the URSP code stream, then the above-mentioned terminal device is associated with the URSP code stream The dialing factor of routing selection, the network slice used to establish the PDU session is determined from the multiple network slices associated with the URSP code stream, which refers to the URSP code stream used to establish the PDU session on the network where the terminal device is located or at the current moment When there is no change, according to the priority of the URSP rule and the priority of the route selection, determine the second route selection in order of priority from high to low. When the dial factor of the second route selection is greater than the first threshold, start from the second Selecting a third network slice among the plurality of network slices associated with routing; in the case where the SST field of the third network slice matches the first parameter, determining the third network slice as the network slice used to establish the PDU session .
其中,第一阈值可以是终端设备预先设置的。第二数值为正数且路由选择的拨号因子的值大于第一阈值,可表明终端设备在PDU会话断开之前,采用该路由选择中的网络切片建立PDU会话失败的次数在一定范围内,终端设备采用该路由选择中的网络切片建立PDU会话成功的概率较大,则终端设备仍可采用该路由选择中的网络切片建立PDU会话。从而终端设备在上述第二路由选择的拨号因子大于第一阈值时,从第二路由选择关联的多个网络切片中,选择用于建立PDU会话的网络切片。Wherein, the first threshold may be preset by the terminal device. The second value is a positive number and the value of the dialing factor of the routing selection is greater than the first threshold, which can indicate that the number of times the terminal device fails to establish a PDU session using the network slice in the routing selection is within a certain range before the PDU session is disconnected. The device adopts the network slice in the route selection to establish a PDU session with a higher probability of success, and the terminal device can still use the network slice in the route selection to establish the PDU session. Therefore, when the dialing factor of the second routing selection is greater than the first threshold, the terminal device selects a network slice for establishing a PDU session from multiple network slices associated with the second routing selection.
当路由选择的拨号因子的值小于第一阈值时,表明终端设备在已建立的PDU会话断开之前,采用该路由选择关联的网络切片建立PDU会话失败的次数超过一定范围了,即失败的次数太多了,可能会被网络设备认为是不可信的终端设备,若终端设备再次采用该路由选择关联的网络切片建立PDU会话,会存在被网络设备detach的风险,即终端设备再也无法接入该路由选择中网络切片对应的网络中。因此,当一个路由选择的拨号因子的值小于第一阈值时,终端设备不会采用该路由选择关联的网络切片建立PDU会话。When the value of the dialing factor of the route selection is less than the first threshold, it indicates that the number of times the terminal device fails to establish a PDU session using the network slice associated with the route selection exceeds a certain range before the established PDU session is disconnected, that is, the number of failures If there are too many, it may be considered as an untrustworthy terminal device by the network device. If the terminal device uses the network slice associated with the routing to establish a PDU session again, there will be a risk of being detach by the network device, that is, the terminal device will no longer be able to access In the network corresponding to the network slice in the route selection. Therefore, when the value of the dialing factor of a routing is smaller than the first threshold, the terminal device will not use the network slice associated with the routing to establish a PDU session.
例如,第一数值为2,第二数值为1。若终端设备在初始建立PDU会话时,采用路由选择#a中的所有适用于自身的网络切片建立PDU会话失败,那么路由选择#a的拨号因子的值为第一数值减去第二数值,即为2-1等于1。那么,终端设备再次建立PDU会话时,根据URSP rule的优先级、路由选择的优先级以及路由选择的拨号因子,确定用于建立PDU会话的网络切片。可理解的,终端设备确定出优先级最高的URSP rule中优先级最高的路由选择,在该优先级最高的路由选择的拨号因子大于1(第一阈值)的情况下,确定在该优先级最高的路由选择中确定用于建立PDU会话的网络切片,即在该优先级最高的路由选择包括的网络切片中,SST字段与第一参数匹配的网络切片是用于建立PDU会话的网络切片。从而使得终端设备不采用之前建立PDU均会话失败时所采用的路由选择(路由选择#a)中的网络切片建立PDU会话,可提高终端设备再次建立PDU会话的成功率。For example, the first value is 2 and the second value is 1. If the terminal device fails to establish a PDU session using all network slices applicable to itself in routing #a when initially establishing a PDU session, then the value of the dialing factor of routing #a is the first value minus the second value, that is 2-1 equals 1. Then, when the terminal device establishes a PDU session again, it determines the network slice used to establish the PDU session according to the priority of the URSP rule, the priority of routing selection, and the dialing factor of routing selection. Understandably, the terminal device determines the highest priority routing in the highest priority URSP rule, and in the case that the dialing factor of the highest priority routing is greater than 1 (first threshold), it is determined that the highest priority The network slice used to establish the PDU session is determined in the route selection of the route, that is, among the network slices included in the route selection with the highest priority, the network slice whose SST field matches the first parameter is the network slice used to establish the PDU session. Therefore, the terminal device does not establish a PDU session by using the network slice in the routing selection (routing #a) used when the PDU session failed to be established before, which can improve the success rate of the terminal device to establish a PDU session again.
1.2,情况2。1.2, Case 2.
上述第二数值为正数,且终端设备在初始接入网络建立PDU会话时,为URSP码流关联的各网络切片中,网络切片类型属于终端设备适用的网络切片类型的各网络切片增加了一个拨号因子,则上述终端设备根据URSP码流关联的多个网络切片的拨号因子,从多个网络切片中,选择用于建立PDU会话的网络切片,是指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序选择被配置有拨号因子的第三网络切片;在第三网络切片的拨号因子大于第一阈值时,将第三网络切片确定为用于建立PDU会话的网络切片。The above-mentioned second value is a positive number, and when the terminal device initially accesses the network to establish a PDU session, among the network slices associated with the URSP code stream, the network slice type belongs to the network slice type applicable to the terminal device. dialing factor, the above-mentioned terminal device selects the network slice used to establish a PDU session from multiple network slices according to the dialing factor of multiple network slices associated with the URSP code stream, which means: the network where the terminal device is located or the current When the URSP code stream used to establish the PDU session has not changed at all times, according to the priority of the URSP rule and the priority of routing selection, select the third network slice configured with the dial factor in the order of priority from high to low; When the dialing factor of the third network slice is greater than the first threshold, the third network slice is determined as the network slice for establishing the PDU session.
2.第二数值为负数。2. The second value is a negative number.
2.1,情况3。2.1, Case 3.
上述第二数值为负数,且终端设备在初始接入网络建立PDU会话时,URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,则上述终端设备根据URSP码流关联的路由选择的拨号因子,从多个网络切片中,确定用于建立PDU会话的网络切片,是指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则 的优先级和路由选择的优先级,按照优先级从高到低的顺序确定第二路由选择,在第二路由选择的拨号因子小于第一阈值时,从第二路由选择关联的多个网络切片中,选择第三网络切片;在第三网络切片的SST字段与第一参数匹配的情况下,将第三网络切片确定为用于建立所述PDU会话的网络切片。The above-mentioned second value is a negative number, and when the terminal device initially accesses the network to establish a PDU session, each group of routing selections associated with the URSP code stream is configured with a dialing factor, then the above-mentioned terminal device configures the dialing factor according to the route associated with the URSP code stream The selected dialing factor determines the network slice used to establish the PDU session from multiple network slices, which means: when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, according to The priority of the URSP rule and the priority of the route selection, determine the second route selection according to the order of priority from high to low, when the dial factor of the second route selection is less than the first threshold, select the multiple associated routes from the second route In the network slice, select the third network slice; if the SST field of the third network slice matches the first parameter, determine the third network slice as the network slice for establishing the PDU session.
当第二数值为负数,且终端设备采用某个确定的路由选择中适用的网络切片建立PDU会话均失败时,所采用的路由选择的拨号因子减去第二数值,得到的值为正值,即此时拨号因子的值大于初始值的拨号因子对应的路由选择,为之前建立PDU会话失败的所采用的路由选择。那么,只有小于第一数值减去第二数值的值,才是终端设备未使用的路由选择或建立PDU会话成功时所采用的路由选择。从而,终端设备在拨号因子的值小于第一阈值的第二路由选择关联的多个网络切片中,确定SST字段与第一参数匹配的网络切片是用于建立PDU会话的网络切片。When the second value is a negative number, and the terminal device fails to establish a PDU session using a network slice applicable to a certain routing selection, the dialing factor of the routing selection used is subtracted from the second value, and the obtained value is a positive value, That is, the routing selection corresponding to the dialing factor whose value of the dialing factor is greater than the initial value at this time is the routing selection adopted when the PDU session failed to be established before. Then, only the value less than the first value minus the second value is the route not used by the terminal device or the route adopted when the PDU session is established successfully. Therefore, the terminal device determines that the network slice whose SST field matches the first parameter is the network slice used to establish the PDU session among the multiple network slices associated with the second routing whose dialing factor value is less than the first threshold.
例如,第一数值为2,第一数值为-1。若终端设备在初始建立PDU会话时,采用路由选择#a中的所有适用的网络切片建立PDU会话失败,那么路由选择#a的拨号因子的值为第一数值减去第二数值,即为2-(-1)等于3,那么终端设备再次建立PDU会话时,先根据URSP规则的优先级和路由选择的优先级,确定第二路由选择,并在确定的第二路由选择的拨号因子小于3(第一阈值)的情况下,从第二路由选择中的多个网络切片中确定用于建立PDU会话的网络切片,从而使得终端设备不采用之前建立PDU会话均失败时所采用的路由选择,可提高终端设备再次建立PDU会话的成功率。For example, the first value is 2, and the first value is -1. If the terminal device fails to establish a PDU session using all applicable network slices in routing #a when initially establishing a PDU session, then the value of the dialing factor of routing #a is the first value minus the second value, which is 2 -(-1) is equal to 3, then when the terminal device establishes a PDU session again, first determine the second route selection according to the priority of the URSP rule and the priority of the route selection, and when the dialing factor of the determined second route selection is less than 3 In the case of (the first threshold value), the network slice used to establish the PDU session is determined from the multiple network slices in the second routing selection, so that the terminal device does not use the routing selection used when the previous establishment of the PDU session failed, It can improve the success rate of re-establishing the PDU session of the terminal device.
2.2,情况4。2.2, Case 4.
上述第二数值为负数,且终端设备在初始接入网络建立PDU会话时,为URSP码流关联的各网络切片中,网络切片类型属于终端设备适用的网络切片类型的各网络切片增加了一个拨号因子,则上述终端设备根据URSP码流关联的多个网络切片的拨号因子,从多个网络切片中,选择用于建立PDU会话的网络切片,是指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序选择被配置有拨号因子的第三网络切片;在第三网络切片的拨号因子小于第一阈值时,将第三网络切片确定为用于建立PDU会话的网络切片。The above-mentioned second value is a negative number, and when the terminal device initially accesses the network to establish a PDU session, among the network slices associated with the URSP code stream, the network slice type belongs to the network slice type applicable to the terminal device. Add a dial factor, the above-mentioned terminal device selects the network slice for establishing a PDU session from multiple network slices according to the dialing factor of multiple network slices associated with the URSP code stream, which means: in the network where the terminal device is located or at the current moment When the URSP code stream used to establish the PDU session has not changed, according to the priority of the URSP rule and the priority of routing selection, select the third network slice configured with the dial factor in the order of priority from high to low; When the dialing factor of the three network slices is smaller than the first threshold, the third network slice is determined as the network slice for establishing the PDU session.
3.不论第二数值为正数还是负数。3. Regardless of whether the second value is positive or negative.
3.1,情况5。3.1, Case 5.
不论上述第二数值为正数还是负数,若终端设备在初始接入网络建立PDU会话时,为URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,则上述终端设备根据URSP码流关联的路由选择的拨号因子,从多个网络切片中,确定用于建立PDU会话的网络切片,是指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序确定第二路由选择,在第二路由选择的拨号因子等于第一数值时,从第二路由选择关联的多个网络切片中,选择第三网络切片;在第三网络切片的SST字段与第一参数匹配的情况下,将第三网络切片确定为用于建立所述PDU会话的网络切片。Regardless of whether the above-mentioned second value is a positive number or a negative number, if the terminal device configures a dialing factor for each group of multiple routing selections associated with the URSP code stream when it initially accesses the network to establish a PDU session, the above-mentioned terminal device configures the dialing factor according to the URSP The dialing factor of the routing selection associated with the code stream determines the network slice used to establish the PDU session from multiple network slices. When a change occurs, according to the priority of the URSP rule and the priority of the routing, determine the second routing according to the order of priority from high to low. When the dialing factor of the second routing is equal to the first value, the second routing Selecting a third network slice among multiple associated network slices; in the case that the SST field of the third network slice matches the first parameter, determining the third network slice as the network slice for establishing the PDU session.
这是由于拨号因子的值为第一数值的路由选择是终端设备之前未采用过的路由选择,终端设备再次建立PDU会话时可采用这些路由选择中的网络切片建立PDU会话,也可提高终端设备建立PDU会话的成功率。This is because the routing factor whose value is the first value is the routing selection that the terminal device has not used before. When the terminal device establishes a PDU session again, it can use the network slices in these routing selections to establish a PDU session, which can also improve the terminal device. The success rate of establishing a PDU session.
3.2,情况6。3.2, Case 6.
不论上述第二数值为正数还是负数,若终端设备在初始接入网络建立PDU会话时,为 URSP码流关联的各网络切片中,网络切片类型属于终端设备适用的网络切片类型的各网络切片增加了一个拨号因子,则上述终端设备根据URSP码流关联的多个网络切片的拨号因子,从多个网络切片中,确定用于建立PDU会话的网络切片,是指:在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据URSP规则的优先级和路由选择的优先级,按照优先级从高到低的顺序选择被配置有拨号因子的第三网络切片;在第三网络切片的拨号因子等于第一数值时,将第三网络切片确定为用于建立PDU会话的网络切片。Regardless of whether the above-mentioned second value is a positive number or a negative number, if the terminal device initially accesses the network to establish a PDU session, among the network slices associated with the URSP code stream, the network slice type belongs to the network slice type applicable to the terminal device If a dialing factor is added, the above-mentioned terminal device determines the network slice used to establish a PDU session from multiple network slices according to the dialing factor of multiple network slices associated with the URSP code stream. When the network or the URSP code stream used to establish the PDU session at the current moment does not change, according to the priority of the URSP rule and the priority of routing selection, select the third network configured with the dial factor in the order of priority from high to low Slicing: when the dialing factor of the third network slice is equal to the first value, determine the third network slice as the network slice for establishing the PDU session.
由于终端设备在已建立的PDU会话断开之前采用拨号因子标记了URSP码流关联的多个网络切片中,适用于终端设备的网络切片,从而拨号因子为第一数值的网络切片为终端设备未使用且是终端设备适用的网络切片,或者为建立PDU会话成功且是终端设备适用的网络切片。因此,终端设备按照URSP规则的优先级和路由选择的优先级,从拨号因子为第一数值的网络切片中选择用于建立PDU会话的网络切片,可使得终端设备既采用的是终端设备适用的网络切片,也是之前建立PDU会话未失败的网络切片建立PDU会话的,从而可提高终端设备再次建立PDU会话的成功率。Since the terminal device uses the dialing factor to mark the network slices associated with the URSP stream before the established PDU session is disconnected, it is suitable for the network slice of the terminal device, so the network slice with the dialing factor of the first value is the network slice that the terminal device does not The network slice that is used and applicable to the terminal device, or the network slice that successfully establishes the PDU session and is applicable to the terminal device. Therefore, the terminal device selects the network slice for establishing the PDU session from the network slices whose dialing factor is the first value according to the priority of the URSP rule and the priority of routing selection, so that the terminal device can use the network slice that is suitable for the terminal device. The network slicing also establishes the PDU session for the network slice that has not failed to establish the PDU session before, so that the success rate of re-establishing the PDU session for the terminal device can be improved.
又一种可选的实施方式中,若终端设备在初始接入网络建立PDU会话时,为建立PDU会话成功时所采用的网络切片增加了一个拨号因子,则终端设备在URSP码流未发生变化,再次建立PDU会话时,可直接采用配置有拨号因子的网络切片建立PDU会话,从而可提高终端设备建立PDU会话的成功率,避免终端设备采用之前未成功的网络切片重复建立PDU会话。In another optional implementation manner, if the terminal device initially accesses the network to establish a PDU session, a dialing factor is added to the network slice used when the PDU session is established successfully, and the URSP code stream of the terminal device does not change. , when the PDU session is established again, the network slice configured with the dial factor can be directly used to establish the PDU session, thereby improving the success rate of the terminal device establishing the PDU session, and preventing the terminal device from repeatedly establishing the PDU session using the previously unsuccessful network slice.
S303.终端设备基于该网络切片建立PDU会话。S303. The terminal device establishes a PDU session based on the network slice.
一种可选的实施方式中,终端设备在终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流发生变化时,将各拨号因子的值清除,并执行根据第一参数,以及切片或服务类型(SST)字段,从URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片的步骤。In an optional implementation manner, when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment changes, the terminal device clears the value of each dial factor, and executes according to the first parameter, and The slice or service type (SST) field determines the steps for establishing the network slice for the protocol data unit PDU session from the multiple network slices associated with the URSP code stream.
也就是说,当终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流发生变化时,终端设备在PDU会话断开后再次连接网络时,不使用已建立的PDU会话断开前所采用的路由选择或网络切片,那么之前终端设备用拨号因子标记的网络切片也是不可适用的,因此终端设备需将各路由选择或网络切片的拨号因子的值清除,以使得终端设备采用新的URSP码流和该URSP码流关联的网络切片建立PDU会话。That is to say, when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment changes, the terminal device will not use the established PDU session when it connects to the network again after the PDU session is disconnected. If the routing or network slicing is adopted, the network slice marked with the dialing factor by the terminal device is not applicable, so the terminal device needs to clear the value of the dialing factor of each routing or network slice, so that the terminal device uses the new A PDU session is established between the URSP code stream and the network slice associated with the URSP code stream.
另外,本申请实施例的实现框图可参见图9。从图9可以看出,终端设备在已建立的PDU会话断开,再次完成网络注册时,解析来自网络设备的URSP码流,然后在解析完该URSP码流后,确定本终端设备所处的网络是否发生变化,或用于建立PDU会话的URSP码流是否发生变化。若终端设备确定所处的网络未发生变化,或用于建立PDU会话的URSP未发生变化,则确定用于建立PDU会话的URSP码流中各URSP rule的优先级、各route selection的优先级,根据各URSP rule的优先级、各route selection的优先级以及路由选择或网络切片的拨号因子,确定用于建立PDU会话的网络切片,并采用该确定的网络切片建立PDU会话。终端设备在PDU会话建立成功时,将所采用的网络切片或所采用的网络切片所属路由选择的拨号因子存储,即不对该网络切片的拨号因子或该网络切片所属的路由选择的拨号因子做处理;终端设备采用一个路由选择的所有终端设备适用的网络切片建立PDU会话均失败时,将所采用的路由选择的拨号因子的值减去第二数值,以记录建立PDU会话失败是所采用的路由选择。In addition, reference may be made to FIG. 9 for an implementation block diagram of the embodiment of the present application. It can be seen from Figure 9 that when the established PDU session is disconnected and the network registration is completed again, the terminal device parses the URSP code stream from the network device, and then determines the location of the terminal device after parsing the URSP code stream. Whether the network changes, or whether the URSP code stream used to establish the PDU session changes. If the terminal device determines that the network where it is located has not changed, or the URSP used to establish the PDU session has not changed, then determine the priority of each URSP rule and the priority of each route selection in the URSP code stream used to establish the PDU session, According to the priority of each URSP rule, the priority of each route selection, and the dialing factor of routing selection or network slice, determine the network slice used to establish the PDU session, and use the determined network slice to establish the PDU session. When the PDU session is successfully established, the terminal device stores the adopted network slice or the dialing factor of the routing to which the adopted network slice belongs, that is, does not process the dialing factor of the network slice or the dialing factor of the routing to which the network slice belongs ; When the terminal device adopts a route selection and all network slices applicable to the terminal device fail to establish PDU sessions, the value of the dialing factor of the route selection used is subtracted from the second value to record that the failure to establish the PDU session is the route adopted choose.
若终端设备确定所处的网络发生变化,或用于建立PDU会话的URSP发生变化,则终端 设备将所有拨号因子的值清除,并执行确定URSP码流中各URSP rule的优先级和各route selection的优先级的步骤。If the terminal device determines that the network it is in has changed, or the URSP used to establish the PDU session has changed, the terminal device will clear all the dialing factor values, and perform the determination of the priority of each URSP rule and each route selection in the URSP code stream priority steps.
本申请实施中,终端设备在已建立的PDU会话断开且重新连接网络,且终端设备所处的网络未发生变化,或建立PDU会话所采用的URSP码流未发生变化时,是基于网络切片的URSP码流关联的路由选择的拨号因子,或关联的网络切片的拨号因子,从多个网络切片中确定用于建立PDU会话的网络切片的,可避免终端设备采用已建立的PDU会话断开前采用的失败的路由选择或网络切片建立PDU会话,从而可提高终端设备建立PDU会话的效率。In the implementation of this application, when the terminal device disconnects the established PDU session and reconnects to the network, and the network where the terminal device is located has not changed, or the URSP code stream used to establish the PDU session has not changed, it is based on network slicing The dialing factor of the routing selection associated with the URSP code stream, or the dialing factor of the associated network slice, determines the network slice used to establish the PDU session from multiple network slices, which can prevent the terminal device from disconnecting the established PDU session The previously adopted failed route selection or network slicing establishes the PDU session, thereby improving the efficiency of the terminal device in establishing the PDU session.
为了实现上述本申请实施例提供的方法中的各功能,终端设备可以包括硬件结构和/或软件模块,以硬件结构、软件模块、或硬件结构加软件模块的形式来实现上述各功能。上述各功能中的某个功能以硬件结构、软件模块、还是硬件结构加软件模块的方式来执行,取决于技术方案的特定应用和设计约束条件。In order to realize the various functions in the method provided by the above embodiments of the present application, the terminal device may include a hardware structure and/or a software module, and realize the above-mentioned functions in the form of a hardware structure, a software module, or a hardware structure plus a software module. Whether one of the above-mentioned functions is executed in the form of a hardware structure, a software module, or a hardware structure plus a software module depends on the specific application and design constraints of the technical solution.
如图10所示,本申请实施例提供了一种通信装置1000。该通信装置1000可以是终端设备的部件(例如,集成电路,芯片等等)。该通信装置1000也可以是其他通信单元,用于实现本申请方法实施例中的方法。该通信装置1000可以包括:通信单元1001和处理单元1002。可选的,还可以包括存储单元1003。As shown in FIG. 10 , the embodiment of the present application provides a communication device 1000 . The communication apparatus 1000 may be a component of a terminal device (for example, an integrated circuit, a chip, etc.). The communication device 1000 may also be another communication unit, configured to implement the method in the method embodiment of the present application. The communication device 1000 may include: a communication unit 1001 and a processing unit 1002 . Optionally, a storage unit 1003 may also be included.
在一种可能的设计中,如图10中的一个或者多个单元可能由一个或者多个处理器来实现,或者由一个或者多个处理器和存储器来实现;或者由一个或多个处理器和收发器实现;或者由一个或者多个处理器、存储器和收发器实现,本申请实施例对此不作限定。所述处理器、存储器、收发器可以单独设置,也可以集成。In a possible design, one or more units in Figure 10 may be implemented by one or more processors, or by one or more processors and memory; or by one or more processors and a transceiver; or by one or more processors, memories, and a transceiver, which is not limited in this embodiment of the present application. The processor, memory, and transceiver can be set independently or integrated.
所述通信装置1000具备实现本申请实施例描述的终端设备的功能。比如,所述通信装置1000包括终端设备执行本申请实施例描述的终端设备涉及步骤所对应的模块或单元或手段(means),所述功能或单元或手段(means)可以通过软件实现,或者通过硬件实现,也可以通过硬件执行相应的软件实现,还可以通过软件和硬件结合的方式实现。详细可进一步参考前述对应方法实施例中的相应描述。The communication device 1000 has the function of realizing the terminal device described in the embodiment of this application. For example, the communication device 1000 includes a terminal device that executes the modules or units or means (means) corresponding to the steps involved in the terminal device described in the embodiments of this application, and the functions, units or means (means) can be implemented by software, or by Hardware implementation may also be implemented by executing corresponding software through hardware, or may also be implemented through a combination of software and hardware. For details, further reference may be made to the corresponding descriptions in the aforementioned corresponding method embodiments.
在一种可能的设计中,通信装置1000可包括:In a possible design, the communication device 1000 may include:
处理单元1002,用于获取网络设备发送的路由选择策略(URSP)码流;The processing unit 1002 is configured to obtain the routing policy (URSP) code stream sent by the network device;
所述处理单元1002,还用于根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,其中,所述第一参数是与所述终端设备关联的预先配置的参数,所述第一参数用于标识所述终端设备适用的网络切片类型,所述SST字段是所述URSP码流中用于标识所述URSP码流关联的多个网络切片中每个网络切片的类型的字段;The processing unit 1002 is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field , wherein the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is the A field for identifying the type of each network slice in the multiple network slices associated with the URSP code stream;
所述处理单元1002,还用于基于所述用于建立PDU会话的网络切片建立PDU会话。The processing unit 1002 is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
一种可选的实现方式中,所述URSP码流包括不同优先级的URSP规则,每个所述URSP规则包括不同优先级的路由选择;所述处理单元1002根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立PDU会话的网络切片,具体用于:根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序从所述URSP码流关联的多个网络切片中,选择第一网络切片;在所述第一网络切片的SST字段与所述第一参数匹配的情况下,将所述第一网络切片确定为所述用于建立所述PDU会话的网络切片。In an optional implementation manner, the URSP code stream includes URSP rules with different priorities, and each of the URSP rules includes routing options with different priorities; the processing unit 1002 according to the first parameter, and slice or service The type (SST) field, from the multiple network slices associated with the URSP code stream, determines the network slice used to establish the PDU session, specifically for: according to the priority of the URSP rule and the priority of the routing selection , selecting a first network slice from the plurality of network slices associated with the URSP code stream in order of priority from high to low; when the SST field of the first network slice matches the first parameter , determining the first network slice as the network slice used to establish the PDU session.
一种可选的实现方式中,所述处理单元1002,还用于:为所述URSP码流关联的多组路 由选择中的每组路由选择配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数;在基于所述用于建立PDU会话的网络切片对应的第一路由选择中,每个第二网络切片建立PDU会话均失败的情况下,将所述第一路由选择的拨号因子,减去不为零的第二数值;所述第二网络切片为所述第一路由选择中,所述SST字段与所述第一参数匹配的网络切片。In an optional implementation manner, the processing unit 1002 is further configured to: configure a dialing factor for each group of routings in the multiple groups of routings associated with the URSP code stream, and the initial value of the dialing factor is the first A value; the first value is a real number; in the first routing selection corresponding to the network slice used to establish the PDU session, if each second network slice fails to establish a PDU session, the first A dialing factor of routing, minus a second value that is not zero; the second network slice is a network slice in the first routing whose SST field matches the first parameter.
另一种可选的实现方式中,所述处理单元1002,还用于:为所述URSP关联的多个网络切片中,所述SST字段与所述第一参数匹配的网络切片配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数;在所述基于所述用于建立PDU会话的网络切片建立PDU会话失败的情况下,将所述用于建立PDU会话的网络切片的拨号因子,减去不为零的第二数值。In another optional implementation manner, the processing unit 1002 is further configured to: among the multiple network slices associated with the URSP, configure a dialing factor for the network slice whose SST field matches the first parameter, The initial value of the dialing factor is a first value; the first value is a real number; in the case of failure to establish a PDU session based on the network slice used to establish a PDU session, use the The dialing factor of the network slice, minus a second non-zero value.
又一种可选的实现方式中,所述处理单元1002,还用于:在所述基于所述用于建立PDU会话的网络切片建立PDU会话成功的情况下,为所述用于建立PDU会话的网络切片配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数。In yet another optional implementation manner, the processing unit 1002 is further configured to: if the establishment of the PDU session based on the network slice used for establishing the PDU session succeeds, for the network slice used for establishing the PDU session The dialing factor is configured for the network slice, and the initial value of the dialing factor is a first value; the first value is a real number.
一种可选的实现方式中,所述处理单元1002,还用于:在已建立的所述PDU会话断开且重新连接网络时,确定所述处理单元所处的网络是否发生变化,或当前时刻建立PDU会话所采用的URSP码流是否发生变化;在所述终端设备所处的网络或当前建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的路由规则的拨号因子,或关联的网络切片的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片;基于所述用于建立PDU会话的网络切片建立所述PDU会话。In an optional implementation manner, the processing unit 1002 is further configured to: when the established PDU session is disconnected and the network is reconnected, determine whether the network where the processing unit is located changes, or the current Whether the URSP code stream used to establish the PDU session changes at any time; when the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, according to the routing rules associated with the URSP code stream The dial factor, or the dial factor of the associated network slice, determines the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream; establishes the PDU based on the network slice used to establish the PDU session session.
一种可选的实现方式中,所述第二数值为正数;所述处理单元1002在所述处理单元所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的路由规则的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,具体用于:在所述处理单元所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序选择第二路由选择;在所述第二路由选择的拨号因子大于第一阈值时,从所述第二路由选择关联的多个网络切片中,选择第三网络切片;在所述第三网络切片的SST字段与所述第一参数匹配的情况下,将所述第三网络切片确定为所述用于建立所述PDU会话的网络切片。In an optional implementation manner, the second numerical value is a positive number; when the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment does not change, the processing unit 1002, according to The dialing factor of the routing rule associated with the URSP code stream is used to determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, specifically for: the network where the processing unit is located or When the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of the routing, select the second routing according to the order of priority from high to low; When the dialing factor of the second routing selection is greater than the first threshold, select a third network slice from the plurality of network slices associated with the second routing selection; the SST field of the third network slice and the first If the parameters match, determine the third network slice as the network slice used to establish the PDU session.
另一种可选的实现方式中,所述处理单元1002在所述处理单元所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的路由规则的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,具体用于:在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序选择第二路由选择;在所述第二路由选择的拨号因子等于所述第一数值时,从所述第二路由选择关联的多个网络切片中,选择第三网络切片;在所述第三网络切片的SST字段与所述第一参数匹配的情况下,将所述第三网络切片确定为所述用于建立所述PDU会话的网络切片。In another optional implementation manner, when the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment has not changed, the processing unit 1002, according to the route associated with the URSP code stream The regular dialing factor, which is used to determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, is specifically used for: the network where the terminal device is located or the current time used to establish the PDU session When the URSP code stream does not change, according to the priority of the URSP rule and the priority of the routing, select the second routing in the order of priority from high to low; the dialing factor of the second routing When it is equal to the first value, select a third network slice from the plurality of network slices associated with the second routing; when the SST field of the third network slice matches the first parameter, Determining the third network slice as the network slice used to establish the PDU session.
又一种可选的实现方式中,所述第二数值为正数;所述处理单元1002在所述处理单元所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的网络切片的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,具体用于:在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序选择被配置有拨号因子的第三网络切片;在所述第三网络切片的拨号因 子大于第一阈值,或等于所述第一数值时,将所述第三网络切片确定为所述用于建立所述PDU会话的网络切片。In another optional implementation manner, the second value is a positive number; when the processing unit 1002 does not change the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment, According to the dial factor of the network slice associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, specifically for: in the network where the terminal device is located Or when the URSP code stream used to establish the PDU session at the current moment has not changed, according to the priority of the URSP rule and the priority of the routing selection, select the URSP configured with the dial factor in order of priority from high to low. A third network slice; when the dialing factor of the third network slice is greater than a first threshold, or equal to the first value, determine the third network slice as the network slice used to establish the PDU session .
又一种可选的实现方式中,所述处理单元1002在所述处理单元所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的网络切片的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,具体用于:在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,确定配置有所述拨号因子的网络切片为用于建立所述PDU会话的网络切片。In yet another optional implementation manner, when the network where the processing unit is located or the URSP code stream used to establish the PDU session at the current moment has not changed, the processing unit 1002, according to the network associated with the URSP code stream The dialing factor of the slice, which is used to determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, specifically used for: the network where the terminal device is located or the current moment used to establish the PDU session When the URSP code stream does not change, it is determined that the network slice configured with the dialing factor is the network slice used to establish the PDU session.
又一种可选的实现方式中,所述处理单元1002还可在所述处理单元所处的网络或当前时刻建立PDU会话所采用的URSP码流发生变化时,将所述各拨号因子的值清除,并执行所述根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片的步骤。In yet another optional implementation manner, the processing unit 1002 may also set the value of each dialing factor to Clearing, and performing the step of determining the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field.
本申请实施例和上述所示方法实施例基于同一构思,其带来的技术效果也相同,具体原理请参照上述所示实施例的描述,不再赘述。The embodiments of the present application and the method embodiments shown above are based on the same idea, and the technical effects brought about by them are also the same. For specific principles, please refer to the description of the above-mentioned embodiments, and details will not be repeated here.
本申请实施例还提供一种通信装置1100,图11为通信装置1100的结构示意图。所述通信装置1100可以是终端设备,也可以是支持终端设备实现上述方法的芯片、芯片系统、或处理器等。该装置可用于实现上述方法实施例中描述的方法,具体可以参见上述方法实施例中的说明。The embodiment of the present application also provides a communication device 1100 , and FIG. 11 is a schematic structural diagram of the communication device 1100 . The communication apparatus 1100 may be a terminal device, or may be a chip, a chip system, or a processor that supports the terminal device to implement the above method. The device can be used to implement the methods described in the above method embodiments, and for details, refer to the descriptions in the above method embodiments.
所述通信装置1100可以包括一个或多个处理器1101。所述处理器1101可以是通用处理器或者专用处理器等。例如可以是基带处理器、数字信号处理器、专用集成电路、现场可编程门阵列或者其他可编程逻辑器件、分立门或者晶体管逻辑器件、分立硬件组件或中央处理器(Central Processing Unit,CPU)。基带处理器可以用于对通信协议以及通信数据进行处理,中央处理器可以用于对通信装置(如,基站、基带芯片,终端、终端芯片,DU或CU等)进行控制,执行软件程序,处理软件程序的数据。The communication device 1100 may include one or more processors 1101 . The processor 1101 may be a general-purpose processor or a special-purpose processor. For example, it may be a baseband processor, a digital signal processor, an application specific integrated circuit, a field programmable gate array or other programmable logic device, a discrete gate or transistor logic device, a discrete hardware component, or a central processing unit (Central Processing Unit, CPU). The baseband processor can be used to process communication protocols and communication data, and the central processing unit can be used to control communication devices (such as base stations, baseband chips, terminals, terminal chips, DU or CU, etc.), execute software programs, and process Data for Software Programs.
可选的,所述通信装置1100中可以包括一个或多个存储器1102,其上可以存有指令1104,所述指令可在所述处理器1101上被运行,使得所述通信装置1100执行上述方法实施例中描述的方法。可选的,所述存储器1102中还可以存储有数据。所述处理器1101和存储器1102可以单独设置,也可以集成在一起。Optionally, the communication device 1100 may include one or more memories 1102, on which instructions 1104 may be stored, and the instructions may be executed on the processor 1101, so that the communication device 1100 executes the above method Methods described in the Examples. Optionally, data may also be stored in the memory 1102 . The processor 1101 and the memory 1102 can be set separately or integrated together.
存储器1102可包括但不限于硬盘(hard disk drive,HDD)或固态硬盘(solid-state drive,SSD)等非易失性存储器,随机存储记忆体(Random Access Memory,RAM)、可擦除可编程只读存储器(Erasable Programmable ROM,EPROM)、只读存储器(Read-Only Memory,ROM)或便携式只读存储器(Compact Disc Read-Only Memory,CD-ROM)等等。The memory 1102 may include but not limited to hard disk (hard disk drive, HDD) or solid-state drive (solid-state drive, SSD) and other non-volatile memory, random access memory (Random Access Memory, RAM), erasable and programmable Read-only memory (Erasable Programmable ROM, EPROM), read-only memory (Read-Only Memory, ROM) or portable read-only memory (Compact Disc Read-Only Memory, CD-ROM), etc.
可选的,所述通信装置1100还可以包括收发器1105。所述收发器1105可以称为收发单元、收发机、或收发电路等,用于实现收发功能。收发器1105可以包括接收器和发送器,接收器可以称为接收机或接收电路等,用于实现接收功能;发送器可以称为发送机或发送电路等,用于实现发送功能。Optionally, the communication device 1100 may further include a transceiver 1105 . The transceiver 1105 may be called a transceiver unit, a transceiver, or a transceiver circuit, etc., and is used to realize a transceiver function. The transceiver 1105 may include a receiver and a transmitter, and the receiver may be called a receiver or a receiving circuit, etc., for realizing a receiving function; the transmitter may be called a transmitter, or a sending circuit, for realizing a sending function.
所述通信装置1100为终端设备:处理器1101用于执行网络切片选择方法100中的S101、S102、S103,以及用于执行网络切片选择方法200中的S201-S204,以及执行网络切片选择方法300中的S301-S303。The communication device 1100 is a terminal device: the processor 1101 is used to execute S101, S102, and S103 in the network slice selection method 100, and to execute S201-S204 in the network slice selection method 200, and to execute the network slice selection method 300 S301-S303 in.
另一种可能的设计中,处理器1101中可以包括用于实现接收和发送功能的收发器。例如该收发器可以是收发电路,或者是接口,或者是接口电路。用于实现接收和发送功能的收发电路、接口或接口电路可以是分开的,也可以集成在一起。上述收发电路、接口或接口电路 可以用于代码/数据的读写,或者,上述收发电路、接口或接口电路可以用于信号的传输或传递。In another possible design, the processor 1101 may include a transceiver for implementing receiving and sending functions. For example, the transceiver may be a transceiver circuit, or an interface, or an interface circuit. The transceiver circuits, interfaces or interface circuits for realizing the functions of receiving and sending can be separated or integrated together. The above-mentioned transceiver circuit, interface or interface circuit can be used for code/data reading and writing, or the above-mentioned transceiver circuit, interface or interface circuit can be used for signal transmission or transfer.
又一种可能的设计中,可选的,处理器1101可以存有指令1103,指令1103在处理器1101上运行,可使得所述通信装置1100执行上述方法实施例中描述的方法。指令1103可能固化在处理器1101中,该种情况下,处理器1101可能由硬件实现。In yet another possible design, optionally, the processor 1101 may store instructions 1103, and the instructions 1103 run on the processor 1101, and may cause the communication device 1100 to execute the methods described in the foregoing method embodiments. The instruction 1103 may be fixed in the processor 1101, in this case, the processor 1101 may be implemented by hardware.
又一种可能的设计中,通信装置1100可以包括电路,所述电路可以实现前述方法实施例中发送或接收或者通信的功能。本申请实施例中描述的处理器和收发器可实现在集成电路(integrated circuit,IC)、模拟IC、射频集成电路RFIC、混合信号IC、专用集成电路(application specific integrated circuit,ASIC)、印刷电路板(printed circuit board,PCB)、电子设备等上。该处理器和收发器也可以用各种IC工艺技术来制造,例如互补金属氧化物半导体(complementary metal oxide semiconductor,CMOS)、N型金属氧化物半导体(nMetal-oxide-semiconductor,NMOS)、P型金属氧化物半导体(positive channel metal oxide semiconductor,PMOS)、双极结型晶体管(Bipolar Junction Transistor,BJT)、双极CMOS(BiCMOS)、硅锗(SiGe)、砷化镓(GaAs)等。In yet another possible design, the communication device 1100 may include a circuit, and the circuit may implement the function of sending or receiving or communicating in the foregoing method embodiments. The processor and the transceiver described in the embodiment of the present application can be implemented in integrated circuit (integrated circuit, IC), analog IC, radio frequency integrated circuit RFIC, mixed signal IC, application specific integrated circuit (application specific integrated circuit, ASIC), printed circuit board (printed circuit board, PCB), electronic equipment, etc. The processor and transceiver can also be fabricated using various IC process technologies, such as complementary metal oxide semiconductor (CMOS), nMetal-oxide-semiconductor (NMOS), P-type Metal oxide semiconductor (positive channel metal oxide semiconductor, PMOS), bipolar junction transistor (Bipolar Junction Transistor, BJT), bipolar CMOS (BiCMOS), silicon germanium (SiGe), gallium arsenide (GaAs), etc.
以上实施例描述中的通信装置可以是第一通信装置或第二通信装置,但本申请实施例中描述的通信装置的范围并不限于此,而且通信装置的结构可以不受图11的限制。通信装置可以是独立的设备或者可以是较大设备的一部分。例如所述通信装置可以是:The communication device described in the above embodiments may be the first communication device or the second communication device, but the scope of the communication device described in the embodiment of the present application is not limited thereto, and the structure of the communication device may not be limited by FIG. 11 . A communication device may be a stand-alone device or may be part of a larger device. For example the communication device may be:
(1)独立的集成电路IC,或芯片,或,芯片系统或子系统;(1) Stand-alone integrated circuits ICs, or chips, or chip systems or subsystems;
(2)具有一个或多个IC的集合,可选的,该IC集合也可以包括用于存储数据,指令的存储部件;(2) A set of one or more ICs, optionally, the set of ICs may also include storage components for storing data and instructions;
(3)ASIC,例如调制解调器(modulator);(3) ASIC, such as a modem (modulator);
(4)可嵌入在其他设备内的模块;(4) Modules that can be embedded in other devices;
(5)接收机、终端、智能终端、蜂窝电话、无线设备、手持机、移动单元、车载设备、网络设备、云设备、人工智能设备等等;(5) Receivers, terminals, smart terminals, cellular phones, wireless devices, handsets, mobile units, vehicle-mounted devices, network devices, cloud devices, artificial intelligence devices, etc.;
(6)其他等等。(6) Others and so on.
对于通信装置可以是芯片或芯片系统的情况,可参见图12所示的芯片的结构示意图。图12所示的芯片1200包括处理器1201和通信接口1202。其中,处理器1201的数量可以是一个或多个,通信接口1202的数量可以是多个。所述芯片1200还可包括存储器1203。For the case where the communication device may be a chip or a chip system, refer to the schematic structural diagram of the chip shown in FIG. 12 . The chip 1200 shown in FIG. 12 includes a processor 1201 and a communication interface 1202 . Wherein, the number of processors 1201 may be one or more, and the number of communication interfaces 1202 may be more than one. The chip 1200 may further include a memory 1203 .
一种设计中,对于芯片用于实现本申请实施例中终端设备的功能的情况:In one design, for the case where the chip is used to implement the functions of the terminal device in the embodiment of the present application:
所述处理器1201,用于获取网络设备发送的路由选择策略(URSP)码流;The processor 1201 is configured to acquire a routing policy (URSP) code stream sent by a network device;
所述处理器1201,还用于根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,其中,所述第一参数是与所述终端设备关联的预先配置的参数,所述第一参数用于标识所述终端设备适用的网络切片类型,所述SST字段是所述URSP码流中用于标识所述URSP码流关联的多个网络切片中每个网络切片的类型的字段;The processor 1201 is further configured to determine the network slice used to establish the protocol data unit PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field , wherein the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is the A field for identifying the type of each network slice in the multiple network slices associated with the URSP code stream;
所述处理器1201,还用于基于所述用于建立PDU会话的网络切片建立PDU会话。The processor 1201 is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
本申请实施例中通信装置1100、芯片1200还可执行上述通信装置1000所述的实现方式。本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本 申请实施例保护的范围。In the embodiment of the present application, the communication device 1100 and the chip 1200 may also execute the implementation described in the communication device 1000 above. Those skilled in the art can also understand that various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functions are implemented by hardware or software depends on the specific application and overall system design requirements. Those skilled in the art can use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the protection scope of the embodiments of the present application.
本申请实施例和上述网络切片选择方法100至网络切片选择方法300所示方法实施例基于同一构思,其带来的技术效果也相同,具体原理请参照上述网络切片选择方法100至网络切片选择方法300所示实施例的描述,不再赘述。The embodiment of the present application and the method embodiments shown in the network slice selection method 100 to the network slice selection method 300 above are based on the same idea, and the technical effects they bring are also the same. For specific principles, please refer to the above network slice selection method 100 to the network slice selection method. The description of the embodiment shown in 300 is not repeated here.
本领域技术人员还可以了解到本申请实施例列出的各种说明性逻辑块(illustrative logical block)和步骤(step)可以通过电子硬件、电脑软件,或两者的结合进行实现。这样的功能是通过硬件还是软件来实现取决于特定的应用和整个系统的设计要求。本领域技术人员可以对于每种特定的应用,可以使用各种方法实现所述的功能,但这种实现不应被理解为超出本申请实施例保护的范围。Those skilled in the art can also understand that various illustrative logical blocks and steps listed in the embodiments of the present application can be implemented by electronic hardware, computer software, or a combination of both. Whether such functions are implemented by hardware or software depends on the specific application and overall system design requirements. Those skilled in the art may use various methods to implement the described functions for each specific application, but such implementation should not be understood as exceeding the protection scope of the embodiments of the present application.
本申请还提供了一种计算机可读存储介质,用于储存计算机软件指令,当所述指令被通信装置执行时,实现上述任一方法实施例的功能。The present application also provides a computer-readable storage medium for storing computer software instructions, and when the instructions are executed by a communication device, the functions of any one of the above method embodiments are realized.
本申请还提供了一种计算机程序产品,用于储存计算机软件指令,当所述指令被通信装置执行时,实现上述任一方法实施例的功能。The present application also provides a computer program product, which is used for storing computer software instructions, and when the instructions are executed by a communication device, the functions of any one of the above method embodiments are realized.
本申请还提供了一种计算机程序,当其在计算机上运行时,实现上述任一方法实施例的功能。The present application also provides a computer program, which, when running on a computer, can realize the functions of any one of the above method embodiments.
上述实施例中,可以全部或部分地通过软件、硬件、固件或者其任意组合来实现。当使用软件实现时,可以全部或部分地以计算机程序产品的形式实现。所述计算机程序产品包括一个或多个计算机指令。在计算机上加载和执行所述计算机指令时,全部或部分地产生按照本申请实施例所述的流程或功能。所述计算机可以是通用计算机、专用计算机、计算机网络、或者其他可编程装置。所述计算机指令可以存储在计算机可读存储介质中,或者从一个计算机可读存储介质向另一个计算机可读存储介质传输,例如,所述计算机指令可以从一个网站站点、计算机、服务器或数据中心通过有线(例如同轴电缆、光纤、数字用户线(digital subscriber line,DSL))或无线(例如红外、无线、微波等)方式向另一个网站站点、计算机、服务器或数据中心进行传输。所述计算机可读存储介质可以是计算机能够存取的任何可用介质或者是包含一个或多个可用介质集成的服务器、数据中心等数据存储设备。所述可用介质可以是磁性介质(例如,软盘、硬盘、磁带)、光介质(例如,高密度数字视频光盘(digital video disc,DVD))、或者半导体介质(例如,固态硬盘(solid state disk,SSD))等。In the above embodiments, all or part may be implemented by software, hardware, firmware or any combination thereof. When implemented using software, it may be implemented in whole or in part in the form of a computer program product. The computer program product includes one or more computer instructions. When the computer instructions are loaded and executed on the computer, the processes or functions according to the embodiments of the present application will be generated in whole or in part. The computer can be a general purpose computer, a special purpose computer, a computer network, or other programmable devices. The computer instructions may be stored in or transmitted from one computer-readable storage medium to another computer-readable storage medium, for example, the computer instructions may be transmitted from a website, computer, server or data center Transmission to another website site, computer, server or data center by wired (such as coaxial cable, optical fiber, digital subscriber line (DSL)) or wireless (such as infrared, wireless, microwave, etc.). The computer-readable storage medium may be any available medium that can be accessed by a computer, or a data storage device such as a server or a data center integrated with one or more available media. The available medium may be a magnetic medium (for example, a floppy disk, a hard disk, a magnetic tape), an optical medium (for example, a high-density digital video disc (digital video disc, DVD)), or a semiconductor medium (for example, a solid state disk (solid state disk, SSD)) etc.
以上所述,仅为本申请的具体实施方式,但本申请的保护范围并不局限于此,任何熟悉本技术领域的技术人员在本申请揭露的技术范围内,可轻易想到变化或替换,都应涵盖在本申请的保护范围之内。因此,本申请的保护范围应以所述权利要求的保护范围为准。The above is only a specific implementation of the application, but the scope of protection of the application is not limited thereto. Anyone familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the application. Should be covered within the protection scope of this application. Therefore, the protection scope of the present application should be determined by the protection scope of the claims.

Claims (18)

  1. 一种网络切片选择方法,应用于终端设备,其特征在于,所述方法包括:A method for selecting a network slice, applied to a terminal device, characterized in that the method comprises:
    获取网络设备发送的路由选择策略(URSP)码流;Obtain the routing policy (URSP) code stream sent by the network device;
    根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,其中,所述第一参数是与所述终端设备关联的预先配置的参数,所述第一参数用于标识所述终端设备适用的网络切片类型,所述SST字段是所述URSP码流中用于标识所述URSP码流关联的多个网络切片中每个网络切片的类型的字段;According to the first parameter and the slice or service type (SST) field, from the plurality of network slices associated with the URSP stream, determine the network slice used to establish the protocol data unit PDU session, wherein the first parameter is Preconfigured parameters associated with the terminal device, the first parameter is used to identify the network slice type applicable to the terminal device, and the SST field is used in the URSP code stream to identify the URSP code stream association A field for the type of each network slice in multiple network slices;
    基于所述用于建立PDU会话的网络切片建立PDU会话。Establishing a PDU session based on the network slice used for establishing the PDU session.
  2. 根据权利要求1所述的方法,其特征在于,所述URSP码流包括不同优先级的URSP规则,每个所述URSP规则包括不同优先级的路由选择;The method according to claim 1, wherein the URSP code stream includes URSP rules of different priorities, and each of the URSP rules includes routing selections of different priorities;
    所述根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立PDU会话的网络切片,包括:According to the first parameter and the slice or service type (SST) field, from the plurality of network slices associated with the URSP stream, determine the network slice used to establish the PDU session, including:
    根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序从所述URSP码流关联的多个网络切片中,选择第一网络切片;According to the priority of the URSP rule and the priority of the routing selection, select a first network slice from a plurality of network slices associated with the URSP code stream in order of priority from high to low;
    在所述第一网络切片的SST字段与所述第一参数匹配的情况下,将所述第一网络切片确定为所述用于建立所述PDU会话的网络切片。If the SST field of the first network slice matches the first parameter, determine the first network slice as the network slice for establishing the PDU session.
  3. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, characterized in that the method further comprises:
    为所述URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数;Configure a dialing factor for each group of routing in the multiple groups of routing associated with the URSP stream, and the initial value of the dialing factor is a first value; the first value is a real number;
    在基于所述用于建立PDU会话的网络切片对应的第一路由选择中,每个第二网络切片建立PDU会话均失败的情况下,将所述第一路由选择的拨号因子,减去不为零的第二数值;所述第二网络切片为所述第一路由选择中,所述SST字段与所述第一参数匹配的网络切片。In the first routing selection corresponding to the network slice used to establish the PDU session, if each second network slice fails to establish a PDU session, the dialing factor of the first routing selection is subtracted by not being A second value of zero; the second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
  4. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, characterized in that the method further comprises:
    为所述URSP关联的多个网络切片中,所述SST字段与所述第一参数匹配的网络切片配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数;Among the multiple network slices associated with the URSP, the network slice whose SST field matches the first parameter is configured with a dialing factor, and the initial value of the dialing factor is a first value; the first value is a real number;
    在所述基于所述用于建立PDU会话的网络切片建立PDU会话失败的情况下,将所述用于建立PDU会话的网络切片的拨号因子,减去不为零的第二数值。If the establishment of the PDU session based on the network slice used to establish the PDU session fails, subtract a second value that is not zero from the dialing factor of the network slice used to establish the PDU session.
  5. 根据权利要求1或2所述的方法,其特征在于,所述方法还包括:The method according to claim 1 or 2, characterized in that the method further comprises:
    在所述基于所述用于建立PDU会话的网络切片建立PDU会话成功的情况下,为所述用于建立PDU会话的网络切片配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数。In the case where the PDU session is successfully established based on the network slice used to establish the PDU session, a dialing factor is configured for the network slice used to establish the PDU session, and the initial value of the dialing factor is a first value; The first numerical value is a real number.
  6. 根据权利要求3至5任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 3 to 5, wherein the method further comprises:
    在已建立的所述PDU会话断开且重新连接网络时,确定所述终端设备所处的网络是否发生变化,或当前时刻建立PDU会话所采用的URSP码流是否发生变化;When the established PDU session is disconnected and reconnected to the network, determine whether the network where the terminal device is located changes, or whether the URSP code stream used to establish the PDU session at the current moment changes;
    在所述终端设备所处的网络或当前建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的路由规则的拨号因子,或关联的网络切片的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片;When the network where the terminal device is located or the URSP code stream used to establish the PDU session currently does not change, according to the dialing factor of the routing rule associated with the URSP code stream, or the dialing factor of the associated network slice, from the Determine the network slice used to establish the PDU session among the multiple network slices associated with the URSP code stream;
    基于所述用于建立PDU会话的网络切片建立所述PDU会话。Establishing the PDU session based on the network slice used for establishing the PDU session.
  7. 根据权利要求3所述的方法,其特征在于,所述第二数值为正数;所述在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的路由规则的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,包括:The method according to claim 3, wherein the second value is a positive number; when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, According to the dialing factor of the routing rule associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, including:
    在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序选择第二路由选择;When the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, according to the priority of the URSP rule and the priority of the route selection, the priority is from high to low The order of selection of the second routing;
    在所述第二路由选择的拨号因子大于第一阈值时,从所述第二路由选择关联的多个网络切片中,选择第三网络切片;Selecting a third network slice from multiple network slices associated with the second route selection when the dialing factor of the second route selection is greater than a first threshold;
    在所述第三网络切片的SST字段与所述第一参数匹配的情况下,将所述第三网络切片确定为所述用于建立所述PDU会话的网络切片。If the SST field of the third network slice matches the first parameter, determine the third network slice as the network slice for establishing the PDU session.
  8. 根据权利要求3所述的方法,其特征在于,所述在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的路由规则的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,包括:The method according to claim 3, wherein when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, according to the route associated with the URSP code stream The dialing factor of the rule determines the network slice used to establish the PDU session from the multiple network slices associated with the URSP stream, including:
    在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序选择第二路由选择;When the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, according to the priority of the URSP rule and the priority of the route selection, the priority is from high to low The order of selection of the second routing;
    在所述第二路由选择的拨号因子等于所述第一数值时,从所述第二路由选择关联的多个网络切片中,选择第三网络切片;When the dialing factor of the second routing is equal to the first value, selecting a third network slice from a plurality of network slices associated with the second routing;
    在所述第三网络切片的SST字段与所述第一参数匹配的情况下,将所述第三网络切片确定为所述用于建立所述PDU会话的网络切片。If the SST field of the third network slice matches the first parameter, determine the third network slice as the network slice for establishing the PDU session.
  9. 根据权利要求4所述的方法,其特征在于,所述第二数值为正数;所述在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的网络切片的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,包括:The method according to claim 4, wherein the second value is a positive number; when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, According to the dial factor of the network slice associated with the URSP code stream, determine the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream, including:
    在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序选择被配置有拨号因子的第三网络切片;When the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, according to the priority of the URSP rule and the priority of the route selection, the priority is from high to low selecting a third network slice configured with a dialing factor in an order of ;
    在所述第三网络切片的拨号因子大于第一阈值,或等于所述第一数值时,将所述第三网络切片确定为所述用于建立所述PDU会话的网络切片。When the dialing factor of the third network slice is greater than a first threshold or equal to the first value, determining the third network slice as the network slice for establishing the PDU session.
  10. 根据权利要求5所述的方法,其特征在于,所述在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,根据所述URSP码流关联的网络切片的拨号因子,从所述URSP码流关联的多个网络切片中确定用于建立PDU会话的网络切片,包括:The method according to claim 5, wherein when the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment has not changed, according to the network associated with the URSP code stream The dialing factor of the slice determines the network slice used to establish the PDU session from the multiple network slices associated with the URSP stream, including:
    在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流未发生变化时,确定配置有所述拨号因子的网络切片为用于建立所述PDU会话的网络切片。When the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment does not change, determine the network slice configured with the dialing factor as the network slice used to establish the PDU session.
  11. 根据权利要求6至10任一项所述的方法,其特征在于,所述方法还包括:The method according to any one of claims 6 to 10, further comprising:
    在所述终端设备所处的网络或当前时刻建立PDU会话所采用的URSP码流发生变化时,将所述各拨号因子的值清除,并执行所述根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片的步骤。When the network where the terminal device is located or the URSP code stream used to establish the PDU session at the current moment changes, the values of the dialing factors are cleared, and the first parameter and slice or service type ( SST) field, from the multiple network slices associated with the URSP code stream, determine the step of establishing the network slice for the protocol data unit PDU session.
  12. 一种通信装置,其特征在于,所述通信装置包括:A communication device, characterized in that the communication device includes:
    处理单元,用于获取网络设备发送的路由选择策略(URSP)码流;A processing unit, configured to acquire a routing policy (URSP) code stream sent by a network device;
    所述处理单元,还用于根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立协议数据单元PDU会话的网络切片,其中,所述第一参数是与所述终端设备关联的预先配置的参数,所述第一参数用于标识所述终端设备适用的网络切片类型,所述SST字段是所述URSP码流中用于标识所述URSP码流关联的多个网络切片中每个网络切片的类型的字段;The processing unit is further configured to determine a network slice for establishing a protocol data unit PDU session from among multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, Wherein, the first parameter is a pre-configured parameter associated with the terminal device, the first parameter is used to identify the type of network slice applicable to the terminal device, and the SST field is used in the URSP code stream A field for identifying the type of each network slice among the multiple network slices associated with the URSP code stream;
    所述处理单元,还用于基于所述用于建立PDU会话的网络切片建立PDU会话。The processing unit is further configured to establish a PDU session based on the network slice used for establishing the PDU session.
  13. 根据权利要求12所述的通信装置,其特征在于,所述URSP码流包括不同优先级的URSP规则,每个所述URSP规则包括不同优先级的路由选择;The communication device according to claim 12, wherein the URSP code stream includes URSP rules with different priorities, and each of the URSP rules includes routing options with different priorities;
    所述处理单元根据第一参数,以及切片或服务类型(SST)字段,从所述URSP码流关联的多个网络切片中,确定用于建立PDU会话的网络切片,具体用于:The processing unit determines the network slice used to establish the PDU session from the multiple network slices associated with the URSP code stream according to the first parameter and the slice or service type (SST) field, specifically for:
    根据所述URSP规则的优先级和所述路由选择的优先级,按照优先级从高到低的顺序从所述URSP码流关联的多个网络切片中,选择第一网络切片;According to the priority of the URSP rule and the priority of the routing selection, select a first network slice from a plurality of network slices associated with the URSP code stream in order of priority from high to low;
    在所述第一网络切片的SST字段与所述第一参数匹配的情况下,将所述第一网络切片确定为所述用于建立所述PDU会话的网络切片。If the SST field of the first network slice matches the first parameter, determine the first network slice as the network slice for establishing the PDU session.
  14. 根据权利要求12或13所述的通信装置,其特征在于,The communication device according to claim 12 or 13, characterized in that,
    所述处理单元,还用于为所述URSP码流关联的多组路由选择中的每组路由选择配置拨号因子,所述拨号因子的初始值为第一数值;所述第一数值为实数;The processing unit is also configured to configure a dialing factor for each group of routings associated with the URSP code stream, and the initial value of the dialing factor is a first value; the first value is a real number;
    在基于所述用于建立PDU会话的网络切片对应的第一路由选择中,每个第二网络切片建立PDU会话均失败的情况下,将所述第一路由选择的拨号因子,减去不为零的第二数值;所述第二网络切片为所述第一路由选择中,所述SST字段与所述第一参数匹配的网络切片。In the first routing selection corresponding to the network slice used to establish the PDU session, if each second network slice fails to establish a PDU session, the dialing factor of the first routing selection is subtracted by not being A second value of zero; the second network slice is a network slice whose SST field matches the first parameter in the first routing selection.
  15. 一种通信装置,其特征在于,包括处理器和通信接口,所述通信接口用于与其它通信装置进行通信;所述处理器用于运行程序,以使得所述通信装置实现权利要求1至11任一项所述的方法。A communication device, characterized in that it includes a processor and a communication interface, the communication interface is used to communicate with other communication devices; the processor is used to run a program, so that the communication device implements any one of claims 1 to 11. one of the methods described.
  16. 一种计算机可读存储介质,所述计算机可读存储介质用于储存计算机软件指令,当上所述计算机软件指令在计算机上运行时,使得权利要求1至11任一项所述的方法被执行。A computer-readable storage medium, the computer-readable storage medium is used to store computer software instructions, when the above computer software instructions are run on a computer, the method described in any one of claims 1 to 11 is executed .
  17. 一种包含指令的计算机程序产品,当所述指令在计算机上运行时,使得权利要求1至11任一项所述的方法被执行。A computer program product comprising instructions which, when run on a computer, cause the method of any one of claims 1 to 11 to be performed.
  18. 一种芯片系统,其特征在于,包括:A system on a chip, characterized in that it comprises:
    通信接口,用于输入和/或输出信息;communication interface for input and/or output of information;
    处理器,用于执行计算机可执行程序,使得安装有所述芯片系统的设备执行如权利要求1至11中任一项所述的方法。A processor, configured to execute a computer-executable program, so that the device installed with the system-on-a-chip executes the method according to any one of claims 1-11.
PCT/CN2022/097210 2021-06-21 2022-06-06 Network slice selection method and related apparatus WO2022267872A1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
CN202110686904.4 2021-06-21
CN202110686904.4A CN115580919A (en) 2021-06-21 2021-06-21 Network slice selection method and related device

Publications (1)

Publication Number Publication Date
WO2022267872A1 true WO2022267872A1 (en) 2022-12-29

Family

ID=84544115

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/097210 WO2022267872A1 (en) 2021-06-21 2022-06-06 Network slice selection method and related apparatus

Country Status (2)

Country Link
CN (1) CN115580919A (en)
WO (1) WO2022267872A1 (en)

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110557798A (en) * 2019-08-26 2019-12-10 中国联合网络通信集团有限公司 method and device for determining URSP
EP3713260A1 (en) * 2019-03-19 2020-09-23 Deutsche Telekom AG User equipment and network entity for communication network using network slicing
CN111726839A (en) * 2019-03-19 2020-09-29 华为技术有限公司 Network slice selection method and device
CN112087815A (en) * 2019-06-13 2020-12-15 华为技术有限公司 Communication method, device and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3713260A1 (en) * 2019-03-19 2020-09-23 Deutsche Telekom AG User equipment and network entity for communication network using network slicing
CN111726839A (en) * 2019-03-19 2020-09-29 华为技术有限公司 Network slice selection method and device
CN112087815A (en) * 2019-06-13 2020-12-15 华为技术有限公司 Communication method, device and system
CN110557798A (en) * 2019-08-26 2019-12-10 中国联合网络通信集团有限公司 method and device for determining URSP

Also Published As

Publication number Publication date
CN115580919A (en) 2023-01-06

Similar Documents

Publication Publication Date Title
US20230093339A1 (en) Session Management Method, Apparatus, and System
RU2731121C1 (en) Registration method, a session setup method, a terminal device and an access and mobility management function object
US20210022063A1 (en) Data transmission method and apparatus
WO2019214300A1 (en) Data transmission method, device and readable storage medium
WO2019033796A1 (en) Session processing method and related device
CN113498086B (en) Method for adjusting access network slice, communication equipment, network equipment and system
EP4192184A1 (en) Pdu session establishment method, terminal device, and chip system
US20230300601A1 (en) Method for traffic descriptor transmission and related devices
CN111641989B (en) Protocol data unit session establishing method and related device
US11659512B2 (en) Knowledge of slice quota availability for a UE
CN109548023B (en) Network sharing system, network connection method and access method of user equipment
US20220141705A1 (en) Reflective QoS Enhancements
WO2020216099A1 (en) Communication method and related device
CN114302447A (en) Processing method of 5GSM congestion timer and user equipment
WO2021063164A1 (en) Communication method, communication apparatus, and storage medium
WO2021163901A1 (en) Session processing method and apparatus therefor
US20220353780A1 (en) Network Slicing Enhancements
WO2022267872A1 (en) Network slice selection method and related apparatus
WO2021208059A1 (en) Connection establishment method and apparatus, device and storage medium
CN114982284B (en) Communication method and device
WO2022204914A1 (en) Cell reselection method, device, and storage medium
WO2023133689A1 (en) Network slice determination method and apparatus, and storage medium
TWI809626B (en) Methods and user equipment for mobile communications
WO2021056449A1 (en) Session switching method, apparatus and related device
EP4171168A1 (en) Relay session establishment method, apparatus, device, and storage medium

Legal Events

Date Code Title Description
121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22827368

Country of ref document: EP

Kind code of ref document: A1

NENP Non-entry into the national phase

Ref country code: DE