Software-defined heterogeneous wireless network resource preemption method and system

Through deep learning to calculate task priorities and optimize resource allocation, it solves the problem of difficulty in adapting resource allocation strategies to changes in heterogeneous wireless networks, improves business service quality and resource utilization, and achieves deterministic services and reduction of energy consumption.

CN118590933APending Publication Date: 2024-09-03XI AN JIAOTONG UNIV +1
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410849586.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-09-03

AI Technical Summary

Technical Problem

Heterogeneous wireless networks have challenges in resource allocation, topology discovery, and routing strategies. In particular, it is difficult to generate dynamic resource preemption allocation strategies that adapt to changes in the network environment, making it difficult for resource nodes to meet business-specific resource requirements.

Method used

A method based on deep learning is used to calculate task priority by obtaining attribute elements of heterogeneous wireless network tasks, build a resource allocation model and state space, use the dueling-DQN algorithm to optimize resource allocation, and implement dynamic priority and resource allocation strategies.

Benefits of technology

It improves the business service quality in software-defined heterogeneous wireless networks, provides deterministic services, optimizes resource utilization, reduces network energy consumption, and improves user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118590933A
    Figure CN118590933A
Patent Text Reader

Abstract

The invention discloses a resource preemption method and system of a heterogeneous wireless network based on software definition. The resource preemption method comprises the following steps: acquiring attribute elements of a heterogeneous wireless network task; based on the attribute elements, calculating the priorities of all the current heterogeneous wireless network tasks; and enabling the network task with the highest priority to enter a processing queue, and distributing network resources for the tasks newly added into the processing queue by adopting deep learning. According to the method, the business service quality in the software defined heterogeneous wireless network can be effectively improved, and deterministic service is provided for the network.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the technical field of resource allocation, and in particular relates to a resource preemption method and system for a software-defined heterogeneous wireless network. Background Art

[0002] Heterogeneous wireless networks are multi-hop networks that provide broad Internet coverage to a specific area. They play an important role in various application scenarios such as public safety, transportation, enterprise networks, mining fields, and emergency response. Heterogeneous wireless networks mainly consist of three types of nodes: clients (any end-user wireless device such as smartphones, laptops, etc.), routers (which build the wireless network backbone), and gateways (special routers that can connect to the Internet).

[0003] Heterogeneous wireless networks can be equipped with multiple wireless technologies, such as WiFi (IEEE 802.11), ZigBee (IEEE802.15.4) and WiMAX (IEEE 802.16), to achieve high coverage of the target area. Although wireless technology is developing steadily, there are still some shortcomings. For example, each node in a heterogeneous wireless network works independently, and the network topology and bandwidth resources cannot be obtained from a global perspective, making it difficult to manage it uniformly.

[0004] Software-defined heterogeneous wireless networks are the application of software-defined networks (SDN) to wireless networks. It decouples wireless control and wireless data forwarding functions from each other, and helps wireless networks become more flexible by abstracting network services and applications from the underlying wireless infrastructure. However, SDN-based wireless networks are also facing challenges such as resource allocation, topology discovery, and routing strategies.

[0005] In response to these situations, many scholars and organizations at home and abroad have conducted research on preemptive resource allocation strategies in various network environments. However, the research on resource preemption technology is mainly concentrated in fixed networks and mobile communication network environments, that is, only static resource preemption allocation strategies can be generated, which makes it difficult for many systems to generate dynamic resource preemption allocation strategies suitable for the current moment at any time according to changes in the network environment. The dynamics and complexity of heterogeneous wireless networks are reflected in the variability of the number and types of network resources, resulting in the problem that the remaining resources of the resource nodes are difficult to meet the specific resource requirements of each service. Because during the transmission of the service, the resource information on the path may change at any time, making it difficult for the resource allocation strategy obtained by traditional methods to meet the resource requirements of all services. Therefore, the preemption strategy generation algorithm in software-defined wireless heterogeneous networks still needs to be further studied. Summary of the invention

[0006] The purpose of the present invention is to provide a resource preemption method and system for a heterogeneous wireless network based on software definition to solve the above problems.

[0007] To achieve the above object, the present invention adopts the following technical solutions:

[0008] In a first aspect, the present invention provides a resource preemption method for a heterogeneous wireless network based on software definition, comprising:

[0009] Obtaining attribute elements of heterogeneous wireless network tasks;

[0010] Based on the attribute elements, the priority of all current heterogeneous wireless network tasks is calculated;

[0011] The network tasks with the highest priority enter the processing queue, and deep learning is used to allocate network resources to the tasks newly added to the processing queue.

[0012] Furthermore, the attribute elements of the heterogeneous wireless network task include: maximum waiting delay D, theoretical service duration S, actual service duration s, absolute deadline d, initial value v, current time t, and initial priority Pr.

[0013] Further, based on the attribute elements, the priority of all current heterogeneous wireless network tasks is calculated, including the following steps:

[0014] Calculate the immediate value IV(s) of the task, which represents the value accumulated over the execution time of the current task;

[0015]

[0016] Where: V represents the initial value of the task; p represents the variable parameter that adjusts the speed of generating immediate value; s p Indicates the actual execution time of the task, adjusted by the speed of generating immediate value; S p It represents the theoretical execution time of a task, adjusted for the speed at which immediate value is generated;

[0017] Calculate the residual value density RVD(s) of the task;

[0018]

[0019] Where: V represents the initial value of the task; IV(s) represents the immediate value of the task; S represents the theoretical execution time of the task; s represents the actual execution time of the task.

[0020] Calculate the execution urgency of the task φ(t);

[0021]

[0022] Where: d represents the absolute deadline of the task; t represents the current time.

[0023] Calculate the dynamic priority DyPr(T) of the task;

[0024] DyPr(T)=Pr+RVD(s)·φ(t)

[0025] Where: Pr represents the initial priority of the task; RVD(s) represents the residual value density of the task; φ(t) represents the urgency of the task execution.

[0026] Furthermore, deep learning is used to allocate network resources for tasks newly added to the processing queue, including the following steps:

[0027] Build resource allocation models;

[0028] Construct state space and action space based on resource allocation model;

[0029] Construct a reward function that takes the state space as input, outputs a vector of scores for each action in the action space and a score indicating how good the current state is, and obtains the best strategy for deployment by adding the score to each element in the vector and then subtracting the mean of the elements in the vector.

[0030] Furthermore, we construct a resource allocation model: resource node i has C i CPU cores and M i GB of memory, that is, the amount of computing resources and memory resources. After the task is submitted, after priority allocation, the j tasks that have recently entered the processing queue are selected. The resource requirements of the tasks are all known and are represented as vectors in represents the amount of computing resources required by task j, Represents the amount of memory resources required by task j.

[0031] Further, construct the state space:

[0032] The state space of the network includes the remaining resources of each resource node in the network and the resource requirements of the tasks waiting to be scheduled. The network state set s(t) is expressed as:

[0033] s(t)=s1(t)∪s2(t)

[0034] in,

[0035] s1(t)={c1,m1,c2,m2,…,c i ,m i}

[0036]

[0037] Where: s1(t) represents the state of the remaining resources of each resource node; s2(t) represents the state of the resource demand of the task waiting to be scheduled; c i and m i Respectively represent the remaining computing resources and memory resources of resource node i; and They respectively represent the computing resource requirements and memory resource requirements of task j waiting to be scheduled.

[0038] Constructing the action space:

[0039] The network contains a total of i resource nodes, j tasks waiting to be scheduled, and the number of action spaces is 2×i×j; the action set a is expressed as:

[0040]

[0041] Where: It represents the action of resource node i allocating computing resources to task j; Represents the action of resource node i allocating memory resources to task j.

[0042] Furthermore, set the reward function R:

[0043]

[0044] Where: N represents the number of resource nodes i in the network; C i represents the total computing resources of resource node i; m i Indicates the total memory resource amount of resource node i; c i Indicates the remaining computing resources of resource node i; m i Indicates the remaining memory resources of resource node i.

[0045] Using the dueling-DQN algorithm, the state space s is first used as input, and the feature vector is obtained after being processed by the convolution layer. The feature vector is then passed to the fully connected layer, and the output is a vector that scores each action in the action space and a score that represents the quality of the current state. The score is a real number. By adding the score to each element in the vector and then subtracting the mean of the elements in the vector, the optimal strategy for deploying service j to resource node i can be obtained.

[0046] In a second aspect, the present invention provides a resource preemption system for a heterogeneous wireless network based on software definition, comprising:

[0047] An element acquisition module, used to acquire attribute elements of heterogeneous wireless network tasks;

[0048] A priority acquisition module is used to calculate the priority of all current heterogeneous wireless network tasks based on attribute elements;

[0049] The resource allocation module is used to allow the network tasks with the highest priority to enter the processing queue, and uses deep learning to allocate network resources for the tasks newly added to the processing queue.

[0050] In a third aspect, the present invention provides a computer device, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of a resource preemption method for a software-defined heterogeneous wireless network when executing the computer program.

[0051] In a fourth aspect, the present invention provides a computer-readable storage medium storing a computer program, which, when executed by a processor, implements the steps of a resource preemption method for a software-defined heterogeneous wireless network.

[0052] Compared with the prior art, the present invention has the following technical effects:

[0053] The resource preemption method based on task dynamic priority proposed in the present invention can effectively improve the service quality of services in software-defined heterogeneous wireless networks and provide deterministic services for the network. First, for high-priority services with deterministic QoS requirements, the method can control the data flow in real time according to the network topology, resources and other states, so as to better guarantee the QoS of high-priority service flows and provide technical support for deterministic services in software-defined heterogeneous wireless networks. For lower-priority services, the method can adjust the preemption of these service flows in real time, minimize the impact on these services, and help improve the service experience of these users. From the perspective of the overall network, this method will help to reasonably allocate resources for various services in the network in real time, help resource reuse, effectively improve the resource utilization of the network, improve service quality, and help reduce the energy consumption of the network. BRIEF DESCRIPTION OF THE DRAWINGS

[0054] Figure 1 It is a flow chart of the present invention;

[0055] Figure 2 It is a logic block diagram of a resource dynamic preemption method based on a heterogeneous wireless network;

[0056] Figure 3 This is the dueling-DQN neural network model diagram. DETAILED DESCRIPTION

[0057] The present invention is further described below in conjunction with the accompanying drawings:

[0058] See also Figure 1, a resource preemption method for a heterogeneous wireless network based on software definition, comprising:

[0059] Obtaining attribute elements of heterogeneous wireless network tasks;

[0060] Based on the attribute elements, the priority of all current heterogeneous wireless network tasks is calculated;

[0061] The network tasks with the highest priority enter the processing queue, and deep learning is used to allocate network resources to the tasks newly added to the processing queue.

[0062] Specific:

[0063] Step 1: extract the attribute elements of the network task and calculate the priority of all current network tasks.

[0064] In step 1, the task attributes include: maximum waiting delay D, theoretical service time S, actual service time s, absolute deadline d, initial value V, current time t, and initial priority Pr.

[0065] In step 1, the method for calculating the priority of the current network task includes the following steps:

[0066] S1: Calculate the immediate value of the task IV(s), which indicates the accumulated value of the current task over the execution time;

[0067]

[0068] Where: V represents the initial value of the task; p represents the variable parameter that adjusts the speed of generating immediate value; s p Indicates the actual execution time of the task, adjusted by the speed of generating immediate value; S p It represents the theoretical execution time of a task, adjusted for the speed at which immediate value is generated;

[0069] S2: Calculate the residual value density RVD(s) of the task;

[0070]

[0071] Where: V represents the initial value of the task; IV(s) represents the immediate value of the task; S represents the theoretical execution time of the task; s represents the actual execution time of the task.

[0072] S3: Calculate the execution urgency of the task φ(t);

[0073]

[0074] Where: d represents the absolute deadline of the task; t represents the current time.

[0075] S4: Calculate task priority;

[0076] DyPr(T)=Pr+RVD(s)·φ(t)

[0077] Where: Pr represents the initial priority of the task; RVD(s) represents the residual value density of the task; φ(t) represents the urgency of the task execution.

[0078] Step 2: The network tasks with the highest priority enter the processing queue, and a deep learning algorithm is used to allocate network resources to the tasks newly added to the processing queue;

[0079] In step 2, using a deep learning algorithm to allocate network resources to network tasks includes the following steps:

[0080] S1: System modeling;

[0081] Resource node i has C i CPU cores and M i GB of memory, that is, the amount of computing resources and memory resources. It can process multiple tasks at the same time as long as the total demand of these tasks does not exceed its capacity. After the task is submitted, after priority allocation, the j tasks that have recently entered the processing queue are selected. The resource requirements of the tasks are all known and are represented as vectors in represents the amount of computing resources required by task j, Represents the amount of memory resources required by task j.

[0082] S2: construct state space;

[0083] The state space of the network includes the remaining resources of each resource node in the network and the resource requirements of the tasks waiting to be scheduled. The network state set s(t) is expressed as:

[0084] s(t)=s1(t)∪s2(t)

[0085] in,

[0086] s1(t)={c1,m1,c2,m2,…,c i ,m i}

[0087]

[0088] Where: s1(t) represents the state of the remaining resources of each resource node; s2(t) represents the state of the resource demand of the task waiting to be scheduled; c i and m i Respectively represent the remaining computing resources and memory resources of resource node i; and They respectively represent the computing resource requirements and memory resource requirements of task j waiting to be scheduled.

[0089] S3: Construct action space;

[0090] The network contains a total of i resource nodes, j tasks waiting to be scheduled, and the number of action spaces is 2×i×j; the action set a is expressed as:

[0091]

[0092] Where: It represents the action of resource node i allocating computing resources to task j; Represents the action of resource node i allocating memory resources to task j.

[0093] S4: Set reward function;

[0094] The purpose of this study is to optimize resource scheduling as much as possible and achieve higher resource utilization. Therefore, the fewer remaining resources a node has, the higher the reward it will receive. The reward function R is:

[0095]

[0096] Where: N represents the number of resource nodes i in the network; C i represents the total computing resources of resource node i; M i Indicates the total memory resource amount of resource node i; c i Indicates the remaining computing resources of resource node i; m i Indicates the remaining memory resources of resource node i.

[0097] refer to Figure 3 , using the dueling-DQN algorithm. First, the state space s is used as input, and the feature vector is obtained after being processed by the convolution layer. The feature vector is then passed to the fully connected layer, and the output is a vector that scores each action in the action space and a score that represents the quality of the current state. The score is a real number. By adding the score to each element in the vector and then subtracting the mean of the elements in the vector, the optimal strategy for deploying task j to resource node i can be obtained;

[0098] In summary, the present invention aims at the resource preemption problem existing in wireless heterogeneous networks, and proposes a resource allocation and preemption strategy based on real-time perception to improve the utilization rate of network resources. In heterogeneous wireless networks, through the centralized control advantage of SDN, the network resource status is perceived in real time, and a virtual resource pool of bandwidth resources is established; the QoS demand information of historical network services is used to dynamically judge the priority level of the current service, and a resource preemption objective function for a specific service is constructed; the resource preemption strategy and path selection scheme for artificial specific services are used to reduce the complexity of the resource preemption process, and the QoS demand guarantee of the service and the load balancing of the entire network are achieved.

[0099] In yet another embodiment of the present invention, a resource preemption system for a software-defined heterogeneous wireless network is provided, which can be used to implement the above-mentioned resource preemption method for a software-defined heterogeneous wireless network. Specifically, the system includes:

[0100] An element acquisition module, used to acquire attribute elements of heterogeneous wireless network tasks;

[0101] A priority acquisition module is used to calculate the priority of all current heterogeneous wireless network tasks based on attribute elements;

[0102] The resource allocation module is used to allow the network tasks with the highest priority to enter the processing queue, and uses deep learning to allocate network resources for the tasks newly added to the processing queue.

[0103] The division of modules in the embodiments of the present invention is schematic and is only a logical function division. There may be other division methods in actual implementation. In addition, each functional module in each embodiment of the present invention may be integrated into one processor, or may exist physically separately, or two or more modules may be integrated into one module. The above-mentioned integrated modules may be implemented in the form of hardware or in the form of software functional modules.

[0104] In another embodiment of the present invention, a computer device is provided, the computer device including a processor and a memory, the memory is used to store a computer program, the computer program includes program instructions, and the processor is used to execute the program instructions stored in the computer storage medium. The processor may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components, etc., which are the computing core and control core of the terminal, which are suitable for implementing one or more instructions, and are specifically suitable for loading and executing one or more instructions in a computer storage medium to implement a corresponding method flow or a corresponding function; the processor described in the embodiment of the present invention can be used for the operation of a resource preemption method based on a software-defined heterogeneous wireless network.

[0105] In another embodiment of the present invention, the present invention further provides a storage medium, specifically a computer-readable storage medium (Memory), which is a memory device in a computer device for storing programs and data. It can be understood that the computer-readable storage medium here can include both built-in storage media in a computer device and, of course, extended storage media supported by the computer device. The computer-readable storage medium provides a storage space, which stores the operating system of the terminal. In addition, one or more instructions suitable for being loaded and executed by a processor are also stored in the storage space, and these instructions can be one or more computer programs (including program codes). It should be noted that the computer-readable storage medium here can be a high-speed RAM memory or a non-volatile memory, such as at least one disk memory. The processor can load and execute one or more instructions stored in the computer-readable storage medium to implement the corresponding steps of the resource preemption method for a software-defined heterogeneous wireless network in the above embodiment.

[0106] Those skilled in the art will appreciate that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0107] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0108] These computer program instructions may also be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0109] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0110] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.

Claims

1. A resource preemption method for a heterogeneous wireless network based on software definition, characterized in that: include: Obtaining attribute elements of heterogeneous wireless network tasks; Based on the attribute elements, the priority of all current heterogeneous wireless network tasks is calculated; The network tasks with the highest priority enter the processing queue, and deep learning is used to allocate network resources to the tasks newly added to the processing queue.

2. The resource preemption method for a software-defined heterogeneous wireless network according to claim 1, characterized in that: The attribute elements of heterogeneous wireless network tasks include: maximum waiting delay D, theoretical service time S, actual service time s, absolute deadline d, initial value V, current time t, and initial priority Pr.

3. The resource preemption method for a software-defined heterogeneous wireless network according to claim 1, characterized in that: Based on the attribute elements, the priority of all current heterogeneous wireless network tasks is calculated, including the following steps: Calculate the immediate value IV(s) of the task, which represents the value accumulated over the execution time of the current task; Where: V represents the initial value of the task; p represents the variable parameter that adjusts the speed of generating immediate value; s p Indicates the actual execution time of the task, adjusted by the speed of generating immediate value; S p It represents the theoretical execution time of a task, adjusted for the speed at which immediate value is generated; Calculate the residual value density RVD(s) of the task; Where: V represents the initial value of the task; IV(s) represents the immediate value of the task; S represents the theoretical execution time of the task; s represents the actual execution time of the task; Calculate the execution urgency of the task φ(t); Where: d represents the absolute deadline of the task; t represents the current time; Calculate the dynamic priority DyPr(T) of the task; DyPr(T)=Pr+RVD(s)·φ(t) Where: Pr represents the initial priority of the task; RVD(s) represents the residual value density of the task; φ(t) represents the urgency of the task execution.

4. The resource preemption method for a software-defined heterogeneous wireless network according to claim 1, characterized in that: Using deep learning to allocate network resources for tasks newly added to the processing queue includes the following steps: Build resource allocation models; Construct state space and action space based on resource allocation model; Construct a reward function that takes the state space as input, outputs a vector of scores for each action in the action space and a score indicating how good the current state is, and obtains the best strategy for deployment by adding the score to each element in the vector and then subtracting the mean of the elements in the vector.

5. The resource preemption method for a software-defined heterogeneous wireless network according to claim 4, characterized in that: Construct resource allocation model: resource node i has C i CPU cores and M i GB of memory, which is the amount of computing resources and memory resources; After the task is submitted, after priority allocation, the j tasks that have recently entered the processing queue are selected. The resource requirements of the tasks are all known and are represented as vectors in represents the amount of computing resources required for task j, Represents the amount of memory resources required by task j.

6. The resource preemption method for a software-defined heterogeneous wireless network according to claim 4, characterized in that: Construct the state space: The state space of the network includes the remaining resources of each resource node in the network and the resource requirements of the tasks waiting to be scheduled. The network state set s(t) is expressed as: s(t)=s1(t)∪s2(t) in, s1(t)={c1,m1,c2,m2,…,c i ,m i } Where: s1(t) represents the state of the remaining resources of each resource node; s2(t) represents the state of the resource demand of the task waiting to be scheduled; c i and m i Respectively represent the remaining computing resources and memory resources of resource node i; r j c and r j m They represent the computing resource requirements and memory resource requirements of task j waiting to be scheduled respectively; Constructing the action space: The network contains a total of i resource nodes, j tasks waiting to be scheduled, and the number of action spaces is 2×i×j; the action set a is expressed as: Where: It represents the action of resource node i allocating computing resources to task j; Represents the action of resource node i allocating memory resources to task j.

7. The resource preemption method for a software-defined heterogeneous wireless network according to claim 4, characterized in that: Set the reward function R: Where: N represents the number of resource nodes i in the network; C i represents the total computing resources of resource node i; M i Indicates the total memory resource amount of resource node i; c i Indicates the remaining computing resources of resource node i; m i Indicates the remaining memory resources of resource node i; Using the dueling-DQN algorithm, the state space s is first taken as input, and the feature vector is obtained after being processed by the convolution layer. The feature vector is then passed to the fully connected layer, and the output is a vector that scores each action in the action space and a score that represents the quality of the current state. The score is a real number. By adding the score to each element in the vector and then subtracting the mean of the elements in the vector, the optimal strategy for deploying service j to resource node i can be obtained.

8. A resource preemption system for heterogeneous wireless networks based on software definition, characterized in that: include: An element acquisition module, used to acquire attribute elements of heterogeneous wireless network tasks; A priority acquisition module is used to calculate the priority of all current heterogeneous wireless network tasks based on attribute elements; The resource allocation module is used to allow the network tasks with the highest priority to enter the processing queue, and uses deep learning to allocate network resources for the tasks newly added to the processing queue.

9. A computer device comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, characterized in that: When the processor executes the computer program, the steps of the resource preemption method based on software-defined heterogeneous wireless networks as described in any one of claims 1 to 7 are implemented.

10. A computer-readable storage medium storing a computer program, characterized in that: When the computer program is executed by a processor, the steps of a resource preemption method for a software-defined heterogeneous wireless network as described in any one of claims 1 to 7 are implemented.