CN112040532A - Network slice selection method, device, equipment and storage medium - Google Patents
Network slice selection method, device, equipment and storage medium Download PDFInfo
- Publication number
- CN112040532A CN112040532A CN202010977687.XA CN202010977687A CN112040532A CN 112040532 A CN112040532 A CN 112040532A CN 202010977687 A CN202010977687 A CN 202010977687A CN 112040532 A CN112040532 A CN 112040532A
- Authority
- CN
- China
- Prior art keywords
- apn
- identification information
- slice
- network
- slice identification
- Prior art date
- Legal status (The legal status 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 status listed.)
- Granted
Links
- 238000010187 selection method Methods 0.000 title description 3
- 238000000034 method Methods 0.000 claims abstract description 60
- 230000011664 signaling Effects 0.000 claims description 23
- 230000011218 segmentation Effects 0.000 claims description 6
- 230000004044 response Effects 0.000 claims description 5
- 230000000977 initiatory effect Effects 0.000 claims 1
- 238000004891 communication Methods 0.000 abstract description 35
- 239000010410 layer Substances 0.000 description 80
- 230000006870 function Effects 0.000 description 28
- 238000010586 diagram Methods 0.000 description 15
- 206010051015 Radiation hepatitis Diseases 0.000 description 14
- 238000005516 engineering process Methods 0.000 description 9
- 230000008569 process Effects 0.000 description 7
- 238000004590 computer program Methods 0.000 description 5
- 230000007774 longterm Effects 0.000 description 4
- 230000007246 mechanism Effects 0.000 description 4
- 230000005540 biological transmission Effects 0.000 description 3
- 238000010295 mobile communication Methods 0.000 description 3
- 238000012545 processing Methods 0.000 description 3
- 230000008859 change Effects 0.000 description 2
- 239000000284 extract Substances 0.000 description 2
- 239000002346 layers by function Substances 0.000 description 2
- 230000003287 optical effect Effects 0.000 description 2
- 230000009286 beneficial effect Effects 0.000 description 1
- 239000012792 core layer Substances 0.000 description 1
- 238000011161 development Methods 0.000 description 1
- 230000018109 developmental process Effects 0.000 description 1
- 230000004069 differentiation Effects 0.000 description 1
- 230000010365 information processing Effects 0.000 description 1
- 238000012986 modification Methods 0.000 description 1
- 230000004048 modification Effects 0.000 description 1
- 238000001228 spectrum Methods 0.000 description 1
- 230000003068 static effect Effects 0.000 description 1
- 230000001502 supplementing effect Effects 0.000 description 1
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/08—Access restriction or access information delivery, e.g. discovery data delivery
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0893—Assignment of logical groups to network elements
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W48/00—Access restriction; Network selection; Access point selection
- H04W48/18—Selecting a network or a communication service
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04W—WIRELESS COMMUNICATION NETWORKS
- H04W60/00—Affiliation to network, e.g. registration; Terminating affiliation with the network, e.g. de-registration
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Computer Security & Cryptography (AREA)
- Mobile Radio Communication Systems (AREA)
Abstract
本申请公开了一种网络切片的选择方法、装置、设备及存储介质,涉及通信技术领域。该方法应用于终端中,所述方法包括:从输入字符串获取切片标识信息,所述输入字符串是与APN的设置有关的字符串,所述切片标识信息用于指定目标网络切片;根据所述切片标识信息生成注册请求;发送所述注册请求,所述注册请求用于请求网络设备分配所述目标网络切片。本申请提供的技术方案,可以满足用户自主选择网络切片的需求。
The present application discloses a method, apparatus, device and storage medium for selecting a network slice, and relates to the technical field of communications. The method is applied to a terminal, and the method includes: acquiring slice identification information from an input string, where the input string is a string related to the setting of the APN, and the slice identification information is used to specify a target network slice; The slice identification information is used to generate a registration request; the registration request is sent, and the registration request is used to request the network device to allocate the target network slice. The technical solutions provided in this application can meet the needs of users to choose network slices independently.
Description
技术领域technical field
本申请涉及通信技术领域,特别涉及一种网络切片的选择方法、装置、设备及存储介质。The present application relates to the field of communication technologies, and in particular, to a method, apparatus, device, and storage medium for selecting a network slice.
背景技术Background technique
网络切片(network slice)是一个用于支持特定网络能力与网络特性的逻辑隔离的网络,可以端到端(End to End,E2E)的包括整个网络,也可以部分网络功能在多个网络切片中共享,是满足5G移动通信技术中的网络差异化需求的关键技术。A network slice is a logically isolated network used to support specific network capabilities and network characteristics. It can include the entire network end-to-end (E2E), or some network functions can be included in multiple network slices. Sharing is the key technology to meet the needs of network differentiation in 5G mobile communication technology.
相关技术中,用户无法自主对网络切片进行选择。In the related art, users cannot independently select network slices.
发明内容SUMMARY OF THE INVENTION
本申请实施例提供了一种网络切片的选择方法、装置、设备及存储介质,终端中的无线接口层通过获取用户指定的输入字符串,并将输入字符串中的切片标识信息进行传递,传递给调制解调器,由调制解调器发送注册请求,由于注册请求可以请求网络设备分配与切片标识信息对应的目标网络切片,从而满足了用户自主选择网络切片的需求。所述技术方案如下:The embodiments of the present application provide a method, device, device, and storage medium for selecting a network slice. The wireless interface layer in the terminal acquires an input string specified by a user and transmits the slice identification information in the input string. To the modem, the modem sends a registration request, because the registration request can request the network device to allocate the target network slice corresponding to the slice identification information, thus satisfying the user's requirement for autonomously selecting network slices. The technical solution is as follows:
根据本申请的一个方面,提供了一种网络切片的选择方法,适用于终端中,所述方法包括:According to an aspect of the present application, there is provided a method for selecting a network slice, suitable for use in a terminal, and the method includes:
从输入字符串获取切片标识信息,所述输入字符串是与APN的设置有关的字符串,所述切片标识信息用于指定目标网络切片;Obtain slice identification information from an input string, the input string is a string related to the setting of the APN, and the slice identification information is used to specify a target network slice;
根据所述切片标识信息生成注册请求;generating a registration request according to the slice identification information;
发送所述注册请求,所述注册请求用于请求网络设备分配所述目标网络切片。The registration request is sent, where the registration request is used to request the network device to allocate the target network slice.
根据本申请的一个方面,提供了一种网络切片的选择装置,所述装置包括:无线接口层模块和调制解调器模块;According to an aspect of the present application, there is provided an apparatus for selecting a network slice, the apparatus comprising: a radio interface layer module and a modem module;
所述无线接口层模块,用于从输入字符串获取切片标识信息,所述输入字符串是与APN的设置有关的字符串,所述切片标识信息用于指定目标网络切片;The wireless interface layer module is configured to obtain slice identification information from an input string, where the input string is a string related to the setting of the APN, and the slice identification information is used to specify a target network slice;
所述无线接口层模块,用于将所述切片标识信息传入所述调制解调器模块;the wireless interface layer module, configured to transmit the slice identification information to the modem module;
所述调制解调器模块,用于根据所述切片标识信息生成注册请求;the modem module, configured to generate a registration request according to the slice identification information;
所述调制解调器模块,用于发送所述注册请求,所述注册请求用于请求网络设备分配所述目标网络切片。The modem module is configured to send the registration request, where the registration request is used to request the network device to allocate the target network slice.
根据本申请的一个方面,提供了一种终端,所述终端包括:处理器;与所述处理器相连的收发器;用于存储所述处理器的可执行指令的存储器;其中,所述处理器被配置为加载并执行所述可执行指令以实现如上述方面所述的网络切片的选择方法。According to one aspect of the present application, a terminal is provided, the terminal comprising: a processor; a transceiver connected to the processor; a memory for storing executable instructions of the processor; wherein the processing The processor is configured to load and execute the executable instructions to implement the method for selecting a network slice as described in the above aspects.
根据本申请的另一方面,提供了一种计算机可读存储介质,所述存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现如上方面所述的网络切片的选择方法。According to another aspect of the present application, a computer-readable storage medium is provided, wherein the storage medium stores at least one instruction, at least one piece of program, code set or instruction set, the at least one instruction, the at least one piece of program , the code set or the instruction set is loaded and executed by the processor to implement the method for selecting network slices as described in the above aspects.
根据本申请的另一方面,提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述可选实现方式中提供的网络切片的选择方法。According to another aspect of the present application, there is provided a computer program product comprising computer instructions stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method for selecting a network slice provided in the foregoing optional implementation manner.
本申请实施例提供的技术方案带来的有益效果至少包括:The beneficial effects brought by the technical solutions provided in the embodiments of the present application include at least:
在与APN的设置有关的输入字符串中加入切片标识信息,终端通过从输入字符串中获取用户指定的切片标识信息,并发送根据切片标识信息生成的注册请求,由于注册请求可以请求网络设备分配与切片标识信息对应的目标网络切片,从而满足了用户自主选择网络切片的需求。The slice identification information is added to the input string related to the setting of the APN. The terminal obtains the slice identification information specified by the user from the input string, and sends the registration request generated according to the slice identification information. Since the registration request can request the network device to allocate The target network slice corresponding to the slice identification information, so as to meet the user's requirement of choosing network slices independently.
同时,通过利用设置APN的机制,在设置APN的输入字符串中加入切片标识信息,终端中的应用处理器即可获取切片标识信息,无需大幅度修改终端中的应用处理器的代码,减少了用户选择网络切片的实现难度。At the same time, by using the mechanism of setting APN, adding slice identification information to the input string of setting APN, the application processor in the terminal can obtain the slice identification information, without greatly modifying the code of the application processor in the terminal, reducing the number of User-selected network slice implementation difficulty.
附图说明Description of drawings
为了更清楚地说明本申请实施例中的技术方案,下面将对实施例描述中所需要使用的附图作简单地介绍,显而易见地,下面描述中的附图仅仅是本申请的一些实施例,对于本领域普通技术人员来讲,在不付出创造性劳动的前提下,还可以根据这些附图获得其他的附图。In order to illustrate the technical solutions in the embodiments of the present application more clearly, the following briefly introduces the drawings that are used in the description of the embodiments. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, other drawings can also be obtained from these drawings without creative effort.
图1是本申请一个示例性实施例提供的Android架构的示意图;1 is a schematic diagram of an Android architecture provided by an exemplary embodiment of the present application;
图2是本申请一个示例性实施例提供的通信系统的示意图;FIG. 2 is a schematic diagram of a communication system provided by an exemplary embodiment of the present application;
图3是本申请一个示例性实施例提供的网络切片的选择方法的流程图;3 is a flowchart of a method for selecting a network slice provided by an exemplary embodiment of the present application;
图4是本申请一个示例性实施例提供的网络切片的选择方法的流程图;4 is a flowchart of a method for selecting a network slice provided by an exemplary embodiment of the present application;
图5是本申请一个示例性实施例提供的终端发送注册请求的示意图;5 is a schematic diagram of a terminal sending a registration request provided by an exemplary embodiment of the present application;
图6是本申请一个示例性实施例提供的网络切片的选择方法的流程图;6 is a flowchart of a method for selecting a network slice provided by an exemplary embodiment of the present application;
图7是本申请一个示例性实施例提供的APN设置界面的示意图;7 is a schematic diagram of an APN setting interface provided by an exemplary embodiment of the present application;
图8是本申请一个示例性实施例提供的APN设置界面的示意图;8 is a schematic diagram of an APN setting interface provided by an exemplary embodiment of the present application;
图9是本申请一个示例性实施例提供的终端的注册流程的示意图;9 is a schematic diagram of a registration process of a terminal provided by an exemplary embodiment of the present application;
图10是本申请一个示例性实施例提供的网络切片的选择装置的结构框图;FIG. 10 is a structural block diagram of an apparatus for selecting a network slice provided by an exemplary embodiment of the present application;
图11是本申请一个示例性实施例提供的终端的结构框图。FIG. 11 is a structural block diagram of a terminal provided by an exemplary embodiment of the present application.
具体实施方式Detailed ways
为使本申请的目的、技术方案和优点更加清楚,下面将结合附图对本申请实施方式作进一步地详细描述。In order to make the objectives, technical solutions and advantages of the present application clearer, the embodiments of the present application will be further described in detail below with reference to the accompanying drawings.
首先,对本申请实施例中涉及的名词进行简单介绍:First, briefly introduce the terms involved in the embodiments of the present application:
接入点名称(Access Point Name,APN):指一种网络接入技术,是用户通过终端(如手机)上网时必须配置的一个参数。Access Point Name (APN): refers to a network access technology, and is a parameter that must be configured when a user accesses the Internet through a terminal (such as a mobile phone).
APN用来标识数据网络(Data Network,DN),不同的APN对应不同的DN,这些可通过运营商来定义。APN决定了终端通过何种接入方式来访问网络,而不同的APN所能访问的网络范围以及接入的方式不同。An APN is used to identify a data network (Data Network, DN). Different APNs correspond to different DNs, which can be defined by operators. The APN determines which access method the terminal uses to access the network, and different APNs can access the network range and access methods differently.
相关技术中,用户可以对APN进行设置。示例性的,用户输入APN,终端中的应用层将APN进行传递,传递至无线接口层,无线接口层再将APN传递至调制解调器,由调制解调器发送至核心网,请求接入APN对应的外部数据网络。In the related art, the user can set the APN. Exemplarily, the user inputs the APN, the application layer in the terminal transmits the APN to the wireless interface layer, the wireless interface layer transmits the APN to the modem, and the modem sends the APN to the core network to request access to the external data network corresponding to the APN. .
无线接口层(Radio Interface Layer,RIL):Android中负责通信功能的中间层。RIL包括两个部分:RILJ和RILD。Radio Interface Layer (RIL): The middle layer responsible for communication functions in Android. RIL consists of two parts: RILJ and RILD.
1)RIL Java(RILJ):负责将上层应用的通信请求发送给硬件抽象层(HardwareAbstract Layer,HAL);1) RIL Java (RILJ): responsible for sending the communication request of the upper-layer application to the Hardware Abstract Layer (HAL);
2)RIL C++(RILD):系统守护进程,负责将RILJ的请求命令发送给通讯处理器(Communication Processor,CP),可以视为CP对应的HAL层。2) RIL C++ (RILD): a system daemon, responsible for sending RILJ's request commands to a Communication Processor (CP), which can be regarded as a HAL layer corresponding to CP.
结合参考图1,图1示出了本申请一个示例性实施例提供的Android架构的示意图,包括:应用层(Application)、应用框架层(Application Framework)、系统运行库层(Libraries)、Linux Kernel和调制解调器(Modem)。With reference to FIG. 1, FIG. 1 shows a schematic diagram of an Android architecture provided by an exemplary embodiment of the present application, including: an application layer (Application), an application framework layer (Application Framework), a system runtime layer (Libraries), and a Linux Kernel. and modem (Modem).
最上层的是应用层,应用层中包括了各种应用程序,如通话(Call),短信(Message)以及SIM卡管理(SIM TOOL KIT,STK),主要负责将用户的指令发送到RILJ。The top layer is the application layer, which includes various applications, such as call (Call), SMS (Message) and SIM card management (SIM TOOL KIT, STK), which is mainly responsible for sending user instructions to RILJ.
第二层是应用框架层,开发者可以使用应用框架层访问设备硬件、获取位置信息等。应用框架层中的RILJ为上层提供了通用的应用程序接口(Application ProgrammingInterface,API),如通话管理器(TelephonyManager),包括通话,网络状态;订阅管理器(SubscriptionManager),包括卡状态;以及Sms管理器(SmsManager)等。同时,RILJ还负责维持与RILD的通信,并将上层的请求发送给RILD。The second layer is the application framework layer. Developers can use the application framework layer to access device hardware, obtain location information, and so on. RILJ in the application framework layer provides a common application programming interface (Application Programming Interface, API) for the upper layer, such as TelephonyManager, including calls, network status; Subscription Manager, including card status; and Sms management Device (SmsManager) and so on. At the same time, RILJ is also responsible for maintaining communication with RILD and sending upper-layer requests to RILD.
第三层是系统运行库层。系统运行库层中的RILD是系统的守护进程,对于支持通话功能的移动平台是必不可少的。RILD的功能主要功能是将RILJ发送过来的请求继续传递给CP,同时会及时将CP的状态变化发送给RILJ。The third layer is the system runtime layer. RILD in the system runtime layer is the daemon process of the system, which is essential for mobile platforms that support the call function. The main function of RILD is to continue to pass the request sent by RILJ to CP, and at the same time, it will send the status change of CP to RILJ in time.
第四层是基于Linux kernel提供核心系统服务的核心层。Linux kernel在接收到数据包(Data Packet)时,将数据包传给CP,最后由CP发送给网络端,等网络端返回结果后,CP将结果传回给RILD。The fourth layer is the core layer that provides core system services based on the Linux kernel. When the Linux kernel receives the data packet (Data Packet), the data packet is sent to the CP, and finally sent to the network by the CP. After the network returns the result, the CP sends the result back to the RILD.
调制解调器是终端中的底层模块,调制解调器中包括与网络端进行通信的CP。The modem is the bottom module in the terminal, and the modem includes the CP that communicates with the network side.
图2示出了本申请一个实施例提供的通信系统的示意图。该通信系统包括:用户设备(3GPP对移动终端的命名)(User Equipment,UE)、(无线)接入网络((R)AN)、核心网和数据网络(Data Network,DN)。FIG. 2 shows a schematic diagram of a communication system provided by an embodiment of the present application. The communication system includes: User Equipment (the nomenclature for mobile terminals by 3GPP) (User Equipment, UE), a (radio) access network ((R)AN), a core network, and a data network (Data Network, DN).
其中,核心网可以包括:用户平面功能(User Plane Function,UPF)和控制平面功能。控制平面功能可以包括:接入和移动管理功能(Access and Mobility ManagementFunction,AMF)、会话管理功能(Session Management Function,SMF)、控制策略功能(Policy Control Function,PCF)和统一数据管理(Unified Data Manager,UDM)、应用功能(Application Function,AF)、网络切片选择功能(Network Slice SelectionFunction,NSSF)、认证服务功能(Authentication Server Function,AUSF)。AMF是核心网中的移动性管理功能,SMF是核心网中的会话管理功能,AMF在对UE进行移动性管理之外,还负责将从会话管理相关消息在UE和SMF之间的转发。PCF是核心网中的策略管理功能,负责制定对UE的移动性管理、会话管理、计费等相关的策略。UPF是核心网中的用户面功能,通过N6接口与外部的数据网络进行数据传输,通过N3接口与AN进行数据传输。The core network may include: a user plane function (User Plane Function, UPF) and a control plane function. Control plane functions may include: Access and Mobility Management Function (AMF), Session Management Function (SMF), Policy Control Function (PCF), and Unified Data Manager (Unified Data Manager) , UDM), application function (Application Function, AF), network slice selection function (Network Slice Selection Function, NSSF), authentication service function (Authentication Server Function, AUSF). AMF is a mobility management function in the core network, and SMF is a session management function in the core network. In addition to the mobility management of the UE, the AMF is also responsible for forwarding messages related to session management between the UE and the SMF. The PCF is a policy management function in the core network, and is responsible for formulating policies related to the mobility management, session management, and charging of the UE. UPF is a user plane function in the core network. It transmits data to external data networks through the N6 interface, and transmits data to the AN through the N3 interface.
其中,UE可以包括各种具有无线通信功能的手持设备、车载设备、可穿戴设备、计算设备或连接到无线调制解调器的其他处理设备,以及各种形式的用户设备,移动台(Mobile Station,MS),终端(terminal device)等等。The UE may include various handheld devices, vehicle-mounted devices, wearable devices, computing devices, or other processing devices connected to wireless modems with wireless communication functions, as well as various forms of user equipment, such as mobile stations (Mobile Station, MS). , terminal (terminal device) and so on.
如图2所示,UE通过Uu空口与AN进行接入层(Access Stratum,AS)连接,交互AS消息及进行无线数据传输,UE通过N1接口与AMF进行非接入层(Non Access Stratum,NAS)连接,交互NAS消息。As shown in Figure 2, the UE performs an Access Stratum (AS) connection with the AN through the Uu air interface, exchanges AS messages and performs wireless data transmission, and the UE performs a non-access stratum (Non Access Stratum, NAS) connection with the AMF through the N1 interface. ) to connect and exchange NAS messages.
可以理解的是,图2仅为示例性的通信系统的架构图,本申请实施例的技术方案可以应用于各种通信系统,例如:全球移动通讯(Global System of Mobile Communication,GSM)系统、码分多址(Code Division Multiple Access,CDMA)系统、宽带码分多址(Wideband Code Division Multiple Access,WCDMA)系统、通用分组无线业务(GeneralPacket Radio Service,GPRS)、长期演进(Long Term Evolution,LTE)系统、LTE频分双工(Frequency Division Duplex,FDD)系统、LTE时分双工(Time Division Duplex,TDD)系统、先进的长期演进(Advanced Long Term Evolution,LTE-A)系统、新无线(New Radio,NR)系统、NR系统的演进系统、非授权频段上的LTE(LTE-based access to Unlicensedspectrum,LTE-U)系统、NR-U系统、通用移动通信系统(Universal MobileTelecommunication System,UMTS)、全球互联微波接入(Worldwide Interoperabilityfor Microwave Access,WiMAX)通信系统、无线局域网(Wireless Local Area Networks,WLAN)、无线保真(Wireless Fidelity,WiFi)、下一代通信系统或其他通信系统等。It can be understood that FIG. 2 is only an architecture diagram of an exemplary communication system, and the technical solutions of the embodiments of the present application can be applied to various communication systems, such as: Global System of Mobile Communication (GSM) system, code Division Multiple Access (Code Division Multiple Access, CDMA) system, Wideband Code Division Multiple Access (Wideband Code Division Multiple Access, WCDMA) system, General Packet Radio Service (General Packet Radio Service, GPRS), Long Term Evolution (Long Term Evolution, LTE) system, LTE Frequency Division Duplex (FDD) system, LTE Time Division Duplex (TDD) system, Advanced Long Term Evolution (Advanced Long Term Evolution, LTE-A) system, New Radio (New Radio) , NR) system, evolution system of NR system, LTE-based access to Unlicensed spectrum (LTE-U) system on unlicensed frequency band, NR-U system, Universal Mobile Telecommunication System (UMTS), global interconnection Microwave access (Worldwide Interoperability for Microwave Access, WiMAX) communication system, Wireless Local Area Networks (Wireless Local Area Networks, WLAN), Wireless Fidelity (Wireless Fidelity, WiFi), next-generation communication systems or other communication systems.
通常来说,传统的通信系统支持的连接数有限,也易于实现,然而,随着通信技术的发展,移动通信系统将不仅支持传统的通信,还将支持例如,设备到设备(Device toDevice,D2D)通信,机器到机器(Machine to Machine,M2M)通信,机器类型通信(MachineType Communication,MTC),车辆间(Vehicle to Vehicle,V2V)通信以及车联网(Vehicleto Everything,V2X)系统等。本申请实施例也可以应用于这些通信系统。Generally speaking, traditional communication systems support a limited number of connections and are easy to implement. However, with the development of communication technology, mobile communication systems will not only support traditional communication, but also support, for example, Device to Device (D2D). ) communication, Machine to Machine (M2M) communication, Machine Type Communication (MTC), Vehicle to Vehicle (V2V) communication and Vehicle to Everything (V2X) systems, etc. The embodiments of the present application can also be applied to these communication systems.
下面,将结合几个示例性实施例,对本申请技术方案进行介绍说明。Hereinafter, the technical solutions of the present application will be described with reference to several exemplary embodiments.
图3示出了本申请一个示例性实施例提供的网络切片的选择方法的流程图,该方法可以应用于如图2所示的通信系统中的终端(即UE)中。该方法可以包括如下步骤:FIG. 3 shows a flowchart of a method for selecting a network slice provided by an exemplary embodiment of the present application, and the method can be applied to a terminal (ie, UE) in the communication system shown in FIG. 2 . The method may include the following steps:
步骤310,从输入字符串获取切片标识信息,输入字符串是与APN的设置有关的字符串。Step 310: Obtain slice identification information from an input string, where the input string is a string related to the setting of the APN.
其中,切片标识信息用于指定目标网络切片。网络切片是是通过使用网络虚拟化技术将网络划分为多种类型的虚拟网络,网络切片通过为每个服务或订户配置单独的逻辑网络来提高灵活性的技术。利用网络切片,可以根据服务类型从虚拟化网络资源池分配所需资源。The slice identification information is used to specify the target network slice. Network slicing is a technology that divides the network into multiple types of virtual networks by using network virtualization technology. Network slicing increases flexibility by configuring separate logical networks for each service or subscriber. With network slicing, the required resources can be allocated from a virtualized network resource pool based on the type of service.
切片标识信息可以指定一个或多个网络切片,即目标网络切片的数量可以是一个或多个。下面的实施例仅以目标网络切片是一个网络切片进行示例性的说明。The slice identification information may specify one or more network slices, that is, the number of target network slices may be one or more. The following embodiments are only exemplified by the fact that the target network slice is a network slice.
其中,APN用于指示终端接入的外部的目标数据网络。不同的APN对应不同的DN,这些可通过运营商来定义。APN决定了终端通过何种接入方式来访问网络,而不同的APN所能访问的网络范围以及接入的方式不同。The APN is used to indicate the external target data network accessed by the terminal. Different APNs correspond to different DNs, which can be defined by operators. The APN determines which access method the terminal uses to access the network, and different APNs can access the network range and access methods differently.
输入字符串是与APN的设置有关的字符串。用户可以对终端的APN进行设置。在本申请实施例中,输入字符串可以包含切片标识信息和APN在内的多种信息。输入字符串可以由用户指定,再由终端获取。也就是说,用户可以对终端所接入的网络切片和数据网络进行自主选择。The input string is a string related to the setting of the APN. The user can set the APN of the terminal. In this embodiment of the present application, the input string may include various pieces of information including slice identification information and APN. The input string can be specified by the user and obtained by the terminal. That is to say, the user can independently select the network slice and data network that the terminal accesses.
示例性的,终端中的无线接口层用于从输入字符串获取切片标识信息。无线接口层是Android中负责通信功能的中间层。无线接口层可以包括两个部分:RILJ和RILD,无线接口层中的RILJ从上层获取输入字符串。Exemplarily, the wireless interface layer in the terminal is configured to obtain slice identification information from the input string. The wireless interface layer is the middle layer responsible for the communication function in Android. The radio interface layer can include two parts: RILJ and RILD, and the RILJ in the radio interface layer obtains the input string from the upper layer.
示例性的,无线接口层将输入字符串中的切片标识信息传入调制解调器。调制解调器是终端的底层模块。Exemplarily, the wireless interface layer passes the slice identification information in the input string to the modem. The modem is the low-level module of the terminal.
无线接口层可以包括两个部分:RILJ和RILD。在一种可能的实现方式中,由RILJ从上层获取输入字符串,提取出输入字符串中的切片标识信息,将切片标识信息传入RILD,再由RILD将切片标识信息传入调制解调器。在另一种可能的实现方式中,由RILJ从上层获取输入字符串,将输入字符串传入RILD,由RILD提取出输入字符串中的切片标识信息,并将切片标识信息传入调制解调器。The radio interface layer may consist of two parts: RILJ and RILD. In a possible implementation, the RILJ obtains the input string from the upper layer, extracts the slice identification information in the input string, transmits the slice identification information to the RILD, and then the RILD transmits the slice identification information to the modem. In another possible implementation, the RILJ obtains the input string from the upper layer, transfers the input string to the RILD, and the RILD extracts the slice identification information in the input string, and transmits the slice identification information to the modem.
步骤320,根据切片标识信息生成注册请求。Step 320: Generate a registration request according to the slice identification information.
终端在从输入字符串中获取切片标识信息后,根据获取到的切片标识信息,生成注册请求。After acquiring the slice identification information from the input string, the terminal generates a registration request according to the acquired slice identification information.
其中,注册请求用于请求网络设备分配目标网络切片。The registration request is used to request the network device to allocate the target network slice.
示例性的,注册请求是注册过程中的一部分。注册过程可以将终端附着到包含一个或多个网络切片的核心网中。Illustratively, the registration request is part of the registration process. The registration process can attach the terminal to the core network containing one or more network slices.
示例性的,终端中的调制解调器用于根据切片标识信息,生成注册请求。Exemplarily, the modem in the terminal is configured to generate a registration request according to the slice identification information.
步骤330,发送注册请求。
终端向网络设备发送注册请求(registration request),请求网络设备分配目标网络切片,以希望获得目标网络切片所对应的服务。The terminal sends a registration request (registration request) to the network device, requesting the network device to allocate the target network slice, so as to hope to obtain the service corresponding to the target network slice.
示例性的,终端中的调制解调器可以发起与网络设备的通信,调制解调器用于发送注册请求,注册请求包括切片标识信息。Exemplarily, a modem in the terminal may initiate communication with the network device, and the modem is used to send a registration request, where the registration request includes slice identification information.
综上所述,本实施例提供的方法,在与APN的设置有关的输入字符串中加入切片标识信息,终端通过从输入字符串中获取用户指定的切片标识信息,并发送根据切片标识信息生成的注册请求,由于注册请求可以请求网络设备分配与切片标识信息对应的目标网络切片,从而满足了用户自主选择网络切片的需求。To sum up, in the method provided in this embodiment, slice identification information is added to the input string related to the setting of the APN, the terminal obtains the slice identification information specified by the user from the input string, and sends the generated slice identification information according to the Since the registration request can request the network device to allocate the target network slice corresponding to the slice identification information, the user's requirement of autonomously selecting network slices is satisfied.
同时,本实施例提供的方法,通过利用设置APN的机制,在设置APN的输入字符串中加入切片标识信息,终端中的应用处理器即可获取切片标识信息,无需大幅度修改终端中的应用处理器的代码,减少了用户选择网络切片的实现难度。At the same time, in the method provided by this embodiment, by using the mechanism of setting APN, slice identification information is added to the input string of setting APN, and the application processor in the terminal can obtain the slice identification information, and it is not necessary to significantly modify the application in the terminal. The code of the processor reduces the implementation difficulty for users to select network slices.
在基于图3的可选实施例中,图4示出了本申请一个示例性实施例提供的网络切片的选择方法的流程图,该方法可以应用于如图2所示的通信系统中的终端(即UE)中。该方法可以包括如下步骤:In an optional embodiment based on FIG. 3 , FIG. 4 shows a flowchart of a method for selecting a network slice provided by an exemplary embodiment of the present application, and the method can be applied to the terminal in the communication system shown in FIG. 2 . (ie UE). The method may include the following steps:
步骤410,从输入字符串获取切片标识信息,输入字符串是与APN的设置有关的字符串。Step 410: Obtain slice identification information from an input string, where the input string is a string related to the setting of the APN.
其中,切片标识信息用于指定目标网络切片。APN用于指示终端接入的外部的目标数据网络。The slice identification information is used to specify the target network slice. The APN is used to indicate the external target data network accessed by the terminal.
输入字符串是与APN的设置有关的字符串。输入字符串包含切片标识信息和APN在内的多种信息。输入字符串可以由用户指定,再由终端获取。也就是说,用户可以对终端所接入的网络切片和数据网络均进行自主选择。The input string is a string related to the setting of the APN. The input string contains various information including slice identification information and APN. The input string can be specified by the user and obtained by the terminal. That is to say, the user can independently select both the network slice and the data network that the terminal accesses.
示例性的,终端中的无线接口层用于从输入字符串获取切片标识信息。Exemplarily, the wireless interface layer in the terminal is configured to obtain slice identification information from the input string.
步骤420,对输入字符串进行分割,确定APN和切片标识信息。
由于输入字符串包括切片标识信息和APN,则终端需要对输入字符串进行分割,从而确定出输入字符串中的APN和切片标识信息。Since the input string includes slice identification information and APN, the terminal needs to segment the input string to determine the APN and slice identification information in the input string.
可选的,输入字符串对应有预设格式,终端根据预设格式对输入字符串进行分割,确定APN和切片标识信息。预设格式可以是:输入字符串中存在分割字符;或,输入字符串中每个信息的字符长度是固定好的。本申请实施例对预设格式的具体表现形式不进行限定。Optionally, the input string corresponds to a preset format, and the terminal divides the input string according to the preset format to determine the APN and slice identification information. The preset format can be: there are split characters in the input string; or, the character length of each information in the input string is fixed. The embodiment of the present application does not limit the specific expression form of the preset format.
在示意性实施例中,终端确定输入字符串对应的分割字符;根据分割字符对输入字符串进行分割,确定APN和切片标识信息。In an exemplary embodiment, the terminal determines the split character corresponding to the input string; the input string is split according to the split character, and the APN and slice identification information are determined.
其中,分割字符包括字母、数字、字和符号中的至少一种。分割字符对于终端来说是已知的,终端在接收到输入字符串后,即可使用分割字符对输入字符串进行分割。不同的终端可以对应于相同的分割字符,也可以对应于不同的分割字符,本申请实施例对此不进行限制。Wherein, the dividing characters include at least one of letters, numbers, words and symbols. The split character is known to the terminal, and after receiving the input string, the terminal can use the split character to split the input string. Different terminals may correspond to the same segmentation character, or may correspond to different segmentation characters, which are not limited in this embodiment of the present application.
示例性的,输入字符串包括:ctnet[nssai1:2]。其中,分割字符为:[]。则,终端对输入字符串进行分割,确定APN为:ctnet,切片标识信息为:nssai1:2。Exemplarily, the input string includes: ctnet[nssai1:2]. Among them, the split character is: []. Then, the terminal splits the input string, and determines that the APN is: ctnet, and the slice identification information is: nssai1:2.
示例性的,输入字符串包括:ctnet/nssai1:1。其中,分割字符为:/。则,终端对输入字符串进行分割,确定APN为:ctnet,切片标识信息为:nssai1:1。Exemplarily, the input string includes: ctnet/nssai1:1. Among them, the split character is: /. Then, the terminal splits the input string, and determines that the APN is: ctnet, and the slice identification information is: nssai1:1.
示例性的,终端中的无线接口层用于对输入字符串进行分割,确定APN和切片标识信息。终端中的无线接口层在对输入字符串中的切片标识信息和APN进行分割后,无线接口层将得到的切片标识信息和APN传入调制解调器。Exemplarily, the wireless interface layer in the terminal is used to segment the input string to determine the APN and slice identification information. After the wireless interface layer in the terminal divides the slice identification information and the APN in the input string, the wireless interface layer transmits the obtained slice identification information and APN to the modem.
在示意性实施例中,无线接口层确定无线接口层和调制解调器之间的API接口参数;无线接口层根据API接口参数,将APN和切片标识信息传入调制解调器。In an exemplary embodiment, the wireless interface layer determines API interface parameters between the wireless interface layer and the modem; the wireless interface layer transmits the APN and slice identification information to the modem according to the API interface parameters.
步骤430,根据切片标识信息生成注册请求。Step 430: Generate a registration request according to the slice identification information.
示例性的,终端中的调制解调器用于根据切片标识信息,生成注册请求。Exemplarily, the modem in the terminal is configured to generate a registration request according to the slice identification information.
步骤440,发送注册请求。
终端在确定切片标识信息和APN后,即向网络设备发送注册请求,注册请求包括切片标识信息,请求网络设备分配目标网络切片。After determining the slice identification information and the APN, the terminal sends a registration request to the network device, where the registration request includes the slice identification information, and requests the network device to allocate the target network slice.
示例性的,终端中的调制解调器用于发送注册请求,注册请求包括切片标识信息。Exemplarily, the modem in the terminal is configured to send a registration request, where the registration request includes slice identification information.
步骤450,发送APN设置请求,APN设置请求包括APN。Step 450: Send an APN setting request, where the APN setting request includes the APN.
其中,APN设置请求用于请求接入APN对应的目标数据网络。The APN setting request is used to request access to the target data network corresponding to the APN.
示例性的,在终端通过发送注册请求,成功请求网络设备分配目标网络切片后,终端根据获取到的APN,向核心网(如AMF网元)发送APN设置请求,APN设置请求包括APN。Exemplarily, after the terminal successfully requests the network device to allocate the target network slice by sending a registration request, the terminal sends an APN setting request to the core network (such as an AMF network element) according to the acquired APN, where the APN setting request includes the APN.
示例性的,在终端通过核心网与APN对应的目标数据网络建立连接之后,终端成功接入目标数据网络。Exemplarily, after the terminal establishes a connection with the target data network corresponding to the APN through the core network, the terminal successfully accesses the target data network.
示例性的,终端中的调制解调器用于发送APN设置请求,APN设置请求包括APN。Exemplarily, the modem in the terminal is used to send the APN setting request, and the APN setting request includes the APN.
综上所述,本实施例提供的方法,在与APN的设置有关的输入字符串中加入切片标识信息,终端通过从输入字符串中获取用户指定的切片标识信息,并发送根据切片标识信息生成的注册请求,由于注册请求可以请求网络设备分配与切片标识信息对应的目标网络切片,从而满足了用户自主选择网络切片的需求。To sum up, in the method provided in this embodiment, slice identification information is added to the input string related to the setting of the APN, the terminal obtains the slice identification information specified by the user from the input string, and sends the generated slice identification information according to the Since the registration request can request the network device to allocate the target network slice corresponding to the slice identification information, the user's requirement of autonomously selecting network slices is satisfied.
同时,本实施例提供的方法,通过利用设置APN的机制,在设置APN的输入字符串中加入切片标识信息,终端中的应用处理器即可获取切片标识信息,无需大幅度修改终端中的应用处理器的代码,减少了用户选择网络切片的实现难度。At the same time, in the method provided by this embodiment, by using the mechanism of setting APN, slice identification information is added to the input string of setting APN, and the application processor in the terminal can obtain the slice identification information, and it is not necessary to significantly modify the application in the terminal. The code of the processor reduces the implementation difficulty for users to select network slices.
同时,本实施例提供的方法,终端通过分割字符对输入字符串进行分割,即可得到APN和切片标识信息,方便高效。Meanwhile, in the method provided by this embodiment, the terminal can obtain the APN and slice identification information by dividing the input string by dividing the characters, which is convenient and efficient.
在基于图3的可选实施例中,注册请求包括:第一注册请求和第二注册请求。其中,第一注册请求的目的端是基站,第二注册请求的目的端是核心网。In an optional embodiment based on FIG. 3 , the registration request includes: a first registration request and a second registration request. The destination of the first registration request is the base station, and the destination of the second registration request is the core network.
图5示出了本申请一个示例性实施例提供的终端发送注册请求的示意图。图5中包括:终端501、基站502和核心网503。FIG. 5 shows a schematic diagram of a terminal sending a registration request according to an exemplary embodiment of the present application. FIG. 5 includes: a terminal 501 , a
终端501中可以包括调制解调器,调制解调器可以用于发送注册请求。A modem may be included in the terminal 501, and the modem may be used to send the registration request.
基站502是一种部署在接入网中用以为终端501提供无线通信功能的装置。基站可以包括各种形式的宏基站,微基站,中继站等等。在采用不同的无线接入技术的系统中,具备基站功能的设备的名称可能会有所不同,例如在LTE系统中,称为eNodeB或者eNB;在5GNR-U系统中,称为gNodeB或者gNB。随着通信技术的演进,“基站”这一描述可能会变化。本申请实施例对基站的具体实现形式不进行限制。The
核心网503可以更加具体为核心网503中的功能网元AMF。The
其中,终端501通过无线资源控制(Radio Resource Control,RRC)信令向基站502发送第一注册请求,第一注册请求包括切片标识信息;终端501通过NAS信令向核心网503发送第二注册请求,第二注册请求包括切片标识信息。The terminal 501 sends a first registration request to the
NAS层存在于通用移动通信系统(Universal Mobile TelecommunicationsSystem,UMTS)的无线通信协议栈中,作为核心网与终端之间的功能层。NAS信令就是在NAS层传输的信令,通过NAS信令实现终端501与核心网503之间的数据传输。The NAS layer exists in the wireless communication protocol stack of the Universal Mobile Telecommunications System (UMTS) as a functional layer between the core network and the terminal. The NAS signaling is the signaling transmitted at the NAS layer, and data transmission between the terminal 501 and the
RRC层是负责处理与无线接入网相关的控制面过程的功能层。RRC信令就是在RRC层传输的信令,通过RRC信令实现终端501与基站502之间的数据传输。The RRC layer is the functional layer responsible for handling control plane procedures related to the radio access network. The RRC signaling is the signaling transmitted at the RRC layer, and data transmission between the terminal 501 and the
示例性的,基站502可以接收到RRC信令和NAS信令,基站502对目的端是基站的RRC信令进行解析,而不会对目的端是核心网的NAS信令进行解析。基站502根据解析RRC信令所得到的切片标识信息为终端501选择AMF,之后,基站502将NAS信令转发至选择的AMF。Exemplarily, the
在基于图3的可选实施例中,切片标识信息包括:网络切片辅助选择信息(NetworkSlice Selection Assistance Information,NSSAI)。In an optional embodiment based on FIG. 3 , the slice identification information includes: Network Slice Selection Assistance Information (NSSAI).
其中,NSSAI可以包括切片服务类型(Slice Service Type,SST)和切片区分器(Slice Differentiator,SD)两个部分。其中,SST可以包括标准化和运营商自定义的类型,SD是补充SST的可选信息,以区分相同SST的多个网络切片。The NSSAI may include two parts, a slice service type (Slice Service Type, SST) and a slice differentiator (Slice Differentiator, SD). Among them, SST can include standardized and operator-defined types, and SD is optional information supplementing SST to distinguish multiple network slices of the same SST.
示例性的,结合参考表一,其示出了标准化的SST值。Exemplarily, with reference to Table 1, which shows normalized SST values.
表一Table I
示例性的,NSSAI为1:1时,目标网络切片为网络切片1;NSSAI为1:2时,目标网络切片为网络切片2;NSSAI为2:1时,目标网络切片为网络切片3。Exemplarily, when the NSSAI is 1:1, the target network slice is network slice 1; when the NSSAI is 1:2, the target network slice is
在基于图3的可选实施例中,除了无线接口层和调制解调器之外,终端还包括:应用层。如图1所示,应用层是无线接口层的上层。In an alternative embodiment based on FIG. 3 , in addition to the wireless interface layer and the modem, the terminal also includes: an application layer. As shown in Figure 1, the application layer is the upper layer of the wireless interface layer.
图6示出了本申请一个示例性实施例提供的网络切片的选择方法的流程图,该方法可以应用于如图2所示的通信系统中的终端(即UE)中。该方法可以包括如下步骤:FIG. 6 shows a flowchart of a method for selecting a network slice provided by an exemplary embodiment of the present application, and the method can be applied to a terminal (ie, UE) in the communication system shown in FIG. 2 . The method may include the following steps:
步骤610,根据APN设置界面,确定输入字符串。Step 610: Determine the input character string according to the APN setting interface.
其中,APN设置界面是在终端上显示的用于对APN进行设置的用户界面。输入字符串由用户指定。输入字符串是与APN的设置有关的字符串。The APN setting interface is a user interface displayed on the terminal for setting the APN. The input string is specified by the user. The input string is a string related to the setting of the APN.
在一种可能的实现方式中,步骤610包括:显示APN设置界面;响应于在APN设置界面接收到输入操作,确定输入字符串。In a possible implementation manner,
示例性的,APN设置界面上包括输入区域,用户可以在输入区域执行输入操作,输入操作包括但不限于:文字输入、语音输入、图片输入等等。终端在接收到输入操作后,即可确定出于输入操作对应的输入字符串。Exemplarily, the APN setting interface includes an input area, and the user can perform input operations in the input area, and the input operations include but are not limited to: text input, voice input, picture input, and the like. After receiving the input operation, the terminal can determine the input string corresponding to the input operation.
结合参考图7,APN设置界面701显示有多个可选的候选选项,每个候选选项对应一个候选输入字符串。如:候选选项“internet_no_NSSAI”对应的候选输入字符串是“internet”;候选选项“internet2_vEPG_no_NSSAI”对应的候选输入字符串是“internet2”;候选选项“internet2_vEPG_Slice_2”对应的候选输入字符串是“internet2[nssai1:2]”。可以理解的是,前两个候选选项对应的候选输入字符串中只包括APN,不包括切片标识信息,最后一个候选选项对应的候选输入字符串中包括APN和切片标识信息。用户若不想选择网络切片,可以在前两个候选选项中进行选择,只设置APN。Referring to FIG. 7 in combination, the
在APN设置界面701中,还显示添加控件702。在用户不想在提供的候选选项中进行选择时,用户可以触发添加控件,显示APN设置界面703。用户可在APN设置界面703中的输入区域704执行输入操作,如输入:internet[nssai1:3]。应用层确定输入字符串为“internet[nssai1:3]”。In the
在另一种可能的实现方式中,步骤610包括:显示APN设置界面,APN设置界面包括切片标识信息对应的候选选项;响应于在APN设置界面接收到对候选选项中的目标选项的选择操作,确定与目标选项对应的输入字符串。In another possible implementation manner,
APN设置界面显示有至少一个候选选项,每个候选选项对应一个候选输入字符串。用户在候选选项中进行选择,用户选择的候选选项将作为目标选项。可以理解的是,在用户的选择范围内的候选选项是对应于切片标识信息的候选选项,如:候选选项“internet_Slice_1”,如果候选选项不对应于切片标识信息,只对应于APN,则不在用户的选择范围内,如图7中的候选选项“internet_no_NSSAI”。The APN setting interface displays at least one candidate option, and each candidate option corresponds to a candidate input string. The user selects among the candidate options, and the candidate option selected by the user becomes the target option. It can be understood that the candidate options within the user's selection range are the candidate options corresponding to the slice identification information, such as: the candidate option "internet_Slice_1", if the candidate option does not correspond to the slice identification information, but only corresponds to the APN, it is not in the user Within the selection range, the candidate option "internet_no_NSSAI" in Figure 7.
其中,选择操作可以是点击、双击、拖动、滑动、按压、扫描、复制、粘贴、搜索中的至少一种。本申请实施例对选择操作的具体类型不进行限制。The selection operation may be at least one of clicking, double-clicking, dragging, sliding, pressing, scanning, copying, pasting, and searching. The embodiment of the present application does not limit the specific type of the selection operation.
结合参考图8,APN设置界面801显示有多个可选的候选选项,每个候选选项对应一个候选输入字符串。如:候选选项“internet_Slice_1”对应的候选输入字符串是“internet[nssai1:1]”;候选选项“internet2_vEPG_Slice_2”对应的候选输入字符串是“internet2[nssai1:2]”;候选选项“internet2_vEPG_Slice_3”对应的候选输入字符串是“internet2[nssai1:3]”。Referring to FIG. 8 in combination, the
用户选择候选选项“internet_Slice_1”作为目标选项,相应的,输入字符串是“internet[nssai1:1]”,终端确定输入字符串为“internet[nssai1:1]”。The user selects the candidate option "internet_Slice_1" as the target option. Correspondingly, the input string is "internet[nssai1:1]", and the terminal determines that the input string is "internet[nssai1:1]".
示例性的,终端中的应用层用于确定输入字符串。应用层在确定输入字符串之后,将输入字符串传入无线接口层。无线接口层是Android中负责通信功能的中间层。无线接口层可以包括两个部分:RILJ和RILD。无线接口层中的RILJ从应用层获取输入字符串。Exemplarily, the application layer in the terminal is used to determine the input string. After the application layer determines the input string, the input string is passed to the wireless interface layer. The wireless interface layer is the middle layer responsible for the communication function in Android. The radio interface layer may consist of two parts: RILJ and RILD. The RILJ in the radio interface layer gets the input string from the application layer.
步骤620,从输入字符串获取切片标识信息,输入字符串是与APN的设置有关的字符串。Step 620: Obtain slice identification information from an input string, where the input string is a string related to the setting of the APN.
其中,切片标识信息用于指定目标网络切片。The slice identification information is used to specify the target network slice.
示例性的,终端中的无线接口层用于从输入字符串获取切片标识信息,并将切片标识信息传入调制解调器。Exemplarily, the wireless interface layer in the terminal is configured to obtain slice identification information from the input string, and transmit the slice identification information to the modem.
步骤630,根据切片标识信息生成注册请求。Step 630: Generate a registration request according to the slice identification information.
示例性的,终端中的调制解调器用于根据切片标识信息,生成注册请求。Exemplarily, the modem in the terminal is configured to generate a registration request according to the slice identification information.
步骤640,发送注册请求。
其中,注册请求用于请求网络设备分配目标网络切片。The registration request is used to request the network device to allocate the target network slice.
示例性的,终端中的调制解调器用于发送注册请求。Exemplarily, a modem in the terminal is used to send the registration request.
综上所述,本实施例提供的方法,在与APN的设置有关的输入字符串中加入切片标识信息,终端通过从输入字符串中获取用户指定的切片标识信息,并发送根据切片标识信息生成的注册请求,由于注册请求可以请求网络设备分配与切片标识信息对应的目标网络切片,从而满足了用户自主选择网络切片的需求。To sum up, in the method provided in this embodiment, slice identification information is added to the input string related to the setting of the APN, the terminal obtains the slice identification information specified by the user from the input string, and sends the generated slice identification information according to the Since the registration request can request the network device to allocate the target network slice corresponding to the slice identification information, the user's requirement of autonomously selecting network slices is satisfied.
同时,本实施例提供的方法,通过利用设置APN的机制,在设置APN的输入字符串中加入切片标识信息,终端中的应用处理器即可获取切片标识信息,无需大幅度修改终端中的应用处理器的代码,减少了用户选择网络切片的实现难度。At the same time, in the method provided by this embodiment, by using the mechanism of setting APN, slice identification information is added to the input string of setting APN, and the application processor in the terminal can obtain the slice identification information, and it is not necessary to significantly modify the application in the terminal. The code of the processor reduces the implementation difficulty for users to select network slices.
同时,本实施例提供的方法,由终端从用户处确定输入字符串,在APN设置界面,用户可以通过选择操作选择一个目标选项,终端获取该目标选项对应的输入字符串,用户也可以进行输入操作,终端获取用户自行输入的输入字符串,提升了网络切片的选择方法的灵活性。At the same time, in the method provided in this embodiment, the terminal determines the input string from the user. On the APN setting interface, the user can select a target option through a selection operation, the terminal obtains the input string corresponding to the target option, and the user can also input operation, the terminal obtains the input string input by the user, which improves the flexibility of the selection method of the network slice.
调制解调器发送的注册请求是终端与网络设备之间进行的注册流程的一部分。结合参考图9,图9示出了本申请一个示例性实施例提供的注册流程的示意图。The registration request sent by the modem is part of the registration process between the terminal and the network device. Referring to FIG. 9 in conjunction, FIG. 9 shows a schematic diagram of a registration process provided by an exemplary embodiment of the present application.
如图9所示,在步骤903中,终端通过RRC信令向基站发送注册请求(即第一注册请求)。在步骤904中,基站进行AMF选择。在步骤905中,终端通过NAS信令向核心网中的AMF发送注册请求(即第二注册请求)。上述第一注册请求和第二注册请求中可以携带终端的切片标识信息,如:NSSAI。As shown in FIG. 9, in step 903, the terminal sends a registration request (ie, the first registration request) to the base station through RRC signaling. In step 904, the base station performs AMF selection. In step 905, the terminal sends a registration request (ie, a second registration request) to the AMF in the core network through NAS signaling. The above-mentioned first registration request and second registration request may carry slice identification information of the terminal, such as NSSAI.
在后续步骤中,AMF和AUSF、UDM将对终端进行鉴权。鉴权通过后,终端成功注册到核心网中。参考步骤938,通过NAS信令,终端向AMF反馈注册完成消息。In subsequent steps, AMF, AUSF, and UDM will authenticate the terminal. After the authentication is passed, the terminal successfully registers with the core network. Referring to step 938, through NAS signaling, the terminal feeds back a registration complete message to the AMF.
终端成功注册到核心网后,核心网可以根据切片标识信息,为终端分配目标网络切片。终端即可与核心网分配的目标网络切片建立连接,使用目标网络切片提供的服务。After the terminal is successfully registered with the core network, the core network can allocate the target network slice to the terminal according to the slice identification information. The terminal can then establish a connection with the target network slice allocated by the core network and use the services provided by the target network slice.
下面,通过如下的应用场景,对本申请实施例进行示例性的说明:Below, the following application scenarios are used to illustrate the embodiments of the present application:
在通信领域的展示会上,用户是手机厂商的工作人员,用户正在进行网络切片的功能展示。用户知晓网络切片所对应的切片标识信息(如NSSAI),以及网络切片所能提供的服务的特性,如:网络切片1对应的时延小,网络切片2对应的速率快。At the exhibition in the communication field, the user is the staff of the mobile phone manufacturer, and the user is showing the function of network slicing. The user knows the slice identification information (such as NSSAI) corresponding to the network slice, and the characteristics of the services that the network slice can provide. For example, the delay corresponding to the network slice 1 is small, and the speed corresponding to the
用户可以在APN设置界面输入网络切片1对应的切片标识信息,将终端与网络切片1建立连接,用户对网络切片1的特性进行演示,如:视频时的时延很低;用户也可以在APN设置界面输入网络切片2对应的切片标识信息,将终端与网络切片2建立连接,用户对网络切片2的特性进行演示,如:实时游戏的速率很快。The user can enter the slice identification information corresponding to network slice 1 on the APN setting interface, and establish a connection between the terminal and network slice 1. The user can demonstrate the characteristics of network slice 1, such as: the video delay is very low; Enter the slice identification information corresponding to network
需要说明的是,上述方法实施例可以分别单独实施,也可以组合实施,本申请对此不进行限制。It should be noted that, the foregoing method embodiments may be implemented separately, or may be implemented in combination, which is not limited in this application.
图10是本申请一个示例性实施例提供的网络切片的选择装置的结构框图,该装置可以实现成为终端,或者,实现成为终端中的一部分,该装置包括:无线接口层模块1001和调制解调器模块1002;FIG. 10 is a structural block diagram of an apparatus for selecting a network slice provided by an exemplary embodiment of the present application. The apparatus may be implemented as a terminal, or may be implemented as a part of a terminal. The apparatus includes: a wireless
无线接口层模块1001,用于从输入字符串获取切片标识信息,输入字符串是与APN的设置有关的字符串,切片标识信息用于指定目标网络切片;The wireless
无线接口层模块1001,用于将切片标识信息传入调制解调器模块1002;The wireless
调制解调器模块1002,用于根据切片标识信息生成注册请求;a
调制解调器模块1002,用于发送注册请求,注册请求用于请求网络设备分配目标网络切片。The
在一个可选的实施例中,无线接口层模块1001,用于对输入字符串进行分割,确定APN和切片标识信息。In an optional embodiment, the wireless
在一个可选的实施例中,无线接口层模块1001,用于确定输入字符串对应的分割字符;无线接口层模块1001,用于根据分割字符对输入字符串进行分割,确定APN和切片标识信息。In an optional embodiment, the wireless
在一个可选的实施例中,无线接口层模块1001,用于确定无线接口层模块1001和调制解调器模块1002之间的API接口参数;无线接口层模块1001,用于根据API接口参数,将APN和切片标识信息传入调制解调器模块1002。In an optional embodiment, the wireless
在一个可选的实施例中,调制解调器模块1002,用于向核心网发起APN设置请求,APN设置请求包括APN,APN设置请求用于请求接入APN对应的目标数据网络。In an optional embodiment, the
在一个可选的实施例中,调制解调器模块1002,用于通过RRC信令向基站发送第一注册请求,第一注册请求包括切片标识信息;调制解调器模块1002,用于通过NAS信令向核心网发送第二注册请求,第二注册请求包括切片标识信息。In an optional embodiment, the
在一个可选的实施例中,切片标识信息包括:NSSAI。In an optional embodiment, the slice identification information includes: NSSAI.
在一个可选的实施例中,装置还包括:应用层模块1003;应用层模块1003,用于根据APN设置界面,确定输入字符串,APN设置界面是用于设置APN的用户界面;应用层模块1003,用于将输入字符串传入无线接口层模块1001。In an optional embodiment, the apparatus further includes: an
在一个可选的实施例中,应用层模块1003,用于显示APN设置界面;应用层模块1003,用于响应于在APN设置界面接收到输入操作,确定输入字符串。In an optional embodiment, the
在一个可选的实施例中,应用层模块1003,用于显示APN设置界面,APN设置界面包括切片标识信息对应的候选选项;应用层模块1003,用于响应于在APN设置界面接收到对候选选项中的目标选项的选择操作,确定与目标选项对应的输入字符串。In an optional embodiment, the
需要说明的是:上述实施例提供的网络切片的选择装置,仅以上述各功能模块的划分进行举例说明,实际应用中,可以根据需要而将上述功能分配由不同的功能模块完成,即将设备的内部结构划分成不同的功能模块,以完成以上描述的全部或者部分功能。另外,上述实施例提供的装置与方法实施例属于同一构思,其具体实现过程详见方法实施例,这里不再赘述。It should be noted that: the apparatus for selecting network slices provided in the above-mentioned embodiments is only illustrated by the division of the above-mentioned functional modules. The internal structure is divided into different functional modules to complete all or part of the functions described above. In addition, the apparatus and method embodiments provided in the above embodiments belong to the same concept, and the specific implementation process thereof is detailed in the method embodiments, which will not be repeated here.
请参考图11,其示出了本申请一个实施例提供的终端1100的结构示意图,该终端1100可以包括:处理器1101、接收器1102、发射器1103、存储器1104和总线1105。Please refer to FIG. 11 , which shows a schematic structural diagram of a terminal 1100 provided by an embodiment of the present application. The terminal 1100 may include: a
处理器1101包括一个或者一个以上处理核心,处理器1101通过运行软件程序以及模块,从而执行各种功能应用以及信息处理。The
接收器1102和发射器1103可以实现为一个通信组件,该通信组件可以是一块通信芯片。The
存储器1104通过总线1105与处理器1101相连。The
存储器1104可用于存储计算机程序,处理器1101用于执行该计算机程序,以实现上述方法实施例中的终端执行的各个步骤。The
此外,存储器1104可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,易失性或非易失性存储设备包括但不限于:磁盘或光盘,电可擦除可编程只读存储器(Electrically Erasable Programmable Read-Only Memory,EEPROM),可擦除可编程只读存储器(Erasable Programmable Read-Only Memory,EPROM),静态随时存取存储器(Static Random Access Memory,SRAM),只读存储器(Read-Only Memory,ROM),磁存储器,快闪存储器,可编程只读存储器(Programmable Read Only Memory,PROM)。Additionally,
本申请还提供了一种计算机可读存储介质,所述可读存储介质中存储有至少一条指令、至少一段程序、代码集或指令集,所述至少一条指令、所述至少一段程序、所述代码集或指令集由处理器加载并执行以实现上述任意示例性实施例所提供的网络切片的选择方法。The present application also provides a computer-readable storage medium, where at least one instruction, at least one piece of program, code set or instruction set is stored in the readable storage medium, the at least one instruction, the at least one piece of program, the at least one piece of program, the The code set or instruction set is loaded and executed by the processor to implement the network slice selection method provided by any of the above-mentioned exemplary embodiments.
本申请实施例提供了一种计算机程序产品,该计算机程序产品包括计算机指令,该计算机指令存储在计算机可读存储介质中。计算机设备的处理器从计算机可读存储介质读取该计算机指令,处理器执行该计算机指令,使得该计算机设备执行上述可选实现方式中提供的网络切片的选择方法。Embodiments of the present application provide a computer program product, where the computer program product includes computer instructions, and the computer instructions are stored in a computer-readable storage medium. The processor of the computer device reads the computer instruction from the computer-readable storage medium, and the processor executes the computer instruction, so that the computer device executes the method for selecting a network slice provided in the foregoing optional implementation manner.
本领域普通技术人员可以理解实现上述实施例的全部或部分步骤可以通过硬件来完成,也可以通过程序来指令相关的硬件完成,所述的程序可以存储于一种计算机可读存储介质中,上述提到的存储介质可以是只读存储器,磁盘或光盘等。Those of ordinary skill in the art can understand that all or part of the steps of implementing the above embodiments can be completed by hardware, or can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. The storage medium mentioned may be a read-only memory, a magnetic disk or an optical disk, etc.
以上所述仅为本申请的可选实施例,并不用以限制本申请,凡在本申请的精神和原则之内,所作的任何修改、等同替换、改进等,均应包含在本申请的保护范围之内。The above descriptions are only optional embodiments of the present application, and are not intended to limit the present application. Any modifications, equivalent replacements, improvements, etc. made within the spirit and principles of the present application shall be included in the protection of the present application. within the range.
Claims (21)
Priority Applications (2)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010977687.XA CN112040532B (en) | 2020-09-17 | 2020-09-17 | Selection method, device, equipment and storage medium of network slicing |
PCT/CN2021/111581 WO2022057516A1 (en) | 2020-09-17 | 2021-08-09 | Network slice selection method, apparatus and device, and storage medium |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202010977687.XA CN112040532B (en) | 2020-09-17 | 2020-09-17 | Selection method, device, equipment and storage medium of network slicing |
Publications (2)
Publication Number | Publication Date |
---|---|
CN112040532A true CN112040532A (en) | 2020-12-04 |
CN112040532B CN112040532B (en) | 2022-12-20 |
Family
ID=73589599
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202010977687.XA Active CN112040532B (en) | 2020-09-17 | 2020-09-17 | Selection method, device, equipment and storage medium of network slicing |
Country Status (2)
Country | Link |
---|---|
CN (1) | CN112040532B (en) |
WO (1) | WO2022057516A1 (en) |
Cited By (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN112770407A (en) * | 2020-12-31 | 2021-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for establishing data bearer, storage medium and electronic equipment |
CN112788362A (en) * | 2020-12-25 | 2021-05-11 | 北京小米移动软件有限公司 | Video playing method, video playing device and storage medium |
WO2022057516A1 (en) * | 2020-09-17 | 2022-03-24 | Oppo广东移动通信有限公司 | Network slice selection method, apparatus and device, and storage medium |
WO2023087263A1 (en) * | 2021-11-19 | 2023-05-25 | Lenovo (Beijing) Limited | Method and apparatus for network performance improvement |
Families Citing this family (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN114679752B (en) * | 2022-03-29 | 2024-04-19 | 青岛海信移动通信技术有限公司 | Method for sharing wireless communication capability by double systems and terminal equipment |
Citations (3)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106572517A (en) * | 2015-10-09 | 2017-04-19 | 中国移动通信集团公司 | Network slice processing method, access network selecting method and apparatus |
CN109391648A (en) * | 2017-08-04 | 2019-02-26 | 华为技术有限公司 | It is a kind of to apply correlating method, device and the communication system being sliced with network |
CN109729582A (en) * | 2018-12-27 | 2019-05-07 | 维沃移动通信有限公司 | Information interaction method, device and computer-readable storage medium |
Family Cites Families (5)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2018069852A1 (en) * | 2016-10-11 | 2018-04-19 | Telefonaktiebolaget Lm Ericsson (Publ) | Network slicing-aware access network |
KR20190082897A (en) * | 2016-11-18 | 2019-07-10 | 엘지전자 주식회사 | Method for selecting a network node in a wireless communication system and apparatus therefor |
CN109982415A (en) * | 2017-05-09 | 2019-07-05 | 华为技术有限公司 | Network is sliced selection strategy update method and device |
EP3641423B1 (en) * | 2017-06-17 | 2022-04-20 | LG Electronics Inc. | Method for registering terminal in wireless communication system and apparatus therefor |
CN112040532B (en) * | 2020-09-17 | 2022-12-20 | Oppo广东移动通信有限公司 | Selection method, device, equipment and storage medium of network slicing |
-
2020
- 2020-09-17 CN CN202010977687.XA patent/CN112040532B/en active Active
-
2021
- 2021-08-09 WO PCT/CN2021/111581 patent/WO2022057516A1/en active Application Filing
Patent Citations (4)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN106572517A (en) * | 2015-10-09 | 2017-04-19 | 中国移动通信集团公司 | Network slice processing method, access network selecting method and apparatus |
CN109391648A (en) * | 2017-08-04 | 2019-02-26 | 华为技术有限公司 | It is a kind of to apply correlating method, device and the communication system being sliced with network |
US20200169921A1 (en) * | 2017-08-04 | 2020-05-28 | Huawei Technologies Co., Ltd. | Method and apparatus for associating application with network slice, and communications system |
CN109729582A (en) * | 2018-12-27 | 2019-05-07 | 维沃移动通信有限公司 | Information interaction method, device and computer-readable storage medium |
Cited By (6)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2022057516A1 (en) * | 2020-09-17 | 2022-03-24 | Oppo广东移动通信有限公司 | Network slice selection method, apparatus and device, and storage medium |
CN112788362A (en) * | 2020-12-25 | 2021-05-11 | 北京小米移动软件有限公司 | Video playing method, video playing device and storage medium |
CN112788362B (en) * | 2020-12-25 | 2023-09-12 | 北京小米移动软件有限公司 | Video playing method, video playing device and storage medium |
CN112770407A (en) * | 2020-12-31 | 2021-05-07 | 宇龙计算机通信科技(深圳)有限公司 | Method and device for establishing data bearer, storage medium and electronic equipment |
WO2023087263A1 (en) * | 2021-11-19 | 2023-05-25 | Lenovo (Beijing) Limited | Method and apparatus for network performance improvement |
GB2628068A (en) * | 2021-11-19 | 2024-09-11 | Lenovo Beijing Ltd | Method and apparatus for network performance improvement |
Also Published As
Publication number | Publication date |
---|---|
CN112040532B (en) | 2022-12-20 |
WO2022057516A1 (en) | 2022-03-24 |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2022057516A1 (en) | Network slice selection method, apparatus and device, and storage medium | |
US20230069252A1 (en) | Communication Method and Communication Apparatus | |
CN110474840B (en) | Data transmission method, device and readable storage medium | |
CN111698755B (en) | URSP rule-based application data routing method and user equipment | |
CN111601353A (en) | Routing method of application program and related device | |
US11310650B2 (en) | Terminal policy sending method, apparatus, and terminal policy sending system | |
US11943286B2 (en) | Application instance switching method and apparatus | |
EP4061024A1 (en) | D2d communication method, apparatus and system | |
US20220272577A1 (en) | Communication method and communication apparatus | |
CN111031572B (en) | Data transmission method and device | |
WO2022022322A1 (en) | Method and device for accessing local network | |
WO2023087965A1 (en) | Communication method and apparatus | |
WO2021227599A1 (en) | Communication method and apparatus | |
US20230371094A1 (en) | Communication method and apparatus | |
CN112770407A (en) | Method and device for establishing data bearer, storage medium and electronic equipment | |
CN114514764B (en) | Apparatus, method and computer program | |
CN111586668B (en) | Method, device and system for sending terminal strategy | |
WO2023142717A1 (en) | Method and apparatus for determining user equipment route selection policy | |
EP4106398B1 (en) | Parameter configuration method, apparatus and system, device and storage medium | |
CN111800889B (en) | A method, terminal device and network device for processing a protocol data unit session | |
US11805085B2 (en) | Enhancements to rich communication group messaging based on operating system | |
CN112291848A (en) | Terminal capability configuration method and communication device | |
EP4322581A1 (en) | Method and apparatus to control network slices requested by a user equipment | |
WO2022151357A1 (en) | Communication method and apparatus, device, and storage medium | |
CN111615100B (en) | Data processing method and device |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
GR01 | Patent grant | ||
GR01 | Patent grant |