System computing resource allocation method, device and equipment for multi-link concurrency
By calculating the calculation power and signal-to-noise ratio of each link, a resource allocation model is built, and the system computing resources are accurately divided, which solves the problem of low resource allocation accuracy during multi-link concurrency, and achieves stable and secure allocation of link resources .
Patent Information
- Application Number
- CN202310808082.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2023-07-03
- Publication Date
- 2025-01-17
- Estimated Expiration
- 2043-07-03
AI Technical Summary
The existing multi-link concurrent system computing resource allocation method only cares about local bandwidth when selecting links, resulting in excessive computing load on some links and low resource allocation accuracy.
By obtaining the initial bandwidth of each link, calculating the computing power and signal-to-noise ratio, building an initial resource allocation model, computing resource allocation channels, and accurately dividing the system computing resources to ensure resource allocation for each link.
It improves the accuracy of computing resource allocation, ensures that links with strong computing capabilities are allocated appropriately, and the stability and security are avoided.
Smart Images

Figure CN116775303B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of resource allocation, and in particular to a method, device and equipment for allocating computing resources in a system with multiple concurrent links. Background Art
[0002] In recent years, with the rapid rise of new network applications such as big data, cloud computing, and mobile Internet, Internet technology has developed rapidly. Data centers, as important Internet infrastructure, are currently being built on a large scale around the world. The rapid expansion of the scale of data centers means that their internal computing nodes are facing a large amount of traffic injection at any time due to various network requirements. Various new applications have put forward higher requirements for the reliability, effectiveness, and bandwidth of computing links. How to achieve flexible management of computer computing resources when multiple links are concurrent so that the huge internal computing load can be effectively balanced is a difficult problem that needs to be solved urgently.
[0003] At present, the main method for allocating computing resources for multi-link concurrent system resources is that the controller performs data statistics on the real-time data flow information in the switch, and selects the best link for data flow transmission through a greedy algorithm based on the obtained link information. Compared with the static load balancing strategy, this method considers the current state of the network when selecting the computing link and realizes dynamic link selection. However, since the algorithm only cares about the bandwidth status of the local link when selecting the link, it is easy to cause some links to be overloaded while the other links are idle, resulting in low accuracy of system computing resource allocation. Summary of the invention
[0004] The present invention provides a method, device and equipment for allocating computing resources in a system with multiple concurrent links, the main purpose of which is to solve the problem of poor accuracy in allocating computing resources in the case of multiple concurrent links.
[0005] To achieve the above object, the present invention provides a method for allocating computing resources for a multi-link concurrent system, comprising:
[0006] Acquire an initial bandwidth accessed by each link in the concurrent multi-links, and calculate a computing power of each link based on the initial bandwidth;
[0007] Calculating the link interference of each link according to the calculated power, and calculating the signal-to-noise ratio of each link according to the link interference and the calculated power;
[0008] Calculating the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and constructing the initial resource allocation model of the concurrent multi-link according to the channel capacity;
[0009] Acquire the system computing resources corresponding to the concurrent multi-link, and calculate the carrier-to-noise ratio of the system computing resources; calculate the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity, and the initial resource allocation model;
[0010] The system computing resources are allocated according to the resource allocation channel to obtain computing resources for each link in the concurrent multi-links.
[0011] Optionally, the calculating the computing power of each link based on the initial bandwidth includes:
[0012] Collecting signal indicator information on each link, and calculating the signal power and noise power of each link based on the information;
[0013] Calculating the calculation power of each link according to the signal power, the noise power and the initial bandwidth;
[0014] The calculated power of each link is calculated using the following formula:
[0015]
[0016] Wherein, R represents the calculated power, β represents the preset benefit factor, b represents the initial bandwidth, S represents the signal power, and N represents the noise power.
[0017] Optionally, calculating the link interference of each link according to the calculated power includes:
[0018] Obtaining the link distance of each link, and calculating the total transmission distance of the concurrent multi-links according to the link distance;
[0019] Calculate the link interference of each link according to the link distance, the total transmission distance and the calculated power;
[0020] The link interference of each link is calculated using the following formula:
[0021]
[0022] Wherein, D represents link interference, R represents the calculated power, e represents the link distance, τ represents a preset interference factor, E represents the total transmission distance, and N represents the noise power of the link.
[0023] Optionally, calculating the signal-to-noise ratio of each link according to the link interference and the calculated power includes:
[0024] The signal-to-noise ratio of each link is calculated using the following formula:
[0025]
[0026] Among them, r sn represents the signal-to-noise ratio, R represents the calculation power, D represents the link interference, e represents the link distance, and τ represents the preset interference factor.
[0027] Optionally, calculating the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth includes:
[0028] The channel capacity of each link is calculated using the following formula:
[0029]
[0030] in, represents the channel capacity, V represents the initial bandwidth, r sn represents the signal-to-noise ratio.
[0031] Optionally, constructing the initial resource allocation model of the concurrent multi-link according to the channel capacity includes:
[0032] The initial resource allocation model is shown in the following formula:
[0033]
[0034] Wherein, y is the representation of the initial resource allocation model, h and x respectively represent the preset allocation coefficients, i represents the i-th link, and I represents the total number of links in the parallel multi-link. represents the channel capacity of the i-th link, and T represents a preset time interval set.
[0035] Optionally, the calculating the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity and the initial resource allocation model includes:
[0036] The resource allocation channel of each link is calculated using the following formula:
[0037]
[0038] Wherein, f represents the resource allocation channel of each link, e represents a preset random variable, y represents the representation of the initial resource allocation model, ρ represents a preset response coefficient, represents the carrier-to-noise ratio of the system computing resources, I0 represents the system computing resources, r sn represents the signal-to-noise ratio of the link, represents the channel capacity of the link.
[0039] Optionally, allocating the system computing resources according to the resource allocation channel to obtain the computing resources of each link in the concurrent multi-link includes:
[0040] Rounding the resource allocation channels to obtain the number of channels for each link;
[0041] Dividing the system computing resources according to the number of channels of each link to obtain the system computing resources corresponding to each resource allocation channel;
[0042] The system computing resources are allocated according to the system computing resources corresponding to the number of each channel and the number of channels of each link to obtain the computing resources of each link in the concurrent multi-link.
[0043] In order to solve the above problem, the present invention also provides a system computing resource allocation device for multi-link concurrency, the device comprising:
[0044] A computing power calculation module, used to obtain the initial bandwidth of each link access in the concurrent multi-link, and calculate the computing power of each link based on the initial bandwidth;
[0045] a signal-to-noise ratio calculation module, configured to calculate the link interference of each link according to the calculation power, and calculate the signal-to-noise ratio of each link according to the link interference and the calculation power;
[0046] An initial resource allocation model construction module, used to calculate the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and to construct the initial resource allocation model of the concurrent multi-link according to the channel capacity;
[0047] A resource allocation channel calculation module, used to obtain the system computing resources corresponding to the concurrent multi-link, calculate the carrier-to-noise ratio of the system computing resources; calculate the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity and the initial resource allocation model;
[0048] The computing resource allocation module is used to allocate the system computing resources according to the resource allocation channel to obtain the computing resources of each link in the concurrent multi-link.
[0049] In order to solve the above problem, the present invention further provides an electronic device, the electronic device comprising:
[0050] at least one processor; and,
[0051] a memory communicatively connected to the at least one processor; wherein,
[0052] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the above-mentioned system computing resource allocation method for multi-link concurrency.
[0053] The embodiment of the present invention determines the computing power of each link in the concurrent multi-links by calculating the computing power of each link, so that the computing resources of the system can be allocated according to the computing power, so that the links with stronger computing power can be allocated to the corresponding computing resources, and the accuracy of computing resource allocation can be improved; the performance of each link can be determined by link interference and signal-to-noise ratio, and the communication quality of each link in the system can be measured, and then whether the performance of each link is stable can be determined, so as to further accurately divide the system computing resources; the initial resource allocation model is constructed by the channel capacity of each link, and the computing amount that each link can carry is determined, so that the initial resource allocation of each link can be comprehensively calculated according to the channel capacity and the initial resource allocation model; the system computing resources are allocated to each link through the resource allocation channel, so as to ensure that each link can run stably and safely, and realize the accurate division of system computing resources. Therefore, the system computing resource allocation method, device and equipment for multi-link concurrency proposed by the present invention can solve the problem of poor accuracy of computing resource allocation when multi-links are concurrent. BRIEF DESCRIPTION OF THE DRAWINGS
[0054] Figure 1 A schematic diagram of a flow chart of a method for allocating computing resources for a multi-link concurrent system provided by an embodiment of the present invention;
[0055] Figure 2 A schematic diagram of a process for allocating system computing resources provided by an embodiment of the present invention;
[0056] Figure 3 A functional module diagram of a system computing resource allocation device for multi-link concurrency provided by an embodiment of the present invention;
[0057] Figure 4 A schematic diagram of the structure of an electronic device for implementing the system computing resource allocation method for multi-link concurrency provided by an embodiment of the present invention.
[0058] The realization of the purpose, functional features and advantages of the present invention will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0059] It should be understood that the specific embodiments described herein are only used to explain the present invention, and are not used to limit the present invention.
[0060] The embodiment of the present application provides a method for allocating system computing resources for multi-link concurrency. The execution subject of the method for allocating system computing resources for multi-link concurrency includes but is not limited to at least one of the electronic devices such as a server, a terminal, etc. that can be configured to execute the method provided by the embodiment of the present application. In other words, the method for allocating system computing resources for multi-link concurrency can be executed by software or hardware installed on a terminal device or a server device, and the software can be a blockchain platform. The server includes but is not limited to: a single server, a server cluster, a cloud server or a cloud server cluster, etc. The server can be an independent server, or it can be a cloud server that provides basic cloud computing services such as cloud services, cloud databases, cloud computing, cloud functions, cloud storage, network services, cloud communications, middleware services, domain name services, security services, content delivery networks (Content Delivery Network, CDN), and big data and artificial intelligence platforms.
[0061] Reference Figure 1 FIG. 1 is a flow chart of a method for allocating computing resources for a multi-link concurrent system provided by an embodiment of the present invention. In this embodiment, the method for allocating computing resources for a multi-link concurrent system includes:
[0062] S1. Acquire an initial bandwidth accessed by each link in the concurrent multi-links, and calculate a computing power of each link based on the initial bandwidth.
[0063] In the embodiment of the present invention, the link is a link for performing system calculations. Multiple links run in parallel and can perform calculations simultaneously without interfering with each other. When each link is connected to the system network, the system allocates bandwidth resources to each link to obtain the initial bandwidth of each link, which is used to represent the maximum rate of each link when performing data transmission in theory on the network or line, so that the ability of each link to perform data calculations can be calculated, and the calculation power of each link can be obtained.
[0064] In the embodiment of the present invention, the calculating the computing power of each link based on the initial bandwidth includes:
[0065] Collecting signal indicator information on each link, and calculating the signal power and noise power of each link based on the information;
[0066] The calculated power of each link is calculated according to the signal power, the noise power and the initial bandwidth.
[0067] In an embodiment of the present invention, the signal indicator information is an important measurement indicator of the analog signal received by each link at the system end, for example, the energy required to transmit each bit of information, the time required to transmit each bit, the noise power spectrum density, and the channel bandwidth for signal transmission, etc. Specifically, it can be obtained by actually measuring the analog signal at the receiving end by an instrument such as a spectrum analyzer, and then the signal power is obtained by dividing the energy required to transmit each bit of information by the time required to transmit each bit, and the noise power is obtained according to the product of the noise power spectrum density and the channel bandwidth of the transmission signal.
[0068] In the embodiment of the present invention, the calculation power of each link is calculated using the following formula:
[0069]
[0070] Wherein, R represents the calculated power, β represents the preset benefit factor, b represents the initial bandwidth, S represents the signal power, and N represents the noise power.
[0071] In an embodiment of the present invention, the benefit factor can be expressed according to the system characteristics of parallel multi-links, and the computing power of each link is calculated by computing power, so that the computing resources of the system can be allocated according to the computing power, so that links with stronger computing power can be allocated to corresponding computing resources, thereby improving the accuracy of computing resource allocation.
[0072] S2. Calculate the link interference of each link according to the calculated power, and calculate the signal-to-noise ratio of each link according to the link interference and the calculated power.
[0073] In an embodiment of the present invention, each link will be interfered with by other network signals when working independently, for example, signal interference from computing nodes in other links, interference from system network signals and interference from noise, thereby interfering with the data signal of each link and affecting the data transmission and calculation of the link. Therefore, it is necessary to determine the performance of each link by calculating the link interference, thereby determining the computing resources that can be allocated to each link.
[0074] In the embodiment of the present invention, the calculating the link interference of each link according to the calculated power includes:
[0075] Obtaining the link distance of each link, and calculating the total transmission distance of the concurrent multi-links according to the link distance;
[0076] The link interference of each link is calculated according to the link distance, the total transmission distance and the calculated power.
[0077] In an embodiment of the present invention, during data transmission, the greater the distance between the starting end and the receiving end of the link, that is, the greater the link distance, the greater the possibility of interference. Therefore, different links will be subject to different link interferences of the system network in the link. The stability of each link is represented by the link interference, thereby ensuring the accuracy of subsequent calculation of resource allocation.
[0078] In the embodiment of the present invention, the link interference of each link is calculated using the following formula:
[0079] The link interference of each link is calculated using the following formula:
[0080]
[0081] Wherein, D represents link interference, R represents the calculated power, e represents the link distance, τ represents a preset interference factor, E represents the total transmission distance, and N represents the noise power of the link.
[0082] In the embodiment of the present invention, the link distance of each link can be determined according to the addresses of the starting end node and the receiving end node of each link, so that the signal interference that each link may receive in the network can be further calculated according to the link distance.
[0083] In the embodiment of the present invention, the signal-to-noise ratio is the ratio of the transmission signal received in each link to the noise. The signal-to-noise ratio can be used to measure the communication quality of each link in the system, and then determine whether the performance of each link is stable, so that the system computing resources can be further accurately divided according to the signal-to-noise ratio.
[0084] In the embodiment of the present invention, the calculating the signal-to-noise ratio of each link according to the link interference and the calculated power includes:
[0085] The signal-to-noise ratio of each link is calculated using the following formula:
[0086]
[0087] Among them, r sn represents the signal-to-noise ratio, R represents the calculation power, D represents the link interference, e represents the link distance, and τ represents the preset interference factor.
[0088] In the embodiment of the present invention, by calculating the signal-to-noise ratio of each link, the ratio of the noise to which each link is subjected to to the received transmission signal can be determined, and the stability of each link can be obtained to determine the computing capacity of each link, thereby allocating system computing resources more accurately.
[0089] S3. Calculate the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and construct an initial resource allocation model for the concurrent multi-links according to the channel capacity.
[0090] In an embodiment of the present invention, the maximum channel capacity of each link of the channel capacity is that, without considering the coding delay and complexity of each link, when the bit error rate approaches zero, the input distribution can maximize the mutual information during information transmission, that is, the maximum amount of information that each link can transmit. Furthermore, the channel capacity can be used to determine the amount of computing that each link can carry, so that computing resources can be allocated to each link according to the channel capacity.
[0091] In the embodiment of the present invention, the calculating the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth includes:
[0092] The channel capacity of each link is calculated using the following formula:
[0093]
[0094] in, represents the channel capacity, V represents the initial bandwidth, r sn represents the signal-to-noise ratio.
[0095] In an embodiment of the present invention, by calculating the channel capacity, it is possible to determine the maximum channel capacity that each link can obtain under the initial bandwidth allocated by the system, that is, the maximum amount of data calculation that each link can carry, so that the computing power of each link can be determined based on the channel capacity to maintain a low bit error rate.
[0096] In the embodiment of the present invention, the resource allocation model is an initial model for computing resource allocation for each link based on the channel capacity, so as to allocate computing resources that can be allocated to each link through the initial resource allocation model.
[0097] In the embodiment of the present invention, the constructing the initial resource allocation model of the concurrent multi-link according to the channel capacity includes:
[0098] The initial resource allocation model is shown in the following formula:
[0099]
[0100] Wherein, y is the representation of the initial resource allocation model, h and x respectively represent the preset allocation coefficients, i represents the i-th link, and I represents the total number of links in the parallel multi-link. represents the channel capacity of the i-th link, and T represents a preset time interval set.
[0101] In an embodiment of the present invention, the allocation coefficient represents the resource allocation capacity coefficient of each link in the resource allocation, and then the system computing resource capacity that can be allocated to each link is determined by the allocation coefficient, and then the initial resource allocation model of concurrent multi-links is obtained, wherein the time interval set can be a time interval set consistent with the time interval corresponding to the computing resource, thereby ensuring the accuracy of the initial resource allocation model.
[0102] In the embodiment of the present invention, the initial resource allocation model can be used to comprehensively calculate the initial resource allocation situation of each link, and then the computing resources of the system can be allocated through the initial resource allocation model, further ensuring the accuracy of computing resource allocation.
[0103] S4. Obtain the system computing resources corresponding to the concurrent multi-links, and calculate the carrier-to-noise ratio of the system computing resources; calculate the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity, and the initial resource allocation model.
[0104] In an embodiment of the present invention, the system computing resources are spare computer resources of the system corresponding to the concurrent multi-links, for example, computing memory, bandwidth, storage space, and central processing unit information that can be allocated to the concurrent multi-links. By allocating system computing resources to the concurrent multi-links, the links can be stimulated to perform calculations, thereby improving the computing power of the system.
[0105] In the embodiment of the present invention, the carrier-to-noise ratio is the ratio of the average power of the modulated signal to the noise, including the power of the modulated carrier and the power of the transmission signal. Therefore, the quality of the system computing resources can be represented by the carrier-to-noise ratio of the system computing resources, thereby allocating the system computing resources more accurately.
[0106] In the embodiment of the present invention, the average power of the modulated signal and noise of the system can be directly measured at the receiving end of the system by using an instrument such as a spectrum analyzer, and then the carrier-to-noise ratio of the system computing resources can be calculated.
[0107] In the embodiment of the present invention, the allocation channel is a path for resource allocation. For example, in the embodiment of the present invention, a link is a resource allocation channel. The resource allocation channel that can be allocated to each link is calculated to calculate the proportion of system computing resources that can be allocated to each link, thereby accurately allocating system computing resources.
[0108] In the embodiment of the present invention, the calculating of the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity and the initial resource allocation model includes:
[0109] The resource allocation channel of each link is calculated using the following formula:
[0110]
[0111] Wherein, f represents the resource allocation channel of each link, e represents a preset random variable, y represents the representation of the initial resource allocation model, ρ represents a preset response coefficient, represents the carrier-to-noise ratio of the system computing resources, I0 represents the system computing resources, r sn represents the signal-to-noise ratio of the link, represents the channel capacity of the link.
[0112] In an embodiment of the present invention, the amount of information that each link can accept is determined by calculating the resource allocation channel of each link. For example, the resource allocation channel of link 1 is 2, indicating that link 1 can carry the system computing resources of two channels. Therefore, the system computing resources that can be allocated to each link can be calculated based on the information channel, avoiding the situation where some links are overloaded and some links are unloaded, so as to accurately allocate system computing resources.
[0113] S5. Allocate the system computing resources according to the resource allocation channel to obtain computing resources for each link in the concurrent multi-links.
[0114] In an embodiment of the present invention, resource allocation is to calculate the computing resources that each link can carry based on the resource allocation channel, so as to accurately allocate the system computing resources to parallel multi-links, ensure that each link can operate stably without overload or no load, and then accurately allocate the system computing resources.
[0115] In the embodiment of the present invention, refer to Figure 2 As shown, the system computing resources are allocated according to the resource allocation channel to obtain the computing resources of each link in the concurrent multi-link, including:
[0116] S21, rounding the resource allocation channels to obtain the number of channels for each link;
[0117] S22, dividing the system computing resources according to the number of channels of each link to obtain the system computing resources corresponding to each resource allocation channel;
[0118] S23. Allocate the system computing resources according to the system computing resources corresponding to the number of each channel and the number of channels of each link to obtain computing resources for each link in the concurrent multi-link.
[0119] In an embodiment of the present invention, the resource allocation channel is rounded, for example, the resource allocation channel is rounded or rounded to the nearest decimal place using a rounding function to measure the ability of each link to carry system computing resources when allocating system computing resources. The system computing resources are evenly divided according to the total number of resource channels of the link to obtain the computing resources that can be allocated to each resource allocation channel. For example, if the total number of resource channels is 10, the system computing resources are evenly divided into 10 parts to obtain the computing resources that can be allocated to each resource allocation channel. The product of the number of channels of each link and the system computing resources corresponding to each resource allocation channel is calculated to obtain the computing resources that can be allocated to each link. Each link serves as a channel for receiving system computing resources, and the system computing resources are allocated to each link to achieve accurate division of system computing resources and ensure that each link can operate stably and safely.
[0120] The embodiment of the present invention determines the computing power of each link by calculating the computing power of each link in the concurrent multi-links, so that the computing resources of the system can be allocated according to the computing power, so that the links with stronger computing power can be allocated to the corresponding computing resources, and the accuracy of computing resource allocation can be improved; the performance of each link can be determined by link interference and signal-to-noise ratio, and the communication quality of each link in the system can be measured, and then whether the performance of each link is stable can be determined, so as to further accurately divide the system computing resources; the initial resource allocation model is constructed by the channel capacity of each link, and the computing amount that each link can carry is determined, so that the initial resource allocation of each link can be comprehensively calculated according to the channel capacity and the initial resource allocation model; the system computing resources are allocated to each link through the resource allocation channel, so that each link can be ensured to run stably and safely, and the accurate division of system computing resources is realized. Therefore, the system computing resource allocation method for multi-link concurrency proposed by the present invention can solve the problem of poor accuracy of computing resource allocation when multi-link is concurrent.
[0121] like Figure 3 , is a functional module diagram of a system computing resource allocation device for multi-link concurrency provided by an embodiment of the present invention.
[0122] The system computing resource allocation device 300 for multi-link concurrency of the present invention can be installed in an electronic device. According to the functions to be implemented, the system computing resource allocation device 300 for multi-link concurrency may include a computing power calculation module 301, a signal-to-noise ratio calculation module 302, an initial resource allocation model construction module 303, a resource allocation channel calculation module 304 and a computing resource allocation module 305. The module of the present invention may also be referred to as a unit, which refers to a series of computer program segments that can be executed by an electronic device processor and can complete fixed functions, and is stored in the memory of the electronic device.
[0123] In this embodiment, the functions of each module / unit are as follows:
[0124] The computing power calculation module 301 is used to obtain the initial bandwidth of each link access in the concurrent multi-link, and calculate the computing power of each link based on the initial bandwidth;
[0125] The signal-to-noise ratio calculation module 302 is used to calculate the link interference of each link according to the calculation power, and calculate the signal-to-noise ratio of each link according to the link interference and the calculation power;
[0126] The initial resource allocation model construction module 303 is used to calculate the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and to construct the initial resource allocation model of the concurrent multi-link according to the channel capacity;
[0127] The resource allocation channel calculation module 304 is used to obtain the system computing resources corresponding to the concurrent multi-links, calculate the carrier-to-noise ratio of the system computing resources; calculate the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity and the initial resource allocation model;
[0128] The computing resource allocation module 305 is used to allocate the system computing resources according to the resource allocation channel to obtain the computing resources of each link in the concurrent multi-link.
[0129] In detail, each module described in the system computing resource allocation device 300 for multi-link concurrency in the embodiment of the present invention adopts the same method as above when used. Figure 1 to Figure 2 The same technical means as the system computing resource allocation method for multi-link concurrency described in , and can produce the same technical effects, will not be repeated here.
[0130] like Figure 4 , is a schematic diagram of the structure of an electronic device for implementing a system computing resource allocation method for multi-link concurrency provided by an embodiment of the present invention.
[0131] The electronic device 400 may include a processor 401, a memory 402, a communication bus 403, and a communication interface 404, and may also include a computer program stored in the memory 402 and executable on the processor 401, such as a system computing resource allocation method program for multi-link concurrency.
[0132] In some embodiments, the processor 401 may be composed of an integrated circuit, for example, a single packaged integrated circuit, or a plurality of integrated circuits with the same or different functions, including one or more central processing units (CPUs), microprocessors, digital processing chips, graphics processors, and combinations of various control chips. The processor 401 is the control core (ControlUnit) of the electronic device, and uses various interfaces and lines to connect various components of the entire electronic device, and executes or executes programs or modules stored in the memory 402 (for example, executing a system computing resource allocation method program for multi-link concurrency, etc.), and calls data stored in the memory 402 to execute various functions of the electronic device and process data.
[0133] The memory 402 includes at least one type of readable storage medium, and the readable storage medium includes a flash memory, a mobile hard disk, a multimedia card, a card-type memory (for example, an SD or DX memory, etc.), a magnetic memory, a disk, an optical disk, etc. The memory 402 may be an internal storage unit of an electronic device in some embodiments, such as a mobile hard disk of the electronic device. The memory 402 may also be an external storage device of an electronic device in other embodiments, such as a plug-in mobile hard disk, a smart memory card (Smart Media Card, SMC), a secure digital (Secure Digital, SD) card, a flash card (Flash Card), etc. equipped on the electronic device. Further, the memory 402 may also include both an internal storage unit of the electronic device and an external storage device. The memory 402 may not only be used to store application software and various types of data installed in the electronic device, such as the code of a system computing resource allocation method program for multi-link concurrency, but may also be used to temporarily store data that has been output or is to be output.
[0134] The communication bus 403 may be a Peripheral Component Interconnect (PCI) bus or an Extended Industry Standard Architecture (EISA) bus, etc. The bus may be divided into an address bus, a data bus, a control bus, etc. The bus is configured to realize connection and communication between the memory 402 and at least one processor 401, etc.
[0135] The communication interface 404 is used for communication between the above-mentioned electronic device and other devices, including a network interface and a user interface. Optionally, the network interface may include a wired interface and / or a wireless interface (such as a WI-FI interface, a Bluetooth interface, etc.), which is generally used to establish a communication connection between the electronic device and other electronic devices. The user interface may be a display (Display), an input unit (such as a keyboard (Keyboard)), and optionally, the user interface may also be a standard wired interface, a wireless interface. Optionally, in some embodiments, the display may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, and an OLED (Organic Light-Emitting Diode, organic light-emitting diode) touch device, etc. Among them, the display may also be appropriately referred to as a display screen or a display unit, which is used to display information processed in the electronic device and to display a visual user interface.
[0136] The figure only shows an electronic device with components. Those skilled in the art will understand that the structure shown in the figure does not constitute a limitation on the electronic device, and may include fewer or more components than shown in the figure, or combine certain components, or arrange the components differently.
[0137] For example, although not shown, the electronic device may also include a power source (such as a battery) for supplying power to each component. Preferably, the power source may be logically connected to the at least one processor 401 through a power management device, so that the power management device can realize functions such as charging management, discharging management, and power consumption management. The power source may also include any components such as one or more DC or AC power sources, recharging devices, power failure detection circuits, power converters or inverters, and power status indicators. The electronic device may also include a variety of sensors, Bluetooth modules, Wi-Fi modules, etc., which will not be repeated here.
[0138] It should be understood that the embodiment is for illustration only and the scope of the patent application is not limited to this structure.
[0139] The system computing resource allocation method program for multi-link concurrency stored in the memory 402 in the electronic device 400 is a combination of multiple instructions. When running in the processor 401, it can achieve:
[0140] Acquire an initial bandwidth accessed by each link in the concurrent multi-links, and calculate a computing power of each link based on the initial bandwidth;
[0141] Calculating the link interference of each link according to the calculated power, and calculating the signal-to-noise ratio of each link according to the link interference and the calculated power;
[0142] Calculating the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and constructing the initial resource allocation model of the concurrent multi-link according to the channel capacity;
[0143] Acquire the system computing resources corresponding to the concurrent multi-link, and calculate the carrier-to-noise ratio of the system computing resources; calculate the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity, and the initial resource allocation model;
[0144] The system computing resources are allocated according to the resource allocation channel to obtain computing resources for each link in the concurrent multi-links.
[0145] Specifically, the specific implementation method of the processor 401 for the above instructions can refer to the description of the relevant steps in the corresponding embodiment of the accompanying drawings, which will not be repeated here.
[0146] Furthermore, if the module / unit integrated in the electronic device 400 is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. The computer-readable storage medium can be volatile or non-volatile. For example, the computer-readable medium may include: any entity or device capable of carrying the computer program code, a recording medium, a USB flash drive, a mobile hard disk, a magnetic disk, an optical disk, a computer memory, and a read-only memory (ROM).
[0147] In the several embodiments provided by the present invention, it should be understood that the disclosed devices, apparatuses and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of the modules is only a logical function division, and there may be other division methods in actual implementation.
[0148] The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical units, that is, they may be located in one place or distributed on multiple network units. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0149] In addition, each functional module in each embodiment of the present invention may be integrated into one processing unit, 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 modules.
[0150] It is obvious to those skilled in the art that the present invention is not limited to the details of the above exemplary embodiments, and that the present invention can be implemented in other specific forms without departing from the spirit or essential characteristics of the present invention.
[0151] Therefore, no matter from which point of view, the embodiments should be regarded as illustrative and non-restrictive, and the scope of the present invention is limited by the appended claims rather than the above description, so it is intended that all changes falling within the meaning and scope of the equivalent elements of the claims are included in the present invention. Any attached figure mark in the claims should not be regarded as limiting the claims involved.
[0152] The embodiments of the present application can acquire and process relevant data based on artificial intelligence technology. Among them, artificial intelligence (AI) is the theory, method, technology and application system that uses digital computers or machines controlled by digital computers to simulate, extend and expand human intelligence, perceive the environment, acquire knowledge and use knowledge to obtain the best results.
[0153] In addition, it is clear that the word "comprising" does not exclude other units or steps, and the singular does not exclude the plural. Multiple units or devices stated in the system claim can also be implemented by one unit or device through software or hardware. The words first, second, etc. are used to indicate names, and do not indicate any particular order.
[0154] Finally, it should be noted that the above embodiments are only used to illustrate the technical solution of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the preferred embodiments, those skilled in the art should understand that the technical solution of the present invention can be modified or replaced by equivalents without departing from the spirit and scope of the technical solution of the present invention.
Claims
1. A method for allocating computing resources for a multi-link concurrent system, characterized in that: The method comprises: Acquire an initial bandwidth accessed by each link in the concurrent multi-links, and calculate a computing power of each link based on the initial bandwidth; Calculating the link interference of each link according to the calculated power, and calculating the signal-to-noise ratio of each link according to the link interference and the calculated power; Calculating the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and constructing the initial resource allocation model of the concurrent multi-link according to the channel capacity; Obtaining system computing resources corresponding to the concurrent multi-link, and calculating the carrier-to-noise ratio of the system computing resources; calculating the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity, and the initial resource allocation model; wherein calculating the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity, and the initial resource allocation model includes: The resource allocation channel of each link is calculated using the following formula: Wherein, f represents the resource allocation channel of each link, e represents a preset random variable, y represents the representation of the initial resource allocation model, ρ represents a preset response coefficient, represents the carrier-to-noise ratio of the system computing resources, I0 represents the system computing resources, r sn represents the signal-to-noise ratio of the link, represents the channel capacity of the link; The system computing resources are allocated according to the resource allocation channel to obtain computing resources for each link in the concurrent multi-links.
2. The system computing resource allocation method for multi-link concurrency according to claim 1, characterized in that: The calculating the computing power of each link based on the initial bandwidth includes: Collecting signal indicator information on each link, and calculating the signal power and noise power of each link based on the information; Calculating the calculation power of each link according to the signal power, the noise power and the initial bandwidth; The calculated power of each link is calculated using the following formula: Wherein, R represents the calculated power, β represents the preset benefit factor, b represents the initial bandwidth, S represents the signal power, and N represents the noise power.
3. The system computing resource allocation method for multi-link concurrency according to claim 1, characterized in that: The calculating the link interference of each link according to the calculated power includes: Obtaining the link distance of each link, and calculating the total transmission distance of the concurrent multi-links according to the link distance; Calculate the link interference of each link according to the link distance, the total transmission distance and the calculated power; The link interference of each link is calculated using the following formula: Wherein, D represents link interference, R represents the calculated power, e represents the link distance, τ represents a preset interference factor, E represents the total transmission distance, and N represents the noise power of the link.
4. The system computing resource allocation method for multi-link concurrency according to claim 1, characterized in that: The calculating the signal-to-noise ratio of each link according to the link interference and the calculated power includes: The signal-to-noise ratio of each link is calculated using the following formula: Among them, r sn represents the signal-to-noise ratio, R represents the calculation power, D represents the link interference, e represents the link distance, and τ represents the preset interference factor.
5. The system computing resource allocation method for multi-link concurrency according to claim 1, characterized in that: The calculating the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth includes: The channel capacity of each link is calculated using the following formula: in, represents the channel capacity, V represents the initial bandwidth, r sn represents the signal-to-noise ratio.
6. The system computing resource allocation method for multi-link concurrency according to claim 1, characterized in that: The constructing the initial resource allocation model of the concurrent multi-link according to the channel capacity includes: The initial resource allocation model is shown in the following formula: Wherein, y is the representation of the initial resource allocation model, h and x respectively represent the preset allocation coefficients, i represents the i-th link, and I represents the total number of links in the concurrent multi-link. represents the channel capacity of the i-th link, and T represents a preset time interval set.
7. The system computing resource allocation method for multi-link concurrency according to claim 1, characterized in that: The allocating the system computing resources according to the resource allocation channel to obtain the computing resources of each link in the concurrent multi-links includes: Rounding the resource allocation channels to obtain the number of channels for each link; Dividing the system computing resources according to the number of channels of each link to obtain the system computing resources corresponding to each resource allocation channel; The system computing resources are allocated according to the system computing resources corresponding to the number of each channel and the number of channels of each link to obtain the computing resources of each link in the concurrent multi-link.
8. A system computing resource allocation device for multi-link concurrency, characterized in that: The device comprises: A computing power calculation module, used to obtain the initial bandwidth of each link access in the concurrent multi-link, and calculate the computing power of each link based on the initial bandwidth; a signal-to-noise ratio calculation module, configured to calculate the link interference of each link according to the calculation power, and calculate the signal-to-noise ratio of each link according to the link interference and the calculation power; An initial resource allocation model construction module, used to calculate the channel capacity of each link according to the signal-to-noise ratio and the initial bandwidth, and to construct the initial resource allocation model of the concurrent multi-link according to the channel capacity; A resource allocation channel calculation module, used to obtain the system computing resources corresponding to the concurrent multi-link, calculate the carrier-to-noise ratio of the system computing resources; calculate the resource allocation channel of each link according to the carrier-to-noise ratio, the system computing resources, the channel capacity and the initial resource allocation model; wherein the resource allocation channel of each link is calculated according to the carrier-to-noise ratio, the system computing resources, the channel capacity and the initial resource allocation model, including: The resource allocation channel of each link is calculated using the following formula: Wherein, f represents the resource allocation channel of each link, e represents a preset random variable, y represents the representation of the initial resource allocation model, ρ represents a preset response coefficient, represents the carrier-to-noise ratio of the system computing resources, I0 represents the system computing resources, r sn represents the signal-to-noise ratio of the link, represents the channel capacity of the link; The computing resource allocation module is used to allocate the system computing resources according to the resource allocation channel to obtain the computing resources of each link in the concurrent multi-link.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and, a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the system computing resource allocation method for multi-link concurrency as described in any one of claims 1 to 7.
Citation Information
Patent Citations
Resource distribution strategy for OFDM relay system
CN103944700A
High-energy-efficiency resource allocation method in outdoor-to-indoor communication system
CN107592650A