CN116389588A - Edge cluster nanotube method and device, electronic equipment and storage medium - Google Patents

Edge cluster nanotube method and device, electronic equipment and storage medium Download PDF

Info

Publication number
CN116389588A
CN116389588A CN202310127792.8A CN202310127792A CN116389588A CN 116389588 A CN116389588 A CN 116389588A CN 202310127792 A CN202310127792 A CN 202310127792A CN 116389588 A CN116389588 A CN 116389588A
Authority
CN
China
Prior art keywords
edge cluster
edge
application request
resource
cluster
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
CN202310127792.8A
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.)
Inspur Communication Technology Co Ltd
Original Assignee
Inspur Communication 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 Inspur Communication Technology Co Ltd filed Critical Inspur Communication Technology Co Ltd
Priority to CN202310127792.8A priority Critical patent/CN116389588A/en
Publication of CN116389588A publication Critical patent/CN116389588A/en
Pending legal-status Critical Current

Links

Images

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/50Network services
    • H04L67/60Scheduling or organising the servicing of application requests, e.g. requests for application data transmissions using the analysis and optimisation of the required network resources
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/76Admission control; Resource allocation using dynamic resource allocation, e.g. in-call renegotiation requested by the user or requested by the network in response to changing network conditions
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L47/00Traffic control in data switching networks
    • H04L47/70Admission control; Resource allocation
    • H04L47/78Architectures of resource allocation
    • H04L47/781Centralised allocation of resources
    • 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/1001Protocols in which an application is distributed across nodes in the network for accessing one among a plurality of replicated servers

Abstract

According to the method, the device, the electronic equipment and the storage medium for managing the edge cluster, the connection request of the edge cluster is obtained, and the connection request comprises the IP address of the edge cluster; acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate; acquiring an application request sent by a client; and dispatching the application request to a target edge cluster according to the resource information and the application request. The invention can summarize and integrate the resource information of each edge cluster, and uniformly manage and schedule the resources by combining the resource information of the edge clusters and the application request sent by the client, thereby realizing the effective utilization of the resources and saving the labor cost of the edge cluster management. The invention can be applied to the technical field of edge cluster management.

Description

Edge cluster nanotube method and device, electronic equipment and storage medium
Technical Field
The present invention relates to the field of edge cluster management technologies, and in particular, to a method and an apparatus for managing an edge cluster, an electronic device, and a storage medium.
Background
Current content delivery network (Content Delivery Network, abbreviated CDN) systems typically deploy a vast number of edge nodes in order to be able to serve users worldwide. During operation, there may be more idle resources for these edge nodes. For example, an edge node that is a standby node typically does not run traffic, and only if the primary node fails or needs emergency replacement, the primary node will run traffic for a period of time. As another example, some edge nodes may serve fewer customers or require less traffic data to process and thus may be in a low load mode of operation for a long period of time. In view of this, how to manage a huge number of edge nodes, so as to effectively utilize idle resources in the edge nodes, becomes a problem to be solved in the CDN.
In the prior art, a chimney type management mode is often adopted, namely each node is provided with an independent management system, and along with the increase of edge nodes, more and more clusters need to be managed, so that a great challenge is brought to a system manager. Significant manpower and financial effort is required to manage the clusters, and the clusters cannot be handled the first time if a problem occurs.
Disclosure of Invention
The invention provides a nanotube method, a nanotube device, electronic equipment and a storage medium for an edge cluster, which are used for solving the defect that a large number of clusters cannot be effectively managed in the prior art and realizing unified management and scheduling of the edge cluster.
The invention provides a nanotube method of an edge cluster, which comprises the following steps:
acquiring a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster;
acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate;
acquiring an application request sent by a client;
and dispatching the application request to a target edge cluster according to the resource information and the application request.
According to the invention, the method for managing the edge cluster comprises the following steps:
judging whether the edge cluster has faults or not according to the connection request and the resource information;
if the fault edge cluster exists, generating alarm information, wherein the alarm information comprises the IP address of the fault edge cluster.
According to the method for managing the edge cluster, after the step of acquiring the connection request of the edge cluster, the method further comprises the following steps:
acquiring resource change information of the edge cluster;
and updating the resource information of the edge cluster according to the resource change information.
According to the method for managing the edge cluster, the application request comprises voice data, and the step of acquiring the application request sent by the client comprises the following steps:
analyzing the application request to obtain voice data of the application request;
performing voice recognition on the voice data to obtain text content of the voice data;
and extracting text characteristic information of the text content to obtain an application request instruction.
According to the method for managing the edge cluster, the resource information further comprises a working state of the edge cluster, wherein the working state comprises a busy state and an idle state, and the method further comprises the following steps:
analyzing the resource information to determine the working state of each edge cluster;
updating a scheduling list according to the working state, wherein the scheduling list comprises an edge cluster for executing an application request;
when the working state of the edge cluster is a busy state, the edge cluster is removed from the scheduling list;
and when the working state of the edge cluster is the idle state, adding the edge cluster into a scheduling list.
According to the method for managing the edge cluster provided by the invention, the step of dispatching the application request to the target edge cluster according to the resource information and the application request comprises the following steps:
analyzing the resource information to determine the resource utilization rate of each edge cluster;
and screening out a target edge cluster according to the application request and the resource utilization rate, and scheduling the application request into the target edge cluster.
According to the method for managing the edge clusters provided by the invention, the steps of screening out the target edge clusters according to the application request and the resource utilization rate and dispatching the application request into the target edge clusters comprise the following steps:
determining a required resource threshold according to the application request;
determining the current resource number of the edge cluster according to the resource utilization rate;
when the current resource number is larger than the required resource threshold, adding the edge cluster into the scheduling list;
and screening out a target edge cluster from the scheduling list, and scheduling the application request to the target edge cluster.
The invention also provides a nanotube device of the edge cluster, which comprises:
a receiving unit, configured to obtain a connection request of an edge cluster, where the connection request includes an IP address of the edge cluster;
the information acquisition unit is used for acquiring the resource information of the edge cluster according to the connection request;
the request acquisition unit is used for acquiring an application request sent by the client;
and the scheduling unit is used for scheduling the application request to a target edge cluster according to the resource information and the application request.
The invention also provides an electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the processor implementing a method of managing edge clusters as described in any one of the above when executing the program.
The invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, implements a method of managing edge clusters as described in any of the above.
According to the method, the device, the electronic equipment and the storage medium for managing the edge cluster, the connection request of the edge cluster is obtained, and the connection request comprises the IP address of the edge cluster; acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate; acquiring an application request sent by a client; and dispatching the application request to a target edge cluster according to the resource information and the application request. The invention can summarize and integrate the resource information of each edge cluster, and uniformly manage and schedule the resources by combining the resource information of the edge clusters and the application request sent by the client, thereby realizing the effective utilization of the resources and saving the labor cost of the edge cluster management.
Drawings
In order to more clearly illustrate the invention or the technical solutions of the prior art, the following description will briefly explain the drawings used in the embodiments or the description of the prior art, and it is obvious that the drawings in the following description are some embodiments of the invention, and other drawings can be obtained according to the drawings without inventive effort for a person skilled in the art.
FIG. 1 is a schematic flow chart of a method for managing edge clusters according to the present invention;
FIG. 2 is a schematic diagram of a nanotube device with edge clusters according to the present invention;
fig. 3 is a schematic structural diagram of an electronic device provided by the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, the technical solutions of the present invention will be clearly and completely described below with reference to the accompanying drawings, and it is apparent that the described embodiments are some embodiments of the present invention, not all embodiments. 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.
With the rapid development of edge computing, more and more edge nodes need to be deployed, and a large number of virtualization platforms, such as openstack platforms, may exist in each edge node, and these platforms often need to be managed uniformly to improve the efficiency of operation and maintenance and the reliability of monitoring. At present, these edge nodes are often managed by adopting a "chimney" management mode, i.e. each node has a management system. However, as the number of edge nodes increases, more and more clusters need to be managed, which presents a significant challenge to system administrators. Significant manpower and financial effort is required to manage the clusters, and the clusters cannot be handled the first time if a problem occurs.
In order to solve the defect that a large number of clusters cannot be effectively managed in the prior art, the invention provides a nano-tube method of an edge cluster, so as to realize unified management and scheduling of the edge cluster. As shown in fig. 1, including but not limited to the following steps:
step 110, obtaining a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster.
In step 110, in order to obtain resource information of the edge cluster, a communication connection needs to be established with the edge cluster. Specifically, a connector may be set in the edge cluster, where the connector records an IP address and port information of the nanotube cluster, and when the connector is started, a connection request is first sent to the nanotube cluster, where the connection request records basic information of the edge cluster where the connector is located, including the IP address and port information. Further, when receiving the connection request, the nanotube cluster sends a response of the connection request to the connector of the edge cluster to identify that the connection is successful, and the basic information of the edge cluster is recorded in the database.
And 120, acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate.
In step 120, after the connection with the edge cluster, the resource information of the edge cluster needs to be acquired, where the resource information includes information such as virtual machine, specification, mirror image, key, network, subnet, route, floating ip, security group, volume, backup, snapshot, storage type, and the like, and these information are basic resource information of openstack. Specifically, a synchronizer may be set in the edge cluster, and after the connector completes connection with the nanotube cluster, the synchronizer starts to start, and may send resource information in the edge cluster to the nanotube cluster. Further, when the resources in the edge cluster change, including information such as new addition, modification, deletion, etc., the synchronizer will also send resource change information to the controller to update the resource information in the database. And acquiring the resource information of the edge cluster to monitor the idle resource condition of the edge cluster in real time.
And 130, acquiring an application request sent by the client.
In step 130, the user downloads the client through the intelligent terminal, and sends an application request in the client, where the application request includes an amount of resources that the application request needs to occupy. By combining the resource information of the edge cluster and the information contained in the application request, resource scheduling can be better realized.
And 140, dispatching the application request to a target edge cluster according to the resource information and the application request.
In step 140, the resource information may be parsed to determine the resource usage of each edge cluster, thereby determining the current idle resources of each edge cluster. After determining the current idle resources of the edge cluster, a proper target edge cluster can be screened out from the scheduling list according to the number of resources required by the application request, and the application request is scheduled to the target edge cluster.
The invention obtains a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster; acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate; acquiring an application request sent by a client; and dispatching the application request to a target edge cluster according to the resource information and the application request. The invention can summarize and integrate the resource information of each edge cluster, and uniformly manage and schedule the resources by combining the resource information of the edge clusters and the application request sent by the client, thereby realizing the effective utilization of the resources and saving the labor cost of the edge cluster management.
As a further alternative embodiment, the method further comprises:
judging whether the edge cluster has faults or not according to the connection request and the resource information;
if the fault edge cluster exists, generating alarm information, wherein the alarm information comprises the IP address of the fault edge cluster.
In the embodiment of the invention, whether the edge cluster has faults is judged according to the connection request and the resource information. Specifically, the connection request includes basic information of the edge cluster, including IP addresses, ports, etc., and the resource information includes information of virtual machines, specifications, images, keys, networks, subnets, routes, floating IPs, security groups, volumes, backups, snapshots, storage types, etc., which are basic resource information of openstack. By analyzing the basic resource information of the openstack, whether a fault exists in the edge cluster can be determined, and the specific fault edge cluster can be determined by combining the information contained in the connection request. And when the edge cluster with the fault is determined, generating alarm information containing the IP address of the edge cluster with the fault so as to remind a user that the edge cluster with the fault occurs.
In this embodiment, after determining the faulty edge cluster, alarm information including the IP address of the faulty edge cluster is generated and fed back to the intelligent terminal used by the user, where the intelligent terminal makes a corresponding response according to the alarm information, and status feedback display is implemented through the indicator light, the sound and the display module. The state feedback display mode of the display module can be that the intelligent terminal is directly reminded in the form of characters in a display screen of the intelligent terminal or a display interface of the APP, and the characters can be Chinese characters or characters of other countries. Optionally, the prompting manner of the offline prompting information may also be that the display color of the preset offline prompting information prompting area is switched from a first color (such as green) to a second color (such as red) in a display screen of the intelligent terminal or a display interface of the APP.
As a further alternative embodiment, after the step of obtaining a connection request of the edge cluster, the method further comprises:
acquiring resource change information of the edge cluster;
and updating the resource information of the edge cluster according to the resource change information.
In this embodiment, in order to ensure the real-time performance of the resource information of the edge cluster, the resource change information of the edge cluster is periodically acquired. When the resources in the edge cluster are changed, including information such as new addition, modification and deletion, corresponding resource change information is generated; and updating the original resource information of the edge cluster through the resource change information. Specifically, the edge cluster may report the resource information to the nanotube cluster, where the nanotube cluster stores the resource information in the database, and when the resource in the edge cluster changes, the edge cluster generates resource change information and reports the resource change information to the na Guan Jiqun again, and the nanotube cluster updates the resource information in the database according to the resource change information.
As a further optional embodiment, the step of obtaining the application request sent by the client includes:
analyzing the application request to obtain voice data of the application request;
performing voice recognition on the voice data to obtain text content of the voice data;
and extracting text characteristic information of the text content to obtain an application request instruction.
In this embodiment, the application request includes voice data of the user, which is collected by the terminal device used by the user, and the voice data includes an application operation that the user wants to perform. Because the voice data is unstructured, the voice data is conveniently processed, the characteristic information of the voice data is selected and extracted, and an application request instruction is generated according to the extracted characteristic information.
In the embodiment of the invention, text characteristic information of text content needs to be extracted, a targeted machine learning model can be modeled and trained to identify keywords, and when the keywords contained in the text content are identified, an application request instruction corresponding to the keywords is generated. Here, the training data set with the label can be trained by inputting the training data set into the initialized keyword recognition model for training. Specifically, after data in the training data set is input into the initialized keyword recognition model, a recognition result output by the model, namely a keyword prediction result, can be obtained, and the accuracy of recognition model prediction can be evaluated according to the keyword prediction result and the label, so that parameters of the model are updated. For keyword recognition models, the accuracy of model predictions can be measured by a Loss Function (Loss Function) defined on a single training data, for measuring the prediction error of a training data, specifically, determining the Loss value of the training data by the label of the single training data and the model for the prediction result of the training data. In actual training, one training data set has a lot of training data, so that a cost function (CostFunction) is generally adopted to measure the overall error of the training data set, and the cost function is defined on the whole training data set and is used for calculating the average value of the prediction errors of all training data, so that the prediction effect of a model can be better measured. For a general machine learning model, based on the cost function, a regular term for measuring the complexity of the model can be used as a training objective function, and based on the objective function, the loss value of the whole training data set can be obtained. There are many kinds of common loss functions, such as 0-1 loss function, square loss function, absolute loss function, logarithmic loss function, cross entropy loss function, etc., which can be used as the loss function of the machine learning model, and will not be described in detail herein. In the embodiment of the application, one loss function can be selected to determine the loss value of training. Based on the trained loss value, updating the parameters of the model by adopting a back propagation algorithm, and iterating for several rounds to obtain the trained keyword recognition model. Specifically, the number of iteration rounds may be preset, or training may be considered complete when the test set meets the accuracy requirements.
Further, before extracting the text feature information, it is necessary to identify the voice data, and determine whether the voice data is voice data of the user, that is, when the user is the user, the subsequent operation is performed. Generally, the voice data of the person is unstructured data, in order to facilitate the processing of the voice data, feature extraction is needed, the extracted voice print features are input into a corresponding machine learning model for comparison, and the approximation degree of the voice print features of the voice data of the person and the voice print features of the target person is output to determine whether the voice data of the person comprises the target voice data or not.
In the matching process, the similarity calculation can be carried out by modeling and training a targeted machine learning model, and the similarity of the acoustic feature information of the voice data of the person and the acoustic feature information of the voice data of the target person is output. The similarity is used to represent the degree of similarity between the acoustic feature information of the voice data of the person and the acoustic feature information of the voice data of the target person, and when the value of the similarity reaches a certain value, the voiceprint features can be considered to be the same, and the voice data of the person can also be considered to include the target voice data. In addition, in some embodiments, vector indexes may be set on acoustic feature information in the form of vectors to reduce the amount of data computation in the matching query process.
As a further optional embodiment, the resource information further includes an operation state of the edge cluster, where the operation state includes a busy state and an idle state, and the method further includes:
analyzing the resource information to determine the working state of each edge cluster;
updating a scheduling list according to the working state, wherein the scheduling list comprises an edge cluster capable of executing an application request;
when the working state of the edge cluster is a busy state, the edge cluster is removed from the scheduling list;
and when the working state of the edge cluster is the idle state, adding the edge cluster into a scheduling list.
In this embodiment, the resource information further includes a working state of the edge cluster, and the resource information may further include some other information of the edge cluster, for example, a model number of the edge cluster, a failure rate of the edge cluster, and the like, where the resource information of the edge cluster may be used to characterize a current running state of the edge cluster and an environment where the edge cluster is located, which is not exemplified herein. While the operational states include a busy state and an idle state, which are used to characterize the amount of tasks being processed by the edge cluster. And setting the working state of the edge cluster to be a busy state when the task amount of the edge cluster exceeds a certain amount, and otherwise, setting the working state of the edge cluster to be an idle state when the task amount of the edge cluster is lower than a certain amount. Specifically, the invention updates a scheduling list according to the working state of the edge cluster, wherein the scheduling list comprises the edge cluster capable of executing the application request. When the working state of the edge cluster is a busy state, the edge cluster is removed from the scheduling list; and when the working state of the edge cluster is the idle state, adding the edge cluster into a scheduling list. According to the embodiment, the edge clusters in the scheduling list can be adjusted, so that the edge clusters are better managed and scheduled uniformly, and the resource utilization rate is improved.
As a further alternative embodiment, the step of scheduling the application request to a target edge cluster according to the resource information and the application request includes:
analyzing the resource information to determine the resource utilization rate of each edge cluster;
and screening out a target edge cluster according to the application request and the resource utilization rate, and scheduling the application request into the target edge cluster.
In this embodiment, the current idle resource of each edge cluster may be determined by analyzing the resource information to determine the resource usage rate of each edge cluster. After determining the current idle resources of the edge cluster, a proper target edge cluster can be screened out from the scheduling list according to the number of resources required by the application request, and the application request is scheduled to the target edge cluster. Specifically, the database contains the resource information of each edge cluster, so that a controller can be arranged in the set nanotube cluster in practical application, and the controller can analyze the data in the database, so that the idle resources of each edge cluster can be monitored in real time. In the process of screening the target edge clusters, the selection can be performed according to the requirements of the user, for example, 4 edge clusters are edge cluster 1, edge cluster 2, edge cluster 3 and edge cluster 4, after the resource information is analyzed, the idle resources of the edge cluster 3 are known to not meet the resource requirements of the user, and then the options of the edge cluster 1, the edge cluster 2 and the edge cluster 4 are provided for the user to select, so that the user can determine the target edge clusters by himself. In addition, the edge cluster with the most idle resources can be selected as the target edge cluster, and the target edge cluster can be screened according to more information in practical application, which is not exemplified here.
As a further optional embodiment, the step of screening out a target edge cluster according to the application request and the resource usage, and scheduling the application request to the target edge cluster includes:
determining a required resource threshold according to the application request;
determining the current resource number of the edge cluster according to the resource utilization rate;
when the current resource number is larger than the required resource threshold, adding the edge cluster into the scheduling list;
and screening out a target edge cluster from the scheduling list, and scheduling the application request to the target edge cluster.
In this embodiment, it is required to screen out a target edge cluster according to the application request and the resource utilization, and schedule the application request into the target edge cluster. First, it is necessary to determine how much resources are needed to execute the application request according to the application request, and the how much resources are needed is used as a needed resource threshold. Then, the current resource number of the edge cluster is determined according to the resource utilization rate, specifically, the used resource is determined by obtaining the total resource number of the edge cluster multiplied by the resource utilization rate, and then the current residual resource number is obtained by subtracting the used resource number from the total resource number. And determining the edge cluster added into the scheduling list according to the relation between the current residual resource number and the required resource threshold value. Illustratively, when the current number of resources is greater than the required resource threshold, the edge cluster is added to the dispatch list. And after the dispatching list is adjusted, screening out a target edge cluster from the dispatching list, and dispatching the application request into the target edge cluster. Further, in order to ensure that the application request is successfully executed, the edge set may reserve a portion of the idle resources, for example, increase the value of the required resource threshold, for example, the actual required resource is 50, and then increase a certain value based on the actual required resource, to obtain a new required resource threshold, for example, 80, 90, etc. By reserving certain idle resources, smooth execution of application requests can be ensured, and emergency situations can be prevented.
The following describes the edge cluster nanotube device provided by the invention, and the edge cluster nanotube device described below and the edge cluster nanotube method described above can be referred to correspondingly.
An edge clustered nanotube device, as shown in fig. 2, comprising:
a receiving unit 210, configured to obtain a connection request of an edge cluster, where the connection request includes an IP address of the edge cluster;
an information obtaining unit 220, configured to obtain resource information of an edge cluster according to the connection request;
a request acquiring unit 230, configured to acquire an application request sent by a client;
and the scheduling unit 240 is configured to schedule the application request to a target edge cluster according to the resource information and the application request.
Fig. 3 illustrates a physical schematic diagram of an electronic device, as shown in fig. 3, where the electronic device may include: processor 310, communication interface 320, memory 330 and communication bus 340, wherein processor 310, communication interface 320 and memory 330 communicate with each other via communication bus 340. The processor 310 may invoke logic instructions in the memory 330 to perform a nanotube approach to edge clustering, the method comprising:
acquiring a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster;
acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate;
acquiring an application request sent by a client;
and dispatching the application request to a target edge cluster according to the resource information and the application request.
Further, the logic instructions in the memory 330 described above may be implemented in the form of software functional units and may be stored in a computer-readable storage medium when sold or used as a stand-alone product. Based on this understanding, the technical solution of the present invention may be embodied essentially or in a part contributing to the prior art or in a part of the technical solution, in the form of a software product stored in a storage medium, comprising several instructions for causing a computer device (which may be a personal computer, a server, a network device, etc.) to perform all or part of the steps of the method according to the embodiments of the present invention. And the aforementioned storage medium includes: a U-disk, a removable hard disk, a Read-only memory (ROM), a random access memory (RAM, random Access Memory), a magnetic disk, or an optical disk, or other various media capable of storing program codes.
In another aspect, the present invention also provides a computer program product, the computer program product comprising a computer program, the computer program being storable on a non-transitory computer readable storage medium, the computer program, when executed by a processor, being capable of executing the method of edge clustering provided by the methods described above, the method comprising:
acquiring a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster;
acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate;
acquiring an application request sent by a client;
and dispatching the application request to a target edge cluster according to the resource information and the application request.
In yet another aspect, the present invention also provides a non-transitory computer readable storage medium having stored thereon a computer program which, when executed by a processor, is implemented to perform a method of edge clustering as provided by the methods above, the method comprising:
acquiring a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster;
acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate;
acquiring an application request sent by a client;
and dispatching the application request to a target edge cluster according to the resource information and the application request.
The apparatus embodiments described above are merely illustrative, wherein the elements illustrated as separate elements may or may not be physically separate, and the elements shown as elements may or may not be physical elements, may be located in one place, or may be distributed over a plurality of network elements. Some or all of the modules may be selected according to actual needs to achieve the purpose of the solution of this embodiment. Those of ordinary skill in the art will understand and implement the present invention without undue burden.
From the above description of the embodiments, it will be apparent to those skilled in the art that the embodiments may be implemented by means of software plus necessary general hardware platforms, or of course may be implemented by means of hardware. Based on this understanding, the foregoing technical solution may be embodied essentially or in a part contributing to the prior art in the form of a software product, which may be stored in a computer readable storage medium, such as ROM/RAM, a magnetic disk, an optical disk, etc., including several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute the method described in the respective embodiments or some parts of the embodiments.
Finally, it should be noted that: the above embodiments are only for illustrating the technical solution of the present invention, and are not limiting; although the invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical scheme described in the foregoing embodiments can be modified or some technical features thereof can be replaced by equivalents; such modifications and substitutions do not depart from the spirit and scope of the technical solutions of the embodiments of the present invention.

Claims (10)

1. A method of edge clustered nanotubes, comprising:
acquiring a connection request of an edge cluster, wherein the connection request comprises an IP address of the edge cluster;
acquiring resource information of the edge cluster according to the connection request, wherein the resource information comprises resource utilization rate;
acquiring an application request sent by a client;
and dispatching the application request to a target edge cluster according to the resource information and the application request.
2. The edge clustered nanotube method of claim 1, wherein the method further comprises:
judging whether the edge cluster has faults or not according to the connection request and the resource information;
if the fault edge cluster exists, generating alarm information, wherein the alarm information comprises the IP address of the fault edge cluster.
3. The edge cluster nanotube method of claim 1, wherein after the step of obtaining a connection request of the edge cluster, the method further comprises:
acquiring resource change information of the edge cluster;
and updating the resource information of the edge cluster according to the resource change information.
4. The method according to claim 1, wherein the application request includes voice data, and the step of obtaining the application request sent by the client includes:
analyzing the application request to obtain voice data of the application request;
performing voice recognition on the voice data to obtain text content of the voice data;
and extracting text characteristic information of the text content to obtain an application request instruction.
5. The edge cluster nanotube method of claim 1, wherein the resource information further comprises an operational state of the edge cluster, the operational state comprising a busy state and an idle state, the method further comprising:
analyzing the resource information to determine the working state of each edge cluster;
updating a scheduling list according to the working state, wherein the scheduling list comprises an edge cluster for executing an application request;
when the working state of the edge cluster is a busy state, the edge cluster is removed from the scheduling list;
and when the working state of the edge cluster is an idle state, adding the edge cluster into the scheduling list.
6. The edge cluster nanotube method of claim 1, wherein the step of scheduling the application request into a target edge cluster based on the resource information and the application request comprises:
analyzing the resource information to determine the resource utilization rate of each edge cluster;
and screening out a target edge cluster according to the application request and the resource utilization rate, and scheduling the application request into the target edge cluster.
7. The edge cluster nanotube method of claim 6, wherein the steps of screening out target edge clusters based on the application requests and the resource usage, and scheduling the application requests into target edge clusters comprise:
determining a required resource threshold according to the application request;
determining the current residual resource number of the edge cluster according to the resource utilization rate;
when the current residual resource number is larger than the required resource threshold, adding the edge cluster into the scheduling list;
and screening out a target edge cluster from the scheduling list, and scheduling the application request to the target edge cluster.
8. A nanotube device of an edge cluster, comprising:
a receiving unit, configured to obtain a connection request of an edge cluster, where the connection request includes an IP address of the edge cluster;
the information acquisition unit is used for acquiring the resource information of the edge cluster according to the connection request;
the request acquisition unit is used for acquiring an application request sent by the client;
and the scheduling unit is used for scheduling the application request to a target edge cluster according to the resource information and the application request.
9. An electronic device comprising a memory, a processor and a computer program stored on the memory and executable on the processor, characterized in that the processor implements the method of edge clustering as claimed in any one of claims 1 to 7 when executing the program.
10. A non-transitory computer readable storage medium, on which a computer program is stored, characterized in that the computer program, when executed by a processor, implements the nanotube method of edge clusters according to any one of claims 1 to 7.
CN202310127792.8A 2023-02-16 2023-02-16 Edge cluster nanotube method and device, electronic equipment and storage medium Pending CN116389588A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310127792.8A CN116389588A (en) 2023-02-16 2023-02-16 Edge cluster nanotube method and device, electronic equipment and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310127792.8A CN116389588A (en) 2023-02-16 2023-02-16 Edge cluster nanotube method and device, electronic equipment and storage medium

Publications (1)

Publication Number Publication Date
CN116389588A true CN116389588A (en) 2023-07-04

Family

ID=86968281

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310127792.8A Pending CN116389588A (en) 2023-02-16 2023-02-16 Edge cluster nanotube method and device, electronic equipment and storage medium

Country Status (1)

Country Link
CN (1) CN116389588A (en)

Similar Documents

Publication Publication Date Title
US6792456B1 (en) Systems and methods for authoring and executing operational policies that use event rates
US9569330B2 (en) Performing dependency analysis on nodes of a business application service group
CN109586952B (en) Server capacity expansion method and device
US10489232B1 (en) Data center diagnostic information
US9246777B2 (en) Computer program and monitoring apparatus
US8930964B2 (en) Automatic event correlation in computing environments
US20200021511A1 (en) Performance analysis for transport networks using frequent log sequence discovery
CN112769605B (en) Heterogeneous multi-cloud operation and maintenance management method and hybrid cloud platform
AU2022259730B2 (en) Utilizing machine learning models to determine customer care actions for telecommunications network providers
CN113516244B (en) Intelligent operation and maintenance method and device, electronic equipment and storage medium
US20230132116A1 (en) Prediction of impact to data center based on individual device issue
US11743237B2 (en) Utilizing machine learning models to determine customer care actions for telecommunications network providers
US10574552B2 (en) Operation of data network
CN110377703A (en) Error information processing method, device and equipment
CN113660273A (en) Intrusion detection method and device based on deep learning under super-fusion framework
CN114595127A (en) Log exception handling method, device, equipment and storage medium
WO2020119627A1 (en) Abnormality detection and positioning method and apparatus applied to distributed container cloud platform
CN105827744A (en) Data processing method of cloud storage platform
CN115883392B (en) Data perception method and device of computing power network, electronic equipment and storage medium
JP2006025434A (en) System and method for high capacity fault correlation
CN106302656A (en) The Medical Data processing method of cloud storage platform
CN115599468A (en) Task processing method, system, electronic equipment and storage medium
CN116389588A (en) Edge cluster nanotube method and device, electronic equipment and storage medium
CN107368355B (en) Dynamic scheduling method and device of virtual machine
CN115470025A (en) Intelligent root cause analysis method, device, medium and equipment in distributed cloud scene

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