CN115550282A - Resource allocation method and device, electronic equipment and storage medium - Google Patents

Resource allocation method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN115550282A
CN115550282A CN202211097408.6A CN202211097408A CN115550282A CN 115550282 A CN115550282 A CN 115550282A CN 202211097408 A CN202211097408 A CN 202211097408A CN 115550282 A CN115550282 A CN 115550282A
Authority
CN
China
Prior art keywords
resource
resources
service
target
access
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202211097408.6A
Other languages
Chinese (zh)
Inventor
赵玮
陈林
孔昊
吕舟
王翔
符俊艺
孙满红
岳亮
张荣健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
China United Network Communications Group Co Ltd
Original Assignee
China United Network Communications Group Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by China United Network Communications Group Co Ltd filed Critical China United Network Communications Group Co Ltd
Priority to CN202211097408.6A priority Critical patent/CN115550282A/en
Publication of CN115550282A publication Critical patent/CN115550282A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/10Flow control; Congestion control
    • H04L47/24Traffic characterised by specific attributes, e.g. priority or QoS
    • H04L47/2425Traffic characterised by specific attributes, e.g. priority or QoS for supporting services specification, e.g. SLA
    • H04L47/2433Allocation of priorities to traffic types
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/80Actions related to the user profile or the type of traffic
    • H04L47/805QOS or priority aware

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The application discloses a resource allocation method, a device, an electronic device and a storage medium, which relate to the field of communication and are used for solving the problem of low allocation efficiency when allocating resources for a private line service at the present stage, and comprise the following steps: determining a target resource; the target resource is a network resource corresponding to the service to be distributed, and the number of the service to be distributed is at least one; determining a resource identifier of a target resource; the resource identification of the target resource is used for representing the type characteristic information of the target resource; determining a resource allocation scene corresponding to the service to be allocated according to an access scene corresponding to the service to be allocated and the resource identifier of the target resource; and distributing resources for the service to be distributed according to the resource distribution scene matched with the service to be distributed. The method and the device are used for allocating resources for the private line service.

Description

Resource allocation method and device, electronic equipment and storage medium
Technical Field
The present application relates to the field of communications, and in particular, to a resource allocation method and apparatus, an electronic device, and a storage medium.
Background
The network access special line service can provide a cross-data center or cross-cloud connection and networking scheme for the user, and solves the communication problem of a plurality of data centers or a plurality of clouds of the user in different regions and different network environments.
However, when the network access private line service is opened currently, the service resources are allocated for the network access private line service mainly by means of manual resource allocation. Because the types of resources involved in the network access private line service are more, and the network access private line service modes in different areas are different, the allocation efficiency is low and the error rate is high when resources are allocated manually.
Disclosure of Invention
The application provides a resource allocation method, a resource allocation device, an electronic device and a storage medium, which can solve the problem of low allocation efficiency when allocating resources for a private line service at the present stage.
In order to achieve the purpose, the following technical scheme is adopted in the application:
in a first aspect, the present application provides a resource allocation method, including: determining a target resource; the target resource is a network resource corresponding to the service to be allocated, and the number of the service to be allocated is at least one; determining a resource identifier of a target resource; the resource identification of the target resource is used for representing the type characteristic information of the target resource; determining a resource allocation scene corresponding to the service to be allocated according to an access scene corresponding to the service to be allocated and the resource identifier of the target resource; and distributing resources for the service to be distributed according to the resource distribution scene matched with the service to be distributed.
Based on the technical scheme, the resource identification of the target resource corresponding to the service to be distributed is determined, the resource identification is matched with the access scene of the service to be distributed, so that the scene corresponding to the resource distribution is determined, and the target resource is distributed for the service to be distributed according to the scenes. Therefore, the resource allocation in the application can consider the types of resources in the resource pool corresponding to the private line service and the access scene of the private line service, thereby realizing the optimal allocation of the resources and effectively improving the efficiency of allocating the resources for the private line service.
In a possible implementation manner, determining a resource allocation scenario corresponding to a service to be allocated according to an access scenario corresponding to the service to be allocated and a resource identifier of a target resource, specifically includes: determining whether the access scenes of the services to be distributed are the same according to the access scene corresponding to each service in the services to be distributed; determining the type of the target resource according to the resource identifier of the target resource; if the access scenes of the services to be distributed are the same and the types of the target resources are different, determining that the resource distribution scene corresponding to the services to be distributed is a first scene; and if the access scenes of the services to be distributed are different and the types of the target resources are the same, determining that the resource distribution scene corresponding to the services to be distributed is a second scene.
In a possible implementation manner, if the resource allocation scenario corresponding to the service to be allocated is the first scenario, allocating resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated, specifically including: if the total amount of the available resources is larger than or equal to the resource demand of the access scene, allocating resources for the service to be allocated from the target resources according to the resource demand of the access scene; wherein, the available resource is the unoccupied resource in the target resource; if the total amount of the available resources is less than the resource demand of the access scene and the total amount of the target resources is greater than or equal to the resource demand of the access scene, judging whether alternative resources exist; if the alternative resources exist, allocating resources for the service to be allocated from the available resources and the alternative resources according to the resource requirements of the access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the available resources according to the priority task scheduling strategy; wherein, the substitute resource is the occupied resource in the target resource; if the total amount of the available resources is less than the resource demand of the access scene and the total amount of the target resources is less than the resource demand of the access scene, judging whether alternative resources exist or not; if the alternative resources exist, distributing resources for the service to be distributed from the available resources and the alternative resources according to the resource requirement of the access scene and the priority task scheduling strategy; and if the alternative resources do not exist, allocating resources for the service to be allocated from the available resources and the external resources, wherein the external resources are resources except the target resources.
In a possible implementation manner, if the resource allocation scenario corresponding to the service to be allocated is the second scenario, allocating resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated specifically includes: if the total amount of the target resources is greater than or equal to the total amount of the scene demands, distributing resources for the service to be distributed from the target resources according to the resource demands of each access scene; the total scene demand is the sum of the resource demand of each access scene in different access scenes; if the total amount of the target resources is less than the total amount of the scene demands and the total amount of the target resources is greater than or equal to the resource demand of each access scene, judging whether alternative resources exist; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; if no substitute resource exists, distributing resources for the service to be distributed from the target resources according to the scene priority of each access scene and the resource demand of each access scene; wherein, the substitute resource is the occupied resource in the target resource; if the total amount of the target resources is less than the total amount of the scene demands and the total amount of the target resources is less than the resource demand of any access scene, judging whether substitute resources exist; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; and if the alternative resources do not exist, distributing resources for the service to be distributed from the target resources and the external resources according to the scene priority of each access scene and the resource demand of each access scene, wherein the external resources are resources except the target resources.
In one possible implementation, the type characteristic information of the target resource includes at least one of: the type of resource, frequency of use, whether it is occupied, whether there is a replacement resource.
In one possible implementation, the service type of the service to be allocated is a private line service.
In a second aspect, the present application provides an apparatus for resource allocation, including: a processing unit; a processing unit for determining a target resource; the target resource is a network resource corresponding to the service to be allocated, and the number of the service to be allocated is at least one; the processing unit is further used for determining a resource identifier of the target resource; the resource identification of the target resource is used for representing the type characteristic information of the target resource; the processing unit is further used for determining a resource allocation scene corresponding to the service to be allocated according to the access scene corresponding to the service to be allocated and the resource identifier of the target resource; and the processing unit is also used for distributing resources for the service to be distributed according to the resource distribution scene matched with the service to be distributed.
In a possible implementation manner, the processing unit is further configured to determine whether the access scenarios of the services to be allocated are the same according to the access scenario corresponding to each service in the services to be allocated; the processing unit is also used for determining the type of the target resource according to the resource identifier of the target resource; the processing unit is further used for determining a resource allocation scene corresponding to the service to be allocated as a first scene when the access scenes of the service to be allocated are the same and the types of the target resources are different; and the processing unit is further used for determining the resource allocation scene corresponding to the service to be allocated as a second scene when the access scenes of the service to be allocated are different and the types of the target resources are the same.
In a possible implementation manner, the processing unit is further configured to allocate resources to the service to be allocated from the target resources according to the resource demand of the access scenario when the total amount of the available resources is greater than or equal to the resource demand of the access scenario; wherein, the available resource is the unoccupied resource in the target resource; the processing unit is further used for judging whether the alternative resources exist or not when the total amount of the available resources is smaller than the resource demand of the access scene and the total amount of the target resources is larger than or equal to the resource demand of the access scene; if the alternative resources exist, distributing resources for the service to be distributed from the available resources and the alternative resources according to the resource requirements of the access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the available resources according to the priority task scheduling strategy; wherein, the substitute resource is the occupied resource in the target resource; the processing unit is further used for judging whether the alternative resources exist or not when the total amount of the available resources is smaller than the resource demand of the access scene and the total amount of the target resources is smaller than the resource demand of the access scene; if the alternative resources exist, distributing resources for the service to be distributed from the available resources and the alternative resources according to the resource requirement of the access scene and the priority task scheduling strategy; and if the alternative resources do not exist, allocating resources for the service to be allocated from the available resources and the external resources, wherein the external resources are resources except the target resources.
In a possible implementation manner, the processing unit is further configured to allocate resources to the service to be allocated from the target resources according to the resource demand of each access scene when the total amount of the target resources is greater than or equal to the scene demand total amount; the total scene demand amount is the sum of the resource demand amounts of each access scene in different access scenes; the processing unit is further used for judging whether the alternative resources exist or not when the total amount of the target resources is smaller than the total amount of the scene demands and the total amount of the target resources is larger than or equal to the resource demand of each access scene; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; if no substitute resource exists, distributing resources for the service to be distributed from the target resources according to the scene priority of each access scene and the resource demand of each access scene; wherein, the substitute resource is the occupied resource in the target resource; the processing unit is further used for judging whether the alternative resources exist or not when the total amount of the target resources is smaller than the total amount of the scene demands and the total amount of the target resources is smaller than the resource demand of any access scene; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; and if the alternative resources do not exist, distributing resources for the service to be distributed from the target resources and the external resources according to the scene priority of each access scene and the resource demand of each access scene, wherein the external resources are resources except the target resources.
In one possible implementation, the type characteristic information of the target resource includes at least one of: the kind of resource, the frequency of use, whether occupied, whether there is a replacement resource.
In one possible implementation, the service type of the service to be allocated is a private line service.
In addition, for technical effects of the resource allocation apparatus of the second aspect, reference may be made to the technical effects of the resource allocation method of the first aspect, which are not described herein again.
In a third aspect, the present application provides a computer readable storage medium storing one or more programs, the one or more programs comprising instructions, which when executed by an electronic device of the present application, cause the electronic device to perform the method for resource allocation as described in the first aspect and any one of the possible implementations of the first aspect.
In a fourth aspect, the present application provides an electronic device, comprising: a processor and a memory; wherein the memory is used for storing one or more programs, and the one or more programs include computer executable instructions that, when executed by the electronic device, the processor executes the computer executable instructions stored by the memory to cause the electronic device to perform the resource allocation method as described in the first aspect and any possible implementation manner of the first aspect.
In a fifth aspect, the present application provides a computer program product containing instructions that, when run on a computer, cause an electronic device of the present application to perform the method for resource allocation as described in the first aspect and any one of the possible implementations of the first aspect.
In a sixth aspect, the present application provides a chip system, where the chip system is applied to a resource allocation apparatus; the chip system includes one or more interface circuits, and one or more processors. The interface circuit and the processor are interconnected through a line; the interface circuit is configured to receive a signal from a memory of the resource allocation device and to send the signal to the processor, the signal including computer instructions stored in the memory. When the processor executes the computer instructions, the resource allocation apparatus performs the resource allocation method according to the first aspect and any one of its possible designs.
In the present application, the names of the above-mentioned resource allocation means do not limit the devices or functional units themselves, and in actual implementation, these devices or functional units may appear by other names. Insofar as the functions of the respective devices or functional units are similar to those of the present application, they are within the scope of the claims of the present application and their equivalents.
Drawings
Fig. 1 is a schematic flowchart of a resource allocation method according to an embodiment of the present application;
fig. 2 is a schematic flowchart of another resource allocation method according to an embodiment of the present application;
fig. 3 is a schematic flowchart of another resource allocation method according to an embodiment of the present application;
fig. 4 is a flowchart illustrating another resource allocation method according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a resource allocation apparatus according to an embodiment of the present application;
fig. 6 is a schematic structural diagram of another resource allocation apparatus according to an embodiment of the present application.
Detailed Description
The technical solutions in the embodiments of the present application will be described clearly and completely with reference to the drawings in the embodiments of the present application, and it is obvious that the described embodiments are only some embodiments of the present application, and not all embodiments. All other embodiments obtained by a person of ordinary skill in the art based on the embodiments in the present application without making any creative effort belong to the protection scope of the present application.
The character "/" herein generally indicates that the former and latter associated objects are in an "or" relationship. For example, A/B may be understood as either A or B.
The terms "first" and "second" in the description and claims of the present application are used to distinguish between different objects, and are not used to describe a particular order of objects. For example, the first edge service node and the second edge service node are used for distinguishing different edge service nodes, but not for describing the characteristic sequence of the edge service nodes.
Furthermore, the terms "including" and "having," and any variations thereof, as referred to in the description of the present application, are intended to cover non-exclusive inclusions. For example, a process, method, system, article, or apparatus that comprises a list of steps or elements is not limited to only those steps or elements but may alternatively include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
In addition, in the embodiments of the present application, words such as "exemplary" or "for example" are used to mean serving as an example, instance, or illustration. Any embodiment or design described herein as "exemplary" or "such as" is not necessarily to be construed as preferred or advantageous over other embodiments or designs. Rather, use of the word "exemplary" or "such as" is intended to present concepts in a concrete fashion.
The network access is based on the industry internet of an operator, provides a connection and networking scheme between cross data centers or cross clouds for enterprise customers and cloud service providers, and solves the communication problem of the customers among a plurality of data centers or clouds in different regions and different network environments.
In order to realize intensive management of resource allocation and improve the timeliness of delivery of the network access dedicated line service, a method for effectively allocating network access resources is required for the network access dedicated line service, so as to realize the capability of automatically allocating the network access resources for the network access dedicated line service. In the prior art, in the process of scheduling and allocating network access resources, the number of manual participation links is large, and the number of back-and-forth interaction of multiple systems is large, so that the rapid implementation of network access dedicated line services is not facilitated.
The application provides a resource allocation method and a resource allocation device, which can realize automatic adaptation of network access resources, including resource identification and optimal resource allocation, and effectively improve the efficiency of allocating resources for private line services.
It should be noted that, in the resource allocation method provided in the present application, the execution subject is a resource allocation apparatus. The resource allocation apparatus may be an electronic device (e.g., a computer terminal, a server), a processor in the electronic device, a control module for resource allocation in the electronic device, or a client for resource allocation in the electronic device.
The following describes a flow of the resource allocation method provided in this embodiment.
Exemplarily, as shown in fig. 1, the present application provides a resource allocation method, which specifically includes the following steps:
s101, the resource allocation device determines target resources.
And the target resource is a network resource corresponding to the service to be distributed. It is to be understood that the number of services to be allocated is at least one.
It should be noted that the target resource is all resources in a resource pool preset by the operator for the service to be allocated. And under the condition that the service to be distributed is the network access private line service, the target resource is all network access resources in a resource pool preset by the operator for the service to be distributed.
S102, the resource allocation device determines the resource identification of the target resource.
The resource identification of the target resource is used for representing type characteristic information of the target resource.
Optionally, the type characteristic information of the target resource includes at least one of: the kind of resource, the frequency of use, whether occupied, whether there is a replacement resource. Illustratively, the types of target resources may include Internet Protocol (IP) resources, virtual Local Area Network (VLAN) resources, multi-service transport platform (MSTP) resources, multi-service access platform (MSAP) resources, optical Transport Network (OTN), customer Premise Equipment (CPE) resources, mobile Access Router (MAR) resources, modulation Error Ratio (MER) resources, and the like.
S103, the resource allocation device determines a resource allocation scene corresponding to the service to be allocated according to the access scene corresponding to the service to be allocated and the resource identifier of the target resource.
For example, the access scenario corresponding to the service to be allocated may be an IP-radio access network (IP-RAN) access scenario of a radio access network, an access scenario of an intelligent metropolitan area network, or other network access scenarios, which is not specifically limited in this application.
Optionally, the resource allocation apparatus determines the resource allocation scenario of the service to be allocated as the first scenario or the second scenario according to whether the access scenarios corresponding to the service to be allocated are the same and the type of the target resource.
Specifically, the first scenario is for allocating different types of target resources to services to be allocated corresponding to the access scenario in the same type of access scenario. The second scenario aims at allocating the same type of target resources to the services to be allocated when the access scenarios corresponding to all the services to be allocated are different.
It should be noted that, the resource allocation apparatus specifically determines, according to the access scenario corresponding to the service to be allocated and the resource identifier of the target resource, a flow of the resource allocation scenario corresponding to the service to be allocated, see subsequent S201-S204, which is not described herein again.
And S104, the resource allocation device allocates resources for the service to be allocated according to the resource allocation scene matched with the service to be allocated.
Alternatively, corresponding to the example in S103, the resource allocation scenario includes a first scenario and a second scenario. And under the condition that the resource allocation scene is the first scene, the resource allocation device allocates resources for the service to be allocated from the available resources and the target resources according to the resource demand of the access scene, the total amount of the available resources, the total amount of the target resources and whether the alternative resources exist. It should be noted that the available resource is an unoccupied resource in the target resource; the alternative resource is the occupied resource in the target resource, and the alternative resource can be allocated to the service to be allocated after being released by other services.
Similarly, when the resource allocation scenario is the second scenario, the resource allocation apparatus allocates resources for the service to be allocated from the target resources and the external resources, according to the total amount of the scenario demands, the amount of the resource demands of each access scenario, the total amount of the target resources, and whether or not there is a substitute resource. The alternative resources are occupied resources in the target resources, and can be allocated to the services to be allocated after being released by other services; the external resource is a resource outside the resource pool to which the target resource belongs.
It should be noted that, the resource allocation apparatus specifically refers to the following processes S301 to S303 and S401 to S403 for allocating resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated, and details are not described here.
Based on the technical scheme, the embodiment of the application determines the scene corresponding to the resource allocation by determining the resource identifier of the target resource corresponding to the service to be allocated and matching the resource identifier with the access scene of the service to be allocated, so that the target resource is allocated to the service to be allocated according to the scene. Therefore, the resource allocation in the application can consider the types of resources in the resource pool corresponding to the private line service and the access scene of the private line service, realize the optimal allocation of the resources and effectively improve the efficiency of allocating the resources for the private line service.
Exemplarily, referring to fig. 1 and as shown in fig. 2, in the resource allocation method provided in the present application, a resource allocation scenario corresponding to a service to be allocated is determined according to an access scenario corresponding to the service to be allocated and a resource identifier of a target resource, and specifically includes the following steps:
s201, the resource allocation device determines whether the access scenes of the services to be allocated are the same according to the access scene corresponding to each service in the services to be allocated.
It should be noted that, when the number of the services to be allocated is only one, or the access scenarios corresponding to each service to be allocated in the services to be allocated are all the same, the resource allocation apparatus determines that the access scenarios of the services to be allocated are the same.
Correspondingly, when the access scenes corresponding to each service to be distributed in the services to be distributed are different, the resource distribution device determines that the access scenes of the services to be distributed are different.
S202, the resource allocation device determines the type of the target resource according to the resource identifier of the target resource.
In a possible implementation manner, the resource allocating apparatus determines, according to the resource identifier of the target resource, the type of the target resource, including determining whether the resource in the target resource is a public resource (or an exclusive resource), and whether the resource in the target resource is already occupied by other services.
In another possible implementation manner, the resource allocating apparatus determines the type of the resource in the target resource according to the attribute of the resource type in the resource identifier of the target resource.
And S203, under the condition that the access scenes of the services to be distributed are the same and the types of the target resources are different, the resource distribution device determines that the resource distribution scene corresponding to the services to be distributed is a first scene.
The first scenario represents the same type of access scenario, and different types of target resources are allocated to the service to be allocated corresponding to the access scenario.
And S204, under the condition that the access scenes of the services to be distributed are different and the types of the target resources are the same, determining that the resource distribution scene corresponding to the services to be distributed is a second scene by the resource distribution device.
The second scenario aims at allocating the same type of target resources to the services to be allocated when the access scenarios corresponding to all the services to be allocated are different.
Based on the technical scheme, the resource allocation scene corresponding to the service to be allocated can be determined according to the access scene corresponding to the service to be allocated and the resource identifier of the target resource, so that the subsequent resource allocation process can be conveniently carried out.
For example, with reference to fig. 1 and as shown in fig. 3, in the resource allocation method provided in the present application, when the resource allocation scenario is the first scenario, the resource allocation apparatus may specifically allocate resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated, and the method includes the following steps:
s301, the resource allocation device judges whether the total amount of the available resources is less than the resource demand of the access scene.
Wherein, the available resource is the unoccupied resource in the target resource.
If the total amount of the available resources is less than the resource demand of the access scene, executing the following S303;
if the total amount of the available resources is greater than or equal to the resource requirement of the access scenario, the following S302 is performed.
S302, the resource distribution device distributes resources for the service to be distributed from the target resources according to the resource demand of the access scene.
At this time, the unoccupied resources in the target resources are represented, so that the requirement of the service to be allocated can be met, and other resources do not need to be scheduled for the service to be allocated.
S303, the resource allocation device judges whether the total amount of the target resources is less than the resource demand of the access scene.
At this time, the unoccupied resources in the target resources represent resources that cannot meet the requirements of the service to be allocated, and other resources need to be scheduled for the service to be allocated. At this time, it is further necessary to determine whether the total amount of the target resource can satisfy the resource demand of the access scenario corresponding to the service to be allocated.
If the total amount of the target resources is less than the resource demand of the access scene, executing the following step S307;
if the total amount of the target resources is greater than or equal to the resource demand of the access scenario, the following S304 is performed.
S304, the resource allocation device judges whether the alternative resource exists.
Wherein the substitute resource is an occupied resource in the target resource.
At this time, the total amount of the target resource is represented, and the resource demand of the access scene corresponding to the service to be allocated can be met. At this time, it is only necessary to determine whether the occupied resource (i.e., the substitute resource) in the target resource can be released within a preset time period, or whether other resources exist, which can be used as substitute resources for the service to be allocated.
If there is an alternative resource, then perform the following S305;
if there is no alternative resource, the following S306 is performed.
S305, the resource allocation device allocates resources for the service to be allocated from the available resources and the alternative resources according to the resource requirements of the access scene.
At this time, the occupied resource (that is, the alternative resource) in the target resource can be released within the preset time period, or other resources are available and can be used as alternative resources of the service to be allocated, so that the resource allocation apparatus allocates the resource to the service to be allocated from the available resource and the alternative resource according to the resource demand of the access scenario.
S306, the resource allocation device allocates resources for the service to be allocated from the available resources according to the priority task scheduling strategy.
At this time, the occupied resource (i.e., the alternative resource) in the target resource cannot be released within the preset time period, or no other resource can be used as an alternative resource for the service to be allocated. Therefore, in a situation where the available resources cannot fully satisfy the requirements of the services to be allocated, the resource allocation apparatus needs to allocate resources for the services to be allocated from the available resources according to the priority task scheduling policy.
It should be noted that, allocating resources for a certain service according to the priority task scheduling policy is a method commonly used in the art, and the specific flow refers to the prior art, and is not described herein again.
S307, the resource allocation apparatus determines whether or not there is a substitute resource.
Wherein the substitute resource is an occupied resource in the target resource.
At this time, the total amount of the target resource is represented, and the resource demand of the access scene corresponding to the service to be allocated cannot be met. Then, at this time, it needs to further determine whether the occupied resource (i.e. the alternative resource) in the target resource can be released in the preset time period, or other resources exist, which can be used as alternative resources for the service to be allocated.
If there is an alternative resource, then perform the following S308;
if there is no alternative resource, the following S309 is performed.
S308, the resource allocation device allocates resources for the service to be allocated from the available resources and the alternative resources according to the resource demand of the access scene and the priority task scheduling strategy.
At this time, although the total amount of the target resource cannot meet the resource demand of the access scenario corresponding to the service to be allocated, some alternative resources may still be available to be allocated to the service to be allocated. Therefore, the resource allocation device allocates resources for the service to be allocated from the available resources and the alternative resources according to the resource demand of the access scene and the priority task scheduling strategy.
S309, the resource allocation device allocates resources for the service to be allocated from the available resources and the external resources.
Wherein the external resource is a resource other than the target resource.
At this time, the total amount of the target resource does not satisfy the resource demand of the access scenario corresponding to the service to be allocated, and no alternative resource can be used to allocate to the service to be allocated, that is, the resource allocation device needs to schedule an external resource to support resource allocation of the service to be allocated. Therefore, the resource allocation device allocates resources for the service to be allocated from the available resources and the external resources.
Based on the technical scheme, the embodiment of the application can allocate resources for the service to be allocated according to the resource allocation scene matched with the service to be allocated, so that the type of the resources in the resource pool corresponding to the private line service and the access scene of the private line service can be considered during resource allocation, the optimal allocation of the resources is realized, and the efficiency of allocating the resources for the private line service is effectively improved.
For example, referring to fig. 1, as shown in fig. 4, in the resource allocation method provided in the present application, when the resource allocation scenario is the second scenario, the resource allocation apparatus may specifically allocate resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated, including the following steps:
s401, the resource allocation device judges whether the total amount of the target resources is smaller than the total amount of the scene demand.
And the scene demand total amount is the sum of the resource demand amounts of each access scene in different access scenes.
If the total amount of the target resources is less than the total amount of the scene demand, executing the following step S403;
if the total amount of the target resources is greater than or equal to the total amount of the scene demand, the following S402 is performed.
S402, the resource distribution device distributes resources for the service to be distributed from the target resources according to the resource demand of each access scene.
At this time, the total amount of the target resources is represented, and the resource demand of the access scene corresponding to the service to be allocated can be met, so that the resource allocation device allocates the resources for the service to be allocated from the target resources according to the resource demand of each access scene.
S403, the resource allocation device judges whether the total amount of the target resources is larger than or equal to the resource demand of each access scene.
At this time, the total amount of the target resource is represented, and the resource demand of the access scene corresponding to the service to be allocated cannot be met. Then it needs to be determined whether the total amount of target resources can meet the requirement of each access scenario.
If the total amount of the target resources is greater than or equal to the resource demand of each access scene, performing subsequent S404;
if the total amount of the target resources is smaller than the resource demand of any access scenario, the following step S407 is performed.
S404, the resource allocation apparatus determines whether or not there is a substitute resource.
Wherein the substitute resource is an occupied resource in the target resource.
At this time, the total amount of the representative target resource is greater than or equal to the resource demand of each access scenario. At this time, it needs to be determined whether the occupied resource (i.e., the alternative resource) in the target resource can be released in a preset time period, or other resources exist, and can be used as alternative resources of the service to be allocated.
If there is an alternative resource, then execute the following S405;
if there is no alternative resource, the following S406 is performed.
S405, the resource allocation device allocates resources for the service to be allocated from the target resources and the alternative resources according to the resource requirements of each access scene.
At this time, the occupied resource (that is, the alternative resource) in the target resource can be released within the preset time period, or other resources are available, which can be used as alternative resources of the service to be allocated, so that the resource allocation apparatus allocates resources for the service to be allocated from the target resource and the alternative resource according to the resource demand of each access scenario.
S406, the resource allocation device allocates resources for the service to be allocated from the target resources according to the scene priority of each access scene and the resource demand of each access scene.
At this time, the occupied resource (i.e., the alternative resource) in the target resource cannot be released within the preset time period, or no other resource can be used as an alternative resource for the service to be allocated. Therefore, when the target resources cannot completely satisfy the requirements of the services to be allocated, the resource allocation apparatus needs to allocate resources for the services to be allocated from the target resources according to the scene priority of each access scene and the resource demand of each access scene.
S407, the resource allocation apparatus determines whether or not there is a substitute resource.
At this time, that is, the total amount of the representative target resource is smaller than the resource demand of any access scenario, it needs to further determine whether the occupied resource (that is, the alternative resource) in the target resource can be released in the preset time period, or other resources exist, and can be used as the alternative resource of the service to be allocated.
If there is an alternative resource, then perform the following S408;
if there is no alternative resource, the following S409 is performed.
S408, the resource allocation device allocates resources for the service to be allocated from the target resources and the alternative resources according to the resource requirements of each access scene.
At this time, it means that a part of the alternative resources can be utilized to be allocated to the service to be allocated. Therefore, the resource allocation device allocates resources for the service to be allocated from the target resources and the alternative resources according to the resource requirement of each access scene.
S409, the resource allocation device allocates resources for the service to be allocated from the target resources and the external resources.
Wherein the external resource is a resource other than the target resource.
At this time, no alternative resource is available for allocation to the service to be allocated, that is, the resource allocation apparatus needs to schedule an external resource to support resource allocation of the service to be allocated. Therefore, the resource allocation device allocates resources for the service to be allocated from the target resources and the external resources.
Based on the technical scheme, the embodiment of the application can allocate resources to the service to be allocated according to the resource allocation scene matched with the service to be allocated, so that the type of the resources in the resource pool corresponding to the private line service and the access scene of the private line service can be considered during resource allocation, the optimal allocation of the resources is realized, and the efficiency of allocating the resources to the private line service is effectively improved.
Exemplarily, the present application further provides a resource allocation method, so that when there is no alternative resource, resource allocation is performed for a service to be allocated. The method may be referred to when resource allocation is performed in S306, S309, S406, and S409. The method comprises the following specific steps:
(1) The resource allocation device acquires scene priorities and resource demands of all access scenes.
Illustratively, the priority of the access scenario is denoted as P, and the resource demand is denoted as D.
(2) The resource allocation device allocates resources to the service to be allocated according to the situation.
In the first case, compared with each access scene, the scene demand D is the same, and the scene priority P is different.
At this time, the resource allocation device sequentially adjusts the scene demand D of each access scene according to the scene priority P, and performs resource allocation according to the adjusted scene demand D of each access scene.
In the second case, compared with each access scene, the priority P of the scenes is the same, and the scene demand D is different.
In this case, the resource allocation apparatus may allocate resources with reference to the priority task scheduling policy.
It should be noted that, allocating resources for a certain service according to the priority task scheduling policy is a method commonly used in the art, and the specific flow refers to the prior art, and is not described herein again.
In case three, the scene priority P is different from the scene demand D for each access scene.
At this time, the resource allocation device sorts all access scenes according to the scene priority P, and processes different access scenes with the same priority according to the second condition.
Based on the technical scheme, the embodiment of the application can allocate the resources to the service to be allocated when the alternative resources do not exist, thereby ensuring that the resources are allocated to the service to be allocated, realizing the optimal allocation of the resources and effectively improving the efficiency of allocating the resources to the private line service.
In the embodiment of the present application, the resource allocation apparatus may be divided into the functional modules or the functional units according to the above method examples, for example, each functional module or functional unit may be divided corresponding to each function, or two or more functions may be integrated into one processing module. The integrated module may be implemented in a form of hardware, or may be implemented in a form of a software functional module or a functional unit. The division of the modules or units in the embodiment of the present application is schematic, and is only a logic function division, and there may be another division manner in actual implementation.
Exemplarily, as shown in fig. 5, a schematic diagram of a possible structure of a resource allocation apparatus according to an embodiment of the present application is shown. The resource allocation apparatus 500 includes: a processing unit 501;
the processing unit 501 is configured to determine a target resource; the target resource is a network resource corresponding to the service to be distributed, and the number of the service to be distributed is at least one.
The processing unit 501 is further configured to determine a resource identifier of the target resource; the resource identification of the target resource is used for characterizing the type characteristic information of the target resource.
The processing unit 501 is further configured to determine a resource allocation scenario corresponding to the service to be allocated according to the access scenario corresponding to the service to be allocated and the resource identifier of the target resource.
The processing unit 501 is further configured to allocate resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated.
Optionally, the processing unit 501 is further configured to determine whether the access scenarios of the services to be allocated are the same according to the access scenario corresponding to each service in the services to be allocated.
Optionally, the processing unit 501 is further configured to determine a type of the target resource according to the resource identifier of the target resource.
Optionally, the processing unit 501 is further configured to determine, when the access scenarios of the services to be allocated are the same and the types of the target resources are different, that the resource allocation scenario corresponding to the services to be allocated is the first scenario.
Optionally, the processing unit 501 is further configured to determine, when the access scenarios of the services to be allocated are different and the types of the target resources are the same, that the resource allocation scenario corresponding to the services to be allocated is a second scenario.
Optionally, the processing unit 501 is further configured to allocate resources to the service to be allocated from the target resources according to the resource demand of the access scenario when the total amount of the available resources is greater than or equal to the resource demand of the access scenario; wherein, the available resource is the unoccupied resource in the target resource.
Optionally, the processing unit 501 is further configured to determine whether there is a substitute resource when the total amount of the available resources is less than the resource demand of the access scenario and the total amount of the target resource is greater than or equal to the resource demand of the access scenario; if the alternative resources exist, allocating resources for the service to be allocated from the available resources and the alternative resources according to the resource requirements of the access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the available resources according to the priority task scheduling strategy; wherein the substitute resource is an occupied resource in the target resource.
Optionally, the processing unit 501 is further configured to determine whether there is a substitute resource when the total amount of the available resources is smaller than the resource demand of the access scenario and the total amount of the target resource is smaller than the resource demand of the access scenario; if the alternative resources exist, distributing resources for the service to be distributed from the available resources and the alternative resources according to the resource requirement of the access scene and the priority task scheduling strategy; and if the alternative resources do not exist, allocating resources for the service to be allocated from the available resources and the external resources, wherein the external resources are resources except the target resources.
Optionally, the processing unit 501 is further configured to allocate resources to the service to be allocated from the target resources according to the resource demand of each access scene when the total amount of the target resources is greater than or equal to the scene demand total amount; the total scene demand amount is the sum of the resource demand amounts of each access scene in different access scenes;
optionally, the processing unit 501 is further configured to determine whether there is a substitute resource when the total amount of the target resource is less than the total amount of the scene demand and the total amount of the target resource is greater than or equal to the resource demand of each access scene; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; if no substitute resource exists, distributing resources for the service to be distributed from the target resources according to the scene priority of each access scene and the resource demand of each access scene; wherein, the substitute resource is the occupied resource in the target resource;
optionally, the processing unit 501 is further configured to determine whether there is a substitute resource when the total amount of the target resource is less than the total amount of the scene demand and the total amount of the target resource is less than the resource demand of any access scene; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; and if the alternative resources do not exist, distributing resources for the service to be distributed from the target resources and the external resources according to the scene priority of each access scene and the resource demand of each access scene, wherein the external resources are resources except the target resources.
Optionally, the resource allocation apparatus 500 may further include a storage unit (shown by a dashed box in fig. 5), which stores a program or an instruction, and when the processing unit 501 executes the program or the instruction, the resource allocation apparatus may execute the resource allocation method according to the above method embodiment.
In addition, for technical effects of the resource allocation apparatus described in fig. 5, reference may be made to technical effects of the resource allocation method described in the foregoing embodiment, and details are not repeated here.
Fig. 6 is a schematic diagram of another possible structure of the resource allocation apparatus in the foregoing embodiment. As shown in fig. 6, the resource allocation apparatus 600 includes: a processor 602.
The processor 602 is configured to control and manage the actions of the resource allocation apparatus, for example, to execute the steps performed by the processing unit 501, and/or to execute other processes of the technical solutions described herein.
The processor 602 may be any means that can implement or execute the various illustrative logical blocks, modules, and circuits described in connection with the present application. The processor may be a central processing unit, general purpose processor, digital signal processor, application specific integrated circuit, field programmable gate array or other programmable logic device, transistor logic device, hardware component, or any combination thereof. Which may implement or perform the various illustrative logical blocks, modules, and circuits described in connection with the disclosure. The processor may also be a combination of computing functions, e.g., comprising one or more microprocessors, DSPs, and microprocessors, among others.
Optionally, the resource allocation apparatus 600 may further include a communication interface 603, a memory 601, and a bus 604. Wherein the communication interface 603 is configured to support communication of the resource allocating arrangement 600 with other network entities. The memory 601 is used for storing program codes and data of the resource allocation apparatus.
Wherein the memory 601 may be a memory in a resource allocation device, which may include volatile memory, such as random access memory; the memory may also include non-volatile memory, such as read-only memory, flash memory, a hard disk, or a solid state disk; the memory may also comprise a combination of memories of the kind described above.
The bus 604 may be an Extended Industry Standard Architecture (EISA) bus or the like. The bus 604 may be divided into an address bus, a data bus, a control bus, and the like. For ease of illustration, only one thick line is shown in FIG. 6, but this is not intended to represent only one bus or type of bus.
Through the above description of the embodiments, it is clear to those skilled in the art that, for convenience and simplicity of description, the foregoing division of the functional modules is merely used as an example, and in practical applications, the above function distribution may be completed by different functional modules according to needs, that is, the internal structure of the device may be divided into different functional modules to complete all or part of the above described functions. For the specific working processes of the system, the apparatus, and the module described above, reference may be made to the corresponding processes in the foregoing method embodiments, which are not described herein again.
Embodiments of the present application provide a computer program product including instructions, which, when run on an electronic device of the present application, cause the computer to execute the resource allocation method of the above method embodiments.
An embodiment of the present application further provides a computer-readable storage medium, where instructions are stored in the computer-readable storage medium, and when a computer executes the instructions, the electronic device of the present application executes each step executed by the resource allocation apparatus in the method flow shown in the foregoing method embodiment.
The computer readable storage medium may be, for example, but not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system, apparatus, or device, or any combination thereof. More specific examples (a non-exhaustive list) of the computer readable storage medium would include the following: an electrical connection having one or more wires, a portable computer diskette, and a hard disk. Random Access Memory (RAM), read-Only Memory (ROM), erasable Programmable Read-Only Memory (EPROM), registers, a hard disk, an optical fiber, a portable Compact disk Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any other form of computer-readable storage medium, in any suitable combination, or as appropriate in the art. An exemplary storage medium is coupled to the processor such the processor can read information from, and write information to, the storage medium. Of course, the storage medium may also be integral to the processor. The processor and the storage medium may reside in an Application Specific Integrated Circuit (ASIC). In embodiments of the present application, a computer readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system, apparatus, or device.
The above description is only an embodiment of the present application, but the scope of the present application is not limited thereto, and any changes or substitutions within the technical scope disclosed in the present application should be covered within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.

Claims (14)

1. A method for resource allocation, the method comprising:
determining a target resource; the target resource is a network resource corresponding to a service to be allocated, and the number of the service to be allocated is at least one;
determining a resource identifier of the target resource; the resource identification of the target resource is used for representing the type characteristic information of the target resource;
determining a resource allocation scene corresponding to the service to be allocated according to the access scene corresponding to the service to be allocated and the resource identifier of the target resource;
and distributing resources for the service to be distributed according to the resource distribution scene matched with the service to be distributed.
2. The method according to claim 1, wherein the determining, according to the access scenario corresponding to the service to be allocated and the resource identifier of the target resource, a resource allocation scenario corresponding to the service to be allocated specifically includes:
determining whether the access scenes of the services to be distributed are the same according to the access scene corresponding to each service in the services to be distributed;
determining the type of the target resource according to the resource identifier of the target resource;
if the access scenes of the services to be distributed are the same and the types of the target resources are different, determining that the resource distribution scene corresponding to the services to be distributed is a first scene;
and if the access scenes of the service to be distributed are different and the types of the target resources are the same, determining that the resource distribution scene corresponding to the service to be distributed is a second scene.
3. The method according to claim 2, wherein if the resource allocation scenario corresponding to the service to be allocated is a first scenario, the allocating resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated specifically includes:
if the total amount of the available resources is larger than or equal to the resource demand of the access scene, allocating resources for the service to be allocated from the target resources according to the resource demand of the access scene; wherein the available resource is an unoccupied resource in the target resource;
if the total amount of the available resources is less than the resource demand of the access scene and the total amount of the target resources is greater than or equal to the resource demand of the access scene, judging whether alternative resources exist; if the alternative resources exist, resources are distributed for the service to be distributed from the available resources and the alternative resources according to the resource requirements of the access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the available resources according to a priority task scheduling strategy; wherein the alternative resource is an occupied resource in the target resource;
if the total amount of the available resources is smaller than the resource demand of the access scene and the total amount of the target resources is smaller than the resource demand of the access scene, judging whether alternative resources exist; if the alternative resources exist, distributing resources for the service to be distributed from the available resources and the alternative resources according to the resource requirement of the access scene and a priority task scheduling strategy; and if the alternative resource does not exist, allocating resources for the service to be allocated from the available resources and external resources, wherein the external resources are resources except the target resources.
4. The method according to claim 2, wherein if the resource allocation scenario corresponding to the service to be allocated is a second scenario, the allocating resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated specifically comprises:
if the total amount of the target resources is greater than or equal to the total amount of the scene demands, allocating resources for the service to be allocated from the target resources according to the resource demands of each access scene; the scene demand total amount is the sum of resource demand amounts of each access scene in different access scenes;
if the total amount of the target resources is less than the total amount of the scene demands and the total amount of the target resources is greater than or equal to the resource demand amount of each access scene, judging whether alternative resources exist; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the target resources according to the scene priority of each access scene and the resource demand of each access scene; wherein the alternative resource is an occupied resource in the target resource;
if the total amount of the target resources is less than the total amount of the scene demands and the total amount of the target resources is less than the resource demand of any one of the access scenes, judging whether alternative resources exist; if the alternative resources exist, resources are distributed for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; and if the alternative resources do not exist, allocating resources for the service to be allocated from the target resources and external resources according to the scene priority of each access scene and the resource demand of each access scene, wherein the external resources are resources except the target resources.
5. The method according to any of claims 1-4, wherein the type characteristic information of the target resource comprises at least one of: the type of resource, frequency of use, whether it is occupied, whether there is a replacement resource.
6. The method according to any of claims 1-4, wherein the service type of the service to be allocated is private line service.
7. A resource allocation apparatus, characterized in that the resource allocation apparatus comprises: a processing unit;
the processing unit is used for determining a target resource; the target resource is a network resource corresponding to a service to be allocated, and the number of the service to be allocated is at least one;
the processing unit is further configured to determine a resource identifier of the target resource; the resource identification of the target resource is used for representing the type characteristic information of the target resource;
the processing unit is further configured to determine a resource allocation scenario corresponding to the service to be allocated according to the access scenario corresponding to the service to be allocated and the resource identifier of the target resource;
and the processing unit is further configured to allocate resources to the service to be allocated according to the resource allocation scenario matched with the service to be allocated.
8. The resource allocation apparatus according to claim 7,
the processing unit is further configured to determine whether the access scenarios of the services to be distributed are the same according to the access scenario corresponding to each service in the services to be distributed;
the processing unit is further configured to determine a type of the target resource according to the resource identifier of the target resource;
the processing unit is further configured to determine that a resource allocation scenario corresponding to the service to be allocated is a first scenario when the access scenarios of the service to be allocated are the same and the types of the target resources are different;
the processing unit is further configured to determine that the resource allocation scenario corresponding to the service to be allocated is a second scenario when the access scenarios of the service to be allocated are different and the types of the target resources are the same.
9. The resource allocation apparatus according to claim 8,
the processing unit is further configured to allocate resources to the service to be allocated from the target resources according to the resource demand of the access scenario when the total amount of available resources is greater than or equal to the resource demand of the access scenario; wherein the available resource is an unoccupied resource in the target resource;
the processing unit is further configured to determine whether a substitute resource exists when the total amount of the available resources is less than the resource demand of the access scenario and the total amount of the target resource is greater than or equal to the resource demand of the access scenario; if the alternative resources exist, allocating resources for the service to be allocated from the available resources and the alternative resources according to the resource requirements of the access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the available resources according to a priority task scheduling strategy; wherein the alternative resource is an occupied resource in the target resource;
the processing unit is further configured to determine whether a substitute resource exists when the total amount of the available resources is smaller than the resource demand of the access scenario and the total amount of the target resource is smaller than the resource demand of the access scenario; if the alternative resources exist, distributing resources for the service to be distributed from the available resources and the alternative resources according to the resource requirement of the access scene and a priority task scheduling strategy; and if the alternative resource does not exist, allocating resources for the service to be allocated from the available resources and external resources, wherein the external resources are resources except the target resources.
10. The resource allocation apparatus according to claim 8,
the processing unit is further configured to allocate resources to the service to be allocated from the target resources according to the resource demand of each access scene when the total amount of the target resources is greater than or equal to the scene demand total amount; the scene demand total amount is the sum of resource demand amounts of each access scene in different access scenes;
the processing unit is further configured to determine whether alternative resources exist when the total amount of the target resources is less than the total amount of the scene demands and the total amount of the target resources is greater than or equal to the resource demand amount of each access scene; if the alternative resources exist, resources are distributed for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; if the alternative resources do not exist, distributing resources for the service to be distributed from the target resources according to the scene priority of each access scene and the resource demand of each access scene; wherein the alternative resource is an occupied resource in the target resource;
the processing unit is further configured to determine whether a substitute resource exists when the total amount of the target resource is less than the total amount of the scene demands and the total amount of the target resource is less than the resource demand of any one of the access scenes; if the alternative resources exist, distributing resources for the service to be distributed from the target resources and the alternative resources according to the resource requirements of each access scene; and if the alternative resources do not exist, allocating resources for the service to be allocated from the target resources and external resources according to the scene priority of each access scene and the resource demand of each access scene, wherein the external resources are resources except the target resources.
11. The apparatus according to any of claims 7-10, wherein the type characteristic information of the target resource comprises at least one of: the type of resource, frequency of use, whether it is occupied, whether there is a replacement resource.
12. The resource allocation apparatus according to any one of claims 7-10, wherein the service type of the service to be allocated is a dedicated line service.
13. An electronic device, comprising: a processor and a memory; wherein the memory is configured to store computer-executable instructions that, when executed by the electronic device, cause the electronic device to perform the method of resource allocation of any of claims 1-6.
14. A computer-readable storage medium comprising instructions that, when executed by an electronic device, enable the electronic device to perform the resource allocation method of any of claims 1-6.
CN202211097408.6A 2022-09-08 2022-09-08 Resource allocation method and device, electronic equipment and storage medium Pending CN115550282A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202211097408.6A CN115550282A (en) 2022-09-08 2022-09-08 Resource allocation method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202211097408.6A CN115550282A (en) 2022-09-08 2022-09-08 Resource allocation method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN115550282A true CN115550282A (en) 2022-12-30

Family

ID=84726451

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202211097408.6A Pending CN115550282A (en) 2022-09-08 2022-09-08 Resource allocation method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN115550282A (en)

Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120057537A1 (en) * 2010-09-03 2012-03-08 Brett Schein Method and device for conditional access
US20120144038A1 (en) * 2010-12-07 2012-06-07 Cisco Technology, Inc. System and method for allocating resources based on events in a network environment
CN102761469A (en) * 2011-04-27 2012-10-31 阿里巴巴集团控股有限公司 Allocation method and device for resource pool
CN105530707A (en) * 2015-12-21 2016-04-27 东南大学 Resource distribution method based on mixed optimization in heterogeneous converging scene
CN105992215A (en) * 2015-03-05 2016-10-05 中国移动通信集团设计院有限公司 Method and device for determining spectrum resource utilization degree
CN110717752A (en) * 2019-08-28 2020-01-21 阿里巴巴集团控股有限公司 Electronic resource processing method, device, server and readable storage medium
CN110928679A (en) * 2019-10-16 2020-03-27 华为技术有限公司 Resource allocation method and device
CN111796937A (en) * 2020-06-29 2020-10-20 平安国际智慧城市科技股份有限公司 Resource allocation method based on memory, computer equipment and storage medium
CN113138850A (en) * 2020-01-20 2021-07-20 腾讯科技(深圳)有限公司 Resource allocation method and device
CN114285740A (en) * 2021-12-08 2022-04-05 中国联合网络通信集团有限公司 Special line resource allocation method and device, electronic equipment and storage medium
CN114860453A (en) * 2022-05-27 2022-08-05 中国第一汽车股份有限公司 Method and device for executing tasks of scene engine, electronic equipment and storage medium

Patent Citations (11)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120057537A1 (en) * 2010-09-03 2012-03-08 Brett Schein Method and device for conditional access
US20120144038A1 (en) * 2010-12-07 2012-06-07 Cisco Technology, Inc. System and method for allocating resources based on events in a network environment
CN102761469A (en) * 2011-04-27 2012-10-31 阿里巴巴集团控股有限公司 Allocation method and device for resource pool
CN105992215A (en) * 2015-03-05 2016-10-05 中国移动通信集团设计院有限公司 Method and device for determining spectrum resource utilization degree
CN105530707A (en) * 2015-12-21 2016-04-27 东南大学 Resource distribution method based on mixed optimization in heterogeneous converging scene
CN110717752A (en) * 2019-08-28 2020-01-21 阿里巴巴集团控股有限公司 Electronic resource processing method, device, server and readable storage medium
CN110928679A (en) * 2019-10-16 2020-03-27 华为技术有限公司 Resource allocation method and device
CN113138850A (en) * 2020-01-20 2021-07-20 腾讯科技(深圳)有限公司 Resource allocation method and device
CN111796937A (en) * 2020-06-29 2020-10-20 平安国际智慧城市科技股份有限公司 Resource allocation method based on memory, computer equipment and storage medium
CN114285740A (en) * 2021-12-08 2022-04-05 中国联合网络通信集团有限公司 Special line resource allocation method and device, electronic equipment and storage medium
CN114860453A (en) * 2022-05-27 2022-08-05 中国第一汽车股份有限公司 Method and device for executing tasks of scene engine, electronic equipment and storage medium

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
刘明月: "面向智能电网的5G网络切片资源分配算法研究", 《中国优秀硕士学位论文全文数据库》, 30 December 2021 (2021-12-30) *
尹光辉,尼俊红,岳顺民等: "eMBB与URLLC混合业务场景下的用户调度和资源分配", 《电力信息与通信技术》, 31 December 2019 (2019-12-31), pages 1 - 8 *
顿辉: "基于博弈论与凸优化的 D2D 通信资源分配算法研究", 《中国博士学位论文全文数据库》, 1 March 2021 (2021-03-01) *

Similar Documents

Publication Publication Date Title
CN111651253B (en) Computing resource scheduling method and device
CN110896355B (en) Network slice selection method and device
Trivisonno et al. Network resource management and QoS in SDN-enabled 5G systems
CN109743751B (en) Resource allocation method and device for wireless access network
CN110267276B (en) Network slice deployment method and device
CN114168351A (en) Resource scheduling method and device, electronic equipment and storage medium
Taka et al. Service placement and user assignment in multi-access edge computing with base-station failure
US10382582B1 (en) Hierarchical network traffic scheduling using dynamic node weighting
CN114828235A (en) Bandwidth allocation method, bandwidth allocation device and computer-readable storage medium
CN115550282A (en) Resource allocation method and device, electronic equipment and storage medium
CN113453285B (en) Resource adjusting method, device and storage medium
Spallina et al. Energy-efficient Resource Allocation in Multi-Tenant Edge Computing using Markov Decision Processes
CN113395183B (en) Virtual node scheduling method and system for network simulation platform VLAN interconnection
CN112231096B (en) Method, system, equipment and medium for task balancing of FPGA (field programmable Gate array) pooled resources
CN115883283A (en) Deployment method and device of containerization VNF
CN114237914A (en) Management scheduling system based on hybrid cloud
CN114172951A (en) MEC sharing method, communication device and storage medium
CN116155829A (en) Network traffic processing method and device, medium and electronic equipment
CN105743999A (en) Distributed link access bandwidth control system
CN112616143A (en) Method and device for distributing communication number, electronic equipment and storage medium
CN114615155A (en) Method and device for deploying service
CN112804162A (en) Scheduling method, scheduling device, terminal equipment and storage medium
CN107294765B (en) Network function virtualization self-adaptive trust management method
CN111629050A (en) Node scheduling method and device, storage medium and electronic device
CN111245794A (en) Data transmission method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination