Method, electronic device, and storage medium for accessing network slices
The method enables applications to access network slices through system frameworks, intercepting requests to generate routing policies, addressing the challenge of deploying network slicing by reducing costs and complexity across devices.
Patent Information
- Application Number
- JP2024112002
- Authority / Receiving Office
- JP · JP
- Patent Type
- Applications
- Current Assignee / Owner
- Priority Date
- 2020-05-29
- Filing Date
- 2024-07-11
- Publication Date
- 2024-10-08
- Estimated Expiration
- 2041-04-27
AI Technical Summary
The deployment of network slicing operations is hindered by the need for application modifications and varying application versions across devices, leading to user reluctance and high costs.
A method that allows applications to access network slices by obtaining access information, generating a routing policy, and enabling communication through target network slices without modifying the applications, using system frameworks and network monitoring to intercept and generate routing policies based on access requests.
Facilitates rapid deployment of network slicing operations by reducing the cost and complexity of supporting network slices across different devices, allowing applications to access network slices efficiently without requiring updates.
Smart Images

Figure 2024138466000001_ABST
Abstract
Description
[Technical field]
[0001] This application is filed based on a Chinese patent application with application number 202010477722.1, filed on May 29, 2020, and claims priority to the Chinese patent application, the entire contents of which are incorporated herein by reference.
[0002] The present application relates to the field of communications technology, and in particular to a method, an electronic device and a storage medium for accessing a network slice. [Background technology]
[0003] With the rapid development of 5G, network slicing will inevitably become an important selling point for operators in industry applications. Network slicing is an on-demand networking method that can separate multiple virtual end-to-end networks on a unified infrastructure, and each network slice can obtain logically independent network resources, and each network slice can be isolated from each other. Therefore, even if an error or failure occurs in one network slice, it will not affect other network slices. Operators can also customize network slices according to the requirements of each industry application (such as characteristics such as high throughput, low latency, high connection density, etc.), which can help provide differentiated services, improve product service quality, improve user experience, and even obtain more commercial benefits.
[0004] However, applications in terminals cannot support network slicing without undergoing certain modifications, the application versions on different terminals vary widely, many users are reluctant to upgrade applications, and the internal logic of applications can be complex, making modifications costly. These issues make it difficult to deploy network slicing business. Summary of the Invention
[0005] The main objective of the present embodiments is to provide a method, an electronic device and a storage medium for accessing a network slice, which are intended to reduce the cost for applications to access a network slice and promote the deployment of network slice services.
[0006] An embodiment of the present application provides a method for accessing a network slice, including a step of querying access information of a target network slice from a query interface based on an access request from an application to access a target network slice, and the query interface communicating with a server belonging to an operator; a step of generating a routing policy between the application and the target network slice based on the access information; and a step of allowing the application to access the target network slice based on the routing policy, thereby allowing the application to perform network communication via the target network slice.
[0007] An embodiment of the present application further provides an electronic device including at least one processor and a memory communicatively connected to the at least one processor, the memory including instructions executable by the at least one processor, the instructions, when executed by the at least one processor, causing the at least one processor to perform the above-mentioned method of accessing a network slice.
[0008] An embodiment of the present application further provides a computer-readable storage medium having a computer program stored therein, the computer program being executed by a processor to cause the processor to implement the above-mentioned method of accessing a network slice. [Brief description of the drawings]
[0009] [Figure 1]1 is a flowchart of a method for accessing a network slice provided by Example 1 of the present application. [Diagram 2] A structural block diagram of a device for accessing a network slice provided by Example 1 of the present application. [Diagram 3] This is a conceptual diagram of the interaction process of the method for accessing a network slice provided in Example 1 of the present application. [Figure 4] 11 is a flowchart of a method for accessing a network slice provided by Example 2 of the present application. [Diagram 5] A structural block diagram of a device for accessing a network slice provided by Example 2 of the present application. [Figure 6] A conceptual diagram of the interaction process of the method for accessing a network slice provided by Example 2 of the present application. [Figure 7] FIG. 1 is a structural block diagram of an electronic device provided in Example 3 of the present application. DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENTS
[0010] In order to make the purpose, technical solution and advantages of the embodiments of the present application clearer, the following describes each embodiment of the present application in detail with the accompanying drawings. In each embodiment of the present application, many technical details are provided to allow the reader to better understand the present application, but those skilled in the art can understand that the technical solution claimed in the present application can be realized without these technical details and various changes and modifications based on the following embodiments. The division of the following embodiments is for convenience of explanation and does not constitute any limitation on the specific implementation manner of the present application, and each embodiment can be combined and referenced with each other on the premise that there is no contradiction.
[0011] The terminal supports network slice service, and its main job is to obtain Single Network Slice Selection Assistance (S-NSSAI) in a specified network slice by matching the data stream of the upper layer application with the routing policy rule of the user device. The terminal attaches S-NSSAI when generating a Protocol Data Unit (PDU) session to indicate the network slice that the terminal will request. After receiving it, the network transmits the data stream of the corresponding application on the corresponding slice link.
[0012] According to the 3GPP TS 23.503 specification, the traffic descriptor based on Data Network Name (DNN) and Connectivity Capabilities requires the application to provide the corresponding parameters, which means that the new version of the application can support the network slice service only if the application code is modified. For example, if an application in a terminal wants to support network slice based on DNN, according to the specification, the application must send DNN information to the system framework of the terminal to request a corresponding network slice from the system framework, and the system generates a corresponding PDU session based on the DNN information. After the application receives a callback from the network slice, the binding work of the corresponding network slice is completed, and only then can the delivery path of the corresponding data stream of the application be established. Currently, the versions of commercial applications on different terminals are diverse, and many users are reluctant to upgrade their applications, which hinders the rapid deployment of network slice business.
[0013] A first embodiment of the present application relates to a method for accessing a network slice, which can be applied to terminals such as smartphones, tablet computers, and desktop computers, and a specific flow of the method for accessing a network slice is as shown in Figure 1.
[0014] Step 101: Obtain access information of a target network slice based on an access request from an application to access a target network slice.
[0015] In some circumstances, the method for accessing a network slice may be installed in a system framework of the terminal, for example, a system framework of an Android system. Before performing step 101, the terminal may pre-establish a default network bearer to provide a default network bearer to an application of a non-customized target network slice, thereby facilitating the application of a non-customized target network slice to access the default network slice. In addition, the terminal may pre-install or query name information or other traffic descriptor information of the default network slice of the current application, and the terminal may further pre-install or query name information or other traffic descriptor information of a target network slice customized for the current application.
[0016] In one example, before obtaining the access information of the target network slice, the application registration network can intercept a monitoring request monitored and treat the monitoring request as an access request.
[0017] In some circumstances, an application needs to access a target network slice, and monitors through a registered network of a system interface of a terminal, the application monitors through the registered network and sends a monitoring request, and after the system receives the monitoring request, a monitor is arranged for the application, and the monitor monitors whether the network is available, and if the monitor reports that the target network slice is available, the application can access the target network slice. The system can intercept the monitoring request of the application and take the monitoring request as an access request.
[0018] It is noteworthy that by intercepting monitoring requests, the access requirements of an application can be quickly obtained, and the application can then quickly access the target network slice.
[0019] In one example, the access information includes any one or any combination of target network slice name information, application identifier information, and application triplet information.
[0020] In some situations, the content of the access information can be determined based on the number of target network slices of an application. For example, when the number of target network slices of an application is more than one, in order to distinguish target network slices corresponding to different business traffic, the access information may include name information of the application of the target network slice and traffic descriptor information, such as IP triplet information, and may further include domain name information, etc.
[0021] Different target network slices have different names and different traffic descriptors, so that the business type in each target network slice can be known from the traffic descriptor, thereby distinguishing different business requirements of the same application so that different business traffics reach the corresponding target network slices, and subsequently facilitating the rapid generation of routing policies between applications and target network slices.
[0022] In addition, after receiving the access request, the terminal system can be triggered to acquire the access information of the target network slice. The acquisition method is various, and the access information can be read from the application, or the access information can be queried from the query interface, and the query interface communicates with the server belonging to the operator. The acquisition method can be determined according to the number of target network slices of the application. For example, if the number of target network slices is greater than 1, the query interface can be used to query the operator server to acquire the access information. If the number of target network slices of the application is 1, the system interface can directly query the access information. For example, if the number of target network slices of the application is 1, the access information can include application identifier information of the application, and the system interface can query the application identifier information (e.g., app_id2) of the application.
[0023] Step 102: Generate a routing policy between the application and the target network slice based on the access information.
[0024] In one example, a generation request is sent to a network bearer generation device based on the access information, so that the network bearer generation device establishes a network bearer for communication with the target network slice based on the access information, and returns a prompt message indicating that the establishment of the network bearer is complete.
[0025] In some circumstances, the network bearer generating device can pre-install or update a user device routing policy (UE Route Selection Policy, abbreviated as "URSP"). The URSP rule can be pre-installed according to the requirements of the operator, and the stored URSP rule can be detected as the latest URSP rule, and if it is not the latest, the network bearer generating device can send an acquisition request to the operator network to acquire and update the latest URSP rule. The operator network may spontaneously issue the latest URSP rule, and the network bearer generating device receives and updates the latest URSP rule. The input parameter traffic descriptor of the URSP rule includes, but is not limited to, DNN, application identifier information, fully qualified domain name (FQDN), IP triplet, connection capability information, etc., and the output parameter of the URSP rule is S-NSSAI. The network bearer generating device may be a modem, and the modem is connected to a terminal, and the terminal calls an interface corresponding to the target network slice in the modem based on the name information of the target network slice in the access information, and triggers the modem through the interface to establish a network bearer, and after receiving the network bearer establishment request, the modem obtains the name information of the target network slice and establishes a network bearer corresponding to the target network slice according to the latest USPR regulations. For example, if the target network slice is dnn_x1, the modem determines that the target network slice is dnn_x1 and establishes a network bearer of the target network slice with the terminal. An application communicates with the target network slice through the network bearer.
[0026] In addition, depending on the requirements of the application, a network bearer corresponding to the application requirements can be established, for example, a network bearer for reliable low latency communication (URLLC), ie, dnn_x1,URLLC can be established.
[0027] After the modem establishes the network bearer, it returns a prompt message to the terminal to facilitate the terminal's subsequent processing.
[0028] In one example, the process of generating a routing policy for an application and a target network slice includes constructing a network interface that connects to the target network slice, arranging a route relationship between the network interface and the application based on the access information, and making the route relationship the routing policy.
[0029] In some circumstances, after the terminal receives the prompt message, it can distribute a corresponding network interface to the network bearer of the target network slice, and realize the connection between the network interface and the target network slice through the network interface and the network bearer. An application may have only one target network slice, or may have multiple target network slices. When an application has only one target network slice, route matching is performed according to the identifier information of the application, for example, the routing policy applied is that if the packet belongs to application A, the packet is distributed to network interface 1.
[0030] When the application has multiple target network slices, various business traffic can be distinguished by IP information, and corresponding routes can be matched for various business traffic. For example, the routing policy added is that if the packet belongs to application A and the target IP is dst_ip_list1, the packet is distributed to network interface 1; if the packet belongs to application A and the target IP is dst_ip_list2, the packet is distributed to network interface 2.
[0031] Step 103: Allow the application to access the target network slice based on the routing policy, so that the application performs network communication via the target network slice.
[0032] In some cases, after the routing policy deployment is completed, the system can notify the application that the target network slice is available, and after the application receives the notification, the application realizes network communication with the target network slice through the system interface. There are several ways to notify the application, for example, in the Android system, a callback function can be used, and after the route deployment is completed, the callback function notifies the application that the network is available.
[0033] The above steps can be performed in a system framework. In order to facilitate understanding of the process of an application accessing a target network slice, in this embodiment, three virtual modules are used to realize the process of accessing a network slice. As shown in FIG. 2, the virtual modules include a network monitoring interception module 10, a network connection module 20 and a route information configuration module 30. FIG. 3 is a conceptual diagram of the interaction of each module in the system framework. The process of accessing a target network slice will be described below in combination with FIG. 3. Here, the network monitoring interception module 10, the network connection module 20 and the route information configuration module 30 are all arranged in the system framework of the terminal, and only the system framework is shown in FIG. 3. Note that the modem has pre-configured or updated the URSP rule, and the terminal has established a default network bearer.
[0034] The application APP2 registers network monitoring through the system interface of the terminal, and the network monitoring interception module 10 executes step S1 to intercept the monitoring request of APP2, and sets the monitoring request as a connection request. The network monitoring interception module 10 executes step S2 to inquire about the identifier information of APP2 through the system interface, and finds that the identifier information of APP2 is app id2. The network connection module 20 executes step S3. Sends a request to generate a network bearer to the modem. After receiving the network bearer generation request, the modem executes step S4 to generate a corresponding network bearer according to the identifier information of the application and the URSP rule. The modem executes step S5 to return a prompt message that the network bearer establishment is completed. The network connection module 20 executes step S6 to construct a network interface (for example, network interface iface2) corresponding to the network bearer. The route information configuration module 30 executes step S7 to configure the route relationship between APP2 and iface2. In this embodiment, route matching can be realized by the identifier information of the application APP2. The network monitoring interception module executes step S8 by APP2, and notifies the application APP2 that the target network slice is available through the registered callback function. The application APP2 executes step S9, accesses the target network slice, and communicates with the target network slice.
[0035] The method for accessing a network slice presented in the present application obtains access information of a target network slice through an access request of an application, generates a routing policy between the application and the target network slice based on the access information, and allows the application to access the target network slice based on the routing policy, without the need to modify the application, and allows the application to support network slice services without the user updating the application, thereby reducing the cost of the application accessing the target network slice and reducing the obstacles in deploying network slice services, thereby enabling network slice services to be deployed quickly and facilitating the deployment of the network slice services.
[0036] The second embodiment of the present application relates to a method for accessing a network slice, and the second embodiment is almost identical to the first embodiment. This embodiment is a specific description of the steps of obtaining access information of a target network slice, and the flowchart is as shown in FIG. 4.
[0037] Step 201: The legitimacy of the application is detected. If it is determined that the application is a legitimate application, step 202 is executed; if not, the flow is terminated.
[0038] In some cases, the identifier information of the application can be obtained, and the application can be judged as being legitimate based on the identifier information, for example, a whitelist of legitimate applications can be set up in advance, and the application can be judged as being legitimate if the identifier information of the current application is in the whitelist, and if it is, the application can be judged as being legitimate, and if it is not, the application can be judged as being illegitimate. In addition, the application can be judged as being legitimate based on the certificate expiration date of the application, and the application can be judged as being legitimate based on the certificate expiration date of the application, for example, whether the certificate expiration date has passed.
[0039] Step 202: Obtain access information of the target network slice based on an access request from an application to access the target network slice.
[0040] In one example, access information can be queried from a query interface, which communicates with an operator-affiliated server.
[0041] In some circumstances, the operator-affiliated server may communicate with the terminal through a query interface and query access information through the query interface. If it is determined that the target network slice is customized for the application, the server queries the access information of the target network slice customized for the application. If it is determined that the target network slice is not customized for the application, the server queries the information of the default network slice, and the information of the default network slice is used as the access information.
[0042] Whether the target network slice is customized for the application can be queried based on the identifier information of the application. If it is determined that the target network slice is not customized for the application, the system default network slice information is queried, and the default network slice information is the access information, and the default network slice information may be the name information of the network slice. If it is determined that the target network slice is customized for the application, the access information of the customized target network slice is queried. Note that, if the number of target network slices customized for the application is one, only the name information of the target network slice can be queried; if the number of target network slices customized for the application is multiple, the name information, IP triplet information, application identifier information, etc. of the target network slice can be queried. If multiple target network slices are customized, the contents included in the access information are more detailed, which is convenient for rationally configuring the routing policy later.
[0043] It is noteworthy that the access information of the target network slice is queried according to the customization requirements of the application to meet different requirements of the application.
[0044] Step 203: Generate a routing policy between the application and the target network slice based on the access information.
[0045] Since this is almost the same as step 102 in the first embodiment, a detailed description will not be given here.
[0046] Step 204: Allow the application to access the target network slice based on the routing policy, so that the application communicates with the network through the target network slice.
[0047] Since this is almost the same as step 103 in the first embodiment, a detailed description will not be given here.
[0048] The above steps can be performed in a system framework. In order to facilitate understanding of the process of an application accessing a target network slice, in this embodiment, four virtual modules are used to realize the process of accessing a network slice. As shown in FIG. 5, the virtual modules include a network monitoring interception module 10, a network connection module 20, a route information configuration module 30, and a slice information query module 40. FIG. 6 is a conceptual diagram of the interaction of each module in the system framework. The process of accessing a target network slice will be described below in combination with FIG. 6. Here, the network monitoring interception module 10, the network connection module 20, the route information configuration module 30, and the slice information query module 40 are all configured in the system framework of the terminal. For ease of explanation, FIG. 6 uses a dashed frame to indicate the slice information query module in the system framework, and the system framework shown in FIG. 6 includes the network monitoring interception module 10, the network connection module 20, and the route information configuration module 30. Note that the modem has pre-installed or updated the URSP, and the terminal has established a default network bearer.
[0049] The application APP1 registers network monitoring through the system interface of the terminal, and the network monitoring interception module 10 executes step S21 to intercept the monitoring request of APP1, and the monitoring request is a connection request. The network monitoring interception module 10 executes step S22 to inquire the slice information inquiry module 40 whether the application customizes the DNN and other traffic description information. The slice information inquiry module 40 executes step S23 to perform a legitimacy check on the application, and queries the access information to the operator's server. The slice information inquiry module 40 executes step S24. It returns the access information, and if APP1 does not customize the DNN, it returns the default DNN. If multiple DNNs are customized, the access information further includes IP triplet information, such as dnn_x1, ip list1; dnn_x2, ip list2. The network connection module 20 executes step S25. It sends a network bearer creation request to the modem. After the modem receives the network bearer creation request, it executes step S26 to create a corresponding network bearer according to the identifier information of the application and the URSP rule. The modem executes step S27 and returns a prompt message that the network bearer is established. The network connection module 20 executes step S28 and establishes a network interface corresponding to the network bearer, for example, the network interface iface1. The route information configuration module 30 executes step S29 and configures the route relationship between APP1 and iface1. In this embodiment, route matching is realized by the identifier information and IP triplet of the application APP1. The network monitoring interception module executes step S30 by APP1 and notifies the application APP1 that the target network slice is available through the registered callback function. The application APP1 executes S31 and accesses the target network slice and communicates with the target network slice.
[0050] Furthermore, when an application accesses multiple target network slices, the process of accessing other target network slices is similar, so it will not be described again here.
[0051] The method of accessing a network slice presented in this application can obtain access information of the target network by querying a server belonging to an operator, and the obtained access information is more accurate.
[0052] A third embodiment of the present application relates to an electronic device, and as shown in FIG. 7, the electronic device 30 includes at least one processor 302 and a memory 301 communicatively connected to the at least one processor, the memory 301 including instructions executable by the at least one processor 302, which, when executed by the at least one processor 302, cause the at least one processor 302 to perform an embodiment of the above-mentioned method for accessing a network slice.
[0053] Here, the memory 301 and the processor 302 are connected in a bus manner, which may include any number of interconnected buses and bridges, connecting various circuits of one or more processors 302 and the memory 301. The bus may connect various other circuits, such as peripherals, voltage regulators, and power management circuits, all of which are known in the art and will not be described further herein. The bus interface provides an interface between the bus and the transceiver. The transceiver may be a single element or multiple elements, such as multiple receivers and transmitters, that provide a means for communicating with various other devices in a transmission medium. The data processed by the processor 302 is transmitted over a wireless medium via an antenna, which in turn receives and transmits data to the processor 302.
[0054] The processor 302 is responsible for bus management and general processing, and may also provide a variety of functions including timing, peripheral interfaces, voltage regulation, power management, and other control functions. The memory 301 may be used to store data used by the processor 302 when performing operations.
[0055] A fourth embodiment of the present application relates to a computer-readable storage medium having a computer program stored thereon. The computer program, when executed by a processor, realizes the above-described embodiment of the method for accessing a network slice. The computer-readable storage medium may include a transitory or non-transitory, removable or non-removable medium implemented in any method or technology for storing information (e.g., computer-readable instructions, data structures, computer program modules, or other data).
[0056] That is, those skilled in the art can understand that all or some of the steps in the above embodiment methods can be realized by instructing relevant hardware through a program, and the program is stored in a storage medium and includes some instructions for making a device (which may be a single-chip microcomputer, chip, etc.) or a processor execute all or some of the steps of the above method described in each embodiment of the present application. The storage medium includes various media that can store program code, such as U disk, mobile hard disk, read-only memory (ROM), random access memory (RAM), magnetic disk, or optical disk.
[0057] It should be understood by those skilled in the art that all or some of the steps of the methods, systems, and functional modules / means in the devices disclosed above can be implemented as software (which can be realized using computer program codes executable by a computer device), firmware, hardware, and appropriate combinations thereof. In the hardware embodiment, the division between the functional modules and / or means mentioned in the above description does not necessarily correspond to the division of physical components, for example, one physical component may have multiple functions, or one function or step may be performed by several components in cooperation. Some or all of the physical components may be implemented as software executed by a processor, such as a central processor, digital signal processor, or microprocessor, or may be implemented as hardware, or may be implemented as an integrated circuit, such as a dedicated integrated circuit.
[0058] The above embodiments are specific examples of the present application, and various changes in form or details may be made in actual applications without departing from the spirit and scope of the present application.
Claims
1. A step of querying access information of a target network slice from a query interface based on an access request of an application to access a target network slice, and the query interface communicating with a server belonging to an operator; generating a routing policy between the application and the target network slice based on the access information; and causing the application to access the target network slice based on the routing policy, so that the application performs network communication via the target network slice. How to access a network slice.
2. The step of generating a routing policy between the application and the target network slice based on the access information includes: constructing a network interface that connects to the target network slice; arranging a route relationship between the network interface and the application based on the access information, and making the route relationship the routing policy. A method for accessing a network slice as claimed in claim 1.
3. Prior to the step of constructing a network interface to connect to the target network slice, The method further includes sending a generation request to a network bearer generation device based on the access information to establish a network bearer for communication with the target network slice; Presetting or updating a routing policy between the application and the target network slice based on the network bearer. A method for accessing a network slice as claimed in claim 2.
4. The step of obtaining access information of a target network slice based on an access request of an application to access a target network slice includes: The method further includes the step of retrieving the access information from the application. A method for accessing a network slice as claimed in claim 1.
5. The step of querying the access information from a query interface includes: When it is determined that the target network slice is customized for the application, querying the application for access information of the target network slice customized for the application; When it is determined that the target network slice is not customized for the application, querying information of a default network slice and setting the information of the default network slice as the access information. A method for accessing a network slice as claimed in claim 1.
6. The method further includes: performing legitimacy detection on the application; and, if it is determined that the application is a legitimate application, performing acquisition of access information of the target network slice based on an access request of the application to access the target network slice. A method for accessing a network slice as claimed in claim 1.
7. The access information includes any one or any combination of name information of the target network slice, identifier information of an application, and triplet information of an application. A method for accessing a network slice as claimed in claim 1.
8. Prior to the step of obtaining access information of a target network slice based on an access request of an application to access a target network slice, and intercepting a monitoring request monitored by an application registration network and determining the monitoring request as the access request. A method for accessing a network slice as claimed in claim 1.
9. At least one processor; a memory in communication with the at least one processor; The memory includes instructions executable by the at least one processor, the instructions being executed by the at least one processor to cause the at least one processor to perform the method for accessing a network slice according to any one of claims 1 to 8. Electronic devices.
10. A computer-readable storage medium having a computer program stored thereon, the computer program being executed by a processor to cause the processor to implement the network slice access method according to any one of claims 1 to 8. A computer-readable storage medium.
Citation Information
Patent Citations
Network slice selection method, user equipment, and network device
JP2020509635A
Application-based user equipment route selection policy mapping
US10602422B1
