Slice configuration method and device, electronic device and computer-readable storage medium

By matching and adjusting network resources within an existing slice set, the problem of excessive resource consumption and low efficiency in configuring individual network slices for a large number of users is solved, achieving efficient resource utilization and improved user experience.

CN114338387BActive Publication Date: 2024-11-05CHINA TELECOM CORP LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111637759.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-12-29
Publication Date
2024-11-05
Estimated Expiration
2041-12-29

AI Technical Summary

Technical Problem

The existing technology suffers from the problem of excessive resource consumption and low efficiency in configuring network slices individually for a large number of users.

Method used

By obtaining the service level agreement in the slice generation request, it is determined whether there is a target slice in the existing slice set that matches the slice to be generated. If there is a match, the target slice is used; otherwise, a new slice is created. The slice configuration is optimized by using cosine similarity calculation and network resource adjustment.

Benefits of technology

It reduces the consumption of network resources and human time costs, improves the efficiency of slice acquisition, and enhances the user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114338387B_ABST
    Figure CN114338387B_ABST
Patent Text Reader

Abstract

The present invention proposes a slice configuration method and device, an electronic device and a computer-readable storage medium, wherein the method includes: obtaining a slice generation request, wherein the slice generation request carries a service level agreement required for the slice to be generated; based on the slice configuration information in the service level agreement, determining whether there is a target slice matching the slice to be generated in the existing slice set; if there is a target slice matching the slice to be generated in the existing slice set, determining the slice to be generated based on the target slice, otherwise, creating a new slice to be generated. Through the technical solution of the present invention, existing slices can be used to serve clients without having to create new slices for each client, which reduces the occupation of network resources and manpower time costs, improves the efficiency of slice acquisition, and helps to improve the user experience of clients.
Need to check novelty before this filing date? Find Prior Art

Description

[Technical field]

[0001] The present invention relates to the field of computer network technology, and in particular to a slice configuration method and device, an electronic device, and a computer-readable storage medium. [Background technology]

[0002] The current 5G standard generally describes the lifecycle management process for network slices as follows: CSMF (communication service management function) obtains the SLA (Service Level Agreement) of the target slice from the enterprise customer side, and NSMF (network slice management function) translates the content carried by the SLA into network language and sends it to the three network slice subnet management functions AN-NSSMF, TN-NSSMF, and CN-NSSMF, which generate network slices in the wireless network, bearer network, and core network domains respectively.

[0003] However, in the actual production process, due to the diversity of network services and the huge number of users running the services, generating network slices for different users will consume a lot of network resources, manpower costs and time costs, which is too consuming and inefficient.

[0004] Therefore, how to reduce the cost of generating network slices has become a technical problem that needs to be solved urgently. [Summary of the invention]

[0005] The embodiments of the present invention provide a slice configuration method and device, an electronic device and a computer-readable storage medium, which aim to solve the technical problem in the related art that configuring network slices separately for a large number of users consumes too much energy and has too low efficiency.

[0006] In a first aspect, an embodiment of the present invention provides a slice configuration method, including: obtaining a slice generation request, wherein the slice generation request carries a service level agreement required for a slice to be generated; based on slice configuration information in the service level agreement, determining whether an existing slice set has a target slice that matches the slice to be generated; if the existing slice set has a target slice that matches the slice to be generated, determining the slice to be generated based on the target slice, otherwise, creating a new slice to be generated.

[0007] In the above embodiment of the present invention, optionally, the step of determining whether there is a target slice matching the slice to be generated in the existing slice set based on the slice configuration information in the service level agreement includes: determining the cosine similarity between the slice to be generated and each of the existing slices based on the slice configuration information in the service level agreement and the slice configuration information of each existing slice in the existing slice set; selecting a maximum value among the cosine similarities corresponding to all the existing slices; if the maximum value is greater than or equal to a predetermined similarity threshold, determining the slice to be generated based on the target slice; if the maximum value is less than the predetermined similarity threshold, creating a new slice to be generated.

[0008] In the above embodiment of the present invention, optionally, the slice configuration information includes multiple items of uplink bandwidth, downlink bandwidth, latency, number of users, number of sessions, usage area and voice support status.

[0009] In the above embodiment of the present invention, optionally, the method of calculating the cosine similarity includes:

[0010]

[0011] Wherein, i represents any slice configuration information in the service level agreement, A i represents the discrete value of the i-th slice configuration information in the service level agreement, n represents the sequence number of any existing slice in the existing slice set, S ni represents the discrete value of the i-th slice configuration information of the n-th existing slice in the existing slice set, k represents the total number of slice configuration information in the service level agreement, Sim n Represents the cosine similarity between the slice to be generated and the nth existing slice in the set of existing slices.

[0012] In the above embodiment of the present invention, optionally, the step of determining the slice to be generated based on the target slice includes: if the available network resources of the target slice can cover the required network resources of the slice to be generated, setting the target slice as the slice to be generated; if the available network resources of the target slice fail to cover the required network resources of the slice to be generated, acquiring new network resources that match the missing amount of the available network resources for the target slice, and setting the target slice after acquiring the new network resources as the slice to be generated.

[0013] In the above embodiment of the present invention, optionally, the step of determining the slice to be generated based on the target slice includes: when it is detected that the number of unoccupied users of the target slice is less than the required number of users of the slice to be generated, determining the difference number of users between the number of unoccupied users and the required number of users; sending a user permission request corresponding to the difference number of users to the network element of the target slice; in response to the permission response of the network element to the user permission request, adding the difference number of users to the target slice; and setting the target slice after adding the difference number of users as the slice to be generated.

[0014] In the above embodiment of the present invention, optionally, before the step of determining whether there is a target slice matching the slice to be generated in the existing slice set based on the slice configuration information in the service level agreement, it also includes: detecting whether the slice generation request carries a slice sharing identifier; and if the slice generation request carries the slice sharing identifier, allowing entry into the step of determining whether there is a target slice matching the slice to be generated in the existing slice set based on the slice configuration information in the service level agreement.

[0015] In a second aspect, an embodiment of the present invention provides a slice configuration device, including: a slice generation request acquisition unit, used to obtain a slice generation request, wherein the slice generation request carries a service level agreement required for the slice to be generated; a target slice matching unit, used to determine whether an existing slice set has a target slice that matches the slice to be generated based on the slice configuration information in the service level agreement; a slice generation unit, used to determine the slice to be generated based on the target slice if the existing slice set has a target slice that matches the slice to be generated, otherwise, create a new slice to be generated.

[0016] In the above embodiment of the present invention, optionally, the target slice matching unit is used to: determine the cosine similarity between the slice to be generated and each of the existing slices based on the slice configuration information in the service level agreement and the slice configuration information of each existing slice in the existing slice set; select the maximum value among the cosine similarities corresponding to all the existing slices; if the maximum value is greater than or equal to a predetermined similarity threshold, determine the slice to be generated based on the target slice; if the maximum value is less than the predetermined similarity threshold, create a new slice to be generated.

[0017] In the above embodiment of the present invention, optionally, the slice configuration information includes multiple items of uplink bandwidth, downlink bandwidth, latency, number of users, number of sessions, usage area and voice support status.

[0018] In the above embodiment of the present invention, optionally, it further includes: a cosine similarity calculation unit, which is used to: calculate the cosine similarity,

[0019]

[0020] Wherein, i represents any slice configuration information in the service level agreement, A i represents the discrete value of the i-th slice configuration information in the service level agreement, n represents the sequence number of any existing slice in the existing slice set, S ni represents the discrete value of the i-th slice configuration information of the n-th existing slice in the existing slice set, k represents the total number of slice configuration information in the service level agreement, Sim n Represents the cosine similarity between the slice to be generated and the nth existing slice in the set of existing slices.

[0021] In the above embodiment of the present invention, optionally, the target slice matching unit is used to: if the available network resources of the target slice can cover the required network resources of the slice to be generated, set the target slice as the slice to be generated; if the available network resources of the target slice fail to cover the required network resources of the slice to be generated, obtain new network resources that match the missing amount of the available network resources for the target slice, and set the target slice after obtaining the new network resources as the slice to be generated.

[0022] In the above embodiment of the present invention, optionally, the target slice matching unit is used to: when it is detected that the number of unoccupied users of the target slice is less than the required number of users of the slice to be generated, determine the difference number of users between the number of unoccupied users and the required number of users; send a user permission request corresponding to the difference number of users to the network element of the target slice; in response to the permission response of the network element to the user permission request, add the difference number of users to the target slice; and set the target slice after adding the difference number of users as the slice to be generated.

[0023] In the above embodiment of the present invention, optionally, it also includes: a slice identifier verification unit, used to: detect whether the slice generation request carries a slice sharing identifier; when the slice generation request carries the slice sharing identifier, it is allowed to determine through the target slice matching unit whether there is a target slice matching the slice to be generated in the existing slice set.

[0024] In a third aspect, an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory communicatively connected to the at least one processor; wherein the memory stores instructions executable by the at least one processor, and the instructions are configured to execute any of the methods described in the first aspect above.

[0025] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method flow described in any one of the first aspects above.

[0026] Through the above technical solution, in order to solve the technical problem in the related technology that it is too consuming and inefficient to configure network slices separately for a large number of users, the existing slices can be used to serve the clients without having to create new slices for each client each time. This reduces the occupation of network resources and manpower and time costs, improves the efficiency of slice acquisition, and helps to improve the user experience of the clients.

Brief Description of the Drawings

[0027] In order to more clearly illustrate the technical solutions of the embodiments of the present invention, the drawings required for use in the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0028] Figure 1 A flow chart of a slice configuration method according to an embodiment of the present invention is shown;

[0029] Figure 2 A flow chart of a slice configuration method according to another embodiment of the present invention is shown;

[0030] Figure 3 A block diagram of a slice configuration device according to an embodiment of the present invention is shown;

[0031] Figure 4 A block diagram of an electronic device according to an embodiment of the present invention is shown. [Specific implementation method]

[0032] In order to better understand the technical solution of the present invention, the embodiments of the present invention are described in detail below with reference to the accompanying drawings.

[0033] It should be clear that the described embodiments are only some embodiments of the present invention, not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0034] The terms used in the embodiments of the present invention are only for the purpose of describing specific embodiments, and are not intended to limit the present invention. The singular forms "a", "said" and "the" used in the embodiments of the present invention and the appended claims are also intended to include plural forms, unless the context clearly indicates other meanings.

[0035] Figure 1 A flow chart of a slice configuration method according to an embodiment of the present invention is shown.

[0036] like Figure 1 As shown, the process of the slice configuration method according to an embodiment of the present invention includes:

[0037] Step 102: Obtain a slice generation request, where the slice generation request carries a service level agreement required for the slice to be generated.

[0038] It should be noted that the slices described in the context of this application are all network slices, which are equivalent to a collection of virtualized network functions and can provide the client with the network services it needs. Furthermore, when the client needs to use a network slice, it can send a slice generation request to the NSMF through the CSMF. The slice generation request carries the service level agreement required for the slice to be generated. The service level agreement stipulates the services required by the client and the expected service level. In other words, it is used to reflect the service content and service level of the slice to be generated required by the client.

[0039] Step 104: Based on the slice configuration information in the service level agreement, determine whether there is a target slice matching the slice to be generated in the existing slice set.

[0040] The service level agreement carries the slice configuration information of the slice to be generated required by the client, and the slice configuration information includes but is not limited to multiple items including uplink bandwidth, downlink bandwidth, latency, number of users, number of sessions, usage area and voice support status, reflecting the functions and attributes of the slice to be generated from multiple dimensions.

[0041] Step 106: If the existing slice set has a target slice matching the slice to be generated, determine the slice to be generated based on the target slice; otherwise, create a new slice to be generated.

[0042] By matching the slice configuration information in the service level agreement with the slice configuration information of each existing slice in the existing slice set, it is possible to find out whether there is a target slice in the existing slice set that matches the slice to be generated. If so, it means that the target slice is the same or similar to the slice to be generated, and there is no need to create a new slice to be generated, but only to quickly obtain the slice to be generated based on the target slice. In this way, the client can be served by the existing slice without creating a new slice for each client, which reduces the occupation of network resources and manpower time costs, improves the efficiency of slice acquisition, and helps to improve the user experience of the client.

[0043] In addition, if the existing slice set does not have a target slice matching the slice to be generated, a new slice to be generated may be directly created for the client to meet the actual needs of the client.

[0044] Figure 2 A flowchart of a slice configuration method according to another embodiment of the present invention is shown.

[0045] like Figure 2 As shown, the process of a slice configuration method according to another embodiment of the present invention includes:

[0046] Step 202: Obtain a slice generation request, wherein the slice generation request carries a service level agreement required for the slice to be generated.

[0047] Step 204, when it is detected that the slice generation request carries the slice sharing identifier, based on the slice configuration information in the service level agreement and the slice configuration information of each existing slice in the existing slice set, determine the cosine similarity between the slice to be generated and each of the existing slices.

[0048] Since slice sharing involves network resource sharing and is closely related to network security, it requires client consent to start. The slice sharing mark indicates consent to slice sharing. If the slice generation request carries the slice sharing mark, it means that the client agrees to share existing slices with other clients when sending the slice generation request to NSMF through CSMF, so the slice sharing configuration step can be entered. On the contrary, if it is detected that the slice generation request does not carry the slice sharing mark, it means that the client does not agree to slice sharing and terminates the process.

[0049] Since the slice configuration information reflects the functions and attributes of the slice from multiple dimensions, the matching degree between the slice to be generated and the existing slice can be determined by calculating the cosine similarity between the slice configuration information of the slice to be generated and the slice configuration information of the existing slice.

[0050] Specifically, the method of calculating the cosine similarity includes:

[0051]

[0052] Wherein, i represents any slice configuration information in the service level agreement, A i represents the discrete value of the i-th slice configuration information in the service level agreement, n represents the sequence number of any existing slice in the existing slice set, S ni represents the discrete value of the i-th slice configuration information of the n-th existing slice in the existing slice set, k represents the total number of slice configuration information in the service level agreement, Sim n Represents the cosine similarity between the slice to be generated and the nth existing slice in the set of existing slices.

[0053] In this way, for each existing slice, during the calculation process, the difference between each slice configuration information of the slice to be generated and each slice configuration information of the existing slice needs to be considered respectively, so that the obtained cosine similarity can reflect the overall similarity between the slice to be generated and the existing slice.

[0054] Step 206 , selecting a maximum value among the cosine similarities corresponding to all the existing slices, and determining whether the maximum value is greater than or equal to a predetermined similarity threshold. If the determination result is yes, proceed to step 208 , otherwise, proceed to step 210 .

[0055] If the cosine similarity corresponding to an existing slice is the maximum value among the cosine similarities of all existing slices, it means that the existing slice is most similar to the required slice to be generated, and the existing slice can be determined as an object that may be used by the client.

[0056] Step 208, determine whether the available network resources of the target slice can cover the required network resources of the slice to be generated. When the judgment result is yes, go to step 212, otherwise, go to step 214.

[0057] Furthermore, the predetermined similarity threshold represents the minimum similarity between the existing slice and the slice to be generated when the existing slice can replace the slice to be generated to serve the client. If the maximum value is greater than or equal to the predetermined similarity threshold, it indicates that the existing slice has the possibility of replacing the slice to be generated to serve the client.

[0058] In this case, it is necessary to further check whether the available network resources of the target slice can cover the required network resources of the slice to be generated.

[0059] Step 210: create the slice to be generated.

[0060] On the contrary, if the maximum value is less than the predetermined similarity threshold, it means that the existing slice has no possibility of replacing the slice to be generated to serve the client. At this time, no existing slice can be used for the client, and the slice to be generated needs to be newly created for the client.

[0061] Step 212: setting the target slice as the slice to be generated.

[0062] Step 214: Acquire new network resources that match the shortage of the available network resources for the target slice, and set the target slice after acquiring the new network resources as the slice to be generated.

[0063] When further checking whether the available network resources of the target slice can cover the required network resources of the slice to be generated, if the available network resources of the target slice can cover the required network resources of the slice to be generated, it means that the available network resources of the target slice are sufficient for the client to use, and the target slice can be directly set as the slice to be generated.

[0064] If the available network resources of the target slice fail to cover the required network resources of the slice to be generated, it means that the available network resources of the target slice are insufficient to support the client, and the available network resources of the target slice need to be expanded. Specifically, new network resources matching the missing amount of available network resources can be obtained for the target slice, and the target slice after obtaining the new network resources is set as the slice to be generated, that is, the target slice is used as the network resources that the slice to be generated lacks for serving the client and is added to the target slice.

[0065] In summary, the cosine similarity calculation method can be used to match the applicable target slice for the client in the existing slices, and then the target slice can be configured with network resources sufficient to serve the client, thereby realizing network slice sharing for the client, serving the client through the existing slices, without having to create a new slice for each client each time, reducing the occupation of network resources and manpower and time costs, improving the efficiency of slice acquisition, and helping to improve the user experience of the client.

[0066] In one possible design, when it is detected that the number of unoccupied users of the target slice is less than the required number of users of the slice to be generated, the difference number of users between the number of unoccupied users and the required number of users is determined; a user permission request corresponding to the difference number of users is sent to the network element of the target slice; in response to the permission response of the network element to the user permission request, the difference number of users is added to the target slice; and the target slice after the difference number of users is added is set as the slice to be generated.

[0067] That is to say, when the number of users of the target slice is insufficient, the number of users can be purchased by requesting user permission from the network element of the target slice to complete the expansion of the target slice so that it can effectively support the needs of the client.

[0068] In a possible design, an enterprise customer sends a slice generation request to NSMF through CSMF. The slice generation request carries the SLA of the slice to be generated. The SLA of the slice to be generated includes but is not limited to multiple indicators such as uplink and downlink bandwidth, latency, number of users, number of sessions, usage area, and whether voice is supported. At the same time, a new parameter support network slicesharing = 1 is added to indicate support for shared slices.

[0069] After receiving the slice generation request, NSMF quantifies the SLA, quantizes each item in the SLA into a numerical value, and then calculates the cosine similarity with the SLA of each slice in the existing slice list for sharing, and obtains a maximum cosine similarity of 0.9 with the slice S-NSSAI=1001.

[0070] NSMF has a preset similarity threshold network slice sharing threshold = 0.8. After comparison, the cosine similarity with the S-NSSAI = 1001 slice is 0.9, which is greater than the preset similarity threshold. Therefore, the S-NSSAI = 1001 slice is most similar to the slice to be generated required by the enterprise customer, and the S-NSSAI = 1001 slice can be selected as the target slice.

[0071] Next, NSMF checks the network resources and finds that the maximum number of users for the S-NSSAI=1001 slice is 1000, of which 900 are already occupied, while the number of users requested by the slice generation request sent by CSMF to NSMF is 200. Further, NSMF determines that in addition to the number of users, other resources such as bandwidth and latency of the S-NSSAI=1001 slice meet the sharing needs of enterprise customers.

[0072] NSMF can send a request to add 100 user licenses to network elements such as SMF, UPF, UDM, PCF, etc. in the S-NSSAI=1001 slice through network slicing subnet management functions such as CN-NSSMF. The network element returns a successful request, and the maximum number of users in the S-NSSAI=1001 slice increases by 100.

[0073] At this point, NSMF returns a response to CSMF indicating successful shared slice generation, and selects the S-NSSAI=1001 slice to serve enterprise users.

[0074] In another possible design, the enterprise customer sends a slice generation request to the NSMF through the CSMF. The slice generation request carries the SLA of the slice to be generated. The SLA of the slice to be generated includes but is not limited to multiple indicators such as uplink and downlink bandwidth, latency, number of users, number of sessions, usage area, and whether voice is supported. At the same time, a new parameter support network slicesharing = 1 is added to indicate support for shared slices.

[0075] After receiving the slice generation request, NSMF quantifies the SLA, quantifies each item in the SLA into a numerical value, and then calculates the cosine similarity with the SLA of each slice in the existing slice list for sharing, and the maximum cosine similarity is 0.5.

[0076] NSMF sets a preset similarity threshold network slice sharing threshold = 0.8. After comparison, the maximum value 0.5 is smaller than the preset similarity threshold, so NSMF initiates the standard new slice creation process. After the slice is successfully established, NSMF adds the new slice to the shared slice list and names it S-NSSAI = 1008.

[0077] At this point, NSMF returns a response to CSMF indicating successful shared slice generation, and selects the S-NSSAI=1008 slice to serve enterprise users.

[0078] Figure 3 A block diagram of a slice configuration device according to an embodiment of the present invention is shown.

[0079] like Figure 3 As shown, a slice configuration device 300 according to an embodiment of the present invention includes: a slice generation request acquisition unit 302, used to obtain a slice generation request, wherein the slice generation request carries a service level agreement required for the slice to be generated; a target slice matching unit 304, used to determine whether there is a target slice matching the slice to be generated in an existing slice set based on the slice configuration information in the service level agreement; a slice generation unit 306, used to determine the slice to be generated based on the target slice if there is a target slice matching the slice to be generated in the existing slice set, otherwise, create a new slice to be generated.

[0080] In the above embodiment of the present invention, optionally, the target slice matching unit 304 is used to: determine the cosine similarity between the slice to be generated and each of the existing slices based on the slice configuration information in the service level agreement and the slice configuration information of each existing slice in the existing slice set; select the maximum value among the cosine similarities corresponding to all the existing slices; if the maximum value is greater than or equal to a predetermined similarity threshold, determine the slice to be generated based on the target slice; if the maximum value is less than the predetermined similarity threshold, create a new slice to be generated.

[0081] In the above embodiment of the present invention, optionally, the slice configuration information includes multiple items of uplink bandwidth, downlink bandwidth, latency, number of users, number of sessions, usage area and voice support status.

[0082] In the above embodiment of the present invention, optionally, it further includes: a cosine similarity calculation unit, which is used to: calculate the cosine similarity,

[0083]

[0084] Wherein, i represents any slice configuration information in the service level agreement, A i represents the discrete value of the i-th slice configuration information in the service level agreement, n represents the sequence number of any existing slice in the existing slice set, S ni represents the discrete value of the i-th slice configuration information of the n-th existing slice in the existing slice set, k represents the total number of slice configuration information in the service level agreement, Sim n Represents the cosine similarity between the slice to be generated and the nth existing slice in the set of existing slices.

[0085] In the above embodiment of the present invention, optionally, the target slice matching unit 304 is used to: if the available network resources of the target slice can cover the required network resources of the slice to be generated, set the target slice as the slice to be generated; if the available network resources of the target slice fail to cover the required network resources of the slice to be generated, obtain new network resources that match the missing amount of the available network resources for the target slice, and set the target slice after obtaining the new network resources as the slice to be generated.

[0086] In the above embodiment of the present invention, optionally, the target slice matching unit 304 is used to: when it is detected that the number of unoccupied users of the target slice is less than the required number of users of the slice to be generated, determine the difference number of users between the number of unoccupied users and the required number of users; send a user permission request corresponding to the difference number of users to the network element of the target slice; in response to the permission response of the network element to the user permission request, add the difference number of users to the target slice; and set the target slice after adding the difference number of users as the slice to be generated.

[0087] In the above embodiment of the present invention, optionally, it also includes: a slice identifier verification unit, used to: detect whether the slice generation request carries a slice sharing identifier; when the slice generation request carries the slice sharing identifier, it is allowed to determine through the target slice matching unit whether there is a target slice matching the slice to be generated in the existing slice set.

[0088] The slice configuration device 300 uses any of the solutions described in the above embodiments, and therefore has all the above technical effects, which will not be described in detail here.

[0089] Figure 4 A block diagram of an electronic device according to an embodiment of the present invention is shown.

[0090] like Figure 4 As shown, an electronic device 400 of an embodiment of the present invention includes at least one memory 402; and a processor 404 in communication with the at least one memory 402; wherein the memory stores instructions executable by the at least one processor 404, and the instructions are configured to execute the solution described in any of the above embodiments. Therefore, the electronic device 400 has the same technical effects as any of the above embodiments, and will not be described in detail here.

[0091] The electronic devices of the embodiments of the present invention exist in various forms, including but not limited to:

[0092] (1) Mobile communication devices: These devices are characterized by their mobile communication functions and their main purpose is to provide voice and data communications. These terminals include: smart phones (such as iPhone), multimedia phones, functional phones, and low-end phones.

[0093] (2) Ultra-mobile personal computer devices: These devices fall into the category of personal computers, have computing and processing capabilities, and generally also have mobile Internet access features. These terminals include: PDA, MID and UMPC devices, such as iPad.

[0094] (3) Portable entertainment devices: These devices can display and play multimedia content. They include audio and video players (such as iPods), handheld game consoles, e-books, as well as smart toys and portable car navigation devices.

[0095] (4) Server: A device that provides computing services. The server consists of a processor, hard disk, memory, system bus, etc. The server is similar to a general computer architecture, but because it needs to provide highly reliable services, it has higher requirements in terms of processing power, stability, reliability, security, scalability, and manageability.

[0096] (5) Other electronic devices with data interaction functions.

[0097] In addition, an embodiment of the present invention provides a computer-readable storage medium storing computer-executable instructions, wherein the computer-executable instructions are used to execute the method flow described in any of the above embodiments.

[0098] The above describes in detail the technical solution of the present invention in combination with the accompanying drawings. Through the technical solution of the present invention, existing slices can be used to serve clients without having to create new slices for each client, thereby reducing the occupation of network resources and manpower and time costs, improving the efficiency of slice acquisition, and helping to improve the user experience of the client.

[0099] It should be understood that the term "and / or" used in this article is only a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist at the same time, and B exists alone. In addition, the character " / " in this article generally indicates that the associated objects before and after are in an "or" relationship.

[0100] The word "if" as used herein may be interpreted as "at the time of" or "when" or "in response to determining" or "in response to detecting", depending on the context. Similarly, the phrases "if it is determined" or "if (stated condition or event) is detected" may be interpreted as "when it is determined" or "in response to determining" or "when detecting (stated condition or event)" or "in response to detecting (stated condition or event)", depending on the context.

[0101] In the several embodiments provided by the present invention, it should be understood that the disclosed systems, devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic. For example, the division of the units is only a logical function division. There may be other division methods in actual implementation. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0102] In addition, each functional unit in each embodiment of the present invention may be integrated into one processing unit, or each unit may exist physically separately, or two or more units may be integrated into one unit. The above-mentioned integrated unit may be implemented in the form of hardware or in the form of hardware plus software functional units.

[0103] The above-mentioned integrated unit implemented in the form of a software functional unit can be stored in a computer-readable storage medium. The above-mentioned software functional unit is stored in a storage medium, including a number of instructions for a computer device (which can be a personal computer, a server, or a network device, etc.) or a processor (Processor) to perform some steps of the method described in each embodiment of the present invention. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (Read-Only Memory, ROM), random access memory (Random Access Memory, RAM), disk or optical disk and other media that can store program codes.

[0104] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.

Claims

1. A slice configuration method, characterized in that: include: Obtain a slice generation request, wherein the slice generation request carries a service level agreement required for the slice to be generated; Based on the slice configuration information in the service level agreement, determining whether there is a target slice matching the slice to be generated in the existing slice set; If the existing slice set has a target slice matching the slice to be generated, determining the slice to be generated based on the target slice; otherwise, creating a new slice to be generated; The step of determining whether there is a target slice matching the to-be-generated slice in the existing slice set based on the slice configuration information in the service level agreement comprises: determining the cosine similarity between the to-be-generated slice and each of the existing slices based on the slice configuration information in the service level agreement and the slice configuration information of each existing slice in the existing slice set; selecting a maximum value among the cosine similarities corresponding to all the existing slices; if the maximum value is greater than or equal to a predetermined similarity threshold, determining the to-be-generated slice based on the target slice; if the maximum value is less than the predetermined similarity threshold, creating a new slice to be generated; The slice configuration information includes: multiple items of uplink bandwidth, downlink bandwidth, latency, number of users, number of sessions, usage area and voice support status; The method of calculating the cosine similarity includes: Wherein, i represents any slice configuration information in the service level agreement, A i represents the discrete value of the i-th slice configuration information in the service level agreement, n represents the sequence number of any existing slice in the existing slice set, S ni represents the discrete value of the i-th slice configuration information of the n-th existing slice in the existing slice set, k represents the total number of slice configuration information in the service level agreement, Sim n Represents the cosine similarity between the slice to be generated and the nth existing slice in the set of existing slices.

2. The slice configuration method according to claim 1, characterized in that: The step of determining the slice to be generated based on the target slice includes: If the available network resources of the target slice can cover the required network resources of the slice to be generated, setting the target slice as the slice to be generated; If the available network resources of the target slice fail to cover the required network resources of the slice to be generated, newly added network resources that match the missing amount of the available network resources are obtained for the target slice, and the target slice after obtaining the newly added network resources is set as the slice to be generated.

3. The slice configuration method according to claim 2, characterized in that: The step of determining the slice to be generated based on the target slice includes: When it is detected that the number of unoccupied users of the target slice is less than the required number of users of the slice to be generated, determining the difference between the number of unoccupied users and the required number of users; Sending a user permission request corresponding to the difference number of users to the network element of the target slice; In response to a permission response from the network element to the user permission request, adding the difference number of users to the target slice; The target slice after adding the difference number of users is set as the slice to be generated.

4. The slice configuration method according to claim 1, characterized in that: Before the step of determining whether there is a target slice matching the slice to be generated in the existing slice set based on the slice configuration information in the service level agreement, the method further includes: Detecting whether the slice generation request carries a slice sharing identifier; In the case where the slice generation request carries the slice sharing identifier, it is allowed to enter the step of determining whether there is a target slice matching the slice to be generated in the existing slice set based on the slice configuration information in the service level agreement.

5. A slice configuration device, characterized in that: include: A slice generation request acquisition unit, used to acquire a slice generation request, wherein the slice generation request carries a service level agreement required for the slice to be generated; a target slice matching unit, configured to determine whether there is a target slice matching the slice to be generated in the existing slice set based on the slice configuration information in the service level agreement; a slice generating unit, configured to determine the slice to be generated based on the target slice if there is a target slice matching the slice to be generated in the existing slice set, and to create the slice to be generated otherwise; The step of determining whether there is a target slice matching the to-be-generated slice in the existing slice set based on the slice configuration information in the service level agreement comprises: determining the cosine similarity between the to-be-generated slice and each of the existing slices based on the slice configuration information in the service level agreement and the slice configuration information of each existing slice in the existing slice set; selecting a maximum value among the cosine similarities corresponding to all the existing slices; if the maximum value is greater than or equal to a predetermined similarity threshold, determining the to-be-generated slice based on the target slice; if the maximum value is less than the predetermined similarity threshold, creating a new slice to be generated; The slice configuration information includes: multiple items of uplink bandwidth, downlink bandwidth, latency, number of users, number of sessions, usage area and voice support status; The method of calculating the cosine similarity includes: Wherein, i represents any slice configuration information in the service level agreement, A i represents the discrete value of the i-th slice configuration information in the service level agreement, n represents the sequence number of any existing slice in the existing slice set, S ni represents the discrete value of the i-th slice configuration information of the n-th existing slice in the existing slice set, k represents the total number of slice configuration information in the service level agreement, Sim n Represents the cosine similarity between the slice to be generated and the nth existing slice in the set of existing slices.

6. An electronic device, characterized in that: include: at least one processor; and, a memory communicatively coupled to the at least one processor; The memory stores instructions executable by the at least one processor, wherein the instructions are configured to execute the method according to any one of claims 1 to 4.

7. A computer-readable storage medium, characterized in that: Computer executable instructions are stored, and the computer executable instructions are used to execute the method flow according to any one of claims 1 to 4.