Network slice determination method, apparatus, device, and storage medium
Patent Information
- Application Number
- CN202311511964.8
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-11-13
- Publication Date
- 2026-08-28
- Estimated Expiration
- 2043-11-13
AI Technical Summary
[0004]本申请提供一种网络切片确定方法、装置、设备及存储介质,以至少解决现有技术中使用双线性对算法运算量大,无法快速确定为用户提供服务的网络切片的问题
Smart Images

Figure CN117376138B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of communication technology, and in particular to a method, apparatus, device and storage medium for determining network slices. Background Technology
[0002] Different network slices can meet the service needs of user devices in different scenarios. In existing technologies, when allocating network slices to user devices, it is usually necessary to obtain the network slice feature values from the user's subscription information. Then, a bilinear pairing algorithm can be used to match the network slice feature values in the user's subscription information with the network slice feature values of each of the multiple network slices stored in the core network, obtaining multiple matching degrees, and using the network slice with the highest matching degree to provide services to the user.
[0003] However, the above method involves a large amount of computation and cannot quickly determine the network slice that provides services to the user. Summary of the Invention
[0004] This application provides a method, apparatus, device, and storage medium for determining network slices, to at least solve the problem that the existing bilinear pairing algorithm, with its high computational complexity, cannot quickly determine network slices that provide services to users. The technical solution of this application is as follows:
[0005] In a first aspect, a method for determining a network slice is provided. The method includes: receiving a first set of network slice types and a first random number sent by a user equipment; encrypting the first set of network slice types using a preset encryption algorithm and the first random number, wherein the first set of network slice types includes at least one network slice type corresponding to at least one allowed network slice subscription-based attribute identity (NSSAI) of the user equipment; encrypting a pre-configured set of network slice types according to the preset encryption algorithm and the first random number to obtain a second set of network slice types; and determining a target network slice to be allocated to the user equipment based on the intersection of the first set of network slice types and the second set of network slice types.
[0006] In one possible implementation, determining the target network slice allocated to the user equipment based on the intersection of the first network slice type set and the second network slice type set includes: if no network slice type exists in the intersection of the first and second network slice type sets, determining a preset network slice as the target network slice; if the intersection of the first and second network slice type sets includes one network slice type, determining the network slice corresponding to the network slice of the network slice type included in the intersection of the first and second network slice type sets as the target network slice; if the intersection of the first and second network slice type sets includes multiple network slice types, obtaining the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type; and determining the target network slice based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
[0007] In one possible implementation, determining the target network slice based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type includes: determining the number of identical slice features among the allowed network slice features and the pre-configured network slice features corresponding to each network slice type to obtain the number of matching features for each network slice type; and determining the network slice corresponding to the network slice type with a number of matching features greater than a preset number among the multiple network slice types as the target network slice.
[0008] In one possible implementation, the method further includes: obtaining multiple initially pre-configured network slice types; encrypting the multiple initially pre-configured network slice types according to a preset encryption algorithm and a second random number to obtain a set of pre-configured network slice types.
[0009] In one possible implementation, the method further includes: obtaining at least one initial allowed NSSAI; one initial allowed NSSAI corresponds one-to-one with one network slice type; encrypting the network slice type in the initial allowed NSSAI according to a preset encryption algorithm and a second random number to obtain a set of allowed network slice types; and sending the set of allowed network slice types to the user equipment.
[0010] In a second aspect, a network slice determination apparatus is provided, comprising: a receiving unit, a processing unit, and a determining unit; the receiving unit is configured to receive a first network slice type set and a first random number sent by a user equipment; the first network slice type set is encrypted using a preset encryption algorithm and the first random number, and the first network slice type set includes at least one network slice type that is allowed one-to-one with at least one NSSAI of the user equipment; the processing unit is configured to encrypt the pre-configured network slice type set according to the preset encryption algorithm and the first random number to obtain a second network slice type set; the determining unit is configured to determine the target network slice to be allocated to the user equipment based on the intersection of the first network slice type set and the second network slice type set.
[0011] In one possible implementation, the determining unit is specifically configured to: determine a preset network slice as the target network slice when no network slice type exists in the intersection of the first network slice type set and the second network slice type set; determine the network slice corresponding to the network slice type included in the intersection of the first network slice type set and the second network slice type set as the target network slice when the intersection of the first network slice type set and the second network slice type set includes one network slice type; and, when the intersection of the first network slice type set and the second network slice type set includes multiple network slice types, obtain the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type; and determine the target network slice based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
[0012] In one possible implementation, the determining unit is specifically used to: determine the number of identical slice features among the allowed network slice features corresponding to each network slice type and the number of pre-configured network slice features corresponding to each network slice type, thereby obtaining the number of matching features for each network slice type among multiple network slice types; and determine the network slice corresponding to the network slice type among multiple network slice types whose number of matching features is greater than a preset number as the target network slice.
[0013] In one possible implementation, the network slice determination device further includes an acquisition unit; the acquisition unit is used to acquire multiple initially pre-configured network slice types; the processing unit is further used to encrypt the multiple initially pre-configured network slice types according to a preset encryption algorithm and a second random number to obtain a set of pre-configured network slice types.
[0014] In one possible implementation, the network slice determination device further includes a sending unit; an acquisition unit, which is further configured to acquire at least one initial allowed NSSAI; one initial allowed NSSAI corresponds one-to-one with one network slice type; a processing unit, which is further configured to encrypt the network slice type in the initial allowed NSSAI according to a preset encryption algorithm and a second random number to obtain a set of allowed network slice types; and a sending unit, which is configured to send the set of allowed network slice types to the user equipment.
[0015] Thirdly, an electronic device is provided, comprising: a processor; and a memory for storing processor-executable instructions; wherein the processor is configured to execute instructions to implement the methods of the first aspect and any possible implementation thereof.
[0016] Fourthly, a computer-readable storage medium is provided, wherein when the instructions in the computer-readable storage medium are executed by a processor of an electronic device, the electronic device is enabled to perform the methods described in the first aspect and any possible implementation thereof.
[0017] Fifthly, a computer program product is provided, comprising computer instructions that, when executed on an electronic device, cause the electronic device to perform the method described in the first aspect and any possible implementation thereof.
[0018] The technical solution of the first aspect provided by this application brings at least the following beneficial effects: Existing technologies use bilinear pairing algorithms to determine matching values, which involves a large amount of computation, resulting in the inability to quickly determine network slices. This application receives a first set of network slice types and a first random number sent by a user equipment. The first set of network slice types is encrypted using a preset encryption algorithm and the first random number, and includes at least one network slice type that corresponds one-to-one with at least one allowed NSSAI of the user equipment. Then, according to the preset encryption algorithm and the first random number, the pre-configured set of network slice types is encrypted to obtain a second set of network slice types. Further, the target network slice allocated to the user equipment is determined based on the intersection of the first and second set of network slice types. This avoids the situation in existing technologies where bilinear pairing algorithms are used to determine matching values, and allows for rapid determination of the target network slice.
[0019] It should be noted that the technical effects of any of the implementation methods in aspects two through five can be found in the technical effects of the corresponding implementation methods in aspect one, and will not be repeated here.
[0020] It should be understood that the above general description and the following detailed description are exemplary and explanatory only, and do not limit this application. Attached Figure Description
[0021] The accompanying drawings, which are incorporated in and form part of this specification, illustrate embodiments consistent with this application and, together with the description, serve to explain the principles of this application, and do not constitute an undue limitation of this application.
[0022] Figure 1 This is a schematic diagram illustrating a network slicing determination system according to an exemplary embodiment;
[0023] Figure 2 This is a flowchart illustrating a network slice determination method according to an exemplary embodiment;
[0024] Figure 3 This is a flowchart illustrating yet another method for determining network slices according to an exemplary embodiment;
[0025] Figure 4 This is a flowchart illustrating yet another method for determining network slices according to an exemplary embodiment;
[0026] Figure 5 This is a flowchart illustrating yet another method for determining network slices according to an exemplary embodiment;
[0027] Figure 6 This is a flowchart illustrating yet another method for determining network slices according to an exemplary embodiment;
[0028] Figure 7 This is a flowchart illustrating yet another method for determining network slices according to an exemplary embodiment;
[0029] Figure 8 This is a block diagram illustrating a network slicing determination apparatus according to an exemplary embodiment;
[0030] Figure 9 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Detailed Implementation
[0031] To enable those skilled in the art to better understand the technical solutions of this application, the technical solutions in the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings.
[0032] It should be noted that the terms "first," "second," etc., used in the specification, claims, and accompanying drawings of this application are used to distinguish similar objects and are not necessarily used to describe a specific order or sequence. It should be understood that such data can be interchanged where appropriate so that the embodiments of this application described herein can be implemented in orders other than those illustrated or described herein. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this application. Rather, they are merely examples of apparatuses and methods consistent with some aspects of this application as detailed in the appended claims.
[0033] Before providing a detailed introduction to the network slice determination method provided in this application, let's briefly introduce the technical background involved in this application.
[0034] The papers "Efficient and secure service-oriented authentication supporting network slicing for 5G-enabled IoT" and "Flexible and anonymous network slicing selection for C-RAN enabled 5G service authentication" both rely on bilinear pairing and exponential operations for network slicing selection. However, bilinear pairing and exponential operations are time-consuming, increasing communication latency and making them unsuitable for scenarios with high latency requirements, such as virtual reality interaction scenarios.
[0035] Before providing a detailed introduction to the network slice determination method provided in this application, a brief introduction to the implementation environment (implementation architecture) involved in this application will be given first.
[0036] The network slice determination method provided in this application embodiment can determine the core network devices in the system by network slice determination. Figure 1 A schematic diagram of one structure of this network slice determination system is shown. Figure 1 As shown, the network slicing determination system 10 includes user equipment 11, server 12, core network equipment 13, and authentication server function (AUSF) 14. Among them, the core network equipment 13 includes access and mobility management function (AMF) 131, session management function (SMF) 132, and edge nodes 133.
[0037] Figure 2 This is a flowchart of a network slice determination method provided in an embodiment of this application. Figure 2 As shown, user equipment 11 is used to send a registration message to AMF131 and receive the subscribed NSSAI sent by AMF131 during the network slice initialization phase. The registration message includes a user identifier.
[0038] like Figure 2 As shown, user equipment 11 is also used to send a commit message to AMF131 during the service authorization phase. The commit message includes the subscribed NSSAI.
[0039] like Figure 2 As shown, AMF131 is used to receive the submission message sent by user equipment 11 and forward the submission message to SMF132.
[0040] like Figure 2 As shown, SMF132, in response to the received submission information, queries AUSF14 for the initial allowed NSSAI corresponding to user equipment 11. Then, based on a preset encryption algorithm and a second random number, it encrypts the network slice types in the initial allowed NSSAI to obtain a set of allowed network slice types, and encrypts the network slice features corresponding to the network slice types in the initial allowed NSSAI. The set of allowed network slice types and the encrypted network slice features corresponding to the network slice types in the initial allowed NSSAI are then sent to server 12.
[0041] like Figure 2 As shown, server 12 is used to receive the set of allowed network slice types and the encrypted network slice features corresponding to the network slice types in the initial allowed NSSAI, and send the set of allowed network slice types and the encrypted network slice features corresponding to the network slice types in the initial allowed NSSAI to user equipment 11.
[0042] like Figure 2 As shown, AMF131 is used to obtain multiple initially pre-configured network slice types, and encrypt the multiple initially pre-configured network slice types according to a preset encryption algorithm and a second random number to obtain a set of pre-configured network slice types, and send the set of pre-configured network slice types to edge node 133.
[0043] like Figure 2 As shown, user equipment 11 is also used to encrypt the set of allowed network slice types using a preset encryption algorithm and a first random number during the service access phase, to obtain a first network slice type set, and to send the first network slice type set and the first random number to the edge node 133.
[0044] like Figure 2 As shown, edge node 133 is used to receive a first set of network slice types and a first random number during the network slice selection phase, and encrypt the pre-configured set of network slice types according to a preset encryption algorithm and the first random number to obtain a second set of network slice types. Then, based on the intersection of the first set of network slice types and the second set of network slice types, the target network slice allocated to the user equipment is determined.
[0045] For ease of understanding, the network slice determination method provided in this application will be described in detail below with reference to the accompanying drawings.
[0046] Figure 3 This is a flowchart illustrating yet another method for determining network slices according to an exemplary embodiment. For example... Figure 3 As shown, the network slice determination method includes the following steps:
[0047] S201, The core network equipment receives the first set of network slice types and the first random number sent by the user equipment.
[0048] The first network slice type set is encrypted using a preset encryption algorithm and a first random number, and the first network slice type set includes at least one network slice type that is allowed by the user equipment and corresponds one-to-one with at least one NSSAI.
[0049] As one possible implementation, the user equipment (UE) determines a first random number based on a preset space. Then, the UE encrypts the set of allowed network slice types using a preset encryption algorithm and the first random number, obtaining a first set of network slice types. It also encrypts the network slice feature corresponding to each allowed network slice type in the set of allowed network slice types, obtaining a first network slice feature corresponding to each first network slice type. Further, the UE sends the first set of network slice types, the first random number, and the first network slice feature corresponding to each first network slice type to the core network equipment.
[0050] For example, the preset space can be Where Z is the size of the preset space, and p is a prime number that is not equal to 1.
[0051] For example, the first set of network slice types can be (N1, N2, ..., N...). s ) represents the number of allowed network slice types, and s represents the number of allowed network slice types. The first network slice feature corresponding to the j-th first network slice type can be represented by C. j It means that C j =(C j1 C j2 C jm), where m represents the number of network slice features corresponding to the j-th allowed network slice type.
[0052] S202. The core network equipment encrypts the pre-configured set of network slice types according to the preset encryption algorithm and the first random number to obtain the second set of network slice types.
[0053] As one possible implementation, the core network device encrypts a pre-configured set of network slice types using a preset encryption algorithm and a first random number to obtain a second set of network slice types. Further, the core network device encrypts the network slice features corresponding to each second network slice type using the preset encryption algorithm and the first random number to obtain the second network slice features corresponding to each second network slice type.
[0054] For example, the second set of network slice types can be (DS1, DS2, ..., DS...). n () represents the number of pre-configured network slice types, where n represents the number of pre-configured network slice types. The second network slice feature corresponding to the j-th second network slice type can be represented by D. j D indicates j =(D j1 D j2 ,…,D jm ), where m represents the number of second network slice features corresponding to the j-th second network slice type.
[0055] S203. The core network equipment determines the target network slice to be allocated to the user equipment based on the intersection of the first network slice type set and the second network slice type set.
[0056] As one possible implementation, the core network device determines the intersection of the first network slice type set and the second network slice type set, and determines the target network slice based on the number of network slice types in the intersection of the first network slice type set and the second network slice type set.
[0057] Understandably, existing technologies use bilinear pairing algorithms to determine matching values, which involves a large amount of computation, making it difficult to quickly determine network slices. This application receives a first set of network slice types and a first random number sent by a user equipment. The first set of network slice types is encrypted using a preset encryption algorithm and the first random number, and includes at least one network slice type that corresponds one-to-one with at least one allowed NSSAI of the user equipment. Then, a pre-configured set of network slice types is encrypted using the preset encryption algorithm and the first random number to obtain a second set of network slice types. Further, the target network slice allocated to the user equipment is determined based on the intersection of the first and second set of network slice types. This avoids the need for bilinear pairing algorithms in existing technologies to determine matching values, enabling rapid determination of the target network slice.
[0058] In some embodiments, in order to efficiently determine the target network slice, such as Figure 4 As shown, the above S203 can be implemented in the following way:
[0059] S301. If there is no network slice type in the intersection of the first network slice type set and the second network slice type set, the core network device determines the preset network slice as the target network slice.
[0060] S302. If the core network device includes a network slice type in the intersection of the first network slice type set and the second network slice type set, it determines the network slice corresponding to the network slice type included in the intersection of the first network slice type set and the second network slice type set as the target network slice.
[0061] S303. When the core network device includes multiple network slice types in the intersection of the first network slice type set and the second network slice type set, it obtains the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
[0062] For example, taking a case where the intersection of the first network slice type set and the second network slice type set includes multiple network slice types A1 and A2, the core network device obtains the allowed network slice feature corresponding to A1, i.e., the first network slice feature B1, and the pre-configured network slice feature corresponding to A1, i.e., the second network slice feature C1. The core network device obtains the allowed network slice feature corresponding to A, i.e., the first network slice feature B2, and the pre-configured network slice feature corresponding to A2, i.e., the second network slice feature C2.
[0063] S304. The core network equipment determines the target network slice based on the allowed network slice characteristics corresponding to each network slice type and the pre-configured network slice characteristics corresponding to each network slice type.
[0064] As one possible implementation, the core network device determines the number of matching features for each network slice type based on the allowed network slice features and the pre-configured network slice features corresponding to each network slice type. Then, the core network device determines the target network slice based on the number of matching features for each network slice type.
[0065] The specific implementation method of this step can be referred to in the subsequent description of the embodiments of this application, and will not be repeated here.
[0066] Understandably, the target network slice can be quickly determined based on the number of network slice types in the intersection of the first set of network slice types and the second set of network slice types.
[0067] In some embodiments, in order to accurately determine the target network slice, such as Figure 5 As shown, the above S304 can be implemented in the following manner:
[0068] S401. The core network device determines the number of matching features for each network slice type by taking the allowed network slice features corresponding to each network slice type and the number of identical slice features among the pre-configured network slice features corresponding to each network slice type, thereby obtaining the number of matching features for each network slice type among multiple network slice types.
[0069] For example, the intersection of the first set of network slice types and the second set of network slice types includes multiple network slice types A1 and A2, and the allowed network slice feature corresponding to A1 is the first network slice feature B1 = (B 11 B 12 B 13 B 14 B 15 B 16 The pre-configured network slice feature corresponding to A1 is the second network slice feature C1 = (B 11 B 12 B 13 B 14 B 15 The allowed network slice feature corresponding to A2 is the first network slice feature B2 = (B 21 B 22 B 23 B 24 B 25 The pre-configured network slice feature corresponding to A2 is the second network slice feature C2 = (B21 B 22 For example, the core network equipment determines that the number of matching features for A1 is 5 and the number of matching features for A2 is 2.
[0070] S402. The core network device identifies the network slice corresponding to the network slice type with a number of matching features greater than a preset number among multiple network slice types as the target network slice.
[0071] For example, with a preset quantity of 2, the core network device will determine the network slice corresponding to A1 as the target network slice.
[0072] It is understandable that by accurately determining the number of matching features for each network slice type among multiple network slice types, the network slice corresponding to the network slice type with a number of matching features greater than a preset number can be identified as the target network slice, thereby accurately determining the target network slice and meeting user needs.
[0073] In some embodiments, in order to determine a pre-configured set of network slice types, such as Figure 6 As shown, the network slice determination method provided in this application embodiment further includes:
[0074] S501, the core network equipment obtains multiple initially pre-configured network slice types.
[0075] As one possible implementation, the core network device obtains multiple initially pre-configured network slice types and the network slice characteristics corresponding to each initially pre-configured network slice type.
[0076] For example, the i-th initially pre-configured network slice type can be represented by the symbol SST. i The feature of the nth network slice corresponding to the i-th initially pre-configured network slice type can be represented by the symbol S. i AI n express.
[0077] S502, the core network equipment encrypts multiple initially pre-configured network slice types according to a preset encryption algorithm and a second random number, to obtain a set of pre-configured network slice types.
[0078] As one possible implementation, the core network device determines a second random number based on a preset space. Then, the core network device encrypts multiple initially pre-configured network slice types using a preset encryption algorithm and the second random number, obtaining a pre-configured set of network slice types. Further, the core network device encrypts the network slice features corresponding to each initially pre-configured network slice type using the preset encryption algorithm and the second random number, obtaining a third network slice feature corresponding to each pre-configured network slice type.
[0079] For example, a pre-configured set of network slice types can be used as (S1, S2, ..., S...). n ) indicates that, among which, S i =H k (SST i ), H k This indicates encryption based on a preset encryption algorithm H and a second random number k, where n represents the number of pre-defined network slice types. The third network slice feature corresponding to the i-th pre-configured network slice type can be represented by F. i It means that F i =(F i1 ,F i2 ,…,F it ), where t represents the number of third network slice features corresponding to the i-th pre-configured network slice type.
[0080] Understandably, encrypting multiple initially pre-configured network slice types using a preset encryption algorithm and a second random number can improve data security and effectively protect data from leakage.
[0081] In some embodiments, in order to determine the set of allowed network slice types, such as Figure 7 As shown, the network slice determination method provided in this application embodiment further includes:
[0082] S601, the core network equipment obtains at least one initial permission NSSAI.
[0083] One initial NSSAI corresponds to one network slice type.
[0084] As one possible implementation, the core network equipment receives a subscription message sent by the user equipment and determines at least one initial permission NSSAI based on the subscription information.
[0085] S602. The core network equipment encrypts the network slice types in the initially allowed NSSAI according to the preset encryption algorithm and the second random number to obtain the set of allowed network slice types.
[0086] As one possible implementation, the core network device encrypts the network slice types in the initially allowed NSSAI according to a preset encryption algorithm and a second random number, obtaining a set of allowed network slice types. Then, the core network device encrypts the network slice features corresponding to the network slice types in the initially allowed NSSAI according to the preset encryption algorithm and the second random number, obtaining a fourth network slice feature corresponding to the allowed network slice type.
[0087] For example, the set of allowed network slice types can be (US1, US2, ..., US...).s ) represents the number of allowed network slice types, and s represents the number of allowed network slice types. The fourth network slice feature corresponding to the j-th allowed network slice type can be represented by UF. j It means that F j =(UF j1 UF j2 ,…,UF jm ), where m represents the number of fourth network slice features corresponding to the j-th allowed network slice type.
[0088] S603, The core network equipment sends the set of allowed network slice types to the user equipment.
[0089] Understandably, encrypting at least one initial NSSAI using a preset encryption algorithm and a second random number can improve data security and effectively protect data from being leaked.
[0090] The foregoing primarily describes the solutions provided by the embodiments of this application from a methodological perspective. To achieve the aforementioned functions, the network slicing determination device or electronic device includes hardware structures and / or software modules corresponding to the execution of each function. Those skilled in the art should readily recognize that, based on the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein, this application can be implemented in hardware or a combination of hardware and computer software. Whether a function is executed in hardware or by computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.
[0091] This application embodiment can, based on the above method, exemplarily divide a network slicing determination device or electronic device into functional modules. For example, the network slicing determination device or electronic device may include functional modules corresponding to each functional division, or two or more functions may be integrated into one processing module. The integrated module can be implemented in hardware or as a software functional module. It should be noted that the module division in this application embodiment is illustrative and only represents one logical functional division; in actual implementation, there may be other division methods.
[0092] Figure 8 This is a block diagram illustrating a network slicing determination apparatus 700 according to an exemplary embodiment. Figure 8 As shown, the network slice determination device 700 includes a receiving unit 701, a processing unit 702, a determination unit 703, an acquisition unit 704, and a sending unit 705.
[0093] The receiving unit 701 is used to receive a first network slice type set and a first random number sent by the user equipment; the first network slice type set is encrypted by a preset encryption algorithm and the first random number, and the first network slice type set includes at least one network slice type that is allowed by the user equipment and corresponds one-to-one with at least one NSSAI.
[0094] The processing unit 702 is used to encrypt a pre-configured set of network slice types according to a preset encryption algorithm and a first random number to obtain a second set of network slice types.
[0095] The determining unit 703 is used to determine the target network slice to be allocated to the user equipment based on the intersection of the first network slice type set and the second network slice type set.
[0096] Optionally, to efficiently determine the target network slice, such as Figure 8 As shown, the aforementioned determining unit 703 is specifically used for:
[0097] If no network slice type exists in the intersection of the first set of network slice types and the second set of network slice types, the preset network slice is determined as the target network slice.
[0098] If the intersection of the first set of network slice types and the second set of network slice types includes a network slice type, the network slice corresponding to the network slice type included in the intersection of the first set of network slice types and the second set of network slice types is determined as the target network slice.
[0099] When the intersection of the first set of network slice types and the second set of network slice types includes multiple network slice types, obtain the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
[0100] The target network slice is determined based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
[0101] Optionally, to accurately determine the target network slice, such as Figure 8 As shown, the aforementioned determining unit 703 is specifically used for:
[0102] The number of identical slice features among the allowed network slice features corresponding to each network slice type and the number of pre-configured network slice features corresponding to each network slice type are used to determine the number of matching features for each network slice type, thus obtaining the number of matching features for each network slice type in multiple network slice types.
[0103] The network slice corresponding to the network slice type with more than a preset number of matching features among multiple network slice types is determined as the target network slice.
[0104] Optionally, to determine the pre-configured set of network slice types, such as Figure 8 As shown, the acquisition unit 704 is used to acquire multiple initially pre-configured network slice types;
[0105] The processing unit 702 is also used to encrypt multiple initially pre-configured network slice types according to a preset encryption algorithm and a second random number to obtain a set of pre-configured network slice types.
[0106] Optionally, to determine the set of allowed network slice types, such as Figure 8 As shown, the acquisition unit 704 is also used to acquire at least one initial allowed NSSAI; one initial allowed NSSAI corresponds to one network slice type.
[0107] Processing unit 702 is also used to encrypt the network slice types in the initially allowed NSSAI according to a preset encryption algorithm and a second random number to obtain a set of allowed network slice types;
[0108] The sending unit 705 is used to send a set of allowed network slice types to the user equipment.
[0109] Figure 9 This is a block diagram illustrating an electronic device according to an exemplary embodiment. Figure 9 As shown, the electronic device 800 includes, but is not limited to, a processor 801 and a memory 802.
[0110] The memory 802 described above is used to store the executable instructions of the processor 801. It is understood that the processor 801 is configured to execute instructions to implement the network slice determination method in the above embodiments.
[0111] It should be noted that those skilled in the art will understand that Figure 9 The electronic device structure shown does not constitute a limitation on the electronic device; the electronic device may include, but is not limited to, other electronic devices. Figure 9 This may indicate more or fewer components, or combinations of certain components, or different component arrangements.
[0112] The processor 801 is the control center of the electronic device. It connects various parts of the electronic device via various interfaces and lines. By running or executing software programs and / or modules stored in the memory 802, and by calling data stored in the memory 802, it performs various functions and processes data, thereby providing overall monitoring of the electronic device. The processor 801 may include one or more processing units. Optionally, the processor 801 may integrate an application processor and a modem processor. The application processor mainly handles the operating system, user interface, and applications, while the modem processor mainly handles wireless communication. It is understood that the modem processor may not be integrated into the processor 801.
[0113] The memory 802 can be used to store software programs and various data. The memory 802 may primarily include a program storage area and a data storage area. The program storage area may store the operating system, application programs required by at least one functional module (such as a receiving unit, processing unit, determining unit, acquiring unit, and sending unit). Furthermore, the memory 802 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device.
[0114] In an exemplary embodiment, a computer-readable storage medium including instructions, such as a memory including instructions, is also provided, which can be executed by a processor of an electronic device to implement the network slice determination method in the above embodiments.
[0115] In actual implementation, Figure 8 The functions of the receiving unit 701, processing unit 702, determining unit 703, acquiring unit 704, and sending unit 705 can all be provided by [the relevant entity / component]. Figure 9 The processor 801 calls the computer program stored in the memory 802 to implement the process. The specific execution process can be found in the description of the network slice determination method in the above embodiments, and will not be repeated here.
[0116] Optionally, the computer-readable storage medium may be a non-transitory computer-readable storage medium, such as a read-only memory (ROM), random access memory (RAM), CD-ROM, magnetic tape, floppy disk, and optical data storage device.
[0117] In an exemplary embodiment, this application also provides a computer program product including one or more instructions, which can be executed by a processor of an electronic device to perform the methods described above.
[0118] It should be noted that when one or more instructions in the computer-readable storage medium or computer program product are executed by the processor of an electronic device, they implement the various processes of the above method embodiments and achieve the same technical effect as the above method. To avoid repetition, they will not be described again here.
[0119] Through the above description of the implementation methods, those skilled in the art can clearly understand that, for the sake of convenience and brevity, only the division of the above functional modules is used as an example. In actual applications, the above functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.
[0120] In the several embodiments provided in this application, it should be understood that the disclosed apparatus and methods can be implemented in other ways. For example, the apparatus embodiments described above are merely illustrative; for instance, the division of modules or units is only a logical functional division, and in actual implementation, there may be other division methods. For example, multiple units or components may be combined or integrated into another apparatus, or some features may be ignored or not executed. Furthermore, the mutual coupling or direct coupling or communication connection shown or discussed may be through some interfaces; the indirect coupling or communication connection between apparatuses or units may be electrical, mechanical, or other forms.
[0121] The units described as separate components may or may not be physically separate. A component shown as a unit can be one or more physical units; that is, it can be located in one place or distributed in multiple different locations. Some or all of the units can be selected to achieve the purpose of this embodiment according to actual needs.
[0122] Furthermore, the functional units in the various embodiments of this application can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The integrated unit can be implemented in hardware or as a software functional unit.
[0123] If the integrated unit is implemented as a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium. Based on this understanding, the technical solutions of the embodiments of this application, essentially, or the parts that contribute to the prior art, or all or part of the technical solutions, can be embodied in the form of a software product. This software product is stored in a storage medium and includes several instructions to cause a device (which may be a microcontroller, chip, etc.) or processor to execute all or part of the steps of the methods of the various embodiments of this application. The aforementioned storage medium includes various media capable of storing program code, such as USB flash drives, portable hard drives, ROM, RAM, magnetic disks, or optical disks.
[0124] The above are merely specific embodiments of this application, but the scope of protection of this application is not limited thereto. Any variations or substitutions within the technical scope disclosed in this application should be included within the scope of protection of this application. Therefore, the scope of protection of this application should be determined by the scope of the claims.
Claims
1. A method for determining network slices, characterized in that, include: Receive the first set of network slice types and the first random number sent by the user equipment; The first network slice type set is encrypted using a preset encryption algorithm and the first random number, and the first network slice type set includes at least one network slice type corresponding to at least one allowed network slice selection auxiliary information (NSSAI) of the user equipment. Based on the preset encryption algorithm and the first random number, the pre-configured set of network slice types is encrypted to obtain the second set of network slice types. Based on the intersection of the first network slice type set and the second network slice type set, the target network slice allocated to the user equipment is determined, including: If no network slice type exists in the intersection of the first network slice type set and the second network slice type set, the preset network slice is determined as the target network slice. If the intersection of the first network slice type set and the second network slice type set includes a network slice type, the network slice corresponding to the network slice type included in the intersection of the first network slice type set and the second network slice type set is determined as the target network slice; When the intersection of the first network slice type set and the second network slice type set includes multiple network slice types, obtain the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type. The target network slice is determined based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
2. The method according to claim 1, characterized in that, The step of determining the target network slice based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type includes: The number of identical slice features among the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type is determined as the number of matching features for each network slice type, thus obtaining the number of matching features for each network slice type among the multiple network slice types. The network slice corresponding to the network slice type with a number of matching features greater than a preset number among the multiple network slice types is determined as the target network slice.
3. The method according to claim 2, characterized in that, The method further includes: Retrieve multiple initially pre-configured network slice types; The multiple initially pre-configured network slice types are encrypted according to the preset encryption algorithm and the second random number to obtain the set of pre-configured network slice types.
4. The method according to claim 3, characterized in that, The method further includes: Obtain at least one initial allowed NSSAI; one initial allowed NSSAI corresponds to one network slice type. Based on the preset encryption algorithm and the second random number, the network slice types in the initially allowed NSSAI are encrypted to obtain a set of allowed network slice types. Send the set of allowed network slice types to the user equipment.
5. A network slicing determination device, characterized in that, It includes a receiving unit, a processing unit, and a determining unit; The receiving unit is configured to receive a first network slice type set and a first random number sent by the user equipment; the first network slice type set is encrypted by a preset encryption algorithm and the first random number, and the first network slice type set includes at least one network slice type corresponding to at least one allowed network slice selection auxiliary information (NSSAI) of the user equipment. The processing unit is configured to encrypt a pre-configured set of network slice types according to the preset encryption algorithm and the first random number to obtain a second set of network slice types. The determining unit is configured to determine the target network slice to be allocated to the user equipment based on the intersection of the first network slice type set and the second network slice type set. The determining unit is specifically used for: If no network slice type exists in the intersection of the first network slice type set and the second network slice type set, the preset network slice is determined as the target network slice. If the intersection of the first network slice type set and the second network slice type set includes a network slice type, the network slice corresponding to the network slice type included in the intersection of the first network slice type set and the second network slice type set is determined as the target network slice; When the intersection of the first network slice type set and the second network slice type set includes multiple network slice types, obtain the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type. The target network slice is determined based on the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type.
6. The apparatus according to claim 5, characterized in that, The determining unit is specifically used for: The number of identical slice features among the allowed network slice features corresponding to each network slice type and the pre-configured network slice features corresponding to each network slice type is determined as the number of matching features for each network slice type, thus obtaining the number of matching features for each network slice type among the multiple network slice types. The network slice corresponding to the network slice type with a number of matching features greater than a preset number among the multiple network slice types is determined as the target network slice.
7. The apparatus according to claim 6, characterized in that, The device further includes an acquisition unit; The acquisition unit is used to acquire multiple initially pre-configured network slice types; The processing unit is further configured to encrypt the plurality of initially pre-configured network slice types according to the preset encryption algorithm and the second random number, so as to obtain the set of pre-configured network slice types.
8. The apparatus according to claim 7, characterized in that, The device also includes a transmitting unit; The acquisition unit is also used to acquire at least one initial allowed NSSAI; one initial allowed NSSAI corresponds to one network slice type. The processing unit is further configured to encrypt the network slice types in the initially allowed NSSAI according to the preset encryption algorithm and the second random number, so as to obtain a set of allowed network slice types; The sending unit is used to send the set of allowed network slice types to the user equipment.
9. An electronic device, characterized in that, include: processor; Memory used to store the processor's executable instructions; The processor is configured to execute the instructions to implement the method as described in any one of claims 1-4.
10. A computer-readable storage medium, characterized in that, When the computer-executable instructions stored in the computer-readable storage medium are executed by the processor of the electronic device, the electronic device is capable of performing the method as described in any one of claims 1-4.
Citation Information
Patent Citations
Network slice selection method and related product
CN110881207A
Wireless communication method and system for network slicing
US20180288654A1