Resource allocation method and device, base station, readable storage medium and program product

By allocating the reserved resources of low-priority services to high-priority services in the base station and switching the low-priority services to the target resources, the problem of long-term interruption of low-priority services in traditional technology is solved and the service is realized. Operational guarantee of continuity and high-priority services.

CN119342611AInactive Publication Date: 2025-01-21REALME MOBILE TELECOMM SHENZHEN CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310897201.5
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-07-20
Publication Date
2025-01-21
Estimated Expiration
Not applicable · inactive patent

AI Technical Summary

Technical Problem

Traditional technology may lead to long-term business interruption in low-priority services when resource allocation is required for high-priority services.

Method used

When a high-priority service needs to seize a low-priority service resource, the reserved resources of the low-priority service are allocated to the high-priority service, and the low-priority service is switched to a target resource other than the reserved resources.

Benefits of technology

This ensures that high-priority services can continue to run while avoiding long-term service interruptions for low-priority services due to resource preemption to achieve business continuity.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119342611A_ABST
    Figure CN119342611A_ABST
Patent Text Reader

Abstract

The invention relates to a resource allocation method and device, a base station, a readable storage medium and a program product. The method comprises the following steps: under the condition that a first service needs to preempt resources of a second service, allocating reserved resources of the second service to the first service; the priority of the first service is higher than that of the second service; switching the second service to a target resource; the target resources are resources except the reserved resources. By adopting the method, the problem of long-time service interruption of the service of which the resources are preempted can be avoided.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of communication technology, and in particular to a resource allocation method, device, base station, readable storage medium and program product. Background Art

[0002] With the development of communication technology, different types of services have different requirements for latency and rate. In the same network, multiple services may coexist and be scheduled.

[0003] In traditional technology, when a high-priority service needs to allocate resources but there are no idle resources, the base station will preempt the resources of the low-priority service and allocate the preempted resources to the high-priority service. However, traditional technology may cause the service whose resources are preempted to be interrupted for a long time. Summary of the invention

[0004] The embodiments of the present application provide a resource allocation method, device, base station, readable storage medium and program product, which can avoid the problem of long-term service interruption of services whose resources are preempted.

[0005] In a first aspect, an embodiment of the present application provides a resource allocation method, which is applied to a base station, and the method includes:

[0006] In the case where the first service needs to preempt the resources of the second service, the reserved resources of the second service are allocated to the first service; the priority of the first service is higher than the priority of the second service;

[0007] The second service is switched to a target resource; the target resource is a resource other than the reserved resource.

[0008] In a second aspect, an embodiment of the present application provides a resource allocation device, which is applied to a base station, and includes:

[0009] A first allocation module, configured to allocate reserved resources of a second service to the first service when the first service needs to preempt resources of the second service; the priority of the first service is higher than the priority of the second service;

[0010] A switching module is used to switch the second service to a target resource; the target resource is a resource other than the reserved resource.

[0011] In a third aspect, an embodiment of the present application provides a base station, comprising a transceiver, a memory and a processor, wherein the memory stores a computer program, and when the computer program is executed by the processor, the processor executes the steps of the resource allocation method described in the first aspect.

[0012] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium having a computer program stored thereon, and when the computer program is executed by a processor, the steps of the method described in the first aspect are implemented.

[0013] In a fifth aspect, an embodiment of the present application provides a computer program product, including a computer program, which implements the steps of the method described in the first aspect when executed by a processor.

[0014] The above-mentioned resource allocation method, device, base station, readable storage medium and program product, when a high-priority first service needs to preempt the resources of a low-priority second service, allocates the reserved resources of the second service to the first service, and switches the second service to target resources other than the reserved resources. In this way, the first service can continue to run using the allocated reserved resources, and the second service can continue to run using the switched target resources. While ensuring that the first service can run, the problem of long-term business interruption after the resources of the second service are allocated to the first service is avoided, and the second service can achieve business continuity on other resources. BRIEF DESCRIPTION OF THE DRAWINGS

[0015] 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, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0016] Figure 1 An application environment diagram of a resource allocation method in an embodiment;

[0017] Figure 2 is a flow chart of a resource allocation method in one embodiment;

[0018] Figure 3 A flowchart of a resource allocation method in another embodiment;

[0019] Figure 4 A flowchart of a resource allocation method in another embodiment;

[0020] Figure 5 A flowchart of a resource allocation method in another embodiment;

[0021] Figure 6 A flowchart of a resource allocation method in another embodiment;

[0022] Figure 7 is a structural block diagram of a resource allocation device in an embodiment;

[0023] Figure 8 is a structural block diagram of a resource allocation device in another embodiment;

[0024] Fig. 9 is a structural block diagram of a resource allocation device in another embodiment;

[0025] Fig.10 is a structural block diagram of a resource allocation device in another embodiment;

[0026] Fig.11 is a structural block diagram of a resource allocation device in another embodiment;

[0027] Fig.12 is a structural block diagram of a resource allocation device in another embodiment;

[0028] Fig.13 is a structural block diagram of a resource allocation device in another embodiment;

[0029] Fig.14 is a structural block diagram of a resource allocation device in another embodiment;

[0030] Fig.15 is a structural block diagram of a resource allocation device in another embodiment;

[0031] Fig.16 is a structural block diagram of a resource allocation device in another embodiment;

[0032] Fig.17 is a structural block diagram of a resource allocation device in another embodiment;

[0033] Fig.18 FIG. 4 is a schematic diagram of the structure of a base station in an embodiment. DETAILED DESCRIPTION

[0034] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. 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.

[0035] The resource allocation method provided in the embodiment of the present application can be applied to Figure 1In the application environment shown. Among them, the base station 104 is a device deployed in the access network to provide wireless communication functions for the terminal 102. In systems using different wireless access technologies, the names of devices with base station functions may be different. For example, in the LTE system, it is called an evolved node (evolved Node B, eNodeB) or eNB; in the 5G new radio (New Radio, NR) system, it is called gNodeB or gNB. Wireless communication can be carried out between the terminal 102 and the base station 104. The terminal 102 can be a smart phone, a tablet computer, a personal computer, a laptop, a wearable device, a vehicle-mounted device, etc. The base station 104 can be any type of base station device such as a macro base station, a micro base station or a pico base station.

[0036] Currently, three types of services are defined in 5G networks, including Ultra-Reliable and Low Latency Communications (URLLC) services, Enhanced Mobile Broadband (eMBB) services, and Massive Machine-Type Communications (eMTC) services. Each service has different requirements for latency and rate. In the same network, there will be a phenomenon of multiple services coexisting and scheduling. The communication protocol does not stipulate the resource allocation of these three services, which is implemented independently by each manufacturer. When a high-priority service (for example, a URLLC service with strict latency requirements) needs to be allocated resources but there are no idle resources at this time, the network will preempt the low-priority service (for example, an eMBB service with relatively loose latency requirements) and preempt the resources allocated to the low-priority service for the high-priority service. This may cause the preempted low-priority service to be interrupted. Furthermore, if the resources allocated to the low-priority service are concentrated in the preemption area, the low-priority service will be interrupted for a long time. Based on this, the present application proposes a resource allocation method, device, base station, readable storage medium and program product, which can avoid the problem of long-term service interruption of services whose resources are preempted.

[0037] In one embodiment, Figure 2 As shown, a resource allocation method is provided, which is applied to Figure 1 The base station in FIG. 1 is taken as an example to illustrate, and the following steps are included:

[0038] S201, when a first service needs to seize resources of a second service, allocate reserved resources of the second service to the first service; the priority of the first service is higher than that of the second service.

[0039] Among them, the first service is a high-priority service, and the second service is a low-priority service. The high-priority service refers to the service with strict latency requirements, such as URLLC service, and the low-priority service refers to the service with relatively loose latency requirements, such as eMBB service.

[0040] It should be noted that the terminal will carry the Quality of Service (QoS) parameters when initiating a service. The base station can determine whether the service is a high-priority service based on the QoS parameters. For example, the base station can determine whether there is terminal access for URLLC services in the network, or whether there is terminal access for autonomous driving V2X services based on the QoS parameters. If there is terminal access for these services, or the terminal initiates these services, it is considered that high-priority services are being carried out.

[0041] Furthermore, when the base station determines that a high-priority first service is accessed in the network, if there are no resources allocated to the first service in the network, the base station can determine that the reserved resources of the low-priority second service need to be allocated to the high-priority first service. At this time, the base station can allocate the reserved resources of the second service to the first service.

[0042] S202, switching the second service to target resources; the target resources are resources other than reserved resources.

[0043] In this embodiment, after the base station allocates the reserved resources of the second service to the first service, the first service can be operated using the allocated reserved resources. In addition, the second service can be switched to target resources other than the above-mentioned reserved resources so that the second service can continue to operate the second service using the switched target resources, thereby avoiding the problem of service interruption of the second service due to the allocation of resources to the first service.

[0044] Optionally, in this embodiment, the base station may switch the second service to target resources other than reserved resources through a radio resource control (Radio Resource Control, RRC) connection reconfiguration message, or may switch the second service to target resources other than reserved resources through downlink control information (Downlink Control Information, DCI).

[0045] Optionally, in this embodiment, the base station may allocate all reserved resources for the second service to the high-priority first service, or may allocate part of the reserved resources for the second service to the high-priority first service. This embodiment does not impose any restrictions on the reserved resources allocated to the first service.

[0046] In the above resource allocation method, when a high-priority first business needs to preempt the resources of a low-priority second business, the reserved resources of the second business are allocated to the first business, and the second business is switched to target resources other than the reserved resources. In this way, the first business can continue to run using the allocated reserved resources, and the second business can continue to run using the switched target resources. While ensuring that the first business can run, the problem of long-term business interruption after the resources of the second business are allocated to the first business is avoided, and the second business can achieve business continuity on other resources.

[0047] In the above scenario of allocating the reserved resources of the second service to the first service and switching the second service to the target resources, it is necessary to allocate the reserved resources and the target resources to the second service in advance. In one embodiment, the above method further includes: step A, allocating reserved resources to the target terminal corresponding to the second service in the preemption area, and allocating target resources to the target terminal outside the preemption area; the preemption area includes reserved frequency domain resources.

[0048] In this embodiment, the preemption area is a reserved frequency domain resource determined in advance from the total frequency domain resources of the network, that is, the base station can determine a part of the frequency domain resources in the total frequency domain resources of the network as the above-mentioned preemption area. Further, it can be understood that the base station allocates reserved resources to the target terminal corresponding to the second service in the preemption area, that is, the reserved resources allocated by the base station to the target terminal corresponding to the second service are frequency domain resources determined from the reserved frequency domain resources included in the preemption area.

[0049] The specific implementation method for determining the preemption area is described below:

[0050] First, the base station can determine the above-mentioned preemption area based on the total frequency domain resources of the network and the preset preemption resource ratio. For example, the preset preemption resource ratio can be 5%, that is, the base station can determine 5% of the total frequency domain resources of the network as the above-mentioned preemption area.

[0051] The second type: the base station can determine the above-mentioned preemption area from the total frequency domain resources of the network based on the amount of resources corresponding to the first service in the historical time period. For example, the base station can determine the above-mentioned preemption area based on the peak value of the frequency domain resources used by the high-priority first service unit time in the past week. Exemplarily, the base station can determine the peak value of the frequency domain resources used by the first service unit time in the total frequency domain resources of the network in the past week as the above-mentioned preemption area, or the base station can determine the above-mentioned preemption area from the total frequency domain resources of the network according to the ratio of the peak value of the frequency domain resources used by the first service unit time in the past week to the total frequency domain resources of the network.

[0052] It should be noted that Bandwidth Part (BWP) is a technology introduced in the 5G network, which allows the terminal to work on a certain frequency (BWP) in the entire 5G frequency band. The bandwidth of 5G is large. If each terminal monitors the channel and transmits data within the entire bandwidth, this will also cause terminal power consumption; in addition, on each BWP, different carrier intervals can also be set to meet the needs of different services. The BWP of each terminal is allocated by the base station equipment. Multiple BWPs can be allocated, but only one can be activated. The reserved resources and target resources in this embodiment are multiple BWPs allocated to the target terminal. Optionally, in this embodiment, the base station can allocate the above-mentioned reserved resources to the target terminal in the preemption area according to the allocation strategy that the frequency band of the allocated reserved resources does not overlap with the frequency band of the allocated target resources, and allocate the above-mentioned target resources to the target terminal outside the preemption area.

[0053] In this embodiment, the base station allocates reserved resources to the target terminal corresponding to the second service in the preemption area including the reserved frequency domain resources, and allocates target resources to the target terminal outside the preemption area. This ensures that when a high-priority first service in the network needs to be allocated reserved resources for the second service, the second service can be switched to the target resources outside the preemption area to ensure the continued operation of the second service and avoid service interruption or even long-term service interruption of the second service.

[0054] In this embodiment, the detailed process of determining the target terminal corresponding to the second service is described. In one embodiment, the method further includes: step B, determining the target terminal from each terminal according to the capability reporting information of each terminal in the network.

[0055] First of all, it should be noted that the 3rd Generation Partnership Project (3GPP) protocol specification stipulates that if the terminal supports resources being preempted, the terminal will report pre-EmptIndication-DL under the new radio (NR) physical layer capability Phy-Parameters to inform the network that its own support resources are preempted. In this embodiment, as an optional implementation, the base station can determine the terminal that reports the pre-EmptIndication-DL capability information as the target terminal based on the capability reporting information of each terminal in the network.

[0056] As an optional implementation, before the base station determines the target terminal from each terminal according to the capability reporting information of each terminal in the network, the base station may first determine whether the base station needs to allocate the frequency domain resources in the above-mentioned preempted area according to the number of terminals in the network or the frequency domain resource range of the network. When the base station determines that the frequency domain resources in the above-mentioned preempted area need to be allocated, the base station determines the target terminal from each terminal according to the capability reporting information of each terminal. For example, the base station may determine whether the base station needs to allocate the frequency domain resources in the above-mentioned preempted area according to whether the number of terminals in the network exceeds the network capacity, that is, if the number of terminals in the network exceeds the network capacity, the base station may determine that the frequency domain resources in the above-mentioned preempted area need to be allocated. As another example, the base station may determine whether the frequency domain resources in the above-mentioned preempted area need to be allocated according to whether the frequency domain resource range currently required by all terminals in the network is greater than the total frequency domain resource range of the network, that is, when the frequency domain resource range currently required by all terminals in the network is greater than the total frequency domain resource range of the network, the base station may determine that the frequency domain resources in the above-mentioned preempted area need to be allocated. Further, when the base station determines that the frequency domain resources in the preemption area need to be allocated, the base station can perform the above-mentioned step of determining the target terminal from each terminal according to the capability reporting information of each terminal. It can be understood that when the base station determines that the frequency domain resources in the reserved preemption area need to be allocated, the base station determines the target terminal from each terminal according to the capability reporting information of each terminal, which can avoid waste of resources.

[0057] In this embodiment, the base station reports information based on the capabilities of each terminal, and the process of determining the target terminal from each terminal is relatively simple and does not require too many complex calculations, so that the target terminal can be quickly determined from each terminal in the network, thereby improving the efficiency of determining the target terminal.

[0058] In some scenarios, the base station may first determine whether to allocate the reserved resources of the low-priority second service to the first service based on whether there are available frequency domain resources in the preemption area. Figure 3 As shown, the above method also includes:

[0059] S301, determining whether there are available frequency domain resources in the preemption area.

[0060] The available frequency domain resources may include idle frequency domain resources in the preempted area and remaining frequency domain resources in the preempted area.

[0061] Optionally, in this embodiment, the base station can determine whether there are available frequency domain resources in the preemption area according to the current network resource load of the network. For example, if the current network resource load is not serious, it can be determined that the frequency domain resources in the preemption area are not completely occupied, and there are available frequency domain resources in the preemption area; if the current network resource load is serious, it can be determined that the frequency domain resources in the preemption area are completely occupied, and there are no available frequency domain resources in the preemption area.

[0062] S302: If there are no available frequency domain resources in the preemption area, it is determined that the reserved resources of the second service need to be allocated to the first service.

[0063] In this embodiment, if the base station determines that there are no available frequency domain resources in the above-mentioned preemption area, it means that there are no available frequency domain resources in the reserved frequency domain resources. In order to ensure the operation of the high-priority first service, the base station needs to allocate the reserved resources of the low-priority second service to the first service.

[0064] Optionally, as another possible situation, the base station may also determine that there are available frequency domain resources in the above-mentioned preemption area. In this case, the base station can allocate the available frequency domain resources in the preemption area to the high-priority first service so that the high-priority service can run. It is understandable that when there are available frequency domain resources in the preemption area, the base station allocates the available frequency domain resources in the preemption area to the priority first service, which can reduce unnecessary resource preemption, while also ensuring the operation of the low-priority second service and avoiding the problem of service interruption of the second service.

[0065] In this embodiment, the base station determines whether there are available frequency domain resources in the preemption area. If it is determined that there are no available frequency domain resources in the preemption area, it determines that the reserved resources of the low-priority second service need to be allocated to the first service. This can reduce unnecessary resource preemption, ensure that both the first service and the second service can operate normally, and avoid service interruption of the low-priority second service.

[0066] In the scenario where the base station allocates the reserved resources of the second service with a low priority to the second service and the second service needs to be switched to the target resources, it can be determined whether the second service needs to be switched to the target resources according to the preset preemption parameters, such as Figure 4 As shown, in one embodiment, the above S202 includes:

[0067] S401, determining whether to switch the second service to the target resource according to a preemption parameter; the preemption parameter includes any one of a duration for preempting the reserved resource, a number of preempting the reserved resource, and a service type of the second service.

[0068] The preemption parameter includes any one of the duration of preempting the reserved resources of the second service, the number of times of preempting the reserved resources of the second service, and the service type of the second service. The following will respectively describe in detail the implementation methods of determining whether to switch the second service to the target resource according to the preemption parameter:

[0069] The first one is that when the preemption parameter is the duration of preempting the reserved resources for the second service, if the preemption of the reserved resources for the second service is a short-term preemption, the base station can determine not to switch the second service to the target resources; if the preemption of the reserved resources for the second service is a long-term preemption, the base station can determine to switch the second service to the target resources.

[0070] The second type is that when the preemption parameter is the number of times the reserved resources for the second service are preempted, if the preemption of the reserved resources for the second service is a low-frequency preemption, the base station can determine not to switch the second service to the target resources; if the preemption of the reserved resources for the second service is a high-frequency preemption, the base station can determine to switch the second service to the target resources.

[0071] The third type is that when the preemption parameter is the service type of the second service, if the second service is not in a running state, or the second service is a low-rate service, the base station can determine not to switch the second service to the target resource; if the second service is in a running state, or the second service is a high-rate service, the base station can determine to switch the second service to the target resource.

[0072] S402: If it is determined to switch the second service to the target resource, the second service is switched to the target resource.

[0073] In this embodiment, if the base station determines to switch the second service to the target resource, the base station may perform the above-mentioned step of switching the second service to the target resource. That is, the base station may switch the second service to the target resource other than the reserved resource through the RRC connection reconfiguration message, or the base station may switch the second service to the target resource other than the reserved resource through the DCI information.

[0074] In this embodiment, the process by which the base station determines whether to switch the second service to the target resource based on the preemption parameters is relatively simple. The base station can quickly determine whether to switch the second service to the target resource. Thus, when the base station determines to switch the second service to the target resource, the base station can quickly switch the second service to the target resource, thereby ensuring the timeliness of switching the second service to the target resource, ensuring the service continuity of the second service, and avoiding service interruption problems of the second service.

[0075] In the above scenario where the base station allocates the reserved resources of the low-priority second service to the first service, the base station may allocate the reserved resources with higher signal strength among the reserved resources of the low-priority second service to the first service. Figure 5 As shown, in one embodiment, the above S202 includes:

[0076] S501: Obtain signal strength of a terminal corresponding to a first service within reserved resources.

[0077] Usually, the terminal periodically reports the signal measurement report of the cell. Therefore, the base station can obtain the signal strength of the terminal in the cell resources according to the measurement report reported by the terminal.

[0078] Optionally, in this embodiment, the base station may obtain the signal strength of the terminal corresponding to the first service in the reserved resources based on the signal measurement report in the reserved resources reported by the terminal corresponding to the first service. Optionally, the signal strength of the terminal corresponding to the first service in the reserved resources obtained by the base station may be greater than a preset strength threshold, or may be less than or equal to a preset strength threshold, which is not limited in this embodiment.

[0079] S502: Allocate reserved resources whose signal strength is greater than a preset strength threshold to a first service.

[0080] In this embodiment, the base station can compare the signal strength of the terminal corresponding to the first service in the reserved resources with the preset strength threshold, and allocate the reserved resources with signal strength greater than the preset strength threshold to the first service. That is, in this embodiment, the base station allocates the reserved resources with better signal conditions among the preempted reserved resources to the first service.

[0081] In this embodiment, the base station can determine the reserved resources with signal strength greater than the preset strength threshold by obtaining the signal strength of the terminal corresponding to the first service within the reserved resources of the second service, so that the reserved resources with signal strength greater than the preset strength threshold can be allocated to the first service, ensuring the normal operation of the first service and improving the reliability of the operation of the first service.

[0082] In order to facilitate the understanding of those skilled in the art, Figure 6 As shown, the resource allocation method provided by this application is described in detail below in combination with a complete embodiment:

[0083] S1, the base station reserves a part of the frequency domain resources as the preemption area.

[0084] S2: The base station allocates frequency domain resources to each terminal in the network.

[0085] S3, the base station determines whether it is necessary to allocate the frequency domain resources in the reserved preemption area according to the number of terminals in the network or the frequency domain resource range of the network.

[0086] S4, if the base station determines that the frequency domain resources in the reserved preemption area need to be allocated, the base station determines the target terminal to which the reserved resources can be allocated from the terminals according to the capability reporting information of each terminal in the network.

[0087] S5, according to a preset allocation strategy, allocate reserved resources to target terminals to which reserved resources can be allocated in the preemption area, and allocate target resources to target terminals outside the preemption area; wherein the preset allocation strategy includes that a frequency band of the reserved resources does not overlap with a frequency band of the target resources.

[0088] S6: When a high-priority service appears in the network, determine whether a preemption operation is required.

[0089] S7, when it is determined that a preemption operation is required, the reserved resources of the target terminal are allocated to the high priority service, and at the same time, resources of the target terminal are switched to target resources other than the reserved resources.

[0090] It should be noted that for the description in the above S1-S7, reference may be made to the relevant description in the above embodiment, and the effects are similar, which will not be repeated in this embodiment.

[0091] It should be understood that, although the steps in the flowcharts involved in the above embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps is not strictly limited in order, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above embodiments may include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0092] Based on the same inventive concept, the embodiment of the present application also provides a resource allocation device for implementing the resource allocation method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in one or more resource allocation device embodiments provided below can refer to the limitations on the resource allocation method above, and will not be repeated here.

[0093] In one embodiment, Figure 7 As shown, a resource allocation device is provided, comprising: a first allocation module 10 and a switching module 11, wherein:

[0094] A first allocation module 10 is used to allocate the reserved resources of the second service to the first service when the first service needs to preempt the resources of the second service; the priority of the first service is higher than the priority of the second service;

[0095] The switching module 11 is used to switch the second service to the target resource; the target resource is the resource other than the reserved resource.

[0096] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0097] Based on the above embodiments, Figure 8 As shown, optionally, the above device further includes: a second allocation module 12, wherein:

[0098] The second allocation module 12 is used to allocate reserved resources to the target terminal corresponding to the second service in the preemption area, and allocate target resources to the target terminal outside the preemption area; the preemption area includes reserved frequency domain resources.

[0099] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0100] Based on the above embodiments, Fig. 9 As shown, optionally, the second allocation module 12 includes: a first allocation unit 121, wherein:

[0101] The first allocation unit 121 is used to allocate reserved resources to the target terminal in the preemption area and allocate target resources to the target terminal outside the preemption area according to a preset allocation strategy; the allocation strategy includes that the frequency band of the reserved resources does not overlap with the frequency band of the target resources.

[0102] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0103] Based on the above embodiments, Fig.10 As shown, optionally, the above device further includes: a first determining module 13, wherein:

[0104] The first determination module 13 is used to determine a target terminal from each terminal according to capability reporting information of each terminal in the network.

[0105] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0106] Based on the above embodiments, Fig.11As shown, optionally, the first determining module 13 includes: a first determining unit 131 and a second determining unit 132, wherein:

[0107] The first determining unit 131 is used to determine whether it is necessary to allocate frequency domain resources in a preemption area according to the number of terminals in the network or the frequency domain resource range of the network.

[0108] The second determining unit 132 is configured to determine a target terminal from among the terminals according to capability reporting information of each terminal if it is determined that the frequency domain resources in the preemption area need to be allocated.

[0109] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0110] Based on the above embodiments, Fig.12 As shown, optionally, the above device further includes: a second determination module 14 and a third determination module 15, wherein:

[0111] The second determination module 14 is used to determine whether there are available frequency domain resources in the preemption area.

[0112] The third determining module 15 is configured to determine that the reserved resources of the second service need to be allocated to the first service if there are no available frequency domain resources in the preemption area.

[0113] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0114] Based on the above embodiments, Fig.13 As shown, optionally, the above device further includes: a third allocation module 16, wherein:

[0115] The third allocation module 16 is configured to allocate the available frequency domain resources to the first service if there are available frequency domain resources in the preemption area.

[0116] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0117] Based on the above embodiments, Fig.14 As shown, optionally, the above device further includes: a fourth determining module 17, wherein:

[0118] The fourth determination module 17 is used to determine the preemption area according to the total frequency domain resources of the network and the preset preemption resource ratio.

[0119] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0120] Based on the above embodiments, Fig.15 As shown, optionally, the above device further includes: a fifth determining module 18, wherein:

[0121] The fifth determining module 18 is used to determine the preemption area from the total frequency domain resources of the network according to the amount of resources corresponding to the first service in the historical time period.

[0122] It should be noted that Fig.14 and Fig.15 For two parallel embodiments, Fig.14 and Fig.15 There is no inclusion relationship between them.

[0123] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0124] Based on the above embodiments, Fig.16 As shown, optionally, the switching module 11 includes: a third determining unit 111 and a switching unit 112, wherein:

[0125] The third determining unit 111 is used to determine whether to switch the second service to the target resource according to the preemption parameter; the preemption parameter includes any one of the duration of preempting the reserved resource, the number of preempting the reserved resource and the service type of the second service.

[0126] The switching unit 112 is configured to switch the second service to the target resource if it is determined that the second service is to be switched to the target resource.

[0127] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0128] Based on the above embodiments, Fig.17 As shown, optionally, the first allocation module 10 includes: an acquisition unit 101 and a second allocation unit 102, wherein:

[0129] The acquisition unit 101 is configured to acquire the signal strength of a terminal corresponding to a first service within reserved resources.

[0130] The second allocation unit 102 is configured to allocate the reserved resources whose signal strength is greater than a preset strength threshold to the first service.

[0131] The resource allocation device provided in this embodiment can execute the above method embodiment, and its implementation principle and technical effect are similar, which will not be repeated here.

[0132] Each module in the resource allocation device can be implemented in whole or in part by software, hardware, or a combination thereof. Each module can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each module.

[0133] In one embodiment, a base station is provided, and its internal structure diagram can be as follows: Fig.18 As shown. The base station includes at least one processor 701, a memory 702, and at least one network interface 704. The various components in the base station are coupled together through a bus system 705. It can be understood that the bus system 705 is used to realize the connection and communication between these components. In addition to the data bus, the bus system 705 also includes a power bus, a control bus, and a status signal bus. However, for the sake of clarity, Fig.18 Various buses are labeled as bus system 705. In addition, the embodiment of the present invention also includes a transceiver 706, which can be multiple components, that is, including a transmitter and a receiver, providing a unit for communicating with various other devices on a transmission medium.

[0134] It can be understood that the memory 702 in the embodiment of the present invention can be a volatile memory or a non-volatile memory, or can include both volatile and non-volatile memories. Among them, the non-volatile memory can be a read-only memory (ROM), a programmable read-only memory (PROM), an erasable programmable read-only memory (EPROM), an electrically erasable programmable read-only memory (EEPROM), or a flash memory. The volatile memory can be a random access memory (RAM), which is used as an external cache. By way of example but not limitation, many forms of RAM are available, such as static random access memory (SRAM), dynamic random access memory (DRAM), synchronous dynamic random access memory (SDRAM), double data rate synchronous dynamic random access memory (DDRSDRAM), enhanced synchronous dynamic random access memory (ESDRAM), synchronous link dynamic random access memory (SLDRAM) and direct RAM bus random access memory (DRRAM). The memory 702 of the system and method described in the embodiments of the present invention is intended to include, but is not limited to, these and any other suitable types of memory.

[0135] In some implementations, the memory 702 stores the following elements, executable modules or data structures, or their subsets, or their extensions: operating system 7021. The operating system 7021 includes various system programs, such as a framework layer, a core library layer, a driver layer, etc., which are used to implement various basic services and process hardware-based tasks.

[0136] In an embodiment of the present invention, by calling the program or instructions stored in the memory 702, the processor is used to allocate the reserved resources of the second business to the first business when the first business needs to preempt the resources of the second business; the priority of the first business is higher than the priority of the second business; the second business is switched to the target resources; the target resources are resources other than the reserved resources.

[0137] Part or all of the methods disclosed in the above embodiments of the present invention may also be applied to the processor 701, or implemented by the processor 701, or implemented by the processor 701 in cooperation with other components (such as a transceiver). The processor 701 may be an integrated circuit chip with signal processing capabilities. In the implementation process, each step of the above method may be completed by an integrated logic circuit of hardware in the processor 701 or by instructions in the form of software. The above processor 701 may be a general-purpose processor, a digital signal processor (Digital Signal Processor, DSP), an application-specific integrated circuit (Application Specific Integrated Circuit, ASIC), a field programmable gate array (Field Programmable Gate Array, FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components. The methods, steps and logic block diagrams disclosed in the embodiments of the present invention may be implemented or executed. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc. The steps of the method disclosed in conjunction with the embodiments of the present invention may be directly embodied as being executed by a hardware decoding processor, or may be executed by a combination of hardware and software modules in a decoding processor. The software module may be located in a storage medium mature in the art such as a random access memory, a flash memory, a read-only memory, a programmable read-only memory, or an electrically erasable programmable memory, a register, etc. The storage medium is located in the memory 702, and the processor 701 reads the information in the memory 702 and completes the steps of the above method in combination with its hardware.

[0138] It is to be understood that the embodiments described in the embodiments of the present invention can be implemented by hardware, software, firmware, middleware, microcode or a combination thereof. For hardware implementation, the processing unit can be implemented in one or more application specific integrated circuits (Application Specific Integrated Circuits, ASIC), digital signal processors (Digital Signal Processing, DSP), digital signal processing devices (DSP Device, DSPD), programmable logic devices (Programmable Logic Device, PLD), field programmable gate arrays (Field-Programmable Gate Array, FPGA), general processors, controllers, microcontrollers, microprocessors, other electronic units for performing the functions of the present application or a combination thereof.

[0139] For software implementation, the technology of the embodiments of the present invention can be implemented by a module (such as a process, function, etc.) that performs the functions of the embodiments of the present invention. The software code can be stored in a memory and executed by the processor 701. The memory can be implemented in the processor 701 or outside the processor 701.

[0140] In one embodiment, the processor is further configured to allocate reserved resources to a target terminal corresponding to the second service within the preemption area, and allocate target resources to the target terminal outside the preemption area; the preemption area includes reserved frequency domain resources.

[0141] In one embodiment, the processor is specifically used to allocate reserved resources to the target terminal in the preemption area and allocate target resources to the target terminal outside the preemption area according to a preset allocation strategy; the allocation strategy includes that the frequency band of the reserved resources does not overlap with the frequency band of the target resources.

[0142] In one embodiment, the processor is further configured to determine the target terminal from among the terminals according to capability reporting information of each terminal in the network.

[0143] In one embodiment, the processor is specifically used to determine whether it is necessary to allocate frequency domain resources in the preempted area based on the number of terminals in the network or the frequency domain resource range of the network; if it is determined that frequency domain resources in the preempted area need to be allocated, the target terminal is determined from each terminal based on the capability reporting information of each terminal.

[0144] In one embodiment, the processor is further configured to determine whether there are available frequency domain resources in the preemption area; if there are no available frequency domain resources in the preemption area, determining that the reserved resources of the second service need to be allocated to the first service.

[0145] In one embodiment, the processor is further configured to allocate the available frequency domain resources to the first service if there are available frequency domain resources in the preemption area.

[0146] In one embodiment, the processor is further configured to determine a preemption area according to total frequency domain resources of the network and a preset preemption resource ratio.

[0147] In one embodiment, the processor is further configured to determine the preemption area from the total frequency domain resources of the network according to the amount of resources corresponding to the first service in the historical time period.

[0148] In one embodiment, the processor is specifically used to determine whether to switch the second service to the target resource based on the preemption parameters; the preemption parameters include the duration of preempting the reserved resources, the number of times the reserved resources are preempted, and any one of the service types of the second service; if it is determined to switch the second service to the target resource, the second service is switched to the target resource.

[0149] In one embodiment, the processor is specifically configured to obtain the signal strength of the terminal corresponding to the first service within the reserved resources; and allocate the reserved resources with signal strength greater than a preset strength threshold to the first service.

[0150] Those skilled in the art will understand that Fig.18 The structure shown in the figure is only a block diagram of a part of the structure related to the solution of the present application, and does not constitute a limitation on the computer device to which the solution of the present application is applied. The specific computer device may include more or fewer components than those shown in the figure, or combine certain components, or have a different arrangement of components.

[0151] The embodiment of the present application also provides a computer-readable storage medium, one or more non-volatile computer-readable storage media containing computer-executable instructions, when the computer-executable instructions are executed by one or more processors, the processors execute the steps of the resource allocation method.

[0152] In one embodiment, a computer readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, the following steps are implemented:

[0153] In the case where the first service needs to seize the resources of the second service, the reserved resources of the second service are allocated to the first service; the priority of the first service is higher than the priority of the second service;

[0154] The second service is switched to the target resource; the target resource is a resource other than the reserved resource.

[0155] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0156] Reserved resources are allocated to the target terminal corresponding to the second service in the preemption area, and target resources are allocated to the target terminal outside the preemption area; the preemption area includes reserved frequency domain resources.

[0157] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0158] According to a preset allocation strategy, reserved resources are allocated to the target terminal in the preemption area, and target resources are allocated to the target terminal outside the preemption area; the allocation strategy includes that the frequency band of the reserved resources does not overlap with the frequency band of the target resources.

[0159] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0160] According to the capability reporting information of each terminal in the network, the target terminal is determined from each terminal.

[0161] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0162] Determine whether it is necessary to allocate frequency domain resources in the preemption area according to the number of terminals in the network or the frequency domain resource range of the network;

[0163] If it is determined that frequency domain resources in the preemption area need to be allocated, a target terminal is determined from among the terminals based on the capability reporting information of each terminal.

[0164] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0165] Determine whether there are available frequency domain resources in the preemption area;

[0166] If there are no available frequency domain resources in the preemption area, it is determined that the reserved resources of the second service need to be allocated to the first service.

[0167] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0168] If there are available frequency domain resources in the preemption area, the available frequency domain resources are allocated to the first service.

[0169] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0170] The preemption area is determined based on the total frequency domain resources of the network and the preset preemption resource ratio.

[0171] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0172] According to the amount of resources corresponding to the first service in the historical time period, the preemption area is determined from the total frequency domain resources of the network.

[0173] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0174] Determining whether to switch the second service to the target resource according to the preemption parameter; the preemption parameter includes any one of the duration of preempting the reserved resource, the number of preempting the reserved resource, and the service type of the second service;

[0175] If it is determined to switch the second service to the target resource, the second service is switched to the target resource.

[0176] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0177] Obtaining a signal strength of a terminal corresponding to the first service within the reserved resources;

[0178] The reserved resources whose signal strength is greater than a preset strength threshold are allocated to the first service.

[0179] The embodiment of the present application also provides a computer program product including instructions, which, when executed on a computer, enables the computer to execute the resource allocation method.

[0180] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the following steps:

[0181] In the case where the first service needs to seize the resources of the second service, the reserved resources of the second service are allocated to the first service; the priority of the first service is higher than the priority of the second service;

[0182] The second service is switched to the target resource; the target resource is a resource other than the reserved resource.

[0183] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0184] Reserved resources are allocated to the target terminal corresponding to the second service in the preemption area, and target resources are allocated to the target terminal outside the preemption area; the preemption area includes reserved frequency domain resources.

[0185] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0186] According to a preset allocation strategy, reserved resources are allocated to the target terminal in the preemption area, and target resources are allocated to the target terminal outside the preemption area; the allocation strategy includes that the frequency band of the reserved resources does not overlap with the frequency band of the target resources.

[0187] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0188] According to the capability reporting information of each terminal in the network, the target terminal is determined from each terminal.

[0189] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0190] Determine whether it is necessary to allocate frequency domain resources in the preemption area according to the number of terminals in the network or the frequency domain resource range of the network;

[0191] If it is determined that frequency domain resources in the preemption area need to be allocated, a target terminal is determined from among the terminals based on the capability reporting information of each terminal.

[0192] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0193] Determine whether there are available frequency domain resources in the preemption area;

[0194] If there are no available frequency domain resources in the preemption area, it is determined that the reserved resources of the second service need to be allocated to the first service.

[0195] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0196] If there are available frequency domain resources in the preemption area, the available frequency domain resources are allocated to the first service.

[0197] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0198] The preemption area is determined based on the total frequency domain resources of the network and the preset preemption resource ratio.

[0199] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0200] According to the amount of resources corresponding to the first service in the historical time period, the preemption area is determined from the total frequency domain resources of the network.

[0201] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0202] Determining whether to switch the second service to the target resource according to the preemption parameter; the preemption parameter includes any one of the duration of preempting the reserved resource, the number of preempting the reserved resource, and the service type of the second service;

[0203] If it is determined to switch the second service to the target resource, the second service is switched to the target resource.

[0204] In one embodiment, when the computer program is executed by a processor, the following steps are also implemented:

[0205] Obtaining a signal strength of a terminal corresponding to the first service within the reserved resources;

[0206] The reserved resources whose signal strength is greater than a preset strength threshold are allocated to the first service.

[0207] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0208] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0209] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A resource allocation method, characterized in that: The method is applied to a base station, and the method includes: In the case where the first service needs to preempt the resources of the second service, the reserved resources of the second service are allocated to the first service; the priority of the first service is higher than the priority of the second service; The second service is switched to a target resource; the target resource is a resource other than the reserved resource.

2. The method according to claim 1, characterized in that The method further comprises: The reserved resources are allocated to the target terminal corresponding to the second service in the preemption area, and the target resources are allocated to the target terminal outside the preemption area; the preemption area includes reserved frequency domain resources.

3. The method according to claim 2, characterized in that The allocating the reserved resources to the target terminal corresponding to the second service within the preemption area, and allocating the target resources to the target terminal outside the preemption area, comprises: According to a preset allocation strategy, the reserved resources are allocated to the target terminal in the preemption area, and the target resources are allocated to the target terminal outside the preemption area; the allocation strategy includes that the frequency band of the reserved resources does not overlap with the frequency band of the target resources.

4. The method according to claim 3, characterized in that The method further comprises: The target terminal is determined from the terminals according to the capability reporting information of the terminals in the network.

5. The method according to claim 4, characterized in that The determining the target terminal from the terminals according to the capability reporting information of the terminals in the network includes: Determining whether it is necessary to allocate frequency domain resources in the preemption area according to the number of terminals in the network or the frequency domain resource range of the network; If it is determined that the frequency domain resources in the preemption area need to be allocated, the target terminal is determined from the terminals according to the capability reporting information of the terminals.

6. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: Determine whether there are available frequency domain resources in the preemption area; If there are no available frequency domain resources in the preemption area, it is determined that the reserved resources of the second service need to be allocated to the first service.

7. The method according to claim 6, characterized in that The method further comprises: If there are available frequency domain resources in the preemption area, the available frequency domain resources are allocated to the first service.

8. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: The preemption area is determined according to the total frequency domain resources of the network and the preset preemption resource ratio.

9. The method according to any one of claims 2 to 5, characterized in that: The method further comprises: The preemption area is determined from total frequency domain resources of a network according to the amount of resources corresponding to the first service in a historical time period.

10. The method according to any one of claims 1 to 5, characterized in that: The switching the second service to the target resource includes: Determining whether to switch the second service to the target resource according to a preemption parameter; the preemption parameter includes any one of a duration for preempting the reserved resource, a number of times the reserved resource is preempted, and a service type of the second service; If it is determined to switch the second service to the target resource, the second service is switched to the target resource.

11. The method according to any one of claims 1 to 5, characterized in that: The allocating the reserved resources of the second service to the first service comprises: Obtaining a signal strength of a terminal corresponding to the first service within the reserved resources; The reserved resources whose signal strength is greater than a preset strength threshold are allocated to the first service.

12. A resource allocation device, characterized in that: The device is applied to a base station, and the device includes: A first allocation module, configured to allocate reserved resources of a second service to the first service when the first service needs to preempt resources of the second service; the priority of the first service is higher than the priority of the second service; A switching module is used to switch the second service to a target resource; the target resource is a resource other than the reserved resource.

13. A base station, comprising a transceiver, a memory and a processor, wherein a computer program is stored in the memory, characterized in that: When the computer program is executed by the processor, the processor is caused to perform the steps of the resource allocation method according to any one of claims 1 to 11.

14. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.

15. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 11 are implemented.