Resource allocation method and related equipment based on power 5G short slice

By using the sine and cosine algorithm to optimize resource allocation in the 5G power short slice network, the contradiction between resource allocation cost and service quality in the power communication network is solved, and efficient resource utilization and cost reduction are achieved.

CN118382154BActive Publication Date: 2024-08-27FIBRLINK NETWORKS +2
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410807241.0
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-06-21
Publication Date
2024-08-27
Estimated Expiration
2044-06-21

AI Technical Summary

Technical Problem

In the 5G power communication network, there is a contradiction between service quality and rental cost in resource allocation. Few resources lead to the inability to meet power business needs, while many resources lead to excessive rental costs and low wireless resource utilization.

Method used

A resource allocation method based on power 5G short slices is adopted. The preset algorithm is configured by obtaining the minimum number of allocated resource blocks. The sine and cosine algorithm is used to perform iterative calculations. Resources are allocated to users based on the minimum user cost during the iteration process to ensure user communication time. Balance between extension and rental costs.

Benefits of technology

While ensuring the user rate, the user's rental cost is reduced, resource utilization is improved, the problems of low wireless resource utilization and high rental resource cost are solved, and effective allocation of resources and cost optimization are achieved.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118382154B
    Figure CN118382154B
Patent Text Reader

Abstract

The present application provides a resource allocation method based on power 5G short slices and related equipment, the method comprising: configuring the constraints of the preset algorithm based on the obtained minimum number of allocated resource blocks; based on the configured constraints, using the sine-cosine algorithm to iteratively calculate the number of resource blocks allocated to the user, and calculating the user cost based on the number of resource blocks; in response to reaching the number of iterations, allocating resources to the user according to the minimum user cost during the iteration process. The embodiment of the present application proposes a joint optimization model that takes into account user communication delay and user rental cost, thereby reducing the user's rental cost and improving utility while ensuring the user rate; adopting the sine-cosine optimization algorithm, by adopting the technology of adaptively adjusting the sine and cosine amplitudes, ultimately achieving the purpose of finding the global optimal solution and solving the problem of wireless resource allocation under complex changes.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource allocation method and related equipment based on power 5G short slices. Background Art

[0002] The construction of traditional power communication networks is undertaken by power grid companies. However, 5G base stations have high power consumption and density, which greatly increases the difficulty and cost of building 5G power communication private networks. Therefore, the industry has proposed a network solution for the power private network and the public network to share 5G resources. The core idea of ​​this solution is to use slicing technology to isolate the public network and the private network and allocate resources. Slices mainly include core network slices and access network slices. On the core network side, slices need to allocate forwarding resources and computing resources. On the access network side, 5G short slices only rent base station air interface resources and share slices with public network users.

[0003] The 5G short-slice feature provides the power industry with flexible and customized communication solutions, which can build customized communication networks according to specific needs, improve the utilization of wireless resources, and meet the power industry's requirements for high reliability and low latency. However, there is a contradiction between service quality and rental costs in resource allocation. Fewer resources will lead to an inability to meet power business needs, while more resources will lead to excessively high rental costs. Summary of the invention

[0004] In view of this, the purpose of this application is to propose a resource allocation method and related equipment based on power 5G short slices.

[0005] Based on the above purpose, the present application provides a resource allocation method based on power 5G short slices, including:

[0006] Configuring constraints of a preset algorithm based on the obtained minimum number of allocated resource blocks;

[0007] Based on the configured constraints, the number of resource blocks allocated to the user is iteratively calculated using a sine-cosine algorithm, and the user cost is calculated based on the number of resource blocks;

[0008] In response to reaching the iteration number, resources are allocated to the user according to the minimum user cost during the iteration.

[0009] In a possible implementation manner, the minimum number of allocated resource blocks is obtained by the following method:

[0010] Obtain the user's data packet size and tolerable delay;

[0011] The minimum number of allocated resource blocks for the user is calculated based on the data packet size and the tolerable delay.

[0012] In one possible implementation, the constraints of the preset algorithm include: the number of allocated resource blocks for a single user is less than the minimum number of allocated resource blocks; the user rental cost is less than the preset maximum user rental cost; the total number of resource blocks allocated to the user is less than or equal to the maximum number of resource blocks supplied by the system, and the number of resource blocks is an integer.

[0013] In a possible implementation, the minimum number of allocated resource blocks is calculated by the following formula:

[0014]

[0015] in, represents the minimum number of resource blocks allocated to user n under service s, Indicates the size of the data packet sent by user n under service s. represents the tolerable delay of user n under service s, It represents the transmission rate that the resource block can provide for user n in resource allocation.

[0016] In a possible implementation, the transmission rate that can be provided by the resource block is calculated by the following formula:

[0017]

[0018] in, It represents the transmission rate that the resource block can provide for user n in the resource allocation. represents the bandwidth of a resource block, represents the average signal-to-noise ratio of user n.

[0019] In a possible implementation, the user rental cost is calculated by the following formula:

[0020]

[0021] in, represents the user rental cost, represents the cost of renting a resource block, Indicates the number of allocated resource blocks for user n under service s.

[0022] In a possible implementation, the user cost is calculated by the following formula:

[0023]

[0024] in, represents the user cost, represents the actual delay of user n under service s, represents the weight coefficient, Represents the user rental cost.

[0025] Based on the same inventive concept, the embodiment of the present application also provides a resource allocation device based on power 5G short slices, including:

[0026] A configuration module, configured to configure the constraints of the preset algorithm based on the obtained minimum number of allocated resource blocks;

[0027] an iteration module, configured to iteratively calculate the number of resource blocks allocated to the user by using a sine-cosine algorithm based on the configured constraints, and calculate the user cost based on the number of resource blocks;

[0028] The allocation module is configured to allocate resources to the user according to the minimum user cost in the iteration process in response to reaching the iteration number. In a possible implementation, the minimum number of allocated resource blocks is obtained by the following steps:

[0029] Obtain the user's data packet size and tolerable delay;

[0030] The minimum number of allocated resource blocks for the user is calculated based on the data packet size and the tolerable delay.

[0031] In one possible implementation, the constraints of the preset algorithm include: the number of allocated resource blocks for a single user is less than the minimum number of allocated resource blocks; the user rental cost is less than the preset maximum user rental cost; the total number of resource blocks allocated to the user is less than or equal to the maximum number of resource blocks supplied by the system, and the number of resource blocks is an integer.

[0032] In a possible implementation, the minimum number of allocated resource blocks is calculated by the following formula:

[0033]

[0034] in, represents the minimum number of resource blocks allocated to user n under service s, Indicates the size of the data packet sent by user n under service s. represents the tolerable delay of user n under service s, It represents the transmission rate that the resource block can provide for user n in resource allocation.

[0035] In a possible implementation, the transmission rate that can be provided by the resource block is calculated by the following formula:

[0036]

[0037] in, It represents the transmission rate that the resource block can provide for user n in the resource allocation. represents the bandwidth of a resource block, represents the average signal-to-noise ratio of user n.

[0038] In a possible implementation, the user rental cost is calculated by the following formula:

[0039]

[0040] in, represents the user rental cost, represents the cost of renting a resource block, Indicates the number of allocated resource blocks for user n under service s.

[0041] In a possible implementation, the user cost is calculated by the following formula:

[0042]

[0043] in, represents the user cost, represents the actual delay of user n under service s, represents the weight coefficient, Represents the user rental cost.

[0044] Based on the same inventive concept, an embodiment of the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor. When the processor executes the program, a resource allocation method based on power 5G short slices as described in any one of the above is implemented.

[0045] Based on the same inventive concept, an embodiment of the present application also provides a non-transitory computer-readable storage medium, which stores computer instructions, and the computer instructions are used to enable the computer to execute any of the above-mentioned resource allocation methods based on power 5G short slices.

[0046] From the above, it can be seen that the resource allocation method and related equipment based on power 5G short slices provided by the present application configure the constraints of the preset algorithm based on the minimum number of allocated resource blocks obtained; based on the configured constraints, the sine-cosine algorithm is used to iteratively calculate the number of resource blocks allocated to the user, and the user cost is calculated based on the number of resource blocks; in response to reaching the number of iterations, resources are allocated to the user according to the minimum user cost during the iteration process. The embodiment of the present application solves the problems of low wireless resource utilization and high user resource rental costs by proposing a joint optimization model that takes into account user communication delay and user cost. While ensuring the user rate, the user's rental cost is reduced, thereby improving utility; the SCA sine-cosine optimization algorithm is used, and the technology of adaptively adjusting the sine and cosine amplitudes is adopted to balance the algorithm's ability to optimize globally and locally during the search process, and ultimately achieve the purpose of finding the global optimal solution, solving the problem of wireless resource allocation under complex changes. BRIEF DESCRIPTION OF THE DRAWINGS

[0047] In order to more clearly illustrate the technical solutions in the present application or related technologies, the drawings required for use in the embodiments or related technical descriptions are briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0048] Figure 1 This is a schematic diagram of a method for allocating resources based on power 5G short slices according to an embodiment of the present application;

[0049] Figure 2 This is a schematic diagram of the structure of a resource allocation device based on power 5G short slices according to an embodiment of the present application;

[0050] Figure 3 This is a schematic diagram of the structure of an electronic device according to an embodiment of the present application. DETAILED DESCRIPTION

[0051] In order to make the objectives, technical solutions and advantages of the present application more clearly understood, the present application is further described in detail below in combination with specific embodiments and with reference to the accompanying drawings.

[0052] It should be noted that, unless otherwise defined, the technical terms or scientific terms used in the embodiments of the present application should be the usual meanings understood by people with ordinary skills in the field to which the present application belongs. The "first", "second" and similar words used in the embodiments of the present application do not represent any order, quantity or importance, but are only used to distinguish different components. "Including" or "comprising" and similar words mean that the elements or objects appearing in front of the word cover the elements or objects listed after the word and their equivalents, without excluding other elements or objects. "Connect" or "connected" and similar words are not limited to physical or mechanical connections, but can include electrical connections, whether direct or indirect. "Up", "down", "left", "right" and the like are only used to indicate relative positional relationships. When the absolute position of the described object changes, the relative positional relationship may also change accordingly.

[0053] It is understandable that before using the technical solutions of each embodiment of the present disclosure, the type, scope of use, usage scenarios, etc. of the personal information involved will be informed to the user in an appropriate manner, and the user's authorization will be obtained.

[0054] For example, in response to receiving an active request from a user, a prompt message is sent to the user to clearly remind the user that the operation requested to be performed will require obtaining and using the user's personal information. Thus, the user can independently choose whether to provide personal information to software or hardware such as an electronic device, application, server, or storage medium that performs the operation of the technical solution of the present disclosure according to the prompt message.

[0055] As an optional but non-limiting implementation, in response to receiving the user's active request, the prompt information may be sent to the user in the form of a pop-up window, in which the prompt information may be presented in text form. In addition, the pop-up window may also carry a selection control for the user to choose "agree" or "disagree" to provide personal information to the electronic device.

[0056] It is understandable that the above notification and the process of obtaining user authorization are merely illustrative and do not constitute a limitation on the implementation of the present disclosure. Other methods that meet relevant laws and regulations may also be applied to the implementation of the present disclosure.

[0057] As mentioned in the background technology section, the construction of traditional power communication networks is undertaken by power grid companies themselves. However, 5G base stations have high power consumption and density, which greatly increases the difficulty and cost of building 5G power communication private networks. Therefore, the industry has proposed a network solution for the power private network and the public network to share 5G resources. The core idea of ​​this solution is to use slicing technology to isolate the public network and the private network and allocate resources. Slices mainly include core network slices and access network slices. On the core network side, slices need to allocate forwarding resources and computing resources. On the access network side, 5G short slices only rent base station air interface resources and share slices with public network users.

[0058] The 5G short-slice feature provides the power industry with flexible and customized communication solutions, which can build customized communication networks according to specific needs, improve the utilization of wireless resources, and meet the power industry's requirements for high reliability and low latency. However, there is a contradiction between service quality and rental costs in resource allocation. Fewer resources will lead to an inability to meet power business needs, while more resources will lead to excessively high rental costs.

[0059] Based on the above considerations, the embodiment of the present application proposes a resource allocation method based on power 5G short slices, which configures the constraints of the preset algorithm based on the obtained minimum number of allocated resource blocks; based on the configured constraints, the sine-cosine algorithm is used to iteratively calculate the number of resource blocks allocated to the user, and the user cost is calculated based on the number of resource blocks; in response to reaching the number of iterations, resources are allocated to the user according to the minimum user cost during the iteration process. The embodiment of the present application solves the problems of low wireless resource utilization and high user resource rental costs by proposing a joint optimization model that takes into account user communication delay and user cost. While ensuring the user rate, the user's rental cost is reduced, thereby improving utility; the SCA sine-cosine optimization algorithm is used, and the technology of adaptively adjusting the sine and cosine amplitudes is adopted to balance the algorithm's ability to optimize globally and locally during the search process, and ultimately achieve the purpose of finding the global optimal solution, solving the problem of wireless resource allocation under complex changes.

[0060] The technical solutions of the embodiments of the present application are described in detail below through specific examples.

[0061] refer to Figure 1 The resource allocation method based on 5G power short slice in the embodiment of the present application includes the following steps:

[0062] Step S101, configuring the constraints of the preset algorithm based on the obtained minimum number of allocated resource blocks;

[0063] Step S102, based on the configured constraints, using the sine-cosine algorithm to iteratively calculate the number of resource blocks allocated to the user, and calculating the user cost based on the number of resource blocks;

[0064] Step S103, in response to reaching the number of iterations, allocating resources to the user according to the minimum user cost during the iteration process.

[0065] First of all, it should be made clear that 5G slicing is based on a completely independent, dedicated, telecom-grade functional 5G core network, its own optical fiber bearer network, a dedicated user interface, and its own uplink and downlink optical fiber channels, and only shares slices with telecom operators at the base station air interface. This type of slice has the least amount of common use with the public network, and is called short slicing mode.

[0066] With the development of new power systems, diversified demands such as new energy access, flexible resource configuration, and multi-terminal interaction will lead to a sharp increase in network scale and cost. If the current independent private network construction model is continued, the resource fragmentation and low utilization rate between public and private networks will be aggravated. Therefore, it is not possible to independently build a 5G private network, and a new network model is needed to carry new power services. At present, the virtual private network method of renting public network dedicated slices can meet most business needs, but due to the occupation of public network resources and more multiplexing links, the rental cost is high, and the access of terminals to the public network will weaken the security protection of power business data.

[0067] Therefore, a 5G power short-slice mode is introduced, in which power grid companies can make full use of their own bearer networks, user-side equipment, and 5G power core networks, and only share base station air interface resources with telecom operators. However, there is a contradiction between service quality and rental costs in the allocation of base station air interface resources. Fewer resources will lead to an inability to meet power business needs, while more resources will lead to excessively high rental costs.

[0068] Below, all embodiments of the present application are described based on the above technical background.

[0069] With respect to step S101, in some embodiments, the minimum number of allocated resource blocks is obtained by the following method: obtaining the data packet size and tolerable delay of the user; and calculating the minimum number of allocated resource blocks of the user based on the data packet size and tolerable delay.

[0070] In the embodiment of the present application, it is first necessary to configure the constraints of the preset algorithm, that is, it is necessary to build a joint optimization model first.

[0071] In this embodiment, the user communication delay and cost are calculated according to the channel transmission rate, the user service size and the resources obtained by the user, and a joint optimization model that takes into account both system capacity and user terminal utility is defined.

[0072] Specifically, the base station wireless air interface uses a physical resource block (PRB) to allocate resources. The total number of PRBs in a short slice resource pool is .use Indicates user The transmission rate that PRB can provide in the allocation of radio resources.

[0073] In some embodiments, the transmission rate that the resource block can provide is calculated by the following formula:

[0074]

[0075] in, It represents the transmission rate that the resource block can provide for user n in the resource allocation. represents the bandwidth of a resource block, represents the average signal-to-noise ratio of user n.

[0076] From the perspective of user communication delay, users seek to minimize delay.

[0077] In some embodiments, the user communication delay is calculated by the following formula:

[0078]

[0079] in, Indicates business Users The number of resource blocks actually rented, Indicates the actual communication delay of the user, Indicates the size of the data packet sent by user n under service s. It represents the transmission rate that the resource block can provide for user n in resource allocation.

[0080] After calculating the communication delay, the user rental cost factor also needs to be considered. In some embodiments, the user rental cost is calculated by the following formula:

[0081]

[0082] in, represents the user rental cost, represents the cost of renting a resource block, Indicates the number of allocated resource blocks for user n under service s.

[0083] Furthermore, it is necessary to construct a parameter to take into account both user communication delay and user rental cost.

[0084] In this embodiment, user cost is constructed to take both user communication delay and user rental cost into consideration.

[0085] In some embodiments, the user cost is calculated by the following formula:

[0086]

[0087] in, represents the user cost, represents the actual delay of user n under service s, represents the weight coefficient, Represents the user rental cost.

[0088] After constructing the parameter user cost that can take into account both the user communication delay and the user rental cost, it is necessary to build a joint optimization model, because the communication delay and the rental cost are two mutually constrained optimization objectives that need to be compromised.

[0089] The joint optimization model is defined as:

[0090]

[0091]

[0092] in Represents a collection of users, Represents a business set, Indicates the total number of resource blocks, represents the number of resource blocks allocated to user n under service s, represents the minimum number of resource blocks allocated to user n under service s, represents the maximum rental cost of the user, represents the user rental cost, and Z represents an integer.

[0093] In the above formula, the first constraint indicates that the resources allocated to a single user must be greater than the user's lower limit, the second constraint indicates that the user cost cannot exceed its upper limit, the third constraint indicates that the sum of the user's resource blocks cannot exceed the upper limit of the system's supplied resources, and the fourth constraint indicates that the number of allocated resource blocks is an integer.

[0094] In some embodiments, the minimum number of allocated resource blocks is calculated by the following formula:

[0095]

[0096] in, represents the minimum number of resource blocks allocated to user n under service s, Indicates the size of the data packet sent by user n under service s. represents the tolerable delay of user n under service s, It represents the transmission rate that the resource block can provide for user n in resource allocation.

[0097] Based on the above steps, the joint optimization model of the embodiment of the present application is constructed. Further, for step S102 and step S103, the sine cosine algorithm (SCA) is used to solve the joint optimization target to find the optimal solution for resource allocation. The specific steps are:

[0098] First, collect user needs: First, the base station collects the communication needs of the power business in the coverage area. The communication needs here may include the type of power business, user data corresponding to the power business, communication delay, communication bandwidth, communication indicators, etc.

[0099] Furthermore, the user parameters are calculated based on the user needs collected above: the minimum number of allocated resource blocks is calculated according to the user data packet size and tolerable delay, and the algorithm parameters are set according to the user needs. The algorithm parameters here are the parameters in the aforementioned joint optimization model.

[0100] Then initialize the algorithm parameters: Initialize the algorithm parameters and calculate the candidate initial solution , iteratively update the algorithm parameters.

[0101] Furthermore, the updated number of allocated resource blocks is used to calculate the user cost: the actual allocated resource blocks of the user are updated during the calculation process. , and calculate the user Corresponding user cost , retaining the optimal user cost.

[0102] Then determine whether the calculation conditions are met. If the conditions are met, the process ends. If not, the iteration process continues. The calculation condition here is the number of iterations, that is, it is necessary to determine whether the number of iterations is met. If the number of iterations is reached, the iteration is stopped.

[0103] Finally, user resources are allocated according to the result obtained from the optimal user cost. That is, after the iteration, the number of allocated resource blocks corresponding to the minimum user cost in the iteration process is taken, and the corresponding cost and delay allocation are known.

[0104] It can be seen from the above embodiments that the resource allocation method based on power 5G short slices described in the embodiments of the present application configures the constraints of the preset algorithm based on the minimum number of allocated resource blocks obtained; based on the configured constraints, the sine-cosine algorithm is used to iteratively calculate the number of resource blocks allocated to the user, and the user cost is calculated based on the number of resource blocks; in response to reaching the number of iterations, resources are allocated to the user according to the minimum user cost during the iteration process. The embodiment of the present application solves the problems of low utilization of wireless resources and high cost of user resource rental by proposing a joint optimization model that takes into account user communication delay and user cost. While ensuring the user rate, the user's rental cost is reduced, thereby improving utility; the SCA sine-cosine optimization algorithm is adopted, and the technology of adaptively adjusting the sine and cosine amplitudes is adopted to balance the algorithm's ability to optimize globally and locally during the search process, and ultimately achieve the purpose of finding the global optimal solution, solving the problem of wireless resource allocation under complex changes.

[0105] It should be noted that the method of the embodiment of the present application can be performed by a single device, such as a computer or server. The method of this embodiment can also be applied to a distributed scenario and completed by multiple devices cooperating with each other. In the case of such a distributed scenario, one of the multiple devices can only perform one or more steps in the method of the embodiment of the present application, and the multiple devices will interact with each other to complete the described method.

[0106] It should be noted that the above describes some embodiments of the present application. Other embodiments are within the scope of the appended claims. In some cases, the actions or steps recorded in the claims can be performed in an order different from that in the above embodiments and still achieve the desired results. In addition, the processes depicted in the accompanying drawings do not necessarily require the specific order or continuous order shown to achieve the desired results. In some embodiments, multitasking and parallel processing are also possible or may be advantageous.

[0107] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a resource allocation device based on power 5G short slices.

[0108] refer to Figure 2 , the resource allocation device based on power 5G short slices includes:

[0109] A configuration module 21, configured to configure the constraints of the preset algorithm based on the obtained minimum number of allocated resource blocks;

[0110] The iteration module 22 is configured to iteratively calculate the number of resource blocks allocated to the user by using the sine-cosine algorithm based on the configured constraints, and calculate the user cost based on the number of resource blocks;

[0111] The allocation module 23 is configured to allocate resources to the user according to the minimum user cost in the iteration process in response to reaching the iteration number.

[0112] In a possible implementation manner, the minimum number of allocated resource blocks is obtained through the following steps:

[0113] Obtain the user's data packet size and tolerable delay;

[0114] The minimum number of allocated resource blocks for the user is calculated based on the data packet size and the tolerable delay.

[0115] In one possible implementation, the constraints of the preset algorithm include: the number of allocated resource blocks for a single user is less than the minimum number of allocated resource blocks; the user rental cost is less than the preset maximum user rental cost; the total number of resource blocks allocated to the user is less than or equal to the maximum number of resource blocks supplied by the system, and the number of resource blocks is an integer.

[0116] In a possible implementation, the minimum number of allocated resource blocks is calculated by the following formula:

[0117]

[0118] in, represents the minimum number of resource blocks allocated to user n under service s, Indicates the size of the data packet sent by user n under service s. represents the tolerable delay of user n under service s, It represents the transmission rate that the resource block can provide for user n in resource allocation.

[0119] In a possible implementation, the transmission rate that can be provided by the resource block is calculated by the following formula:

[0120]

[0121] in, It represents the transmission rate that the resource block can provide for user n in the resource allocation. represents the bandwidth of a resource block, represents the average signal-to-noise ratio of user n.

[0122] In a possible implementation, the user rental cost is calculated by the following formula:

[0123]

[0124] in, represents the user rental cost, represents the cost of renting a resource block, Indicates the number of allocated resource blocks for user n under service s.

[0125] In a possible implementation, the user cost is calculated by the following formula:

[0126]

[0127] in, represents the user cost, represents the actual delay of user n under service s, represents the weight coefficient, Represents the user rental cost.

[0128] For the convenience of description, the above device is described in terms of functions divided into various modules. Of course, when implementing the present application, the functions of each module can be implemented in the same or multiple software and / or hardware.

[0129] The device of the above embodiment is used to implement the corresponding resource allocation method based on power 5G short slices in any of the above embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0130] Based on the same inventive concept, corresponding to any of the above-mentioned embodiments and methods, the present application also provides an electronic device, including a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein when the processor executes the program, the power convergence network resource allocation method based on 5G short slicing and 4G short multiplexing as described in any of the above embodiments is implemented.

[0131] Figure 3 A more specific schematic diagram of the hardware structure of an electronic device provided in this embodiment is shown, and the device may include: a processor 1010, a memory 1020, an input / output interface 1030, a communication interface 1040, and a bus 1050. The processor 1010, the memory 1020, the input / output interface 1030, and the communication interface 1040 are connected to each other through the bus 1050 in the device.

[0132] The processor 1010 can be implemented by a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, and is used to execute relevant programs to implement the technical solutions provided in the embodiments of this specification.

[0133] The memory 1020 may be implemented in the form of ROM (Read Only Memory), RAM (Random Access Memory), static storage device, dynamic storage device, etc. The memory 1020 may store an operating system and other application programs. When the technical solutions provided in the embodiments of this specification are implemented by software or firmware, the relevant program codes are stored in the memory 1020 and are called and executed by the processor 1010.

[0134] The input / output interface 1030 is used to connect the input / output module to realize information input and output. The input / output module can be configured in the device as a component (not shown in the figure), or it can be externally connected to the device to provide corresponding functions. The input device may include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device may include a display, a speaker, a vibrator, an indicator light, etc.

[0135] The communication interface 1040 is used to connect a communication module (not shown) to realize communication interaction between the device and other devices. The communication module can realize communication through wired means (such as USB, network cable, etc.) or wireless means (such as mobile network, WIFI, Bluetooth, etc.).

[0136] The bus 1050 includes a path that transmits information between the various components of the device (eg, the processor 1010 , the memory 1020 , the input / output interface 1030 , and the communication interface 1040 ).

[0137] It should be noted that, although the above device only shows the processor 1010, the memory 1020, the input / output interface 1030, the communication interface 1040 and the bus 1050, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, it can be understood by those skilled in the art that the above device may also only include the components necessary for implementing the embodiments of the present specification, and does not necessarily include all the components shown in the figure.

[0138] The electronic device of the above-mentioned embodiment is used to implement the corresponding power convergence network resource allocation method based on 5G short slicing and 4G short multiplexing in any of the above-mentioned embodiments, and has the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0139] Based on the same inventive concept, corresponding to any of the above-mentioned embodiment methods, the present application also provides a non-transitory computer-readable storage medium, wherein the non-transitory computer-readable storage medium stores computer instructions, and the computer instructions are used to enable the computer to execute the resource allocation method based on power 5G short slices as described in any of the above embodiments.

[0140] The computer-readable medium of this embodiment includes permanent and non-permanent, removable and non-removable media, and information storage can be implemented by any method or technology. Information can be computer-readable instructions, data structures, modules of programs, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technology, read-only compact disk read-only memory (CD-ROM), digital versatile disk (DVD) or other optical storage, magnetic cassettes, tape disk storage or other magnetic storage devices or any other non-transmission media that can be used to store information that can be accessed by a computing device.

[0141] The computer instructions stored in the storage medium of the above embodiment are used to enable the computer to execute the power convergence network resource allocation method based on 5G short slicing and 4G short multiplexing as described in any of the above embodiments, and have the beneficial effects of the corresponding method embodiments, which will not be repeated here.

[0142] A person skilled in the art should understand that the discussion of any of the above embodiments is merely illustrative and is not intended to imply that the scope of the present application (including the claims) is limited to these examples. In line with the concept of the present application, the technical features in the above embodiments or different embodiments may be combined, the steps may be implemented in any order, and there are many other variations of the different aspects of the embodiments of the present application as described above, which are not provided in detail for the sake of simplicity.

[0143] In addition, to simplify the description and discussion, and in order not to make the embodiments of the present application difficult to understand, the known power / ground connections to the integrated circuit (IC) chip and other components may or may not be shown in the provided drawings. In addition, the device may be shown in the form of a block diagram to avoid making the embodiments of the present application difficult to understand, and this also takes into account the fact that the details of the implementation of these block diagram devices are highly dependent on the platform on which the embodiments of the present application are to be implemented (that is, these details should be fully within the scope of understanding of those skilled in the art). Where specific details (e.g., circuits) are set forth to describe exemplary embodiments of the present application, it is obvious to those skilled in the art that the embodiments of the present application can be implemented without these specific details or with changes in these specific details. Therefore, these descriptions should be considered illustrative rather than restrictive.

[0144] Although the present application has been described in conjunction with specific embodiments of the present application, many alternatives, modifications and variations of these embodiments will be apparent to those skilled in the art from the foregoing description. For example, other memory architectures (e.g., dynamic RAM (DRAM)) may use the discussed embodiments.

[0145] The embodiments of the present application are intended to cover all such substitutions, modifications and variations that fall within the broad scope of the appended claims. Therefore, any omissions, modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the embodiments of the present application should be included in the scope of protection of the present application.

Claims

1. A resource allocation method based on power 5G short slices, characterized in that: include: Configuring constraints of a preset algorithm based on the obtained minimum number of allocated resource blocks; The constraints of the preset algorithm include: the number of resource blocks allocated to a single user is less than the minimum number of resource blocks allocated; the user rental cost is less than the preset maximum user rental cost; the total number of resource blocks allocated to the user is less than or equal to the maximum number of resource blocks supplied by the system, and the number of resource blocks is an integer; Based on the configured constraints, the number of resource blocks allocated to the user is iteratively calculated using a sine-cosine algorithm, and the user cost is calculated based on the number of resource blocks; In response to reaching the number of iterations, allocating resources to the user according to the minimum user cost during the iterations; The user rental cost is calculated by the following formula: ; in, represents the user rental cost, represents the cost of renting a resource block, represents the number of resource blocks allocated to user n under service s; The user cost is calculated by the following formula: ; in, represents the user cost, represents the actual delay of user n under service s, represents the weight coefficient, Represents the user rental cost.

2. The method according to claim 1, characterized in that The minimum number of allocated resource blocks is obtained by the following method: Obtain the user's data packet size and tolerable delay; The minimum number of allocated resource blocks for the user is calculated based on the data packet size and the tolerable delay.

3. The method according to claim 1, characterized in that The minimum number of allocated resource blocks is calculated by the following formula: ; in, represents the minimum number of resource blocks allocated to user n under service s, Indicates the size of the data packet sent by user n under service s. represents the tolerable delay of user n under service s, It represents the transmission rate that the resource block can provide for user n in the resource allocation. Represents a collection of users.

4. The method according to claim 3, characterized in that The transmission rate that the resource block can provide is calculated by the following formula: ; in, It represents the transmission rate that the resource block can provide for user n in the resource allocation. represents the bandwidth of a resource block, represents the average signal-to-noise ratio of user n.

5. A resource allocation device based on power 5G short slices, characterized in that: include: A configuration module, configured to configure the constraints of the preset algorithm based on the obtained minimum number of allocated resource blocks; The constraints of the preset algorithm include: the number of resource blocks allocated to a single user is less than the minimum number of resource blocks allocated; the user rental cost is less than the preset maximum user rental cost; the total number of resource blocks allocated to the user is less than or equal to the maximum number of resource blocks supplied by the system, and the number of resource blocks is an integer; an iteration module, configured to iteratively calculate the number of resource blocks allocated to the user by using a sine-cosine algorithm based on the configured constraints, and calculate the user cost based on the number of resource blocks; an allocation module, configured to allocate resources to users according to a minimum user cost during the iteration process in response to reaching the iteration number; The user rental cost is calculated by the following formula: ; in, represents the user rental cost, represents the cost of renting a resource block, represents the number of resource blocks allocated to user n under service s; The user cost is calculated by the following formula: ; in, represents the user cost, represents the actual delay of user n under service s, represents the weight coefficient, Represents the user rental cost.

6. The device according to claim 5, characterized in that The minimum number of allocated resource blocks is obtained by the following steps: Obtain the user's data packet size and tolerable delay; The minimum number of allocated resource blocks for the user is calculated based on the data packet size and the tolerable delay.

7. The device according to claim 5, characterized in that The minimum number of allocated resource blocks is calculated by the following formula: ; in, represents the minimum number of resource blocks allocated to user n under service s, Indicates the size of the data packet sent by user n under service s. represents the tolerable delay of user n under service s, It represents the transmission rate that the resource block can provide for user n in the resource allocation. Represents a collection of users.

8. The device according to claim 7, characterized in that The transmission rate that the resource block can provide is calculated by the following formula: ; in, It represents the transmission rate that the resource block can provide for user n in the resource allocation. represents the bandwidth of a resource block, represents the average signal-to-noise ratio of user n.

9. An electronic device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the program, the method according to any one of claims 1 to 4 is implemented.

10. A non-transitory computer-readable storage medium storing computer instructions, characterized in that: The computer instructions are used to enable a computer to execute the method according to any one of claims 1 to 4.