CN114465872B - Edge computing resource adjusting method, device, equipment and storage medium - Google Patents

Edge computing resource adjusting method, device, equipment and storage medium Download PDF

Info

Publication number
CN114465872B
CN114465872B CN202111602830.8A CN202111602830A CN114465872B CN 114465872 B CN114465872 B CN 114465872B CN 202111602830 A CN202111602830 A CN 202111602830A CN 114465872 B CN114465872 B CN 114465872B
Authority
CN
China
Prior art keywords
edge server
resource
alarm
edge
target
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.)
Active
Application number
CN202111602830.8A
Other languages
Chinese (zh)
Other versions
CN114465872A (en
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.)
Suzhou Inspur Intelligent Technology Co Ltd
Original Assignee
Suzhou Inspur Intelligent Technology 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 Suzhou Inspur Intelligent Technology Co Ltd filed Critical Suzhou Inspur Intelligent Technology Co Ltd
Priority to CN202111602830.8A priority Critical patent/CN114465872B/en
Publication of CN114465872A publication Critical patent/CN114465872A/en
Application granted granted Critical
Publication of CN114465872B publication Critical patent/CN114465872B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • 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
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0631Management of faults, events, alarms or notifications using root cause analysis; using analysis of correlation between notifications, alarms or events based on decision criteria, e.g. hierarchy, tree or time analysis
    • 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/104Peer-to-peer [P2P] networks
    • H04L67/1074Peer-to-peer [P2P] networks for supporting data block transmission mechanisms
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/02Arrangements for optimising operational condition
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04WWIRELESS COMMUNICATION NETWORKS
    • H04W24/00Supervisory, monitoring or testing arrangements
    • H04W24/04Arrangements for maintaining operational condition
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02DCLIMATE CHANGE MITIGATION TECHNOLOGIES IN INFORMATION AND COMMUNICATION TECHNOLOGIES [ICT], I.E. INFORMATION AND COMMUNICATION TECHNOLOGIES AIMING AT THE REDUCTION OF THEIR OWN ENERGY USE
    • Y02D30/00Reducing energy consumption in communication networks
    • Y02D30/70Reducing energy consumption in communication networks in wireless communication networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Mobile Radio Communication Systems (AREA)

Abstract

The invention discloses a method, a device, equipment and a computer readable storage medium for adjusting edge computing resources, wherein the method comprises the following steps: detecting an alarm edge server in each edge server; if the alarming edge server is detected, determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarming edge server and wifi connection signal quality information; changing wifi connection of the current target equipment from an alarm edge server to a target edge server; according to the invention, when the resources of the alarm edge server are insufficient, a part of wifi terminal equipment wifi connection relations and processing services connected in the alarm edge server are moved to other edge servers, and the resource allocation of each edge server is dynamically balanced, so that the application efficiency of edge calculation is improved.

Description

Edge computing resource adjusting method, device, equipment and storage medium
Technical Field
The present invention relates to the field of edge computing technologies, and in particular, to a method, an apparatus, a device, and a computer readable storage medium for adjusting an edge computing resource.
Background
Edge computation is a distributed computing architecture that handles the computation of applications, data and services by hub nodes moving to edge nodes on the network logic. Edge computation breaks up large services that would otherwise be handled entirely by the central node, cuts into smaller and more manageable parts, and disperses to the edge nodes for processing. The edge node is closer to the user terminal device, so as to increase the data processing and transmission speed and reduce the delay.
The edge computing needs to process a large amount of data by itself, and has the capabilities of storage, memory, CPU computing, AI (Artificial Intelligence ) computing, network transmission, network access and the like. When the edge calculation is carried out on the site layout of the client, the distributed wifi access is an important access mode, wireless connection is adopted between terminal acquisition devices, and terminal deployment is easy. And the data of the wifi terminal equipment is processed and calculated at the edge server, and the processed data is only sent to the center server.
In the prior art, typical edge computing deployment based on distributed wifi terminal devices may be as shown in fig. 1, where a plurality of wifi terminal devices are connected to the same edge server device, and a plurality of edge server devices are externally connected to the same gateway and the same service scheduling system device through ethernet (Eth). when the wifi terminal equipment processes related tasks in the edge server, CPU computing resources, AI computing resources, hard disk storage resources, memory capacity resources, network transmission resources, network access resources and the like of the edge server are required to be consumed. Under the condition that the distributed wifi environment is unreasonable in layout, or the consumption is accumulated after long-time operation, or the computing service is newly added, part of edge servers can be overloaded, and resources are insufficient to support related services; at this time, the terminal devices possibly accessed by other edge servers are too few, and the situation that the workload is low and the resources are sufficient is still in existence; the resource allocation of each edge server in the distributed wifi edge computing scene is unbalanced, the service use is affected, and the application efficiency is low.
Therefore, how to dynamically balance the resource allocation of each edge server and improve the application efficiency of edge computing is an urgent problem to be solved nowadays.
Disclosure of Invention
The invention aims to provide a method, a device, equipment and a computer readable storage medium for adjusting edge computing resources, so as to dynamically balance the resource allocation of each edge server and improve the application efficiency of edge computing.
In order to solve the above technical problems, the present invention provides a method for adjusting edge computing resources, including:
detecting an alarm edge server in each edge server; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds;
if the alarm edge server is detected, determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarm edge server and wifi connection signal quality information; the current target device is any wifi terminal device;
And changing the wifi connection of the current target equipment from the alarm edge server to the target edge server.
Optionally, the determining, according to the respective resource occupation condition of each edge server and the resource occupation prediction condition and the wifi connection signal quality information of the wifi terminal device connected to the alert edge server, the current target device in the wifi terminal device and the target edge server corresponding to the current target device includes:
and determining the current target equipment and the target edge server according to the respective resource occupation condition and the resource safety threshold of each edge server, and the estimated resource occupation condition and the wifi connection signal quality information of the wifi terminal equipment connected with each edge server.
Optionally, the determining, according to the respective resource occupation condition and the resource security threshold of each edge server and the resource occupation estimated condition and the wifi connection signal quality information of the wifi terminal device connected to each edge server, the current target device and the target edge server includes:
according to the estimated resource occupation condition of the wifi terminal equipment connected with the alarm edge server, determining the wifi terminal equipment with the maximum resource occupation of the alarm resource as the current equipment to be switched;
Calculating system efficiency evaluation values corresponding to all switchable edge servers according to wifi connection signal quality information and resource occupation estimated conditions of current equipment to be switched and respective resource occupation conditions of the edge servers; the switchable edge server is an edge server except the alarm edge server which can be connected with the current equipment to be switched;
detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server;
if the selected edge server exists, the current equipment to be switched is determined to be the current target equipment, and the selected edge server with the maximum system efficiency evaluation value is determined to be the target edge server;
if the switchable edge server or the selective edge server does not exist, determining the current equipment to be switched as non-target equipment, determining wifi terminal equipment with the largest resource occupation outside the non-target equipment as the current equipment to be switched according to the sequence of the large resource occupation of the alarm resource, and executing the steps of calculating the system efficiency evaluation values corresponding to all the switchable edge servers according to the wifi connection signal quality information and the resource occupation estimated condition of the current equipment to be switched and the respective resource occupation condition of each edge server.
Optionally, calculating the system efficiency evaluation value corresponding to each switchable edge server according to the wifi connection signal quality information and the resource occupation estimated condition of the current device to be switched and the respective resource occupation condition of each edge server includes:
calculating a system efficiency evaluation value after the current equipment to be switched to each switchable edge server by (II (0: n) Fs (Sx-y-Gs)) (II (0:m) (Fcpu (RRcpu-Gcpu)) (Fgpu-Ggpu)) (Fmem (RRmem-Gmem)) (Fdisk (RRdisk-Gdisk)) (Fnet (RRnet-Gnet)) (Fwifi-Gwifi)) (Fdelta disk ((RRdisk-Gdisk)/delta RRdisk-Gtime))) in advance; wherein n is the number of wifi terminal devices connected to the edge server, fs is a signal quality weight, sx-y is the signal quality of the wifi terminal devices x and the edge server y, gs is a signal quality threshold, m is the number of the edge server, fcpu, fgpu, fmem, fdisk, fnet, fwifi and F delta disk are respectively a CPU computing resource weight, an AI computing resource weight, a memory capacity resource weight, a hard disk storage resource weight, a network transmission resource weight, a network access resource weight and a hard disk storage consumption rate weight, RRcpu, RRgpu, RRmem, RRdisk, RRnet, RRwifi and delta RRdisk are respectively a remaining CPU computing resource, a remaining AI computing resource, a remaining memory capacity resource, a remaining hard disk storage resource, a remaining network transmission resource, a remaining network access resource and a remaining hard disk storage consumption rate, gcpu, ggup, gmem, gdisk, gnet, gwifi and Gtime are respectively a CPU computing resource remaining safety threshold, an AI computing resource remaining safety threshold, a memory capacity resource remaining safety threshold, a hard disk storage resource remaining safety threshold, a network access resource remaining safety threshold and a network storage consumption rate remaining safety threshold.
Optionally, the determining the current device to be switched as the non-target device, and determining the wifi terminal device with the largest resource occupation outside the non-target device as the current device to be switched according to the order of the resource occupation of the alarm resource from big to small, includes:
determining the current equipment to be switched as the non-target equipment;
judging whether wifi terminal devices connected with the alarm edge server are all the non-target devices;
if the non-target devices are not uniform, determining wifi terminal devices with maximum resource occupation outside the non-target devices as current devices to be switched, and executing the step of detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server;
and if the information is the non-target equipment, reporting the serious alarm information.
Optionally, the changing the wifi connection of the current target device from the alert edge server to the target edge server includes:
controlling the alarm edge server to exit the service of the current target equipment;
controlling a current target device to change wifi connection from the alarm edge server to the target edge server through the alarm edge server;
And controlling the target edge server to start the service of the current target equipment.
Optionally, after the wifi connection of the current target device is changed from the alert edge server to the target edge server, the method further includes:
judging whether the occupation condition of the alarm resources of the alarm edge server is not more than a corresponding resource safety threshold;
if not, executing the step of determining the current target equipment in the wifi terminal equipment and the target edge server corresponding to the current target equipment according to the respective resource occupation condition of each edge server, the resource occupation estimated condition of the wifi terminal equipment connected with the alarming edge server and the wifi connection signal quality information.
The invention also provides an adjusting device of the edge computing resource, which comprises:
the alarm detection module is used for detecting alarm edge servers in the edge servers; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds;
the adjustment determining module is used for determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarm edge servers and wifi connection signal quality information if the alarm edge servers are detected; the current target device is any wifi terminal device;
And the adjusting module is used for changing the wifi connection of the current target equipment from the alarm edge server to the target edge server.
The invention also provides an adjusting device of the edge computing resource, which comprises:
a memory for storing a computer program;
a processor for implementing the steps of the method for adjusting edge computing resources as described above when executing the computer program.
Furthermore, the present invention provides a computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements the steps of the method for adjusting edge computing resources as described above.
The invention provides a method for adjusting edge computing resources, which comprises the following steps: detecting an alarm edge server in each edge server; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds; if the alarming edge server is detected, determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarming edge server and wifi connection signal quality information; the current target device is any wifi terminal device; changing wifi connection of the current target equipment from an alarm edge server to a target edge server;
Therefore, when the resources of the alarm edge server are insufficient, the invention can move a part of wifi terminal equipment wifi connection relations and processing services connected in the alarm edge server to other edge servers, and dynamically balance the resource allocation of each edge server, thereby solving the problem of insufficient resources of the alarm edge server, realizing the effect of dynamic load sharing of edge computing resources and improving the application efficiency of edge computing. In addition, the invention also provides a device and equipment for adjusting the edge computing resource and a computer readable storage medium, and the device and the equipment have the same beneficial effects.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings that are required to be used in the embodiments or the description of the prior art will be briefly described below, and it is obvious that the drawings in the following description are only embodiments of the present invention, and that other drawings can be obtained according to the provided drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic diagram of a typical edge computing deployment of a distributed wifi terminal device;
FIG. 2 is a flowchart of a method for adjusting edge computing resources according to an embodiment of the present invention;
FIG. 3 is a schematic diagram of another method for adjusting edge computing resources according to an embodiment of the present invention;
fig. 4 is a schematic diagram of a networking topology after a current device to be switched is switched according to an embodiment of the present invention;
FIG. 5 is a flowchart illustrating another method for adjusting edge computing resources according to an embodiment of the present invention;
FIG. 6 is a block diagram illustrating an apparatus for adjusting edge computing resources according to an embodiment of the present invention;
FIG. 7 is a schematic structural diagram of an edge computing resource adjustment device according to an embodiment of the present invention;
fig. 8 is a schematic diagram of a specific structure of an apparatus for adjusting edge computing resources according to an embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the embodiments of the present invention more apparent, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
Referring to fig. 2, fig. 2 is a flowchart of a method for adjusting edge computing resources according to an embodiment of the invention. The method may include:
step 101: detecting an alarm edge server in each edge server; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds.
It will be appreciated that the edge server in this step may be an edge server to which the service dispatch system device is connected, as shown in fig. 1, to an edge server of the same gateway. The alarm resource in this step may be a resource whose occupation condition in the alarm edge server is greater than the corresponding resource security threshold, for example, the occupation condition of the alarm resource is greater than the resource security threshold corresponding to the alarm resource in the alarm edge server, or the occupation condition of the remaining resource of the alarm resource is less than the remaining security threshold corresponding to the alarm resource in the alarm edge server.
Specifically, the alert resource in this step may be one of the resources in the alert edge server that needs dynamic balancing that is greater than the corresponding resource security threshold. The resources required to be dynamically balanced in each edge server can be the resources of the edge server, such as CPU computing resources, AI computing resources, hard disk storage resources, memory capacity resources, network transmission resources, network access resources and the like, which are required to be consumed when the wifi terminal equipment processes related tasks in the edge server.
Correspondingly, for the specific resource type of the alarm resource in the step, namely the number and type of the resources needing dynamic balancing in the edge server, the resource in the edge server can be set by a designer according to a practical scene and user requirements, for example, the resource in the edge server can comprise any one or more of CPU computing resource, AI computing resource, memory capacity resource, network transmission resource, network access resource and hard disk storage resource consumption rate, for example, when the resource in the edge server comprises any one of CPU computing resource, AI computing resource, memory capacity resource, hard disk storage resource, network transmission resource, network access resource and hard disk storage resource consumption rate, the alarm resource can be any one of CPU computing resource, AI computing resource, memory capacity resource, hard disk storage resource, network transmission resource, network access resource and hard disk storage resource consumption rate; as shown in fig. 3, the resources in the edge server may also include CPU computing resources, AI computing resources, memory capacity resources, hard disk storage resources, network transmission resources, and network access resources.
It should be noted that, the method provided in this embodiment may be applied to the service scheduling system device shown in fig. 1; but also to any edge server, such as an alert edge server. The present embodiment does not impose any limitation on this. For the specific mode that the processor detects the alarm edge server in each edge server in the step, the specific mode can be set by a designer according to the practical scene and the user requirement, for example, the processor of the service scheduling system equipment can receive the resource alarm information sent by the edge server and determine the edge server sending the resource alarm information as the alarm edge server; for example, each edge server can calculate that various resources (such as CPU computing resources, AI computing resources, memory capacity resources and the like) need to be consumed in the working process, monitor occupation conditions of various resources in real time, set up normal working alarm waterline (i.e. resource safety threshold) for various resources, when one edge server continuously exceeds the alarm waterline of a certain type of resources, prove that the edge server (i.e. alarm edge server) is about to be starved of resources, and can send resource alarm information to service scheduling system equipment, for example, the resource alarm information can comprise information about resources about to be starved (i.e. alarm resource information). The processor can also calculate and detect the alarm edge server according to the respective resource occupation condition of each edge server and the respective corresponding resource safety threshold (or resource residual safety threshold) of each respective resource. The present embodiment does not impose any limitation on this.
Step 102: if the alarming edge server is detected, determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarming edge server and wifi connection signal quality information; the current target device is any wifi terminal device.
It should be noted that, in this step, the respective resource occupation situations of each edge server may include occupation situations of any one or more of a CPU computing resource, an AI computing resource, a memory capacity resource, a hard disk storage resource, a network transmission resource, a network access resource, and a hard disk storage resource consumption rate, and when the resource occupation situations include occupation situations of a CPU computing resource, an AI computing resource, a memory capacity resource, a hard disk storage resource, a network transmission resource, a network access resource, and a hard disk storage resource consumption rate, the resource occupation situations may include a remaining CPU computing resource (Rcpu), a remaining AI computing resource (Rgpu), a remaining memory capacity resource (Rmem), a remaining hard disk storage resource (Rdisk), a remaining network transmission resource (Rnet), a remaining network access resource (rwiffi), and a remaining hard disk storage resource consumption rate (Δrdisk).
Correspondingly, the resource occupation prediction situation of the wifi terminal device connected to the alert edge server in this step may be the number of resources of the alert edge server that are predicted or preset by the alert edge server and are occupied by the wifi terminal device connected to the alert edge server, such as a CPU computing resource occupation prediction (Dcpu), an AI computing resource occupation prediction (Dgpu), a memory capacity resource occupation prediction (Dmem), a hard disk storage resource occupation prediction (Ddisk), a network transmission resource occupation prediction (Dnet), a network access resource occupation prediction (dwfi), and a hard disk storage resource consumption rate prediction (Δddisk). For example, each edge server may send the estimated resource occupation estimate of the wifi terminal device connected to each edge server to the service scheduling system device.
Specifically, the wifi connection signal quality information of the wifi terminal device connected to the alert edge server in this step may include information of each edge server that the wifi terminal device connected to the alert edge server can connect to; for example, when wifi terminal equipment starts, wifi connection relations can be automatically polled one by one, the wifi terminal equipment is connected to each edge server, normal butt joint can be confirmed with which edge servers, the signal quality intensity of wifi connected to each edge server is recorded, the connection relations and the signal quality of wifi equipment meeting the signal connection quality are sent to service scheduling system equipment, and the wifi connection signal quality table (namely wifi connection signal quality information) is maintained.
It can be understood that, in this step, the processor may determine, by using the respective resource occupation condition of each edge server and the resource occupation estimated condition and the wifi connection signal quality information of the wifi terminal devices connected to the alert edge server, one wifi terminal device (i.e. the current target device) connected to another edge server and one edge server (i.e. the target edge server) to which the wifi terminal device is to be connected, which are currently required to be adjusted in the wifi terminal devices connected to the alert edge server, so as to reduce the occupation of the alert resource of the alert edge server.
Specifically, for the specific mode of the current target device in the wifi terminal device and the target edge server corresponding to the current target device according to the respective resource occupation condition of each edge server and the resource occupation estimation condition and the wifi connection signal quality information of the wifi terminal device connected with the alert edge server in this step, the specific mode can be set by a designer according to the practical scene and the user requirement, for example, the processor can determine the current target device and the target edge server by using the respective resource occupation condition of each edge server and the resource occupation estimation condition and the wifi connection signal quality information of the wifi terminal device connected with the alert edge server, so that the current target device can be switched to the target edge server, and various resource occupation conditions of the current target device after being switched to the target edge server are not greater than the corresponding resource safety threshold. The processor can also determine the current target device and the target edge server according to the respective resource occupation condition and the resource safety threshold of each edge server, and the estimated resource occupation condition and the wifi connection signal quality information of the wifi terminal device connected with each edge server. The present embodiment does not impose any limitation on this.
Correspondingly, for the processor, the specific modes of the current target device and the target edge server are determined according to the respective resource occupation condition and the resource safety threshold of each edge server and the estimated resource occupation condition and the wifi connection signal quality information of the wifi terminal device connected with each edge server, the specific modes can be set by a designer, and the processor can determine the wifi terminal device with the largest resource occupation of the alarm resource as the current device to be switched according to the estimated resource occupation condition of the wifi terminal device connected with the alarm edge server; calculating system efficiency evaluation values corresponding to all switchable edge servers according to wifi connection signal quality information and resource occupation estimated conditions of the current equipment to be switched and respective resource occupation conditions of the edge servers; detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server; if the selected edge server exists, the current equipment to be switched is determined to be the current target equipment, and the selected edge server with the maximum system efficiency evaluation value is determined to be the target edge server; if the switchable edge server does not exist or the edge server is selected, determining the current equipment to be switched as non-target equipment, determining wifi terminal equipment with the largest resource occupation outside the non-target equipment as the current equipment to be switched according to the sequence of the large resource occupation of the alarm resource, and executing the steps of calculating the system efficiency evaluation values corresponding to all the switchable edge servers according to the wifi connection signal quality information and the resource occupation estimated condition of the current equipment to be switched and the respective resource occupation condition of each edge server; the switchable edge server may be an edge server other than the alert edge server to which the device to be switched is currently connectable.
That is, the processor may determine, according to the order of the occupation condition of the alert resource corresponding to the wifi terminal device connected to the alert edge server (i.e., the resource occupation prediction condition of the alert resource) from large to small, the current device to be switched, that is, the wifi terminal device that can be connected to other edge servers with the largest occupation condition of the alert resource and still satisfy the resource security threshold after being connected to the other edge servers, determine the wifi terminal device that is still satisfied with the resource security threshold after being connected as the current device to be switched, and determine, as the target edge server, the edge server with the largest system efficiency evaluation value among the other edge servers (i.e., the selected edge servers) that still satisfy the resource security threshold after being connected.
For example, assuming that the alert resource of the edge server 0 is a CPU computing resource, that is, rcpu < Gcpu, the processor of the service scheduling system device may utilize a resource load dynamic optimization algorithm to retrieve, from a large order to a small order, wifi terminal devices that occupy the most CPU computing resource in the edge server 0, for example, terminal devices 0, 1, and 2 …; the processor can make a system efficiency evaluation algorithm for the terminal equipment 0, predict whether the terminal equipment 0 is connected to other edge servers according to a wifi connection signal quality table of the terminal equipment 0 to achieve a feasible system efficiency evaluation value, poll the wifi terminal equipment to estimate an overall system efficiency evaluation value of each networking condition based on all networking conditions meeting requirements in the wifi connection signal quality, select a connection relation with an optimal overall system efficiency evaluation value, and if other edge servers corresponding to the optimal connection relation still meet resource safety threshold requirements, determine the wifi terminal equipment as current target equipment and determine the optimal connection relation pair as a target edge server; if the terminal equipment 0 cannot find the connection mode meeting the requirement of the resource safety threshold, continuously estimating whether other terminal equipment in the edge server 0 has a feasible edge server connection relation according to the sequence of the terminal equipment 1 and the terminal equipment 2 occupying more resources, and determining the terminal equipment 1 or the terminal equipment 2 as current target equipment after finding the feasible connection relation.
Specifically, the embodiment is not limited to the specific manner in which the processor calculates the system efficiency evaluation values corresponding to all the switchable edge servers, for example, the processor may calculate the system efficiency evaluation value estimated after the current device to be switched is switched to each switchable edge server by (ii) (0: n) Fs (Sx-y-Gs)) (ii (0:m) (Fcpu (RRcpu-Gcpu) (RRgpu-Gcpu) (Fmem (RRmem-Gmem)) Fdisk (RRdisk-Gdisk) (Fnet (RRnet-Gnet)) fwfi (RRwifi-gwi)) Fdisk ((RRdisk-Gdisk)/Δrrdisk-gsme); wherein n is the number of wifi terminal devices connected with the edge server, fs is a signal quality weight, sx-y is the signal quality of the wifi terminal device x and the edge server y, gs is a signal quality threshold, m is the number of the edge server, fcpu, fgpu, fmem, fdisk, fnet, fwifi and F delta disk are respectively a CPU computing resource weight, an AI computing resource weight, a memory capacity resource weight, a hard disk storage resource weight, a network transmission resource weight, a network access resource weight and a hard disk storage consumption rate weight, RRcpu, RRgpu, RRmem, RRdisk, RRnet, RRwifi and delta RRdisk are respectively a remaining CPU computing resource, a remaining AI computing resource, a remaining memory capacity resource, a remaining hard disk storage resource, a remaining network transmission resource, a remaining network access resource and a remaining hard disk storage consumption rate, gcpu, ggup, gmem, gdisk, gnet, gwifi and Gtime are respectively a CPU computing resource remaining safety threshold, an AI computing resource remaining safety threshold, a hard disk storage resource remaining safety threshold, a network transmission resource remaining safety threshold and a hard disk storage consumption rate remaining safety threshold (i.e. a time threshold); through the setting of Gtime, the condition that the residual capacity of the hard disk storage resource is beyond the corresponding safety threshold can not happen after the Gtime is operated, namely delta Rdisk can be smaller than (Rdisk-Gdisk)/Gtime. Accordingly, if the remaining resources of a certain type of resources are smaller than the remaining safety threshold of the resources, the weight of the resource may be 0, for example, fcpu may be 0 when RRcpu0 is smaller than Gcpu 0.
For example, when the networking topology after the device to be switched is switched to a switchable edge server is fig. 4, the system efficiency evaluation value corresponding to the switchable edge server= (Fs (G0-0-Gs 0) = (G1-0-Gs 1) = (Fs (G2-1-Gs 2) = (G3-1-Gs 3)) (Fcpu (Rcpu 0-Dcpu1-Gcpu 0) = (rbpu 0-Dgpu1-Ggpu 0) = (Rmem 0-Dmem1-Gmem 0) ((Rdisk 0-Ddisk1-Gdisk 0) () fdet (rbi 0-D0-gnnet 0) () fci 0-dwi 1-dwi 0) ((rbi 0-dfi 0) () dfi 0-ddi 0-dfi 0) () fdi 0-Ddisk 0). 0-Ddisk1-Gdisk 0)/(. DELTA.Rdisk 0+. DELTA.Ddisk 1) -Gtime 0) ((Fcpu (Rcpu 1-Dcpu2-Dcpu3-Gcpu 1) (. DELTA.Ddisk 1-Dcpu2-Dcpu 3-Gpu 1) (. DELTA.Rmem 1-Dmem2-Dmem3-Gmem 1) (. DELTA.Rdisk 1-Ddisk2-Ddisk2-Gdisk 1) (. DELTA.Ddisk 1-Ddisk 1) Fnet (Rnet 1-Dnet 2-Dnet 3-Gnet 1) (. DELTA.Wifi 1-Dfi 2-Dwi3-Gwi1) (. DELTA.Ddisk 1-Ddisk2-Ddisk 3) (. DELTA.Ddisk 1-Ddisk 1); wherein G0-0 is the signal quality of the terminal equipment 0 and the edge server 0, gs0 is the signal quality threshold of the terminal equipment 0, RRCPU0=RCPU0-DCPU0-DCPU 1, RRCPU0 is the predicted residual CPU computing resource of the edge server 0 after the current equipment to be switched is switched to the switchable edge server, rcpu0 is the remaining CPU computing resources of edge server 0 before the current device to be switched is switched to the switchable edge server.
Correspondingly, the embodiment does not limit the specific process that the processor determines the current device to be switched as the non-target device, and determines the wifi terminal device with the largest resource occupation outside the non-target device as the current device to be switched according to the sequence of the resource occupation of the alarm resource from big to small, for example, the processor can determine the current device to be switched as the non-target device; judging whether wifi terminal devices connected with the alarm edge server are non-target devices or not; if the non-uniformity is non-target equipment, determining wifi terminal equipment with maximum resource occupation outside the non-target equipment as current equipment to be switched, and executing a step of detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server; if the service information is non-target equipment, it can be determined that the wifi terminal equipment connected with the alarm edge server is not capable of being switched to the wifi terminal equipment of other edge servers, equalization cannot be performed, severe alarm information can be reported, and operation and maintenance personnel are notified of manual processing.
Step 103: and changing the wifi connection of the current target device from the alarm edge server to the target edge server.
It can be understood that, after determining the current target device and the target edge server corresponding to the current target device, the processor in this step may change the wifi connection of the current target device from the alert edge server to the target edge server, so as to achieve the effect of dynamic load sharing of the edge computing resource.
Specifically, for the specific mode that the processor changes the wifi connection of the current target device from the alarm edge server to the target edge server in the step, the method can be set by a designer according to a practical scene and user requirements, for example, the processor can directly change the wifi connection of the current target device from the alarm edge server to the target edge server after determining the current target device and the target edge server; correspondingly, the processor can judge whether the occupation condition of the alarm resources of the alarm edge server is not more than the corresponding resource safety threshold or not after the step; if not, the method proceeds to step 102, and continues to determine and adjust wifi connection of the current target device; if so, the process may be ended. The processor can also change the wifi connection of all the determined target devices from the alarm edge server to the corresponding target edge servers; the processor in the step can judge whether the difference between the occupation condition of the alarm resources of the alarm edge server and all the target devices is not more than the corresponding resource safety threshold; if not, the method proceeds to step 102, and continues to determine the next target device; if yes, the wifi connection of all the determined target devices can be changed from the alarm edge server to the corresponding target edge servers. The present embodiment does not impose any limitation on this.
Correspondingly, for the specific process that the processor changes the wifi connection of the current target device from the alarm edge server to the target edge server in the step, the specific process can be set by a designer, for example, the processor of the service scheduling system device can control the alarm edge server to exit the service of the current target device; controlling the current target equipment to change wifi connection from the alarm edge server to the target edge server through the alarm edge server; the control target edge server starts the service of the current target device. As shown in fig. 5, when the current target device is a terminal device 0 connected with a server (i.e. an alarm edge server), the service scheduling system device firstly transmits an instruction for switching wifi to the latest connection relationship to the terminal device 0 through the server, the server firstly closes the service of the terminal device in the server, then notifies the terminal device 0 to switch wifi, after receiving a command for switching wifi, the terminal device 0 switches wifi to the edge server (i.e. the target edge server) with the latest connection relationship, and simultaneously, the service scheduling system transmits a command for opening the service of the terminal device 0 to the edge server with the latest connection relationship, and after receiving the connection relationship of the terminal device 0, the edge server with the latest connection relationship automatically opens the corresponding processing service to complete the wifi connection relationship of the terminal device 0 and the processing procedure of switching the service to the new edge server.
In the embodiment of the invention, when the resources of the alarm edge server are insufficient, a part of wifi terminal equipment wifi connection relations and processing services connected in the alarm edge server can be moved to other edge servers, and the resource allocation of each edge server is dynamically balanced, so that the problem of insufficient resources of the alarm edge server is solved, the effect of dynamic load sharing of edge computing resources is realized, and the application efficiency of edge computing is improved.
Corresponding to the above method embodiment, the embodiment of the present invention further provides an apparatus for adjusting an edge computing resource, where the apparatus for adjusting an edge computing resource described below and the method for adjusting an edge computing resource described above may be referred to correspondingly.
Referring to fig. 6, fig. 6 is a block diagram illustrating an apparatus for adjusting edge computing resources according to an embodiment of the invention. The apparatus may include:
an alarm detection module 10, configured to detect an alarm edge server among the edge servers; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds;
The adjustment determining module 20 is configured to determine, if an alert edge server is detected, a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, a resource occupation estimated condition of the wifi terminal device connected with the alert edge server, and wifi connection signal quality information; the current target device is any wifi terminal device;
and the adjusting module 30 is used for changing the wifi connection of the current target device from the alarm edge server to the target edge server.
Optionally, the adjustment determining module 20 may be specifically configured to determine the current target device and the target edge server according to the respective resource occupation situation and the resource security threshold of each edge server, and the estimated resource occupation situation and the wifi connection signal quality information of the wifi terminal device connected to each edge server.
Alternatively, the adjustment determination module 20 may include:
the first determining submodule is used for determining the wifi terminal equipment with the largest resource occupation of the alarm resource as the current equipment to be switched according to the resource occupation prediction condition of the wifi terminal equipment connected with the alarm edge server;
The computing sub-module is used for computing system efficiency evaluation values corresponding to all the switchable edge servers according to the wifi connection signal quality information and the resource occupation estimated condition of the current equipment to be switched and the respective resource occupation condition of each edge server; the switchable edge server is an edge server except an alarm edge server which can be connected with the current equipment to be switched;
the detection sub-module is used for detecting whether a selected edge server meeting the requirement of the safety threshold exists in the switchable edge servers according to the respective resource safety threshold of each edge server;
the second determining submodule is used for determining the current equipment to be switched as the current target equipment if the selected edge server exists, and determining the selected edge server with the maximum system efficiency evaluation value as the target edge server;
and the third determining submodule is used for determining the current equipment to be switched as non-target equipment if the switchable edge server does not exist or the edge server is selected, determining wifi terminal equipment with the largest resource occupation outside the non-target equipment as the current equipment to be switched according to the sequence of the resource occupation of the alarm resources from big to small, and sending a starting signal to the calculating submodule.
Optionally, the calculation submodule may be specifically configured to estimate a system efficiency evaluation value after the current device to be switched is switched to each switchable edge server by (pi (0: n) Fs (Sx-y-Gs)) (pi (0:m) (Fcpu (RRcpu-Gcpu) ×fgpu (RRgpu-Gmem) ×fdisk (RRdisk-Gdisk) ×fnet (RRnet-Gnet) ×fwfi (RRwifi-gwi) ×fΔ disk ((RRdisk-Gdisk)/Δrrdisk-gcime))); where n is the number of wifi terminal devices connected to the edge server, fs is a signal quality weight, sx-y is the signal quality of the wifi terminal device x and the edge server y, gs is a signal quality threshold, m is the number of edge servers, fcpu, fgpu, fmem, fdisk, fnet, fwifi and F delta disk are respectively a CPU computing resource weight, an AI computing resource weight, a memory capacity resource weight, a hard disk storage resource weight, a network transmission resource weight, a network access resource weight and a hard disk storage consumption rate weight, RRcpu, RRgpu, RRmem, RRdisk, RRnet, RRwifi and delta RRdisk are respectively a remaining CPU computing resource, a remaining AI computing resource, a remaining memory capacity resource, a remaining hard disk storage resource, a remaining network transmission resource, a remaining network access resource and a remaining hard disk storage consumption rate, gcpu, ggup, gmem, gdisk, gnet, gwifi and Gtime are respectively a CPU computing resource remaining security threshold, an AI computing resource remaining security threshold, a hard disk storage resource remaining security threshold, a network access resource remaining security threshold and a hard disk storage consumption rate remaining security threshold.
Optionally, the third determining submodule may be specifically configured to determine the current device to be switched as a non-target device; judging whether wifi terminal devices connected with the alarm edge server are non-target devices or not; if the non-uniformity is non-target equipment, determining wifi terminal equipment with maximum resource occupation outside the non-target equipment as current equipment to be switched, and sending a starting signal to a calculation submodule; if the devices are non-target devices, the serious alarm information is reported.
Alternatively, the adjustment module 30 may include:
the first control sub-module is used for controlling the alarm edge server to exit the service of the current target device;
the second control sub-module is used for controlling the current target equipment to change wifi connection from the alarm edge server to the target edge server through the alarm edge server;
and the third control sub-module is used for controlling the target edge server to start the service of the current target device.
Optionally, the apparatus may further include:
the judging magic card is used for judging whether the occupation condition of the alarm resources of the alarm edge server is not more than the corresponding resource safety threshold after the current target device is connected to the target edge server; if not, the adjustment determination module 20 sends a start signal.
In the embodiment of the invention, when the resources of the alarm edge server are insufficient, a part of wifi terminal equipment wifi connection relations and processing services connected in the alarm edge server can be moved to other edge servers, and the resource allocation of each edge server is dynamically balanced, so that the problem of insufficient resources of the alarm edge server is solved, the effect of dynamic load sharing of edge computing resources is realized, and the application efficiency of edge computing is improved.
Corresponding to the above method embodiment, the embodiment of the present invention further provides an edge computing resource adjustment device, where an edge computing resource adjustment device described below and an edge computing resource adjustment method described above may be referred to correspondingly.
Referring to fig. 7, fig. 7 is a schematic structural diagram of an apparatus for adjusting edge computing resources according to an embodiment of the invention. The adjustment device may include:
a memory D1 for storing a computer program;
and the processor D2 is configured to implement the steps of the method for adjusting the edge computing resource provided by the method embodiment when executing the computer program.
Specifically, referring to fig. 8, fig. 8 is a schematic diagram of a specific structure of an edge computing resource adjustment device according to an embodiment of the present invention, where the adjustment device 310 may have a relatively large difference due to different configurations or performances, and may include one or more processors (central processing units, CPU) 322 (e.g., one or more processors) and a memory 332, and one or more storage media 330 (e.g., one or more mass storage devices) storing application programs 342 or data 344. Wherein the memory 332 and the storage medium 330 may be transitory or persistent. The program stored on the storage medium 330 may include one or more modules (not shown), each of which may include a series of instruction operations in the data processing apparatus. Still further, the central processor 322 may be configured to communicate with the storage medium 330 to execute a series of instruction operations in the storage medium 330 on the adjustment device 310.
The tuning device 310 may also include one or more power supplies 326, one or more wired or wireless network interfaces 350, one or more input/output interfaces 358, and/or one or more operating systems 341. For example, windows ServerTM, mac OS XTM, unixTM, linuxTM, freeBSDTM, etc.
The adjustment device 310 may be specifically a service scheduling system device.
The steps in the method of adjusting an edge computing resource described above may be implemented by the structure of an adjusting device of the edge computing resource.
Corresponding to the above method embodiments, the embodiments of the present invention further provide a computer readable storage medium, where a computer readable storage medium described below and a method for adjusting an edge computing resource described above may be referred to correspondingly.
A computer readable storage medium having a computer program stored thereon, which when executed by a processor, implements the steps of the method for adjusting edge computing resources provided by the above method embodiments.
The computer readable storage medium may be a usb disk, a removable hard disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), a magnetic disk, or an optical disk, which may store various program codes.
In the description, each embodiment is described in a progressive manner, and each embodiment is mainly described by the differences from other embodiments, so that the same similar parts among the embodiments are mutually referred. The apparatus, device and computer readable storage medium of the embodiments are described more simply because they correspond to the methods of the embodiments, and the description thereof will be given with reference to the method section.
The method, the device, the equipment and the computer readable storage medium for adjusting the edge computing resources provided by the invention are described in detail. The principles and embodiments of the present invention have been described herein with reference to specific examples, the description of which is intended only to facilitate an understanding of the method of the present invention and its core ideas. It should be noted that it will be apparent to those skilled in the art that various modifications and adaptations of the invention can be made without departing from the principles of the invention and these modifications and adaptations are intended to be within the scope of the invention as defined in the following claims.

Claims (7)

1. A method for adjusting edge computing resources, comprising:
detecting an alarm edge server in each edge server; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds;
If the alarm edge server is detected, determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarm edge server and wifi connection signal quality information; the current target device is any wifi terminal device;
changing wifi connection of the current target equipment from the alarm edge server to the target edge server;
correspondingly, the determining, according to the respective resource occupation condition of each edge server, the resource occupation estimated condition of the wifi terminal device connected with the alarm edge server, and the wifi connection signal quality information, the current target device in the wifi terminal device and the target edge server corresponding to the current target device includes:
according to the estimated resource occupation condition of the wifi terminal equipment connected with the alarm edge server, determining the wifi terminal equipment with the maximum resource occupation of the alarm resource as the current equipment to be switched;
calculating system efficiency evaluation values corresponding to all switchable edge servers according to wifi connection signal quality information and resource occupation estimated conditions of current equipment to be switched and respective resource occupation conditions of the edge servers; the switchable edge server is an edge server except the alarm edge server which can be connected with the current equipment to be switched;
Detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server;
if the selected edge server exists, the current equipment to be switched is determined to be the current target equipment, and the selected edge server with the maximum system efficiency evaluation value is determined to be the target edge server;
if the switchable edge server or the selective edge server does not exist, determining the current equipment to be switched as non-target equipment, determining wifi terminal equipment with the largest resource occupation outside the non-target equipment as the current equipment to be switched according to the sequence of the resource occupation of the alarm resource from big to small, and executing the steps of calculating the system efficiency evaluation values corresponding to all the switchable edge servers according to the wifi connection signal quality information and the resource occupation estimated condition of the current equipment to be switched and the respective resource occupation condition of each edge server;
the determining the current device to be switched as the non-target device, determining wifi terminal devices with the largest resource occupation outside the non-target device as the current device to be switched according to the sequence of the resource occupation of the alarm resource from big to small, includes:
Determining the current equipment to be switched as the non-target equipment;
judging whether wifi terminal devices connected with the alarm edge server are all the non-target devices;
if the non-target devices are not uniform, determining wifi terminal devices with maximum resource occupation outside the non-target devices as current devices to be switched, and executing the step of detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server;
and if the information is the non-target equipment, reporting the serious alarm information.
2. The method for adjusting edge computing resources according to claim 1, wherein the calculating the system efficiency evaluation value corresponding to each switchable edge server according to wifi connection signal quality information and resource occupation prediction conditions of the current device to be switched and respective resource occupation conditions of each edge server includes:
calculating a system efficiency evaluation value after the current equipment to be switched to each switchable edge server by (II (0: n) Fs (Sx-y-Gs)) (II (0:m) (Fcpu (RRcpu-Gcpu)) (Fgpu-Ggpu)) (Fmem (RRmem-Gmem)) (Fdisk (RRdisk-Gdisk)) (Fnet (RRnet-Gnet)) (Fwifi-Gwifi)) (Fdelta disk ((RRdisk-Gdisk)/delta RRdisk-Gtime))) in advance; wherein n is the number of wifi terminal devices connected to the edge server, fs is a signal quality weight, sx-y is the signal quality of the wifi terminal devices x and the edge server y, gs is a signal quality threshold, m is the number of the edge server, fcpu, fgpu, fmem, fdisk, fnet, fwifi and F delta disk are respectively a CPU computing resource weight, an AI computing resource weight, a memory capacity resource weight, a hard disk storage resource weight, a network transmission resource weight, a network access resource weight and a hard disk storage consumption rate weight, RRcpu, RRgpu, RRmem, RRdisk, RRnet, RRwifi and delta RRdisk are respectively a remaining CPU computing resource, a remaining AI computing resource, a remaining memory capacity resource, a remaining hard disk storage resource, a remaining network transmission resource, a remaining network access resource and a remaining hard disk storage consumption rate, gcpu, ggup, gmem, gdisk, gnet, gwifi and Gtime are respectively a CPU computing resource remaining safety threshold, an AI computing resource remaining safety threshold, a memory capacity resource remaining safety threshold, a hard disk storage resource remaining safety threshold, a network access resource remaining safety threshold and a network storage consumption rate remaining safety threshold.
3. The method for adjusting edge computing resources according to claim 1, wherein changing the wifi connection of the current target device from the alert edge server to the target edge server comprises:
controlling the alarm edge server to exit the service of the current target equipment;
controlling a current target device to change wifi connection from the alarm edge server to the target edge server through the alarm edge server;
and controlling the target edge server to start the service of the current target equipment.
4. The method for adjusting edge computing resources according to claim 1, wherein after the changing the wifi connection of the current target device from the alert edge server to the target edge server, further comprising:
judging whether the occupation condition of the alarm resources of the alarm edge server is not more than a corresponding resource safety threshold;
if not, executing the step of determining the current target equipment in the wifi terminal equipment and the target edge server corresponding to the current target equipment according to the respective resource occupation condition of each edge server, the resource occupation estimated condition of the wifi terminal equipment connected with the alarming edge server and the wifi connection signal quality information.
5. An apparatus for adjusting edge computing resources, comprising:
the alarm detection module is used for detecting alarm edge servers in the edge servers; the alarm edge server is an edge server with alarm resources, and the alarm resources are resources with occupation conditions larger than corresponding resource safety thresholds;
the adjustment determining module is used for determining a current target device in the wifi terminal device and a target edge server corresponding to the current target device according to respective resource occupation conditions of the edge servers, resource occupation estimated conditions of the wifi terminal device connected with the alarm edge servers and wifi connection signal quality information if the alarm edge servers are detected; the current target device is any wifi terminal device;
the adjusting module is used for changing the wifi connection of the current target equipment from the alarm edge server to the target edge server;
correspondingly, the adjustment determining module includes:
the first determining submodule is used for determining the wifi terminal equipment with the largest resource occupation of the alarm resource as the current equipment to be switched according to the resource occupation prediction condition of the wifi terminal equipment connected with the alarm edge server;
The computing sub-module is used for computing system efficiency evaluation values corresponding to all switchable edge servers according to wifi connection signal quality information and resource occupation estimated conditions of the current equipment to be switched and respective resource occupation conditions of the edge servers; the switchable edge server is an edge server except the alarm edge server which can be connected with the current equipment to be switched;
the detection sub-module is used for detecting whether a selected edge server meeting the safety threshold requirement exists in the switchable edge servers according to the respective resource safety threshold of each edge server;
a second determining submodule, configured to determine, if the selected edge server exists, a current device to be switched as a current target device, and determine, as the target edge server, a selected edge server with a maximum system efficiency evaluation value;
a third determining submodule, configured to determine, if the switchable edge server or the selective edge server does not exist, a current device to be switched as a non-target device, determine, according to an order of from large to small of resource occupation of the alarm resource, a wifi terminal device with a maximum resource occupation outside the non-target device as a current device to be switched, and send a start signal to the calculating submodule;
The third determining submodule is specifically configured to determine a current device to be switched as the non-target device; judging whether wifi terminal devices connected with the alarm edge server are all the non-target devices; if the non-target devices are not uniform, determining wifi terminal devices with the largest resource occupation outside the non-target devices as current devices to be switched, and sending a starting signal to the detection submodule; and if the information is the non-target equipment, reporting the serious alarm information.
6. An edge computing resource adjustment apparatus, comprising:
a memory for storing a computer program;
a processor for implementing the steps of the method for adjusting edge computing resources according to any of claims 1 to 4 when executing said computer program.
7. A computer readable storage medium, characterized in that the computer readable storage medium has stored thereon a computer program which, when executed by a processor, implements the steps of the method for adjusting edge computing resources according to any of claims 1 to 4.
CN202111602830.8A 2021-12-24 2021-12-24 Edge computing resource adjusting method, device, equipment and storage medium Active CN114465872B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202111602830.8A CN114465872B (en) 2021-12-24 2021-12-24 Edge computing resource adjusting method, device, equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202111602830.8A CN114465872B (en) 2021-12-24 2021-12-24 Edge computing resource adjusting method, device, equipment and storage medium

Publications (2)

Publication Number Publication Date
CN114465872A CN114465872A (en) 2022-05-10
CN114465872B true CN114465872B (en) 2023-07-25

Family

ID=81407675

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202111602830.8A Active CN114465872B (en) 2021-12-24 2021-12-24 Edge computing resource adjusting method, device, equipment and storage medium

Country Status (1)

Country Link
CN (1) CN114465872B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN113992691B (en) * 2021-12-24 2022-04-22 苏州浪潮智能科技有限公司 Method, device and equipment for distributing edge computing resources and storage medium

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007102145A1 (en) * 2006-03-06 2007-09-13 Enure Networks Ltd. Distributed networks and utilization of centralized redundancy
JP2017017655A (en) * 2015-07-06 2017-01-19 日本電気株式会社 Wireless access network node, edge server, policy management node, and method for them
CN108541027A (en) * 2018-04-24 2018-09-14 南京邮电大学 A kind of communication computing resource method of replacing based on edge cloud network
CN110012508A (en) * 2019-04-10 2019-07-12 中南大学 A kind of resource allocation methods and system of the edge calculations towards super-intensive network
CN111709582A (en) * 2020-06-18 2020-09-25 广东电网有限责任公司 Method and system for dynamically optimizing edge computing resources of unmanned aerial vehicle and storage medium
WO2020207264A1 (en) * 2019-04-08 2020-10-15 阿里巴巴集团控股有限公司 Network system, service provision and resource scheduling method, device, and storage medium
WO2021023018A1 (en) * 2019-08-05 2021-02-11 南京中兴新软件有限责任公司 Service scheduling method and apparatus

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US9432794B2 (en) * 2014-02-24 2016-08-30 International Business Machines Corporation Techniques for mobility-aware dynamic service placement in mobile clouds
US10880787B2 (en) * 2016-08-30 2020-12-29 Sony Corporation Relocation of mobile edge computing services

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
WO2007102145A1 (en) * 2006-03-06 2007-09-13 Enure Networks Ltd. Distributed networks and utilization of centralized redundancy
JP2017017655A (en) * 2015-07-06 2017-01-19 日本電気株式会社 Wireless access network node, edge server, policy management node, and method for them
CN108541027A (en) * 2018-04-24 2018-09-14 南京邮电大学 A kind of communication computing resource method of replacing based on edge cloud network
WO2020207264A1 (en) * 2019-04-08 2020-10-15 阿里巴巴集团控股有限公司 Network system, service provision and resource scheduling method, device, and storage medium
CN110012508A (en) * 2019-04-10 2019-07-12 中南大学 A kind of resource allocation methods and system of the edge calculations towards super-intensive network
WO2021023018A1 (en) * 2019-08-05 2021-02-11 南京中兴新软件有限责任公司 Service scheduling method and apparatus
CN111709582A (en) * 2020-06-18 2020-09-25 广东电网有限责任公司 Method and system for dynamically optimizing edge computing resources of unmanned aerial vehicle and storage medium

Also Published As

Publication number Publication date
CN114465872A (en) 2022-05-10

Similar Documents

Publication Publication Date Title
CN104065586B (en) A kind of flow control methods and device
CN109905259B (en) Communication connection maintaining method, system and related equipment
US7486621B2 (en) Method and apparatus for load sharing and overload control for packet media gateways under control of a single media gateway controller
CN116547958A (en) Method, system and computer readable medium for ranking process of network function selection
CN113992691B (en) Method, device and equipment for distributing edge computing resources and storage medium
CN102111337A (en) Method and system for task scheduling
CN112261120B (en) Cloud-side cooperative task unloading method and device for power distribution internet of things
CN114465872B (en) Edge computing resource adjusting method, device, equipment and storage medium
US10334536B2 (en) Method for dynamic adaptation of a data rate
CN110855564B (en) Intelligent routing path selection method, device and equipment and readable storage medium
Collotta et al. Dynamic load balancing techniques for flexible wireless industrial networks
CN112543151B (en) SDN controller deployment method and device, electronic equipment and storage medium
CN114185674A (en) CPU task real-time scheduling method, device, equipment and storage medium
JP2019525514A (en) Management of 5G split bearer flow control
EP2755135B1 (en) Computing device, method, and program for energy-efficient distribution of computational load
CN112600827B (en) Virtual service migration method and system based on incremental minimum cost maximum flow
CN111866040B (en) Gateway load balancing method and device for LoRa server
CN111510958B (en) Message access load balancing method and system
CN110995802A (en) Task processing method and device, storage medium and electronic device
CN112601232B (en) Load balancing multi-service migration method and system based on minimum cost and maximum flow
CN104768022A (en) Resource scheduling method and device of video transcoding system
Nasri et al. WCDMA downlink load sharing with dynamic control of soft handover parameters
CN106911815B (en) Information processing method, capacity expansion method, manager, controller and DNS (domain name system)
CN110505115B (en) Method and device for monitoring switch running-up risk
CN109257292B (en) RCS load balancing 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
GR01 Patent grant
GR01 Patent grant