Resource dynamic allocation method and system, electronic equipment and storage medium

By dynamically allocating edge base station resources under the control of the regional center base station, a computing resource cluster is formed, which solves the problem of real-time task processing caused by transmission delays between the cloud and edge servers, and achieves more efficient task processing and resource utilization.

CN118540746APending Publication Date: 2024-08-23CHINA MOBILE GROUP DESIGN INST +1
View PDF 0 Cites 3 Cited by

Patent Information

Application Number
CN202310174152.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-02-23
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

The transmission delay between the cloud and edge servers results in poor real-time processing of video computing tasks such as VR/AR.

Method used

Under the control of the regional center base station, collaborative edge base stations are determined based on the idle computing resources of the edge base stations, and their status information is sent to the service base station to form a computing resource cluster. The service base station allocates task content and summarizes it based on the status information of each base station. Processing results avoid assigning tasks to edge base stations far away from the terminal for processing.

Benefits of technology

It reduces the data transmission delay, improves the real-time nature of task processing, avoids assigning task content to edge base stations far away from the terminal for processing, and improves resource utilization and processing efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118540746A
    Figure CN118540746A
Patent Text Reader

Abstract

The invention discloses a resource dynamic allocation method and system, electronic equipment and a storage medium, and belongs to the technical field of computers. The method is applied to a regional center base station and comprises the following steps: receiving a task request; determining a collaborative edge base station according to idle computing power resources of the edge base station and the task request; and sending the state information of the collaborative edge base station to a service base station, so that the service base station distributes task contents corresponding to the task request to each base station according to the state information of each base station in a computing power resource cluster, summarizes task processing results of each base station in the computing power resource cluster, and sends the summarized task processing results to the service base station. Feeding back to the terminal initiating the task request; wherein the service base station is an edge base station currently accessed by a terminal initiating the task request, and the computing power resource cluster comprises the service base station and the collaborative edge base station. The task processing method and device aim at solving the technical problem that task processing is poor in real-time performance.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of computer technology, and in particular to a resource dynamic allocation method, system, electronic device and storage medium. Background Art

[0002] With the emergence of emerging applications such as the Internet of Things, AR / VR, and 4K / 8K video transmission, the amount of network data has exploded. In order to reduce the pressure of cloud data processing, computing tasks are usually transferred from the cloud to edge servers for task processing.

[0003] Although the above-mentioned collaborative work between the cloud and edge servers reduces the pressure of cloud data processing, for video computing tasks such as VR / AR, the transmission delay between the cloud and edge servers will lead to poor real-time performance of task processing. Summary of the invention

[0004] The main purpose of this application is to provide a resource dynamic allocation method, system, electronic device and storage medium, aiming to solve the technical problem of poor real-time performance of task processing.

[0005] To achieve the above object, the present application provides a resource dynamic allocation method, which is applied to a regional center base station, and the method includes:

[0006] Receive task requests;

[0007] Determine a collaborative edge base station according to the idle computing resources of the edge base station and the task request;

[0008] The status information of the collaborative edge base station is sent to the service base station, so that the service base station can distribute the task content corresponding to the task request to each base station according to the status information of each base station in the computing power resource cluster, and summarize the task processing results of each base station in the computing power resource cluster, and feed back to the terminal that initiates the task request; wherein the service base station is the edge base station currently connected to the terminal that initiates the task request, and the computing power resource cluster includes the service base station and the collaborative edge base station.

[0009] Optionally, the step of determining the collaborative edge base station according to the idle computing resources of the edge base station and the task request includes:

[0010] According to the idle computing power resources of the edge base station at the current moment and the idle computing power resources of the next time sequence, the edge base station is screened to obtain a candidate edge base station; wherein the idle computing power resources of the candidate edge base station within a preset time period are sufficient to process the task content corresponding to the task request; the preset time period includes the current moment and the next time sequence;

[0011] According to the QoS requirement corresponding to the task request, a collaborative edge base station is determined from the candidate edge base stations; wherein the QoS of the collaborative edge base station meets the QoS requirement.

[0012] Optionally, before the step of screening the edge base stations according to the idle computing resources of the edge base stations at the current moment and the idle computing resources of the next time sequence to obtain the candidate edge base stations, the step includes:

[0013] Obtaining service carrying data within a preset time granularity of the edge base station and idle computing resources of the edge base station at the current moment;

[0014] The service carrying data and the idle computing power resources at the current moment are input into a pre-trained computing power resource prediction model, and the idle computing power resources of the edge base station in the next time sequence are predicted based on the computing power resource prediction model to obtain the idle computing power resources of the edge base station in the next time sequence.

[0015] Optionally, the computing resource prediction model is pre-trained in the following manner:

[0016] Build a preset computing resource prediction model based on LSTM;

[0017] Using the historical service information of the edge base station and the historical idle computing resources at the corresponding time as training sample data, inputting the training sample data into the preset computing resource prediction model, and outputting the predicted idle computing resources corresponding to the training sample data;

[0018] Determine whether the model loss based on the predicted idle computing resources and the actual idle computing resources converges; if the model loss has not converged, update the preset computing resource prediction model based on the model loss, and return to execute the step of inputting the training sample data into the preset computing resource prediction model, outputting the predicted idle computing resources corresponding to the training sample data and subsequent steps until the model loss converges to obtain a trained computing resource prediction model.

[0019] Optionally, the computing power resource prediction model performs optimization training at intervals of a preset time period based on the service information of the edge base station within the preset time period and the idle computing power resources at the corresponding moment.

[0020] In addition, to achieve the above purpose, the present application also provides a resource dynamic allocation method, which is applied to a serving base station, where the serving base station is an edge base station currently accessed by a terminal that initiates a task request, and the method includes:

[0021] Receive task requests;

[0022] When the idle computing resources of the serving base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station, so that the regional center base station determines the collaborative edge base station according to the idle computing resources of the edge base station and the task request, and sends the status information of the collaborative edge base station to the serving base station;

[0023] According to the status information of each base station in the computing resource cluster, the task content corresponding to the task request is allocated to each base station; wherein the computing resource cluster includes the serving base station and the collaborative edge base station;

[0024] The task processing results of each base station in the computing resource cluster are summarized and fed back to the terminal that initiated the task request

[0025] Optionally, the step of allocating the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster includes:

[0026] According to the status information of each base station in the computing resource cluster and in accordance with the rule of minimizing the total processing delay, the task content corresponding to the task request is allocated to each base station.

[0027] In addition, to achieve the above purpose, the present application also provides a resource dynamic allocation system, the system includes a terminal, an edge base station and a regional center base station, the edge base station is controlled by the regional center base station;

[0028] The regional center base station is used to receive a task request; determine a collaborative edge base station according to the idle computing resources of the edge base station and the task request; send the status information of the collaborative edge base station to the serving base station; wherein the serving base station is the edge base station currently accessed by the terminal initiating the task request;

[0029] The service base station is used to receive task requests; when the idle computing resources of the service base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station; according to the status information of each base station in the computing power resource cluster, the task content corresponding to the task request is allocated to each base station; the task processing results of each base station in the computing power resource cluster are summarized and fed back to the terminal that initiated the task request; wherein the computing power resource cluster includes the service base station and the collaborative edge base station.

[0030] In addition, to achieve the above-mentioned purpose, the present application also provides an electronic device, which includes: a memory, a processor, and a resource dynamic allocation program stored in the memory and executable on the processor, wherein the resource dynamic allocation program is configured to implement the steps of the resource dynamic allocation method applied to the regional center base station as described above, or the resource dynamic allocation program is configured to implement the steps of the resource dynamic allocation method applied to the service base station as described above.

[0031] In addition, to achieve the above-mentioned purpose, the present application also provides a storage medium, on which a resource dynamic allocation program is stored. When the resource dynamic allocation program is executed by a processor, the steps of the resource dynamic allocation method applied to the regional center base station as described above are implemented, or, when the resource dynamic allocation program is executed by a processor, the steps of the resource dynamic allocation method applied to the service base station as described above are implemented.

[0032] The present application discloses a method, system, electronic device and storage medium for dynamic resource allocation. Compared with the prior art, in which the collaborative work between the cloud and the edge server reduces the pressure of cloud data processing, but the transmission delay between the cloud and the edge server leads to poor real-time performance of task processing, the regional center base station in the present application determines the collaborative edge base station according to the idle computing resources of the edge base stations under its control and the received task request, and then sends the status information of the edge base station to the service base station, that is, the edge base station currently connected to the terminal initiating the task request. The service base station and the collaborative edge base station form a computing resource cluster. The service base station allocates the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster, and the service base station summarizes the task processing results of each base station and feeds back to the terminal initiating the task request, thereby avoiding allocating the task content to the edge base station far away from the terminal for processing, reducing the delay of data transmission, and thus improving the real-time performance of task processing. BRIEF DESCRIPTION OF THE DRAWINGS

[0033] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.

[0034] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.

[0035] Figure 1 This is a flow chart of the first embodiment of the method for dynamic resource allocation of the present application;

[0036] Figure 2This is a flow chart of the second embodiment of the method for dynamic resource allocation of the present application;

[0037] Figure 3 It is a structural diagram of an electronic device applied to a hardware operating environment of a regional center base station according to an embodiment of the present application;

[0038] Figure 4 The embodiment of the present application relates to a schematic diagram of the structure of an electronic device in a hardware operating environment applied to a service base station.

[0039] The realization of the purpose, functional features and advantages of this application will be further explained in conjunction with embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION

[0040] It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0041] The present application provides a method for dynamically allocating resources. Figure 1 , Figure 1 This is a flowchart of the first embodiment of the method for dynamic resource allocation of the present application.

[0042] In this embodiment, the resource dynamic allocation method is applied to a regional center base station, and the method includes:

[0043] Step S10, receiving a task request;

[0044] Step S20: Determine a collaborative edge base station according to the idle computing resources of the edge base station and the task request;

[0045] Step S30: Send the status information of the collaborative edge base station to the service base station, so that the service base station can distribute the task content corresponding to the task request to each base station according to the status information of each base station in the computing power resource cluster, and summarize the task processing results of each base station in the computing power resource cluster, and feed back to the terminal that initiates the task request; wherein the service base station is the edge base station currently connected to the terminal that initiates the task request, and the computing power resource cluster includes the service base station and the collaborative edge base station.

[0046] After the regional center base station in this embodiment determines the collaborative edge base station based on the idle computing resources of the edge base stations it controls and the received task requests, it sends the status information of the edge base station to the service base station, that is, the edge base station currently connected to the terminal that initiates the task request. The service base station and the collaborative edge base station form a computing resource cluster. The service base station distributes the task content corresponding to the task request to each base station based on the status information of each base station in the computing resource cluster, and the service base station summarizes the task processing results of each base station and feeds back to the terminal that initiates the task request, thereby avoiding distributing the task content to an edge base station far away from the terminal for processing, reducing the data transmission delay, and thereby improving the real-time performance of task processing.

[0047] The specific steps are as follows:

[0048] Step S10: receiving a task request.

[0049] As an example, the task request received by the regional center base station is uploaded by the service base station. The service base station is the edge base station currently accessed by the terminal, and the terminal can access the edge base station through wireless communication. The terminal sends a task request to the service base station, and the service base station evaluates its own idle computing resources according to the task content corresponding to the task request. If the idle computing resources of the service base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station.

[0050] It should be noted that, in this embodiment, each regional central base station controls multiple edge base stations. That is, the service base station sends the task request to the regional central base station, which can be understood as the service base station sends the task request to the regional central base station under its control.

[0051] Step S20: Determine the collaborative edge base station according to the idle computing resources of the edge base station and the task request.

[0052] As an example, the step of determining the collaborative edge base station according to the idle computing resources of the edge base station and the task request includes:

[0053] Step S201: Screen the edge base stations according to the idle computing resources of the edge base station at the current moment and the idle computing resources of the next time sequence to obtain candidate edge base stations; wherein the idle computing resources of the candidate edge base stations within a preset time period are sufficient to process the task content corresponding to the task request.

[0054] It should be noted that the preset time period is the sum of the current time and the next time sequence. In this embodiment, after determining the collaborative base station, the regional center base station needs to send the status information of the collaborative base station to the service base station, and then the service base station allocates the task content corresponding to the task request to each base station, which has a certain delay. Therefore, the idle computing power resources of the candidate edge base station within the preset time period are sufficient to process the task content corresponding to the task request, which can avoid the situation where the idle computing power resources of the base station are not satisfied with the assigned task content when the base station obtains the assigned task content.

[0055] It should be noted that before the step of screening the edge base stations according to the idle computing resources of the edge base stations at the current moment and the idle computing resources of the next time sequence to obtain the candidate edge base stations, it is necessary to obtain the idle computing resources of the edge base stations at the current moment and the idle computing resources of the next time sequence. Among them, the edge base stations are all edge base stations controlled by the regional center base station.

[0056] As an example, the regional center base station can obtain the current idle computing resources and the current used computing resources of each edge base station under its control in real time through the base station interface.

[0057] As an example, the regional center base station can obtain the service carrying data within the preset time granularity of each edge base station under its control through the base station interface. The service carrying data and the idle computing power resources at the current moment are input into the pre-trained computing power resource prediction model, and the idle computing power resources of the edge base station in the next time sequence are predicted based on the computing power resource prediction model to obtain the idle computing power resources of the edge base station in the next time sequence.

[0058] Among them, the base station interface can be an X2 interface.

[0059] The preset time granularity can be set according to the actual application scenario and is not specifically limited in this embodiment. For example, the preset time granularity can be 15 minutes.

[0060] The service carrying data includes but is not limited to: uplink and downlink resource utilization, uplink and downlink service volume, network congestion rate, number of RRC connected users, etc.

[0061] As an example, the computing power resource prediction model is pre-trained in the following manner:

[0062] Build a preset computing resource prediction model based on LSTM;

[0063] Using the historical service information of the edge base station and the historical idle computing resources at the corresponding time as training sample data, inputting the training sample data into the preset computing resource prediction model, and outputting the predicted idle computing resources corresponding to the training sample data;

[0064] Determine whether the model loss based on the predicted idle computing resources and the actual idle computing resources converges; if the model loss has not converged, update the preset computing resource prediction model based on the model loss, and return to execute the step of inputting the training sample data into the preset computing resource prediction model, outputting the predicted idle computing resources corresponding to the training sample data and subsequent steps until the model loss converges to obtain a trained computing resource prediction model.

[0065] Among them, LSTM (based on deep long short-term memory network) is an advanced neural network architecture with a memory structure. It can extract features from the historical business information of edge base stations and the historical idle computing resources at the corresponding time without human intervention and data processing, and automatically learn and predict the idle computing resources in the next time series.

[0066] It should be noted that historical service information refers to the historical uplink and downlink resource utilization of each edge base station, the historical uplink and downlink service volume, the historical network congestion rate, the historical number of RRC connected users, etc.

[0067] As an example, the model loss can be calculated using the cross entropy loss function.

[0068] As an example, the computing power resource prediction model performs optimization training at intervals of a preset time period based on the service information of the edge base station within the preset time period and the idle computing power resources at the corresponding moment.

[0069] The preset time period can be set according to the actual application scenario and is not specifically limited in this embodiment. For example, the preset time period can be 7 days or 15 days.

[0070] The service information includes but is not limited to: uplink and downlink resource utilization, uplink and downlink service volume, network congestion rate, number of RRC connected users, etc.

[0071] It should be noted that the computing power resource prediction model is obtained by offline training using existing historical data, and then the computing power resource prediction model is optimized and trained at preset time intervals, so as to take into account both computing efficiency and the quality of resource allocation optimization.

[0072] Step S202: Determine a collaborative edge base station from the candidate edge base stations according to the QoS requirement corresponding to the task request; wherein the QoS of the collaborative edge base station meets the QoS requirement.

[0073] It should be noted that in this embodiment, the QoS of the collaborative edge base station used for collaborative processing tasks meets the QoS requirements corresponding to the task request, and can complete the data processing task under the premise of ensuring the quality of the mobile communication network.

[0074] Step S30: Send the status information of the collaborative edge base station to the service base station, so that the service base station can distribute the task content corresponding to the task request to each base station according to the status information of each base station in the computing power resource cluster, and summarize the task processing results of each base station in the computing power resource cluster, and feed back to the terminal that initiates the task request; wherein the service base station is the edge base station currently connected to the terminal that initiates the task request, and the computing power resource cluster includes the service base station and the collaborative edge base station.

[0075] It should be noted that the service base station that receives the status information of the coordinated edge base station fed back by the regional center base station and the service base station that receives the task request sent by the terminal may be the same or different.

[0076] As an example, the status information of the collaborative edge base station includes but is not limited to: resource usage and processing capacity.

[0077] As an example, the step of allocating the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster includes:

[0078] According to the status information of each base station in the computing resource cluster and in accordance with the rule of minimizing the total processing delay, the task content corresponding to the task request is allocated to each base station.

[0079] It should be noted that, in this embodiment, the task content corresponding to the task request is distributed to each base station according to the rule of minimizing the total processing delay, which reduces the delay of data transmission and improves the real-time performance of task processing.

[0080] The present application also provides a method for dynamically allocating resources. Figure 1 , Figure 1 This is a flowchart of the first embodiment of the method for dynamic resource allocation of the present application.

[0081] In this embodiment, the resource dynamic allocation method is applied to a serving base station, where the serving base station is an edge base station currently accessed by a terminal initiating a task request, and the method includes:

[0082] Step S01, receiving a task request;

[0083] Step S02: When the idle computing resources of the serving base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station, so that the regional center base station determines the collaborative edge base station according to the idle computing resources of the edge base station and the task request, and sends the status information of the collaborative edge base station to the serving base station;

[0084] Step S03: Allocate the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster; wherein the computing resource cluster includes the serving base station and the collaborative edge base station;

[0085] Step S04: Summarize the task processing results of each base station in the computing resource cluster and feed them back to the terminal that initiated the task request.

[0086] After receiving the status information of the collaborative edge base station sent by the regional center base station, the service base station in this embodiment forms a computing resource cluster with the service base station and the collaborative edge base stations. The service base station distributes the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster, and the service base station summarizes the task processing results of each base station and feeds back to the terminal that initiates the task request, thereby avoiding distributing the task content to an edge base station far away from the terminal for processing, reducing the delay of data transmission, and thereby improving the real-time performance of task processing.

[0087] The specific steps are as follows:

[0088] Step S01: receiving a task request.

[0089] As an example, the serving base station is an edge base station currently accessed by the terminal initiating the task request, and the terminal can access the edge base station through wireless communication. The task request received by the serving base station is sent by the terminal currently accessed by the serving base station.

[0090] Step S02: When the idle computing resources of the service base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station, so that the regional center base station can determine the collaborative edge base station according to the idle computing resources of the edge base station and the task request, and send the status information of the collaborative edge base station to the service base station.

[0091] As an example, after receiving the task request, the service base station evaluates its own idle computing resources according to the task content corresponding to the task request. If the idle computing resources of the service base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station.

[0092] As an example, Figure 2 As shown, when the idle computing resources of the service base station are sufficient to process the task content corresponding to the task request, the service base station performs the processing operation corresponding to the task content and feeds back the task processing result to the terminal that initiated the task request.

[0093] It should be noted that, in this embodiment, each regional central base station controls multiple edge base stations. That is, the service base station sends the task request to the regional central base station, which can be understood as the service base station sends the task request to the regional central base station under its control.

[0094] It should be noted that in this embodiment, the terminal first sends the task request to the service base station. When the idle computing resources of the service base station itself are sufficient to process the task content corresponding to the task request, the service base station performs the processing operation corresponding to the task content; when the idle computing resources of the service base station itself are not sufficient to process the task content corresponding to the task request, the regional center base station determines the collaborative edge base station based on the idle computing resources and task requests of the multiple edge base stations under its control, and the service base station and the collaborative edge base station jointly process the task content. On the one hand, in terms of space, it prevents the task content from being assigned to the edge base station far away from the terminal for processing, reduces the delay of data transmission, and thus improves the real-time performance of task processing. On the one hand, the task content is distributed in multiple edge base stations for processing, which reduces the data processing load of the regional center base station, alleviates peak congestion, and improves resource utilization.

[0095] Step S03: distribute the task content corresponding to the task request to each base station according to the status information of each base station in the computing power resource cluster; wherein the computing power resource cluster includes the service base station and the collaborative edge base station.

[0096] It should be noted that the service base station that receives the status information of the coordinated edge base station fed back by the regional center base station and the service base station that receives the task request sent by the terminal may be the same or different.

[0097] As an example, each base station in the computing resource cluster includes but is not limited to: resource usage and processing capacity.

[0098] As an example, the step of allocating the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster includes:

[0099] According to the status information of each base station in the computing resource cluster and in accordance with the rule of minimizing the total processing delay, the task content corresponding to the task request is allocated to each base station.

[0100] It should be noted that, in this embodiment, the task content corresponding to the task request is distributed to each base station according to the rule of minimizing the total processing delay, which reduces the delay of data transmission and improves the real-time performance of task processing.

[0101] Step S04: Summarize the task processing results of each base station in the computing resource cluster and feed them back to the terminal that initiated the task request.

[0102] The embodiment of the present application provides a resource dynamic allocation system. In this embodiment, the system includes a terminal, an edge base station and a regional center base station, and the edge base station is controlled by the regional center base station;

[0103] The regional center base station is used to receive a task request; determine a collaborative edge base station according to the idle computing resources of the edge base station and the task request; send the status information of the collaborative edge base station to the serving base station; wherein the serving base station is the edge base station currently accessed by the terminal initiating the task request;

[0104] The service base station is used to receive task requests; when the idle computing resources of the service base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station; according to the status information of each base station in the computing power resource cluster, the task content corresponding to the task request is allocated to each base station; the task processing results of each base station in the computing power resource cluster are summarized and fed back to the terminal that initiated the task request; wherein the computing power resource cluster includes the service base station and the collaborative edge base station.

[0105] Optionally, the regional center base station is further used for:

[0106] According to the idle computing power resources of the edge base station at the current moment and the idle computing power resources of the next time sequence, the edge base station is screened to obtain a candidate edge base station; wherein the idle computing power resources of the candidate edge base station within a preset time period are sufficient to process the task content corresponding to the task request; the preset time period includes the current moment and the next time sequence;

[0107] According to the QoS requirement corresponding to the task request, a collaborative edge base station is determined from the candidate edge base stations; wherein the QoS of the collaborative edge base station meets the QoS requirement.

[0108] Optionally, the regional center base station is further used for:

[0109] Obtaining service carrying data within a preset time granularity of the edge base station and idle computing resources of the edge base station at the current moment;

[0110] The service carrying data and the idle computing power resources at the current moment are input into a pre-trained computing power resource prediction model, and the idle computing power resources of the edge base station in the next time sequence are predicted based on the computing power resource prediction model to obtain the idle computing power resources of the edge base station in the next time sequence.

[0111] Optionally, the computing resource prediction model is pre-trained in the following manner:

[0112] Build a preset computing resource prediction model based on LSTM;

[0113] Using the historical service information of the edge base station and the historical idle computing resources at the corresponding time as training sample data, inputting the training sample data into the preset computing resource prediction model, and outputting the predicted idle computing resources corresponding to the training sample data;

[0114] Determine whether the model loss based on the predicted idle computing resources and the actual idle computing resources converges; if the model loss has not converged, update the preset computing resource prediction model based on the model loss, and return to execute the step of inputting the training sample data into the preset computing resource prediction model, outputting the predicted idle computing resources corresponding to the training sample data and subsequent steps until the model loss converges to obtain a trained computing resource prediction model.

[0115] Optionally, the regional center base station is further used for:

[0116] The computing power resource prediction model performs optimization training at intervals of a preset time period based on the service information of the edge base station within the preset time period and the idle computing power resources at the corresponding moment.

[0117] Optionally, the serving base station is further used for:

[0118] According to the status information of each base station in the computing resource cluster and in accordance with the rule of minimizing the total processing delay, the task content corresponding to the task request is allocated to each base station.

[0119] Optionally, the service base station is also used to perform processing operations corresponding to the task content when its idle computing resources are sufficient to process the task content corresponding to the task request, and to feed back the task processing results to the terminal that initiated the task request.

[0120] The implementation principle and beneficial effects of the dynamic resource allocation system shown in the embodiment of the present application can be specifically referred to the implementation principle and beneficial effects of the dynamic resource allocation method shown in any of the above embodiments, and will not be repeated here.

[0121] Reference Figure 3 , Figure 3 The embodiment of the present application relates to a schematic diagram of the structure of an electronic device in a hardware operating environment applied to a regional center base station.

[0122] like Figure 3As shown, the electronic device may include: a processor 1001, such as a central processing unit (CPU), a communication bus 1002, a user interface 1003, a network interface 1004, and a memory 1005. Among them, the communication bus 1002 is used to realize the connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. The network interface 1004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 1005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 1005 may also be a storage device independent of the aforementioned processor 1001.

[0123] Those skilled in the art will understand that Figure 3 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0124] like Figure 3 As shown, the memory 1005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a resource dynamic allocation program.

[0125] exist Figure 3 In the electronic device shown, the network interface 1004 is mainly used for data communication with other devices; the user interface 1003 is mainly used for data interaction with the user; the processor 1001 and the memory 1005 in the electronic device of the present application can be set in the electronic device, and the electronic device calls the resource dynamic allocation program stored in the memory 1005 through the processor 1001, and executes the resource dynamic allocation method applied to the regional center base station provided in the embodiment of the above-mentioned resource dynamic allocation method.

[0126] Reference Figure 4 , Figure 4 The embodiment of the present application relates to a schematic diagram of the structure of an electronic device in a hardware operating environment applied to a service base station.

[0127] like Figure 4As shown, the electronic device may include: a processor 2001, such as a central processing unit (CPU), a communication bus 2002, a user interface 2003, a network interface 2004, and a memory 2005. Among them, the communication bus 2002 is used to realize the connection and communication between these components. The user interface 2003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 2003 may also include a standard wired interface and a wireless interface. The network interface 2004 may optionally include a standard wired interface and a wireless interface (such as a wireless fidelity (WIreless-FIdelity, WI-FI) interface). The memory 2005 may be a high-speed random access memory (Random Access Memory, RAM) memory, or a stable non-volatile memory (Non-Volatile Memory, NVM), such as a disk memory. The memory 2005 may also be a storage device independent of the aforementioned processor 2001.

[0128] Those skilled in the art will understand that Figure 4 The structure shown in the figure does not constitute a limitation on the electronic device, and may include more or less components than shown in the figure, or combine certain components, or arrange the components differently.

[0129] like Figure 4 As shown, the memory 2005 as a storage medium may include an operating system, a data storage module, a network communication module, a user interface module and a resource dynamic allocation program.

[0130] exist Figure 4 In the electronic device shown, the network interface 2004 is mainly used for data communication with other devices; the user interface 2003 is mainly used for data interaction with the user; the processor 2001 and the memory 2005 in the electronic device of the present application can be set in the electronic device, and the electronic device calls the resource dynamic allocation program stored in the memory 2005 through the processor 2001, and executes the resource dynamic allocation method applied to the service base station provided in the embodiment of the above-mentioned resource dynamic allocation method.

[0131] An embodiment of the present application further provides a storage medium, on which a dynamic resource allocation program is stored. When the dynamic resource allocation program is executed by a processor, the steps of the dynamic resource allocation method applied to a regional center base station as described above are implemented.

[0132] The specific implementation method of the storage medium of the present application is basically the same as the above-mentioned embodiments of the dynamic resource allocation method applied to the regional center base station, and will not be repeated here.

[0133] An embodiment of the present application further provides a storage medium, on which a dynamic resource allocation program is stored. When the dynamic resource allocation program is executed by a processor, the steps of the dynamic resource allocation method applied to a serving base station as described above are implemented.

[0134] The specific implementation method of the storage medium of the present application is basically the same as the above-mentioned embodiments of the dynamic resource allocation method applied to the serving base station, and will not be repeated here.

[0135] It should be noted that, in this article, the terms "include", "comprises" or any other variations thereof are intended to cover non-exclusive inclusion, so that a process, method, article or system including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or system. In the absence of further restrictions, an element defined by the sentence "comprises a ..." does not exclude the existence of other identical elements in the process, method, article or system including the element.

[0136] The serial numbers of the above-mentioned embodiments of the present application are for description only and do not represent the advantages or disadvantages of the embodiments.

[0137] Through the description of the above implementation methods, those skilled in the art can clearly understand that the above-mentioned embodiment methods can be implemented by means of software plus a necessary general hardware platform, and of course by hardware, but in many cases the former is a better implementation method. Based on such an understanding, the technical solution of the present application is essentially or the part that contributes to the prior art can be embodied in the form of a software product, which is stored in a storage medium (such as ROM / RAM, magnetic disk, optical disk) as described above, and includes a number of instructions for a terminal device (which can be a mobile phone, computer, server, or network device, etc.) to execute the methods described in each embodiment of the present application.

[0138] The above are only preferred embodiments of the present application, and are not intended to limit the patent scope of the present application. Any equivalent structure or equivalent process transformation made using the contents of the present application specification and drawings, or directly or indirectly applied in other related technical fields, are also included in the patent protection scope of the present application.

Claims

1. A method for dynamic resource allocation, characterized in that: Applied to a regional center base station, the method comprises: Receive task requests; Determine a collaborative edge base station according to the idle computing resources of the edge base station and the task request; The status information of the collaborative edge base station is sent to the service base station, so that the service base station can distribute the task content corresponding to the task request to each base station according to the status information of each base station in the computing power resource cluster, and summarize the task processing results of each base station in the computing power resource cluster, and feed back to the terminal that initiates the task request; wherein the service base station is the edge base station currently connected to the terminal that initiates the task request, and the computing power resource cluster includes the service base station and the collaborative edge base station.

2. The method for dynamic resource allocation according to claim 1, characterized in that: The step of determining the coordinated edge base station according to the idle computing resources of the edge base station and the task request includes: According to the idle computing power resources of the edge base station at the current moment and the idle computing power resources of the next time sequence, the edge base station is screened to obtain a candidate edge base station; wherein the idle computing power resources of the candidate edge base station within a preset time period are sufficient to process the task content corresponding to the task request; the preset time period includes the current moment and the next time sequence; According to the QoS requirement corresponding to the task request, a collaborative edge base station is determined from the candidate edge base stations; wherein the QoS of the collaborative edge base station meets the QoS requirement.

3. The method for dynamic resource allocation according to claim 2, characterized in that: Before the step of screening the edge base stations according to the idle computing power resources of the edge base stations at the current moment and the idle computing power resources of the next time sequence to obtain the candidate edge base stations, the step includes: Obtaining service carrying data within a preset time granularity of the edge base station and idle computing resources of the edge base station at the current moment; The service carrying data and the idle computing power resources at the current moment are input into a pre-trained computing power resource prediction model, and the idle computing power resources of the edge base station in the next time sequence are predicted based on the computing power resource prediction model to obtain the idle computing power resources of the edge base station in the next time sequence.

4. The method for dynamic resource allocation according to claim 3, characterized in that: The computing resource prediction model is pre-trained in the following way: Build a preset computing resource prediction model based on LSTM; Using the historical service information of the edge base station and the historical idle computing resources at the corresponding time as training sample data, inputting the training sample data into the preset computing resource prediction model, and outputting the predicted idle computing resources corresponding to the training sample data; Determine whether the model loss based on the predicted idle computing resources and the actual idle computing resources converges; if the model loss has not converged, update the preset computing resource prediction model based on the model loss, and return to execute the step of inputting the training sample data into the preset computing resource prediction model, outputting the predicted idle computing resources corresponding to the training sample data and subsequent steps until the model loss converges to obtain a trained computing resource prediction model.

5. The method for dynamic resource allocation according to claim 3, characterized in that: The computing power resource prediction model performs optimization training at intervals of a preset time period based on the service information of the edge base station within the preset time period and the idle computing power resources at the corresponding moment.

6. A method for dynamic resource allocation, characterized in that: Applied to a serving base station, the serving base station is an edge base station currently accessed by a terminal initiating a task request, the method comprising: Receive task requests; When the idle computing resources of the serving base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station, so that the regional center base station determines the collaborative edge base station according to the idle computing resources of the edge base station and the task request, and sends the status information of the collaborative edge base station to the serving base station; According to the status information of each base station in the computing resource cluster, the task content corresponding to the task request is allocated to each base station; wherein the computing resource cluster includes the serving base station and the collaborative edge base station; The task processing results of each base station in the computing resource cluster are summarized and fed back to the terminal that initiated the task request.

7. The method for dynamic resource allocation according to claim 6, characterized in that: The step of allocating the task content corresponding to the task request to each base station according to the status information of each base station in the computing resource cluster includes: According to the status information of each base station in the computing resource cluster and in accordance with the rule of minimizing the total processing delay, the task content corresponding to the task request is allocated to each base station.

8. A resource dynamic allocation system, characterized in that: The system includes a terminal, an edge base station and a regional center base station, and the edge base station is controlled by the regional center base station; The regional center base station is used to receive a task request; determine a collaborative edge base station according to the idle computing resources of the edge base station and the task request; Sending the status information of the collaborative edge base station to a serving base station; wherein the serving base station is an edge base station to which the terminal initiating the task request is currently connected; The service base station is used to receive task requests; when the idle computing resources of the service base station are not sufficient to process the task content corresponding to the task request, the task request is sent to the regional center base station; according to the status information of each base station in the computing power resource cluster, the task content corresponding to the task request is allocated to each base station; the task processing results of each base station in the computing power resource cluster are summarized and fed back to the terminal that initiated the task request; wherein the computing power resource cluster includes the service base station and the collaborative edge base station.

9. An electronic device, characterized in that: The device includes: a memory, a processor, and a resource dynamic allocation program stored in the memory and executable on the processor, wherein the resource dynamic allocation program is configured to implement the steps of the resource dynamic allocation method as described in any one of claims 1 to 5, or the resource dynamic allocation program is configured to implement the steps of the resource dynamic allocation method as described in any one of claims 6 to 7.

10. A storage medium, characterized in that: The storage medium stores a resource dynamic allocation program, which, when executed by a processor, implements the steps of the resource dynamic allocation method as described in any one of claims 1 to 5, or, when executed by a processor, implements the steps of the resource dynamic allocation method as described in any one of claims 6 to 7.

Citation Information

Cited By

  • Distributed control method and system for urban street lamps

    CN119668842A

  • A distributed control method and system for urban street lamps

    CN119668842B

  • Model determination method and apparatus, device, computer storage medium, and computer program product

    WO2026219255A1