CN116954907A - Edge resource allocation method, device, equipment and computer readable storage medium - Google Patents

Edge resource allocation method, device, equipment and computer readable storage medium Download PDF

Info

Publication number
CN116954907A
CN116954907A CN202310926171.6A CN202310926171A CN116954907A CN 116954907 A CN116954907 A CN 116954907A CN 202310926171 A CN202310926171 A CN 202310926171A CN 116954907 A CN116954907 A CN 116954907A
Authority
CN
China
Prior art keywords
edge
resource
node
edge resource
degree
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
CN202310926171.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 Mobile Communications Group Co Ltd
China Mobile Group Jiangsu Co Ltd
Original Assignee
China Mobile Communications Group Co Ltd
China Mobile Group Jiangsu 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 Mobile Communications Group Co Ltd, China Mobile Group Jiangsu Co Ltd filed Critical China Mobile Communications Group Co Ltd
Priority to CN202310926171.6A priority Critical patent/CN116954907A/en
Publication of CN116954907A publication Critical patent/CN116954907A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5072Grid computing
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F9/00Arrangements for program control, e.g. control units
    • G06F9/06Arrangements for program control, e.g. control units using stored programs, i.e. using an internal store of processing equipment to receive or retain programs
    • G06F9/46Multiprogramming arrangements
    • G06F9/50Allocation of resources, e.g. of the central processing unit [CPU]
    • G06F9/5061Partitioning or combining of resources
    • G06F9/5066Algorithms for mapping a plurality of inter-dependent sub-tasks onto a plurality of physical CPUs
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/10Protocols in which an application is distributed across nodes in the network
    • H04L67/1095Replication or mirroring of data, e.g. scheduling or transport for data synchronisation between network nodes

Landscapes

  • Engineering & Computer Science (AREA)
  • Software Systems (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Mathematical Physics (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Data Exchanges In Wide-Area Networks (AREA)

Abstract

The invention discloses a method, a device, equipment and a computer readable storage medium for allocating edge resources, wherein the method comprises the following steps: determining the fit degree of the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed; determining the node association degree of the node corresponding to the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user; and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands. The invention improves the resource allocation efficiency by determining the matching degree of the edge resources and the user demands and allocating the edge resources to the users according to the matching degree.

Description

Edge resource allocation method, device, equipment and computer readable storage medium
Technical Field
The present invention relates to the field of computer technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for allocating edge resources.
Background
Edge resources are resources that are distributed across the edges of a network to meet user demands for real-time, low latency, high bandwidth, and security performance, where edge resources include edge servers, edge computing devices, edge storage devices, and the like. These resources are typically located in a data center, network node, or device near the user and can provide faster response times and better user experience. However, the edge resources in the mobile edge computing network are isolated and belong to different users, so that the users cannot utilize the isolated, idle edge resources.
Disclosure of Invention
The main object of the present invention is to provide a method, apparatus, device and computer readable storage medium for allocating edge resources, which aims to solve the problem that a user cannot utilize isolated and idle edge resources.
In order to achieve the above object, the present invention provides an edge resource allocation method, which includes the following steps:
determining the fit degree of the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed;
determining the node association degree of the node corresponding to the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user;
and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
Optionally, before the step of determining the fitness between the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed, the method further includes:
acquiring the associated information of the edge resource;
and after the associated information meets a preset allocation condition, executing the step of determining the degree of fit between the edge resource and the service to be processed according to the degree of similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed.
Optionally, the association information does not meet a preset allocation condition, including at least one of the following:
if the historical use condition of the edge resource represents that the use rate of the edge resource is periodic and the residual resource quantity of the edge resource in the preset time period is smaller than a preset threshold value, the associated information does not meet a preset allocation condition;
if the service type processed by the used edge resource is the service type with the security level requirement being greater than the preset service level, the associated information does not meet the preset allocation condition;
if the terminal type of the used edge resource interaction is also the terminal type with the security level requirement being greater than the preset terminal level, the associated information does not meet the preset allocation condition.
Optionally, the step of determining the node association degree between the node corresponding to the edge resource and the node to be interacted includes:
obtaining the distance between the node of the edge resource and the node to be interacted;
determining the normal probability of the node to be interacted when the node of the edge resource is normal within a preset time period;
and determining the node association degree according to the distance and the normal probability.
Optionally, the method further comprises:
determining the resource quality of the edge resource according to the historical abnormal probability of the edge resource and the service processing amount in unit time;
the step of determining the matching degree of the edge resource and the user demand according to the fit degree and the node association degree so as to determine the edge resource matched with the user demand comprises the following steps:
and determining the matching degree of the edge resources and the user demands according to the resource quality, the fitting degree and the node association degree so as to determine the edge resources matched with the user demands.
Optionally, the method further comprises:
determining a time duration relevance according to the ratio of the allocable time duration of the edge resource to the time duration of the demand corresponding to the user demand;
according to the resource quality, the fit degree and the node association degree, determining the matching degree of the edge resource and the user demand so as to determine the edge resource matched with the user demand comprises the following steps:
and determining the matching degree of the edge resource and the user demand according to the duration relevance, the resource quality, the fit degree and the node relevance so as to determine the edge resource matched with the user demand.
Optionally, after the step of determining the matching degree between the edge resource and the user requirement according to the fitness and the node association degree, the method further includes:
determining the average value of the rest edge resources;
and determining the resource value of the edge resource according to the matching degree and the average value.
In order to achieve the above object, the present invention further provides an edge resource allocation apparatus, including:
the determining module is used for determining the fit degree of the edge resource and the service to be processed according to the similarity of the terminal served by the edge resource and the terminal corresponding to the service to be processed;
the computing module is used for determining the node association degree of the node corresponding to the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user;
and the matching module is used for determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
In order to achieve the above object, the present invention also provides an edge resource allocation apparatus including a memory, a processor, and an edge resource allocation program stored in the memory and executable on the processor, which when executed by the processor, implements the respective steps of the edge resource allocation method as described above.
To achieve the above object, the present invention also provides a computer-readable storage medium storing an edge resource allocation program which, when executed by a processor, implements the respective steps of the edge resource allocation method described above.
According to the edge resource distribution method, the device, the equipment and the computer readable storage medium, the degree of fit between the edge resource and the service to be processed is determined according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed; determining node association degree of nodes corresponding to the edge resources and nodes to be interacted; and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands. By determining the matching degree of the edge resources and the user demands and distributing the edge resources to the users according to the matching degree, the utilization of the edge resources is realized, the resource distribution efficiency is further improved, other users can utilize the distributable edge resources, and the utilization efficiency of the edge resources is effectively improved.
Drawings
Fig. 1 is a schematic hardware structure of an edge resource allocation device according to an embodiment of the present invention;
FIG. 2 is a flowchart illustrating a first embodiment of an edge resource allocation method according to the present invention;
FIG. 3 is a flowchart illustrating a second embodiment of the edge resource allocation method according to the present invention;
FIG. 4 is a flowchart illustrating a third embodiment of an edge resource allocation method according to the present invention;
fig. 5 is a schematic logic structure diagram of an edge resource allocation device according to the present invention.
The achievement of the objects, functional features and advantages of the present invention will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The main solutions of the embodiments of the present invention are: determining the fit degree of the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed; determining node association degree of nodes corresponding to the edge resources and nodes to be interacted; and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands. By determining the matching degree of the edge resources and the user demands and distributing the edge resources to the users according to the matching degree, the utilization of the edge resources is realized, the resource distribution efficiency is further improved, other users can utilize the distributable edge resources, and the utilization efficiency of the edge resources is effectively improved.
As an implementation, the edge resource allocation device may be as shown in fig. 1.
The embodiment of the invention relates to edge resource allocation equipment, which comprises: a processor 101, such as a CPU, a memory 102, and a communication bus 103. Wherein the communication bus 103 is used to enable connected communication among the components.
The memory 102 may be a high-speed RAM memory or a stable memory (non-volatile memory), such as a disk memory. As shown in fig. 1, an edge resource allocation program may be included in a memory 102 as a computer-readable storage medium; and the processor 101 may be configured to call the edge resource allocation program stored in the memory 102 and perform the following operations:
determining the fit degree of the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed;
determining the node association degree of the node corresponding to the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user;
and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
Alternatively, the processor 101 may be configured to call an edge resource allocation program stored in the memory 102 and perform the following operations:
acquiring the associated information of the edge resource;
and after the associated information meets a preset allocation condition, executing the step of determining the degree of fit between the edge resource and the service to be processed according to the degree of similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed.
Alternatively, the processor 101 may be configured to call an edge resource allocation program stored in the memory 102 and perform the following operations:
if the historical use condition of the edge resource represents that the use rate of the edge resource is periodic and the residual resource quantity of the edge resource in the preset time period is smaller than a preset threshold value, the associated information does not meet a preset allocation condition;
if the service type processed by the used edge resource is the service type with the security level requirement being greater than the preset service level, the associated information does not meet the preset allocation condition;
if the terminal type of the used edge resource interaction is also the terminal type with the security level requirement being greater than the preset terminal level, the associated information does not meet the preset allocation condition.
Alternatively, the processor 101 may be configured to call an edge resource allocation program stored in the memory 102 and perform the following operations:
obtaining the distance between the node of the edge resource and the node to be interacted;
determining the normal probability of the node to be interacted when the node of the edge resource is normal within a preset time period;
and determining the node association degree according to the distance and the normal probability.
Alternatively, the processor 101 may be configured to call an edge resource allocation program stored in the memory 102 and perform the following operations:
determining the resource quality of the edge resource according to the historical abnormal probability of the edge resource and the service processing amount in unit time;
and determining the matching degree of the edge resources and the user demands according to the resource quality, the fitting degree and the node association degree so as to determine the edge resources matched with the user demands.
Alternatively, the processor 101 may be configured to call an edge resource allocation program stored in the memory 102 and perform the following operations:
determining a time duration relevance according to the ratio of the allocable time duration of the edge resource to the time duration of the demand corresponding to the user demand;
and determining the matching degree of the edge resource and the user demand according to the duration relevance, the resource quality, the fit degree and the node relevance so as to determine the edge resource matched with the user demand.
Alternatively, the processor 101 may be configured to call an edge resource allocation program stored in the memory 102 and perform the following operations:
determining the average value of the rest edge resources;
and determining the resource value of the edge resource according to the matching degree and the average value.
Based on the hardware architecture of the edge resource allocation device, the embodiment of the edge resource allocation method is provided.
Referring to fig. 2, fig. 2 is a first embodiment of the edge resource allocation method according to the present invention, the edge resource allocation method includes the following steps:
and step S10, determining the fit degree of the edge resource and the service to be processed according to the similarity of the terminal served by the edge resource and the terminal corresponding to the service to be processed.
Optionally, the similarity s between the terminal of the edge resource history service and the terminal corresponding to the service to be processed is determined, and the fit degree between the edge resource and the service to be processed is determined according to the similarity s. Optionally, when the similarity is greater than a preset similarity threshold, determining that the edge resource has high matching degree with the service to be processed, and when the similarity is less than or equal to the preset similarity threshold, determining that the edge resource has low matching degree with the service to be processed.
Alternatively, the terminals of the edge resource history service may be recorded on the blockchain corresponding to the edge resource, that is, the blockchain may record the corresponding terminals when the edge resource changes. Optionally, when distributing the allocation information of the edge resource, the owner of the edge resource manually fills in or selects from the terminal pushed by the history processing record, and then displays the information on the blockchain.
Optionally, the blockchain corresponding to the edge resource records corresponding information when the edge resource changes, such as a change start time, a change end time, a pre-change resource remaining amount, a post-change resource remaining amount, and allocation information of the edge resource, by generating a new node. For example, the amount of resources allocated, the allocation price, the allocation time, additional allocation conditions, etc.
Optionally, determining the degree of agreement according to the service similarity between the history service processed by the edge resource and the service to be processed. Optionally, when the service similarity is greater than a preset similarity threshold, determining that the edge resource has high matching degree with the service to be processed, and when the service similarity is less than or equal to the preset similarity threshold, determining that the edge resource has low matching degree with the service to be processed.
Alternatively, the edge resource processed history traffic may be recorded on the blockchain corresponding to the edge resource. Optionally, when distributing the distribution information of the edge resource, the owner of the edge resource manually fills in the history service processed by the edge resource, and then displays the history service on the blockchain.
Step S20, determining the node association degree of the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user.
Optionally, acquiring the distance between the node of the edge resource and the node to be interacted; determining the normal probability of the node to be interacted when the node of the edge resource is normal within a preset time period; and determining the node association degree according to the distance and the normal probability. Alternatively, the larger the distance, the smaller the node association, and the larger the node association. Alternatively, the greater the normal probability, the sectionThe larger the point association degree is, the smaller the normal probability is, and the smaller the node association degree is. Optionally, node association = normal probability/distance = p 2 /l。
Optionally, the association degree between the currently published edge resource and the node to be interacted can be determined by the distance l between the node of the edge resource and the node to be interacted and the normal probability p that the node to be interacted is normal when the edge node is normal in the same time period 2 To determine. Optionally, in determining the normal probability p 2 Selecting the states of the nodes of the edge resource and the nodes to be interacted in any historical time period for multiple times, and determining p according to the probability that both the multiple times are normal 2
And step S30, determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
Optionally, the edge resource demander determines the edge resource owner based on the degree of matching. The higher the matching degree is, the more the edge resources are matched with the user demands of the edge resource demander of the edge resources; the lower the degree of matching, the less mismatched the edge resource is to the user needs of the edge resource demander of the edge resource. Optionally, the user requirements include information such as service to be processed and node to be interacted.
Alternatively, the higher the fit, the higher the match, the lower the fit, and the lower the match. Optionally, the higher the node association degree is, the higher the matching degree is, the lower the node association degree is, and the lower the matching degree is.
Optionally, determining the matching degree of the edge resource and the user demand according to the product of the fit degree and the node association degree.
Optionally, after step S30, the method further includes: determining the average value of the rest edge resources; and determining the resource value of the edge resource according to the matching degree and the average value. And publishing the edge resources and the resource values to the blockchain, or recommending the edge resources and the resource values to the users corresponding to the requirements.
Optionally, the node of the edge resource matched with the user requirement and the node to be interacted with jointly process the task to be processed.
After determining the degree of matching, the edge resource owner obtains a reference price based on the degree of matching and the average price of other edge resources published by other blockchains acquired randomly, and then bids based on the reference price and the price published by the owner of the edge resource. Alternatively, the user whose risk level meets the publication requirement can bid. Alternatively, the bid price may be recorded into the blockchain, and the edge resource owner may view the bid through the blockchain and determine the final buyer.
In the technical scheme of the embodiment, according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed, determining the fit between the edge resource and the service to be processed; determining node association degree of nodes corresponding to the edge resources and nodes to be interacted; and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands. By determining the matching degree of the edge resources and the user demands and distributing the edge resources to the users according to the matching degree, the utilization of the edge resources is realized, the resource distribution efficiency is further improved, other users can utilize the distributable edge resources, and the utilization efficiency of the edge resources is effectively improved.
Referring to fig. 3, fig. 3 is a second embodiment of the edge resource allocation method according to the present invention, based on the first embodiment, before the step S10, further includes:
step S40, obtaining the associated information of the edge resources;
and S50, after the associated information meets a preset allocation condition, executing the step of determining the fit degree of the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed.
Optionally, the associated information includes a historical usage of the edge resource, a service type handled by the currently used edge resource, a terminal type interacted with the currently used edge resource, and the like.
Optionally, when the remaining edge resources held by the owner of the edge resource are greater than the preset resource amount, the association information of the edge resource may be obtained, and whether the edge resource is available for allocation may be determined according to the association information.
Optionally, if the historical usage of the edge resource indicates that the usage rate of the edge resource is periodic, and the remaining resource amount of the edge resource in the preset time period is smaller than a preset threshold, the association information does not meet a preset allocation condition. The historical use condition of the edge resource represents that the use rate of the edge resource is periodic, and the edge resource is more likely to remain less in a future period of time, and cannot be allocated.
Optionally, if the service type processed by the currently used edge resource is a service type with a security service level requirement greater than a preset level, the association information does not meet a preset allocation condition. For example, if the service type of the currently used edge resource process is a service type with a higher security level requirement, such as a financial service, a certificate service, etc., it is determined that the edge resource cannot be allocated.
Optionally, if the terminal type of the currently used edge resource interaction is also a terminal type with a security level requirement greater than a preset terminal level, the association information does not meet a preset allocation condition. For example, if the terminal type of the currently used edge resource interaction is also a terminal type with a higher security level requirement, such as a POS machine, etc., it is also determined that the edge resource cannot be allocated.
Alternatively, if it is not determined that the terminal cannot be shared according to the association information of the edge resource, the terminal used by the owner of the edge resource may determine that the currently remaining edge resource is available for allocation. That is, when the association information is determined to satisfy the preset allocation condition except for the case where the preset allocation condition is not satisfied.
Alternatively, the terminal may display to the owner of the edge resource the specific condition of the amount of the edge resource available for allocation, the duration of the available for allocation, the settable base price, the allocation conditions that need to be set, and the like. After seeing the reminding, the owner of the edge resources can determine the amount of the edge resources available for allocation according to the specific condition of the amount of the edge resources available for allocation, and the corresponding suggested allocation duration and price, and at this time, if the user agrees to allocate the part of the edge resources, the corresponding allocation conditions can be set. After setting the corresponding allocation conditions, the owners of the edge resources can click to confirm, at this time, the corresponding terminals can generate new nodes on the blockchain to issue relevant information of the total amount of the edge resources available for allocation and the allocation conditions, for example, the relevant information includes the corresponding positions of the edge resources, the change starting time, the change ending time, the resource remaining before the change, the resource remaining after the change and the like.
Optionally, the set allocation conditions include at least a risk level, a risk behavior, and the like. Optionally, the risk level is authenticated by the authentication center, that is, when the user wants to acquire the edge resources allocated by other users, a risk level authentication request may be sent to the authentication center, and after the risk level authentication center performs security authentication on the user according to the information submitted by the user, a corresponding risk level value is allocated to the user.
Alternatively, the settable base price may be determined based on a default price per unit and the total amount of available resources for allocation, or may be determined based on pricing of the amount of available edge resources as noted on other blockchains of the current disclosure.
In the technical scheme of the embodiment, the related information of the edge resource is acquired; and after the associated information meets the preset allocation condition, determining the fit degree of the edge resource and the service to be processed according to the similarity of the terminal served by the edge resource and the terminal corresponding to the service to be processed. By screening the associated information of the edge resources, the allocatable edge resources are determined, so that other users can utilize the allocatable edge resources, the utilization of the edge resources is realized, and the utilization efficiency of the edge resources is further improved.
Referring to fig. 4, fig. 4 is a third embodiment of the edge resource allocation method according to the present invention, and based on the first or second embodiment, the method further includes:
step S60, determining the resource quality of the edge resource according to the historical abnormal probability of the edge resource and the service processing amount in unit time;
and S31, determining the matching degree of the edge resources and the user demands according to the resource quality, the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
Alternatively, the historical anomaly probability p is based on edge resources 1 And traffic handling capacity m per unit time to determine the resource quality of the edge resource. Alternatively, resource quality= (1-p 1 )×m。
Alternatively, the historical anomaly probability p 1 The larger the resource quality is, the lower the resource quality is, otherwise, the historical anomaly probability p is 1 The smaller the resource quality the higher. Alternatively, the larger the traffic handling capacity m in unit time, the higher the resource quality, whereas the smaller the traffic handling capacity m in unit time, the lower the resource quality.
Alternatively, the higher the quality of the resource, the higher the degree of matching, the lower the quality of the resource, and the lower the degree of matching. Alternatively, the higher the fit, the higher the match, the lower the fit, and the lower the match. Optionally, the higher the node association degree is, the higher the matching degree is, the lower the node association degree is, and the lower the matching degree is. Optionally, the matching degree is determined according to the product of the resource quality, the fit degree and the node association degree.
Optionally, the duration association degree z is determined according to a ratio of the allocable duration of the edge resource to the demand duration corresponding to the user demand. Optionally, the higher the duration association degree is, the higher the matching degree is, the lower the duration association degree is, and the lower the matching degree is.
Optionally, the matching degree is determined according to the duration relevance, the fit degree and the node relevance. Optionally, the higher the duration association degree is, the higher the matching degree is, the lower the duration association degree is, and the lower the matching degree is. Alternatively, the higher the fit, the higher the match, the lower the fit, and the lower the match. Optionally, the higher the node association degree is, the higher the matching degree is, the lower the node association degree is, and the lower the matching degree is. Optionally, the matching degree is determined according to the product of the duration relevance, the fit degree and the node relevance.
Optionally, the matching degree is determined according to the duration relevance, the resource quality, the fit degree and the node relevance. Optionally, the higher the duration association degree is, the higher the matching degree is, the lower the duration association degree is, and the lower the matching degree is. Alternatively, the higher the quality of the resource, the higher the degree of matching, the lower the quality of the resource, and the lower the degree of matching. Alternatively, the higher the fit, the higher the match, the lower the fit, and the lower the match. Optionally, the higher the node association degree is, the higher the matching degree is, the lower the node association degree is, and the lower the matching degree is.
Optionally, determining the matching degree according to the duration relevance, the resource quality, the fit degree and the node relevance includes: and determining the matching degree of the edge resources and the user demands according to the duration relevance, the resource quality, the fit degree and the node relevance so as to determine the edge resources matched with the user demands, wherein the matching degree is shown in the following formula:
wherein l represents the distance between the node of the edge resource and the node to be interacted, m represents the business processing amount in unit time, s represents the similarity between the terminal of the history service of the edge resource and the terminal corresponding to the business to be processed, z represents the duration relevance, and p 1 Representing historical anomaly probability of edge resources, p 2 And representing the normal probability that the node to be interacted with is normal when the node of the edge resource is normal within the preset time period.
Optionally, the matching degree is determined according to the product of the time duration association degree, the resource quality, the fit degree and the node association degree and the weight value corresponding to the node association degree.
In the technical scheme of the embodiment, the resource quality of the edge resource is determined according to the historical abnormal probability of the edge resource and the service processing amount in unit time; and determining the matching degree according to the resource quality, the fitting degree and the node association degree. By determining the matching degree of the edge resources and the requirements of the users and distributing the edge resources to the users according to the matching degree, the utilization of the edge resources is realized, and the utilization efficiency of the edge resources is further effectively improved.
Referring to fig. 5, the present invention provides an edge resource allocation apparatus including:
a determining module 100, configured to determine, according to similarity between a terminal served by an edge resource and a terminal corresponding to a service to be processed, a degree of fit between the edge resource and the service to be processed;
the computing module 200 is configured to determine a node association degree between a node corresponding to the edge resource and a node to be interacted, where the node to be interacted is a node currently used by a user;
and the matching module 300 is configured to determine, according to the fitness and the node association, a matching degree between the edge resource and the user demand, so as to determine an edge resource that matches the user demand.
Optionally, before the step of determining the fitness between the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed, the determining module 100 is specifically configured to: acquiring the associated information of the edge resource; and after the associated information meets a preset allocation condition, executing the step of determining the degree of fit between the edge resource and the service to be processed according to the degree of similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed.
Optionally, the association information does not meet a preset allocation condition, including at least one of the following: if the historical use condition of the edge resource represents that the use rate of the edge resource is periodic and the residual resource quantity of the edge resource in the preset time period is smaller than a preset threshold value, the associated information does not meet a preset allocation condition; if the service type processed by the used edge resource is the service type with the security level requirement being greater than the preset service level, the associated information does not meet the preset allocation condition; if the terminal type of the used edge resource interaction is also the terminal type with the security level requirement being greater than the preset terminal level, the associated information does not meet the preset allocation condition.
Optionally, the step of determining the node association degree between the node corresponding to the edge resource and the node to be interacted is specifically configured by the computing module 200: obtaining the distance between the node of the edge resource and the node to be interacted; determining the normal probability of the node to be interacted when the node of the edge resource is normal within a preset time period; and determining the node association degree according to the distance and the normal probability.
Optionally, the apparatus further comprises: the second matching module is used for determining the resource quality of the edge resource according to the historical abnormal probability of the edge resource and the service processing amount in unit time; and determining the matching degree of the edge resources and the user demands according to the resource quality, the fitting degree and the node association degree so as to determine the edge resources matched with the user demands.
Optionally, the apparatus further comprises: the third matching module is used for determining a duration relevance according to the ratio of the allocable duration of the edge resource to the demand duration corresponding to the user demand; and determining the matching degree of the edge resource and the user demand according to the duration relevance, the resource quality, the fit degree and the node relevance so as to determine the edge resource matched with the user demand.
Optionally, after the step of determining the matching degree between the edge resource and the user requirement according to the fitness and the node association degree, the matching module 300 is specifically configured to: determining the average value of the rest edge resources; and determining the resource value of the edge resource according to the matching degree and the average value.
The present invention also provides an edge resource allocation apparatus including a memory, a processor, and an edge resource allocation program stored in the memory and executable on the processor, which when executed by the processor, implements the steps of the edge resource allocation method described in the above embodiments.
The present invention also provides a computer-readable storage medium storing an edge resource allocation program which, when executed by a processor, implements the steps of the edge resource allocation method described in the above embodiments.
The foregoing embodiment numbers of the present invention are merely for the purpose of description, and do not represent the advantages or disadvantages of the embodiments.
It should be noted that, in this document, the terms "comprises," "comprising," or any other variation thereof, are intended to cover a non-exclusive inclusion, such that a process, system, article, or apparatus that comprises a list of elements does not include only those elements but may include other elements not expressly listed or inherent to such process, system, article, or apparatus. Without further limitation, an element defined by the phrase "comprising one … …" does not exclude the presence of other like elements in a process, system, article, or apparatus that comprises the element.
From the above description of the embodiments, it will be clear to those skilled in the art that the above-described embodiment system may be implemented by means of software plus necessary general purpose hardware platform, but of course may also be implemented by means of hardware, but in many cases the former is a preferred embodiment. Based on such understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art in the form of a software product stored in a computer readable storage medium (e.g. ROM/RAM, magnetic disk, optical disk) as described above, comprising instructions for causing a terminal device (which may be a mobile phone, a computer, a parking management device, an air conditioner, or a network device, etc.) to execute the system according to the embodiments of the present invention.
The foregoing description is only of the preferred embodiments of the present invention, and is not intended to limit the scope of the invention, but rather is intended to cover any equivalents of the structures or equivalent processes disclosed herein or in the alternative, which may be employed directly or indirectly in other related arts.

Claims (10)

1. An edge resource allocation method, which is characterized by comprising the following steps:
determining the fit degree of the edge resource and the service to be processed according to the similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed;
determining the node association degree of the node corresponding to the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user;
and determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
2. The method for allocating edge resources according to claim 1, wherein before the step of determining the degree of fit between the edge resource and the service to be processed according to the degree of similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed, the method further comprises:
acquiring the associated information of the edge resource;
and after the associated information meets a preset allocation condition, executing the step of determining the degree of fit between the edge resource and the service to be processed according to the degree of similarity between the terminal served by the edge resource and the terminal corresponding to the service to be processed.
3. The method for allocating edge resources according to claim 2, wherein the association information does not satisfy a preset allocation condition, and the method comprises at least one of:
if the historical use condition of the edge resource represents that the use rate of the edge resource is periodic and the residual resource quantity of the edge resource in the preset time period is smaller than a preset threshold value, the associated information does not meet a preset allocation condition;
if the service type processed by the used edge resource is the service type with the security level requirement being greater than the preset service level, the associated information does not meet the preset allocation condition;
if the terminal type of the used edge resource interaction is also the terminal type with the security level requirement being greater than the preset terminal level, the associated information does not meet the preset allocation condition.
4. The method for allocating edge resources according to claim 1, wherein the step of determining the node association degree between the node corresponding to the edge resource and the node to be interacted with comprises:
obtaining the distance between the node of the edge resource and the node to be interacted;
determining the normal probability of the node to be interacted when the node of the edge resource is normal within a preset time period;
and determining the node association degree according to the distance and the normal probability.
5. The edge resource allocation method according to claim 1, wherein the method further comprises:
determining the resource quality of the edge resource according to the historical abnormal probability of the edge resource and the service processing amount in unit time;
the step of determining the matching degree of the edge resource and the user demand according to the fit degree and the node association degree so as to determine the edge resource matched with the user demand comprises the following steps:
and determining the matching degree of the edge resources and the user demands according to the resource quality, the fitting degree and the node association degree so as to determine the edge resources matched with the user demands.
6. The edge resource allocation method according to claim 5, wherein the method further comprises:
determining a time duration relevance according to the ratio of the allocable time duration of the edge resource to the time duration of the demand corresponding to the user demand;
according to the resource quality, the fit degree and the node association degree, determining the matching degree of the edge resource and the user demand so as to determine the edge resource matched with the user demand comprises the following steps:
and determining the matching degree of the edge resource and the user demand according to the duration relevance, the resource quality, the fit degree and the node relevance so as to determine the edge resource matched with the user demand.
7. The method for allocating edge resources according to claim 1, wherein after the step of determining the matching degree between the edge resources and the user demands according to the fitness and the node association degree, the method further comprises:
determining the average value of the rest edge resources;
and determining the resource value of the edge resource according to the matching degree and the average value.
8. An edge resource allocation apparatus, characterized in that the edge resource allocation apparatus comprises:
the determining module is used for determining the fit degree of the edge resource and the service to be processed according to the similarity of the terminal served by the edge resource and the terminal corresponding to the service to be processed;
the computing module is used for determining the node association degree of the node corresponding to the edge resource and the node to be interacted, wherein the node to be interacted is the node currently used by the user;
and the matching module is used for determining the matching degree of the edge resources and the user demands according to the fit degree and the node association degree so as to determine the edge resources matched with the user demands.
9. An edge resource allocation device, characterized in that it comprises a memory, a processor and an edge resource allocation program stored in said memory and executable on said processor, said edge resource allocation program, when executed by said processor, implementing the steps of the edge resource allocation method according to any of claims 1-7.
10. A computer readable storage medium storing an edge resource allocation program which when executed by a processor performs the steps of the edge resource allocation method according to any of claims 1-7.
CN202310926171.6A 2023-07-25 2023-07-25 Edge resource allocation method, device, equipment and computer readable storage medium Pending CN116954907A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310926171.6A CN116954907A (en) 2023-07-25 2023-07-25 Edge resource allocation method, device, equipment and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310926171.6A CN116954907A (en) 2023-07-25 2023-07-25 Edge resource allocation method, device, equipment and computer readable storage medium

Publications (1)

Publication Number Publication Date
CN116954907A true CN116954907A (en) 2023-10-27

Family

ID=88452482

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310926171.6A Pending CN116954907A (en) 2023-07-25 2023-07-25 Edge resource allocation method, device, equipment and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116954907A (en)

Similar Documents

Publication Publication Date Title
CN107679718B (en) List allocation method, apparatus and computer-readable storage medium
US8701117B2 (en) Resource consumption template processing model
CN106453146B (en) Method, system, device and readable storage medium for allocating private cloud computing resources
CN111290917A (en) YARN-based resource monitoring method and device and terminal equipment
CN111340397A (en) Intelligent distribution method, server and storage medium for real estate channel customers
CN113095936B (en) Entrusted order processing method, entrusted order processing device, computer equipment and storage medium
CN111092814B (en) Service handling request message distribution method and equipment
CN112465615A (en) Bill data processing method, device and system
CN114155026A (en) Resource allocation method, device, server and storage medium
CN112150023A (en) Task allocation method, device and storage medium
CN110753323B (en) Card resource allocation method and server
CN110691042A (en) Resource allocation method and device
CN106209731B (en) Session service processing method and device
CN110750350B (en) Large resource scheduling method, system, device and readable storage medium
CN111210256A (en) Resource allocation method and device, server and storage medium
CN109582829B (en) Processing method, device, equipment and readable storage medium
CN116703071A (en) Resource sharing method, device and equipment and storage medium
CN116954907A (en) Edge resource allocation method, device, equipment and computer readable storage medium
CN111416883A (en) Address query method, device, terminal and computer readable storage medium
CN108279968B (en) Virtual machine resource scheduling method and device
CN115454616A (en) Service resource allocation method and device, electronic equipment and storage medium
KR101719724B1 (en) Resource management system and method, and method for deciding resource price by the same system
EP3908015A1 (en) Method of determining shared service index for shared service communication certificate
CN113781214A (en) Packaging method, device and equipment for promoting transaction TPS (transaction transfer protocol) based on PoW (PoW)
CN106612324B (en) Dynamic scheduling algorithm of virtual machine under condition of limited bandwidth in mobile cloud computing

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