CN116827826B - Method and device for evaluating edge node and computer readable storage medium - Google Patents

Method and device for evaluating edge node and computer readable storage medium Download PDF

Info

Publication number
CN116827826B
CN116827826B CN202311095861.8A CN202311095861A CN116827826B CN 116827826 B CN116827826 B CN 116827826B CN 202311095861 A CN202311095861 A CN 202311095861A CN 116827826 B CN116827826 B CN 116827826B
Authority
CN
China
Prior art keywords
edge
node
service
capacity
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.)
Active
Application number
CN202311095861.8A
Other languages
Chinese (zh)
Other versions
CN116827826A (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.)
Tencent Technology Shenzhen Co Ltd
Original Assignee
Tencent Technology Shenzhen 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 Tencent Technology Shenzhen Co Ltd filed Critical Tencent Technology Shenzhen Co Ltd
Priority to CN202311095861.8A priority Critical patent/CN116827826B/en
Publication of CN116827826A publication Critical patent/CN116827826A/en
Application granted granted Critical
Publication of CN116827826B publication Critical patent/CN116827826B/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
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0817Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking functioning
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/06Generation of reports
    • H04L43/067Generation of reports using time frame reporting
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0805Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability
    • H04L43/0811Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters by checking availability by checking connectivity
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0823Errors, e.g. transmission errors
    • H04L43/0829Packet loss
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/0852Delays
    • H04L43/087Jitter
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/08Monitoring or testing based on specific metrics, e.g. QoS, energy consumption or environmental parameters
    • H04L43/091Measuring contribution of individual network components to actual service level
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L43/00Arrangements for monitoring or testing data switching networks
    • H04L43/16Threshold monitoring

Landscapes

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

Abstract

The embodiment of the application discloses an evaluation method and device of an edge node and a computer-readable storage medium, wherein the evaluation method comprises the following steps: acquiring service parameters of the edge service cluster and the first edge service cluster; determining a first service total capacity of an edge service cluster according to the number of first edge nodes corresponding to each first node type in the service parameters and the maximum single-node service capacity corresponding to each first node type; acquiring the working state of the first edge node in a first time period, and determining a first unavailable service capacity of the edge service cluster in the first time period according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type; and determining a first availability of the edge service cluster in a first duration according to the first service total capacity and the first unavailable service capacity. The accuracy of evaluating the quality of service of the edge node can be improved.

Description

Method and device for evaluating edge node and computer readable storage medium
Technical Field
The present application relates to the field of edge cloud technologies, and in particular, to an edge node evaluation method, an edge node evaluation device, and a computer readable storage medium.
Background
Edge clouds are cloud computing systems built on top of an edge infrastructure based on the core and edge computing capabilities of cloud computing technology. The edge cloud consists of edge machine rooms distributed in the same area, the edge machine rooms can contain edge nodes with various node types, the edge nodes refer to service platforms constructed on the network edge side close to users, and provide storage, calculation, network and other resources, and part of key service applications are sunk to the edge of an access network, so that the width and time delay loss caused by network transmission and multistage forwarding are reduced. For convenience in management, the edge nodes can be clustered, i.e. a plurality of edge nodes with similar distances or in the same intranet form an edge service cluster.
With the increase of the edge nodes, the service quality difference of each edge node is developed gradually, and the service quality of the edge nodes can be used as an important feature for evaluating the quality of the edge service cluster, and resources can be reasonably scheduled and allocated according to the service quality of the edge nodes, so that more efficient and high-quality service is provided for users. Currently, the quality of service of an edge node is usually estimated by the ratio of the available time to the working time of the edge node, but the evaluation criterion has only a dimension of time, so that the evaluation strategy is too single, and the estimated quality of service is inaccurate.
Disclosure of Invention
The embodiment of the application provides an evaluation method and device of an edge node and a computer readable storage medium, which can improve the accuracy of evaluating the service quality of the edge node.
The embodiment of the application provides an evaluation method of an edge node, which comprises the following steps:
acquiring service parameters of an edge service cluster, wherein the edge service cluster comprises one or more first edge nodes corresponding to first node types respectively, and the service parameters comprise the number of the first edge nodes corresponding to each first node type respectively and single-node service capacity corresponding to each first node type respectively;
determining a first service total capacity of an edge service cluster according to the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type;
acquiring the working state of the first edge node in a first time period, and determining a first unavailable service capacity of the edge service cluster in the first time period according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type;
And determining a first availability of the edge service cluster in a first duration according to the first service total capacity and the first unavailable service capacity.
An aspect of an embodiment of the present application provides an evaluation device for an edge node, including:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring service parameters of an edge service cluster, the edge service cluster comprises one or more first edge nodes corresponding to first node types respectively, and the service parameters comprise the number of the first edge nodes corresponding to each first node type respectively and single-node service capacity corresponding to each first node type respectively;
the first processing module is used for determining a first service total capacity of the edge service cluster according to the number of the first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type;
the second processing module is used for acquiring the working state of the first edge node in the first duration, and determining the first unavailable service capacity of the edge service cluster in the first duration according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type;
And the third processing module is used for determining the first availability of the edge service cluster in the first duration according to the first service total capacity and the first unavailable service capacity.
Wherein, the first processing module includes:
the first processing unit is used for multiplying the number of the first edge nodes belonging to the same first node type by the single-node service capacity to obtain the first service capacity corresponding to each first node type;
and the second processing unit is used for summing the first service capacity corresponding to each first node type to obtain the first service total capacity of the edge service cluster.
Wherein the operating state includes an available operating state and an unavailable operating state; the first time length is composed of S second time lengths including a second time length T i I is a positive integer less than or equal to S; the second processing module includes:
the operating state determining unit is configured to determine,for a second period of time T i The first edge node with the working state in the first edge node being the unavailable working state is determined as the second edge node;
a node type determining unit, configured to determine H first node types associated with the second edge node as H second node types; h is a positive integer less than or equal to the number of first node types contained by the edge service cluster;
A third processing unit, configured to determine a second duration T according to the number of second edge nodes corresponding to each second node type and the single-node service capacity corresponding to each second node type i The service capacity not available to the units within;
and the fourth processing unit is used for determining the sum of the unit unavailable service capacities in each second time period as the first unavailable service capacity of the edge service cluster in the first time period.
Wherein the H second node types include a second node type K j J is a positive integer less than or equal to H; the fourth processing unit includes:
a first processing subunit for processing the data belonging to the same second node type K j The number of the corresponding second edge nodes and the second node type K j Multiplying corresponding single-node service capacities to obtain a second node type K j A corresponding second service capacity;
a second processing subunit for processing each second node type K j The sum of the second service capacities respectively corresponding to the two service capacities is determined as a second duration T i The units within are not available service capacity.
The number of the edge service clusters is P, P is a positive integer greater than 1, and the P edge service clusters belong to an edge service total cluster; the device further comprises:
The first processing module is used for summing the first service total capacities corresponding to the P edge service clusters respectively to obtain the second service total capacity of the edge service total clusters;
the second processing module is used for summing the first unavailable service capacities corresponding to the P edge service clusters respectively to obtain second unavailable service capacities of the edge service total clusters;
and the third processing module is used for determining the second availability of the edge service total cluster according to the second service total capacity and the second unavailable service capacity.
The working state of the first edge node is determined by the network environment of the first edge node, hardware equipment parameters and basic components.
Wherein, the device further includes:
the fourth processing module is used for determining a network availability coefficient of the network environment where the first edge node is located;
the fourth processing module is used for determining a hardware availability coefficient corresponding to the first edge node according to the hardware equipment parameter of the first edge node;
a fourth processing module, configured to determine a component availability coefficient corresponding to a base component included in the first edge node;
and the working state determining unit is used for determining the working state of the first edge node according to the network availability coefficient, the hardware availability coefficient and the component availability coefficient.
The embodiment of the application provides a computer device, which comprises: a processor, a memory, and a network interface;
the processor is connected to the memory, the network interface for providing data communication functions, the memory for storing program code, and the processor for invoking the program code to perform the methods as provided by the embodiments of the application.
The embodiment of the application provides a computer readable storage medium, and the computer readable storage medium stores a computer program, wherein the computer program comprises program instructions, and when the program instructions are executed by a processor, the method provided by the embodiment of the application is executed.
In one aspect, embodiments of the present application provide a computer program product or computer program comprising computer instructions stored in a computer readable storage medium; the processor of the computer device reads the computer instructions from the computer-readable storage medium, and the processor executes the computer instructions, so that the computer device performs the method in the embodiment of the present application.
In the embodiment of the application, the first service total capacity of the edge service cluster is determined according to the number of the first edge nodes corresponding to each first node type in the service parameters and the single node service capacity corresponding to each first node type, and the first unavailable service capacity of the edge service cluster in the first duration is determined according to the working state of the first edge nodes, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type. Further, a first availability of the edge service cluster for a first duration is determined based on the first total service capacity and the first unavailable service capacity. It can be understood that the application calculates the availability of the edge service cluster by combining the service capacity and the service duration (such as the first duration) of the edge service cluster, and the higher the availability is, the better the service quality of the edge service cluster is, so that the service quality determined based on the availability is determined based on two dimensions of the service capacity and the service duration, the evaluation strategy of the service quality is enriched, and the accuracy of evaluating the service quality is improved.
Drawings
In order to more clearly illustrate the technical solutions of the embodiments of the present application, the drawings required for the description of the embodiments will be briefly described below, and it is obvious that the drawings in the following description are only some embodiments of the present application, and other drawings may be obtained according to these drawings without inventive effort for a person skilled in the art.
Fig. 1 is a schematic diagram of a system architecture of an evaluation method of an edge node according to an embodiment of the present application;
fig. 2 is a first flowchart of an evaluation method of an edge node according to an embodiment of the present application;
fig. 3 is a second flowchart of an evaluation method of an edge node according to an embodiment of the present application;
fig. 4 is a schematic structural diagram of an evaluation apparatus for an edge node according to an embodiment of the present application;
fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the present application.
Detailed Description
The following description of the embodiments of the present application will be made clearly and fully with reference to the accompanying drawings, in which it is evident that the embodiments described are some, but not all embodiments of the application. All other embodiments, which can be made by those skilled in the art based on the embodiments of the application without making any inventive effort, are intended to be within the scope of the application.
For a better understanding of the technical solutions of the present disclosure, the related art related to the present disclosure is further described in detail below.
1. Cloud Technology (Cloud Technology): the hosting technology is used for integrating hardware, software, network and other series resources in a wide area network or a local area network to realize calculation, storage, processing and sharing of data. The cloud technology is based on the general names of network technology, information technology, integration technology, management platform technology, application technology and the like applied by the cloud computing business mode, can form a resource pool, and is flexible and convenient as required. Cloud computing technology will become an important support. Background services of technical networking systems require a large amount of computing, storage resources, such as video websites, picture-like websites, and more portals. Along with the high development and application of the internet industry, each article possibly has an own identification mark in the future, the identification mark needs to be transmitted to a background system for logic processing, data with different levels can be processed separately, and various industry data needs strong system rear shield support and can be realized only through cloud computing.
2. Cloud Computing (Cloud Computing): the computing mode distributes computing tasks on a resource pool formed by a large number of computers, so that various application systems can acquire computing power, storage space and information service according to requirements. The network that provides the resources is referred to as the "cloud". Resources in the cloud are infinitely expandable in the sense of users, and can be acquired at any time, used as needed, expanded at any time and paid for use as needed.
3. Cloud game (Cloud game): and also called game on demand (game on demand), is an online game technology based on cloud computing technology. Cloud gaming technology enables lightweight devices (thin clients) with relatively limited graphics processing and data computing capabilities to run high quality games. In a cloud game scenario, the game is not run in a player game terminal, but in a cloud game client (such as a cloud game rendering server), and the cloud game client renders the game scenario into a video-audio stream, which is transmitted to the player game terminal through a network. The player game terminal does not need to have strong graphic operation and data processing capability, and only needs to have basic streaming media playing capability and the capability of acquiring player input instructions and sending the player input instructions to the cloud game client. For example, after being encoded and compressed by the cloud server, the game picture is transmitted to the game device through the network, and the user experiences action behavior of the game character through the game device. The operation of the user on the game device is transmitted to the cloud game client in the form of instructions, and the cloud game client analyzes the instructions to realize the control of the game roles.
4. A game device: the device is used for connecting the cloud game client and supporting functions of game picture display, game audio play, input of game role operation by a user, voice intercom and the like. Such as a cell phone terminal, a gamepad, a TV box, a smart TV, a smart wearable device, etc.
5. Cloud game client: the virtual client side is used for receiving the user operation instruction, analyzing the instruction into corresponding actions of the game roles, can run on the cloud, can render the game pictures into video streams and transmits the video streams to the game equipment of the user.
6. Cloud game rendering server: a server device for running cloud game clients. The cloud game rendering server can be a graphics processor (Graphics Processing Unit, GPU), and the number of concurrent paths supported by different types of GPU servers is also different, namely, the single-node service capacities corresponding to edge nodes of different node types are also different.
7. A first edge node: refers to server rooms dispersed throughout the region and closer to users (e.g., cloud players) with lower network latency. Such as each first edge node may be distributed in region 1, region 2, region 3, etc.; it should be noted that, the first edge node has a corresponding to the affiliated operator, for example, the first edge node in the region 1 has a first edge node corresponding to the operator 1 and the operator 2, in other words, the first edge node has a corresponding address and the affiliated operator.
8. Edge service cluster: in order to reduce the network distance from the game device of the user to the cloud game cluster and reduce the time consumption of data transmission, a cloud game rendering server (namely, a first edge node) is deployed to a machine room which is closer to the user, so that the user can access nearby, namely, one edge machine room can comprise a plurality of first edge nodes. Multiple first edge nodes in the same intranet form an edge service cluster (i.e. edge machine room). Each first edge node processes the service request of the received user, and horizontally expands, automatically migrates and the like the container of the first edge node, thereby providing high availability. Wherein, each first edge node in the edge service cluster may be a first edge node deployed in different operators under each region.
9. Single node service capacity: the number of concurrent paths of the data flow which can be processed by the first edge node is referred to as the number of users which can be served by the first edge node at the same time. The single-node service capacities corresponding to different node types are different, and the single-node service capacities of the first edge nodes of different node types for the same service (like a game) are also different.
10. Total capacity of service: the sum of the single-node service capacities of all the first edge nodes in the edge service cluster, namely the total number of users simultaneously served by the edge service cluster.
The implementation of the technical scheme of the application is further described in detail below with reference to the accompanying drawings.
Referring to fig. 1, fig. 1 is a schematic system architecture diagram of an evaluation method of an edge node according to an embodiment of the present application. As shown in fig. 1, the system may include: an edge service cluster 100a and a terminal device cluster. The edge service cluster 100a may be an independent physical server, a server cluster formed by a plurality of physical servers or a distributed system, or may be a cloud server providing a cloud database, a cloud service, cloud computing, a cloud function, cloud storage, a network service, cloud communication, a middleware service, a domain name service, a security service, a content delivery network (Content Delivery Network, CDN), a basic cloud computing service such as a big data and an artificial intelligent platform, and the like. The terminal devices (terminal device 100b, terminal device 100c, terminal devices 100d, … …, terminal device 100n included in the terminal device cluster) may be smart terminals such as smart phones, tablet computers, notebook computers, desktop computers, palm computers, wearable devices (e.g., smart watches, smart bracelets, etc.), smart televisions, smart vehicles, etc.
Wherein, the edge service cluster 100a may include: first edge node 10a, first edge node 10b, first edge node 10c, first edge node 10d, and first edge node 10e. It will be appreciated that the present application is not limited to the number of first edge nodes included in the edge serving cluster 100 a. The edge service cluster 100a may include a plurality of first edge nodes corresponding to a first node type, for example, the first edge node 10a, the first edge node 10b, and the first edge node 10c are the same first node type, and the first edge node 10d and the first edge node 10e are the same first node type. It should be understood that any two first edge nodes in the edge service cluster 100a may establish a communication connection, and that a communication connection may also be established between each terminal device in the terminal cluster. For example, a communication connection may be established between the first edge node 10a and the first edge node 10c, a communication connection may be established between the first edge node 10a and the first edge node 10d, a communication connection may be established between the terminal device 100b and the terminal device 100c, and a communication connection may be established between the terminal device 100b and the terminal device 100 d. The communication connection is not limited to a connection manner, and may be directly or indirectly connected through a wired communication manner, or may be directly or indirectly connected through a wireless communication manner, and the like, and may be specifically determined according to an actual application scenario, and the present application is not limited herein. It should be appreciated that each first edge node in the edge service cluster 100a may establish communication connections with a plurality of terminal devices. In other words, in the edge service cluster 100a, the first edge node 10b, the first edge node 10c, the first edge node 10d, and the first edge node 10e can each establish a communication connection with any one of the terminal devices (e.g., the terminal device 100b, the terminal device 100c, the terminal devices 100d, … …, and the terminal device 100 n) in the terminal device cluster shown in fig. 1, and can also establish a communication connection with other terminal devices outside the terminal device cluster shown in fig. 1, which is not limited herein.
It is to be understood that, as shown in fig. 1, the first edge node 10a, the first edge node 10b, the first edge node 10c, the first edge node 10d, the first edge node 10e, and the like may have a one-to-one correspondence with the corresponding roles (i.e., the entity objects in the corresponding traffic scenario) in the to-be-accessed edge service cluster 100a, respectively. The business scenario here may specifically include an electronic ticket scenario, a social scenario, a resource release scenario, a payment scenario, a cloud game, and the like. At this time, the service data information in the corresponding service scenario may specifically include electronic ticket information in the electronic ticket scenario, data interaction information in the social scenario, resource release information in the resource release scenario, asset circulation records in the payment scenario, game instructions, and the like, where specific contents of the service data information in the corresponding service scenario will not be listed one by one.
The first edge node may be configured to deploy a cloud server that provides services for a cloud application. The cloud application may be cloud gaming, cloud education, cloud conferencing, etc.; in the embodiment of the application, the selection of the first edge node is described in a related manner by taking the cloud application as a cloud game as an example. It can be understood that the cloud game is a game mode based on cloud computing, and the logic computing and the picture rendering logic which should be performed at the terminal can be placed at the cloud, namely, the cloud game can perform logic computing and rendering on the game picture at the cloud server. The method may involve virtualization technology, audio/video encoding/decoding technology, network transmission technology, edge computing technology and the like, and the technologies can enable game players to obtain satisfactory game experience without being limited by terminals. And the cloud server can compress the game pictures and instructions after calculation and rendering and then transmit the compressed game pictures and instructions to the terminal through the network, and the terminal only needs simple decoding and picture display and interaction of the instructions of the terminal equipment.
That is, each first edge node in the edge service cluster 100a is a cloud server with cloud computing capabilities. It should be understood that any two first edge nodes in the edge service cluster 100a may perform data interaction, and any one first edge node may acquire service parameters of the edge service cluster 100 a. It should be understood that each terminal device in the cluster of terminal devices shown in fig. 1 may be provided with an application client, which may interact with the first edge node shown in fig. 1, respectively, when the application client is running in each terminal device. The application client may be an application client with cloud computing capability, such as a digital asset application, a cloud game application, or the like. The application client may be an independent client, or may be an embedded sub-client integrated in a certain client (for example, a cloud game client, a blockchain application client, etc.), which is not limited herein. Taking a cloud game client as an example, a terminal device loaded with the cloud game client may perform data interaction with the first edge node shown in fig. 1. For example, in the running mode of the cloud game, after the game image is subjected to encoding compression processing, the first edge node may transmit the game image to the terminal device so as to display the action behavior of the game character to the terminal object (i.e., the user), the terminal device may also transmit the received object operation instruction to the first edge node through the cloud game client, and the first edge node may parse the object operation instruction into an action corresponding to the game character and render the action corresponding to the game character into a video stream to be transmitted to the terminal device.
It should be understood that, the implementation process of the method for evaluating an edge node provided in the embodiment of the present application may be performed in any one of the first edge nodes shown in fig. 1, or may be performed in a terminal device, or may be performed interactively between the terminal device and the first edge node, where the terminal device is not limited herein, and the terminal device may be any one of the terminal devices in the terminal device cluster in the embodiment corresponding to fig. 1. For ease of understanding and description, embodiments of the present application will be described in detail with reference to the first edge node 10c shown in fig. 1. It should be understood that the first edge node 10c may provide service resources to any one of the terminal devices in the terminal device cluster shown in fig. 1, so that the cloud game client loaded on the terminal device may process the object operation instruction of the terminal object.
It should be appreciated that the first edge node 10c may obtain the service parameters of the edge service cluster 100 a. The edge service cluster 100a includes one or more first edge nodes corresponding to the first node types, and the service parameters include the number of the first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type. The first edge node 10c may determine the first service total capacity of the edge service cluster 100a according to the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type. Further, the first edge node 10c may acquire a working state of the first edge node within a first duration, and determine a first unavailable service capacity of the edge service cluster 100a within the first duration according to the working state of the first edge node, the number of first edge nodes corresponding to each first node type, and a single node service capacity corresponding to each first node type. Still further, the first edge node 10c may determine a first availability of the edge service cluster 100a for a first duration based on the first total capacity of service and the first unavailable capacity of service. By adopting the application, the service quality of the first edge node is evaluated by combining the service capacity and the service duration (such as the first duration) of the edge service cluster 100a, and the service quality of different first edge nodes can be compared according to the availability of different first edge nodes, so that the service quality of the first edge node is improved according to the service quality of different first edge nodes.
Further, referring to fig. 2, fig. 2 is a first flowchart of an evaluation method of an edge node according to an embodiment of the present application. For ease of understanding, embodiments of the present application will be described with reference to the first edge node 10 c. In the evaluation method of an edge node shown in fig. 2, various steps of the evaluation method of an edge node may be performed by the first edge node 10c, and as shown in fig. 2, the evaluation method of an edge node may include at least the following steps S101 to S104.
Step S101, obtaining service parameters of an edge service cluster, wherein the edge service cluster comprises one or more first edge nodes corresponding to first node types respectively, and the service parameters comprise the number of the first edge nodes corresponding to each first node type respectively and single-node service capacity corresponding to each first node type respectively.
In some possible implementations, the method for evaluating an edge node provided by the embodiment of the present application may obtain the availability of the first edge node or the edge service cluster, and evaluate the service quality of the edge service cluster according to the availability. It should be understood that the first edge node may be a GPU server, and the service resources of the GPU server may be split into a plurality of parts according to resource quotas required by different cloud game clients during operation by using a virtualization technology, where the split parts are the maximum number of concurrent paths supported by the GPU server. In other words, the number of service resources of the first edge node is the single-node service capacity of the first edge node, that is, the maximum concurrent path number that the first edge node can process simultaneously, that is, the number of users that the first edge node can service simultaneously.
Referring back to fig. 1, the first edge node 10c may obtain the service parameters of the edge service cluster 100 a. The edge service cluster 100a includes one or more first edge nodes corresponding to the first node types. It should be understood that the first node type, the number of first node types, and the number of first edge nodes corresponding to each first node type included in the edge service cluster 100a are not limited herein. For example, the edge service cluster 100a may include a first edge node 10a, a first edge node 10b, a first edge node 10c, a first edge node 10d, and a first edge node 10e, where the first edge node 10a, the first edge node 10b, and the first edge node 10c may be of a first node type, such as the first node type 1, and the first edge node 10d and the first edge node 10e are of a first node type, such as the first node type 2. The first edge node 10c may be a GPU server, that is, the first node type 1 and the first node type 2 are GPU servers of different types, for example, the first node type 1 may be a T0-GG58-a type GPU server, and the first node type may be a 2T0-GG60-B type GPU server.
The service parameters of the edge service cluster 100a include the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type. For example, the service parameters of the edge service cluster 100a include the number of first edge nodes corresponding to the first node type 1, the single-node service capacity corresponding to the first node type 1, the number of first edge nodes corresponding to the first node type 2, and the single-node service capacity corresponding to the first node type 2. It should be understood that the single-node service capacity corresponding to the first node type 1 and the single-node service capacity corresponding to the first node type 2 are single-node service capacities for the same type of service, and the present application is not limited herein. For example, the single-node service capacity is a single-node service capacity of the same game for the first node type 1 and the first node type 2.
Step S102, according to the number of the first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type, determining the first service total capacity of the edge service cluster.
In some possible embodiments, the first edge node 10c as shown in fig. 1 may determine the first total service capacity of the edge service cluster 100a according to the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type. Specifically, the first edge node 10c may multiply the number of first edge nodes belonging to the same first node type by the single-node service capacity possessed thereby to obtain a first service capacity corresponding to each first node type. Further, the first edge node 10c may sum the first service capacities corresponding to each first node type to obtain a first total service capacity of the edge service cluster. Referring to table 1, table 1 is a data table of single node service capacities for game 1 for different first node types:
TABLE 1
As shown in table 1, if the single-node service capacity corresponding to the first node type 1 for the game 1 is 100 and the single-node service capacity corresponding to the first node type 2 for the game 1 is 140, the first total service capacity of the edge service cluster 100a may be determined according to the formula (1).
(1)
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing the single-node service capacity corresponding to the first node type m,/for>Representing the number of first edge nodes corresponding to the first node type m +.>Representing the first total service capacity of the edge service cluster 100a, n is the number of first node types. From Table 1, it can be determined that the first service capacity corresponding to the first node type 1 is +.>The first service capacity corresponding to the first node type 2 is +.>The first total service capacity of the edge service cluster 100a isI.e. the first total service capacity of the edge service cluster 100a is +.>
Step S103, the working state of the first edge node in the first time period is obtained, and the first unavailable service capacity of the edge service cluster in the first time period is determined according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type.
In some possible embodiments, the first edge node 10c as shown in fig. 1 may obtain the operation status of each first edge node included in the edge service cluster 100 a. Wherein the operational state of the first edge node includes an available operational state and an unavailable operational state. The operational state of the first edge node is determined by the network environment, hardware device parameters, and base components of the first edge node. Referring to table 2, table 2 is a first factor analysis table for affecting the operation state of the first edge node:
TABLE 2
Referring to table 3, table 3 is a second factor analysis table of the operation states of the first edge node:
TABLE 3 Table 3
As can be seen from table 2, the network environment may include network cutoffs, operator link jitter, and other factors such as switch/router failures. It should be appreciated that each first edge node included in the service parameters of the above-described edge service cluster may be a first edge node of various operators located in various regions. For example, each of the first edge nodes included in the edge service cluster may be a first edge node corresponding to each of the operators 1, 2, and 3 existing in the region 1. It should be appreciated that network environmental factors may affect the network throughout the edge machine room, resulting in the operational state of the first edge node in the entire edge machine room being an unavailable operational state. When the network environment factor is that the network of the edge machine room is cut, if the network is not enabled after the road is changed, or the data packet is lost in the transmission process due to the problems of overlong transmission distance, network equipment failure, abnormal receiving and transmitting terminals and the like, and when the network packet loss rate is greater than 15%, the working state of the first edge node is determined to be an unavailable working state. When the network environment factor is the link jitter of the operator, if network delay occurs or when the network packet loss rate is greater than 5%, the working state of the first edge node is determined to be an unavailable working state. When the network environment factor is a switch/router failure, such as a link failure caused by a network device failure, or when the network packet loss rate is greater than 15%, the working state of the first edge node is determined to be an unavailable working state. For example, when the hardware device parameter is that the first edge node (i.e. the GPU server) fails, for example, when the GPU server reports a timeout or the detection port is not enabled, the working state of the first edge node is determined to be an unavailable working state. When the hardware device parameter is a fault of a personal server (such as an X86 server), and when the reporting time of the X86 server is out or the detection port is not enabled, the working state of the first edge node is determined to be an unavailable working state. Illustratively, when the base component is a network address translation gateway (Network Address Translator, NAT gateway) failure, if a machine without an out-of-band network address cannot access the public network, or when the network packet loss rate is greater than 5%, then determining that the operational state of the first edge node is an unavailable operational state. When the base component is a PVGW gateway (used for communication between virtual machines of a base network or communication between the virtual machines and a physical machine network), as in an intranet, the network is not communicated between the virtual machines and the physical machine, so that a link is not communicated, or when the network packet loss rate is greater than 5%, the working state of the first edge node is determined to be an unavailable working state. When the basic component is a transaction Gateway (TGW Gateway) fault, if the virtual machine cannot access the public network to cause the link to be disconnected, or when the network packet loss rate is greater than 5%, determining that the working state of the first edge node is an unavailable working state. It should be understood that the above network factors, hardware device parameters, and failure classifications of base components are merely examples, and actually the failure classifications may be determined according to the actual application scenario, and the present application is not limited herein.
Further, the first edge node 10c may determine an operational status of each first edge node in the edge service cluster 100 a. Specifically, the first edge node 10c may determine a network availability factor under a network environment where each first edge node in the edge service cluster 100a is located, determine, according to a hardware device parameter of each first edge node in the edge service cluster 100a, a hardware availability factor corresponding to each first edge node, and determine a component availability factor corresponding to an infrastructure component included in each first edge node in the edge service cluster 100 a. Further, the first edge node 10c may determine the operation state of each first edge node according to the network availability factor, the hardware availability factor, and the component availability factor. The working state of the first edge node can be determined according to formula (2).
(2)
Wherein, the liquid crystal display device comprises a liquid crystal display device,for the network availability factor in the network environment in which the first edge node is located, < >>Hardware availability for first edge node correspondenceBy coefficients of->And the component availability coefficients corresponding to the base component contained in the first edge node. Wherein (1)>、/>And +.>The value of (2) is 1 or 0, when +.>When 1, the working state of the first edge node in the network environment is the available working state, when +. >And when the value is 0, the working state of the first edge node in the network environment is an unavailable working state. Likewise, when->When 1, the working state of the first edge node under the parameters of the hardware equipment is the available working state, when +.>And when the value is 0, the working state of the first edge node under the hardware device parameter is an unavailable working state. Likewise, when->When 1, the working state of the first edge node under the basic component is the available working state, when +.>When the value is 0, the working state of the first edge node under the basic component is not available.
Further, the first edge node 10c may be according to the publicEquation (2) obtains the operating state of each first edge node in the edge service cluster 100a for a first duration. Wherein the first time length is composed of S second time lengths including a second time length T i I is a positive integer less than or equal to S. For example, the first time period is composed of 4 second time periods, the 4 second time periods including the second time period T i I.e. the first second time period can be noted as T 1 The second time period may be denoted as T 2 … …, a fourth second time period can be denoted as T 4 . The first edge node 10c may send the second time period T i The first edge node with the working state being the unavailable working state is determined as a second edge node, and the H first node types associated with the second edge node are determined as H second node types. Where H is a positive integer less than or equal to the number of first node types included in the edge service cluster 100 a. Further, the first edge node 10c may determine the second duration T according to the number of second edge nodes corresponding to each second node type and the single-node service capacity corresponding to each second node type i The unit of unavailable service capacity in each second duration is determined as the first unavailable service capacity of the edge service cluster 100a in the first duration.
Step S104, determining a first availability of the edge service cluster in a first duration according to the first service total capacity and the first unavailable service capacity.
In some possible embodiments, the first edge node 10c as shown in fig. 1 may determine the unavailability of the edge service cluster 100a according to a ratio of the first unavailable service capacity of the edge service cluster 100a to the first total service capacity, and then the first availability a of the edge service cluster 100a in the first duration may be determined according to formula (3).
(3)
Where a is the first availability of the edge service cluster 100a for the first duration and B is the unavailability of the edge service cluster 100a for the first duration.
In the embodiment of the application, the method for evaluating the edge node can determine the first availability of the edge service cluster in the first time period through the first service total capacity of the edge service cluster and the first unavailable service capacity of the edge service cluster in the first time period, namely, the service quality of the edge service cluster is evaluated by combining the service capacity of the edge service cluster and the service time period, so that the evaluation efficiency of the edge service cluster is improved, and the evaluation strategy is more comprehensive. In addition, the application can determine the working state of the first edge node from the network environment, the hardware device parameters and the basic components, so that the influence of the hardware device parameters and the basic components on the availability of the first edge node and the edge service cluster can be compared under the condition that the network environment factors are the same in a certain aspect, and the service quality of the first edge node can be evaluated and the service quality improving direction of the first edge node can be determined according to the availability among the first edge nodes.
Referring to fig. 3, fig. 3 is a second flowchart of an evaluation method of an edge node according to an embodiment of the present application. As shown in fig. 3, the method provided in the embodiment of the present application may be performed by the first edge node shown in fig. 1, or may be performed by both the terminal device and the first edge node, which may specifically be determined according to an actual application scenario, and is not limited herein. For ease of understanding, embodiments of the present application will be described with reference to the first edge node 10 c. As shown in fig. 3, the evaluation method of the edge node may at least include the following steps S201 to S208.
Step S201, obtaining service parameters of an edge service cluster, where the edge service cluster includes one or more first edge nodes corresponding to the first node types, and the service parameters include the number of the first edge nodes corresponding to each first node type and a single-node service capacity corresponding to each first node type.
Step S202, according to the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type, determining the first service total capacity of the edge service cluster.
The specific implementation manner of step S201 and step S202 may be referred to S101-S102 in the corresponding embodiment of fig. 2, and will not be described herein.
Step S203, the second time period T i The first edge node whose operation state is the unavailable operation state is determined as the second edge node.
In some possible embodiments, please refer to fig. 1, the first edge node 10c may obtain the operation status of each first edge node included in the edge service cluster 100 a. Wherein the operational state of the first edge node includes an available operational state and an unavailable operational state. Wherein the first time length is composed of S second time lengths, S is a positive integer, and the S second time lengths comprise a second time length T i I is a positive integer less than or equal to S. It should be appreciated that the second duration is less than or equal to the first duration, and the durations of the first duration and the second duration may be specifically determined according to the actual application scenario, which is not limited herein. For example, if s=1, i.e. the first duration is composed of 1 second duration, the first edge node 10c may obtain the second duration T of each first edge node included in the edge service cluster 100a 1 An inner working state. Further, the first edge node 10c determines, as the second edge node, the first edge node whose operation state is the unavailable operation state in the edge service cluster 100 a. For example, referring to table 4, when table 4 is s=1, the operating state table of the first edge node:
TABLE 4 Table 4
As shown in table 4, the number of first edge nodes corresponding to the first node type 1 is 3, for example, the first edge node 10a, the first edge node 10b, and the first edge node 10c, wherein the number of first edge nodes in which the operation state is the unavailable operation state is 2, for example, the first edge node 10a and the first edge node 10b, and the first edge node 10c may determine the first edge node 10a and the first edge node 10b as the second edge node. Likewise, the number of first edge nodes corresponding to the first node type 2 is 2, for example, the first edge node 10d and the first edge node 10e, wherein the number of first edge nodes in which the operation state is the unavailable operation state is 1, for example, the first edge node 10d, and the first edge node 10c may determine the first edge node 10d as the second edge node.
Step S204, H first node types associated with the second edge node are determined as H second node types; h is a positive integer less than or equal to the number of first node types comprised by the edge service cluster.
In some possible embodiments, after the first edge node 10c determines that the operation state in the edge service cluster 100a is the first edge node in the unavailable operation state as the second edge node, the first edge node 10c determines H first node types associated with the second edge node as H second node types. H is a positive integer less than or equal to the number of first node types comprised by the edge service cluster. For example, please refer to table 4, when s=1, i.e., during the second period T 1 In this case, after the first edge node 10c determines the first edge node 10a, the first edge node 10b, and the first edge node 10d as the second edge node, the first edge node 10c may determine the first node type associated with the first edge node 10a and the first edge node 10b as the second node type, and may be denoted as the second node type K 1 The first edge node 10c may determine the first node type 2 associated with the first edge node 10d as the second node type, which may be denoted as the second node type K 2
Step S205, the second node type K j The number of the corresponding second edge nodes and the second node type K j Multiplying corresponding single-node service capacities to obtain a second node type K j And a corresponding second service capacity.
In some possible embodiments, after the first edge node 10c determines the second node type as shown in fig. 1, the first edge node 10c will be the second node type K j Corresponding second sideNumber of edge nodes and second node type K j Multiplying corresponding single-node service capacities to obtain a second node type K j And a corresponding second service capacity. Wherein the H second node types include a second node type K j J is a positive integer less than or equal to H. Specifically, the first edge node 10c determines 2 first node types associated with the first edge node 10a, the first edge node 10b, and the first edge node 10d as 2 second node types, that is, h=2, and the 2 second node types include the second node type K 1 And a second node type K 2 . Wherein the second node type K 1 The number of corresponding second edge nodes is 2, the second node type K 2 The number of corresponding second edge nodes is 1. As can be seen from Table 4, the second node type K 1 (i.e., the first node type 1) has a corresponding single node service capacity of 100, and the second node type K 2 The corresponding single-node service capacity (i.e., first node type 2) is 140. Further, the first edge node 10c may classify the second node type K 1 The number of the corresponding second edge nodes and the second node type K 1 Multiplying corresponding single-node service capacities to determine a second node type K 1 Corresponding second service capacity, i.e. second node type K 1 The corresponding second service capacity is. Likewise, the first edge node 10c may be configured to store the second node type K 2 The number of the corresponding second edge nodes and the second node type K 2 Multiplying corresponding single-node service capacities to determine a second node type K 2 Corresponding second service capacity, i.e. second node type K 2 The corresponding second service capacity is +.>
Step S206, each second node type K j The sum of the second service capacities respectively corresponding to the two service capacities is determined as a second duration T i The units within are not available service capacity.
In some possible embodimentsIn which a first edge node 10c as shown in fig. 1 will each be of a second node type K j The sum of the second service capacities respectively corresponding to the two service capacities is determined as a second duration T i The unit unavailable service capacity in the network is determined as the second duration T according to the formula (4) i In-line unit unavailable service capacity
(4)
Wherein, the liquid crystal display device comprises a liquid crystal display device,representing a second time period T i Unit unavailable service capacity within +.>Representing the second node type K j Corresponding single-node service capacity,/->Representing the second node type K j And the corresponding number of the second edge nodes, n is the number of the first node types. For example, referring back to table 4, as can be seen from table 4, when s=1, i.e. during the second period T 1 In, the second node type K 1 The corresponding single node service capacity is 100, and the second node type K 2 If the corresponding single-node service capacity is 140, then the edge service cluster 100a can be determined to be in the second duration T according to formula (4) 1 In-line unit unavailable service capacity
Step S207, the sum of the unit unavailable service capacities in each second duration is determined as the first unavailable service capacity of the edge service cluster in the first duration.
In some possible embodiments, the first edge node 10c as shown in fig. 1, after obtaining a unit of unavailable service capacity for each second duration, Determining the sum of the unit unavailable service capacities in each second time period as the first unavailable service capacity of the edge service cluster in the first time period, and recording asS is the number of second time periods. Wherein a first unavailable service capacity formula (5) of the edge service cluster 100a for a first duration may be determined.
(5)
Wherein, the liquid crystal display device comprises a liquid crystal display device,for a first unavailable service capacity of the edge service cluster 100a within a first time period, S is the number of second time periods, +.>And n is the number of the first node types, and is the unit unavailable service capacity in the second duration Ti. For example, referring back to table 4, when s=1, i.e., the first time period is defined by 1 second time period T 1 The first unavailable service capacity of edge service cluster 100a for a first period of time is constituted +.>。/>
Step S208, determining a first availability of the edge service cluster in a first duration according to the first service total capacity and the first unavailable service capacity.
In some possible embodiments, the first edge node 10c as shown in fig. 1 may determine a first availability of the edge service cluster for a first duration based on the first total capacity of service and the first unavailable capacity of service. Specifically, a first availability of the edge service cluster 100a for a first duration may be determined according to equation (6).
(6)
Where a is a first availability of the edge service cluster 100a for a first period of time,representing the first total capacity of the edge service cluster 100a in a first time period, +.>Representing a first unavailable service capacity of the edge service cluster 100a for a first duration, n being the number of first node types. For example, when s=1, i.e. the first time period is defined by 1 second time period T 1 The first service total capacity of the edge service cluster 100a is +.>First unavailable service capacity of edge service cluster 100a in a first duration +.>340, then the first availability of edge service cluster 100a for a first period of time +.>Is that
In some possible embodiments, the first duration may be composed of S second durations, S being a positive integer, the S second durations including the second duration Ti, i being a positive integer less than or equal to S. It should be understood that the number of second durations constituting the first duration may be determined according to the actual application scenario, and the present application is not limited herein. Referring to fig. 1 again, the first edge node 10c may acquire the working state of each first edge node in the edge service cluster 100a in S second time periods Ti, determine the first edge node whose working state is an unavailable working state as a second edge node, and determine H first node types associated with the second edge node as H second node types in S second time periods Ti. For example, the first edge node 10a, the first edge node 10b, and the first edge node 10c are of the first node type 1, and the first edge node 10d and the first edge node 10e are of the first node type 2. Referring to table 5, when table 5 is s=4, the unavailable operation state table of the first edge node:
TABLE 5
As shown in table 5, table 5 shows the number of second edge nodes whose operation state is the unavailable operation state and the associated second node type in S second time periods. For example, during a second period of time T 1 In the first edge node 10c, the first edge node 10a, the first edge node 10b, and the first edge node 10d whose operation state is the unavailable operation state are determined as the second edge node, and the first node type 1 associated with the first edge node 10a and the first edge node 10b is determined as the second node type K 1 I.e. second node type K 1 The number of second edge nodes whose corresponding operational state is an unavailable operational state is 2. The first edge node 10c determines the first node type 2 associated with the first edge node 10d as the second node type K 2 I.e. second node type K 2 The number of corresponding second edge nodes whose operation state is the unavailable operation state is 1, and the second time period T can be determined according to the formula (4) 1 The unit unavailable service capacity within is 340. Likewise, the first edge node 10c may determine the second time period T 2 A second time length T 3 A second time period T 4 The unit unavailable service capacity of (a) is 0, 380, and 240, respectively. The first edge node 10c will be for a second period of time T 1 A second time length T 2 A second time length T 3 A second time period T 4 Summing up the unit unavailable service capacities of the edge service cluster 100a to obtain a first unavailable service capacity of the edge service cluster 100a for a first duration. At this time, i.e., when s=4, the edge service cluster 100a has a first unavailable service capacity within a first durationThe first total capacity of the edge service cluster 100a in the first duration is +.>. Further, a first availability of the edge service cluster 100a for a first duration of time may be determined according to formula (6), +.>
In some possible embodiments, when the availability of a plurality of edge service clusters is required, i.e. the number of edge service clusters is P, and P is a positive integer greater than 1, the P edge service clusters belong to the edge service total cluster. Specifically, the first edge node 10c shown in fig. 1 may obtain service parameters of P edge service clusters, and obtain a first total service capacity of the P edge service clusters in a first duration and a first unavailable service capacity of the P edge service clusters in the first duration. It should be understood that, the step of obtaining the first total service capacity of the P edge service clusters in the first period and the first unavailable service capacity of the P edge service clusters in the first period by the first edge node 10c may be specifically referred to as step S201-step S208, which is not repeated herein. Further, the first edge node 10c may sum the first total service capacities corresponding to the P edge service clusters respectively to obtain a second total service capacity of the edge service total cluster, and the first edge node 10c may sum the first unavailable service capacities corresponding to the P edge service clusters respectively to obtain a second unavailable service capacity of the edge service total cluster. Still further, the first edge node 10c may determine a second availability of the edge service total cluster based on the second total service capacity and the second unavailable service capacity.
Specifically, the second availability of the edge service total cluster may be determined according to formula (7).
(7)
Wherein, the liquid crystal display device comprises a liquid crystal display device,a second availability of the total edge service clusters, P being the number of edge service clusters,/>For a first unavailable service capacity of each edge service cluster within a first time period, S is the number of second time periods within the first time period, +.>Representing a first total capacity of service for each edge service cluster over a first period of time. Referring to table 6, table 6 is a table of operating parameters for 2 edge service clusters:
TABLE 6
Wherein edge service cluster A and edge service cluster B belong to an edge service total cluster, the second service total capacity of edge service cluster A at a first time period is 2160, the second unavailable service capacity of edge service cluster A at a first time period is 960, the second service total capacity of edge service cluster B at a first time period is 1400, the second unavailable service capacity of edge service cluster B at a first time period is 1000, the second availability of the edge service total cluster can be determined according to formula (7),。/>
in the embodiment of the application, the method for evaluating the edge node can determine the first availability of the edge service cluster in the first duration through the first service total capacity of the edge service cluster and the first unavailable service capacity of the edge service cluster in the first duration, namely, the service quality of the edge service cluster is evaluated in a mode of combining the service capacity of the edge service cluster with the service duration, and the higher the availability is, the better the service quality is, the evaluation efficiency of the edge service cluster is improved, the evaluation strategy is more comprehensive, and the applicability is stronger.
Based on the description of the embodiment of the method for evaluating the edge node, the embodiment of the application also discloses an evaluating device for the edge node. The evaluation device of the edge node can be applied to the evaluation method of the edge node of the embodiments shown in fig. 2 to 3 for performing the steps in the evaluation method of the edge node. Here, the evaluation means of the edge node may be the first edge node 10c in the embodiments shown in fig. 2 to 3, that is, the evaluation means of the edge node may be the execution subject of the evaluation method of the edge node in the embodiments shown in fig. 2 to 3. Referring to fig. 4, fig. 4 is a schematic structural diagram of an evaluation apparatus for an edge node according to an embodiment of the application. In an embodiment of the application, the device 1 may operate as follows:
the obtaining module 11 is configured to obtain service parameters of an edge service cluster, where the edge service cluster includes one or more first edge nodes corresponding to first node types respectively, and the service parameters include the number of the first edge nodes corresponding to each first node type respectively and a single-node service capacity corresponding to each first node type respectively;
a first processing module 12, configured to determine a first total service capacity of the edge service cluster according to the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type;
The second processing module 13 is configured to obtain a working state of the first edge node within a first duration, and determine a first unavailable service capacity of the edge service cluster within the first duration according to the working state of the first edge node, the number of first edge nodes corresponding to each first node type, and a single node service capacity corresponding to each first node type;
the third processing module 14 is configured to determine a first availability of the edge service cluster in a first duration according to the first total service capacity and the first unavailable service capacity.
According to the above-described embodiment corresponding to fig. 2, the implementation described in steps S101 to S104 in the evaluation method of an edge node shown in fig. 2 may be performed by the respective modules of the apparatus 1 shown in fig. 4. For example, the implementation described in step S101 in the above-mentioned method for evaluating an edge node shown in fig. 2 may be performed by the acquisition module 11 in the apparatus 1 shown in fig. 2, the implementation described in step S102 may be performed by the first processing module 12, the implementation described in step S103 may be performed by the second processing module 13, and the implementation described in step S104 may be performed by the third processing module 14. The implementation manners performed by the acquiring module 11, the first processing module 12, the second processing module 13, and the third processing module 14 may be referred to the implementation manners provided by the steps in the embodiment corresponding to fig. 2, and are not described herein again.
Wherein the first processing module 12 includes:
a first processing unit 121, configured to multiply the number of first edge nodes belonging to the same first node type by the single-node service capacity, to obtain a first service capacity corresponding to each first node type;
the second processing unit 122 is configured to sum the first service capacities corresponding to each first node type to obtain a first total service capacity of the edge service cluster.
Wherein the operating state includes an available operating state and an unavailable operating state; the first time length is composed of S second time lengths including a second time length T i I is a positive integer less than or equal to S; the second processing module 13 includes:
an operation state determining unit 131 for determining a second time period T i The first edge node with the working state in the first edge node being the unavailable working state is determined as the second edge node;
a node type determining unit 132, configured to determine H first node types associated with the second edge node as H second node types; h is a positive integer less than or equal to the number of first node types contained by the edge service cluster;
a third processing unit 133 for respectively corresponding to the number of second edge nodes and each second node type according to the number of second edge nodes respectively corresponding to each second node type To determine a second duration T i The service capacity not available to the units within;
the fourth processing unit 134 is configured to determine a sum of the unit unavailable service capacities in each second duration as a first unavailable service capacity of the edge service cluster in the first duration.
Wherein the H second node types include a second node type K j J is a positive integer less than or equal to H; the fourth processing unit 134 includes:
a first processing subunit 1341 for processing the data belonging to the same second node type K j The number of the corresponding second edge nodes and the second node type K j Multiplying corresponding single-node service capacities to obtain a second node type K j A corresponding second service capacity;
a second processing subunit 1342 for processing each second node type K j The sum of the second service capacities respectively corresponding to the two service capacities is determined as a second duration T i The units within are not available service capacity.
The number of the edge service clusters is P, P is a positive integer greater than 1, and the P edge service clusters belong to an edge service total cluster; the above-mentioned device 1 comprises:
the first processing module 12 is configured to sum up the first service total capacities corresponding to the P edge service clusters respectively, to obtain a second service total capacity of the edge service total cluster;
The second processing module 13 is configured to sum the first unavailable service capacities corresponding to the P edge service clusters respectively to obtain a second unavailable service capacity of the edge service total cluster;
a third processing module 14, configured to determine a second availability of the edge service total cluster according to the second total service capacity and the second unavailable service capacity.
The working state of the first edge node is determined by the network environment of the first edge node, hardware equipment parameters and basic components.
Wherein the device 1 further comprises:
a fourth processing module 15, configured to determine a network availability factor under a network environment where the first edge node is located;
the fourth processing module 15 is configured to determine, according to the hardware device parameter of the first edge node, a hardware availability coefficient corresponding to the first edge node;
a fourth processing module 15, configured to determine a component availability coefficient corresponding to a base component included in the first edge node;
the working state determining unit 131 is configured to determine the working state of the first edge node according to the network availability factor, the hardware availability factor, and the component availability factor.
In the embodiment of the application, the function implementation of each unit in the evaluation device 1 based on the edge node can obtain the first service total capacity of the edge service cluster and the first unavailable service capacity of the edge service cluster in the first duration, and determine the first availability of the edge service cluster in the first duration according to the first service total capacity and the first unavailable service capacity, and can determine the availability of the edge service cluster by combining the service capacity and the service duration, thereby evaluating the service quality of the edge service cluster according to the availability, and having strong applicability.
Further, referring to fig. 5, fig. 5 is a schematic structural diagram of a computer device according to an embodiment of the application. As shown in fig. 5, the computer device 1000 may include: at least one processor 1001, such as a CPU, at least one network interface 1004, a transceiver 1003, memory 1005, at least one communication bus 1002. Wherein the communication bus 1002 is used to enable connected communication between these components. The network interface 1004 may optionally include a standard wired interface, a wireless interface (e.g., WI-FI interface), among others. The memory 1005 may be a high-speed RAM memory or a non-volatile memory (non-volatile memory), such as at least one disk memory. The memory 1005 may also optionally be at least one storage device located remotely from the aforementioned processor 1001. As shown in fig. 5, the memory 1005, which is one type of computer storage medium, may include an operating system, a network communication module, a user interface module, and a device control application.
In the computer device 1000 shown in FIG. 5, the network interface 1004 may provide network communication functions; while transceiver 1003 and processor 1001 may be used to invoke the device control application stored in memory 1005 to implement:
Acquiring service parameters of an edge service cluster, wherein the edge service cluster comprises one or more first edge nodes corresponding to first node types respectively, and the service parameters comprise the number of the first edge nodes corresponding to each first node type respectively and single-node service capacity corresponding to each first node type respectively;
determining a first service total capacity of an edge service cluster according to the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type;
acquiring the working state of the first edge node in a first time period, and determining a first unavailable service capacity of the edge service cluster in the first time period according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type;
and determining a first availability of the edge service cluster in a first duration according to the first service total capacity and the first unavailable service capacity.
It should be understood that the computer device 1000 described in the embodiment of the present application may perform the description of the method for evaluating an edge node in the embodiment corresponding to fig. 2 and 3, and may also perform the description of the device 1 for evaluating an edge node in the embodiment corresponding to fig. 4, which is not described herein. In addition, the description of the beneficial effects of the same method is omitted.
Furthermore, it should be noted here that: the embodiment of the present application further provides a computer readable storage medium, and the computer readable storage medium stores a computer program executed by the foregoing evaluation device for an edge node, and when the processor executes the computer program, the description of the foregoing evaluation method for an edge node in the corresponding embodiment of fig. 2 and 3 can be executed, so that a detailed description thereof will not be given here. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer-readable storage medium according to the present application, please refer to the description of the method embodiments of the present application. As an example, the program instructions may be deployed to be executed on one computing device or on multiple computing devices at one site or, alternatively, on multiple computing devices distributed across multiple sites and interconnected by a communication network, where the multiple computing devices distributed across multiple sites and interconnected by a communication network may constitute an edge service cluster.
In addition, it should be noted that: embodiments of the present application also provide a computer program product or computer program, which may include a computer program, which may be stored in a computer readable storage medium. The processor of the computer device reads the computer program from the computer readable storage medium, and the processor may execute the computer program, so that the computer device may execute the method for evaluating the edge node in the embodiment corresponding to fig. 2 and 3, which is not described herein. In addition, the description of the beneficial effects of the same method is omitted. For technical details not disclosed in the embodiments of the computer program product according to the present application, reference is made to the description of the method embodiments of the present application.
Those skilled in the art will appreciate that implementing all or part of the above-described methods may be accomplished by way of a computer program stored in a computer-readable storage medium, which when executed may comprise the steps of the embodiments of the methods described above. The storage medium may be a magnetic disk, an optical disk, a Read-Only Memory (ROM), a random access Memory (Random Access Memory, RAM), or the like.
The terms "second," "second," and the like in the description and in the claims and drawings of embodiments of the application are used for distinguishing between different objects and not for describing a particular sequential order. Furthermore, the term "include" and any variations thereof is intended to cover a non-exclusive inclusion. For example, a process, method, apparatus, article, or device that comprises a list of steps or elements is not limited to the list of steps or modules but may, in the alternative, include other steps or modules not listed or inherent to such process, method, apparatus, article, or device.
Those of ordinary skill in the art will appreciate that the elements and algorithm steps described in connection with the embodiments disclosed herein may be embodied in electronic hardware, in computer software, or in a combination of the two, and that the elements and steps of the examples have been generally described in terms of function in the foregoing description to clearly illustrate the interchangeability of hardware and software. Whether such functionality is implemented as hardware or software depends upon the particular application and design constraints imposed on the solution. Skilled artisans may implement the described functionality in varying ways for each particular application, but such implementation decisions should not be interpreted as causing a departure from the scope of the present application.
The method and related apparatus provided in the embodiments of the present application are described with reference to the flowchart and/or schematic structural diagrams of the method provided in the embodiments of the present application, and each flow and/or block of the flowchart and/or schematic structural diagrams of the method may be implemented by computer program instructions, and combinations of flows and/or blocks in the flowchart and/or block diagrams. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks. These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or structural diagram block or blocks. These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or structures.
The foregoing disclosure is illustrative of the present application and is not to be construed as limiting the scope of the application, which is defined by the appended claims.

Claims (10)

1. A method of evaluating an edge node, the method comprising:
acquiring service parameters of an edge service cluster, wherein the edge service cluster comprises one or more first edge nodes corresponding to first node types respectively, and the service parameters comprise the number of the first edge nodes corresponding to each first node type respectively and single-node service capacity corresponding to each first node type respectively;
determining a first service total capacity of the edge service cluster according to the number of first edge nodes respectively corresponding to each first node type and the single-node service capacity respectively corresponding to each first node type;
acquiring the working state of the first edge node in a first duration, and determining a first unavailable service capacity of the edge service cluster in the first duration according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type;
And determining a first availability of the edge service cluster in the first duration according to the first service total capacity and the first unavailable service capacity.
2. The method according to claim 1, wherein determining the first total service capacity of the edge service cluster according to the number of first edge nodes corresponding to each first node type and the single-node service capacity corresponding to each first node type includes:
multiplying the number of first edge nodes belonging to the same first node type by the single-node service capacity to obtain a first service capacity corresponding to each first node type;
and summing the first service capacity corresponding to each first node type to obtain the first service total capacity of the edge service cluster.
3. The method of claim 1, wherein the operational state comprises an available operational state and an unavailable operational state; the first time length is composed of S second time lengths, S is a positive integer, and the S second time lengths comprise second time lengths T i I is a positive integer less than or equal to S; the obtaining the working state of the first edge node in the first duration, and determining the first unavailable service capacity of the edge service cluster in the first duration according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type, and the single node service capacity corresponding to each first node type, where the determining comprises:
The second time period T i The first edge node in which the working state is the unavailable working state is determined to be a second edge node;
determining H first node types associated with the second edge node as H second node types; h is a positive integer less than or equal to the number of first node types comprised by the edge serving cluster;
determining the second duration T according to the number of second edge nodes respectively corresponding to each second node type and the single-node service capacity respectively corresponding to each second node type i The service capacity not available to the units within;
and determining the sum of the unit unavailable service capacities in each second duration as the first unavailable service capacity of the edge service cluster in the first duration.
4. A method according to claim 3, wherein the H second node types include a second node type K j J is a positive integer less than or equal to H; the second duration T is determined according to the number of second edge nodes respectively corresponding to each second node type and the single-node service capacity respectively corresponding to each second node type i A unit of unavailable service capacity within, comprising:
will belong to the same second node type K j The number of corresponding second edge nodes and the second node type K j Multiplying corresponding single-node service capacity to obtain the second node type K j A corresponding second service capacity;
each of the second node types K j The sum of the second service capacities respectively corresponding to the second time length T is determined as i The units within are not available service capacity.
5. A method according to claim 3, wherein the number of edge service clusters is P, P being a positive integer greater than 1, P of said edge service clusters belonging to an edge service total cluster; the method further comprises the steps of:
summing the first service total capacities respectively corresponding to the P edge service clusters to obtain the second service total capacity of the edge service total clusters;
summing the first unavailable service capacities corresponding to the P edge service clusters respectively to obtain second unavailable service capacities of the edge service total clusters;
and determining a second availability of the edge service total cluster according to the second service total capacity and the second unavailable service capacity.
6. The method of claim 1, wherein the operational state of the first edge node is determined by a network environment of the first edge node, hardware device parameters, and base components.
7. The method according to claim 6, comprising:
determining a network availability coefficient of the first edge node in a network environment;
determining a hardware availability coefficient corresponding to the first edge node according to the hardware equipment parameter of the first edge node;
determining component availability coefficients corresponding to basic components contained in the first edge node;
and determining the working state of the first edge node according to the network availability coefficient, the hardware availability coefficient and the component availability coefficient.
8. An apparatus for evaluating an edge node, comprising:
the system comprises an acquisition module, a processing module and a processing module, wherein the acquisition module is used for acquiring service parameters of an edge service cluster, the edge service cluster comprises one or more first edge nodes corresponding to first node types respectively, and the service parameters comprise the number of the first edge nodes corresponding to each first node type respectively and single-node service capacity corresponding to each first node type respectively;
the first processing module is used for determining a first service total capacity of the edge service cluster according to the number of the first edge nodes respectively corresponding to each first node type and the single-node service capacity respectively corresponding to each first node type;
The second processing module is used for acquiring the working state of the first edge node in a first duration, and determining a first unavailable service capacity of the edge service cluster in the first duration according to the working state of the first edge node, the number of the first edge nodes corresponding to each first node type and the single node service capacity corresponding to each first node type;
and the third processing module is used for determining a first availability of the edge service cluster in the first duration according to the first service total capacity and the first unavailable service capacity.
9. A computer device, comprising: a processor, a memory, and a network interface;
the processor is connected to the memory, the network interface for providing data communication functions, the memory for storing program code, the processor for invoking the program code to perform the method of any of claims 1-7.
10. A computer readable storage medium, characterized in that the computer readable storage medium has stored therein a computer program adapted to be loaded by a processor and to perform the method of any of claims 1-7.
CN202311095861.8A 2023-08-29 2023-08-29 Method and device for evaluating edge node and computer readable storage medium Active CN116827826B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202311095861.8A CN116827826B (en) 2023-08-29 2023-08-29 Method and device for evaluating edge node and computer readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202311095861.8A CN116827826B (en) 2023-08-29 2023-08-29 Method and device for evaluating edge node and computer readable storage medium

Publications (2)

Publication Number Publication Date
CN116827826A CN116827826A (en) 2023-09-29
CN116827826B true CN116827826B (en) 2023-10-27

Family

ID=88122499

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202311095861.8A Active CN116827826B (en) 2023-08-29 2023-08-29 Method and device for evaluating edge node and computer readable storage medium

Country Status (1)

Country Link
CN (1) CN116827826B (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843272A (en) * 2011-05-24 2012-12-26 索尼电脑娱乐公司 Automatic performance and capacity measurement for networked servers
CN108206768A (en) * 2016-12-20 2018-06-26 阿里巴巴集团控股有限公司 Cluster monitoring and switching method and device
CN113438110A (en) * 2021-06-23 2021-09-24 曙光信息产业(北京)有限公司 Cluster performance evaluation method, device, equipment and storage medium

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7783605B2 (en) * 2005-12-30 2010-08-24 Microsoft Corporation Calculating cluster availability
US9088577B2 (en) * 2010-11-24 2015-07-21 Microsoft Technology Licensing, Llc Multimedia aware cloud for mobile device computing

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102843272A (en) * 2011-05-24 2012-12-26 索尼电脑娱乐公司 Automatic performance and capacity measurement for networked servers
CN108206768A (en) * 2016-12-20 2018-06-26 阿里巴巴集团控股有限公司 Cluster monitoring and switching method and device
CN113438110A (en) * 2021-06-23 2021-09-24 曙光信息产业(北京)有限公司 Cluster performance evaluation method, device, equipment and storage medium

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘丹.中国优秀博硕士学位论文全文数据库 (硕士).(05),全文. *

Also Published As

Publication number Publication date
CN116827826A (en) 2023-09-29

Similar Documents

Publication Publication Date Title
CN114095557B (en) Data processing method, device, equipment and medium
CA2814420C (en) Load balancing between general purpose processors and graphics processors
EP4379545A1 (en) Data processing method and system, related device, storage medium and product
CN108009028A (en) Message treatment method, device, equipment and computer-readable recording medium
CN113181658A (en) Edge computing node scheduling method, device, equipment and medium
CN113157418B (en) Server resource allocation method and device, storage medium and electronic equipment
CN106302616A (en) Network wake-up method, remote server and the network switching equipment
US20070060373A1 (en) Data communication system and methods
CN113209632A (en) Cloud game processing method, device, equipment and storage medium
CN102984189A (en) Wireless network and implementation method and terminal thereof
CN109889576A (en) A kind of mobile cloud game method for optimizing resources based on game theory
CN102025786A (en) Operation method and system for interactive control of three-network terminals
US20230093368A1 (en) Game data processing method, apparatus, and system, electronic device, and storage medium
CN114404960A (en) Cloud game resource data processing method and device, computer equipment and storage medium
Wang et al. Toward cloud-based distributed interactive applications: measurement, modeling, and analysis
Bujari et al. Addressing the bandwidth demand of immersive applications through NFV in a 5G network
US11539919B1 (en) Dynamic cloud video composition
Paravati et al. An open and scalable architecture for delivering 3D shared visualization services to heterogeneous devices
CN116827826B (en) Method and device for evaluating edge node and computer readable storage medium
CN112714146B (en) Resource scheduling method, device, equipment and computer readable storage medium
Mazzuca et al. Towards a Resource-aware Middleware Support for Distributed Game Engine Design
CN112087632A (en) Video processing system, method, storage medium and computer device
CN116980392A (en) Media stream processing method, device, computer equipment and storage medium
CN108322514A (en) The research and development method of the self-defined hybrid technology of multi-path audio-frequency data based on WebRTC
CN115243080B (en) Data processing method, device, equipment and storage medium

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